{"version":3,"file":"smartsoft001-angular.mjs","names":["i1","i1.ToastService","i2","SIZE_CLASSES","PADDING_CLASSES","CONTAINER_BASE","nextId","TITLE","DESCRIPTION","SIZE_CLASSES","SOLID_CLASSES_BY_COLOR","SOFT_CLASSES_BY_COLOR","OUTLINE_CLASSES_BY_COLOR","SHAPE_PILL","COLOR_MAP","LIST_BASE","ITEM_BASE","SIZE_CLASSES","ICON","CONTAINER_BASE","HEADER","FOOTER_BASE","CONTAINER","ITEM_BASE","i1","i1","CONTAINER","baseMap","PANEL_BASE","HEADER_BASE","ACTION_BASE","i1","i1","i1","i1","i1","i1","SIZE_CLASS_MAP","i1","i1","i1","i1","i1","i1","CONTAINER_BASE","i1","i1","i1","i1","i1","i1","i1","baseMap","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","i1","baseMap","CONTAINER_BASE","i1","i1","ACTION_BASE","ACTION_BY_VARIANT","ROOT","HEADER","TITLE","ROW","NAV","MAIN","ITEM_BASE","CONTAINER","TITLE","nextId","HEADER","CONTAINER","TITLE","HEADER","BAR_BASE","ROOT","TITLE","CONTAINER","TITLE","join","CONTAINER","BAR_BASE","nextId","nextId","i1","COMPONENTS","i1","i2.NgrxStoreService"],"sources":["../../../../../packages/shared/angular/src/lib/models/colors.ts","../../../../../packages/shared/angular/src/lib/models/interfaces.ts","../../../../../packages/shared/angular/src/lib/services/app/app.service.ts","../../../../../packages/shared/angular/src/lib/services/calendar/calendar.service.ts","../../../../../packages/shared/angular/src/lib/services/storage/storage.service.ts","../../../../../packages/shared/angular/src/lib/services/auth/auth.service.ts","../../../../../packages/shared/angular/src/lib/services/details/details.service.ts","../../../../../packages/shared/angular/src/lib/services/dynamic-component-loader/dynamic-component-loader.service.ts","../../../../../packages/shared/angular/src/lib/services/dynamic-component-storage/dynamic-component-storage.service.ts","../../../../../packages/shared/angular/src/lib/services/file/file.service.ts","../../../../../packages/shared/angular/src/lib/services/form/form.group.ts","../../../../../packages/shared/angular/src/lib/services/style/style.service.ts","../../../../../packages/shared/angular/src/lib/shared.inectors.ts","../../../../../packages/shared/angular/src/lib/components/base/forward-outlet-outputs.ts","../../../../../packages/shared/angular/src/lib/components/base/outlet-inputs.ts","../../../../../packages/shared/angular/src/lib/components/notification/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/notification/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/notification/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/notification/notification.component.ts","../../../../../packages/shared/angular/src/lib/services/toast/toast-host.component.ts","../../../../../packages/shared/angular/src/lib/services/toast/toast.service.ts","../../../../../packages/shared/angular/src/lib/services/hardware/hardware.service.ts","../../../../../packages/shared/angular/src/lib/services/menu/menu.service.ts","../../../../../packages/shared/angular/src/lib/components/base/outlet-content.ts","../../../../../packages/shared/angular/src/lib/components/modal/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/modal/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/modal/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/modal/modal.component.ts","../../../../../packages/shared/angular/src/lib/services/modal/modal.service.ts","../../../../../packages/shared/angular/src/lib/components/alert/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/alert/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/alert/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/alert/alert.component.ts","../../../../../packages/shared/angular/src/lib/services/alert/alert.service.ts","../../../../../packages/shared/angular/src/lib/services/popover/popover.service.ts","../../../../../packages/shared/angular/src/lib/services/ui/ui.service.ts","../../../../../packages/shared/angular/src/lib/services/services.module.ts","../../../../../packages/shared/angular/src/lib/services/ngrx-store/ngrx-store.service.ts","../../../../../packages/shared/angular/src/lib/services/error/error.service.ts","../../../../../packages/shared/angular/src/lib/directives/dynamic-content/dynamic-content.directive.ts","../../../../../packages/shared/angular/src/lib/directives/details/details-modal.ts","../../../../../packages/shared/angular/src/lib/directives/details/details.directive.ts","../../../../../packages/shared/angular/src/lib/directives/directives.module.ts","../../../../../packages/shared/angular/src/lib/pipes/enum-to-list/enum-to-list.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/file-url/file-url.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/list-cell/list-cell.pipe.ts","../../../../../packages/shared/angular/src/lib/providers/model-export.provider.ts","../../../../../packages/shared/angular/src/lib/providers/model-import.provider.ts","../../../../../packages/shared/angular/src/lib/providers/model-label.provider.ts","../../../../../packages/shared/angular/src/lib/providers/model-possibilities.provider.ts","../../../../../packages/shared/angular/src/lib/providers/model-validators.provider.ts","../../../../../packages/shared/angular/src/lib/pipes/list-header/list-header.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/model-label/model-label.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/remove-html/remove-html.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/slug/slug.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/trust-html/trust-html.pipe.ts","../../../../../packages/shared/angular/src/lib/pipes/pipes.module.ts","../../../../../packages/shared/angular/src/lib/components/accordion/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/accordion/body/body.component.ts","../../../../../packages/shared/angular/src/lib/components/icon/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/icon/spinner/spinner.component.ts","../../../../../packages/shared/angular/src/lib/components/icon/chevron-down/chevron-down.component.ts","../../../../../packages/shared/angular/src/lib/components/icon/chevron-up/chevron-up.component.ts","../../../../../packages/shared/angular/src/lib/components/icon/icon.component.ts","../../../../../packages/shared/angular/src/lib/components/icon/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/icon/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/accordion/header/header.component.ts","../../../../../packages/shared/angular/src/lib/components/accordion/default/default.component.ts","../../../../../packages/shared/angular/src/lib/components/accordion/default/default.component.html","../../../../../packages/shared/angular/src/lib/components/accordion/accordion.component.ts","../../../../../packages/shared/angular/src/lib/components/accordion/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/accordion/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/accordion/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/action-panel/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/action-panel/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/action-panel/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/action-panel/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/action-panel/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/action-panel/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/action-panel/action-panel.component.ts","../../../../../packages/shared/angular/src/lib/components/app/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/avatar/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/avatar/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/avatar/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/avatar/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/avatar/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/avatar/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/avatar/avatar.component.ts","../../../../../packages/shared/angular/src/lib/components/badge/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/badge/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/badge/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/badge/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/badge/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/badge/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/badge/badge.component.ts","../../../../../packages/shared/angular/src/lib/components/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/breadcrumbs/breadcrumbs.component.ts","../../../../../packages/shared/angular/src/lib/components/button/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/button/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/button/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/button/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/button/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/button/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/button/button.component.ts","../../../../../packages/shared/angular/src/lib/components/button-group/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/button-group/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/button-group/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/button-group/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/button-group/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/button-group/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/button-group/button-group.component.ts","../../../../../packages/shared/angular/src/lib/components/calendar/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/calendar/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/calendar/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/calendar/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/calendar/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/calendar/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/calendar/calendar.component.ts","../../../../../packages/shared/angular/src/lib/components/card/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/card/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/card/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/card/card.component.ts","../../../../../packages/shared/angular/src/lib/components/card/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/card/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/card/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/card-heading/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/card-heading/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/card-heading/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/card-heading/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/card-heading/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/card-heading/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/card-heading/card-heading.component.ts","../../../../../packages/shared/angular/src/lib/components/command-palette/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/command-palette/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/command-palette/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/command-palette/command-palette.component.ts","../../../../../packages/shared/angular/src/lib/components/command-palette/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/command-palette/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/command-palette/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/container/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/container/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/container/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/container/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/container/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/container/container.component.ts","../../../../../packages/shared/angular/src/lib/components/date-edit/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/date-edit/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/date-edit/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/date-edit/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/date-edit/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/date-edit/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/date-edit/date-edit.component.ts","../../../../../packages/shared/angular/src/lib/components/date-range/base/date-range-base.component.ts","../../../../../packages/shared/angular/src/lib/components/date-range/base/date-range-modal-base.component.ts","../../../../../packages/shared/angular/src/lib/components/date-range/standard/standard-modal.component.ts","../../../../../packages/shared/angular/src/lib/components/date-range/standard/standard-modal.component.html","../../../../../packages/shared/angular/src/lib/components/date-range/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/date-range/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/date-range/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/date-range/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/date-range/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/date-range/date-range.component.ts","../../../../../packages/shared/angular/src/lib/components/description-list/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/description-list/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/description-list/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/description-list/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/description-list/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/description-list/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/description-list/description-list.component.ts","../../../../../packages/shared/angular/src/lib/components/info/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/info/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/info/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/info/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/info/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/info/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/info/info.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/address/address.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/array/array.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/attachment/attachment.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/color/color.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/date-range/date-range.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/email/email.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/enum/enum.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/flag/flag.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/image/image.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/logo/logo.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/object/object.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/pdf/pdf.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/phone-number-pl/phone-number-pl.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/text/text.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/video/video.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/detail.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/detail.component.html","../../../../../packages/shared/angular/src/lib/components/detail/address/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/array/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/attachment/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/color/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/date-range/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/email/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/enum/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/flag/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/image/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/logo/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/object/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/pdf/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/phone-number-pl/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/text/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/video/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/detail/preset-fields.ts","../../../../../packages/shared/angular/src/lib/components/details/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/details/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/details/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/details/details.component.ts","../../../../../packages/shared/angular/src/lib/components/divider/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/divider/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/divider/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/divider/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/divider/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/divider/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/divider/divider.component.ts","../../../../../packages/shared/angular/src/lib/components/drawer/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/drawer/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/drawer/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/drawer/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/drawer/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/drawer/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/drawer/drawer.component.ts","../../../../../packages/shared/angular/src/lib/components/dropdown/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/dropdown/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/dropdown/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/dropdown/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/dropdown/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/dropdown/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/dropdown/dropdown.component.ts","../../../../../packages/shared/angular/src/lib/components/empty-state/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/empty-state/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/empty-state/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/empty-state/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/empty-state/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/empty-state/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/empty-state/empty-state.component.ts","../../../../../packages/shared/angular/src/lib/components/export/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/export/export.component.ts","../../../../../packages/shared/angular/src/lib/components/feed/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/feed/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/feed/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/feed/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/feed/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/feed/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/feed/feed.component.ts","../../../../../packages/shared/angular/src/lib/factories/form/form.factory.ts","../../../../../packages/shared/angular/src/lib/factories/factories.module.ts","../../../../../packages/shared/angular/src/lib/components/input/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/input/address/address.component.ts","../../../../../packages/shared/angular/src/lib/components/input/base/file.component.ts","../../../../../packages/shared/angular/src/lib/components/input/base/possibilities.component.ts","../../../../../packages/shared/angular/src/lib/components/input/color/color.component.ts","../../../../../packages/shared/angular/src/lib/components/input/currency/currency.component.ts","../../../../../packages/shared/angular/src/lib/components/input/date-with-edit/date-with-edit.component.ts","../../../../../packages/shared/angular/src/lib/components/input/date/date.component.ts","../../../../../packages/shared/angular/src/lib/components/input/email/email.component.ts","../../../../../packages/shared/angular/src/lib/components/input/enum/enum.component.ts","../../../../../packages/shared/angular/src/lib/components/input/error/error.component.ts","../../../../../packages/shared/angular/src/lib/components/input/file/file.component.ts","../../../../../packages/shared/angular/src/lib/components/input/flag/flag.component.ts","../../../../../packages/shared/angular/src/lib/components/loader/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/loader/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/loader/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/loader/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/loader/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/loader/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/loader/loader.component.ts","../../../../../packages/shared/angular/src/lib/components/input/array/array.component.ts","../../../../../packages/shared/angular/src/lib/components/input/attachment/attachment.component.ts","../../../../../packages/shared/angular/src/lib/components/input/check/check.component.ts","../../../../../packages/shared/angular/src/lib/components/input/date-range/date-range.component.ts","../../../../../packages/shared/angular/src/lib/components/input/float/float.component.ts","../../../../../packages/shared/angular/src/lib/components/input/image/image.component.ts","../../../../../packages/shared/angular/src/lib/components/input/int/int.component.ts","../../../../../packages/shared/angular/src/lib/components/input/ints/ints.component.ts","../../../../../packages/shared/angular/src/lib/components/input/logo/logo.component.ts","../../../../../packages/shared/angular/src/lib/components/input/long-text/long-text.component.ts","../../../../../packages/shared/angular/src/lib/components/input/nip/nip.component.ts","../../../../../packages/shared/angular/src/lib/components/input/object/object.component.ts","../../../../../packages/shared/angular/src/lib/components/password-strength/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/password-strength/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/password-strength/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/password-strength/password-strength.component.ts","../../../../../packages/shared/angular/src/lib/components/input/password/password.component.ts","../../../../../packages/shared/angular/src/lib/components/input/pdf/pdf.component.ts","../../../../../packages/shared/angular/src/lib/components/input/pesel/pesel.component.ts","../../../../../packages/shared/angular/src/lib/components/input/phone-number/phone-number.component.ts","../../../../../packages/shared/angular/src/lib/components/input/phone-number-pl/phone-number-pl.component.ts","../../../../../packages/shared/angular/src/lib/components/input/radio/radio.component.ts","../../../../../packages/shared/angular/src/lib/components/input/strings/strings.component.ts","../../../../../packages/shared/angular/src/lib/components/input/text/text.component.ts","../../../../../packages/shared/angular/src/lib/components/input/video/video.component.ts","../../../../../packages/shared/angular/src/lib/components/input/input.component.ts","../../../../../packages/shared/angular/src/lib/components/input/address/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/array/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/attachment/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/check/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/color/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/currency/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/date/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/date-range/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/date-with-edit/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/email/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/input/email/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/enum/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/error/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/file/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/float/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/image/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/int/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/ints/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/logo/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/long-text/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/nip/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/input/nip/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/object/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/password/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/pdf/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/pesel/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/phone-number/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/input/phone-number/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/phone-number-pl/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/input/phone-number-pl/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/radio/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/strings/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/text/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/input/text/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/video/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/flag/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/input/preset-fields.ts","../../../../../packages/shared/angular/src/lib/components/form/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/form/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/form/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/form/form.component.ts","../../../../../packages/shared/angular/src/lib/components/form/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/form/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/form/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/grid-list/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/grid-list/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/grid-list/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/grid-list/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/grid-list/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/grid-list/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/grid-list/grid-list.component.ts","../../../../../packages/shared/angular/src/lib/components/import/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/import/import.component.ts","../../../../../packages/shared/angular/src/lib/components/paging/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/paging/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/paging/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/paging/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/paging/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/paging/paging.component.ts","../../../../../packages/shared/angular/src/lib/pages/details/details.page.ts","../../../../../packages/shared/angular/src/lib/pages/details/details.page.html","../../../../../packages/shared/angular/src/lib/components/list/list-sort.ts","../../../../../packages/shared/angular/src/lib/components/list/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/list/desktop/desktop.component.ts","../../../../../packages/shared/angular/src/lib/components/list/desktop/desktop.component.html","../../../../../packages/shared/angular/src/lib/components/list/masonry-grid/masonry-grid.component.ts","../../../../../packages/shared/angular/src/lib/components/list/masonry-grid/masonry-grid.component.html","../../../../../packages/shared/angular/src/lib/components/list/mobile/mobile.component.ts","../../../../../packages/shared/angular/src/lib/components/list/mobile/mobile.component.html","../../../../../packages/shared/angular/src/lib/components/list/list.component.ts","../../../../../packages/shared/angular/src/lib/components/list/list.component.html","../../../../../packages/shared/angular/src/lib/components/list/desktop/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/list/desktop/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/list/desktop/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/list/masonry-grid/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/list/masonry-grid/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/list/mobile/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/list/mobile/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/list/preset-modes.ts","../../../../../packages/shared/angular/src/lib/components/list-container/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/list-container/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/list-container/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/list-container/list-container.component.ts","../../../../../packages/shared/angular/src/lib/components/media-object/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/media-object/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/media-object/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/media-object/media-object.component.ts","../../../../../packages/shared/angular/src/lib/components/media-object/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/media-object/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/media-object/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/modal/preset/escape-layers.ts","../../../../../packages/shared/angular/src/lib/components/modal/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/modal/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/modal/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/multi-column-layout.component.ts","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/multi-column-layout/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/navbar/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/navbar/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/navbar/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/navbar/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/navbar/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/navbar/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/navbar/navbar.component.ts","../../../../../packages/shared/angular/src/lib/components/notification/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/notification/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/notification/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/page/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/page/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/page/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/page/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/page/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/page/preset-variants.ts","../../../../../packages/shared/angular/src/lib/components/page/page.component.ts","../../../../../packages/shared/angular/src/lib/components/page-heading/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/page-heading/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/page-heading/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/page-heading/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/page-heading/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/page-heading/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/page-heading/page-heading.component.ts","../../../../../packages/shared/angular/src/lib/components/progress-bars/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/progress-bars/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/progress-bars/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/progress-bars/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/section-heading/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/section-heading/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/section-heading/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/section-heading/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/section-heading/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/section-heading/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/sign-in-form/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/sign-in-form/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/sign-in-form/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/sign-in-form/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/sign-in-form/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/sign-in-form/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/stacked-layout/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-layout/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-layout/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/stacked-layout/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/stacked-layout/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-layout/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/stacked-list/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-list/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/stacked-list/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-list/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/stats/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/stats/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/stats/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/stats/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/table/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/table/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/table/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/table/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/tabs/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/tabs/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/tabs/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/tabs/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/textarea/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/textarea/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/textarea/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/textarea/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/toggle/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/toggle/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/toggle/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/toggle/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/preset/preset-classes.util.ts","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/preset/preset.component.ts","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/preset/preset.component.html","../../../../../packages/shared/angular/src/lib/components/presets/presets.ts","../../../../../packages/shared/angular/src/lib/components/progress-bars/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/progress-bars/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/progress-bars/progress-bars.component.ts","../../../../../packages/shared/angular/src/lib/components/searchbar/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/searchbar/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/searchbar/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/searchbar/searchbar.component.ts","../../../../../packages/shared/angular/src/lib/components/section-heading/section-heading.component.ts","../../../../../packages/shared/angular/src/lib/components/select-menu/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/select-menu/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/select-menu/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/select-menu/select-menu.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-layout/sidebar-layout.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-navigation/base/base.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-navigation/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/sidebar-navigation/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/sidebar-navigation/sidebar-navigation.component.ts","../../../../../packages/shared/angular/src/lib/components/sign-in-form/sign-in-form.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-layout/stacked-layout.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-list/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/stacked-list/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/stacked-list/stacked-list.component.ts","../../../../../packages/shared/angular/src/lib/components/stats/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/stats/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/stats/stats.component.ts","../../../../../packages/shared/angular/src/lib/components/table/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/table/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/table/table.component.ts","../../../../../packages/shared/angular/src/lib/components/tabs/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/tabs/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/tabs/tabs.component.ts","../../../../../packages/shared/angular/src/lib/components/textarea/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/textarea/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/textarea/textarea.component.ts","../../../../../packages/shared/angular/src/lib/components/toggle/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/toggle/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/toggle/toggle.component.ts","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/standard/standard.component.ts","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/standard/standard.component.html","../../../../../packages/shared/angular/src/lib/components/vertical-navigation/vertical-navigation.component.ts","../../../../../packages/shared/angular/src/lib/components/components.module.ts","../../../../../packages/shared/angular/src/lib/pages/pages.module.ts","../../../../../packages/shared/angular/src/lib/translations-default.ts","../../../../../packages/shared/angular/src/lib/shared.module.ts","../../../../../packages/shared/angular/src/lib/ngrx-shared.module.ts","../../../../../packages/shared/angular/src/lib/decorators/redux-action/redux-action.decorator.ts","../../../../../packages/shared/angular/src/lib/decorators/redux-select/redux-select.decorator.ts","../../../../../packages/shared/angular/src/lib/decorators/module/module.decorator.ts"],"sourcesContent":["export interface ColorVariantClasses {\n  primary: string[];\n  secondary: string[];\n  soft: string[];\n}\n\n// All classes MUST be explicit strings - NO template literals\n// This ensures Tailwind JIT content scanning detects them\nexport const COMPONENT_COLORS: Record<string, ColorVariantClasses> = {\n  slate: {\n    primary: [\n      'smart:bg-slate-600',\n      'smart:text-white',\n      'smart:hover:bg-slate-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-slate-600',\n      'smart:dark:bg-slate-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-slate-400',\n      'smart:dark:focus-visible:outline-slate-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-slate-50',\n      'smart:text-slate-600',\n      'smart:hover:bg-slate-100',\n      'smart:dark:bg-slate-500/20',\n      'smart:dark:text-slate-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-slate-500/30',\n    ],\n  },\n  gray: {\n    primary: [\n      'smart:bg-gray-600',\n      'smart:text-white',\n      'smart:hover:bg-gray-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-gray-600',\n      'smart:dark:bg-gray-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-gray-400',\n      'smart:dark:focus-visible:outline-gray-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-gray-50',\n      'smart:text-gray-600',\n      'smart:hover:bg-gray-100',\n      'smart:dark:bg-gray-500/20',\n      'smart:dark:text-gray-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-gray-500/30',\n    ],\n  },\n  zinc: {\n    primary: [\n      'smart:bg-zinc-600',\n      'smart:text-white',\n      'smart:hover:bg-zinc-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-zinc-600',\n      'smart:dark:bg-zinc-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-zinc-400',\n      'smart:dark:focus-visible:outline-zinc-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-zinc-50',\n      'smart:text-zinc-600',\n      'smart:hover:bg-zinc-100',\n      'smart:dark:bg-zinc-500/20',\n      'smart:dark:text-zinc-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-zinc-500/30',\n    ],\n  },\n  neutral: {\n    primary: [\n      'smart:bg-neutral-600',\n      'smart:text-white',\n      'smart:hover:bg-neutral-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-neutral-600',\n      'smart:dark:bg-neutral-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-neutral-400',\n      'smart:dark:focus-visible:outline-neutral-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-neutral-50',\n      'smart:text-neutral-600',\n      'smart:hover:bg-neutral-100',\n      'smart:dark:bg-neutral-500/20',\n      'smart:dark:text-neutral-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-neutral-500/30',\n    ],\n  },\n  stone: {\n    primary: [\n      'smart:bg-stone-600',\n      'smart:text-white',\n      'smart:hover:bg-stone-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-stone-600',\n      'smart:dark:bg-stone-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-stone-400',\n      'smart:dark:focus-visible:outline-stone-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-stone-50',\n      'smart:text-stone-600',\n      'smart:hover:bg-stone-100',\n      'smart:dark:bg-stone-500/20',\n      'smart:dark:text-stone-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-stone-500/30',\n    ],\n  },\n  red: {\n    primary: [\n      'smart:bg-red-600',\n      'smart:text-white',\n      'smart:hover:bg-red-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-red-600',\n      'smart:dark:bg-red-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-red-400',\n      'smart:dark:focus-visible:outline-red-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-red-50',\n      'smart:text-red-600',\n      'smart:hover:bg-red-100',\n      'smart:dark:bg-red-500/20',\n      'smart:dark:text-red-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-red-500/30',\n    ],\n  },\n  orange: {\n    primary: [\n      'smart:bg-orange-600',\n      'smart:text-white',\n      'smart:hover:bg-orange-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-orange-600',\n      'smart:dark:bg-orange-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-orange-400',\n      'smart:dark:focus-visible:outline-orange-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-orange-50',\n      'smart:text-orange-600',\n      'smart:hover:bg-orange-100',\n      'smart:dark:bg-orange-500/20',\n      'smart:dark:text-orange-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-orange-500/30',\n    ],\n  },\n  amber: {\n    primary: [\n      'smart:bg-amber-600',\n      'smart:text-white',\n      'smart:hover:bg-amber-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-amber-600',\n      'smart:dark:bg-amber-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-amber-400',\n      'smart:dark:focus-visible:outline-amber-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-amber-50',\n      'smart:text-amber-600',\n      'smart:hover:bg-amber-100',\n      'smart:dark:bg-amber-500/20',\n      'smart:dark:text-amber-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-amber-500/30',\n    ],\n  },\n  yellow: {\n    primary: [\n      'smart:bg-yellow-600',\n      'smart:text-white',\n      'smart:hover:bg-yellow-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-yellow-600',\n      'smart:dark:bg-yellow-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-yellow-400',\n      'smart:dark:focus-visible:outline-yellow-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-yellow-50',\n      'smart:text-yellow-600',\n      'smart:hover:bg-yellow-100',\n      'smart:dark:bg-yellow-500/20',\n      'smart:dark:text-yellow-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-yellow-500/30',\n    ],\n  },\n  lime: {\n    primary: [\n      'smart:bg-lime-600',\n      'smart:text-white',\n      'smart:hover:bg-lime-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-lime-600',\n      'smart:dark:bg-lime-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-lime-400',\n      'smart:dark:focus-visible:outline-lime-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-lime-50',\n      'smart:text-lime-600',\n      'smart:hover:bg-lime-100',\n      'smart:dark:bg-lime-500/20',\n      'smart:dark:text-lime-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-lime-500/30',\n    ],\n  },\n  green: {\n    primary: [\n      'smart:bg-green-600',\n      'smart:text-white',\n      'smart:hover:bg-green-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-green-600',\n      'smart:dark:bg-green-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-green-400',\n      'smart:dark:focus-visible:outline-green-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-green-50',\n      'smart:text-green-600',\n      'smart:hover:bg-green-100',\n      'smart:dark:bg-green-500/20',\n      'smart:dark:text-green-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-green-500/30',\n    ],\n  },\n  emerald: {\n    primary: [\n      'smart:bg-emerald-600',\n      'smart:text-white',\n      'smart:hover:bg-emerald-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-emerald-600',\n      'smart:dark:bg-emerald-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-emerald-400',\n      'smart:dark:focus-visible:outline-emerald-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-emerald-50',\n      'smart:text-emerald-600',\n      'smart:hover:bg-emerald-100',\n      'smart:dark:bg-emerald-500/20',\n      'smart:dark:text-emerald-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-emerald-500/30',\n    ],\n  },\n  teal: {\n    primary: [\n      'smart:bg-teal-600',\n      'smart:text-white',\n      'smart:hover:bg-teal-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-teal-600',\n      'smart:dark:bg-teal-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-teal-400',\n      'smart:dark:focus-visible:outline-teal-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-teal-50',\n      'smart:text-teal-600',\n      'smart:hover:bg-teal-100',\n      'smart:dark:bg-teal-500/20',\n      'smart:dark:text-teal-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-teal-500/30',\n    ],\n  },\n  cyan: {\n    primary: [\n      'smart:bg-cyan-600',\n      'smart:text-white',\n      'smart:hover:bg-cyan-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-cyan-600',\n      'smart:dark:bg-cyan-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-cyan-400',\n      'smart:dark:focus-visible:outline-cyan-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-cyan-50',\n      'smart:text-cyan-600',\n      'smart:hover:bg-cyan-100',\n      'smart:dark:bg-cyan-500/20',\n      'smart:dark:text-cyan-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-cyan-500/30',\n    ],\n  },\n  sky: {\n    primary: [\n      'smart:bg-sky-600',\n      'smart:text-white',\n      'smart:hover:bg-sky-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-sky-600',\n      'smart:dark:bg-sky-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-sky-400',\n      'smart:dark:focus-visible:outline-sky-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-sky-50',\n      'smart:text-sky-600',\n      'smart:hover:bg-sky-100',\n      'smart:dark:bg-sky-500/20',\n      'smart:dark:text-sky-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-sky-500/30',\n    ],\n  },\n  blue: {\n    primary: [\n      'smart:bg-blue-600',\n      'smart:text-white',\n      'smart:hover:bg-blue-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-blue-600',\n      'smart:dark:bg-blue-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-blue-400',\n      'smart:dark:focus-visible:outline-blue-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-blue-50',\n      'smart:text-blue-600',\n      'smart:hover:bg-blue-100',\n      'smart:dark:bg-blue-500/20',\n      'smart:dark:text-blue-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-blue-500/30',\n    ],\n  },\n  indigo: {\n    primary: [\n      'smart:bg-indigo-600',\n      'smart:text-white',\n      'smart:hover:bg-indigo-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-indigo-600',\n      'smart:dark:bg-indigo-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-indigo-400',\n      'smart:dark:focus-visible:outline-indigo-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-indigo-50',\n      'smart:text-indigo-600',\n      'smart:hover:bg-indigo-100',\n      'smart:dark:bg-indigo-500/20',\n      'smart:dark:text-indigo-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-indigo-500/30',\n    ],\n  },\n  violet: {\n    primary: [\n      'smart:bg-violet-600',\n      'smart:text-white',\n      'smart:hover:bg-violet-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-violet-600',\n      'smart:dark:bg-violet-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-violet-400',\n      'smart:dark:focus-visible:outline-violet-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-violet-50',\n      'smart:text-violet-600',\n      'smart:hover:bg-violet-100',\n      'smart:dark:bg-violet-500/20',\n      'smart:dark:text-violet-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-violet-500/30',\n    ],\n  },\n  purple: {\n    primary: [\n      'smart:bg-purple-600',\n      'smart:text-white',\n      'smart:hover:bg-purple-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-purple-600',\n      'smart:dark:bg-purple-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-purple-400',\n      'smart:dark:focus-visible:outline-purple-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-purple-50',\n      'smart:text-purple-600',\n      'smart:hover:bg-purple-100',\n      'smart:dark:bg-purple-500/20',\n      'smart:dark:text-purple-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-purple-500/30',\n    ],\n  },\n  fuchsia: {\n    primary: [\n      'smart:bg-fuchsia-600',\n      'smart:text-white',\n      'smart:hover:bg-fuchsia-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-fuchsia-600',\n      'smart:dark:bg-fuchsia-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-fuchsia-400',\n      'smart:dark:focus-visible:outline-fuchsia-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-fuchsia-50',\n      'smart:text-fuchsia-600',\n      'smart:hover:bg-fuchsia-100',\n      'smart:dark:bg-fuchsia-500/20',\n      'smart:dark:text-fuchsia-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-fuchsia-500/30',\n    ],\n  },\n  pink: {\n    primary: [\n      'smart:bg-pink-600',\n      'smart:text-white',\n      'smart:hover:bg-pink-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-pink-600',\n      'smart:dark:bg-pink-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-pink-400',\n      'smart:dark:focus-visible:outline-pink-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-pink-50',\n      'smart:text-pink-600',\n      'smart:hover:bg-pink-100',\n      'smart:dark:bg-pink-500/20',\n      'smart:dark:text-pink-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-pink-500/30',\n    ],\n  },\n  rose: {\n    primary: [\n      'smart:bg-rose-600',\n      'smart:text-white',\n      'smart:hover:bg-rose-500',\n      'smart:focus-visible:outline-2',\n      'smart:focus-visible:outline-offset-2',\n      'smart:focus-visible:outline-rose-600',\n      'smart:dark:bg-rose-500',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-rose-400',\n      'smart:dark:focus-visible:outline-rose-500',\n    ],\n    secondary: [\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:inset-ring',\n      'smart:inset-ring-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/10',\n      'smart:dark:text-white',\n      'smart:dark:shadow-none',\n      'smart:dark:inset-ring-white/5',\n      'smart:dark:hover:bg-white/20',\n    ],\n    soft: [\n      'smart:bg-rose-50',\n      'smart:text-rose-600',\n      'smart:hover:bg-rose-100',\n      'smart:dark:bg-rose-500/20',\n      'smart:dark:text-rose-400',\n      'smart:dark:shadow-none',\n      'smart:dark:hover:bg-rose-500/30',\n    ],\n  },\n};\n","import {\n  PipeTransform,\n  Signal,\n  TemplateRef,\n  Type,\n  WritableSignal,\n} from '@angular/core';\nimport {\n  AbstractControl,\n  UntypedFormArray,\n  UntypedFormControl,\n} from '@angular/forms';\nimport { Observable } from 'rxjs';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport { IFieldOptions, IModelOptions } from '@smartsoft001/models';\n\nimport { IAppProvider } from '../providers';\nimport { InputBaseComponentType } from './forward-types';\nimport { IStyle } from './style';\n\nexport interface IAppOptions {\n  provider: IAppProvider;\n  logo?: string;\n  menu?: {\n    showForAnonymous?: boolean;\n    items?: IMenuItem[];\n  };\n  style?: IStyle;\n}\n\nexport interface ICardOptions {\n  title?: string;\n  /**\n   * @deprecated Has never been rendered by any card variant (standard or\n   * preset). Put actions in the header or footer instead: project them with\n   * the `[cardHeader]` / `[cardFooter]` slots of `<smart-card>` (set\n   * `hasHeader` / `hasFooter`), which reach the variant as `headerTpl` /\n   * `footerTpl`.\n   */\n  buttons?: Array<IIconButtonOptions>;\n  grayFooter?: boolean;\n  grayBody?: boolean;\n}\n\nexport interface IIconButtonOptions {\n  icon: string;\n  text?: string;\n  handler?: () => void;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  component?: any;\n  type?: 'default' | 'popover';\n  disabled$?: Observable<boolean>;\n  number?: number;\n}\n\nexport type DynamicComponentType =\n  | 'form'\n  | 'page'\n  | 'page-heading'\n  | 'action-panel'\n  | 'alert'\n  | 'avatar'\n  | 'badge'\n  | 'breadcrumbs'\n  | 'button-group'\n  | 'command-palette'\n  | 'container'\n  | 'divider'\n  | 'drawer'\n  | 'dropdown'\n  | 'list-container'\n  | 'media-object'\n  | 'modal'\n  | 'notification'\n  | 'empty-state'\n  | 'navbar'\n  | 'progress-bars'\n  | 'tabs'\n  | 'vertical-navigation'\n  | 'button'\n  | 'calendar'\n  | 'card-heading'\n  | 'details'\n  | 'description-list'\n  | 'feed'\n  | 'grid-list'\n  | 'info'\n  | 'list'\n  | 'loader'\n  | 'multi-column-layout'\n  | 'password-strength'\n  | 'searchbar'\n  | 'section-heading'\n  | 'select-menu'\n  | 'sign-in-form'\n  | 'sidebar-layout'\n  | 'sidebar-navigation'\n  | 'stacked-layout'\n  | 'stacked-list'\n  | 'stats'\n  | 'table'\n  | 'textarea'\n  | 'toggle'\n  | 'crud-list-page'\n  | 'crud-item-page';\nexport interface IDynamicComponentData {\n  key: DynamicComponentType;\n  component: Type<any>;\n  data?: any;\n}\n\nexport interface IFormOptions<T> {\n  model: T;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  show: boolean;\n  treeLevel?: number;\n  control?: AbstractControl;\n  mode?: 'create' | 'update' | string;\n  loading$?: Observable<boolean>;\n  uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>;\n  possibilities?: {\n    [key: string]: WritableSignal<\n      { id: any; text: string; checked: boolean }[]\n    >;\n  };\n  inputComponents?: {\n    [key: string]: InputBaseComponentType<T>;\n  };\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  fieldOptions?: IFieldOptions;\n  modelOptions?: IModelOptions;\n}\n\nexport type InputOptions<T> = IInputOptions & IInputFromFieldOptions<T>;\n\nexport interface IInputOptions {\n  treeLevel: number;\n  control: UntypedFormControl | UntypedFormArray;\n  possibilities?: WritableSignal<{ id: any; text: string; checked: boolean }[]>;\n  component?: InputBaseComponentType<any>;\n}\n\nexport interface IInputFromFieldOptions<T> {\n  model: T;\n  fieldKey: string;\n  mode?: 'create' | 'update' | string;\n}\n\nexport interface IDetailsComponentFactories<T> {\n  top?: Type<any>;\n  bottom?: Type<any>;\n}\n\nexport interface IDetailsOptions<T extends IEntity<string>> {\n  title?: string;\n  cellPipe?: ICellPipe<T>;\n  type: any;\n  item: Signal<T>;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  loading?: Signal<boolean>;\n  itemHandler?: ((id: string) => void) | null;\n  removeHandler?: ((item: T) => void) | null;\n  componentFactories?: IDetailsComponentFactories<T>;\n}\n\nexport interface IMenuItem {\n  mode?: 'divider' | 'default';\n  route?: string;\n  click?: (arg0: IMenuItem) => void;\n  caption?: string;\n  component?: any;\n  icon?: string;\n  infos?: Array<{ text: string }>;\n}\n\nexport type SmartVariant = 'primary' | 'secondary' | 'soft';\nexport type SmartSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n\nexport type SmartColor =\n  | 'slate'\n  | 'gray'\n  | 'zinc'\n  | 'neutral'\n  | 'stone'\n  | 'red'\n  | 'orange'\n  | 'amber'\n  | 'yellow'\n  | 'lime'\n  | 'green'\n  | 'emerald'\n  | 'teal'\n  | 'cyan'\n  | 'sky'\n  | 'blue'\n  | 'indigo'\n  | 'violet'\n  | 'purple'\n  | 'fuchsia'\n  | 'pink'\n  | 'rose';\n\nexport interface IAccordionOptions {\n  /**\n   * Initial open state. When `true` on first render and `show` has not been\n   * set to `true` by the consumer, the accordion sets `show` to `true` once\n   * (in `AccordionBaseComponent.ngOnInit`, so every variant gets it) and\n   * emits `showChange`. Later changes to this flag are ignored, and later\n   * toggles or a bound `[(show)]` take over. Bind `[(show)]` to a signal when\n   * combining it with `open`.\n   */\n  open?: boolean;\n  /** Prevents `toggle()` from changing `show` (the header ignores clicks). */\n  disabled?: boolean;\n  /**\n   * @deprecated No accordion variant (default or preset) animates anything;\n   * this flag has no effect.\n   */\n  animated?: boolean;\n}\n\nexport type SmartActionPanelLayout =\n  | 'simple'\n  | 'with-link'\n  | 'right-button'\n  | 'top-right-button'\n  | 'with-toggle'\n  | 'with-input'\n  | 'well'\n  | 'payment-method';\n\nexport interface IActionPanelAction {\n  id: string;\n  label?: string;\n  href?: string;\n  variant?: 'primary' | 'secondary' | 'ghost' | 'link';\n  iconTpl?: TemplateRef<unknown>;\n}\n\nexport interface IActionPanelOptions {\n  title?: string;\n  description?: string;\n  layout?: SmartActionPanelLayout;\n  actions?: IActionPanelAction[];\n  descriptionTpl?: TemplateRef<unknown>;\n  contentTpl?: TemplateRef<unknown>;\n}\n\nexport type SmartEmptyStateLayout =\n  | 'simple'\n  | 'dashed-border'\n  | 'starting-points'\n  | 'with-recommendations'\n  | 'with-templates'\n  | 'with-recommendations-grid';\n\nexport interface IEmptyStateAction {\n  id: string;\n  label?: string;\n  href?: string;\n  variant?: 'primary' | 'secondary' | 'ghost' | 'link';\n  iconTpl?: TemplateRef<unknown>;\n}\n\nexport interface IEmptyStateItem {\n  id: string;\n  title?: string;\n  description?: string;\n  href?: string;\n  iconTpl?: TemplateRef<unknown>;\n  imageUrl?: string;\n  imageAlt?: string;\n  meta?: string;\n}\n\nexport interface IEmptyStateOptions {\n  title?: string;\n  description?: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  layout?: SmartEmptyStateLayout;\n  iconTpl?: TemplateRef<unknown>;\n  actions?: IEmptyStateAction[];\n  items?: IEmptyStateItem[];\n  itemsTitle?: string;\n  formTpl?: TemplateRef<unknown>;\n  footerLinkLabel?: string;\n  footerLinkHref?: string;\n}\n\nexport type SmartNavbarLayout =\n  | 'simple'\n  | 'simple-with-menu-on-left'\n  | 'with-quick-action'\n  | 'with-search'\n  | 'with-centered-search'\n  | 'with-secondary-links'\n  | 'with-column-layout';\n\nexport interface INavbarItem {\n  id: string;\n  label?: string;\n  href?: string;\n  current?: boolean;\n  iconTpl?: TemplateRef<unknown>;\n}\n\nexport interface INavbarOptions {\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  layout?: SmartNavbarLayout;\n  dark?: boolean;\n  menuButtonOnLeft?: boolean;\n  logoTpl?: TemplateRef<unknown>;\n  logoUrl?: string;\n  logoAlt?: string;\n  logoHref?: string;\n  items?: INavbarItem[];\n  secondaryItems?: INavbarItem[];\n  searchTpl?: TemplateRef<unknown>;\n  actionTpl?: TemplateRef<unknown>;\n  notificationTpl?: TemplateRef<unknown>;\n  userMenuTpl?: TemplateRef<unknown>;\n}\n\nexport type SmartTabsLayout =\n  | 'underline'\n  | 'underline-with-icons'\n  | 'underline-with-badges'\n  | 'underline-full-width'\n  | 'pills'\n  | 'pills-on-gray'\n  | 'pills-with-brand-color'\n  | 'bar-with-underline'\n  | 'simple';\n\nexport interface ITabItem {\n  id: string;\n  label?: string;\n  href?: string;\n  badge?: string | number;\n  iconTpl?: TemplateRef<unknown>;\n}\n\nexport interface ITabsOptions {\n  layout?: SmartTabsLayout;\n  items?: ITabItem[];\n  ariaLabel?: string;\n  showMobileSelect?: boolean;\n}\n\nexport type SmartProgressBarsLayout =\n  | 'simple'\n  | 'panels'\n  | 'bullets'\n  | 'panels-with-border'\n  | 'circles'\n  | 'bullets-and-text'\n  | 'circles-with-text'\n  | 'progress-bar';\n\nexport type SmartProgressStepStatus = 'complete' | 'current' | 'upcoming';\n\nexport interface IProgressStep {\n  id: string;\n  name?: string;\n  description?: string;\n  status?: SmartProgressStepStatus;\n  href?: string;\n  iconTpl?: TemplateRef<unknown>;\n  index?: string;\n}\n\nexport interface IProgressBarColumn {\n  label: string;\n  active?: boolean;\n}\n\nexport interface IProgressBarsOptions {\n  layout?: SmartProgressBarsLayout;\n  ariaLabel?: string;\n  steps?: IProgressStep[];\n  title?: string;\n  srOnlyTitle?: string;\n  value?: number;\n  columns?: IProgressBarColumn[];\n}\n\n/**\n * The preset's layouts. `'simple-with-chevrons'` looks the same as the default\n * layout, since the chevron is already the default separator.\n */\nexport type SmartBreadcrumbsLayout =\n  | 'contained'\n  | 'full-width-bar'\n  | 'simple-with-chevrons'\n  | 'simple-with-slashes';\n\nexport type SmartBreadcrumbsSeparator = 'chevron' | 'slash' | 'arrow';\n\nexport interface IBreadcrumbItem {\n  id: string;\n  label?: string;\n  href?: string;\n  iconTpl?: TemplateRef<unknown>;\n  srOnlyLabel?: string;\n  current?: boolean;\n}\n\nexport interface IBreadcrumbsOptions {\n  layout?: SmartBreadcrumbsLayout;\n  ariaLabel?: string;\n  separator?: SmartBreadcrumbsSeparator;\n  items: IBreadcrumbItem[];\n}\n\nexport type SmartVerticalNavLayout =\n  | 'simple'\n  | 'with-badges'\n  | 'with-icons'\n  | 'with-icons-and-badges'\n  | 'with-secondary-navigation'\n  | 'on-gray';\n\nexport interface IVerticalNavItem {\n  id: string;\n  label?: string;\n  href?: string;\n  current?: boolean;\n  badge?: string | number;\n  iconTpl?: TemplateRef<unknown>;\n  initial?: string;\n}\n\nexport interface IVerticalNavGroup {\n  id?: string;\n  title?: string;\n  items: IVerticalNavItem[];\n}\n\nexport interface IVerticalNavOptions {\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  layout?: SmartVerticalNavLayout;\n  ariaLabel?: string;\n  items?: IVerticalNavItem[];\n  groups?: IVerticalNavGroup[];\n}\n\nexport interface IButtonOptions {\n  type?: 'submit' | 'button';\n  confirm?: boolean;\n  click: () => void;\n  loading?: Signal<boolean>;\n  variant?: SmartVariant;\n  size?: SmartSize;\n  color?: SmartColor;\n  rounded?: boolean;\n  circular?: boolean;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  iconPosition?: 'leading' | 'trailing';\n}\n\nexport interface IInfoOptions {\n  text: string;\n}\n\nexport interface ISearchbarOptions {\n  placeholder?: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  label?: string;\n  debounceTime?: number;\n  showToggleButton?: boolean;\n  size?: SmartSize;\n  color?: SmartColor;\n}\n\nexport interface IToggleOptions {\n  label?: string;\n  description?: string;\n  labelPosition?: 'left' | 'right';\n  ariaLabel?: string;\n}\n\nexport type SmartCommandPaletteVariant =\n  | 'simple'\n  | 'with-padding'\n  | 'with-preview'\n  | 'with-images'\n  | 'with-icons'\n  | 'semi-transparent'\n  | 'with-groups'\n  | 'with-footer';\n\nexport interface ICommand {\n  id: string;\n  label: string;\n  icon?: string;\n  group?: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  href?: string;\n  description?: string;\n  imageUrl?: string;\n}\n\nexport interface ICommandPaletteOptions {\n  variant?: SmartCommandPaletteVariant;\n  placeholder?: string;\n  emptyText?: string;\n  ariaLabel?: string;\n}\n\nexport type SmartModalVariant =\n  'centered' | 'wide' | 'alert' | 'left-aligned-buttons' | 'bottom-sheet';\n\nexport type SmartModalActionVariant = 'primary' | 'secondary' | 'danger';\n\nexport type SmartModalFooterStyle = 'default' | 'gray';\n\nexport interface IModalAction {\n  id: string;\n  label: string;\n  variant?: SmartModalActionVariant;\n}\n\nexport interface IModalOptions {\n  variant?: SmartModalVariant;\n  withDismiss?: boolean;\n  footerStyle?: SmartModalFooterStyle;\n  ariaLabel?: string;\n}\n\nexport interface IAlertButton {\n  text: string;\n  role?: 'cancel' | 'destructive' | string;\n  cssClass?: string | string[];\n  handler?: (value?: unknown) => boolean | void | Record<string, unknown>;\n}\n\nexport interface IAlertOptions {\n  header?: string;\n  subHeader?: string;\n  message?: string;\n  /** Click on the backdrop cancels the alert. Defaults to true. */\n  backdropDismiss?: boolean;\n  buttons?: IAlertButton[];\n}\n\nexport type SmartDrawerVariant =\n  'empty' | 'create-form' | 'user-profile' | 'contact-list' | 'file-details';\n\nexport interface IDrawerOptions {\n  position?: 'left' | 'right';\n  wide?: boolean;\n  withOverlay?: boolean;\n  brandedHeader?: boolean;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  stickyFooter?: boolean;\n  variant?: SmartDrawerVariant;\n}\n\nexport type SmartNotificationVariant =\n  | 'simple'\n  | 'condensed'\n  | 'with-actions-below'\n  | 'with-avatar'\n  | 'with-split-buttons'\n  | 'with-buttons-below';\n\nexport interface INotificationAction {\n  id: string;\n  label: string;\n  variant?: 'primary' | 'secondary';\n}\n\nexport interface INotificationOptions {\n  variant?: SmartNotificationVariant;\n  ariaLive?: 'polite' | 'assertive';\n}\n\nexport type SmartAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\nexport type SmartAvatarShape = 'circle' | 'rounded';\n\nexport interface IAvatarItem {\n  id: string;\n  imageUrl?: string;\n  initials?: string;\n}\n\nexport interface IAvatarOptions {\n  /**\n   * Fallback shown when there is no `imageUrl` (default `'icon'`).\n   * Initials are shown whenever `initials` is set; otherwise\n   * `AvatarPresetComponent` renders an SVG icon (`'icon'`) or an empty\n   * initials chip (`'initials'`), and `AvatarStandardComponent` renders a `·`\n   * placeholder. The standard also exposes the value as the\n   * `data-placeholder-type` attribute on its root element.\n   */\n  placeholderType?: 'icon' | 'initials';\n  /**\n   * Stacking order of a `group` (default `'top-to-bottom'`). Purely visual:\n   * styled by `AvatarPresetComponent` (`'bottom-to-top'` reverses the stack);\n   * `AvatarStandardComponent` exposes it as the `data-stack-direction`\n   * attribute on the group container.\n   */\n  stackDirection?: 'top-to-bottom' | 'bottom-to-top';\n}\n\nexport type SmartBadgeColor =\n  'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';\n\nexport interface IBadgeOptions {\n  /**\n   * Visual style variant (default `'soft'`). Styled by `BadgePresetComponent`:\n   * - `solid` — filled background with inverse text\n   * - `soft` — tinted background with same-hue text\n   * - `outline` — transparent background with colored border + text\n   *\n   * `BadgeStandardComponent` does not style it; it exposes the value as the\n   * `data-variant` attribute on its root element.\n   */\n  variant?: 'solid' | 'soft' | 'outline';\n  /**\n   * Fully rounded pill shape (default `true`); `false` renders `rounded-md`\n   * corners. Styled by `BadgePresetComponent`; `BadgeStandardComponent`\n   * exposes it as `data-pill=\"true\" | \"false\"` on its root element.\n   */\n  pill?: boolean;\n  withDot?: boolean;\n  withRemove?: boolean;\n}\n\nexport interface IDropdownItem {\n  id: string;\n  label: string;\n  icon?: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  href?: string;\n  disabled?: boolean;\n  divider?: boolean;\n}\n\nexport type SmartDropdownVariant =\n  'simple' | 'with-dividers' | 'with-icons' | 'minimal' | 'with-header';\n\nexport interface IDropdownOptions {\n  variant?: SmartDropdownVariant;\n  headerLabel?: string;\n}\n\nexport interface IButtonGroupButton {\n  id: string;\n  label?: string;\n  icon?: string;\n  disabled?: boolean;\n  count?: number;\n}\n\nexport type SmartButtonGroupVariant =\n  | 'basic'\n  | 'icon-only'\n  | 'with-stat'\n  | 'with-dropdown'\n  | 'with-checkbox-select';\n\nexport interface IButtonGroupOptions {\n  variant?: SmartButtonGroupVariant;\n}\n\nexport interface IContainerOptions {\n  mode?: 'full-width' | 'constrained' | 'container';\n  padding?: 'none' | 'mobile' | 'always';\n  narrow?: boolean;\n}\n\nexport type SmartListContainerVariant =\n  'simple-dividers' | 'card-dividers' | 'separate-cards' | 'flat-card-dividers';\n\nexport interface IListContainerOptions {\n  variant?: SmartListContainerVariant;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  fullWidthOnMobile?: boolean;\n}\n\nexport interface IMediaObjectOptions {\n  alignment?: 'top' | 'center' | 'bottom' | 'stretched';\n  position?: 'left' | 'right';\n  responsive?: boolean;\n  nested?: boolean;\n  wide?: boolean;\n}\n\nexport type SmartDividerVariant =\n  'with-label' | 'with-icon' | 'with-title' | 'with-button' | 'with-toolbar';\n\nexport interface IDividerOptions {\n  variant?: SmartDividerVariant;\n  position?: 'left' | 'center' | 'right';\n}\n\nexport type SmartStackedLayoutContainerWidth =\n  'sm' | 'md' | 'lg' | 'xl' | 'full';\n\nexport interface IStackedLayoutOptions {\n  title?: string;\n  navTpl?: TemplateRef<unknown>;\n  headerTpl?: TemplateRef<unknown>;\n  containerWidth?: SmartStackedLayoutContainerWidth;\n}\n\nexport interface ICardHeadingOptions {\n  title?: string;\n  description?: string;\n  avatarTpl?: TemplateRef<unknown>;\n  actionsTpl?: TemplateRef<unknown>;\n  metaTpl?: TemplateRef<unknown>;\n  // Consumed only by CardHeadingPresetComponent; standard component ignores it.\n  presentation?: {\n    variant?: 'author' | 'stacked' | 'overlay' | 'outline';\n  };\n}\n\nexport interface IPageHeadingOptions {\n  title?: string;\n  subtitle?: string;\n  breadcrumbsTpl?: TemplateRef<unknown>;\n  metaTpl?: TemplateRef<unknown>;\n  avatarTpl?: TemplateRef<unknown>;\n  bannerTpl?: TemplateRef<unknown>;\n  actionsTpl?: TemplateRef<unknown>;\n  statsTpl?: TemplateRef<unknown>;\n  logoTpl?: TemplateRef<unknown>;\n  filtersTpl?: TemplateRef<unknown>;\n  navTpl?: TemplateRef<unknown>;\n  // Consumed only by PageHeadingPresetComponent; standard component ignores it.\n  presentation?: {\n    layout?: 'links-left' | 'links-center' | 'links-right' | 'user';\n  };\n}\n\nexport type SmartMultiColumnLayoutWidth = 'full' | 'constrained';\nexport type SmartMultiColumnLayoutSecondaryWidth = 'sm' | 'md' | 'lg';\n\nexport interface IMultiColumnLayoutOptions {\n  title?: string;\n  navTpl?: TemplateRef<unknown>;\n  secondaryTpl?: TemplateRef<unknown>;\n  headerTpl?: TemplateRef<unknown>;\n  width?: SmartMultiColumnLayoutWidth;\n  secondaryWidth?: SmartMultiColumnLayoutSecondaryWidth;\n}\n\nexport interface ISectionHeadingOptions {\n  title?: string;\n  description?: string;\n  label?: string;\n  actionsTpl?: TemplateRef<unknown>;\n  tabsTpl?: TemplateRef<unknown>;\n  inputGroupTpl?: TemplateRef<unknown>;\n  badgeTpl?: TemplateRef<unknown>;\n  imageTpl?: TemplateRef<unknown>;\n  // Consumed only by SectionHeadingPresetComponent; standard component ignores it.\n  presentation?: {\n    layout?: 'half' | 'narrow' | 'wide' | 'vertical';\n  };\n}\n\nexport interface IDescriptionListItem {\n  label: string;\n  value?: string;\n  valueTpl?: TemplateRef<unknown>;\n  actionTpl?: TemplateRef<unknown>;\n}\n\nexport interface IDescriptionListOptions {\n  title?: string;\n  description?: string;\n  items?: IDescriptionListItem[];\n  attachmentsTpl?: TemplateRef<unknown>;\n  footerTpl?: TemplateRef<unknown>;\n}\n\nexport interface IStatItem {\n  label: string;\n  value: string | number;\n  previousValue?: string | number;\n  change?: string;\n  trend?: 'up' | 'down' | 'neutral';\n  iconTpl?: TemplateRef<unknown>;\n  actionTpl?: TemplateRef<unknown>;\n  ariaLabel?: string;\n}\n\nexport interface IStatsOptions {\n  title?: string;\n  items: IStatItem[];\n  columns?: 1 | 2 | 3 | 4;\n}\n\nexport type SmartCalendarView = 'month' | 'week' | 'day' | 'year';\n\nexport interface ICalendarEvent {\n  id: string | number;\n  start: Date;\n  /** Not rendered by the built-in implementations (they show a dot or a count per day); available to `dayCellTpl` and to a custom implementation. */\n  end?: Date;\n  /** Not rendered by the built-in implementations (they show a dot or a count per day); available to `dayCellTpl` and to a custom implementation. */\n  title?: string;\n  /** Not rendered by the built-in implementations (they show a dot or a count per day); available to `dayCellTpl` and to a custom implementation. */\n  meta?: Record<string, unknown>;\n}\n\nexport interface ICalendarDayCell {\n  date: Date;\n  isCurrentMonth: boolean;\n  isToday: boolean;\n  isSelected: boolean;\n}\n\nexport interface ICalendarOptions {\n  view?: SmartCalendarView;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  monthsCount?: 1 | 2 | 12;\n  weekStart?: 0 | 1;\n  showToolbar?: boolean;\n  toolbarActionsTpl?: TemplateRef<unknown>;\n  eventListTpl?: TemplateRef<unknown>;\n  sidePanelTpl?: TemplateRef<unknown>;\n  dayCellTpl?: TemplateRef<unknown>;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  eventTpl?: TemplateRef<unknown>;\n}\n\nexport interface IStackedListItem {\n  id?: string;\n  title: string;\n  description?: string;\n  meta?: string;\n  avatarUrl?: string;\n  iconTpl?: TemplateRef<unknown>;\n  href?: string;\n  badgeTpl?: TemplateRef<unknown>;\n  actionTpl?: TemplateRef<unknown>;\n  ariaLabel?: string;\n}\n\nexport interface IStackedListOptions {\n  title?: string;\n  description?: string;\n  items?: IStackedListItem[];\n  withDividers?: boolean;\n  fullWidthOnMobile?: boolean;\n  emptyTpl?: TemplateRef<unknown>;\n  footerTpl?: TemplateRef<unknown>;\n}\n\nexport type SmartTextareaVariant =\n  | 'simple'\n  | 'with-avatar-actions'\n  | 'with-underline'\n  | 'with-pill-actions'\n  | 'with-preview';\n\nexport interface ITextareaAction {\n  id: string;\n  label?: string;\n  iconTpl?: TemplateRef<unknown>;\n  variant?: 'primary' | 'secondary' | 'ghost';\n}\n\nexport interface ITextareaOptions {\n  rows?: number;\n  maxLength?: number;\n  variant?: SmartTextareaVariant;\n  label?: string;\n  name?: string;\n  required?: boolean;\n  autoFocus?: boolean;\n  ariaLabel?: string;\n  actions?: ITextareaAction[];\n  avatarTpl?: TemplateRef<unknown>;\n  toolbarTpl?: TemplateRef<unknown>;\n  previewTpl?: TemplateRef<unknown>;\n  footerTpl?: TemplateRef<unknown>;\n}\n\nexport type SmartSignInFormMode = 'sign-in' | 'sign-up';\n\nexport type SmartSignInFormLayout =\n  'simple' | 'simple-no-labels' | 'split-screen' | 'card';\n\nexport interface ISocialProvider {\n  id: string;\n  label: string;\n  iconTpl?: TemplateRef<unknown>;\n  iconUrl?: string;\n}\n\nexport interface ISignInFormOptions {\n  socialProviders?: ISocialProvider[];\n  layout?: SmartSignInFormLayout;\n  showLabels?: boolean;\n  heroImageUrl?: string;\n  forgotPasswordHref?: string;\n  signUpHref?: string;\n  signInHref?: string;\n  submitLabel?: string;\n  emailPlaceholder?: string;\n  passwordPlaceholder?: string;\n  extraTpl?: TemplateRef<unknown>;\n  ariaLabel?: string;\n}\n\nexport interface ISignInFormSubmit {\n  email: string;\n  password: string;\n  mode: SmartSignInFormMode;\n}\n\nexport interface ISignInFormSocialClick {\n  providerId: string;\n  mode: SmartSignInFormMode;\n}\n\nexport type SmartSelectMenuVariant =\n  | 'native'\n  | 'custom'\n  | 'with-check'\n  | 'with-status'\n  | 'with-avatar'\n  | 'with-secondary'\n  | 'branded';\n\nexport interface ISelectMenuItem {\n  value: string | number;\n  label: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  avatarUrl?: string;\n  iconTpl?: TemplateRef<unknown>;\n  secondary?: string;\n  status?: 'online' | 'offline' | 'busy' | string;\n  disabled?: boolean;\n  ariaLabel?: string;\n}\n\nexport interface ISelectMenuOptions {\n  items?: ISelectMenuItem[];\n  placeholder?: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  variant?: SmartSelectMenuVariant;\n  emptyTpl?: TemplateRef<unknown>;\n  ariaLabel?: string;\n}\n\nexport type SmartFeedVariant = 'simple' | 'with-comments' | 'multiple-types';\n\nexport interface IFeedComment {\n  id?: string;\n  authorName: string;\n  authorAvatarUrl?: string;\n  content: string;\n  timestamp?: string;\n}\n\nexport interface IFeedEvent {\n  id?: string;\n  title: string;\n  description?: string;\n  timestamp?: string;\n  iconTpl?: TemplateRef<unknown>;\n  avatarUrl?: string;\n  href?: string;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  type?: string;\n  comments?: IFeedComment[];\n  ariaLabel?: string;\n}\n\nexport interface IFeedOptions {\n  title?: string;\n  description?: string;\n  events?: IFeedEvent[];\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  variant?: SmartFeedVariant;\n  commentSubmitTpl?: TemplateRef<unknown>;\n  emptyTpl?: TemplateRef<unknown>;\n  footerTpl?: TemplateRef<unknown>;\n}\n\nexport type SmartGridListLayout = 'cards' | 'horizontal' | 'logos';\nexport type SmartGridListColumns = 1 | 2 | 3 | 4 | 5 | 6;\n\nexport interface IGridListItem {\n  id?: string;\n  title: string;\n  description?: string;\n  imageUrl?: string;\n  imageAlt?: string;\n  href?: string;\n  iconTpl?: TemplateRef<unknown>;\n  badgeTpl?: TemplateRef<unknown>;\n  actionTpl?: TemplateRef<unknown>;\n  ariaLabel?: string;\n}\n\nexport interface IGridListOptions {\n  title?: string;\n  description?: string;\n  items?: IGridListItem[];\n  columns?: SmartGridListColumns;\n  gap?: 'sm' | 'md' | 'lg';\n  layout?: SmartGridListLayout;\n  emptyTpl?: TemplateRef<unknown>;\n  footerTpl?: TemplateRef<unknown>;\n}\n\nexport interface ITableColumn {\n  key: string;\n  label?: string;\n  align?: 'left' | 'center' | 'right';\n  sortable?: boolean;\n  cellTpl?: TemplateRef<unknown>;\n  headerTpl?: TemplateRef<unknown>;\n  ariaLabel?: string;\n}\n\nexport type TableRow = Record<string, unknown>;\n\nexport interface ITableOptions {\n  title?: string;\n  description?: string;\n  columns?: ITableColumn[];\n  rows?: TableRow[];\n  striped?: boolean;\n  stickyHeader?: boolean;\n  withCheckboxes?: boolean;\n  withBorder?: boolean;\n  emptyTpl?: TemplateRef<unknown>;\n  footerTpl?: TemplateRef<unknown>;\n  toolbarTpl?: TemplateRef<unknown>;\n}\n\nexport type SmartSidebarNavLayout =\n  | 'light'\n  | 'dark'\n  | 'with-expandable-sections'\n  | 'with-secondary-navigation'\n  | 'brand';\n\nexport interface ISidebarNavItem {\n  id: string;\n  label?: string;\n  href?: string;\n  current?: boolean;\n  badge?: string | number;\n  iconTpl?: TemplateRef<unknown>;\n  initial?: string;\n  expandable?: boolean;\n  expanded?: boolean;\n  children?: ISidebarNavItem[];\n}\n\nexport interface ISidebarNavGroup {\n  id?: string;\n  title?: string;\n  items: ISidebarNavItem[];\n}\n\nexport interface ISidebarNavLogo {\n  url?: string;\n  urlDark?: string;\n  alt?: string;\n  href?: string;\n  tpl?: TemplateRef<unknown>;\n}\n\nexport interface ISidebarNavProfile {\n  name?: string;\n  avatarUrl?: string;\n  avatarAlt?: string;\n  href?: string;\n  srOnlyText?: string;\n}\n\nexport interface ISidebarNavOptions {\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  layout?: SmartSidebarNavLayout;\n  ariaLabel?: string;\n  logo?: ISidebarNavLogo;\n  items?: ISidebarNavItem[];\n  groups?: ISidebarNavGroup[];\n  profile?: ISidebarNavProfile;\n}\n\nexport type SmartSidebarLayoutMobileBreakpoint = 'sm' | 'md' | 'lg';\n\nexport interface ISidebarLayoutOptions {\n  title?: string;\n  sidebarTpl?: TemplateRef<unknown>;\n  headerTpl?: TemplateRef<unknown>;\n  sidebarPosition?: 'left' | 'right';\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  mobileBreakpoint?: SmartSidebarLayoutMobileBreakpoint;\n  condensed?: boolean;\n}\n\nexport interface IDetailOptions<T> {\n  key: string;\n  item?: Signal<T>;\n  options: IFieldOptions;\n  cellPipe?: ICellPipe<T>;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  loading?: Signal<boolean>;\n}\n\nexport interface ICellPipe<T> extends PipeTransform {\n  transform(\n    value: T,\n    columnName: string,\n    translate?: (val: string) => string,\n  ): string;\n}\n\nexport type SmartPageVariant = 'standard' | (string & {});\n\nexport interface IPageOptions {\n  title: string;\n  hideHeader?: boolean;\n  hideMenuButton?: boolean;\n  showBackButton?: boolean;\n  endButtons?: Array<IIconButtonOptions>;\n  search?: { text: Signal<string>; set: (txt: string) => void };\n  variant?: SmartPageVariant;\n  bodyTpl?: TemplateRef<unknown>;\n  breadcrumbsTpl?: TemplateRef<unknown>;\n  metaTpl?: TemplateRef<unknown>;\n  avatarTpl?: TemplateRef<unknown>;\n  bannerTpl?: TemplateRef<unknown>;\n  filtersTpl?: TemplateRef<unknown>;\n  logoTpl?: TemplateRef<unknown>;\n  statsTpl?: TemplateRef<unknown>;\n  subtitleTpl?: TemplateRef<unknown>;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  navTpl?: TemplateRef<unknown>;\n  sidebarTpl?: TemplateRef<unknown>;\n}\n\nexport interface IListProvider<T> {\n  /**\n   * Reads the data again with `filter` merged into the current one. The list\n   * calls it with `{ offset: 0, sortBy, sortDesc }` when a sortable header is\n   * clicked (`IListOptions.sort` set).\n   */\n  getData: (filter: any) => void;\n  onChangeMultiSelected?: (list: Array<T>) => void;\n  onCleanMultiSelected$?: Observable<void>;\n  list: Signal<T[]>;\n  loading: Signal<boolean>;\n}\n\nexport interface IListPaginationOptions {\n  /**\n   * `PaginationMode.singlePage` renders `<smart-paging>` below the items;\n   * `PaginationMode.infiniteScroll` calls `loadNextPage` when the end of the\n   * items scrolls into view, while `page < totalPages`.\n   */\n  mode?: PaginationMode;\n  /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */\n  limit: number;\n  loadNextPage: () => Promise<boolean>;\n  loadPrevPage: () => Promise<boolean>;\n  page: Signal<number>;\n  totalPages: Signal<number>;\n}\n\nexport enum PaginationMode {\n  infiniteScroll = 'infiniteScroll',\n  singlePage = 'singlePage',\n}\n\nexport enum ListMode {\n  mobile = 'mobile',\n  desktop = 'desktop',\n  masonryGrid = 'masonryGrid',\n}\n\nexport interface IItemOptionsForPage {\n  routingPrefix: string;\n  edit: boolean;\n}\n\nexport interface IItemOptionsForCustom {\n  select: (id: string) => void;\n  edit: boolean;\n}\n\nexport type ItemOptions = IItemOptionsForPage | IItemOptionsForCustom;\n\nexport interface IListComponentFactories<T> {\n  top?: Type<any>;\n}\n\nexport interface IDetailsProvider<T> {\n  getData: (id: string) => void;\n  clearData: () => void;\n  item: Signal<T>;\n  loading: Signal<boolean>;\n}\n\nexport interface IListOptions<T> {\n  provider: IListProvider<T>;\n  type: any;\n  mode?: ListMode;\n\n  pagination?: IListPaginationOptions;\n\n  cellPipe?: ICellPipe<T>;\n  componentFactories?: IListComponentFactories<T>;\n  /**\n   * Makes the field headers of the desktop modes sort buttons: a click reads\n   * the data through `provider.getData({ offset: 0, sortBy, sortDesc })`.\n   * `default` / `defaultDesc` is the sort the headers show at first.\n   */\n  sort?:\n    | boolean\n    | {\n        default?: string;\n        defaultDesc?: boolean;\n      };\n\n  /**\n   * Adds a details action to every item: it opens `component` (`DetailsPage`\n   * by default) in a modal with the `IDetailsOptions` of `provider` as its\n   * `value`, and asks `provider.getData(id)` for the item.\n   */\n  details?:\n    | boolean\n    | {\n        provider?: IDetailsProvider<T>;\n        componentFactories?: IDetailsComponentFactories<T>;\n        component?: Type<any>;\n      };\n\n  item?:\n    | boolean\n    | {\n        options?: ItemOptions;\n      };\n\n  remove?:\n    | boolean\n    | {\n        provider?: IRemoveProvider<T>;\n      };\n\n  select?: 'multi';\n\n  // Consumed only by the desktop preset (ListDesktopPresetComponent) to pick\n  // Preline table styling variations.\n  presentation?: {\n    variant?: 'default' | 'striped' | 'bordered' | 'borderless';\n    hoverable?: boolean;\n    header?: 'default' | 'muted' | 'none';\n  };\n}\n\nexport interface IRemoveProvider<T> {\n  invoke: (id: string) => void;\n  check?: (item: T) => boolean;\n}\n\nexport interface IListInternalOptions<T> extends IListOptions<T> {\n  fields?: Array<{ key: string; options: IFieldOptions }>;\n}\n","import { inject, Injectable } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { BehaviorSubject } from 'rxjs';\n\nimport { ArrayService } from '@smartsoft001/utils';\n\nimport { IIconButtonOptions } from '../../models';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class AppService {\n  private titleService = inject(Title);\n  private translate = inject(TranslateService);\n  private router = inject(Router);\n\n  private static _endButtonsSource$ = new BehaviorSubject<AppEndButton[]>([]);\n  private static _titleSource$ = new BehaviorSubject<string>('');\n  private _baseTitle: string | undefined;\n\n  endButtons$ = AppService._endButtonsSource$.asObservable();\n  title$ = AppService._titleSource$.asObservable();\n\n  addEndButton(button: AppEndButton): void {\n    if (button.id) {\n      const exist = AppService._endButtonsSource$.value.find(\n        (e) => e.id === button.id,\n      );\n\n      if (exist) {\n        Object.keys(button)\n          .filter((k) => k !== 'id')\n          .forEach((key) => {\n            (exist as any)[key] = (button as any)[key];\n          });\n        AppService._endButtonsSource$.next([\n          ...AppService._endButtonsSource$.value,\n        ]);\n        return;\n      }\n    }\n    AppService._endButtonsSource$.next(\n      ArrayService.addItem(AppService._endButtonsSource$.value, button),\n    );\n  }\n\n  removeEndButton(buttonOrId: AppEndButton | string): void {\n    if (typeof buttonOrId === 'object') {\n      const button = (buttonOrId as AppEndButton).id\n        ? AppService._endButtonsSource$.value.find(\n            (e) => e.id === (buttonOrId as AppEndButton).id,\n          )\n        : (buttonOrId as AppEndButton);\n\n      AppService._endButtonsSource$.next(\n        ArrayService.removeItem(\n          AppService._endButtonsSource$.value,\n          button,\n        ) as AppEndButton[],\n      );\n      return;\n    }\n\n    AppService._endButtonsSource$.next([\n      ...AppService._endButtonsSource$.value.filter(\n        (e) => e.id !== (buttonOrId as string),\n      ),\n    ]);\n  }\n\n  initTitle() {\n    this._baseTitle = this.titleService.getTitle();\n\n    this.router.events.subscribe((event: any) => {\n      if (event instanceof NavigationEnd) {\n        const data: NavigationEnd = event;\n\n        let title =\n          this._baseTitle +\n          '|' +\n          data.urlAfterRedirects\n            .split('/')\n            .filter((x) => x && x.trim())\n            .map((x) => {\n              x = x.split('?')[0];\n              const key = 'ROUTES.' + x;\n              const translate = this.translate.instant(key);\n              return key === translate ? x : translate;\n            })\n            .join('|');\n\n        title = title\n          .split('|')\n          .filter((x) => x && x.trim())\n          .join('|');\n\n        this.titleService.setTitle(title);\n        AppService._titleSource$.next(title);\n      }\n    });\n  }\n}\n\nexport type AppEndButton = IIconButtonOptions & { id?: string };\n","import { Injectable } from '@angular/core';\nimport moment from 'moment';\n\n// tslint:disable-next-line:class-name\nexport interface month {\n  dates: moment.Moment[];\n  number: string;\n  monthName: string;\n  year: string;\n}\n\n// tslint:disable-next-line:class-name\ninterface state {\n  date: moment.Moment;\n  calendar: month[];\n}\n\n@Injectable({ providedIn: 'root' })\nexport class CalendarService {\n  state: state;\n\n  constructor() {\n    this.state = {\n      date: moment().add(2, 'year'),\n      calendar: [\n        {\n          dates: null as any,\n          monthName: null as any,\n          number: null as any,\n          year: null as any,\n        },\n      ],\n    };\n    this.initCalendar();\n  }\n\n  setState = (nextState: Partial<state>) => {\n    this.state = { ...this.state, ...nextState };\n  };\n\n  getCalendar() {\n    return [...this.state.calendar];\n  }\n\n  generatePrevMonths(): void {\n    const calendar = this.state.calendar;\n\n    let date = moment(calendar[0].year + '-' + calendar[0].number + '-01');\n    const dateYearAgo = date.clone().subtract(1, 'year');\n\n    while (date.isSameOrAfter(dateYearAgo)) {\n      date = date.clone().subtract(1, 'month');\n      calendar.unshift(this.generateMonth(date));\n    }\n  }\n\n  public generateNextMonths(): void {\n    const calendar = this.state.calendar;\n\n    const dateString =\n      calendar[calendar.length - 1].year +\n      '-' +\n      calendar[calendar.length - 1].number +\n      '-01';\n    let date = moment(dateString);\n    const dateYearNext = date.clone().add(1, 'year');\n\n    while (date.isSameOrBefore(dateYearNext)) {\n      date = date.clone().add(1, 'month');\n      calendar.push(this.generateMonth(date));\n    }\n  }\n\n  private initCalendar(): void {\n    const { date } = this.state;\n    const firstMonth = this.generateMonth(date);\n    const calendar = [firstMonth];\n    const currentDate = moment().clone();\n    const dateYearAgo = currentDate.clone().subtract(2, 'year');\n    // Compared by month: at millisecond precision the outcome depended on\n    // whether the two moment() calls landed in the same millisecond.\n    while (date.isAfter(dateYearAgo, 'month')) {\n      // creating one year calendar\n      calendar.unshift(this.previousMonth());\n    }\n\n    this.state.date = moment();\n\n    const currentMonthIndex = calendar.length - 13;\n    calendar[currentMonthIndex].dates = calendar[\n      currentMonthIndex\n    ].dates.filter(this.filterFutureDates);\n    this.setState({ calendar: calendar });\n  }\n\n  private previousMonth(): month {\n    const { date } = this.state;\n    const newDate = date.subtract(1, 'month');\n    const m = this.generateMonth(newDate);\n    this.setState({ date: newDate });\n    return m;\n  }\n\n  private filterFutureDates(date: moment.Moment) {\n    if (!date) {\n      return true;\n    }\n    return date.isSameOrBefore(moment());\n  }\n\n  private generateMonth(date: moment.Moment): month {\n    const firstDay = moment(date).startOf('month');\n    const monthName = moment(date).format('MMMM');\n    const year = moment(date).format('YYYY');\n    const number = moment(date).format('MM');\n    const monthLength = date.daysInMonth();\n    const totalDatesInMonth = this.generateMonthDates(firstDay, monthLength);\n    const emptyCellsBeforeFirstDay = Array(firstDay.weekday()).fill(null);\n    const dates = [...emptyCellsBeforeFirstDay, ...totalDatesInMonth];\n    return {\n      dates,\n      monthName,\n      number,\n      year,\n    };\n  }\n\n  private generateMonthDates(\n    firstDay: moment.Moment,\n    length: number,\n  ): moment.Moment[] {\n    return Array(length)\n      .fill(null)\n      .map((v, i) => moment(firstDay).add(i, 'day'));\n  }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class StorageService {\n  setItem(key: string, value: any): void {\n    if (typeof value === 'undefined' || value === null) {\n      localStorage.removeItem(key);\n      return;\n    }\n    try {\n      localStorage.setItem(key, JSON.stringify(value));\n    } catch (e) {\n      console.error('Error saving to localStorage', e);\n    }\n  }\n\n  getItem(key: string): any {\n    try {\n      const item = localStorage.getItem(key);\n      return item ? JSON.parse(item) : null;\n    } catch (e) {\n      console.error('Error getting data from localStorage', e);\n      return null;\n    }\n  }\n\n  removeItem(key: string): void {\n    try {\n      localStorage.removeItem(key);\n    } catch (e) {\n      console.error('Error removing data from localStorage', e);\n    }\n  }\n\n  clear(): void {\n    try {\n      localStorage.clear();\n    } catch (e) {\n      console.error('Error clearing localStorage', e);\n    }\n  }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { jwtDecode } from 'jwt-decode';\n\nimport { StorageService } from '../storage/storage.service'; // This path needs to be correct\n\nexport const AUTH_TOKEN = 'AUTH_TOKEN';\n\n@Injectable({ providedIn: 'root' })\nexport class AuthService {\n  protected storageService = inject(StorageService);\n\n  isAuthenticated(): boolean {\n    const token: { access_token: string } | null = this.getToken();\n\n    if (!token) return false;\n\n    const tokenPayload: { exp: number } = jwtDecode(token.access_token);\n\n    if (Date.now() >= tokenPayload.exp * 1000) {\n      this.storageService.removeItem(AUTH_TOKEN); // Remove expired token\n      return false;\n    }\n\n    return !!token;\n  }\n\n  expectPermissions(permissions: Array<string> | null): boolean {\n    const token: { access_token: string } | null = this.getToken();\n\n    if (!token) return false;\n    if (permissions === null) return false;\n\n    // Check for token expiration before decoding\n    const tokenPayloadExp: { exp: number } = jwtDecode(token.access_token);\n    if (Date.now() >= tokenPayloadExp.exp * 1000) {\n      this.storageService.removeItem(AUTH_TOKEN); // Remove expired token\n      return false;\n    }\n\n    const tokenPayloadPerm: { permissions: Array<string> } = jwtDecode(\n      token.access_token,\n    );\n\n    return (\n      // this.isAuthenticated() call here would be redundant and might lead to multiple decodes/checks.\n      // Relies on the fact that getToken() would return null for an expired token if isAuthenticated() was called first,\n      // but it's safer to explicitly check expiration here too or ensure getToken handles it.\n      // For now, direct check as added above.\n      tokenPayloadPerm.permissions &&\n      permissions.some((p) =>\n        (tokenPayloadPerm.permissions as Array<string>).some((tp) => p === tp),\n      )\n    );\n  }\n\n  getPermissions(): Array<string> {\n    const token: { access_token: string } | null = this.getToken();\n\n    if (!token) return [];\n\n    // Check for token expiration\n    const tokenPayloadExp: { exp: number } = jwtDecode(token.access_token);\n    if (Date.now() >= tokenPayloadExp.exp * 1000) {\n      this.storageService.removeItem(AUTH_TOKEN); // Remove expired token\n      return [];\n    }\n\n    const tokenPayload: { permissions: Array<string> } = jwtDecode(\n      token.access_token,\n    );\n\n    return tokenPayload.permissions || []; // ensure it returns empty array if permissions field is missing\n  }\n\n  getTokenPayload(): any {\n    const token: { access_token: string } | null = this.getToken();\n    if (!token) return null;\n\n    const tokenPayload: { exp: number } = jwtDecode(token.access_token);\n    if (Date.now() >= tokenPayload.exp * 1000) {\n      this.storageService.removeItem(AUTH_TOKEN);\n      return null;\n    }\n    return tokenPayload;\n  }\n\n  // Renamed from original getToken to avoid confusion with new getTokenPayload\n  protected getRawToken(): { access_token: string } | null {\n    const tokenString = this.storageService.getItem(AUTH_TOKEN);\n\n    if (!tokenString) return null;\n\n    // Assuming token is stored as { \"access_token\": \"xyz\" } after JSON.parse\n    // The original code was: return JSON.parse(token) as any;\n    // This needs to align with how StorageService.getItem returns (it JSON.parses)\n    // and how setToken (if it existed) would store it.\n    // For now, assume getItem returns the object directly.\n    return tokenString as { access_token: string };\n  }\n\n  // Adjusted to use getRawToken and be more explicit\n  protected getToken(): { access_token: string } | null {\n    const token = this.getRawToken();\n    if (!token || !token.access_token) {\n      // ensure access_token property exists\n      return null;\n    }\n\n    // No need to check expiration here as individual methods do it.\n    // If we wanted a central place, this would be it.\n    return token;\n  }\n\n  setToken(token: { access_token: string } | null): void {\n    if (!token || !token.access_token) {\n      this.storageService.removeItem(AUTH_TOKEN);\n    } else {\n      this.storageService.setItem(AUTH_TOKEN, token);\n    }\n  }\n\n  removeToken(): void {\n    this.storageService.removeItem(AUTH_TOKEN);\n  }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DetailsService {\n  private _root: any;\n\n  get $root(): any {\n    return this._root;\n  }\n\n  constructor() {\n    this.init();\n  }\n\n  init(): void {\n    this._root = null;\n  }\n\n  setRoot(obj: any, force = false): void {\n    if (!this._root || force) this._root = obj;\n  }\n}\n","import { Injectable, Type } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DynamicComponentLoader<T> {\n  // Generic T is unused in original\n  static declaredComponents: any[] = [];\n\n  /**\n   * @desc Resolves components to the values accepted by `ViewContainerRef.createComponent`.\n   * Since Ivy there are no component factories - the component type is its own factory -\n   * so `factory` mirrors `component` unless a previously declared entry provides one.\n   */\n  async getComponentsWithFactories<C>(options: {\n    // Generic C is unused in original\n    components: Array<any>;\n  }): Promise<\n    {\n      component: any;\n      factory: Type<any>;\n    }[]\n  > {\n    const result = options.components.map((c) => {\n      const declared: any = DynamicComponentLoader.declaredComponents.find(\n        (x) => x.component === c,\n      );\n\n      const factory: Type<any> | undefined = declared?.factory ?? c;\n\n      if (!factory) {\n        // This case should ideally not happen if components are correctly provided\n        // or have been processed by this service before.\n        console.warn(\n          `Component factory not found for component: ${c?.name || c}`,\n        );\n        return {\n          component: c,\n          factory: undefined as any,\n        };\n      }\n\n      return {\n        component: c,\n        factory,\n      };\n    });\n\n    // Filter out components for which factories could not be created\n    const validResults = result.filter((r) => r.factory);\n\n    // Update declaredComponents only with valid component-factory pairs\n    // and avoid duplicates\n    validResults.forEach((vr) => {\n      if (\n        !DynamicComponentLoader.declaredComponents.some(\n          (dc: any) => dc.component === vr.component,\n        )\n      ) {\n        DynamicComponentLoader.declaredComponents.push(vr as any);\n      }\n    });\n\n    return validResults;\n  }\n}\n","import {\n  ApplicationRef,\n  InjectionToken,\n  NgModuleRef,\n  Type,\n} from '@angular/core';\n\nimport { DynamicComponentType } from '../../models';\n\nexport const DYNAMIC_COMPONENTS_STORE = new InjectionToken<[Type<any>]>(\n  'DYNAMIC_COMPONENTS_STORE',\n);\n\nexport class DynamicComponentStorageService {\n  static get(\n    key: DynamicComponentType,\n    moduleRef: NgModuleRef<any>,\n  ): Type<any>[] {\n    const getComponents = (\n      k: DynamicComponentType,\n      m: NgModuleRef<any>,\n    ): Type<any>[] => {\n      if (!m) return [];\n\n      try {\n        const fromStore = m.injector.get(DYNAMIC_COMPONENTS_STORE, null);\n\n        if (fromStore) {\n          return fromStore.filter((c: any) => c['smartType'] === k);\n        }\n      } catch (error) {\n        console.warn('Error getting components from store:', error);\n      }\n\n      return [];\n    };\n\n    let components = getComponents(key, moduleRef);\n\n    if (!components.length && moduleRef) {\n      try {\n        const applicationRef = moduleRef.injector.get(ApplicationRef);\n        let appComponentInjector = applicationRef.components.find(\n          (t) => t.componentType.name === 'AppComponent',\n        )?.injector;\n\n        if (!appComponentInjector) {\n          appComponentInjector = applicationRef.components[0]?.injector;\n        }\n\n        if (appComponentInjector) {\n          const appModuleRef = appComponentInjector.get(NgModuleRef);\n          components = getComponents(key, appModuleRef);\n        }\n      } catch (error) {\n        console.warn('Error getting components from ApplicationRef:', error);\n      }\n    }\n\n    return components;\n  }\n}\n","import { HttpClient, HttpEvent, HttpEventType } from '@angular/common/http';\nimport { inject, Injectable, InjectionToken } from '@angular/core';\nimport { firstValueFrom, Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nexport const FILE_SERVICE_CONFIG = new InjectionToken<IFileServiceConfig>(\n  'FILE_SERVICE_CONFIG',\n);\n\nexport interface IFileServiceConfig {\n  apiUrl: string;\n}\n\n@Injectable()\nexport class FileService {\n  private config = inject(FILE_SERVICE_CONFIG);\n  private http = inject(HttpClient);\n\n  upload<T>(file: File, callback?: (result: T) => void): Observable<number> {\n    const formData = new FormData();\n    formData.append('file', file, file.name);\n\n    return this.http\n      .post(this.config.apiUrl + '/attachments', formData, {\n        reportProgress: true,\n        observe: 'events',\n      })\n      .pipe(\n        map((event: HttpEvent<any>) => {\n          if (event.type === HttpEventType.UploadProgress && event?.total) {\n            return Math.round((100 * event.loaded) / event.total);\n          }\n          if (event.type === HttpEventType.Response) {\n            if (callback) callback(event.body);\n            return 100;\n          }\n\n          return 0;\n        }),\n      );\n  }\n\n  download(id: string): void {\n    window.open(this.getUrl(id), '_blank')?.focus();\n  }\n\n  delete(id: string): Promise<void> {\n    return firstValueFrom(\n      this.http.delete<void>(this.config.apiUrl + '/attachments/' + id),\n    );\n  }\n\n  getUrl(id: string): string {\n    return this.config.apiUrl + '/attachments/' + id;\n  }\n}\n","import { UntypedFormGroup } from '@angular/forms';\n\nexport class SmartFormGroup extends UntypedFormGroup {\n  static create(): SmartFormGroup {\n    return new SmartFormGroup({});\n  }\n\n  setForm(form: UntypedFormGroup): void {\n    Object.keys(form.controls).forEach((key) => {\n      if (this.controls[key]) this.removeControl(key);\n      this.addControl(key, form.controls[key]);\n    });\n  }\n}\n","import { ElementRef, Inject, Injectable, PLATFORM_ID } from '@angular/core';\n\nimport { IStyle, StyleType } from '../../models/style';\n\n@Injectable()\nexport class StyleService {\n  static style: IStyle | null = null;\n\n  private _elementRef!: ElementRef;\n\n  static create(\n    // platform: Platform,\n    platformId: object,\n    el: ElementRef,\n    style?: Partial<IStyle>,\n  ): StyleService {\n    const result = new StyleService(/*platform, */ platformId);\n\n    result.init(el, style);\n\n    return result;\n  }\n\n  constructor(\n    // private platform: Platform,\n    @Inject(PLATFORM_ID) private platformId: object,\n  ) {}\n\n  init(el: ElementRef, style?: IStyle): void {\n    this._elementRef = el;\n    this.set(style);\n  }\n\n  set(style?: IStyle): void {\n    if (!style) style = {};\n\n    if (!StyleService.style) StyleService.style = {};\n\n    StyleService.style = {\n      ...StyleService.style,\n      ...style,\n    };\n\n    this.execute();\n  }\n\n  private execute(): void {\n    this.setColor('primary');\n    this.setColor('secondary');\n    this.setColor('tertiary');\n    this.setColor('success');\n    this.setColor('warning');\n    this.setColor('danger');\n    this.setColor('dark');\n    this.setColor('medium');\n    this.setColor('light');\n\n    this.setFont();\n    this.setButton();\n    this.setMobileBreakpoint();\n  }\n\n  private setColor(name: string): void {\n    this.setProperty(`--smart-color-${name}`, `color-${name}` as StyleType);\n    this.setProperty(\n      `--smart-color-${name}-rgb`,\n      `color-${name}-rgb` as StyleType,\n    );\n    this.setProperty(\n      `--smart-color-${name}-contrast`,\n      `color-${name}-contrast` as StyleType,\n    );\n    this.setProperty(\n      `--smart-color-${name}-contrast-rgb`,\n      `color-${name}-contrast-rgb` as StyleType,\n    );\n    this.setProperty(\n      `--smart-color-${name}-shade`,\n      `color-${name}-shade` as StyleType,\n    );\n    this.setProperty(\n      `--smart-color-${name}-tint`,\n      `color-${name}-tint` as StyleType,\n    );\n\n    this.setProperty(`--ion-color-${name}`, `color-${name}` as StyleType);\n    this.setProperty(\n      `--ion-color-${name}-rgb`,\n      `color-${name}-rgb` as StyleType,\n    );\n    this.setProperty(\n      `--ion-color-${name}-contrast`,\n      `color-${name}-contrast` as StyleType,\n    );\n    this.setProperty(\n      `--ion-color-${name}-contrast-rgb`,\n      `color-${name}-contrast-rgb` as StyleType,\n    );\n    this.setProperty(\n      `--ion-color-${name}-shade`,\n      `color-${name}-shade` as StyleType,\n    );\n    this.setProperty(\n      `--ion-color-${name}-tint`,\n      `color-${name}-tint` as StyleType,\n    );\n  }\n\n  private setProperty(property: string, type: StyleType): void {\n    if (!StyleService.style || !StyleService.style[type]) return;\n\n    const native: HTMLElement = this._elementRef.nativeElement;\n    native.style.setProperty(property, StyleService.style[type]);\n  }\n\n  private setFont(): void {\n    // if (isPlatformBrowser(this.platformId) && this.platform.is('ios')) {\n    //   this.setProperty('--ion-font-family', 'ios-font');\n    //   this.setProperty('--default-font-weight', 'ios-font-weight');\n    //   this.setProperty('--default-font-style', 'ios-font-style');\n    // } else if (\n    //   isPlatformBrowser(this.platformId) &&\n    //   this.platform.is('android')\n    // ) {\n    //   this.setProperty('--ion-font-family', 'md-font');\n    //   this.setProperty('--default-font-weight', 'md-font-weight');\n    //   this.setProperty('--default-font-style', 'md-font-style');\n    // } else {\n    this.setProperty('--ion-font-family', 'font');\n    this.setProperty('--default-font-weight', 'font-weight');\n    this.setProperty('--default-font-style', 'font-style');\n    // }\n  }\n\n  private setButton(): void {\n    this.setProperty('--smart-button-height', 'button-height');\n    this.setProperty('--smart-button-min-width', 'button-min-width');\n    this.setProperty('--smart-button-padding-right', 'button-padding-right');\n    this.setProperty('--smart-button-padding-left', 'button-padding-left');\n    this.setProperty('--smart-button-padding-top', 'button-padding-top');\n    this.setProperty('--smart-button-padding-bottom', 'button-padding-bottom');\n    this.setProperty('--smart-button-icon-size', 'button-icon-size');\n  }\n\n  private setMobileBreakpoint(): void {\n    this.setProperty('--phone-breakpoint', 'phone-breakpoint');\n    this.setProperty('--tablet-breakpoint', 'tablet-breakpoint');\n  }\n}\n","import { InjectionToken, Type } from '@angular/core';\n\nimport { FieldTypeDef } from '@smartsoft001/models';\n\nimport {\n  ActionPanelBaseComponent,\n  AlertBaseComponent,\n  AvatarBaseComponent,\n  BadgeBaseComponent,\n  BreadcrumbsBaseComponent,\n  ButtonBaseComponent,\n  ButtonGroupBaseComponent,\n  CalendarBaseComponent,\n  CardBaseComponent,\n  CardHeadingBaseComponent,\n  CommandPaletteBaseComponent,\n  ContainerBaseComponent,\n  DescriptionListBaseComponent,\n  DetailBaseComponent,\n  DetailsBaseComponent,\n  DividerBaseComponent,\n  DrawerBaseComponent,\n  DropdownBaseComponent,\n  EmptyStateBaseComponent,\n  FeedBaseComponent,\n  FormBaseComponent,\n  GridListBaseComponent,\n  InfoBaseComponent,\n  ListContainerBaseComponent,\n  LoaderBaseComponent,\n  MediaObjectBaseComponent,\n  ModalBaseComponent,\n  NotificationBaseComponent,\n  InputBaseComponent,\n  ListBaseComponent,\n  MultiColumnLayoutBaseComponent,\n  NavbarBaseComponent,\n  PageBaseComponent,\n  PageHeadingBaseComponent,\n  PagingBaseComponent,\n  PasswordStrengthBaseComponent,\n  ProgressBarsBaseComponent,\n  SearchbarBaseComponent,\n  SectionHeadingBaseComponent,\n  SelectMenuBaseComponent,\n  SidebarLayoutBaseComponent,\n  SidebarNavigationBaseComponent,\n  SignInFormBaseComponent,\n  StackedLayoutBaseComponent,\n  StackedListBaseComponent,\n  StatsBaseComponent,\n  TableBaseComponent,\n  TabsBaseComponent,\n  TextareaBaseComponent,\n  ToggleBaseComponent,\n  VerticalNavigationBaseComponent,\n} from './components';\nimport { ListMode, SmartPageVariant } from './models';\n\nexport const FORM_COMPONENT_TOKEN = new InjectionToken<any>('FORM_COMPONENT');\nexport const DETAILS_COMPONENT_TOKEN = new InjectionToken<any>(\n  'DETAILS_COMPONENT_TOKEN',\n);\nexport const ACTION_PANEL_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ActionPanelBaseComponent>\n>('ACTION_PANEL_STANDARD_COMPONENT');\nexport const ALERT_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<AlertBaseComponent>\n>('ALERT_STANDARD_COMPONENT');\nexport const BREADCRUMBS_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<BreadcrumbsBaseComponent>\n>('BREADCRUMBS_STANDARD_COMPONENT');\nexport const BUTTON_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ButtonBaseComponent>\n>('BUTTON_STANDARD_COMPONENT');\nexport const CALENDAR_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<CalendarBaseComponent>\n>('CALENDAR_STANDARD_COMPONENT');\nexport const CARD_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<CardBaseComponent>\n>('CARD_STANDARD_COMPONENT');\nexport const CARD_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<CardHeadingBaseComponent>\n>('CARD_HEADING_STANDARD_COMPONENT');\nexport const COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<CommandPaletteBaseComponent>\n>('COMMAND_PALETTE_STANDARD_COMPONENT');\nexport const DETAILS_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<DetailsBaseComponent<any>>\n>('DETAILS_STANDARD_COMPONENT');\nexport const DETAIL_FIELD_COMPONENTS_TOKEN = new InjectionToken<\n  Partial<Record<FieldTypeDef, Type<DetailBaseComponent<any>>>>\n>('DETAIL_FIELD_COMPONENTS_TOKEN');\nexport const EMPTY_STATE_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<EmptyStateBaseComponent>\n>('EMPTY_STATE_STANDARD_COMPONENT');\nexport const FEED_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<FeedBaseComponent>\n>('FEED_STANDARD_COMPONENT');\nexport const DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<DescriptionListBaseComponent>\n>('DESCRIPTION_LIST_STANDARD_COMPONENT');\nexport const FORM_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<FormBaseComponent<any>>\n>('FORM_STANDARD_COMPONENT');\nexport const GRID_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<GridListBaseComponent>\n>('GRID_LIST_STANDARD_COMPONENT');\nexport const INFO_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<InfoBaseComponent>\n>('INFO_STANDARD_COMPONENT');\nexport const INPUT_FIELD_COMPONENTS_TOKEN = new InjectionToken<\n  Partial<Record<FieldTypeDef, Type<InputBaseComponent<any>>>>\n>('INPUT_FIELD_COMPONENTS_TOKEN');\nexport const LIST_MODE_COMPONENTS_TOKEN = new InjectionToken<\n  Partial<Record<ListMode, Type<ListBaseComponent<any>>>>\n>('LIST_MODE_COMPONENTS');\nexport const LOADER_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<LoaderBaseComponent>\n>('LOADER_STANDARD_COMPONENT');\nexport const MODAL_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ModalBaseComponent>\n>('MODAL_STANDARD_COMPONENT');\nexport const AVATAR_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<AvatarBaseComponent>\n>('AVATAR_STANDARD_COMPONENT');\nexport const BADGE_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<BadgeBaseComponent>\n>('BADGE_STANDARD_COMPONENT');\nexport const BUTTON_GROUP_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ButtonGroupBaseComponent>\n>('BUTTON_GROUP_STANDARD_COMPONENT');\nexport const CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ContainerBaseComponent>\n>('CONTAINER_STANDARD_COMPONENT');\nexport const DIVIDER_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<DividerBaseComponent>\n>('DIVIDER_STANDARD_COMPONENT');\nexport const DRAWER_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<DrawerBaseComponent>\n>('DRAWER_STANDARD_COMPONENT');\nexport const DROPDOWN_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<DropdownBaseComponent>\n>('DROPDOWN_STANDARD_COMPONENT');\nexport const LIST_CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ListContainerBaseComponent>\n>('LIST_CONTAINER_STANDARD_COMPONENT');\nexport const MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<MediaObjectBaseComponent>\n>('MEDIA_OBJECT_STANDARD_COMPONENT');\nexport const NOTIFICATION_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<NotificationBaseComponent>\n>('NOTIFICATION_STANDARD_COMPONENT');\nexport const MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<MultiColumnLayoutBaseComponent>\n>('MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT');\nexport const NAVBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<NavbarBaseComponent>\n>('NAVBAR_STANDARD_COMPONENT');\nexport const PAGE_VARIANT_COMPONENTS_TOKEN = new InjectionToken<\n  Partial<Record<SmartPageVariant, Type<PageBaseComponent>>>\n>('PAGE_VARIANT_COMPONENTS');\nexport const PAGE_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<PageHeadingBaseComponent>\n>('PAGE_HEADING_STANDARD_COMPONENT');\nexport const PAGING_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<PagingBaseComponent>\n>('PAGING_STANDARD_COMPONENT');\nexport const PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<PasswordStrengthBaseComponent>\n>('PASSWORD_STRENGTH_STANDARD_COMPONENT');\nexport const PROGRESS_BARS_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ProgressBarsBaseComponent>\n>('PROGRESS_BARS_STANDARD_COMPONENT');\nexport const SEARCHBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<SearchbarBaseComponent>\n>('SEARCHBAR_STANDARD_COMPONENT');\nexport const SECTION_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<SectionHeadingBaseComponent>\n>('SECTION_HEADING_STANDARD_COMPONENT');\nexport const SELECT_MENU_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<SelectMenuBaseComponent>\n>('SELECT_MENU_STANDARD_COMPONENT');\nexport const SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<SidebarLayoutBaseComponent>\n>('SIDEBAR_LAYOUT_STANDARD_COMPONENT');\nexport const SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<SidebarNavigationBaseComponent>\n>('SIDEBAR_NAVIGATION_STANDARD_COMPONENT');\nexport const SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<SignInFormBaseComponent>\n>('SIGN_IN_FORM_STANDARD_COMPONENT');\nexport const STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<StackedLayoutBaseComponent>\n>('STACKED_LAYOUT_STANDARD_COMPONENT');\nexport const STACKED_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<StackedListBaseComponent>\n>('STACKED_LIST_STANDARD_COMPONENT');\nexport const STATS_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<StatsBaseComponent>\n>('STATS_STANDARD_COMPONENT');\nexport const TABLE_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<TableBaseComponent>\n>('TABLE_STANDARD_COMPONENT');\nexport const TABS_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<TabsBaseComponent>\n>('TABS_STANDARD_COMPONENT');\nexport const TEXTAREA_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<TextareaBaseComponent>\n>('TEXTAREA_STANDARD_COMPONENT');\nexport const TOGGLE_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<ToggleBaseComponent>\n>('TOGGLE_STANDARD_COMPONENT');\nexport const VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken<\n  Type<VerticalNavigationBaseComponent>\n>('VERTICAL_NAVIGATION_STANDARD_COMPONENT');\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  afterRenderEffect,\n  OutputRef,\n  OutputRefSubscription,\n  Signal,\n} from '@angular/core';\n\n/** Where a forwarded value goes: a wrapper output, or a wrapper model. */\nexport type OutletOutputTarget =\n  { emit(value: never): void } | { set(value: never): void };\n\n/**\n * Re-emits the outputs of the component an `NgComponentOutlet` renders.\n *\n * The wrappers render a custom implementation registered through their\n * `*_STANDARD_COMPONENT_TOKEN` with `NgComponentOutlet`, which passes inputs\n * only: without this, the wrapper's outputs stay silent as soon as a custom\n * implementation replaces the standard one. Each key of `targets` names an\n * output (or a model) of the rendered component; its value is the wrapper\n * output to emit, or the wrapper model to set. Outputs the rendered component\n * does not have are skipped. Call it in an injection context, typically the\n * wrapper's constructor. Declare the query as a class field\n * (`private readonly outlet = viewChild(NgComponentOutlet)`) and pass it in:\n * Angular only recognises signal queries declared as fields.\n */\nexport function forwardOutletOutputs(\n  outlet: Signal<NgComponentOutlet | undefined>,\n  targets: Record<string, OutletOutputTarget>,\n): void {\n  // After render, not a plain effect: the query can resolve before the outlet\n  // has created its component, and `componentInstance` is not a signal, so a\n  // plain effect would read null once and never run again.\n  afterRenderEffect((onCleanup) => {\n    const instance = outlet()?.componentInstance as Record<\n      string,\n      unknown\n    > | null;\n\n    if (!instance) return;\n\n    const subscriptions: OutputRefSubscription[] = [];\n\n    for (const [name, target] of Object.entries(targets)) {\n      const source = instance[name] as Partial<OutputRef<never>> | undefined;\n\n      if (typeof source?.subscribe !== 'function') continue;\n\n      subscriptions.push(\n        source.subscribe((value) =>\n          'emit' in target ? target.emit(value) : target.set(value),\n        ),\n      );\n    }\n\n    onCleanup(() => subscriptions.forEach((sub) => sub.unsubscribe()));\n  });\n}\n","import { reflectComponentType, Type } from '@angular/core';\n\n/**\n * The inputs a wrapper hands to `NgComponentOutlet`, keyed the way the\n * rendered component declares them.\n *\n * `NgComponentOutlet` sets inputs through `ComponentRef.setInput`, which finds\n * an input by its public (template) name. The base classes declare\n * `cssClass = input('', { alias: 'class' })`, so the public name of that input\n * is `class`, while the presets override it without the alias and keep\n * `cssClass`. A wrapper that always passes `cssClass` would leave a custom\n * implementation extending the base without its classes (and log NG0303 in\n * dev mode). This resolves every key, written as the property name, to the\n * public name the rendered component uses, and leaves out the inputs the\n * component does not declare, so a custom implementation may implement only\n * the inputs it needs.\n *\n * `null` (no component registered) returns the inputs unchanged.\n */\nexport function outletInputs(\n  component: Type<unknown> | null | undefined,\n  inputs: Record<string, unknown>,\n): Record<string, unknown> {\n  const declared = component ? reflectComponentType(component)?.inputs : null;\n\n  if (!declared) return inputs;\n\n  const publicName = new Map<string, string>();\n\n  for (const { propName, templateName } of declared) {\n    publicName.set(propName, templateName);\n    publicName.set(templateName, templateName);\n  }\n\n  const resolved: Record<string, unknown> = {};\n\n  for (const [key, value] of Object.entries(inputs)) {\n    const name = publicName.get(key);\n\n    if (name) resolved[name] = value;\n  }\n\n  return resolved;\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  INotificationAction,\n  INotificationOptions,\n} from '../../../models';\n\nexport interface INotificationActionClick {\n  actionId: string;\n}\n\n@Directive()\nexport abstract class NotificationBaseComponent {\n  static smartType: DynamicComponentType = 'notification';\n\n  title: InputSignal<string> = input.required<string>();\n  description: InputSignal<string | undefined> = input<string>();\n  iconName: InputSignal<string | undefined> = input<string>();\n  avatarUrl: InputSignal<string | undefined> = input<string>();\n  actions: InputSignal<INotificationAction[]> = input<INotificationAction[]>(\n    [],\n  );\n  dismissible: InputSignal<boolean> = input<boolean>(false);\n  options: InputSignal<INotificationOptions | undefined> =\n    input<INotificationOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  dismissed: OutputEmitterRef<void> = output<void>();\n  actionClick: OutputEmitterRef<INotificationActionClick> =\n    output<INotificationActionClick>();\n\n  dismiss(): void {\n    this.dismissed.emit();\n  }\n\n  invokeAction(actionId: string): void {\n    this.actionClick.emit({ actionId });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { NotificationBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-notification-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationStandardComponent extends NotificationBaseComponent {}\n","<div\n  role=\"status\"\n  [attr.aria-live]=\"options()?.ariaLive ?? 'polite'\"\n  [class]=\"cssClass()\"\n>\n  <h3>{{ title() }}</h3>\n  @if (description()) {\n    <p>{{ description() }}</p>\n  }\n  @if (dismissible()) {\n    <button type=\"button\" aria-label=\"Close\" (click)=\"dismiss()\">\n      &times;\n    </button>\n  }\n  @for (action of actions(); track action.id) {\n    <button\n      type=\"button\"\n      [attr.data-variant]=\"action.variant ?? 'primary'\"\n      (click)=\"invokeAction(action.id)\"\n    >\n      {{ action.label }}\n    </button>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { INotificationAction, INotificationOptions } from '../../models';\nimport { NOTIFICATION_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { INotificationActionClick } from './base/base.component';\nimport { NotificationStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-notification',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-notification-standard\n        [title]=\"title()\"\n        [description]=\"description()\"\n        [iconName]=\"iconName()\"\n        [avatarUrl]=\"avatarUrl()\"\n        [actions]=\"actions()\"\n        [dismissible]=\"dismissible()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (dismissed)=\"dismissed.emit()\"\n        (actionClick)=\"actionClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [NotificationStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationComponent {\n  private injectedComponent = inject(NOTIFICATION_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  title = input.required<string>();\n  description = input<string>();\n  iconName = input<string>();\n  avatarUrl = input<string>();\n  actions = input<INotificationAction[]>([]);\n  dismissible = input<boolean>(false);\n  options = input<INotificationOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  dismissed = output<void>();\n  actionClick = output<INotificationActionClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      title: this.title(),\n      description: this.description(),\n      iconName: this.iconName(),\n      avatarUrl: this.avatarUrl(),\n      actions: this.actions(),\n      dismissible: this.dismissible(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      dismissed: this.dismissed,\n      actionClick: this.actionClick,\n    });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  output,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { NotificationComponent } from '../../components/notification/notification.component';\nimport {\n  INotificationAction,\n  INotificationOptions,\n  SmartNotificationVariant,\n} from '../../models';\nimport type { IToast } from './toast.service';\n\n/** A click on the button at `index` of the toast `id`. */\nexport interface IToastHostActionClick {\n  id: number;\n  index: number;\n}\n\ninterface IToastView {\n  id: number;\n  type: IToast['type'];\n  title: string;\n  description?: string;\n  actions: INotificationAction[];\n  options: INotificationOptions;\n}\n\n/**\n * The notification variant of a toast: `simple` without buttons (it renders no\n * actions), `condensed` for a message with buttons, `with-actions-below` for a\n * title, its message and buttons (`condensed` would drop the message).\n */\nfunction getToastVariant(toast: IToast): SmartNotificationVariant {\n  if (!toast.buttons?.length) return 'simple';\n\n  return toast.title ? 'with-actions-below' : 'condensed';\n}\n\nfunction toView(toast: IToast): IToastView {\n  return {\n    id: toast.id,\n    type: toast.type,\n    title: toast.title || toast.message,\n    description: toast.title ? toast.message : undefined,\n    actions: (toast.buttons ?? []).map((button, index) => ({\n      id: String(index),\n      label: button.text,\n    })),\n    options: {\n      variant: getToastVariant(toast),\n      ariaLive: toast.type === 'error' ? 'assertive' : 'polite',\n    },\n  };\n}\n\n/**\n * The toasts of `ToastService`, rendered through `<smart-notification>` (so\n * through the implementation registered for\n * `NOTIFICATION_STANDARD_COMPONENT_TOKEN`) in a stack fixed to the bottom of\n * the viewport, above the modals. `ToastService` mounts it at the end of\n * `<body>` while it has toasts; it is not meant to be placed in a template.\n */\n@Component({\n  selector: 'smart-toast-host',\n  template: `\n    <div\n      class=\"smart:pointer-events-none smart:fixed smart:inset-x-0 smart:bottom-0 smart:z-[100] smart:flex smart:flex-col smart:items-center smart:gap-2 smart:p-4 smart:sm:items-end\"\n      data-role=\"toasts\"\n    >\n      @for (toast of views(); track toast.id) {\n        <div\n          class=\"smart:pointer-events-auto smart:w-full smart:max-w-sm\"\n          [attr.data-type]=\"toast.type\"\n        >\n          <smart-notification\n            [title]=\"toast.title\"\n            [description]=\"toast.description\"\n            [dismissible]=\"true\"\n            [actions]=\"toast.actions\"\n            [options]=\"toast.options\"\n            (actionClick)=\"onActionClick(toast.id, $event.actionId)\"\n            (dismissed)=\"dismissed.emit(toast.id)\"\n          />\n        </div>\n      }\n    </div>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [NotificationComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToastHostComponent {\n  toasts = input<IToast[]>([]);\n\n  /** The close button of the toast `id` was clicked. */\n  dismissed = output<number>();\n  /** A button of a toast was clicked. */\n  actionClick = output<IToastHostActionClick>();\n\n  // One view per toast object, so a toast keeps its inputs while others come\n  // and go.\n  private readonly cache = new WeakMap<IToast, IToastView>();\n\n  protected readonly views = computed(() =>\n    this.toasts().map((toast) => {\n      let view = this.cache.get(toast);\n\n      if (!view) {\n        view = toView(toast);\n        this.cache.set(toast, view);\n      }\n\n      return view;\n    }),\n  );\n\n  protected onActionClick(id: number, actionId: string): void {\n    this.actionClick.emit({ id, index: Number(actionId) });\n  }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n  ApplicationRef,\n  ComponentRef,\n  createComponent,\n  EnvironmentInjector,\n  inject,\n  Injectable,\n  OnDestroy,\n  Signal,\n  signal,\n} from '@angular/core';\n\nimport {\n  IToastHostActionClick,\n  ToastHostComponent,\n} from './toast-host.component';\n\nexport interface IToastOptions {\n  title?: string;\n  message: string;\n  /**\n   * Milliseconds before the toast closes itself; 2000 when it is missing,\n   * zero or negative.\n   */\n  duration?: number;\n  buttons?: Array<IToastButton>;\n}\n\nexport interface IToastButton {\n  text: string;\n  /** Kept for compatibility; the actions render in the order given. */\n  position: 'start' | 'end';\n  /** Runs on a click on the button; the toast closes afterwards. */\n  handler: () => void;\n}\n\nexport interface IToast extends IToastOptions {\n  id: number;\n  type: 'error' | 'info';\n}\n\n/** Milliseconds a toast stays without a positive `duration`. */\nconst DEFAULT_TOAST_DURATION = 2000;\n\n/**\n * Short messages shown at the bottom of the screen. The toasts render at the\n * end of `<body>`, in a stack fixed to the bottom of the viewport, each\n * through `<smart-notification>` (the implementation registered for\n * `NOTIFICATION_STANDARD_COMPONENT_TOKEN`, so the preset with\n * `provideSmartPresets()`). A toast closes itself after its `duration`, on its\n * close button or after one of its buttons ran its handler. Error toasts are\n * announced assertively, info toasts politely. While an error lock is held\n * (`addLockError`), error toasts are swallowed, e.g. during a sign-out that\n * makes every pending request fail.\n */\n@Injectable()\nexport class ToastService implements OnDestroy {\n  /** The error locks held, shared by every instance. */\n  static lockError = 0;\n\n  private readonly appRef = inject(ApplicationRef);\n  private readonly environmentInjector = inject(EnvironmentInjector);\n  private readonly document = inject(DOCUMENT);\n  private readonly queue = signal<IToast[]>([]);\n  private readonly timers = new Map<number, ReturnType<typeof setTimeout>>();\n  private host: ComponentRef<ToastHostComponent> | null = null;\n  private nextId = 1;\n\n  /** The toasts shown, oldest first. */\n  readonly toasts: Signal<IToast[]> = this.queue.asReadonly();\n\n  addLockError(): void {\n    ++ToastService.lockError;\n  }\n\n  /** Releases one error lock; the count does not go below zero. */\n  removeLockError(): void {\n    ToastService.lockError = Math.max(0, ToastService.lockError - 1);\n  }\n\n  async error(config: IToastOptions): Promise<void> {\n    if (ToastService.lockError) return;\n\n    this.push('error', config);\n  }\n\n  async info(config: IToastOptions): Promise<void> {\n    this.push('info', config);\n  }\n\n  /** Closes the toast `id`. */\n  dismiss(id: number): void {\n    clearTimeout(this.timers.get(id));\n    this.timers.delete(id);\n\n    if (!this.queue().some((toast) => toast.id === id)) return;\n\n    this.queue.update((toasts) => toasts.filter((toast) => toast.id !== id));\n    this.render();\n  }\n\n  ngOnDestroy(): void {\n    this.timers.forEach((timer) => clearTimeout(timer));\n    this.timers.clear();\n    this.queue.set([]);\n    this.destroyHost();\n  }\n\n  private push(type: IToast['type'], config: IToastOptions): void {\n    const id = this.nextId++;\n    const duration =\n      config.duration && config.duration > 0\n        ? config.duration\n        : DEFAULT_TOAST_DURATION;\n\n    this.queue.update((toasts) => [...toasts, { ...config, id, type }]);\n    this.timers.set(\n      id,\n      setTimeout(() => this.dismiss(id), duration),\n    );\n    this.render();\n  }\n\n  private runAction({ id, index }: IToastHostActionClick): void {\n    const toast = this.queue().find((item) => item.id === id);\n\n    try {\n      toast?.buttons?.[index]?.handler();\n    } finally {\n      this.dismiss(id);\n    }\n  }\n\n  /** Shows the queue: mounts the host for the first toast, removes it after the last one. */\n  private render(): void {\n    const toasts = this.queue();\n\n    if (!toasts.length) {\n      this.destroyHost();\n      return;\n    }\n\n    const host = this.host ?? this.createHost();\n\n    host.setInput('toasts', toasts);\n    host.changeDetectorRef.detectChanges();\n  }\n\n  private createHost(): ComponentRef<ToastHostComponent> {\n    const host = createComponent(ToastHostComponent, {\n      environmentInjector: this.environmentInjector,\n    });\n\n    host.instance.dismissed.subscribe((id) => this.dismiss(id));\n    host.instance.actionClick.subscribe((click) => this.runAction(click));\n\n    this.document.body.appendChild(host.location.nativeElement);\n    this.appRef.attachView(host.hostView);\n    this.host = host;\n\n    return host;\n  }\n\n  private destroyHost(): void {\n    if (!this.host) return;\n\n    const element = this.host.location.nativeElement as HTMLElement;\n\n    this.host.destroy();\n    element.remove();\n    this.host = null;\n  }\n}\n","import { DOCUMENT } from '@angular/common';\nimport { inject, Injectable } from '@angular/core';\n\n/** What `HardwareService.onBackButtonClick` returns. */\nexport interface IBackButtonHandle {\n  /** Stops calling the callback. */\n  remove(): void;\n}\n\n@Injectable()\nexport class HardwareService {\n  private readonly document = inject(DOCUMENT);\n\n  get isMobile(): boolean {\n    return false;\n  }\n\n  get isMobileWeb(): boolean {\n    return false;\n  }\n\n  /**\n   * Calls `callback` when the user goes back in the browser history (the\n   * `popstate` event of the window), until `remove()` is called on the\n   * returned handle. Without a window (server rendering) the handle does\n   * nothing.\n   */\n  async onBackButtonClick(callback: () => void): Promise<IBackButtonHandle> {\n    const view = this.document.defaultView;\n\n    if (!view) return { remove: () => undefined };\n\n    const listener = () => callback();\n\n    view.addEventListener('popstate', listener);\n\n    return {\n      remove: () => view.removeEventListener('popstate', listener),\n    };\n  }\n}\n","import { Injectable, Injector, signal, ViewContainerRef } from '@angular/core';\n\nimport { IMenuItem } from '../../models';\n\n/**\n * Only to use in smart-page\n * @requires PageComponent\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class MenuService {\n  // private readonly menuCtrl: MenuController, //TODO: to be injected\n\n  private _endContainer!: ViewContainerRef;\n  private _openedEnd = false;\n\n  menuItems = signal<IMenuItem[]>([]);\n  disabled = signal(false);\n\n  /**\n   * @desc checking if the menu is open (menu on the right side of the screen)\n   */\n  get openedEnd(): boolean {\n    return this._openedEnd;\n  }\n\n  enable(): void {\n    this.disabled.set(false);\n  }\n\n  disable(): void {\n    this.disabled.set(true);\n  }\n\n  changeMenuItemByRoute(route: string, changes: Partial<IMenuItem>): void {\n    this.menuItems.update((menuItems) => {\n      return menuItems.map((i) => {\n        if (i.route === route)\n          return {\n            ...i,\n            ...changes,\n          };\n\n        return i;\n      });\n    });\n  }\n\n  setMenuItems(items: IMenuItem[]): void {\n    this.menuItems.set(items);\n  }\n\n  /**\n   * @private\n   */\n  async init(endContainer: ViewContainerRef): Promise<void> {\n    this._endContainer = endContainer;\n\n    // await this.menuCtrl.close('end');\n  }\n\n  /**\n   * @desc open menu (menu on the right side of the screen)\n   * @param {object} options - use options\n   * @param {class} options.component - angular component to render\n   * @param {class} options.injector - angular injector to use in component\n   */\n  async openEnd(options: {\n    component: any;\n    injector: Injector;\n  }): Promise<void> {\n    this._openedEnd = true;\n\n    if (this._endContainer) {\n      this._endContainer.clear();\n      this._endContainer.createComponent(options.component, {\n        index: 0,\n        injector: options.injector,\n      });\n    }\n\n    // await this.menuCtrl.enable(true, 'end');\n    // await this.menuCtrl.open('end');\n  }\n\n  /**\n   * @desc close menu (menu on the left side of the screen)\n   */\n  async closeStart(): Promise<void> {\n    this._openedEnd = false;\n\n    // await this.menuCtrl.close('start');\n    // await this.menuCtrl.enable(false, 'start');\n  }\n\n  /**\n   * @desc close menu (menu on the right side of the screen)\n   */\n  async closeEnd(): Promise<void> {\n    this._openedEnd = false;\n\n    // await this.menuCtrl.close('end');\n    // await this.menuCtrl.enable(false, 'end');\n\n    this._endContainer?.clear();\n  }\n}\n","import {\n  DestroyRef,\n  inject,\n  Renderer2,\n  Signal,\n  TemplateRef,\n} from '@angular/core';\n\n/**\n * Turns a wrapper's captured `<ng-content>` into `NgComponentOutlet` content.\n *\n * The wrappers render a custom implementation registered through their\n * `*_STANDARD_COMPONENT_TOKEN` with `NgComponentOutlet`, which does not see the\n * wrapper's `<ng-content>`: without this, the implementation renders with an\n * empty slot. Capture the content once in the wrapper's template\n * (`<ng-template #content><ng-content /></ng-template>`), render it with\n * `ngTemplateOutlet` in the standard branch, and pass\n * `content: projectedContent()` to the outlet in the injected branch. Call it\n * in an injection context, typically a field initializer, with the template\n * query declared as a class field\n * (`viewChild.required<TemplateRef<unknown>>('content')`): Angular only\n * recognises signal queries declared as fields.\n *\n * The outlet takes DOM nodes, not a template, so the returned function renders\n * the template once into a detached view, destroyed with the wrapper. That\n * view only holds the `<ng-content>` instruction: the projected nodes belong to\n * the host's view, which keeps change-detecting them. Its root nodes are moved\n * into a single `display: contents` element, and that element is what gets\n * projected into the implementation's default (first) slot: the implementation\n * moves just that node in and out when it shows or hides its slot (e.g. on\n * open / close), and control flow at the root of the content keeps inserting\n * its nodes next to its anchor inside it. Memoised, because a new array makes\n * the outlet re-create the component.\n *\n * The element is a `<span>` for every wrapper rather than a tag parameter: a\n * `display: contents` element generates no box and has no role, so its tag\n * only matters for the HTML content model, and a `<span>` is allowed both in\n * flow content (a layout's `<main>`) and in phrasing-only contexts\n * (`smart-button` projects into a `<button>`, where a `<div>` is not allowed).\n * Block content inside a `<span>` would be non-conforming in authored HTML,\n * but this element is created through the DOM and generates no box, so it\n * renders exactly like direct children of the slot parent.\n *\n * Caveat: the projected nodes are children of that element, not of the\n * implementation's slot parent. Flex, grid and `gap` are unaffected (the\n * element's children take part in the parent's layout), but child-combinator\n * selectors on the slot parent (`> *`, `space-y-*`, `divide-*`, `*:` variants)\n * do not reach them, and `:first-child` / `:last-child` are evaluated among\n * the projected nodes only.\n */\nexport function outletContent(\n  template: Signal<TemplateRef<unknown>>,\n): () => Node[][] {\n  const destroyRef = inject(DestroyRef);\n  const renderer = inject(Renderer2);\n  let content: Node[][] | undefined;\n\n  return () => {\n    if (!content) {\n      const view = template().createEmbeddedView(undefined);\n      const slot = renderer.createElement('span');\n      renderer.setStyle(slot, 'display', 'contents');\n      view.rootNodes.forEach((node) => renderer.appendChild(slot, node));\n      destroyRef.onDestroy(() => view.destroy());\n      content = [[slot]];\n    }\n\n    return content;\n  };\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IModalAction,\n  IModalOptions,\n} from '../../../models';\n\nexport interface IModalActionClick {\n  actionId: string;\n}\n\n@Directive()\nexport abstract class ModalBaseComponent {\n  static smartType: DynamicComponentType = 'modal';\n\n  open: ModelSignal<boolean> = model<boolean>(false);\n  title: InputSignal<string | undefined> = input<string>();\n  description: InputSignal<string | undefined> = input<string>();\n  actions: InputSignal<IModalAction[]> = input<IModalAction[]>([]);\n  options: InputSignal<IModalOptions | undefined> = input<IModalOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  actionClick: OutputEmitterRef<IModalActionClick> =\n    output<IModalActionClick>();\n  closed: OutputEmitterRef<void> = output<void>();\n\n  invokeAction(actionId: string): void {\n    this.actionClick.emit({ actionId });\n  }\n\n  close(): void {\n    this.open.set(false);\n    this.closed.emit();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ModalBaseComponent } from '../base';\n\n/**\n * Minimal positioning of the `bottom-sheet` variant on the native dialog:\n * docked to the bottom of the viewport, full width (centred under a max width\n * from `sm`, with rounded top corners), at most 85% of the viewport high with\n * its own scroll. The other variants keep the browser's dialog layout.\n */\nconst BOTTOM_SHEET_CLASSES = [\n  'smart:fixed',\n  'smart:inset-x-0',\n  'smart:top-auto',\n  'smart:bottom-0',\n  'smart:z-[80]',\n  'smart:m-0',\n  'smart:w-full',\n  'smart:max-w-none',\n  'smart:max-h-[85dvh]',\n  'smart:overflow-y-auto',\n  'smart:sm:mx-auto',\n  'smart:sm:max-w-2xl',\n  'smart:sm:rounded-t-xl',\n].join(' ');\n\n@Component({\n  selector: 'smart-modal-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ModalStandardComponent extends ModalBaseComponent {\n  protected readonly dialogClasses = computed(() =>\n    [\n      this.options()?.variant === 'bottom-sheet' ? BOTTOM_SHEET_CLASSES : '',\n      this.cssClass(),\n    ]\n      .filter(Boolean)\n      .join(' '),\n  );\n}\n","<dialog\n  [open]=\"open()\"\n  [class]=\"dialogClasses()\"\n  [attr.data-variant]=\"options()?.variant ?? null\"\n  role=\"dialog\"\n  aria-modal=\"true\"\n  [attr.aria-labelledby]=\"title() ? 'smart-modal-title' : null\"\n  [attr.aria-label]=\"!title() ? (options()?.ariaLabel ?? null) : null\"\n  (close)=\"close()\"\n>\n  @if (options()?.withDismiss) {\n    <button\n      type=\"button\"\n      class=\"smart-modal-dismiss\"\n      aria-label=\"Close\"\n      (click)=\"close()\"\n    >\n      &times;\n    </button>\n  }\n  @if (title()) {\n    <h2 id=\"smart-modal-title\">{{ title() }}</h2>\n  }\n  @if (description()) {\n    <p>{{ description() }}</p>\n  }\n  <ng-content />\n  @if (actions().length > 0) {\n    <footer>\n      @for (action of actions(); track action.id) {\n        <button\n          type=\"button\"\n          [attr.data-variant]=\"action.variant ?? 'primary'\"\n          (click)=\"invokeAction(action.id)\"\n        >\n          {{ action.label }}\n        </button>\n      }\n    </footer>\n  }\n</dialog>\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IModalAction, IModalOptions } from '../../models';\nimport { MODAL_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { IModalActionClick } from './base/base.component';\nimport { ModalStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-modal',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-modal-standard\n        [(open)]=\"open\"\n        [title]=\"title()\"\n        [description]=\"description()\"\n        [actions]=\"actions()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (actionClick)=\"actionClick.emit($event)\"\n        (closed)=\"closed.emit()\"\n      >\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-modal-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ModalStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ModalComponent {\n  private injectedComponent = inject(MODAL_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  open = model<boolean>(false);\n  title = input<string>();\n  description = input<string>();\n  actions = input<IModalAction[]>([]);\n  options = input<IModalOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  actionClick = output<IModalActionClick>();\n  closed = output<void>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      open: this.open(),\n      title: this.title(),\n      description: this.description(),\n      actions: this.actions(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      actionClick: this.actionClick,\n      closed: this.closed,\n      open: this.open,\n    });\n  }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n  ApplicationRef,\n  ComponentRef,\n  createComponent,\n  EnvironmentInjector,\n  inject,\n  Injectable,\n  Injector,\n  OnDestroy,\n  reflectComponentType,\n  Type,\n} from '@angular/core';\n\nimport { ModalComponent } from '../../components/modal/modal.component';\nimport { IModalOptions } from '../../models';\n\nexport interface IModalServiceOptions {\n  /** The component rendered in the modal. */\n  component: any;\n  /**\n   * The inputs of `component`, by input name. Keys the component does not\n   * declare as inputs are left out.\n   */\n  props?: any;\n  /**\n   * `'bottom'` opens the modal as a bottom sheet (the `'bottom-sheet'` modal\n   * variant: docked to the bottom of the viewport, full width up to a max\n   * width) and adds the `smart-modal-bottom` class to it.\n   */\n  mode?: 'default' | 'bottom';\n  /** Classes added to the modal (`<smart-modal class>`). */\n  cssClass?: string[];\n  /**\n   * `false` keeps the modal open on a click on its backdrop and on Escape;\n   * its close button and `dismiss()` still close it. Defaults to `true`.\n   */\n  backdropDismiss?: boolean;\n  /**\n   * The injector `component` resolves its dependencies from (e.g. the opener's\n   * `inject(Injector)`), the service's injector by default.\n   */\n  injector?: Injector;\n}\n\nexport interface IModal {\n  /** Closes the modal; `onDidDismiss()` resolves with `{ data }`. */\n  dismiss: (data?: any) => void;\n  /** Resolves once the modal is closed, with the data it was closed with. */\n  onDidDismiss(): Promise<{ data: any }>;\n}\n\ninterface IModalEntry {\n  modal: IModal;\n  options: IModalServiceOptions;\n}\n\n/** The modals of the service show their close button. */\nconst MODAL_OPTIONS: IModalOptions = { withDismiss: true };\n\n/** `mode: 'bottom'`: the bottom sheet, with its close button. */\nconst BOTTOM_SHEET_MODAL_OPTIONS: IModalOptions = {\n  withDismiss: true,\n  variant: 'bottom-sheet',\n};\n\n/**\n * Opens a component in a `<smart-modal>` at the end of `<body>` (the\n * implementation registered for `MODAL_STANDARD_COMPONENT_TOKEN`, so the\n * preset when `provideSmartPresets()` is used). The modals stack: the last one\n * opened is on top, and `dismiss()` closes it.\n *\n * The component gets `props` as its inputs and, when it declares one, a\n * `dismiss` input with the function that closes its modal. It can also inject\n * `ModalService` and call `dismiss(data)`. `mode: 'bottom'` opens it as a\n * bottom sheet (the `'bottom-sheet'` variant). The modal shows its close button;\n * closing it by the close button, the backdrop or Escape (as the modal\n * implementation provides them) resolves `onDidDismiss()` with\n * `{ data: null }`.\n */\n@Injectable()\nexport class ModalService implements OnDestroy {\n  private readonly appRef = inject(ApplicationRef);\n  private readonly environmentInjector = inject(EnvironmentInjector);\n  private readonly injector = inject(Injector);\n  private readonly document = inject(DOCUMENT);\n  private readonly entries: IModalEntry[] = [];\n\n  /**\n   * Stops Escape before the modal's own document listener (registered after\n   * this one) while the top modal has `backdropDismiss: false`. Elements\n   * inside the modal still receive the key; only document listeners added\n   * after the first modal opened are skipped.\n   */\n  private readonly onKeydown = (event: KeyboardEvent): void => {\n    if (event.key !== 'Escape' && event.key !== 'Esc') return;\n\n    const top = this.entries[this.entries.length - 1];\n\n    if (top?.options.backdropDismiss === false) {\n      event.stopImmediatePropagation();\n    }\n  };\n\n  async show(options: IModalServiceOptions): Promise<IModal> {\n    const trigger = this.document.activeElement as HTMLElement | null;\n    let resolveDismiss!: (result: { data: any }) => void;\n    const dismissed = new Promise<{ data: any }>((resolve) => {\n      resolveDismiss = resolve;\n    });\n\n    if (!this.entries.length) {\n      this.document.addEventListener('keydown', this.onKeydown);\n    }\n\n    // The component resolves `ModalService` to this instance, whichever\n    // injector it was opened from, so its `dismiss()` closes this stack.\n    const elementInjector = Injector.create({\n      providers: [{ provide: ModalService, useValue: this }],\n      parent: options.injector ?? this.injector,\n    });\n\n    const content = createComponent(options.component as Type<unknown>, {\n      environmentInjector: this.environmentInjector,\n      elementInjector,\n    });\n    const ref = createComponent(ModalComponent, {\n      environmentInjector: this.environmentInjector,\n      elementInjector,\n      projectableNodes: [[content.location.nativeElement]],\n    });\n    const element = ref.location.nativeElement as HTMLElement;\n\n    const entry: IModalEntry = {\n      options,\n      modal: {\n        dismiss: (data: any = null) => {\n          const index = this.entries.indexOf(entry);\n\n          if (index === -1) return;\n\n          this.entries.splice(index, 1);\n          if (!this.entries.length) {\n            this.document.removeEventListener('keydown', this.onKeydown);\n          }\n\n          content.destroy();\n          ref.destroy();\n          element.remove();\n          trigger?.focus?.();\n          resolveDismiss({ data });\n        },\n        onDidDismiss: () => dismissed,\n      },\n    };\n\n    this.setInputs(content, {\n      ...(options.props ?? {}),\n      dismiss: entry.modal.dismiss,\n    });\n\n    ref.setInput('open', true);\n    ref.setInput(\n      'options',\n      options.mode === 'bottom' ? BOTTOM_SHEET_MODAL_OPTIONS : MODAL_OPTIONS,\n    );\n    ref.setInput('class', this.getClasses(options).join(' '));\n    ref.instance.closed.subscribe(() => entry.modal.dismiss());\n\n    element.setAttribute('data-mode', options.mode ?? 'default');\n    element.addEventListener(\n      'click',\n      (event) => this.onBackdropClick(event, options),\n      true,\n    );\n\n    this.entries.push(entry);\n    this.document.body.appendChild(element);\n    this.appRef.attachView(content.hostView);\n    this.appRef.attachView(ref.hostView);\n    content.changeDetectorRef.detectChanges();\n    ref.changeDetectorRef.detectChanges();\n\n    return entry.modal;\n  }\n\n  /** Closes the modal opened last. */\n  async dismiss<T>(data: T | null = null): Promise<void> {\n    this.entries[this.entries.length - 1]?.modal.dismiss(data);\n  }\n\n  ngOnDestroy(): void {\n    [...this.entries].reverse().forEach((entry) => entry.modal.dismiss());\n    this.document.removeEventListener('keydown', this.onKeydown);\n  }\n\n  private getClasses(options: IModalServiceOptions): string[] {\n    return [\n      ...(options.cssClass ?? []),\n      ...(options.mode === 'bottom' ? ['smart-modal-bottom'] : []),\n    ];\n  }\n\n  /**\n   * With `backdropDismiss: false`, a click that lands in the modal but outside\n   * its dialog (the backdrop) is stopped before the modal sees it.\n   */\n  private onBackdropClick(event: Event, options: IModalServiceOptions): void {\n    if (options.backdropDismiss !== false) return;\n\n    const target = event.target as Element | null;\n\n    if (!target?.closest?.('[role=\"dialog\"]')) {\n      event.stopPropagation();\n    }\n  }\n\n  /** Sets the values whose keys `ref`'s component declares as inputs. */\n  private setInputs(\n    ref: ComponentRef<unknown>,\n    values: Record<string, unknown>,\n  ): void {\n    const declared =\n      reflectComponentType(ref.componentType as Type<unknown>)?.inputs ?? [];\n\n    for (const { propName, templateName } of declared) {\n      if (templateName in values) {\n        ref.setInput(templateName, values[templateName]);\n      } else if (propName in values) {\n        ref.setInput(templateName, values[propName]);\n      }\n    }\n  }\n}\n","import {\n  computed,\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n  Signal,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IAlertButton,\n  IAlertOptions,\n} from '../../../models';\n\nlet nextAlertId = 0;\n\n@Directive()\nexport abstract class AlertBaseComponent {\n  static smartType: DynamicComponentType = 'alert';\n\n  private readonly instanceId = `smart-alert-${nextAlertId++}`;\n\n  readonly headerId = `${this.instanceId}-header`;\n  readonly messageId = `${this.instanceId}-message`;\n\n  options: InputSignal<IAlertOptions> = input.required<IAlertOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  dismissed: OutputEmitterRef<IAlertButton | null> =\n    output<IAlertButton | null>();\n\n  buttons: Signal<IAlertButton[]> = computed(\n    () => this.options().buttons ?? [],\n  );\n  cancelButton: Signal<IAlertButton | null> = computed(\n    () => this.buttons().find((button) => button.role === 'cancel') ?? null,\n  );\n\n  invoke(button: IAlertButton): void {\n    const result = button.handler?.();\n\n    if (result === false && button.role !== 'cancel') return;\n\n    this.dismissed.emit(button);\n  }\n\n  cancel(): void {\n    this.dismissed.emit(this.cancelButton());\n  }\n\n  onEscape(): void {\n    this.cancel();\n  }\n\n  onBackdropClick(event: MouseEvent): void {\n    if (event.target !== event.currentTarget) return;\n    if (this.options().backdropDismiss === false) return;\n\n    this.cancel();\n  }\n\n  trapFocus(event: KeyboardEvent, container: HTMLElement): void {\n    if (event.key !== 'Tab') return;\n\n    const buttons = Array.from(\n      container.querySelectorAll<HTMLButtonElement>('button:not([disabled])'),\n    );\n\n    if (!buttons.length) return;\n\n    const first = buttons[0];\n    const last = buttons[buttons.length - 1];\n    const active = container.ownerDocument.activeElement;\n\n    if (event.shiftKey && active === first) {\n      event.preventDefault();\n      last.focus();\n    } else if (!event.shiftKey && active === last) {\n      event.preventDefault();\n      first.focus();\n    }\n  }\n\n  buttonClasses(button: IAlertButton): string {\n    const base =\n      'smart:rounded-md smart:px-3 smart:py-2 smart:text-sm smart:font-semibold smart:shadow-sm smart:focus:outline-none smart:focus-visible:outline-2 smart:focus-visible:outline-offset-2';\n\n    const role =\n      button.role === 'cancel'\n        ? 'smart:bg-white smart:text-gray-900 smart:border smart:border-gray-300 smart:hover:bg-gray-50 smart:dark:bg-gray-700 smart:dark:text-white smart:dark:border-gray-600 smart:dark:hover:bg-gray-600'\n        : button.role === 'destructive'\n          ? 'smart:bg-red-600 smart:text-white smart:hover:bg-red-500 smart:dark:bg-red-500 smart:dark:hover:bg-red-400'\n          : 'smart:bg-blue-600 smart:text-white smart:hover:bg-blue-500 smart:dark:bg-blue-500 smart:dark:hover:bg-blue-400';\n\n    const custom = Array.isArray(button.cssClass)\n      ? button.cssClass.join(' ')\n      : (button.cssClass ?? '');\n\n    return `${base} ${role}${custom ? ` ${custom}` : ''}`;\n  }\n}\n","import {\n  AfterViewInit,\n  ChangeDetectionStrategy,\n  Component,\n  ElementRef,\n  inject,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { AlertBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-alert-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  host: { '(document:keydown.escape)': 'onEscape()' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AlertStandardComponent\n  extends AlertBaseComponent\n  implements AfterViewInit\n{\n  private readonly elementRef = inject(ElementRef);\n\n  ngAfterViewInit(): void {\n    const panel: HTMLElement | null =\n      this.elementRef.nativeElement?.querySelector?.('[role=\"alertdialog\"]') ??\n      null;\n\n    if (!panel) return;\n\n    const target = panel.querySelector<HTMLElement>('button') ?? panel;\n\n    target.focus?.();\n  }\n}\n","<div\n  class=\"smart:fixed smart:inset-0 smart:z-[90] smart:flex smart:items-center smart:justify-center smart:p-4 smart:bg-gray-900/50 smart:dark:bg-gray-900/80\"\n  role=\"presentation\"\n  (click)=\"onBackdropClick($event)\"\n>\n  <div\n    #panel\n    role=\"alertdialog\"\n    aria-modal=\"true\"\n    tabindex=\"-1\"\n    [attr.aria-labelledby]=\"options().header ? headerId : null\"\n    [attr.aria-describedby]=\"options().message ? messageId : null\"\n    [class]=\"\n      'smart:w-full smart:max-w-md smart:rounded-xl smart:bg-white smart:dark:bg-gray-800 smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:shadow-xl smart:p-5 smart:focus:outline-none ' +\n      cssClass()\n    \"\n    (keydown)=\"trapFocus($event, panel)\"\n  >\n    @if (options().header) {\n      <h2\n        [id]=\"headerId\"\n        class=\"smart:text-lg smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n      >\n        {{ options().header }}\n      </h2>\n    }\n    @if (options().subHeader) {\n      <h3\n        class=\"smart:mt-1 smart:text-sm smart:font-medium smart:text-gray-700 smart:dark:text-gray-300\"\n      >\n        {{ options().subHeader }}\n      </h3>\n    }\n    @if (options().message) {\n      <p\n        [id]=\"messageId\"\n        class=\"smart:mt-2 smart:text-sm smart:text-gray-600 smart:dark:text-gray-400\"\n      >\n        {{ options().message }}\n      </p>\n    }\n    @if (buttons().length > 0) {\n      <div class=\"smart:mt-5 smart:flex smart:justify-end smart:gap-x-2\">\n        @for (button of buttons(); track $index) {\n          <button\n            type=\"button\"\n            [attr.data-role]=\"button.role ?? null\"\n            [class]=\"buttonClasses(button)\"\n            (click)=\"invoke(button)\"\n          >\n            {{ button.text }}\n          </button>\n        }\n      </div>\n    }\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IAlertButton, IAlertOptions } from '../../models';\nimport { ALERT_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { AlertStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-alert',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-alert-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (dismissed)=\"dismissed.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [AlertStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AlertComponent {\n  private injectedComponent = inject(ALERT_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input.required<IAlertOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  dismissed = output<IAlertButton | null>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      dismissed: this.dismissed,\n    });\n  }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n  ApplicationRef,\n  createComponent,\n  EnvironmentInjector,\n  inject,\n  Injectable,\n} from '@angular/core';\n\nimport { AlertStandardComponent } from '../../components/alert';\nimport { IAlertButton, IAlertOptions } from '../../models';\nimport { ALERT_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\n\n@Injectable()\nexport class AlertService {\n  private readonly appRef = inject(ApplicationRef);\n  private readonly environmentInjector = inject(EnvironmentInjector);\n  private readonly document = inject(DOCUMENT);\n  private readonly componentType = inject(ALERT_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  /**\n   * Mounts the alert dialog at the end of `<body>`, resolves with the chosen\n   * button (null on Escape/backdrop without a cancel button) after that\n   * button's handler has run, then removes the dialog and restores focus to\n   * the previously focused element.\n   */\n  async show(options: IAlertOptions): Promise<IAlertButton | null> {\n    const trigger = this.document.activeElement as HTMLElement | null;\n    const ref = createComponent(this.componentType ?? AlertStandardComponent, {\n      environmentInjector: this.environmentInjector,\n    });\n\n    ref.setInput('options', options);\n    this.document.body.appendChild(ref.location.nativeElement);\n    this.appRef.attachView(ref.hostView);\n    ref.changeDetectorRef.detectChanges();\n\n    try {\n      return await new Promise<IAlertButton | null>((resolve) => {\n        ref.instance.dismissed.subscribe(resolve);\n      });\n    } finally {\n      ref.destroy();\n      ref.location.nativeElement.remove();\n      trigger?.focus?.();\n    }\n  }\n}\n","import { Injectable } from '@angular/core';\n\n/**\n * Kept for compatibility: the library opens no popovers, so there is nothing\n * for `close()` to close.\n */\n@Injectable()\nexport class PopoverService {\n  /** Does nothing and resolves; the library has no popover to close. */\n  async close(): Promise<void> {\n    return undefined;\n  }\n}\n","import { inject, Injectable } from '@angular/core';\n\nimport { AlertService } from '../alert/alert.service';\n\n@Injectable()\nexport class UIService {\n  // `AlertService` comes from `SharedServicesModule`; created here when\n  // `UIService` is provided on its own.\n  private readonly alertService =\n    inject(AlertService, { optional: true }) ?? new AlertService();\n\n  /**\n   * Shows an alert with `heading`, `msg` and one `btnText` button through\n   * `AlertService`, and calls `callback` once it is closed (by its button,\n   * Escape or a click on the backdrop). Resolves once the alert is shown.\n   */\n  public async showAlertWithDismissCallback(\n    heading: string,\n    msg: string,\n    btnText: string,\n    callback: () => void,\n  ): Promise<void> {\n    void this.alertService\n      .show({ header: heading, message: msg, buttons: [{ text: btnText }] })\n      .then(() => callback());\n  }\n}\n","import { NgModule } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { CookieModule } from 'ngx-cookie';\n\nimport { AlertService } from './alert/alert.service';\nimport { AuthService } from './auth/auth.service';\nimport { DetailsService } from './details/details.service';\nimport { DynamicComponentLoader } from './dynamic-component-loader/dynamic-component-loader.service';\nimport { FileService } from './file/file.service';\nimport { HardwareService } from './hardware/hardware.service';\nimport { ModalService } from './modal/modal.service';\nimport { PopoverService } from './popover/popover.service';\nimport { StorageService } from './storage/storage.service';\nimport { StyleService } from './style/style.service';\nimport { ToastService } from './toast/toast.service';\nimport { UIService } from './ui/ui.service';\n\n@NgModule({\n  imports: [TranslateModule.forChild(), CookieModule.withOptions()],\n  providers: [\n    ToastService,\n    HardwareService,\n    ModalService,\n    DynamicComponentLoader,\n    PopoverService,\n    StorageService,\n    StyleService,\n    AuthService,\n    FileService,\n    AlertService,\n    DetailsService,\n    UIService,\n  ],\n})\nexport class SharedServicesModule {}\n","import { Injectable } from '@angular/core';\nimport { Action, ActionReducer, Store } from '@ngrx/store';\n\nconst registeredKeys = new WeakMap<Store<any>, Set<string>>();\n\n@Injectable()\nexport class NgrxStoreService {\n  static store: Store<any> | undefined = undefined;\n\n  /**\n   * Registers a feature reducer once per Store instance.\n   *\n   * @param store target Store; defaults to the connected `NgrxStoreService.store`.\n   * Pass it explicitly under SSR, where one process renders many app instances,\n   * each with its own Store.\n   */\n  static addReducer<State, Actions extends Action = Action>(\n    key: string,\n    reducer: ActionReducer<State, Actions>,\n    store?: Store<any>,\n  ): void {\n    const target = store ?? NgrxStoreService.store;\n    if (!target) return;\n\n    const keys = registeredKeys.get(target) ?? new Set<string>();\n    registeredKeys.set(target, keys);\n\n    const alreadyInStore = !!(target as any).reducerManager?.currentReducers?.[\n      key\n    ];\n    if (keys.has(key) || alreadyInStore) return;\n\n    keys.add(key);\n    target.addReducer(key, reducer);\n  }\n\n  connect(store: Store<any>) {\n    NgrxStoreService.store = store;\n  }\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { ToastService } from '../toast/toast.service';\n\n@Injectable()\nexport class ErrorService {\n  constructor(\n    private toastService: ToastService,\n    private translateService: TranslateService,\n  ) {}\n\n  async log(obj: any): Promise<void> {\n    let message = '';\n\n    if (obj instanceof HttpErrorResponse) {\n      if (obj.error && obj.error.details === 'Invalid username or password') {\n        message = await this.translateService\n          .get('ERRORS.invalidUsernameOrPassword')\n          .toPromise();\n      }\n    }\n\n    if (!message)\n      message = await this.translateService.get('ERRORS.other').toPromise();\n\n    console.error(obj);\n\n    await this.toastService.error({ message });\n  }\n}\n","import { Directive, inject, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  // tslint:disable-next-line:directive-selector\n  selector: '.dynamic-content',\n})\nexport class DynamicContentDirective {\n  public container = inject(ViewContainerRef);\n}\n","import { Injector } from '@angular/core';\n\nimport { HardwareService, IModal, ModalService } from '../../services';\n\n/** What `showDetailsModal` (and `[smartDetails]`) opens. */\nexport interface IDetailsModalOptions {\n  /** Rendered in the modal, with `params` as its `value` input. */\n  component: any;\n  params: any;\n  /** Default `'bottom'`. */\n  mode?: 'bottom' | 'default';\n}\n\n/** The callbacks of `showDetailsModal`. */\nexport interface IDetailsModalCallbacks {\n  /** Once the modal is open. */\n  showed?: () => void;\n  /** Once the modal is closed. */\n  dismissed?: () => void;\n}\n\n/**\n * Opens `options.component` through `ModalService` with\n * `{ value: options.params }` as its inputs (e.g. `DetailsPage` with\n * `IDetailsOptions`), closes it when the browser goes back\n * (`HardwareService.onBackButtonClick`) and resolves once it is closed.\n * Without `options` or `options.component` it does nothing.\n */\nexport async function showDetailsModal(\n  services: {\n    modalService: ModalService;\n    hardwareService: HardwareService;\n    injector?: Injector;\n  },\n  options: IDetailsModalOptions | null | undefined,\n  { showed, dismissed }: IDetailsModalCallbacks = {},\n): Promise<void> {\n  if (!options || !options.component) return;\n\n  const modal: IModal = await services.modalService.show({\n    component: options.component,\n    props: {\n      value: options.params,\n    },\n    mode: options.mode ? options.mode : 'bottom',\n    injector: services.injector,\n  });\n  showed?.();\n\n  const handler = await services.hardwareService.onBackButtonClick(() =>\n    modal.dismiss(),\n  );\n\n  await modal.onDidDismiss();\n\n  handler.remove();\n\n  dismissed?.();\n}\n","import {\n  DestroyRef,\n  Directive,\n  HostListener,\n  inject,\n  Injector,\n  input,\n  output,\n} from '@angular/core';\n\nimport { HardwareService, ModalService } from '../../services';\nimport { IDetailsModalOptions, showDetailsModal } from './details-modal';\n\n/**\n * Opens `component` in a modal on click (`ModalService`, mode `'bottom'` by\n * default) with `{ value: params }` as its inputs; the modal closes when the\n * browser goes back. Emits `smartDetailsShowed` once the modal is open and\n * `smartDetailsDismissed` once it is closed.\n */\n@Directive({\n  selector: '[smartDetails]',\n})\nexport class DetailsDirective {\n  private modalService = inject(ModalService);\n  private hardwareService = inject(HardwareService);\n  private injector = inject(Injector);\n  private destroyed = false;\n\n  options = input.required<IDetailsModalOptions>({ alias: 'smartDetails' });\n\n  smartDetailsShowed = output();\n  smartDetailsDismissed = output();\n\n  constructor() {\n    inject(DestroyRef).onDestroy(() => (this.destroyed = true));\n  }\n\n  @HostListener('click')\n  async click(): Promise<void> {\n    await showDetailsModal(\n      {\n        modalService: this.modalService,\n        hardwareService: this.hardwareService,\n        injector: this.injector,\n      },\n      this.options(),\n      {\n        showed: () => {\n          if (!this.destroyed) this.smartDetailsShowed.emit();\n        },\n        dismissed: () => {\n          if (!this.destroyed) this.smartDetailsDismissed.emit();\n        },\n      },\n    );\n  }\n}\n","import { NgModule } from '@angular/core';\n\nimport { SharedServicesModule } from '../services/services.module';\nimport { DynamicContentDirective } from './dynamic-content/dynamic-content.directive';\n\nconst DIRECTIVES = [DynamicContentDirective];\n\n@NgModule({\n  imports: [SharedServicesModule, ...DIRECTIVES],\n  exports: [...DIRECTIVES],\n})\nexport class SharedDirectivesModule {}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n  name: 'smartEnumToList',\n})\nexport class EnumToListPipe implements PipeTransform {\n  transform(value: any): Array<string> {\n    if (!value) return value;\n    return Object.keys(value);\n  }\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\n\nimport { FileService } from '../../services';\n\n@Pipe({\n  name: 'smartFileUrl',\n})\nexport class FileUrlPipe implements PipeTransform {\n  private service = inject(FileService);\n\n  transform(file: { id: any }): string {\n    return this.service.getUrl(file.id);\n  }\n}\n","import { inject, Pipe, PipeTransform, Type } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Memoize } from 'lodash-decorators';\n\nimport { FieldTypeDef, getModelFieldOptions } from '@smartsoft001/models';\n\nimport { ICellPipe } from '../../models';\n\n@Pipe({\n  name: 'smartListCell',\n})\nexport class ListCellPipe<T extends { [key: string]: any }>\n  implements PipeTransform\n{\n  private readonly translateService = inject(TranslateService);\n\n  transform(\n    obj: T,\n    key: string,\n    pipe: ICellPipe<T>,\n    type?: Type<T>,\n  ): { value?: any; type?: FieldTypeDef | null } {\n    if (!obj) return {};\n\n    let result;\n\n    const fieldType = this.getFieldType(type!, key);\n\n    if (!pipe) result = this.getValue(obj, key);\n    else {\n      result = pipe.transform(obj, key, (val) => {\n        return this.translateService.instant(val);\n      });\n    }\n    if (!result) return result;\n\n    if (typeof result === 'string') {\n      result = this.translateService.instant(result);\n    }\n\n    if (fieldType === 'enum') {\n      result = result.map((item: any) => {\n        return this.translateService.instant(item);\n      });\n    }\n\n    return {\n      value: result,\n      type: fieldType,\n    };\n  }\n\n  @Memoize()\n  private getFieldType(type: Type<T>, key: string): FieldTypeDef | null {\n    if (!type) return null;\n\n    const options = getModelFieldOptions(new type(), key);\n    return options?.type ?? null;\n  }\n\n  private getValue(value: T, key: string) {\n    if (key.indexOf('__array') === 0) {\n      const info = key.split('.');\n      const arrayKey = info[1];\n      const index = Number(info[2]);\n      const rowKey = info[4];\n\n      return value[arrayKey][index][rowKey];\n    }\n\n    return value[key];\n  }\n}\n","import { InjectionToken, Type } from '@angular/core';\n\nexport abstract class IModelExportProvider {\n  abstract execute(type: Type<any>, value: any): void;\n}\n\nexport const MODEL_EXPORT_PROVIDER = new InjectionToken<IModelExportProvider>(\n  'MODEL_EXPORT_PROVIDER',\n);\n","import { InjectionToken, Type } from '@angular/core';\n\nexport abstract class IModelImportProvider {\n  abstract getAccept(type: Type<any>): Promise<string>;\n  abstract convert(type: Type<any>, file: File): Promise<any>;\n}\n\nexport const MODEL_IMPORT_PROVIDER = new InjectionToken<IModelImportProvider>(\n  'MODEL_IMPORT_PROVIDER',\n);\n","import { InjectionToken, Signal, Type } from '@angular/core';\n\nexport abstract class IModelLabelProvider {\n  abstract get(options: IModelLabelOptions): Signal<string>;\n}\n\nexport interface IModelLabelOptions {\n  key: string;\n  instance?: any;\n  type?: Type<any>;\n}\n\nexport const MODEL_LABEL_PROVIDER = new InjectionToken<IModelLabelOptions>(\n  'MODEL_LABEL_PROVIDER',\n);\n","import { InjectionToken, Signal, Type, WritableSignal } from '@angular/core';\n\nexport abstract class IModelPossibilitiesProvider {\n  abstract get(\n    options: IModelPossibilitiesOptions,\n  ): WritableSignal<{ id: any; text: string; checked: boolean }[]>;\n}\n\nexport interface IModelPossibilitiesOptions {\n  key: string;\n  instance: any;\n  type?: Type<any>;\n}\n\nexport const MODEL_POSSIBILITIES_PROVIDER =\n  new InjectionToken<IModelPossibilitiesProvider>(\n    'MODEL_POSSIBILITIES_PROVIDER',\n  );\n","import { InjectionToken, Type } from '@angular/core';\nimport { AsyncValidatorFn, ValidatorFn } from '@angular/forms';\n\n/**\n * @example\n *\n * in module:\n @NgModule({\n  providers: [\n    ...\n    {\n      provide: MODEL_VALIDATORS_PROVIDER,\n      useClass: ModelValidatorsProvider\n    }\n  ],\n *\n * provider:\n * @Injectable()\n export class ModelValidatorsProvider extends IModelValidatorsProvider {\n  async get(options: IModelValidatorsOptions): Promise<IModelValidators> {\n    if (options.type === Todo && options.key === 'test') {\n      return {\n        validators: null,\n        asyncValidators: null\n      }\n    }\n\n    if (options.type === Todo && options.key === 'number') {\n      return {\n        validators: [ Validators.required ],\n        asyncValidators: null\n      }\n    }\n\n    return Promise.resolve(options.base);\n  }\n}\n */\nexport abstract class IModelValidatorsProvider {\n  abstract get(options: IModelValidatorsOptions): Promise<IModelValidators>;\n}\n\nexport interface IModelValidatorsOptions {\n  key: string;\n  instance: any;\n  type?: Type<any> | (() => void);\n  base?: IModelValidators;\n}\n\nexport interface IModelValidators {\n  validators?: ValidatorFn | ValidatorFn[];\n  asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[];\n}\n\nexport const MODEL_VALIDATORS_PROVIDER =\n  new InjectionToken<IModelValidatorsProvider>('MODEL_VALIDATORS_PROVIDER');\n","import {\n  inject,\n  Pipe,\n  PipeTransform,\n  signal,\n  Signal,\n  Type,\n} from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { IModelLabelProvider } from '../../providers';\n\n@Pipe({\n  name: 'smartListHeader',\n})\nexport class ListHeaderPipe<T> implements PipeTransform {\n  private translateService = inject(TranslateService);\n  private modelLabelProvider = inject(IModelLabelProvider, { optional: true });\n\n  transform(data: T, key: string, type?: Type<any>): Signal<string> {\n    if (key.indexOf('__array') === 0) {\n      const info = key.split('.');\n      const arrayKey = info[1];\n      const index = Number(info[2]);\n      const headerKey = info[3];\n\n      return signal((data as any)[0][arrayKey][index][headerKey]);\n    }\n\n    if (this.modelLabelProvider) {\n      const result = this.modelLabelProvider.get({ type, key });\n      if (result) return result;\n    }\n\n    return signal(this.translateService.instant('MODEL.' + key));\n  }\n}\n","import { inject, Pipe, PipeTransform, Type } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { IModelLabelProvider } from '../../providers';\n\n@Pipe({\n  name: 'smartModelLabel',\n})\nexport class ModelLabelPipe<T> implements PipeTransform {\n  private translateService = inject(TranslateService);\n  private modelLabelProvider = inject(IModelLabelProvider, { optional: true });\n\n  transform(instance: T, key: string, type?: Type<any> | (() => void)): string {\n    if (this.modelLabelProvider) {\n      const result = this.modelLabelProvider.get({\n        instance: instance,\n        key: key,\n        type: type as Type<any>,\n      });\n\n      if (result()) return result() as string;\n    }\n\n    return this.translateService.instant('MODEL.' + key) as string;\n  }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { RemoveHtmlService } from '@smartsoft001/utils';\n\n@Pipe({\n  name: 'smartRemoveHtml',\n  standalone: true,\n})\nexport class RemoveHtmlPipe implements PipeTransform {\n  transform(value: string | undefined | null): string {\n    return RemoveHtmlService.create(value);\n  }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { SlugService } from '@smartsoft001/utils';\n\n@Pipe({\n  name: 'smartSlug',\n  standalone: true,\n})\nexport class SlugPipe implements PipeTransform {\n  transform(value: string | undefined | null): string {\n    return SlugService.create(value);\n  }\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Pipe({\n  name: 'smartTrustHtml',\n})\nexport class TrustHtmlPipe implements PipeTransform {\n  private sanitizer = inject(DomSanitizer);\n\n  transform(val: string): SafeHtml {\n    if (!val) return val;\n    return this.sanitizer.bypassSecurityTrustHtml(val);\n  }\n}\n","import { NgModule } from '@angular/core';\n\nimport { EnumToListPipe } from './enum-to-list/enum-to-list.pipe';\nimport { ListCellPipe } from './list-cell/list-cell.pipe';\nimport { ListHeaderPipe } from './list-header/list-header.pipe';\nimport { ModelLabelPipe } from './model-label/model-label.pipe';\nimport { RemoveHtmlPipe } from './remove-html/remove-html.pipe';\nimport { SlugPipe } from './slug/slug.pipe';\nimport { TrustHtmlPipe } from './trust-html/trust-html.pipe';\n\nexport const PIPES = [\n  EnumToListPipe,\n  ListCellPipe,\n  ListHeaderPipe,\n  ModelLabelPipe,\n  RemoveHtmlPipe,\n  SlugPipe,\n  TrustHtmlPipe,\n];\n\n@NgModule({\n  declarations: [],\n  imports: [PIPES],\n  exports: [...PIPES],\n})\nexport class SharedPipesModule {}\n","import {\n  computed,\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  OnInit,\n  TemplateRef,\n} from '@angular/core';\n\nimport { IAccordionOptions } from '../../../models';\n\n@Directive()\nexport abstract class AccordionBaseComponent implements OnInit {\n  show: ModelSignal<boolean> = model<boolean>(false);\n  options: InputSignal<IAccordionOptions | undefined> =\n    input<IAccordionOptions>();\n  cssClass: InputSignal<string> = input<string>('');\n\n  headerTpl = input.required<TemplateRef<unknown>>();\n  bodyTpl = input.required<TemplateRef<unknown>>();\n\n  sharedContainerClasses = computed(() => {\n    return [\n      'smart:divide-y',\n      'smart:divide-gray-200',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:divide-white/10',\n      'smart:dark:border-white/10',\n    ];\n  });\n\n  /**\n   * Applies `options.open` as the initial state, once. Later toggles and a\n   * bound `[(show)]` are left alone.\n   */\n  ngOnInit(): void {\n    if (this.options()?.open && !this.show()) {\n      this.show.set(true);\n    }\n  }\n\n  toggle(): void {\n    if (this.options()?.disabled) return;\n    this.show.update((val) => !val);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n  selector: 'smart-accordion-body',\n  template: `\n    <div [class]=\"bodyClasses()\">\n      <ng-content></ng-content>\n    </div>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AccordionBodyComponent {\n  cssClass = input<string>('');\n\n  bodyClasses = computed(() => {\n    const classes = [\n      'smart:px-4',\n      'smart:py-3',\n      'smart:text-gray-600',\n      'smart:dark:text-gray-300',\n    ];\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n}\n","import { Directive, input } from '@angular/core';\n\nexport type IconName = 'spinner' | 'chevron-down' | 'chevron-up';\n\n@Directive()\nexport abstract class IconBaseComponent {\n  cssClass = input<string>('', { alias: 'class' });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IconBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-icon-spinner',\n  template: `\n    <svg\n      [class]=\"'smart:animate-spin smart:size-5 ' + cssClass()\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      fill=\"none\"\n      viewBox=\"0 0 24 24\"\n    >\n      <circle\n        class=\"smart:opacity-25\"\n        cx=\"12\"\n        cy=\"12\"\n        r=\"10\"\n        stroke=\"currentColor\"\n        stroke-width=\"4\"\n      ></circle>\n      <path\n        class=\"smart:opacity-75\"\n        fill=\"currentColor\"\n        d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n      ></path>\n    </svg>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconSpinnerComponent extends IconBaseComponent {}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IconBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-icon-chevron-down',\n  template: `\n    <svg\n      [class]=\"'smart:size-5 ' + cssClass()\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n    >\n      <path\n        fill-rule=\"evenodd\"\n        d=\"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z\"\n        clip-rule=\"evenodd\"\n      />\n    </svg>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconChevronDownComponent extends IconBaseComponent {}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IconBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-icon-chevron-up',\n  template: `\n    <svg\n      [class]=\"'smart:size-5 ' + cssClass()\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n    >\n      <path\n        fill-rule=\"evenodd\"\n        d=\"M14.78 11.78a.75.75 0 0 1-1.06 0L10 8.06l-3.72 3.72a.75.75 0 1 1-1.06-1.06l4.25-4.25a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06Z\"\n        clip-rule=\"evenodd\"\n      />\n    </svg>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconChevronUpComponent extends IconBaseComponent {}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  input,\n  TemplateRef,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IconName } from './base/base.component';\nimport { IconChevronDownComponent } from './chevron-down/chevron-down.component';\nimport { IconChevronUpComponent } from './chevron-up/chevron-up.component';\nimport { IconSpinnerComponent } from './spinner/spinner.component';\n\n@Component({\n  selector: 'smart-icon',\n  template: `\n    @if (template(); as tpl) {\n      <ng-container [ngTemplateOutlet]=\"tpl\" />\n    } @else {\n      @switch (name()) {\n        @case ('spinner') {\n          <smart-icon-spinner [class]=\"cssClass()\" />\n        }\n        @case ('chevron-down') {\n          <smart-icon-chevron-down [class]=\"cssClass()\" />\n        }\n        @case ('chevron-up') {\n          <smart-icon-chevron-up [class]=\"cssClass()\" />\n        }\n      }\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [\n    NgTemplateOutlet,\n    IconSpinnerComponent,\n    IconChevronDownComponent,\n    IconChevronUpComponent,\n  ],\n})\nexport class IconComponent {\n  name = input<IconName>();\n  cssClass = input<string>('', { alias: 'class' });\n  template = input<TemplateRef<unknown> | null>(null);\n}\n","/** Visual treatment applied around the icon glyph. */\nexport type IconPresetVariant = 'plain' | 'contained' | 'soft';\n\n/** Icon footprint on the `size-*` scale. */\nexport type IconPresetSize = 'sm' | 'md' | 'lg';\n\n/** Glyph footprint per size (applied on the inner `<smart-icon>`). */\nconst SIZE_CLASSES: Record<IconPresetSize, string> = {\n  sm: 'smart:size-4',\n  md: 'smart:size-5',\n  lg: 'smart:size-6',\n};\n\n/** Box padding per size for the boxed variants (`contained`/`soft`). */\nconst PADDING_CLASSES: Record<IconPresetSize, string> = {\n  sm: 'smart:p-1.5',\n  md: 'smart:p-2',\n  lg: 'smart:p-2.5',\n};\n\nconst CONTAINER_BASE =\n  'smart:inline-flex smart:items-center smart:justify-center';\n\nconst CONTAINED_BOX = [\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:shadow-2xs',\n  'smart:text-gray-700',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n  'smart:dark:text-gray-200',\n].join(' ');\n\nconst SOFT_BOX = [\n  'smart:rounded-full',\n  'smart:bg-blue-50',\n  'smart:text-blue-600',\n  'smart:dark:bg-blue-900/30',\n  'smart:dark:text-blue-400',\n].join(' ');\n\n/** Glyph sizing class, bound onto the inner `<smart-icon>`. */\nexport function getIconSizeClasses(size: IconPresetSize): string {\n  return SIZE_CLASSES[size];\n}\n\n/**\n * Container recipe for a variant/size pair.\n *\n * `plain` has no surface (the icon sits inline); `contained` and `soft` wrap the\n * glyph in a padded box whose padding scales with `size`.\n */\nexport function getIconContainerClasses(\n  variant: IconPresetVariant,\n  size: IconPresetSize,\n): string {\n  if (variant === 'plain') {\n    return CONTAINER_BASE;\n  }\n\n  const box = variant === 'contained' ? CONTAINED_BOX : SOFT_BOX;\n\n  return [CONTAINER_BASE, box, PADDING_CLASSES[size]].join(' ');\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  TemplateRef,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IconName } from '../base/base.component';\nimport { IconComponent } from '../icon.component';\nimport {\n  getIconContainerClasses,\n  getIconSizeClasses,\n  IconPresetSize,\n  IconPresetVariant,\n} from './preset-classes.util';\n\n/**\n * Styled icon variation (preset).\n *\n * Composes `<smart-icon>` inside a themed container. Unlike the token-driven\n * component groups there is no `*_STANDARD_COMPONENT_TOKEN` for the icon, so this\n * preset is used directly through its `<smart-icon-preset>` selector.\n *\n * Renders any `IconName` (or a `template` override) across a `plain`/`contained`/\n * `soft` variant scale in `sm`/`md`/`lg` sizes.\n */\n@Component({\n  selector: 'smart-icon-preset',\n  template: `\n    <span [class]=\"containerClasses()\" data-role=\"icon-preset\">\n      <smart-icon\n        [name]=\"name()\"\n        [template]=\"template()\"\n        [class]=\"iconClasses()\"\n      />\n    </span>\n  `,\n  imports: [IconComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconPresetComponent {\n  name = input<IconName>('spinner');\n  template = input<TemplateRef<unknown> | null>(null);\n  variant = input<IconPresetVariant>('plain');\n  size = input<IconPresetSize>('md');\n  cssClass = input<string>('', { alias: 'class' });\n\n  protected iconClasses = computed(() => getIconSizeClasses(this.size()));\n\n  protected containerClasses = computed(() =>\n    [getIconContainerClasses(this.variant(), this.size()), this.cssClass()]\n      .filter(Boolean)\n      .join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IconComponent } from '../../icon';\n\n@Component({\n  selector: 'smart-accordion-header',\n  template: `\n    <button\n      type=\"button\"\n      [class]=\"buttonClasses()\"\n      [class.smart:cursor-not-allowed]=\"disabled()\"\n      [class.smart:opacity-50]=\"disabled()\"\n      [disabled]=\"disabled()\"\n    >\n      <ng-content></ng-content>\n      <smart-icon\n        [name]=\"open() ? 'chevron-up' : 'chevron-down'\"\n        class=\"smart:text-gray-400 smart:transition-transform smart:duration-200\"\n      />\n    </button>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [IconComponent],\n})\nexport class AccordionHeaderComponent {\n  open = input<boolean>(false);\n  disabled = input<boolean>(false);\n  cssClass = input<string>('');\n\n  buttonClasses = computed(() => {\n    const classes = [\n      'smart:flex',\n      'smart:w-full',\n      'smart:items-center',\n      'smart:justify-between',\n      'smart:px-4',\n      'smart:py-3',\n      'smart:text-left',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:cursor-pointer',\n      'smart:hover:bg-gray-50',\n      'smart:dark:text-white',\n      'smart:dark:hover:bg-gray-800',\n    ];\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { AccordionBaseComponent } from '../base/base.component';\nimport { AccordionBodyComponent } from '../body/body.component';\nimport { AccordionHeaderComponent } from '../header/header.component';\n\n@Component({\n  selector: 'smart-accordion-default',\n  templateUrl: './default.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [AccordionHeaderComponent, AccordionBodyComponent, NgTemplateOutlet],\n})\nexport class AccordionDefaultComponent extends AccordionBaseComponent {\n  accordionClasses = computed(() => {\n    const classes = [...this.sharedContainerClasses()];\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n}\n","<div [class]=\"accordionClasses()\">\n  <div (click)=\"toggle()\">\n    <smart-accordion-header\n      [open]=\"show()\"\n      [disabled]=\"options()?.disabled ?? false\"\n    >\n      <ng-container [ngTemplateOutlet]=\"headerTpl()\"></ng-container>\n    </smart-accordion-header>\n  </div>\n\n  @if (show()) {\n    <smart-accordion-body>\n      <ng-container [ngTemplateOutlet]=\"bodyTpl()\"></ng-container>\n    </smart-accordion-body>\n  }\n</div>\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  input,\n  model,\n  ModelSignal,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IAccordionOptions } from '../../models';\nimport { AccordionDefaultComponent } from './default/default.component';\n\n@Component({\n  selector: 'smart-accordion',\n  template: `\n    <ng-template #headerTpl>\n      <ng-content select=\"[accordionHeader]\"></ng-content>\n    </ng-template>\n    <ng-template #bodyTpl>\n      <ng-content select=\"[accordionBody]\"></ng-content>\n    </ng-template>\n\n    <smart-accordion-default\n      [(show)]=\"show\"\n      [options]=\"options()\"\n      [cssClass]=\"cssClass()\"\n      [headerTpl]=\"headerTpl\"\n      [bodyTpl]=\"bodyTpl\"\n    />\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [AccordionDefaultComponent],\n})\nexport class AccordionComponent {\n  show: ModelSignal<boolean> = model<boolean>(false);\n  options = input<IAccordionOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n}\n","/**\n * Class recipes for the accordion preset variation (FRA-210).\n *\n * Translated from the Preline \"Bordered open content\" accordion template to\n * `smart:`-prefixed vanilla Tailwind utilities with explicit `dark:` variants.\n * Kept private to the preset component — never re-exported from the component\n * barrel — and every symbol is prefixed with `AccordionPreset` to avoid\n * collisions in the library-wide `export *` barrel.\n */\n\n/**\n * Outer card container. Borrows the Preline pattern where the border is\n * transparent while collapsed and becomes visible once the item is open.\n */\nexport function getAccordionPresetContainerClasses(open: boolean): string[] {\n  return [\n    'smart:bg-white',\n    'smart:dark:bg-gray-800',\n    'smart:border',\n    'smart:rounded-xl',\n    open ? 'smart:border-gray-200' : 'smart:border-transparent',\n    open ? 'smart:dark:border-gray-700' : 'smart:dark:border-transparent',\n  ];\n}\n\n/**\n * Toggle button. Title and arrow are stretched apart (`justify-between`) and\n * the label switches to the primary colour while open.\n */\nexport function getAccordionPresetToggleClasses(open: boolean): string[] {\n  return [\n    'smart:inline-flex',\n    'smart:w-full',\n    'smart:items-center',\n    'smart:justify-between',\n    'smart:gap-x-3',\n    'smart:px-5',\n    'smart:py-4',\n    'smart:text-start',\n    'smart:font-semibold',\n    'smart:cursor-pointer',\n    open ? 'smart:text-blue-600' : 'smart:text-gray-900',\n    open ? 'smart:dark:text-blue-400' : 'smart:dark:text-white',\n    'smart:hover:text-gray-500',\n    'smart:dark:hover:text-gray-400',\n    'smart:focus:outline-none',\n    'smart:focus:text-gray-500',\n    'smart:dark:focus:text-gray-400',\n    'smart:disabled:opacity-50',\n    'smart:disabled:pointer-events-none',\n  ];\n}\n\n/**\n * Expanded body region (Preline `pb-4 px-5` inner wrapper).\n */\nexport function getAccordionPresetContentClasses(): string[] {\n  return [\n    'smart:w-full',\n    'smart:overflow-hidden',\n    'smart:px-5',\n    'smart:pb-4',\n    'smart:text-gray-900',\n    'smart:dark:text-white',\n  ];\n}\n\n/**\n * Chevron indicator sizing (Preline `size-3.5`).\n */\nexport function getAccordionPresetIconClasses(): string {\n  return 'smart:size-3.5 smart:shrink-0';\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { AccordionBaseComponent } from '../base/base.component';\nimport {\n  getAccordionPresetContainerClasses,\n  getAccordionPresetContentClasses,\n  getAccordionPresetIconClasses,\n  getAccordionPresetToggleClasses,\n} from './preset-classes.util';\n\nlet nextId = 0;\n\n/**\n * Styled accordion variation (preset) based on the Preline bordered accordion\n * (FRA-210).\n *\n * Unlike token-driven presets, accordion has NO standard-component token: use it\n * directly via the `<smart-accordion-preset>` selector, supplying the same\n * `headerTpl` / `bodyTpl` template inputs, `show` model and `cssClass` contract\n * as `AccordionDefaultComponent`. Expand/collapse is driven entirely by the\n * inherited `show` model signal plus `@if` — no Preline JS runtime is required.\n */\n@Component({\n  selector: 'smart-accordion-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class AccordionPresetComponent extends AccordionBaseComponent {\n  protected readonly contentId = `smart-accordion-preset-${nextId++}`;\n  protected readonly iconClasses = getAccordionPresetIconClasses();\n\n  protected disabled = computed(() => this.options()?.disabled ?? false);\n\n  protected containerClasses = computed(() => {\n    const classes = getAccordionPresetContainerClasses(this.show());\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n\n  protected toggleClasses = computed(() =>\n    getAccordionPresetToggleClasses(this.show()).join(' '),\n  );\n\n  protected contentClasses = computed(() =>\n    getAccordionPresetContentClasses().join(' '),\n  );\n}\n","<div [class]=\"containerClasses()\">\n  <button\n    type=\"button\"\n    [class]=\"toggleClasses()\"\n    [disabled]=\"disabled()\"\n    [attr.aria-expanded]=\"show()\"\n    [attr.aria-controls]=\"contentId\"\n    (click)=\"toggle()\"\n  >\n    <ng-container [ngTemplateOutlet]=\"headerTpl()\"></ng-container>\n\n    @if (show()) {\n      <svg\n        [class]=\"iconClasses\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width=\"24\"\n        height=\"24\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        stroke-width=\"2\"\n        stroke-linecap=\"round\"\n        stroke-linejoin=\"round\"\n        aria-hidden=\"true\"\n      >\n        <path d=\"m18 15-6-6-6 6\" />\n      </svg>\n    } @else {\n      <svg\n        [class]=\"iconClasses\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width=\"24\"\n        height=\"24\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        stroke-width=\"2\"\n        stroke-linecap=\"round\"\n        stroke-linejoin=\"round\"\n        aria-hidden=\"true\"\n      >\n        <path d=\"m6 9 6 6 6-6\" />\n      </svg>\n    }\n  </button>\n\n  @if (show()) {\n    <div [id]=\"contentId\" [class]=\"contentClasses()\" role=\"region\">\n      <ng-container [ngTemplateOutlet]=\"bodyTpl()\"></ng-container>\n    </div>\n  }\n</div>\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, IActionPanelOptions } from '../../../models';\n\nexport interface IActionPanelActionClick {\n  actionId: string;\n}\n\n@Directive()\nexport abstract class ActionPanelBaseComponent {\n  static smartType: DynamicComponentType = 'action-panel';\n\n  options: InputSignal<IActionPanelOptions | undefined> =\n    input<IActionPanelOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  actionClick: OutputEmitterRef<IActionPanelActionClick> =\n    output<IActionPanelActionClick>();\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ActionPanelBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-action-panel-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class ActionPanelStandardComponent extends ActionPanelBaseComponent {\n  protected onActionClick(actionId: string): void {\n    this.actionClick.emit({ actionId });\n  }\n}\n","<div [class]=\"cssClass()\">\n  <section class=\"action-panel\">\n    @if (options()?.title) {\n      <h3>{{ options()!.title }}</h3>\n    }\n    @if (options()?.descriptionTpl) {\n      <div class=\"description\">\n        <ng-container [ngTemplateOutlet]=\"options()!.descriptionTpl!\" />\n      </div>\n    } @else if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if (options()?.contentTpl) {\n      <div class=\"content\">\n        <ng-container [ngTemplateOutlet]=\"options()!.contentTpl!\" />\n      </div>\n    }\n    @if ((options()?.actions ?? []).length > 0) {\n      <div class=\"actions\">\n        @for (action of options()!.actions!; track action.id) {\n          @if (action.href) {\n            <a\n              [href]=\"action.href\"\n              [class]=\"'action variant-' + (action.variant ?? 'link')\"\n            >\n              @if (action.iconTpl) {\n                <span class=\"icon\">\n                  <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n                </span>\n              }\n              @if (action.label) {\n                {{ action.label }}\n              }\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"'action variant-' + (action.variant ?? 'primary')\"\n              (click)=\"onActionClick(action.id)\"\n            >\n              @if (action.iconTpl) {\n                <span class=\"icon\">\n                  <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n                </span>\n              }\n              @if (action.label) {\n                {{ action.label }}\n              }\n            </button>\n          }\n        }\n      </div>\n    }\n  </section>\n</div>\n","// Class recipes for the styled action-panel preset. Every utility is\n// smart:-prefixed to match the scoped Tailwind build, with explicit\n// smart:dark:* twins merged in for the dark theme.\n\nimport { IActionPanelAction } from '../../../models';\n\nconst CARD =\n  'smart:rounded-xl smart:border smart:border-gray-200 smart:bg-white smart:p-4 smart:shadow-2xs smart:sm:p-6 smart:dark:border-gray-700 smart:dark:bg-gray-800';\n\nconst TITLE =\n  'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n\nconst DESCRIPTION =\n  'smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\nconst WELL =\n  'smart:rounded-lg smart:bg-gray-50 smart:p-4 smart:dark:bg-gray-900/50';\n\nconst LINK = 'smart:text-sm smart:text-blue-600 smart:hover:underline';\n\nconst BUTTON_SOLID =\n  'smart:rounded-lg smart:bg-blue-600 smart:px-3 smart:py-2 smart:text-sm smart:text-white smart:hover:bg-blue-700';\n\nconst BUTTON_OUTLINE =\n  'smart:rounded-lg smart:border smart:border-gray-200 smart:bg-white smart:px-3 smart:py-2 smart:text-sm smart:text-gray-800 smart:hover:bg-gray-50 smart:dark:border-gray-700 smart:dark:bg-gray-800 smart:dark:text-white';\n\nexport function getActionPanelCardClasses(): string {\n  return CARD;\n}\n\nexport function getActionPanelTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getActionPanelDescriptionClasses(): string {\n  return DESCRIPTION;\n}\n\nexport function getActionPanelWellClasses(): string {\n  return WELL;\n}\n\nexport function getActionPanelActionClasses(\n  variant: IActionPanelAction['variant'],\n  asLink: boolean,\n): string {\n  if (asLink) {\n    return LINK;\n  }\n  return variant === 'primary' ? BUTTON_SOLID : BUTTON_OUTLINE;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IActionPanelAction, SmartActionPanelLayout } from '../../../models';\nimport { ActionPanelStandardComponent } from '../standard/standard.component';\nimport {\n  getActionPanelActionClasses,\n  getActionPanelCardClasses,\n  getActionPanelDescriptionClasses,\n  getActionPanelTitleClasses,\n  getActionPanelWellClasses,\n} from './preset-classes.util';\n\n/**\n * Styled action-panel variation (preset).\n *\n * Renders the action-panel as a bordered card and realizes all eight\n * `SmartActionPanelLayout` arrangements through a `@switch`: the title,\n * description, optional content slot and action buttons are re-composed per\n * layout (row, split, well, etc.). Drop-in replacement for\n * `ActionPanelStandardComponent`: register it through\n * `ACTION_PANEL_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-action-panel>`, or use `<smart-action-panel-preset>` directly.\n */\n@Component({\n  selector: 'smart-action-panel-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class ActionPanelPresetComponent extends ActionPanelStandardComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected readonly titleClasses = getActionPanelTitleClasses();\n  protected readonly descriptionClasses = getActionPanelDescriptionClasses();\n  protected readonly wellClasses = getActionPanelWellClasses();\n\n  protected layout = computed<SmartActionPanelLayout>(\n    () => this.options()?.layout ?? 'simple',\n  );\n\n  protected panelClasses = computed(() =>\n    `${getActionPanelCardClasses()} ${this.cssClass()}`.trim(),\n  );\n\n  protected actionClasses(variant: IActionPanelAction['variant']): string {\n    return getActionPanelActionClasses(variant, this.layout() === 'with-link');\n  }\n\n  protected actionsContainerClasses = computed(() => {\n    switch (this.layout()) {\n      case 'right-button':\n        return 'smart:flex smart:flex-col smart:gap-2';\n      case 'top-right-button':\n        return 'smart:flex smart:shrink-0 smart:gap-2';\n      case 'with-link':\n        return 'smart:mt-2 smart:flex smart:flex-wrap smart:gap-4';\n      default:\n        return 'smart:mt-4 smart:flex smart:flex-wrap smart:gap-2';\n    }\n  });\n}\n","<ng-template #titleZone>\n  @if (options()?.title) {\n    <h3 [class]=\"titleClasses\" data-role=\"title\">{{ options()!.title }}</h3>\n  }\n</ng-template>\n\n<ng-template #descriptionZone>\n  @if (options()?.descriptionTpl) {\n    <div [class]=\"descriptionClasses\" data-role=\"description\">\n      <ng-container [ngTemplateOutlet]=\"options()!.descriptionTpl!\" />\n    </div>\n  } @else if (options()?.description) {\n    <p [class]=\"descriptionClasses\" data-role=\"description\">\n      {{ options()!.description }}\n    </p>\n  }\n</ng-template>\n\n<ng-template #contentZone>\n  @if (options()?.contentTpl) {\n    <div class=\"smart:mt-3\" data-role=\"content\">\n      <ng-container [ngTemplateOutlet]=\"options()!.contentTpl!\" />\n    </div>\n  }\n</ng-template>\n\n<ng-template #actionsZone>\n  @if ((options()?.actions ?? []).length > 0) {\n    <div [class]=\"actionsContainerClasses()\" data-role=\"actions\">\n      @for (action of options()!.actions!; track action.id) {\n        @if (action.href) {\n          <a\n            [href]=\"action.href\"\n            [class]=\"actionClasses(action.variant)\"\n            data-role=\"action\"\n            [attr.data-action-id]=\"action.id\"\n          >\n            @if (action.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n            }\n            @if (action.label) {\n              {{ action.label }}\n            }\n          </a>\n        } @else {\n          <button\n            type=\"button\"\n            [class]=\"actionClasses(action.variant)\"\n            data-role=\"action\"\n            [attr.data-action-id]=\"action.id\"\n            (click)=\"onActionClick(action.id)\"\n          >\n            @if (action.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n            }\n            @if (action.label) {\n              {{ action.label }}\n            }\n          </button>\n        }\n      }\n    </div>\n  }\n</ng-template>\n\n<div [class]=\"panelClasses()\" data-role=\"panel\" [attr.data-layout]=\"layout()\">\n  @switch (layout()) {\n    @case ('right-button') {\n      <div\n        class=\"smart:flex smart:items-center smart:justify-between smart:gap-4\"\n      >\n        <div class=\"smart:flex-1\">\n          <ng-container [ngTemplateOutlet]=\"titleZone\" />\n          <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n          <ng-container [ngTemplateOutlet]=\"contentZone\" />\n        </div>\n        <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n      </div>\n    }\n    @case ('top-right-button') {\n      <div\n        class=\"smart:flex smart:items-start smart:justify-between smart:gap-4\"\n      >\n        <ng-container [ngTemplateOutlet]=\"titleZone\" />\n        <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n      </div>\n      <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n      <ng-container [ngTemplateOutlet]=\"contentZone\" />\n    }\n    @case ('with-toggle') {\n      <div\n        class=\"smart:flex smart:items-center smart:justify-between smart:gap-4\"\n      >\n        <div class=\"smart:flex-1\">\n          <ng-container [ngTemplateOutlet]=\"titleZone\" />\n          <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n        </div>\n        <ng-container [ngTemplateOutlet]=\"contentZone\" />\n      </div>\n      <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n    }\n    @case ('with-input') {\n      <ng-container [ngTemplateOutlet]=\"titleZone\" />\n      <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n      <ng-container [ngTemplateOutlet]=\"contentZone\" />\n      <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n    }\n    @case ('payment-method') {\n      <ng-container [ngTemplateOutlet]=\"titleZone\" />\n      <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n      <ng-container [ngTemplateOutlet]=\"contentZone\" />\n      <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n    }\n    @case ('well') {\n      <ng-container [ngTemplateOutlet]=\"titleZone\" />\n      <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n      <div [class]=\"wellClasses\" data-role=\"well\">\n        <ng-container [ngTemplateOutlet]=\"contentZone\" />\n        <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n      </div>\n    }\n    @default {\n      <ng-container [ngTemplateOutlet]=\"titleZone\" />\n      <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n      <ng-container [ngTemplateOutlet]=\"contentZone\" />\n      <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n    }\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IActionPanelOptions } from '../../models';\nimport { ACTION_PANEL_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { IActionPanelActionClick } from './base/base.component';\nimport { ActionPanelStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-action-panel',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-action-panel-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (actionClick)=\"actionClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ActionPanelStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ActionPanelComponent {\n  private injectedComponent = inject(ACTION_PANEL_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IActionPanelOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  actionClick = output<IActionPanelActionClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      actionClick: this.actionClick,\n    });\n  }\n}\n","import { DOCUMENT } from '@angular/common';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n  ChangeDetectorRef,\n  OnDestroy,\n  Directive,\n  ElementRef,\n  PLATFORM_ID,\n  ViewContainerRef,\n  AfterContentInit,\n  input,\n  effect,\n  inject,\n  viewChild,\n  Signal,\n  signal,\n  computed,\n  InputSignal,\n  Injector,\n} from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport {\n  NavigationCancel,\n  NavigationEnd,\n  NavigationError,\n  NavigationStart,\n  Router,\n} from '@angular/router';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport { IAppOptions, IMenuItem } from '../../../models';\nimport { AppService } from '../../../services';\nimport { AuthService } from '../../../services';\nimport { MenuService } from '../../../services';\nimport { StyleService } from '../../../services';\n\n@Directive()\nexport abstract class AppBaseComponent implements OnDestroy, AfterContentInit {\n  protected router = inject(Router);\n  protected cd = inject(ChangeDetectorRef);\n  protected elementRef = inject(ElementRef);\n  protected styleService = inject(StyleService);\n  protected menuService = inject(MenuService);\n  protected authService = inject(AuthService);\n  protected appService = inject(AppService);\n  protected readonly platformId = inject(PLATFORM_ID);\n  protected document = inject(DOCUMENT);\n  private readonly injector = inject(Injector);\n\n  private _subscriptions = new Subscription();\n\n  selectedPath = '';\n  showMenu: Signal<boolean> = signal(false).asReadonly();\n  menuItems: Signal<IMenuItem[]> = signal([]).asReadonly();\n  logged: Signal<boolean> = signal(false).asReadonly();\n  username: Signal<string> = signal('').asReadonly();\n  loadingPage: Signal<boolean> = signal(false).asReadonly();\n  logo: string | undefined;\n\n  routerEvents = toSignal(this.router.events);\n  options: InputSignal<IAppOptions> = input.required<IAppOptions>();\n  endMenuContainer = viewChild<ViewContainerRef>('endMenuContainer');\n\n  constructor() {\n    effect(() => {\n      const options = this.options();\n      this.initMenu();\n\n      if (options) {\n        this.logged = options.provider.logged;\n        this.username = options.provider.username;\n        this.logo = options.logo;\n      }\n\n      this.initLoader();\n      this.refreshStyles();\n    });\n\n    this.initPermissionClasses();\n\n    this.initSelectedPath();\n\n    if (isPlatformBrowser(this.platformId)) {\n      this.styleService.init(this.elementRef);\n      this.appService.initTitle();\n    }\n\n    effect(async () => {\n      const endContainer = this.endMenuContainer();\n      if (endContainer) {\n        await this.menuService.init(endContainer);\n      }\n    });\n  }\n\n  logout(): void {\n    this.options()?.provider.logout();\n  }\n\n  async ngAfterContentInit(): Promise<void> {\n    this.refreshStyles();\n  }\n\n  ngOnDestroy(): void {\n    if (this._subscriptions) this._subscriptions.unsubscribe();\n  }\n\n  private initMenu(): void {\n    this.showMenu = computed(() => {\n      const options = this.options();\n      const logged = options.provider.logged();\n      const disable = this.menuService.disabled();\n      if (disable) return false;\n\n      return logged || !!options?.menu?.showForAnonymous;\n    });\n\n    const options = this.options();\n    if (options?.menu) {\n      if (options.menu?.items) {\n        this.menuService.setMenuItems(options.menu.items);\n      }\n      this.menuItems = this.menuService.menuItems;\n    }\n  }\n\n  private initSelectedPath(): void {\n    this._subscriptions.add(\n      this.router.events\n        .pipe(filter((event) => event && event instanceof NavigationEnd))\n        .subscribe((event: NavigationEnd) => {\n          if (event.urlAfterRedirects)\n            this.selectedPath = event.urlAfterRedirects;\n          else this.selectedPath = event.url;\n\n          this.styleService.init(this.elementRef);\n\n          this.cd.detectChanges();\n        }),\n    );\n  }\n\n  private initLoader() {\n    this.loadingPage = computed(() => {\n      const routerEvent = this.routerEvents();\n      if (routerEvent instanceof NavigationStart) {\n        return true;\n      } else if (\n        routerEvent instanceof NavigationEnd ||\n        routerEvent instanceof NavigationCancel ||\n        routerEvent instanceof NavigationError\n      ) {\n        return false;\n      }\n\n      return false;\n    });\n  }\n\n  private refreshStyles(): void {\n    if (isPlatformBrowser(this.platformId)) {\n      setTimeout(() => {\n        this.styleService.set(this.options()?.style);\n\n        const elementById = this.document.getElementById('app-favicon');\n        if (this.logo && elementById) {\n          elementById.setAttribute('href', this.logo);\n        }\n      });\n    }\n  }\n\n  private initPermissionClasses() {\n    if (isPlatformBrowser(this.platformId)) {\n      effect(\n        () => {\n          const logged = this.options().provider.logged();\n          if (logged) {\n            this.authService.getPermissions().forEach((permission) => {\n              (this.elementRef.nativeElement as HTMLElement).classList.add(\n                'auth-permissions-' + permission,\n              );\n            });\n          }\n        },\n        { injector: this.injector },\n      ); // Auto cleanup with component\n    }\n  }\n}\n","import { computed, Directive, input, InputSignal } from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IAvatarItem,\n  IAvatarOptions,\n  SmartAvatarShape,\n  SmartAvatarSize,\n} from '../../../models';\n\n@Directive()\nexport abstract class AvatarBaseComponent {\n  static smartType: DynamicComponentType = 'avatar';\n\n  imageUrl: InputSignal<string | undefined> = input<string>();\n  initials: InputSignal<string | undefined> = input<string>();\n  size: InputSignal<SmartAvatarSize> = input<SmartAvatarSize>('md');\n  shape: InputSignal<SmartAvatarShape> = input<SmartAvatarShape>('circle');\n  notificationPosition: InputSignal<'top' | 'bottom' | undefined> = input<\n    'top' | 'bottom'\n  >();\n  group: InputSignal<IAvatarItem[] | undefined> = input<IAvatarItem[]>();\n  options: InputSignal<IAvatarOptions | undefined> = input<IAvatarOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  isGroup = computed(() => !!this.group()?.length);\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { AvatarBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-avatar-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AvatarStandardComponent extends AvatarBaseComponent {}\n","<span\n  [class]=\"cssClass()\"\n  [attr.data-size]=\"size()\"\n  [attr.data-shape]=\"shape()\"\n  [attr.data-placeholder-type]=\"options()?.placeholderType ?? 'icon'\"\n  [attr.data-stack-direction]=\"\n    isGroup() ? (options()?.stackDirection ?? 'top-to-bottom') : null\n  \"\n>\n  @if (isGroup()) {\n    @for (item of group(); track item.id) {\n      <span class=\"smart-avatar-group-item\">\n        @if (item.imageUrl) {\n          <img [src]=\"item.imageUrl\" alt=\"\" />\n        } @else {\n          <span class=\"smart-avatar-initials\">{{ item.initials }}</span>\n        }\n      </span>\n    }\n  } @else {\n    @if (imageUrl()) {\n      <img [src]=\"imageUrl()\" alt=\"\" />\n    } @else if (initials()) {\n      <span class=\"smart-avatar-initials\">{{ initials() }}</span>\n    } @else {\n      <span aria-hidden=\"true\" class=\"smart-avatar-placeholder\">·</span>\n    }\n  }\n</span>\n","import { SmartAvatarShape, SmartAvatarSize } from '../../../models';\n\n/** Pixel footprint per avatar size (`size-*`). */\nconst SIZE_CLASSES: Record<SmartAvatarSize, string> = {\n  xs: 'smart:size-8',\n  sm: 'smart:size-9.5',\n  md: 'smart:size-11',\n  lg: 'smart:size-15.5',\n  xl: 'smart:size-20',\n};\n\n/** Corner radius per shape. */\nconst SHAPE_CLASSES: Record<SmartAvatarShape, string> = {\n  circle: 'smart:rounded-full',\n  rounded: 'smart:rounded-lg',\n};\n\n/** Status dot footprint per avatar size. */\nconst STATUS_SIZE_CLASSES: Record<SmartAvatarSize, string> = {\n  xs: 'smart:size-1.5',\n  sm: 'smart:size-2',\n  md: 'smart:size-2.5',\n  lg: 'smart:size-3',\n  xl: 'smart:size-3.5',\n};\n\n/** Initials font-size per avatar size. */\nconst INITIALS_TEXT_CLASSES: Record<SmartAvatarSize, string> = {\n  xs: 'smart:text-xs',\n  sm: 'smart:text-sm',\n  md: 'smart:text-base',\n  lg: 'smart:text-base',\n  xl: 'smart:text-lg',\n};\n\nconst RING = [\n  'smart:ring-2',\n  'smart:ring-white',\n  'smart:dark:ring-gray-800',\n].join(' ');\n\n/** Image avatar (`<img>`). */\nexport function getAvatarImageClasses(\n  size: SmartAvatarSize,\n  shape: SmartAvatarShape,\n): string {\n  return [\n    'smart:inline-block',\n    'smart:object-cover',\n    SIZE_CLASSES[size],\n    SHAPE_CLASSES[shape],\n  ].join(' ');\n}\n\n/** Initials placeholder (solid surface + inverse text). */\nexport function getAvatarInitialsClasses(\n  size: SmartAvatarSize,\n  shape: SmartAvatarShape,\n): string {\n  return [\n    'smart:inline-flex',\n    'smart:items-center',\n    'smart:justify-center',\n    'smart:font-semibold',\n    'smart:bg-gray-700',\n    'smart:text-white',\n    'smart:dark:bg-gray-600',\n    'smart:dark:text-gray-900',\n    SIZE_CLASSES[size],\n    SHAPE_CLASSES[shape],\n    INITIALS_TEXT_CLASSES[size],\n  ].join(' ');\n}\n\n/** Icon placeholder wrapper (tinted surface, clips the glyph). */\nexport function getAvatarIconWrapperClasses(\n  size: SmartAvatarSize,\n  shape: SmartAvatarShape,\n): string {\n  return [\n    'smart:inline-block',\n    'smart:overflow-hidden',\n    'smart:bg-gray-100',\n    'smart:dark:bg-gray-700',\n    SIZE_CLASSES[size],\n    SHAPE_CLASSES[shape],\n  ].join(' ');\n}\n\n/** Status indicator dot, anchored to the requested corner. */\nexport function getAvatarStatusClasses(\n  size: SmartAvatarSize,\n  position: 'top' | 'bottom',\n): string {\n  return [\n    'smart:absolute',\n    'smart:end-0',\n    position === 'bottom' ? 'smart:bottom-0' : 'smart:top-0',\n    'smart:block',\n    'smart:rounded-full',\n    'smart:bg-teal-400',\n    STATUS_SIZE_CLASSES[size],\n    RING,\n  ].join(' ');\n}\n\n/** Wrapper that positions the status dot relative to the avatar. */\nexport const AVATAR_STATUS_WRAPPER = 'smart:relative smart:inline-block';\n\n/** Stacked-group container; overlaps members and reverses on demand. */\nexport function getAvatarGroupContainerClasses(\n  stackDirection: 'top-to-bottom' | 'bottom-to-top' | undefined,\n): string {\n  return [\n    'smart:flex',\n    'smart:items-center',\n    'smart:-space-x-2',\n    stackDirection === 'bottom-to-top'\n      ? 'smart:flex-row-reverse smart:space-x-reverse'\n      : '',\n  ]\n    .filter(Boolean)\n    .join(' ');\n}\n\n/** Image member of a stacked group (rings separate overlapping avatars). */\nexport function getAvatarGroupItemImageClasses(\n  size: SmartAvatarSize,\n  shape: SmartAvatarShape,\n): string {\n  return ['smart:relative', getAvatarImageClasses(size, shape), RING].join(' ');\n}\n\n/** Initials member of a stacked group. */\nexport function getAvatarGroupItemInitialsClasses(\n  size: SmartAvatarSize,\n  shape: SmartAvatarShape,\n): string {\n  return ['smart:relative', getAvatarInitialsClasses(size, shape), RING].join(\n    ' ',\n  );\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { AvatarBaseComponent } from '../base';\nimport {\n  getAvatarGroupContainerClasses,\n  getAvatarGroupItemImageClasses,\n  getAvatarGroupItemInitialsClasses,\n  getAvatarIconWrapperClasses,\n  getAvatarImageClasses,\n  getAvatarInitialsClasses,\n  getAvatarStatusClasses,\n  AVATAR_STATUS_WRAPPER,\n} from './preset-classes.util';\n\ntype AvatarMode = 'image' | 'initials' | 'icon';\n\n/**\n * Styled avatar variation (preset).\n *\n * Drop-in replacement for `AvatarStandardComponent` — register it through\n * `AVATAR_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-avatar>`, or use\n * the `<smart-avatar-preset>` selector directly.\n *\n * Renders an image, initials or icon placeholder across the `SmartAvatarSize`\n * scale in `circle`/`rounded` shapes, with an optional corner status dot and a\n * stacked group layout (`group` + `options.stackDirection`).\n */\n@Component({\n  selector: 'smart-avatar-preset',\n  templateUrl: './preset.component.html',\n  imports: [NgTemplateOutlet],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AvatarPresetComponent extends AvatarBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected mode = computed<AvatarMode>(() => {\n    if (this.imageUrl()) {\n      return 'image';\n    }\n    if (this.initials() || this.options()?.placeholderType === 'initials') {\n      return 'initials';\n    }\n    return 'icon';\n  });\n\n  protected imageClasses = computed(() =>\n    getAvatarImageClasses(this.size(), this.shape()),\n  );\n  protected initialsClasses = computed(() =>\n    getAvatarInitialsClasses(this.size(), this.shape()),\n  );\n  protected iconWrapperClasses = computed(() =>\n    getAvatarIconWrapperClasses(this.size(), this.shape()),\n  );\n\n  protected statusWrapper = AVATAR_STATUS_WRAPPER;\n  protected statusClasses = computed(() =>\n    getAvatarStatusClasses(this.size(), this.notificationPosition() ?? 'top'),\n  );\n\n  protected groupContainerClasses = computed(() =>\n    getAvatarGroupContainerClasses(this.options()?.stackDirection),\n  );\n  protected groupItemImageClasses = computed(() =>\n    getAvatarGroupItemImageClasses(this.size(), this.shape()),\n  );\n  protected groupItemInitialsClasses = computed(() =>\n    getAvatarGroupItemInitialsClasses(this.size(), this.shape()),\n  );\n}\n","<ng-template #body let-cls=\"cls\">\n  @switch (mode()) {\n    @case ('image') {\n      <img [class]=\"imageClasses() + ' ' + cls\" [src]=\"imageUrl()\" alt=\"\" />\n    }\n    @case ('initials') {\n      <span [class]=\"initialsClasses() + ' ' + cls\">{{ initials() }}</span>\n    }\n    @default {\n      <span [class]=\"iconWrapperClasses() + ' ' + cls\">\n        <svg\n          class=\"smart:size-full smart:text-gray-500 smart:dark:text-gray-400\"\n          viewBox=\"0 0 16 16\"\n          fill=\"none\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          aria-hidden=\"true\"\n        >\n          <rect\n            x=\"0.62854\"\n            y=\"0.359985\"\n            width=\"15\"\n            height=\"15\"\n            rx=\"7.5\"\n            fill=\"currentColor\"\n            class=\"smart:fill-white smart:dark:fill-gray-800\"\n          />\n          <path\n            d=\"M8.12421 7.20374C9.21151 7.20374 10.093 6.32229 10.093 5.23499C10.093 4.14767 9.21151 3.26624 8.12421 3.26624C7.0369 3.26624 6.15546 4.14767 6.15546 5.23499C6.15546 6.32229 7.0369 7.20374 8.12421 7.20374Z\"\n            fill=\"currentColor\"\n          />\n          <path\n            d=\"M11.818 10.5975C10.2992 12.6412 7.42106 13.0631 5.37731 11.5537C5.01171 11.2818 4.69296 10.9631 4.42107 10.5975C4.28982 10.4006 4.27107 10.1475 4.37419 9.94123L4.51482 9.65059C4.84296 8.95684 5.53671 8.51624 6.30546 8.51624H9.95231C10.7023 8.51624 11.3867 8.94749 11.7242 9.62249L11.8742 9.93184C11.968 10.1475 11.9586 10.4006 11.818 10.5975Z\"\n            fill=\"currentColor\"\n          />\n        </svg>\n      </span>\n    }\n  }\n</ng-template>\n\n@if (isGroup()) {\n  <div [class]=\"groupContainerClasses() + ' ' + cssClass()\">\n    @for (item of group(); track item.id) {\n      @if (item.imageUrl) {\n        <img [class]=\"groupItemImageClasses()\" [src]=\"item.imageUrl\" alt=\"\" />\n      } @else {\n        <span [class]=\"groupItemInitialsClasses()\">{{ item.initials }}</span>\n      }\n    }\n  </div>\n} @else if (notificationPosition()) {\n  <div [class]=\"statusWrapper + ' ' + cssClass()\">\n    <ng-container\n      [ngTemplateOutlet]=\"body\"\n      [ngTemplateOutletContext]=\"{ cls: '' }\"\n    />\n    <span [class]=\"statusClasses()\"></span>\n  </div>\n} @else {\n  <ng-container\n    [ngTemplateOutlet]=\"body\"\n    [ngTemplateOutletContext]=\"{ cls: cssClass() }\"\n  />\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport {\n  IAvatarItem,\n  IAvatarOptions,\n  SmartAvatarShape,\n  SmartAvatarSize,\n} from '../../models';\nimport { AVATAR_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { AvatarStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-avatar',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-avatar-standard\n        [imageUrl]=\"imageUrl()\"\n        [initials]=\"initials()\"\n        [size]=\"size()\"\n        [shape]=\"shape()\"\n        [notificationPosition]=\"notificationPosition()\"\n        [group]=\"group()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [AvatarStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AvatarComponent {\n  private injectedComponent = inject(AVATAR_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  imageUrl = input<string>();\n  initials = input<string>();\n  size = input<SmartAvatarSize>('md');\n  shape = input<SmartAvatarShape>('circle');\n  notificationPosition = input<'top' | 'bottom'>();\n  group = input<IAvatarItem[]>();\n  options = input<IAvatarOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      imageUrl: this.imageUrl(),\n      initials: this.initials(),\n      size: this.size(),\n      shape: this.shape(),\n      notificationPosition: this.notificationPosition(),\n      group: this.group(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IBadgeOptions,\n  SmartBadgeColor,\n} from '../../../models';\n\n@Directive()\nexport abstract class BadgeBaseComponent {\n  static smartType: DynamicComponentType = 'badge';\n\n  text: InputSignal<string> = input.required<string>();\n  color: InputSignal<SmartBadgeColor> = input<SmartBadgeColor>('gray');\n  size: InputSignal<'sm' | 'md'> = input<'sm' | 'md'>('md');\n  options: InputSignal<IBadgeOptions | undefined> = input<IBadgeOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  removed: OutputEmitterRef<void> = output<void>();\n\n  remove(): void {\n    this.removed.emit();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { BadgeBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-badge-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BadgeStandardComponent extends BadgeBaseComponent {}\n","<span\n  [class]=\"cssClass()\"\n  [attr.data-color]=\"color()\"\n  [attr.data-size]=\"size()\"\n  [attr.data-variant]=\"options()?.variant ?? 'soft'\"\n  [attr.data-pill]=\"options()?.pill !== false\"\n>\n  @if (options()?.withDot) {\n    <span aria-hidden=\"true\" class=\"smart-badge-dot\">&bull;</span>\n  }\n  <span class=\"smart-badge-text\">{{ text() }}</span>\n  @if (options()?.withRemove) {\n    <button type=\"button\" aria-label=\"Remove\" (click)=\"remove()\">\n      &times;\n    </button>\n  }\n</span>\n","import { SmartBadgeColor } from '../../../models';\n\nexport type SmartBadgePresetVariant = 'solid' | 'soft' | 'outline';\n\nconst SOLID_CLASSES_BY_COLOR: Record<SmartBadgeColor, string> = {\n  gray: 'smart:bg-gray-600 smart:text-white smart:dark:bg-gray-500',\n  red: 'smart:bg-red-600 smart:text-white smart:dark:bg-red-500',\n  yellow:\n    'smart:bg-yellow-400 smart:text-gray-900 smart:dark:bg-yellow-500 smart:dark:text-gray-900',\n  green: 'smart:bg-green-600 smart:text-white smart:dark:bg-green-500',\n  blue: 'smart:bg-blue-600 smart:text-white smart:dark:bg-blue-500',\n  indigo: 'smart:bg-indigo-600 smart:text-white smart:dark:bg-indigo-500',\n  purple: 'smart:bg-purple-600 smart:text-white smart:dark:bg-purple-500',\n  pink: 'smart:bg-pink-600 smart:text-white smart:dark:bg-pink-500',\n};\n\nconst SOFT_CLASSES_BY_COLOR: Record<SmartBadgeColor, string> = {\n  gray: 'smart:bg-gray-100 smart:text-gray-800 smart:dark:bg-gray-500/20 smart:dark:text-gray-300',\n  red: 'smart:bg-red-100 smart:text-red-800 smart:dark:bg-red-500/20 smart:dark:text-red-400',\n  yellow:\n    'smart:bg-yellow-100 smart:text-yellow-800 smart:dark:bg-yellow-500/20 smart:dark:text-yellow-400',\n  green:\n    'smart:bg-green-100 smart:text-green-800 smart:dark:bg-green-500/20 smart:dark:text-green-400',\n  blue: 'smart:bg-blue-100 smart:text-blue-800 smart:dark:bg-blue-500/20 smart:dark:text-blue-400',\n  indigo:\n    'smart:bg-indigo-100 smart:text-indigo-800 smart:dark:bg-indigo-500/20 smart:dark:text-indigo-400',\n  purple:\n    'smart:bg-purple-100 smart:text-purple-800 smart:dark:bg-purple-500/20 smart:dark:text-purple-400',\n  pink: 'smart:bg-pink-100 smart:text-pink-800 smart:dark:bg-pink-500/20 smart:dark:text-pink-400',\n};\n\nconst OUTLINE_CLASSES_BY_COLOR: Record<SmartBadgeColor, string> = {\n  gray: 'smart:border smart:border-gray-400 smart:text-gray-600 smart:dark:border-gray-500 smart:dark:text-gray-300',\n  red: 'smart:border smart:border-red-500 smart:text-red-600 smart:dark:border-red-400 smart:dark:text-red-400',\n  yellow:\n    'smart:border smart:border-yellow-500 smart:text-yellow-700 smart:dark:border-yellow-400 smart:dark:text-yellow-400',\n  green:\n    'smart:border smart:border-green-500 smart:text-green-700 smart:dark:border-green-400 smart:dark:text-green-400',\n  blue: 'smart:border smart:border-blue-500 smart:text-blue-700 smart:dark:border-blue-400 smart:dark:text-blue-400',\n  indigo:\n    'smart:border smart:border-indigo-500 smart:text-indigo-700 smart:dark:border-indigo-400 smart:dark:text-indigo-400',\n  purple:\n    'smart:border smart:border-purple-500 smart:text-purple-700 smart:dark:border-purple-400 smart:dark:text-purple-400',\n  pink: 'smart:border smart:border-pink-500 smart:text-pink-700 smart:dark:border-pink-400 smart:dark:text-pink-400',\n};\n\nconst DOT_CLASSES_BY_COLOR: Record<SmartBadgeColor, string> = {\n  gray: 'smart:fill-gray-500',\n  red: 'smart:fill-red-500',\n  yellow: 'smart:fill-yellow-500',\n  green: 'smart:fill-green-500',\n  blue: 'smart:fill-blue-500',\n  indigo: 'smart:fill-indigo-500',\n  purple: 'smart:fill-purple-500',\n  pink: 'smart:fill-pink-500',\n};\n\nconst BASE_BADGE = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-1.5',\n  'smart:font-medium',\n].join(' ');\n\nconst SIZE_SM = ['smart:px-2', 'smart:py-0.5', 'smart:text-xs'].join(' ');\nconst SIZE_MD = ['smart:px-3', 'smart:py-1.5', 'smart:text-xs'].join(' ');\n\nconst SHAPE_PILL = 'smart:rounded-full';\nconst SHAPE_SQUARE = 'smart:rounded-md';\n\nconst DOT_BASE = 'smart:size-1.5';\n\nconst REMOVE_BUTTON = [\n  'smart:group',\n  'smart:relative',\n  'smart:-mr-1',\n  'smart:ml-0.5',\n  'smart:size-3.5',\n  'smart:rounded-sm',\n  'smart:hover:bg-black/10',\n  'smart:dark:hover:bg-white/20',\n].join(' ');\n\nconst COLOR_MAP: Record<\n  SmartBadgePresetVariant,\n  Record<SmartBadgeColor, string>\n> = {\n  solid: SOLID_CLASSES_BY_COLOR,\n  soft: SOFT_CLASSES_BY_COLOR,\n  outline: OUTLINE_CLASSES_BY_COLOR,\n};\n\nexport function getBadgeClasses(\n  variant: SmartBadgePresetVariant,\n  color: SmartBadgeColor,\n  pill: boolean,\n  size: 'sm' | 'md',\n): string {\n  const sizeClass = size === 'sm' ? SIZE_SM : SIZE_MD;\n  const shapeClass = pill ? SHAPE_PILL : SHAPE_SQUARE;\n  return [BASE_BADGE, COLOR_MAP[variant][color], shapeClass, sizeClass].join(\n    ' ',\n  );\n}\n\nexport function getDotClasses(color: SmartBadgeColor): string {\n  return `${DOT_BASE} ${DOT_CLASSES_BY_COLOR[color]}`;\n}\n\nexport function getRemoveClasses(): string {\n  return REMOVE_BUTTON;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { BadgeBaseComponent } from '../base';\nimport {\n  getBadgeClasses,\n  getDotClasses,\n  getRemoveClasses,\n  SmartBadgePresetVariant,\n} from './preset-classes.util';\n\n/**\n * Styled badge variation (preset).\n *\n * Drop-in replacement for `BadgeStandardComponent` — register it through\n * `BADGE_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-badge>`, or use the\n * `<smart-badge-preset>` selector directly.\n *\n * Groups the solid / soft / outline color presets into a single component,\n * selected via `options.variant` (defaults to `soft`), across the shared\n * `SmartBadgeColor` palette.\n */\n@Component({\n  selector: 'smart-badge-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BadgePresetComponent extends BadgeBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected variant = computed<SmartBadgePresetVariant>(\n    () => this.options()?.variant ?? 'soft',\n  );\n\n  protected pill = computed<boolean>(() => this.options()?.pill !== false);\n\n  protected withDot = computed(() => Boolean(this.options()?.withDot));\n  protected withRemove = computed(() => Boolean(this.options()?.withRemove));\n\n  protected badgeClasses = computed(() =>\n    getBadgeClasses(this.variant(), this.color(), this.pill(), this.size()),\n  );\n  protected dotClasses = computed(() => getDotClasses(this.color()));\n  protected removeClasses = computed(() => getRemoveClasses());\n}\n","<span [class]=\"badgeClasses() + ' ' + cssClass()\">\n  @if (withDot()) {\n    <svg [class]=\"dotClasses()\" viewBox=\"0 0 6 6\" aria-hidden=\"true\">\n      <circle cx=\"3\" cy=\"3\" r=\"3\" />\n    </svg>\n  }\n  {{ text() }}\n  @if (withRemove()) {\n    <button\n      type=\"button\"\n      aria-label=\"Remove\"\n      [class]=\"removeClasses()\"\n      (click)=\"remove()\"\n    >\n      <span class=\"smart:sr-only\">Remove</span>\n      <svg\n        class=\"smart:size-3.5 smart:stroke-current smart:opacity-50 smart:group-hover:opacity-75\"\n        viewBox=\"0 0 14 14\"\n        aria-hidden=\"true\"\n      >\n        <path d=\"M4 4l6 6m0-6l-6 6\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n      </svg>\n    </button>\n  }\n</span>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IBadgeOptions, SmartBadgeColor } from '../../models';\nimport { BADGE_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { BadgeStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-badge',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-badge-standard\n        [text]=\"text()\"\n        [color]=\"color()\"\n        [size]=\"size()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (removed)=\"removed.emit()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [BadgeStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BadgeComponent {\n  private injectedComponent = inject(BADGE_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  text = input.required<string>();\n  color = input<SmartBadgeColor>('gray');\n  size = input<'sm' | 'md'>('md');\n  options = input<IBadgeOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  removed = output<void>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      text: this.text(),\n      color: this.color(),\n      size: this.size(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      removed: this.removed,\n    });\n  }\n}\n","import {\n  ChangeDetectorRef,\n  ComponentRef,\n  Directive,\n  DoCheck,\n  inject,\n  Injector,\n  NgModuleRef,\n  OnDestroy,\n  runInInjectionContext,\n  Signal,\n  signal,\n  TemplateRef,\n  ViewContainerRef,\n  WritableSignal,\n} from '@angular/core';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { MonoTypeOperatorFunction, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { DynamicContentDirective } from '../../directives';\nimport { DynamicComponentType } from '../../models';\nimport { DynamicComponentStorageService } from '../../services';\n\n@Directive()\nexport abstract class BaseComponent implements OnDestroy {\n  get takeUntilDestroy(): MonoTypeOperatorFunction<any> {\n    return takeUntil(this.destroy$);\n  }\n\n  destroy$: Subject<boolean> = new Subject<boolean>();\n\n  ngOnDestroy(): void {\n    this.destroy$.next(true);\n    this.destroy$.unsubscribe();\n  }\n}\n\nexport interface IDynamicComponent<T> extends BaseComponent {\n  baseInstance: T;\n  baseComponentRef: ComponentRef<T>;\n  template: WritableSignal<'custom' | 'default'>;\n\n  contentTpl: Signal<TemplateRef<any> | ViewContainerRef | undefined>;\n  dynamicContents: Signal<readonly DynamicContentDirective[]>;\n\n  refreshProperties(): void;\n  refreshDynamicInstance(): void;\n}\n\nexport function CreateDynamicComponent<\n  T extends {\n    contentTpl: Signal<TemplateRef<any> | ViewContainerRef | undefined>;\n  } = any,\n>(type: DynamicComponentType): new () => IDynamicComponent<T> {\n  @Directive()\n  abstract class Component extends BaseComponent implements DoCheck {\n    private cd = inject(ChangeDetectorRef);\n    private moduleRef = inject(NgModuleRef<any>);\n    private injector = inject(Injector);\n\n    private _renderCustom = false;\n    private _findDynamicContent = false;\n    private _dynamicContents$: any = null;\n\n    baseInstance: T | null = null;\n    baseComponentRef: ComponentRef<T> | null = null;\n\n    dynamicType: Readonly<DynamicComponentType> = type;\n    template: WritableSignal<'custom' | 'default'> = signal('default');\n\n    abstract contentTpl: Signal<\n      TemplateRef<any> | ViewContainerRef | undefined\n    >;\n    abstract dynamicContents: Signal<readonly DynamicContentDirective[]>;\n\n    refreshDynamicInstance() {\n      this.init();\n\n      if (!this.baseInstance) return;\n      this.refreshProperties();\n    }\n\n    abstract refreshProperties(): void;\n\n    ngDoCheck(): void {\n      if (this._findDynamicContent || !this.dynamicContents()) return;\n\n      this._findDynamicContent = true;\n\n      if (!this._dynamicContents$) {\n        this._dynamicContents$ = runInInjectionContext(this.injector, () =>\n          toObservable(this.dynamicContents),\n        );\n      }\n\n      this._dynamicContents$.pipe(this.takeUntilDestroy).subscribe(() => {\n        this.init();\n      });\n      this.init();\n    }\n\n    private init(): void {\n      const component = DynamicComponentStorageService.get(\n        this.dynamicType,\n        this.moduleRef,\n      )[0];\n      this.template.set(component ? 'custom' : 'default');\n\n      if (component && !this._renderCustom) {\n        const first = this.dynamicContents()[0];\n        if (first) {\n          this._renderCustom = true;\n          this.baseComponentRef = first.container.createComponent(component);\n          this.baseInstance = this.baseComponentRef.instance;\n          this.refreshDynamicInstance();\n          this.baseInstance\n            ?.contentTpl()\n            ?.createEmbeddedView(this.contentTpl());\n        }\n      }\n\n      if (this.cd) this.cd.detectChanges();\n    }\n  }\n\n  return Component as any;\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, IBreadcrumbsOptions } from '../../../models';\n\nexport interface IBreadcrumbsItemClick {\n  itemId: string;\n}\n\n@Directive()\nexport abstract class BreadcrumbsBaseComponent {\n  static smartType: DynamicComponentType = 'breadcrumbs';\n\n  options: InputSignal<IBreadcrumbsOptions | undefined> =\n    input<IBreadcrumbsOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  itemClick: OutputEmitterRef<IBreadcrumbsItemClick> =\n    output<IBreadcrumbsItemClick>();\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { BreadcrumbsBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-breadcrumbs-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class BreadcrumbsStandardComponent extends BreadcrumbsBaseComponent {\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n}\n","<nav\n  [class]=\"'breadcrumbs ' + cssClass()\"\n  [attr.aria-label]=\"options()?.ariaLabel ?? 'Breadcrumb'\"\n>\n  <ol role=\"list\" class=\"breadcrumbs-list\">\n    @for (item of options()?.items ?? []; track item.id; let idx = $index) {\n      <li class=\"breadcrumbs-item\">\n        @if (idx > 0) {\n          <span\n            class=\"breadcrumbs-separator\"\n            [attr.data-separator]=\"options()?.separator ?? 'chevron'\"\n            aria-hidden=\"true\"\n          ></span>\n        }\n        @if (item.href) {\n          <a\n            [href]=\"item.href\"\n            [class]=\"'breadcrumbs-link' + (item.current ? ' current' : '')\"\n            [attr.aria-current]=\"item.current ? 'page' : null\"\n          >\n            @if (item.iconTpl) {\n              <span class=\"breadcrumbs-icon\">\n                <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n              </span>\n            }\n            @if (item.label) {\n              <span class=\"breadcrumbs-label\">{{ item.label }}</span>\n            }\n            @if (item.srOnlyLabel) {\n              <span class=\"sr-only\">{{ item.srOnlyLabel }}</span>\n            }\n          </a>\n        } @else {\n          <button\n            type=\"button\"\n            [class]=\"'breadcrumbs-button' + (item.current ? ' current' : '')\"\n            [attr.aria-current]=\"item.current ? 'page' : null\"\n            (click)=\"onItemClick(item.id)\"\n          >\n            @if (item.iconTpl) {\n              <span class=\"breadcrumbs-icon\">\n                <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n              </span>\n            }\n            @if (item.label) {\n              <span class=\"breadcrumbs-label\">{{ item.label }}</span>\n            }\n            @if (item.srOnlyLabel) {\n              <span class=\"sr-only\">{{ item.srOnlyLabel }}</span>\n            }\n          </button>\n        }\n      </li>\n    }\n  </ol>\n</nav>\n","import {\n  SmartBreadcrumbsLayout,\n  SmartBreadcrumbsSeparator,\n} from '../../../models';\n\n/**\n * Class recipes for the styled (preset) breadcrumbs, translated from the\n * Preline breadcrumb component to `smart:`-prefixed vanilla Tailwind with\n * explicit `dark:` variants.\n */\n\nconst LIST_BASE = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:whitespace-nowrap',\n].join(' ');\n\nconst ITEM_BASE = ['smart:inline-flex', 'smart:items-center'].join(' ');\n\nconst LINK_BASE = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:text-sm',\n  // gray-600 rather than Preline's gray-500: the `contained` and\n  // `full-width-bar` layouts sit on a gray-100 surface, where gray-500 is\n  // 4.39:1 and misses WCAG AA.\n  'smart:text-gray-600',\n  'smart:dark:text-gray-400',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:outline-none',\n  'smart:focus:text-blue-600',\n  'smart:dark:focus:text-blue-400',\n].join(' ');\n\nconst CURRENT_BASE = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:text-sm',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:truncate',\n].join(' ');\n\nconst SEPARATOR_BASE = [\n  'smart:shrink-0',\n  'smart:mx-2',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\n// The Preline slash glyph is drawn slightly larger than the chevron/arrow.\nconst SEPARATOR_SIZE: Record<SmartBreadcrumbsSeparator, string> = {\n  chevron: 'smart:size-4',\n  slash: 'smart:size-5',\n  arrow: 'smart:size-4',\n};\n\nconst LAYOUT_CLASSES: Record<SmartBreadcrumbsLayout, string> = {\n  contained: [\n    'smart:inline-block',\n    'smart:bg-gray-100',\n    'smart:rounded-lg',\n    'smart:px-4',\n    'smart:py-3',\n    'smart:dark:bg-gray-800',\n  ].join(' '),\n  'full-width-bar': [\n    'smart:block',\n    'smart:w-full',\n    'smart:bg-gray-100',\n    'smart:border-y',\n    'smart:border-gray-200',\n    'smart:px-4',\n    'smart:py-3',\n    'smart:dark:bg-gray-800',\n    'smart:dark:border-gray-700',\n  ].join(' '),\n  'simple-with-chevrons': '',\n  'simple-with-slashes': '',\n};\n\nexport function getBreadcrumbsNavClasses(\n  layout?: SmartBreadcrumbsLayout,\n): string {\n  return layout ? LAYOUT_CLASSES[layout] : '';\n}\n\nexport function getBreadcrumbsListClasses(): string {\n  return LIST_BASE;\n}\n\nexport function getBreadcrumbsItemClasses(): string {\n  return ITEM_BASE;\n}\n\nexport function getBreadcrumbsLinkClasses(current: boolean): string {\n  return current ? CURRENT_BASE : LINK_BASE;\n}\n\nexport function getBreadcrumbsCurrentClasses(): string {\n  return CURRENT_BASE;\n}\n\nexport function getBreadcrumbsSeparatorClasses(\n  separator: SmartBreadcrumbsSeparator,\n): string {\n  return `${SEPARATOR_BASE} ${SEPARATOR_SIZE[separator]}`;\n}\n\n/**\n * Layouts that imply a separator glyph let the explicit `separator` option win\n * when both are provided.\n */\nexport function resolveBreadcrumbsSeparator(\n  separator?: SmartBreadcrumbsSeparator,\n  layout?: SmartBreadcrumbsLayout,\n): SmartBreadcrumbsSeparator {\n  if (separator) {\n    return separator;\n  }\n  if (layout === 'simple-with-slashes') {\n    return 'slash';\n  }\n  return 'chevron';\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { BreadcrumbsBaseComponent } from '../base';\nimport {\n  getBreadcrumbsItemClasses,\n  getBreadcrumbsLinkClasses,\n  getBreadcrumbsListClasses,\n  getBreadcrumbsNavClasses,\n  getBreadcrumbsSeparatorClasses,\n  resolveBreadcrumbsSeparator,\n} from './preset-classes.util';\n\n/**\n * Styled breadcrumbs variation (preset).\n *\n * Drop-in replacement for `BreadcrumbsStandardComponent` — register it through\n * `BREADCRUMBS_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-breadcrumbs>`,\n * or use the `<smart-breadcrumbs-preset>` selector directly.\n *\n * Translates the Preline breadcrumb component: muted links that brighten on\n * hover/focus, a bold non-link current crumb, and configurable separator\n * glyphs (`chevron` / `slash` / `arrow`) selected via `options.separator`.\n * The `options.layout` field additionally wraps the bar (`contained`,\n * `full-width-bar`) and can imply the separator (`simple-with-slashes`).\n */\n@Component({\n  selector: 'smart-breadcrumbs-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class BreadcrumbsPresetComponent extends BreadcrumbsBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected items = computed(() => this.options()?.items ?? []);\n\n  protected ariaLabel = computed(\n    () => this.options()?.ariaLabel ?? 'Breadcrumb',\n  );\n\n  protected separator = computed(() =>\n    resolveBreadcrumbsSeparator(\n      this.options()?.separator,\n      this.options()?.layout,\n    ),\n  );\n\n  protected navClasses = computed(() =>\n    getBreadcrumbsNavClasses(this.options()?.layout),\n  );\n  protected listClasses = computed(() => getBreadcrumbsListClasses());\n  protected itemClasses = computed(() => getBreadcrumbsItemClasses());\n  protected separatorClasses = computed(() =>\n    getBreadcrumbsSeparatorClasses(this.separator()),\n  );\n\n  protected linkClasses(current: boolean): string {\n    return getBreadcrumbsLinkClasses(current);\n  }\n\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n}\n","<nav [class]=\"navClasses() + ' ' + cssClass()\" [attr.aria-label]=\"ariaLabel()\">\n  <ol role=\"list\" [class]=\"listClasses()\">\n    @for (item of items(); track item.id; let idx = $index) {\n      <li [class]=\"itemClasses()\">\n        @if (idx > 0) {\n          @switch (separator()) {\n            @case ('slash') {\n              <svg\n                [class]=\"separatorClasses()\"\n                width=\"16\"\n                height=\"16\"\n                viewBox=\"0 0 16 16\"\n                fill=\"none\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                aria-hidden=\"true\"\n              >\n                <path\n                  d=\"M6 13L10 3\"\n                  stroke=\"currentColor\"\n                  stroke-linecap=\"round\"\n                />\n              </svg>\n            }\n            @case ('arrow') {\n              <svg\n                [class]=\"separatorClasses()\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n                aria-hidden=\"true\"\n              >\n                <path d=\"M5 12h14\" />\n                <path d=\"m12 5 7 7-7 7\" />\n              </svg>\n            }\n            @default {\n              <svg\n                [class]=\"separatorClasses()\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n                aria-hidden=\"true\"\n              >\n                <path d=\"m9 18 6-6-6-6\" />\n              </svg>\n            }\n          }\n        }\n        @if (item.current) {\n          <span [class]=\"linkClasses(true)\" aria-current=\"page\">\n            @if (item.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n            }\n            @if (item.label) {\n              {{ item.label }}\n            }\n            @if (item.srOnlyLabel) {\n              <span class=\"smart:sr-only\">{{ item.srOnlyLabel }}</span>\n            }\n          </span>\n        } @else if (item.href) {\n          <a [href]=\"item.href\" [class]=\"linkClasses(false)\">\n            @if (item.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n            }\n            @if (item.label) {\n              {{ item.label }}\n            }\n            @if (item.srOnlyLabel) {\n              <span class=\"smart:sr-only\">{{ item.srOnlyLabel }}</span>\n            }\n          </a>\n        } @else {\n          <button\n            type=\"button\"\n            [class]=\"linkClasses(false)\"\n            (click)=\"onItemClick(item.id)\"\n          >\n            @if (item.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n            }\n            @if (item.label) {\n              {{ item.label }}\n            }\n            @if (item.srOnlyLabel) {\n              <span class=\"smart:sr-only\">{{ item.srOnlyLabel }}</span>\n            }\n          </button>\n        }\n      </li>\n    }\n  </ol>\n</nav>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IBreadcrumbsOptions } from '../../models';\nimport { BREADCRUMBS_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { IBreadcrumbsItemClick } from './base/base.component';\nimport { BreadcrumbsStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-breadcrumbs',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-breadcrumbs-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (itemClick)=\"itemClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [BreadcrumbsStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbsComponent {\n  private injectedComponent = inject(BREADCRUMBS_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IBreadcrumbsOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  itemClick = output<IBreadcrumbsItemClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      itemClick: this.itemClick,\n    });\n  }\n}\n","import {\n  computed,\n  Directive,\n  input,\n  InputSignal,\n  signal,\n  viewChild,\n  ViewContainerRef,\n  WritableSignal,\n} from '@angular/core';\n\nimport {\n  SmartVariant,\n  COMPONENT_COLORS,\n  DynamicComponentType,\n  IButtonOptions,\n} from '../../../models';\n\n@Directive()\nexport abstract class ButtonBaseComponent {\n  static smartType: DynamicComponentType = 'button';\n\n  mode: WritableSignal<'default' | 'confirm'> = signal('default');\n\n  options: InputSignal<IButtonOptions> = input.required<IButtonOptions>();\n  disabled: InputSignal<boolean> = input<boolean>(false);\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  contentTpl = viewChild<ViewContainerRef>('contentTpl');\n\n  variantClasses = computed(() => {\n    const opts = this.options();\n    const variant: SmartVariant = opts?.variant ?? 'primary';\n    const color = opts?.color ?? 'indigo';\n    const classes: string[] = ['smart:font-semibold', 'smart:shadow-xs'];\n\n    const colorEntry = COMPONENT_COLORS[color] ?? COMPONENT_COLORS['indigo'];\n    classes.push(...colorEntry[variant]);\n\n    if (this.disabled()) {\n      classes.push('smart:opacity-50', 'smart:cursor-not-allowed');\n    }\n\n    return classes;\n  });\n\n  invoke(): void {\n    if (!this.options()) return;\n\n    if (this.options().confirm) {\n      this.mode.set('confirm');\n    } else {\n      this.options().click();\n    }\n  }\n\n  confirmInvoke(): void {\n    if (!this.options()) return;\n    this.options().click();\n    this.mode.set('default');\n  }\n\n  confirmCancel(): void {\n    if (!this.options()) return;\n    this.mode.set('default');\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IconComponent } from '../../icon';\nimport { ButtonBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-button-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [TranslatePipe, IconComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonStandardComponent extends ButtonBaseComponent {\n  buttonClasses = computed(() => {\n    const size = this.options()?.size ?? 'md';\n    const classes = [\n      ...this.variantClasses(),\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:justify-center',\n    ];\n\n    if (size === 'xs' || size === 'sm') {\n      classes.push('smart:rounded-sm');\n    } else {\n      classes.push('smart:rounded-md');\n    }\n\n    if (size === 'xs')\n      classes.push('smart:px-2', 'smart:py-1', 'smart:text-xs');\n    else if (size === 'sm')\n      classes.push('smart:px-2', 'smart:py-1', 'smart:text-sm');\n    else if (size === 'md')\n      classes.push('smart:px-2.5', 'smart:py-1.5', 'smart:text-sm');\n    else if (size === 'lg')\n      classes.push('smart:px-3', 'smart:py-2', 'smart:text-sm');\n    else classes.push('smart:px-3.5', 'smart:py-2.5', 'smart:text-sm');\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n}\n","@if (mode() !== 'confirm') {\n  @let loading = $safeNavigationMigration(options()?.loading?.());\n  <button\n    [type]=\"options()?.type ?? 'button'\"\n    [class]=\"buttonClasses()\"\n    [disabled]=\"disabled() || loading\"\n    (click)=\"invoke()\"\n  >\n    @if (loading) {\n      <smart-icon name=\"spinner\" />\n    } @else {\n      <ng-content></ng-content>\n    }\n  </button>\n} @else {\n  <button\n    type=\"button\"\n    class=\"smart:rounded-md smart:bg-white smart:px-3 smart:py-2 smart:text-sm smart:font-semibold smart:text-gray-900 smart:shadow-xs smart:inset-ring smart:inset-ring-gray-300 smart:hover:bg-gray-50\"\n    (click)=\"confirmCancel()\"\n  >\n    {{ 'cancel' | translate }}\n  </button>\n  <button\n    type=\"button\"\n    class=\"smart:rounded-md smart:bg-indigo-600 smart:px-3 smart:py-2 smart:text-sm smart:font-semibold smart:text-white smart:shadow-xs smart:hover:bg-indigo-500 smart:focus-visible:outline-2 smart:focus-visible:outline-offset-2 smart:focus-visible:outline-indigo-600\"\n    (click)=\"confirmInvoke()\"\n  >\n    {{ 'confirm' | translate }}\n  </button>\n}\n","import { SmartColor, SmartSize, SmartVariant } from '../../../models';\n\n/**\n * Visual style of the preset button, mapped from the shared {@link SmartVariant}:\n * `primary` -> `solid`, `secondary` -> `outline`, `soft` -> `soft`.\n */\nexport type SmartButtonPresetVariant = 'solid' | 'outline' | 'soft';\n\nconst VARIANT_BY_SMART_VARIANT: Record<SmartVariant, SmartButtonPresetVariant> =\n  {\n    primary: 'solid',\n    secondary: 'outline',\n    soft: 'soft',\n  };\n\nexport function toButtonPresetVariant(\n  variant: SmartVariant | undefined,\n): SmartButtonPresetVariant {\n  return VARIANT_BY_SMART_VARIANT[variant ?? 'primary'];\n}\n\nconst SOLID_CLASSES_BY_COLOR: Record<SmartColor, string> = {\n  slate:\n    'smart:border smart:border-slate-600 smart:bg-slate-600 smart:text-white smart:hover:bg-slate-700 smart:focus:bg-slate-700 smart:dark:border-slate-500 smart:dark:bg-slate-500 smart:dark:hover:bg-slate-600 smart:dark:focus:bg-slate-600',\n  gray: 'smart:border smart:border-gray-600 smart:bg-gray-600 smart:text-white smart:hover:bg-gray-700 smart:focus:bg-gray-700 smart:dark:border-gray-500 smart:dark:bg-gray-500 smart:dark:hover:bg-gray-600 smart:dark:focus:bg-gray-600',\n  zinc: 'smart:border smart:border-zinc-600 smart:bg-zinc-600 smart:text-white smart:hover:bg-zinc-700 smart:focus:bg-zinc-700 smart:dark:border-zinc-500 smart:dark:bg-zinc-500 smart:dark:hover:bg-zinc-600 smart:dark:focus:bg-zinc-600',\n  neutral:\n    'smart:border smart:border-neutral-600 smart:bg-neutral-600 smart:text-white smart:hover:bg-neutral-700 smart:focus:bg-neutral-700 smart:dark:border-neutral-500 smart:dark:bg-neutral-500 smart:dark:hover:bg-neutral-600 smart:dark:focus:bg-neutral-600',\n  stone:\n    'smart:border smart:border-stone-600 smart:bg-stone-600 smart:text-white smart:hover:bg-stone-700 smart:focus:bg-stone-700 smart:dark:border-stone-500 smart:dark:bg-stone-500 smart:dark:hover:bg-stone-600 smart:dark:focus:bg-stone-600',\n  red: 'smart:border smart:border-red-600 smart:bg-red-600 smart:text-white smart:hover:bg-red-700 smart:focus:bg-red-700 smart:dark:border-red-500 smart:dark:bg-red-500 smart:dark:hover:bg-red-600 smart:dark:focus:bg-red-600',\n  orange:\n    'smart:border smart:border-orange-600 smart:bg-orange-600 smart:text-white smart:hover:bg-orange-700 smart:focus:bg-orange-700 smart:dark:border-orange-500 smart:dark:bg-orange-500 smart:dark:hover:bg-orange-600 smart:dark:focus:bg-orange-600',\n  amber:\n    'smart:border smart:border-amber-600 smart:bg-amber-600 smart:text-white smart:hover:bg-amber-700 smart:focus:bg-amber-700 smart:dark:border-amber-500 smart:dark:bg-amber-500 smart:dark:hover:bg-amber-600 smart:dark:focus:bg-amber-600',\n  yellow:\n    'smart:border smart:border-yellow-600 smart:bg-yellow-600 smart:text-white smart:hover:bg-yellow-700 smart:focus:bg-yellow-700 smart:dark:border-yellow-500 smart:dark:bg-yellow-500 smart:dark:hover:bg-yellow-600 smart:dark:focus:bg-yellow-600',\n  lime: 'smart:border smart:border-lime-600 smart:bg-lime-600 smart:text-white smart:hover:bg-lime-700 smart:focus:bg-lime-700 smart:dark:border-lime-500 smart:dark:bg-lime-500 smart:dark:hover:bg-lime-600 smart:dark:focus:bg-lime-600',\n  green:\n    'smart:border smart:border-green-600 smart:bg-green-600 smart:text-white smart:hover:bg-green-700 smart:focus:bg-green-700 smart:dark:border-green-500 smart:dark:bg-green-500 smart:dark:hover:bg-green-600 smart:dark:focus:bg-green-600',\n  emerald:\n    'smart:border smart:border-emerald-600 smart:bg-emerald-600 smart:text-white smart:hover:bg-emerald-700 smart:focus:bg-emerald-700 smart:dark:border-emerald-500 smart:dark:bg-emerald-500 smart:dark:hover:bg-emerald-600 smart:dark:focus:bg-emerald-600',\n  teal: 'smart:border smart:border-teal-600 smart:bg-teal-600 smart:text-white smart:hover:bg-teal-700 smart:focus:bg-teal-700 smart:dark:border-teal-500 smart:dark:bg-teal-500 smart:dark:hover:bg-teal-600 smart:dark:focus:bg-teal-600',\n  cyan: 'smart:border smart:border-cyan-600 smart:bg-cyan-600 smart:text-white smart:hover:bg-cyan-700 smart:focus:bg-cyan-700 smart:dark:border-cyan-500 smart:dark:bg-cyan-500 smart:dark:hover:bg-cyan-600 smart:dark:focus:bg-cyan-600',\n  sky: 'smart:border smart:border-sky-600 smart:bg-sky-600 smart:text-white smart:hover:bg-sky-700 smart:focus:bg-sky-700 smart:dark:border-sky-500 smart:dark:bg-sky-500 smart:dark:hover:bg-sky-600 smart:dark:focus:bg-sky-600',\n  blue: 'smart:border smart:border-blue-600 smart:bg-blue-600 smart:text-white smart:hover:bg-blue-700 smart:focus:bg-blue-700 smart:dark:border-blue-500 smart:dark:bg-blue-500 smart:dark:hover:bg-blue-600 smart:dark:focus:bg-blue-600',\n  indigo:\n    'smart:border smart:border-indigo-600 smart:bg-indigo-600 smart:text-white smart:hover:bg-indigo-700 smart:focus:bg-indigo-700 smart:dark:border-indigo-500 smart:dark:bg-indigo-500 smart:dark:hover:bg-indigo-600 smart:dark:focus:bg-indigo-600',\n  violet:\n    'smart:border smart:border-violet-600 smart:bg-violet-600 smart:text-white smart:hover:bg-violet-700 smart:focus:bg-violet-700 smart:dark:border-violet-500 smart:dark:bg-violet-500 smart:dark:hover:bg-violet-600 smart:dark:focus:bg-violet-600',\n  purple:\n    'smart:border smart:border-purple-600 smart:bg-purple-600 smart:text-white smart:hover:bg-purple-700 smart:focus:bg-purple-700 smart:dark:border-purple-500 smart:dark:bg-purple-500 smart:dark:hover:bg-purple-600 smart:dark:focus:bg-purple-600',\n  fuchsia:\n    'smart:border smart:border-fuchsia-600 smart:bg-fuchsia-600 smart:text-white smart:hover:bg-fuchsia-700 smart:focus:bg-fuchsia-700 smart:dark:border-fuchsia-500 smart:dark:bg-fuchsia-500 smart:dark:hover:bg-fuchsia-600 smart:dark:focus:bg-fuchsia-600',\n  pink: 'smart:border smart:border-pink-600 smart:bg-pink-600 smart:text-white smart:hover:bg-pink-700 smart:focus:bg-pink-700 smart:dark:border-pink-500 smart:dark:bg-pink-500 smart:dark:hover:bg-pink-600 smart:dark:focus:bg-pink-600',\n  rose: 'smart:border smart:border-rose-600 smart:bg-rose-600 smart:text-white smart:hover:bg-rose-700 smart:focus:bg-rose-700 smart:dark:border-rose-500 smart:dark:bg-rose-500 smart:dark:hover:bg-rose-600 smart:dark:focus:bg-rose-600',\n};\n\nconst OUTLINE_CLASSES_BY_COLOR: Record<SmartColor, string> = {\n  slate:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-slate-600 smart:hover:text-slate-600 smart:focus:border-slate-600 smart:focus:text-slate-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-slate-500 smart:dark:hover:text-slate-400 smart:dark:focus:border-slate-500 smart:dark:focus:text-slate-400',\n  gray: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-gray-600 smart:hover:text-gray-600 smart:focus:border-gray-600 smart:focus:text-gray-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-gray-500 smart:dark:hover:text-gray-400 smart:dark:focus:border-gray-500 smart:dark:focus:text-gray-400',\n  zinc: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-zinc-600 smart:hover:text-zinc-600 smart:focus:border-zinc-600 smart:focus:text-zinc-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-zinc-500 smart:dark:hover:text-zinc-400 smart:dark:focus:border-zinc-500 smart:dark:focus:text-zinc-400',\n  neutral:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-neutral-600 smart:hover:text-neutral-600 smart:focus:border-neutral-600 smart:focus:text-neutral-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-neutral-500 smart:dark:hover:text-neutral-400 smart:dark:focus:border-neutral-500 smart:dark:focus:text-neutral-400',\n  stone:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-stone-600 smart:hover:text-stone-600 smart:focus:border-stone-600 smart:focus:text-stone-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-stone-500 smart:dark:hover:text-stone-400 smart:dark:focus:border-stone-500 smart:dark:focus:text-stone-400',\n  red: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-red-600 smart:hover:text-red-600 smart:focus:border-red-600 smart:focus:text-red-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-red-500 smart:dark:hover:text-red-400 smart:dark:focus:border-red-500 smart:dark:focus:text-red-400',\n  orange:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-orange-600 smart:hover:text-orange-600 smart:focus:border-orange-600 smart:focus:text-orange-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-orange-500 smart:dark:hover:text-orange-400 smart:dark:focus:border-orange-500 smart:dark:focus:text-orange-400',\n  amber:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-amber-600 smart:hover:text-amber-600 smart:focus:border-amber-600 smart:focus:text-amber-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-amber-500 smart:dark:hover:text-amber-400 smart:dark:focus:border-amber-500 smart:dark:focus:text-amber-400',\n  yellow:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-yellow-600 smart:hover:text-yellow-600 smart:focus:border-yellow-600 smart:focus:text-yellow-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-yellow-500 smart:dark:hover:text-yellow-400 smart:dark:focus:border-yellow-500 smart:dark:focus:text-yellow-400',\n  lime: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-lime-600 smart:hover:text-lime-600 smart:focus:border-lime-600 smart:focus:text-lime-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-lime-500 smart:dark:hover:text-lime-400 smart:dark:focus:border-lime-500 smart:dark:focus:text-lime-400',\n  green:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-green-600 smart:hover:text-green-600 smart:focus:border-green-600 smart:focus:text-green-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-green-500 smart:dark:hover:text-green-400 smart:dark:focus:border-green-500 smart:dark:focus:text-green-400',\n  emerald:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-emerald-600 smart:hover:text-emerald-600 smart:focus:border-emerald-600 smart:focus:text-emerald-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-emerald-500 smart:dark:hover:text-emerald-400 smart:dark:focus:border-emerald-500 smart:dark:focus:text-emerald-400',\n  teal: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-teal-600 smart:hover:text-teal-600 smart:focus:border-teal-600 smart:focus:text-teal-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-teal-500 smart:dark:hover:text-teal-400 smart:dark:focus:border-teal-500 smart:dark:focus:text-teal-400',\n  cyan: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-cyan-600 smart:hover:text-cyan-600 smart:focus:border-cyan-600 smart:focus:text-cyan-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-cyan-500 smart:dark:hover:text-cyan-400 smart:dark:focus:border-cyan-500 smart:dark:focus:text-cyan-400',\n  sky: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-sky-600 smart:hover:text-sky-600 smart:focus:border-sky-600 smart:focus:text-sky-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-sky-500 smart:dark:hover:text-sky-400 smart:dark:focus:border-sky-500 smart:dark:focus:text-sky-400',\n  blue: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-blue-600 smart:hover:text-blue-600 smart:focus:border-blue-600 smart:focus:text-blue-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-blue-500 smart:dark:hover:text-blue-400 smart:dark:focus:border-blue-500 smart:dark:focus:text-blue-400',\n  indigo:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-indigo-600 smart:hover:text-indigo-600 smart:focus:border-indigo-600 smart:focus:text-indigo-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-indigo-500 smart:dark:hover:text-indigo-400 smart:dark:focus:border-indigo-500 smart:dark:focus:text-indigo-400',\n  violet:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-violet-600 smart:hover:text-violet-600 smart:focus:border-violet-600 smart:focus:text-violet-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-violet-500 smart:dark:hover:text-violet-400 smart:dark:focus:border-violet-500 smart:dark:focus:text-violet-400',\n  purple:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-purple-600 smart:hover:text-purple-600 smart:focus:border-purple-600 smart:focus:text-purple-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-purple-500 smart:dark:hover:text-purple-400 smart:dark:focus:border-purple-500 smart:dark:focus:text-purple-400',\n  fuchsia:\n    'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-fuchsia-600 smart:hover:text-fuchsia-600 smart:focus:border-fuchsia-600 smart:focus:text-fuchsia-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-fuchsia-500 smart:dark:hover:text-fuchsia-400 smart:dark:focus:border-fuchsia-500 smart:dark:focus:text-fuchsia-400',\n  pink: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-pink-600 smart:hover:text-pink-600 smart:focus:border-pink-600 smart:focus:text-pink-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-pink-500 smart:dark:hover:text-pink-400 smart:dark:focus:border-pink-500 smart:dark:focus:text-pink-400',\n  rose: 'smart:border smart:border-gray-200 smart:text-gray-600 smart:hover:border-rose-600 smart:hover:text-rose-600 smart:focus:border-rose-600 smart:focus:text-rose-600 smart:dark:border-gray-700 smart:dark:text-gray-300 smart:dark:hover:border-rose-500 smart:dark:hover:text-rose-400 smart:dark:focus:border-rose-500 smart:dark:focus:text-rose-400',\n};\n\nconst SOFT_CLASSES_BY_COLOR: Record<SmartColor, string> = {\n  slate:\n    'smart:border smart:border-transparent smart:bg-slate-100 smart:text-slate-800 smart:hover:bg-slate-200 smart:focus:bg-slate-200 smart:dark:bg-slate-500/20 smart:dark:text-slate-400 smart:dark:hover:bg-slate-500/30 smart:dark:focus:bg-slate-500/30',\n  gray: 'smart:border smart:border-transparent smart:bg-gray-100 smart:text-gray-800 smart:hover:bg-gray-200 smart:focus:bg-gray-200 smart:dark:bg-gray-500/20 smart:dark:text-gray-400 smart:dark:hover:bg-gray-500/30 smart:dark:focus:bg-gray-500/30',\n  zinc: 'smart:border smart:border-transparent smart:bg-zinc-100 smart:text-zinc-800 smart:hover:bg-zinc-200 smart:focus:bg-zinc-200 smart:dark:bg-zinc-500/20 smart:dark:text-zinc-400 smart:dark:hover:bg-zinc-500/30 smart:dark:focus:bg-zinc-500/30',\n  neutral:\n    'smart:border smart:border-transparent smart:bg-neutral-100 smart:text-neutral-800 smart:hover:bg-neutral-200 smart:focus:bg-neutral-200 smart:dark:bg-neutral-500/20 smart:dark:text-neutral-400 smart:dark:hover:bg-neutral-500/30 smart:dark:focus:bg-neutral-500/30',\n  stone:\n    'smart:border smart:border-transparent smart:bg-stone-100 smart:text-stone-800 smart:hover:bg-stone-200 smart:focus:bg-stone-200 smart:dark:bg-stone-500/20 smart:dark:text-stone-400 smart:dark:hover:bg-stone-500/30 smart:dark:focus:bg-stone-500/30',\n  red: 'smart:border smart:border-transparent smart:bg-red-100 smart:text-red-800 smart:hover:bg-red-200 smart:focus:bg-red-200 smart:dark:bg-red-500/20 smart:dark:text-red-400 smart:dark:hover:bg-red-500/30 smart:dark:focus:bg-red-500/30',\n  orange:\n    'smart:border smart:border-transparent smart:bg-orange-100 smart:text-orange-800 smart:hover:bg-orange-200 smart:focus:bg-orange-200 smart:dark:bg-orange-500/20 smart:dark:text-orange-400 smart:dark:hover:bg-orange-500/30 smart:dark:focus:bg-orange-500/30',\n  amber:\n    'smart:border smart:border-transparent smart:bg-amber-100 smart:text-amber-800 smart:hover:bg-amber-200 smart:focus:bg-amber-200 smart:dark:bg-amber-500/20 smart:dark:text-amber-400 smart:dark:hover:bg-amber-500/30 smart:dark:focus:bg-amber-500/30',\n  yellow:\n    'smart:border smart:border-transparent smart:bg-yellow-100 smart:text-yellow-800 smart:hover:bg-yellow-200 smart:focus:bg-yellow-200 smart:dark:bg-yellow-500/20 smart:dark:text-yellow-400 smart:dark:hover:bg-yellow-500/30 smart:dark:focus:bg-yellow-500/30',\n  lime: 'smart:border smart:border-transparent smart:bg-lime-100 smart:text-lime-800 smart:hover:bg-lime-200 smart:focus:bg-lime-200 smart:dark:bg-lime-500/20 smart:dark:text-lime-400 smart:dark:hover:bg-lime-500/30 smart:dark:focus:bg-lime-500/30',\n  green:\n    'smart:border smart:border-transparent smart:bg-green-100 smart:text-green-800 smart:hover:bg-green-200 smart:focus:bg-green-200 smart:dark:bg-green-500/20 smart:dark:text-green-400 smart:dark:hover:bg-green-500/30 smart:dark:focus:bg-green-500/30',\n  emerald:\n    'smart:border smart:border-transparent smart:bg-emerald-100 smart:text-emerald-800 smart:hover:bg-emerald-200 smart:focus:bg-emerald-200 smart:dark:bg-emerald-500/20 smart:dark:text-emerald-400 smart:dark:hover:bg-emerald-500/30 smart:dark:focus:bg-emerald-500/30',\n  teal: 'smart:border smart:border-transparent smart:bg-teal-100 smart:text-teal-800 smart:hover:bg-teal-200 smart:focus:bg-teal-200 smart:dark:bg-teal-500/20 smart:dark:text-teal-400 smart:dark:hover:bg-teal-500/30 smart:dark:focus:bg-teal-500/30',\n  cyan: 'smart:border smart:border-transparent smart:bg-cyan-100 smart:text-cyan-800 smart:hover:bg-cyan-200 smart:focus:bg-cyan-200 smart:dark:bg-cyan-500/20 smart:dark:text-cyan-400 smart:dark:hover:bg-cyan-500/30 smart:dark:focus:bg-cyan-500/30',\n  sky: 'smart:border smart:border-transparent smart:bg-sky-100 smart:text-sky-800 smart:hover:bg-sky-200 smart:focus:bg-sky-200 smart:dark:bg-sky-500/20 smart:dark:text-sky-400 smart:dark:hover:bg-sky-500/30 smart:dark:focus:bg-sky-500/30',\n  blue: 'smart:border smart:border-transparent smart:bg-blue-100 smart:text-blue-800 smart:hover:bg-blue-200 smart:focus:bg-blue-200 smart:dark:bg-blue-500/20 smart:dark:text-blue-400 smart:dark:hover:bg-blue-500/30 smart:dark:focus:bg-blue-500/30',\n  indigo:\n    'smart:border smart:border-transparent smart:bg-indigo-100 smart:text-indigo-800 smart:hover:bg-indigo-200 smart:focus:bg-indigo-200 smart:dark:bg-indigo-500/20 smart:dark:text-indigo-400 smart:dark:hover:bg-indigo-500/30 smart:dark:focus:bg-indigo-500/30',\n  violet:\n    'smart:border smart:border-transparent smart:bg-violet-100 smart:text-violet-800 smart:hover:bg-violet-200 smart:focus:bg-violet-200 smart:dark:bg-violet-500/20 smart:dark:text-violet-400 smart:dark:hover:bg-violet-500/30 smart:dark:focus:bg-violet-500/30',\n  purple:\n    'smart:border smart:border-transparent smart:bg-purple-100 smart:text-purple-800 smart:hover:bg-purple-200 smart:focus:bg-purple-200 smart:dark:bg-purple-500/20 smart:dark:text-purple-400 smart:dark:hover:bg-purple-500/30 smart:dark:focus:bg-purple-500/30',\n  fuchsia:\n    'smart:border smart:border-transparent smart:bg-fuchsia-100 smart:text-fuchsia-800 smart:hover:bg-fuchsia-200 smart:focus:bg-fuchsia-200 smart:dark:bg-fuchsia-500/20 smart:dark:text-fuchsia-400 smart:dark:hover:bg-fuchsia-500/30 smart:dark:focus:bg-fuchsia-500/30',\n  pink: 'smart:border smart:border-transparent smart:bg-pink-100 smart:text-pink-800 smart:hover:bg-pink-200 smart:focus:bg-pink-200 smart:dark:bg-pink-500/20 smart:dark:text-pink-400 smart:dark:hover:bg-pink-500/30 smart:dark:focus:bg-pink-500/30',\n  rose: 'smart:border smart:border-transparent smart:bg-rose-100 smart:text-rose-800 smart:hover:bg-rose-200 smart:focus:bg-rose-200 smart:dark:bg-rose-500/20 smart:dark:text-rose-400 smart:dark:hover:bg-rose-500/30 smart:dark:focus:bg-rose-500/30',\n};\n\nconst COLOR_MAP: Record<\n  SmartButtonPresetVariant,\n  Record<SmartColor, string>\n> = {\n  solid: SOLID_CLASSES_BY_COLOR,\n  outline: OUTLINE_CLASSES_BY_COLOR,\n  soft: SOFT_CLASSES_BY_COLOR,\n};\n\nconst BASE_BUTTON = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:justify-center',\n  'smart:gap-x-2',\n  'smart:font-medium',\n  'smart:transition-colors',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst SIZE_CLASSES: Record<SmartSize, string> = {\n  xs: 'smart:px-2.5 smart:py-1.5 smart:text-xs',\n  sm: 'smart:px-3 smart:py-2 smart:text-sm',\n  md: 'smart:px-4 smart:py-3 smart:text-sm',\n  lg: 'smart:px-5 smart:py-3.5 smart:text-sm',\n  xl: 'smart:px-5 smart:py-4 smart:text-base',\n};\n\nconst CIRCULAR_SIZE_CLASSES: Record<SmartSize, string> = {\n  xs: 'smart:p-1.5 smart:text-xs',\n  sm: 'smart:p-2 smart:text-sm',\n  md: 'smart:p-3 smart:text-sm',\n  lg: 'smart:p-3.5 smart:text-sm',\n  xl: 'smart:p-4 smart:text-base',\n};\n\nconst SHAPE_ROUNDED = 'smart:rounded-lg';\nconst SHAPE_PILL = 'smart:rounded-full';\n\nexport interface ButtonPresetShape {\n  rounded: boolean;\n  circular: boolean;\n}\n\nexport function getButtonPresetClasses(\n  variant: SmartButtonPresetVariant,\n  color: SmartColor,\n  size: SmartSize,\n  shape: ButtonPresetShape,\n): string {\n  const sizeClass = shape.circular\n    ? CIRCULAR_SIZE_CLASSES[size]\n    : SIZE_CLASSES[size];\n  const shapeClass =\n    shape.circular || shape.rounded ? SHAPE_PILL : SHAPE_ROUNDED;\n\n  return [BASE_BUTTON, COLOR_MAP[variant][color], shapeClass, sizeClass].join(\n    ' ',\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IconComponent } from '../../icon';\nimport { ButtonBaseComponent } from '../base/base.component';\nimport {\n  getButtonPresetClasses,\n  SmartButtonPresetVariant,\n  toButtonPresetVariant,\n} from './preset-classes.util';\n\n/**\n * Styled button variation (preset).\n *\n * Drop-in replacement for `ButtonStandardComponent` — register it through\n * `BUTTON_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-button>`, or use\n * the `<smart-button-preset>` selector directly.\n *\n * Groups the Preline button types into a single component, selected via the\n * existing `options.variant` (`primary` -> solid, `secondary` -> outline,\n * `soft` -> soft), across the full `SmartColor` palette and every `SmartSize`.\n * Honours `options.rounded` / `options.circular`, `options.loading`,\n * `options.confirm` and the `disabled` input.\n */\n@Component({\n  selector: 'smart-button-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [TranslatePipe, IconComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonPresetComponent extends ButtonBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected variant = computed<SmartButtonPresetVariant>(() =>\n    toButtonPresetVariant(this.options()?.variant),\n  );\n\n  protected buttonClasses = computed(() =>\n    getButtonPresetClasses(\n      this.variant(),\n      this.options()?.color ?? 'indigo',\n      this.options()?.size ?? 'md',\n      {\n        rounded: Boolean(this.options()?.rounded),\n        circular: Boolean(this.options()?.circular),\n      },\n    ),\n  );\n}\n","@if (mode() !== 'confirm') {\n  @let loading = options()?.loading?.();\n  <button\n    [type]=\"options()?.type ?? 'button'\"\n    [class]=\"buttonClasses() + ' ' + cssClass()\"\n    [disabled]=\"disabled() || loading\"\n    (click)=\"invoke()\"\n  >\n    @if (loading) {\n      <smart-icon name=\"spinner\" />\n    } @else {\n      <ng-content></ng-content>\n    }\n  </button>\n} @else {\n  <div class=\"smart:inline-flex smart:flex-wrap smart:gap-2\">\n    <button\n      type=\"button\"\n      class=\"smart:inline-flex smart:items-center smart:justify-center smart:gap-x-2 smart:rounded-lg smart:border smart:border-gray-200 smart:bg-white smart:px-4 smart:py-3 smart:text-sm smart:font-medium smart:text-gray-800 smart:shadow-2xs smart:transition-colors smart:hover:bg-gray-50 smart:focus:outline-none smart:focus:bg-gray-50 smart:dark:border-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-200 smart:dark:hover:bg-gray-700 smart:dark:focus:bg-gray-700\"\n      (click)=\"confirmCancel()\"\n    >\n      {{ 'cancel' | translate }}\n    </button>\n    <button\n      type=\"button\"\n      class=\"smart:inline-flex smart:items-center smart:justify-center smart:gap-x-2 smart:rounded-lg smart:border smart:border-blue-600 smart:bg-blue-600 smart:px-4 smart:py-3 smart:text-sm smart:font-medium smart:text-white smart:transition-colors smart:hover:bg-blue-700 smart:focus:outline-none smart:focus:bg-blue-700 smart:dark:border-blue-500 smart:dark:bg-blue-500 smart:dark:hover:bg-blue-600 smart:dark:focus:bg-blue-600\"\n      (click)=\"confirmInvoke()\"\n    >\n      {{ 'confirm' | translate }}\n    </button>\n  </div>\n}\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IButtonOptions } from '../../models';\nimport { BUTTON_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { ButtonStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-button',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-button-standard\n        [options]=\"options()\"\n        [disabled]=\"disabled()\"\n        [class]=\"cssClass()\"\n      >\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-button-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ButtonStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonComponent {\n  private injectedComponent = inject(BUTTON_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input.required<IButtonOptions>();\n  disabled = input<boolean>(false);\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      disabled: this.disabled(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IButtonGroupButton,\n  IButtonGroupOptions,\n} from '../../../models';\n\nexport interface IButtonGroupButtonClick {\n  buttonId: string;\n}\n\n@Directive()\nexport abstract class ButtonGroupBaseComponent {\n  static smartType: DynamicComponentType = 'button-group';\n\n  buttons: InputSignal<IButtonGroupButton[]> = input<IButtonGroupButton[]>([]);\n  options: InputSignal<IButtonGroupOptions | undefined> =\n    input<IButtonGroupOptions>();\n  selected: ModelSignal<string | undefined> = model<string | undefined>(\n    undefined,\n  );\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  buttonClick: OutputEmitterRef<IButtonGroupButtonClick> =\n    output<IButtonGroupButtonClick>();\n\n  select(id: string): void {\n    this.selected.set(id);\n    this.buttonClick.emit({ buttonId: id });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ButtonGroupBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-button-group-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonGroupStandardComponent extends ButtonGroupBaseComponent {}\n","<div role=\"group\" [class]=\"cssClass()\">\n  @for (btn of buttons(); track btn.id) {\n    <button\n      type=\"button\"\n      [disabled]=\"btn.disabled\"\n      [attr.aria-pressed]=\"selected() === btn.id\"\n      (click)=\"select(btn.id)\"\n    >\n      @if (btn.label) {\n        <span class=\"smart-button-group-label\">{{ btn.label }}</span>\n      }\n      @if (btn.count != null) {\n        <span class=\"smart-button-group-count\">{{ btn.count }}</span>\n      }\n    </button>\n  }\n</div>\n","import { SmartButtonGroupVariant } from '../../../models';\n\nexport type ButtonGroupPresetSize = 'sm' | 'md' | 'lg';\n\n/**\n * Outer wrapper of the segmented group.\n * Preline: `inline-flex rounded-lg shadow-2xs`.\n */\nexport const BUTTON_GROUP_CONTAINER = [\n  'smart:inline-flex',\n  'smart:rounded-lg',\n  'smart:shadow-2xs',\n].join(' ');\n\n/**\n * Shared button recipe (Preline `bg-layer`/`border-layer-line`/… translated to\n * vanilla Tailwind with explicit dark variants). Padding is applied separately\n * via the size map.\n */\nconst BUTTON_BASE = [\n  'smart:-ms-px',\n  'smart:first:rounded-s-lg',\n  'smart:first:ms-0',\n  'smart:last:rounded-e-lg',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:focus:z-10',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:shadow-2xs',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst SIZE_CLASSES: Record<ButtonGroupPresetSize, string> = {\n  sm: 'smart:py-2 smart:px-3',\n  md: 'smart:py-3 smart:px-4',\n  lg: 'smart:py-3 smart:px-4 smart:sm:p-5',\n};\n\n/** Pressed/selected segment emphasis. */\nconst ACTIVE_CLASSES = [\n  'smart:bg-gray-100',\n  'smart:dark:bg-gray-700',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n].join(' ');\n\n/** Inline counter / stat pill rendered next to a label. */\nconst COUNT_BASE = [\n  'smart:ms-1',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:rounded-full',\n  'smart:px-1.5',\n  'smart:text-xs',\n  'smart:font-medium',\n].join(' ');\n\nconst COUNT_DEFAULT =\n  'smart:bg-gray-100 smart:text-gray-800 smart:dark:bg-gray-700 smart:dark:text-gray-300';\nconst COUNT_STAT =\n  'smart:bg-blue-100 smart:text-blue-800 smart:dark:bg-blue-500/20 smart:dark:text-blue-400';\n\nconst ICON = 'smart:shrink-0 smart:size-4';\n\nexport function getButtonGroupClasses(): string {\n  return BUTTON_GROUP_CONTAINER;\n}\n\nexport function getButtonGroupButtonClasses(\n  size: ButtonGroupPresetSize,\n  active: boolean,\n): string {\n  return [BUTTON_BASE, SIZE_CLASSES[size], active ? ACTIVE_CLASSES : '']\n    .join(' ')\n    .trim();\n}\n\nexport function getButtonGroupCountClasses(\n  variant: SmartButtonGroupVariant,\n): string {\n  return `${COUNT_BASE} ${variant === 'with-stat' ? COUNT_STAT : COUNT_DEFAULT}`;\n}\n\nexport function getButtonGroupIconClasses(): string {\n  return ICON;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SmartButtonGroupVariant } from '../../../models';\nimport { ButtonGroupBaseComponent } from '../base';\nimport {\n  getButtonGroupButtonClasses,\n  getButtonGroupCountClasses,\n  getButtonGroupClasses,\n  getButtonGroupIconClasses,\n} from './preset-classes.util';\n\n/**\n * Styled button group variation (preset).\n *\n * Drop-in replacement for `ButtonGroupStandardComponent` — register it through\n * `BUTTON_GROUP_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-button-group>`,\n * or use the `<smart-button-group-preset>` selector directly.\n *\n * Renders a horizontal segmented control following the Preline button-group look\n * (`bg-layer` surface, shared borders collapsed via `-ms-px`, rounded ends). The\n * active segment (matching `selected`) is emphasised. `options.variant` tweaks the\n * per-button content: `icon-only` hides labels, `with-stat` styles the count pill.\n */\n@Component({\n  selector: 'smart-button-group-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonGroupPresetComponent extends ButtonGroupBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected variant = computed<SmartButtonGroupVariant>(\n    () => this.options()?.variant ?? 'basic',\n  );\n\n  protected iconOnly = computed(() => this.variant() === 'icon-only');\n\n  protected groupClasses = computed(() => getButtonGroupClasses());\n  protected countClasses = computed(() =>\n    getButtonGroupCountClasses(this.variant()),\n  );\n  protected iconClasses = computed(() => getButtonGroupIconClasses());\n\n  protected buttonClasses(active: boolean): string {\n    // No size field exists on IButtonGroupOptions, so the medium Preline size is\n    // used for every segment (see preset-classes.util for the sm/lg recipes).\n    return getButtonGroupButtonClasses('md', active);\n  }\n}\n","<div role=\"group\" [class]=\"groupClasses() + ' ' + cssClass()\">\n  @for (btn of buttons(); track btn.id) {\n    <button\n      type=\"button\"\n      [disabled]=\"btn.disabled\"\n      [class]=\"buttonClasses(selected() === btn.id)\"\n      [attr.aria-pressed]=\"selected() === btn.id\"\n      [attr.aria-label]=\"iconOnly() ? btn.label : null\"\n      (click)=\"select(btn.id)\"\n    >\n      @if (btn.icon) {\n        <span [class]=\"iconClasses()\" aria-hidden=\"true\">{{ btn.icon }}</span>\n      }\n      @if (!iconOnly() && btn.label) {\n        <span>{{ btn.label }}</span>\n      }\n      @if (!iconOnly() && btn.count != null) {\n        <span data-role=\"count\" [class]=\"countClasses()\">{{ btn.count }}</span>\n      }\n    </button>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IButtonGroupButton, IButtonGroupOptions } from '../../models';\nimport { BUTTON_GROUP_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { IButtonGroupButtonClick } from './base/base.component';\nimport { ButtonGroupStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-button-group',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-button-group-standard\n        [buttons]=\"buttons()\"\n        [options]=\"options()\"\n        [(selected)]=\"selected\"\n        [class]=\"cssClass()\"\n        (buttonClick)=\"buttonClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ButtonGroupStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonGroupComponent {\n  private injectedComponent = inject(BUTTON_GROUP_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  buttons = input<IButtonGroupButton[]>([]);\n  options = input<IButtonGroupOptions>();\n  selected = model<string | undefined>(undefined);\n  cssClass = input<string>('', { alias: 'class' });\n\n  buttonClick = output<IButtonGroupButtonClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      buttons: this.buttons(),\n      options: this.options(),\n      selected: this.selected(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      selected: this.selected,\n      buttonClick: this.buttonClick,\n    });\n  }\n}\n","import {\n  Directive,\n  Signal,\n  computed,\n  effect,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  signal,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  ICalendarDayCell,\n  ICalendarEvent,\n  ICalendarOptions,\n  SmartCalendarView,\n} from '../../../models';\n\n@Directive()\nexport abstract class CalendarBaseComponent {\n  static smartType: DynamicComponentType = 'calendar';\n\n  options: InputSignal<ICalendarOptions | undefined> =\n    input<ICalendarOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  value: ModelSignal<Date | null> = model<Date | null>(null);\n  referenceDateInput: InputSignal<Date | undefined> = input<Date | undefined>(\n    undefined,\n    { alias: 'referenceDate' },\n  );\n  events: InputSignal<ICalendarEvent[]> = input<ICalendarEvent[]>([]);\n\n  // Internal writable reference — initialized from input or today, mutable for navigation\n  private internalReference = signal<Date>(new Date());\n\n  reference: Signal<Date> = computed(() => this.internalReference());\n\n  view: Signal<SmartCalendarView> = computed(\n    () => this.options()?.view ?? 'month',\n  );\n  weekStart: Signal<0 | 1> = computed(() => this.options()?.weekStart ?? 1);\n  showToolbar: Signal<boolean> = computed(\n    () => this.options()?.showToolbar ?? true,\n  );\n\n  monthGrid: Signal<ICalendarDayCell[][]> = computed(() =>\n    CalendarBaseComponent.buildMonthGrid(\n      this.reference(),\n      this.weekStart(),\n      this.value(),\n    ),\n  );\n\n  constructor() {\n    // Sync external input -> internal when input changes\n    effect(() => {\n      const ext = this.referenceDateInput();\n      if (ext) {\n        this.internalReference.set(ext);\n      }\n    });\n  }\n\n  static buildMonthGrid(\n    reference: Date,\n    weekStart: 0 | 1,\n    selected: Date | null,\n  ): ICalendarDayCell[][] {\n    const year = reference.getFullYear();\n    const month = reference.getMonth();\n    const firstOfMonth = new Date(year, month, 1);\n    const dayOfWeek = firstOfMonth.getDay(); // 0 = Sunday\n    const offset = (dayOfWeek - weekStart + 7) % 7;\n\n    const today = new Date();\n    today.setHours(0, 0, 0, 0);\n    const todayTime = today.getTime();\n\n    const selectedTime =\n      selected !== null\n        ? new Date(\n            selected.getFullYear(),\n            selected.getMonth(),\n            selected.getDate(),\n          ).getTime()\n        : null;\n\n    const grid: ICalendarDayCell[][] = [];\n    for (let week = 0; week < 6; week++) {\n      const row: ICalendarDayCell[] = [];\n      for (let dow = 0; dow < 7; dow++) {\n        const dayOffset = week * 7 + dow - offset;\n        const date = new Date(year, month, 1 + dayOffset);\n        const cellDay = new Date(\n          date.getFullYear(),\n          date.getMonth(),\n          date.getDate(),\n        );\n        const cellTime = cellDay.getTime();\n        row.push({\n          date,\n          isCurrentMonth: date.getMonth() === month,\n          isToday: cellTime === todayTime,\n          isSelected: selectedTime !== null && cellTime === selectedTime,\n        });\n      }\n      grid.push(row);\n    }\n    return grid;\n  }\n\n  eventsForDay(day: Date): ICalendarEvent[] {\n    const target = new Date(\n      day.getFullYear(),\n      day.getMonth(),\n      day.getDate(),\n    ).getTime();\n    return this.events().filter((event) => {\n      const eventDay = new Date(\n        event.start.getFullYear(),\n        event.start.getMonth(),\n        event.start.getDate(),\n      ).getTime();\n      return eventDay === target;\n    });\n  }\n\n  /**\n   * Accessible name for a day cell: the date string, followed by the number of\n   * events on that day when there are any (e.g. `\"Sat Jan 10 2026, 2 events\"`).\n   */\n  dayAriaLabel(day: Date): string {\n    const label = day.toDateString();\n    const count = this.eventsForDay(day).length;\n    if (!count) return label;\n    return `${label}, ${count} ${count === 1 ? 'event' : 'events'}`;\n  }\n\n  selectDay(date: Date): void {\n    this.value.set(date);\n  }\n\n  goToToday(): void {\n    this.internalReference.set(new Date());\n  }\n\n  prevPeriod(): void {\n    const ref = this.reference();\n    const v = this.view();\n    const next = new Date(ref);\n    if (v === 'month') {\n      next.setMonth(next.getMonth() - 1);\n    } else if (v === 'week') {\n      next.setDate(next.getDate() - 7);\n    } else if (v === 'day') {\n      next.setDate(next.getDate() - 1);\n    } else if (v === 'year') {\n      next.setFullYear(next.getFullYear() - 1);\n    }\n    this.internalReference.set(next);\n  }\n\n  nextPeriod(): void {\n    const ref = this.reference();\n    const v = this.view();\n    const next = new Date(ref);\n    if (v === 'month') {\n      next.setMonth(next.getMonth() + 1);\n    } else if (v === 'week') {\n      next.setDate(next.getDate() + 7);\n    } else if (v === 'day') {\n      next.setDate(next.getDate() + 1);\n    } else if (v === 'year') {\n      next.setFullYear(next.getFullYear() + 1);\n    }\n    this.internalReference.set(next);\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { CalendarBaseComponent } from '../base';\n\n/**\n * Barebones native-HTML month calendar rendered by `<smart-calendar>`.\n *\n * Days with events get `data-events=\"<count>\"`, an aria-label that mentions\n * the count and, without `options.dayCellTpl`, an `aria-hidden` event marker.\n */\n@Component({\n  selector: 'smart-calendar-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class CalendarStandardComponent extends CalendarBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"calendar\" [attr.data-view]=\"view()\">\n    @if (showToolbar()) {\n      <div class=\"toolbar\">\n        <button type=\"button\" class=\"prev\" (click)=\"prevPeriod()\">Prev</button>\n        <button type=\"button\" class=\"today-btn\" (click)=\"goToToday()\">\n          Today\n        </button>\n        <button type=\"button\" class=\"next\" (click)=\"nextPeriod()\">Next</button>\n        @if (options()?.toolbarActionsTpl) {\n          <div class=\"toolbar-actions\">\n            <ng-container [ngTemplateOutlet]=\"options()!.toolbarActionsTpl!\" />\n          </div>\n        }\n      </div>\n    }\n    <div class=\"view-grid\">\n      @for (week of monthGrid(); track $index) {\n        <div class=\"week\">\n          @for (cell of week; track cell.date.getTime()) {\n            <button\n              type=\"button\"\n              class=\"day\"\n              [attr.data-current-month]=\"cell.isCurrentMonth ? 'true' : null\"\n              [attr.data-today]=\"cell.isToday ? 'true' : null\"\n              [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n              [attr.data-events]=\"eventsForDay(cell.date).length || null\"\n              [attr.aria-label]=\"dayAriaLabel(cell.date)\"\n              (click)=\"selectDay(cell.date)\"\n            >\n              @if (options()?.dayCellTpl) {\n                <ng-container\n                  [ngTemplateOutlet]=\"options()!.dayCellTpl!\"\n                  [ngTemplateOutletContext]=\"{\n                    $implicit: cell,\n                    events: eventsForDay(cell.date),\n                  }\"\n                />\n              } @else {\n                {{ cell.date.getDate() }}\n                @if (eventsForDay(cell.date).length) {\n                  <span\n                    class=\"smart-calendar-event\"\n                    data-role=\"event-dot\"\n                    aria-hidden=\"true\"\n                  ></span>\n                }\n              }\n            </button>\n          }\n        </div>\n      }\n    </div>\n  </div>\n</div>\n","import { ICalendarDayCell } from '../../../models';\n\n// Outer popover card — Preline `bg-dropdown border border-dropdown-line shadow-lg`.\nexport const CALENDAR_PRESET_CONTAINER = [\n  'smart:w-80',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-lg',\n  'smart:rounded-xl',\n  'smart:overflow-hidden',\n].join(' ');\n\nexport const CALENDAR_PRESET_INNER = 'smart:p-3 smart:space-y-0.5';\n\n// Month/year navigation header (5-column grid: prev | label | next).\nexport const CALENDAR_PRESET_HEADER = [\n  'smart:grid',\n  'smart:grid-cols-5',\n  'smart:items-center',\n  'smart:gap-x-3',\n  'smart:mx-1.5',\n  'smart:pb-3',\n].join(' ');\n\nexport const CALENDAR_PRESET_NAV_BUTTON = [\n  'smart:size-8',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:rounded-full',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\nexport const CALENDAR_PRESET_MONTH_LABEL =\n  'smart:font-medium smart:text-gray-900 smart:dark:text-white';\n\nexport const CALENDAR_PRESET_WEEK_ROW = 'smart:flex smart:pb-1.5';\nexport const CALENDAR_PRESET_DAY_ROW = 'smart:flex';\n\nexport const CALENDAR_PRESET_WEEKDAY = [\n  'smart:m-px',\n  'smart:w-10',\n  'smart:block',\n  'smart:text-center',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const CALENDAR_PRESET_EVENT_DOT = [\n  'smart:absolute',\n  'smart:bottom-1',\n  'smart:left-1/2',\n  'smart:-translate-x-1/2',\n  'smart:size-1',\n  'smart:rounded-full',\n  'smart:bg-blue-600',\n  'smart:dark:bg-blue-500',\n].join(' ');\n\nconst DAY_BASE = [\n  'smart:m-px',\n  'smart:size-10',\n  'smart:relative',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:border-[1.5px]',\n  'smart:text-sm',\n  'smart:rounded-full',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:focus:outline-none',\n].join(' ');\n\n// Selected day — Preline `bg-primary text-primary-foreground`.\nconst DAY_SELECTED = [\n  'smart:bg-blue-600',\n  'smart:dark:bg-blue-500',\n  'smart:font-medium',\n  'smart:text-white',\n  'smart:border-transparent',\n  'smart:hover:border-blue-700',\n  'smart:dark:hover:border-blue-600',\n].join(' ');\n\n// Default current-month day — Preline `border-transparent text-foreground` with\n// `hover:border-primary-hover hover:text-primary-hover`.\nconst DAY_DEFAULT = [\n  'smart:border-transparent',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:hover:border-blue-600',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:border-blue-500',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:border-blue-600',\n  'smart:focus:text-blue-600',\n].join(' ');\n\n// Today (when not selected) — outlined ring to distinguish it.\nconst DAY_TODAY = [\n  'smart:border-blue-600',\n  'smart:dark:border-blue-500',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n  'smart:hover:border-blue-700',\n  'smart:dark:hover:border-blue-600',\n  'smart:focus:border-blue-700',\n].join(' ');\n\n// Out-of-month day — Preline renders these disabled/muted.\nconst DAY_MUTED = [\n  'smart:border-transparent',\n  'smart:text-gray-400',\n  'smart:dark:text-gray-500',\n].join(' ');\n\nexport function getCalendarPresetDayClasses(cell: ICalendarDayCell): string {\n  if (cell.isSelected) {\n    return `${DAY_BASE} ${DAY_SELECTED}`;\n  }\n  if (!cell.isCurrentMonth) {\n    return `${DAY_BASE} ${DAY_MUTED}`;\n  }\n  if (cell.isToday) {\n    return `${DAY_BASE} ${DAY_TODAY}`;\n  }\n  return `${DAY_BASE} ${DAY_DEFAULT}`;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ICalendarDayCell } from '../../../models';\nimport { CalendarBaseComponent } from '../base';\nimport {\n  CALENDAR_PRESET_CONTAINER,\n  CALENDAR_PRESET_DAY_ROW,\n  CALENDAR_PRESET_EVENT_DOT,\n  CALENDAR_PRESET_HEADER,\n  CALENDAR_PRESET_INNER,\n  CALENDAR_PRESET_MONTH_LABEL,\n  CALENDAR_PRESET_NAV_BUTTON,\n  CALENDAR_PRESET_WEEK_ROW,\n  CALENDAR_PRESET_WEEKDAY,\n  getCalendarPresetDayClasses,\n} from './preset-classes.util';\n\nconst WEEKDAY_LABELS = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];\n\n/**\n * Styled calendar variation (preset) — a single date picker.\n *\n * Drop-in replacement for `CalendarStandardComponent` — register it through\n * `CALENDAR_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-calendar>`, or\n * use the `<smart-calendar-preset>` selector directly.\n *\n * Reproduces Preline's single date-picker visual with `smart:`-prefixed vanilla\n * Tailwind. The Preline datepicker JS plugin is not used: month navigation and\n * day selection are driven entirely by the shared `CalendarBaseComponent` API\n * (signals + `(click)`).\n */\n@Component({\n  selector: 'smart-calendar-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class CalendarPresetComponent extends CalendarBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected readonly containerClass = CALENDAR_PRESET_CONTAINER;\n  protected readonly innerClass = CALENDAR_PRESET_INNER;\n  protected readonly headerClass = CALENDAR_PRESET_HEADER;\n  protected readonly navButtonClass = CALENDAR_PRESET_NAV_BUTTON;\n  protected readonly monthLabelClass = CALENDAR_PRESET_MONTH_LABEL;\n  protected readonly weekRowClass = CALENDAR_PRESET_WEEK_ROW;\n  protected readonly dayRowClass = CALENDAR_PRESET_DAY_ROW;\n  protected readonly weekdayClass = CALENDAR_PRESET_WEEKDAY;\n  protected readonly eventDotClass = CALENDAR_PRESET_EVENT_DOT;\n\n  protected monthLabel = computed(() =>\n    new Intl.DateTimeFormat('en-US', { month: 'long' }).format(\n      this.reference(),\n    ),\n  );\n\n  protected yearLabel = computed(() => this.reference().getFullYear());\n\n  // Weekday headers rotated to honour `options.weekStart` (0 = Sun, 1 = Mon).\n  protected weekdayLabels = computed(() => {\n    const start = this.weekStart();\n    return WEEKDAY_LABELS.slice(start).concat(WEEKDAY_LABELS.slice(0, start));\n  });\n\n  protected dayClasses(cell: ICalendarDayCell): string {\n    return getCalendarPresetDayClasses(cell);\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div data-role=\"calendar\" [class]=\"containerClass\">\n    <div [class]=\"innerClass\">\n      @if (showToolbar()) {\n        <div [class]=\"headerClass\">\n          <div class=\"smart:col-span-1\">\n            <button\n              type=\"button\"\n              [class]=\"navButtonClass\"\n              aria-label=\"Previous\"\n              (click)=\"prevPeriod()\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-4\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m15 18-6-6 6-6\" />\n              </svg>\n            </button>\n          </div>\n\n          <div\n            class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n          >\n            <span data-role=\"month-label\" [class]=\"monthLabelClass\">{{\n              monthLabel()\n            }}</span>\n            <span class=\"smart:text-gray-900 smart:dark:text-white\">/</span>\n            <span data-role=\"year-label\" [class]=\"monthLabelClass\">{{\n              yearLabel()\n            }}</span>\n          </div>\n\n          <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n            <button\n              type=\"button\"\n              [class]=\"navButtonClass\"\n              aria-label=\"Next\"\n              (click)=\"nextPeriod()\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-4\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m9 18 6-6-6-6\" />\n              </svg>\n            </button>\n          </div>\n        </div>\n      }\n\n      <div [class]=\"weekRowClass\">\n        @for (label of weekdayLabels(); track label) {\n          <span data-role=\"weekday\" [class]=\"weekdayClass\">{{ label }}</span>\n        }\n      </div>\n\n      @for (week of monthGrid(); track $index) {\n        <div [class]=\"dayRowClass\">\n          @for (cell of week; track cell.date.getTime()) {\n            <div>\n              <button\n                type=\"button\"\n                data-role=\"day\"\n                [class]=\"dayClasses(cell)\"\n                [disabled]=\"!cell.isCurrentMonth\"\n                [attr.data-today]=\"cell.isToday ? 'true' : null\"\n                [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n                [attr.aria-label]=\"dayAriaLabel(cell.date)\"\n                [attr.aria-pressed]=\"cell.isSelected\"\n                (click)=\"selectDay(cell.date)\"\n              >\n                @if (options()?.dayCellTpl) {\n                  <ng-container\n                    [ngTemplateOutlet]=\"options()!.dayCellTpl!\"\n                    [ngTemplateOutletContext]=\"{\n                      $implicit: cell,\n                      events: eventsForDay(cell.date),\n                    }\"\n                  />\n                } @else {\n                  {{ cell.date.getDate() }}\n                  @if (eventsForDay(cell.date).length) {\n                    <span data-role=\"event-dot\" [class]=\"eventDotClass\"></span>\n                  }\n                }\n              </button>\n            </div>\n          }\n        </div>\n      }\n    </div>\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ICalendarEvent, ICalendarOptions } from '../../models';\nimport { CALENDAR_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { CalendarStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-calendar',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-calendar-standard\n        [(value)]=\"value\"\n        [referenceDate]=\"referenceDate() ?? today\"\n        [events]=\"events()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [CalendarStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CalendarComponent {\n  private injectedComponent = inject(CALENDAR_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n  protected today = new Date();\n\n  options = input<ICalendarOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n  value = model<Date | null>(null);\n  referenceDate = input<Date | undefined>(undefined);\n  events = input<ICalendarEvent[]>([]);\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n      value: this.value(),\n      referenceDate: this.referenceDate() ?? this.today,\n      events: this.events(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      value: this.value,\n    });\n  }\n}\n","import {\n  computed,\n  Directive,\n  input,\n  InputSignal,\n  TemplateRef,\n} from '@angular/core';\n\nimport { ICardOptions } from '../../../models';\n\n@Directive()\nexport abstract class CardBaseComponent {\n  options: InputSignal<ICardOptions | undefined> = input<ICardOptions>();\n  hasHeader: InputSignal<boolean> = input<boolean>(false);\n  hasFooter: InputSignal<boolean> = input<boolean>(false);\n  // Aliased `class` so CardComponent's `[class]=\"cssClass()\"` fallback binding\n  // reaches this input instead of falling through to the DOM of the\n  // intermediate <smart-card-standard> element, where it had no effect. The\n  // wrapper's outlet inputs resolve to this public name for an implementation\n  // registered through CARD_STANDARD_COMPONENT_TOKEN.\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  headerTpl = input<TemplateRef<unknown>>();\n  bodyTpl = input.required<TemplateRef<unknown>>();\n  footerTpl = input<TemplateRef<unknown>>();\n\n  sharedContainerClasses = computed(() => {\n    const opts = this.options();\n    const classes = ['smart:overflow-hidden'];\n    const hasDivider = this.hasHeader() || this.hasFooter();\n\n    if (hasDivider && !opts?.grayFooter && !opts?.grayBody) {\n      classes.push(\n        'smart:divide-y',\n        'smart:divide-gray-200',\n        'smart:dark:divide-white/10',\n      );\n    }\n\n    return classes;\n  });\n\n  headerClasses = computed(() => {\n    return 'smart:px-4 smart:py-5 smart:sm:px-6';\n  });\n\n  bodyClasses = computed(() => {\n    const opts = this.options();\n    const classes = ['smart:px-4', 'smart:py-5', 'smart:sm:p-6'];\n\n    if (opts?.grayBody) {\n      classes.push('smart:bg-gray-50', 'smart:dark:bg-gray-800/50');\n    }\n\n    return classes.join(' ');\n  });\n\n  footerClasses = computed(() => {\n    const opts = this.options();\n    const classes = ['smart:px-4', 'smart:py-4', 'smart:sm:px-6'];\n\n    if (opts?.grayFooter) {\n      classes.push('smart:bg-gray-50', 'smart:dark:bg-gray-800/50');\n    }\n\n    return classes.join(' ');\n  });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { CardBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-card-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgTemplateOutlet],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardStandardComponent extends CardBaseComponent {\n  containerClasses = computed(() => {\n    const classes = [\n      ...this.sharedContainerClasses(),\n      'smart:rounded-lg',\n      'smart:bg-white',\n      'smart:shadow-sm',\n      'smart:dark:bg-gray-800/50',\n      'smart:dark:shadow-none',\n      'smart:dark:outline',\n      'smart:dark:-outline-offset-1',\n      'smart:dark:outline-white/10',\n    ];\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n}\n","<div [class]=\"containerClasses()\">\n  @if (hasHeader()) {\n    <div [class]=\"headerClasses()\">\n      @let title = $safeNavigationMigration(options()?.title);\n      @if (title) {\n        <h3\n          class=\"smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n        >\n          {{ title }}\n        </h3>\n      }\n      <ng-container [ngTemplateOutlet]=\"headerTpl()\"></ng-container>\n    </div>\n  }\n\n  <div [class]=\"bodyClasses()\">\n    <ng-container [ngTemplateOutlet]=\"bodyTpl()\"></ng-container>\n  </div>\n\n  @if (hasFooter()) {\n    <div [class]=\"footerClasses()\">\n      <ng-container [ngTemplateOutlet]=\"footerTpl()\"></ng-container>\n    </div>\n  }\n</div>\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ICardOptions } from '../../models';\nimport { CARD_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { CardStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-card',\n  template: `\n    <ng-template #headerTpl>\n      <ng-content select=\"[cardHeader]\"></ng-content>\n    </ng-template>\n    <ng-template #bodyTpl>\n      <ng-content></ng-content>\n    </ng-template>\n    <ng-template #footerTpl>\n      <ng-content select=\"[cardFooter]\"></ng-content>\n    </ng-template>\n\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-card-standard\n        [options]=\"options()\"\n        [hasHeader]=\"hasHeader()\"\n        [hasFooter]=\"hasFooter()\"\n        [class]=\"cssClass()\"\n        [headerTpl]=\"headerTplRef()\"\n        [bodyTpl]=\"bodyTplRef()\"\n        [footerTpl]=\"footerTplRef()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [CardStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardComponent {\n  private injectedComponent = inject(CARD_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ICardOptions>();\n  hasHeader = input<boolean>(false);\n  hasFooter = input<boolean>(false);\n  cssClass = input<string>('', { alias: 'class' });\n\n  headerTplRef = viewChild.required<TemplateRef<unknown>>('headerTpl');\n  bodyTplRef = viewChild.required<TemplateRef<unknown>>('bodyTpl');\n  footerTplRef = viewChild.required<TemplateRef<unknown>>('footerTpl');\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      hasHeader: this.hasHeader(),\n      hasFooter: this.hasFooter(),\n      cssClass: this.cssClass(),\n      headerTpl: this.headerTplRef(),\n      bodyTpl: this.bodyTplRef(),\n      footerTpl: this.footerTplRef(),\n    }),\n  );\n}\n","// Preline-styled class recipes for the card preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`), and every\n// color carries an explicit `dark:` variant. Preline semantic tokens are\n// translated to vanilla Tailwind palette classes:\n//   bg-card / border-card-line -> white|gray-800 / gray-200|gray-700\n//   bg-surface                 -> gray-50|gray-800/50\n//   shadow-2xs, rounded-xl     -> kept, prefixed\n\nconst CONTAINER_BASE = [\n  'smart:flex',\n  'smart:flex-col',\n  'smart:overflow-hidden',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-2xs',\n  'smart:rounded-xl',\n].join(' ');\n\nconst HEADER = [\n  'smart:bg-gray-50',\n  'smart:dark:bg-gray-800/50',\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-t-xl',\n  'smart:py-3',\n  'smart:px-4',\n].join(' ');\n\nconst BODY_BASE = 'smart:p-4';\n\nconst FOOTER_BASE = [\n  'smart:border-t',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-b-xl',\n  'smart:py-3',\n  'smart:px-4',\n].join(' ');\n\nconst SURFACE_GRAY = 'smart:bg-gray-50 smart:dark:bg-gray-800/50';\n\nexport function getCardContainerClasses(): string {\n  return CONTAINER_BASE;\n}\n\nexport function getCardHeaderClasses(): string {\n  return HEADER;\n}\n\nexport function getCardBodyClasses(grayBody: boolean): string {\n  return grayBody ? `${BODY_BASE} ${SURFACE_GRAY}` : BODY_BASE;\n}\n\nexport function getCardFooterClasses(grayFooter: boolean): string {\n  return grayFooter ? `${FOOTER_BASE} ${SURFACE_GRAY}` : FOOTER_BASE;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { CardBaseComponent } from '../base/base.component';\nimport {\n  getCardBodyClasses,\n  getCardContainerClasses,\n  getCardFooterClasses,\n  getCardHeaderClasses,\n} from './preset-classes.util';\n\n/**\n * Styled card variation (preset).\n *\n * Drop-in replacement for `CardStandardComponent` — register it through\n * `CARD_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-card>`, or use the\n * `<smart-card-preset>` selector directly.\n *\n * Renders the same header / body / footer template slots as the base, with the\n * Preline card look: `rounded-xl` surface, `shadow-2xs`, a bordered surface\n * header and footer. Honours `options.grayBody` / `options.grayFooter`.\n */\n@Component({\n  selector: 'smart-card-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgTemplateOutlet],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardPresetComponent extends CardBaseComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  protected containerClasses = computed(() =>\n    [getCardContainerClasses(), this.cssClass()].filter(Boolean).join(' '),\n  );\n\n  override headerClasses = computed(() => getCardHeaderClasses());\n\n  override bodyClasses = computed(() =>\n    getCardBodyClasses(Boolean(this.options()?.grayBody)),\n  );\n\n  override footerClasses = computed(() =>\n    getCardFooterClasses(Boolean(this.options()?.grayFooter)),\n  );\n}\n","<div [class]=\"containerClasses()\">\n  @if (hasHeader()) {\n    <div [class]=\"headerClasses()\">\n      @let title = options()?.title;\n      @if (title) {\n        <h3\n          class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n        >\n          {{ title }}\n        </h3>\n      }\n      <ng-container [ngTemplateOutlet]=\"headerTpl()\"></ng-container>\n    </div>\n  }\n\n  <div [class]=\"bodyClasses()\">\n    <ng-container [ngTemplateOutlet]=\"bodyTpl()\"></ng-container>\n  </div>\n\n  @if (hasFooter()) {\n    <div [class]=\"footerClasses()\">\n      <ng-container [ngTemplateOutlet]=\"footerTpl()\"></ng-container>\n    </div>\n  }\n</div>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, ICardHeadingOptions } from '../../../models';\n\n@Directive()\nexport abstract class CardHeadingBaseComponent {\n  static smartType: DynamicComponentType = 'card-heading';\n\n  options: InputSignal<ICardHeadingOptions | undefined> =\n    input<ICardHeadingOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { CardHeadingBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-card-heading-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class CardHeadingStandardComponent extends CardHeadingBaseComponent {}\n","<div [class]=\"cssClass()\">\n  @if (options()?.avatarTpl) {\n    <div class=\"avatar\">\n      <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n    </div>\n  }\n  <div class=\"content\">\n    @if (options()?.title) {\n      <h3>{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if (options()?.metaTpl) {\n      <div class=\"meta\">\n        <ng-container [ngTemplateOutlet]=\"options()!.metaTpl!\" />\n      </div>\n    }\n  </div>\n  @if (options()?.actionsTpl) {\n    <div class=\"actions\">\n      <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n    </div>\n  }\n</div>\n","// HyperUI-styled class recipes for the card-heading preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`). HyperUI\n// ships no dark twin for these cards, so explicit `dark:` variants are derived:\n//   text-gray-900        -> dark:text-white\n//   text-gray-700        -> dark:text-gray-300\n//   bg-white             -> dark:bg-gray-900\n//   border-gray-300      -> dark:border-gray-600\n//   border-black         -> dark:border-white\n//   bg-black             -> unchanged (overlay backdrop stays dark)\n\nexport type CardHeadingVariant = 'author' | 'stacked' | 'overlay' | 'outline';\n\nconst CONTAINER: Record<CardHeadingVariant, string[]> = {\n  author: [\n    'smart:block',\n    'smart:rounded-md',\n    'smart:border',\n    'smart:border-gray-300',\n    'smart:dark:border-gray-600',\n    'smart:p-4',\n    'smart:shadow-sm',\n    'smart:sm:p-6',\n  ],\n  stacked: ['smart:block'],\n  overlay: ['smart:group', 'smart:relative', 'smart:block', 'smart:bg-black'],\n  outline: [\n    'smart:group',\n    'smart:relative',\n    'smart:block',\n    'smart:h-64',\n    'smart:sm:h-80',\n    'smart:lg:h-96',\n  ],\n};\n\n/**\n * Classes for the root card element. Falls back to the `author` recipe for an\n * unknown variant.\n */\nexport function getCardHeadingContainerClasses(\n  variant: CardHeadingVariant = 'author',\n): string {\n  const recipe = CONTAINER[variant] ?? CONTAINER.author;\n  return recipe.join(' ');\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { CardHeadingStandardComponent } from '../standard/standard.component';\nimport {\n  CardHeadingVariant,\n  getCardHeadingContainerClasses,\n} from './preset-classes.util';\n\n/**\n * HyperUI-styled card-heading variation (preset).\n *\n * Drop-in replacement for `CardHeadingStandardComponent` — register it through\n * `CARD_HEADING_STANDARD_COMPONENT_TOKEN`, or use the\n * `<smart-card-heading-preset>` selector directly.\n *\n * Restyles the heading with one of four HyperUI card looks, driven by\n * `options.presentation.variant`: `author` (default), `stacked`, `overlay`, or\n * `outline`. Content comes from the shared `ICardHeadingOptions` slots (title,\n * description, avatarTpl, metaTpl, actionsTpl).\n *\n * Decorator metadata is not inherited, so the full `imports` list is repeated.\n */\n@Component({\n  selector: 'smart-card-heading-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class CardHeadingPresetComponent extends CardHeadingStandardComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  variant = computed<CardHeadingVariant>(\n    () => this.options()?.presentation?.variant ?? 'author',\n  );\n\n  containerClasses = computed(() =>\n    [getCardHeadingContainerClasses(this.variant()), this.cssClass()]\n      .filter(Boolean)\n      .join(' '),\n  );\n}\n","<div data-role=\"card\" [class]=\"containerClasses()\">\n  @switch (variant()) {\n    @case ('stacked') {\n      @if (options()?.avatarTpl) {\n        <div data-role=\"avatar\">\n          <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n        </div>\n      }\n      @if (options()?.title) {\n        <h3\n          data-role=\"title\"\n          class=\"smart:mt-4 smart:text-lg smart:font-bold smart:text-gray-900 smart:dark:text-white smart:sm:text-xl\"\n        >\n          {{ options()!.title }}\n        </h3>\n      }\n      @if (options()?.description) {\n        <p\n          data-role=\"description\"\n          class=\"smart:mt-2 smart:max-w-sm smart:text-gray-700 smart:dark:text-gray-300\"\n        >\n          {{ options()!.description }}\n        </p>\n      }\n      @if (options()?.metaTpl) {\n        <dl data-role=\"meta\" class=\"smart:mt-4 smart:flex smart:gap-4\">\n          <ng-container [ngTemplateOutlet]=\"options()!.metaTpl!\" />\n        </dl>\n      }\n      @if (options()?.actionsTpl) {\n        <div data-role=\"actions\" class=\"smart:mt-4\">\n          <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n        </div>\n      }\n    }\n    @case ('overlay') {\n      @if (options()?.avatarTpl) {\n        <div data-role=\"avatar\" class=\"smart:absolute smart:inset-0\">\n          <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n        </div>\n      }\n      <div class=\"smart:relative smart:p-4 smart:sm:p-6 smart:lg:p-8\">\n        @if (options()?.metaTpl) {\n          <div\n            data-role=\"meta\"\n            class=\"smart:text-sm smart:font-medium smart:tracking-widest smart:text-pink-500 smart:uppercase\"\n          >\n            <ng-container [ngTemplateOutlet]=\"options()!.metaTpl!\" />\n          </div>\n        }\n        @if (options()?.title) {\n          <p\n            data-role=\"title\"\n            class=\"smart:text-xl smart:font-bold smart:text-white smart:sm:text-2xl\"\n          >\n            {{ options()!.title }}\n          </p>\n        }\n        <div class=\"smart:mt-32 smart:sm:mt-48 smart:lg:mt-64\">\n          <div\n            class=\"smart:translate-y-8 smart:transform smart:opacity-0 smart:transition-all smart:group-hover:translate-y-0 smart:group-hover:opacity-100\"\n          >\n            @if (options()?.description) {\n              <p data-role=\"description\" class=\"smart:text-sm smart:text-white\">\n                {{ options()!.description }}\n              </p>\n            }\n            @if (options()?.actionsTpl) {\n              <div\n                data-role=\"actions\"\n                class=\"smart:mt-4 smart:text-sm smart:font-bold smart:text-white\"\n              >\n                <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n              </div>\n            }\n          </div>\n        </div>\n      </div>\n    }\n    @case ('outline') {\n      <span\n        class=\"smart:absolute smart:inset-0 smart:border-2 smart:border-dashed smart:border-black smart:dark:border-white\"\n      ></span>\n      <div\n        class=\"smart:relative smart:flex smart:h-full smart:transform smart:items-end smart:border-2 smart:border-black smart:dark:border-white smart:bg-white smart:dark:bg-gray-900 smart:transition-transform smart:group-hover:-translate-x-2 smart:group-hover:-translate-y-2\"\n      >\n        <div\n          class=\"smart:px-4 smart:pb-4 smart:transition-opacity smart:group-hover:absolute smart:group-hover:opacity-0 smart:sm:px-6 smart:sm:pb-4 smart:lg:px-8 smart:lg:pb-8\"\n        >\n          @if (options()?.avatarTpl) {\n            <div data-role=\"avatar\">\n              <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n            </div>\n          }\n          @if (options()?.title) {\n            <h2\n              data-role=\"title\"\n              class=\"smart:mt-4 smart:text-xl smart:font-medium smart:text-gray-900 smart:dark:text-white smart:sm:text-2xl\"\n            >\n              {{ options()!.title }}\n            </h2>\n          }\n        </div>\n        <div\n          class=\"smart:absolute smart:p-4 smart:opacity-0 smart:transition-opacity smart:group-hover:relative smart:group-hover:opacity-100 smart:sm:p-6 smart:lg:p-8\"\n        >\n          @if (options()?.title) {\n            <h3\n              data-role=\"title-hover\"\n              class=\"smart:mt-4 smart:text-xl smart:font-medium smart:text-gray-900 smart:dark:text-white smart:sm:text-2xl\"\n            >\n              {{ options()!.title }}\n            </h3>\n          }\n          @if (options()?.description) {\n            <p\n              data-role=\"description\"\n              class=\"smart:mt-4 smart:text-sm smart:text-gray-900 smart:dark:text-white smart:sm:text-base\"\n            >\n              {{ options()!.description }}\n            </p>\n          }\n          @if (options()?.actionsTpl) {\n            <div\n              data-role=\"actions\"\n              class=\"smart:mt-8 smart:font-bold smart:text-gray-900 smart:dark:text-white\"\n            >\n              <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n            </div>\n          }\n        </div>\n      </div>\n    }\n    @default {\n      <div\n        class=\"smart:sm:flex smart:sm:justify-between smart:sm:gap-4 smart:lg:gap-6\"\n      >\n        @if (options()?.avatarTpl) {\n          <div data-role=\"avatar\" class=\"smart:sm:order-last smart:sm:shrink-0\">\n            <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n          </div>\n        }\n        <div class=\"smart:mt-4 smart:sm:mt-0\">\n          @if (options()?.title) {\n            <h3\n              data-role=\"title\"\n              class=\"smart:text-lg smart:font-medium smart:text-pretty smart:text-gray-900 smart:dark:text-white\"\n            >\n              {{ options()!.title }}\n            </h3>\n          }\n          @if (options()?.description) {\n            <p\n              data-role=\"description\"\n              class=\"smart:mt-4 smart:line-clamp-2 smart:text-sm smart:text-pretty smart:text-gray-700 smart:dark:text-gray-300\"\n            >\n              {{ options()!.description }}\n            </p>\n          }\n        </div>\n      </div>\n      @if (options()?.metaTpl) {\n        <dl\n          data-role=\"meta\"\n          class=\"smart:mt-6 smart:flex smart:gap-4 smart:lg:gap-6\"\n        >\n          <ng-container [ngTemplateOutlet]=\"options()!.metaTpl!\" />\n        </dl>\n      }\n      @if (options()?.actionsTpl) {\n        <div data-role=\"actions\" class=\"smart:mt-4\">\n          <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n        </div>\n      }\n    }\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ICardHeadingOptions } from '../../models';\nimport { CARD_HEADING_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { CardHeadingStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-card-heading',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-card-heading-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [CardHeadingStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardHeadingComponent {\n  private injectedComponent = inject(CARD_HEADING_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ICardHeadingOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import {\n  Directive,\n  computed,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n  Signal,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  ICommand,\n  ICommandPaletteOptions,\n} from '../../../models';\n\n@Directive()\nexport abstract class CommandPaletteBaseComponent {\n  static smartType: DynamicComponentType = 'command-palette';\n\n  commands: InputSignal<ICommand[]> = input<ICommand[]>([]);\n  open: ModelSignal<boolean> = model<boolean>(false);\n  query: ModelSignal<string> = model<string>('');\n  options: InputSignal<ICommandPaletteOptions | undefined> =\n    input<ICommandPaletteOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  filteredCommands: Signal<ICommand[]> = computed(() => {\n    const q = this.query().toLowerCase();\n    if (!q) return this.commands();\n    return this.commands().filter((c) => c.label.toLowerCase().includes(q));\n  });\n\n  runCommand: OutputEmitterRef<{ commandId: string }> = output<{\n    commandId: string;\n  }>();\n\n  selectCommand(commandId: string): void {\n    this.runCommand.emit({ commandId });\n    this.open.set(false);\n  }\n\n  close(): void {\n    this.open.set(false);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { CommandPaletteBaseComponent } from '../base';\n\n/**\n * Barebones native-HTML command palette: a `<dialog>` with a search input and a\n * `listbox` of the filtered commands. Escape anywhere in the document closes\n * an open palette (the listener is inherited by the preset).\n */\n@Component({\n  selector: 'smart-command-palette-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  host: { '(document:keydown.escape)': 'onEscape()' },\n})\nexport class CommandPaletteStandardComponent extends CommandPaletteBaseComponent {\n  onQueryChange(event: Event): void {\n    const target = event.target as HTMLInputElement;\n    this.query.set(target.value);\n  }\n\n  /** Closes the palette when it is open; does nothing otherwise. */\n  onEscape(): void {\n    if (this.open()) this.close();\n  }\n}\n","<dialog [open]=\"open()\" [class]=\"cssClass()\" (close)=\"close()\">\n  <input\n    type=\"search\"\n    [value]=\"query()\"\n    [attr.placeholder]=\"options()?.placeholder ?? null\"\n    [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n    (input)=\"onQueryChange($event)\"\n  />\n  <ul role=\"listbox\">\n    @for (command of filteredCommands(); track command.id) {\n      <li role=\"option\" (click)=\"selectCommand(command.id)\">\n        {{ command.label }}\n      </li>\n    } @empty {\n      <li class=\"smart-command-palette-empty\">\n        {{ options()?.emptyText ?? 'No results' }}\n      </li>\n    }\n  </ul>\n</dialog>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ICommand, ICommandPaletteOptions } from '../../models';\nimport { COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { CommandPaletteStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-command-palette',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-command-palette-standard\n        [commands]=\"commands()\"\n        [(open)]=\"open\"\n        [(query)]=\"query\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (runCommand)=\"runCommand.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [CommandPaletteStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CommandPaletteComponent {\n  private injectedComponent = inject(COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  commands = input<ICommand[]>([]);\n  open = model<boolean>(false);\n  query = model<string>('');\n  options = input<ICommandPaletteOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  runCommand = output<{ commandId: string }>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      commands: this.commands(),\n      open: this.open(),\n      query: this.query(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      open: this.open,\n      query: this.query,\n      runCommand: this.runCommand,\n    });\n  }\n}\n","import { SmartCommandPaletteVariant } from '../../../models';\n\n/**\n * Class recipes for the styled command-palette preset.\n *\n * This component group ships with no source template library, so the classes\n * below are hand-authored vanilla Tailwind, `smart:`-prefixed with explicit\n * `dark:` twins in the same template. All symbols are prefixed with\n * `CommandPalette`/`getCommandPalette` to stay collision-free once the library\n * is barrelled with `export *`.\n */\n\n// Shared dialog chrome (everything except the background, which varies by\n// variant so semi-transparent can swap in a translucent blurred surface).\nconst DIALOG_BASE = [\n  'smart:mx-auto',\n  'smart:mt-16',\n  'smart:w-full',\n  'smart:max-w-xl',\n  'smart:rounded-xl',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:p-0',\n  'smart:shadow-xl',\n].join(' ');\n\nconst DIALOG_OPAQUE_BG = 'smart:bg-white smart:dark:bg-gray-800';\n\nconst DIALOG_TRANSLUCENT_BG =\n  'smart:bg-white/90 smart:dark:bg-gray-800/90 smart:backdrop-blur';\n\n// The two-pane preview variant needs more horizontal room.\nconst DIALOG_WIDE = 'smart:max-w-3xl';\n\nexport const COMMAND_PALETTE_SEARCH_WRAP = 'smart:relative';\n\nexport const COMMAND_PALETTE_SEARCH_ICON = [\n  'smart:pointer-events-none',\n  'smart:absolute',\n  'smart:start-4',\n  'smart:top-1/2',\n  'smart:size-4',\n  'smart:-translate-y-1/2',\n  'smart:text-gray-400',\n  'smart:dark:text-gray-500',\n].join(' ');\n\nexport const COMMAND_PALETTE_SEARCH = [\n  'smart:w-full',\n  'smart:border-0',\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:bg-transparent',\n  'smart:py-3',\n  'smart:ps-11',\n  'smart:pe-4',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:placeholder-gray-400',\n  'smart:dark:placeholder-gray-500',\n  'smart:focus:ring-2',\n  'smart:focus:ring-blue-500',\n  'smart:focus:outline-none',\n].join(' ');\n\nconst LIST_BASE = [\n  'smart:max-h-80',\n  'smart:overflow-y-auto',\n  'smart:divide-y',\n  'smart:divide-gray-200',\n  'smart:dark:divide-gray-700',\n].join(' ');\n\nconst ITEM_BASE = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-3',\n  'smart:cursor-pointer',\n  'smart:text-gray-900',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n].join(' ');\n\nconst ITEM_PADDING_DEFAULT = 'smart:px-4 smart:py-2';\nconst ITEM_PADDING_LOOSE = 'smart:px-6 smart:py-4';\n\nexport const COMMAND_PALETTE_ITEM_ICON = [\n  'smart:inline-flex',\n  'smart:size-6',\n  'smart:shrink-0',\n  'smart:items-center',\n  'smart:justify-center',\n  'smart:rounded-md',\n  'smart:bg-gray-100',\n  'smart:dark:bg-gray-700',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:text-gray-600',\n  'smart:dark:text-gray-300',\n].join(' ');\n\nexport const COMMAND_PALETTE_ITEM_IMAGE = [\n  'smart:size-8',\n  'smart:shrink-0',\n  'smart:rounded-full',\n  'smart:object-cover',\n].join(' ');\n\nexport const COMMAND_PALETTE_ITEM_LABEL = 'smart:flex-1 smart:truncate';\n\nexport const COMMAND_PALETTE_GROUP = [\n  'smart:bg-gray-50',\n  'smart:dark:bg-gray-800/60',\n  'smart:px-4',\n  'smart:py-1.5',\n  'smart:text-xs',\n  'smart:font-semibold',\n  'smart:tracking-wide',\n  'smart:uppercase',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const COMMAND_PALETTE_EMPTY = [\n  'smart:px-4',\n  'smart:py-8',\n  'smart:text-center',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const COMMAND_PALETTE_FOOTER = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:justify-between',\n  'smart:border-t',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:px-4',\n  'smart:py-2.5',\n  'smart:text-xs',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const COMMAND_PALETTE_PREVIEW_LAYOUT = 'smart:flex';\n\nexport const COMMAND_PALETTE_PREVIEW = [\n  'smart:w-1/2',\n  'smart:shrink-0',\n  'smart:border-s',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:p-4',\n  'smart:text-sm',\n  'smart:text-gray-600',\n  'smart:dark:text-gray-300',\n].join(' ');\n\nexport function getCommandPaletteDialogClasses(\n  variant: SmartCommandPaletteVariant,\n): string {\n  const background =\n    variant === 'semi-transparent' ? DIALOG_TRANSLUCENT_BG : DIALOG_OPAQUE_BG;\n  return [\n    DIALOG_BASE,\n    background,\n    variant === 'with-preview' ? DIALOG_WIDE : '',\n  ]\n    .filter(Boolean)\n    .join(' ');\n}\n\nexport function getCommandPaletteListClasses(\n  variant: SmartCommandPaletteVariant,\n): string {\n  // The preview variant renders the list in a fixed half-width pane.\n  return [\n    LIST_BASE,\n    variant === 'with-preview' ? 'smart:w-1/2 smart:flex-1' : '',\n  ]\n    .filter(Boolean)\n    .join(' ');\n}\n\nexport function getCommandPaletteItemClasses(\n  variant: SmartCommandPaletteVariant,\n): string {\n  const padding =\n    variant === 'with-padding' ? ITEM_PADDING_LOOSE : ITEM_PADDING_DEFAULT;\n  return `${ITEM_BASE} ${padding}`;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ICommand, SmartCommandPaletteVariant } from '../../../models';\nimport { CommandPaletteStandardComponent } from '../standard/standard.component';\nimport {\n  COMMAND_PALETTE_EMPTY,\n  COMMAND_PALETTE_FOOTER,\n  COMMAND_PALETTE_GROUP,\n  COMMAND_PALETTE_ITEM_ICON,\n  COMMAND_PALETTE_ITEM_IMAGE,\n  COMMAND_PALETTE_ITEM_LABEL,\n  COMMAND_PALETTE_PREVIEW,\n  COMMAND_PALETTE_PREVIEW_LAYOUT,\n  COMMAND_PALETTE_SEARCH,\n  COMMAND_PALETTE_SEARCH_ICON,\n  COMMAND_PALETTE_SEARCH_WRAP,\n  getCommandPaletteDialogClasses,\n  getCommandPaletteItemClasses,\n  getCommandPaletteListClasses,\n} from './preset-classes.util';\n\ninterface ICommandGroup {\n  group: string;\n  commands: ICommand[];\n}\n\n/**\n * Styled command-palette variation (preset).\n *\n * Drop-in replacement for `CommandPaletteStandardComponent` — register it via\n * `COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-command-palette>`, or use the `<smart-command-palette-preset>`\n * selector directly. All filtering/selection logic is inherited from the base;\n * this component only adds the visual variants driven by `options.variant`.\n */\n@Component({\n  selector: 'smart-command-palette-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class CommandPalettePresetComponent extends CommandPaletteStandardComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  private readonly previewOverride = signal<ICommand | null>(null);\n\n  protected readonly variant = computed<SmartCommandPaletteVariant>(\n    () => this.options()?.variant ?? 'simple',\n  );\n\n  protected readonly emptyText = computed(\n    () => this.options()?.emptyText ?? 'No results',\n  );\n\n  protected readonly groupedCommands = computed<ICommandGroup[]>(() => {\n    const groups: ICommandGroup[] = [];\n    for (const command of this.filteredCommands()) {\n      const key = command.group ?? 'Other';\n      const existing = groups.find((g) => g.group === key);\n      if (existing) {\n        existing.commands.push(command);\n      } else {\n        groups.push({ group: key, commands: [command] });\n      }\n    }\n    return groups;\n  });\n\n  // Defaults to the first result; hovering a row overrides it.\n  protected readonly previewCommand = computed<ICommand | null>(\n    () => this.previewOverride() ?? this.filteredCommands()[0] ?? null,\n  );\n\n  protected readonly dialogClasses = computed(() =>\n    [getCommandPaletteDialogClasses(this.variant()), this.cssClass()]\n      .filter(Boolean)\n      .join(' '),\n  );\n\n  protected readonly listClasses = computed(() =>\n    getCommandPaletteListClasses(this.variant()),\n  );\n\n  protected readonly itemClasses = computed(() =>\n    getCommandPaletteItemClasses(this.variant()),\n  );\n\n  protected readonly searchWrapClasses = COMMAND_PALETTE_SEARCH_WRAP;\n  protected readonly searchIconClasses = COMMAND_PALETTE_SEARCH_ICON;\n  protected readonly searchClasses = COMMAND_PALETTE_SEARCH;\n  protected readonly itemIconClasses = COMMAND_PALETTE_ITEM_ICON;\n  protected readonly itemImageClasses = COMMAND_PALETTE_ITEM_IMAGE;\n  protected readonly itemLabelClasses = COMMAND_PALETTE_ITEM_LABEL;\n  protected readonly groupClasses = COMMAND_PALETTE_GROUP;\n  protected readonly emptyClasses = COMMAND_PALETTE_EMPTY;\n  protected readonly footerClasses = COMMAND_PALETTE_FOOTER;\n  protected readonly previewLayoutClasses = COMMAND_PALETTE_PREVIEW_LAYOUT;\n  protected readonly previewClasses = COMMAND_PALETTE_PREVIEW;\n\n  protected setPreview(command: ICommand): void {\n    this.previewOverride.set(command);\n  }\n}\n","<dialog\n  data-role=\"dialog\"\n  [open]=\"open()\"\n  [class]=\"dialogClasses()\"\n  (close)=\"close()\"\n>\n  <div data-role=\"search-wrap\" [class]=\"searchWrapClasses\">\n    <svg\n      [class]=\"searchIconClasses\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"24\"\n      height=\"24\"\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      stroke-width=\"2\"\n      stroke-linecap=\"round\"\n      stroke-linejoin=\"round\"\n      aria-hidden=\"true\"\n    >\n      <circle cx=\"11\" cy=\"11\" r=\"8\" />\n      <path d=\"m21 21-4.3-4.3\" />\n    </svg>\n    <input\n      data-role=\"search\"\n      type=\"search\"\n      [class]=\"searchClasses\"\n      [value]=\"query()\"\n      [attr.placeholder]=\"options()?.placeholder ?? null\"\n      [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n      (input)=\"onQueryChange($event)\"\n    />\n  </div>\n\n  @switch (variant()) {\n    @case ('with-preview') {\n      <div data-role=\"preview-layout\" [class]=\"previewLayoutClasses\">\n        <ul data-role=\"list\" role=\"listbox\" [class]=\"listClasses()\">\n          @for (command of filteredCommands(); track command.id) {\n            <li\n              data-role=\"item\"\n              role=\"option\"\n              [class]=\"itemClasses()\"\n              (mouseenter)=\"setPreview(command)\"\n              (click)=\"selectCommand(command.id)\"\n            >\n              <ng-container\n                *ngTemplateOutlet=\"row; context: { $implicit: command }\"\n              />\n            </li>\n          } @empty {\n            <li data-role=\"empty\" [class]=\"emptyClasses\">{{ emptyText() }}</li>\n          }\n        </ul>\n        <div data-role=\"preview\" [class]=\"previewClasses\">\n          @if (previewCommand(); as pc) {\n            <p\n              class=\"smart:font-medium smart:text-gray-900 smart:dark:text-white\"\n            >\n              {{ pc.label }}\n            </p>\n            @if (pc.description) {\n              <p class=\"smart:mt-1\">{{ pc.description }}</p>\n            }\n          }\n        </div>\n      </div>\n    }\n    @case ('with-groups') {\n      <ul data-role=\"list\" role=\"listbox\" [class]=\"listClasses()\">\n        @for (grp of groupedCommands(); track grp.group) {\n          <li data-role=\"group\" [class]=\"groupClasses\">{{ grp.group }}</li>\n          @for (command of grp.commands; track command.id) {\n            <li\n              data-role=\"item\"\n              role=\"option\"\n              [class]=\"itemClasses()\"\n              (click)=\"selectCommand(command.id)\"\n            >\n              <ng-container\n                *ngTemplateOutlet=\"row; context: { $implicit: command }\"\n              />\n            </li>\n          }\n        } @empty {\n          <li data-role=\"empty\" [class]=\"emptyClasses\">{{ emptyText() }}</li>\n        }\n      </ul>\n    }\n    @default {\n      <ul data-role=\"list\" role=\"listbox\" [class]=\"listClasses()\">\n        @for (command of filteredCommands(); track command.id) {\n          <li\n            data-role=\"item\"\n            role=\"option\"\n            [class]=\"itemClasses()\"\n            (click)=\"selectCommand(command.id)\"\n          >\n            <ng-container\n              *ngTemplateOutlet=\"row; context: { $implicit: command }\"\n            />\n          </li>\n        } @empty {\n          <li data-role=\"empty\" [class]=\"emptyClasses\">{{ emptyText() }}</li>\n        }\n      </ul>\n    }\n  }\n\n  @if (variant() === 'with-footer') {\n    <div data-role=\"footer\" [class]=\"footerClasses\">\n      <span>{{ filteredCommands().length }} results</span>\n      <span>Enter to run &middot; Esc to close</span>\n    </div>\n  }\n</dialog>\n\n<ng-template #row let-command>\n  @if (variant() === 'with-images' && command.imageUrl) {\n    <img\n      data-role=\"item-image\"\n      [class]=\"itemImageClasses\"\n      [src]=\"command.imageUrl\"\n      [alt]=\"command.label\"\n    />\n  } @else if (variant() === 'with-icons') {\n    <span data-role=\"item-icon\" [class]=\"itemIconClasses\">{{\n      command.icon ?? '#'\n    }}</span>\n  }\n  <span [class]=\"itemLabelClasses\">{{ command.label }}</span>\n</ng-template>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IContainerOptions } from '../../../models';\n\n@Directive()\nexport abstract class ContainerBaseComponent {\n  static smartType: DynamicComponentType = 'container';\n\n  options: InputSignal<IContainerOptions | undefined> =\n    input<IContainerOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ContainerBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-container-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainerStandardComponent extends ContainerBaseComponent {}\n","<div\n  [class]=\"cssClass()\"\n  [attr.data-mode]=\"options()?.mode ?? null\"\n  [attr.data-padding]=\"options()?.padding ?? null\"\n>\n  <ng-content />\n</div>\n","// Class recipes for the container preset. Every utility is `smart:`-prefixed\n// (Tailwind v4 `prefix(smart)`). The container is a neutral layout primitive,\n// so the recipe only controls horizontal rhythm (centering, max-width, padding)\n// and adds no colors.\n\nimport { IContainerOptions } from '../../../models';\n\ntype ContainerMode = NonNullable<IContainerOptions['mode']>;\ntype ContainerPadding = NonNullable<IContainerOptions['padding']>;\n\nconst MODE_CLASSES: Record<ContainerMode, string[]> = {\n  container: ['smart:mx-auto', 'smart:max-w-7xl'],\n  constrained: ['smart:mx-auto', 'smart:max-w-5xl'],\n  'full-width': ['smart:w-full'],\n};\n\nconst PADDING_CLASSES: Record<Exclude<ContainerPadding, 'none'>, string[]> = {\n  always: ['smart:px-4', 'smart:sm:px-6', 'smart:lg:px-8'],\n  mobile: ['smart:px-4', 'smart:sm:px-0'],\n};\n\n/**\n * Classes for the root container element. An unset mode behaves like\n * `full-width` (the standard component has no styling default). When `narrow`\n * is set, the max-width is tightened to `max-w-3xl` and wins over the mode's\n * own max-width, ensuring the content stays centered.\n */\nexport function getContainerClasses(\n  mode?: ContainerMode,\n  padding?: ContainerPadding,\n  narrow?: boolean,\n): string {\n  let classes = [\n    ...(MODE_CLASSES[mode ?? 'full-width'] ?? MODE_CLASSES['full-width']),\n  ];\n\n  if (narrow) {\n    classes = classes.filter((c) => !c.startsWith('smart:max-w-'));\n    if (!classes.includes('smart:mx-auto')) {\n      classes.push('smart:mx-auto');\n    }\n    classes.push('smart:max-w-3xl');\n  }\n\n  const paddingClasses =\n    padding && padding !== 'none' ? PADDING_CLASSES[padding] : [];\n\n  return [...classes, ...paddingClasses].join(' ');\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ContainerStandardComponent } from '../standard/standard.component';\nimport { getContainerClasses } from './preset-classes.util';\n\n/**\n * Styled container variation (preset).\n *\n * Drop-in replacement for `ContainerStandardComponent` — register it through\n * `CONTAINER_STANDARD_COMPONENT_TOKEN`, or use the `<smart-container-preset>`\n * selector directly. Unlike the neutral standard component, this variant maps\n * `IContainerOptions` (`mode`, `padding`, `narrow`) to real layout utilities.\n *\n * Decorator metadata is not inherited, but the standard component declares no\n * imports, so none are repeated here.\n */\n@Component({\n  selector: 'smart-container-preset',\n  template: `\n    <div [class]=\"containerClasses()\" data-role=\"container\">\n      <ng-content />\n    </div>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainerPresetComponent extends ContainerStandardComponent {\n  // Redeclared without an alias so `[cssClass]` also binds when the preset is\n  // used directly; the inherited `class` alias keeps working, and the wrapper\n  // reaches either name through outletInputs().\n  override cssClass = input<string>('');\n\n  containerClasses = computed(() =>\n    [\n      getContainerClasses(\n        this.options()?.mode,\n        this.options()?.padding,\n        this.options()?.narrow,\n      ),\n      this.cssClass(),\n    ]\n      .filter(Boolean)\n      .join(' '),\n  );\n}\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IContainerOptions } from '../../models';\nimport { CONTAINER_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { ContainerStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-container',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-container-standard [options]=\"options()\" [class]=\"cssClass()\">\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-container-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ContainerStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainerComponent {\n  private injectedComponent = inject(CONTAINER_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IContainerOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","import {\n  ChangeDetectorRef,\n  Directive,\n  inject,\n  model,\n  output,\n} from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport moment from 'moment';\n\nexport type DateEditVariantName = 'standard' | 'preset';\n\n@Directive()\nexport abstract class DateEditBaseComponent implements ControlValueAccessor {\n  protected cd = inject(ChangeDetectorRef);\n  DEFAULT_DATE = '2001-01-01';\n\n  ngModel = model(this.DEFAULT_DATE);\n  validDate = true;\n\n  propagateChange = (val: any) => {}; // eslint-disable-line\n  propagateTouched = () => {}; // eslint-disable-line\n\n  validChange = output<boolean>();\n\n  get d1(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[8];\n  }\n  set d1(val: string) {\n    this.setValueAt(val, 8);\n  }\n  get d2(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[9];\n  }\n  set d2(val: string) {\n    this.setValueAt(val, 9);\n  }\n\n  get m1(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[5];\n  }\n  set m1(val: string) {\n    this.setValueAt(val, 5);\n  }\n  get m2(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[6];\n  }\n  set m2(val: string) {\n    this.setValueAt(val, 6);\n  }\n\n  get y1(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[0];\n  }\n  set y1(val: string) {\n    this.setValueAt(val, 0);\n  }\n  get y2(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[1];\n  }\n  set y2(val: string) {\n    this.setValueAt(val, 1);\n  }\n  get y3(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[2];\n  }\n  set y3(val: string) {\n    this.setValueAt(val, 2);\n  }\n  get y4(): string | null {\n    if (!this.ngModel()) return null;\n    return this.ngModel()[3];\n  }\n  set y4(val: string) {\n    this.setValueAt(val, 3);\n  }\n\n  writeValue(value: any): void {\n    this.ngModel.set(value);\n    this.cd.detectChanges();\n  }\n\n  registerOnChange(fn: any): void {\n    this.propagateChange = fn;\n  }\n\n  registerOnTouched(fn: any): void {\n    this.propagateTouched = fn;\n  }\n\n  moveTo(event: KeyboardEvent, el: HTMLInputElement): void {\n    if (event.key === 'Backspace' || event.key === 'Enter') return;\n\n    const allowKeys = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];\n\n    if (!allowKeys.some((k) => k === event.key)) {\n      (event.target as HTMLInputElement).value = '0';\n      return;\n    }\n\n    (event.target as HTMLInputElement).value = (\n      event.target as HTMLInputElement\n    ).value.substr(0, 1);\n\n    el.focus();\n    this.select(el);\n  }\n\n  select(el: HTMLInputElement): void {\n    setTimeout(() => {\n      if (el) {\n        el.value = el.value.substr(0, 1);\n        el.setSelectionRange(0, el.value.length);\n      }\n    });\n  }\n\n  protected setValueAt(val: string, index: number): void {\n    if (val === null) return;\n\n    val = val.toString().substr(0, 1);\n    const newValue = Number(val);\n    if (!this.ngModel() || newValue > 9 || newValue < 0)\n      this.ngModel.set(this.DEFAULT_DATE);\n    this.ngModel.set(this.setCharAt(this.ngModel(), index, newValue));\n\n    this.validDate = moment(this.ngModel()).isValid();\n\n    if (this.validDate) {\n      this.writeValue(this.ngModel());\n      this.propagateChange(this.ngModel());\n      this.propagateTouched();\n    } else {\n      this.propagateChange(null);\n      this.propagateTouched();\n    }\n\n    this.validChange.emit(this.validDate);\n  }\n\n  private setCharAt(str: any, index: any, chr: any) {\n    if (index > str.length - 1) return str;\n    return str.substring(0, index) + chr + str.substring(index + 1);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  forwardRef,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { DateEditBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-date-edit-standard',\n  templateUrl: './standard.component.html',\n  styles: [\n    `\n      smart-date-edit-standard input[type='number']::-webkit-outer-spin-button,\n      smart-date-edit-standard input[type='number']::-webkit-inner-spin-button {\n        -webkit-appearance: none;\n        margin: 0;\n      }\n      smart-date-edit-standard input[type='number'] {\n        -moz-appearance: textfield;\n        text-align: center;\n      }\n    `,\n  ],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [FormsModule],\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: forwardRef(() => DateEditStandardComponent),\n      multi: true,\n    },\n  ],\n})\nexport class DateEditStandardComponent extends DateEditBaseComponent {}\n","<div class=\"smart:inline-flex smart:items-start smart:gap-3\">\n  <div class=\"smart:flex smart:flex-col smart:items-center smart:gap-0.5\">\n    <div class=\"smart:flex smart:items-center smart:gap-0.5\">\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"d1\"\n        #d1Element\n        (click)=\"select(d1Element)\"\n        (keyup)=\"moveTo($event, d2Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"d2\"\n        #d2Element\n        (click)=\"select(d2Element)\"\n        (keyup)=\"moveTo($event, m1Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n    </div>\n    <span\n      class=\"smart:text-xs smart:text-gray-400 smart:dark:text-gray-500\"\n      [class.smart:text-red-500]=\"!validDate\"\n      >DD</span\n    >\n  </div>\n\n  <span class=\"smart:text-gray-400 smart:mt-2.5 smart:text-sm smart:font-medium\"\n    >-</span\n  >\n\n  <div class=\"smart:flex smart:flex-col smart:items-center smart:gap-0.5\">\n    <div class=\"smart:flex smart:items-center smart:gap-0.5\">\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"m1\"\n        #m1Element\n        (click)=\"select(m1Element)\"\n        (keyup)=\"moveTo($event, m2Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"m2\"\n        #m2Element\n        (click)=\"select(m2Element)\"\n        (keyup)=\"moveTo($event, y1Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n    </div>\n    <span\n      class=\"smart:text-xs smart:text-gray-400 smart:dark:text-gray-500\"\n      [class.smart:text-red-500]=\"!validDate\"\n      >MM</span\n    >\n  </div>\n\n  <span class=\"smart:text-gray-400 smart:mt-2.5 smart:text-sm smart:font-medium\"\n    >-</span\n  >\n\n  <div class=\"smart:flex smart:flex-col smart:items-center smart:gap-0.5\">\n    <div class=\"smart:flex smart:items-center smart:gap-0.5\">\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"y1\"\n        #y1Element\n        (click)=\"select(y1Element)\"\n        (keyup)=\"moveTo($event, y2Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"y2\"\n        #y2Element\n        (click)=\"select(y2Element)\"\n        (keyup)=\"moveTo($event, y3Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"y3\"\n        #y3Element\n        (click)=\"select(y3Element)\"\n        (keyup)=\"moveTo($event, y4Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n      <input\n        type=\"number\"\n        min=\"0\"\n        max=\"9\"\n        maxlength=\"1\"\n        [(ngModel)]=\"y4\"\n        #y4Element\n        (click)=\"select(y4Element)\"\n        (keyup)=\"select(y4Element)\"\n        class=\"smart:w-8 smart:h-10 smart:text-center smart:border smart:border-gray-300 smart:rounded-md smart:text-sm smart:font-medium smart:text-gray-900 smart:focus:ring-2 smart:focus:ring-indigo-500 smart:focus:border-indigo-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-white\"\n        [class.smart:border-red-500]=\"!validDate\"\n        [class.smart:text-red-600]=\"!validDate\"\n      />\n    </div>\n    <span\n      class=\"smart:text-xs smart:text-gray-400 smart:dark:text-gray-500\"\n      [class.smart:text-red-500]=\"!validDate\"\n      >RRRR</span\n    >\n  </div>\n</div>\n","// Class recipes for the Preline single-datepicker preset. Kept private to the\n// preset (imported via relative path, NOT re-exported from the component barrel)\n// so the generic names cannot collide across the library-wide `export *` barrel.\n// Every Preline semantic token is translated to vanilla Tailwind palette classes\n// with explicit `smart:` prefix and `smart:dark:` colour variants.\n\n// Trigger input wrapper (relative so the calendar icon can be absolutely placed).\nexport const DATE_EDIT_TRIGGER_WRAPPER = 'smart:relative smart:inline-block';\n\n// Read-only trigger input that shows the selected date and toggles the popover.\nexport const DATE_EDIT_TRIGGER_INPUT = [\n  'smart:py-2.5',\n  'smart:px-3',\n  'smart:ps-10',\n  'smart:block',\n  'smart:w-56',\n  'smart:cursor-pointer',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-lg',\n  'smart:text-sm',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:shadow-2xs',\n  'smart:focus:border-blue-500',\n  'smart:focus:ring-blue-500',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\n// Invalid-state classes layered onto the trigger input.\nexport const DATE_EDIT_TRIGGER_INVALID =\n  'smart:border-red-500 smart:dark:border-red-500 smart:text-red-600';\n\n// Leading calendar icon inside the trigger.\nexport const DATE_EDIT_TRIGGER_ICON = [\n  'smart:absolute',\n  'smart:inset-y-0',\n  'smart:start-0',\n  'smart:flex',\n  'smart:items-center',\n  'smart:ps-3',\n  'smart:pointer-events-none',\n  'smart:text-gray-400',\n  'smart:dark:text-gray-500',\n].join(' ');\n\n// Popover container — Preline `bg-dropdown border-dropdown-line shadow-lg rounded-xl`.\nexport const DATE_EDIT_POPOVER = [\n  'smart:absolute',\n  'smart:z-50',\n  'smart:mt-2',\n  'smart:w-80',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-lg',\n  'smart:rounded-xl',\n  'smart:overflow-hidden',\n].join(' ');\n\n// Prev / next month navigation buttons.\nexport const DATE_EDIT_NAV_BUTTON = [\n  'smart:size-8',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:rounded-full',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\n// Month / year native selects styled to mimic the Preline toggle buttons.\nexport const DATE_EDIT_SELECT = [\n  'smart:cursor-pointer',\n  'smart:text-start',\n  'smart:font-medium',\n  'smart:bg-transparent',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:hover:text-blue-700',\n  'smart:dark:hover:text-blue-400',\n  'smart:rounded-md',\n  'smart:focus:outline-none',\n].join(' ');\n\n// Weekday header cells — Preline `text-muted-foreground-1`.\nexport const DATE_EDIT_WEEKDAY = [\n  'smart:m-px',\n  'smart:w-10',\n  'smart:block',\n  'smart:text-center',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nconst DATE_EDIT_DAY_BASE = [\n  'smart:m-px',\n  'smart:size-10',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:border-[1.5px]',\n  'smart:border-transparent',\n  'smart:text-sm',\n  'smart:rounded-full',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:focus:outline-none',\n].join(' ');\n\n// A non-selected day in the current month.\nconst DATE_EDIT_DAY_DEFAULT = [\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:hover:border-blue-700',\n  'smart:dark:hover:border-blue-600',\n  'smart:hover:text-blue-700',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:border-blue-700',\n  'smart:focus:text-blue-700',\n].join(' ');\n\n// The currently selected day — Preline `bg-primary text-primary-foreground`.\nconst DATE_EDIT_DAY_SELECTED = [\n  'smart:bg-blue-600',\n  'smart:dark:bg-blue-500',\n  'smart:font-medium',\n  'smart:text-white',\n  'smart:hover:border-blue-700',\n  'smart:dark:hover:border-blue-600',\n].join(' ');\n\n// Days belonging to the previous / next month (rendered muted + disabled).\nconst DATE_EDIT_DAY_OUTSIDE = [\n  'smart:text-gray-400',\n  'smart:dark:text-gray-600',\n].join(' ');\n\nexport function getDateEditDayClasses(\n  selected: boolean,\n  inMonth: boolean,\n): string {\n  if (selected) return `${DATE_EDIT_DAY_BASE} ${DATE_EDIT_DAY_SELECTED}`;\n  if (!inMonth) return `${DATE_EDIT_DAY_BASE} ${DATE_EDIT_DAY_OUTSIDE}`;\n  return `${DATE_EDIT_DAY_BASE} ${DATE_EDIT_DAY_DEFAULT}`;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ElementRef,\n  forwardRef,\n  HostListener,\n  inject,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport moment from 'moment';\n\nimport { DateEditBaseComponent } from '../base/base.component';\nimport {\n  DATE_EDIT_NAV_BUTTON,\n  DATE_EDIT_POPOVER,\n  DATE_EDIT_SELECT,\n  DATE_EDIT_TRIGGER_ICON,\n  DATE_EDIT_TRIGGER_INPUT,\n  DATE_EDIT_TRIGGER_INVALID,\n  DATE_EDIT_TRIGGER_WRAPPER,\n  DATE_EDIT_WEEKDAY,\n  getDateEditDayClasses,\n} from './preset-classes.util';\n\ninterface DateEditDay {\n  date: string;\n  day: number;\n  inMonth: boolean;\n  selected: boolean;\n}\n\n/**\n * Styled date-edit variation (preset) — a Preline single datepicker.\n *\n * Drop-in replacement for `DateEditStandardComponent`. Rendered by\n * `DateEditComponent` when `variant=\"preset\"`, or usable directly via the\n * `<smart-date-edit-preset>` selector.\n *\n * The Preline JS plugin is not installed, so the calendar popover (open/close,\n * month navigation, day selection) is driven entirely by Angular signals.\n */\n@Component({\n  selector: 'smart-date-edit-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: forwardRef(() => DateEditPresetComponent),\n      multi: true,\n    },\n  ],\n})\nexport class DateEditPresetComponent extends DateEditBaseComponent {\n  private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n  protected readonly weekdays = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];\n  protected readonly months = [\n    'January',\n    'February',\n    'March',\n    'April',\n    'May',\n    'June',\n    'July',\n    'August',\n    'September',\n    'October',\n    'November',\n    'December',\n  ];\n\n  protected open = signal(false);\n  protected viewYear = signal(moment(this.DEFAULT_DATE).year());\n  protected viewMonth = signal(moment(this.DEFAULT_DATE).month());\n\n  // Static class recipes exposed to the template.\n  protected readonly triggerWrapperClass = DATE_EDIT_TRIGGER_WRAPPER;\n  protected readonly triggerIconClass = DATE_EDIT_TRIGGER_ICON;\n  protected readonly popoverClass = DATE_EDIT_POPOVER;\n  protected readonly navButtonClass = DATE_EDIT_NAV_BUTTON;\n  protected readonly selectClass = DATE_EDIT_SELECT;\n  protected readonly weekdayClass = DATE_EDIT_WEEKDAY;\n\n  // Validity is derived from the model signal (not the non-signal base\n  // `validDate` flag) so the trigger styling reacts under OnPush — e.g. when a\n  // parent form writes an out-of-range value. Picking a day always yields a\n  // valid date, so this only flips for externally-supplied bad values.\n  protected isInvalid = computed(() => {\n    const value = this.ngModel();\n    return !value || !moment(value, 'YYYY-MM-DD', true).isValid();\n  });\n\n  protected triggerInputClass = computed(() =>\n    this.isInvalid()\n      ? `${DATE_EDIT_TRIGGER_INPUT} ${DATE_EDIT_TRIGGER_INVALID}`\n      : DATE_EDIT_TRIGGER_INPUT,\n  );\n\n  // Display value shown in the trigger (the canonical YYYY-MM-DD string).\n  protected displayValue = computed(() => this.ngModel() ?? '');\n\n  // A 6-week grid (Monday first) covering the viewed month.\n  protected weeks = computed<DateEditDay[][]>(() => {\n    const year = this.viewYear();\n    const month = this.viewMonth();\n    const selected = this.ngModel();\n\n    const firstOfMonth = moment([year, month, 1]);\n    const startOffset = firstOfMonth.isoWeekday() - 1; // Mon = 1\n    const cursor = firstOfMonth.clone().subtract(startOffset, 'days');\n\n    const weeks: DateEditDay[][] = [];\n    for (let w = 0; w < 6; w++) {\n      const row: DateEditDay[] = [];\n      for (let d = 0; d < 7; d++) {\n        const date = cursor.format('YYYY-MM-DD');\n        row.push({\n          date,\n          day: cursor.date(),\n          inMonth: cursor.month() === month,\n          selected: date === selected,\n        });\n        cursor.add(1, 'day');\n      }\n      weeks.push(row);\n    }\n    return weeks;\n  });\n\n  protected dayClasses(day: DateEditDay): string {\n    return getDateEditDayClasses(day.selected, day.inMonth);\n  }\n\n  protected toggleOpen(): void {\n    if (!this.open()) this.syncViewToModel();\n    this.open.update((value) => !value);\n  }\n\n  protected prevMonth(): void {\n    const next = moment([this.viewYear(), this.viewMonth(), 1]).subtract(\n      1,\n      'month',\n    );\n    this.viewYear.set(next.year());\n    this.viewMonth.set(next.month());\n  }\n\n  protected nextMonth(): void {\n    const next = moment([this.viewYear(), this.viewMonth(), 1]).add(1, 'month');\n    this.viewYear.set(next.year());\n    this.viewMonth.set(next.month());\n  }\n\n  protected onMonthChange(value: string): void {\n    this.viewMonth.set(Number(value));\n  }\n\n  protected onYearChange(value: string): void {\n    this.viewYear.set(Number(value));\n  }\n\n  // Years offered in the year dropdown (centred on the viewed year).\n  protected years = computed<number[]>(() => {\n    const center = this.viewYear();\n    const list: number[] = [];\n    for (let y = center - 10; y <= center + 10; y++) list.push(y);\n    return list;\n  });\n\n  protected selectDay(day: DateEditDay): void {\n    const date = moment(day.date, 'YYYY-MM-DD');\n    const value = date.format('YYYY-MM-DD');\n\n    this.ngModel.set(value);\n    this.validDate = date.isValid();\n    this.viewYear.set(date.year());\n    this.viewMonth.set(date.month());\n\n    this.propagateChange(this.validDate ? value : null);\n    this.propagateTouched();\n    this.validChange.emit(this.validDate);\n\n    this.open.set(false);\n  }\n\n  @HostListener('document:click', ['$event'])\n  protected onDocumentClick(event: MouseEvent): void {\n    if (!this.open()) return;\n    if (!this.elementRef.nativeElement.contains(event.target as Node)) {\n      this.open.set(false);\n    }\n  }\n\n  private syncViewToModel(): void {\n    const parsed = moment(this.ngModel(), 'YYYY-MM-DD');\n    const base = parsed.isValid() ? parsed : moment();\n    this.viewYear.set(base.year());\n    this.viewMonth.set(base.month());\n  }\n}\n","<div [class]=\"triggerWrapperClass\">\n  <!-- Trigger -->\n  <span [class]=\"triggerIconClass\">\n    <svg\n      class=\"smart:shrink-0 smart:size-4\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"24\"\n      height=\"24\"\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      stroke-width=\"2\"\n      stroke-linecap=\"round\"\n      stroke-linejoin=\"round\"\n    >\n      <path d=\"M8 2v4\" />\n      <path d=\"M16 2v4\" />\n      <rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" />\n      <path d=\"M3 10h18\" />\n    </svg>\n  </span>\n  <input\n    type=\"text\"\n    readonly\n    [value]=\"displayValue()\"\n    [class]=\"triggerInputClass()\"\n    (click)=\"toggleOpen()\"\n    aria-label=\"Open date picker\"\n    [attr.aria-expanded]=\"open()\"\n  />\n\n  <!-- Calendar popover -->\n  @if (open()) {\n    <div [class]=\"popoverClass\" role=\"dialog\" aria-label=\"Choose date\">\n      <div class=\"smart:p-3 smart:space-y-0.5\">\n        <!-- Months -->\n        <div\n          class=\"smart:grid smart:grid-cols-5 smart:items-center smart:gap-x-3 smart:mx-1.5 smart:pb-3\"\n        >\n          <!-- Prev Button -->\n          <div class=\"smart:col-span-1\">\n            <button\n              type=\"button\"\n              [class]=\"navButtonClass\"\n              aria-label=\"Previous\"\n              (click)=\"prevMonth()\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-4\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m15 18-6-6 6-6\" />\n              </svg>\n            </button>\n          </div>\n\n          <!-- Month / Year -->\n          <div\n            class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n          >\n            <select\n              #monthEl\n              [class]=\"selectClass\"\n              aria-label=\"Select month\"\n              (change)=\"onMonthChange(monthEl.value)\"\n            >\n              @for (month of months; track $index) {\n                <option [value]=\"$index\" [selected]=\"$index === viewMonth()\">\n                  {{ month }}\n                </option>\n              }\n            </select>\n\n            <span class=\"smart:text-gray-900 smart:dark:text-white\">/</span>\n\n            <select\n              #yearEl\n              [class]=\"selectClass\"\n              aria-label=\"Select year\"\n              (change)=\"onYearChange(yearEl.value)\"\n            >\n              @for (year of years(); track year) {\n                <option [value]=\"year\" [selected]=\"year === viewYear()\">\n                  {{ year }}\n                </option>\n              }\n            </select>\n          </div>\n\n          <!-- Next Button -->\n          <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n            <button\n              type=\"button\"\n              [class]=\"navButtonClass\"\n              aria-label=\"Next\"\n              (click)=\"nextMonth()\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-4\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m9 18 6-6-6-6\" />\n              </svg>\n            </button>\n          </div>\n        </div>\n\n        <!-- Weekdays -->\n        <div class=\"smart:flex smart:pb-1.5\">\n          @for (weekday of weekdays; track weekday) {\n            <span [class]=\"weekdayClass\">{{ weekday }}</span>\n          }\n        </div>\n\n        <!-- Days -->\n        @for (week of weeks(); track $index) {\n          <div class=\"smart:flex\">\n            @for (day of week; track day.date) {\n              <div>\n                <button\n                  type=\"button\"\n                  data-role=\"day\"\n                  [class]=\"dayClasses(day)\"\n                  [attr.aria-pressed]=\"day.selected\"\n                  (click)=\"selectDay(day)\"\n                >\n                  {{ day.day }}\n                </button>\n              </div>\n            }\n          </div>\n        }\n      </div>\n    </div>\n  }\n</div>\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  forwardRef,\n  input,\n  linkedSignal,\n  model,\n  output,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { DateEditVariantName } from './base/base.component';\nimport { DateEditPresetComponent } from './preset/preset.component';\nimport { DateEditStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-date-edit',\n  template: `\n    @switch (variant()) {\n      @case ('standard') {\n        <smart-date-edit-standard\n          [ngModel]=\"value()\"\n          (ngModelChange)=\"onInnerChange($event)\"\n          (validChange)=\"validChange.emit($event)\"\n          [class]=\"cssClass()\"\n        />\n      }\n      @case ('preset') {\n        <smart-date-edit-preset\n          [ngModel]=\"value()\"\n          (ngModelChange)=\"onInnerChange($event)\"\n          (validChange)=\"validChange.emit($event)\"\n          [class]=\"cssClass()\"\n        />\n      }\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  // FormsModule is deliberately NOT imported. The variant components expose\n  // `ngModel` as a model() signal, so `[ngModel]`/`(ngModelChange)` above bind\n  // straight to it. Pulling FormsModule in would additionally match the NgModel\n  // directive on the same element, and its writeValue()/model() round trip\n  // fights the binding — see the note on `value` below.\n  imports: [DateEditStandardComponent, DateEditPresetComponent],\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: forwardRef(() => DateEditComponent),\n      multi: true,\n    },\n  ],\n})\nexport class DateEditComponent implements ControlValueAccessor {\n  variant = input<DateEditVariantName>('standard');\n  cssClass = input<string>('', { alias: 'class' });\n\n  /** Two-way value binding, e.g. `[(ngModel)]=\"date\"` without FormsModule. */\n  ngModel = model<string>('2001-01-01');\n  validChange = output<boolean>();\n\n  /**\n   * What the template actually renders — deliberately separate from `ngModel`.\n   *\n   * A consumer that imports FormsModule makes the NgModel directive match\n   * `<smart-date-edit>` alongside this component's own `ngModel` model() input.\n   * NgModel seeds its FormControl with `null` and pushes that through\n   * `writeValue()` before writing the real value on the microtask queue. If\n   * `writeValue()` wrote to `ngModel`, that model() output would fire and shove\n   * the `null` straight back into the consumer's own property mid-check —\n   * NG0100, and the supplied date lost. So form writes land here, and only a\n   * genuine user edit is allowed to emit through `ngModel`.\n   */\n  protected value = linkedSignal(() => this.ngModel());\n\n  private propagateChange: (val: unknown) => void = () => undefined;\n  private propagateTouched: () => void = () => undefined;\n\n  onInnerChange(newValue: string): void {\n    if (this.value() === newValue) return;\n    this.value.set(newValue);\n    this.ngModel.set(newValue);\n    this.propagateChange(newValue);\n    this.propagateTouched();\n  }\n\n  writeValue(newValue: string): void {\n    this.value.set(newValue);\n  }\n\n  registerOnChange(fn: (val: unknown) => void): void {\n    this.propagateChange = fn;\n  }\n\n  registerOnTouched(fn: () => void): void {\n    this.propagateTouched = fn;\n  }\n}\n","import {\n  ChangeDetectorRef,\n  Directive,\n  effect,\n  inject,\n  model,\n  signal,\n} from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport moment from 'moment';\n\nimport { IDateRange } from '@smartsoft001/domain-core';\n\nimport {\n  CalendarState,\n  FilterBtnConstants,\n} from './date-range-modal-base.component';\n\nexport type DateRangeVariantName = 'standard' | 'preset';\n\n@Directive()\nexport abstract class DateRangeBaseComponent implements ControlValueAccessor {\n  protected cd = inject(ChangeDetectorRef);\n\n  value: IDateRange | undefined = undefined;\n  isOpen = signal(false);\n\n  propagateChange = (val: any) => {}; // eslint-disable-line\n  propagateTouched = () => {}; // eslint-disable-line\n\n  ngModel = model<IDateRange | undefined>(undefined);\n\n  calendarData: CalendarState = {\n    dateFrom: null as any,\n    dateTo: null as any,\n    scrollPosition: 0,\n    selectedButtonName: FilterBtnConstants.empthyString,\n  };\n\n  constructor() {\n    effect(() => {\n      this.value = this.ngModel();\n    });\n  }\n\n  onClick(): void {\n    const ngModel = this.ngModel();\n    if (ngModel?.start) this.calendarData.dateFrom = moment(ngModel.start);\n    if (ngModel?.end) this.calendarData.dateTo = moment(ngModel.end);\n\n    this.propagateTouched();\n    this.isOpen.set(true);\n  }\n\n  onModalApply(data: CalendarState): void {\n    this.calendarData = data;\n    if (this.calendarData.dateFrom) {\n      const value = {\n        start: this.calendarData.dateFrom.format('YYYY-MM-DD'),\n        end: this.calendarData.dateTo.format('YYYY-MM-DD'),\n      };\n\n      this.writeValue(value);\n      this.ngModel.set(this.value);\n      this.propagateChange(this.value);\n    }\n    this.isOpen.set(false);\n  }\n\n  onModalDismiss(): void {\n    this.isOpen.set(false);\n  }\n\n  writeValue(value: any): void {\n    this.value = value;\n    this.cd.detectChanges();\n  }\n\n  registerOnChange(fn: any): void {\n    this.propagateChange = fn;\n  }\n\n  registerOnTouched(fn: any): void {\n    this.propagateTouched = fn;\n  }\n\n  onClear(): void {\n    this.calendarData.dateFrom = null as any;\n    this.calendarData.dateTo = null as any;\n\n    this.ngModel.set(undefined);\n    this.value = undefined;\n    this.propagateChange(this.value);\n    this.propagateTouched();\n  }\n}\n","import {\n  AfterContentInit,\n  ChangeDetectorRef,\n  Directive,\n  ElementRef,\n  inject,\n  input,\n  OnInit,\n  output,\n} from '@angular/core';\nimport {\n  UntypedFormBuilder,\n  UntypedFormGroup,\n  Validators,\n} from '@angular/forms';\nimport moment from 'moment';\nimport { Subject, Subscription } from 'rxjs';\nimport { distinctUntilChanged, filter, tap } from 'rxjs/operators';\n\nimport {\n  CalendarService,\n  month,\n  StyleService,\n  UIService,\n} from '../../../services';\n\nexport const enum FilterBtnConstants {\n  empthyString = '',\n  today = 'Today',\n  yesterday = 'Yesterday',\n  lastSevenDays = 'LastSevenDays',\n  lastThirtyDays = 'LastThirtyDays',\n  thisMonth = 'ThisMonth',\n  lastMonth = 'LastMonth',\n}\n\ninterface SubjectType {\n  date: moment.Moment;\n  event: any;\n}\n\nexport interface CalendarState {\n  dateFrom: moment.Moment;\n  dateTo: moment.Moment;\n  scrollPosition: number;\n  selectedButtonName: FilterBtnConstants;\n}\n\n@Directive()\nexport abstract class DateRangeModalBaseComponent\n  implements OnInit, AfterContentInit\n{\n  protected fb = inject(UntypedFormBuilder);\n  protected uiService = inject(UIService);\n  protected changeDetectionRef = inject(ChangeDetectorRef);\n  protected calendarService = inject(CalendarService);\n  protected styleService = inject(StyleService);\n  protected elementRef = inject(ElementRef);\n\n  showFilterBtns = input<boolean>(false);\n  restrictSelectionTo = input<number>(0);\n  previousState = input<CalendarState>({\n    dateFrom: null as any,\n    dateTo: null as any,\n    scrollPosition: 0,\n    selectedButtonName: FilterBtnConstants.empthyString,\n  });\n\n  apply = output<CalendarState>();\n  dismiss = output<void>();\n\n  public currentDate = moment().clone();\n  public dateForm!: UntypedFormGroup;\n  calendar: month[] = [];\n  selectedButtonName = FilterBtnConstants.empthyString;\n  scrollPositionValue = 0;\n  valueTop = 6400;\n  subject$ = new Subject<SubjectType>();\n  subjectSubscription!: Subscription;\n\n  constructor() {\n    this.initDateRangeForm();\n  }\n\n  private initDateRangeForm(): void {\n    this.dateForm = this.fb.group({\n      dateFrom: [null, Validators.required],\n      dateTo: [null, Validators.required],\n      datesRefGroup: this.fb.group({\n        startDateRef: [null, Validators.required],\n        endDateRef: [null, Validators.required],\n      }),\n    });\n  }\n\n  get datesRefGroup(): UntypedFormGroup {\n    return this.dateForm.get('datesRefGroup') as UntypedFormGroup;\n  }\n\n  ngOnInit() {\n    this.calendar = this.calendarService.getCalendar();\n    const state = this.previousState();\n    if (state.dateFrom) {\n      this.setPreviousStateData(state);\n    } else {\n      this.selectToday();\n    }\n  }\n\n  ngAfterContentInit() {\n    this.subjectSubscription = this.subject$\n      .pipe(\n        filter(({ date }) => !!date),\n        distinctUntilChanged((prev, curr) =>\n          prev.date.isSame(curr.date, 'day'),\n        ),\n        tap(() => {\n          this.selectedButtonName = FilterBtnConstants.empthyString;\n        }),\n      )\n      .subscribe(({ date }) => {\n        const formattedDate = date.format('YYYY-MM-DD');\n        const areBothDatesSelected = this.datesRefGroup.valid;\n        this.when(areBothDatesSelected, this.resetDates);\n        const { startDateRef } = this.datesRefGroup.value;\n        this.when(\n          !startDateRef,\n          this.setStartDate.bind(null, date, formattedDate),\n        );\n        const isFutureDate = date.isAfter(startDateRef);\n        this.when(\n          isFutureDate,\n          this.setEndDate.bind(null, date, formattedDate),\n        );\n        this.when(\n          !isFutureDate,\n          this.setStartDate.bind(null, date, formattedDate),\n        );\n        this.when(\n          this.canSelectionBeRestricted(),\n          this.showRestrictSelectionAlertAndResetDates,\n        );\n      });\n\n    this.styleService.init(this.elementRef);\n  }\n\n  private setPreviousStateData(state: CalendarState): void {\n    const { dateFrom, dateTo, scrollPosition, selectedButtonName } = state;\n    this.dateForm.patchValue({\n      dateFrom: this.formatDate(dateFrom),\n      dateTo: this.formatDate(dateTo),\n    });\n    this.datesRefGroup.patchValue({\n      startDateRef: dateFrom,\n      endDateRef: dateTo,\n    });\n    this.scrollPositionValue = scrollPosition;\n    this.selectedButtonName = selectedButtonName;\n  }\n\n  noop() {} // eslint-disable-line\n\n  when = (cond: boolean, fn: () => void): void => (cond ? fn() : this.noop());\n\n  setStartDate = (date: moment.Moment, formattedDate: string): void => {\n    this.dateForm.patchValue({\n      dateFrom: formattedDate,\n      dateTo: formattedDate,\n    });\n    this.datesRefGroup.patchValue({ startDateRef: date });\n  };\n\n  setEndDate = (date: moment.Moment, formattedDate: string): void => {\n    this.dateForm.patchValue({ dateTo: formattedDate });\n    this.datesRefGroup.patchValue({ endDateRef: date });\n  };\n\n  resetDates = (): void => this.datesRefGroup.reset();\n\n  canSelectionBeRestricted = (): boolean =>\n    !!this.restrictSelectionTo() &&\n    this.datesRefGroup.value.endDateRef &&\n    !this.isSelectionInRestrictedRange();\n\n  showRestrictSelectionAlertAndResetDates = (): void => {\n    const { startDateRef } = this.datesRefGroup.value;\n    this.uiService.showAlertWithDismissCallback(\n      'Alert',\n      `Please select ${this.restrictSelectionTo()} days`,\n      'Ok',\n      () => {\n        this.datesRefGroup.patchValue({ endDateRef: startDateRef });\n        this.setStartDate(startDateRef, this.dateForm.value.dateFrom);\n        this.changeDetectionRef.markForCheck();\n      },\n    );\n  };\n\n  public isSelectionInRestrictedRange(): boolean {\n    const { endDateRef, startDateRef } = this.datesRefGroup.value;\n    const diff = endDateRef && endDateRef.diff(startDateRef, 'days') + 1;\n    // tslint:disable-next-line:triple-equals\n    return diff && diff == this.restrictSelectionTo();\n  }\n\n  private formatDate(date: moment.Moment): string {\n    return date.format('YYYY-MM-DD');\n  }\n\n  public isInRange(day: moment.Moment): boolean {\n    if (!day) {\n      return false;\n    }\n    const { endDateRef, startDateRef } = this.datesRefGroup.value;\n    return day.isBetween(startDateRef, endDateRef, 'day');\n  }\n\n  public isSelectionStart(day: moment.Moment): boolean {\n    if (!day) {\n      return false;\n    }\n    return day.isSame(this.datesRefGroup.value.startDateRef, 'day');\n  }\n\n  public isSelectionEnd(day: moment.Moment): boolean {\n    if (!day) {\n      return false;\n    }\n    const { endDateRef, startDateRef } = this.datesRefGroup.value;\n    return (\n      day.isSame(endDateRef, 'day') && endDateRef.isAfter(startDateRef, 'day')\n    );\n  }\n\n  public isStartAndEndDateSame(): boolean {\n    // tslint:disable-next-line:triple-equals\n    return this.dateForm.value.dateFrom == this.dateForm.value.dateTo;\n  }\n\n  public selectThisMonth(): void {\n    this.selectedButtonName = FilterBtnConstants.thisMonth;\n    const firstDay = moment().clone().startOf('month');\n    const lastDay = moment().clone();\n    this.setStartDate(firstDay, this.formatDate(firstDay));\n    this.setEndDate(lastDay, this.formatDate(lastDay));\n  }\n\n  public selectLastMonth(): void {\n    this.selectedButtonName = FilterBtnConstants.lastMonth;\n    const lastMonth = moment().clone().subtract(1, 'month');\n    const firstDay = lastMonth.clone().startOf('month');\n    const lastDay = lastMonth.clone().endOf('month');\n    this.setStartDate(firstDay, this.formatDate(firstDay));\n    this.setEndDate(lastDay, this.formatDate(lastDay));\n  }\n\n  public selectLastThirtyDays(): void {\n    this.selectedButtonName = FilterBtnConstants.lastThirtyDays;\n    this.filterSelectionByDaysAgo(29);\n  }\n\n  public selectLastSevenDays(): void {\n    this.selectedButtonName = FilterBtnConstants.lastSevenDays;\n    this.filterSelectionByDaysAgo(6);\n  }\n\n  private filterSelectionByDaysAgo(daysAgo: number): void {\n    const endDate = moment().clone();\n    const startDate = endDate.clone().subtract(daysAgo, 'days');\n    this.setStartDate(startDate, this.formatDate(startDate));\n    this.setEndDate(endDate, this.formatDate(endDate));\n  }\n\n  public selectYesterday(): void {\n    this.selectedButtonName = FilterBtnConstants.yesterday;\n    const yesterday = moment().clone().subtract(1, 'days');\n    this.setStartDate(yesterday, this.formatDate(yesterday));\n    this.setEndDate(yesterday, this.formatDate(yesterday));\n  }\n\n  public selectToday(): void {\n    this.selectedButtonName = FilterBtnConstants.today;\n    const today = moment().clone();\n    this.setStartDate(today, this.formatDate(today));\n    this.setEndDate(today, this.formatDate(today));\n  }\n\n  public dismissPage(): void {\n    this.unsubscribe();\n    this.dismiss.emit();\n  }\n\n  private unsubscribe(): void {\n    if (this.subjectSubscription) {\n      this.subjectSubscription.unsubscribe();\n    }\n  }\n\n  public applyDates(): void {\n    const { endDateRef, startDateRef } = this.datesRefGroup.value;\n    const endDate = endDateRef;\n    const data: CalendarState = {\n      dateFrom: startDateRef,\n      dateTo: endDate ? endDate : startDateRef,\n      scrollPosition: this.scrollPositionValue,\n      selectedButtonName: this.selectedButtonName,\n    };\n    this.unsubscribe();\n    this.apply.emit(data);\n  }\n}\n","import { NgClass } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { CalendarService } from '../../../services';\nimport { DateRangeModalBaseComponent } from '../base/date-range-modal-base.component';\n\n@Component({\n  selector: 'smart-date-range-modal-standard',\n  templateUrl: './standard-modal.component.html',\n  providers: [CalendarService],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgClass, TranslatePipe],\n})\nexport class DateRangeModalStandardComponent extends DateRangeModalBaseComponent {}\n","<div\n  class=\"smart:fixed smart:inset-0 smart:bg-black/50 smart:z-40\"\n  (click)=\"dismissPage()\"\n></div>\n<div\n  class=\"smart:fixed smart:inset-x-4 smart:top-16 smart:bottom-4 smart:z-50 smart:rounded-xl smart:bg-white smart:shadow-xl smart:flex smart:flex-col smart:dark:bg-gray-900\"\n>\n  <div\n    class=\"smart:flex smart:items-center smart:justify-between smart:px-4 smart:py-3 smart:border-b smart:border-gray-200 smart:dark:border-gray-700\"\n  >\n    <span class=\"smart:text-sm smart:text-gray-600 smart:dark:text-gray-300\">\n      {{\n        dateForm.value.dateFrom\n          ? dateForm.value.dateFrom + ' - ' + dateForm.value.dateTo\n          : ''\n      }}\n    </span>\n    <button\n      type=\"button\"\n      class=\"smart:text-gray-400 smart:hover:text-gray-600 smart:p-1 smart:rounded smart:dark:text-gray-500 smart:dark:hover:text-gray-300\"\n      (click)=\"dismissPage()\"\n    >\n      <svg\n        class=\"smart:size-5\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 20 20\"\n        fill=\"currentColor\"\n      >\n        <path\n          d=\"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z\"\n        />\n      </svg>\n    </button>\n  </div>\n\n  @if (showFilterBtns()) {\n    <div\n      class=\"smart:grid smart:grid-rows-2 smart:grid-cols-3 smart:w-full smart:mx-auto smart:gap-x-2.5 smart:gap-y-2 smart:p-4\"\n    >\n      <button\n        type=\"button\"\n        (click)=\"selectToday()\"\n        class=\"smart:px-3 smart:py-1.5 smart:rounded-full smart:text-sm smart:text-center smart:font-medium smart:cursor-pointer\"\n        [ngClass]=\"\n          selectedButtonName === 'Today'\n            ? 'smart:bg-indigo-600 smart:text-white'\n            : 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300'\n        \"\n      >\n        {{ 'CALENDAR.Today' | translate }}\n      </button>\n\n      <button\n        type=\"button\"\n        (click)=\"selectLastSevenDays()\"\n        class=\"smart:px-3 smart:py-1.5 smart:rounded-full smart:text-sm smart:text-center smart:font-medium smart:cursor-pointer\"\n        [ngClass]=\"\n          selectedButtonName === 'LastSevenDays'\n            ? 'smart:bg-indigo-600 smart:text-white'\n            : 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300'\n        \"\n      >\n        {{ 'CALENDAR.LastSevenDays' | translate }}\n      </button>\n\n      <button\n        type=\"button\"\n        (click)=\"selectThisMonth()\"\n        class=\"smart:px-3 smart:py-1.5 smart:rounded-full smart:text-sm smart:text-center smart:font-medium smart:cursor-pointer\"\n        [ngClass]=\"\n          selectedButtonName === 'ThisMonth'\n            ? 'smart:bg-indigo-600 smart:text-white'\n            : 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300'\n        \"\n      >\n        {{ 'CALENDAR.ThisMonth' | translate }}\n      </button>\n\n      <button\n        type=\"button\"\n        (click)=\"selectYesterday()\"\n        class=\"smart:px-3 smart:py-1.5 smart:rounded-full smart:text-sm smart:text-center smart:font-medium smart:cursor-pointer\"\n        [ngClass]=\"\n          selectedButtonName === 'Yesterday'\n            ? 'smart:bg-indigo-600 smart:text-white'\n            : 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300'\n        \"\n      >\n        {{ 'CALENDAR.Yesterday' | translate }}\n      </button>\n\n      <button\n        type=\"button\"\n        (click)=\"selectLastThirtyDays()\"\n        class=\"smart:px-3 smart:py-1.5 smart:rounded-full smart:text-sm smart:text-center smart:font-medium smart:cursor-pointer\"\n        [ngClass]=\"\n          selectedButtonName === 'LastThirtyDays'\n            ? 'smart:bg-indigo-600 smart:text-white'\n            : 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300'\n        \"\n      >\n        {{ 'CALENDAR.LastThirtyDays' | translate }}\n      </button>\n\n      <button\n        type=\"button\"\n        (click)=\"selectLastMonth()\"\n        class=\"smart:px-3 smart:py-1.5 smart:rounded-full smart:text-sm smart:text-center smart:font-medium smart:cursor-pointer\"\n        [ngClass]=\"\n          selectedButtonName === 'LastMonth'\n            ? 'smart:bg-indigo-600 smart:text-white'\n            : 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300'\n        \"\n      >\n        {{ 'CALENDAR.LastMonth' | translate }}\n      </button>\n    </div>\n  }\n\n  <div\n    class=\"smart:grid smart:grid-cols-7 smart:gap-y-2.5 smart:gap-x-px smart:items-center smart:border-b smart:border-gray-200 smart:h-8 smart:text-center smart:text-xs smart:text-gray-500 smart:bg-gray-50 smart:dark:bg-gray-800 smart:dark:border-gray-700 smart:dark:text-gray-400\"\n  >\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Sun' | translate }}</div>\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Mon' | translate }}</div>\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Tue' | translate }}</div>\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Wed' | translate }}</div>\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Thu' | translate }}</div>\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Fri' | translate }}</div>\n    <div>{{ 'CALENDAR.DAY_OF_WEEK.Sat' | translate }}</div>\n  </div>\n\n  <div class=\"smart:flex-1 smart:overflow-y-auto\">\n    @for (month of calendar; track month) {\n      <p\n        class=\"smart:ml-0 smart:px-4 smart:py-3 smart:text-sm smart:font-medium smart:bg-gray-50 smart:border-t smart:border-b smart:border-gray-200 smart:dark:bg-gray-800 smart:dark:border-gray-700 smart:dark:text-gray-300\"\n      >\n        {{ 'CALENDAR.MONTH.' + month.monthName | translate }} {{ month.year }}\n      </p>\n      <div\n        class=\"smart:grid smart:grid-cols-7 smart:gap-y-1 smart:gap-x-px smart:items-center smart:px-1\"\n      >\n        @for (day of month.dates; track day) {\n          <div\n            class=\"smart:h-8 smart:text-center smart:flex smart:flex-col smart:justify-center smart:items-center smart:text-sm smart:text-gray-600 smart:cursor-pointer smart:hover:bg-gray-100 smart:dark:text-gray-400 smart:dark:hover:bg-gray-800\"\n            [ngClass]=\"{\n              'smart:bg-indigo-600 smart:text-white smart:rounded-l-lg smart:hover:bg-indigo-700':\n                isSelectionStart(day),\n              'smart:bg-indigo-600 smart:text-white smart:rounded-r-lg smart:hover:bg-indigo-700':\n                isSelectionEnd(day),\n              'smart:bg-indigo-100 smart:dark:bg-indigo-900/30': isInRange(day),\n              'smart:rounded-lg': isStartAndEndDateSame(),\n            }\"\n            (click)=\"subject$.next({ date: day, event: $event })\"\n          >\n            {{ day?.date() }}\n          </div>\n        }\n      </div>\n    }\n  </div>\n\n  <div\n    class=\"smart:border-t smart:border-gray-200 smart:p-4 smart:dark:border-gray-700\"\n  >\n    <button\n      type=\"button\"\n      class=\"smart:w-full smart:rounded-md smart:bg-indigo-600 smart:px-3 smart:py-2 smart:text-sm smart:font-semibold smart:text-white smart:shadow-xs smart:hover:bg-indigo-500 smart:focus-visible:outline-2 smart:focus-visible:outline-offset-2 smart:focus-visible:outline-indigo-600 smart:dark:bg-indigo-500 smart:dark:hover:bg-indigo-400\"\n      [disabled]=\"!!restrictSelectionTo() && !isSelectionInRestrictedRange()\"\n      (click)=\"applyDates()\"\n    >\n      {{ 'select' | translate }}\n    </button>\n  </div>\n</div>\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  forwardRef,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { DateRangeBaseComponent } from '../base/date-range-base.component';\nimport { DateRangeModalStandardComponent } from './standard-modal.component';\n\n@Component({\n  selector: 'smart-date-range-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: forwardRef(() => DateRangeStandardComponent),\n      multi: true,\n    },\n  ],\n  imports: [TranslatePipe, DateRangeModalStandardComponent],\n})\nexport class DateRangeStandardComponent extends DateRangeBaseComponent {}\n","<div class=\"smart:inline-flex smart:items-center smart:gap-2\">\n  <button\n    type=\"button\"\n    class=\"smart:inline-flex smart:items-center smart:gap-2 smart:rounded-md smart:border smart:border-gray-300 smart:bg-white smart:px-3 smart:py-2 smart:text-sm smart:font-medium smart:text-gray-700 smart:shadow-xs smart:hover:bg-gray-50 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:text-gray-300 smart:dark:hover:bg-gray-700\"\n    (click)=\"onClick()\"\n  >\n    <svg\n      class=\"smart:size-5 smart:text-gray-400\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n    >\n      <path\n        fill-rule=\"evenodd\"\n        d=\"M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z\"\n        clip-rule=\"evenodd\"\n      />\n    </svg>\n    @if (value && value?.start && value?.end) {\n      {{ value.start + ' - ' + value.end }}\n    } @else {\n      {{ 'select' | translate }}\n    }\n  </button>\n\n  @if (value) {\n    <button\n      type=\"button\"\n      class=\"smart:text-gray-400 smart:hover:text-gray-600 smart:p-1 smart:rounded smart:dark:text-gray-500 smart:dark:hover:text-gray-300\"\n      (click)=\"onClear()\"\n    >\n      <svg\n        class=\"smart:size-4\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 20 20\"\n        fill=\"currentColor\"\n      >\n        <path\n          d=\"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z\"\n        />\n      </svg>\n    </button>\n  }\n</div>\n\n@if (isOpen()) {\n  <smart-date-range-modal-standard\n    [previousState]=\"calendarData\"\n    (apply)=\"onModalApply($event)\"\n    (dismiss)=\"onModalDismiss()\"\n  />\n}\n","// Class recipes for the date-range \"preset\" variation. Every Preline semantic\n// token from FRA-219 is translated to `smart:`-prefixed vanilla Tailwind palette\n// classes with explicit `dark:` variants (Preline is not installed in the fork).\n// Symbols are component-prefixed and intentionally NOT re-exported from index.ts.\n\nexport const DATE_RANGE_PRESET_TRIGGER = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-2',\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:px-3',\n  'smart:py-2',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-700',\n  'smart:shadow-2xs',\n  'smart:hover:bg-gray-100',\n  'smart:dark:bg-gray-800',\n  'smart:dark:border-gray-700',\n  'smart:dark:text-gray-200',\n  'smart:dark:hover:bg-gray-700',\n  'smart:cursor-pointer',\n].join(' ');\n\nexport const DATE_RANGE_PRESET_CLEAR = [\n  'smart:text-gray-400',\n  'smart:hover:text-gray-600',\n  'smart:p-1',\n  'smart:rounded',\n  'smart:dark:text-gray-500',\n  'smart:dark:hover:text-gray-300',\n  'smart:cursor-pointer',\n].join(' ');\n\n// `bg-dropdown` + `border-dropdown-line` + `shadow-lg` + `rounded-xl`\nexport const DATE_RANGE_PRESET_POPOVER = [\n  'smart:absolute',\n  'smart:z-50',\n  'smart:mt-2',\n  'smart:w-80',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-lg',\n  'smart:rounded-xl',\n  'smart:overflow-hidden',\n].join(' ');\n\n// Prev / next navigation buttons (`hover:bg-muted-hover`, `focus:bg-muted-focus`)\nexport const DATE_RANGE_PRESET_NAV_BUTTON = [\n  'smart:size-8',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:rounded-full',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n  'smart:cursor-pointer',\n].join(' ');\n\n// `text-foreground` month/year selects (Preline hs-select replaced by native select)\nexport const DATE_RANGE_PRESET_SELECT = [\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:bg-transparent',\n  'smart:rounded-md',\n  'smart:py-1',\n  'smart:px-1.5',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:outline-none',\n  'smart:cursor-pointer',\n].join(' ');\n\n// `text-muted-foreground-1` weekday labels\nexport const DATE_RANGE_PRESET_WEEKDAY = [\n  'smart:m-px',\n  'smart:w-10',\n  'smart:block',\n  'smart:text-center',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nconst DATE_RANGE_PRESET_DAY_LAYOUT = [\n  'smart:m-px',\n  'smart:size-10',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:border-[1.5px]',\n  'smart:border-transparent',\n  'smart:text-sm',\n  'smart:rounded-full',\n  'smart:focus:outline-none',\n  'smart:cursor-pointer',\n].join(' ');\n\n// Default day (`text-foreground`, hover `border-primary-hover` / `text-primary-hover`)\nexport const DATE_RANGE_PRESET_DAY_DEFAULT = [\n  DATE_RANGE_PRESET_DAY_LAYOUT,\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:border-blue-600',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:border-blue-500',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:border-blue-600',\n  'smart:focus:text-blue-600',\n].join(' ');\n\n// Out-of-month / muted day (`text-muted-foreground`)\nexport const DATE_RANGE_PRESET_DAY_MUTED = [\n  DATE_RANGE_PRESET_DAY_LAYOUT,\n  'smart:text-gray-400',\n  'smart:dark:text-gray-600',\n  'smart:hover:border-blue-600',\n  'smart:hover:text-blue-600',\n  'smart:focus:border-blue-600',\n].join(' ');\n\n// Selected range endpoints (`bg-primary`, `text-primary-foreground`)\nexport const DATE_RANGE_PRESET_DAY_SELECTED = [\n  DATE_RANGE_PRESET_DAY_LAYOUT,\n  'smart:font-medium',\n  'smart:bg-blue-600',\n  'smart:text-white',\n  'smart:dark:bg-blue-500',\n  'smart:hover:border-blue-700',\n  'smart:focus:border-blue-700',\n].join(' ');\n\n// In-range surface band (`bg-surface`)\nexport const DATE_RANGE_PRESET_RANGE_BG =\n  'smart:bg-blue-100 smart:dark:bg-blue-900/30';\n\n// `border-dropdown-divider` footer\nexport const DATE_RANGE_PRESET_FOOTER = [\n  'smart:py-3',\n  'smart:px-4',\n  'smart:flex',\n  'smart:items-center',\n  'smart:justify-end',\n  'smart:gap-x-2',\n  'smart:border-t',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n].join(' ');\n\n// `bg-layer` cancel button\nexport const DATE_RANGE_PRESET_CANCEL_BUTTON = [\n  'smart:py-2',\n  'smart:px-3',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:shadow-2xs',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:cursor-pointer',\n].join(' ');\n\n// `bg-primary` apply button\nexport const DATE_RANGE_PRESET_APPLY_BUTTON = [\n  'smart:py-2',\n  'smart:px-3',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:border-[1.5px]',\n  'smart:border-transparent',\n  'smart:bg-blue-600',\n  'smart:text-white',\n  'smart:dark:bg-blue-500',\n  'smart:hover:bg-blue-700',\n  'smart:dark:hover:bg-blue-600',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:focus:outline-none',\n  'smart:cursor-pointer',\n].join(' ');\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  forwardRef,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport moment from 'moment';\n\nimport { DateRangeBaseComponent } from '../base/date-range-base.component';\nimport { FilterBtnConstants } from '../base/date-range-modal-base.component';\nimport {\n  DATE_RANGE_PRESET_APPLY_BUTTON,\n  DATE_RANGE_PRESET_CANCEL_BUTTON,\n  DATE_RANGE_PRESET_CLEAR,\n  DATE_RANGE_PRESET_DAY_DEFAULT,\n  DATE_RANGE_PRESET_DAY_MUTED,\n  DATE_RANGE_PRESET_DAY_SELECTED,\n  DATE_RANGE_PRESET_FOOTER,\n  DATE_RANGE_PRESET_NAV_BUTTON,\n  DATE_RANGE_PRESET_POPOVER,\n  DATE_RANGE_PRESET_RANGE_BG,\n  DATE_RANGE_PRESET_SELECT,\n  DATE_RANGE_PRESET_TRIGGER,\n  DATE_RANGE_PRESET_WEEKDAY,\n} from './preset-classes.util';\n\n/**\n * Styled date-range variation (preset) based on the Preline \"single calendar\n * range\" datepicker (FRA-219).\n *\n * Drop-in replacement for `DateRangeStandardComponent` — selected through the\n * `variant=\"preset\"` input on `<smart-date-range>`, or used directly via the\n * `<smart-date-range-preset>` selector. The Preline JS plugin is not installed,\n * so the range calendar is driven entirely by Angular signals (pick a start and\n * end day, the range is highlighted) with no external runtime.\n */\n@Component({\n  selector: 'smart-date-range-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: forwardRef(() => DateRangePresetComponent),\n      multi: true,\n    },\n  ],\n  imports: [TranslatePipe],\n})\nexport class DateRangePresetComponent extends DateRangeBaseComponent {\n  protected readonly currentMonth = signal(moment());\n  protected readonly rangeStart = signal<moment.Moment | null>(null);\n  protected readonly rangeEnd = signal<moment.Moment | null>(null);\n\n  protected readonly weekdays = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];\n  protected readonly months = moment\n    .months()\n    .map((name, index) => ({ index, name }));\n\n  protected readonly years = computed<number[]>(() => {\n    const year = this.currentMonth().year();\n    const list: number[] = [];\n    for (let y = year - 6; y <= year + 6; y++) {\n      list.push(y);\n    }\n    return list;\n  });\n\n  // 6-week grid (Monday first), padded with adjacent-month days.\n  protected readonly weeks = computed<moment.Moment[][]>(() => {\n    const month = this.currentMonth();\n    const gridStart = month.clone().startOf('month').startOf('isoWeek');\n    const gridEnd = month.clone().endOf('month').endOf('isoWeek');\n\n    const days: moment.Moment[] = [];\n    const cursor = gridStart.clone();\n    while (cursor.isSameOrBefore(gridEnd, 'day')) {\n      days.push(cursor.clone());\n      cursor.add(1, 'day');\n    }\n\n    const result: moment.Moment[][] = [];\n    for (let i = 0; i < days.length; i += 7) {\n      result.push(days.slice(i, i + 7));\n    }\n    return result;\n  });\n\n  protected readonly triggerClasses = DATE_RANGE_PRESET_TRIGGER;\n  protected readonly clearClasses = DATE_RANGE_PRESET_CLEAR;\n  protected readonly popoverClasses = DATE_RANGE_PRESET_POPOVER;\n  protected readonly navButtonClasses = DATE_RANGE_PRESET_NAV_BUTTON;\n  protected readonly selectClasses = DATE_RANGE_PRESET_SELECT;\n  protected readonly weekdayClasses = DATE_RANGE_PRESET_WEEKDAY;\n  protected readonly footerClasses = DATE_RANGE_PRESET_FOOTER;\n  protected readonly cancelClasses = DATE_RANGE_PRESET_CANCEL_BUTTON;\n  protected readonly applyClasses = DATE_RANGE_PRESET_APPLY_BUTTON;\n\n  override onClick(): void {\n    super.onClick();\n    const ngModel = this.ngModel();\n    this.rangeStart.set(ngModel?.start ? moment(ngModel.start) : null);\n    this.rangeEnd.set(ngModel?.end ? moment(ngModel.end) : null);\n    this.currentMonth.set(ngModel?.start ? moment(ngModel.start) : moment());\n  }\n\n  prevMonth(): void {\n    this.currentMonth.update((m) => m.clone().subtract(1, 'month'));\n  }\n\n  nextMonth(): void {\n    this.currentMonth.update((m) => m.clone().add(1, 'month'));\n  }\n\n  onMonthChange(event: Event): void {\n    const value = Number((event.target as HTMLSelectElement).value);\n    this.currentMonth.update((m) => m.clone().month(value));\n  }\n\n  onYearChange(event: Event): void {\n    const value = Number((event.target as HTMLSelectElement).value);\n    this.currentMonth.update((m) => m.clone().year(value));\n  }\n\n  selectDay(day: moment.Moment): void {\n    const start = this.rangeStart();\n    const end = this.rangeEnd();\n\n    if (!start || (start && end)) {\n      this.rangeStart.set(day.clone());\n      this.rangeEnd.set(null);\n    } else if (day.isBefore(start, 'day')) {\n      this.rangeEnd.set(start);\n      this.rangeStart.set(day.clone());\n    } else {\n      this.rangeEnd.set(day.clone());\n    }\n  }\n\n  isStart(day: moment.Moment): boolean {\n    const start = this.rangeStart();\n    return !!start && day.isSame(start, 'day');\n  }\n\n  isEnd(day: moment.Moment): boolean {\n    const end = this.rangeEnd();\n    return !!end && day.isSame(end, 'day');\n  }\n\n  isInRange(day: moment.Moment): boolean {\n    const start = this.rangeStart();\n    const end = this.rangeEnd();\n    return (\n      !!start && !!end && day.isAfter(start, 'day') && day.isBefore(end, 'day')\n    );\n  }\n\n  isCurrentMonth(day: moment.Moment): boolean {\n    return day.isSame(this.currentMonth(), 'month');\n  }\n\n  dayButtonClasses(day: moment.Moment): string {\n    if (this.isStart(day) || this.isEnd(day)) {\n      return DATE_RANGE_PRESET_DAY_SELECTED;\n    }\n    if (!this.isCurrentMonth(day)) {\n      return DATE_RANGE_PRESET_DAY_MUTED;\n    }\n    return DATE_RANGE_PRESET_DAY_DEFAULT;\n  }\n\n  dayWrapperClasses(day: moment.Moment): string {\n    if (!this.rangeEnd()) {\n      return '';\n    }\n\n    const parts: string[] = [];\n    if (this.isStart(day) || this.isEnd(day) || this.isInRange(day)) {\n      parts.push(DATE_RANGE_PRESET_RANGE_BG);\n      if (this.isStart(day)) {\n        parts.push('smart:rounded-s-full');\n      }\n      if (this.isEnd(day)) {\n        parts.push('smart:rounded-e-full');\n      }\n    }\n    return parts.join(' ');\n  }\n\n  apply(): void {\n    const start = this.rangeStart();\n    if (!start) {\n      this.onModalDismiss();\n      return;\n    }\n\n    const end = this.rangeEnd() ?? start;\n    this.onModalApply({\n      dateFrom: start,\n      dateTo: end,\n      scrollPosition: 0,\n      selectedButtonName: FilterBtnConstants.empthyString,\n    });\n  }\n\n  cancel(): void {\n    this.onModalDismiss();\n  }\n}\n","<div class=\"smart:relative smart:inline-block\">\n  <div class=\"smart:inline-flex smart:items-center smart:gap-2\">\n    <button\n      type=\"button\"\n      [class]=\"triggerClasses\"\n      (click)=\"onClick()\"\n      data-role=\"trigger\"\n    >\n      <svg\n        class=\"smart:size-5 smart:text-gray-400\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 20 20\"\n        fill=\"currentColor\"\n      >\n        <path\n          fill-rule=\"evenodd\"\n          d=\"M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z\"\n          clip-rule=\"evenodd\"\n        />\n      </svg>\n      @if (value && value.start && value.end) {\n        {{ value.start + ' - ' + value.end }}\n      } @else {\n        {{ 'select' | translate }}\n      }\n    </button>\n\n    @if (value) {\n      <button\n        type=\"button\"\n        [class]=\"clearClasses\"\n        (click)=\"onClear()\"\n        aria-label=\"Clear\"\n        data-role=\"clear\"\n      >\n        <svg\n          class=\"smart:size-4\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          viewBox=\"0 0 20 20\"\n          fill=\"currentColor\"\n        >\n          <path\n            d=\"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z\"\n          />\n        </svg>\n      </button>\n    }\n  </div>\n\n  @if (isOpen()) {\n    <div [class]=\"popoverClasses\" role=\"dialog\" aria-label=\"Select date range\">\n      <!-- Calendar -->\n      <div class=\"smart:p-3 smart:space-y-0.5\">\n        <!-- Months -->\n        <div\n          class=\"smart:grid smart:grid-cols-5 smart:items-center smart:gap-x-3 smart:mx-1.5 smart:pb-3\"\n        >\n          <div class=\"smart:col-span-1\">\n            <button\n              type=\"button\"\n              [class]=\"navButtonClasses\"\n              (click)=\"prevMonth()\"\n              aria-label=\"Previous\"\n              data-role=\"prev\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-4\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m15 18-6-6 6-6\" />\n              </svg>\n            </button>\n          </div>\n\n          <div\n            class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n          >\n            <select\n              [class]=\"selectClasses\"\n              (change)=\"onMonthChange($event)\"\n              aria-label=\"Select month\"\n              data-role=\"month\"\n            >\n              @for (month of months; track month.index) {\n                <option\n                  [value]=\"month.index\"\n                  [selected]=\"month.index === currentMonth().month()\"\n                >\n                  {{ month.name }}\n                </option>\n              }\n            </select>\n\n            <span class=\"smart:text-gray-800 smart:dark:text-gray-200\">/</span>\n\n            <select\n              [class]=\"selectClasses\"\n              (change)=\"onYearChange($event)\"\n              aria-label=\"Select year\"\n              data-role=\"year\"\n            >\n              @for (year of years(); track year) {\n                <option\n                  [value]=\"year\"\n                  [selected]=\"year === currentMonth().year()\"\n                >\n                  {{ year }}\n                </option>\n              }\n            </select>\n          </div>\n\n          <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n            <button\n              type=\"button\"\n              [class]=\"navButtonClasses\"\n              (click)=\"nextMonth()\"\n              aria-label=\"Next\"\n              data-role=\"next\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-4\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m9 18 6-6-6-6\" />\n              </svg>\n            </button>\n          </div>\n        </div>\n\n        <!-- Weeks -->\n        <div class=\"smart:flex smart:pb-1.5\">\n          @for (weekday of weekdays; track weekday) {\n            <span [class]=\"weekdayClasses\">{{ weekday }}</span>\n          }\n        </div>\n\n        <!-- Days -->\n        @for (week of weeks(); track $index) {\n          <div class=\"smart:flex\">\n            @for (day of week; track day.valueOf()) {\n              <div [class]=\"dayWrapperClasses(day)\">\n                <button\n                  type=\"button\"\n                  [class]=\"dayButtonClasses(day)\"\n                  (click)=\"selectDay(day)\"\n                  data-role=\"day\"\n                >\n                  {{ day.date() }}\n                </button>\n              </div>\n            }\n          </div>\n        }\n      </div>\n\n      <!-- Button Group -->\n      <div [class]=\"footerClasses\">\n        <button\n          type=\"button\"\n          [class]=\"cancelClasses\"\n          (click)=\"cancel()\"\n          data-role=\"cancel\"\n        >\n          {{ 'cancel' | translate }}\n        </button>\n        <button\n          type=\"button\"\n          [class]=\"applyClasses\"\n          [disabled]=\"!rangeStart()\"\n          (click)=\"apply()\"\n          data-role=\"apply\"\n        >\n          {{ 'select' | translate }}\n        </button>\n      </div>\n    </div>\n  }\n</div>\n","import {\n  ChangeDetectionStrategy,\n  ChangeDetectorRef,\n  Component,\n  forwardRef,\n  inject,\n  input,\n  model,\n  ViewEncapsulation,\n} from '@angular/core';\nimport {\n  ControlValueAccessor,\n  FormsModule,\n  NG_VALUE_ACCESSOR,\n} from '@angular/forms';\n\nimport { IDateRange } from '@smartsoft001/domain-core';\n\nimport { DateRangeVariantName } from './base/date-range-base.component';\nimport { DateRangePresetComponent } from './preset/preset.component';\nimport { DateRangeStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-date-range',\n  template: `\n    @switch (variant()) {\n      @case ('standard') {\n        <smart-date-range-standard\n          [ngModel]=\"ngModel()\"\n          (ngModelChange)=\"onInnerChange($event)\"\n          [class]=\"cssClass()\"\n        />\n      }\n      @case ('preset') {\n        <smart-date-range-preset\n          [ngModel]=\"ngModel()\"\n          (ngModelChange)=\"onInnerChange($event)\"\n          [class]=\"cssClass()\"\n        />\n      }\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [DateRangeStandardComponent, DateRangePresetComponent, FormsModule],\n  providers: [\n    {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: forwardRef(() => DateRangeComponent),\n      multi: true,\n    },\n  ],\n})\nexport class DateRangeComponent implements ControlValueAccessor {\n  private cd = inject(ChangeDetectorRef);\n\n  variant = input<DateRangeVariantName>('standard');\n  cssClass = input<string>('', { alias: 'class' });\n\n  ngModel = model<IDateRange | undefined>(undefined);\n\n  private propagateChange: (val: unknown) => void = () => undefined;\n  private propagateTouched: () => void = () => undefined;\n\n  onInnerChange(value: IDateRange | undefined): void {\n    this.ngModel.set(value);\n    this.propagateChange(value);\n    this.propagateTouched();\n  }\n\n  writeValue(value: IDateRange | undefined): void {\n    this.ngModel.set(value);\n    this.cd.detectChanges();\n  }\n\n  registerOnChange(fn: (val: unknown) => void): void {\n    this.propagateChange = fn;\n  }\n\n  registerOnTouched(fn: () => void): void {\n    this.propagateTouched = fn;\n  }\n}\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IDescriptionListOptions } from '../../../models';\n\n@Directive()\nexport abstract class DescriptionListBaseComponent {\n  static smartType: DynamicComponentType = 'description-list';\n\n  options: InputSignal<IDescriptionListOptions | undefined> =\n    input<IDescriptionListOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DescriptionListBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-description-list-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class DescriptionListStandardComponent extends DescriptionListBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"list\">\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    <dl>\n      @for (item of options()?.items ?? []; track $index) {\n        <div class=\"item\">\n          <dt>{{ item.label }}</dt>\n          <dd>\n            @if (item.valueTpl) {\n              <ng-container [ngTemplateOutlet]=\"item.valueTpl\" />\n            } @else {\n              {{ item.value }}\n            }\n            @if (item.actionTpl) {\n              <span class=\"action\">\n                <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n              </span>\n            }\n          </dd>\n        </div>\n      }\n    </dl>\n    @if (options()?.attachmentsTpl) {\n      <div class=\"attachments\">\n        <ng-container [ngTemplateOutlet]=\"options()!.attachmentsTpl!\" />\n      </div>\n    }\n    @if (options()?.footerTpl) {\n      <div class=\"footer\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","/** Header title (<h3>). */\nexport const DESCRIPTION_LIST_TITLE_CLASSES =\n  'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n\n/** Header description (<p>). */\nexport const DESCRIPTION_LIST_DESCRIPTION_CLASSES =\n  'smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Base classes for the list wrapper; external cssClass is merged onto it. */\nexport const DESCRIPTION_LIST_LIST_CLASSES =\n  'smart:divide-y smart:divide-gray-200 smart:dark:divide-gray-700';\n\n/** Row wrapper (one label/value pair). */\nexport const DESCRIPTION_LIST_ROW_CLASSES =\n  'smart:grid smart:py-3 smart:sm:grid-cols-3 smart:sm:gap-4';\n\n/** Term cell (<dt>). */\nexport const DESCRIPTION_LIST_TERM_CLASSES =\n  'smart:text-sm smart:font-medium smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Value cell (<dd>). */\nexport const DESCRIPTION_LIST_VALUE_CLASSES =\n  'smart:text-sm smart:text-gray-900 smart:dark:text-white smart:sm:col-span-2';\n\n/** Right-aligned action zone inside a row. */\nexport const DESCRIPTION_LIST_ACTION_CLASSES = 'smart:ml-auto smart:text-right';\n\n/** Attachments section, rendered under the list. */\nexport const DESCRIPTION_LIST_ATTACHMENTS_CLASSES =\n  'smart:mt-4 smart:text-sm smart:text-gray-900 smart:dark:text-white';\n\n/** Footer section, rendered under the list. */\nexport const DESCRIPTION_LIST_FOOTER_CLASSES =\n  'smart:mt-4 smart:text-sm smart:text-gray-900 smart:dark:text-white';\n\n/** Merge the preset list classes with an optional external cssClass. */\nexport function getDescriptionListListClasses(cssClass: string): string {\n  return [DESCRIPTION_LIST_LIST_CLASSES, cssClass]\n    .filter(Boolean)\n    .join(' ')\n    .trim();\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DescriptionListStandardComponent } from '../standard/standard.component';\nimport {\n  DESCRIPTION_LIST_ACTION_CLASSES,\n  DESCRIPTION_LIST_ATTACHMENTS_CLASSES,\n  DESCRIPTION_LIST_DESCRIPTION_CLASSES,\n  DESCRIPTION_LIST_FOOTER_CLASSES,\n  DESCRIPTION_LIST_ROW_CLASSES,\n  DESCRIPTION_LIST_TERM_CLASSES,\n  DESCRIPTION_LIST_TITLE_CLASSES,\n  DESCRIPTION_LIST_VALUE_CLASSES,\n  getDescriptionListListClasses,\n} from './preset-classes.util';\n\n/**\n * Preset-styled description list.\n *\n * Drop-in replacement for `DescriptionListStandardComponent` — register it\n * through `DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-description-list>`, or use the `<smart-description-list-preset>`\n * selector directly.\n *\n * Renders an optional header (title + description), a divided `<dl>` of\n * label/value rows, and optional attachments/footer sections. Within a row\n * `valueTpl` wins over `value`, and `actionTpl` renders right-aligned.\n */\n@Component({\n  selector: 'smart-description-list-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class DescriptionListPresetComponent extends DescriptionListStandardComponent {\n  // NgComponentOutlet (used by DescriptionListComponent when this is registered\n  // through DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN) passes inputs by their\n  // canonical name, so the inherited `class` alias is dropped here.\n  override cssClass = input<string>('');\n\n  protected readonly hasHeader = computed(\n    () => !!this.options()?.title || !!this.options()?.description,\n  );\n\n  protected readonly listClasses = computed(() =>\n    getDescriptionListListClasses(this.cssClass()),\n  );\n\n  protected readonly titleClasses = DESCRIPTION_LIST_TITLE_CLASSES;\n  protected readonly descriptionClasses = DESCRIPTION_LIST_DESCRIPTION_CLASSES;\n  protected readonly rowClasses = DESCRIPTION_LIST_ROW_CLASSES;\n  protected readonly termClasses = DESCRIPTION_LIST_TERM_CLASSES;\n  protected readonly valueClasses = DESCRIPTION_LIST_VALUE_CLASSES;\n  protected readonly actionClasses = DESCRIPTION_LIST_ACTION_CLASSES;\n  protected readonly attachmentsClasses = DESCRIPTION_LIST_ATTACHMENTS_CLASSES;\n  protected readonly footerClasses = DESCRIPTION_LIST_FOOTER_CLASSES;\n}\n","@if (hasHeader()) {\n  <div data-role=\"header\">\n    @if (options()?.title) {\n      <h3 [class]=\"titleClasses\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p [class]=\"descriptionClasses\">{{ options()!.description }}</p>\n    }\n  </div>\n}\n<dl data-role=\"list\" [class]=\"listClasses()\">\n  @for (item of options()?.items ?? []; track $index) {\n    <div data-role=\"row\" [class]=\"rowClasses\">\n      <dt data-role=\"term\" [class]=\"termClasses\">{{ item.label }}</dt>\n      <dd data-role=\"value\" [class]=\"valueClasses\">\n        @if (item.valueTpl) {\n          <ng-container [ngTemplateOutlet]=\"item.valueTpl\" />\n        } @else {\n          {{ item.value }}\n        }\n      </dd>\n      @if (item.actionTpl) {\n        <span data-role=\"action\" [class]=\"actionClasses\">\n          <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n        </span>\n      }\n    </div>\n  }\n</dl>\n@if (options()?.attachmentsTpl) {\n  <div data-role=\"attachments\" [class]=\"attachmentsClasses\">\n    <ng-container [ngTemplateOutlet]=\"options()!.attachmentsTpl!\" />\n  </div>\n}\n@if (options()?.footerTpl) {\n  <div data-role=\"footer\" [class]=\"footerClasses\">\n    <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n  </div>\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IDescriptionListOptions } from '../../models';\nimport { DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { DescriptionListStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-description-list',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-description-list-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [DescriptionListStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DescriptionListComponent {\n  private injectedComponent = inject(\n    DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN,\n    {\n      optional: true,\n    },\n  );\n\n  options = input<IDescriptionListOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { Directive, input, InputSignal, signal } from '@angular/core';\n\nimport { DynamicComponentType, IInfoOptions } from '../../../models';\n\n@Directive()\nexport abstract class InfoBaseComponent {\n  static smartType: DynamicComponentType = 'info';\n\n  options: InputSignal<IInfoOptions> = input.required<IInfoOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n  isOpen = signal(false);\n\n  toggle(): void {\n    this.isOpen.update((v) => !v);\n  }\n\n  open(): void {\n    this.isOpen.set(true);\n  }\n\n  close(): void {\n    this.isOpen.set(false);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ElementRef,\n  HostListener,\n  inject,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { InfoBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-info-standard',\n  templateUrl: './standard.component.html',\n  imports: [TranslatePipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InfoStandardComponent extends InfoBaseComponent {\n  private readonly elementRef = inject(ElementRef);\n\n  containerClasses = computed(() => {\n    const classes = ['smart:relative', 'smart:inline-block'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  @HostListener('document:click', ['$event'])\n  onDocumentClick(event: MouseEvent): void {\n    if (!this.elementRef.nativeElement.contains(event.target)) {\n      this.close();\n    }\n  }\n}\n","<div [class]=\"containerClasses()\">\n  <button type=\"button\" (click)=\"toggle(); $event.stopPropagation()\">\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n      class=\"smart:h-5 smart:w-5\"\n    >\n      <path\n        fill-rule=\"evenodd\"\n        d=\"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z\"\n        clip-rule=\"evenodd\"\n      />\n    </svg>\n  </button>\n  @if (isOpen()) {\n    <div\n      data-testid=\"info-popover\"\n      class=\"smart:absolute smart:z-10 smart:mt-2 smart:w-64 smart:rounded-lg smart:bg-white smart:p-3 smart:text-sm smart:text-gray-700 smart:shadow-lg smart:ring-1 smart:ring-gray-900/5 smart:dark:bg-gray-800 smart:dark:text-gray-300 smart:dark:ring-white/10\"\n    >\n      {{ options().text | translate }}\n    </div>\n  }\n</div>\n","export type InfoPresetPlacement = 'top' | 'bottom' | 'left' | 'right';\n\nconst CONTAINER = ['smart:relative', 'smart:inline-block'].join(' ');\n\n// Circular icon toggle — translated from the Preline tooltip `hs-tooltip-toggle`\n// classes (bg-muted / border-line-2 / text-muted-foreground-2 + primary hover &\n// focus states) to vanilla Tailwind with explicit dark: variants.\nconst TOGGLE = [\n  'smart:size-10',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-2',\n  'smart:rounded-full',\n  'smart:bg-gray-100',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:text-gray-500',\n  'smart:hover:bg-blue-50',\n  'smart:hover:border-blue-200',\n  'smart:hover:text-blue-600',\n  'smart:focus:outline-none',\n  'smart:focus:bg-blue-50',\n  'smart:focus:border-blue-200',\n  'smart:focus:text-blue-600',\n  'smart:dark:bg-gray-800',\n  'smart:dark:border-gray-700',\n  'smart:dark:text-gray-400',\n  'smart:dark:hover:bg-blue-500/20',\n  'smart:dark:hover:border-blue-900',\n  'smart:dark:hover:text-blue-400',\n  'smart:dark:focus:bg-blue-500/20',\n  'smart:dark:focus:border-blue-900',\n  'smart:dark:focus:text-blue-400',\n].join(' ');\n\n// Tooltip bubble — translated from the Preline `hs-tooltip-content` classes\n// (bg-tooltip / border-tooltip-line / text-tooltip-foreground). The\n// hs-tooltip-shown:* / opacity / invisible transition utilities are dropped\n// because visibility is driven by Angular `@if` instead of Preline's JS plugin.\nconst TOOLTIP_BASE = [\n  'smart:absolute',\n  'smart:z-10',\n  'smart:inline-block',\n  // An absolutely positioned bubble takes the width of its tiny anchor and\n  // wraps after every word; size it to its text, up to a readable line.\n  'smart:w-max',\n  'smart:max-w-xs',\n  'smart:py-1',\n  'smart:px-2',\n  'smart:rounded-md',\n  'smart:shadow-2xs',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:bg-gray-900',\n  'smart:border',\n  'smart:border-gray-900',\n  'smart:text-white',\n  'smart:dark:bg-gray-700',\n  'smart:dark:border-gray-700',\n].join(' ');\n\n// Absolute positioning per placement — replaces Preline's Popper-driven\n// `[--placement:*]` CSS variable (no JS positioning available).\nconst PLACEMENT_CLASSES: Record<InfoPresetPlacement, string> = {\n  top: 'smart:bottom-full smart:left-1/2 smart:-translate-x-1/2 smart:mb-2',\n  bottom: 'smart:top-full smart:left-1/2 smart:-translate-x-1/2 smart:mt-2',\n  left: 'smart:right-full smart:top-1/2 smart:-translate-y-1/2 smart:mr-2',\n  right: 'smart:left-full smart:top-1/2 smart:-translate-y-1/2 smart:ml-2',\n};\n\nexport function getInfoContainerClasses(): string {\n  return CONTAINER;\n}\n\nexport function getInfoToggleClasses(): string {\n  return TOGGLE;\n}\n\nexport function getInfoTooltipClasses(placement: InfoPresetPlacement): string {\n  return `${TOOLTIP_BASE} ${PLACEMENT_CLASSES[placement]}`;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { InfoBaseComponent } from '../base';\nimport {\n  getInfoContainerClasses,\n  getInfoToggleClasses,\n  getInfoTooltipClasses,\n  InfoPresetPlacement,\n} from './preset-classes.util';\n\nlet nextInfoTooltipId = 0;\n\n/**\n * Styled info / tooltip variation (preset).\n *\n * Drop-in replacement for `InfoStandardComponent` — register it through\n * `INFO_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-info>`, or use the\n * `<smart-info-preset>` selector directly.\n *\n * Renders the Preline \"Tooltip\" look: a circular icon toggle with a small\n * tooltip bubble. Visibility is driven by Angular hover/focus + the inherited\n * `isOpen` signal and `@if` (Preline's JS plugin is not installed), keeping the\n * translated Preline visual classes, placement and `role=\"tooltip\"` ARIA.\n */\n@Component({\n  selector: 'smart-info-preset',\n  templateUrl: './preset.component.html',\n  imports: [TranslatePipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InfoPresetComponent extends InfoBaseComponent {\n  // Declared without the inherited `class` alias. <smart-info> resolves its\n  // inputs to the names this component declares (outletInputs), so the class\n  // passed to the wrapper still lands here; used directly, the preset takes the\n  // extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  placement = input<InfoPresetPlacement>('top');\n\n  protected readonly tooltipId = `smart-info-tooltip-${nextInfoTooltipId++}`;\n\n  protected containerClasses = computed(() =>\n    [getInfoContainerClasses(), this.cssClass()].filter(Boolean).join(' '),\n  );\n  protected toggleClasses = computed(() => getInfoToggleClasses());\n  protected tooltipClasses = computed(() =>\n    getInfoTooltipClasses(this.placement()),\n  );\n}\n","<div [class]=\"containerClasses()\" (mouseenter)=\"open()\" (mouseleave)=\"close()\">\n  <button\n    type=\"button\"\n    [class]=\"toggleClasses()\"\n    [attr.aria-describedby]=\"isOpen() ? tooltipId : null\"\n    aria-label=\"More information\"\n    (focus)=\"open()\"\n    (blur)=\"close()\"\n  >\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n      class=\"smart:shrink-0 smart:size-5\"\n      aria-hidden=\"true\"\n    >\n      <path\n        fill-rule=\"evenodd\"\n        d=\"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z\"\n        clip-rule=\"evenodd\"\n      />\n    </svg>\n  </button>\n  @if (isOpen()) {\n    <span [id]=\"tooltipId\" [class]=\"tooltipClasses()\" role=\"tooltip\">\n      {{ options().text | translate }}\n    </span>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IInfoOptions } from '../../models';\nimport { INFO_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { InfoStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-info',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-info-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [InfoStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InfoComponent {\n  private injectedComponent = inject(INFO_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input.required<IInfoOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import {\n  Directive,\n  ChangeDetectorRef,\n  inject,\n  input,\n  InputSignal,\n  effect,\n} from '@angular/core';\n\nimport { IDetailOptions } from '../../../models';\n\n@Directive()\nexport abstract class DetailBaseComponent<T> {\n  protected cd = inject(ChangeDetectorRef);\n\n  options = input<IDetailOptions<T>>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  constructor() {\n    effect(() => {\n      this.options(); //Track changes only\n      this.afterSetOptionsHandler();\n      this.cd.detectChanges();\n    });\n  }\n\n  protected afterSetOptionsHandler() {\n    // no base functionality\n  }\n}\n","import {\n  Component,\n  computed,\n  signal,\n  Signal,\n  ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { IAddress } from '@smartsoft001/domain-core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-address',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let address = thisAddress();\n    @if (address) {\n      <p [class]=\"addressClasses()\">\n        {{ address?.street }}\n        {{\n          address?.flatNumber\n            ? address?.buildingNumber + '/' + address?.flatNumber\n            : address?.buildingNumber\n        }}\n        <br />{{ address?.zipCode }} {{ address?.city }}\n      </p>\n    }\n  `,\n})\nexport class DetailAddressComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  thisAddress: Signal<IAddress | null> = signal(null);\n\n  addressClasses = computed(() => {\n    const classes = [\n      'smart:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-gray-100',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    const item = this.options()?.item?.();\n    const key = this.options()?.key;\n    if (item && key) {\n      this.thisAddress = computed<IAddress>(() => {\n        return item[key] ?? null;\n      });\n    }\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  Component,\n  computed,\n  inject,\n  signal,\n  Signal,\n  ChangeDetectionStrategy,\n} from '@angular/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { IDetailsOptions } from '../../../models';\nimport { DETAILS_COMPONENT_TOKEN } from '../../../shared.inectors';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-array',\n  template: `\n    @let options = childOptions();\n    @if (options && options.length) {\n      <div [class]=\"arrayClasses()\">\n        @for (opt of options; track opt) {\n          <ng-template\n            [ngComponentOutlet]=\"detailsComponent\"\n            [ndcDynamicInputs]=\"{ options: opt }\"\n          ></ng-template>\n        }\n      </div>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  host: { class: 'smart:contents' },\n})\nexport class DetailArrayComponent<\n  T extends { [key: string]: any } | undefined,\n  TChild extends IEntity<string>,\n> extends DetailBaseComponent<T> {\n  public detailsComponent = inject(DETAILS_COMPONENT_TOKEN);\n  childOptions: Signal<IDetailsOptions<TChild>[]> = signal([]);\n\n  arrayClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:space-y-2',\n      'smart:w-full',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    const key = this.options()?.key;\n    if (key) {\n      this.childOptions = computed(() => {\n        const item = this.options()?.item?.();\n        if (!item || !item[key]) return [];\n\n        return item[key].map((val: any) => {\n          return {\n            type: val.constructor as any,\n            item: signal(val as TChild),\n          } as IDetailsOptions<TChild>;\n        });\n      });\n    }\n  }\n}\n","import {\n  Component,\n  computed,\n  inject,\n  ChangeDetectionStrategy,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { FileService } from '../../../services';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-attachment',\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <button\n        type=\"button\"\n        [class]=\"buttonClasses()\"\n        (click)=\"download(item, key)\"\n      >\n        {{ 'download' | translate }}\n      </button>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [TranslatePipe],\n})\nexport class DetailAttachmentComponent<\n  T extends IEntity<string> | undefined,\n> extends DetailBaseComponent<T> {\n  private fileService = inject(FileService);\n\n  buttonClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:rounded-md',\n      'smart:bg-indigo-600',\n      'smart:px-3',\n      'smart:py-2',\n      'smart:text-sm',\n      'smart:font-semibold',\n      'smart:text-white',\n      'smart:shadow-sm',\n      'smart:hover:bg-indigo-500',\n      'smart:dark:bg-indigo-500',\n      'smart:dark:hover:bg-indigo-400',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  download(item: T, key: string): void {\n    this.fileService.download((item as any)[key].id);\n  }\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-color',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <div [class]=\"colorClasses()\" [style.background-color]=\"item[key]\"></div>\n    }\n  `,\n})\nexport class DetailColorComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  colorClasses = computed(() => {\n    const classes = [\n      'smart:h-8',\n      'smart:w-full',\n      'smart:rounded',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-white/10',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-date-range',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      @let range = item[key];\n      @if (range) {\n        <p [class]=\"dateRangeClasses()\">{{ range.start }} – {{ range.end }}</p>\n      }\n    }\n  `,\n})\nexport class DetailDateRangeComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  dateRangeClasses = computed(() => {\n    const classes = [\n      'smart:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-gray-100',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-email',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <a [class]=\"emailClasses()\" [href]=\"'mailto:' + item[key]\">{{\n        item[key]\n      }}</a>\n    }\n  `,\n})\nexport class DetailEmailComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  emailClasses = computed(() => {\n    const classes = [\n      'smart:text-sm',\n      'smart:text-indigo-600',\n      'smart:underline',\n      'smart:dark:text-indigo-400',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-enum',\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <p [class]=\"enumClasses()\">\n        @for (val of this.getValues(item, key); track val; let first = $first) {\n          @if (!first) {\n            ,&nbsp;\n          }\n          {{ val | translate }}\n        }\n      </p>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [TranslatePipe],\n})\nexport class DetailEnumComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  enumClasses = computed(() => {\n    const classes = [\n      'smart:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-gray-100',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected getValues(item: T, key: string): string[] {\n    const value = item?.[key] ?? [];\n    return (Array.isArray(value) ? value : [value]).map((v) => String(v));\n  }\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-flag',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <span [class]=\"flagClasses()\">\n        @if (item[key]) {\n          <svg\n            class=\"smart:h-5 smart:w-5 smart:text-green-500\"\n            viewBox=\"0 0 20 20\"\n            fill=\"currentColor\"\n            aria-hidden=\"true\"\n          >\n            <path\n              fill-rule=\"evenodd\"\n              d=\"M16.704 5.29a1 1 0 010 1.42l-8 8a1 1 0 01-1.42 0l-4-4a1 1 0 011.42-1.42L8 12.58l7.29-7.29a1 1 0 011.414 0z\"\n              clip-rule=\"evenodd\"\n            />\n          </svg>\n        } @else {\n          <svg\n            class=\"smart:h-5 smart:w-5 smart:text-gray-400\"\n            viewBox=\"0 0 20 20\"\n            fill=\"currentColor\"\n            aria-hidden=\"true\"\n          >\n            <path\n              fill-rule=\"evenodd\"\n              d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\"\n              clip-rule=\"evenodd\"\n            />\n          </svg>\n        }\n      </span>\n    }\n  `,\n})\nexport class DetailFlagComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  flagClasses = computed(() => {\n    const classes = ['smart:inline-flex', 'smart:items-center'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  Component,\n  computed,\n  inject,\n  signal,\n  Signal,\n  ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { FileService } from '../../../services';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-image',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let url = imageUrl();\n    @if (url) {\n      <img [class]=\"imageClasses()\" [src]=\"url\" alt=\"\" />\n    }\n  `,\n})\nexport class DetailImageComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  private fileService = inject(FileService);\n\n  imageUrl: Signal<string | null> = signal(null);\n\n  imageClasses = computed(() => {\n    const classes = [\n      'smart:h-[150px]',\n      'smart:w-[150px]',\n      'smart:rounded-lg',\n      'smart:object-cover',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    const item = this.options()?.item?.();\n    if (item) {\n      this.imageUrl = computed(() => {\n        const key = this.options()?.key;\n        if (!item || !key) return null;\n\n        return this.fileService.getUrl(item[key].id);\n      });\n    }\n  }\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-logo',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key && item[key]) {\n      <img [class]=\"logoClasses()\" [src]=\"item[key]\" alt=\"\" />\n    }\n  `,\n})\nexport class DetailLogoComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailBaseComponent<T> {\n  logoClasses = computed(() => {\n    const classes = [\n      'smart:h-[150px]',\n      'smart:w-[150px]',\n      'smart:rounded-lg',\n      'smart:object-contain',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  Component,\n  computed,\n  inject,\n  signal,\n  Signal,\n  ChangeDetectionStrategy,\n} from '@angular/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { IDetailsOptions } from '../../../models';\nimport { DETAILS_COMPONENT_TOKEN } from '../../../shared.inectors';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-object',\n  template: `\n    @let options = childOptions();\n    @if (options) {\n      <div [class]=\"objectClasses()\">\n        <ng-template\n          [ngComponentOutlet]=\"detailsComponent\"\n          [ndcDynamicInputs]=\"{ options }\"\n        ></ng-template>\n      </div>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  host: { class: 'smart:contents' },\n})\nexport class DetailObjectComponent<\n  T extends (IEntity<string> & { [key: string]: any }) | undefined,\n  TChild extends IEntity<string>,\n> extends DetailBaseComponent<T> {\n  public detailsComponent = inject(DETAILS_COMPONENT_TOKEN);\n\n  childOptions: Signal<IDetailsOptions<TChild> | null> = signal(null);\n\n  objectClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:block'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    const item = this.options()?.item?.();\n    if (item) {\n      this.childOptions = computed(() => {\n        if (!item) return null;\n\n        const key = this.options()?.key;\n        if (key) {\n          return {\n            type: item[key].constructor as any,\n            item: signal(item[key] as TChild),\n          } as IDetailsOptions<TChild>;\n        }\n\n        return null;\n      });\n    }\n  }\n}\n","import {\n  Component,\n  computed,\n  inject,\n  ChangeDetectionStrategy,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { FileService } from '../../../services';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-pdf',\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <button type=\"button\" [class]=\"buttonClasses()\" (click)=\"show(item, key)\">\n        {{ 'show' | translate }}\n      </button>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [TranslatePipe],\n})\nexport class DetailPdfComponent<\n  T extends IEntity<string> | undefined,\n> extends DetailBaseComponent<T> {\n  private fileService = inject(FileService);\n\n  buttonClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:rounded-md',\n      'smart:bg-indigo-600',\n      'smart:px-3',\n      'smart:py-2',\n      'smart:text-sm',\n      'smart:font-semibold',\n      'smart:text-white',\n      'smart:shadow-sm',\n      'smart:hover:bg-indigo-500',\n      'smart:dark:bg-indigo-500',\n      'smart:dark:hover:bg-indigo-400',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  show(item: T, key: string): void {\n    this.fileService.download((item as any)[key].id);\n  }\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { ListCellPipe } from '../../../pipes';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-phone-number-pl',\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @if (item) {\n      @let value =\n        $safeNavigationMigration(\n          (\n            item\n            | smartListCell\n              : $safeNavigationMigration(options()?.key)\n              : $safeNavigationMigration(options()?.cellPipe)\n          )?.value\n        );\n      @if (value) {\n        <a\n          [class]=\"phoneClasses()\"\n          [href]=\"'tel:48' + value\"\n          [innerHTML]=\"value\"\n        ></a>\n      }\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [ListCellPipe],\n})\nexport class DetailPhoneNumberPlComponent<T> extends DetailBaseComponent<T> {\n  phoneClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:rounded-md',\n      'smart:bg-gray-100',\n      'smart:px-2',\n      'smart:py-1',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-700',\n      'smart:dark:bg-gray-800',\n      'smart:dark:text-gray-200',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { Component, computed, ChangeDetectionStrategy } from '@angular/core';\n\nimport { ListCellPipe } from '../../../pipes';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-text',\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @let key = $safeNavigationMigration(options()?.key);\n    @if (item && key) {\n      <p\n        [class]=\"textClasses()\"\n        [innerHTML]=\"\n          $safeNavigationMigration(\n            (\n              item\n              | smartListCell\n                : key\n                : $safeNavigationMigration(options()?.cellPipe)\n            )?.value\n          )\n        \"\n      ></p>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [ListCellPipe],\n})\nexport class DetailTextComponent<T> extends DetailBaseComponent<T> {\n  textClasses = computed(() => {\n    const classes = [\n      'smart:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-gray-100',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  Component,\n  computed,\n  inject,\n  ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { FileService } from '../../../services';\nimport { DetailBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-detail-video',\n  changeDetection: ChangeDetectionStrategy.Eager,\n  template: `\n    @let item = $safeNavigationMigration(options()?.item?.());\n    @if (item && options()?.key) {\n      <video [class]=\"videoClasses()\" controls controlsList=\"nodownload\">\n        <source type=\"video/mp4\" [src]=\"getUrl(item)\" />\n        Your browser does not support the video tag.\n      </video>\n    }\n  `,\n})\nexport class DetailVideoComponent<\n  T extends IEntity<string> | undefined,\n> extends DetailBaseComponent<T> {\n  private fileService = inject(FileService);\n\n  videoClasses = computed(() => {\n    const classes = ['smart:w-full', 'smart:rounded-lg'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  getUrl(item: T): string | null {\n    const key = this.options()?.key;\n    if (key) {\n      return this.fileService.getUrl((item as any)[key].id);\n    }\n\n    return null;\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  InputSignal,\n  Type,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport { FieldType, FieldTypeDef } from '@smartsoft001/models';\n\nimport { IDetailOptions } from '../../models';\nimport { ModelLabelPipe } from '../../pipes';\nimport { DETAIL_FIELD_COMPONENTS_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { InfoComponent } from '../info';\nimport { DetailAddressComponent } from './address/address.component';\nimport { DetailArrayComponent } from './array/array.component';\nimport { DetailAttachmentComponent } from './attachment/attachment.component';\nimport { DetailBaseComponent } from './base/base.component';\nimport { DetailColorComponent } from './color/color.component';\nimport { DetailDateRangeComponent } from './date-range/date-range.component';\nimport { DetailEmailComponent } from './email/email.component';\nimport { DetailEnumComponent } from './enum/enum.component';\nimport { DetailFlagComponent } from './flag/flag.component';\nimport { DetailImageComponent } from './image/image.component';\nimport { DetailLogoComponent } from './logo/logo.component';\nimport { DetailObjectComponent } from './object/object.component';\nimport { DetailPdfComponent } from './pdf/pdf.component';\nimport { DetailPhoneNumberPlComponent } from './phone-number-pl/phone-number-pl.component';\nimport { DetailTextComponent } from './text/text.component';\nimport { DetailVideoComponent } from './video/video.component';\n\nconst baseMap: Partial<Record<FieldTypeDef, Type<DetailBaseComponent<any>>>> = {\n  [FieldType.email]: DetailEmailComponent,\n  [FieldType.flag]: DetailFlagComponent,\n  [FieldType.enum]: DetailEnumComponent,\n  [FieldType.address]: DetailAddressComponent,\n  [FieldType.object]: DetailObjectComponent,\n  [FieldType.color]: DetailColorComponent,\n  [FieldType.logo]: DetailLogoComponent,\n  [FieldType.array]: DetailArrayComponent,\n  [FieldType.pdf]: DetailPdfComponent,\n  [FieldType.video]: DetailVideoComponent,\n  [FieldType.attachment]: DetailAttachmentComponent,\n  [FieldType.dateRange]: DetailDateRangeComponent,\n  [FieldType.image]: DetailImageComponent,\n  [FieldType.phoneNumberPl]: DetailPhoneNumberPlComponent,\n  [FieldType.text]: DetailTextComponent,\n};\n\n@Component({\n  selector: 'smart-detail',\n  templateUrl: './detail.component.html',\n  imports: [ModelLabelPipe, InfoComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DetailComponent<T extends IEntity<string> | undefined> {\n  private extendMap = inject(DETAIL_FIELD_COMPONENTS_TOKEN, { optional: true });\n\n  readonly options: InputSignal<IDetailOptions<T> | undefined> = input.required<\n    IDetailOptions<T> | undefined\n  >();\n  readonly type: InputSignal<any> = input.required<any>();\n  readonly cssClass: InputSignal<string> = input<string>('', {\n    alias: 'class',\n  });\n\n  component = computed(() => {\n    const type = this.options()?.options?.type ?? FieldType.text;\n    const map = { ...baseMap, ...(this.extendMap ?? {}) };\n    return map[type] ?? DetailTextComponent;\n  });\n\n  // The host is `display: contents`, so an external class has to be forwarded\n  // to the field component to have any effect. DetailBaseComponent aliases it\n  // back to `class`, so the key here is `class`, matching ListComponent.\n  componentInputs = computed(() =>\n    outletInputs(this.component(), {\n      options: this.options(),\n      class: this.cssClass(),\n    }),\n  );\n}\n","@let optionsLocal = options();\n@if (optionsLocal) {\n  <div class=\"smart:relative\">\n    @if (optionsLocal.options?.info) {\n      <div class=\"smart:absolute smart:right-0 smart:top-0\">\n        <smart-info\n          [options]=\"{ text: optionsLocal.options?.info ?? '' }\"\n        ></smart-info>\n      </div>\n    }\n    <span\n      class=\"smart:block smart:text-sm smart:font-medium smart:text-gray-500 smart:dark:text-gray-400\"\n    >\n      {{\n        $safeNavigationMigration(optionsLocal?.item?.())\n          | smartModelLabel: optionsLocal.key : type()\n      }}\n    </span>\n    @let item = $safeNavigationMigration(optionsLocal?.item?.());\n    @if (item) {\n      <ng-container\n        *ngComponentOutlet=\"component(); inputs: componentInputs()\"\n      ></ng-container>\n    } @else {\n      <div\n        class=\"smart:h-4 smart:w-3/4 smart:animate-pulse smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n      ></div>\n    }\n  </div>\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DetailAddressComponent } from '../address.component';\n\n@Component({\n  selector: 'smart-detail-address-preset',\n  template: `\n    @let address = thisAddress();\n    @if (address) {\n      <div data-role=\"address\" [class]=\"containerClasses()\">\n        <svg\n          data-role=\"icon\"\n          class=\"smart:mt-0.5 smart:size-4 smart:shrink-0 smart:text-gray-400 smart:dark:text-gray-500\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          fill=\"none\"\n          viewBox=\"0 0 24 24\"\n          stroke-width=\"1.5\"\n          stroke=\"currentColor\"\n          aria-hidden=\"true\"\n        >\n          <path\n            stroke-linecap=\"round\"\n            stroke-linejoin=\"round\"\n            d=\"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n          />\n          <path\n            stroke-linecap=\"round\"\n            stroke-linejoin=\"round\"\n            d=\"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z\"\n          />\n        </svg>\n        <p [class]=\"textClasses()\">\n          {{ address?.street }}\n          {{\n            address?.flatNumber\n              ? address?.buildingNumber + '/' + address?.flatNumber\n              : address?.buildingNumber\n          }}\n          <br />{{ address?.zipCode }} {{ address?.city }}\n        </p>\n      </div>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailAddressPresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailAddressComponent<T> {\n  containerClasses = computed(() => {\n    const classes = ['smart:flex', 'smart:items-start', 'smart:gap-x-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  textClasses = computed(() =>\n    ['smart:text-sm', 'smart:text-gray-900', 'smart:dark:text-gray-100'].join(\n      ' ',\n    ),\n  );\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailArrayComponent } from '../array.component';\n\n@Component({\n  selector: 'smart-detail-array-preset',\n  template: `\n    @let options = childOptions();\n    <div data-role=\"array\" [class]=\"arrayClasses()\">\n      @if (options && options.length) {\n        @for (opt of options; track opt) {\n          <div data-role=\"item\" [class]=\"itemClasses()\">\n            <ng-template\n              [ngComponentOutlet]=\"detailsComponent\"\n              [ndcDynamicInputs]=\"{ options: opt }\"\n            ></ng-template>\n          </div>\n        }\n      } @else {\n        <span data-role=\"empty\" [class]=\"emptyClasses()\">—</span>\n      }\n    </div>\n  `,\n  imports: [\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailArrayPresetComponent<\n  T extends { [key: string]: any } | undefined,\n  TChild extends IEntity<string>,\n> extends DetailArrayComponent<T, TChild> {\n  override arrayClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:block', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  itemClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:bg-white',\n      'smart:p-3',\n      'smart:dark:border-gray-700',\n      'smart:dark:bg-gray-800',\n    ].join(' '),\n  );\n\n  emptyClasses = computed(() =>\n    ['smart:text-sm', 'smart:text-gray-400', 'smart:dark:text-gray-500'].join(\n      ' ',\n    ),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailAttachmentComponent } from '../attachment.component';\n\n@Component({\n  selector: 'smart-detail-attachment-preset',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      <span [class]=\"chipClasses()\" data-role=\"chip\">\n        <svg\n          class=\"smart:shrink-0 smart:size-5 smart:text-gray-500 smart:dark:text-gray-400\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          width=\"24\"\n          height=\"24\"\n          viewBox=\"0 0 24 24\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          stroke-width=\"2\"\n          stroke-linecap=\"round\"\n          stroke-linejoin=\"round\"\n        >\n          <path\n            d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"\n          />\n          <path d=\"M14 2v4a2 2 0 0 0 2 2h4\" />\n        </svg>\n        @if (fileName()) {\n          <span\n            data-role=\"name\"\n            class=\"smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:truncate\"\n          >\n            {{ fileName() }}\n          </span>\n        }\n        <button\n          type=\"button\"\n          data-role=\"download\"\n          class=\"smart:inline-flex smart:items-center smart:gap-x-1 smart:text-sm smart:font-medium smart:text-gray-500 smart:hover:text-blue-600 smart:dark:text-gray-400 smart:dark:hover:text-blue-400 smart:focus:outline-hidden\"\n          (click)=\"download(item, key)\"\n        >\n          {{ 'download' | translate }}\n        </button>\n      </span>\n    }\n  `,\n  imports: [TranslatePipe],\n})\nexport class DetailAttachmentPresetComponent<\n  T extends IEntity<string> | undefined,\n> extends DetailAttachmentComponent<T> {\n  fileName = computed<string | null>(() => {\n    const item = this.options()?.item?.();\n    const key = this.options()?.key;\n    if (!item || !key) return null;\n    const value = (item as any)[key];\n    return value?.fileName ?? value?.name ?? null;\n  });\n\n  chipClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:p-3',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DetailColorComponent } from '../color.component';\n\n@Component({\n  selector: 'smart-detail-color-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      <div data-role=\"color\" [class]=\"containerClasses()\">\n        <span\n          data-role=\"swatch\"\n          [class]=\"swatchClasses()\"\n          [style.background-color]=\"item[key]\"\n        ></span>\n        <span data-role=\"value\" [class]=\"valueClasses()\">{{ item[key] }}</span>\n      </div>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailColorPresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailColorComponent<T> {\n  containerClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  swatchClasses = computed(() =>\n    [\n      'smart:size-6',\n      'smart:rounded-md',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-white/10',\n    ].join(' '),\n  );\n\n  valueClasses = computed(() =>\n    [\n      'smart:font-mono',\n      'smart:text-sm',\n      'smart:text-gray-700',\n      'smart:dark:text-gray-300',\n    ].join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DetailDateRangeComponent } from '../date-range.component';\n\n@Component({\n  selector: 'smart-detail-date-range-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      @let range = item[key];\n      @if (range) {\n        <div data-role=\"range\" [class]=\"containerClasses()\">\n          <span data-role=\"start\" [class]=\"chipClasses()\">{{\n            range.start\n          }}</span>\n          <span\n            data-role=\"sep\"\n            class=\"smart:text-sm smart:text-gray-400 smart:dark:text-gray-500\"\n            >–</span\n          >\n          <span data-role=\"end\" [class]=\"chipClasses()\">{{ range.end }}</span>\n        </div>\n      }\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailDateRangePresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailDateRangeComponent<T> {\n  containerClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  chipClasses = computed(() =>\n    [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:rounded-md',\n      'smart:bg-gray-100',\n      'smart:px-2',\n      'smart:py-0.5',\n      'smart:text-xs',\n      'smart:font-medium',\n      'smart:text-gray-800',\n      'smart:dark:bg-gray-500/20',\n      'smart:dark:text-gray-300',\n    ].join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DetailEmailComponent } from '../email.component';\n\n@Component({\n  selector: 'smart-detail-email-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      <a\n        data-role=\"link\"\n        [class]=\"emailClasses()\"\n        [href]=\"'mailto:' + item[key]\"\n      >\n        <svg\n          data-role=\"icon\"\n          class=\"smart:size-4 smart:shrink-0\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          fill=\"none\"\n          viewBox=\"0 0 24 24\"\n          stroke-width=\"1.5\"\n          stroke=\"currentColor\"\n          aria-hidden=\"true\"\n        >\n          <path\n            stroke-linecap=\"round\"\n            stroke-linejoin=\"round\"\n            d=\"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75\"\n          />\n        </svg>\n        {{ item[key] }}\n      </a>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailEmailPresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailEmailComponent<T> {\n  override emailClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-1.5',\n      'smart:text-sm',\n      'smart:text-blue-600',\n      'smart:hover:underline',\n      'smart:dark:text-blue-400',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { getBadgeClasses } from '../../../badge/preset/preset-classes.util';\nimport { DetailEnumComponent } from '../enum.component';\n\n@Component({\n  selector: 'smart-detail-enum-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      <div data-role=\"badges\" [class]=\"containerClasses()\">\n        @for (val of this.getValues(item, key); track val) {\n          <span data-role=\"badge\" [class]=\"badgeClasses()\">\n            {{ val | translate }}\n          </span>\n        }\n      </div>\n    }\n  `,\n  imports: [TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailEnumPresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailEnumComponent<T> {\n  badgeClasses = computed(() => getBadgeClasses('soft', 'blue', false, 'sm'));\n\n  containerClasses = computed(() => {\n    const classes = ['smart:flex', 'smart:flex-wrap', 'smart:gap-1.5'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { getBadgeClasses } from '../../../badge/preset/preset-classes.util';\nimport { DetailFlagComponent } from '../flag.component';\n\n@Component({\n  selector: 'smart-detail-flag-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      @if (item[key]) {\n        <span data-role=\"badge\" [class]=\"onClasses()\">✓</span>\n      } @else {\n        <span data-role=\"badge\" [class]=\"offClasses()\">✗</span>\n      }\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailFlagPresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailFlagComponent<T> {\n  onClasses = computed(() =>\n    this.withCssClass(getBadgeClasses('soft', 'green', false, 'sm')),\n  );\n\n  offClasses = computed(() =>\n    this.withCssClass(getBadgeClasses('soft', 'red', false, 'sm')),\n  );\n\n  private withCssClass(base: string): string {\n    const extra = this.cssClass();\n    return extra ? `${base} ${extra}` : base;\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DetailImageComponent } from '../image.component';\n\n@Component({\n  selector: 'smart-detail-image-preset',\n  template: `\n    @let url = imageUrl();\n    @if (url) {\n      <img data-role=\"image\" [class]=\"imageClasses()\" [src]=\"url\" alt=\"\" />\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailImagePresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailImageComponent<T> {\n  override imageClasses = computed(() => {\n    const classes = [\n      'smart:size-[150px]',\n      'smart:rounded-xl',\n      'smart:object-cover',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:shadow-2xs',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DetailLogoComponent } from '../logo.component';\n\n@Component({\n  selector: 'smart-detail-logo-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key && item[key]) {\n      <img data-role=\"logo\" [class]=\"logoClasses()\" [src]=\"item[key]\" alt=\"\" />\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailLogoPresetComponent<\n  T extends { [key: string]: any } | undefined,\n> extends DetailLogoComponent<T> {\n  override logoClasses = computed(() => {\n    const classes = ['smart:max-h-10', 'smart:object-contain'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailObjectComponent } from '../object.component';\n\n@Component({\n  selector: 'smart-detail-object-preset',\n  template: `\n    @let options = childOptions();\n    @if (options) {\n      <div data-role=\"object\" [class]=\"objectClasses()\">\n        <ng-template\n          [ngComponentOutlet]=\"detailsComponent\"\n          [ndcDynamicInputs]=\"{ options }\"\n        ></ng-template>\n      </div>\n    } @else {\n      <span data-role=\"empty\" [class]=\"emptyClasses()\">&mdash;</span>\n    }\n  `,\n  imports: [\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailObjectPresetComponent<\n  T extends (IEntity<string> & { [key: string]: any }) | undefined,\n  TChild extends IEntity<string>,\n> extends DetailObjectComponent<T, TChild> {\n  override objectClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:p-3',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  emptyClasses = computed(() =>\n    ['smart:text-sm', 'smart:text-gray-500', 'smart:dark:text-gray-400'].join(\n      ' ',\n    ),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailPdfComponent } from '../pdf.component';\n\n@Component({\n  selector: 'smart-detail-pdf-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      <span [class]=\"chipClasses()\" data-role=\"chip\">\n        <svg\n          class=\"smart:shrink-0 smart:size-5 smart:text-red-500 smart:dark:text-red-400\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          width=\"24\"\n          height=\"24\"\n          viewBox=\"0 0 24 24\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          stroke-width=\"2\"\n          stroke-linecap=\"round\"\n          stroke-linejoin=\"round\"\n        >\n          <path\n            d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"\n          />\n          <path d=\"M14 2v4a2 2 0 0 0 2 2h4\" />\n          <path d=\"M9 15h6\" />\n          <path d=\"M9 18h6\" />\n        </svg>\n        @if (fileName()) {\n          <span\n            data-role=\"name\"\n            class=\"smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:truncate\"\n          >\n            {{ fileName() }}\n          </span>\n        }\n        <button\n          type=\"button\"\n          data-role=\"show\"\n          class=\"smart:inline-flex smart:items-center smart:gap-x-1 smart:text-sm smart:font-medium smart:text-gray-500 smart:hover:text-blue-600 smart:dark:text-gray-400 smart:dark:hover:text-blue-400 smart:focus:outline-hidden\"\n          (click)=\"show(item, key)\"\n        >\n          {{ 'show' | translate }}\n        </button>\n      </span>\n    }\n  `,\n  imports: [TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailPdfPresetComponent<\n  T extends IEntity<string> | undefined,\n> extends DetailPdfComponent<T> {\n  fileName = computed<string | null>(() => {\n    const item = this.options()?.item?.();\n    const key = this.options()?.key;\n    if (!item || !key) return null;\n    const value = (item as any)[key];\n    return value?.fileName ?? value?.name ?? null;\n  });\n\n  chipClasses = computed(() => {\n    const classes = [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:p-3',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ListCellPipe } from '../../../../pipes';\nimport { getBadgeClasses } from '../../../badge/preset/preset-classes.util';\nimport { DetailPhoneNumberPlComponent } from '../phone-number-pl.component';\n\n@Component({\n  selector: 'smart-detail-phone-number-pl-preset',\n  template: `\n    @let item = options()?.item?.();\n    @if (item) {\n      @let value =\n        (item | smartListCell: options()?.key : options()?.cellPipe)?.value;\n      @if (value) {\n        <a\n          data-role=\"link\"\n          [class]=\"phoneClasses()\"\n          [href]=\"'tel:48' + value\"\n          [innerHTML]=\"value\"\n        ></a>\n      }\n    }\n  `,\n  imports: [ListCellPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailPhoneNumberPlPresetComponent<\n  T,\n> extends DetailPhoneNumberPlComponent<T> {\n  override phoneClasses = computed(() => {\n    const base = getBadgeClasses('soft', 'blue', false, 'sm');\n    const extra = this.cssClass();\n    return extra ? `${base} ${extra}` : base;\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ListCellPipe } from '../../../../pipes';\nimport { DetailTextComponent } from '../text.component';\n\n@Component({\n  selector: 'smart-detail-text-preset',\n  template: `\n    @let item = options()?.item?.();\n    @let key = options()?.key;\n    @if (item && key) {\n      @let value = (item | smartListCell: key : options()?.cellPipe)?.value;\n      @if (value) {\n        <p data-role=\"text\" [class]=\"textClasses()\" [innerHTML]=\"value\"></p>\n      } @else {\n        <p data-role=\"empty\" [class]=\"emptyClasses()\">—</p>\n      }\n    }\n  `,\n  imports: [ListCellPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailTextPresetComponent<T> extends DetailTextComponent<T> {\n  override textClasses = computed(() => {\n    const classes = [\n      'smart:text-sm',\n      'smart:text-pretty',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  emptyClasses = computed(() =>\n    ['smart:text-sm', 'smart:text-gray-400', 'smart:dark:text-gray-500'].join(\n      ' ',\n    ),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailVideoComponent } from '../video.component';\n\n@Component({\n  selector: 'smart-detail-video-preset',\n  template: `\n    @let item = options()?.item?.();\n    @if (item && options()?.key) {\n      <video\n        data-role=\"video\"\n        [class]=\"videoClasses()\"\n        controls\n        controlsList=\"nodownload\"\n      >\n        <source type=\"video/mp4\" [src]=\"getUrl(item)\" />\n        Your browser does not support the video tag.\n      </video>\n    }\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class DetailVideoPresetComponent<\n  T extends IEntity<string> | undefined,\n> extends DetailVideoComponent<T> {\n  override videoClasses = computed(() => {\n    const classes = [\n      'smart:w-full',\n      'smart:rounded-xl',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:shadow-2xs',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { Type } from '@angular/core';\n\nimport { FieldType, FieldTypeDef } from '@smartsoft001/models';\n\nimport { DetailAddressPresetComponent } from './address/preset/preset.component';\nimport { DetailArrayPresetComponent } from './array/preset/preset.component';\nimport { DetailAttachmentPresetComponent } from './attachment/preset/preset.component';\nimport { DetailBaseComponent } from './base/base.component';\nimport { DetailColorPresetComponent } from './color/preset/preset.component';\nimport { DetailDateRangePresetComponent } from './date-range/preset/preset.component';\nimport { DetailEmailPresetComponent } from './email/preset/preset.component';\nimport { DetailEnumPresetComponent } from './enum/preset/preset.component';\nimport { DetailFlagPresetComponent } from './flag/preset/preset.component';\nimport { DetailImagePresetComponent } from './image/preset/preset.component';\nimport { DetailLogoPresetComponent } from './logo/preset/preset.component';\nimport { DetailObjectPresetComponent } from './object/preset/preset.component';\nimport { DetailPdfPresetComponent } from './pdf/preset/preset.component';\nimport { DetailPhoneNumberPlPresetComponent } from './phone-number-pl/preset/preset.component';\nimport { DetailTextPresetComponent } from './text/preset/preset.component';\nimport { DetailVideoPresetComponent } from './video/preset/preset.component';\n\n/**\n * Preline-styled detail field presets (FRA-238), keyed by `FieldType`.\n * Provide it for `DETAIL_FIELD_COMPONENTS_TOKEN` to swap the covered fields:\n *\n * ```ts\n * providers: [\n *   { provide: DETAIL_FIELD_COMPONENTS_TOKEN, useValue: DETAIL_PRESET_FIELD_COMPONENTS },\n * ];\n * ```\n *\n * The map is partial on purpose — field types without an entry keep their\n * standard components via the `baseMap` merge in `DetailComponent`. Note that\n * registering `text` here does not change the fallback for unmapped types:\n * the map is keyed per `FieldType`, so unknown types still fall back to the\n * standard `DetailTextComponent`.\n */\nexport const DETAIL_PRESET_FIELD_COMPONENTS: Partial<\n  Record<FieldTypeDef, Type<DetailBaseComponent<any>>>\n> = {\n  [FieldType.email]: DetailEmailPresetComponent,\n  [FieldType.enum]: DetailEnumPresetComponent,\n  [FieldType.flag]: DetailFlagPresetComponent,\n  [FieldType.color]: DetailColorPresetComponent,\n  [FieldType.address]: DetailAddressPresetComponent,\n  [FieldType.dateRange]: DetailDateRangePresetComponent,\n  [FieldType.phoneNumberPl]: DetailPhoneNumberPlPresetComponent,\n  [FieldType.logo]: DetailLogoPresetComponent,\n  [FieldType.image]: DetailImagePresetComponent,\n  [FieldType.video]: DetailVideoPresetComponent,\n  [FieldType.attachment]: DetailAttachmentPresetComponent,\n  [FieldType.pdf]: DetailPdfPresetComponent,\n  [FieldType.text]: DetailTextPresetComponent,\n  [FieldType.object]: DetailObjectPresetComponent,\n  [FieldType.array]: DetailArrayPresetComponent,\n};\n","import {\n  AfterViewInit,\n  ViewContainerRef,\n  Directive,\n  WritableSignal,\n  signal,\n  Signal,\n  computed,\n  untracked,\n  viewChild,\n  input,\n  InputSignal,\n  effect,\n  inject,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport {\n  getModelFieldsWithOptions,\n  IFieldDetailsMetadata,\n  IFieldOptions,\n  ISpecification,\n} from '@smartsoft001/models';\nimport { ObjectService, SpecificationService } from '@smartsoft001/utils';\n\nimport {\n  DynamicComponentType,\n  ICellPipe,\n  IDetailsComponentFactories,\n  IDetailsOptions,\n} from '../../../models';\nimport { AuthService } from '../../../services';\nimport { DetailsService } from '../../../services';\n\n@Directive()\nexport abstract class DetailsBaseComponent<T extends IEntity<string>>\n  implements AfterViewInit\n{\n  private authService = inject(AuthService);\n  private detailsService = inject(DetailsService);\n\n  static smartType: DynamicComponentType = 'details';\n\n  private _fields: WritableSignal<Array<{\n    key: string;\n    options: IFieldOptions;\n  }> | null> = signal(null);\n  private _type: any | null = null; //!Is being instantiated with the \"new\" and doesn't quite work with signals\n\n  componentFactories: IDetailsComponentFactories<T> | null = null;\n  cellPipe: WritableSignal<ICellPipe<T> | null> = signal(null);\n\n  get fields(): Array<{ key: string; options: IFieldOptions }> | null {\n    return this._fields();\n  }\n\n  get type(): any {\n    return this._type;\n  }\n\n  item: Signal<T | undefined> | undefined;\n  loading: Signal<boolean> | undefined;\n\n  contentTpl = viewChild<ViewContainerRef | undefined>('contentTpl');\n  topTpl = viewChild<ViewContainerRef | undefined>('topTpl');\n  bottomTpl = viewChild<ViewContainerRef | undefined>('bottomTpl');\n\n  options = input<IDetailsOptions<T> | undefined>(undefined);\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  constructor() {\n    effect(() => {\n      const options = this.options();\n      const rootItem = options?.item();\n      if (rootItem) {\n        this.detailsService.setRoot(rootItem);\n      }\n      this._type = options?.type;\n\n      const enabledDefinitions: Array<{\n        key: string;\n        spec: ISpecification | null;\n      }> = [];\n\n      this._fields.set(\n        getModelFieldsWithOptions(new this._type())\n          .filter((f) => f.options.details)\n          .filter((field) => {\n            if ((field.options.details as IFieldDetailsMetadata).enabled) {\n              enabledDefinitions.push({\n                key: field.key,\n                spec:\n                  (field.options.details as IFieldDetailsMetadata)?.enabled ??\n                  null,\n              });\n            } else if (field.options.enabled) {\n              enabledDefinitions.push({\n                key: field.key,\n                spec: field.options.enabled,\n              });\n            }\n\n            return !(\n              (field.options.details as IFieldDetailsMetadata).permissions &&\n              !this.authService.expectPermissions(\n                (field.options.details as IFieldDetailsMetadata)?.permissions ??\n                  null,\n              )\n            );\n          }),\n      );\n      if (options) {\n        this.item = computed<T | undefined>(() => {\n          const item = options?.item();\n          if (!item) return item;\n\n          let result = null;\n\n          const type = options?.type;\n          if (type && item instanceof type) result = item;\n          else if (type) result = ObjectService.createByType(item, type);\n          else result = item;\n\n          const removeFields = enabledDefinitions\n            .filter((def) => {\n              return SpecificationService.invalid(\n                result,\n                def.spec as ISpecification,\n                {\n                  $root: this.detailsService.$root,\n                },\n              );\n            })\n            .map((def) => def.key);\n\n          untracked(() => {\n            if (this._fields()) {\n              this._fields.update((val) =>\n                val?.length\n                  ? val.filter((f) => !removeFields.some((rf) => rf === f.key))\n                  : null,\n              );\n            }\n          });\n\n          return result as T;\n        });\n\n        this.loading = options?.loading;\n        this.componentFactories = options.componentFactories ?? null;\n        this.cellPipe.set(options.cellPipe ?? null);\n      }\n\n      this.generateDynamicComponents();\n    });\n  }\n\n  ngAfterViewInit(): void {\n    this.generateDynamicComponents();\n  }\n\n  protected generateDynamicComponents(): void {\n    if (!this.componentFactories) return;\n\n    const topTpl = this.topTpl();\n    if (this.componentFactories.top && topTpl) {\n      if (!topTpl.get(0)) {\n        topTpl.createComponent(this.componentFactories.top);\n      }\n    }\n\n    const bottomTpl = this.bottomTpl();\n    if (this.componentFactories.bottom && bottomTpl) {\n      if (!bottomTpl.get(0)) {\n        bottomTpl.createComponent(this.componentFactories.bottom);\n      }\n    }\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailComponent } from '../../detail';\nimport { DetailsBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-details-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [DetailComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DetailsStandardComponent<\n  T extends IEntity<string>,\n> extends DetailsBaseComponent<T> {\n  containerClasses = computed(() => {\n    const classes: string[] = [\n      'smart:border-t',\n      'smart:border-gray-100',\n      'smart:dark:border-white/10',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","<div [class]=\"containerClasses()\">\n  <div #topTpl></div>\n\n  <dl class=\"smart:divide-y smart:divide-gray-100 smart:dark:divide-white/10\">\n    @for (field of fields; track field.key) {\n      <div\n        class=\"smart:px-4 smart:py-4 smart:sm:grid smart:sm:grid-cols-3 smart:sm:gap-4\"\n      >\n        <smart-detail\n          [type]=\"type\"\n          [options]=\"{\n            key: field.key,\n            options: field.options,\n            cellPipe: cellPipe() ?? undefined,\n            item: item,\n            loading: loading ?? undefined,\n          }\"\n        ></smart-detail>\n      </div>\n    }\n  </dl>\n\n  <div #bottomTpl></div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { IDetailsOptions } from '../../models';\nimport { DETAILS_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { DetailsStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-details',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-details-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      ></smart-details-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [DetailsStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DetailsComponent<T extends IEntity<string>> {\n  private injectedComponent = inject(DETAILS_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IDetailsOptions<T> | undefined>(undefined);\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      class: this.cssClass(),\n    }),\n  );\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, IDividerOptions } from '../../../models';\n\n@Directive()\nexport abstract class DividerBaseComponent {\n  static smartType: DynamicComponentType = 'divider';\n\n  label: InputSignal<string | undefined> = input<string>();\n  iconName: InputSignal<string | undefined> = input<string>();\n  title: InputSignal<string | undefined> = input<string>();\n  actionLabel: InputSignal<string | undefined> = input<string>();\n  options: InputSignal<IDividerOptions | undefined> = input<IDividerOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  actionClick: OutputEmitterRef<void> = output<void>();\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DividerBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-divider-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DividerStandardComponent extends DividerBaseComponent {}\n","<div\n  role=\"separator\"\n  [class]=\"cssClass()\"\n  [attr.data-position]=\"options()?.position ?? 'center'\"\n>\n  @if (title()) {\n    <h3 class=\"smart-divider-title\">{{ title() }}</h3>\n  }\n  @if (label()) {\n    <span class=\"smart-divider-label\">{{ label() }}</span>\n  }\n  @if (!title() && !label() && !actionLabel()) {\n    <hr />\n  }\n  @if (actionLabel()) {\n    <button\n      type=\"button\"\n      class=\"smart-divider-action\"\n      (click)=\"actionClick.emit()\"\n    >\n      {{ actionLabel() }}\n    </button>\n  }\n</div>\n","import { SmartDividerVariant } from '../../../models';\n\nexport type SmartDividerPresetVariant = SmartDividerVariant;\nexport type SmartDividerPresetPosition = 'left' | 'center' | 'right';\n\n// Plain horizontal rule (Preline \"Example\" / \"Height\" dividers).\nexport const DIVIDER_PLAIN_HR = [\n  'smart:my-0',\n  'smart:border-t',\n  'smart:border-gray-200',\n  'smart:dark:border-neutral-700',\n].join(' ');\n\n// Shared flex shell for content-bearing dividers (label / icon / title / button).\nconst CONTENT_BASE = [\n  'smart:py-3',\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n].join(' ');\n\n// Default inline text styling (with-label / with-icon / with-button).\nconst TEXT_DEFAULT =\n  'smart:text-sm smart:text-gray-800 smart:dark:text-neutral-200';\n\n// Preline \"Or\" treatment for title dividers: uppercase, muted, smaller.\n// gray-600 rather than Preline's gray-400: at this size the lighter shade is\n// 2.6:1 on a white surface and fails WCAG AA.\nconst TEXT_TITLE = [\n  'smart:text-xs',\n  'smart:uppercase',\n  'smart:font-medium',\n  'smart:text-gray-600',\n  'smart:dark:text-neutral-400',\n].join(' ');\n\n// before/after pseudo-element rules drawn through the divider content.\nconst LINE_BEFORE = [\n  'smart:before:flex-1',\n  'smart:before:border-t',\n  'smart:before:border-gray-200',\n  'smart:before:me-6',\n  'smart:dark:before:border-neutral-600',\n].join(' ');\n\nconst LINE_AFTER = [\n  'smart:after:flex-1',\n  'smart:after:border-t',\n  'smart:after:border-gray-200',\n  'smart:after:ms-6',\n  'smart:dark:after:border-neutral-600',\n].join(' ');\n\nconst POSITION_LINES: Record<SmartDividerPresetPosition, string> = {\n  left: LINE_AFTER,\n  center: `${LINE_BEFORE} ${LINE_AFTER}`,\n  right: LINE_BEFORE,\n};\n\n// Standalone line filler used by the toolbar layout (between content + action).\nexport const DIVIDER_TOOLBAR_LINE = [\n  'smart:flex-1',\n  'smart:border-t',\n  'smart:border-gray-200',\n  'smart:dark:border-neutral-600',\n].join(' ');\n\n// Container for the toolbar variant: content + line + action button in a row.\nexport const DIVIDER_TOOLBAR_CONTAINER = [\n  'smart:py-3',\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-4',\n].join(' ');\n\n// Icon slot (Preline shrink-0 size-4 icon sizing).\nexport const DIVIDER_ICON_CLASSES = 'smart:shrink-0 smart:size-4';\n\n// Action button styled after Preline's outline button.\nexport const DIVIDER_ACTION_BUTTON = [\n  'smart:py-1.5',\n  'smart:px-3',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-1.5',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:text-gray-800',\n  'smart:shadow-2xs',\n  'smart:hover:bg-gray-50',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-50',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:dark:bg-neutral-900',\n  'smart:dark:border-neutral-700',\n  'smart:dark:text-neutral-300',\n  'smart:dark:hover:bg-neutral-800',\n  'smart:dark:focus:bg-neutral-800',\n].join(' ');\n\nfunction getTextClasses(variant: SmartDividerPresetVariant): string {\n  return variant === 'with-title' ? TEXT_TITLE : TEXT_DEFAULT;\n}\n\n/**\n * Classes for the flex container that wraps centered divider content and draws\n * the connecting line(s) on the side(s) dictated by `position`.\n */\nexport function getDividerContainerClasses(\n  variant: SmartDividerPresetVariant,\n  position: SmartDividerPresetPosition,\n): string {\n  return [CONTENT_BASE, getTextClasses(variant), POSITION_LINES[position]].join(\n    ' ',\n  );\n}\n\nexport function getDividerIconClasses(): string {\n  return DIVIDER_ICON_CLASSES;\n}\n\nexport function getDividerActionClasses(): string {\n  return DIVIDER_ACTION_BUTTON;\n}\n\nexport function getDividerToolbarClasses(): string {\n  return DIVIDER_TOOLBAR_CONTAINER;\n}\n\nexport function getDividerToolbarLineClasses(): string {\n  return DIVIDER_TOOLBAR_LINE;\n}\n\nexport function getDividerPlainClasses(): string {\n  return DIVIDER_PLAIN_HR;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DividerBaseComponent } from '../base';\nimport {\n  getDividerActionClasses,\n  getDividerContainerClasses,\n  getDividerIconClasses,\n  getDividerPlainClasses,\n  getDividerToolbarClasses,\n  getDividerToolbarLineClasses,\n  SmartDividerPresetPosition,\n  SmartDividerPresetVariant,\n} from './preset-classes.util';\n\ntype ResolvedVariant = SmartDividerPresetVariant | 'plain';\n\n/**\n * Styled divider variation (preset).\n *\n * Drop-in replacement for `DividerStandardComponent` — register it through\n * `DIVIDER_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-divider>`, or use\n * the `<smart-divider-preset>` selector directly.\n *\n * Translates Preline's divider patterns to `smart:`-prefixed Tailwind:\n * a plain `<hr>`, an inline label/icon/title with connecting line(s) positioned\n * left/center/right (via `options.position`), a centered action button, and a\n * label + line + action \"toolbar\" row. The variant is taken from\n * `options.variant`; when omitted it is inferred from the provided inputs.\n */\n@Component({\n  selector: 'smart-divider-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DividerPresetComponent extends DividerBaseComponent {\n  // NgComponentOutlet (used by DividerComponent when this is registered through\n  // DIVIDER_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected variant = computed<ResolvedVariant>(() => {\n    const explicit = this.options()?.variant;\n    if (explicit) {\n      return explicit;\n    }\n    if (this.actionLabel()) {\n      return 'with-button';\n    }\n    if (this.title()) {\n      return 'with-title';\n    }\n    if (this.iconName()) {\n      return 'with-icon';\n    }\n    if (this.label()) {\n      return 'with-label';\n    }\n    return 'plain';\n  });\n\n  protected position = computed<SmartDividerPresetPosition>(\n    () => this.options()?.position ?? 'center',\n  );\n\n  protected isPlain = computed(() => this.variant() === 'plain');\n  protected isButton = computed(() => this.variant() === 'with-button');\n  protected isToolbar = computed(() => this.variant() === 'with-toolbar');\n\n  // Text rendered as the divider content (label/icon/button branches).\n  protected content = computed(() => {\n    if (this.variant() === 'with-title') {\n      return this.title() ?? this.label() ?? '';\n    }\n    return this.label() ?? this.title() ?? '';\n  });\n\n  protected containerClasses = computed(() => {\n    const variant = this.variant();\n    return getDividerContainerClasses(\n      variant === 'plain' ? 'with-label' : variant,\n      this.position(),\n    );\n  });\n  protected plainClasses = computed(() => getDividerPlainClasses());\n  protected iconClasses = computed(() => getDividerIconClasses());\n  protected actionClasses = computed(() => getDividerActionClasses());\n  protected toolbarClasses = computed(() => getDividerToolbarClasses());\n  protected toolbarLineClasses = computed(() => getDividerToolbarLineClasses());\n}\n","@if (isPlain()) {\n  <hr role=\"separator\" [class]=\"plainClasses() + ' ' + cssClass()\" />\n} @else if (isToolbar()) {\n  <div role=\"separator\" [class]=\"toolbarClasses() + ' ' + cssClass()\">\n    @if (content()) {\n      <span>{{ content() }}</span>\n    }\n    <div [class]=\"toolbarLineClasses()\"></div>\n    @if (actionLabel()) {\n      <button\n        type=\"button\"\n        [class]=\"actionClasses()\"\n        (click)=\"actionClick.emit()\"\n      >\n        @if (iconName()) {\n          <span [class]=\"iconClasses()\">{{ iconName() }}</span>\n        }\n        {{ actionLabel() }}\n      </button>\n    }\n  </div>\n} @else if (isButton()) {\n  <div role=\"separator\" [class]=\"containerClasses() + ' ' + cssClass()\">\n    <button\n      type=\"button\"\n      [class]=\"actionClasses()\"\n      (click)=\"actionClick.emit()\"\n    >\n      @if (iconName()) {\n        <span [class]=\"iconClasses()\">{{ iconName() }}</span>\n      }\n      {{ actionLabel() }}\n    </button>\n  </div>\n} @else {\n  <div role=\"separator\" [class]=\"containerClasses() + ' ' + cssClass()\">\n    @if (iconName()) {\n      <span [class]=\"iconClasses()\">{{ iconName() }}</span>\n    }\n    {{ content() }}\n  </div>\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IDividerOptions } from '../../models';\nimport { DIVIDER_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { DividerStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-divider',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-divider-standard\n        [label]=\"label()\"\n        [iconName]=\"iconName()\"\n        [title]=\"title()\"\n        [actionLabel]=\"actionLabel()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (actionClick)=\"actionClick.emit()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [DividerStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DividerComponent {\n  private injectedComponent = inject(DIVIDER_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  label = input<string>();\n  iconName = input<string>();\n  title = input<string>();\n  actionLabel = input<string>();\n  options = input<IDividerOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  actionClick = output<void>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      label: this.label(),\n      iconName: this.iconName(),\n      title: this.title(),\n      actionLabel: this.actionLabel(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      actionClick: this.actionClick,\n    });\n  }\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, IDrawerOptions } from '../../../models';\n\n@Directive()\nexport abstract class DrawerBaseComponent {\n  static smartType: DynamicComponentType = 'drawer';\n\n  open: ModelSignal<boolean> = model<boolean>(false);\n  title: InputSignal<string | undefined> = input<string>();\n  options: InputSignal<IDrawerOptions | undefined> = input<IDrawerOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  closed: OutputEmitterRef<void> = output<void>();\n\n  close(): void {\n    this.open.set(false);\n    this.closed.emit();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DrawerBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-drawer-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DrawerStandardComponent extends DrawerBaseComponent {}\n","@if (open()) {\n  @if (options()?.withOverlay) {\n    <div class=\"drawer-overlay\" (click)=\"close()\"></div>\n  }\n  <aside\n    role=\"dialog\"\n    aria-modal=\"true\"\n    [class]=\"cssClass()\"\n    [attr.data-position]=\"options()?.position ?? 'right'\"\n    [attr.aria-labelledby]=\"title() ? 'smart-drawer-title' : null\"\n  >\n    @if (title()) {\n      <header>\n        <h2 id=\"smart-drawer-title\">{{ title() }}</h2>\n        <button type=\"button\" aria-label=\"Close\" (click)=\"close()\">\n          &times;\n        </button>\n      </header>\n    }\n    <ng-content />\n  </aside>\n}\n","export type SmartDrawerPresetPosition = 'left' | 'right';\n\nconst PANEL_BASE = [\n  'smart:fixed',\n  'smart:top-0',\n  'smart:h-full',\n  'smart:w-full',\n  'smart:z-50',\n  'smart:transition-all',\n  'smart:duration-300',\n  'smart:transform',\n  'smart:translate-x-0',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nconst PANEL_BY_POSITION: Record<SmartDrawerPresetPosition, string> = {\n  right:\n    'smart:end-0 smart:border-s smart:border-gray-200 smart:dark:border-gray-700',\n  left: 'smart:start-0 smart:border-e smart:border-gray-200 smart:dark:border-gray-700',\n};\n\nconst PANEL_WIDTH_DEFAULT = 'smart:max-w-xs';\nconst PANEL_WIDTH_WIDE = 'smart:max-w-md';\n\nconst BACKDROP = [\n  'smart:fixed',\n  'smart:inset-0',\n  'smart:z-40',\n  'smart:bg-gray-900/50',\n  'smart:dark:bg-gray-900/80',\n  'smart:transition-all',\n  'smart:duration-300',\n].join(' ');\n\nconst HEADER_BASE = [\n  'smart:flex',\n  'smart:justify-between',\n  'smart:items-center',\n  'smart:py-3',\n  'smart:px-4',\n  'smart:border-b',\n].join(' ');\n\nconst HEADER_PLAIN = 'smart:border-gray-200 smart:dark:border-gray-700';\nconst HEADER_BRANDED =\n  'smart:bg-blue-600 smart:border-blue-700 smart:dark:bg-blue-500 smart:dark:border-blue-600';\n\nconst TITLE_PLAIN =\n  'smart:font-semibold smart:text-gray-900 smart:dark:text-white';\nconst TITLE_BRANDED = 'smart:font-semibold smart:text-white';\n\nconst CLOSE_PLAIN = [\n  'smart:size-8',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:rounded-full',\n  'smart:bg-gray-100',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:text-gray-800',\n  'smart:hover:bg-gray-200',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-200',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n  'smart:dark:bg-gray-700',\n  'smart:dark:border-gray-600',\n  'smart:dark:text-gray-200',\n  'smart:dark:hover:bg-gray-600',\n].join(' ');\n\nconst CLOSE_BRANDED = [\n  'smart:size-8',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:rounded-full',\n  'smart:bg-white/10',\n  'smart:border',\n  'smart:border-white/20',\n  'smart:text-white',\n  'smart:hover:bg-white/20',\n  'smart:focus:outline-none',\n  'smart:focus:bg-white/20',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst BODY = 'smart:p-4';\n\nexport function getDrawerPanelClasses(\n  position: SmartDrawerPresetPosition,\n  wide: boolean,\n): string {\n  const width = wide ? PANEL_WIDTH_WIDE : PANEL_WIDTH_DEFAULT;\n  return [PANEL_BASE, PANEL_BY_POSITION[position], width].join(' ');\n}\n\nexport function getDrawerBackdropClasses(): string {\n  return BACKDROP;\n}\n\nexport function getDrawerHeaderClasses(branded: boolean): string {\n  return `${HEADER_BASE} ${branded ? HEADER_BRANDED : HEADER_PLAIN}`;\n}\n\nexport function getDrawerTitleClasses(branded: boolean): string {\n  return branded ? TITLE_BRANDED : TITLE_PLAIN;\n}\n\nexport function getDrawerCloseClasses(branded: boolean): string {\n  return branded ? CLOSE_BRANDED : CLOSE_PLAIN;\n}\n\nexport function getDrawerBodyClasses(): string {\n  return BODY;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DrawerBaseComponent } from '../base';\nimport {\n  getDrawerBackdropClasses,\n  getDrawerBodyClasses,\n  getDrawerCloseClasses,\n  getDrawerHeaderClasses,\n  getDrawerPanelClasses,\n  getDrawerTitleClasses,\n  SmartDrawerPresetPosition,\n} from './preset-classes.util';\n\n/**\n * Styled drawer (offcanvas) variation (preset).\n *\n * Drop-in replacement for `DrawerStandardComponent` — register it through\n * `DRAWER_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-drawer>`, or use\n * the `<smart-drawer-preset>` selector directly.\n *\n * Renders the translated Preline offcanvas look: a sliding side panel with a\n * header (title + close button), a body slot and an optional backdrop. Open/close,\n * side placement (`options.position`) and the backdrop (`options.withOverlay`) are\n * Angular-driven via the `open` model + `@if`, so no Preline JS runtime is needed.\n */\n@Component({\n  selector: 'smart-drawer-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DrawerPresetComponent extends DrawerBaseComponent {\n  // NgComponentOutlet (used by DrawerComponent when this is registered through\n  // DRAWER_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected position = computed<SmartDrawerPresetPosition>(\n    () => this.options()?.position ?? 'right',\n  );\n\n  protected wide = computed<boolean>(() => Boolean(this.options()?.wide));\n  protected withOverlay = computed<boolean>(() =>\n    Boolean(this.options()?.withOverlay),\n  );\n  protected brandedHeader = computed<boolean>(() =>\n    Boolean(this.options()?.brandedHeader),\n  );\n\n  protected panelClasses = computed(() =>\n    getDrawerPanelClasses(this.position(), this.wide()),\n  );\n  protected backdropClasses = computed(() => getDrawerBackdropClasses());\n  protected headerClasses = computed(() =>\n    getDrawerHeaderClasses(this.brandedHeader()),\n  );\n  protected titleClasses = computed(() =>\n    getDrawerTitleClasses(this.brandedHeader()),\n  );\n  protected closeClasses = computed(() =>\n    getDrawerCloseClasses(this.brandedHeader()),\n  );\n  protected bodyClasses = computed(() => getDrawerBodyClasses());\n}\n","@if (open()) {\n  @if (withOverlay()) {\n    <div [class]=\"backdropClasses()\" aria-hidden=\"true\" (click)=\"close()\"></div>\n  }\n  <aside\n    role=\"dialog\"\n    aria-modal=\"true\"\n    tabindex=\"-1\"\n    [class]=\"panelClasses() + ' ' + cssClass()\"\n    [attr.data-position]=\"position()\"\n    [attr.aria-labelledby]=\"title() ? 'smart-drawer-preset-title' : null\"\n  >\n    <div [class]=\"headerClasses()\">\n      <h3 id=\"smart-drawer-preset-title\" [class]=\"titleClasses()\">\n        {{ title() }}\n      </h3>\n      <button\n        type=\"button\"\n        aria-label=\"Close\"\n        [class]=\"closeClasses()\"\n        (click)=\"close()\"\n      >\n        <span class=\"smart:sr-only\">Close</span>\n        <svg\n          class=\"smart:shrink-0 smart:size-4\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          width=\"24\"\n          height=\"24\"\n          viewBox=\"0 0 24 24\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          stroke-width=\"2\"\n          stroke-linecap=\"round\"\n          stroke-linejoin=\"round\"\n          aria-hidden=\"true\"\n        >\n          <path d=\"M18 6 6 18\" />\n          <path d=\"m6 6 12 12\" />\n        </svg>\n      </button>\n    </div>\n    <div [class]=\"bodyClasses()\">\n      <ng-content />\n    </div>\n  </aside>\n}\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IDrawerOptions } from '../../models';\nimport { DRAWER_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { DrawerStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-drawer',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-drawer-standard\n        [(open)]=\"open\"\n        [title]=\"title()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (closed)=\"closed.emit()\"\n      >\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-drawer-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [DrawerStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DrawerComponent {\n  private injectedComponent = inject(DRAWER_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  open = model<boolean>(false);\n  title = input<string>();\n  options = input<IDrawerOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  closed = output<void>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      open: this.open(),\n      title: this.title(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      open: this.open,\n      closed: this.closed,\n    });\n  }\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IDropdownItem,\n  IDropdownOptions,\n} from '../../../models';\n\n@Directive()\nexport abstract class DropdownBaseComponent {\n  static smartType: DynamicComponentType = 'dropdown';\n\n  items: InputSignal<IDropdownItem[]> = input<IDropdownItem[]>([]);\n  triggerLabel: InputSignal<string | undefined> = input<string>();\n  open: ModelSignal<boolean> = model<boolean>(false);\n  options: InputSignal<IDropdownOptions | undefined> =\n    input<IDropdownOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  selectedItem: OutputEmitterRef<{ itemId: string }> = output<{\n    itemId: string;\n  }>();\n\n  toggle(): void {\n    this.open.set(!this.open());\n  }\n\n  close(): void {\n    this.open.set(false);\n  }\n\n  selectItem(itemId: string): void {\n    this.selectedItem.emit({ itemId });\n    this.open.set(false);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { DropdownBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-dropdown-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownStandardComponent extends DropdownBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <button\n    type=\"button\"\n    class=\"smart-dropdown-trigger\"\n    [attr.aria-expanded]=\"open()\"\n    (click)=\"toggle()\"\n  >\n    @if (triggerLabel()) {\n      {{ triggerLabel() }}\n    } @else {\n      <ng-content />\n    }\n  </button>\n  @if (open()) {\n    <ul role=\"menu\">\n      @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n        <li role=\"presentation\" class=\"smart-dropdown-header\">\n          {{ options()?.headerLabel }}\n        </li>\n      }\n      @for (item of items(); track item.id) {\n        @if (item.divider) {\n          <li role=\"separator\"></li>\n        } @else {\n          <li role=\"menuitem\">\n            <button\n              type=\"button\"\n              [disabled]=\"item.disabled\"\n              (click)=\"selectItem(item.id)\"\n            >\n              {{ item.label }}\n            </button>\n          </li>\n        }\n      }\n    </ul>\n  }\n</div>\n","import { SmartDropdownVariant } from '../../../models';\n\nexport type SmartDropdownPresetVariant = SmartDropdownVariant;\n\nconst TRIGGER_BASE = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\n// Solid (default) trigger: layered surface, border and subtle shadow.\nconst TRIGGER_SOLID = [\n  'smart:py-3',\n  'smart:px-4',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-2xs',\n].join(' ');\n\n// Minimal trigger: borderless ghost button (no Preline JS equivalent, kept faithful\n// to a \"minimal\" look — transparent until hovered/focused).\nconst TRIGGER_MINIMAL = ['smart:py-2', 'smart:px-3'].join(' ');\n\nconst MENU_BASE = [\n  'smart:absolute',\n  'smart:left-0',\n  'smart:top-full',\n  'smart:z-10',\n  'smart:mt-2',\n  'smart:min-w-60',\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:shadow-md',\n].join(' ');\n\nconst MENU_DIVIDED = [\n  'smart:divide-y',\n  'smart:divide-gray-200',\n  'smart:dark:divide-gray-700',\n].join(' ');\n\nexport const DROPDOWN_CONTAINER = 'smart:relative smart:inline-flex';\n\nexport const DROPDOWN_GROUP = 'smart:p-1 smart:space-y-0.5';\n\nexport const DROPDOWN_ITEM = [\n  'smart:flex',\n  'smart:w-full',\n  'smart:items-center',\n  'smart:gap-x-3.5',\n  'smart:py-2',\n  'smart:px-3',\n  'smart:rounded-lg',\n  'smart:text-left',\n  'smart:text-sm',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nexport const DROPDOWN_ICON = [\n  'smart:shrink-0',\n  'smart:size-4',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:justify-center',\n].join(' ');\n\nexport const DROPDOWN_HEADER = [\n  'smart:py-3',\n  'smart:px-4',\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n].join(' ');\n\nexport const DROPDOWN_HEADER_TEXT = [\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst CHEVRON_BASE = [\n  'smart:size-4',\n  'smart:transition-transform',\n  'smart:duration-200',\n].join(' ');\n\nexport function getDropdownTriggerClasses(\n  variant: SmartDropdownPresetVariant,\n): string {\n  const variantClass = variant === 'minimal' ? TRIGGER_MINIMAL : TRIGGER_SOLID;\n  return `${TRIGGER_BASE} ${variantClass}`;\n}\n\nexport function getDropdownMenuClasses(\n  variant: SmartDropdownPresetVariant,\n): string {\n  return variant === 'with-dividers'\n    ? `${MENU_BASE} ${MENU_DIVIDED}`\n    : MENU_BASE;\n}\n\nexport function getDropdownChevronClasses(open: boolean): string {\n  return open ? `${CHEVRON_BASE} smart:rotate-180` : CHEVRON_BASE;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IDropdownItem } from '../../../models';\nimport { DropdownBaseComponent } from '../base';\nimport {\n  DROPDOWN_CONTAINER,\n  DROPDOWN_GROUP,\n  DROPDOWN_HEADER,\n  DROPDOWN_HEADER_TEXT,\n  DROPDOWN_ICON,\n  DROPDOWN_ITEM,\n  getDropdownChevronClasses,\n  getDropdownMenuClasses,\n  getDropdownTriggerClasses,\n  SmartDropdownPresetVariant,\n} from './preset-classes.util';\n\n/**\n * Styled dropdown variation (preset).\n *\n * Drop-in replacement for `DropdownStandardComponent` — register it through\n * `DROPDOWN_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-dropdown>`, or use\n * the `<smart-dropdown-preset>` selector directly.\n *\n * Open/close is driven by the inherited `open` signal + a `(click)` toggle and\n * `@if`; Preline's JS plugin is NOT used, but its visual classes and ARIA\n * (`aria-haspopup` / `aria-expanded`) are preserved. Supports the shared\n * `SmartDropdownVariant` set: `simple`, `with-dividers`, `with-icons`,\n * `with-header` and a borderless `minimal` trigger (defaults to `simple`).\n */\n@Component({\n  selector: 'smart-dropdown-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownPresetComponent extends DropdownBaseComponent {\n  // NgComponentOutlet (used by DropdownComponent when this is registered through\n  // DROPDOWN_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected variant = computed<SmartDropdownPresetVariant>(\n    () => this.options()?.variant ?? 'simple',\n  );\n\n  protected headerLabel = computed(() => this.options()?.headerLabel);\n\n  protected showIcons = computed(\n    () => this.variant() === 'with-icons' || this.variant() === 'with-header',\n  );\n\n  // Visible (non-divider) items, split into sections at each `divider` item when\n  // the with-dividers variant is active so each group renders in its own block.\n  protected groups = computed<IDropdownItem[][]>(() => {\n    const items = this.items();\n    if (this.variant() !== 'with-dividers') {\n      return [items.filter((item) => !item.divider)];\n    }\n\n    const result: IDropdownItem[][] = [];\n    let current: IDropdownItem[] = [];\n    for (const item of items) {\n      if (item.divider) {\n        if (current.length) result.push(current);\n        current = [];\n      } else {\n        current.push(item);\n      }\n    }\n    if (current.length) result.push(current);\n    return result;\n  });\n\n  protected containerClasses = DROPDOWN_CONTAINER;\n  protected groupClasses = DROPDOWN_GROUP;\n  protected itemClasses = DROPDOWN_ITEM;\n  protected iconClasses = DROPDOWN_ICON;\n  protected headerClasses = DROPDOWN_HEADER;\n  protected headerTextClasses = DROPDOWN_HEADER_TEXT;\n\n  protected triggerClasses = computed(() =>\n    getDropdownTriggerClasses(this.variant()),\n  );\n  protected menuClasses = computed(() =>\n    getDropdownMenuClasses(this.variant()),\n  );\n  protected chevronClasses = computed(() =>\n    getDropdownChevronClasses(this.open()),\n  );\n}\n","<div [class]=\"containerClasses + ' ' + cssClass()\">\n  <button\n    type=\"button\"\n    [class]=\"triggerClasses()\"\n    aria-haspopup=\"menu\"\n    [attr.aria-expanded]=\"open()\"\n    [attr.aria-label]=\"triggerLabel() ?? 'Dropdown'\"\n    (click)=\"toggle()\"\n  >\n    {{ triggerLabel() ?? 'Actions' }}\n    <svg\n      [class]=\"chevronClasses()\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      stroke-width=\"2\"\n      stroke-linecap=\"round\"\n      stroke-linejoin=\"round\"\n      aria-hidden=\"true\"\n    >\n      <path d=\"m6 9 6 6 6-6\" />\n    </svg>\n  </button>\n\n  @if (open()) {\n    <div [class]=\"menuClasses()\" role=\"menu\" aria-orientation=\"vertical\">\n      @if (variant() === 'with-header' && headerLabel()) {\n        <div [class]=\"headerClasses\">\n          <p [class]=\"headerTextClasses\">{{ headerLabel() }}</p>\n        </div>\n      }\n      @for (group of groups(); track $index) {\n        <div data-role=\"group\" [class]=\"groupClasses\">\n          @for (item of group; track item.id) {\n            <button\n              type=\"button\"\n              role=\"menuitem\"\n              [class]=\"itemClasses\"\n              [disabled]=\"item.disabled\"\n              (click)=\"selectItem(item.id)\"\n            >\n              @if (showIcons() && item.icon) {\n                <span [class]=\"iconClasses\" aria-hidden=\"true\">{{\n                  item.icon\n                }}</span>\n              }\n              {{ item.label }}\n            </button>\n          }\n        </div>\n      }\n    </div>\n  }\n</div>\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IDropdownItem, IDropdownOptions } from '../../models';\nimport { DROPDOWN_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { DropdownStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-dropdown',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-dropdown-standard\n        [items]=\"items()\"\n        [triggerLabel]=\"triggerLabel()\"\n        [(open)]=\"open\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (selectedItem)=\"selectedItem.emit($event)\"\n      >\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-dropdown-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [DropdownStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownComponent {\n  private injectedComponent = inject(DROPDOWN_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  items = input<IDropdownItem[]>([]);\n  triggerLabel = input<string>();\n  open = model<boolean>(false);\n  options = input<IDropdownOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  selectedItem = output<{ itemId: string }>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      items: this.items(),\n      triggerLabel: this.triggerLabel(),\n      open: this.open(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      selectedItem: this.selectedItem,\n      open: this.open,\n    });\n  }\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, IEmptyStateOptions } from '../../../models';\n\nexport interface IEmptyStateActionClick {\n  actionId: string;\n}\n\nexport interface IEmptyStateItemClick {\n  itemId: string;\n}\n\n@Directive()\nexport abstract class EmptyStateBaseComponent {\n  static smartType: DynamicComponentType = 'empty-state';\n\n  options: InputSignal<IEmptyStateOptions | undefined> =\n    input<IEmptyStateOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  actionClick: OutputEmitterRef<IEmptyStateActionClick> =\n    output<IEmptyStateActionClick>();\n  itemClick: OutputEmitterRef<IEmptyStateItemClick> =\n    output<IEmptyStateItemClick>();\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { EmptyStateBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-empty-state-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class EmptyStateStandardComponent extends EmptyStateBaseComponent {\n  protected onActionClick(actionId: string): void {\n    this.actionClick.emit({ actionId });\n  }\n\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div class=\"empty-state\">\n    @if (options()?.iconTpl) {\n      <div class=\"icon\">\n        <ng-container [ngTemplateOutlet]=\"options()!.iconTpl!\" />\n      </div>\n    }\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if (options()?.formTpl) {\n      <div class=\"form\">\n        <ng-container [ngTemplateOutlet]=\"options()!.formTpl!\" />\n      </div>\n    }\n    @if ((options()?.actions ?? []).length > 0) {\n      <div class=\"actions\">\n        @for (action of options()!.actions!; track action.id) {\n          @if (action.href) {\n            <a\n              [href]=\"action.href\"\n              [class]=\"'action variant-' + (action.variant ?? 'link')\"\n            >\n              @if (action.iconTpl) {\n                <span class=\"icon\">\n                  <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n                </span>\n              }\n              @if (action.label) {\n                {{ action.label }}\n              }\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"'action variant-' + (action.variant ?? 'primary')\"\n              (click)=\"onActionClick(action.id)\"\n            >\n              @if (action.iconTpl) {\n                <span class=\"icon\">\n                  <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n                </span>\n              }\n              @if (action.label) {\n                {{ action.label }}\n              }\n            </button>\n          }\n        }\n      </div>\n    }\n    @if ((options()?.items ?? []).length > 0) {\n      @if (options()?.itemsTitle) {\n        <h4 class=\"items-title\">{{ options()!.itemsTitle }}</h4>\n      }\n      <ul class=\"items\" role=\"list\">\n        @for (item of options()!.items!; track item.id) {\n          <li class=\"item\">\n            @if (item.href) {\n              <a [href]=\"item.href\" class=\"item-link\">\n                @if (item.iconTpl) {\n                  <span class=\"item-icon\">\n                    <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                  </span>\n                }\n                @if (item.imageUrl) {\n                  <img\n                    [src]=\"item.imageUrl\"\n                    [attr.alt]=\"item.imageAlt ?? ''\"\n                    class=\"item-image\"\n                  />\n                }\n                <span class=\"item-content\">\n                  @if (item.title) {\n                    <span class=\"item-title\">{{ item.title }}</span>\n                  }\n                  @if (item.description) {\n                    <span class=\"item-description\">{{ item.description }}</span>\n                  }\n                  @if (item.meta) {\n                    <span class=\"item-meta\">{{ item.meta }}</span>\n                  }\n                </span>\n              </a>\n            } @else {\n              <button\n                type=\"button\"\n                class=\"item-button\"\n                (click)=\"onItemClick(item.id)\"\n              >\n                @if (item.iconTpl) {\n                  <span class=\"item-icon\">\n                    <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                  </span>\n                }\n                @if (item.imageUrl) {\n                  <img\n                    [src]=\"item.imageUrl\"\n                    [attr.alt]=\"item.imageAlt ?? ''\"\n                    class=\"item-image\"\n                  />\n                }\n                <span class=\"item-content\">\n                  @if (item.title) {\n                    <span class=\"item-title\">{{ item.title }}</span>\n                  }\n                  @if (item.description) {\n                    <span class=\"item-description\">{{ item.description }}</span>\n                  }\n                  @if (item.meta) {\n                    <span class=\"item-meta\">{{ item.meta }}</span>\n                  }\n                </span>\n              </button>\n            }\n          </li>\n        }\n      </ul>\n    }\n    @if (options()?.footerLinkLabel) {\n      <div class=\"footer\">\n        @if (options()?.footerLinkHref) {\n          <a [href]=\"options()!.footerLinkHref\" class=\"footer-link\">{{\n            options()!.footerLinkLabel\n          }}</a>\n        } @else {\n          <span class=\"footer-link\">{{ options()!.footerLinkLabel }}</span>\n        }\n      </div>\n    }\n  </div>\n</div>\n","// Preline \"Invoice Table Empty State\" visual, translated to smart:-prefixed\n// vanilla Tailwind. Symbols are component-prefixed so they never collide in the\n// library's `export *` barrel (the util is NOT part of the public barrel).\n\nexport type SmartEmptyStatePresetActionVariant =\n  | 'primary'\n  | 'secondary'\n  | 'ghost'\n  | 'link';\n\n// Centered single-column empty-state block (Preline card body).\nexport const EMPTY_STATE_CONTAINER = [\n  'smart:max-w-sm',\n  'smart:w-full',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:justify-center',\n  'smart:mx-auto',\n  'smart:px-6',\n  'smart:py-4',\n].join(' ');\n\n// Rounded icon tile (bg-surface) — colour set here so the projected icon SVG\n// inherits via currentColor.\nexport const EMPTY_STATE_ICON_WRAP = [\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:size-11',\n  'smart:rounded-lg',\n  'smart:bg-gray-100',\n  'smart:dark:bg-gray-800',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const EMPTY_STATE_TITLE = [\n  'smart:mt-5',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport const EMPTY_STATE_DESCRIPTION = [\n  'smart:mt-2',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const EMPTY_STATE_FORM = 'smart:mt-5';\n\n// \"Learn more\" inline text link (maps to footerLink* / link action variant).\nexport const EMPTY_STATE_FOOTER_LINK = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-1',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n  'smart:decoration-2',\n  'smart:hover:underline',\n  'smart:focus:outline-none',\n  'smart:focus:underline',\n].join(' ');\n\nexport const EMPTY_STATE_FOOTER_WRAP = 'smart:mt-3';\n\nexport const EMPTY_STATE_ACTIONS = [\n  'smart:mt-5',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:sm:flex-row',\n  'smart:gap-2',\n].join(' ');\n\nconst ACTION_BASE = [\n  'smart:py-2',\n  'smart:px-3',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst ACTION_PRIMARY = [\n  'smart:bg-blue-600',\n  'smart:dark:bg-blue-500',\n  'smart:border',\n  'smart:border-blue-600',\n  'smart:dark:border-blue-500',\n  'smart:text-white',\n  'smart:hover:bg-blue-700',\n  'smart:dark:hover:bg-blue-600',\n  'smart:focus:bg-blue-700',\n  'smart:dark:focus:bg-blue-600',\n].join(' ');\n\nconst ACTION_SECONDARY = [\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:shadow-2xs',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\nconst ACTION_GHOST = [\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\nconst ACTION_VARIANT_MAP: Record<\n  Exclude<SmartEmptyStatePresetActionVariant, 'link'>,\n  string\n> = {\n  primary: ACTION_PRIMARY,\n  secondary: ACTION_SECONDARY,\n  ghost: ACTION_GHOST,\n};\n\nexport function getEmptyStateActionClasses(\n  variant: SmartEmptyStatePresetActionVariant,\n): string {\n  // The \"link\" action reuses the inline text-link look (no button chrome).\n  if (variant === 'link') {\n    return EMPTY_STATE_FOOTER_LINK;\n  }\n  return `${ACTION_BASE} ${ACTION_VARIANT_MAP[variant]}`;\n}\n\n// Optional items list (kept faithful-ish so the preset is a full drop-in even\n// though the source Preline block has no list).\nexport const EMPTY_STATE_ITEMS_TITLE = [\n  'smart:mt-5',\n  'smart:text-sm',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport const EMPTY_STATE_ITEMS_LIST = [\n  'smart:mt-3',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:gap-2',\n].join(' ');\n\nexport const EMPTY_STATE_ITEM = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-3',\n  'smart:w-full',\n  'smart:p-3',\n  'smart:text-start',\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\nexport const EMPTY_STATE_ITEM_ICON = [\n  'smart:shrink-0',\n  'smart:size-5',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const EMPTY_STATE_ITEM_IMAGE = [\n  'smart:shrink-0',\n  'smart:size-10',\n  'smart:rounded-full',\n  'smart:object-cover',\n].join(' ');\n\nexport const EMPTY_STATE_ITEM_CONTENT = 'smart:flex smart:flex-col';\n\nexport const EMPTY_STATE_ITEM_TITLE = [\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n].join(' ');\n\nexport const EMPTY_STATE_ITEM_DESCRIPTION = [\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const EMPTY_STATE_ITEM_META = [\n  'smart:text-xs',\n  'smart:text-gray-400',\n  'smart:dark:text-gray-500',\n].join(' ');\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IEmptyStateAction } from '../../../models';\nimport { EmptyStateBaseComponent } from '../base';\nimport {\n  EMPTY_STATE_ACTIONS,\n  EMPTY_STATE_CONTAINER,\n  EMPTY_STATE_DESCRIPTION,\n  EMPTY_STATE_FOOTER_LINK,\n  EMPTY_STATE_FOOTER_WRAP,\n  EMPTY_STATE_FORM,\n  EMPTY_STATE_ICON_WRAP,\n  EMPTY_STATE_ITEM,\n  EMPTY_STATE_ITEM_CONTENT,\n  EMPTY_STATE_ITEM_DESCRIPTION,\n  EMPTY_STATE_ITEM_ICON,\n  EMPTY_STATE_ITEM_IMAGE,\n  EMPTY_STATE_ITEM_META,\n  EMPTY_STATE_ITEM_TITLE,\n  EMPTY_STATE_ITEMS_LIST,\n  EMPTY_STATE_ITEMS_TITLE,\n  EMPTY_STATE_TITLE,\n  getEmptyStateActionClasses,\n  SmartEmptyStatePresetActionVariant,\n} from './preset-classes.util';\n\n/**\n * Styled empty-state variation (preset).\n *\n * Drop-in replacement for `EmptyStateStandardComponent` — register it through\n * `EMPTY_STATE_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-empty-state>`,\n * or use the `<smart-empty-state-preset>` selector directly.\n *\n * Adapts Preline's \"Invoice Table Empty State\" centered block (icon tile,\n * title, description, \"Learn more\" link and action buttons) onto the existing\n * `IEmptyStateOptions` fields. Optional `items` are rendered as a simple list so\n * the preset stays a full drop-in for the standard component.\n */\n@Component({\n  selector: 'smart-empty-state-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class EmptyStatePresetComponent extends EmptyStateBaseComponent {\n  // NgComponentOutlet (used by EmptyStateComponent when this is registered\n  // through EMPTY_STATE_STANDARD_COMPONENT_TOKEN) passes inputs by canonical\n  // name, so the inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected readonly containerClasses = EMPTY_STATE_CONTAINER;\n  protected readonly iconWrapClasses = EMPTY_STATE_ICON_WRAP;\n  protected readonly titleClasses = EMPTY_STATE_TITLE;\n  protected readonly descriptionClasses = EMPTY_STATE_DESCRIPTION;\n  protected readonly formClasses = EMPTY_STATE_FORM;\n  protected readonly footerWrapClasses = EMPTY_STATE_FOOTER_WRAP;\n  protected readonly footerLinkClasses = EMPTY_STATE_FOOTER_LINK;\n  protected readonly actionsClasses = EMPTY_STATE_ACTIONS;\n\n  protected readonly itemsTitleClasses = EMPTY_STATE_ITEMS_TITLE;\n  protected readonly itemsListClasses = EMPTY_STATE_ITEMS_LIST;\n  protected readonly itemClasses = EMPTY_STATE_ITEM;\n  protected readonly itemIconClasses = EMPTY_STATE_ITEM_ICON;\n  protected readonly itemImageClasses = EMPTY_STATE_ITEM_IMAGE;\n  protected readonly itemContentClasses = EMPTY_STATE_ITEM_CONTENT;\n  protected readonly itemTitleClasses = EMPTY_STATE_ITEM_TITLE;\n  protected readonly itemDescriptionClasses = EMPTY_STATE_ITEM_DESCRIPTION;\n  protected readonly itemMetaClasses = EMPTY_STATE_ITEM_META;\n\n  protected actionClasses(action: IEmptyStateAction): string {\n    const variant: SmartEmptyStatePresetActionVariant =\n      action.variant ?? (action.href ? 'link' : 'primary');\n    return getEmptyStateActionClasses(variant);\n  }\n\n  protected onActionClick(actionId: string): void {\n    this.actionClick.emit({ actionId });\n  }\n\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n}\n","<div [class]=\"containerClasses + ' ' + cssClass()\">\n  @if (options()?.iconTpl) {\n    <div [class]=\"iconWrapClasses\">\n      <ng-container [ngTemplateOutlet]=\"options()!.iconTpl!\" />\n    </div>\n  }\n\n  @if (options()?.title) {\n    <h3 [class]=\"titleClasses\">{{ options()!.title }}</h3>\n  }\n\n  @if (options()?.description) {\n    <p [class]=\"descriptionClasses\">{{ options()!.description }}</p>\n  }\n\n  @if (options()?.formTpl) {\n    <div [class]=\"formClasses\">\n      <ng-container [ngTemplateOutlet]=\"options()!.formTpl!\" />\n    </div>\n  }\n\n  @if (options()?.footerLinkLabel) {\n    <div [class]=\"footerWrapClasses\">\n      @if (options()?.footerLinkHref) {\n        <a [href]=\"options()!.footerLinkHref\" [class]=\"footerLinkClasses\">\n          {{ options()!.footerLinkLabel }}\n          <svg\n            class=\"smart:shrink-0 smart:size-4\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n            width=\"24\"\n            height=\"24\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            stroke-width=\"2\"\n            stroke-linecap=\"round\"\n            stroke-linejoin=\"round\"\n            aria-hidden=\"true\"\n          >\n            <path d=\"m9 18 6-6-6-6\" />\n          </svg>\n        </a>\n      } @else {\n        <span [class]=\"footerLinkClasses\">{{\n          options()!.footerLinkLabel\n        }}</span>\n      }\n    </div>\n  }\n\n  @if ((options()?.actions ?? []).length > 0) {\n    <div [class]=\"actionsClasses\">\n      @for (action of options()!.actions!; track action.id) {\n        @if (action.href) {\n          <a [href]=\"action.href\" [class]=\"actionClasses(action)\">\n            @if (action.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n            }\n            @if (action.label) {\n              {{ action.label }}\n            }\n          </a>\n        } @else {\n          <button\n            type=\"button\"\n            [class]=\"actionClasses(action)\"\n            (click)=\"onActionClick(action.id)\"\n          >\n            @if (action.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n            }\n            @if (action.label) {\n              {{ action.label }}\n            }\n          </button>\n        }\n      }\n    </div>\n  }\n\n  @if ((options()?.items ?? []).length > 0) {\n    @if (options()?.itemsTitle) {\n      <h4 [class]=\"itemsTitleClasses\">{{ options()!.itemsTitle }}</h4>\n    }\n    <ul [class]=\"itemsListClasses\" role=\"list\">\n      @for (item of options()!.items!; track item.id) {\n        <li>\n          @if (item.href) {\n            <a [href]=\"item.href\" [class]=\"itemClasses\">\n              @if (item.iconTpl) {\n                <span [class]=\"itemIconClasses\">\n                  <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                </span>\n              }\n              @if (item.imageUrl) {\n                <img\n                  [src]=\"item.imageUrl\"\n                  [attr.alt]=\"item.imageAlt ?? ''\"\n                  [class]=\"itemImageClasses\"\n                />\n              }\n              <span [class]=\"itemContentClasses\">\n                @if (item.title) {\n                  <span [class]=\"itemTitleClasses\">{{ item.title }}</span>\n                }\n                @if (item.description) {\n                  <span [class]=\"itemDescriptionClasses\">{{\n                    item.description\n                  }}</span>\n                }\n                @if (item.meta) {\n                  <span [class]=\"itemMetaClasses\">{{ item.meta }}</span>\n                }\n              </span>\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"itemClasses\"\n              (click)=\"onItemClick(item.id)\"\n            >\n              @if (item.iconTpl) {\n                <span [class]=\"itemIconClasses\">\n                  <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                </span>\n              }\n              @if (item.imageUrl) {\n                <img\n                  [src]=\"item.imageUrl\"\n                  [attr.alt]=\"item.imageAlt ?? ''\"\n                  [class]=\"itemImageClasses\"\n                />\n              }\n              <span [class]=\"itemContentClasses\">\n                @if (item.title) {\n                  <span [class]=\"itemTitleClasses\">{{ item.title }}</span>\n                }\n                @if (item.description) {\n                  <span [class]=\"itemDescriptionClasses\">{{\n                    item.description\n                  }}</span>\n                }\n                @if (item.meta) {\n                  <span [class]=\"itemMetaClasses\">{{ item.meta }}</span>\n                }\n              </span>\n            </button>\n          }\n        </li>\n      }\n    </ul>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IEmptyStateOptions } from '../../models';\nimport { EMPTY_STATE_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport {\n  IEmptyStateActionClick,\n  IEmptyStateItemClick,\n} from './base/base.component';\nimport { EmptyStateStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-empty-state',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-empty-state-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (actionClick)=\"actionClick.emit($event)\"\n        (itemClick)=\"itemClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [EmptyStateStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EmptyStateComponent {\n  private injectedComponent = inject(EMPTY_STATE_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IEmptyStateOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  actionClick = output<IEmptyStateActionClick>();\n  itemClick = output<IEmptyStateItemClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      actionClick: this.actionClick,\n      itemClick: this.itemClick,\n    });\n  }\n}\n","import { Directive, input } from '@angular/core';\n\n@Directive()\nexport abstract class ExportBaseComponent {\n  value = input<any | undefined>(undefined);\n  /** Name for the exported file, passed to `handler` as its second argument. */\n  fileName = input<string | undefined>();\n  /**\n   * Called with `value` and `fileName` on click. Serialise and download the\n   * data here. The `fileName` argument is optional, so `(value) => void`\n   * handlers keep working.\n   */\n  handler = input.required<(value: any, fileName?: string) => void>();\n  /** Extra CSS classes applied to the rendered button. */\n  cssClass = input<string>('', { alias: 'class' });\n\n  async onClick(): Promise<void> {\n    const value = this.value();\n    if (value) {\n      this.handler()(value, this.fileName());\n      return;\n    }\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ButtonComponent } from '../button';\nimport { ExportBaseComponent } from './base/base.component';\n\n@Component({\n  selector: 'smart-export',\n  template: `\n    <smart-button\n      [options]=\"buttonOptions\"\n      [disabled]=\"!value()\"\n      [class]=\"cssClass()\"\n    >\n      <svg\n        aria-hidden=\"true\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 20 20\"\n        fill=\"currentColor\"\n        class=\"smart:size-5\"\n      >\n        <path\n          d=\"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z\"\n        />\n        <path\n          d=\"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z\"\n        />\n      </svg>\n      <span class=\"smart:sr-only\">Export</span>\n    </smart-button>\n  `,\n  imports: [ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ExportComponent extends ExportBaseComponent {\n  buttonOptions = {\n    click: () => this.onClick(),\n  };\n}\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IFeedOptions } from '../../../models';\n\n@Directive()\nexport abstract class FeedBaseComponent {\n  static smartType: DynamicComponentType = 'feed';\n\n  options: InputSignal<IFeedOptions | undefined> = input<IFeedOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { FeedBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-feed-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class FeedStandardComponent extends FeedBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"feed\">\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if ((options()?.events ?? []).length > 0) {\n      <ol role=\"list\">\n        @for (event of options()!.events!; track event.id ?? $index) {\n          <li class=\"event\" [attr.aria-label]=\"event.ariaLabel ?? null\">\n            @if (event.iconTpl) {\n              <span class=\"icon\">\n                <ng-container [ngTemplateOutlet]=\"event.iconTpl\" />\n              </span>\n            } @else if (event.avatarUrl) {\n              <img class=\"avatar\" [src]=\"event.avatarUrl\" alt=\"\" />\n            }\n            <div class=\"body\">\n              @if (event.timestamp) {\n                <time class=\"timestamp\">{{ event.timestamp }}</time>\n              }\n              @if (event.href) {\n                <a class=\"title\" [attr.href]=\"event.href\">{{ event.title }}</a>\n              } @else {\n                <span class=\"title\">{{ event.title }}</span>\n              }\n              @if (event.description) {\n                <p class=\"description\">{{ event.description }}</p>\n              }\n              @if ((event.comments ?? []).length > 0) {\n                <ul class=\"comments\" role=\"list\">\n                  @for (\n                    comment of event.comments!;\n                    track comment.id ?? $index\n                  ) {\n                    <li class=\"comment\">\n                      @if (comment.authorAvatarUrl) {\n                        <img\n                          class=\"avatar\"\n                          [src]=\"comment.authorAvatarUrl\"\n                          alt=\"\"\n                        />\n                      }\n                      <span class=\"author\">{{ comment.authorName }}</span>\n                      @if (comment.timestamp) {\n                        <time class=\"timestamp\">{{ comment.timestamp }}</time>\n                      }\n                      <p class=\"content\">{{ comment.content }}</p>\n                    </li>\n                  }\n                </ul>\n              }\n            </div>\n          </li>\n        }\n      </ol>\n    } @else if (options()?.emptyTpl) {\n      <div class=\"empty\">\n        <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n      </div>\n    }\n    @if (options()?.commentSubmitTpl) {\n      <div class=\"comment-submit\">\n        <ng-container [ngTemplateOutlet]=\"options()!.commentSubmitTpl!\" />\n      </div>\n    }\n    @if (options()?.footerTpl) {\n      <div class=\"footer\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","import { SmartFeedVariant } from '../../../models';\n\nexport type SmartFeedPresetVariant = SmartFeedVariant;\n\n/** Root timeline wrapper. */\nexport const FEED_ROOT = 'smart:w-full';\n\n/** Wrapper around a date / section heading (`first:mt-0` collapses the top gap). */\nexport const FEED_HEADING_WRAP = 'smart:ps-2 smart:my-2 smart:first:mt-0';\n\n/** Date / section heading text. */\nexport const FEED_HEADING_TEXT =\n  'smart:text-xs smart:font-medium smart:uppercase smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Feed-level description (under the title). */\nexport const FEED_DESCRIPTION =\n  'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** A single timeline row. */\nexport const FEED_ITEM = 'smart:flex smart:gap-x-3';\n\n/** Left-hand side timestamp column. */\nexport const FEED_TIMESTAMP_SIDE = 'smart:min-w-14 smart:text-end';\n\n/** Side timestamp text. */\nexport const FEED_TIMESTAMP_TEXT =\n  'smart:text-xs smart:text-gray-500 smart:dark:text-gray-400';\n\n/**\n * Marker rail: holds the icon/dot and draws the connecting vertical line via the\n * `after:` pseudo-element (hidden on the last item).\n */\nexport const FEED_MARKER_RAIL = [\n  'smart:relative',\n  'smart:last:after:hidden',\n  'smart:after:absolute',\n  'smart:after:top-7',\n  'smart:after:bottom-0',\n  'smart:after:start-3.5',\n  'smart:after:-translate-x-[0.5px]',\n  'smart:after:border-s',\n  'smart:after:border-gray-200',\n  'smart:dark:after:border-gray-700',\n].join(' ');\n\n/** Inner circle that centers the marker content. */\nexport const FEED_MARKER_INNER =\n  'smart:relative smart:z-10 smart:size-7 smart:flex smart:justify-center smart:items-center';\n\n/** Default dot marker. */\nexport const FEED_DOT =\n  'smart:size-2 smart:rounded-full smart:bg-gray-400 smart:dark:bg-gray-500';\n\n/** Avatar marker image. */\nexport const FEED_AVATAR = 'smart:shrink-0 smart:size-7 smart:rounded-full';\n\n/** Right-hand content column. */\nexport const FEED_BODY = 'smart:grow smart:pt-0.5 smart:pb-8';\n\n/** Event title (plain). */\nexport const FEED_EVENT_TITLE =\n  'smart:flex smart:gap-x-1.5 smart:font-medium smart:text-gray-900 smart:dark:text-white';\n\n/** Event title rendered as a link. */\nexport const FEED_EVENT_TITLE_LINK = `${FEED_EVENT_TITLE} smart:hover:underline smart:focus:outline-none smart:focus:underline`;\n\n/** Event description. */\nexport const FEED_EVENT_DESCRIPTION =\n  'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Comment author button (avatar/initials + name). */\nexport const FEED_COMMENT_BUTTON = [\n  'smart:mt-1',\n  'smart:-ms-1',\n  'smart:p-1',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-xs',\n  'smart:rounded-lg',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\n/** Comment author avatar image. */\nexport const FEED_COMMENT_AVATAR =\n  'smart:shrink-0 smart:size-4 smart:rounded-full';\n\n/** Comment author initials fallback. */\nexport const FEED_COMMENT_INITIALS = [\n  'smart:flex',\n  'smart:shrink-0',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:size-4',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:text-[10px]',\n  'smart:font-medium',\n  'smart:uppercase',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:rounded-full',\n].join(' ');\n\n/** Comment body text. */\nexport const FEED_COMMENT_CONTENT =\n  'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Comment timestamp. */\nexport const FEED_COMMENT_TIME =\n  'smart:ms-1 smart:text-xs smart:text-gray-400 smart:dark:text-gray-500';\n\n/** Empty-state wrapper. */\nexport const FEED_EMPTY =\n  'smart:py-4 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Comment-submit slot wrapper. */\nexport const FEED_COMMENT_SUBMIT = 'smart:mt-4';\n\n/** Footer slot wrapper. */\nexport const FEED_FOOTER = 'smart:mt-4';\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IFeedEvent, SmartFeedVariant } from '../../../models';\nimport { FeedBaseComponent } from '../base';\nimport {\n  FEED_AVATAR,\n  FEED_BODY,\n  FEED_COMMENT_AVATAR,\n  FEED_COMMENT_BUTTON,\n  FEED_COMMENT_CONTENT,\n  FEED_COMMENT_INITIALS,\n  FEED_COMMENT_SUBMIT,\n  FEED_COMMENT_TIME,\n  FEED_DESCRIPTION,\n  FEED_DOT,\n  FEED_EMPTY,\n  FEED_EVENT_DESCRIPTION,\n  FEED_EVENT_TITLE,\n  FEED_EVENT_TITLE_LINK,\n  FEED_FOOTER,\n  FEED_HEADING_TEXT,\n  FEED_HEADING_WRAP,\n  FEED_ITEM,\n  FEED_MARKER_INNER,\n  FEED_MARKER_RAIL,\n  FEED_ROOT,\n  FEED_TIMESTAMP_SIDE,\n  FEED_TIMESTAMP_TEXT,\n} from './preset-classes.util';\n\n/**\n * Styled feed / timeline variation (preset).\n *\n * Drop-in replacement for `FeedStandardComponent` — register it through\n * `FEED_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-feed>`, or use the\n * `<smart-feed-preset>` selector directly.\n *\n * Renders the Preline timeline look in vanilla Tailwind: a vertical rail with\n * per-event markers (icon template > avatar image > dot), a side timestamp\n * column, the event title (link when `href` is set), description, and nested\n * comments shown as Preline author rows (avatar or initials fallback).\n */\n@Component({\n  selector: 'smart-feed-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class FeedPresetComponent extends FeedBaseComponent {\n  // NgComponentOutlet (used by FeedComponent when this is registered through\n  // FEED_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected title = computed(() => this.options()?.title);\n  protected description = computed(() => this.options()?.description);\n  protected events = computed<IFeedEvent[]>(() => this.options()?.events ?? []);\n  protected variant = computed<SmartFeedVariant>(\n    () => this.options()?.variant ?? 'simple',\n  );\n\n  protected emptyTpl = computed(() => this.options()?.emptyTpl);\n  protected commentSubmitTpl = computed(() => this.options()?.commentSubmitTpl);\n  protected footerTpl = computed(() => this.options()?.footerTpl);\n\n  protected readonly rootClasses = FEED_ROOT;\n  protected readonly headingWrapClasses = FEED_HEADING_WRAP;\n  protected readonly headingTextClasses = FEED_HEADING_TEXT;\n  protected readonly descriptionClasses = FEED_DESCRIPTION;\n  protected readonly itemClasses = FEED_ITEM;\n  protected readonly timestampSideClasses = FEED_TIMESTAMP_SIDE;\n  protected readonly timestampTextClasses = FEED_TIMESTAMP_TEXT;\n  protected readonly markerRailClasses = FEED_MARKER_RAIL;\n  protected readonly markerInnerClasses = FEED_MARKER_INNER;\n  protected readonly dotClasses = FEED_DOT;\n  protected readonly avatarClasses = FEED_AVATAR;\n  protected readonly bodyClasses = FEED_BODY;\n  protected readonly eventTitleClasses = FEED_EVENT_TITLE;\n  protected readonly eventTitleLinkClasses = FEED_EVENT_TITLE_LINK;\n  protected readonly eventDescriptionClasses = FEED_EVENT_DESCRIPTION;\n  protected readonly commentButtonClasses = FEED_COMMENT_BUTTON;\n  protected readonly commentAvatarClasses = FEED_COMMENT_AVATAR;\n  protected readonly commentInitialsClasses = FEED_COMMENT_INITIALS;\n  protected readonly commentContentClasses = FEED_COMMENT_CONTENT;\n  protected readonly commentTimeClasses = FEED_COMMENT_TIME;\n  protected readonly emptyClasses = FEED_EMPTY;\n  protected readonly commentSubmitClasses = FEED_COMMENT_SUBMIT;\n  protected readonly footerClasses = FEED_FOOTER;\n\n  /** First letter of the author name, used for the comment initials fallback. */\n  protected initial(name: string): string {\n    return (name?.trim().charAt(0) ?? '').toUpperCase();\n  }\n}\n","<div [class]=\"rootClasses + ' ' + cssClass()\">\n  @if (title()) {\n    <div [class]=\"headingWrapClasses\">\n      <h3 [class]=\"headingTextClasses\">{{ title() }}</h3>\n    </div>\n  }\n  @if (description()) {\n    <p [class]=\"descriptionClasses\">{{ description() }}</p>\n  }\n\n  @if (events().length > 0) {\n    @for (event of events(); track event.id ?? $index) {\n      <div [class]=\"itemClasses\" [attr.aria-label]=\"event.ariaLabel ?? null\">\n        @if (event.timestamp) {\n          <div [class]=\"timestampSideClasses\">\n            <span [class]=\"timestampTextClasses\">{{ event.timestamp }}</span>\n          </div>\n        }\n\n        <div [class]=\"markerRailClasses\">\n          <div [class]=\"markerInnerClasses\">\n            @if (event.iconTpl) {\n              <ng-container [ngTemplateOutlet]=\"event.iconTpl\" />\n            } @else if (event.avatarUrl) {\n              <img [class]=\"avatarClasses\" [src]=\"event.avatarUrl\" alt=\"\" />\n            } @else {\n              <span [class]=\"dotClasses\" aria-hidden=\"true\"></span>\n            }\n          </div>\n        </div>\n\n        <div [class]=\"bodyClasses\">\n          @if (event.href) {\n            <a [class]=\"eventTitleLinkClasses\" [attr.href]=\"event.href\">{{\n              event.title\n            }}</a>\n          } @else {\n            <h3 [class]=\"eventTitleClasses\">{{ event.title }}</h3>\n          }\n\n          @if (event.description) {\n            <p [class]=\"eventDescriptionClasses\">{{ event.description }}</p>\n          }\n\n          @if ((event.comments ?? []).length > 0) {\n            @for (comment of event.comments!; track comment.id ?? $index) {\n              <div class=\"smart:flex smart:flex-col\">\n                <button type=\"button\" [class]=\"commentButtonClasses\">\n                  @if (comment.authorAvatarUrl) {\n                    <img\n                      [class]=\"commentAvatarClasses\"\n                      [src]=\"comment.authorAvatarUrl\"\n                      alt=\"\"\n                    />\n                  } @else {\n                    <span [class]=\"commentInitialsClasses\">{{\n                      initial(comment.authorName)\n                    }}</span>\n                  }\n                  {{ comment.authorName }}\n                  @if (comment.timestamp) {\n                    <time [class]=\"commentTimeClasses\">{{\n                      comment.timestamp\n                    }}</time>\n                  }\n                </button>\n                <p [class]=\"commentContentClasses\">{{ comment.content }}</p>\n              </div>\n            }\n          }\n        </div>\n      </div>\n    }\n  } @else if (emptyTpl()) {\n    <div [class]=\"emptyClasses\">\n      <ng-container [ngTemplateOutlet]=\"emptyTpl()!\" />\n    </div>\n  }\n\n  @if (commentSubmitTpl()) {\n    <div [class]=\"commentSubmitClasses\">\n      <ng-container [ngTemplateOutlet]=\"commentSubmitTpl()!\" />\n    </div>\n  }\n  @if (footerTpl()) {\n    <div [class]=\"footerClasses\">\n      <ng-container [ngTemplateOutlet]=\"footerTpl()!\" />\n    </div>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IFeedOptions } from '../../models';\nimport { FEED_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { FeedStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-feed',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-feed-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [FeedStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FeedComponent {\n  private injectedComponent = inject(FEED_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IFeedOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import 'reflect-metadata';\nimport { inject, Injectable } from '@angular/core';\nimport {\n  AbstractControl,\n  UntypedFormArray,\n  UntypedFormBuilder,\n  Validators,\n} from '@angular/forms';\nimport * as _ from 'lodash';\nimport { delay, tap } from 'rxjs/operators';\n\nimport {\n  FieldType,\n  getModelFieldsWithOptions,\n  IFieldEditMetadata,\n  IFieldModifyMetadata,\n  IFieldOptions,\n  IFieldUniqueMetadata,\n  ISpecification,\n  SYMBOL_FIELD,\n  SYMBOL_MODEL,\n} from '@smartsoft001/models';\nimport {\n  PeselService,\n  SPECIFICATION_ROOT_KEY,\n  SpecificationService,\n  ZipCodeService,\n} from '@smartsoft001/utils';\n\nimport { MODEL_VALIDATORS_PROVIDER } from '../../providers';\nimport { AuthService, SmartFormGroup, DetailsService } from '../../services';\n\n@Injectable()\nexport class FormFactory {\n  private fb = inject(UntypedFormBuilder);\n  private authService = inject(AuthService);\n  private detailsService = inject(DetailsService);\n  private validatorsProvider = inject(MODEL_VALIDATORS_PROVIDER);\n\n  static checkModelMeta<T>(obj: T) {\n    if (!obj) throw new Error('You should set object as param');\n\n    if (!Reflect.hasMetadata(SYMBOL_MODEL, obj.constructor))\n      throw new Error('You should mark class with @Model decorator');\n  }\n\n  static getOptions<T>(obj: T, key: string): IFieldOptions {\n    return Reflect.getMetadata(SYMBOL_FIELD, obj as object, key);\n  }\n\n  static getOptionsFromMode(\n    options: IFieldOptions,\n    mode?: 'create' | 'update' | string,\n  ): IFieldOptions {\n    let result = options;\n\n    if (!mode) return result;\n\n    if (mode === 'create' && _.isObject(options.create)) {\n      result = {\n        ...options,\n        ...(options.create as IFieldModifyMetadata),\n      };\n    } else if (mode === 'update' && _.isObject(options.update)) {\n      result = {\n        ...options,\n        ...(options.update as IFieldModifyMetadata),\n      };\n    }\n\n    return result;\n  }\n\n  async create<T>(\n    obj: T,\n    ops: {\n      mode?: 'create' | 'update' | 'multiUpdate' | string;\n      uniqueProvider?: (values: Record<string, any>) => Promise<boolean>;\n      root?: AbstractControl;\n    } = {},\n  ): Promise<SmartFormGroup> {\n    FormFactory.checkModelMeta(obj);\n\n    const result = SmartFormGroup.create();\n\n    const fields = getModelFieldsWithOptions(obj).filter((field) => {\n      return (\n        !ops.mode ||\n        (ops.mode === 'create' && field.options.create) ||\n        (ops.mode === 'update' && field.options.update) ||\n        (ops.mode === 'multiUpdate' &&\n          (field.options?.update as IFieldEditMetadata)?.multi) ||\n        (ops.mode !== 'create' &&\n          ops.mode !== 'update' &&\n          field.options.customs &&\n          field.options.customs.some((custom) => custom.mode === ops.mode))\n      );\n    });\n\n    const enabledDefinitions: Array<{\n      key: string;\n      control: AbstractControl;\n      enabled: ISpecification;\n    }> = [];\n\n    for (let index = 0; index < fields.length; index++) {\n      const field = fields[index];\n      let control: AbstractControl;\n\n      const options = FormFactory.getOptionsFromMode(field.options, ops.mode);\n\n      if (\n        options.permissions &&\n        !this.authService.expectPermissions(options.permissions)\n      ) {\n        continue;\n      }\n\n      if (field.options.type === FieldType.object) {\n        control = await this.create((obj as any)[field.key], {\n          ...ops,\n          root: ops.root ? ops.root : result,\n        });\n      } else if (field.options.type === FieldType.array) {\n        control = this.fb.array([]);\n        if ((obj as any)[field.key]) {\n          for (\n            let indexField = 0;\n            indexField < ((obj as any)[field.key] as []).length;\n            indexField++\n          ) {\n            (control as UntypedFormArray).push(\n              await this.create((obj as any)[field.key][indexField], {\n                ...ops,\n                root: ops.root ? ops.root : result,\n              }),\n            );\n          }\n        }\n      } else {\n        control = this.createControl(obj, field, options?.required ?? false);\n      }\n\n      this.setValidators(\n        field.key,\n        control,\n        options,\n        result,\n        ops.uniqueProvider,\n      );\n\n      if (this.validatorsProvider) {\n        const providerResult = await this.validatorsProvider.get({\n          key: field.key,\n          instance: obj,\n          type: (obj as any).constructor,\n          base: {\n            validators: control?.validator ?? undefined,\n            asyncValidators: control?.asyncValidator ?? undefined,\n          },\n        });\n\n        control.setValidators(providerResult?.validators ?? null);\n        control.setAsyncValidators(providerResult?.asyncValidators ?? null);\n      }\n\n      // `setValidators` and `setAsyncValidators` do not recalculate the status,\n      // so the control still carries the one it computed before it had any\n      // validators. Recalculate it here, once every validator is attached, or\n      // the group would be built from stale child statuses and report VALID.\n      // Silently: the only subscribers this early are the `enabled` pipelines\n      // of the nested groups, and the `addControl` below emits anyway.\n      control.updateValueAndValidity({ emitEvent: false });\n\n      result.addControl(field.key, control);\n\n      if (options.confirm && options.type === FieldType.object) {\n        throw Error('Object not supported confirms');\n      }\n\n      if (options.confirm) {\n        const confirmControl = this.fb.control(null, [\n          Validators.required,\n          (a: AbstractControl) => {\n            if (a.value !== result.controls[field.key].value) {\n              return {\n                confirm: true,\n              };\n            }\n\n            return null;\n          },\n        ]);\n\n        result.addControl(field.key + 'Confirm', confirmControl);\n      }\n\n      if (options.enabled) {\n        enabledDefinitions.push({\n          key: field.key,\n          control,\n          enabled: options.enabled,\n        });\n      }\n    }\n\n    let rootCheck: AbstractControl | null = null;\n    if (\n      enabledDefinitions.some(\n        (d) =>\n          d?.enabled?.criteria &&\n          Object.keys(d.enabled.criteria).some(\n            (k) => k.indexOf(SPECIFICATION_ROOT_KEY) === 0,\n          ),\n      ) &&\n      ops.root\n    ) {\n      rootCheck = ops.root;\n    }\n\n    (rootCheck ? rootCheck : result).valueChanges\n      .pipe(\n        tap(() => {\n          enabledDefinitions.forEach((def) => {\n            const enabled = SpecificationService.valid(\n              {\n                ...(obj ? obj : {}),\n                ...result.value,\n              },\n              def.enabled,\n              {\n                $root: rootCheck?.value,\n              },\n            );\n            (def.control as any)['__smartDisabled'] = !enabled;\n          });\n        }),\n        delay(0),\n      )\n      .subscribe(() => {\n        if (rootCheck) this.detailsService.setRoot(rootCheck.value, true);\n\n        enabledDefinitions.forEach((def) => {\n          if (\n            !(def.control as any)['__smartDisabled'] &&\n            !result.controls[def.key]\n          ) {\n            result.addControl(def.key, def.control);\n            result.updateValueAndValidity();\n          } else if (\n            (def.control as any)['__smartDisabled'] &&\n            result.controls[def.key]\n          ) {\n            result.removeControl(def.key);\n            result.updateValueAndValidity();\n          }\n        });\n      });\n\n    return result;\n  }\n\n  private setValidators(\n    key: string,\n    control: AbstractControl,\n    options: IFieldOptions,\n    form: SmartFormGroup,\n    uniqueProvider?: (values: Record<string, any>) => Promise<boolean>,\n  ): void {\n    const result = [];\n    const asyncResult = [];\n\n    if (options.required) {\n      result.push(Validators.required);\n    }\n\n    if (options.type === FieldType.email) {\n      result.push((c: AbstractControl) => {\n        if (!c.value) return;\n\n        const reg = new RegExp(\n          '^([a-zA-Z0-9_\\\\.\\\\-])+\\\\@(([a-zA-Z0-9\\\\-])+\\\\.)+([a-zA-Z0-9]{2,4})+$',\n        );\n        if (reg.test(c.value)) return null;\n\n        return { email: true };\n      });\n    }\n\n    if (options.type === FieldType.phoneNumber) {\n      result.push((c: AbstractControl) => {\n        if (!c.value) return;\n\n        const reg = new RegExp('^((\\\\+91-?)|0)?[0-9]{9}$');\n        if (reg.test(c.value)) return null;\n\n        return { phoneNumber: true };\n      });\n    }\n\n    if (options.type === FieldType.pesel) {\n      result.push((c: AbstractControl) => {\n        if (!c.value) return;\n\n        if (PeselService.isValid(c.value)) return null;\n\n        return { pesel: true };\n      });\n    }\n\n    if (options.possibilities?.minLength) {\n      result.push(Validators.minLength(options.possibilities?.minLength));\n    }\n\n    if (options.possibilities?.maxLength) {\n      result.push(Validators.maxLength(options.possibilities?.maxLength));\n    }\n\n    if (options.possibilities?.min || options.possibilities?.min === 0) {\n      result.push(Validators.min(options.possibilities?.min));\n    }\n\n    if (options.possibilities?.max || options.possibilities?.max === 0) {\n      result.push(Validators.max(options.possibilities?.max));\n    }\n\n    if (options.unique && uniqueProvider) {\n      asyncResult.push(async (c: AbstractControl) => {\n        const record: Record<string, any> = {\n          [key]: options.type === FieldType.int ? c.value : `'${c.value}'`,\n        };\n\n        const withFields = (options.unique as IFieldUniqueMetadata)?.withFields;\n        if (form.value && withFields) {\n          withFields.forEach((fieldKey) => {\n            record[fieldKey] = form.value[fieldKey];\n          });\n        }\n\n        if (await uniqueProvider(record)) return null;\n\n        return {\n          invalidUnique: true,\n        };\n      });\n    }\n\n    control.setValidators(result as any);\n    control.setAsyncValidators(asyncResult);\n  }\n\n  private createControl<T>(\n    obj: T,\n    field: { key: string; options: IFieldOptions },\n    required: boolean,\n  ) {\n    let result: AbstractControl;\n\n    const zipCodeValidator = (c: any) => {\n      if (c.value && ZipCodeService.isInvalid(c.value)) {\n        return {\n          invalidZipCode: true,\n        };\n      }\n\n      return null;\n    };\n\n    switch (field.options.type) {\n      case FieldType.address:\n        result = this.fb.group({\n          city: ['', required ? [Validators.required] : null],\n          street: ['', required ? [Validators.required] : null],\n          buildingNumber: ['', required ? [Validators.required] : null],\n          flatNumber: [''],\n          zipCode: [\n            '',\n            required\n              ? [Validators.required, zipCodeValidator]\n              : [zipCodeValidator],\n          ],\n        });\n        break;\n      default:\n        result = this.fb.control(null);\n        break;\n    }\n\n    const value = (obj as any)[field.key]\n      ? (obj as any)[field.key]\n      : field.options.defaltValue\n        ? field.options.defaltValue()\n        : null;\n\n    if (value) result.setValue(value);\n\n    result.updateValueAndValidity();\n\n    return result;\n  }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { FormFactory } from './form/form.factory';\n\n@NgModule({\n  imports: [ReactiveFormsModule],\n  providers: [FormFactory],\n})\nexport class SharedFactoriesModule {}\n","import {\n  ChangeDetectorRef,\n  Directive,\n  input,\n  inject,\n  effect,\n  InputSignal,\n  WritableSignal,\n} from '@angular/core';\nimport {\n  AbstractControl,\n  UntypedFormArray,\n  UntypedFormControl,\n  UntypedFormGroup,\n} from '@angular/forms';\n\nimport { IFieldOptions } from '@smartsoft001/models';\n\nimport { InputOptions } from '../../../models';\nimport { BaseComponent } from '../../base';\n\n@Directive()\nexport abstract class InputBaseComponent<T> extends BaseComponent {\n  protected cd = inject(ChangeDetectorRef);\n\n  internalOptions!: InputOptions<T>;\n  control!: UntypedFormControl | UntypedFormArray | UntypedFormGroup;\n  required!: boolean;\n\n  possibilities!: WritableSignal<Array<{\n    id: any;\n    text: string;\n    checked: boolean;\n  }> | null>;\n\n  fieldOptions = input.required<IFieldOptions | undefined>();\n\n  options = input<InputOptions<T> | undefined>(undefined);\n\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  constructor() {\n    super();\n\n    effect(() => {\n      const options = this.options();\n      if (!options) return;\n\n      this.internalOptions = options;\n      this.control = this.internalOptions.control;\n\n      if (options?.possibilities) {\n        this.possibilities = options.possibilities;\n      }\n\n      this.setRequired();\n\n      this.afterSetOptionsHandler();\n\n      this.cd.detectChanges();\n    });\n  }\n\n  protected afterSetOptionsHandler() {\n    // No base functionality\n  }\n\n  private setRequired(): void {\n    const validator = this.control?.validator\n      ? this.control.validator({} as AbstractControl)\n      : null;\n    this.required = validator && validator['required'];\n  }\n\n  get formControl(): UntypedFormControl {\n    return this.control as UntypedFormControl;\n  }\n\n  get formControlArray(): UntypedFormArray {\n    return this.control as UntypedFormArray;\n  }\n\n  get formControlGroup(): UntypedFormGroup {\n    return this.control as UntypedFormGroup;\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-address',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\" [formGroup]=\"formControlGroup\">\n        <div>\n          <label\n            class=\"smart:block smart:text-xs smart:text-gray-600 smart:dark:text-gray-400\"\n            >{{ 'MODEL.city' | translate }}</label\n          >\n          <input\n            type=\"text\"\n            formControlName=\"city\"\n            [class]=\"fieldInputClasses\"\n          />\n        </div>\n        <div>\n          <label\n            class=\"smart:block smart:text-xs smart:text-gray-600 smart:dark:text-gray-400\"\n            >{{ 'MODEL.zipCode' | translate }}</label\n          >\n          <input\n            type=\"text\"\n            formControlName=\"zipCode\"\n            [class]=\"fieldInputClasses\"\n          />\n        </div>\n        <div>\n          <label\n            class=\"smart:block smart:text-xs smart:text-gray-600 smart:dark:text-gray-400\"\n            >{{ 'MODEL.street' | translate }}</label\n          >\n          <input\n            type=\"text\"\n            formControlName=\"street\"\n            [class]=\"fieldInputClasses\"\n          />\n        </div>\n        <div class=\"smart:grid smart:grid-cols-2 smart:gap-2\">\n          <div>\n            <label\n              class=\"smart:block smart:text-xs smart:text-gray-600 smart:dark:text-gray-400\"\n              >{{ 'MODEL.buildingNumber' | translate }}</label\n            >\n            <input\n              type=\"text\"\n              formControlName=\"buildingNumber\"\n              [class]=\"fieldInputClasses\"\n            />\n          </div>\n          <div>\n            <label\n              class=\"smart:block smart:text-xs smart:text-gray-600 smart:dark:text-gray-400\"\n              >{{ 'MODEL.flatNumber' | translate }}</label\n            >\n            <input\n              type=\"text\"\n              formControlName=\"flatNumber\"\n              [class]=\"fieldInputClasses\"\n            />\n          </div>\n        </div>\n      </div>\n    }\n  `,\n  imports: [TranslatePipe, ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputAddressComponent<T> extends InputBaseComponent<T> {\n  fieldInputClasses =\n    'smart:mt-1 smart:block smart:w-full smart:rounded-md smart:bg-white smart:px-2 smart:py-1 smart:text-sm smart:text-gray-900 smart:outline-1 smart:outline-gray-300 smart:focus:outline-2 smart:focus:outline-indigo-600 smart:dark:bg-white/5 smart:dark:text-white smart:dark:outline-white/10';\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  Directive,\n  ElementRef,\n  inject,\n  OnInit,\n  Renderer2,\n  Signal,\n  signal,\n  viewChild,\n  WritableSignal,\n} from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { IButtonOptions } from '../../../models';\nimport { FileService, ToastService } from '../../../services';\nimport { InputBaseComponent } from './base.component';\n\n@Directive()\nexport abstract class InputFileBaseComponent<T>\n  extends InputBaseComponent<T>\n  implements OnInit\n{\n  protected renderer = inject(Renderer2);\n  protected fileService = inject(FileService);\n  protected toastService = inject(ToastService);\n  protected translateService = inject(TranslateService);\n\n  valid = true;\n  oldId!: number;\n  file!: File | null;\n\n  loading: WritableSignal<boolean> = signal(false);\n  percent: Signal<number | undefined> = signal(undefined);\n\n  addButtonOptions: IButtonOptions = {\n    click: () => {\n      this.control.markAsDirty();\n      this.control.markAsTouched();\n      (this.inputElementRef()?.nativeElement as HTMLInputElement).click();\n    },\n    loading: this.loading,\n    variant: 'primary',\n  };\n  showButtonOptions: IButtonOptions = {\n    click: () => {\n      this.fileService.download(this.control.value.id);\n    },\n    loading: this.loading,\n    variant: 'secondary',\n    color: 'gray',\n  };\n  deleteButtonOptions: IButtonOptions = {\n    click: () => {\n      this.control.markAsDirty();\n      this.control.markAsTouched();\n      //this.fileService.delete(this.control.value.id);\n      this.control.setValue(null);\n      this.file = null;\n    },\n    loading: this.loading,\n    confirm: true,\n    variant: 'primary',\n    color: 'red',\n  };\n\n  inputElementRef = viewChild<ElementRef | undefined>('inputObj');\n\n  ngOnInit(): void {\n    const nativeElement = this.inputElementRef()?.nativeElement;\n    if (!nativeElement) return;\n\n    this.renderer.listen(nativeElement, 'change', () => {\n      this.loading.set(true);\n      this.file =\n        (this.inputElementRef()?.nativeElement as HTMLInputElement)\n          .files?.[0] ?? null;\n\n      (this.inputElementRef()?.nativeElement as HTMLInputElement).type = 'text';\n      (this.inputElementRef()?.nativeElement as HTMLInputElement).type = 'file';\n\n      if (\n        (this.inputElementRef()?.nativeElement as HTMLInputElement).accept &&\n        this.file &&\n        this.file.name\n      ) {\n        const acceptTypes = (\n          this.inputElementRef()?.nativeElement as HTMLInputElement\n        ).accept\n          .split(',')\n          .map((type) => type.replace('.', ''));\n\n        const fileType = this.file.name\n          .substr(this.file.name.lastIndexOf('.') + 1)\n          .toLowerCase();\n\n        if (!acceptTypes.some((a) => a === fileType)) {\n          this.toastService.error({\n            duration: 3000,\n            message:\n              this.translateService.instant('INPUT.ERRORS.invalidFileType') +\n              ` (${(this.inputElementRef()?.nativeElement as HTMLInputElement).accept})`,\n          });\n          this.loading.set(false);\n          return;\n        }\n      }\n\n      if (this.file) {\n        this.percent = toSignal(\n          this.fileService.upload(this.file, (res: object) => {\n            this.control.setValue(res);\n            this.loading.set(false);\n          }),\n        );\n      }\n    });\n  }\n}\n","import {\n  computed,\n  Directive,\n  effect,\n  inject,\n  linkedSignal,\n  signal,\n  Signal,\n  Type,\n  untracked,\n  WritableSignal,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\n\nimport { getModelFieldOptions } from '@smartsoft001/models';\n\nimport { MODEL_POSSIBILITIES_PROVIDER } from '../../../providers';\nimport { InputBaseComponent } from './base.component';\n\ntype InputPossibilities = Array<{\n  id: any;\n  text: string;\n  checked: boolean;\n}> | null;\n\ninterface IInputPossibilitiesSources {\n  provider: Signal<InputPossibilities | undefined> | null;\n  options: Signal<InputPossibilities | undefined> | null;\n  model: InputPossibilities;\n}\n\n/**\n * Base of the fields with a list of possibilities (radio, check, enum preset).\n * `possibilities` holds the list the `MODEL_POSSIBILITIES_PROVIDER` signal\n * returns (asked again 500 ms after the parent form's value changed), else the\n * input options' `possibilities`, else the field's own `possibilities`\n * (`getModelPossibilities()`). A subclass that overrides\n * `afterSetOptionsHandler()` calls `super.afterSetOptionsHandler()` first.\n */\n@Directive()\nexport abstract class InputPossibilitiesBaseComponent<\n  T,\n> extends InputBaseComponent<T> {\n  private modelPossibilitiesProvider = inject(MODEL_POSSIBILITIES_PROVIDER, {\n    optional: true,\n  });\n\n  private readonly possibilitiesSources = signal<IInputPossibilitiesSources>({\n    provider: null,\n    options: null,\n    model: null,\n  });\n\n  private readonly resolvedPossibilities: WritableSignal<InputPossibilities> =\n    linkedSignal(() => {\n      const { provider, options, model } = this.possibilitiesSources();\n\n      return provider?.() ?? options?.() ?? model ?? null;\n    });\n\n  private providerRefresh: Subscription | null = null;\n\n  override possibilities: WritableSignal<InputPossibilities> =\n    this.resolvedPossibilities;\n\n  constructor() {\n    super();\n\n    effect(() => {\n      this.resolvedPossibilities();\n\n      untracked(() => this.afterPossibilitiesChange());\n    });\n  }\n\n  protected override afterSetOptionsHandler(): void {\n    untracked(() => {\n      this.possibilitiesSources.set({\n        provider: this.getPossibilitiesFromProvider(),\n        options: this.internalOptions.possibilities ?? null,\n        model: this.getModelPossibilities(),\n      });\n      this.possibilities = this.resolvedPossibilities;\n\n      this.afterPossibilitiesChange();\n      this.watchProviderPossibilities();\n    });\n  }\n\n  /**\n   * Runs whenever the resolved possibilities may have changed: after the\n   * options are set, after the provider was asked again and when a signal\n   * holding them changes. No base functionality.\n   */\n  protected afterPossibilitiesChange(): void {\n    // No base functionality\n  }\n\n  /**\n   * The field's own `possibilities` (from its `@Field()` metadata, read\n   * through the first item of an array model) when they are an object map\n   * `{ text: id }`, e.g. an enum, as a list; `null` otherwise.\n   */\n  protected getModelPossibilities(): InputPossibilities {\n    const possibilities = this.getModelFieldPossibilities();\n\n    if (!possibilities || Array.isArray(possibilities)) return null;\n\n    return Object.keys(possibilities).map((key) => ({\n      id: possibilities[key],\n      text: key,\n      checked: false,\n    }));\n  }\n\n  /**\n   * The raw `possibilities` of the field's `@Field()` metadata, read through\n   * the first item of an array model when the model itself has none.\n   */\n  protected getModelFieldPossibilities(): any {\n    const model = this.internalOptions?.model as any;\n    const fieldKey = this.internalOptions?.fieldKey;\n    if (!model || !fieldKey) return null;\n\n    let fieldOptions = getModelFieldOptions(model, fieldKey);\n\n    if (!fieldOptions && model[0])\n      fieldOptions = getModelFieldOptions(model[0], fieldKey);\n\n    return fieldOptions?.possibilities ?? null;\n  }\n\n  protected getPossibilitiesFromProvider(): WritableSignal<\n    { id: any; text: string; checked: boolean }[] | null\n  > {\n    if (!this.modelPossibilitiesProvider) return signal(null);\n\n    return this.modelPossibilitiesProvider.get({\n      type: this.internalOptions?.model?.constructor as Type<any>,\n      key: this.internalOptions.fieldKey,\n      instance: this.internalOptions.control.parent?.value,\n    });\n  }\n\n  // Asks the provider again; its former list stays shown until the new signal\n  // holds one.\n  private refreshProviderPossibilities(): void {\n    const sources = this.possibilitiesSources();\n    const previous = sources.provider?.() ?? null;\n    const next = this.getPossibilitiesFromProvider();\n\n    this.possibilitiesSources.set({\n      ...sources,\n      provider: previous ? computed(() => next() ?? previous) : next,\n    });\n  }\n\n  private watchProviderPossibilities(): void {\n    this.providerRefresh?.unsubscribe();\n    this.providerRefresh = null;\n\n    const changes = this.internalOptions.control.parent?.valueChanges;\n    if (!this.modelPossibilitiesProvider || !changes) return;\n\n    this.providerRefresh = changes\n      .pipe(debounceTime(500), this.takeUntilDestroy)\n      .subscribe(() => {\n        this.refreshProviderPossibilities();\n        this.afterPossibilitiesChange();\n        this.cd.detectChanges();\n      });\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ColorPickerDirective } from 'ngx-color-picker';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-color',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div\n        [class]=\"groupClasses()\"\n        class=\"smart:mt-2 smart:flex smart:items-center smart:gap-x-2\"\n      >\n        <span\n          class=\"smart:inline-block smart:h-8 smart:w-8 smart:rounded smart:border smart:border-gray-300 smart:dark:border-gray-600\"\n          [style.background]=\"color\"\n        ></span>\n        <input\n          type=\"color\"\n          [value]=\"color || '#000000'\"\n          [colorPicker]=\"color\"\n          (colorPickerChange)=\"selectColor($event)\"\n          class=\"smart:h-8 smart:w-8 smart:cursor-pointer smart:rounded smart:border-0 smart:bg-transparent\"\n        />\n        <button\n          type=\"button\"\n          (click)=\"clear()\"\n          class=\"smart:rounded-md smart:bg-red-600 smart:px-2 smart:py-1 smart:text-xs smart:font-semibold smart:text-white smart:hover:bg-red-500\"\n        >\n          ×\n        </button>\n      </div>\n    }\n  `,\n  imports: [ColorPickerDirective, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputColorComponent<T> extends InputBaseComponent<T> {\n  color!: string;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes: string[] = [];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    this.color = this.control.value;\n  }\n\n  selectColor(color: string) {\n    this.control.markAsDirty();\n    this.control.markAllAsTouched();\n    this.control.setValue(color);\n    this.color = color;\n  }\n\n  clear() {\n    this.color = '';\n    this.control.markAsDirty();\n    this.control.markAllAsTouched();\n    this.control.setValue(null);\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-currency',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"number\"\n        step=\"0.01\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputCurrencyComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  OnDestroy,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { DateEditComponent } from '../../date-edit';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-date-with-edit',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <smart-date-edit\n        [class]=\"widgetClasses()\"\n        [formControl]=\"formControl\"\n      ></smart-date-edit>\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule, DateEditComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDateWithEditComponent<T>\n  extends InputBaseComponent<T>\n  implements OnDestroy\n{\n  private _subscriptions = new Subscription();\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  widgetClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:block', 'smart:w-full'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override ngOnDestroy(): void {\n    super.ngOnDestroy();\n    if (this._subscriptions) {\n      this._subscriptions.unsubscribe();\n    }\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  OnInit,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-date',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"date\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDateComponent<T>\n  extends InputBaseComponent<T>\n  implements OnInit\n{\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  ngOnInit() {\n    this.control?.valueChanges\n      .pipe(this.takeUntilDestroy)\n      .subscribe((value) => {\n        if (value && value.length !== 10) {\n          // TODO: re-enable moment\n          // this.control.setValue(moment(value).format('YYYY-MM-DD'));\n        }\n      });\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-email',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"email\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputEmailComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { EnumToListPipe, ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-enum',\n  template: `\n    @if (control) {\n      <fieldset>\n        <legend [class]=\"labelClasses()\">\n          {{\n            $safeNavigationMigration(control?.parent?.value)\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : $safeNavigationMigration(internalOptions?.model?.constructor)\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n          }\n        </legend>\n        <div [class]=\"groupClasses()\">\n          @for (\n            item of $safeNavigationMigration(fieldOptions()?.possibilities)\n              | smartEnumToList;\n            track item\n          ) {\n            <label class=\"smart:flex smart:items-center smart:gap-x-2\">\n              <input\n                type=\"checkbox\"\n                [checked]=\"checked(item)\"\n                (change)=\"change(item)\"\n                class=\"smart:h-4 smart:w-4 smart:rounded smart:border-gray-300 smart:text-indigo-600 smart:focus:ring-indigo-500 smart:dark:border-gray-600\"\n              />\n              <span\n                class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n                >{{ item | translate }}</span\n              >\n            </label>\n          }\n        </div>\n      </fieldset>\n    }\n  `,\n  imports: [ModelLabelPipe, EnumToListPipe, TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputEnumComponent<T> extends InputBaseComponent<T> {\n  value!: Array<string>;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler(): void {\n    this.value = this.control.value ? [...this.control.value] : [];\n  }\n\n  checked(item: string): boolean {\n    if (!this.value) return false;\n    return this.value.some((i) => i === item);\n  }\n\n  change(item: string): void {\n    const add = !this.checked(item);\n\n    if (!this.value) this.value = [];\n\n    if (add) {\n      this.value.push(item);\n    } else {\n      this.value = this.value.filter((i) => i !== item);\n    }\n\n    this.control.markAsDirty();\n    this.control.setValue(this.value);\n\n    this.cd.detectChanges();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\n@Component({\n  selector: 'smart-input-error',\n  template: `\n    @if (errors()?.required) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.required' | translate }}\n      </span>\n    } @else {\n      @if (errors()?.confirm) {\n        <span [class]=\"errorClasses()\">\n          {{ 'INPUT.ERRORS.confirm' | translate }}\n        </span>\n      }\n    }\n\n    @if (errors()?.invalidNip) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidNip' | translate }}\n      </span>\n    }\n\n    @if (errors()?.invalidUnique) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidUnique' | translate }}\n      </span>\n    }\n\n    @if (errors()?.email) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidEmailFormat' | translate }}\n      </span>\n    }\n\n    @if (errors()?.phoneNumber) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidPhoneNumberFormat' | translate }}\n      </span>\n    }\n\n    <!-- pesel: form factory check; invalidPesel: pesel preset field check -->\n    @if (errors()?.pesel || errors()?.invalidPesel) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidPeselFormat' | translate }}\n      </span>\n    }\n\n    @if (errors()?.minlength) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidMinLength' | translate }}:\n        {{ errors()?.minlength?.requiredLength }}\n      </span>\n    }\n\n    @if (errors()?.maxlength) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidMaxLength' | translate }}:\n        {{ errors()?.maxlength?.requiredLength }}\n      </span>\n    }\n\n    @if (errors()?.min) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidMin' | translate }}: {{ errors()?.min?.min }}\n      </span>\n    }\n\n    @if (errors()?.max) {\n      <span [class]=\"errorClasses()\">\n        {{ 'INPUT.ERRORS.invalidMax' | translate }}: {{ errors()?.max?.max }}\n      </span>\n    }\n\n    @if (errors()?.customMessage) {\n      <span [class]=\"errorClasses()\">\n        {{ errors()?.customMessage }}\n      </span>\n    }\n  `,\n  imports: [TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputErrorComponent {\n  errors = input<any | undefined>(undefined);\n\n  errorClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:text-red-600',\n      'smart:dark:text-red-400',\n      'smart:mt-1',\n    ].join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ElementRef,\n  viewChild,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IButtonOptions } from '../../../models';\nimport { ModelLabelPipe } from '../../../pipes';\nimport { ButtonComponent } from '../../button';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-file',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <smart-button [options]=\"addButtonOptions\">\n          {{ (control.value ? 'change' : 'add') | translate }}\n        </smart-button>\n        @if (control.value?.name) {\n          <span\n            class=\"smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n          >\n            {{ control.value.name }}\n          </span>\n        }\n        <input\n          type=\"file\"\n          #inputObj\n          (change)=\"changeListener($event)\"\n          [hidden]=\"true\"\n          [attr.accept]=\"fieldOptions()?.possibilities\"\n          [attr.autofocus]=\"fieldOptions()?.focused\"\n        />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputFileComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  addButtonOptions: IButtonOptions = {\n    variant: 'primary',\n    click: () => {\n      this.control.markAsDirty();\n      this.control.markAsTouched();\n      (this.inputElementRef()?.nativeElement as HTMLInputElement)?.click();\n    },\n  };\n\n  inputElementRef = viewChild<ElementRef>('inputObj');\n\n  changeListener($event: any): void {\n    const file = $event.target.files[0];\n\n    $event.target.type = 'text';\n    $event.target.type = 'file';\n\n    this.control.setValue(file);\n    this.control.updateValueAndValidity();\n    this.cd.detectChanges();\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-flag',\n  template: `\n    @if (control) {\n      <div class=\"smart:flex smart:items-center smart:gap-x-2\">\n        <input\n          type=\"checkbox\"\n          [formControl]=\"formControl\"\n          [class]=\"inputClasses()\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        />\n        <label [class]=\"labelClasses()\">\n          {{\n            $safeNavigationMigration(control?.parent?.value)\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : $safeNavigationMigration(internalOptions?.model?.constructor)\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n          }\n        </label>\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputFlagComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:h-4',\n      'smart:w-4',\n      'smart:rounded',\n      'smart:border-gray-300',\n      'smart:text-indigo-600',\n      'smart:focus:ring-indigo-500',\n      'smart:dark:border-gray-600',\n      'smart:dark:bg-white/5',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { computed, Directive, input, InputSignal, Signal } from '@angular/core';\n\nimport { DynamicComponentType, SmartColor, SmartSize } from '../../../models';\n\nconst SIZE_CLASS_MAP: Record<SmartSize, string> = {\n  xs: 'smart:size-4',\n  sm: 'smart:size-5',\n  md: 'smart:size-6',\n  lg: 'smart:size-8',\n  xl: 'smart:size-10',\n};\n\n@Directive()\nexport abstract class LoaderBaseComponent {\n  static smartType: DynamicComponentType = 'loader';\n\n  show: InputSignal<boolean> = input<boolean>(false);\n  size: InputSignal<SmartSize> = input<SmartSize>('md');\n  color: InputSignal<SmartColor> = input<SmartColor>('indigo');\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  spinnerClasses: Signal<string[]> = computed(() => {\n    const classes: string[] = [\n      'smart:animate-spin',\n      SIZE_CLASS_MAP[this.size()],\n      `smart:text-${this.color()}-600`,\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes;\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { LoaderBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-loader-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoaderStandardComponent extends LoaderBaseComponent {\n  svgClass = computed(() => this.spinnerClasses().join(' '));\n}\n","@if (show()) {\n  <svg\n    [class]=\"svgClass()\"\n    xmlns=\"http://www.w3.org/2000/svg\"\n    fill=\"none\"\n    viewBox=\"0 0 24 24\"\n    role=\"status\"\n    aria-label=\"loading\"\n  >\n    <circle\n      class=\"smart:opacity-25\"\n      cx=\"12\"\n      cy=\"12\"\n      r=\"10\"\n      stroke=\"currentColor\"\n      stroke-width=\"4\"\n    ></circle>\n    <path\n      class=\"smart:opacity-75\"\n      fill=\"currentColor\"\n      d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n    ></path>\n  </svg>\n}\n","import { SmartColor, SmartSize } from '../../../models';\n\nconst SIZE_CLASS_MAP: Record<SmartSize, string> = {\n  xs: 'smart:size-4',\n  sm: 'smart:size-5',\n  md: 'smart:size-6',\n  lg: 'smart:size-8',\n  xl: 'smart:size-10',\n};\n\nconst COLOR_CLASS_MAP: Record<SmartColor, string> = {\n  slate: 'smart:text-slate-600 smart:dark:text-slate-400',\n  gray: 'smart:text-gray-600 smart:dark:text-gray-400',\n  zinc: 'smart:text-zinc-600 smart:dark:text-zinc-400',\n  neutral: 'smart:text-neutral-600 smart:dark:text-neutral-400',\n  stone: 'smart:text-stone-600 smart:dark:text-stone-400',\n  red: 'smart:text-red-600 smart:dark:text-red-500',\n  orange: 'smart:text-orange-600 smart:dark:text-orange-500',\n  amber: 'smart:text-amber-600 smart:dark:text-amber-500',\n  yellow: 'smart:text-yellow-600 smart:dark:text-yellow-500',\n  lime: 'smart:text-lime-600 smart:dark:text-lime-500',\n  green: 'smart:text-green-600 smart:dark:text-green-500',\n  emerald: 'smart:text-emerald-600 smart:dark:text-emerald-500',\n  teal: 'smart:text-teal-600 smart:dark:text-teal-500',\n  cyan: 'smart:text-cyan-600 smart:dark:text-cyan-500',\n  sky: 'smart:text-sky-600 smart:dark:text-sky-500',\n  blue: 'smart:text-blue-600 smart:dark:text-blue-500',\n  indigo: 'smart:text-indigo-600 smart:dark:text-indigo-500',\n  violet: 'smart:text-violet-600 smart:dark:text-violet-500',\n  purple: 'smart:text-purple-600 smart:dark:text-purple-500',\n  fuchsia: 'smart:text-fuchsia-600 smart:dark:text-fuchsia-500',\n  pink: 'smart:text-pink-600 smart:dark:text-pink-500',\n  rose: 'smart:text-rose-600 smart:dark:text-rose-500',\n};\n\n// Default Preline spinner: a self-spinning bordered ring whose top border is\n// transparent (`border-t-transparent`) and whose visible arc inherits the\n// current text color (`border-current`).\nconst BASE_SPINNER = [\n  'smart:animate-spin',\n  'smart:inline-block',\n  'smart:border-3',\n  'smart:border-current',\n  'smart:border-t-transparent',\n  'smart:rounded-full',\n].join(' ');\n\nexport function getLoaderSpinnerClasses(\n  size: SmartSize,\n  color: SmartColor,\n): string {\n  return [BASE_SPINNER, SIZE_CLASS_MAP[size], COLOR_CLASS_MAP[color]].join(' ');\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { LoaderBaseComponent } from '../base';\nimport { getLoaderSpinnerClasses } from './preset-classes.util';\n\n/**\n * Styled loader variation (preset).\n *\n * Drop-in replacement for `LoaderStandardComponent` — register it through\n * `LOADER_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-loader>`, or use\n * the `<smart-loader-preset>` selector directly.\n *\n * Renders the canonical Preline \"default\" spinner: a self-spinning bordered\n * ring (`border-current` arc with a transparent top border) sized via `size`\n * and colored via `color`, across the shared `SmartColor` palette with explicit\n * `dark:` variants.\n */\n@Component({\n  selector: 'smart-loader-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoaderPresetComponent extends LoaderBaseComponent {\n  // Declared without the inherited `class` alias. <smart-loader> resolves its\n  // inputs to the names this component declares (outletInputs), so the class\n  // passed to the wrapper still lands here; used directly, the preset takes\n  // the extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected spinnerClass = computed(() =>\n    [getLoaderSpinnerClasses(this.size(), this.color()), this.cssClass()]\n      .filter(Boolean)\n      .join(' '),\n  );\n}\n","@if (show()) {\n  <div [class]=\"spinnerClass()\" role=\"status\" aria-label=\"loading\">\n    <span class=\"smart:sr-only\">Loading...</span>\n  </div>\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SmartColor, SmartSize } from '../../models';\nimport { LOADER_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { LoaderStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-loader',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-loader-standard\n        [show]=\"show()\"\n        [size]=\"size()\"\n        [color]=\"color()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [LoaderStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoaderComponent {\n  private injectedComponent = inject(LOADER_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  show = input<boolean>(false);\n  size = input<SmartSize>('md');\n  color = input<SmartColor>('indigo');\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      show: this.show(),\n      size: this.size(),\n      color: this.color(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { CdkDragDrop } from '@angular/cdk/drag-drop';\nimport { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n} from '@angular/core';\nimport { UntypedFormArray } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport {\n  FieldType,\n  getModelFieldOptions,\n  getModelOptions,\n  IFieldOptions,\n  IModelOptions,\n} from '@smartsoft001/models';\nimport { ObjectService } from '@smartsoft001/utils';\n\nimport { FormFactory } from '../../../factories';\nimport { IButtonOptions, IFormOptions } from '../../../models';\nimport { ModelLabelPipe } from '../../../pipes';\nimport { FORM_COMPONENT_TOKEN } from '../../../shared.inectors';\nimport { ButtonComponent } from '../../button';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-array',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        @for (option of childOptions; track option) {\n          <div\n            class=\"smart:rounded smart:border smart:border-gray-200 smart:p-2 smart:dark:border-gray-700\"\n          >\n            <ng-template\n              [ngComponentOutlet]=\"formComponent\"\n              [ndcDynamicInputs]=\"{ options: option }\"\n            ></ng-template>\n          </div>\n        }\n        @if (!fieldOptions()?.possibilities?.static) {\n          <smart-button [options]=\"addButtonOptions\">\n            {{ 'add' | translate }}\n          </smart-button>\n        }\n      </div>\n    }\n  `,\n  imports: [\n    ModelLabelPipe,\n    TranslatePipe,\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n    ButtonComponent,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputArrayComponent<T, TChild> extends InputBaseComponent<T> {\n  childOptions!: Array<IFormOptions<TChild>>;\n  public formComponent = inject(FORM_COMPONENT_TOKEN);\n  private factory = inject(FormFactory);\n\n  addButtonOptions: IButtonOptions = {\n    variant: 'primary',\n    click: async () => {\n      const options = this.getOptions();\n      const modelOptions = getModelOptions(options.classType);\n      const control = await this.factory.create<IFieldOptions>(\n        new (this.fieldOptions() as any).classType(),\n        {\n          mode: this.internalOptions.mode,\n          root: this.internalOptions.control.root,\n        },\n      );\n      (this.internalOptions.control as UntypedFormArray).push(control);\n      this.childOptions.push({\n        treeLevel: this.internalOptions.treeLevel + 1,\n        mode: this.internalOptions.mode,\n        control,\n        model: ObjectService.createByType(control.value, options.classType),\n        fieldOptions: options,\n        modelOptions,\n        show: true,\n      });\n      this.control.markAsDirty();\n\n      setTimeout(() => {\n        this.cd.detectChanges();\n      });\n    },\n  };\n\n  FieldType = FieldType;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    this.initData();\n  }\n\n  onRemove(index: number) {\n    (this.internalOptions.control as UntypedFormArray).removeAt(index);\n    this.initData();\n    this.control.markAsDirty();\n    this.control.setValue(this.childOptions.map((o) => o.control?.value));\n  }\n\n  private initData(): void {\n    this.childOptions = (\n      this.internalOptions.control as UntypedFormArray\n    ).controls.map((control) => {\n      const options = this.getOptions();\n      const modelOptions = getModelOptions(options.classType);\n\n      return {\n        treeLevel: this.internalOptions.treeLevel + 1,\n        mode: this.internalOptions.mode,\n        control,\n        model: ObjectService.createByType(control.value, options.classType),\n        fieldOptions: options,\n        modelOptions,\n        show: false,\n      } as IFormOptions<TChild> & {\n        fieldOptions: IFieldOptions;\n        modelOptions: IModelOptions;\n      };\n    });\n\n    this.internalOptions.control.valueChanges\n      .pipe(this.takeUntilDestroy)\n      .subscribe(() => {\n        this.control.markAsDirty();\n      });\n  }\n\n  drop(event: CdkDragDrop<T, any>) {\n    this.control.markAsDirty();\n\n    const swapArray = function (arr: any[], index1: number, index2: number) {\n      const temp = arr[index1];\n\n      arr[index1] = arr[index2];\n      arr[index2] = temp;\n    };\n    swapArray(this.childOptions, event.previousIndex, event.currentIndex);\n\n    const swapFormArray = function (\n      arr: UntypedFormArray,\n      index1: any,\n      index2: any,\n    ) {\n      const c1 = arr.at(index1);\n      const c2 = arr.at(index2);\n\n      arr.controls[index2] = c1;\n      arr.controls[index1] = c2;\n    };\n    swapFormArray(\n      this.control as UntypedFormArray,\n      event.previousIndex,\n      event.currentIndex,\n    );\n\n    this.control.updateValueAndValidity();\n  }\n\n  private getOptions(): IFieldOptions {\n    return (this.internalOptions.model as any)[0] &&\n      (this.internalOptions.model as any)[0][this.internalOptions.fieldKey]\n      ? getModelFieldOptions(\n          (this.internalOptions.model as any)[0],\n          this.internalOptions.fieldKey,\n        )\n      : getModelFieldOptions(\n          this.internalOptions.model,\n          this.internalOptions.fieldKey,\n        );\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { ButtonComponent } from '../../button';\nimport { InputFileBaseComponent } from '../base/file.component';\n\n@Component({\n  selector: 'smart-input-attachment',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <smart-button [options]=\"addButtonOptions\">\n          {{ (control.value ? 'change' : 'add') | translate }}\n        </smart-button>\n        @if (control.value) {\n          <smart-button [options]=\"showButtonOptions\">\n            {{ 'download' | translate }}\n          </smart-button>\n          <smart-button [options]=\"deleteButtonOptions\">\n            {{ 'delete' | translate }}\n          </smart-button>\n          <span\n            class=\"smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n          >\n            {{ control.value.fileName }}\n          </span>\n        }\n        @if (loading()) {\n          <div\n            class=\"smart:h-1 smart:w-24 smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-indigo-600\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n        <input\n          type=\"file\"\n          [attr.accept]=\"fieldOptions()?.possibilities\"\n          [hidden]=\"true\"\n          #inputObj\n        />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputAttachmentComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:flex-wrap',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subscription } from 'rxjs';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputPossibilitiesBaseComponent } from '../base/possibilities.component';\n\n@Component({\n  selector: 'smart-input-check',\n  template: `\n    @if (control) {\n      <fieldset>\n        <legend [class]=\"labelClasses()\">\n          {{\n            $safeNavigationMigration(control?.parent?.value)\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : $safeNavigationMigration(internalOptions?.model?.constructor)\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n          }\n        </legend>\n        <div [class]=\"groupClasses()\">\n          @for (item of possibilities(); track item.id) {\n            <label class=\"smart:flex smart:items-center smart:gap-x-2\">\n              <input\n                type=\"checkbox\"\n                [checked]=\"item.checked\"\n                (change)=\"refresh(item)\"\n                class=\"smart:h-4 smart:w-4 smart:rounded smart:border-gray-300 smart:text-indigo-600 smart:focus:ring-indigo-500 smart:dark:border-gray-600\"\n              />\n              <span\n                class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n                [innerHTML]=\"item.text | translate\"\n              ></span>\n            </label>\n          }\n        </div>\n      </fieldset>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ReactiveFormsModule],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputCheckComponent<T> extends InputPossibilitiesBaseComponent<T> {\n  private controlChanges: Subscription | null = null;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler(): void {\n    super.afterSetOptionsHandler();\n\n    this.controlChanges?.unsubscribe();\n    this.controlChanges = this.control.valueChanges\n      .pipe(this.takeUntilDestroy)\n      .subscribe(() => this.syncCheckedWithControl());\n  }\n\n  protected override afterPossibilitiesChange(): void {\n    this.syncCheckedWithControl();\n  }\n\n  /** The field's own `possibilities` when they are a list; `null` otherwise. */\n  protected override getModelPossibilities(): Array<{\n    id: any;\n    text: string;\n    checked: boolean;\n  }> | null {\n    const possibilities = this.getModelFieldPossibilities();\n\n    return Array.isArray(possibilities) ? possibilities : null;\n  }\n\n  private syncCheckedWithControl(): void {\n    const list = this.possibilities();\n    if (!list) return;\n\n    const value = this.control.value;\n    list.forEach((item) => {\n      if (value && Array.isArray(value) && item?.id?.id) {\n        const controlItem = value.find((ci: any) => ci?.id === item.id.id);\n        if (controlItem) {\n          item.id = controlItem;\n          item.checked = true;\n        } else {\n          item.checked = false;\n        }\n      } else {\n        item.checked = Array.isArray(value)\n          ? value.includes(item.id)\n          : item.id === value;\n      }\n    });\n\n    this.cd.detectChanges();\n  }\n\n  refresh(item: { id: any; text: string; checked: boolean }): void {\n    item.checked = !item.checked;\n\n    const possibilities = this.possibilities();\n    if (possibilities) {\n      const result = possibilities\n        .filter((p: any) => p.checked)\n        .map((p) => p.id);\n      this.control.markAsDirty();\n      this.control.markAsTouched();\n      this.control.setValue(result);\n    }\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { DateRangeComponent } from '../../date-range';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-date-range',\n  template: `\n    @if (control && internalOptions) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <smart-date-range\n        [class]=\"widgetClasses()\"\n        (click)=\"control.markAsTouched()\"\n        [ngModel]=\"control.value\"\n        (ngModelChange)=\"control.setValue($event); control.markAsDirty()\"\n      ></smart-date-range>\n    }\n  `,\n  imports: [DateRangeComponent, ModelLabelPipe, FormsModule],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDateRangeComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  widgetClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:block', 'smart:w-full'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-float',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"number\"\n        step=\"0.01\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputFloatComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { debounceTime } from 'rxjs/operators';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { ButtonComponent } from '../../button';\nimport { InputFileBaseComponent } from '../base/file.component';\n\n@Component({\n  selector: 'smart-input-image',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <smart-button [options]=\"addButtonOptions\">\n          {{ (control.value ? 'change' : 'add') | translate }}\n        </smart-button>\n        @if (control.value) {\n          <smart-button [options]=\"deleteButtonOptions\">\n            {{ 'delete' | translate }}\n          </smart-button>\n        }\n        @if (loading()) {\n          <div\n            class=\"smart:h-1 smart:w-24 smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-indigo-600\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n        @if (imageUrl) {\n          <img\n            [src]=\"imageUrl\"\n            class=\"smart:max-h-96 smart:max-w-full smart:rounded smart:border smart:border-gray-300 smart:dark:border-gray-600\"\n          />\n        }\n        <input type=\"file\" accept=\".jpg,.png,.jpeg\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputImageComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  imageUrl: any;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:flex-wrap',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  private subscribed = false;\n\n  override ngOnInit() {\n    super.ngOnInit();\n    this.setupImageSubscription();\n  }\n\n  protected override afterSetOptionsHandler(): void {\n    super.afterSetOptionsHandler();\n    this.setupImageSubscription();\n  }\n\n  private setupImageSubscription(): void {\n    if (this.subscribed || !this.control) return;\n\n    this.control.valueChanges\n      .pipe(debounceTime(1000), this.takeUntilDestroy)\n      .subscribe(() => this.initImage());\n\n    this.initImage();\n    this.subscribed = true;\n  }\n\n  private initImage(): void {\n    this.imageUrl = this.control.value\n      ? this.fileService.getUrl(this.control.value.id)\n      : null;\n    this.cd.detectChanges();\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-int',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"number\"\n        step=\"1\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputIntComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n} from '@angular/core';\nimport {\n  ReactiveFormsModule,\n  UntypedFormBuilder,\n  UntypedFormControl,\n} from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-ints',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        @for (item of list; track item) {\n          @let last = $last;\n          <div class=\"smart:flex smart:items-center smart:gap-x-2\">\n            <input\n              type=\"number\"\n              [formControl]=\"item\"\n              [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"\n              (change)=\"onItemChange()\"\n              class=\"smart:block smart:w-full smart:rounded-md smart:bg-white smart:px-2 smart:py-1 smart:text-sm smart:text-gray-900 smart:outline-1 smart:outline-gray-300 smart:focus:outline-2 smart:focus:outline-indigo-600 smart:dark:bg-white/5 smart:dark:text-white smart:dark:outline-white/10\"\n            />\n            @if (!last) {\n              <button\n                type=\"button\"\n                (click)=\"removeItem(item)\"\n                class=\"smart:rounded-md smart:bg-red-600 smart:px-2 smart:py-1 smart:text-xs smart:font-semibold smart:text-white smart:hover:bg-red-500\"\n              >\n                ×\n              </button>\n            }\n          </div>\n        }\n      </div>\n    }\n  `,\n  imports: [ReactiveFormsModule, TranslatePipe, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputIntsComponent<T> extends InputBaseComponent<T> {\n  private fb = inject(UntypedFormBuilder);\n\n  list: Array<UntypedFormControl> = [];\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override afterSetOptionsHandler() {\n    if (this.control.value) {\n      this.list = [];\n      this.control.value.forEach((i: any) => this.add(i));\n    } else {\n      this.list = [];\n    }\n\n    this.refresh();\n  }\n\n  onItemChange() {\n    this.refresh();\n  }\n\n  private refresh(): void {\n    this.control.markAsTouched();\n    this.control.markAsDirty();\n\n    this.control.setValue(\n      this.list.filter((i) => i && i.value).map((i) => Number(i.value)),\n    );\n\n    if (\n      !this.list.length ||\n      (this.list[this.list.length - 1] && this.list[this.list.length - 1].value)\n    ) {\n      this.add(0);\n    }\n\n    this.cd.detectChanges();\n  }\n\n  private add(val: number): void {\n    this.list.push(this.fb.control(val));\n  }\n\n  removeItem(item: UntypedFormControl) {\n    const index = this.list.indexOf(item);\n    if (index > -1) {\n      this.list.splice(index, 1);\n    }\n    this.refresh();\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-logo',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div\n        [class]=\"groupClasses()\"\n        class=\"smart:mt-2 smart:flex smart:items-center smart:gap-x-3\"\n      >\n        @if (control?.value) {\n          <img\n            [src]=\"$safeNavigationMigration(control?.value)\"\n            (click)=\"set(inputFile)\"\n            class=\"smart:h-20 smart:w-20 smart:cursor-pointer smart:rounded smart:border smart:border-gray-300 smart:object-cover smart:dark:border-gray-600\"\n          />\n          <button\n            type=\"button\"\n            (click)=\"clear()\"\n            class=\"smart:rounded-md smart:bg-red-600 smart:px-2 smart:py-1 smart:text-xs smart:font-semibold smart:text-white smart:hover:bg-red-500\"\n          >\n            ×\n          </button>\n        } @else {\n          <button\n            type=\"button\"\n            (click)=\"set(inputFile)\"\n            class=\"smart:rounded-md smart:bg-indigo-600 smart:px-3 smart:py-2 smart:text-sm smart:font-semibold smart:text-white smart:hover:bg-indigo-500\"\n          >\n            Wybierz plik\n          </button>\n        }\n        <input [hidden]=\"true\" #inputFile accept=\"image/jpeg\" type=\"file\" />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputLogoComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes: string[] = [];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  set(inputFile: HTMLInputElement) {\n    inputFile.click();\n\n    inputFile.onchange = () => {\n      if (!inputFile.files?.[0]) {\n        inputFile.onchange = null;\n        inputFile.files = null;\n        return;\n      }\n\n      const reader = new FileReader();\n\n      reader.onload = ((theFile) => {\n        return (e) => {\n          const binaryData = e.target?.result;\n          const base64String = window.btoa(binaryData as any);\n\n          this.control.markAsDirty();\n          this.control.markAsTouched();\n          this.control.setValue('data:image/jpeg;base64, ' + base64String);\n\n          this.cd.detectChanges();\n        };\n      })(inputFile);\n\n      reader.readAsBinaryString(inputFile.files[0]);\n      inputFile.onchange = null;\n      inputFile.files = null;\n    };\n  }\n\n  clear() {\n    this.control.markAsDirty();\n    this.control.markAsTouched();\n    this.control.setValue(null);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  OnInit,\n  OnDestroy,\n  computed,\n  inject,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n  Editor,\n  NgxEditorComponent,\n  NgxEditorMenuComponent,\n  Toolbar,\n} from 'ngx-editor';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { HardwareService } from '../../../services';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-long-text',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      @if (editor) {\n        <div [class]=\"editorClasses()\" style=\"min-height: 220px\">\n          <ngx-editor-menu\n            [editor]=\"editor\"\n            [toolbar]=\"toolbar\"\n          ></ngx-editor-menu>\n          <ngx-editor\n            [outputFormat]=\"'html'\"\n            [editor]=\"editor\"\n            [formControl]=\"formControl\"\n            [placeholder]=\"placeholder\"\n          ></ngx-editor>\n        </div>\n      }\n    }\n  `,\n  imports: [\n    ModelLabelPipe,\n    NgxEditorMenuComponent,\n    NgxEditorComponent,\n    ReactiveFormsModule,\n  ],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputLongTextComponent<T>\n  extends InputBaseComponent<T>\n  implements OnInit, OnDestroy\n{\n  private translateService = inject(TranslateService);\n  hardwareService = inject(HardwareService);\n\n  editor!: Editor;\n  toolbar: Toolbar =\n    this.hardwareService.isMobile || this.hardwareService.isMobileWeb\n      ? [\n          ['bold', 'italic'],\n          ['text_color', 'background_color'],\n          ['align_left', 'align_center', 'align_right', 'align_justify'],\n        ]\n      : [\n          // default value\n          ['bold', 'italic'],\n          ['underline', 'strike'],\n          ['code', 'blockquote'],\n          ['ordered_list', 'bullet_list'],\n          [{ heading: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] }],\n          ['link', 'image'],\n          ['text_color', 'background_color'],\n          ['align_left', 'align_center', 'align_right', 'align_justify'],\n        ];\n  placeholder!: string;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  editorClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  ngOnInit() {\n    this.placeholder = this.translateService.instant('writeHere') + '...';\n    this.editor = new Editor({\n      history: true,\n      inputRules: true,\n    });\n  }\n\n  override ngOnDestroy(): void {\n    super.ngOnDestroy();\n    this.editor.destroy();\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { NipService } from '@smartsoft001/utils';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-nip',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"text\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputNipComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override afterSetOptionsHandler() {\n    const validators = this.control.validator ? [this.control.validator] : [];\n\n    validators.push((c) => {\n      if (c.value && NipService.isInvalid(c.value)) {\n        return {\n          invalidNip: true,\n        };\n      }\n\n      return null;\n    });\n\n    this.control.setValidators(validators);\n\n    this.control.updateValueAndValidity();\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n} from '@angular/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { IFormOptions } from '../../../models';\nimport { ModelLabelPipe } from '../../../pipes';\nimport { FORM_COMPONENT_TOKEN } from '../../../shared.inectors';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-object',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <ng-template\n          [ngComponentOutlet]=\"formComponent\"\n          [ndcDynamicInputs]=\"{ options: childOptions }\"\n        ></ng-template>\n      </div>\n    }\n  `,\n  imports: [\n    ModelLabelPipe,\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputObjectComponent<T, TChild> extends InputBaseComponent<T> {\n  public formComponent = inject(FORM_COMPONENT_TOKEN);\n  childOptions!: IFormOptions<TChild>;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    this.childOptions = {\n      treeLevel: this.internalOptions.treeLevel + 1,\n      mode: this.internalOptions.mode,\n      control: this.control,\n      model: (this.internalOptions.model as any)[\n        this.internalOptions.fieldKey\n      ] as TChild,\n      show: true,\n    };\n  }\n}\n","import {\n  computed,\n  Directive,\n  effect,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n  Signal,\n} from '@angular/core';\n\nimport { DynamicComponentType } from '../../../models';\n\nconst BAR_FILLED_CLASSES: readonly string[] = [\n  'smart:bg-red-600 smart:dark:bg-red-500',\n  'smart:bg-orange-500 smart:dark:bg-orange-400',\n  'smart:bg-yellow-500 smart:dark:bg-yellow-400',\n];\n\nconst BAR_EMPTY_CLASS = 'smart:bg-gray-300 smart:dark:bg-gray-600';\n\nconst MSG_COLOR_CLASSES: readonly string[] = [\n  'smart:text-red-600 smart:dark:text-red-400',\n  'smart:text-orange-500 smart:dark:text-orange-400',\n  'smart:text-yellow-600 smart:dark:text-yellow-500',\n];\n\nconst CONTAINER_BASE = 'smart:w-1/3 smart:max-sm:w-full';\n\ninterface PasswordStrengthResult {\n  lowerLetters: boolean;\n  upperLetters: boolean;\n  symbols: boolean;\n  passLength: boolean;\n}\n\n@Directive()\nexport abstract class PasswordStrengthBaseComponent {\n  static smartType: DynamicComponentType = 'password-strength';\n\n  passwordToCheck: InputSignal<string> = input.required<string>();\n  showHint: InputSignal<boolean> = input.required<boolean>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  passwordStrength: OutputEmitterRef<boolean> = output<boolean>();\n\n  result: Signal<PasswordStrengthResult> = computed(() => {\n    const p = this.passwordToCheck();\n    const regex = /[$-/:-?{-~!\"^_@`[\\]]/g;\n    const lowerLetters = !!p && /[a-z]+/.test(p);\n    const upperLetters = /[A-Z]+/.test(p);\n    const symbols = regex.test(p);\n    const passLength = !(!p || (p?.length ?? 0) <= 6);\n    return { lowerLetters, upperLetters, symbols, passLength };\n  });\n\n  strength: Signal<number> = computed(() => {\n    const p = this.passwordToCheck();\n    const { lowerLetters, upperLetters, symbols, passLength } = this.result();\n\n    const flags = [lowerLetters, upperLetters, symbols];\n    let passedMatches = 0;\n    for (const flag of flags) passedMatches += flag ? 1 : 0;\n\n    let force = 0;\n    force += 2 * (p?.length ?? 0) + ((p?.length ?? 0) >= 8 ? 1 : 0);\n    force += passedMatches * 10;\n\n    force = !passLength ? Math.min(force, 10) : force;\n    force = passedMatches === 1 ? Math.min(force, 10) : force;\n    force = passedMatches === 2 ? Math.min(force, 20) : force;\n    force = passedMatches === 3 ? Math.min(force, 30) : force;\n\n    return force;\n  });\n\n  strengthIndex: Signal<0 | 1 | 2 | 3> = computed(() => {\n    const s = this.strength();\n    if (s === 10) return 0;\n    if (s === 20) return 1;\n    if (s === 30) return 2;\n    return 3;\n  });\n\n  msg: Signal<'' | 'poor' | 'notGood' | 'good'> = computed(() => {\n    const s = this.strength();\n    if (s === 10) return 'poor';\n    if (s === 20) return 'notGood';\n    if (s === 30) return 'good';\n    return '';\n  });\n\n  barClasses: Signal<string[]> = computed(() => {\n    const index = this.strengthIndex();\n    const bars: string[] = [];\n    for (let i = 0; i < 3; i++) {\n      if (i < index + 1 && index < 3) {\n        bars.push(BAR_FILLED_CLASSES[index]);\n      } else {\n        bars.push(BAR_EMPTY_CLASS);\n      }\n    }\n    return bars;\n  });\n\n  msgClass: Signal<string> = computed(() => {\n    const index = this.strengthIndex();\n    if (index === 3) return '';\n    return MSG_COLOR_CLASSES[index];\n  });\n\n  containerClasses: Signal<string> = computed(() => {\n    const extra = this.cssClass();\n    return extra ? `${CONTAINER_BASE} ${extra}` : CONTAINER_BASE;\n  });\n\n  constructor() {\n    effect(() => {\n      this.passwordStrength.emit(this.strength() === 30);\n    });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { PasswordStrengthBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-password-strength-standard',\n  templateUrl: './standard.component.html',\n  imports: [TranslatePipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PasswordStrengthStandardComponent extends PasswordStrengthBaseComponent {}\n","<div [class]=\"containerClasses()\">\n  <ul class=\"smart:flex smart:list-none smart:gap-0.5 smart:p-0 smart:mb-2\">\n    <li\n      class=\"smart:h-1 smart:flex-1 smart:rounded-sm\"\n      [class]=\"barClasses()[0]\"\n    ></li>\n    <li\n      class=\"smart:h-1 smart:flex-1 smart:rounded-sm\"\n      [class]=\"barClasses()[1]\"\n    ></li>\n    <li\n      class=\"smart:h-1 smart:flex-1 smart:rounded-sm\"\n      [class]=\"barClasses()[2]\"\n    ></li>\n  </ul>\n  @if (msg()) {\n    <p class=\"smart:font-bold\" [class]=\"msgClass()\">\n      {{ 'INPUT.PASSWORD-STRENGTH.' + msg() | translate }}\n    </p>\n  }\n  @if (showHint()) {\n    <ul [class]=\"msgClass()\">\n      @if (!result().passLength) {\n        <li>{{ 'INPUT.ERRORS.invalidMinLength' | translate }} 7</li>\n      }\n      @if (!result().upperLetters) {\n        <li>{{ 'INPUT.ERRORS.upperLetters' | translate }}</li>\n      }\n      @if (!result().lowerLetters) {\n        <li>{{ 'INPUT.ERRORS.lowerLetters' | translate }}</li>\n      }\n      @if (!result().symbols) {\n        <li>{{ 'INPUT.ERRORS.symbols' | translate }}</li>\n      }\n    </ul>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { PasswordStrengthStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-password-strength',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-password-strength-standard\n        [passwordToCheck]=\"passwordToCheck()\"\n        [showHint]=\"showHint()\"\n        [class]=\"cssClass()\"\n        (passwordStrength)=\"passwordStrength.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [PasswordStrengthStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PasswordStrengthComponent {\n  private injectedComponent = inject(\n    PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN,\n    { optional: true },\n  );\n\n  passwordToCheck = input.required<string>();\n  showHint = input.required<boolean>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  passwordStrength = output<boolean>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      passwordToCheck: this.passwordToCheck(),\n      showHint: this.showHint(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      passwordStrength: this.passwordStrength,\n    });\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { PasswordStrengthComponent } from '../../password-strength';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-password',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"password\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        (blur)=\"focus = false\"\n        (focus)=\"focus = true\"\n      />\n      @if (fieldOptions()?.possibilities?.strength) {\n        <smart-password-strength\n          [passwordToCheck]=\"control.value\"\n          [showHint]=\"focus\"\n          (passwordStrength)=\"onChangePasswordStrength($event)\"\n        ></smart-password-strength>\n      }\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe, PasswordStrengthComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPasswordComponent<T> extends InputBaseComponent<T> {\n  valid = true;\n  focus = false;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override afterSetOptionsHandler() {\n    this.control.addValidators(() => {\n      if (!this.valid) {\n        return {\n          passwordStrength: true,\n        };\n      }\n\n      return null;\n    });\n\n    this.control.updateValueAndValidity({ onlySelf: true });\n  }\n\n  onChangePasswordStrength(valid: boolean) {\n    this.valid = valid;\n    if (this.valid) {\n      if (this.control.errors?.['passwordStrength']) {\n        this.control.setErrors(\n          Object.keys(this.control.errors).length === 1\n            ? null\n            : { ...this.control.errors, passwordStrength: null },\n        );\n      }\n    } else {\n      const errors = this.control.errors\n        ? { ...this.control.errors, passwordStrength: true }\n        : { passwordStrength: true };\n      this.control.setErrors(errors);\n    }\n\n    this.control.updateValueAndValidity({ onlySelf: true });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { ButtonComponent } from '../../button';\nimport { InputFileBaseComponent } from '../base/file.component';\n\n@Component({\n  selector: 'smart-input-pdf',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <smart-button [options]=\"addButtonOptions\">\n          {{ (control.value ? 'change' : 'add') | translate }}\n        </smart-button>\n        @if (control.value) {\n          <smart-button [options]=\"showButtonOptions\">\n            {{ 'show' | translate }}\n          </smart-button>\n          <smart-button [options]=\"deleteButtonOptions\">\n            {{ 'delete' | translate }}\n          </smart-button>\n          <span\n            class=\"smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n          >\n            {{ control.value.fileName }}\n          </span>\n        }\n        @if (loading()) {\n          <div\n            class=\"smart:h-1 smart:w-24 smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-indigo-600\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n        <input type=\"file\" accept=\".pdf\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPdfComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:flex-wrap',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-pesel',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"text\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPeselComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-phone-number',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"tel\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPhoneNumberComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule, Validators } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-phone-number-pl',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"tel\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPhoneNumberPlComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override afterSetOptionsHandler() {\n    const validators = this.control.validator ? [this.control.validator] : [];\n\n    validators.push(Validators.minLength(9));\n    validators.push(Validators.maxLength(9));\n\n    this.control.setValidators(validators);\n\n    this.control.updateValueAndValidity();\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputPossibilitiesBaseComponent } from '../base/possibilities.component';\n\n@Component({\n  selector: 'smart-input-radio',\n  template: `\n    @if (control) {\n      <fieldset>\n        <legend [class]=\"labelClasses()\">\n          {{\n            $safeNavigationMigration(control?.parent?.value)\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : $safeNavigationMigration(internalOptions?.model?.constructor)\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n          }\n        </legend>\n        <div [class]=\"groupClasses()\">\n          @for (item of possibilities(); track item.id) {\n            <label class=\"smart:flex smart:items-center smart:gap-x-2\">\n              <input\n                type=\"radio\"\n                [name]=\"internalOptions.fieldKey\"\n                [value]=\"item.id\"\n                [formControl]=\"formControl\"\n                class=\"smart:h-4 smart:w-4 smart:border-gray-300 smart:text-indigo-600 smart:focus:ring-indigo-500 smart:dark:border-gray-600\"\n              />\n              <span\n                class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n                >{{ item.text | translate }}</span\n              >\n            </label>\n          }\n        </div>\n      </fieldset>\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule, TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputRadioComponent<T> extends InputPossibilitiesBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n} from '@angular/core';\nimport {\n  ReactiveFormsModule,\n  UntypedFormBuilder,\n  UntypedFormControl,\n} from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-strings',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        @for (item of list; track item) {\n          @let last = $last;\n          <div class=\"smart:flex smart:items-center smart:gap-x-2\">\n            <input\n              type=\"text\"\n              [formControl]=\"item\"\n              [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"\n              (change)=\"onItemChange()\"\n              class=\"smart:block smart:w-full smart:rounded-md smart:bg-white smart:px-2 smart:py-1 smart:text-sm smart:text-gray-900 smart:outline-1 smart:outline-gray-300 smart:focus:outline-2 smart:focus:outline-indigo-600 smart:dark:bg-white/5 smart:dark:text-white smart:dark:outline-white/10\"\n            />\n            @if (!last) {\n              <button\n                type=\"button\"\n                (click)=\"removeItem(item)\"\n                class=\"smart:rounded-md smart:bg-red-600 smart:px-2 smart:py-1 smart:text-xs smart:font-semibold smart:text-white smart:hover:bg-red-500\"\n              >\n                ×\n              </button>\n            }\n          </div>\n        }\n      </div>\n    }\n  `,\n  imports: [ReactiveFormsModule, TranslatePipe, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputStringsComponent<T> extends InputBaseComponent<T> {\n  private fb = inject(UntypedFormBuilder);\n\n  list: Array<UntypedFormControl> = [];\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override afterSetOptionsHandler() {\n    if (this.control.value) {\n      this.list = [];\n      this.control.value.forEach((i: any) => this.add(i));\n    } else {\n      this.list = [];\n    }\n\n    this.refresh();\n  }\n\n  onItemChange() {\n    this.refresh();\n  }\n\n  private refresh(): void {\n    this.control.markAsTouched();\n    this.control.markAsDirty();\n\n    this.control.setValue(\n      this.list.filter((i) => i && i.value).map((i) => i.value),\n    );\n\n    if (\n      !this.list.length ||\n      (this.list[this.list.length - 1] && this.list[this.list.length - 1].value)\n    ) {\n      this.add('');\n    }\n\n    this.cd.detectChanges();\n  }\n\n  private add(val: ''): void {\n    this.list.push(this.fb.control(val));\n  }\n\n  removeItem(item: UntypedFormControl) {\n    const index = this.list.indexOf(item);\n    if (index > -1) {\n      this.list.splice(index, 1);\n    }\n    this.refresh();\n  }\n}\n","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-input-text',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"text\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputTextComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:px-3',\n      'smart:py-1.5',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      '-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { delay, tap } from 'rxjs/operators';\n\nimport { IButtonOptions } from '../../../models';\nimport { ModelLabelPipe } from '../../../pipes';\nimport { InputFileBaseComponent } from '../base/file.component';\n\n@Component({\n  selector: 'smart-input-video',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          $safeNavigationMigration(control?.parent?.value)\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : $safeNavigationMigration(internalOptions?.model?.constructor)\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <button\n          type=\"button\"\n          (click)=\"addButtonOptions.click()\"\n          class=\"smart:rounded-md smart:bg-indigo-600 smart:px-3 smart:py-1.5 smart:text-sm smart:font-semibold smart:text-white smart:hover:bg-indigo-500\"\n        >\n          {{ (control.value ? 'change' : 'add') | translate }}\n        </button>\n        @if (control.value && !play) {\n          <button\n            type=\"button\"\n            (click)=\"playButtonOptions.click()\"\n            class=\"smart:rounded-md smart:bg-gray-200 smart:px-3 smart:py-1.5 smart:text-sm smart:font-semibold smart:text-gray-900 smart:hover:bg-gray-300 smart:dark:bg-white/10 smart:dark:text-white\"\n          >\n            {{ 'play' | translate }}\n          </button>\n        }\n        @if (control.value) {\n          <button\n            type=\"button\"\n            (click)=\"deleteButtonOptions.click()\"\n            class=\"smart:rounded-md smart:bg-red-600 smart:px-3 smart:py-1.5 smart:text-sm smart:font-semibold smart:text-white smart:hover:bg-red-500\"\n          >\n            {{ 'delete' | translate }}\n          </button>\n        }\n        @if (loading()) {\n          <div\n            class=\"smart:h-1 smart:w-24 smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-indigo-600\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n        @if (url && play) {\n          <video class=\"smart:w-full\" controls controlsList=\"nodownload\">\n            <source type=\"video/mp4\" [src]=\"url\" />\n          </video>\n        }\n        <input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputVideoComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  url!: string | null;\n  play!: boolean;\n  playButtonOptions: IButtonOptions = {\n    click: () => {\n      this.play = true;\n    },\n    loading: this.loading,\n  };\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:flex-wrap',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    this.control.valueChanges\n      .pipe(\n        tap(() => {\n          this.url = null;\n          this.play = false;\n          this.cd.detectChanges();\n        }),\n        delay(5000),\n        this.takeUntilDestroy,\n      )\n      .subscribe((value) => {\n        if (!value?.id) return;\n\n        this.url = this.fileService.getUrl(value.id);\n\n        this.cd.detectChanges();\n      });\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  ChangeDetectorRef,\n  Component,\n  computed,\n  effect,\n  ElementRef,\n  inject,\n  Injector,\n  input,\n  OnInit,\n  Type,\n} from '@angular/core';\nimport * as _ from 'lodash';\n\nimport {\n  FieldType,\n  FieldTypeDef,\n  getModelFieldOptions,\n  getModelFieldsWithOptions,\n  IFieldOptions,\n} from '@smartsoft001/models';\n\nimport { InputOptions } from '../../models';\nimport { StyleService } from '../../services';\nimport { INPUT_FIELD_COMPONENTS_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { InfoComponent } from '../info';\nimport { LoaderComponent } from '../loader';\nimport { InputAddressComponent } from './address/address.component';\nimport { InputArrayComponent } from './array/array.component';\nimport { InputAttachmentComponent } from './attachment/attachment.component';\nimport { InputBaseComponent } from './base/base.component';\nimport { InputCheckComponent } from './check/check.component';\nimport { InputColorComponent } from './color/color.component';\nimport { InputCurrencyComponent } from './currency/currency.component';\nimport { InputDateComponent } from './date/date.component';\nimport { InputDateRangeComponent } from './date-range/date-range.component';\nimport { InputDateWithEditComponent } from './date-with-edit/date-with-edit.component';\nimport { InputEmailComponent } from './email/email.component';\nimport { InputEnumComponent } from './enum/enum.component';\nimport { InputErrorComponent } from './error/error.component';\nimport { InputFileComponent } from './file/file.component';\nimport { InputFlagComponent } from './flag/flag.component';\nimport { InputFloatComponent } from './float/float.component';\nimport { InputImageComponent } from './image/image.component';\nimport { InputIntComponent } from './int/int.component';\nimport { InputIntsComponent } from './ints/ints.component';\nimport { InputLogoComponent } from './logo/logo.component';\nimport { InputLongTextComponent } from './long-text/long-text.component';\nimport { InputNipComponent } from './nip/nip.component';\nimport { InputObjectComponent } from './object/object.component';\nimport { InputPasswordComponent } from './password/password.component';\nimport { InputPdfComponent } from './pdf/pdf.component';\nimport { InputPeselComponent } from './pesel/pesel.component';\nimport { InputPhoneNumberComponent } from './phone-number/phone-number.component';\nimport { InputPhoneNumberPlComponent } from './phone-number-pl/phone-number-pl.component';\nimport { InputRadioComponent } from './radio/radio.component';\nimport { InputStringsComponent } from './strings/strings.component';\nimport { InputTextComponent } from './text/text.component';\nimport { InputVideoComponent } from './video/video.component';\n\nconst baseMap: Partial<Record<FieldTypeDef, Type<InputBaseComponent<any>>>> = {\n  [FieldType.currency]: InputCurrencyComponent,\n  [FieldType.date]: InputDateComponent,\n  [FieldType.dateWithEdit]: InputDateWithEditComponent,\n  [FieldType.email]: InputEmailComponent,\n  [FieldType.enum]: InputEnumComponent,\n  [FieldType.file]: InputFileComponent,\n  [FieldType.flag]: InputFlagComponent,\n  [FieldType.int]: InputIntComponent,\n  [FieldType.nip]: InputNipComponent,\n  [FieldType.password]: InputPasswordComponent,\n  [FieldType.radio]: InputRadioComponent,\n  [FieldType.text]: InputTextComponent,\n  [FieldType.strings]: InputStringsComponent,\n  [FieldType.longText]: InputLongTextComponent,\n  [FieldType.address]: InputAddressComponent,\n  [FieldType.object]: InputObjectComponent,\n  [FieldType.color]: InputColorComponent,\n  [FieldType.logo]: InputLogoComponent,\n  [FieldType.check]: InputCheckComponent,\n  [FieldType.ints]: InputIntsComponent,\n  [FieldType.phoneNumber]: InputPhoneNumberComponent,\n  [FieldType.phoneNumberPl]: InputPhoneNumberPlComponent,\n  [FieldType.pesel]: InputPeselComponent,\n  [FieldType.array]: InputArrayComponent,\n  [FieldType.pdf]: InputPdfComponent,\n  [FieldType.video]: InputVideoComponent,\n  [FieldType.attachment]: InputAttachmentComponent,\n  [FieldType.dateRange]: InputDateRangeComponent,\n  [FieldType.image]: InputImageComponent,\n  [FieldType.float]: InputFloatComponent,\n};\n\n@Component({\n  selector: 'smart-input',\n  template: `\n    @if (!fieldOptions?.hide) {\n      <div class=\"smart:relative\">\n        @if (fieldOptions?.info) {\n          <div class=\"smart:absolute smart:right-0 smart:top-0\">\n            <smart-info\n              [options]=\"{ text: fieldOptions?.info ?? '' }\"\n            ></smart-info>\n          </div>\n        }\n        <smart-loader [show]=\"status === 'PENDING'\"></smart-loader>\n        @let resolved = component();\n        @if (resolved) {\n          <ng-container\n            *ngComponentOutlet=\"resolved; inputs: componentInputs()\"\n          ></ng-container>\n        }\n      </div>\n\n      @let errors = $safeNavigationMigration(options()?.control?.errors);\n      @if (errors && options()?.control?.touched) {\n        <smart-input-error [errors]=\"errors\"></smart-input-error>\n      }\n    }\n  `,\n  imports: [\n    NgComponentOutlet,\n    InfoComponent,\n    LoaderComponent,\n    InputErrorComponent,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputComponent<T> implements OnInit {\n  private extendMap = inject(INPUT_FIELD_COMPONENTS_TOKEN, { optional: true });\n  private injector = inject(Injector);\n\n  status: any;\n  fieldOptions: IFieldOptions | undefined;\n\n  options = input<InputOptions<T>>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  component = computed(() => {\n    const explicit = this.options()?.component as\n      Type<InputBaseComponent<any>> | undefined;\n    if (explicit) return explicit;\n    const type = this.fieldOptions?.type;\n    if (!type) return null;\n    const map = { ...baseMap, ...(this.extendMap ?? {}) };\n    return map[type] ?? null;\n  });\n\n  // The host is `display: contents`, so an external class has to be forwarded\n  // to the field component to have any effect. InputBaseComponent aliases it\n  // back to `class`, so the key here is `class`, matching ListComponent.\n  componentInputs = computed(() =>\n    outletInputs(this.component(), {\n      options: this.options(),\n      fieldOptions: this.fieldOptions,\n      class: this.cssClass(),\n    }),\n  );\n\n  constructor() {\n    effect(() => {\n      const options = this.options();\n      let key = options?.fieldKey;\n\n      if (options && key) {\n        if (key.endsWith('Confirm')) {\n          key = key.replace('Confirm', '');\n        }\n\n        let fieldOptions: IFieldOptions | undefined = getModelFieldOptions(\n          options?.model,\n          key,\n        );\n        if (!fieldOptions && (options.model as any)[0])\n          fieldOptions = getModelFieldOptions((options.model as any)[0], key);\n        if (!fieldOptions) {\n          fieldOptions = getModelFieldsWithOptions(options.model).find(\n            (x) => x.key === key,\n          )?.options;\n        }\n\n        if (fieldOptions) {\n          if (options.mode === 'create' && _.isObject(fieldOptions.create)) {\n            fieldOptions = {\n              ...fieldOptions,\n              ...(fieldOptions.create as IFieldOptions),\n            };\n          } else if (\n            options.mode === 'update' &&\n            _.isObject(fieldOptions.update)\n          ) {\n            fieldOptions = {\n              ...fieldOptions,\n              ...(fieldOptions.update as IFieldOptions),\n            };\n          }\n        }\n\n        this.fieldOptions = fieldOptions;\n\n        options.control.statusChanges.subscribe((status) => {\n          this.status = status;\n          (\n            this.injector.get(ChangeDetectorRef) as ChangeDetectorRef\n          ).detectChanges();\n        });\n      }\n    });\n  }\n\n  async ngOnInit(): Promise<void> {\n    const styleService = this.injector.get(StyleService);\n    const elementRef = this.injector.get(ElementRef);\n    styleService.init(elementRef);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-address-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div\n        [class]=\"gridClasses()\"\n        [formGroup]=\"formControlGroup\"\n        data-role=\"address-grid\"\n      >\n        <div class=\"smart:sm:col-span-2\">\n          <label [class]=\"subLabelClasses\">{{\n            'MODEL.street' | translate\n          }}</label>\n          <input\n            type=\"text\"\n            formControlName=\"street\"\n            [class]=\"fieldInputClasses\"\n            data-role=\"street\"\n          />\n        </div>\n        <div>\n          <label [class]=\"subLabelClasses\">{{\n            'MODEL.buildingNumber' | translate\n          }}</label>\n          <input\n            type=\"text\"\n            formControlName=\"buildingNumber\"\n            [class]=\"fieldInputClasses\"\n            data-role=\"buildingNumber\"\n          />\n        </div>\n        <div>\n          <label [class]=\"subLabelClasses\">{{\n            'MODEL.flatNumber' | translate\n          }}</label>\n          <input\n            type=\"text\"\n            formControlName=\"flatNumber\"\n            [class]=\"fieldInputClasses\"\n            data-role=\"flatNumber\"\n          />\n        </div>\n        <div>\n          <label [class]=\"subLabelClasses\">{{\n            'MODEL.zipCode' | translate\n          }}</label>\n          <input\n            type=\"text\"\n            formControlName=\"zipCode\"\n            [class]=\"fieldInputClasses\"\n            data-role=\"zipCode\"\n          />\n        </div>\n        <div>\n          <label [class]=\"subLabelClasses\">{{\n            'MODEL.city' | translate\n          }}</label>\n          <input\n            type=\"text\"\n            formControlName=\"city\"\n            [class]=\"fieldInputClasses\"\n            data-role=\"city\"\n          />\n        </div>\n      </div>\n    }\n  `,\n  imports: [TranslatePipe, ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputAddressPresetComponent<T> extends InputBaseComponent<T> {\n  subLabelClasses =\n    'smart:block smart:text-xs smart:font-medium smart:text-gray-500 smart:dark:text-gray-400 smart:mb-1';\n\n  // Preline text-input look reused for every address sub-field.\n  fieldInputClasses =\n    'smart:block smart:w-full smart:py-2.5 smart:sm:py-3 smart:px-4 smart:bg-white smart:dark:bg-gray-800 smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:rounded-lg smart:sm:text-sm smart:text-gray-900 smart:dark:text-white smart:focus:border-blue-700 smart:dark:focus:border-blue-600 smart:focus:ring-blue-700 smart:dark:focus:ring-blue-600 smart:disabled:opacity-50 smart:disabled:pointer-events-none';\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  gridClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:grid',\n      'smart:grid-cols-1',\n      'smart:sm:grid-cols-2',\n      'smart:gap-3',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputArrayComponent } from '../array.component';\n\n@Component({\n  selector: 'smart-input-array-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\" data-role=\"array\">\n        @for (option of childOptions; track option) {\n          <div [class]=\"itemClasses()\" data-role=\"item\">\n            <div class=\"smart:grow\">\n              <ng-template\n                [ngComponentOutlet]=\"formComponent\"\n                [ndcDynamicInputs]=\"{ options: option }\"\n              ></ng-template>\n            </div>\n            @if (!fieldOptions()?.possibilities?.static) {\n              <button\n                type=\"button\"\n                [class]=\"removeClasses()\"\n                (click)=\"onRemove($index)\"\n                [attr.aria-label]=\"'remove' | translate\"\n                data-role=\"remove\"\n              >\n                <span aria-hidden=\"true\">&times;</span>\n              </button>\n            }\n          </div>\n        } @empty {\n          <span [class]=\"emptyClasses()\" data-role=\"empty\">&mdash;</span>\n        }\n        @if (!fieldOptions()?.possibilities?.static) {\n          <button\n            type=\"button\"\n            [class]=\"addClasses()\"\n            (click)=\"addButtonOptions.click()\"\n            data-role=\"add\"\n          >\n            <svg\n              class=\"smart:shrink-0 smart:size-3.5\"\n              xmlns=\"http://www.w3.org/2000/svg\"\n              width=\"24\"\n              height=\"24\"\n              viewBox=\"0 0 24 24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"2\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n              aria-hidden=\"true\"\n            >\n              <path d=\"M5 12h14\" />\n              <path d=\"M12 5v14\" />\n            </svg>\n            {{ 'add' | translate }}\n          </button>\n        }\n      </div>\n    }\n  `,\n  imports: [\n    ModelLabelPipe,\n    TranslatePipe,\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  encapsulation: ViewEncapsulation.None,\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputArrayPresetComponent<T, TChild> extends InputArrayComponent<\n  T,\n  TChild\n> {\n  itemClasses = computed(() =>\n    [\n      'smart:flex',\n      'smart:items-start',\n      'smart:gap-x-2',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:p-3',\n    ].join(' '),\n  );\n\n  // Preline \"outline\" button.\n  addClasses = computed(() =>\n    [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-1.5',\n      'smart:py-2',\n      'smart:px-3',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n      'smart:hover:bg-gray-100',\n      'smart:dark:hover:bg-gray-700',\n      'smart:focus:outline-hidden',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  // Preline \"ghost\" button in the danger color.\n  removeClasses = computed(() =>\n    [\n      'smart:inline-flex',\n      'smart:shrink-0',\n      'smart:items-center',\n      'smart:justify-center',\n      'smart:size-7',\n      'smart:rounded-lg',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:leading-none',\n      'smart:text-red-600',\n      'smart:dark:text-red-500',\n      'smart:hover:bg-red-100',\n      'smart:dark:hover:bg-red-800/30',\n      'smart:focus:outline-hidden',\n      'smart:focus:bg-red-100',\n      'smart:dark:focus:bg-red-800/30',\n    ].join(' '),\n  );\n\n  emptyClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:text-gray-400',\n      'smart:dark:text-gray-500',\n    ].join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { ButtonComponent } from '../../../button';\nimport { InputFileBaseComponent } from '../../base/file.component';\n\n@Component({\n  selector: 'smart-input-attachment-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <!-- Preline-style drop zone (Angular-driven, no Dropzone/Preline JS) -->\n        <div\n          [class]=\"dropZoneClasses()\"\n          role=\"button\"\n          tabindex=\"0\"\n          [attr.aria-disabled]=\"loading() ? true : null\"\n          (click)=\"triggerUpload()\"\n          (keydown.enter)=\"triggerUpload()\"\n          (keydown.space)=\"triggerUpload(); $event.preventDefault()\"\n          (dragover)=\"onDragOver($event)\"\n          (dragleave)=\"onDragLeave($event)\"\n          (drop)=\"onDrop($event)\"\n        >\n          <div class=\"smart:text-center\">\n            <span\n              class=\"smart:inline-flex smart:justify-center smart:items-center smart:size-16\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:w-16 smart:text-gray-500 smart:dark:text-gray-400 smart:mx-auto\"\n                width=\"73\"\n                height=\"47\"\n                viewBox=\"0 0 73 47\"\n                fill=\"none\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path\n                  d=\"M54.519 40.4773V6.76876C54.519 3.92686 52.2121 1.62305 49.3664 1.62305H22.7076C19.8619 1.62305 17.555 3.92686 17.555 6.76876V40.4773M54.519 40.4773C54.519 43.3192 52.2121 45.6231 49.3664 45.6231H22.7076C19.8619 45.6231 17.555 43.3192 17.555 40.4773M54.519 40.4773L54.5189 34.6563L48.6564 28.3566L43.2612 34.6373C42.4421 35.5908 40.9662 35.5955 40.141 34.6472L30.3406 23.3844L17.555 36.9154V40.4773M6.20483 9.59424L17.707 7.6798V42.5188L12.6457 43.5828C9.25658 44.2954 5.94238 42.0892 5.29702 38.691L1.14643 16.8357C0.500082 13.4322 2.78322 10.1637 6.20483 9.59424ZM65.8691 9.59424L54.3669 7.6798V42.5188L59.4282 43.5828C62.8173 44.2954 66.1316 42.0892 66.7769 38.691L70.9274 16.8357C71.5738 13.4322 69.2907 10.1637 65.8691 9.59424ZM45.0584 15.3561C45.0584 17.7228 43.1372 19.6413 40.7673 19.6413C38.3974 19.6413 36.4762 17.7228 36.4762 15.3561C36.4762 12.9894 38.3974 11.0708 40.7673 11.0708C43.1372 11.0708 45.0584 12.9894 45.0584 15.3561Z\"\n                  stroke=\"currentColor\"\n                  stroke-width=\"2\"\n                />\n              </svg>\n            </span>\n\n            <div\n              class=\"smart:mt-4 smart:flex smart:flex-wrap smart:justify-center smart:text-sm/6 smart:text-gray-500 smart:dark:text-gray-400\"\n            >\n              <span\n                class=\"smart:pe-1 smart:font-medium smart:text-gray-900 smart:dark:text-white\"\n              >\n                {{ 'INPUT.dropFileHereOr' | translate }}\n              </span>\n              <span\n                class=\"smart:font-semibold smart:text-blue-600 smart:dark:text-blue-400 smart:hover:text-blue-700 smart:dark:hover:text-blue-300 smart:underline\"\n              >\n                {{ 'browse' | translate }}\n              </span>\n            </div>\n          </div>\n        </div>\n\n        @if (control.value) {\n          <div [class]=\"previewClasses()\">\n            <span\n              class=\"smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:truncate\"\n            >\n              {{ control.value.fileName }}\n            </span>\n            <div\n              class=\"smart:flex smart:items-center smart:gap-x-2 smart:flex-wrap\"\n            >\n              <smart-button [options]=\"showButtonOptions\">\n                {{ 'download' | translate }}\n              </smart-button>\n              <smart-button [options]=\"deleteButtonOptions\">\n                {{ 'delete' | translate }}\n              </smart-button>\n            </div>\n          </div>\n        }\n\n        @if (loading()) {\n          <div\n            class=\"smart:flex smart:w-full smart:h-2 smart:bg-gray-100 smart:dark:bg-gray-800 smart:rounded-full smart:overflow-hidden\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-blue-600 smart:dark:bg-blue-500 smart:transition-all smart:duration-500\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n\n        <input\n          type=\"file\"\n          [attr.accept]=\"fieldOptions()?.possibilities\"\n          [hidden]=\"true\"\n          #inputObj\n        />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputAttachmentPresetComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  dragOver = signal(false);\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:flex-col',\n      'smart:gap-y-2',\n      'smart:w-full',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  dropZoneClasses = computed(() => {\n    const classes = [\n      'smart:cursor-pointer',\n      'smart:p-12',\n      'smart:flex',\n      'smart:justify-center',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-dashed',\n      'smart:rounded-xl',\n      'smart:transition-colors',\n      'smart:focus:outline-none',\n      'smart:focus:ring-2',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n    ];\n    if (this.dragOver()) {\n      classes.push(\n        'smart:border-blue-600',\n        'smart:dark:border-blue-500',\n        'smart:bg-blue-50',\n        'smart:dark:bg-gray-700',\n      );\n    } else {\n      classes.push('smart:border-gray-300', 'smart:dark:border-gray-600');\n    }\n    return classes.join(' ');\n  });\n\n  previewClasses = computed(() =>\n    [\n      'smart:p-3',\n      'smart:flex',\n      'smart:justify-between',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:flex-wrap',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-xl',\n    ].join(' '),\n  );\n\n  protected triggerUpload(): void {\n    this.addButtonOptions.click?.();\n  }\n\n  protected onDragOver(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(true);\n  }\n\n  protected onDragLeave(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(false);\n  }\n\n  protected onDrop(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(false);\n\n    const input = this.inputElementRef()?.nativeElement as\n      | HTMLInputElement\n      | undefined;\n    const files = event.dataTransfer?.files;\n    if (!input || !files || files.length === 0) return;\n\n    // Hand the dropped files to the hidden <input> and reuse the base 'change' wiring.\n    input.files = files;\n    this.control.markAsDirty();\n    this.control.markAsTouched();\n    input.dispatchEvent(new Event('change'));\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subscription } from 'rxjs';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputPossibilitiesBaseComponent } from '../../base/possibilities.component';\n\n@Component({\n  selector: 'smart-input-check-preset',\n  template: `\n    @if (control) {\n      <fieldset>\n        <legend [class]=\"labelClasses()\">\n          {{\n            control?.parent?.value\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : internalOptions?.model?.constructor\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ms-0.5\">*</span>\n          }\n        </legend>\n        <div [class]=\"groupClasses()\" data-role=\"check-group\">\n          @for (item of possibilities(); track item.id) {\n            <div class=\"smart:flex smart:items-center\">\n              <input\n                type=\"checkbox\"\n                [checked]=\"item.checked\"\n                (change)=\"refresh(item)\"\n                [class]=\"checkboxClasses()\"\n              />\n              <span\n                [class]=\"optionLabelClasses()\"\n                [innerHTML]=\"item.text | translate\"\n              ></span>\n            </div>\n          }\n        </div>\n      </fieldset>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ReactiveFormsModule],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputCheckPresetComponent<\n  T,\n> extends InputPossibilitiesBaseComponent<T> {\n  private controlChanges: Subscription | null = null;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-3'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  // Preline \"Default checkbox\" look translated to smart:-prefixed vanilla\n  // Tailwind with explicit dark: variants.\n  checkboxClasses = computed(() =>\n    [\n      'smart:shrink-0',\n      'smart:size-4',\n      'smart:bg-transparent',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-sm',\n      'smart:shadow-2xs',\n      'smart:text-blue-600',\n      'smart:dark:text-blue-400',\n      'smart:focus:ring-0',\n      'smart:focus:ring-offset-0',\n      'smart:checked:bg-blue-700',\n      'smart:dark:checked:bg-blue-600',\n      'smart:checked:border-blue-700',\n      'smart:dark:checked:border-blue-600',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  optionLabelClasses = computed(() =>\n    [\n      'smart:text-sm',\n      'smart:ms-3',\n      'smart:text-gray-500',\n      'smart:dark:text-gray-400',\n    ].join(' '),\n  );\n\n  protected override afterSetOptionsHandler(): void {\n    super.afterSetOptionsHandler();\n\n    this.controlChanges?.unsubscribe();\n    this.controlChanges = this.control.valueChanges\n      .pipe(this.takeUntilDestroy)\n      .subscribe(() => this.syncCheckedWithControl());\n  }\n\n  protected override afterPossibilitiesChange(): void {\n    this.syncCheckedWithControl();\n  }\n\n  /** The field's own `possibilities` when they are a list; `null` otherwise. */\n  protected override getModelPossibilities(): Array<{\n    id: any;\n    text: string;\n    checked: boolean;\n  }> | null {\n    const possibilities = this.getModelFieldPossibilities();\n\n    return Array.isArray(possibilities) ? possibilities : null;\n  }\n\n  private syncCheckedWithControl(): void {\n    const list = this.possibilities();\n    if (!list) return;\n\n    const value = this.control.value;\n    list.forEach((item) => {\n      if (value && Array.isArray(value) && item?.id?.id) {\n        const controlItem = value.find((ci: any) => ci?.id === item.id.id);\n        if (controlItem) {\n          item.id = controlItem;\n          item.checked = true;\n        } else {\n          item.checked = false;\n        }\n      } else {\n        item.checked = Array.isArray(value)\n          ? value.includes(item.id)\n          : item.id === value;\n      }\n    });\n\n    this.cd.detectChanges();\n  }\n\n  refresh(item: { id: any; text: string; checked: boolean }): void {\n    item.checked = !item.checked;\n\n    const possibilities = this.possibilities();\n    if (possibilities) {\n      const result = possibilities\n        .filter((p: any) => p.checked)\n        .map((p) => p.id);\n      this.control.markAsDirty();\n      this.control.markAsTouched();\n      this.control.setValue(result);\n    }\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ColorPickerDirective } from 'ngx-color-picker';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-color-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"frameClasses()\" data-role=\"color-frame\">\n        <span\n          [class]=\"swatchClasses()\"\n          [style.background]=\"color || '#ffffff'\"\n          data-role=\"swatch\"\n        ></span>\n        <input\n          type=\"color\"\n          [value]=\"color || '#000000'\"\n          [colorPicker]=\"color\"\n          (colorPickerChange)=\"selectColor($event)\"\n          [class]=\"pickerClasses()\"\n          data-role=\"color-input\"\n        />\n        <span [class]=\"hexClasses()\" data-role=\"hex\">{{ color || '' }}</span>\n        <button\n          type=\"button\"\n          (click)=\"clear()\"\n          [class]=\"clearClasses()\"\n          data-role=\"clear\"\n        >\n          ×\n        </button>\n      </div>\n    }\n  `,\n  imports: [ColorPickerDirective, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputColorPresetComponent<T> extends InputBaseComponent<T> {\n  color!: string;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  frameClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:p-2',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:focus-within:ring-1',\n      'smart:focus-within:ring-blue-500',\n      'smart:dark:focus-within:ring-blue-600',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  swatchClasses = computed(() =>\n    [\n      'smart:inline-block',\n      'smart:size-8',\n      'smart:rounded-md',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n    ].join(' '),\n  );\n\n  pickerClasses = computed(() =>\n    [\n      'smart:size-8',\n      'smart:cursor-pointer',\n      'smart:rounded-md',\n      'smart:border-0',\n      'smart:bg-transparent',\n    ].join(' '),\n  );\n\n  hexClasses = computed(() =>\n    [\n      'smart:flex-1',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:uppercase',\n    ].join(' '),\n  );\n\n  clearClasses = computed(() =>\n    [\n      'smart:rounded-md',\n      'smart:bg-red-600',\n      'smart:px-2',\n      'smart:py-1',\n      'smart:text-xs',\n      'smart:font-semibold',\n      'smart:text-white',\n      'smart:hover:bg-red-500',\n    ].join(' '),\n  );\n\n  protected override afterSetOptionsHandler() {\n    this.color = this.control.value;\n  }\n\n  selectColor(color: string) {\n    this.control.markAsDirty();\n    this.control.markAllAsTouched();\n    this.control.setValue(color);\n    this.color = color;\n  }\n\n  clear() {\n    this.color = '';\n    this.control.markAsDirty();\n    this.control.markAllAsTouched();\n    this.control.setValue(null);\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-currency-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div class=\"smart:relative\">\n        <div [class]=\"adornmentClasses()\" data-role=\"currency-adornment\">\n          <svg\n            class=\"smart:shrink-0 smart:size-4 smart:text-gray-500 smart:dark:text-gray-400\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n            width=\"24\"\n            height=\"24\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            stroke-width=\"2\"\n            stroke-linecap=\"round\"\n            stroke-linejoin=\"round\"\n            aria-hidden=\"true\"\n          >\n            <line x1=\"12\" x2=\"12\" y1=\"2\" y2=\"22\" />\n            <path d=\"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6\" />\n          </svg>\n        </div>\n        <input\n          type=\"number\"\n          step=\"0.01\"\n          [formControl]=\"formControl\"\n          [class]=\"inputClasses()\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        />\n      </div>\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputCurrencyPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:mb-2',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n    ].join(' '),\n  );\n\n  adornmentClasses = computed(() =>\n    [\n      'smart:absolute',\n      'smart:inset-y-0',\n      'smart:start-0',\n      'smart:flex',\n      'smart:items-center',\n      'smart:pointer-events-none',\n      'smart:ps-4',\n      'smart:peer-disabled:opacity-50',\n      'smart:peer-disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:peer',\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:ps-11',\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  OnInit,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n/**\n * Preline \"preset\" variation of the date input field (FRA-255).\n *\n * The Linear issue specifies the Preline advanced datepicker, which relies on\n * `Vanilla Calendar Pro` + the Preline datepicker JS plugin (`data-hs-datepicker`,\n * `hs-datepicker`). Neither is installed in this library, so this preset renders a\n * native `type=\"date\"` control styled to match the Preline datepicker input look\n * instead. See GAPS in the implementation report for the dropped JS behaviour\n * (custom-select calendar, multiple/ranged selection, time picker).\n */\n@Component({\n  selector: 'smart-input-date-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"date\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDatePresetComponent<T>\n  extends InputBaseComponent<T>\n  implements OnInit\n{\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:mb-2',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      // Preline: py-3 px-4 block w-full\n      'smart:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      // Preline: bg-layer\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      // Preline: border-layer-line\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      // Preline: rounded-lg sm:text-sm\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      // Preline: text-foreground\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      // Preline: placeholder:text-muted-foreground-1\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      // Preline: focus:border-primary-focus focus:ring-primary-focus\n      'smart:focus:border-blue-700',\n      'smart:dark:focus:border-blue-600',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-700',\n      'smart:dark:focus:ring-blue-600',\n      // Preline: disabled:opacity-50 disabled:pointer-events-none\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  ngOnInit() {\n    this.control?.valueChanges\n      .pipe(this.takeUntilDestroy)\n      .subscribe((value) => {\n        if (value && value.length !== 10) {\n          // TODO: re-enable moment\n          // this.control.setValue(moment(value).format('YYYY-MM-DD'));\n        }\n      });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n  signal,\n} from '@angular/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\ninterface DateRangeValue {\n  start?: string;\n  end?: string;\n}\n\n/**\n * Preline \"preset\" variation of the date-range input field (FRA-256).\n *\n * The Linear issue specifies the Preline \"datepicker (range)\" advanced control,\n * which relies on `Vanilla Calendar Pro` + the Preline datepicker JS plugin\n * (`data-hs-datepicker`, `hs-datepicker`). Neither dependency is installed in this\n * library, so this preset renders two native `type=\"date\"` controls (start / end)\n * styled to match the Preline datepicker input look. The control value stays the\n * canonical `IDateRange` shape (`{ start, end }`, `YYYY-MM-DD`). See GAPS in the\n * implementation report for the dropped JS behaviour (single popover calendar with\n * dual-month range selection, preset ranges, min/max constraints).\n */\n@Component({\n  selector: 'smart-input-date-range-preset',\n  template: `\n    @if (control && internalOptions) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"wrapperClasses()\">\n        <input\n          type=\"date\"\n          data-role=\"date-range-start\"\n          [class]=\"inputClasses()\"\n          [value]=\"range().start ?? ''\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n          (change)=\"onStartChange($any($event.target).value)\"\n          (blur)=\"control.markAsTouched()\"\n        />\n        <span [class]=\"separatorClasses()\">&ndash;</span>\n        <input\n          type=\"date\"\n          data-role=\"date-range-end\"\n          [class]=\"inputClasses()\"\n          [value]=\"range().end ?? ''\"\n          (change)=\"onEndChange($any($event.target).value)\"\n          (blur)=\"control.markAsTouched()\"\n        />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDateRangePresetComponent<T> extends InputBaseComponent<T> {\n  private subscribed = false;\n\n  range = signal<DateRangeValue>({});\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:mb-2',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  wrapperClasses = computed(() => {\n    const classes = ['smart:flex', 'smart:items-center', 'smart:gap-x-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  separatorClasses = computed(() =>\n    ['smart:text-gray-500', 'smart:dark:text-gray-400'].join(' '),\n  );\n\n  inputClasses = computed(() =>\n    [\n      // Preline: py-3 px-4 block w-full\n      'smart:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      // Preline: bg-layer\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      // Preline: border-layer-line\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      // Preline: rounded-lg sm:text-sm\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      // Preline: text-foreground\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      // Preline: placeholder:text-muted-foreground-1\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      // Preline: focus:border-primary-focus focus:ring-primary-focus\n      'smart:focus:border-blue-700',\n      'smart:dark:focus:border-blue-600',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-700',\n      'smart:dark:focus:ring-blue-600',\n      // Preline: disabled:opacity-50 disabled:pointer-events-none\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  protected override afterSetOptionsHandler(): void {\n    this.range.set(this.normalize(this.control?.value));\n\n    if (this.subscribed) return;\n    this.subscribed = true;\n\n    this.control?.valueChanges\n      .pipe(this.takeUntilDestroy)\n      .subscribe((value) => this.range.set(this.normalize(value)));\n  }\n\n  onStartChange(start: string): void {\n    this.commit({ ...this.range(), start });\n  }\n\n  onEndChange(end: string): void {\n    this.commit({ ...this.range(), end });\n  }\n\n  private commit(next: DateRangeValue): void {\n    this.range.set(next);\n    this.control.setValue(this.toControlValue(next));\n    this.control.markAsDirty();\n  }\n\n  private normalize(value: unknown): DateRangeValue {\n    if (value && typeof value === 'object') {\n      const { start, end } = value as DateRangeValue;\n      return { start: start ?? '', end: end ?? '' };\n    }\n    return { start: '', end: '' };\n  }\n\n  private toControlValue(value: DateRangeValue): DateRangeValue | null {\n    if (!value.start && !value.end) return null;\n    return value;\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  OnDestroy,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { DateEditComponent } from '../../../date-edit';\nimport { InputBaseComponent } from '../../base/base.component';\n\n/**\n * Preline \"preset\" variation of the date-with-edit input field (FRA-257).\n *\n * Behaves like the date preset (`smart-input-date-preset`) but, like the\n * existing `InputDateWithEditComponent`, renders the reusable\n * `<smart-date-edit>` widget instead of a native `type=\"date\"` control so the\n * user gets the \"edit buttons\" datepicker. The widget is rendered with\n * `variant=\"preset\"`, which is its own translated-Preline look (calendar\n * popover driven by Angular signals — the Preline JS plugin is not installed;\n * see the date-edit preset for that simplification). Only the label here is\n * styled to the Preline input look.\n */\n@Component({\n  selector: 'smart-input-date-with-edit-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <smart-date-edit\n        [variant]=\"'preset'\"\n        [class]=\"widgetClasses()\"\n        [formControl]=\"formControl\"\n      ></smart-date-edit>\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule, DateEditComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDateWithEditPresetComponent<T>\n  extends InputBaseComponent<T>\n  implements OnDestroy\n{\n  private _subscriptions = new Subscription();\n\n  labelClasses = computed(() =>\n    [\n      // Preline label: block mb-2 text-sm font-medium text-foreground\n      'smart:block',\n      'smart:mb-2',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  widgetClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:block', 'smart:w-full'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override ngOnDestroy(): void {\n    super.ngOnDestroy();\n    if (this._subscriptions) {\n      this._subscriptions.unsubscribe();\n    }\n  }\n}\n","const INPUT_EMAIL_PRESET_BASE = [\n  'smart:py-2.5',\n  'smart:sm:py-3',\n  'smart:px-4',\n  'smart:block',\n  'smart:w-full',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-lg',\n  'smart:sm:text-sm',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:placeholder:text-gray-500',\n  'smart:dark:placeholder:text-gray-400',\n  'smart:focus:border-blue-700',\n  'smart:dark:focus:border-blue-600',\n  'smart:focus:ring-1',\n  'smart:focus:ring-blue-700',\n  'smart:dark:focus:ring-blue-600',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst INPUT_EMAIL_PRESET_LABEL = [\n  'smart:block',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:mb-2',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport function getInputEmailPresetClasses(cssClass: string): string {\n  return cssClass\n    ? `${INPUT_EMAIL_PRESET_BASE} ${cssClass}`\n    : INPUT_EMAIL_PRESET_BASE;\n}\n\nexport function getInputEmailPresetLabelClasses(): string {\n  return INPUT_EMAIL_PRESET_LABEL;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\nimport {\n  getInputEmailPresetClasses,\n  getInputEmailPresetLabelClasses,\n} from './preset-classes.util';\n\n@Component({\n  selector: 'smart-input-email-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"email\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputEmailPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() => getInputEmailPresetLabelClasses());\n\n  inputClasses = computed(() => getInputEmailPresetClasses(this.cssClass()));\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputPossibilitiesBaseComponent } from '../../base/possibilities.component';\n\n@Component({\n  selector: 'smart-input-enum-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <select\n        [formControl]=\"formControl\"\n        [class]=\"selectClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        data-role=\"select\"\n      >\n        @for (item of possibilities(); track item.id) {\n          <option [ngValue]=\"item.id\">{{ item.text | translate }}</option>\n        }\n      </select>\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe, TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class InputEnumPresetComponent<\n  T,\n> extends InputPossibilitiesBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  selectClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:block',\n      'smart:w-full',\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:pe-9',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:focus:border-blue-700',\n      'smart:dark:focus:border-blue-600',\n      'smart:focus:ring-blue-700',\n      'smart:dark:focus:ring-blue-600',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\n@Component({\n  selector: 'smart-input-error-preset',\n  template: `\n    <ng-template #errIcon>\n      <svg\n        [class]=\"iconClasses()\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width=\"24\"\n        height=\"24\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        stroke-width=\"2\"\n        stroke-linecap=\"round\"\n        stroke-linejoin=\"round\"\n        aria-hidden=\"true\"\n      >\n        <circle cx=\"12\" cy=\"12\" r=\"10\" />\n        <line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\" />\n        <line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\" />\n      </svg>\n    </ng-template>\n\n    @if (errors()?.required) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ 'INPUT.ERRORS.required' | translate }}</span>\n      </p>\n    } @else {\n      @if (errors()?.confirm) {\n        <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n          <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n          <span>{{ 'INPUT.ERRORS.confirm' | translate }}</span>\n        </p>\n      }\n    }\n\n    @if (errors()?.invalidNip) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ 'INPUT.ERRORS.invalidNip' | translate }}</span>\n      </p>\n    }\n\n    @if (errors()?.invalidUnique) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ 'INPUT.ERRORS.invalidUnique' | translate }}</span>\n      </p>\n    }\n\n    @if (errors()?.email) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ 'INPUT.ERRORS.invalidEmailFormat' | translate }}</span>\n      </p>\n    }\n\n    @if (errors()?.phoneNumber) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ 'INPUT.ERRORS.invalidPhoneNumberFormat' | translate }}</span>\n      </p>\n    }\n\n    <!-- pesel: form factory check; invalidPesel: pesel preset field check -->\n    @if (errors()?.pesel || errors()?.invalidPesel) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ 'INPUT.ERRORS.invalidPeselFormat' | translate }}</span>\n      </p>\n    }\n\n    @if (errors()?.minlength) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>\n          {{ 'INPUT.ERRORS.invalidMinLength' | translate }}:\n          {{ errors()?.minlength?.requiredLength }}\n        </span>\n      </p>\n    }\n\n    @if (errors()?.maxlength) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>\n          {{ 'INPUT.ERRORS.invalidMaxLength' | translate }}:\n          {{ errors()?.maxlength?.requiredLength }}\n        </span>\n      </p>\n    }\n\n    @if (errors()?.min) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>\n          {{ 'INPUT.ERRORS.invalidMin' | translate }}: {{ errors()?.min?.min }}\n        </span>\n      </p>\n    }\n\n    @if (errors()?.max) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>\n          {{ 'INPUT.ERRORS.invalidMax' | translate }}: {{ errors()?.max?.max }}\n        </span>\n      </p>\n    }\n\n    @if (errors()?.customMessage) {\n      <p [class]=\"rowClasses()\" data-role=\"error-message\" role=\"alert\">\n        <ng-container [ngTemplateOutlet]=\"errIcon\"></ng-container>\n        <span>{{ errors()?.customMessage }}</span>\n      </p>\n    }\n  `,\n  imports: [TranslatePipe, NgTemplateOutlet],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputErrorPresetComponent {\n  errors = input<any | undefined>(undefined);\n\n  rowClasses = computed(() =>\n    [\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:text-sm',\n      'smart:text-red-500',\n      'smart:dark:text-red-400',\n      'smart:mt-2',\n    ].join(' '),\n  );\n\n  iconClasses = computed(() =>\n    [\n      'smart:shrink-0',\n      'smart:size-4',\n      'smart:text-red-500',\n      'smart:dark:text-red-400',\n    ].join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { ButtonComponent } from '../../../button';\nimport { InputFileBaseComponent } from '../../base/file.component';\n\n@Component({\n  selector: 'smart-input-file-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <input\n          type=\"file\"\n          #inputObj\n          [class]=\"inputClasses()\"\n          [attr.accept]=\"fieldOptions()?.possibilities\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        />\n        @if (control.value) {\n          <div\n            class=\"smart:flex smart:items-center smart:gap-x-2 smart:flex-wrap\"\n          >\n            <smart-button [options]=\"showButtonOptions\">\n              {{ 'download' | translate }}\n            </smart-button>\n            <smart-button [options]=\"deleteButtonOptions\">\n              {{ 'delete' | translate }}\n            </smart-button>\n            <span\n              class=\"smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n            >\n              {{ control.value.fileName }}\n            </span>\n          </div>\n        }\n        @if (loading()) {\n          <div\n            class=\"smart:h-1 smart:w-full smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-blue-600 smart:dark:bg-blue-500\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputFilePresetComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:flex-col',\n      'smart:gap-y-2',\n      'smart:w-full',\n      'smart:max-w-sm',\n    ];\n    return classes.join(' ');\n  });\n\n  inputClasses = computed(() => {\n    const classes = [\n      // Preline default file input look (FRA-261)\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:z-10',\n      'smart:focus:outline-none',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n      // styled file-selector button\n      'smart:file:bg-gray-100',\n      'smart:dark:file:bg-gray-800',\n      'smart:file:text-gray-700',\n      'smart:dark:file:text-gray-200',\n      'smart:file:border-0',\n      'smart:file:me-4',\n      'smart:file:py-3',\n      'smart:file:px-4',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-float-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"number\"\n        step=\"0.01\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class InputFloatPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:mb-2',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { debounceTime } from 'rxjs/operators';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { ButtonComponent } from '../../../button';\nimport { InputFileBaseComponent } from '../../base/file.component';\n\n@Component({\n  selector: 'smart-input-image-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <smart-button [options]=\"addButtonOptions\">\n          {{ (control.value ? 'change' : 'add') | translate }}\n        </smart-button>\n        @if (control.value) {\n          <smart-button [options]=\"deleteButtonOptions\">\n            {{ 'delete' | translate }}\n          </smart-button>\n        }\n        @if (loading()) {\n          <div\n            class=\"smart:h-1 smart:w-24 smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-blue-600 smart:dark:bg-blue-500\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n        @if (imageUrl) {\n          <img [src]=\"imageUrl\" [class]=\"imageClasses()\" alt=\"\" />\n        }\n        <input type=\"file\" accept=\".jpg,.png,.jpeg\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputImagePresetComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  imageUrl: any;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:flex-wrap',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  imageClasses = computed(() =>\n    [\n      // Preline image preview (FRA-263): w-56 h-auto + card-style framing\n      'smart:w-56',\n      'smart:h-auto',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n    ].join(' '),\n  );\n\n  private subscribed = false;\n\n  override ngOnInit() {\n    super.ngOnInit();\n    this.setupImageSubscription();\n  }\n\n  protected override afterSetOptionsHandler(): void {\n    super.afterSetOptionsHandler();\n    this.setupImageSubscription();\n  }\n\n  private setupImageSubscription(): void {\n    if (this.subscribed || !this.control) return;\n\n    this.control.valueChanges\n      .pipe(debounceTime(1000), this.takeUntilDestroy)\n      .subscribe(() => this.initImage());\n\n    this.initImage();\n    this.subscribed = true;\n  }\n\n  private initImage(): void {\n    this.imageUrl = this.control.value\n      ? this.fileService.getUrl(this.control.value.id)\n      : null;\n    this.cd.detectChanges();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-int-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"number\"\n        step=\"1\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class InputIntPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:mb-2',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  ViewEncapsulation,\n} from '@angular/core';\nimport {\n  ReactiveFormsModule,\n  UntypedFormBuilder,\n  UntypedFormControl,\n} from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-ints-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        @for (item of list; track item) {\n          @let last = $last;\n          <div class=\"smart:flex smart:items-center smart:gap-x-2\">\n            <!-- Preline Input Number -->\n            <div [class]=\"numberGroupClasses()\">\n              <div\n                class=\"smart:w-full smart:flex smart:justify-between smart:items-center smart:gap-x-3\"\n              >\n                <div class=\"smart:grow\">\n                  <input\n                    type=\"number\"\n                    step=\"1\"\n                    [formControl]=\"item\"\n                    [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"\n                    (change)=\"onItemChange()\"\n                    [attr.autofocus]=\"\n                      $first && fieldOptions()?.focused ? true : null\n                    \"\n                    aria-roledescription=\"Number field\"\n                    style=\"-moz-appearance: textfield;\"\n                    class=\"smart:w-full smart:p-0 smart:bg-transparent smart:border-0 smart:text-gray-900 smart:dark:text-white smart:placeholder:text-gray-500 smart:dark:placeholder:text-gray-400 smart:focus:ring-0 smart:[&::-webkit-inner-spin-button]:appearance-none smart:[&::-webkit-outer-spin-button]:appearance-none\"\n                  />\n                </div>\n                <div\n                  class=\"smart:flex smart:justify-end smart:items-center smart:gap-x-1.5\"\n                >\n                  <button\n                    type=\"button\"\n                    tabindex=\"-1\"\n                    aria-label=\"Decrease\"\n                    (click)=\"decrement(item)\"\n                    [class]=\"stepButtonClasses()\"\n                  >\n                    <svg\n                      class=\"smart:shrink-0 smart:size-3.5\"\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"24\"\n                      height=\"24\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      stroke-width=\"2\"\n                      stroke-linecap=\"round\"\n                      stroke-linejoin=\"round\"\n                    >\n                      <path d=\"M5 12h14\" />\n                    </svg>\n                  </button>\n                  <button\n                    type=\"button\"\n                    tabindex=\"-1\"\n                    aria-label=\"Increase\"\n                    (click)=\"increment(item)\"\n                    [class]=\"stepButtonClasses()\"\n                  >\n                    <svg\n                      class=\"smart:shrink-0 smart:size-3.5\"\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      width=\"24\"\n                      height=\"24\"\n                      viewBox=\"0 0 24 24\"\n                      fill=\"none\"\n                      stroke=\"currentColor\"\n                      stroke-width=\"2\"\n                      stroke-linecap=\"round\"\n                      stroke-linejoin=\"round\"\n                    >\n                      <path d=\"M5 12h14\" />\n                      <path d=\"M12 5v14\" />\n                    </svg>\n                  </button>\n                </div>\n              </div>\n            </div>\n            <!-- End Input Number -->\n            @if (!last) {\n              <button\n                type=\"button\"\n                aria-label=\"Remove\"\n                (click)=\"removeItem(item)\"\n                [class]=\"removeButtonClasses()\"\n              >\n                <svg\n                  class=\"smart:shrink-0 smart:size-3.5\"\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                  width=\"24\"\n                  height=\"24\"\n                  viewBox=\"0 0 24 24\"\n                  fill=\"none\"\n                  stroke=\"currentColor\"\n                  stroke-width=\"2\"\n                  stroke-linecap=\"round\"\n                  stroke-linejoin=\"round\"\n                >\n                  <path d=\"M18 6 6 18\" />\n                  <path d=\"m6 6 12 12\" />\n                </svg>\n              </button>\n            }\n          </div>\n        }\n      </div>\n    }\n  `,\n  imports: [ReactiveFormsModule, TranslatePipe, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputIntsPresetComponent<T> extends InputBaseComponent<T> {\n  private fb = inject(UntypedFormBuilder);\n\n  list: Array<UntypedFormControl> = [];\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:mt-2', 'smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  numberGroupClasses = computed(() =>\n    [\n      'smart:grow',\n      'smart:py-2',\n      'smart:px-3',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n    ].join(' '),\n  );\n\n  stepButtonClasses = computed(() =>\n    [\n      'smart:size-6',\n      'smart:inline-flex',\n      'smart:justify-center',\n      'smart:items-center',\n      'smart:gap-x-2',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n      'smart:shadow-2xs',\n      'smart:hover:bg-gray-100',\n      'smart:dark:hover:bg-gray-700',\n      'smart:focus:outline-none',\n      'smart:focus:bg-gray-100',\n      'smart:dark:focus:bg-gray-700',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  removeButtonClasses = computed(() =>\n    [\n      'smart:size-9',\n      'smart:shrink-0',\n      'smart:inline-flex',\n      'smart:justify-center',\n      'smart:items-center',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:text-red-600',\n      'smart:dark:text-red-400',\n      'smart:shadow-2xs',\n      'smart:hover:bg-gray-100',\n      'smart:dark:hover:bg-gray-700',\n      'smart:focus:outline-none',\n      'smart:focus:bg-gray-100',\n      'smart:dark:focus:bg-gray-700',\n    ].join(' '),\n  );\n\n  override afterSetOptionsHandler() {\n    if (this.control.value) {\n      this.list = [];\n      this.control.value.forEach((i: any) => this.add(i));\n    } else {\n      this.list = [];\n    }\n\n    this.refresh();\n  }\n\n  onItemChange() {\n    this.refresh();\n  }\n\n  increment(item: UntypedFormControl) {\n    item.setValue(Number(item.value || 0) + 1);\n    this.refresh();\n  }\n\n  decrement(item: UntypedFormControl) {\n    item.setValue(Number(item.value || 0) - 1);\n    this.refresh();\n  }\n\n  removeItem(item: UntypedFormControl) {\n    const index = this.list.indexOf(item);\n    if (index > -1) {\n      this.list.splice(index, 1);\n    }\n    this.refresh();\n  }\n\n  private refresh(): void {\n    this.control.markAsTouched();\n    this.control.markAsDirty();\n\n    this.control.setValue(\n      this.list.filter((i) => i && i.value).map((i) => Number(i.value)),\n    );\n\n    if (\n      !this.list.length ||\n      (this.list[this.list.length - 1] && this.list[this.list.length - 1].value)\n    ) {\n      this.add(0);\n    }\n\n    this.cd.detectChanges();\n  }\n\n  private add(val: number): void {\n    this.list.push(this.fb.control(val));\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { debounceTime } from 'rxjs/operators';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { ButtonComponent } from '../../../button';\nimport { InputFileBaseComponent } from '../../base/file.component';\n\n@Component({\n  selector: 'smart-input-logo-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        @if (imageUrl) {\n          <img [src]=\"imageUrl\" alt=\"\" [class]=\"avatarClasses()\" />\n        } @else {\n          <span [class]=\"placeholderClasses()\">\n            <svg\n              class=\"smart:size-full smart:text-gray-400 smart:dark:text-gray-500\"\n              viewBox=\"0 0 16 16\"\n              fill=\"none\"\n              xmlns=\"http://www.w3.org/2000/svg\"\n              aria-hidden=\"true\"\n            >\n              <rect\n                x=\"0.62854\"\n                y=\"0.359985\"\n                width=\"15\"\n                height=\"15\"\n                rx=\"7.5\"\n                fill=\"currentColor\"\n                class=\"smart:fill-white smart:dark:fill-gray-800\"\n              />\n              <path\n                d=\"M8.12421 7.20374C9.21151 7.20374 10.093 6.32229 10.093 5.23499C10.093 4.14767 9.21151 3.26624 8.12421 3.26624C7.0369 3.26624 6.15546 4.14767 6.15546 5.23499C6.15546 6.32229 7.0369 7.20374 8.12421 7.20374Z\"\n                fill=\"currentColor\"\n              />\n              <path\n                d=\"M11.818 10.5975C10.2992 12.6412 7.42106 13.0631 5.37731 11.5537C5.01171 11.2818 4.69296 10.9631 4.42107 10.5975C4.28982 10.4006 4.27107 10.1475 4.37419 9.94123L4.51482 9.65059C4.84296 8.95684 5.53671 8.51624 6.30546 8.51624H9.95231C10.7023 8.51624 11.3867 8.94749 11.7242 9.62249L11.8742 9.93184C11.968 10.1475 11.9586 10.4006 11.818 10.5975Z\"\n                fill=\"currentColor\"\n              />\n            </svg>\n          </span>\n        }\n        <div class=\"smart:flex smart:flex-col smart:gap-y-2\">\n          <div\n            class=\"smart:flex smart:items-center smart:gap-x-2 smart:flex-wrap\"\n          >\n            <smart-button [options]=\"addButtonOptions\">\n              {{ (control.value ? 'change' : 'add') | translate }}\n            </smart-button>\n            @if (control.value) {\n              <smart-button [options]=\"deleteButtonOptions\">\n                {{ 'delete' | translate }}\n              </smart-button>\n            }\n          </div>\n          @if (loading()) {\n            <div\n              class=\"smart:h-1 smart:w-24 smart:overflow-hidden smart:rounded smart:bg-gray-200 smart:dark:bg-gray-700\"\n            >\n              <div\n                class=\"smart:h-full smart:bg-blue-600 smart:dark:bg-blue-500\"\n                [style.width.%]=\"percent() ?? 0\"\n              ></div>\n            </div>\n          }\n        </div>\n        <input type=\"file\" accept=\".jpg,.png,.jpeg\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputLogoPresetComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  imageUrl: any;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:flex-wrap',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  // Avatar-style circular thumbnail (FRA-266: presentation like the avatar component).\n  avatarClasses = computed(() =>\n    [\n      'smart:inline-block',\n      'smart:object-cover',\n      'smart:size-20',\n      'smart:rounded-full',\n      'smart:ring-2',\n      'smart:ring-white',\n      'smart:dark:ring-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n    ].join(' '),\n  );\n\n  placeholderClasses = computed(() =>\n    [\n      'smart:inline-block',\n      'smart:overflow-hidden',\n      'smart:size-20',\n      'smart:rounded-full',\n      'smart:bg-gray-100',\n      'smart:dark:bg-gray-700',\n    ].join(' '),\n  );\n\n  private subscribed = false;\n\n  override ngOnInit() {\n    super.ngOnInit();\n    this.setupImageSubscription();\n  }\n\n  protected override afterSetOptionsHandler(): void {\n    super.afterSetOptionsHandler();\n    this.setupImageSubscription();\n  }\n\n  private setupImageSubscription(): void {\n    if (this.subscribed || !this.control) return;\n\n    this.control.valueChanges\n      .pipe(debounceTime(1000), this.takeUntilDestroy)\n      .subscribe(() => this.initImage());\n\n    this.initImage();\n    this.subscribed = true;\n  }\n\n  private initImage(): void {\n    this.imageUrl = this.control.value\n      ? this.fileService.getUrl(this.control.value.id)\n      : null;\n    this.cd.detectChanges();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  OnInit,\n  ViewEncapsulation,\n  computed,\n  inject,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n/**\n * Preline \"preset\" variation of the long-text input field.\n *\n * Unlike the default {@link InputLongTextComponent} (which renders a\n * `ngx-editor` rich-text editor), this preset renders a Preline-styled\n * `<textarea>` (FRA-267) so the free-tier stays on HTML-template OSS markup.\n * The Preline semantic tokens are translated to `smart:`-prefixed vanilla\n * Tailwind palette classes with explicit `dark:` variants.\n */\n@Component({\n  selector: 'smart-input-long-text-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <textarea\n        rows=\"3\"\n        [formControl]=\"formControl\"\n        [class]=\"textareaClasses()\"\n        [placeholder]=\"placeholder\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      ></textarea>\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputLongTextPresetComponent<T>\n  extends InputBaseComponent<T>\n  implements OnInit\n{\n  private translateService = inject(TranslateService);\n\n  placeholder = '';\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:mb-3',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  textareaClasses = computed(() => {\n    const classes = [\n      'smart:py-2',\n      'smart:px-3',\n      'smart:sm:py-3',\n      'smart:sm:px-4',\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-lg',\n      'smart:border',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-700',\n      'smart:dark:focus:border-blue-600',\n      'smart:focus:ring-blue-700',\n      'smart:dark:focus:ring-blue-600',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n      'smart:[&::-webkit-scrollbar]:w-2',\n      'smart:[&::-webkit-scrollbar-thumb]:rounded-none',\n      'smart:[&::-webkit-scrollbar-track]:bg-gray-100',\n      'smart:dark:[&::-webkit-scrollbar-track]:bg-gray-800',\n      'smart:[&::-webkit-scrollbar-thumb]:bg-gray-300',\n      'smart:dark:[&::-webkit-scrollbar-thumb]:bg-gray-600',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  ngOnInit(): void {\n    this.placeholder = this.translateService.instant('writeHere') + '...';\n  }\n}\n","const INPUT_NIP_PRESET_BASE = [\n  'smart:py-2.5',\n  'smart:sm:py-3',\n  'smart:px-4',\n  'smart:block',\n  'smart:w-full',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-lg',\n  'smart:sm:text-sm',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:placeholder:text-gray-500',\n  'smart:dark:placeholder:text-gray-400',\n  'smart:focus:border-blue-700',\n  'smart:dark:focus:border-blue-600',\n  'smart:focus:ring-1',\n  'smart:focus:ring-blue-700',\n  'smart:dark:focus:ring-blue-600',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst INPUT_NIP_PRESET_LABEL = [\n  'smart:block',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:mb-2',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport function getInputNipPresetClasses(cssClass: string): string {\n  return cssClass\n    ? `${INPUT_NIP_PRESET_BASE} ${cssClass}`\n    : INPUT_NIP_PRESET_BASE;\n}\n\nexport function getInputNipPresetLabelClasses(): string {\n  return INPUT_NIP_PRESET_LABEL;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { NipService } from '@smartsoft001/utils';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\nimport {\n  getInputNipPresetClasses,\n  getInputNipPresetLabelClasses,\n} from './preset-classes.util';\n\n@Component({\n  selector: 'smart-input-nip-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"text\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputNipPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() => getInputNipPresetLabelClasses());\n\n  inputClasses = computed(() => getInputNipPresetClasses(this.cssClass()));\n\n  override afterSetOptionsHandler() {\n    const validators = this.control.validator ? [this.control.validator] : [];\n\n    validators.push((c) => {\n      if (c.value && NipService.isInvalid(c.value)) {\n        return {\n          invalidNip: true,\n        };\n      }\n\n      return null;\n    });\n\n    this.control.setValidators(validators);\n\n    this.control.updateValueAndValidity();\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  ViewEncapsulation,\n} from '@angular/core';\nimport {\n  ComponentOutletInjectorDirective,\n  DynamicIoDirective,\n} from 'ng-dynamic-component';\n\nimport { IFormOptions } from '../../../../models';\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { FORM_COMPONENT_TOKEN } from '../../../../shared.inectors';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-object-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"frameClasses()\" data-role=\"object-frame\">\n        <ng-template\n          [ngComponentOutlet]=\"formComponent\"\n          [ndcDynamicInputs]=\"{ options: childOptions }\"\n        ></ng-template>\n      </div>\n    }\n  `,\n  imports: [\n    ModelLabelPipe,\n    NgComponentOutlet,\n    DynamicIoDirective,\n    ComponentOutletInjectorDirective,\n  ],\n  encapsulation: ViewEncapsulation.None,\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputObjectPresetComponent<\n  T,\n  TChild,\n> extends InputBaseComponent<T> {\n  public formComponent = inject(FORM_COMPONENT_TOKEN);\n  childOptions!: IFormOptions<TChild>;\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  frameClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:p-4',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  protected override afterSetOptionsHandler() {\n    this.childOptions = {\n      treeLevel: this.internalOptions.treeLevel + 1,\n      mode: this.internalOptions.mode,\n      control: this.control,\n      model: (this.internalOptions.model as any)[\n        this.internalOptions.fieldKey\n      ] as TChild,\n      show: true,\n    };\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  effect,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n/**\n * Preline \"Strong Password\" preset for the `password` field type.\n *\n * The Preline template relies on the `data-hs-strong-password` JS plugin, which is\n * not installed in this workspace. The strength meter and hint list are therefore\n * recomputed entirely with Angular signals from the control value (see GAPS in the\n * task report). The visual look is the translated Preline markup.\n */\n@Component({\n  selector: 'smart-input-password-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n\n      <input\n        type=\"password\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        (input)=\"onInput($event)\"\n        (blur)=\"focus.set(false)\"\n        (focus)=\"focus.set(true)\"\n      />\n\n      @if (fieldOptions()?.possibilities?.strength) {\n        <div class=\"smart:mt-2\" data-role=\"strength-meter\">\n          <div class=\"smart:flex smart:-mx-1\">\n            @for (bar of bars; track $index) {\n              <div [class]=\"barClasses($index)\" data-role=\"strength-bar\"></div>\n            }\n          </div>\n\n          @if (focus()) {\n            <div class=\"smart:mt-3\" data-role=\"strength-hints\">\n              <div>\n                <span\n                  class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n                  >Level:</span\n                >\n                <span\n                  class=\"smart:text-sm smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n                  data-role=\"strength-level\"\n                  >{{ levelText() }}</span\n                >\n              </div>\n\n              <h4\n                class=\"smart:my-2 smart:text-sm smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n              >\n                Your password must contain:\n              </h4>\n\n              <ul\n                class=\"smart:space-y-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400\"\n              >\n                @for (rule of rules(); track rule.key) {\n                  <li\n                    [class]=\"ruleClasses(rule.passed)\"\n                    data-role=\"strength-rule\"\n                  >\n                    @if (rule.passed) {\n                      <span data-check>\n                        <svg\n                          class=\"smart:shrink-0 smart:size-4\"\n                          xmlns=\"http://www.w3.org/2000/svg\"\n                          width=\"24\"\n                          height=\"24\"\n                          viewBox=\"0 0 24 24\"\n                          fill=\"none\"\n                          stroke=\"currentColor\"\n                          stroke-width=\"2\"\n                          stroke-linecap=\"round\"\n                          stroke-linejoin=\"round\"\n                        >\n                          <polyline points=\"20 6 9 17 4 12\" />\n                        </svg>\n                      </span>\n                    } @else {\n                      <span data-uncheck>\n                        <svg\n                          class=\"smart:shrink-0 smart:size-4\"\n                          xmlns=\"http://www.w3.org/2000/svg\"\n                          width=\"24\"\n                          height=\"24\"\n                          viewBox=\"0 0 24 24\"\n                          fill=\"none\"\n                          stroke=\"currentColor\"\n                          stroke-width=\"2\"\n                          stroke-linecap=\"round\"\n                          stroke-linejoin=\"round\"\n                        >\n                          <path d=\"M18 6 6 18\" />\n                          <path d=\"m6 6 12 12\" />\n                        </svg>\n                      </span>\n                    }\n                    {{ rule.label }}\n                  </li>\n                }\n              </ul>\n            </div>\n          }\n        </div>\n      }\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPasswordPresetComponent<T> extends InputBaseComponent<T> {\n  valid = true;\n  focus = signal(false);\n  value = signal('');\n\n  private patterns = [\n    {\n      key: 'min-length',\n      label: 'Minimum number of characters is 6.',\n      test: (v: string) => v.length >= 6,\n    },\n    {\n      key: 'lowercase',\n      label: 'Should contain lowercase.',\n      test: (v: string) => /[a-z]/.test(v),\n    },\n    {\n      key: 'uppercase',\n      label: 'Should contain uppercase.',\n      test: (v: string) => /[A-Z]/.test(v),\n    },\n    {\n      key: 'numbers',\n      label: 'Should contain numbers.',\n      test: (v: string) => /[0-9]/.test(v),\n    },\n    {\n      key: 'special-characters',\n      label: 'Should contain special characters.',\n      test: (v: string) => /[^a-zA-Z0-9]/.test(v),\n    },\n  ];\n\n  bars = [0, 1, 2, 3, 4];\n\n  rules = computed(() => {\n    const v = this.value();\n    return this.patterns.map((p) => ({\n      key: p.key,\n      label: p.label,\n      passed: p.test(v),\n    }));\n  });\n\n  passedCount = computed(() => this.rules().filter((r) => r.passed).length);\n\n  accepted = computed(() => this.passedCount() === this.patterns.length);\n\n  levelText = computed(\n    () =>\n      ['Empty', 'Weak', 'Medium', 'Strong', 'Very Strong', 'Super Strong'][\n        this.passedCount()\n      ],\n  );\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:mb-2',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-md',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  constructor() {\n    super();\n\n    effect(() => {\n      const accepted = this.accepted();\n      if (!this.control) return;\n      if (!this.fieldOptions()?.possibilities?.strength) return;\n      this.onChangePasswordStrength(accepted);\n    });\n  }\n\n  barClasses(index: number): string {\n    const base = [\n      'smart:h-2',\n      'smart:flex-auto',\n      'smart:rounded-full',\n      'smart:mx-1',\n    ];\n    if (index >= this.passedCount()) {\n      return [\n        ...base,\n        'smart:bg-gray-200',\n        'smart:dark:bg-gray-700',\n        'smart:opacity-50',\n      ].join(' ');\n    }\n    if (this.accepted()) {\n      return [...base, 'smart:bg-teal-500', 'smart:opacity-100'].join(' ');\n    }\n    return [\n      ...base,\n      'smart:bg-blue-600',\n      'smart:dark:bg-blue-500',\n      'smart:opacity-100',\n    ].join(' ');\n  }\n\n  ruleClasses(passed: boolean): string {\n    const base = ['smart:flex', 'smart:items-center', 'smart:gap-x-2'];\n    if (passed) {\n      return [...base, 'smart:text-teal-500'].join(' ');\n    }\n    return base.join(' ');\n  }\n\n  onInput(event: Event) {\n    this.value.set((event.target as HTMLInputElement).value);\n  }\n\n  override afterSetOptionsHandler() {\n    this.value.set((this.control?.value as string) ?? '');\n\n    this.control.addValidators(() => {\n      if (!this.valid) {\n        return {\n          passwordStrength: true,\n        };\n      }\n\n      return null;\n    });\n\n    this.control.updateValueAndValidity({ onlySelf: true });\n  }\n\n  onChangePasswordStrength(valid: boolean) {\n    this.valid = valid;\n    if (this.valid) {\n      if (this.control.errors?.['passwordStrength']) {\n        this.control.setErrors(\n          Object.keys(this.control.errors).length === 1\n            ? null\n            : { ...this.control.errors, passwordStrength: null },\n        );\n      }\n    } else {\n      const errors = this.control.errors\n        ? { ...this.control.errors, passwordStrength: true }\n        : { passwordStrength: true };\n      this.control.setErrors(errors);\n    }\n\n    this.control.updateValueAndValidity({ onlySelf: true });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { ButtonComponent } from '../../../button';\nimport { InputFileBaseComponent } from '../../base/file.component';\n\n@Component({\n  selector: 'smart-input-pdf-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <!-- Preline-style drop zone (Angular-driven, no Dropzone/Preline JS) -->\n        <div\n          [class]=\"dropZoneClasses()\"\n          role=\"button\"\n          tabindex=\"0\"\n          [attr.aria-disabled]=\"loading() ? true : null\"\n          (click)=\"triggerUpload()\"\n          (keydown.enter)=\"triggerUpload()\"\n          (keydown.space)=\"triggerUpload(); $event.preventDefault()\"\n          (dragover)=\"onDragOver($event)\"\n          (dragleave)=\"onDragLeave($event)\"\n          (drop)=\"onDrop($event)\"\n        >\n          <div class=\"smart:text-center\">\n            <span\n              class=\"smart:inline-flex smart:justify-center smart:items-center smart:size-12 smart:text-gray-500 smart:dark:text-gray-400\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-8\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path\n                  d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"\n                />\n                <path d=\"M14 2v4a2 2 0 0 0 2 2h4\" />\n                <path d=\"M9 15v-2h1a1 1 0 0 1 0 2Z\" />\n              </svg>\n            </span>\n\n            <div\n              class=\"smart:mt-2 smart:flex smart:flex-wrap smart:justify-center smart:text-sm/6 smart:text-gray-500 smart:dark:text-gray-400\"\n            >\n              <span\n                class=\"smart:pe-1 smart:font-medium smart:text-gray-900 smart:dark:text-white\"\n              >\n                {{ 'INPUT.dropFileHereOr' | translate }}\n              </span>\n              <span\n                class=\"smart:font-semibold smart:text-blue-600 smart:dark:text-blue-400 smart:hover:text-blue-700 smart:dark:hover:text-blue-300 smart:underline\"\n              >\n                {{ 'browse' | translate }}\n              </span>\n            </div>\n          </div>\n        </div>\n\n        @if (control.value) {\n          <div [class]=\"previewClasses()\">\n            <span\n              class=\"smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:truncate\"\n            >\n              {{ control.value.fileName }}\n            </span>\n            <div\n              class=\"smart:flex smart:items-center smart:gap-x-2 smart:flex-wrap\"\n            >\n              <smart-button [options]=\"showButtonOptions\">\n                {{ 'show' | translate }}\n              </smart-button>\n              <smart-button [options]=\"deleteButtonOptions\">\n                {{ 'delete' | translate }}\n              </smart-button>\n            </div>\n          </div>\n        }\n\n        @if (loading()) {\n          <div\n            class=\"smart:flex smart:w-full smart:h-2 smart:bg-gray-100 smart:dark:bg-gray-800 smart:rounded-full smart:overflow-hidden\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-blue-600 smart:dark:bg-blue-500 smart:transition-all smart:duration-500\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n\n        <input type=\"file\" accept=\".pdf\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPdfPresetComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  dragOver = signal(false);\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:flex-col',\n      'smart:gap-y-2',\n      'smart:w-full',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  dropZoneClasses = computed(() => {\n    const classes = [\n      'smart:cursor-pointer',\n      'smart:p-8',\n      'smart:flex',\n      'smart:justify-center',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-dashed',\n      'smart:rounded-xl',\n      'smart:transition-colors',\n      'smart:focus:outline-none',\n      'smart:focus:ring-2',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n    ];\n    if (this.dragOver()) {\n      classes.push(\n        'smart:border-blue-600',\n        'smart:dark:border-blue-500',\n        'smart:bg-blue-50',\n        'smart:dark:bg-gray-700',\n      );\n    } else {\n      classes.push('smart:border-gray-300', 'smart:dark:border-gray-600');\n    }\n    return classes.join(' ');\n  });\n\n  previewClasses = computed(() =>\n    [\n      'smart:p-3',\n      'smart:flex',\n      'smart:justify-between',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:flex-wrap',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-xl',\n    ].join(' '),\n  );\n\n  protected triggerUpload(): void {\n    this.addButtonOptions.click?.();\n  }\n\n  protected onDragOver(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(true);\n  }\n\n  protected onDragLeave(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(false);\n  }\n\n  protected onDrop(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(false);\n\n    const input = this.inputElementRef()?.nativeElement as\n      | HTMLInputElement\n      | undefined;\n    const files = event.dataTransfer?.files;\n    if (!input || !files || files.length === 0) return;\n\n    // Hand the dropped files to the hidden <input> and reuse the base 'change' wiring.\n    input.files = files;\n    this.control.markAsDirty();\n    this.control.markAsTouched();\n    input.dispatchEvent(new Event('change'));\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { PeselService } from '@smartsoft001/utils';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-pesel-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"text\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPeselPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:mb-2',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  override afterSetOptionsHandler() {\n    const validators = this.control.validator ? [this.control.validator] : [];\n\n    validators.push((c) => {\n      if (c.value && PeselService.isInvalid(c.value)) {\n        return {\n          invalidPesel: true,\n        };\n      }\n\n      return null;\n    });\n\n    this.control.setValidators(validators);\n\n    this.control.updateValueAndValidity();\n  }\n}\n","const INPUT_PHONE_NUMBER_PRESET_BASE = [\n  'smart:py-2.5',\n  'smart:sm:py-3',\n  'smart:px-4',\n  'smart:block',\n  'smart:w-full',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-lg',\n  'smart:sm:text-sm',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:placeholder:text-gray-500',\n  'smart:dark:placeholder:text-gray-400',\n  'smart:focus:border-blue-700',\n  'smart:dark:focus:border-blue-600',\n  'smart:focus:ring-1',\n  'smart:focus:ring-blue-700',\n  'smart:dark:focus:ring-blue-600',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst INPUT_PHONE_NUMBER_PRESET_LABEL = [\n  'smart:block',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:mb-2',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport function getInputPhoneNumberPresetClasses(cssClass: string): string {\n  return cssClass\n    ? `${INPUT_PHONE_NUMBER_PRESET_BASE} ${cssClass}`\n    : INPUT_PHONE_NUMBER_PRESET_BASE;\n}\n\nexport function getInputPhoneNumberPresetLabelClasses(): string {\n  return INPUT_PHONE_NUMBER_PRESET_LABEL;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\nimport {\n  getInputPhoneNumberPresetClasses,\n  getInputPhoneNumberPresetLabelClasses,\n} from './preset-classes.util';\n\n@Component({\n  selector: 'smart-input-phone-number-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"tel\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPhoneNumberPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() => getInputPhoneNumberPresetLabelClasses());\n\n  inputClasses = computed(() =>\n    getInputPhoneNumberPresetClasses(this.cssClass()),\n  );\n}\n","const INPUT_PHONE_NUMBER_PL_PRESET_BASE = [\n  'smart:py-2.5',\n  'smart:sm:py-3',\n  'smart:ps-12',\n  'smart:pe-4',\n  'smart:block',\n  'smart:w-full',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-lg',\n  'smart:sm:text-sm',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:placeholder:text-gray-500',\n  'smart:dark:placeholder:text-gray-400',\n  'smart:focus:border-blue-700',\n  'smart:dark:focus:border-blue-600',\n  'smart:focus:ring-1',\n  'smart:focus:ring-blue-700',\n  'smart:dark:focus:ring-blue-600',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst INPUT_PHONE_NUMBER_PL_PRESET_LABEL = [\n  'smart:block',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:mb-2',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst INPUT_PHONE_NUMBER_PL_PRESET_WRAPPER = 'smart:relative';\n\nconst INPUT_PHONE_NUMBER_PL_PRESET_PREFIX = [\n  'smart:absolute',\n  'smart:inset-y-0',\n  'smart:start-0',\n  'smart:flex',\n  'smart:items-center',\n  'smart:pointer-events-none',\n  'smart:z-20',\n  'smart:ps-4',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport function getInputPhoneNumberPlPresetClasses(cssClass: string): string {\n  return cssClass\n    ? `${INPUT_PHONE_NUMBER_PL_PRESET_BASE} ${cssClass}`\n    : INPUT_PHONE_NUMBER_PL_PRESET_BASE;\n}\n\nexport function getInputPhoneNumberPlPresetLabelClasses(): string {\n  return INPUT_PHONE_NUMBER_PL_PRESET_LABEL;\n}\n\nexport function getInputPhoneNumberPlPresetWrapperClasses(): string {\n  return INPUT_PHONE_NUMBER_PL_PRESET_WRAPPER;\n}\n\nexport function getInputPhoneNumberPlPresetPrefixClasses(): string {\n  return INPUT_PHONE_NUMBER_PL_PRESET_PREFIX;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule, Validators } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\nimport {\n  getInputPhoneNumberPlPresetClasses,\n  getInputPhoneNumberPlPresetLabelClasses,\n  getInputPhoneNumberPlPresetPrefixClasses,\n  getInputPhoneNumberPlPresetWrapperClasses,\n} from './preset-classes.util';\n\n@Component({\n  selector: 'smart-input-phone-number-pl-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"wrapperClasses()\">\n        <div [class]=\"prefixClasses()\" data-role=\"phone-prefix\">+48</div>\n        <input\n          type=\"tel\"\n          [formControl]=\"formControl\"\n          [class]=\"inputClasses()\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n        />\n      </div>\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputPhoneNumberPlPresetComponent<\n  T,\n> extends InputBaseComponent<T> {\n  labelClasses = computed(() => getInputPhoneNumberPlPresetLabelClasses());\n\n  wrapperClasses = computed(() => getInputPhoneNumberPlPresetWrapperClasses());\n\n  prefixClasses = computed(() => getInputPhoneNumberPlPresetPrefixClasses());\n\n  inputClasses = computed(() =>\n    getInputPhoneNumberPlPresetClasses(this.cssClass()),\n  );\n\n  override afterSetOptionsHandler() {\n    const validators = this.control.validator ? [this.control.validator] : [];\n\n    validators.push(Validators.minLength(9));\n    validators.push(Validators.maxLength(9));\n\n    this.control.setValidators(validators);\n\n    this.control.updateValueAndValidity();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputPossibilitiesBaseComponent } from '../../base/possibilities.component';\n\n@Component({\n  selector: 'smart-input-radio-preset',\n  template: `\n    @if (control) {\n      <fieldset>\n        <legend [class]=\"legendClasses()\">\n          {{\n            control?.parent?.value\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : internalOptions?.model?.constructor\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ms-0.5\">*</span>\n          }\n        </legend>\n        <div [class]=\"groupClasses()\">\n          @for (item of possibilities(); track item.id; let i = $index) {\n            <div class=\"smart:flex smart:items-center\">\n              <input\n                type=\"radio\"\n                [name]=\"internalOptions.fieldKey\"\n                [value]=\"item.id\"\n                [formControl]=\"formControl\"\n                [class]=\"radioClasses()\"\n                [attr.autofocus]=\"\n                  i === 0 && fieldOptions()?.focused ? true : null\n                \"\n              />\n              <label [class]=\"itemLabelClasses()\">{{\n                item.text | translate\n              }}</label>\n            </div>\n          }\n        </div>\n      </fieldset>\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule, TranslatePipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputRadioPresetComponent<\n  T,\n> extends InputPossibilitiesBaseComponent<T> {\n  legendClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:flex-col',\n      'smart:gap-y-3',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  radioClasses = computed(() =>\n    [\n      'smart:shrink-0',\n      'smart:size-4',\n      'smart:bg-transparent',\n      'smart:border-gray-300',\n      'smart:dark:border-gray-600',\n      'smart:rounded-full',\n      'smart:shadow-2xs',\n      'smart:text-blue-600',\n      'smart:dark:text-blue-400',\n      'smart:focus:ring-0',\n      'smart:focus:ring-offset-0',\n      'smart:checked:bg-blue-700',\n      'smart:dark:checked:bg-blue-600',\n      'smart:checked:border-blue-700',\n      'smart:dark:checked:border-blue-600',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  itemLabelClasses = computed(() =>\n    [\n      'smart:text-sm',\n      'smart:ms-3',\n      'smart:text-gray-500',\n      'smart:dark:text-gray-400',\n    ].join(' '),\n  );\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule, UntypedFormControl } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-strings-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        @if (values.length) {\n          <div class=\"smart:flex smart:flex-wrap smart:gap-2\" data-role=\"chips\">\n            @for (value of values; track $index) {\n              <span [class]=\"chipClasses()\" data-role=\"chip\">\n                {{ value }}\n                <button\n                  type=\"button\"\n                  [class]=\"removeClasses()\"\n                  (click)=\"removeValue($index)\"\n                  [attr.aria-label]=\"'remove' | translate\"\n                  data-role=\"remove\"\n                >\n                  <span aria-hidden=\"true\">×</span>\n                </button>\n              </span>\n            }\n          </div>\n        }\n        <input\n          type=\"text\"\n          [formControl]=\"addControl\"\n          [placeholder]=\"('add' | translate) + '...'\"\n          [class]=\"inputClasses()\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n          (keydown.enter)=\"addValue($event)\"\n          (blur)=\"addValue()\"\n          data-role=\"add-input\"\n        />\n      </div>\n    }\n  `,\n  imports: [ReactiveFormsModule, TranslatePipe, ModelLabelPipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n})\nexport class InputStringsPresetComponent<T> extends InputBaseComponent<T> {\n  values: string[] = [];\n  addControl = new UntypedFormControl('');\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm',\n      'smart:font-medium',\n      'smart:mb-2',\n      'smart:text-gray-800',\n      'smart:dark:text-gray-200',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = ['smart:space-y-2'];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  // Preline \"soft\" badge chip look (gray).\n  chipClasses = computed(() =>\n    [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:gap-x-1.5',\n      'smart:py-1.5',\n      'smart:px-3',\n      'smart:rounded-full',\n      'smart:text-xs',\n      'smart:font-medium',\n      'smart:bg-gray-100',\n      'smart:text-gray-800',\n      'smart:dark:bg-gray-500/20',\n      'smart:dark:text-gray-300',\n    ].join(' '),\n  );\n\n  removeClasses = computed(() =>\n    [\n      'smart:group',\n      'smart:relative',\n      'smart:-mr-1',\n      'smart:ml-0.5',\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:justify-center',\n      'smart:size-4',\n      'smart:rounded-full',\n      'smart:leading-none',\n      'smart:text-gray-500',\n      'smart:dark:text-gray-400',\n      'smart:hover:bg-black/10',\n      'smart:dark:hover:bg-white/20',\n    ].join(' '),\n  );\n\n  inputClasses = computed(() =>\n    [\n      'smart:py-2.5',\n      'smart:sm:py-3',\n      'smart:px-4',\n      'smart:block',\n      'smart:w-full',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-lg',\n      'smart:sm:text-sm',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n      'smart:placeholder:text-gray-500',\n      'smart:dark:placeholder:text-gray-400',\n      'smart:focus:border-blue-600',\n      'smart:dark:focus:border-blue-500',\n      'smart:focus:ring-1',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ].join(' '),\n  );\n\n  override afterSetOptionsHandler() {\n    const value = this.control.value;\n    this.values = Array.isArray(value) ? [...value] : [];\n    this.cd.detectChanges();\n  }\n\n  addValue(event?: Event): void {\n    // Prevent the Enter key from submitting the surrounding form.\n    event?.preventDefault();\n\n    const raw = (this.addControl.value ?? '').trim();\n    if (!raw) return;\n\n    this.values.push(raw);\n    this.addControl.setValue('');\n    this.sync();\n  }\n\n  removeValue(index: number): void {\n    if (index < 0 || index >= this.values.length) return;\n    this.values.splice(index, 1);\n    this.sync();\n  }\n\n  private sync(): void {\n    this.control.markAsTouched();\n    this.control.markAsDirty();\n    this.control.setValue([...this.values]);\n    this.cd.detectChanges();\n  }\n}\n","const INPUT_TEXT_PRESET_BASE = [\n  'smart:py-2.5',\n  'smart:sm:py-3',\n  'smart:px-4',\n  'smart:block',\n  'smart:w-full',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-lg',\n  'smart:sm:text-sm',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:placeholder:text-gray-500',\n  'smart:dark:placeholder:text-gray-400',\n  'smart:focus:border-blue-700',\n  'smart:dark:focus:border-blue-600',\n  'smart:focus:ring-1',\n  'smart:focus:ring-blue-700',\n  'smart:dark:focus:ring-blue-600',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst INPUT_TEXT_PRESET_LABEL = [\n  'smart:block',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:mb-2',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport function getInputTextPresetClasses(cssClass: string): string {\n  return cssClass\n    ? `${INPUT_TEXT_PRESET_BASE} ${cssClass}`\n    : INPUT_TEXT_PRESET_BASE;\n}\n\nexport function getInputTextPresetLabelClasses(): string {\n  return INPUT_TEXT_PRESET_LABEL;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n  computed,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\nimport {\n  getInputTextPresetClasses,\n  getInputTextPresetLabelClasses,\n} from './preset-classes.util';\n\n@Component({\n  selector: 'smart-input-text-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <input\n        type=\"text\"\n        [formControl]=\"formControl\"\n        [class]=\"inputClasses()\"\n        [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n      />\n    }\n  `,\n  imports: [ReactiveFormsModule, ModelLabelPipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputTextPresetComponent<T> extends InputBaseComponent<T> {\n  labelClasses = computed(() => getInputTextPresetLabelClasses());\n\n  inputClasses = computed(() => getInputTextPresetClasses(this.cssClass()));\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnInit,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { delay, tap } from 'rxjs/operators';\n\nimport { IButtonOptions } from '../../../../models';\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { ButtonComponent } from '../../../button';\nimport { InputFileBaseComponent } from '../../base/file.component';\n\n@Component({\n  selector: 'smart-input-video-preset',\n  template: `\n    @if (control) {\n      <label [class]=\"labelClasses()\" data-role=\"label\">\n        {{\n          control?.parent?.value\n            | smartModelLabel\n              : internalOptions.fieldKey\n              : internalOptions?.model?.constructor\n        }}\n        @if (required) {\n          <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n        }\n      </label>\n      <div [class]=\"groupClasses()\">\n        <!-- Preline-style drop zone (Angular-driven, no Dropzone/Preline JS) -->\n        <div\n          [class]=\"dropZoneClasses()\"\n          role=\"button\"\n          tabindex=\"0\"\n          [attr.aria-disabled]=\"loading() ? true : null\"\n          (click)=\"triggerUpload()\"\n          (keydown.enter)=\"triggerUpload()\"\n          (keydown.space)=\"triggerUpload(); $event.preventDefault()\"\n          (dragover)=\"onDragOver($event)\"\n          (dragleave)=\"onDragLeave($event)\"\n          (drop)=\"onDrop($event)\"\n        >\n          <div class=\"smart:text-center\">\n            <span\n              class=\"smart:inline-flex smart:justify-center smart:items-center smart:size-12 smart:text-gray-500 smart:dark:text-gray-400\"\n            >\n              <svg\n                class=\"smart:shrink-0 smart:size-8\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              >\n                <path d=\"m22 8-6 4 6 4V8Z\" />\n                <rect width=\"14\" height=\"12\" x=\"2\" y=\"6\" rx=\"2\" ry=\"2\" />\n              </svg>\n            </span>\n\n            <div\n              class=\"smart:mt-2 smart:flex smart:flex-wrap smart:justify-center smart:text-sm/6 smart:text-gray-500 smart:dark:text-gray-400\"\n            >\n              <span\n                class=\"smart:pe-1 smart:font-medium smart:text-gray-900 smart:dark:text-white\"\n              >\n                {{ 'INPUT.dropFileHereOr' | translate }}\n              </span>\n              <span\n                class=\"smart:font-semibold smart:text-blue-600 smart:dark:text-blue-400 smart:hover:text-blue-700 smart:dark:hover:text-blue-300 smart:underline\"\n              >\n                {{ 'browse' | translate }}\n              </span>\n            </div>\n          </div>\n        </div>\n\n        @if (control.value) {\n          <div [class]=\"previewClasses()\">\n            <span\n              class=\"smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:truncate\"\n            >\n              {{ control.value.fileName }}\n            </span>\n            <div\n              class=\"smart:flex smart:items-center smart:gap-x-2 smart:flex-wrap\"\n            >\n              @if (!play) {\n                <smart-button [options]=\"playButtonOptions\">\n                  {{ 'play' | translate }}\n                </smart-button>\n              }\n              <smart-button [options]=\"deleteButtonOptions\">\n                {{ 'delete' | translate }}\n              </smart-button>\n            </div>\n          </div>\n        }\n\n        @if (loading()) {\n          <div\n            class=\"smart:flex smart:w-full smart:h-2 smart:bg-gray-100 smart:dark:bg-gray-800 smart:rounded-full smart:overflow-hidden\"\n          >\n            <div\n              class=\"smart:h-full smart:bg-blue-600 smart:dark:bg-blue-500 smart:transition-all smart:duration-500\"\n              [style.width.%]=\"percent() ?? 0\"\n            ></div>\n          </div>\n        }\n\n        @if (url && play) {\n          <video\n            class=\"smart:w-full smart:rounded-xl smart:border smart:border-gray-200 smart:dark:border-gray-700\"\n            controls\n            controlsList=\"nodownload\"\n          >\n            <source type=\"video/mp4\" [src]=\"url\" />\n          </video>\n        }\n\n        <input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj />\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, TranslatePipe, ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputVideoPresetComponent<T>\n  extends InputFileBaseComponent<T>\n  implements OnInit\n{\n  url!: string | null;\n  play!: boolean;\n  dragOver = signal(false);\n\n  playButtonOptions: IButtonOptions = {\n    click: () => {\n      this.play = true;\n    },\n    loading: this.loading,\n    variant: 'secondary',\n    color: 'gray',\n  };\n\n  labelClasses = computed(() =>\n    [\n      'smart:block',\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  groupClasses = computed(() => {\n    const classes = [\n      'smart:mt-2',\n      'smart:flex',\n      'smart:flex-col',\n      'smart:gap-y-2',\n      'smart:w-full',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  dropZoneClasses = computed(() => {\n    const classes = [\n      'smart:cursor-pointer',\n      'smart:p-8',\n      'smart:flex',\n      'smart:justify-center',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-dashed',\n      'smart:rounded-xl',\n      'smart:transition-colors',\n      'smart:focus:outline-none',\n      'smart:focus:ring-2',\n      'smart:focus:ring-blue-600',\n      'smart:dark:focus:ring-blue-500',\n    ];\n    if (this.dragOver()) {\n      classes.push(\n        'smart:border-blue-600',\n        'smart:dark:border-blue-500',\n        'smart:bg-blue-50',\n        'smart:dark:bg-gray-700',\n      );\n    } else {\n      classes.push('smart:border-gray-300', 'smart:dark:border-gray-600');\n    }\n    return classes.join(' ');\n  });\n\n  previewClasses = computed(() =>\n    [\n      'smart:p-3',\n      'smart:flex',\n      'smart:justify-between',\n      'smart:items-center',\n      'smart:gap-x-3',\n      'smart:flex-wrap',\n      'smart:bg-white',\n      'smart:dark:bg-gray-800',\n      'smart:border',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-xl',\n    ].join(' '),\n  );\n\n  protected override afterSetOptionsHandler() {\n    this.control.valueChanges\n      .pipe(\n        tap(() => {\n          this.url = null;\n          this.play = false;\n          this.cd.detectChanges();\n        }),\n        delay(5000),\n        this.takeUntilDestroy,\n      )\n      .subscribe((value) => {\n        if (!value?.id) return;\n\n        this.url = this.fileService.getUrl(value.id);\n\n        this.cd.detectChanges();\n      });\n  }\n\n  protected triggerUpload(): void {\n    this.addButtonOptions.click?.();\n  }\n\n  protected onDragOver(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(true);\n  }\n\n  protected onDragLeave(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(false);\n  }\n\n  protected onDrop(event: DragEvent): void {\n    event.preventDefault();\n    this.dragOver.set(false);\n\n    const input = this.inputElementRef()?.nativeElement as\n      | HTMLInputElement\n      | undefined;\n    const files = event.dataTransfer?.files;\n    if (!input || !files || files.length === 0) return;\n\n    // Hand the dropped files to the hidden <input> and reuse the base 'change' wiring.\n    input.files = files;\n    this.control.markAsDirty();\n    this.control.markAsTouched();\n    input.dispatchEvent(new Event('change'));\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModelLabelPipe } from '../../../../pipes';\nimport { InputBaseComponent } from '../../base/base.component';\n\n@Component({\n  selector: 'smart-input-flag-preset',\n  template: `\n    @if (control) {\n      <div [class]=\"groupClasses()\" data-role=\"flag-group\">\n        <input\n          type=\"checkbox\"\n          [formControl]=\"formControl\"\n          [class]=\"inputClasses()\"\n          [attr.autofocus]=\"fieldOptions()?.focused ? true : null\"\n          data-role=\"checkbox\"\n        />\n        <label [class]=\"labelClasses()\" data-role=\"label\">\n          {{\n            control?.parent?.value\n              | smartModelLabel\n                : internalOptions.fieldKey\n                : internalOptions?.model?.constructor\n          }}\n          @if (required) {\n            <span class=\"smart:text-red-500 smart:ml-0.5\">*</span>\n          }\n        </label>\n      </div>\n    }\n  `,\n  imports: [ModelLabelPipe, ReactiveFormsModule],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputFlagPresetComponent<T> extends InputBaseComponent<T> {\n  groupClasses = computed(() =>\n    ['smart:mt-2', 'smart:flex', 'smart:items-center', 'smart:gap-x-2'].join(\n      ' ',\n    ),\n  );\n\n  labelClasses = computed(() =>\n    [\n      'smart:text-sm/6',\n      'smart:font-medium',\n      'smart:text-gray-900',\n      'smart:dark:text-white',\n    ].join(' '),\n  );\n\n  // Preline \"Default checkbox\" look translated to smart:-prefixed vanilla\n  // Tailwind with explicit dark: variants.\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:shrink-0',\n      'smart:size-4',\n      'smart:bg-transparent',\n      'smart:border-gray-200',\n      'smart:dark:border-gray-700',\n      'smart:rounded-sm',\n      'smart:shadow-2xs',\n      'smart:text-blue-600',\n      'smart:dark:text-blue-400',\n      'smart:focus:ring-0',\n      'smart:focus:ring-offset-0',\n      'smart:checked:bg-blue-700',\n      'smart:dark:checked:bg-blue-600',\n      'smart:checked:border-blue-700',\n      'smart:dark:checked:border-blue-600',\n      'smart:disabled:opacity-50',\n      'smart:disabled:pointer-events-none',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n}\n","import { Type } from '@angular/core';\n\nimport { FieldType, FieldTypeDef } from '@smartsoft001/models';\n\nimport { InputAddressPresetComponent } from './address/preset/preset.component';\nimport { InputArrayPresetComponent } from './array/preset/preset.component';\nimport { InputAttachmentPresetComponent } from './attachment/preset/preset.component';\nimport { InputBaseComponent } from './base/base.component';\nimport { InputCheckPresetComponent } from './check/preset/preset.component';\nimport { InputColorPresetComponent } from './color/preset/preset.component';\nimport { InputCurrencyPresetComponent } from './currency/preset/preset.component';\nimport { InputDatePresetComponent } from './date/preset/preset.component';\nimport { InputDateRangePresetComponent } from './date-range/preset/preset.component';\nimport { InputDateWithEditPresetComponent } from './date-with-edit/preset/preset.component';\nimport { InputEmailPresetComponent } from './email/preset/preset.component';\nimport { InputEnumPresetComponent } from './enum/preset/preset.component';\nimport { InputFilePresetComponent } from './file/preset/preset.component';\nimport { InputFlagPresetComponent } from './flag/preset/preset.component';\nimport { InputFloatPresetComponent } from './float/preset/preset.component';\nimport { InputImagePresetComponent } from './image/preset/preset.component';\nimport { InputIntPresetComponent } from './int/preset/preset.component';\nimport { InputIntsPresetComponent } from './ints/preset/preset.component';\nimport { InputLogoPresetComponent } from './logo/preset/preset.component';\nimport { InputLongTextPresetComponent } from './long-text/preset/preset.component';\nimport { InputNipPresetComponent } from './nip/preset/preset.component';\nimport { InputObjectPresetComponent } from './object/preset/preset.component';\nimport { InputPasswordPresetComponent } from './password/preset/preset.component';\nimport { InputPdfPresetComponent } from './pdf/preset/preset.component';\nimport { InputPeselPresetComponent } from './pesel/preset/preset.component';\nimport { InputPhoneNumberPresetComponent } from './phone-number/preset/preset.component';\nimport { InputPhoneNumberPlPresetComponent } from './phone-number-pl/preset/preset.component';\nimport { InputRadioPresetComponent } from './radio/preset/preset.component';\nimport { InputStringsPresetComponent } from './strings/preset/preset.component';\nimport { InputTextPresetComponent } from './text/preset/preset.component';\nimport { InputVideoPresetComponent } from './video/preset/preset.component';\n\n/**\n * Complete map of the Preline-styled input field presets (FRA-226), keyed by\n * `FieldType`. Provide it for `INPUT_FIELD_COMPONENTS_TOKEN` to render every\n * `<smart-input>` with the Preline look:\n *\n * ```ts\n * providers: [\n *   { provide: INPUT_FIELD_COMPONENTS_TOKEN, useValue: INPUT_PRESET_FIELD_COMPONENTS },\n * ];\n * ```\n *\n * Spread it to override only some types, e.g.\n * `{ ...INPUT_PRESET_FIELD_COMPONENTS, [FieldType.text]: MyText }`.\n *\n * Note: the validation-message preset `InputErrorPresetComponent` is not a\n * `FieldType` and is therefore not part of this map (use its selector directly).\n */\nexport const INPUT_PRESET_FIELD_COMPONENTS: Partial<\n  Record<FieldTypeDef, Type<InputBaseComponent<unknown>>>\n> = {\n  [FieldType.text]: InputTextPresetComponent,\n  [FieldType.longText]: InputLongTextPresetComponent,\n  [FieldType.email]: InputEmailPresetComponent,\n  [FieldType.currency]: InputCurrencyPresetComponent,\n  [FieldType.int]: InputIntPresetComponent,\n  [FieldType.ints]: InputIntsPresetComponent,\n  [FieldType.float]: InputFloatPresetComponent,\n  [FieldType.nip]: InputNipPresetComponent,\n  [FieldType.pesel]: InputPeselPresetComponent,\n  [FieldType.phoneNumber]: InputPhoneNumberPresetComponent,\n  [FieldType.phoneNumberPl]: InputPhoneNumberPlPresetComponent,\n  [FieldType.password]: InputPasswordPresetComponent,\n  [FieldType.enum]: InputEnumPresetComponent,\n  [FieldType.radio]: InputRadioPresetComponent,\n  [FieldType.check]: InputCheckPresetComponent,\n  [FieldType.strings]: InputStringsPresetComponent,\n  [FieldType.date]: InputDatePresetComponent,\n  [FieldType.dateRange]: InputDateRangePresetComponent,\n  [FieldType.dateWithEdit]: InputDateWithEditPresetComponent,\n  [FieldType.file]: InputFilePresetComponent,\n  [FieldType.attachment]: InputAttachmentPresetComponent,\n  [FieldType.image]: InputImagePresetComponent,\n  [FieldType.logo]: InputLogoPresetComponent,\n  [FieldType.color]: InputColorPresetComponent,\n  [FieldType.object]: InputObjectPresetComponent,\n  [FieldType.address]: InputAddressPresetComponent,\n  [FieldType.flag]: InputFlagPresetComponent,\n  [FieldType.pdf]: InputPdfPresetComponent,\n  [FieldType.video]: InputVideoPresetComponent,\n  [FieldType.array]: InputArrayPresetComponent,\n};\n","import {\n  Directive,\n  Type,\n  ChangeDetectorRef,\n  ViewContainerRef,\n  input,\n  InputSignal,\n  effect,\n  output,\n  viewChild,\n  inject,\n  WritableSignal,\n} from '@angular/core';\nimport { UntypedFormControl, UntypedFormGroup } from '@angular/forms';\nimport { Subscription } from 'rxjs';\nimport { delay } from 'rxjs/operators';\n\nimport { DynamicComponentType, IFormOptions } from '../../../models';\nimport { BaseComponent } from '../../base';\nimport { InputBaseComponent } from '../../input';\n\n@Directive()\nexport abstract class FormBaseComponent<T> extends BaseComponent {\n  protected cd = inject(ChangeDetectorRef);\n  static smartType: DynamicComponentType = 'form';\n\n  private _fields!: Array<string>;\n  private _subscription!: Subscription;\n  private _model: any;\n  private _possibilities!: {\n    [key: string]: WritableSignal<\n      { id: any; text: string; checked: boolean }[]\n    >;\n  };\n  private _inputComponents!: { [key: string]: Type<InputBaseComponent<T>> };\n\n  mode!: string;\n  treeLevel!: number | undefined;\n\n  get fields(): Array<string> {\n    return this._fields;\n  }\n\n  get model(): any {\n    return this._model;\n  }\n\n  get possibilities(): {\n    [key: string]: WritableSignal<\n      { id: any; text: string; checked: boolean }[]\n    >;\n  } {\n    return this._possibilities;\n  }\n\n  get inputComponents(): { [key: string]: Type<InputBaseComponent<T>> } {\n    return this._inputComponents;\n  }\n\n  form = input.required<UntypedFormGroup>();\n  options = input.required<IFormOptions<T>>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  invokeSubmit = output<any>();\n\n  contentTpl = viewChild<ViewContainerRef | undefined>(ViewContainerRef);\n\n  constructor() {\n    super();\n\n    effect(() => {\n      if (this._subscription) {\n        this._subscription.unsubscribe();\n      }\n\n      this._subscription = new Subscription();\n\n      this._fields = Object.keys(this.form().controls);\n\n      this._subscription.add(\n        this.form()\n          .valueChanges.pipe(delay(0))\n          .subscribe(() => {\n            this.cd.detectChanges();\n          }),\n      );\n\n      this.afterSetForm();\n    });\n\n    effect(() => {\n      const options = this.options();\n      this._model = options.model;\n      this.mode = options?.mode ?? '';\n      this._possibilities = options.possibilities ?? {};\n      this._inputComponents = options.inputComponents ?? {};\n\n      this.treeLevel = options.treeLevel;\n\n      this.afterSetOptions();\n    });\n  }\n\n  submit(): void {\n    this.invokeSubmit.emit(this.form().value);\n  }\n\n  protected afterSetOptions() {\n    // No base functionality\n  }\n\n  protected afterSetForm() {\n    // No base functionality\n  }\n\n  getUntypedFormControl(field: string) {\n    return this.form().controls[field] as UntypedFormControl;\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { InputComponent } from '../../input';\nimport { FormBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-form-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [InputComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormStandardComponent<T> extends FormBaseComponent<T> {\n  containerClasses = computed(() => {\n    const classes: string[] = [\n      'smart:space-y-4',\n      'smart:divide-y',\n      'smart:divide-gray-100',\n      'smart:dark:divide-white/10',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  get__smartDisabled(field: string) {\n    return (this.form().controls[field] as any)['__smartDisabled'];\n  }\n}\n","<div [class]=\"containerClasses()\">\n  @for (field of fields; track field) {\n    @if (form().controls[field] && !get__smartDisabled(field)) {\n      <div class=\"smart:py-2\">\n        <smart-input\n          [options]=\"{\n            treeLevel: treeLevel ?? 0,\n            fieldKey: field,\n            control: getUntypedFormControl(field),\n            model: model,\n            mode: mode,\n            possibilities: possibilities[field],\n            component: inputComponents[field],\n          }\"\n        ></smart-input>\n      </div>\n    }\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  ChangeDetectorRef,\n  Component,\n  computed,\n  effect,\n  ElementRef,\n  inject,\n  input,\n  OnDestroy,\n  output,\n  signal,\n  Type,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport { getModelOptions } from '@smartsoft001/models';\nimport { ObjectService } from '@smartsoft001/utils';\n\nimport { FormFactory } from '../../factories';\nimport { IFormOptions } from '../../models';\nimport { MODEL_EXPORT_PROVIDER } from '../../providers';\nimport { MODEL_IMPORT_PROVIDER } from '../../providers';\nimport { SmartFormGroup } from '../../services';\nimport { FORM_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\n// TODO: ExportComponent moved to @smartsoft001-pro/angular (FRA-113)\n// import { ExportDefaultComponent } from '../export';\n// TODO: ImportComponent moved to @smartsoft001-pro/angular (FRA-116)\n// import { ImportComponent } from '../import';\nimport { FormStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-form',\n  template: `\n    <!-- TODO: Export/Import moved to @smartsoft001-pro/angular (FRA-113, FRA-116) -->\n    <!--@if (export || import) {\n      <div style=\"text-align: right\">\n        @if (export) {\n          <smart-export\n            [value]=\"options()?.control?.value\"\n            [handler]=\"exportHandler\"\n          ></smart-export>\n        }\n        @if (import) {\n          <smart-import\n            (set)=\"onSetValue($event)\"\n            [accept]=\"importAccept\"\n          ></smart-import>\n        }\n      </div>\n    }-->\n    @if (form; as currentForm) {\n      <form\n        [formGroup]=\"currentForm\"\n        (ngSubmit)=\"invokeSubmit.emit(currentForm.value)\"\n        (keyup.enter)=\"invokeSubmit.emit(currentForm.value)\"\n      >\n        @if (componentType()) {\n          <ng-container\n            *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n          />\n        } @else {\n          <smart-form-standard\n            [options]=\"options()\"\n            [form]=\"currentForm\"\n            [class]=\"cssClass()\"\n          ></smart-form-standard>\n        }\n      </form>\n    }\n  `,\n  imports: [ReactiveFormsModule, FormStandardComponent, NgComponentOutlet],\n  encapsulation: ViewEncapsulation.None,\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormComponent<T> implements OnDestroy {\n  public exportProvider = inject(MODEL_EXPORT_PROVIDER, { optional: true });\n  public importProvider = inject(MODEL_IMPORT_PROVIDER, { optional: true });\n  private formFactory = inject(FormFactory);\n  private cd = inject(ChangeDetectorRef);\n  private elementRef = inject(ElementRef);\n  private injectedComponent = inject(FORM_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  private _options!: IFormOptions<T>;\n  private _subscription = new Subscription();\n  private _formSubscription = new Subscription();\n  private _mode!: 'create' | 'update' | string;\n  private _uniqueProvider!: (values: Record<keyof T, any>) => Promise<boolean>;\n  // Counts the builds started so far, so a build that settles after a newer\n  // one has already won can recognise itself as stale and step aside.\n  private _build = 0;\n\n  // The group lives in a signal: the body is rendered through\n  // `componentInputs()`, and a plain field would leave that computed - and so\n  // the rendered inputs - bound to the group of the previous build.\n  private readonly _form = signal<SmartFormGroup | undefined>(undefined);\n\n  get form(): SmartFormGroup | undefined {\n    return this._form();\n  }\n\n  export!: boolean;\n  exportHandler!: (val: any) => void;\n  import!: boolean;\n  importAccept!: string | undefined;\n\n  options = input.required<IFormOptions<T>>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  invokeSubmit = output<T>();\n  valueChange = output<T>();\n  valuePartialChange = output<Partial<T>>();\n  validChange = output<boolean>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      form: this.form,\n      class: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    // Only invokeSubmit comes from the rendered body: the value/valid outputs\n    // are driven by the wrapper's own form group subscription.\n    forwardOutletOutputs(this.outlet, { invokeSubmit: this.invokeSubmit });\n\n    effect(() => {\n      const options = this.options();\n      if (!options) return;\n\n      if (!options.treeLevel) options.treeLevel = 1;\n      (this.elementRef.nativeElement as HTMLElement).setAttribute(\n        'tree-level',\n        options.treeLevel.toString(),\n      );\n\n      this._options = options;\n\n      this.initLoading();\n      this.initExportImport();\n\n      this._mode = options?.mode ?? 'create';\n      if (options?.uniqueProvider) {\n        this._uniqueProvider = options.uniqueProvider;\n      }\n\n      const build = ++this._build;\n\n      if (options.control) {\n        this._form.set(options.control as SmartFormGroup);\n        this.registerChanges(options.control as SmartFormGroup);\n        this.cd.detectChanges();\n      } else {\n        this.formFactory\n          .create(this._options.model, {\n            mode: this._mode,\n            uniqueProvider: this._uniqueProvider as (\n              values: Record<string, any>,\n            ) => Promise<boolean>,\n          })\n          .then((res) => {\n            if (build !== this._build) return;\n\n            this._form.set(res);\n            this.registerChanges(res);\n            this.cd.detectChanges();\n          });\n      }\n    });\n  }\n\n  async onSetValue(file: File): Promise<void> {\n    const result = await this.importProvider?.convert(\n      (this._options.model as any).constructor as Type<any>,\n      file,\n    );\n\n    this._options.model = ObjectService.createByType(\n      result,\n      (this.options().model as any).constructor,\n    );\n\n    this.formFactory\n      .create(this._options.model, {\n        mode: this._mode,\n        uniqueProvider: this._uniqueProvider as (\n          values: Record<string, any>,\n        ) => Promise<boolean>,\n      })\n      .then((res) => {\n        const current = this.form;\n        if (!current) return;\n\n        current.setForm(res);\n        this.registerChanges(current);\n        this.cd.detectChanges();\n      });\n  }\n\n  ngOnDestroy(): void {\n    this._subscription.unsubscribe();\n    this._formSubscription.unsubscribe();\n  }\n\n  private initLoading(): void {\n    if (this._options.loading$) {\n      this._subscription.add(\n        this._options.loading$\n          .pipe(filter(() => !!this.form))\n          .subscribe((val) => {\n            if (val) {\n              this.form?.disable();\n            } else {\n              this.form?.enable();\n            }\n          }),\n      );\n    }\n  }\n\n  private registerChanges(form: SmartFormGroup): void {\n    // Only the group currently rendered may emit, so the previous\n    // subscription goes away before the new one is created.\n    this._formSubscription.unsubscribe();\n    this._formSubscription = new Subscription();\n\n    this._formSubscription.add(\n      form.valueChanges.subscribe(() => {\n        this.validChange.emit(form.valid);\n        this.valueChange.emit(form.value);\n\n        const partialModel = {} as Partial<T>;\n        Object.keys(form.controls)\n          .filter((key) => !key.endsWith('Confirm') && form.controls[key].dirty)\n          .forEach((key: string) => {\n            (partialModel as any)[key] = form.controls[key].value;\n          });\n\n        this.valuePartialChange.emit(partialModel);\n      }),\n    );\n\n    form.updateValueAndValidity();\n  }\n\n  private async initExportImport() {\n    const modelOptions = getModelOptions(\n      (this._options.model as any).constructor,\n    );\n    if (modelOptions.export && !this.exportProvider) {\n      console.error('exportProvider is not provided');\n    }\n\n    if (modelOptions.import && !this.importProvider) {\n      console.error('importProvider is not provided');\n    }\n\n    this.export = (modelOptions?.export ?? false) && !!this.exportProvider;\n    this.import = (modelOptions?.import ?? false) && !!this.importProvider;\n\n    if (this.import) {\n      this.importAccept = await this.importProvider?.getAccept(\n        (this._options.model as any).constructor as Type<any>,\n      );\n      if (this.importProvider) this.cd.detectChanges();\n    }\n\n    if (this.export) {\n      this.exportHandler = (val) => {\n        this.exportProvider?.execute(\n          (this._options.model as any).constructor as Type<any>,\n          val,\n        );\n      };\n    }\n\n    this.cd.detectChanges();\n  }\n}\n","/**\n * Class recipes for the styled form variation (preset).\n *\n * The preset only restyles the form *shell* — the vertical rhythm of the form\n * and the spacing around each field row. Field internals are rendered by\n * `<smart-input>` (and its own presets), so nothing here touches inputs.\n */\n\n/** Vertical rhythm applied to the form root that wraps every field row. */\nexport function getFormShellClasses(): string {\n  return 'smart:space-y-5';\n}\n\n/** Consistent spacing applied to each per-field wrapper. */\nexport function getFormFieldClasses(): string {\n  return 'smart:space-y-1.5';\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { InputComponent } from '../../input';\nimport { FormStandardComponent } from '../standard/standard.component';\nimport {\n  getFormFieldClasses,\n  getFormShellClasses,\n} from './preset-classes.util';\n\n/**\n * Styled form variation (preset).\n *\n * A minimal restyle of `FormStandardComponent`: the field iteration, statuses\n * and every inherited behaviour (FormFactory effect, submit-on-enter,\n * value/valid/partial outputs on the wrapper) are reused unchanged — only the\n * shell is re-spaced. The form root gets a vertical rhythm and each field row a\n * `data-role=\"field\"` wrapper. Field *internals* are intentionally left to the\n * `<smart-input>` presets; register `INPUT_FIELD_COMPONENTS_TOKEN` with\n * `INPUT_PRESET_FIELD_COMPONENTS` alongside this to restyle them.\n *\n * Drop-in replacement for `FormStandardComponent`: register it through\n * `FORM_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-form>`, or use\n * `<smart-form-preset>` directly.\n */\n@Component({\n  selector: 'smart-form-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [InputComponent],\n})\nexport class FormPresetComponent<T> extends FormStandardComponent<T> {\n  // NgComponentOutlet in FormComponent forwards inputs including the `'class'`\n  // key, so the inherited `class` alias on `cssClass` must be kept (do NOT\n  // override cssClass here).\n  protected readonly fieldClasses = getFormFieldClasses();\n\n  override containerClasses = computed(() => {\n    const extra = this.cssClass();\n    return `${getFormShellClasses()} ${extra}`.trim();\n  });\n}\n","<div [class]=\"containerClasses()\" data-role=\"form\">\n  @for (field of fields; track field) {\n    @if (form().controls[field] && !get__smartDisabled(field)) {\n      <div [class]=\"fieldClasses\" data-role=\"field\" [attr.data-key]=\"field\">\n        <smart-input\n          [options]=\"{\n            treeLevel: treeLevel ?? 0,\n            fieldKey: field,\n            control: getUntypedFormControl(field),\n            model: model,\n            mode: mode,\n            possibilities: possibilities[field],\n            component: inputComponents[field],\n          }\"\n        ></smart-input>\n      </div>\n    }\n  }\n</div>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IGridListOptions } from '../../../models';\n\n@Directive()\nexport abstract class GridListBaseComponent {\n  static smartType: DynamicComponentType = 'grid-list';\n\n  options: InputSignal<IGridListOptions | undefined> =\n    input<IGridListOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { GridListBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-grid-list-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class GridListStandardComponent extends GridListBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"grid-list\">\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if ((options()?.items ?? []).length > 0) {\n      <ul role=\"list\">\n        @for (item of options()!.items!; track item.id ?? $index) {\n          <li class=\"item\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n            @if (item.iconTpl) {\n              <span class=\"icon\">\n                <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n              </span>\n            } @else if (item.imageUrl) {\n              <img\n                class=\"image\"\n                [src]=\"item.imageUrl\"\n                [attr.alt]=\"item.imageAlt ?? ''\"\n              />\n            }\n            <div class=\"body\">\n              @if (item.href) {\n                <a class=\"title\" [attr.href]=\"item.href\">{{ item.title }}</a>\n              } @else {\n                <span class=\"title\">{{ item.title }}</span>\n              }\n              @if (item.description) {\n                <span class=\"description\">{{ item.description }}</span>\n              }\n            </div>\n            @if (item.badgeTpl) {\n              <span class=\"badge\">\n                <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n              </span>\n            }\n            @if (item.actionTpl) {\n              <span class=\"action\">\n                <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n              </span>\n            }\n          </li>\n        }\n      </ul>\n    } @else if (options()?.emptyTpl) {\n      <div class=\"empty\">\n        <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n      </div>\n    }\n    @if (options()?.footerTpl) {\n      <div class=\"footer\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","import {\n  IGridListOptions,\n  SmartGridListColumns,\n  SmartGridListLayout,\n} from '../../../models';\n\n/** Base grid container — one column, styling widened by column/gap maps. */\nexport const GRID_LIST_CONTAINER = 'smart:grid smart:grid-cols-1';\n\n/** Card/tile shell shared by every layout. */\nexport const GRID_LIST_TILE =\n  'smart:rounded-xl smart:border smart:border-gray-200 smart:bg-white smart:p-4 smart:shadow-2xs smart:dark:border-gray-700 smart:dark:bg-gray-800';\n\n/**\n * Responsive column map. The container is always single-column on mobile; from\n * `sm` upward it opens to two columns, and from `lg` upward to the requested\n * count. One column (or unset) keeps the mobile default only.\n */\nexport function getGridListColumnsClasses(\n  columns?: SmartGridListColumns,\n): string {\n  switch (columns) {\n    case 2:\n      return 'smart:sm:grid-cols-2';\n    case 3:\n      return 'smart:sm:grid-cols-2 smart:lg:grid-cols-3';\n    case 4:\n      return 'smart:sm:grid-cols-2 smart:lg:grid-cols-4';\n    case 5:\n      return 'smart:sm:grid-cols-2 smart:lg:grid-cols-5';\n    case 6:\n      return 'smart:sm:grid-cols-2 smart:lg:grid-cols-6';\n    case 1:\n    default:\n      return '';\n  }\n}\n\n/** Gap map — defaults to the medium gap. */\nexport function getGridListGapClasses(gap?: 'sm' | 'md' | 'lg'): string {\n  switch (gap) {\n    case 'sm':\n      return 'smart:gap-3';\n    case 'lg':\n      return 'smart:gap-6';\n    case 'md':\n    default:\n      return 'smart:gap-4';\n  }\n}\n\n/** Full grid container class from the options (base + columns + gap). */\nexport function getGridListGridClasses(options?: IGridListOptions): string {\n  return [\n    GRID_LIST_CONTAINER,\n    getGridListColumnsClasses(options?.columns),\n    getGridListGapClasses(options?.gap),\n  ]\n    .filter(Boolean)\n    .join(' ');\n}\n\n/**\n * Tile shell plus the interior arrangement driven by `layout`:\n * - `cards` (default): media stacked on top of the body (column).\n * - `horizontal`: media inline to the left of the body (row).\n * - `logos`: centered column, logo above a centered caption.\n */\nexport function getGridListTileClasses(layout?: SmartGridListLayout): string {\n  switch (layout) {\n    case 'horizontal':\n      return `${GRID_LIST_TILE} smart:flex smart:items-center smart:gap-4`;\n    case 'logos':\n      return `${GRID_LIST_TILE} smart:flex smart:flex-col smart:items-center smart:gap-3 smart:text-center`;\n    case 'cards':\n    default:\n      return `${GRID_LIST_TILE} smart:flex smart:flex-col smart:gap-3`;\n  }\n}\n\n/** Media (image) sizing — logos are contained, others are square thumbnails. */\nexport function getGridListMediaClasses(layout?: SmartGridListLayout): string {\n  if (layout === 'logos') {\n    return 'smart:h-10 smart:w-auto smart:object-contain';\n  }\n  return 'smart:size-12 smart:shrink-0 smart:rounded-lg smart:object-cover';\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IGridListItem, SmartGridListLayout } from '../../../models';\nimport { GridListStandardComponent } from '../standard/standard.component';\nimport {\n  getGridListGridClasses,\n  getGridListMediaClasses,\n  getGridListTileClasses,\n} from './preset-classes.util';\n\n/**\n * Styled grid-list variation (preset).\n *\n * Drop-in replacement for `GridListStandardComponent` — register it through\n * `GRID_LIST_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-grid-list>`, or\n * use the `<smart-grid-list-preset>` selector directly.\n *\n * Renders a responsive card grid: an optional title/description header above the\n * grid, one bordered tile per item whose interior arrangement follows `layout`\n * (media on top for `cards`, inline row for `horizontal`, centered logo for\n * `logos`), a title (link when `href` is set) with an optional badge beside it,\n * a description, and an action slot in the tile footer. Shows the `emptyTpl` (or\n * a centered default) when there are no items, plus a `footerTpl` zone below the\n * grid.\n */\n@Component({\n  selector: 'smart-grid-list-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class GridListPresetComponent extends GridListStandardComponent {\n  // NgComponentOutlet (used by GridListComponent when this is registered through\n  // GRID_LIST_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected title = computed(() => this.options()?.title);\n  protected description = computed(() => this.options()?.description);\n  protected items = computed<IGridListItem[]>(\n    () => this.options()?.items ?? [],\n  );\n  protected layout = computed<SmartGridListLayout>(\n    () => this.options()?.layout ?? 'cards',\n  );\n  protected emptyTpl = computed(() => this.options()?.emptyTpl);\n  protected footerTpl = computed(() => this.options()?.footerTpl);\n\n  protected rootClasses = computed(() =>\n    `smart:w-full ${this.cssClass()}`.trim(),\n  );\n  protected gridClasses = computed(() =>\n    getGridListGridClasses(this.options()),\n  );\n  protected tileClasses = computed(() => getGridListTileClasses(this.layout()));\n  protected mediaImageClasses = computed(() =>\n    getGridListMediaClasses(this.layout()),\n  );\n\n  protected readonly headerClasses = 'smart:mb-4';\n  protected readonly headerTitleClasses =\n    'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n  protected readonly headerDescriptionClasses =\n    'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n  protected readonly iconClasses =\n    'smart:inline-flex smart:size-12 smart:shrink-0 smart:items-center smart:justify-center smart:rounded-lg smart:bg-gray-100 smart:text-gray-600 smart:dark:bg-gray-700 smart:dark:text-gray-300';\n  protected readonly bodyClasses = 'smart:min-w-0';\n  protected readonly titleRowClasses =\n    'smart:flex smart:items-center smart:gap-2';\n  protected readonly titleClasses =\n    'smart:font-medium smart:text-gray-900 smart:dark:text-white';\n  protected readonly titleLinkClasses =\n    'smart:font-medium smart:text-gray-900 smart:hover:text-blue-600 smart:dark:text-white smart:dark:hover:text-blue-500';\n  protected readonly descriptionClasses =\n    'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n  protected readonly badgeClasses = 'smart:shrink-0';\n  protected readonly actionClasses =\n    'smart:mt-3 smart:border-t smart:border-gray-100 smart:pt-3 smart:dark:border-gray-700';\n  protected readonly emptyClasses =\n    'smart:py-12 smart:text-center smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n  protected readonly footerClasses = 'smart:mt-4';\n}\n","<div [class]=\"rootClasses()\">\n  @if (title() || description()) {\n    <div [class]=\"headerClasses\" data-role=\"header\">\n      @if (title()) {\n        <h3 [class]=\"headerTitleClasses\">{{ title() }}</h3>\n      }\n      @if (description()) {\n        <p [class]=\"headerDescriptionClasses\">{{ description() }}</p>\n      }\n    </div>\n  }\n\n  @if (items().length > 0) {\n    <div [class]=\"gridClasses()\" data-role=\"grid\" role=\"list\">\n      @for (item of items(); track item.id ?? $index) {\n        <div\n          [class]=\"tileClasses()\"\n          data-role=\"item\"\n          role=\"listitem\"\n          [attr.aria-label]=\"item.ariaLabel ?? null\"\n        >\n          @if (item.iconTpl) {\n            <span [class]=\"iconClasses\" data-role=\"media\">\n              <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n            </span>\n          } @else if (item.imageUrl) {\n            <span data-role=\"media\">\n              <img\n                [class]=\"mediaImageClasses()\"\n                [src]=\"item.imageUrl\"\n                [attr.alt]=\"item.imageAlt ?? ''\"\n              />\n            </span>\n          }\n\n          <div [class]=\"bodyClasses\">\n            <div [class]=\"titleRowClasses\">\n              @if (item.href) {\n                <a\n                  [class]=\"titleLinkClasses\"\n                  [attr.href]=\"item.href\"\n                  data-role=\"title\"\n                  >{{ item.title }}</a\n                >\n              } @else {\n                <span [class]=\"titleClasses\" data-role=\"title\">{{\n                  item.title\n                }}</span>\n              }\n              @if (item.badgeTpl) {\n                <span [class]=\"badgeClasses\" data-role=\"badge\">\n                  <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n                </span>\n              }\n            </div>\n            @if (item.description) {\n              <p [class]=\"descriptionClasses\" data-role=\"description\">\n                {{ item.description }}\n              </p>\n            }\n          </div>\n\n          @if (item.actionTpl) {\n            <div [class]=\"actionClasses\" data-role=\"action\">\n              <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n            </div>\n          }\n        </div>\n      }\n    </div>\n  } @else {\n    <div [class]=\"emptyClasses\" data-role=\"empty\">\n      @if (emptyTpl()) {\n        <ng-container [ngTemplateOutlet]=\"emptyTpl()!\" />\n      } @else {\n        No items to display.\n      }\n    </div>\n  }\n\n  @if (footerTpl()) {\n    <div [class]=\"footerClasses\" data-role=\"footer\">\n      <ng-container [ngTemplateOutlet]=\"footerTpl()!\" />\n    </div>\n  }\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IGridListOptions } from '../../models';\nimport { GRID_LIST_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { GridListStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-grid-list',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-grid-list-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [GridListStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GridListComponent {\n  private injectedComponent = inject(GRID_LIST_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IGridListOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { Directive, input, output } from '@angular/core';\n\n@Directive()\nexport abstract class ImportBaseComponent {\n  accept = input<string | undefined>('application/json');\n  cssClass = input<string>('', { alias: 'class' });\n\n  set = output<File>();\n\n  onFileSelected(event: Event): void {\n    const inputEl = event.target as HTMLInputElement;\n    const file: File | null = inputEl.files?.[0] ?? null;\n\n    inputEl.value = '';\n\n    if (file) {\n      this.set.emit(file);\n    } else {\n      throw Error('ImportBaseComponent: File not found');\n    }\n  }\n\n  triggerFileInput(inputEl: HTMLInputElement): void {\n    inputEl.click();\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  viewChild,\n  ElementRef,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ButtonComponent } from '../button';\nimport { ImportBaseComponent } from './base/base.component';\n\n@Component({\n  selector: 'smart-import',\n  template: `\n    <span [class]=\"cssClass()\">\n      <smart-button [options]=\"buttonOptions\">\n        <svg\n          xmlns=\"http://www.w3.org/2000/svg\"\n          viewBox=\"0 0 20 20\"\n          fill=\"currentColor\"\n          class=\"smart:size-5\"\n        >\n          <path\n            d=\"M9.25 13.25a.75.75 0 0 0 1.5 0V4.636l2.955 3.129a.75.75 0 0 0 1.09-1.03l-4.25-4.5a.75.75 0 0 0-1.09 0l-4.25 4.5a.75.75 0 1 0 1.09 1.03L9.25 4.636v8.614Z\"\n          />\n          <path\n            d=\"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z\"\n          />\n        </svg>\n      </smart-button>\n      <input\n        type=\"file\"\n        [accept]=\"accept() ?? 'application/json'\"\n        [hidden]=\"true\"\n        (change)=\"onFileSelected($event)\"\n        #fileInput\n      />\n    </span>\n  `,\n  imports: [ButtonComponent],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ImportComponent extends ImportBaseComponent {\n  fileInputRef = viewChild<ElementRef>('fileInput');\n\n  buttonOptions = {\n    click: () => {\n      const inputEl = this.fileInputRef()?.nativeElement as HTMLInputElement;\n      if (inputEl) {\n        this.triggerFileInput(inputEl);\n      }\n    },\n  };\n}\n","import { computed, Directive, input, output } from '@angular/core';\n\nexport type PagingVariant = 'card-footer' | 'centered' | 'simple';\n\n@Directive()\nexport abstract class PagingBaseComponent {\n  readonly currentPage = input<number>(1);\n  readonly totalPages = input<number>(1);\n  readonly pageSize = input<number>(10);\n  readonly totalItems = input<number>(0);\n  /**\n   * Layout variant: `'card-footer'` (results summary alongside the nav),\n   * `'centered'` or `'simple'`. Purely visual, styled by the preset\n   * (`PagingPresetComponent`); the standard component only exposes it as a\n   * `data-variant` attribute on its `<nav>`. Forwarded by `<smart-paging>`.\n   */\n  readonly variant = input<PagingVariant>('card-footer');\n  readonly cssClass = input<string>('', { alias: 'class' });\n\n  readonly pageChange = output<number>();\n\n  readonly showingFrom = computed(() =>\n    this.totalItems() === 0\n      ? 0\n      : (this.currentPage() - 1) * this.pageSize() + 1,\n  );\n\n  readonly showingTo = computed(() =>\n    Math.min(this.currentPage() * this.pageSize(), this.totalItems()),\n  );\n\n  readonly canGoBack = computed(() => this.currentPage() > 1);\n\n  readonly canGoForward = computed(\n    () => this.currentPage() < this.totalPages(),\n  );\n\n  readonly pages = computed<(number | '...')[]>(() => {\n    const total = this.totalPages();\n    const current = this.currentPage();\n\n    if (total <= 7) {\n      return Array.from({ length: total }, (_, i) => i + 1);\n    }\n\n    const result: (number | '...')[] = [];\n    const nearby = new Set<number>();\n\n    nearby.add(1);\n    nearby.add(total);\n    nearby.add(current);\n    if (current - 1 >= 1) nearby.add(current - 1);\n    if (current + 1 <= total) nearby.add(current + 1);\n\n    const sorted = [...nearby].sort((a, b) => a - b);\n\n    for (let i = 0; i < sorted.length; i++) {\n      if (i > 0 && sorted[i] - sorted[i - 1] > 1) {\n        result.push('...');\n      }\n      result.push(sorted[i]);\n    }\n\n    return result;\n  });\n\n  goToPage(page: number): void {\n    if (page < 1 || page > this.totalPages()) {\n      return;\n    }\n    this.pageChange.emit(page);\n  }\n\n  nextPage(): void {\n    if (this.canGoForward()) {\n      this.goToPage(this.currentPage() + 1);\n    }\n  }\n\n  previousPage(): void {\n    if (this.canGoBack()) {\n      this.goToPage(this.currentPage() - 1);\n    }\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { PagingBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-paging-standard',\n  template: `\n    <nav\n      aria-label=\"Pagination\"\n      [class]=\"wrapperClasses()\"\n      [attr.data-variant]=\"variant()\"\n    >\n      <button\n        type=\"button\"\n        [disabled]=\"!canGoBack()\"\n        (click)=\"previousPage()\"\n        class=\"smart:inline-flex smart:items-center smart:rounded-md smart:border smart:border-gray-300 smart:bg-white smart:px-3 smart:py-1.5 smart:text-sm smart:font-medium smart:text-gray-700 smart:hover:bg-gray-50 smart:disabled:opacity-50 smart:disabled:cursor-not-allowed smart:dark:border-white/10 smart:dark:bg-white/5 smart:dark:text-gray-200 smart:dark:hover:bg-white/10\"\n      >\n        {{ 'prev' | translate }}\n      </button>\n\n      <div class=\"smart:inline-flex smart:items-center smart:gap-1\">\n        @for (page of pages(); track $index) {\n          @if (page === '...') {\n            <span\n              class=\"smart:px-2 smart:py-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400\"\n              >...</span\n            >\n          } @else {\n            <button\n              type=\"button\"\n              (click)=\"goToPage(+page)\"\n              [attr.aria-current]=\"page === currentPage() ? 'page' : null\"\n              [class]=\"\n                page === currentPage()\n                  ? 'smart:inline-flex smart:items-center smart:rounded-md smart:bg-indigo-600 smart:px-3 smart:py-1.5 smart:text-sm smart:font-semibold smart:text-white smart:dark:bg-indigo-500'\n                  : 'smart:inline-flex smart:items-center smart:rounded-md smart:px-3 smart:py-1.5 smart:text-sm smart:font-medium smart:text-gray-700 smart:hover:bg-gray-50 smart:dark:text-gray-200 smart:dark:hover:bg-white/10'\n              \"\n            >\n              {{ page }}\n            </button>\n          }\n        }\n      </div>\n\n      <button\n        type=\"button\"\n        [disabled]=\"!canGoForward()\"\n        (click)=\"nextPage()\"\n        class=\"smart:inline-flex smart:items-center smart:rounded-md smart:border smart:border-gray-300 smart:bg-white smart:px-3 smart:py-1.5 smart:text-sm smart:font-medium smart:text-gray-700 smart:hover:bg-gray-50 smart:disabled:opacity-50 smart:disabled:cursor-not-allowed smart:dark:border-white/10 smart:dark:bg-white/5 smart:dark:text-gray-200 smart:dark:hover:bg-white/10\"\n      >\n        {{ 'next' | translate }}\n      </button>\n    </nav>\n  `,\n  imports: [TranslatePipe],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PagingStandardComponent extends PagingBaseComponent {\n  readonly wrapperClasses = computed(() => {\n    const base =\n      'smart:flex smart:items-center smart:justify-between smart:gap-2 smart:py-3';\n    const extra = this.cssClass();\n    return extra ? `${base} ${extra}` : base;\n  });\n}\n","import { PagingVariant } from '../base/base.component';\n\nexport type SmartPagingPresetVariant = PagingVariant;\n\nconst NAV_BASE = ['smart:flex', 'smart:items-center', 'smart:gap-x-1'].join(\n  ' ',\n);\n\nconst CONTAINER_BY_VARIANT: Record<SmartPagingPresetVariant, string> = {\n  'card-footer':\n    'smart:flex smart:flex-col smart:gap-3 smart:items-center smart:justify-between smart:sm:flex-row',\n  centered: 'smart:flex smart:justify-center',\n  simple: 'smart:flex',\n};\n\nconst NAV_BY_VARIANT: Record<SmartPagingPresetVariant, string> = {\n  'card-footer': NAV_BASE,\n  centered: `${NAV_BASE} smart:justify-center`,\n  simple: NAV_BASE,\n};\n\nconst NAV_BUTTON = [\n  'smart:min-h-9.5',\n  'smart:min-w-9.5',\n  'smart:py-2',\n  'smart:px-2.5',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-1.5',\n  'smart:text-sm',\n  'smart:rounded-lg',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:outline-none',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst PAGE_LIST = ['smart:flex', 'smart:items-center', 'smart:gap-x-1'].join(\n  ' ',\n);\n\nconst PAGE_BASE = [\n  'smart:min-h-9.5',\n  'smart:min-w-9.5',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:py-2',\n  'smart:px-3',\n  'smart:text-sm',\n  'smart:rounded-lg',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\n// A solid accent fill rather than Preline's gray-100 chip. The inactive state\n// below uses gray-100 for hover/focus, so a gray-100 active chip was\n// indistinguishable from simply hovering any other page — and on a white\n// surface it was barely visible at all (1.06:1). This matches how\n// progress-bars and vertical-navigation already signal \"current\".\nconst PAGE_ACTIVE = [\n  'smart:bg-blue-600',\n  'smart:dark:bg-blue-500',\n  'smart:text-white',\n  'smart:dark:text-white',\n  'smart:font-semibold',\n].join(' ');\n\nconst PAGE_INACTIVE = [\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\nexport const PAGING_ELLIPSIS_CLASSES = [\n  'smart:min-h-9.5',\n  'smart:min-w-9.5',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:py-2',\n  'smart:px-3',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const PAGING_RESULTS_CLASSES = [\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const PAGING_PAGE_LIST_CLASSES = PAGE_LIST;\nexport const PAGING_NAV_BUTTON_CLASSES = NAV_BUTTON;\n\nexport function getPagingContainerClasses(\n  variant: SmartPagingPresetVariant,\n): string {\n  return CONTAINER_BY_VARIANT[variant];\n}\n\nexport function getPagingNavClasses(variant: SmartPagingPresetVariant): string {\n  return NAV_BY_VARIANT[variant];\n}\n\nexport function getPagingPageClasses(active: boolean): string {\n  return `${PAGE_BASE} ${active ? PAGE_ACTIVE : PAGE_INACTIVE}`;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { PagingBaseComponent } from '../base/base.component';\nimport {\n  getPagingContainerClasses,\n  getPagingNavClasses,\n  getPagingPageClasses,\n  PAGING_ELLIPSIS_CLASSES,\n  PAGING_NAV_BUTTON_CLASSES,\n  PAGING_PAGE_LIST_CLASSES,\n  PAGING_RESULTS_CLASSES,\n} from './preset-classes.util';\n\n/**\n * Styled paging variation (preset).\n *\n * Drop-in replacement for `PagingStandardComponent` — register it through\n * `PAGING_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-paging>`, or use the\n * `<smart-paging-preset>` selector directly.\n *\n * Translates the Preline pagination examples into prefixed Tailwind classes and\n * drives page state through the inherited paging signals (`pages`, `canGoBack`,\n * `canGoForward`, `goToPage`, …) — no Preline JS runtime is required. The\n * `variant` input selects the layout: `card-footer` (results summary + nav),\n * `centered` and `simple`.\n */\n@Component({\n  selector: 'smart-paging-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PagingPresetComponent extends PagingBaseComponent {\n  protected readonly showResults = computed(\n    () => this.variant() === 'card-footer',\n  );\n\n  protected readonly containerClasses = computed(() => {\n    const base = getPagingContainerClasses(this.variant());\n    const extra = this.cssClass();\n    return extra ? `${base} ${extra}` : base;\n  });\n\n  protected readonly navClasses = computed(() =>\n    getPagingNavClasses(this.variant()),\n  );\n\n  protected readonly pageListClasses = PAGING_PAGE_LIST_CLASSES;\n  protected readonly navButtonClasses = PAGING_NAV_BUTTON_CLASSES;\n  protected readonly ellipsisClasses = PAGING_ELLIPSIS_CLASSES;\n  protected readonly resultsClasses = computed(() => PAGING_RESULTS_CLASSES);\n\n  protected pageClasses(page: number): string {\n    return getPagingPageClasses(page === this.currentPage());\n  }\n}\n","<div [class]=\"containerClasses()\">\n  @if (showResults()) {\n    <p [class]=\"resultsClasses()\">\n      Showing {{ showingFrom() }} to {{ showingTo() }} of {{ totalItems() }}\n      results\n    </p>\n  }\n\n  <nav aria-label=\"Pagination\" [class]=\"navClasses()\">\n    <button\n      type=\"button\"\n      aria-label=\"Previous\"\n      [class]=\"navButtonClasses\"\n      [disabled]=\"!canGoBack()\"\n      (click)=\"previousPage()\"\n    >\n      <svg\n        class=\"smart:shrink-0 smart:size-3.5\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width=\"24\"\n        height=\"24\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        stroke-width=\"2\"\n        stroke-linecap=\"round\"\n        stroke-linejoin=\"round\"\n        aria-hidden=\"true\"\n      >\n        <path d=\"m15 18-6-6 6-6\" />\n      </svg>\n      <span>Previous</span>\n    </button>\n\n    <div [class]=\"pageListClasses\">\n      @for (page of pages(); track $index) {\n        @if (page === '...') {\n          <span [class]=\"ellipsisClasses\">...</span>\n        } @else {\n          <button\n            type=\"button\"\n            data-role=\"page\"\n            [class]=\"pageClasses(+page)\"\n            [attr.aria-current]=\"page === currentPage() ? 'page' : null\"\n            (click)=\"goToPage(+page)\"\n          >\n            {{ page }}\n          </button>\n        }\n      }\n    </div>\n\n    <button\n      type=\"button\"\n      aria-label=\"Next\"\n      [class]=\"navButtonClasses\"\n      [disabled]=\"!canGoForward()\"\n      (click)=\"nextPage()\"\n    >\n      <span>Next</span>\n      <svg\n        class=\"smart:shrink-0 smart:size-3.5\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width=\"24\"\n        height=\"24\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        stroke-width=\"2\"\n        stroke-linecap=\"round\"\n        stroke-linejoin=\"round\"\n        aria-hidden=\"true\"\n      >\n        <path d=\"m9 18 6-6-6-6\" />\n      </svg>\n    </button>\n  </nav>\n</div>\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ComponentRef,\n  DestroyRef,\n  effect,\n  ElementRef,\n  inject,\n  input,\n  output,\n  ViewContainerRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\nimport {\n  outputToObservable,\n  takeUntilDestroyed,\n} from '@angular/core/rxjs-interop';\n\nimport { PAGING_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { PagingBaseComponent, PagingVariant } from './base/base.component';\nimport { PagingStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-paging',\n  template: `<ng-container #anchor></ng-container>`,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PagingComponent {\n  private readonly injectedComponent = inject(PAGING_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n  private readonly destroyRef = inject(DestroyRef);\n\n  private readonly anchor = viewChild.required('anchor', {\n    read: ViewContainerRef,\n  });\n\n  private componentRef: ComponentRef<PagingBaseComponent> | null = null;\n\n  readonly currentPage = input<number>(1);\n  readonly totalPages = input<number>(1);\n  readonly pageSize = input<number>(10);\n  readonly totalItems = input<number>(0);\n  /**\n   * Layout variant forwarded to the rendered paging component. Purely\n   * visual: styled by the preset, the standard only exposes it as\n   * `data-variant`.\n   */\n  readonly variant = input<PagingVariant>('card-footer');\n  readonly cssClass = input<string>('', { alias: 'class' });\n\n  readonly pageChange = output<number>();\n\n  constructor() {\n    effect(() => {\n      const target = this.injectedComponent ?? PagingStandardComponent;\n      const anchor = this.anchor();\n\n      if (!this.componentRef) {\n        anchor.clear();\n        this.componentRef = anchor.createComponent(target);\n        outputToObservable(this.componentRef.instance.pageChange)\n          .pipe(takeUntilDestroyed(this.destroyRef))\n          .subscribe((page) => this.pageChange.emit(page));\n      }\n\n      const host = this.componentRef.location as ElementRef<HTMLElement>;\n      host.nativeElement.setAttribute(\n        'data-smart-paging-host',\n        this.injectedComponent ? 'injected' : 'standard',\n      );\n\n      const inputs = outletInputs(target, {\n        currentPage: this.currentPage(),\n        totalPages: this.totalPages(),\n        pageSize: this.pageSize(),\n        totalItems: this.totalItems(),\n        variant: this.variant(),\n        cssClass: this.cssClass(),\n      });\n\n      for (const [name, value] of Object.entries(inputs)) {\n        this.componentRef.setInput(name, value);\n      }\n    });\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ElementRef,\n  inject,\n  input,\n  OnInit,\n  Signal,\n} from '@angular/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { DetailsComponent } from '../../components/details/details.component';\nimport {\n  IDetailsOptions,\n  IIconButtonOptions,\n  IPageOptions,\n} from '../../models';\nimport { ModalService, StyleService } from '../../services';\n\n/**\n * The details of `value` full width, with the application style\n * (`StyleService`) applied to its element. Open it in a modal with\n * `[smartDetails]=\"{ component: DetailsPage, params }\"` (or\n * `ModalService.show({ component: DetailsPage, props: { value } })`), which\n * passes `params` as `value`.\n *\n * `pageOptions()` gives the title and buttons for a page layout around it: a\n * `trash` button for `removeHandler` and an `arrow-forward-outline` button for\n * `itemHandler`, both closing the modal through `ModalService.dismiss()`. The\n * page layout itself moved out of the library (FRA-121), so the page does not\n * render them.\n */\n@Component({\n  templateUrl: './details.page.html',\n  imports: [DetailsComponent],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  styleUrls: ['./details.page.scss'],\n})\nexport class DetailsPage<T extends IEntity<string>> implements OnInit {\n  private modalService = inject(ModalService);\n  private styleService = inject(StyleService);\n  private elementRef = inject(ElementRef);\n\n  /** The details to show; `[smartDetails]` passes its `params` here. */\n  value = input<IDetailsOptions<T>>();\n\n  pageOptions: Signal<IPageOptions> = computed(() => {\n    const value = this.value();\n\n    return {\n      title: value?.title ? value.title : 'details',\n      hideMenuButton: true,\n      endButtons: this.getButtons(value),\n    };\n  });\n\n  ngOnInit(): void {\n    this.styleService.init(this.elementRef);\n  }\n\n  private getButtons(value?: IDetailsOptions<T>): IIconButtonOptions[] {\n    const buttons: IIconButtonOptions[] = [];\n\n    if (value?.removeHandler) {\n      buttons.push({\n        handler: () => {\n          const item = value.item?.();\n          if (item) value.removeHandler?.(item);\n          void this.modalService.dismiss();\n        },\n        icon: 'trash',\n      });\n    }\n\n    if (value?.itemHandler) {\n      buttons.push({\n        handler: () => {\n          const item = value.item?.();\n          if (item) value.itemHandler?.(item.id);\n          void this.modalService.dismiss();\n        },\n        icon: 'arrow-forward-outline',\n      });\n    }\n\n    return buttons;\n  }\n}\n","@if (value(); as options) {\n<smart-details [options]=\"options\"></smart-details>\n}\n","import { IListOptions } from '../../models';\n\n/** The sort a list shows: the column key and its direction. */\nexport interface IListSortState {\n  key: string;\n  desc: boolean;\n}\n\n/** What a sortable header passes to `provider.getData`. */\nexport interface IListSortFilter {\n  offset: 0;\n  sortBy: string;\n  sortDesc: boolean;\n}\n\n/**\n * The sort a list starts with: `sort.default` (descending with\n * `sort.defaultDesc`), `null` without a default.\n */\nexport function getListDefaultSort(\n  sort: IListOptions<unknown>['sort'],\n): IListSortState | null {\n  if (!sort || typeof sort !== 'object' || !sort.default) return null;\n\n  return { key: sort.default, desc: !!sort.defaultDesc };\n}\n\n/**\n * The sort after a click on the header of `key`: ascending for another\n * column, the opposite direction for the active one.\n */\nexport function getNextListSort(\n  current: IListSortState | null,\n  key: string,\n): IListSortState {\n  return { key, desc: current?.key === key ? !current.desc : false };\n}\n\n/**\n * Whether the column `key` can be sorted: every field column, not the\n * expanded `__array` columns of a `dynamic` field.\n */\nexport function isListSortableKey(key: string): boolean {\n  return !key.startsWith('__array.');\n}\n\n/** The `aria-sort` of the header of `key`: only the active one has it. */\nexport function getListAriaSort(\n  current: IListSortState | null,\n  key: string,\n): 'ascending' | 'descending' | null {\n  if (current?.key !== key) return null;\n\n  return current.desc ? 'descending' : 'ascending';\n}\n\n/** The arrow of a sortable header: `↑`, `↓`, or `↕` when it is not active. */\nexport function getListSortIndicator(\n  current: IListSortState | null,\n  key: string,\n): string {\n  if (current?.key !== key) return '↕';\n\n  return current.desc ? '↓' : '↑';\n}\n","import { CdkTableDataSourceInput } from '@angular/cdk/table';\nimport {\n  ChangeDetectorRef,\n  Directive,\n  ElementRef,\n  Injector,\n  Type,\n  ViewContainerRef,\n  inject,\n  Signal,\n  computed,\n  effect,\n  input,\n  InputSignal,\n  linkedSignal,\n  viewChild,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport {\n  FieldType,\n  IFieldListMetadata,\n  IFieldOptions,\n} from '@smartsoft001/models';\n\nimport { showDetailsModal } from '../../../directives/details/details-modal';\nimport {\n  IDetailsOptions,\n  IListProvider,\n  IButtonOptions,\n  ICellPipe,\n  DynamicComponentType,\n  PaginationMode,\n  IListInternalOptions,\n  IRemoveProvider,\n  IDetailsProvider,\n  IDetailsComponentFactories,\n} from '../../../models';\nimport { DetailsPage } from '../../../pages/details/details.page';\nimport { AlertService, HardwareService, ModalService } from '../../../services';\nimport { AuthService } from '../../../services';\nimport {\n  getListAriaSort,\n  getListDefaultSort,\n  getListSortIndicator,\n  getNextListSort,\n  IListSortFilter,\n  IListSortState,\n  isListSortableKey,\n} from '../list-sort';\n\n@Directive()\nexport abstract class ListBaseComponent<T extends IEntity<string>> {\n  static smartType: DynamicComponentType = 'list';\n\n  private _fields!: Array<{ key: string; options: IFieldOptions }>;\n\n  protected provider!: IListProvider<T>;\n  protected authService = inject(AuthService);\n  protected router = inject(Router);\n  protected alertService = inject(AlertService);\n  protected cd = inject(ChangeDetectorRef);\n  protected translateService = inject(TranslateService);\n  protected injector = inject(Injector);\n\n  private loadingNextPage = false;\n\n  detailsComponent: any;\n  selectMode?: 'multi';\n  detailsComponentProps!: IDetailsOptions<T>;\n  select!: (id: string) => void;\n  unselect!: () => void;\n  itemHandler: ((id: string) => void) | null = null;\n  removeHandler: ((item: T) => void) | null = null;\n  /**\n   * Opens the details of an item in a modal (`details` set): `DetailsPage`, or\n   * `details.component`, with `detailsComponentProps` as its `value`; `null`\n   * without `details`.\n   */\n  detailsHandler: ((item: T) => void) | null = null;\n  checkRemoveHandler!: (item: T) => boolean;\n  detailsButtonOptions: IButtonOptions;\n  removed: Set<string> = new Set<string>();\n  keys!: Array<string>;\n  cellPipe: ICellPipe<T> | null = null;\n  loadPrevPage: ((event?: any) => void) | null = null;\n  loadNextPage: ((event?: any) => void) | null = null;\n\n  list!: Signal<CdkTableDataSourceInput<T> | null>;\n  loading!: Signal<boolean>;\n  page!: Signal<number | null>;\n  totalPages!: Signal<number | null>;\n\n  FieldType = FieldType;\n  PaginationMode = PaginationMode;\n\n  type!: Type<T>;\n  sort!:\n    | boolean\n    | {\n        default?: string;\n        defaultDesc?: boolean;\n      };\n\n  options = input.required<IListInternalOptions<T>>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  contentTpl = viewChild<ViewContainerRef>('contentTpl');\n\n  /** Whether the column headers sort the list (`options.sort` set). */\n  sortable: Signal<boolean> = computed(() => !!this.options().sort);\n\n  /**\n   * The sort the headers show: `sort.default` / `sort.defaultDesc` at first,\n   * then the last header clicked. It starts over when `options.sort` changes.\n   */\n  activeSort = linkedSignal<\n    IListInternalOptions<T>['sort'],\n    IListSortState | null\n  >({\n    source: () => this.options().sort,\n    // The source runs again on every new options object; keep the clicked\n    // sort as long as the `sort` option itself is the same.\n    computation: (sort, previous) =>\n      previous && previous.source === sort\n        ? previous.value\n        : getListDefaultSort(sort),\n  });\n\n  /**\n   * `true` with `pagination.mode === PaginationMode.infiniteScroll` and a next\n   * page: the modes render the `#infiniteScrollAnchor` element after the\n   * items, and the next page loads when it scrolls into view.\n   */\n  infiniteScroll: Signal<boolean> = computed(() => {\n    const pagination = this.options().pagination;\n\n    return (\n      pagination?.mode === PaginationMode.infiniteScroll &&\n      (pagination.page?.() ?? 1) < (pagination.totalPages?.() ?? 0)\n    );\n  });\n\n  infiniteScrollAnchor = viewChild<ElementRef<HTMLElement>>(\n    'infiniteScrollAnchor',\n  );\n\n  constructor() {\n    effect(() => {\n      const options = this.options();\n      this._fields = options.fields ?? [];\n      this.provider = options.provider;\n      this.sort = options.sort ?? {};\n      this.cellPipe = options.cellPipe ?? null;\n      this.selectMode = options.select;\n      this.type = options.type;\n      this.initKeys();\n      this.initList(options);\n      this.initLoading();\n\n      const removeHandler = options.remove as {\n        provider?: IRemoveProvider<T>;\n      };\n\n      if (options.remove) {\n        if (removeHandler?.provider?.check) {\n          this.checkRemoveHandler = removeHandler.provider.check;\n        }\n        this.removeHandler = async (obj: T) => {\n          await this.alertService.show({\n            header: this.translateService.instant('OBJECT.confirmDelete'),\n            buttons: [\n              {\n                text: this.translateService.instant('cancel'),\n                role: 'cancel',\n              },\n              {\n                text: this.translateService.instant('confirm'),\n                handler: () => {\n                  removeHandler?.provider?.invoke?.(obj.id);\n                },\n              },\n            ],\n            backdropDismiss: false,\n          });\n        };\n      }\n\n      if (options.item) {\n        const itemOptions = (\n          options.item as {\n            options?: { select: (id: string) => void; routingPrefix: string };\n          }\n        ).options;\n\n        if (!itemOptions) throw Error('Must set edit options');\n\n        this.itemHandler = (id) => {\n          if (itemOptions?.routingPrefix) {\n            setTimeout(async () => {\n              await this.router.navigate([\n                itemOptions.routingPrefix.replace('//', '/'),\n                id,\n              ]);\n              this.cd.detectChanges();\n            });\n          } else if (itemOptions?.select) itemOptions.select(id);\n        };\n      }\n\n      const details = options.details as {\n        provider?: IDetailsProvider<T>;\n        componentFactories?: IDetailsComponentFactories<T>;\n        component?: Type<any>;\n      };\n\n      this.detailsHandler = null;\n\n      if (options.details) {\n        if (!details?.provider) throw Error('Must set details provider');\n\n        this.detailsComponent = details.component;\n        this.detailsComponentProps = {\n          item: details.provider.item,\n          type: options.type,\n          loading: details.provider.loading,\n          itemHandler: this.itemHandler ?? null,\n          removeHandler: this.removeHandler,\n          componentFactories: details.componentFactories,\n        };\n\n        this.select = details.provider.getData;\n        this.unselect = details.provider.clearData;\n        this.detailsHandler = (item: T) => {\n          void this.openDetails(item);\n        };\n      }\n\n      if (options.pagination) {\n        this.loadNextPage = async (event = null) => {\n          await options?.pagination?.loadNextPage?.();\n          if (event) event.target.complete();\n\n          setTimeout(() => {\n            window.scrollTo(0, 0);\n          });\n        };\n\n        this.loadPrevPage = async (event = null) => {\n          await options?.pagination?.loadPrevPage?.();\n          if (event) event.target.complete();\n\n          setTimeout(() => {\n            window.scrollTo(0, 10000);\n          });\n        };\n\n        this.page = options.pagination.page;\n        this.totalPages = options.pagination.totalPages;\n      }\n\n      this.afterInitOptions();\n    });\n\n    effect((onCleanup) => {\n      const pagination = this.options().pagination;\n      const target = this.infiniteScrollAnchor()?.nativeElement;\n\n      // Read on every page, so the anchor is observed again after a page\n      // loaded: a new observer reports it at once while it is still in view.\n      pagination?.page?.();\n\n      if (\n        !this.infiniteScroll() ||\n        !target ||\n        typeof IntersectionObserver === 'undefined'\n      ) {\n        return;\n      }\n\n      const observer = new IntersectionObserver((entries) => {\n        if (\n          this.loadingNextPage ||\n          !entries.some((entry) => entry.isIntersecting)\n        ) {\n          return;\n        }\n\n        this.loadingNextPage = true;\n\n        Promise.resolve(pagination?.loadNextPage?.()).finally(() => {\n          this.loadingNextPage = false;\n        });\n      });\n\n      observer.observe(target);\n      onCleanup(() => observer.disconnect());\n    });\n\n    this.detailsButtonOptions = {\n      loading: this.loading,\n      click: () => {\n        this.unselect();\n      },\n    };\n  }\n\n  protected initKeys(data: Array<T> | null = null): void {\n    const result: Array<T> = [];\n\n    this._fields\n      .filter((field) => {\n        if (\n          field.options.list &&\n          (field.options.list as IFieldListMetadata).permissions\n        ) {\n          return this.authService.expectPermissions(\n            (field.options.list as IFieldListMetadata)?.permissions ?? null,\n          );\n        }\n\n        return true;\n      })\n      .forEach((field) => {\n        if ((field.options.list as IFieldListMetadata).dynamic) {\n          if (!data?.length) return;\n\n          ((data[0] as any)[field.key] as [])\n            .map(\n              (_, index) =>\n                `__array.${field.key}.${index}.${\n                  (field.options.list as IFieldListMetadata)?.dynamic\n                    ?.headerKey ?? ''\n                }.${\n                  (field.options.list as IFieldListMetadata)?.dynamic?.rowKey ??\n                  ''\n                }`,\n            )\n            .forEach((item) => result.push(item as unknown as T));\n\n          return;\n        }\n\n        result.push(field.key as unknown as T);\n      });\n\n    if (!this.keys || this.keys.length !== result.length)\n      this.keys = result as unknown as string[];\n  }\n\n  //The parameter is used in the inherited classes\n  protected initList(val: IListInternalOptions<T>): void {\n    this.list = computed(() => {\n      const list = this.provider.list();\n      if (!list) return list;\n      const result = list.filter((item) => !this.removed.has(item.id));\n      this.initKeys(list);\n\n      return result;\n    });\n  }\n\n  protected initLoading(): void {\n    this.loading = this.provider.loading;\n  }\n\n  protected afterInitOptions() {\n    // No base functionality\n  }\n\n  /** Whether the header of `key` sorts the list. */\n  isSortable(key: string): boolean {\n    return this.sortable() && isListSortableKey(key);\n  }\n\n  /**\n   * Sorts by `key`: ascending for another column, the opposite direction for\n   * the active one, read from the first page through\n   * `provider.getData({ offset: 0, sortBy, sortDesc })`.\n   */\n  sortBy(key: string): void {\n    if (!this.isSortable(key)) return;\n\n    const next = getNextListSort(this.activeSort(), key);\n    const filter: IListSortFilter = {\n      offset: 0,\n      sortBy: next.key,\n      sortDesc: next.desc,\n    };\n\n    this.activeSort.set(next);\n    this.provider.getData(filter);\n  }\n\n  /** The `aria-sort` of the header of `key` (only the active one has it). */\n  ariaSort(key: string): 'ascending' | 'descending' | null {\n    return this.isSortable(key)\n      ? getListAriaSort(this.activeSort(), key)\n      : null;\n  }\n\n  /** The arrow shown in the header of `key`. */\n  sortIndicator(key: string): string {\n    return getListSortIndicator(this.activeSort(), key);\n  }\n\n  /**\n   * Opens the details of `item` in a modal: clears the details provider,\n   * opens the details component (`DetailsPage` by default) through\n   * `ModalService` and asks the provider for the item (`select(id)`).\n   */\n  async openDetails(item: T): Promise<void> {\n    if (!this.select) return;\n\n    this.unselect?.();\n\n    await showDetailsModal(\n      {\n        modalService: this.injector.get(ModalService),\n        hardwareService: this.injector.get(HardwareService),\n        injector: this.injector,\n      },\n      {\n        component: this.detailsComponent ?? DetailsPage,\n        params: this.detailsComponentProps,\n        mode: 'bottom',\n      },\n      { showed: () => this.select(item.id) },\n    );\n  }\n\n  handlePageChange(nextPage: number): void {\n    const current = this.page?.() ?? 1;\n    if (nextPage > current) {\n      this.loadNextPage?.();\n    } else if (nextPage < current) {\n      this.loadPrevPage?.();\n    }\n  }\n}\n","import {\n  CdkCell,\n  CdkCellDef,\n  CdkColumnDef,\n  CdkHeaderCell,\n  CdkHeaderCellDef,\n  CdkHeaderRow,\n  CdkHeaderRowDef,\n  CdkRow,\n  CdkRowDef,\n  CdkTable,\n} from '@angular/cdk/table';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n  AfterViewInit,\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  OnDestroy,\n  OnInit,\n  Signal,\n  viewChild,\n  ViewContainerRef,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { LazyLoadImageModule } from 'ng-lazyload-image';\nimport { Subscription } from 'rxjs';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { IListComponentFactories, IListInternalOptions } from '../../../models';\nimport { FileUrlPipe, ListCellPipe, ListHeaderPipe } from '../../../pipes';\nimport { PagingComponent } from '../../paging';\nimport { ListBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-list-desktop',\n  templateUrl: './desktop.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [\n    NgTemplateOutlet,\n    ListHeaderPipe,\n    ListCellPipe,\n    LazyLoadImageModule,\n    FileUrlPipe,\n    TranslatePipe,\n    PagingComponent,\n    CdkTable,\n    CdkHeaderCell,\n    CdkCell,\n    CdkHeaderRow,\n    CdkRow,\n    CdkColumnDef,\n    CdkHeaderCellDef,\n    CdkCellDef,\n    CdkHeaderRowDef,\n    CdkRowDef,\n  ],\n})\nexport class ListDesktopComponent<T extends IEntity<string>>\n  extends ListBaseComponent<T>\n  implements OnInit, OnDestroy, AfterViewInit\n{\n  private _subscriptions = new Subscription();\n  private _multiSelected: T[] = [];\n\n  get desktopList(): Signal<T[]> {\n    return this.list as Signal<T[]>;\n  }\n\n  componentFactories: IListComponentFactories<T> | null = null;\n\n  containerClasses = computed(() => {\n    const classes: string[] = [\n      'smart:min-w-full',\n      'smart:divide-y',\n      'smart:divide-gray-300',\n      'smart:dark:divide-white/10',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  get desktopKeys(): Array<string> | null {\n    if (this.keys) {\n      return [\n        ...(this.selectMode === 'multi' ? ['selectMulti'] : []),\n        ...this.keys,\n        ...(this.detailsHandler ? ['detailsAction'] : []),\n        ...(this.removeHandler ? ['removeAction'] : []),\n        ...(this.itemHandler ? ['itemAction'] : []),\n      ];\n    }\n\n    return null;\n  }\n\n  topTpl = viewChild<ViewContainerRef>('topTpl');\n\n  protected override initList(val: IListInternalOptions<T>): void {\n    super.initList(val);\n\n    this.componentFactories = val?.componentFactories ?? null;\n\n    this.generateDynamicComponents();\n\n    if (this.provider?.onCleanMultiSelected$) {\n      this._subscriptions.add(\n        this.provider.onCleanMultiSelected$.subscribe(() => {\n          this._multiSelected = [];\n        }),\n      );\n    }\n  }\n\n  onChangeMultiselect(checked: boolean, element: T, list: T[]) {\n    this._multiSelected = this._multiSelected.filter((m) =>\n      list.some((i) => i === m),\n    );\n\n    if (checked) {\n      this._multiSelected.push(element);\n    } else {\n      const index = this._multiSelected.indexOf(element);\n      if (index > -1) {\n        this._multiSelected.splice(index, 1);\n      }\n    }\n\n    if (this.provider.onChangeMultiSelected) {\n      this.provider.onChangeMultiSelected(this._multiSelected);\n    }\n  }\n\n  myTrackById(val: any) {\n    return val?.id;\n  }\n\n  ngAfterViewInit(): void {\n    this.generateDynamicComponents();\n  }\n\n  ngOnInit(): void {\n    // No-op: initialization handled via effect in base constructor\n  }\n\n  ngOnDestroy(): void {\n    if (this._subscriptions) {\n      this._subscriptions.unsubscribe();\n    }\n  }\n\n  private generateDynamicComponents(): void {\n    if (!this.componentFactories) return;\n\n    if (this.componentFactories.top && this.topTpl()) {\n      if (!this.topTpl()?.get(0)) {\n        this.topTpl()?.createComponent(this.componentFactories.top);\n      }\n    }\n  }\n}\n","<div #topTpl></div>\n\n<div class=\"smart:overflow-x-auto\">\n  <table\n    cdk-table\n    [dataSource]=\"desktopList() ?? []\"\n    [trackBy]=\"myTrackById\"\n    [class]=\"containerClasses()\"\n  >\n    @for (key of desktopKeys; track key) {\n      @let last = $last;\n      <ng-template #pagination>\n        @if (last && loadNextPage && totalPages()) {\n          <div class=\"smart:float-right smart:text-sm smart:text-gray-500\">\n            {{ 'page' | translate }}:\n            <b>{{ page() }}/{{ totalPages() }}</b>\n          </div>\n        }\n      </ng-template>\n      <ng-container [cdkColumnDef]=\"key\">\n        @switch (key) {\n          @case ('selectMulti') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n            ></th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              class=\"smart:w-10 smart:px-3 smart:py-4\"\n            >\n              @let listValue = desktopList();\n              @if (listValue) {\n                <input\n                  type=\"checkbox\"\n                  class=\"smart:rounded smart:border-gray-300 smart:text-indigo-600 smart:focus:ring-indigo-600\"\n                  (change)=\"\n                    onChangeMultiselect(\n                      $any($event.target).checked,\n                      element,\n                      listValue\n                    )\n                  \"\n                />\n              }\n            </td>\n          }\n          @case ('detailsAction') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n            >\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              class=\"smart:w-10 smart:px-3 smart:py-4\"\n            >\n              <button\n                type=\"button\"\n                data-role=\"details\"\n                class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300\"\n                (click)=\"detailsHandler?.(element)\"\n              >\n                {{ 'show' | translate }}\n              </button>\n            </td>\n          }\n          @case ('removeAction') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n            >\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              class=\"smart:w-10 smart:px-3 smart:py-4\"\n            >\n              @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n                <button\n                  type=\"button\"\n                  class=\"smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300\"\n                  (click)=\"removeHandler?.(element)\"\n                >\n                  {{ 'remove' | translate }}\n                </button>\n              }\n            </td>\n          }\n          @case ('itemAction') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n            >\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              class=\"smart:w-10 smart:px-3 smart:py-4\"\n            >\n              <button\n                type=\"button\"\n                class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300\"\n                (click)=\"itemHandler?.(element.id)\"\n              >\n                →\n              </button>\n            </td>\n          }\n          @default {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              class=\"smart:px-3 smart:py-3.5 smart:text-left smart:text-sm smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n              [attr.aria-sort]=\"ariaSort(key)\"\n            >\n              @if (isSortable(key)) {\n                <button\n                  type=\"button\"\n                  data-role=\"sort\"\n                  class=\"smart:inline-flex smart:items-center smart:gap-x-1 smart:font-semibold smart:text-gray-900 smart:hover:text-indigo-600 smart:dark:text-white smart:dark:hover:text-indigo-400\"\n                  (click)=\"sortBy(key)\"\n                >\n                  {{ (desktopList() | smartListHeader: key : type)() }}\n                  <span\n                    aria-hidden=\"true\"\n                    class=\"smart:text-gray-400 smart:dark:text-gray-500\"\n                    >{{ sortIndicator(key) }}</span\n                  >\n                </button>\n              } @else {\n                {{ (desktopList() | smartListHeader: key : type)() }}\n              }\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              class=\"smart:px-3 smart:py-4 smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n              [attr.smart-item-key]=\"key\"\n            >\n              @let cell = element | smartListCell: key : cellPipe : type;\n              @if (cell) {\n                @if (cell.type === FieldType.image) {\n                  <img\n                    height=\"50\"\n                    [lazyLoad]=\"cell.value | smartFileUrl\"\n                    alt=\"\"\n                    src=\"\"\n                    class=\"smart:h-10 smart:w-auto\"\n                  />\n                } @else {\n                  <div [innerHTML]=\"cell.value\"></div>\n                }\n              }\n            </td>\n          }\n        }\n      </ng-container>\n    }\n\n    <tr\n      cdk-header-row\n      *cdkHeaderRowDef=\"desktopKeys ?? []; sticky: true\"\n      class=\"smart:bg-gray-50 smart:dark:bg-gray-800/50\"\n    ></tr>\n    <tr\n      cdk-row\n      *cdkRowDef=\"let row; columns: desktopKeys ?? []\"\n      class=\"smart:hover:bg-gray-50 smart:dark:hover:bg-gray-800/30\"\n    ></tr>\n  </table>\n</div>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n  <smart-paging\n    [currentPage]=\"page() ?? 1\"\n    [totalPages]=\"totalPages() ?? 1\"\n    (pageChange)=\"handlePageChange($event)\"\n  ></smart-paging>\n}\n\n@if (infiniteScroll()) {\n  <div\n    #infiniteScrollAnchor\n    data-role=\"infinite-scroll\"\n    aria-hidden=\"true\"\n  ></div>\n}\n","import { NgOptimizedImage } from '@angular/common';\nimport {\n  AfterViewInit,\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  Signal,\n  viewChild,\n  ViewContainerRef,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport { FieldType, getModelFieldsWithOptions } from '@smartsoft001/models';\n\nimport { IListComponentFactories, IListInternalOptions } from '../../../models';\nimport { FileUrlPipe, ListCellPipe } from '../../../pipes';\nimport { PagingComponent } from '../../paging';\nimport { ListBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-list-masonry-grid',\n  templateUrl: './masonry-grid.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [\n    PagingComponent,\n    FileUrlPipe,\n    NgOptimizedImage,\n    ListCellPipe,\n    TranslatePipe,\n  ],\n})\nexport class ListMasonryGridComponent<T extends IEntity<string>>\n  extends ListBaseComponent<T>\n  implements AfterViewInit\n{\n  componentFactories: IListComponentFactories<T> | null = null;\n\n  listWithImages!: Signal<{ data: T; image: any }[] | null>;\n\n  containerClasses = computed(() => {\n    const classes: string[] = [\n      'smart:grid',\n      'smart:grid-cols-1',\n      'smart:gap-6',\n      'smart:sm:grid-cols-2',\n      'smart:lg:grid-cols-3',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  topTpl = viewChild<ViewContainerRef>('topTpl');\n\n  ngAfterViewInit(): void {\n    this.generateDynamicComponents();\n  }\n\n  protected override afterInitOptions() {\n    const fieldOptions = getModelFieldsWithOptions(new this.type());\n    const imageFieldOptions = fieldOptions.find(\n      (item) => item.options.type === FieldType.image,\n    );\n\n    this.listWithImages = computed(() => {\n      const list = this.list();\n      if (!list) return null;\n\n      return (list as T[]).map((item) => {\n        return {\n          data: item,\n          image: (item as any)[imageFieldOptions?.key ?? ''],\n        };\n      }) as { data: T; image: any }[];\n    });\n  }\n\n  protected override initList(val: IListInternalOptions<T>): void {\n    super.initList(val);\n\n    this.componentFactories = val?.componentFactories ?? null;\n\n    this.generateDynamicComponents();\n  }\n\n  private generateDynamicComponents(): void {\n    if (!this.componentFactories) return;\n\n    if (this.componentFactories.top && this.topTpl()) {\n      if (!this.topTpl()?.get(0)) {\n        this.topTpl()?.createComponent(this.componentFactories.top);\n      }\n    }\n  }\n}\n","<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"containerClasses()\">\n  @for (item of listWithImages() ?? []; track item.data.id) {\n    <li\n      class=\"smart:col-span-1 smart:rounded-lg smart:bg-white smart:shadow-sm smart:dark:bg-gray-800/50 smart:overflow-hidden\"\n    >\n      @if (item.image) {\n        <img\n          class=\"smart:h-48 smart:w-full smart:object-cover\"\n          [ngSrc]=\"item.image | smartFileUrl\"\n          width=\"400\"\n          height=\"192\"\n          alt=\"\"\n        />\n      }\n      <div class=\"smart:p-4\">\n        @for (key of keys; track key) {\n          @let cell = item.data | smartListCell: key : cellPipe : type;\n          @if (cell && cell.type !== FieldType.image) {\n            <p\n              class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n              [innerHTML]=\"cell.value\"\n            ></p>\n          }\n        }\n        @if (detailsHandler) {\n          <button\n            type=\"button\"\n            data-role=\"details\"\n            class=\"smart:mt-2 smart:text-sm smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300\"\n            (click)=\"detailsHandler?.(item.data)\"\n          >\n            {{ 'show' | translate }}\n          </button>\n        }\n      </div>\n    </li>\n  }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n  <smart-paging\n    [currentPage]=\"page() ?? 1\"\n    [totalPages]=\"totalPages() ?? 1\"\n    (pageChange)=\"handlePageChange($event)\"\n  ></smart-paging>\n}\n\n@if (infiniteScroll()) {\n  <div\n    #infiniteScrollAnchor\n    data-role=\"infinite-scroll\"\n    aria-hidden=\"true\"\n  ></div>\n}\n","import {\n  AfterViewInit,\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  Signal,\n  viewChild,\n  ViewContainerRef,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { LazyLoadImageModule } from 'ng-lazyload-image';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { IListComponentFactories, IListInternalOptions } from '../../../models';\nimport { ListCellPipe } from '../../../pipes';\nimport { PagingComponent } from '../../paging';\nimport { ListBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-list-mobile',\n  templateUrl: './mobile.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [TranslatePipe, LazyLoadImageModule, PagingComponent, ListCellPipe],\n})\nexport class ListMobileComponent<T extends IEntity<string>>\n  extends ListBaseComponent<T>\n  implements AfterViewInit\n{\n  // Computed wrapping this.list so template can safely call it as a signal\n  mobileList: Signal<T[]> = computed(\n    () => ((this.list?.() as T[] | null) ?? []) as T[],\n  );\n\n  componentFactories: IListComponentFactories<T> | null = null;\n\n  containerClasses = computed(() => {\n    const classes: string[] = [\n      'smart:divide-y',\n      'smart:divide-gray-100',\n      'smart:dark:divide-white/10',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  topTpl = viewChild<ViewContainerRef>('topTpl');\n\n  protected override initList(val: IListInternalOptions<T>): void {\n    super.initList(val);\n    this.componentFactories = val.componentFactories ?? null;\n    this.generateDynamicComponents();\n  }\n\n  ngAfterViewInit(): void {\n    this.generateDynamicComponents();\n  }\n\n  private generateDynamicComponents(): void {\n    if (!this.componentFactories) return;\n    if (this.componentFactories.top && this.topTpl()) {\n      if (!this.topTpl()?.get(0)) {\n        this.topTpl()?.createComponent(this.componentFactories.top);\n      }\n    }\n  }\n}\n","<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"containerClasses()\">\n  @let mobileItems = mobileList() ?? [];\n  @for (item of mobileItems; track item.id) {\n    <li class=\"smart:flex smart:justify-between smart:gap-x-6 smart:py-5\">\n      <div class=\"smart:flex smart:min-w-0 smart:gap-x-4\">\n        <div class=\"smart:min-w-0 smart:flex-auto\">\n          @for (key of keys; track key) {\n            @let cell = item | smartListCell: key : cellPipe : type;\n            @if (cell) {\n              <p\n                class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n                [innerHTML]=\"cell.value\"\n              ></p>\n            }\n          }\n        </div>\n      </div>\n      <div class=\"smart:flex smart:shrink-0 smart:items-center smart:gap-x-4\">\n        @if (detailsHandler) {\n          <button\n            type=\"button\"\n            data-role=\"details\"\n            class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300 smart:text-sm\"\n            (click)=\"detailsHandler?.(item)\"\n          >\n            {{ 'show' | translate }}\n          </button>\n        }\n        @if (\n          removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))\n        ) {\n          <button\n            type=\"button\"\n            class=\"smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:text-sm\"\n            (click)=\"removeHandler?.(item)\"\n          >\n            {{ 'remove' | translate }}\n          </button>\n        }\n        @if (itemHandler) {\n          <button\n            type=\"button\"\n            class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300 smart:text-sm\"\n            (click)=\"itemHandler?.(item.id)\"\n          >\n            →\n          </button>\n        }\n      </div>\n    </li>\n  }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n  <smart-paging\n    [currentPage]=\"page() ?? 1\"\n    [totalPages]=\"totalPages() ?? 1\"\n    (pageChange)=\"handlePageChange($event)\"\n  ></smart-paging>\n}\n\n@if (infiniteScroll()) {\n  <div\n    #infiniteScrollAnchor\n    data-role=\"infinite-scroll\"\n    aria-hidden=\"true\"\n  ></div>\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  effect,\n  inject,\n  input,\n  signal,\n  Signal,\n  Type,\n  ViewEncapsulation,\n  WritableSignal,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport * as _ from 'lodash';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport {\n  getModelFieldsWithOptions,\n  IFieldListMetadata,\n} from '@smartsoft001/models';\n\nimport { IListInternalOptions, IListOptions, ListMode } from '../../models';\nimport { HardwareService } from '../../services';\nimport { LIST_MODE_COMPONENTS_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { LoaderComponent } from '../loader';\nimport { ListBaseComponent } from './base/base.component';\nimport { ListDesktopComponent } from './desktop/desktop.component';\nimport { ListMasonryGridComponent } from './masonry-grid/masonry-grid.component';\nimport { ListMobileComponent } from './mobile/mobile.component';\n\nconst baseMap: Partial<Record<ListMode, Type<ListBaseComponent<any>>>> = {\n  [ListMode.desktop]: ListDesktopComponent,\n  [ListMode.mobile]: ListMobileComponent,\n  [ListMode.masonryGrid]: ListMasonryGridComponent,\n};\n\n@Component({\n  selector: 'smart-list',\n  templateUrl: './list.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgComponentOutlet, TranslatePipe, LoaderComponent],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ListComponent<T extends IEntity<string>> {\n  private hardwareService = inject(HardwareService);\n  private extendMap = inject(LIST_MODE_COMPONENTS_TOKEN, { optional: true });\n\n  private _options: WritableSignal<IListInternalOptions<T>> = signal(\n    {} as IListInternalOptions<T>,\n  );\n\n  ListMode = ListMode;\n\n  options = input.required<IListOptions<T>>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  get internalOptions(): IListInternalOptions<T> {\n    return this._options();\n  }\n\n  mode: Signal<ListMode> = computed(\n    () =>\n      this._options()?.mode ??\n      (this.hardwareService.isMobile ? ListMode.mobile : ListMode.desktop),\n  );\n\n  componentType = computed(() => {\n    const map = { ...baseMap, ...(this.extendMap ?? {}) };\n    return map[this.mode()] ?? ListDesktopComponent;\n  });\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this._options(),\n      class: this.cssClass(),\n    }),\n  );\n\n  constructor() {\n    effect(() => {\n      const options = this.options();\n      this._options.set({\n        ...options,\n        fields: _.sortBy(\n          getModelFieldsWithOptions(new (options as any).type())?.filter(\n            (item) => item?.options?.list,\n          ),\n          (item) => (item?.options?.list as IFieldListMetadata).order,\n        ),\n      });\n    });\n  }\n}\n","@let loading = $safeNavigationMigration(internalOptions?.provider?.loading?.());\n@if (componentType(); as cmp) {\n  <ng-container\n    *ngComponentOutlet=\"cmp; inputs: componentInputs()\"\n  ></ng-container>\n}\n<smart-loader [show]=\"loading ?? false\"></smart-loader>\n@if (!loading && !internalOptions?.provider?.list?.()?.length) {\n  <h2\n    class=\"smart:mt-4 smart:text-center smart:text-gray-500 smart:dark:text-gray-400\"\n  >\n    {{ 'noResults' | translate }}\n  </h2>\n}\n","// Preline-styled class recipes for the desktop list preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`), and every\n// color carries an explicit `dark:` variant. Preline semantic tokens are\n// translated to vanilla Tailwind palette classes:\n//   divide-table-line        -> divide-gray-200|gray-700\n//   border-table-line        -> border-gray-200|gray-700\n//   text-muted-foreground-1  -> text-gray-500|gray-400\n//   text-foreground          -> text-gray-800|gray-200\n//   bg-surface (striped)     -> bg-white|gray-900 (odd) / bg-gray-50|gray-800 (even)\n//   bg-muted-hover           -> bg-gray-100|gray-700\n\ntype ListPresentationVariant =\n  'default' | 'striped' | 'bordered' | 'borderless';\n\ntype ListPresentationHeader = 'default' | 'muted' | 'none';\n\nconst TABLE_BASE = ['smart:min-w-full'];\n\nconst TABLE_DIVIDE = [\n  'smart:divide-y',\n  'smart:divide-gray-200',\n  'smart:dark:divide-gray-700',\n];\n\nconst CONTAINER_BASE = ['smart:overflow-x-auto'];\n\nconst CONTAINER_BORDER = [\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n];\n\nconst HEADER_CELL = [\n  'smart:px-6',\n  'smart:py-3',\n  'smart:text-start',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:uppercase',\n];\n\nconst SORT_BUTTON = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-1',\n  'smart:uppercase',\n  'smart:font-medium',\n  'smart:text-gray-500',\n  'smart:hover:text-gray-800',\n  'smart:dark:text-gray-400',\n  'smart:dark:hover:text-gray-200',\n  'smart:focus:outline-hidden',\n  'smart:focus-visible:underline',\n];\n\nconst SORT_INDICATOR = ['smart:text-gray-400', 'smart:dark:text-gray-500'];\n\nconst HEADER_ROW_MUTED = ['smart:bg-gray-50', 'smart:dark:bg-gray-800'];\n\nconst HEADER_ROW_HIDDEN = ['smart:hidden'];\n\nconst CELL = [\n  'smart:px-6',\n  'smart:py-4',\n  'smart:whitespace-nowrap',\n  'smart:text-sm',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n];\n\nconst ROW_STRIPED = [\n  'smart:odd:bg-white',\n  'smart:even:bg-gray-50',\n  'smart:dark:odd:bg-gray-900',\n  'smart:dark:even:bg-gray-800',\n];\n\nconst ROW_HOVERABLE = [\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n];\n\n/**\n * Classes for the container `<div>` that wraps the table. The `bordered`\n * variant adds a Preline surface border around the whole table.\n */\nexport function getListDesktopContainerClasses(\n  variant: ListPresentationVariant = 'default',\n): string {\n  const classes = [...CONTAINER_BASE];\n  if (variant === 'bordered') classes.push(...CONTAINER_BORDER);\n  return classes.join(' ');\n}\n\n/**\n * Classes for the `<table>` element. Every variant keeps `min-w-full`; the\n * horizontal dividers are dropped for the `borderless` variant.\n */\nexport function getListDesktopTableClasses(\n  variant: ListPresentationVariant = 'default',\n): string {\n  const classes = [...TABLE_BASE];\n  if (variant !== 'borderless') classes.push(...TABLE_DIVIDE);\n  return classes.join(' ');\n}\n\n/**\n * Classes for the header row. `muted` gives the Preline gray surface, `none`\n * hides the header entirely, `default` renders it plain.\n */\nexport function getListDesktopHeaderRowClasses(\n  header: ListPresentationHeader = 'default',\n): string {\n  if (header === 'muted') return HEADER_ROW_MUTED.join(' ');\n  if (header === 'none') return HEADER_ROW_HIDDEN.join(' ');\n  return '';\n}\n\nexport function getListDesktopHeaderCellClasses(): string {\n  return HEADER_CELL.join(' ');\n}\n\n/** Classes for the button of a sortable header (`options.sort` set). */\nexport function getListDesktopSortButtonClasses(): string {\n  return SORT_BUTTON.join(' ');\n}\n\n/** Classes for the sort arrow inside a sortable header. */\nexport function getListDesktopSortIndicatorClasses(): string {\n  return SORT_INDICATOR.join(' ');\n}\n\n/**\n * Classes for body rows. `striped` alternates row backgrounds; `hoverable`\n * adds the Preline hover surface. Both can combine.\n */\nexport function getListDesktopRowClasses(\n  variant: ListPresentationVariant = 'default',\n  hoverable = false,\n): string {\n  const classes: string[] = [];\n  if (variant === 'striped') classes.push(...ROW_STRIPED);\n  if (hoverable) classes.push(...ROW_HOVERABLE);\n  return classes.join(' ');\n}\n\nexport function getListDesktopCellClasses(): string {\n  return CELL.join(' ');\n}\n","import {\n  CdkCell,\n  CdkCellDef,\n  CdkColumnDef,\n  CdkHeaderCell,\n  CdkHeaderCellDef,\n  CdkHeaderRow,\n  CdkHeaderRowDef,\n  CdkRow,\n  CdkRowDef,\n  CdkTable,\n} from '@angular/cdk/table';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { LazyLoadImageModule } from 'ng-lazyload-image';\n\nimport { IEntity } from '@smartsoft001/domain-core';\n\nimport { FileUrlPipe, ListCellPipe, ListHeaderPipe } from '../../../../pipes';\nimport { PagingComponent } from '../../../paging';\nimport { ListDesktopComponent } from '../desktop.component';\nimport {\n  getListDesktopCellClasses,\n  getListDesktopContainerClasses,\n  getListDesktopHeaderCellClasses,\n  getListDesktopHeaderRowClasses,\n  getListDesktopRowClasses,\n  getListDesktopSortButtonClasses,\n  getListDesktopSortIndicatorClasses,\n  getListDesktopTableClasses,\n} from './preset-classes.util';\n\n/**\n * Preline-styled desktop list variation (preset).\n *\n * Drop-in replacement for `ListDesktopComponent` — register it through\n * `LIST_MODE_COMPONENTS_TOKEN` for `ListMode.desktop`, or use the\n * `<smart-list-desktop-preset>` selector directly.\n *\n * Keeps every functional branch of the base desktop table (top slot, multi\n * select, remove/item actions, pagination, image cells) and restyles it with\n * the Preline table look. Styling variations are driven by\n * `options.presentation`: `variant` (default | striped | bordered |\n * borderless), `hoverable`, and `header` (default | muted | none). With\n * `options.sort` the field headers are sort buttons, with `options.details`\n * every row gets a details action, and `PaginationMode.infiniteScroll` loads\n * the next page when the end of the table scrolls into view.\n *\n * Decorator metadata is not inherited, so the full `imports` list is repeated.\n */\n@Component({\n  selector: 'smart-list-desktop-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [\n    NgTemplateOutlet,\n    ListHeaderPipe,\n    ListCellPipe,\n    LazyLoadImageModule,\n    FileUrlPipe,\n    TranslatePipe,\n    PagingComponent,\n    CdkTable,\n    CdkHeaderCell,\n    CdkCell,\n    CdkHeaderRow,\n    CdkRow,\n    CdkColumnDef,\n    CdkHeaderCellDef,\n    CdkCellDef,\n    CdkHeaderRowDef,\n    CdkRowDef,\n  ],\n})\nexport class ListDesktopPresetComponent<\n  T extends IEntity<string>,\n> extends ListDesktopComponent<T> {\n  // cssClass keeps the inherited `class` alias — ListComponent forwards the\n  // input under the `class` key through NgComponentOutlet.\n\n  private presentation = computed(() => this.options()?.presentation ?? {});\n\n  override containerClasses = computed(() =>\n    [\n      getListDesktopContainerClasses(this.presentation().variant),\n      this.cssClass(),\n    ]\n      .filter(Boolean)\n      .join(' '),\n  );\n\n  tableClasses = computed(() =>\n    getListDesktopTableClasses(this.presentation().variant),\n  );\n\n  headerRowClasses = computed(() =>\n    getListDesktopHeaderRowClasses(this.presentation().header),\n  );\n\n  headerCellClasses = computed(() => getListDesktopHeaderCellClasses());\n\n  rowClasses = computed(() =>\n    getListDesktopRowClasses(\n      this.presentation().variant,\n      Boolean(this.presentation().hoverable),\n    ),\n  );\n\n  cellClasses = computed(() => getListDesktopCellClasses());\n\n  protected readonly sortButtonClasses = getListDesktopSortButtonClasses();\n  protected readonly sortIndicatorClasses =\n    getListDesktopSortIndicatorClasses();\n}\n","<div #topTpl></div>\n\n<div [class]=\"containerClasses()\">\n  <table\n    cdk-table\n    data-role=\"table\"\n    [dataSource]=\"desktopList() ?? []\"\n    [trackBy]=\"myTrackById\"\n    [class]=\"tableClasses()\"\n  >\n    @for (key of desktopKeys; track key) {\n      @let last = $last;\n      <ng-template #pagination>\n        @if (last && loadNextPage && totalPages()) {\n          <div class=\"smart:float-right smart:text-sm smart:text-gray-500\">\n            {{ 'page' | translate }}:\n            <b>{{ page() }}/{{ totalPages() }}</b>\n          </div>\n        }\n      </ng-template>\n      <ng-container [cdkColumnDef]=\"key\">\n        @switch (key) {\n          @case ('selectMulti') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              class=\"smart:w-10 smart:px-3 smart:py-3\"\n            ></th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              class=\"smart:w-10 smart:px-3 smart:py-4\"\n            >\n              @let listValue = desktopList();\n              @if (listValue) {\n                <input\n                  type=\"checkbox\"\n                  class=\"smart:shrink-0 smart:border-gray-300 smart:rounded-sm smart:text-blue-600 smart:focus:ring-blue-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:checked:bg-blue-500 smart:dark:checked:border-blue-500\"\n                  (change)=\"\n                    onChangeMultiselect(\n                      $any($event.target).checked,\n                      element,\n                      listValue\n                    )\n                  \"\n                />\n              }\n            </td>\n          }\n          @case ('detailsAction') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n            >\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n            >\n              <button\n                type=\"button\"\n                data-role=\"details\"\n                class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-blue-600 smart:hover:text-blue-700 smart:dark:text-blue-400 smart:dark:hover:text-blue-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n                (click)=\"detailsHandler?.(element)\"\n              >\n                {{ 'show' | translate }}\n              </button>\n            </td>\n          }\n          @case ('removeAction') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n            >\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n            >\n              @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n                <button\n                  type=\"button\"\n                  data-role=\"remove\"\n                  class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-red-600 smart:hover:text-red-700 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n                  (click)=\"removeHandler?.(element)\"\n                >\n                  {{ 'remove' | translate }}\n                </button>\n              }\n            </td>\n          }\n          @case ('itemAction') {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n            >\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n            >\n              <button\n                type=\"button\"\n                data-role=\"item\"\n                class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-blue-600 smart:hover:text-blue-700 smart:dark:text-blue-400 smart:dark:hover:text-blue-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n                (click)=\"itemHandler?.(element.id)\"\n              >\n                →\n              </button>\n            </td>\n          }\n          @default {\n            <th\n              cdk-header-cell\n              *cdkHeaderCellDef\n              [class]=\"headerCellClasses()\"\n              [attr.aria-sort]=\"ariaSort(key)\"\n            >\n              @if (isSortable(key)) {\n                <button\n                  type=\"button\"\n                  data-role=\"sort\"\n                  [class]=\"sortButtonClasses\"\n                  (click)=\"sortBy(key)\"\n                >\n                  {{ (desktopList() | smartListHeader: key : type)() }}\n                  <span aria-hidden=\"true\" [class]=\"sortIndicatorClasses\">{{\n                    sortIndicator(key)\n                  }}</span>\n                </button>\n              } @else {\n                {{ (desktopList() | smartListHeader: key : type)() }}\n              }\n              <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n            </th>\n            <td\n              cdk-cell\n              *cdkCellDef=\"let element\"\n              [class]=\"cellClasses()\"\n              [attr.smart-item-key]=\"key\"\n            >\n              @let cell = element | smartListCell: key : cellPipe : type;\n              @if (cell) {\n                @if (cell.type === FieldType.image) {\n                  <img\n                    height=\"50\"\n                    [lazyLoad]=\"cell.value | smartFileUrl\"\n                    alt=\"\"\n                    src=\"\"\n                    class=\"smart:h-10 smart:w-auto\"\n                  />\n                } @else {\n                  <div [innerHTML]=\"cell.value\"></div>\n                }\n              }\n            </td>\n          }\n        }\n      </ng-container>\n    }\n\n    <tr\n      cdk-header-row\n      data-role=\"header-row\"\n      *cdkHeaderRowDef=\"desktopKeys ?? []; sticky: true\"\n      [class]=\"headerRowClasses()\"\n    ></tr>\n    <tr\n      cdk-row\n      data-role=\"row\"\n      *cdkRowDef=\"let row; columns: desktopKeys ?? []\"\n      [class]=\"rowClasses()\"\n    ></tr>\n  </table>\n</div>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n  <smart-paging\n    [currentPage]=\"page() ?? 1\"\n    [totalPages]=\"totalPages() ?? 1\"\n    (pageChange)=\"handlePageChange($event)\"\n  ></smart-paging>\n}\n\n@if (infiniteScroll()) {\n  <div\n    #infiniteScrollAnchor\n    data-role=\"infinite-scroll\"\n    aria-hidden=\"true\"\n  ></div>\n}\n","import { NgOptimizedImage } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport { FieldType, getModelFieldOptions } from '@smartsoft001/models';\n\nimport { FileUrlPipe, ListCellPipe } from '../../../../pipes';\nimport { getCardContainerClasses } from '../../../card/preset/preset-classes.util';\nimport { PagingComponent } from '../../../paging';\nimport { ListMasonryGridComponent } from '../masonry-grid.component';\n\n@Component({\n  selector: 'smart-list-masonry-grid-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [\n    PagingComponent,\n    FileUrlPipe,\n    NgOptimizedImage,\n    ListCellPipe,\n    TranslatePipe,\n  ],\n})\nexport class ListMasonryGridPresetComponent<\n  T extends IEntity<string>,\n> extends ListMasonryGridComponent<T> {\n  cardContainerClasses = getCardContainerClasses();\n\n  isImageKey(key: string): boolean {\n    if (!this.type) return false;\n    const options = getModelFieldOptions(new this.type(), key);\n    return options?.type === FieldType.image;\n  }\n\n  get titleKey(): string | null {\n    if (!this.keys) return null;\n    return this.keys.find((key) => !this.isImageKey(key)) ?? null;\n  }\n}\n","<div #topTpl></div>\n\n<ul role=\"list\" data-role=\"grid\" [class]=\"containerClasses()\">\n  @for (item of listWithImages() ?? []; track item.data.id) {\n    <li data-role=\"card\" [class]=\"cardContainerClasses\">\n      @if (item.image) {\n        <img\n          data-role=\"card-image\"\n          class=\"smart:h-48 smart:w-full smart:object-cover smart:rounded-t-xl\"\n          [ngSrc]=\"item.image | smartFileUrl\"\n          width=\"400\"\n          height=\"192\"\n          alt=\"\"\n        />\n      }\n      <div class=\"smart:p-4\">\n        @for (key of keys; track key) {\n          @let cell = item.data | smartListCell: key : cellPipe : type;\n          @if (cell && cell.type !== FieldType.image) {\n            @if (key === titleKey) {\n              <h3\n                data-role=\"card-title\"\n                class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n                [innerHTML]=\"cell.value\"\n              ></h3>\n            } @else {\n              <p\n                data-role=\"card-text\"\n                class=\"smart:mt-1 smart:text-gray-500 smart:dark:text-gray-400\"\n                [innerHTML]=\"cell.value\"\n              ></p>\n            }\n          }\n        }\n        @if (detailsHandler) {\n          <button\n            type=\"button\"\n            data-role=\"details\"\n            class=\"smart:mt-2 smart:py-2 smart:px-3 smart:inline-flex smart:justify-center smart:items-center smart:gap-x-2 smart:text-sm smart:font-medium smart:rounded-lg smart:bg-blue-600 smart:dark:bg-blue-500 smart:text-white smart:hover:bg-blue-700 smart:dark:hover:bg-blue-600 smart:focus:outline-hidden\"\n            (click)=\"detailsHandler?.(item.data)\"\n          >\n            {{ 'show' | translate }}\n          </button>\n        }\n      </div>\n    </li>\n  }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n  <smart-paging\n    [currentPage]=\"page() ?? 1\"\n    [totalPages]=\"totalPages() ?? 1\"\n    (pageChange)=\"handlePageChange($event)\"\n  ></smart-paging>\n}\n\n@if (infiniteScroll()) {\n  <div\n    #infiniteScrollAnchor\n    data-role=\"infinite-scroll\"\n    aria-hidden=\"true\"\n  ></div>\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { LazyLoadImageModule } from 'ng-lazyload-image';\n\nimport { IEntity } from '@smartsoft001/domain-core';\nimport { FieldType, getModelFieldOptions } from '@smartsoft001/models';\n\nimport { FileUrlPipe, ListCellPipe } from '../../../../pipes';\nimport { getCardContainerClasses } from '../../../card/preset/preset-classes.util';\nimport { PagingComponent } from '../../../paging';\nimport { ListMobileComponent } from '../mobile.component';\n\n@Component({\n  selector: 'smart-list-mobile-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [\n    TranslatePipe,\n    LazyLoadImageModule,\n    PagingComponent,\n    ListCellPipe,\n    FileUrlPipe,\n  ],\n})\nexport class ListMobilePresetComponent<\n  T extends IEntity<string>,\n> extends ListMobileComponent<T> {\n  cardContainerClasses = getCardContainerClasses();\n\n  gridClasses = computed(() => {\n    const classes: string[] = [\n      'smart:grid',\n      'smart:gap-4',\n      'smart:grid-cols-1',\n      'smart:sm:grid-cols-2',\n      'smart:lg:grid-cols-3',\n    ];\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n    return classes.join(' ');\n  });\n\n  isImageKey(key: string): boolean {\n    if (!this.type) return false;\n    const options = getModelFieldOptions(new this.type(), key);\n    return options?.type === FieldType.image;\n  }\n\n  get titleKey(): string | null {\n    if (!this.keys) return null;\n    return this.keys.find((key) => !this.isImageKey(key)) ?? null;\n  }\n}\n","<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"gridClasses()\">\n  @let presetItems = mobileList() ?? [];\n  @for (item of presetItems; track item.id) {\n    <li data-role=\"card\" [class]=\"cardContainerClasses\">\n      @for (key of keys; track key) {\n        @let cell = item | smartListCell: key : cellPipe : type;\n        @if (cell && cell.type === FieldType.image) {\n          <img\n            data-role=\"card-image\"\n            class=\"smart:w-full smart:h-auto smart:rounded-t-xl\"\n            [lazyLoad]=\"cell.value | smartFileUrl\"\n            alt=\"\"\n            src=\"\"\n          />\n        }\n      }\n      <div class=\"smart:p-4\">\n        @for (key of keys; track key) {\n          @let cell = item | smartListCell: key : cellPipe : type;\n          @if (cell && cell.type !== FieldType.image) {\n            @if (key === titleKey) {\n              <h3\n                data-role=\"card-title\"\n                class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n                [innerHTML]=\"cell.value\"\n              ></h3>\n            } @else {\n              <p\n                data-role=\"card-text\"\n                class=\"smart:mt-1 smart:text-gray-500 smart:dark:text-gray-400\"\n                [innerHTML]=\"cell.value\"\n              ></p>\n            }\n          }\n        }\n        <div class=\"smart:flex smart:items-center smart:gap-x-4\">\n          @if (itemHandler) {\n            <button\n              type=\"button\"\n              data-role=\"item\"\n              class=\"smart:mt-2 smart:py-2 smart:px-3 smart:inline-flex smart:justify-center smart:items-center smart:gap-x-2 smart:text-sm smart:font-medium smart:rounded-lg smart:bg-blue-600 smart:dark:bg-blue-500 smart:text-white smart:hover:bg-blue-700 smart:dark:hover:bg-blue-600 smart:focus:outline-hidden\"\n              (click)=\"itemHandler?.(item.id)\"\n            >\n              {{ 'details' | translate }}\n            </button>\n          }\n          @if (detailsHandler) {\n            <button\n              type=\"button\"\n              data-role=\"details\"\n              class=\"smart:mt-2 smart:text-blue-600 smart:hover:text-blue-700 smart:dark:text-blue-400 smart:dark:hover:text-blue-300 smart:text-sm\"\n              (click)=\"detailsHandler?.(item)\"\n            >\n              {{ 'show' | translate }}\n            </button>\n          }\n          @if (\n            removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))\n          ) {\n            <button\n              type=\"button\"\n              data-role=\"remove\"\n              class=\"smart:mt-2 smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:text-sm\"\n              (click)=\"removeHandler?.(item)\"\n            >\n              {{ 'remove' | translate }}\n            </button>\n          }\n        </div>\n      </div>\n    </li>\n  }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n  <smart-paging\n    [currentPage]=\"page() ?? 1\"\n    [totalPages]=\"totalPages() ?? 1\"\n    (pageChange)=\"handlePageChange($event)\"\n  ></smart-paging>\n}\n\n@if (infiniteScroll()) {\n  <div\n    #infiniteScrollAnchor\n    data-role=\"infinite-scroll\"\n    aria-hidden=\"true\"\n  ></div>\n}\n","import { Type } from '@angular/core';\n\nimport { ListMode } from '../../models';\nimport { ListBaseComponent } from './base/base.component';\nimport { ListDesktopPresetComponent } from './desktop/preset/preset.component';\nimport { ListMasonryGridPresetComponent } from './masonry-grid/preset/preset.component';\nimport { ListMobilePresetComponent } from './mobile/preset/preset.component';\n\n/**\n * Preline-styled list mode presets (FRA-227), keyed by `ListMode`.\n * Provide it for `LIST_MODE_COMPONENTS_TOKEN` to swap the covered modes:\n *\n * ```ts\n * providers: [\n *   { provide: LIST_MODE_COMPONENTS_TOKEN, useValue: LIST_PRESET_MODE_COMPONENTS },\n * ];\n * ```\n *\n * The map covers every `ListMode`: `desktop` (Preline table, styling driven\n * by `IListOptions.presentation`), `mobile` (card grid) and `masonryGrid`\n * (masonry card columns).\n */\nexport const LIST_PRESET_MODE_COMPONENTS: Partial<\n  Record<ListMode, Type<ListBaseComponent<any>>>\n> = {\n  [ListMode.desktop]: ListDesktopPresetComponent,\n  [ListMode.mobile]: ListMobilePresetComponent,\n  [ListMode.masonryGrid]: ListMasonryGridPresetComponent,\n};\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IListContainerOptions } from '../../../models';\n\n@Directive()\nexport abstract class ListContainerBaseComponent {\n  static smartType: DynamicComponentType = 'list-container';\n\n  options: InputSignal<IListContainerOptions | undefined> =\n    input<IListContainerOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ListContainerBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-list-container-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ListContainerStandardComponent extends ListContainerBaseComponent {}\n","<div\n  role=\"list\"\n  [class]=\"cssClass()\"\n  [attr.data-variant]=\"options()?.variant ?? null\"\n>\n  <ng-content />\n</div>\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IListContainerOptions } from '../../models';\nimport { LIST_CONTAINER_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { ListContainerStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-list-container',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-list-container-standard [options]=\"options()\" [class]=\"cssClass()\">\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-list-container-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [\n    ListContainerStandardComponent,\n    NgComponentOutlet,\n    NgTemplateOutlet,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ListContainerComponent {\n  private injectedComponent = inject(LIST_CONTAINER_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IListContainerOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IMediaObjectOptions } from '../../../models';\n\n@Directive()\nexport abstract class MediaObjectBaseComponent {\n  static smartType: DynamicComponentType = 'media-object';\n\n  mediaUrl: InputSignal<string> = input.required<string>();\n  mediaAlt: InputSignal<string> = input.required<string>();\n  options: InputSignal<IMediaObjectOptions | undefined> =\n    input<IMediaObjectOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { MediaObjectBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-media-object-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MediaObjectStandardComponent extends MediaObjectBaseComponent {}\n","<div\n  [class]=\"cssClass()\"\n  [attr.data-position]=\"options()?.position ?? 'left'\"\n  [attr.data-alignment]=\"options()?.alignment ?? null\"\n>\n  <img [src]=\"mediaUrl()\" [alt]=\"mediaAlt()\" />\n  <div class=\"smart-media-object-body\">\n    <ng-content />\n  </div>\n</div>\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IMediaObjectOptions } from '../../models';\nimport { MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { MediaObjectStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-media-object',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-media-object-standard\n        [mediaUrl]=\"mediaUrl()\"\n        [mediaAlt]=\"mediaAlt()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      >\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-media-object-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [MediaObjectStandardComponent, NgComponentOutlet, NgTemplateOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MediaObjectComponent {\n  private injectedComponent = inject(MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  mediaUrl = input.required<string>();\n  mediaAlt = input.required<string>();\n  options = input<IMediaObjectOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      mediaUrl: this.mediaUrl(),\n      mediaAlt: this.mediaAlt(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","import { IMediaObjectOptions } from '../../../models';\n\n/** Cross-axis alignment of the media against the body. */\nconst ALIGNMENT_CLASSES: Record<'top' | 'center' | 'bottom', string> = {\n  top: 'smart:items-start',\n  center: 'smart:items-center',\n  bottom: 'smart:items-end',\n};\n\n/**\n * Root flex container: lays the media beside the body, with direction,\n * responsive folding, cross-axis alignment and nesting all driven by options.\n */\nexport function getMediaObjectRootClasses(\n  options: IMediaObjectOptions | undefined,\n): string {\n  const position = options?.position ?? 'left';\n  const responsive = options?.responsive ?? false;\n  const nested = options?.nested ?? false;\n  const alignment = options?.alignment;\n\n  const classes = ['smart:flex'];\n\n  // Nested media objects sit tighter than top-level ones.\n  classes.push(nested ? 'smart:gap-3' : 'smart:gap-4');\n\n  // Direction: responsive layouts stack on mobile then fan out from `sm` up.\n  if (responsive) {\n    classes.push('smart:flex-col');\n    classes.push(\n      position === 'right' ? 'smart:sm:flex-row-reverse' : 'smart:sm:flex-row',\n    );\n  } else if (position === 'right') {\n    classes.push('smart:flex-row-reverse');\n  }\n\n  // Cross-axis alignment; `stretched` is expressed on the media element.\n  if (alignment && alignment !== 'stretched') {\n    classes.push(ALIGNMENT_CLASSES[alignment]);\n  }\n\n  // Indent nested media objects from the parent body.\n  if (nested) {\n    classes.push('smart:mt-4');\n  }\n\n  return classes.join(' ');\n}\n\n/**\n * Media element (`<img>`): a rounded, cover-fitted thumbnail that never\n * shrinks. `wide` widens it; `stretched` alignment fills the row height.\n */\nexport function getMediaObjectMediaClasses(\n  options: IMediaObjectOptions | undefined,\n): string {\n  const wide = options?.wide ?? false;\n  const stretched = options?.alignment === 'stretched';\n\n  const classes = ['smart:rounded-lg', 'smart:object-cover', 'smart:shrink-0'];\n\n  if (stretched) {\n    // Fill the row height; width stays fixed (or wide).\n    classes.push(wide ? 'smart:w-32' : 'smart:w-16');\n    classes.push('smart:self-stretch', 'smart:h-auto');\n  } else if (wide) {\n    classes.push('smart:w-32', 'smart:h-16');\n  } else {\n    classes.push('smart:size-16');\n  }\n\n  return classes.join(' ');\n}\n\n/** Body zone: small, muted supporting text with a dark-mode variant. */\nexport function getMediaObjectBodyClasses(): string {\n  return 'smart:text-sm smart:text-gray-700 smart:dark:text-gray-300';\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { MediaObjectStandardComponent } from '../standard/standard.component';\nimport {\n  getMediaObjectBodyClasses,\n  getMediaObjectMediaClasses,\n  getMediaObjectRootClasses,\n} from './preset-classes.util';\n\n/**\n * Styled media-object variation (preset).\n *\n * Drop-in replacement for `MediaObjectStandardComponent` — register it through\n * `MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-media-object>`,\n * or use the `<smart-media-object-preset>` selector directly.\n *\n * Lays a rounded thumbnail beside projected body content, honouring\n * `IMediaObjectOptions`: `position` (left/right), `alignment`\n * (top/center/bottom/stretched), `responsive` folding, `nested` spacing and a\n * `wide` media footprint.\n */\n@Component({\n  selector: 'smart-media-object-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MediaObjectPresetComponent extends MediaObjectStandardComponent {\n  // Declared without the inherited `class` alias. <smart-media-object> resolves\n  // its inputs to the names this component declares (outletInputs), so the\n  // class passed to the wrapper still lands here; used directly, the preset\n  // takes the extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected rootClasses = computed(() =>\n    getMediaObjectRootClasses(this.options()),\n  );\n  protected mediaClasses = computed(() =>\n    getMediaObjectMediaClasses(this.options()),\n  );\n  protected bodyClasses = getMediaObjectBodyClasses();\n}\n","<div\n  [class]=\"rootClasses() + (cssClass() ? ' ' + cssClass() : '')\"\n  data-role=\"root\"\n  [attr.data-position]=\"options()?.position ?? 'left'\"\n  [attr.data-alignment]=\"options()?.alignment ?? null\"\n>\n  <img\n    [class]=\"mediaClasses()\"\n    [src]=\"mediaUrl()\"\n    [alt]=\"mediaAlt()\"\n    data-role=\"media\"\n  />\n  <div [class]=\"'smart-media-object-body ' + bodyClasses\" data-role=\"body\">\n    <ng-content />\n  </div>\n</div>\n","/**\n * The preset modals that are open, in the order they opened. Every open preset\n * listens to Escape on the whole document, so with modals stacked (a modal\n * opened from a modal) only the one on top may close on it.\n */\nconst openLayers: object[] = [];\n\n/** Puts `layer` on top of the open modals. */\nexport function openEscapeLayer(layer: object): void {\n  closeEscapeLayer(layer);\n  openLayers.push(layer);\n}\n\n/** Takes `layer` off the open modals, wherever it is. */\nexport function closeEscapeLayer(layer: object): void {\n  const index = openLayers.indexOf(layer);\n\n  if (index !== -1) openLayers.splice(index, 1);\n}\n\n/** Whether `layer` is the open modal on top, the one Escape closes. */\nexport function isTopEscapeLayer(layer: object): boolean {\n  return openLayers[openLayers.length - 1] === layer;\n}\n","import {\n  SmartModalActionVariant,\n  SmartModalFooterStyle,\n  SmartModalVariant,\n} from '../../../models';\n\n/**\n * Class recipes for the styled modal preset.\n *\n * Preline semantic tokens are translated to `smart:`-prefixed vanilla Tailwind\n * palette classes with explicit `dark:` variants (Preline is not installed in\n * the fork). All symbols are prefixed with `Modal` to stay collision-free once\n * the library is barrelled with `export *`.\n */\n\n// Full-screen scrollable backdrop that hosts the modal panel.\nexport const MODAL_BACKDROP = [\n  'smart:fixed',\n  'smart:inset-0',\n  'smart:z-[80]',\n  'smart:overflow-x-hidden',\n  'smart:overflow-y-auto',\n  'smart:bg-gray-900/50',\n  'smart:dark:bg-gray-900/80',\n].join(' ');\n\nconst WRAPPER_BASE = ['smart:m-3', 'smart:sm:mx-auto'].join(' ');\n\n// The bottom sheet is docked to the bottom edge of the viewport: full width on\n// small screens, centred under its max width from `sm`.\nconst WRAPPER_BOTTOM_SHEET = [\n  'smart:fixed',\n  'smart:inset-x-0',\n  'smart:bottom-0',\n  'smart:sm:mx-auto',\n].join(' ');\n\nconst WRAPPER_WIDTH_BY_VARIANT: Record<SmartModalVariant, string> = {\n  centered: 'smart:sm:max-w-lg smart:sm:w-full',\n  wide: 'smart:lg:max-w-4xl smart:lg:w-full',\n  alert: 'smart:sm:max-w-md smart:sm:w-full',\n  'left-aligned-buttons': 'smart:sm:max-w-lg smart:sm:w-full',\n  'bottom-sheet': 'smart:w-full smart:sm:max-w-2xl',\n};\n\n// Vertically-centered variants need the flex + min-height treatment.\nconst WRAPPER_CENTERED = [\n  'smart:min-h-[calc(100%-56px)]',\n  'smart:flex',\n  'smart:items-center',\n].join(' ');\n\nconst PANEL_BASE = [\n  'smart:flex',\n  'smart:flex-col',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-2xs',\n  'smart:rounded-xl',\n  'smart:pointer-events-auto',\n].join(' ');\n\n// The sheet's panel: flush with the bottom edge (a top border only on small\n// screens, rounded top corners from `sm`), at most 85% of the viewport high so\n// the body scrolls, and padded by the bottom safe area of notched phones.\nconst PANEL_BOTTOM_SHEET = [\n  'smart:flex',\n  'smart:flex-col',\n  'smart:w-full',\n  'smart:max-h-[85dvh]',\n  'smart:pb-[env(safe-area-inset-bottom)]',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border-t',\n  'smart:sm:border-x',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:shadow-lg',\n  'smart:sm:rounded-t-xl',\n  'smart:pointer-events-auto',\n].join(' ');\n\nexport const MODAL_HEADER = [\n  'smart:flex',\n  'smart:justify-between',\n  'smart:items-center',\n  'smart:py-3',\n  'smart:px-4',\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n].join(' ');\n\nexport const MODAL_TITLE = [\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nexport const MODAL_DISMISS = [\n  'smart:size-8',\n  'smart:inline-flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:rounded-full',\n  'smart:bg-gray-100',\n  'smart:dark:bg-gray-700',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-600',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-200',\n  'smart:dark:hover:bg-gray-600',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nexport const MODAL_BODY = ['smart:p-4', 'smart:overflow-y-auto'].join(' ');\n\nexport const MODAL_DESCRIPTION = [\n  'smart:mt-1',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst FOOTER_BASE = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:py-3',\n  'smart:px-4',\n  'smart:border-t',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n].join(' ');\n\nconst FOOTER_GRAY = ['smart:bg-gray-50', 'smart:dark:bg-gray-800/50'].join(' ');\n\n// The gray footer follows the rounded bottom corners of the card; the bottom\n// sheet has none.\nconst FOOTER_GRAY_ROUNDED = 'smart:rounded-b-xl';\n\nconst ACTION_BASE = [\n  'smart:py-2',\n  'smart:px-3',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst ACTION_BY_VARIANT: Record<SmartModalActionVariant, string> = {\n  primary:\n    'smart:bg-blue-600 smart:dark:bg-blue-500 smart:border smart:border-blue-600 smart:dark:border-blue-500 smart:text-white smart:hover:bg-blue-700 smart:dark:hover:bg-blue-600',\n  secondary:\n    'smart:bg-white smart:dark:bg-gray-800 smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:text-gray-800 smart:dark:text-gray-200 smart:shadow-2xs smart:hover:bg-gray-100 smart:dark:hover:bg-gray-700',\n  danger:\n    'smart:bg-red-600 smart:dark:bg-red-500 smart:border smart:border-red-600 smart:dark:border-red-500 smart:text-white smart:hover:bg-red-700 smart:dark:hover:bg-red-600',\n};\n\nfunction isCentered(variant: SmartModalVariant): boolean {\n  return variant === 'centered' || variant === 'alert';\n}\n\nfunction isBottomSheet(variant: SmartModalVariant): boolean {\n  return variant === 'bottom-sheet';\n}\n\nexport function getModalWrapperClasses(variant: SmartModalVariant): string {\n  return [\n    isBottomSheet(variant) ? WRAPPER_BOTTOM_SHEET : WRAPPER_BASE,\n    WRAPPER_WIDTH_BY_VARIANT[variant],\n    isCentered(variant) ? WRAPPER_CENTERED : '',\n  ]\n    .filter(Boolean)\n    .join(' ');\n}\n\nexport function getModalPanelClasses(variant: SmartModalVariant): string {\n  if (isBottomSheet(variant)) return PANEL_BOTTOM_SHEET;\n\n  // Centered wrappers stretch the panel to the wrapper width.\n  return [PANEL_BASE, isCentered(variant) ? 'smart:w-full' : '']\n    .filter(Boolean)\n    .join(' ');\n}\n\nexport function getModalFooterClasses(\n  variant: SmartModalVariant,\n  footerStyle: SmartModalFooterStyle,\n): string {\n  const alignment =\n    variant === 'left-aligned-buttons'\n      ? 'smart:justify-start'\n      : 'smart:justify-end';\n  const gray = footerStyle === 'gray';\n\n  return [\n    FOOTER_BASE,\n    alignment,\n    gray ? FOOTER_GRAY : '',\n    gray && !isBottomSheet(variant) ? FOOTER_GRAY_ROUNDED : '',\n  ]\n    .filter(Boolean)\n    .join(' ');\n}\n\nexport function getModalActionClasses(\n  variant: SmartModalActionVariant = 'primary',\n): string {\n  return `${ACTION_BASE} ${ACTION_BY_VARIANT[variant]}`;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  DestroyRef,\n  effect,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SmartModalFooterStyle, SmartModalVariant } from '../../../models';\nimport { ModalBaseComponent } from '../base';\nimport {\n  closeEscapeLayer,\n  isTopEscapeLayer,\n  openEscapeLayer,\n} from './escape-layers';\nimport {\n  getModalActionClasses,\n  getModalFooterClasses,\n  getModalPanelClasses,\n  getModalWrapperClasses,\n  MODAL_BACKDROP,\n  MODAL_BODY,\n  MODAL_DESCRIPTION,\n  MODAL_DISMISS,\n  MODAL_HEADER,\n  MODAL_TITLE,\n} from './preset-classes.util';\n\n/**\n * Styled modal variation (preset).\n *\n * Drop-in replacement for `ModalStandardComponent` — register it through\n * `MODAL_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-modal>`, or use the\n * `<smart-modal-preset>` selector directly.\n *\n * Preline's Overlay JS plugin is NOT used: open/close and backdrop dismiss are\n * driven by the existing `open` model + `close()`/`invokeAction()` API with\n * `@if` and `(click)`, while keeping the translated Preline visual classes and\n * the dialog ARIA contract (`role=\"dialog\"`, `aria-modal=\"true\"`).\n */\n@Component({\n  selector: 'smart-modal-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  host: {\n    '(document:keydown.escape)': 'onEscape()',\n  },\n})\nexport class ModalPresetComponent extends ModalBaseComponent {\n  // Declared without the inherited `class` alias. <smart-modal> resolves its\n  // inputs to the names this component declares (outletInputs), so the class\n  // passed to the wrapper still lands here; used directly, the preset takes the\n  // extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected variant = computed<SmartModalVariant>(\n    () => this.options()?.variant ?? 'centered',\n  );\n\n  protected footerStyle = computed<SmartModalFooterStyle>(\n    () => this.options()?.footerStyle ?? 'default',\n  );\n\n  protected withDismiss = computed(() => Boolean(this.options()?.withDismiss));\n\n  protected readonly backdropClasses = MODAL_BACKDROP;\n  protected readonly headerClasses = MODAL_HEADER;\n  protected readonly titleClasses = MODAL_TITLE;\n  protected readonly dismissClasses = MODAL_DISMISS;\n  protected readonly bodyClasses = MODAL_BODY;\n  protected readonly descriptionClasses = MODAL_DESCRIPTION;\n\n  protected wrapperClasses = computed(() =>\n    getModalWrapperClasses(this.variant()),\n  );\n  protected panelClasses = computed(() => getModalPanelClasses(this.variant()));\n  protected footerClasses = computed(() =>\n    getModalFooterClasses(this.variant(), this.footerStyle()),\n  );\n\n  protected actionClasses(variant?: string): string {\n    return getModalActionClasses(\n      variant as Parameters<typeof getModalActionClasses>[0],\n    );\n  }\n\n  protected onBackdropClick(event: MouseEvent): void {\n    // Only dismiss when the backdrop itself is clicked, not the panel.\n    if (event.target === event.currentTarget) {\n      this.close();\n    }\n  }\n\n  constructor() {\n    super();\n\n    // Escape closes only the modal on top when modals are stacked.\n    effect(() => {\n      if (this.open()) openEscapeLayer(this);\n      else closeEscapeLayer(this);\n    });\n    inject(DestroyRef).onDestroy(() => closeEscapeLayer(this));\n  }\n\n  protected onEscape(): void {\n    if (this.open() && isTopEscapeLayer(this)) {\n      this.close();\n    }\n  }\n}\n","@if (open()) {\n  <div\n    [class]=\"backdropClasses\"\n    role=\"presentation\"\n    (click)=\"onBackdropClick($event)\"\n  >\n    <div [class]=\"wrapperClasses() + ' ' + cssClass()\">\n      <div\n        [class]=\"panelClasses()\"\n        role=\"dialog\"\n        aria-modal=\"true\"\n        tabindex=\"-1\"\n        [attr.aria-labelledby]=\"title() ? 'smart-modal-preset-title' : null\"\n        [attr.aria-label]=\"!title() ? (options()?.ariaLabel ?? null) : null\"\n      >\n        @if (title() || withDismiss()) {\n          <div [class]=\"headerClasses\">\n            @if (title()) {\n              <h3 id=\"smart-modal-preset-title\" [class]=\"titleClasses\">\n                {{ title() }}\n              </h3>\n            }\n            @if (withDismiss()) {\n              <button\n                type=\"button\"\n                [class]=\"dismissClasses\"\n                aria-label=\"Close\"\n                (click)=\"close()\"\n              >\n                <span class=\"smart:sr-only\">Close</span>\n                <svg\n                  class=\"smart:shrink-0 smart:size-4\"\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                  width=\"24\"\n                  height=\"24\"\n                  viewBox=\"0 0 24 24\"\n                  fill=\"none\"\n                  stroke=\"currentColor\"\n                  stroke-width=\"2\"\n                  stroke-linecap=\"round\"\n                  stroke-linejoin=\"round\"\n                  aria-hidden=\"true\"\n                >\n                  <path d=\"M18 6 6 18\" />\n                  <path d=\"m6 6 12 12\" />\n                </svg>\n              </button>\n            }\n          </div>\n        }\n\n        <div [class]=\"bodyClasses\">\n          @if (description()) {\n            <p [class]=\"descriptionClasses\">{{ description() }}</p>\n          }\n          <ng-content />\n        </div>\n\n        @if (actions().length > 0) {\n          <div [class]=\"footerClasses()\">\n            @for (action of actions(); track action.id) {\n              <button\n                type=\"button\"\n                [class]=\"actionClasses(action.variant)\"\n                (click)=\"invokeAction(action.id)\"\n              >\n                {{ action.label }}\n              </button>\n            }\n          </div>\n        }\n      </div>\n    </div>\n  </div>\n}\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IMultiColumnLayoutOptions,\n} from '../../../models';\n\n@Directive()\nexport abstract class MultiColumnLayoutBaseComponent {\n  static smartType: DynamicComponentType = 'multi-column-layout';\n\n  options: InputSignal<IMultiColumnLayoutOptions | undefined> =\n    input<IMultiColumnLayoutOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { MultiColumnLayoutBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-multi-column-layout-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class MultiColumnLayoutStandardComponent extends MultiColumnLayoutBaseComponent {}\n","<div [class]=\"cssClass()\">\n  @if (options()?.headerTpl) {\n    <header>\n      <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n    </header>\n  }\n  <aside class=\"nav\">\n    @if (options()?.navTpl) {\n      <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n    }\n  </aside>\n  <main>\n    <ng-content />\n  </main>\n  <aside class=\"secondary\">\n    @if (options()?.secondaryTpl) {\n      <ng-container [ngTemplateOutlet]=\"options()!.secondaryTpl!\" />\n    }\n  </aside>\n</div>\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IMultiColumnLayoutOptions } from '../../models';\nimport { MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { MultiColumnLayoutStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-multi-column-layout',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-multi-column-layout-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      >\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-multi-column-layout-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [\n    MultiColumnLayoutStandardComponent,\n    NgComponentOutlet,\n    NgTemplateOutlet,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MultiColumnLayoutComponent {\n  private injectedComponent = inject(\n    MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN,\n    {\n      optional: true,\n    },\n  );\n\n  options = input<IMultiColumnLayoutOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","// Preset class recipes for the multi-column-layout preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`), and every\n// color carries an explicit `dark:` variant so the same template covers both\n// light and dark modes. Surfaces mirror the stacked-layout and sidebar-layout\n// presets: white header and column asides over a gray page body.\n\nimport {\n  SmartMultiColumnLayoutSecondaryWidth,\n  SmartMultiColumnLayoutWidth,\n} from '../../../models';\n\nconst ROOT = [\n  'smart:min-h-full',\n  'smart:bg-gray-50',\n  'smart:dark:bg-gray-900',\n].join(' ');\n\nconst HEADER = [\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:px-4',\n  'smart:py-4',\n  'smart:sm:px-6',\n  'smart:lg:px-8',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nconst TITLE = [\n  'smart:text-2xl',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst ROW = 'smart:flex';\n\nconst NAV = [\n  'smart:w-64',\n  'smart:shrink-0',\n  'smart:border-e',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nconst MAIN = [\n  'smart:flex-1',\n  'smart:bg-gray-50',\n  'smart:py-8',\n  'smart:dark:bg-gray-900',\n].join(' ');\n\nconst CONTENT_CONTAINER_BASE = [\n  'smart:px-4',\n  'smart:sm:px-6',\n  'smart:lg:px-8',\n].join(' ');\n\nconst CONTENT_WIDTH: Record<SmartMultiColumnLayoutWidth, string> = {\n  constrained: 'smart:mx-auto smart:max-w-7xl',\n  full: 'smart:max-w-none',\n};\n\nconst DEFAULT_WIDTH: SmartMultiColumnLayoutWidth = 'full';\n\nconst SECONDARY_BASE = [\n  'smart:shrink-0',\n  'smart:border-s',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nconst SECONDARY_WIDTH: Record<SmartMultiColumnLayoutSecondaryWidth, string> = {\n  sm: 'smart:w-64',\n  md: 'smart:w-80',\n  lg: 'smart:w-96',\n};\n\nconst DEFAULT_SECONDARY_WIDTH: SmartMultiColumnLayoutSecondaryWidth = 'sm';\n\nexport function getMultiColumnLayoutRootClasses(): string {\n  return ROOT;\n}\n\nexport function getMultiColumnLayoutHeaderClasses(): string {\n  return HEADER;\n}\n\nexport function getMultiColumnLayoutTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getMultiColumnLayoutRowClasses(): string {\n  return ROW;\n}\n\nexport function getMultiColumnLayoutNavClasses(): string {\n  return NAV;\n}\n\nexport function getMultiColumnLayoutMainClasses(): string {\n  return MAIN;\n}\n\nexport function getMultiColumnLayoutContentContainerClasses(\n  width: SmartMultiColumnLayoutWidth | undefined,\n): string {\n  return `${CONTENT_CONTAINER_BASE} ${CONTENT_WIDTH[width ?? DEFAULT_WIDTH]}`;\n}\n\nexport function getMultiColumnLayoutSecondaryClasses(\n  secondaryWidth: SmartMultiColumnLayoutSecondaryWidth | undefined,\n): string {\n  return `${SECONDARY_BASE} ${SECONDARY_WIDTH[secondaryWidth ?? DEFAULT_SECONDARY_WIDTH]}`;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { MultiColumnLayoutStandardComponent } from '../standard/standard.component';\nimport {\n  getMultiColumnLayoutContentContainerClasses,\n  getMultiColumnLayoutHeaderClasses,\n  getMultiColumnLayoutMainClasses,\n  getMultiColumnLayoutNavClasses,\n  getMultiColumnLayoutRootClasses,\n  getMultiColumnLayoutRowClasses,\n  getMultiColumnLayoutSecondaryClasses,\n  getMultiColumnLayoutTitleClasses,\n} from './preset-classes.util';\n\n/**\n * Styled multi-column-layout variation (preset).\n *\n * Drop-in replacement for `MultiColumnLayoutStandardComponent` — register it\n * through `MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-multi-column-layout>`, or use the `<smart-multi-column-layout-preset>`\n * selector directly.\n *\n * Renders a full-height gray page root, an optional white header zone (header\n * template or `title` fallback), and a flex row pairing an optional bordered\n * white navigation aside (`options.navTpl`), a gray main content region that\n * projects `<ng-content>`, and an optional bordered white secondary aside\n * (`options.secondaryTpl`) on the trailing edge. `options.width` toggles the\n * main content container between constrained (`max-w-7xl`, centered) and full\n * width, while `options.secondaryWidth` sizes the secondary aside (sm/md/lg).\n */\n@Component({\n  selector: 'smart-multi-column-layout-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgTemplateOutlet],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MultiColumnLayoutPresetComponent extends MultiColumnLayoutStandardComponent {\n  // Declared without the inherited `class` alias. <smart-multi-column-layout>\n  // resolves its inputs to the names this component declares (outletInputs), so\n  // the class passed to the wrapper still lands here; used directly, the preset\n  // takes the extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected rootClasses = computed(() =>\n    [getMultiColumnLayoutRootClasses(), this.cssClass()]\n      .filter(Boolean)\n      .join(' '),\n  );\n\n  protected headerClasses = computed(() => getMultiColumnLayoutHeaderClasses());\n\n  protected titleClasses = computed(() => getMultiColumnLayoutTitleClasses());\n\n  protected rowClasses = computed(() => getMultiColumnLayoutRowClasses());\n\n  protected navClasses = computed(() => getMultiColumnLayoutNavClasses());\n\n  protected mainClasses = computed(() => getMultiColumnLayoutMainClasses());\n\n  protected contentContainerClasses = computed(() =>\n    getMultiColumnLayoutContentContainerClasses(this.options()?.width),\n  );\n\n  protected secondaryClasses = computed(() =>\n    getMultiColumnLayoutSecondaryClasses(this.options()?.secondaryWidth),\n  );\n}\n","<div [class]=\"rootClasses()\" data-role=\"root\">\n  @if (options()?.headerTpl || options()?.title) {\n    <header [class]=\"headerClasses()\" data-role=\"header\">\n      @if (options()?.headerTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n      } @else if (options()?.title) {\n        <h1 [class]=\"titleClasses()\" data-role=\"title\">\n          {{ options()?.title }}\n        </h1>\n      }\n    </header>\n  }\n  <div [class]=\"rowClasses()\">\n    @if (options()?.navTpl) {\n      <aside [class]=\"navClasses()\" data-role=\"nav\">\n        <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n      </aside>\n    }\n    <main [class]=\"mainClasses()\" data-role=\"content\">\n      <div [class]=\"contentContainerClasses()\">\n        <ng-content />\n      </div>\n    </main>\n    @if (options()?.secondaryTpl) {\n      <aside [class]=\"secondaryClasses()\" data-role=\"secondary\">\n        <ng-container [ngTemplateOutlet]=\"options()!.secondaryTpl!\" />\n      </aside>\n    }\n  </div>\n</div>\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, INavbarOptions } from '../../../models';\n\nexport interface INavbarItemClick {\n  itemId: string;\n}\n\n@Directive()\nexport abstract class NavbarBaseComponent {\n  static smartType: DynamicComponentType = 'navbar';\n\n  options: InputSignal<INavbarOptions | undefined> = input<INavbarOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n  mobileMenuOpen: ModelSignal<boolean> = model<boolean>(false);\n\n  itemClick: OutputEmitterRef<INavbarItemClick> = output<INavbarItemClick>();\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { NavbarBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-navbar-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class NavbarStandardComponent extends NavbarBaseComponent {\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n\n  protected toggleMobileMenu(): void {\n    this.mobileMenuOpen.set(!this.mobileMenuOpen());\n  }\n}\n","<div [class]=\"cssClass()\">\n  <nav class=\"navbar\">\n    <button\n      type=\"button\"\n      class=\"mobile-menu-toggle\"\n      [attr.aria-expanded]=\"mobileMenuOpen()\"\n      (click)=\"toggleMobileMenu()\"\n    >\n      <span class=\"sr-only\">Toggle menu</span>\n    </button>\n    @if (options()?.logoTpl) {\n      <div class=\"logo\">\n        <ng-container [ngTemplateOutlet]=\"options()!.logoTpl!\" />\n      </div>\n    } @else if (options()?.logoUrl) {\n      @if (options()?.logoHref) {\n        <a [href]=\"options()!.logoHref\" class=\"logo\">\n          <img\n            [src]=\"options()!.logoUrl\"\n            [attr.alt]=\"options()?.logoAlt ?? ''\"\n          />\n        </a>\n      } @else {\n        <span class=\"logo\">\n          <img\n            [src]=\"options()!.logoUrl\"\n            [attr.alt]=\"options()?.logoAlt ?? ''\"\n          />\n        </span>\n      }\n    }\n    @if ((options()?.items ?? []).length > 0) {\n      <ul class=\"items\" role=\"list\">\n        @for (item of options()!.items!; track item.id) {\n          <li class=\"item\">\n            @if (item.href) {\n              <a\n                [href]=\"item.href\"\n                [class]=\"'item-link' + (item.current ? ' current' : '')\"\n              >\n                @if (item.iconTpl) {\n                  <span class=\"item-icon\">\n                    <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                  </span>\n                }\n                @if (item.label) {\n                  {{ item.label }}\n                }\n              </a>\n            } @else {\n              <button\n                type=\"button\"\n                [class]=\"'item-button' + (item.current ? ' current' : '')\"\n                (click)=\"onItemClick(item.id)\"\n              >\n                @if (item.iconTpl) {\n                  <span class=\"item-icon\">\n                    <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                  </span>\n                }\n                @if (item.label) {\n                  {{ item.label }}\n                }\n              </button>\n            }\n          </li>\n        }\n      </ul>\n    }\n    @if (options()?.searchTpl) {\n      <div class=\"search\">\n        <ng-container [ngTemplateOutlet]=\"options()!.searchTpl!\" />\n      </div>\n    }\n    @if (options()?.actionTpl) {\n      <div class=\"action\">\n        <ng-container [ngTemplateOutlet]=\"options()!.actionTpl!\" />\n      </div>\n    }\n    @if (options()?.notificationTpl) {\n      <div class=\"notification\">\n        <ng-container [ngTemplateOutlet]=\"options()!.notificationTpl!\" />\n      </div>\n    }\n    @if (options()?.userMenuTpl) {\n      <div class=\"user-menu\">\n        <ng-container [ngTemplateOutlet]=\"options()!.userMenuTpl!\" />\n      </div>\n    }\n  </nav>\n  @if ((options()?.secondaryItems ?? []).length > 0) {\n    <nav class=\"navbar-secondary\">\n      <ul class=\"items\" role=\"list\">\n        @for (item of options()!.secondaryItems!; track item.id) {\n          <li class=\"item\">\n            @if (item.href) {\n              <a\n                [href]=\"item.href\"\n                [class]=\"'item-link' + (item.current ? ' current' : '')\"\n              >\n                @if (item.label) {\n                  {{ item.label }}\n                }\n              </a>\n            } @else {\n              <button\n                type=\"button\"\n                [class]=\"'item-button' + (item.current ? ' current' : '')\"\n                (click)=\"onItemClick(item.id)\"\n              >\n                @if (item.label) {\n                  {{ item.label }}\n                }\n              </button>\n            }\n          </li>\n        }\n      </ul>\n    </nav>\n  }\n  @if (mobileMenuOpen()) {\n    <div class=\"mobile-menu\">\n      <ul role=\"list\">\n        @for (item of options()?.items ?? []; track item.id) {\n          <li>\n            @if (item.href) {\n              <a [href]=\"item.href\" [class]=\"item.current ? 'current' : null\">{{\n                item.label\n              }}</a>\n            } @else {\n              <button\n                type=\"button\"\n                [class]=\"item.current ? 'current' : null\"\n                (click)=\"onItemClick(item.id)\"\n              >\n                {{ item.label }}\n              </button>\n            }\n          </li>\n        }\n      </ul>\n    </div>\n  }\n</div>\n","// Class recipes for the styled navbar preset. Preline semantic tokens are\n// translated to smart:-prefixed vanilla Tailwind palette classes with explicit\n// dark: variants. The `dark` option maps to Preline's inverse color variant\n// (a solid dark bar), independent of the light/dark theme.\n\nconst HEADER_BASE = [\n  'smart:relative',\n  'smart:flex',\n  'smart:flex-wrap',\n  'smart:sm:justify-start',\n  'smart:sm:flex-nowrap',\n  'smart:w-full',\n  'smart:py-3',\n].join(' ');\n\nconst HEADER_LIGHT = [\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n].join(' ');\n\nconst HEADER_DARK = 'smart:bg-gray-900';\n\nexport const NAVBAR_NAV_CONTAINER = [\n  'smart:max-w-7xl',\n  'smart:w-full',\n  'smart:mx-auto',\n  'smart:px-4',\n  'smart:sm:flex',\n  'smart:sm:items-center',\n  'smart:sm:justify-between',\n].join(' ');\n\nexport const NAVBAR_BRAND_ROW =\n  'smart:flex smart:items-center smart:justify-between';\n\nconst BRAND_BASE = [\n  'smart:flex-none',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-xl',\n  'smart:font-semibold',\n  'smart:focus:outline-none',\n  'smart:focus:opacity-80',\n].join(' ');\n\nconst BRAND_LIGHT = 'smart:text-gray-900 smart:dark:text-white';\nconst BRAND_DARK = 'smart:text-white';\n\nconst TOGGLE_BASE = [\n  'smart:relative',\n  'smart:size-9',\n  'smart:flex',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:rounded-lg',\n  'smart:shadow-2xs',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\nconst TOGGLE_LIGHT = [\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n  'smart:focus:bg-gray-100',\n  'smart:dark:focus:bg-gray-700',\n].join(' ');\n\nconst TOGGLE_DARK = [\n  'smart:border',\n  'smart:border-white/30',\n  'smart:text-white',\n  'smart:hover:bg-white/20',\n  'smart:focus:bg-white/20',\n].join(' ');\n\nconst COLLAPSE_BASE = [\n  'smart:overflow-hidden',\n  'smart:transition-all',\n  'smart:duration-300',\n  'smart:basis-full',\n  'smart:grow',\n  'smart:sm:block',\n].join(' ');\n\nexport const NAVBAR_LINKS_CONTAINER = [\n  'smart:flex',\n  'smart:flex-col',\n  'smart:gap-5',\n  'smart:mt-5',\n  'smart:sm:flex-row',\n  'smart:sm:items-center',\n  'smart:sm:justify-end',\n  'smart:sm:mt-0',\n  'smart:sm:ps-5',\n].join(' ');\n\nconst ITEM_BASE = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:focus:outline-none',\n].join(' ');\n\nconst ITEM_LIGHT_NORMAL = [\n  'smart:text-gray-600',\n  'smart:dark:text-gray-400',\n  'smart:hover:text-blue-700',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:text-blue-700',\n].join(' ');\n\nconst ITEM_LIGHT_ACTIVE = [\n  'smart:font-medium',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n].join(' ');\n\nconst ITEM_DARK_NORMAL = [\n  'smart:text-white/70',\n  'smart:hover:text-white',\n  'smart:focus:text-white',\n].join(' ');\n\nconst ITEM_DARK_ACTIVE = 'smart:font-medium smart:text-white';\n\nconst SECONDARY_NAV_BASE = [\n  'smart:basis-full',\n  'smart:w-full',\n  'smart:mt-3',\n  'smart:pt-3',\n  'smart:border-t',\n].join(' ');\n\nconst SECONDARY_NAV_LIGHT = 'smart:border-gray-200 smart:dark:border-gray-700';\nconst SECONDARY_NAV_DARK = 'smart:border-white/20';\n\nexport const NAVBAR_SECONDARY_CONTAINER = [\n  'smart:max-w-7xl',\n  'smart:w-full',\n  'smart:mx-auto',\n  'smart:px-4',\n  'smart:flex',\n  'smart:flex-wrap',\n  'smart:items-center',\n  'smart:gap-5',\n].join(' ');\n\nexport function getNavbarHeaderClasses(dark: boolean): string {\n  return `${HEADER_BASE} ${dark ? HEADER_DARK : HEADER_LIGHT}`;\n}\n\nexport function getNavbarBrandClasses(dark: boolean): string {\n  return `${BRAND_BASE} ${dark ? BRAND_DARK : BRAND_LIGHT}`;\n}\n\nexport function getNavbarToggleClasses(dark: boolean): string {\n  return `${TOGGLE_BASE} ${dark ? TOGGLE_DARK : TOGGLE_LIGHT}`;\n}\n\nexport function getNavbarCollapseClasses(open: boolean): string {\n  return open ? COLLAPSE_BASE : `${COLLAPSE_BASE} smart:hidden`;\n}\n\nexport function getNavbarItemClasses(dark: boolean, current: boolean): string {\n  const state = dark\n    ? current\n      ? ITEM_DARK_ACTIVE\n      : ITEM_DARK_NORMAL\n    : current\n      ? ITEM_LIGHT_ACTIVE\n      : ITEM_LIGHT_NORMAL;\n  return `${ITEM_BASE} ${state}`;\n}\n\nexport function getNavbarSecondaryNavClasses(dark: boolean): string {\n  return `${SECONDARY_NAV_BASE} ${dark ? SECONDARY_NAV_DARK : SECONDARY_NAV_LIGHT}`;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { INavbarItem } from '../../../models';\nimport { NavbarBaseComponent } from '../base';\nimport {\n  getNavbarBrandClasses,\n  getNavbarCollapseClasses,\n  getNavbarHeaderClasses,\n  getNavbarItemClasses,\n  getNavbarSecondaryNavClasses,\n  getNavbarToggleClasses,\n  NAVBAR_BRAND_ROW,\n  NAVBAR_LINKS_CONTAINER,\n  NAVBAR_NAV_CONTAINER,\n  NAVBAR_SECONDARY_CONTAINER,\n} from './preset-classes.util';\n\n/**\n * Styled navbar variation (preset).\n *\n * Drop-in replacement for `NavbarStandardComponent` — register it through\n * `NAVBAR_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-navbar>`, or use\n * the `<smart-navbar-preset>` selector directly.\n *\n * Renders the Preline collapsible navbar look: a brand/logo slot, a responsive\n * primary link row (with optional search / action / notification / user-menu\n * slots), an optional secondary link row, and a mobile menu toggle. The mobile\n * collapse is driven entirely by the two-way `mobileMenuOpen` signal — no\n * Preline JS runtime is required. The `options.dark` flag switches to the solid\n * dark color variant.\n */\n@Component({\n  selector: 'smart-navbar-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class NavbarPresetComponent extends NavbarBaseComponent {\n  // Declared without the inherited `class` alias. <smart-navbar> resolves its\n  // inputs to the names this component declares (outletInputs), so the class\n  // passed to the wrapper still lands here; used directly, the preset takes the\n  // extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  // Static template constants exposed to the view.\n  protected readonly navContainerClasses = NAVBAR_NAV_CONTAINER;\n  protected readonly brandRowClasses = NAVBAR_BRAND_ROW;\n  protected readonly linksContainerClasses = NAVBAR_LINKS_CONTAINER;\n  protected readonly secondaryContainerClasses = NAVBAR_SECONDARY_CONTAINER;\n\n  protected dark = computed<boolean>(() => Boolean(this.options()?.dark));\n  protected menuOnLeft = computed<boolean>(() =>\n    Boolean(this.options()?.menuButtonOnLeft),\n  );\n  protected items = computed<INavbarItem[]>(() => this.options()?.items ?? []);\n  protected secondaryItems = computed<INavbarItem[]>(\n    () => this.options()?.secondaryItems ?? [],\n  );\n\n  protected headerClasses = computed(() =>\n    `${getNavbarHeaderClasses(this.dark())} ${this.cssClass()}`.trim(),\n  );\n  protected brandClasses = computed(() => getNavbarBrandClasses(this.dark()));\n  protected toggleClasses = computed(() => getNavbarToggleClasses(this.dark()));\n  protected collapseClasses = computed(() =>\n    getNavbarCollapseClasses(this.mobileMenuOpen()),\n  );\n  protected toggleWrapperClasses = computed(() =>\n    this.menuOnLeft() ? 'smart:sm:hidden smart:order-first' : 'smart:sm:hidden',\n  );\n  protected secondaryNavClasses = computed(() =>\n    getNavbarSecondaryNavClasses(this.dark()),\n  );\n\n  protected itemClasses(current: boolean): string {\n    return getNavbarItemClasses(this.dark(), current);\n  }\n\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n\n  protected toggleMobileMenu(): void {\n    this.mobileMenuOpen.set(!this.mobileMenuOpen());\n  }\n}\n","<header [class]=\"headerClasses()\">\n  <nav [class]=\"navContainerClasses\">\n    <div [class]=\"brandRowClasses\">\n      @if (options()?.logoTpl) {\n        @if (options()?.logoHref) {\n          <a\n            [href]=\"options()!.logoHref\"\n            [class]=\"brandClasses()\"\n            aria-label=\"Brand\"\n          >\n            <ng-container [ngTemplateOutlet]=\"options()!.logoTpl!\" />\n          </a>\n        } @else {\n          <span [class]=\"brandClasses()\" aria-label=\"Brand\">\n            <ng-container [ngTemplateOutlet]=\"options()!.logoTpl!\" />\n          </span>\n        }\n      } @else if (options()?.logoUrl) {\n        @if (options()?.logoHref) {\n          <a\n            [href]=\"options()!.logoHref\"\n            [class]=\"brandClasses()\"\n            aria-label=\"Brand\"\n          >\n            <img\n              class=\"smart:w-10 smart:h-auto\"\n              [src]=\"options()!.logoUrl\"\n              [attr.alt]=\"options()?.logoAlt ?? ''\"\n            />\n          </a>\n        } @else {\n          <span [class]=\"brandClasses()\" aria-label=\"Brand\">\n            <img\n              class=\"smart:w-10 smart:h-auto\"\n              [src]=\"options()!.logoUrl\"\n              [attr.alt]=\"options()?.logoAlt ?? ''\"\n            />\n          </span>\n        }\n      }\n\n      <div [class]=\"toggleWrapperClasses()\">\n        <button\n          type=\"button\"\n          [class]=\"toggleClasses()\"\n          [attr.aria-expanded]=\"mobileMenuOpen()\"\n          aria-controls=\"smart-navbar-collapse\"\n          aria-label=\"Toggle navigation\"\n          (click)=\"toggleMobileMenu()\"\n        >\n          @if (!mobileMenuOpen()) {\n            <svg\n              class=\"smart:shrink-0 smart:size-4\"\n              xmlns=\"http://www.w3.org/2000/svg\"\n              width=\"24\"\n              height=\"24\"\n              viewBox=\"0 0 24 24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"2\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n              aria-hidden=\"true\"\n            >\n              <line x1=\"3\" x2=\"21\" y1=\"6\" y2=\"6\" />\n              <line x1=\"3\" x2=\"21\" y1=\"12\" y2=\"12\" />\n              <line x1=\"3\" x2=\"21\" y1=\"18\" y2=\"18\" />\n            </svg>\n          } @else {\n            <svg\n              class=\"smart:shrink-0 smart:size-4\"\n              xmlns=\"http://www.w3.org/2000/svg\"\n              width=\"24\"\n              height=\"24\"\n              viewBox=\"0 0 24 24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"2\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n              aria-hidden=\"true\"\n            >\n              <path d=\"M18 6 6 18\" />\n              <path d=\"m6 6 12 12\" />\n            </svg>\n          }\n          <span class=\"smart:sr-only\">Toggle navigation</span>\n        </button>\n      </div>\n    </div>\n\n    <div\n      id=\"smart-navbar-collapse\"\n      [class]=\"collapseClasses()\"\n      role=\"region\"\n      aria-label=\"Main menu\"\n    >\n      <div [class]=\"linksContainerClasses\">\n        @for (item of items(); track item.id) {\n          @if (item.href) {\n            <a\n              [href]=\"item.href\"\n              [class]=\"itemClasses(!!item.current)\"\n              [attr.aria-current]=\"item.current ? 'page' : null\"\n            >\n              @if (item.iconTpl) {\n                <span class=\"smart:shrink-0\">\n                  <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                </span>\n              }\n              @if (item.label) {\n                {{ item.label }}\n              }\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"itemClasses(!!item.current)\"\n              [attr.aria-current]=\"item.current ? 'page' : null\"\n              (click)=\"onItemClick(item.id)\"\n            >\n              @if (item.iconTpl) {\n                <span class=\"smart:shrink-0\">\n                  <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                </span>\n              }\n              @if (item.label) {\n                {{ item.label }}\n              }\n            </button>\n          }\n        }\n\n        @if (options()?.searchTpl) {\n          <div class=\"smart:sm:ms-2\">\n            <ng-container [ngTemplateOutlet]=\"options()!.searchTpl!\" />\n          </div>\n        }\n        @if (options()?.actionTpl) {\n          <div>\n            <ng-container [ngTemplateOutlet]=\"options()!.actionTpl!\" />\n          </div>\n        }\n        @if (options()?.notificationTpl) {\n          <div>\n            <ng-container [ngTemplateOutlet]=\"options()!.notificationTpl!\" />\n          </div>\n        }\n        @if (options()?.userMenuTpl) {\n          <div>\n            <ng-container [ngTemplateOutlet]=\"options()!.userMenuTpl!\" />\n          </div>\n        }\n      </div>\n    </div>\n  </nav>\n\n  @if (secondaryItems().length > 0) {\n    <nav [class]=\"secondaryNavClasses()\" aria-label=\"Secondary\">\n      <div [class]=\"secondaryContainerClasses\">\n        @for (item of secondaryItems(); track item.id) {\n          @if (item.href) {\n            <a\n              [href]=\"item.href\"\n              [class]=\"itemClasses(!!item.current)\"\n              [attr.aria-current]=\"item.current ? 'page' : null\"\n            >\n              @if (item.label) {\n                {{ item.label }}\n              }\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"itemClasses(!!item.current)\"\n              [attr.aria-current]=\"item.current ? 'page' : null\"\n              (click)=\"onItemClick(item.id)\"\n            >\n              @if (item.label) {\n                {{ item.label }}\n              }\n            </button>\n          }\n        }\n      </div>\n    </nav>\n  }\n</header>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { INavbarOptions } from '../../models';\nimport { NAVBAR_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { INavbarItemClick } from './base/base.component';\nimport { NavbarStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-navbar',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-navbar-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        [(mobileMenuOpen)]=\"mobileMenuOpen\"\n        (itemClick)=\"itemClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [NavbarStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarComponent {\n  private injectedComponent = inject(NAVBAR_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<INavbarOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n  mobileMenuOpen = model<boolean>(false);\n\n  itemClick = output<INavbarItemClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n      mobileMenuOpen: this.mobileMenuOpen(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      itemClick: this.itemClick,\n      mobileMenuOpen: this.mobileMenuOpen,\n    });\n  }\n}\n","import { SmartNotificationVariant } from '../../../models';\n\nexport type SmartNotificationPresetVariant = SmartNotificationVariant;\n\n// Card container shared by every toast variant (Preline `bg-layer` /\n// `border-layer-line` / `rounded-xl` / `shadow-lg`).\nconst CONTAINER = [\n  'smart:max-w-xs',\n  'smart:w-full',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:rounded-xl',\n  'smart:shadow-lg',\n].join(' ');\n\n// `text-layer-foreground font-semibold` heading used by the rich variants.\nconst TITLE = [\n  'smart:text-sm',\n  'smart:font-semibold',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n].join(' ');\n\n// `text-sm text-layer-foreground` message paragraph (simple / condensed).\nconst MESSAGE = [\n  'smart:text-sm',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n].join(' ');\n\n// `mt-1 text-sm text-muted-foreground-2` secondary description.\nconst DESCRIPTION = [\n  'smart:mt-1',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\n// Leading icon slot — renders the supplied `iconName` glyph.\nconst ICON = [\n  'smart:shrink-0',\n  'smart:inline-flex',\n  'smart:mt-0.5',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nconst AVATAR = [\n  'smart:shrink-0',\n  'smart:size-8',\n  'smart:rounded-full',\n  'smart:object-cover',\n].join(' ');\n\n// `text-layer-foreground opacity-50 hover:opacity-100` close button.\nconst CLOSE_BASE = [\n  'smart:inline-flex',\n  'smart:shrink-0',\n  'smart:justify-center',\n  'smart:items-center',\n  'smart:size-5',\n  'smart:rounded-lg',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:opacity-50',\n  'smart:hover:opacity-100',\n  'smart:focus:outline-none',\n  'smart:focus:opacity-100',\n].join(' ');\n\nconst CLOSE_ABSOLUTE = ['smart:absolute', 'smart:top-3', 'smart:end-3'].join(\n  ' ',\n);\n\nconst ACTIONS_ROW = ['smart:mt-4', 'smart:flex', 'smart:gap-x-3'].join(' ');\n\n// `text-primary decoration-2 hover:underline` text link action.\nconst ACTION_LINK_PRIMARY = [\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n  'smart:decoration-2',\n  'smart:hover:underline',\n  'smart:font-medium',\n  'smart:text-sm',\n  'smart:focus:outline-none',\n  'smart:focus:underline',\n].join(' ');\n\nconst ACTION_LINK_SECONDARY = [\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:decoration-2',\n  'smart:hover:underline',\n  'smart:font-medium',\n  'smart:text-sm',\n  'smart:focus:outline-none',\n  'smart:focus:underline',\n].join(' ');\n\nconst ACTION_BUTTON_BASE = [\n  'smart:py-2',\n  'smart:px-3',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:justify-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:rounded-lg',\n  'smart:focus:outline-none',\n].join(' ');\n\nconst ACTION_BUTTON_PRIMARY = [\n  'smart:bg-blue-600',\n  'smart:text-white',\n  'smart:hover:bg-blue-700',\n  'smart:dark:bg-blue-500',\n  'smart:dark:hover:bg-blue-600',\n].join(' ');\n\nconst ACTION_BUTTON_SECONDARY = [\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:text-gray-800',\n  'smart:dark:text-white',\n  'smart:hover:bg-gray-50',\n  'smart:dark:hover:bg-gray-700',\n].join(' ');\n\nconst BUTTON_VARIANTS: SmartNotificationVariant[] = [\n  'with-buttons-below',\n  'with-split-buttons',\n];\n\nexport function getNotificationContainerClasses(): string {\n  return CONTAINER;\n}\n\nexport function getNotificationTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getNotificationMessageClasses(): string {\n  return MESSAGE;\n}\n\nexport function getNotificationDescriptionClasses(): string {\n  return DESCRIPTION;\n}\n\nexport function getNotificationIconClasses(): string {\n  return ICON;\n}\n\nexport function getNotificationAvatarClasses(): string {\n  return AVATAR;\n}\n\nexport function getNotificationCloseClasses(absolute: boolean): string {\n  return absolute ? `${CLOSE_BASE} ${CLOSE_ABSOLUTE}` : CLOSE_BASE;\n}\n\nexport function getNotificationActionsRowClasses(): string {\n  return ACTIONS_ROW;\n}\n\nexport function getNotificationActionClasses(\n  variant: SmartNotificationVariant,\n  actionVariant: 'primary' | 'secondary',\n): string {\n  if (BUTTON_VARIANTS.includes(variant)) {\n    const tone =\n      actionVariant === 'secondary'\n        ? ACTION_BUTTON_SECONDARY\n        : ACTION_BUTTON_PRIMARY;\n    const grow = variant === 'with-split-buttons' ? 'smart:grow' : '';\n    return `${ACTION_BUTTON_BASE} ${tone} ${grow}`.trim();\n  }\n\n  return actionVariant === 'secondary'\n    ? ACTION_LINK_SECONDARY\n    : ACTION_LINK_PRIMARY;\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { INotificationAction, SmartNotificationVariant } from '../../../models';\nimport { NotificationBaseComponent } from '../base';\nimport {\n  getNotificationActionClasses,\n  getNotificationActionsRowClasses,\n  getNotificationAvatarClasses,\n  getNotificationCloseClasses,\n  getNotificationContainerClasses,\n  getNotificationDescriptionClasses,\n  getNotificationIconClasses,\n  getNotificationMessageClasses,\n  getNotificationTitleClasses,\n} from './preset-classes.util';\n\nlet nextId = 0;\n\n/**\n * Styled notification (toast) variation (preset).\n *\n * Drop-in replacement for `NotificationStandardComponent` — register it through\n * `NOTIFICATION_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-notification>`,\n * or use the `<smart-notification-preset>` selector directly.\n *\n * Renders the translated Preline toast looks, selected via `options.variant`\n * (defaults to `simple`): `simple`, `condensed`, `with-actions-below`,\n * `with-buttons-below`, `with-split-buttons` and `with-avatar`. Open/close state\n * is Angular-driven (the `dismiss()` output), so no Preline JS runtime is needed.\n */\n@Component({\n  selector: 'smart-notification-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationPresetComponent extends NotificationBaseComponent {\n  // Declared without the inherited `class` alias. <smart-notification> resolves\n  // its inputs to the names this component declares (outletInputs), so the\n  // class passed to the wrapper still lands here; used directly, the preset\n  // takes the extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected readonly labelId = `smart-notification-preset-${nextId++}`;\n\n  protected variant = computed<SmartNotificationVariant>(\n    () => this.options()?.variant ?? 'simple',\n  );\n\n  protected ariaLive = computed<'polite' | 'assertive'>(\n    () => this.options()?.ariaLive ?? 'polite',\n  );\n\n  protected containerClasses = computed(() =>\n    getNotificationContainerClasses(),\n  );\n  protected titleClasses = computed(() => getNotificationTitleClasses());\n  protected messageClasses = computed(() => getNotificationMessageClasses());\n  protected descriptionClasses = computed(() =>\n    getNotificationDescriptionClasses(),\n  );\n  protected iconClasses = computed(() => getNotificationIconClasses());\n  protected avatarClasses = computed(() => getNotificationAvatarClasses());\n  protected closeInlineClasses = computed(() =>\n    getNotificationCloseClasses(false),\n  );\n  protected closeAbsoluteClasses = computed(() =>\n    getNotificationCloseClasses(true),\n  );\n  protected actionsRowClasses = computed(() =>\n    getNotificationActionsRowClasses(),\n  );\n\n  protected actionClasses(action: INotificationAction): string {\n    return getNotificationActionClasses(\n      this.variant(),\n      action.variant ?? 'primary',\n    );\n  }\n}\n","<div\n  role=\"alert\"\n  tabindex=\"-1\"\n  [attr.aria-live]=\"ariaLive()\"\n  [attr.aria-labelledby]=\"labelId\"\n  [class]=\"containerClasses() + ' ' + cssClass()\"\n>\n  @if (variant() === 'condensed') {\n    <div class=\"smart:flex smart:p-4\">\n      <p [id]=\"labelId\" [class]=\"messageClasses()\">{{ title() }}</p>\n      <div class=\"smart:ms-auto smart:flex smart:items-center smart:space-x-3\">\n        @for (action of actions(); track action.id) {\n          <button\n            type=\"button\"\n            [class]=\"actionClasses(action)\"\n            (click)=\"invokeAction(action.id)\"\n          >\n            {{ action.label }}\n          </button>\n        }\n        @if (dismissible()) {\n          <button\n            type=\"button\"\n            aria-label=\"Close\"\n            [class]=\"closeInlineClasses()\"\n            (click)=\"dismiss()\"\n          >\n            <span class=\"smart:sr-only\">Close</span>\n            <svg\n              class=\"smart:shrink-0 smart:size-4\"\n              xmlns=\"http://www.w3.org/2000/svg\"\n              width=\"24\"\n              height=\"24\"\n              viewBox=\"0 0 24 24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"2\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n              aria-hidden=\"true\"\n            >\n              <path d=\"M18 6 6 18\" />\n              <path d=\"m6 6 12 12\" />\n            </svg>\n          </button>\n        }\n      </div>\n    </div>\n  } @else if (variant() === 'simple') {\n    <div class=\"smart:flex smart:gap-x-3 smart:p-4\">\n      @if (iconName()) {\n        <span [class]=\"iconClasses()\">{{ iconName() }}</span>\n      }\n      <div class=\"smart:grow\">\n        <p [id]=\"labelId\" [class]=\"messageClasses()\">{{ title() }}</p>\n        @if (description()) {\n          <div [class]=\"descriptionClasses()\">{{ description() }}</div>\n        }\n      </div>\n      @if (dismissible()) {\n        <div class=\"smart:ms-auto\">\n          <button\n            type=\"button\"\n            aria-label=\"Close\"\n            [class]=\"closeInlineClasses()\"\n            (click)=\"dismiss()\"\n          >\n            <span class=\"smart:sr-only\">Close</span>\n            <svg\n              class=\"smart:shrink-0 smart:size-4\"\n              xmlns=\"http://www.w3.org/2000/svg\"\n              width=\"24\"\n              height=\"24\"\n              viewBox=\"0 0 24 24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"2\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n              aria-hidden=\"true\"\n            >\n              <path d=\"M18 6 6 18\" />\n              <path d=\"m6 6 12 12\" />\n            </svg>\n          </button>\n        </div>\n      }\n    </div>\n  } @else {\n    <div class=\"smart:relative smart:flex smart:gap-x-3 smart:p-4\">\n      @if (variant() === 'with-avatar' && avatarUrl()) {\n        <img [class]=\"avatarClasses()\" [src]=\"avatarUrl()\" alt=\"\" />\n      } @else if (iconName()) {\n        <span [class]=\"iconClasses()\">{{ iconName() }}</span>\n      }\n      @if (dismissible()) {\n        <button\n          type=\"button\"\n          aria-label=\"Close\"\n          [class]=\"closeAbsoluteClasses()\"\n          (click)=\"dismiss()\"\n        >\n          <span class=\"smart:sr-only\">Close</span>\n          <svg\n            class=\"smart:shrink-0 smart:size-4\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n            width=\"24\"\n            height=\"24\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            stroke-width=\"2\"\n            stroke-linecap=\"round\"\n            stroke-linejoin=\"round\"\n            aria-hidden=\"true\"\n          >\n            <path d=\"M18 6 6 18\" />\n            <path d=\"m6 6 12 12\" />\n          </svg>\n        </button>\n      }\n      <div class=\"smart:grow smart:pe-4\">\n        <h3 [id]=\"labelId\" [class]=\"titleClasses()\">{{ title() }}</h3>\n        @if (description()) {\n          <div [class]=\"descriptionClasses()\">{{ description() }}</div>\n        }\n        @if (actions().length) {\n          <div [class]=\"actionsRowClasses()\">\n            @for (action of actions(); track action.id) {\n              <button\n                type=\"button\"\n                [class]=\"actionClasses(action)\"\n                (click)=\"invokeAction(action.id)\"\n              >\n                {{ action.label }}\n              </button>\n            }\n          </div>\n        }\n      </div>\n    </div>\n  }\n</div>\n","import { Location } from '@angular/common';\nimport {\n  ElementRef,\n  OnDestroy,\n  OnInit,\n  Renderer2,\n  Directive,\n  ViewContainerRef,\n  TemplateRef,\n  input,\n  viewChild,\n  inject,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport {\n  DynamicComponentType,\n  IIconButtonOptions,\n  IPageOptions,\n} from '../../../models';\nimport { AppService } from '../../../services';\nimport { HardwareService } from '../../../services';\n\n@Directive()\nexport abstract class PageBaseComponent implements OnInit, OnDestroy {\n  private el = inject(ElementRef);\n  private renderer = inject(Renderer2);\n  private location = inject(Location);\n  public appService = inject(AppService);\n  public hardwareService = inject(HardwareService);\n  // private popover: PopoverController, //TODO: to be injected\n\n  static smartType: DynamicComponentType = 'page';\n\n  public options = input<IPageOptions | null>();\n  public cssClass = input<string>('', { alias: 'class' });\n  private _subscriptions = new Subscription();\n\n  get isMobile(): boolean {\n    return this.hardwareService.isMobile || this.hardwareService.isMobileWeb;\n  }\n\n  contentTpl = viewChild<TemplateRef<any> | ViewContainerRef | undefined>(\n    'contentTpl',\n  );\n\n  back(): void {\n    this.location.back();\n  }\n\n  async presentPopover(ev: any, btn: IIconButtonOptions): Promise<void> {\n    // const instance = await this.popover.create({\n    //   event: ev,\n    //   component: btn.component,\n    //   translucent: true,\n    // });\n    //\n    // await instance.present();\n  }\n\n  ngOnInit() {\n    this.renderer.setStyle(this.el.nativeElement, 'height', '100%');\n  }\n\n  ngOnDestroy(): void {\n    if (this._subscriptions) {\n      this._subscriptions.unsubscribe();\n    }\n  }\n}\n","import { AsyncPipe, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ButtonComponent } from '../../button/button.component';\nimport { PageBaseComponent } from '../base/base.component';\n\nconst noop = () => undefined;\n\n@Component({\n  selector: 'smart-page-standard',\n  template: `\n    <div [class]=\"cssClass()\" data-role=\"page\">\n      @if (!options()?.hideHeader) {\n        <div\n          class=\"smart:md:flex smart:md:items-center smart:md:justify-between smart:px-4 smart:py-4 smart:sm:px-6 smart:lg:px-8\"\n        >\n          <div class=\"smart:min-w-0 smart:flex-1\">\n            <div class=\"smart:flex smart:items-center smart:gap-x-3\">\n              @if (options()?.showBackButton) {\n                <button\n                  type=\"button\"\n                  (click)=\"back()\"\n                  class=\"smart:inline-flex smart:items-center smart:rounded-md smart:p-1.5 smart:text-gray-400 smart:hover:text-gray-500 smart:dark:text-gray-500 smart:dark:hover:text-gray-400\"\n                >\n                  <svg\n                    xmlns=\"http://www.w3.org/2000/svg\"\n                    viewBox=\"0 0 20 20\"\n                    fill=\"currentColor\"\n                    class=\"smart:size-5\"\n                  >\n                    <path\n                      fill-rule=\"evenodd\"\n                      d=\"M17 10a.75.75 0 0 1-.75.75H5.612l4.158 3.96a.75.75 0 1 1-1.04 1.08l-5.5-5.25a.75.75 0 0 1 0-1.08l5.5-5.25a.75.75 0 1 1 1.04 1.08L5.612 9.25H16.25A.75.75 0 0 1 17 10Z\"\n                      clip-rule=\"evenodd\"\n                    />\n                  </svg>\n                </button>\n              }\n              <h2\n                class=\"smart:text-2xl/7 smart:font-bold smart:text-gray-900 smart:sm:truncate smart:sm:text-3xl smart:sm:tracking-tight smart:dark:text-white\"\n              >\n                {{ options()?.title ?? '' | translate }}\n              </h2>\n            </div>\n          </div>\n          @if (options()?.endButtons?.length || options()?.search) {\n            <div\n              class=\"smart:mt-4 smart:flex smart:shrink-0 smart:gap-x-2 smart:md:ml-4 smart:md:mt-0\"\n            >\n              @if (options()?.search; as search) {\n                <div class=\"smart:relative smart:rounded-md smart:shadow-xs\">\n                  <input\n                    type=\"text\"\n                    [value]=\"search.text() ?? ''\"\n                    (input)=\"search.set($any($event.target).value)\"\n                    [placeholder]=\"'search' | translate\"\n                    class=\"smart:block smart:w-full smart:rounded-md smart:border-0 smart:py-1.5 smart:pl-3 smart:pr-10 smart:text-gray-900 smart:ring-1 smart:ring-inset smart:ring-gray-300 smart:placeholder:text-gray-400 smart:focus:ring-2 smart:focus:ring-inset smart:focus:ring-indigo-600 smart:sm:text-sm/6 smart:dark:bg-white/5 smart:dark:text-white smart:dark:ring-white/10 smart:dark:placeholder:text-gray-500\"\n                  />\n                </div>\n              }\n              @for (btn of options()?.endButtons ?? []; track btn.icon) {\n                <smart-button\n                  [options]=\"getButtonOptions(btn)\"\n                  [disabled]=\"!!(btn.disabled$ | async)\"\n                >\n                  @if (btn.text) {\n                    {{ btn.text | translate }}\n                  }\n                  @if (btn.number) {\n                    <span\n                      class=\"smart:ml-1 smart:inline-flex smart:items-center smart:rounded-full smart:bg-indigo-100 smart:px-2 smart:py-0.5 smart:text-xs smart:font-medium smart:text-indigo-700 smart:dark:bg-indigo-500/10 smart:dark:text-indigo-400\"\n                      >{{ btn.number }}</span\n                    >\n                  }\n                </smart-button>\n              }\n            </div>\n          }\n        </div>\n      }\n      <div class=\"smart:px-4 smart:sm:px-6 smart:lg:px-8\">\n        @if (options()?.bodyTpl; as bodyTpl) {\n          <ng-container [ngTemplateOutlet]=\"bodyTpl\"></ng-container>\n        }\n      </div>\n    </div>\n  `,\n  imports: [TranslatePipe, ButtonComponent, AsyncPipe, NgTemplateOutlet],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PageStandardComponent extends PageBaseComponent {\n  // NgComponentOutlet passes 'cssClass' (not aliased 'class') so declare it\n  // explicitly; it is applied to the page root (`data-role=\"page\"`).\n  override cssClass = input<string>('');\n\n  getButtonOptions(btn: { handler?: () => void }) {\n    return {\n      click: btn.handler ?? noop,\n      variant: 'secondary' as const,\n      size: 'md' as const,\n    };\n  }\n}\n","// Class recipes for the styled page preset (application-shell look).\n// Every utility is smart:-prefixed with explicit smart:dark:* twins in the same\n// template — no separate dark component. Vanilla Tailwind palette is used\n// (gray-50/white shells, indigo accents) and kept template-faithful.\n\nconst PAGE = 'smart:min-h-full smart:bg-gray-50 smart:dark:bg-gray-900';\n\nconst HEADER =\n  'smart:bg-white smart:border-b smart:border-gray-200 smart:dark:bg-gray-800 smart:dark:border-gray-700';\n\nconst CONTAINER =\n  'smart:mx-auto smart:max-w-7xl smart:px-4 smart:sm:px-6 smart:lg:px-8';\n\nconst TITLE =\n  'smart:text-2xl smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n\nconst BODY_CARD =\n  'smart:rounded-lg smart:border smart:border-gray-200 smart:bg-white smart:p-4 smart:sm:p-6 smart:shadow-2xs smart:dark:border-gray-700 smart:dark:bg-gray-800';\n\nconst ICON_BUTTON =\n  'smart:inline-flex smart:items-center smart:rounded-md smart:p-1.5 smart:text-gray-400 smart:hover:text-gray-500 smart:dark:text-gray-500 smart:dark:hover:text-gray-400';\n\nexport function getPagePageClasses(cssClass = ''): string {\n  return `${PAGE} ${cssClass}`.trim();\n}\n\nexport function getPageHeaderClasses(): string {\n  return HEADER;\n}\n\nexport function getPageContainerClasses(): string {\n  return CONTAINER;\n}\n\nexport function getPageTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getPageBodyCardClasses(): string {\n  return BODY_CARD;\n}\n\nexport function getPageIconButtonClasses(): string {\n  return ICON_BUTTON;\n}\n","import { AsyncPipe, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { ButtonComponent } from '../../button/button.component';\nimport { PageStandardComponent } from '../standard/standard.component';\nimport {\n  getPageBodyCardClasses,\n  getPageContainerClasses,\n  getPageHeaderClasses,\n  getPageIconButtonClasses,\n  getPagePageClasses,\n  getPageTitleClasses,\n} from './preset-classes.util';\n\n/**\n * Styled page variation (preset).\n *\n * A full application-shell layout: an optional banner strip, a bordered\n * `<header>` with breadcrumbs, a title row (back button, avatar/logo, title +\n * subtitle, search + action buttons), a meta/stats row and an optional filters\n * bar, followed by a gray page body that renders `bodyTpl` inside a content\n * card with an optional `<aside>` sidebar.\n *\n * Registered through `PAGE_VARIANT_COMPONENTS_TOKEN` under the `'preset'` key\n * (see `PAGE_PRESET_VARIANT_COMPONENTS`), or used directly via the\n * `<smart-page-preset>` selector.\n */\n@Component({\n  selector: 'smart-page-preset',\n  templateUrl: './preset.component.html',\n  imports: [TranslatePipe, ButtonComponent, AsyncPipe, NgTemplateOutlet],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PagePresetComponent extends PageStandardComponent {\n  // Declared without the inherited `class` alias. <smart-page> resolves its\n  // inputs to the names this component declares (outletInputs), so the class\n  // passed to the wrapper still lands here; used directly, the preset takes the\n  // extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected readonly headerClasses = getPageHeaderClasses();\n  protected readonly containerClasses = getPageContainerClasses();\n  protected readonly titleClasses = getPageTitleClasses();\n  protected readonly bodyCardClasses = getPageBodyCardClasses();\n  protected readonly iconButtonClasses = getPageIconButtonClasses();\n\n  protected pageClasses = computed(() => getPagePageClasses(this.cssClass()));\n}\n","<div [class]=\"pageClasses()\" data-role=\"page\">\n  @if (options()?.bannerTpl; as bannerTpl) {\n    <div data-role=\"banner\" class=\"smart:w-full\">\n      <ng-container [ngTemplateOutlet]=\"bannerTpl\"></ng-container>\n    </div>\n  }\n\n  @if (!options()?.hideHeader) {\n    <header [class]=\"headerClasses\" data-role=\"header\">\n      <div [class]=\"containerClasses\">\n        @if (options()?.breadcrumbsTpl; as breadcrumbsTpl) {\n          <div\n            data-role=\"breadcrumbs\"\n            class=\"smart:pt-4 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400\"\n          >\n            <ng-container [ngTemplateOutlet]=\"breadcrumbsTpl\"></ng-container>\n          </div>\n        }\n\n        <div\n          class=\"smart:flex smart:items-center smart:justify-between smart:gap-x-4 smart:py-5\"\n        >\n          <div\n            class=\"smart:flex smart:min-w-0 smart:items-center smart:gap-x-3\"\n          >\n            @if (!options()?.hideMenuButton) {\n              <button\n                type=\"button\"\n                data-role=\"menu-button\"\n                [class]=\"iconButtonClasses\"\n              >\n                <svg\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                  viewBox=\"0 0 20 20\"\n                  fill=\"currentColor\"\n                  class=\"smart:size-5\"\n                >\n                  <path\n                    fill-rule=\"evenodd\"\n                    d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 5A.75.75 0 0 1 2.75 9h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 9.75Zm0 5a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z\"\n                    clip-rule=\"evenodd\"\n                  />\n                </svg>\n              </button>\n            }\n\n            @if (options()?.showBackButton) {\n              <button\n                type=\"button\"\n                data-role=\"back\"\n                (click)=\"back()\"\n                [class]=\"iconButtonClasses\"\n              >\n                <svg\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                  viewBox=\"0 0 20 20\"\n                  fill=\"currentColor\"\n                  class=\"smart:size-5\"\n                >\n                  <path\n                    fill-rule=\"evenodd\"\n                    d=\"M17 10a.75.75 0 0 1-.75.75H5.612l4.158 3.96a.75.75 0 1 1-1.04 1.08l-5.5-5.25a.75.75 0 0 1 0-1.08l5.5-5.25a.75.75 0 1 1 1.04 1.08L5.612 9.25H16.25A.75.75 0 0 1 17 10Z\"\n                    clip-rule=\"evenodd\"\n                  />\n                </svg>\n              </button>\n            }\n\n            @if (options()?.avatarTpl; as avatarTpl) {\n              <div data-role=\"avatar\" class=\"smart:shrink-0\">\n                <ng-container [ngTemplateOutlet]=\"avatarTpl\"></ng-container>\n              </div>\n            }\n            @if (options()?.logoTpl; as logoTpl) {\n              <div data-role=\"logo\" class=\"smart:shrink-0\">\n                <ng-container [ngTemplateOutlet]=\"logoTpl\"></ng-container>\n              </div>\n            }\n\n            <div class=\"smart:min-w-0\">\n              <h1 data-role=\"title\" [class]=\"titleClasses\">\n                {{ options()?.title ?? '' | translate }}\n              </h1>\n              @if (options()?.subtitleTpl; as subtitleTpl) {\n                <div\n                  data-role=\"subtitle\"\n                  class=\"smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400\"\n                >\n                  <ng-container [ngTemplateOutlet]=\"subtitleTpl\"></ng-container>\n                </div>\n              }\n            </div>\n          </div>\n\n          @if (options()?.search || options()?.endButtons?.length) {\n            <div\n              data-role=\"actions\"\n              class=\"smart:flex smart:shrink-0 smart:items-center smart:gap-x-2\"\n            >\n              @if (options()?.search; as search) {\n                <div class=\"smart:relative smart:rounded-md smart:shadow-xs\">\n                  <input\n                    type=\"text\"\n                    [value]=\"search.text() ?? ''\"\n                    (input)=\"search.set($any($event.target).value)\"\n                    [placeholder]=\"'search' | translate\"\n                    class=\"smart:block smart:w-full smart:rounded-md smart:border-0 smart:py-1.5 smart:pl-3 smart:pr-10 smart:text-gray-900 smart:ring-1 smart:ring-inset smart:ring-gray-300 smart:placeholder:text-gray-400 smart:focus:ring-2 smart:focus:ring-inset smart:focus:ring-indigo-600 smart:sm:text-sm/6 smart:dark:bg-white/5 smart:dark:text-white smart:dark:ring-white/10 smart:dark:placeholder:text-gray-500\"\n                  />\n                </div>\n              }\n              @for (btn of options()?.endButtons ?? []; track btn.icon) {\n                <smart-button\n                  [options]=\"getButtonOptions(btn)\"\n                  [disabled]=\"!!(btn.disabled$ | async)\"\n                >\n                  @if (btn.text) {\n                    {{ btn.text | translate }}\n                  }\n                  @if (btn.number) {\n                    <span\n                      class=\"smart:ml-1 smart:inline-flex smart:items-center smart:rounded-full smart:bg-indigo-100 smart:px-2 smart:py-0.5 smart:text-xs smart:font-medium smart:text-indigo-700 smart:dark:bg-indigo-500/10 smart:dark:text-indigo-400\"\n                      >{{ btn.number }}</span\n                    >\n                  }\n                </smart-button>\n              }\n            </div>\n          }\n        </div>\n\n        @if (options()?.metaTpl || options()?.statsTpl) {\n          <div\n            data-role=\"meta\"\n            class=\"smart:flex smart:flex-wrap smart:items-center smart:gap-x-6 smart:gap-y-2 smart:pb-5 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400\"\n          >\n            @if (options()?.metaTpl; as metaTpl) {\n              <ng-container [ngTemplateOutlet]=\"metaTpl\"></ng-container>\n            }\n            @if (options()?.statsTpl; as statsTpl) {\n              <ng-container [ngTemplateOutlet]=\"statsTpl\"></ng-container>\n            }\n          </div>\n        }\n      </div>\n    </header>\n\n    @if (options()?.filtersTpl; as filtersTpl) {\n      <div\n        data-role=\"filters\"\n        class=\"smart:border-b smart:border-gray-200 smart:bg-white smart:dark:border-gray-700 smart:dark:bg-gray-800\"\n      >\n        <div [class]=\"containerClasses\">\n          <div class=\"smart:py-3\">\n            <ng-container [ngTemplateOutlet]=\"filtersTpl\"></ng-container>\n          </div>\n        </div>\n      </div>\n    }\n  }\n\n  <div [class]=\"containerClasses\">\n    <div class=\"smart:flex smart:gap-x-8 smart:py-8\">\n      @if (options()?.sidebarTpl; as sidebarTpl) {\n        <aside\n          data-role=\"sidebar\"\n          class=\"smart:hidden smart:w-64 smart:shrink-0 smart:lg:block\"\n        >\n          <ng-container [ngTemplateOutlet]=\"sidebarTpl\"></ng-container>\n        </aside>\n      }\n\n      <div data-role=\"body\" class=\"smart:min-w-0 smart:flex-1\">\n        @if (options()?.bodyTpl; as bodyTpl) {\n          <div [class]=\"bodyCardClasses\">\n            <ng-container [ngTemplateOutlet]=\"bodyTpl\"></ng-container>\n          </div>\n        }\n      </div>\n    </div>\n  </div>\n</div>\n","import { Type } from '@angular/core';\n\nimport { SmartPageVariant } from '../../models';\nimport { PageBaseComponent } from './base/base.component';\nimport { PagePresetComponent } from './preset/preset.component';\n\n/**\n * Styled page variant preset (FRA-331), keyed by `SmartPageVariant`.\n * Provide it for `PAGE_VARIANT_COMPONENTS_TOKEN` to register the `'preset'`\n * variant alongside the built-in `'standard'`:\n *\n * ```ts\n * providers: [\n *   { provide: PAGE_VARIANT_COMPONENTS_TOKEN, useValue: PAGE_PRESET_VARIANT_COMPONENTS },\n * ];\n * ```\n *\n * The map is partial on purpose — it only adds `'preset'`; the built-in\n * `'standard'` variant keeps its component via the `baseMap` merge in\n * `PageComponent`.\n */\nexport const PAGE_PRESET_VARIANT_COMPONENTS: Partial<\n  Record<SmartPageVariant, Type<PageBaseComponent>>\n> = {\n  preset: PagePresetComponent,\n};\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  Type,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IPageOptions, SmartPageVariant } from '../../models';\nimport { PAGE_VARIANT_COMPONENTS_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { PageBaseComponent } from './base/base.component';\nimport { PageStandardComponent } from './standard/standard.component';\n\nconst baseMap: Partial<Record<SmartPageVariant, Type<PageBaseComponent>>> = {\n  standard: PageStandardComponent,\n};\n\n@Component({\n  selector: 'smart-page',\n  template: `\n    @let resolved = component();\n    @if (resolved) {\n      <ng-container\n        *ngComponentOutlet=\"resolved; inputs: componentInputs()\"\n      ></ng-container>\n    }\n    <ng-template #defaultBodyRef>\n      <ng-content></ng-content>\n    </ng-template>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PageComponent {\n  private extendMap = inject(PAGE_VARIANT_COMPONENTS_TOKEN, { optional: true });\n\n  options = input<IPageOptions | null>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  defaultBodyRef = viewChild<TemplateRef<unknown>>('defaultBodyRef');\n\n  component = computed(() => {\n    const variant = this.options()?.variant ?? 'standard';\n    const map = { ...baseMap, ...(this.extendMap ?? {}) };\n    return map[variant] ?? PageStandardComponent;\n  });\n\n  mergedOptions = computed<IPageOptions>(() => {\n    const opts = this.options() ?? { title: '' };\n    return { ...opts, bodyTpl: opts.bodyTpl ?? this.defaultBodyRef() };\n  });\n\n  componentInputs = computed(() =>\n    outletInputs(this.component(), {\n      options: this.mergedOptions(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IPageHeadingOptions } from '../../../models';\n\n@Directive()\nexport abstract class PageHeadingBaseComponent {\n  static smartType: DynamicComponentType = 'page-heading';\n\n  options: InputSignal<IPageHeadingOptions | undefined> =\n    input<IPageHeadingOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { PageHeadingBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-page-heading-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class PageHeadingStandardComponent extends PageHeadingBaseComponent {}\n","<div [class]=\"cssClass()\">\n  @if (options()?.breadcrumbsTpl) {\n    <nav class=\"breadcrumbs\">\n      <ng-container [ngTemplateOutlet]=\"options()!.breadcrumbsTpl!\" />\n    </nav>\n  }\n  @if (options()?.bannerTpl) {\n    <div class=\"banner\">\n      <ng-container [ngTemplateOutlet]=\"options()!.bannerTpl!\" />\n    </div>\n  }\n  <header>\n    @if (options()?.avatarTpl) {\n      <div class=\"avatar\">\n        <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n      </div>\n    }\n    @if (options()?.logoTpl) {\n      <div class=\"logo\">\n        <ng-container [ngTemplateOutlet]=\"options()!.logoTpl!\" />\n      </div>\n    }\n    @if (options()?.title) {\n      <h1>{{ options()!.title }}</h1>\n    }\n    @if (options()?.subtitle) {\n      <p class=\"subtitle\">{{ options()!.subtitle }}</p>\n    }\n    @if (options()?.metaTpl) {\n      <div class=\"meta\">\n        <ng-container [ngTemplateOutlet]=\"options()!.metaTpl!\" />\n      </div>\n    }\n    @if (options()?.statsTpl) {\n      <div class=\"stats\">\n        <ng-container [ngTemplateOutlet]=\"options()!.statsTpl!\" />\n      </div>\n    }\n    @if (options()?.actionsTpl) {\n      <div class=\"actions\">\n        <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n      </div>\n    }\n    @if (options()?.filtersTpl) {\n      <div class=\"filters\">\n        <ng-container [ngTemplateOutlet]=\"options()!.filtersTpl!\" />\n      </div>\n    }\n  </header>\n</div>\n","// Class recipes for the styled page-heading preset (HyperUI-style navbar look).\n// Vanilla Tailwind palette classes are kept template-faithful (teal-600 accents)\n// and every utility is smart:-prefixed with explicit smart:dark:* twins merged\n// from the original HyperUI dark variant.\n\nexport type PageHeadingPresetLayout =\n  | 'links-left'\n  | 'links-center'\n  | 'links-right'\n  | 'user';\n\nconst HEADER = 'smart:bg-white smart:dark:bg-gray-900';\n\nconst BAR_BASE = 'smart:flex smart:h-16 smart:items-center';\n\nexport function getPageHeadingHeaderClasses(): string {\n  return HEADER;\n}\n\nexport function getPageHeadingBarClasses(\n  layout: PageHeadingPresetLayout,\n): string {\n  const arrangement =\n    layout === 'links-left' ? 'smart:gap-8' : 'smart:justify-between';\n  return `${BAR_BASE} ${arrangement}`;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { PageHeadingStandardComponent } from '../standard/standard.component';\nimport {\n  getPageHeadingBarClasses,\n  getPageHeadingHeaderClasses,\n  PageHeadingPresetLayout,\n} from './preset-classes.util';\n\n/**\n * HyperUI-styled page-heading variation (preset).\n *\n * Unlike the standard page-heading, this preset intentionally renders a\n * NAVBAR-look `<header>`: a brand zone (the `logoTpl`, followed by the `title`\n * as an `<h1>` and the `subtitle` under it), a responsive desktop nav zone, a\n * CTA/actions zone (or a user avatar zone for the `user` layout) and a mobile\n * hamburger that toggles a collapsible panel. The collapse is driven entirely\n * by the local `menuOpened` signal — no external JS runtime is required. The\n * breadcrumbs, banner, meta, stats and filters slots are rendered by the\n * standard page heading only.\n *\n * Drop-in replacement for `PageHeadingStandardComponent`: register it through\n * `PAGE_HEADING_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-page-heading>`,\n * or use the `<smart-page-heading-preset>` selector directly.\n */\n@Component({\n  selector: 'smart-page-heading-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class PageHeadingPresetComponent extends PageHeadingStandardComponent {\n  // Declared without the inherited `class` alias. <smart-page-heading> resolves\n  // its inputs to the names this component declares (outletInputs), so the\n  // class passed to the wrapper still lands here; used directly, the preset\n  // takes the extra classes as `[cssClass]`.\n  override cssClass = input<string>('');\n\n  protected menuOpened = signal(false);\n\n  protected readonly titleClasses =\n    'smart:truncate smart:text-lg smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n  protected readonly subtitleClasses =\n    'smart:truncate smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n  protected readonly hamburgerClasses =\n    'smart:block smart:md:hidden smart:rounded-sm smart:bg-gray-100 smart:p-2.5 smart:text-gray-600 smart:transition smart:hover:text-gray-600/75 smart:dark:bg-gray-800 smart:dark:text-white smart:dark:hover:text-white/75';\n\n  protected layout = computed<PageHeadingPresetLayout>(\n    () => this.options()?.presentation?.layout ?? 'links-left',\n  );\n\n  protected headerClasses = computed(() =>\n    `${getPageHeadingHeaderClasses()} ${this.cssClass()}`.trim(),\n  );\n\n  protected barClasses = computed(() =>\n    getPageHeadingBarClasses(this.layout()),\n  );\n\n  protected toggleMenu(): void {\n    this.menuOpened.set(!this.menuOpened());\n  }\n}\n","<ng-template #logoZone>\n  <div class=\"smart:flex smart:items-center smart:gap-3\" data-role=\"logo\">\n    @if (options()?.logoTpl) {\n      <ng-container [ngTemplateOutlet]=\"options()!.logoTpl!\" />\n    }\n    @if (options()?.title || options()?.subtitle) {\n      <div class=\"smart:min-w-0\" data-role=\"heading\">\n        @if (options()?.title) {\n          <h1 [class]=\"titleClasses\" data-role=\"title\">\n            {{ options()!.title }}\n          </h1>\n        }\n        @if (options()?.subtitle) {\n          <p [class]=\"subtitleClasses\" data-role=\"subtitle\">\n            {{ options()!.subtitle }}\n          </p>\n        }\n      </div>\n    }\n  </div>\n</ng-template>\n\n<ng-template #navZone>\n  @if (options()?.navTpl) {\n    <div class=\"smart:hidden smart:md:block\" data-role=\"nav\">\n      <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n    </div>\n  }\n</ng-template>\n\n<ng-template #actionsZone>\n  @if (options()?.actionsTpl) {\n    <div\n      class=\"smart:hidden smart:md:flex smart:items-center smart:gap-4\"\n      data-role=\"actions\"\n    >\n      <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n    </div>\n  }\n</ng-template>\n\n<ng-template #avatarZone>\n  @if (options()?.avatarTpl) {\n    <div\n      class=\"smart:hidden smart:md:relative smart:md:block\"\n      data-role=\"avatar\"\n    >\n      <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n    </div>\n  }\n</ng-template>\n\n<ng-template #hamburgerZone>\n  <button\n    type=\"button\"\n    [class]=\"hamburgerClasses\"\n    (click)=\"toggleMenu()\"\n    data-role=\"hamburger\"\n    aria-label=\"Toggle menu\"\n  >\n    <span class=\"smart:sr-only\">Toggle menu</span>\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      class=\"smart:size-5\"\n      fill=\"none\"\n      viewBox=\"0 0 24 24\"\n      stroke=\"currentColor\"\n      stroke-width=\"2\"\n    >\n      <path\n        stroke-linecap=\"round\"\n        stroke-linejoin=\"round\"\n        d=\"M4 6h16M4 12h16M4 18h16\"\n      ></path>\n    </svg>\n  </button>\n</ng-template>\n\n<header [class]=\"headerClasses()\" data-role=\"header\">\n  <div\n    class=\"smart:mx-auto smart:max-w-7xl smart:px-4 smart:sm:px-6 smart:lg:px-8\"\n  >\n    @switch (layout()) {\n      @case ('links-center') {\n        <div [class]=\"barClasses()\">\n          <ng-container [ngTemplateOutlet]=\"logoZone\" />\n          <div\n            class=\"smart:hidden smart:md:flex smart:md:flex-1 smart:md:justify-center\"\n          >\n            <ng-container [ngTemplateOutlet]=\"navZone\" />\n          </div>\n          <div class=\"smart:flex smart:items-center smart:gap-4\">\n            <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n            <ng-container [ngTemplateOutlet]=\"hamburgerZone\" />\n          </div>\n        </div>\n      }\n      @case ('links-right') {\n        <div [class]=\"barClasses()\">\n          <div class=\"smart:flex smart:flex-1 smart:items-center\">\n            <ng-container [ngTemplateOutlet]=\"logoZone\" />\n          </div>\n          <div\n            class=\"smart:hidden smart:md:flex smart:md:items-center smart:md:gap-12\"\n          >\n            <ng-container [ngTemplateOutlet]=\"navZone\" />\n            <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n          </div>\n          <ng-container [ngTemplateOutlet]=\"hamburgerZone\" />\n        </div>\n      }\n      @case ('user') {\n        <div [class]=\"barClasses()\">\n          <div class=\"smart:flex smart:flex-1 smart:items-center\">\n            <ng-container [ngTemplateOutlet]=\"logoZone\" />\n          </div>\n          <div\n            class=\"smart:hidden smart:md:flex smart:md:items-center smart:md:gap-12\"\n          >\n            <ng-container [ngTemplateOutlet]=\"navZone\" />\n            <ng-container [ngTemplateOutlet]=\"avatarZone\" />\n          </div>\n          <ng-container [ngTemplateOutlet]=\"hamburgerZone\" />\n        </div>\n      }\n      @default {\n        <div [class]=\"barClasses()\">\n          <ng-container [ngTemplateOutlet]=\"logoZone\" />\n          <div\n            class=\"smart:flex smart:flex-1 smart:items-center smart:justify-end smart:md:justify-between\"\n          >\n            <ng-container [ngTemplateOutlet]=\"navZone\" />\n            <div class=\"smart:flex smart:items-center smart:gap-4\">\n              <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n              <ng-container [ngTemplateOutlet]=\"hamburgerZone\" />\n            </div>\n          </div>\n        </div>\n      }\n    }\n  </div>\n\n  @if (menuOpened()) {\n    <div class=\"smart:md:hidden smart:px-4 smart:pb-4\" data-role=\"mobile-panel\">\n      @if (options()?.navTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n      }\n      @if (options()?.actionsTpl) {\n        <div class=\"smart:mt-4\">\n          <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n        </div>\n      }\n    </div>\n  }\n</header>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IPageHeadingOptions } from '../../models';\nimport { PAGE_HEADING_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { PageHeadingStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-page-heading',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-page-heading-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [PageHeadingStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PageHeadingComponent {\n  private injectedComponent = inject(PAGE_HEADING_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IPageHeadingOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, IProgressBarsOptions } from '../../../models';\n\nexport interface IProgressStepClick {\n  stepId: string;\n}\n\n@Directive()\nexport abstract class ProgressBarsBaseComponent {\n  static smartType: DynamicComponentType = 'progress-bars';\n\n  options: InputSignal<IProgressBarsOptions | undefined> =\n    input<IProgressBarsOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  stepClick: OutputEmitterRef<IProgressStepClick> =\n    output<IProgressStepClick>();\n}\n","import {\n  SmartProgressBarsLayout,\n  SmartProgressStepStatus,\n} from '../../../models';\n\n/* -------------------------------------------------------------------------- */\n/* Percentage progress-bar mode (layout: 'progress-bar')                      */\n/* -------------------------------------------------------------------------- */\n\nexport const PROGRESS_BARS_WRAPPER = 'smart:w-full';\n\nexport const PROGRESS_BARS_HEADER = [\n  'smart:mb-2',\n  'smart:flex',\n  'smart:justify-between',\n  'smart:items-center',\n].join(' ');\n\nexport const PROGRESS_BARS_TITLE = [\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-800',\n  'smart:dark:text-white',\n].join(' ');\n\nexport const PROGRESS_BARS_VALUE_LABEL = [\n  'smart:text-sm',\n  'smart:text-gray-800',\n  'smart:dark:text-white',\n].join(' ');\n\nexport const PROGRESS_BARS_TRACK = [\n  'smart:flex',\n  'smart:w-full',\n  'smart:h-2.5',\n  'smart:bg-gray-200',\n  'smart:rounded-full',\n  'smart:overflow-hidden',\n  'smart:dark:bg-gray-700',\n].join(' ');\n\nexport const PROGRESS_BARS_FILL = [\n  'smart:flex',\n  'smart:flex-col',\n  'smart:justify-center',\n  'smart:rounded-full',\n  'smart:overflow-hidden',\n  'smart:bg-blue-600',\n  'smart:text-xs',\n  'smart:text-white',\n  'smart:text-center',\n  'smart:whitespace-nowrap',\n  'smart:transition',\n  'smart:duration-500',\n  'smart:dark:bg-blue-500',\n].join(' ');\n\nexport const PROGRESS_BARS_COLUMNS = [\n  'smart:mt-2',\n  'smart:grid',\n  'smart:gap-x-1',\n  'smart:text-xs',\n  'smart:text-center',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport function getProgressBarsColumnClasses(active: boolean): string {\n  return active\n    ? 'smart:font-semibold smart:text-gray-800 smart:dark:text-gray-200'\n    : '';\n}\n\n/* -------------------------------------------------------------------------- */\n/* Step-list / stepper mode                                                   */\n/* -------------------------------------------------------------------------- */\n\nconst VERTICAL_LAYOUTS: ReadonlySet<SmartProgressBarsLayout> = new Set([\n  'bullets-and-text',\n  'circles-with-text',\n]);\n\nconst BULLET_LAYOUTS: ReadonlySet<SmartProgressBarsLayout> = new Set([\n  'bullets',\n  'bullets-and-text',\n]);\n\nconst CIRCLE_LAYOUTS: ReadonlySet<SmartProgressBarsLayout> = new Set([\n  'circles',\n  'circles-with-text',\n  'panels',\n  'panels-with-border',\n]);\n\nexport function isProgressBarsVertical(\n  layout: SmartProgressBarsLayout,\n): boolean {\n  return VERTICAL_LAYOUTS.has(layout);\n}\n\nexport function isProgressBarsBullet(layout: SmartProgressBarsLayout): boolean {\n  return BULLET_LAYOUTS.has(layout);\n}\n\nexport function isProgressBarsCircle(layout: SmartProgressBarsLayout): boolean {\n  return CIRCLE_LAYOUTS.has(layout);\n}\n\nexport function isProgressBarsPanel(layout: SmartProgressBarsLayout): boolean {\n  return layout === 'panels' || layout === 'panels-with-border';\n}\n\nexport function isProgressBarsSimple(layout: SmartProgressBarsLayout): boolean {\n  return layout === 'simple';\n}\n\nexport const PROGRESS_BARS_NAV = 'smart:w-full';\n\nexport const PROGRESS_BARS_STEPPER_TITLE = [\n  'smart:mb-4',\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-800',\n  'smart:dark:text-white',\n].join(' ');\n\nexport function getProgressBarsListClasses(\n  layout: SmartProgressBarsLayout,\n): string {\n  if (isProgressBarsVertical(layout)) {\n    return 'smart:flex smart:flex-col smart:gap-y-4';\n  }\n  if (isProgressBarsSimple(layout)) {\n    return 'smart:flex smart:items-stretch smart:gap-x-2';\n  }\n  return 'smart:flex smart:items-center smart:w-full';\n}\n\nexport function getProgressBarsStepClasses(\n  layout: SmartProgressBarsLayout,\n  status: SmartProgressStepStatus,\n): string {\n  if (isProgressBarsSimple(layout)) {\n    const border =\n      status === 'upcoming'\n        ? 'smart:border-gray-200 smart:dark:border-gray-700'\n        : 'smart:border-blue-600 smart:dark:border-blue-500';\n    return `smart:flex smart:flex-1 smart:flex-col smart:border-t-4 smart:pt-3 ${border}`;\n  }\n\n  if (isProgressBarsPanel(layout)) {\n    const ring =\n      status === 'current'\n        ? 'smart:border-blue-600 smart:dark:border-blue-500'\n        : 'smart:border-gray-200 smart:dark:border-gray-700';\n    return `smart:flex smart:flex-1 smart:items-center smart:gap-x-3 smart:rounded-lg smart:border smart:p-4 ${ring}`;\n  }\n\n  if (isProgressBarsVertical(layout)) {\n    return 'smart:flex smart:items-start smart:gap-x-3';\n  }\n\n  // Horizontal circles / bullets share a connector-driven row.\n  return 'smart:flex smart:flex-1 smart:items-center smart:gap-x-2 smart:last:flex-none';\n}\n\nexport function getProgressBarsMarkerClasses(\n  layout: SmartProgressBarsLayout,\n  status: SmartProgressStepStatus,\n): string {\n  if (isProgressBarsBullet(layout)) {\n    const tone =\n      status === 'upcoming'\n        ? 'smart:bg-gray-300 smart:dark:bg-gray-600'\n        : 'smart:bg-blue-600 smart:dark:bg-blue-500';\n    return `smart:shrink-0 smart:size-2.5 smart:rounded-full ${tone}`;\n  }\n\n  // Circle marker (circles, circles-with-text, panels, panels-with-border).\n  const base =\n    'smart:shrink-0 smart:flex smart:items-center smart:justify-center smart:size-8 smart:rounded-full smart:text-sm smart:font-medium';\n  switch (status) {\n    case 'complete':\n      return `${base} smart:bg-blue-600 smart:text-white smart:dark:bg-blue-500`;\n    case 'current':\n      return `${base} smart:border-2 smart:border-blue-600 smart:text-blue-600 smart:dark:border-blue-500 smart:dark:text-blue-400`;\n    default:\n      return `${base} smart:border-2 smart:border-gray-300 smart:text-gray-500 smart:dark:border-gray-600 smart:dark:text-gray-400`;\n  }\n}\n\nexport function getProgressBarsNameClasses(\n  status: SmartProgressStepStatus,\n): string {\n  switch (status) {\n    case 'complete':\n      return 'smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white';\n    case 'current':\n      return 'smart:text-sm smart:font-medium smart:text-blue-600 smart:dark:text-blue-400';\n    default:\n      return 'smart:text-sm smart:font-medium smart:text-gray-500 smart:dark:text-gray-400';\n  }\n}\n\nexport const PROGRESS_BARS_DESCRIPTION = [\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport const PROGRESS_BARS_INDEX = 'smart:leading-none';\n\nexport function getProgressBarsConnectorClasses(\n  status: SmartProgressStepStatus,\n): string {\n  const tone =\n    status === 'complete'\n      ? 'smart:bg-blue-600 smart:dark:bg-blue-500'\n      : 'smart:bg-gray-200 smart:dark:bg-gray-700';\n  return `smart:h-0.5 smart:w-full smart:flex-1 smart:rounded-full ${tone}`;\n}\n\nexport const PROGRESS_BARS_STEP_BUTTON = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-3',\n  'smart:text-start',\n  'smart:focus:outline-none',\n].join(' ');\n\nexport const PROGRESS_BARS_STEP_LINK = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-3',\n  'smart:text-start',\n  'smart:focus:outline-none',\n].join(' ');\n\nexport const PROGRESS_BARS_CHECK_ICON = 'smart:size-4';\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport {\n  SmartProgressBarsLayout,\n  SmartProgressStepStatus,\n} from '../../../models';\nimport { ProgressBarsBaseComponent } from '../base';\nimport {\n  getProgressBarsColumnClasses,\n  getProgressBarsConnectorClasses,\n  getProgressBarsListClasses,\n  getProgressBarsMarkerClasses,\n  getProgressBarsNameClasses,\n  getProgressBarsStepClasses,\n  isProgressBarsBullet,\n  isProgressBarsCircle,\n  isProgressBarsPanel,\n  isProgressBarsSimple,\n  isProgressBarsVertical,\n  PROGRESS_BARS_CHECK_ICON,\n  PROGRESS_BARS_COLUMNS,\n  PROGRESS_BARS_DESCRIPTION,\n  PROGRESS_BARS_FILL,\n  PROGRESS_BARS_HEADER,\n  PROGRESS_BARS_INDEX,\n  PROGRESS_BARS_NAV,\n  PROGRESS_BARS_STEP_BUTTON,\n  PROGRESS_BARS_STEP_LINK,\n  PROGRESS_BARS_STEPPER_TITLE,\n  PROGRESS_BARS_TITLE,\n  PROGRESS_BARS_TRACK,\n  PROGRESS_BARS_VALUE_LABEL,\n  PROGRESS_BARS_WRAPPER,\n} from './preset-classes.util';\n\n/**\n * Styled progress-bars variation (preset).\n *\n * Drop-in replacement for `ProgressBarsStandardComponent` — register it through\n * `PROGRESS_BARS_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-progress-bars>`, or use the `<smart-progress-bars-preset>` selector\n * directly.\n *\n * Renders two modes off the shared `IProgressBarsOptions` API:\n * - the percentage `progress-bar` layout (track + fill, optional title/value\n *   label and column captions), and\n * - the step-list / stepper layouts (`simple`, `panels`, `panels-with-border`,\n *   `bullets`, `bullets-and-text`, `circles`, `circles-with-text`).\n */\n@Component({\n  selector: 'smart-progress-bars-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class ProgressBarsPresetComponent extends ProgressBarsBaseComponent {\n  // NgComponentOutlet (used by ProgressBarsComponent when this is registered\n  // through PROGRESS_BARS_STANDARD_COMPONENT_TOKEN) passes inputs by canonical\n  // name, so the inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected layout = computed<SmartProgressBarsLayout>(\n    () => this.options()?.layout ?? 'simple',\n  );\n\n  protected isBarLayout = computed(() => this.layout() === 'progress-bar');\n\n  protected steps = computed(() => this.options()?.steps ?? []);\n  protected columns = computed(() => this.options()?.columns ?? []);\n  protected title = computed(() => this.options()?.title);\n  protected srOnlyTitle = computed(() => this.options()?.srOnlyTitle);\n  protected ariaLabel = computed(() => this.options()?.ariaLabel ?? 'Progress');\n\n  protected clampedValue = computed(() => {\n    const v = this.options()?.value ?? 0;\n    return Math.max(0, Math.min(100, v));\n  });\n\n  protected isVertical = computed(() => isProgressBarsVertical(this.layout()));\n  protected isSimple = computed(() => isProgressBarsSimple(this.layout()));\n  protected isPanel = computed(() => isProgressBarsPanel(this.layout()));\n  protected isBullet = computed(() => isProgressBarsBullet(this.layout()));\n  protected isCircle = computed(() => isProgressBarsCircle(this.layout()));\n\n  // Connectors only make sense for horizontal circle/bullet rows.\n  protected hasConnectors = computed(\n    () =>\n      !this.isVertical() &&\n      !this.isSimple() &&\n      !this.isPanel() &&\n      (this.isCircle() || this.isBullet()),\n  );\n\n  protected showMarker = computed(() => !this.isSimple());\n\n  // Static class bundles surfaced to the template.\n  protected wrapperClasses = PROGRESS_BARS_WRAPPER;\n  protected headerClasses = PROGRESS_BARS_HEADER;\n  protected barTitleClasses = PROGRESS_BARS_TITLE;\n  protected valueLabelClasses = PROGRESS_BARS_VALUE_LABEL;\n  protected trackClasses = PROGRESS_BARS_TRACK;\n  protected fillClasses = PROGRESS_BARS_FILL;\n  protected columnsClasses = PROGRESS_BARS_COLUMNS;\n  protected navClasses = PROGRESS_BARS_NAV;\n  protected stepperTitleClasses = PROGRESS_BARS_STEPPER_TITLE;\n  protected descriptionClasses = PROGRESS_BARS_DESCRIPTION;\n  protected indexClasses = PROGRESS_BARS_INDEX;\n  protected stepButtonClasses = PROGRESS_BARS_STEP_BUTTON;\n  protected stepLinkClasses = PROGRESS_BARS_STEP_LINK;\n  protected checkIconClasses = PROGRESS_BARS_CHECK_ICON;\n\n  protected listClasses = computed(() =>\n    getProgressBarsListClasses(this.layout()),\n  );\n\n  protected columnsStyle = computed(\n    () => `repeat(${this.columns().length || 1}, minmax(0, 1fr))`,\n  );\n\n  protected stepClasses(status: SmartProgressStepStatus | undefined): string {\n    return getProgressBarsStepClasses(this.layout(), status ?? 'upcoming');\n  }\n\n  protected markerClasses(status: SmartProgressStepStatus | undefined): string {\n    return getProgressBarsMarkerClasses(this.layout(), status ?? 'upcoming');\n  }\n\n  protected nameClasses(status: SmartProgressStepStatus | undefined): string {\n    return getProgressBarsNameClasses(status ?? 'upcoming');\n  }\n\n  protected connectorClasses(\n    status: SmartProgressStepStatus | undefined,\n  ): string {\n    return getProgressBarsConnectorClasses(status ?? 'upcoming');\n  }\n\n  protected columnClasses(active: boolean | undefined): string {\n    return getProgressBarsColumnClasses(Boolean(active));\n  }\n\n  protected onStepClick(stepId: string): void {\n    this.stepClick.emit({ stepId });\n  }\n}\n","@if (isBarLayout()) {\n  <div [class]=\"wrapperClasses + ' ' + cssClass()\">\n    @if (srOnlyTitle()) {\n      <h4 class=\"smart:sr-only\">{{ srOnlyTitle() }}</h4>\n    }\n    @if (title()) {\n      <div [class]=\"headerClasses\">\n        <h3 [class]=\"barTitleClasses\">{{ title() }}</h3>\n        <span [class]=\"valueLabelClasses\">{{ clampedValue() }}%</span>\n      </div>\n    }\n    <div\n      [class]=\"trackClasses\"\n      role=\"progressbar\"\n      [attr.aria-valuenow]=\"clampedValue()\"\n      aria-valuemin=\"0\"\n      aria-valuemax=\"100\"\n      [attr.aria-label]=\"ariaLabel()\"\n    >\n      <div [class]=\"fillClasses\" [style.width.%]=\"clampedValue()\"></div>\n    </div>\n    @if (columns().length) {\n      <div\n        [class]=\"columnsClasses\"\n        [style.grid-template-columns]=\"columnsStyle()\"\n      >\n        @for (col of columns(); track col.label) {\n          <div [class]=\"columnClasses(col.active)\">{{ col.label }}</div>\n        }\n      </div>\n    }\n  </div>\n} @else {\n  <nav [class]=\"navClasses + ' ' + cssClass()\" [attr.aria-label]=\"ariaLabel()\">\n    @if (title()) {\n      <p [class]=\"stepperTitleClasses\">{{ title() }}</p>\n    }\n    <ol role=\"list\" [class]=\"listClasses()\">\n      @for (\n        step of steps();\n        track step.id;\n        let idx = $index;\n        let last = $last\n      ) {\n        <li [class]=\"stepClasses(step.status)\">\n          @if (step.href) {\n            <a\n              [href]=\"step.href\"\n              [class]=\"stepLinkClasses\"\n              [attr.aria-current]=\"step.status === 'current' ? 'step' : null\"\n            >\n              <ng-container\n                *ngTemplateOutlet=\"stepBody; context: { step: step, idx: idx }\"\n              />\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"stepButtonClasses\"\n              [attr.aria-current]=\"step.status === 'current' ? 'step' : null\"\n              (click)=\"onStepClick(step.id)\"\n            >\n              <ng-container\n                *ngTemplateOutlet=\"stepBody; context: { step: step, idx: idx }\"\n              />\n            </button>\n          }\n        </li>\n        @if (hasConnectors() && !last) {\n          <li aria-hidden=\"true\" [class]=\"connectorClasses(step.status)\"></li>\n        }\n      }\n    </ol>\n  </nav>\n}\n\n<ng-template #stepBody let-step=\"step\" let-idx=\"idx\">\n  @if (showMarker()) {\n    <span [class]=\"markerClasses(step.status)\">\n      @if (step.iconTpl) {\n        <ng-container [ngTemplateOutlet]=\"step.iconTpl\" />\n      } @else if (isCircle() && step.status === 'complete') {\n        <svg\n          [class]=\"checkIconClasses\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          width=\"24\"\n          height=\"24\"\n          viewBox=\"0 0 24 24\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          stroke-width=\"2\"\n          stroke-linecap=\"round\"\n          stroke-linejoin=\"round\"\n          aria-hidden=\"true\"\n        >\n          <polyline points=\"20 6 9 17 4 12\" />\n        </svg>\n      } @else if (isCircle()) {\n        <span [class]=\"indexClasses\">{{ step.index ?? idx + 1 }}</span>\n      }\n    </span>\n  }\n  @if (step.name || step.description) {\n    <span class=\"smart:flex smart:flex-col\">\n      @if (step.name) {\n        <span [class]=\"nameClasses(step.status)\">{{ step.name }}</span>\n      }\n      @if (step.description) {\n        <span [class]=\"descriptionClasses\">{{ step.description }}</span>\n      }\n    </span>\n  }\n</ng-template>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, ISectionHeadingOptions } from '../../../models';\n\n@Directive()\nexport abstract class SectionHeadingBaseComponent {\n  static smartType: DynamicComponentType = 'section-heading';\n\n  options: InputSignal<ISectionHeadingOptions | undefined> =\n    input<ISectionHeadingOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SectionHeadingBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-section-heading-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SectionHeadingStandardComponent extends SectionHeadingBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"header\">\n    <div class=\"title-block\">\n      @if (options()?.title) {\n        <h3>\n          {{ options()!.title }}\n          @if (options()?.label) {\n            <span class=\"label\">{{ options()!.label }}</span>\n          }\n        </h3>\n      }\n      @if (options()?.description) {\n        <p class=\"description\">{{ options()!.description }}</p>\n      }\n    </div>\n    @if (options()?.badgeTpl) {\n      <div class=\"badge\">\n        <ng-container [ngTemplateOutlet]=\"options()!.badgeTpl!\" />\n      </div>\n    }\n    @if (options()?.inputGroupTpl) {\n      <div class=\"input-group\">\n        <ng-container [ngTemplateOutlet]=\"options()!.inputGroupTpl!\" />\n      </div>\n    }\n    @if (options()?.actionsTpl) {\n      <div class=\"actions\">\n        <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n      </div>\n    }\n  </div>\n  @if (options()?.tabsTpl) {\n    <div class=\"tabs\">\n      <ng-container [ngTemplateOutlet]=\"options()!.tabsTpl!\" />\n    </div>\n  }\n</div>\n","import { ISectionHeadingOptions } from '../../../models';\n\n/** Layout key consumed by the section-heading preset. */\nexport type SectionHeadingPresetLayout = NonNullable<\n  NonNullable<ISectionHeadingOptions['presentation']>['layout']\n>;\n\n/** Outer <section>; external cssClass is merged onto it, no styling of its own. */\nexport const SECTION_HEADING_SECTION_CLASSES = '';\n\n/** Centered content container, shared across every layout. */\nexport const SECTION_HEADING_CONTAINER_CLASSES =\n  'smart:mx-auto smart:max-w-7xl smart:px-4 smart:py-8 smart:sm:px-6 smart:lg:px-8';\n\n/** Eyebrow row that holds the label and optional badge template. */\nexport const SECTION_HEADING_EYEBROW_CLASSES =\n  'smart:mb-2 smart:flex smart:items-center smart:gap-2 smart:text-sm smart:font-medium smart:text-gray-700 smart:dark:text-gray-300';\n\n/** Section title (<h2>). */\nexport const SECTION_HEADING_TITLE_CLASSES =\n  'smart:text-2xl smart:font-semibold smart:text-gray-900 smart:dark:text-white smart:sm:text-3xl';\n\n/** Section description (<p>). */\nexport const SECTION_HEADING_DESCRIPTION_CLASSES =\n  'smart:mt-4 smart:text-pretty smart:text-gray-700 smart:dark:text-gray-300';\n\n/** Actions row rendered under the text block. */\nexport const SECTION_HEADING_ACTIONS_CLASSES = 'smart:mt-6';\n\n/** Grid / stack wrapper — geometry depends on the chosen layout. */\nexport function getSectionHeadingGridClasses(\n  layout: SectionHeadingPresetLayout,\n): string {\n  switch (layout) {\n    case 'vertical':\n      return 'smart:space-y-4 smart:md:space-y-8';\n    case 'narrow':\n    case 'wide':\n      return 'smart:grid smart:grid-cols-1 smart:gap-4 smart:md:grid-cols-4 smart:md:items-center smart:md:gap-8';\n    case 'half':\n    default:\n      return 'smart:grid smart:grid-cols-1 smart:gap-4 smart:md:grid-cols-2 smart:md:items-center smart:md:gap-8';\n  }\n}\n\n/** Text-column wrapper. */\nexport function getSectionHeadingTextClasses(\n  layout: SectionHeadingPresetLayout,\n): string {\n  switch (layout) {\n    case 'vertical':\n      return 'smart:max-w-prose';\n    case 'narrow':\n    case 'wide':\n      return 'smart:max-w-prose smart:md:max-w-none smart:md:col-span-1';\n    case 'half':\n    default:\n      return 'smart:max-w-prose smart:md:max-w-none';\n  }\n}\n\n/** Image-column wrapper. */\nexport function getSectionHeadingImageClasses(\n  layout: SectionHeadingPresetLayout,\n): string {\n  switch (layout) {\n    case 'narrow':\n    case 'wide':\n      return 'smart:md:col-span-3';\n    case 'half':\n    case 'vertical':\n    default:\n      return '';\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SectionHeadingStandardComponent } from '../standard/standard.component';\nimport {\n  getSectionHeadingGridClasses,\n  getSectionHeadingImageClasses,\n  getSectionHeadingTextClasses,\n  SectionHeadingPresetLayout,\n  SECTION_HEADING_ACTIONS_CLASSES,\n  SECTION_HEADING_CONTAINER_CLASSES,\n  SECTION_HEADING_DESCRIPTION_CLASSES,\n  SECTION_HEADING_EYEBROW_CLASSES,\n  SECTION_HEADING_SECTION_CLASSES,\n  SECTION_HEADING_TITLE_CLASSES,\n} from './preset-classes.util';\n\n/**\n * HyperUI-styled \"content with image\" section heading (preset).\n *\n * Drop-in replacement for `SectionHeadingStandardComponent` — register it\n * through `SECTION_HEADING_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-section-heading>`, or use the `<smart-section-heading-preset>`\n * selector directly.\n *\n * Renders a text block (eyebrow label + badge, `<h2>` title, description and\n * actions) beside an optional `imageTpl`. Four layouts are supported through\n * `options.presentation.layout` (`half` default, `narrow`, `wide`, `vertical`);\n * `wide` renders the image before the text. The image zone is only rendered\n * when `imageTpl` is provided.\n */\n@Component({\n  selector: 'smart-section-heading-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SectionHeadingPresetComponent extends SectionHeadingStandardComponent {\n  // NgComponentOutlet (used by SectionHeadingComponent when this is registered\n  // through SECTION_HEADING_STANDARD_COMPONENT_TOKEN) passes inputs by their\n  // canonical name, so the inherited `class` alias is dropped here.\n  override cssClass = input<string>('');\n\n  protected readonly layout = computed<SectionHeadingPresetLayout>(\n    () => this.options()?.presentation?.layout ?? 'half',\n  );\n\n  /** `wide` layout renders the image column before the text column. */\n  protected readonly imageFirst = computed(() => this.layout() === 'wide');\n\n  protected readonly hasEyebrow = computed(\n    () => !!this.options()?.label || !!this.options()?.badgeTpl,\n  );\n\n  protected readonly sectionClasses = computed(() =>\n    [SECTION_HEADING_SECTION_CLASSES, this.cssClass()]\n      .filter(Boolean)\n      .join(' ')\n      .trim(),\n  );\n  protected readonly gridClasses = computed(() =>\n    getSectionHeadingGridClasses(this.layout()),\n  );\n  protected readonly textClasses = computed(() =>\n    getSectionHeadingTextClasses(this.layout()),\n  );\n  protected readonly imageClasses = computed(() =>\n    getSectionHeadingImageClasses(this.layout()),\n  );\n\n  protected readonly containerClasses = SECTION_HEADING_CONTAINER_CLASSES;\n  protected readonly eyebrowClasses = SECTION_HEADING_EYEBROW_CLASSES;\n  protected readonly titleClasses = SECTION_HEADING_TITLE_CLASSES;\n  protected readonly descriptionClasses = SECTION_HEADING_DESCRIPTION_CLASSES;\n  protected readonly actionsClasses = SECTION_HEADING_ACTIONS_CLASSES;\n}\n","<section [class]=\"sectionClasses()\" data-role=\"section\">\n  <div [class]=\"containerClasses\">\n    <div [class]=\"gridClasses()\" data-role=\"grid\">\n      @if (imageFirst() && options()?.imageTpl) {\n        <div [class]=\"imageClasses()\" data-role=\"image\">\n          <ng-container [ngTemplateOutlet]=\"options()!.imageTpl!\" />\n        </div>\n      }\n\n      <div [class]=\"textClasses()\" data-role=\"text\">\n        @if (hasEyebrow()) {\n          <div [class]=\"eyebrowClasses\" data-role=\"eyebrow\">\n            @if (options()?.label) {\n              <span>{{ options()!.label }}</span>\n            }\n            @if (options()?.badgeTpl) {\n              <ng-container [ngTemplateOutlet]=\"options()!.badgeTpl!\" />\n            }\n          </div>\n        }\n\n        @if (options()?.title) {\n          <h2 [class]=\"titleClasses\">{{ options()!.title }}</h2>\n        }\n\n        @if (options()?.description) {\n          <p [class]=\"descriptionClasses\">{{ options()!.description }}</p>\n        }\n\n        @if (options()?.actionsTpl) {\n          <div [class]=\"actionsClasses\" data-role=\"actions\">\n            <ng-container [ngTemplateOutlet]=\"options()!.actionsTpl!\" />\n          </div>\n        }\n      </div>\n\n      @if (!imageFirst() && options()?.imageTpl) {\n        <div [class]=\"imageClasses()\" data-role=\"image\">\n          <ng-container [ngTemplateOutlet]=\"options()!.imageTpl!\" />\n        </div>\n      }\n    </div>\n  </div>\n</section>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, ISidebarLayoutOptions } from '../../../models';\n\n@Directive()\nexport abstract class SidebarLayoutBaseComponent {\n  static smartType: DynamicComponentType = 'sidebar-layout';\n\n  options: InputSignal<ISidebarLayoutOptions | undefined> =\n    input<ISidebarLayoutOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SidebarLayoutBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-sidebar-layout-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SidebarLayoutStandardComponent extends SidebarLayoutBaseComponent {\n  isRightSidebar = computed(() => this.options()?.sidebarPosition === 'right');\n}\n","<!--\n  Captured once: Angular projects default content into the last wildcard\n  <ng-content> only, so one per @if branch would leave <main> empty in the\n  other branch.\n-->\n<ng-template #content><ng-content /></ng-template>\n<div [class]=\"cssClass()\">\n  @if (options()?.headerTpl) {\n    <header>\n      <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n    </header>\n  }\n  @if (isRightSidebar()) {\n    <main>\n      <ng-container [ngTemplateOutlet]=\"content\" />\n    </main>\n    <aside>\n      @if (options()?.sidebarTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.sidebarTpl!\" />\n      }\n    </aside>\n  } @else {\n    <aside>\n      @if (options()?.sidebarTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.sidebarTpl!\" />\n      }\n    </aside>\n    <main>\n      <ng-container [ngTemplateOutlet]=\"content\" />\n    </main>\n  }\n</div>\n","// Preset class recipes for the sidebar-layout preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`), and every\n// color carries an explicit `dark:` variant so the same template covers both\n// light and dark modes. Surfaces mirror the stacked-layout preset (white header\n// and sidebar over a gray page body).\n\nconst ROOT = [\n  'smart:min-h-full',\n  'smart:bg-gray-50',\n  'smart:dark:bg-gray-900',\n].join(' ');\n\nconst HEADER = [\n  'smart:border-b',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:px-4',\n  'smart:py-4',\n  'smart:sm:px-6',\n  'smart:lg:px-8',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nconst TITLE = [\n  'smart:text-2xl',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst ROW = 'smart:flex';\nconst ROW_REVERSE = 'smart:flex-row-reverse';\n\nconst SIDEBAR_BASE = [\n  'smart:shrink-0',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nconst SIDEBAR_WIDTH = 'smart:w-64';\nconst SIDEBAR_WIDTH_CONDENSED = 'smart:w-16';\nconst SIDEBAR_BORDER_LEFT = 'smart:border-e';\nconst SIDEBAR_BORDER_RIGHT = 'smart:border-s';\n\nconst MAIN = [\n  'smart:flex-1',\n  'smart:bg-gray-50',\n  'smart:p-4',\n  'smart:sm:p-6',\n  'smart:lg:p-8',\n  'smart:dark:bg-gray-900',\n].join(' ');\n\nexport function getSidebarLayoutRootClasses(): string {\n  return ROOT;\n}\n\nexport function getSidebarLayoutHeaderClasses(): string {\n  return HEADER;\n}\n\nexport function getSidebarLayoutTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getSidebarLayoutRowClasses(isRightSidebar: boolean): string {\n  return isRightSidebar ? `${ROW} ${ROW_REVERSE}` : ROW;\n}\n\nexport function getSidebarLayoutSidebarClasses(\n  isRightSidebar: boolean,\n  condensed: boolean,\n): string {\n  const width = condensed ? SIDEBAR_WIDTH_CONDENSED : SIDEBAR_WIDTH;\n  const border = isRightSidebar ? SIDEBAR_BORDER_RIGHT : SIDEBAR_BORDER_LEFT;\n  return `${SIDEBAR_BASE} ${width} ${border}`;\n}\n\nexport function getSidebarLayoutMainClasses(): string {\n  return MAIN;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SidebarLayoutStandardComponent } from '../standard/standard.component';\nimport {\n  getSidebarLayoutHeaderClasses,\n  getSidebarLayoutMainClasses,\n  getSidebarLayoutRootClasses,\n  getSidebarLayoutRowClasses,\n  getSidebarLayoutSidebarClasses,\n  getSidebarLayoutTitleClasses,\n} from './preset-classes.util';\n\n/**\n * Styled sidebar-layout variation (preset).\n *\n * Drop-in replacement for `SidebarLayoutStandardComponent` — register it\n * through `SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-sidebar-layout>`, or use the `<smart-sidebar-layout-preset>` selector\n * directly.\n *\n * Renders a full-height gray page root, an optional white header zone (header\n * template or title fallback), and a flex row pairing a bordered white sidebar\n * (`options.sidebarTpl`) with a gray content region. `options.sidebarPosition`\n * flips the row (`flex-row-reverse`) and the sidebar border side, while\n * `options.condensed` narrows the sidebar. Projected `<ng-content>` renders in\n * the content region.\n *\n * Note: `options.mobileBreakpoint` is not consumed — the standard component it\n * extends does not act on it either.\n */\n@Component({\n  selector: 'smart-sidebar-layout-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgTemplateOutlet],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SidebarLayoutPresetComponent extends SidebarLayoutStandardComponent {\n  // NgComponentOutlet (used by SidebarLayoutComponent when this is registered\n  // through SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN) passes inputs by canonical\n  // name, so the inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected rootClasses = computed(() =>\n    [getSidebarLayoutRootClasses(), this.cssClass()].filter(Boolean).join(' '),\n  );\n\n  protected headerClasses = computed(() => getSidebarLayoutHeaderClasses());\n\n  protected titleClasses = computed(() => getSidebarLayoutTitleClasses());\n\n  protected rowClasses = computed(() =>\n    getSidebarLayoutRowClasses(this.isRightSidebar()),\n  );\n\n  protected sidebarClasses = computed(() =>\n    getSidebarLayoutSidebarClasses(\n      this.isRightSidebar(),\n      this.options()?.condensed ?? false,\n    ),\n  );\n\n  protected mainClasses = computed(() => getSidebarLayoutMainClasses());\n}\n","<div [class]=\"rootClasses()\" data-role=\"root\">\n  @if (options()?.headerTpl || options()?.title) {\n    <header [class]=\"headerClasses()\" data-role=\"header\">\n      @if (options()?.headerTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n      } @else if (options()?.title) {\n        <h1 [class]=\"titleClasses()\" data-role=\"title\">\n          {{ options()?.title }}\n        </h1>\n      }\n    </header>\n  }\n  <div [class]=\"rowClasses()\" data-role=\"row\">\n    <aside [class]=\"sidebarClasses()\" data-role=\"sidebar\">\n      @if (options()?.sidebarTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.sidebarTpl!\" />\n      }\n    </aside>\n    <main [class]=\"mainClasses()\" data-role=\"content\">\n      <ng-content />\n    </main>\n  </div>\n</div>\n","import {\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  ISignInFormOptions,\n  ISignInFormSocialClick,\n  ISignInFormSubmit,\n  SmartSignInFormMode,\n} from '../../../models';\n\n@Directive()\nexport abstract class SignInFormBaseComponent {\n  static smartType: DynamicComponentType = 'sign-in-form';\n\n  mode: InputSignal<SmartSignInFormMode> =\n    input<SmartSignInFormMode>('sign-in');\n  disabled: InputSignal<boolean> = input<boolean>(false);\n  options: InputSignal<ISignInFormOptions | undefined> =\n    input<ISignInFormOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  submit: OutputEmitterRef<ISignInFormSubmit> = output<ISignInFormSubmit>();\n  socialClick: OutputEmitterRef<ISignInFormSocialClick> =\n    output<ISignInFormSocialClick>();\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SignInFormBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-sign-in-form-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SignInFormStandardComponent extends SignInFormBaseComponent {\n  protected email = signal('');\n  protected password = signal('');\n\n  protected onEmailInput(event: Event): void {\n    this.email.set((event.target as HTMLInputElement).value);\n  }\n\n  protected onPasswordInput(event: Event): void {\n    this.password.set((event.target as HTMLInputElement).value);\n  }\n\n  protected onSubmit(event: Event): void {\n    event.preventDefault();\n    // The native submit event bubbles up to the host elements, where it would\n    // reach every `(submit)` listener next to the `submit` output: the\n    // wrapper's and the consumer's. Only the output leaves the component.\n    event.stopPropagation();\n    if (this.disabled()) return;\n    this.submit.emit({\n      email: this.email(),\n      password: this.password(),\n      mode: this.mode(),\n    });\n  }\n\n  protected onSocialClick(providerId: string): void {\n    if (this.disabled()) return;\n    this.socialClick.emit({ providerId, mode: this.mode() });\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div class=\"sign-in-form\">\n    <form\n      (submit)=\"onSubmit($event)\"\n      [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n      novalidate\n    >\n      <div class=\"field\">\n        @if (options()?.showLabels !== false) {\n          <label for=\"smart-sign-in-form-email\">Email</label>\n        }\n        <input\n          id=\"smart-sign-in-form-email\"\n          type=\"email\"\n          name=\"email\"\n          autocomplete=\"email\"\n          [attr.placeholder]=\"options()?.emailPlaceholder ?? null\"\n          [disabled]=\"disabled()\"\n          [value]=\"email()\"\n          (input)=\"onEmailInput($event)\"\n          required\n        />\n      </div>\n      <div class=\"field\">\n        @if (options()?.showLabels !== false) {\n          <label for=\"smart-sign-in-form-password\">Password</label>\n        }\n        <input\n          id=\"smart-sign-in-form-password\"\n          type=\"password\"\n          name=\"password\"\n          [attr.autocomplete]=\"\n            mode() === 'sign-up' ? 'new-password' : 'current-password'\n          \"\n          [attr.placeholder]=\"options()?.passwordPlaceholder ?? null\"\n          [disabled]=\"disabled()\"\n          [value]=\"password()\"\n          (input)=\"onPasswordInput($event)\"\n          required\n        />\n      </div>\n      @if (mode() === 'sign-in' && options()?.forgotPasswordHref) {\n        <a class=\"forgot-password\" [attr.href]=\"options()!.forgotPasswordHref\"\n          >Forgot password?</a\n        >\n      }\n      <button type=\"submit\" class=\"submit\" [disabled]=\"disabled()\">\n        {{\n          options()?.submitLabel ??\n            (mode() === 'sign-up' ? 'Sign up' : 'Sign in')\n        }}\n      </button>\n      @if ((options()?.socialProviders ?? []).length > 0) {\n        <div class=\"social-providers\">\n          @for (provider of options()!.socialProviders!; track provider.id) {\n            <button\n              type=\"button\"\n              class=\"social\"\n              [disabled]=\"disabled()\"\n              (click)=\"onSocialClick(provider.id)\"\n            >\n              @if (provider.iconTpl) {\n                <span class=\"icon\">\n                  <ng-container [ngTemplateOutlet]=\"provider.iconTpl\" />\n                </span>\n              } @else if (provider.iconUrl) {\n                <img class=\"icon\" [src]=\"provider.iconUrl\" alt=\"\" />\n              }\n              {{ provider.label }}\n            </button>\n          }\n        </div>\n      }\n      @if (mode() === 'sign-in' && options()?.signUpHref) {\n        <a class=\"alt-link\" [attr.href]=\"options()!.signUpHref\"\n          >Create an account</a\n        >\n      }\n      @if (mode() === 'sign-up' && options()?.signInHref) {\n        <a class=\"alt-link\" [attr.href]=\"options()!.signInHref\"\n          >Already have an account?</a\n        >\n      }\n      @if (options()?.extraTpl) {\n        <div class=\"extra\">\n          <ng-container [ngTemplateOutlet]=\"options()!.extraTpl!\" />\n        </div>\n      }\n    </form>\n  </div>\n</div>\n","// Class recipes for the sign-in-form preset variation.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`) with explicit\n// `smart:dark:*` twins in the same template. Field styling is aligned with the\n// library input presets (rounded-lg, gray borders, blue focus ring).\n\nimport { SmartSignInFormLayout } from '../../../models';\n\nconst CONTAINER: Record<SmartSignInFormLayout, string[]> = {\n  simple: ['smart:w-full', 'smart:max-w-sm', 'smart:mx-auto'],\n  'simple-no-labels': ['smart:w-full', 'smart:max-w-sm', 'smart:mx-auto'],\n  card: ['smart:w-full', 'smart:max-w-sm', 'smart:mx-auto'],\n  'split-screen': ['smart:grid', 'smart:min-h-full', 'smart:lg:grid-cols-2'],\n};\n\n/**\n * Root container classes for the given layout. Falls back to the `simple`\n * recipe for an unknown layout.\n */\nexport function getSignInFormContainerClasses(\n  layout: SmartSignInFormLayout = 'simple',\n): string {\n  return (CONTAINER[layout] ?? CONTAINER.simple).join(' ');\n}\n\n/** Card wrapper used by the `card` layout. */\nexport function getSignInFormCardClasses(): string {\n  return [\n    'smart:rounded-xl',\n    'smart:border',\n    'smart:border-gray-200',\n    'smart:dark:border-gray-700',\n    'smart:bg-white',\n    'smart:dark:bg-gray-900',\n    'smart:p-6',\n    'smart:shadow-2xs',\n  ].join(' ');\n}\n\n/** Hero column used by the `split-screen` layout. */\nexport function getSignInFormHeroClasses(): string {\n  return [\n    'smart:relative',\n    'smart:hidden',\n    'smart:lg:block',\n    'smart:bg-gray-100',\n    'smart:dark:bg-gray-800',\n  ].join(' ');\n}\n\n/** Form column used by the `split-screen` layout. */\nexport function getSignInFormColumnClasses(): string {\n  return [\n    'smart:flex',\n    'smart:items-center',\n    'smart:justify-center',\n    'smart:px-8',\n    'smart:py-12',\n  ].join(' ');\n}\n\n/** Field `<label>` classes. */\nexport function getSignInFormLabelClasses(): string {\n  return [\n    'smart:block',\n    'smart:text-sm',\n    'smart:font-medium',\n    'smart:text-gray-700',\n    'smart:dark:text-gray-200',\n    'smart:mb-1',\n  ].join(' ');\n}\n\n/** Field `<input>` classes, consistent with the library input presets. */\nexport function getSignInFormInputClasses(): string {\n  return [\n    'smart:block',\n    'smart:w-full',\n    'smart:rounded-lg',\n    'smart:border-gray-200',\n    'smart:dark:border-gray-700',\n    'smart:bg-white',\n    'smart:dark:bg-gray-800',\n    'smart:px-3',\n    'smart:py-2',\n    'smart:text-sm',\n    'smart:text-gray-900',\n    'smart:dark:text-white',\n    'smart:shadow-2xs',\n    'smart:focus:border-blue-500',\n    'smart:focus:ring-blue-500',\n    'smart:disabled:pointer-events-none',\n    'smart:disabled:opacity-50',\n  ].join(' ');\n}\n\n/** Solid primary submit button classes. */\nexport function getSignInFormSubmitClasses(): string {\n  return [\n    'smart:inline-flex',\n    'smart:w-full',\n    'smart:items-center',\n    'smart:justify-center',\n    'smart:gap-2',\n    'smart:rounded-lg',\n    'smart:bg-blue-600',\n    'smart:hover:bg-blue-700',\n    'smart:px-4',\n    'smart:py-2.5',\n    'smart:text-sm',\n    'smart:font-medium',\n    'smart:text-white',\n    'smart:disabled:pointer-events-none',\n    'smart:disabled:opacity-50',\n  ].join(' ');\n}\n\n/** Outline social-provider button classes. */\nexport function getSignInFormSocialClasses(): string {\n  return [\n    'smart:inline-flex',\n    'smart:w-full',\n    'smart:items-center',\n    'smart:justify-center',\n    'smart:gap-2',\n    'smart:rounded-lg',\n    'smart:border',\n    'smart:border-gray-200',\n    'smart:dark:border-gray-700',\n    'smart:bg-white',\n    'smart:dark:bg-gray-800',\n    'smart:px-4',\n    'smart:py-2.5',\n    'smart:text-sm',\n    'smart:font-medium',\n    'smart:text-gray-700',\n    'smart:dark:text-gray-200',\n    'smart:hover:bg-gray-50',\n    'smart:dark:hover:bg-gray-700',\n    'smart:disabled:pointer-events-none',\n    'smart:disabled:opacity-50',\n  ].join(' ');\n}\n\n/** Forgot-password / alt-link classes. */\nexport function getSignInFormLinkClasses(): string {\n  return [\n    'smart:text-sm',\n    'smart:font-medium',\n    'smart:text-blue-600',\n    'smart:dark:text-blue-400',\n    'smart:hover:underline',\n  ].join(' ');\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { SmartSignInFormLayout } from '../../../models';\nimport { SignInFormStandardComponent } from '../standard/standard.component';\nimport {\n  getSignInFormCardClasses,\n  getSignInFormColumnClasses,\n  getSignInFormContainerClasses,\n  getSignInFormHeroClasses,\n  getSignInFormInputClasses,\n  getSignInFormLabelClasses,\n  getSignInFormLinkClasses,\n  getSignInFormSocialClasses,\n  getSignInFormSubmitClasses,\n} from './preset-classes.util';\n\n/**\n * Preset (OSS-styled) sign-in-form variation.\n *\n * Drop-in replacement for `SignInFormStandardComponent` — register it through\n * `SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN`, or use the\n * `<smart-sign-in-form-preset>` selector directly.\n *\n * Inherits all base form logic (email/password signals, submit/social emits,\n * mode reactivity) and restyles it with one of four `options.layout` looks:\n * `simple` (default, labeled single column), `simple-no-labels` (placeholders\n * only), `card` (bordered card wrapper), and `split-screen` (hero + form grid).\n *\n * Decorator metadata is not inherited, so the full `imports` list is repeated.\n */\n@Component({\n  selector: 'smart-sign-in-form-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SignInFormPresetComponent extends SignInFormStandardComponent {\n  // NgComponentOutlet forwards inputs canonically, so drop the `class` alias.\n  override cssClass = input<string>('');\n\n  protected layout = computed<SmartSignInFormLayout>(\n    () => this.options()?.layout ?? 'simple',\n  );\n\n  protected showLabels = computed(() => {\n    const showLabels = this.options()?.showLabels;\n    if (this.layout() === 'simple-no-labels') return showLabels === true;\n    return showLabels !== false;\n  });\n\n  protected containerClasses = computed(() =>\n    [getSignInFormContainerClasses(this.layout()), this.cssClass()]\n      .filter(Boolean)\n      .join(' '),\n  );\n\n  protected readonly cardClasses = getSignInFormCardClasses();\n  protected readonly heroClasses = getSignInFormHeroClasses();\n  protected readonly columnClasses = getSignInFormColumnClasses();\n  protected readonly labelClasses = getSignInFormLabelClasses();\n  protected readonly inputClasses = getSignInFormInputClasses();\n  protected readonly submitClasses = getSignInFormSubmitClasses();\n  protected readonly socialClasses = getSignInFormSocialClasses();\n  protected readonly linkClasses = getSignInFormLinkClasses();\n}\n","<ng-template #formContent>\n  <form\n    data-role=\"form\"\n    class=\"smart:space-y-4\"\n    (submit)=\"onSubmit($event)\"\n    [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n    novalidate\n  >\n    <div>\n      @if (showLabels()) {\n        <label for=\"smart-sign-in-form-email\" [class]=\"labelClasses\"\n          >Email</label\n        >\n      }\n      <input\n        data-role=\"email\"\n        id=\"smart-sign-in-form-email\"\n        type=\"email\"\n        name=\"email\"\n        autocomplete=\"email\"\n        [class]=\"inputClasses\"\n        [attr.placeholder]=\"options()?.emailPlaceholder ?? null\"\n        [disabled]=\"disabled()\"\n        [value]=\"email()\"\n        (input)=\"onEmailInput($event)\"\n        required\n      />\n    </div>\n    <div>\n      @if (showLabels()) {\n        <label for=\"smart-sign-in-form-password\" [class]=\"labelClasses\"\n          >Password</label\n        >\n      }\n      <input\n        data-role=\"password\"\n        id=\"smart-sign-in-form-password\"\n        type=\"password\"\n        name=\"password\"\n        [class]=\"inputClasses\"\n        [attr.autocomplete]=\"\n          mode() === 'sign-up' ? 'new-password' : 'current-password'\n        \"\n        [attr.placeholder]=\"options()?.passwordPlaceholder ?? null\"\n        [disabled]=\"disabled()\"\n        [value]=\"password()\"\n        (input)=\"onPasswordInput($event)\"\n        required\n      />\n    </div>\n    @if (mode() === 'sign-in' && options()?.forgotPasswordHref) {\n      <div class=\"smart:text-right\">\n        <a\n          data-role=\"forgot\"\n          [class]=\"linkClasses\"\n          [attr.href]=\"options()!.forgotPasswordHref\"\n          >Forgot password?</a\n        >\n      </div>\n    }\n    <button\n      data-role=\"submit\"\n      type=\"submit\"\n      [class]=\"submitClasses\"\n      [disabled]=\"disabled()\"\n    >\n      {{\n        options()?.submitLabel ?? (mode() === 'sign-up' ? 'Sign up' : 'Sign in')\n      }}\n    </button>\n    @if ((options()?.socialProviders ?? []).length > 0) {\n      <div class=\"smart:space-y-2\">\n        @for (provider of options()!.socialProviders!; track provider.id) {\n          <button\n            data-role=\"social\"\n            type=\"button\"\n            [class]=\"socialClasses\"\n            [disabled]=\"disabled()\"\n            (click)=\"onSocialClick(provider.id)\"\n          >\n            @if (provider.iconTpl) {\n              <span class=\"smart:inline-flex smart:size-5 smart:items-center\">\n                <ng-container [ngTemplateOutlet]=\"provider.iconTpl\" />\n              </span>\n            } @else if (provider.iconUrl) {\n              <img class=\"smart:size-5\" [src]=\"provider.iconUrl\" alt=\"\" />\n            }\n            {{ provider.label }}\n          </button>\n        }\n      </div>\n    }\n    @if (mode() === 'sign-in' && options()?.signUpHref) {\n      <a\n        data-role=\"alt-link\"\n        class=\"smart:block smart:text-center\"\n        [class]=\"linkClasses\"\n        [attr.href]=\"options()!.signUpHref\"\n        >Create an account</a\n      >\n    }\n    @if (mode() === 'sign-up' && options()?.signInHref) {\n      <a\n        data-role=\"alt-link\"\n        class=\"smart:block smart:text-center\"\n        [class]=\"linkClasses\"\n        [attr.href]=\"options()!.signInHref\"\n        >Already have an account?</a\n      >\n    }\n    @if (options()?.extraTpl) {\n      <div data-role=\"extra\">\n        <ng-container [ngTemplateOutlet]=\"options()!.extraTpl!\" />\n      </div>\n    }\n  </form>\n</ng-template>\n\n@switch (layout()) {\n  @case ('split-screen') {\n    <div data-role=\"container\" [class]=\"containerClasses()\">\n      <div data-role=\"hero\" [class]=\"heroClasses\">\n        @if (options()?.heroImageUrl) {\n          <img\n            class=\"smart:absolute smart:inset-0 smart:h-full smart:w-full smart:object-cover\"\n            [src]=\"options()!.heroImageUrl\"\n            alt=\"\"\n          />\n        }\n      </div>\n      <div [class]=\"columnClasses\">\n        <div class=\"smart:w-full smart:max-w-sm\">\n          <ng-container [ngTemplateOutlet]=\"formContent\" />\n        </div>\n      </div>\n    </div>\n  }\n  @case ('card') {\n    <div data-role=\"container\" [class]=\"containerClasses()\">\n      <div data-role=\"card\" [class]=\"cardClasses\">\n        <ng-container [ngTemplateOutlet]=\"formContent\" />\n      </div>\n    </div>\n  }\n  @default {\n    <div data-role=\"container\" [class]=\"containerClasses()\">\n      <ng-container [ngTemplateOutlet]=\"formContent\" />\n    </div>\n  }\n}\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IStackedLayoutOptions } from '../../../models';\n\n@Directive()\nexport abstract class StackedLayoutBaseComponent {\n  static smartType: DynamicComponentType = 'stacked-layout';\n\n  options: InputSignal<IStackedLayoutOptions | undefined> =\n    input<IStackedLayoutOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { StackedLayoutBaseComponent } from '../base';\n\n/**\n * Barebones native-HTML stacked layout rendered by `<smart-stacked-layout>`.\n *\n * Renders `options.navTpl` in a `<header><nav>`, then `options.headerTpl` —\n * or, without it, `options.title` as `<header><h1 data-role=\"title\">` — and\n * the projected content in `<main>`. `options.containerWidth` is visual only:\n * it is exposed as `data-container-width` (default `'xl'`) and styled by the\n * preset.\n */\n@Component({\n  selector: 'smart-stacked-layout-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class StackedLayoutStandardComponent extends StackedLayoutBaseComponent {\n  protected containerWidth = computed(\n    () => this.options()?.containerWidth ?? 'xl',\n  );\n}\n","<div [class]=\"cssClass()\" [attr.data-container-width]=\"containerWidth()\">\n  <header>\n    <nav>\n      @if (options()?.navTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n      }\n    </nav>\n  </header>\n  @if (options()?.headerTpl) {\n    <header>\n      <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n    </header>\n  } @else if (options()?.title) {\n    <header>\n      <h1 data-role=\"title\">{{ options()?.title }}</h1>\n    </header>\n  }\n  <main>\n    <ng-content />\n  </main>\n</div>\n","// HyperUI-styled class recipes for the stacked-layout preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`), and every\n// color carries an explicit `dark:` variant so the same template covers both\n// light and dark modes. Colors are kept template-faithful to the HyperUI\n// stacked-layout scaffold (gray palette surfaces).\n\nimport { SmartStackedLayoutContainerWidth } from '../../../models';\n\nconst ROOT = [\n  'smart:min-h-full',\n  'smart:bg-gray-50',\n  'smart:dark:bg-gray-900',\n].join(' ');\n\nconst HEADER_ZONE = [\n  'smart:bg-white',\n  'smart:shadow-sm',\n  'smart:dark:bg-gray-800',\n  'smart:dark:shadow-none',\n  'smart:dark:border-b',\n  'smart:dark:border-gray-700',\n].join(' ');\n\nconst CONTAINER_BASE = [\n  'smart:mx-auto',\n  'smart:px-4',\n  'smart:sm:px-6',\n  'smart:lg:px-8',\n].join(' ');\n\nconst CONTAINER_MAX_WIDTH: Record<SmartStackedLayoutContainerWidth, string> = {\n  sm: 'smart:max-w-3xl',\n  md: 'smart:max-w-5xl',\n  lg: 'smart:max-w-6xl',\n  xl: 'smart:max-w-7xl',\n  full: 'smart:max-w-none',\n};\n\nconst DEFAULT_MAX_WIDTH = CONTAINER_MAX_WIDTH.xl;\n\nconst TITLE = [\n  'smart:text-2xl',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst CONTENT_CARD = [\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-gray-200',\n  'smart:bg-white',\n  'smart:p-4',\n  'smart:shadow-sm',\n  'smart:sm:p-6',\n  'smart:dark:border-gray-700',\n  'smart:dark:bg-gray-800',\n].join(' ');\n\nexport function getStackedLayoutRootClasses(): string {\n  return ROOT;\n}\n\nexport function getStackedLayoutHeaderZoneClasses(): string {\n  return HEADER_ZONE;\n}\n\nexport function getStackedLayoutContainerClasses(\n  width: SmartStackedLayoutContainerWidth | undefined,\n): string {\n  const maxWidth = width ? CONTAINER_MAX_WIDTH[width] : DEFAULT_MAX_WIDTH;\n  return `${CONTAINER_BASE} ${maxWidth}`;\n}\n\nexport function getStackedLayoutTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getStackedLayoutContentCardClasses(): string {\n  return CONTENT_CARD;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { StackedLayoutStandardComponent } from '../standard/standard.component';\nimport {\n  getStackedLayoutContainerClasses,\n  getStackedLayoutContentCardClasses,\n  getStackedLayoutHeaderZoneClasses,\n  getStackedLayoutRootClasses,\n  getStackedLayoutTitleClasses,\n} from './preset-classes.util';\n\n/**\n * HyperUI-styled stacked-layout variation (preset).\n *\n * Drop-in replacement for `StackedLayoutStandardComponent` — register it\n * through `STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-stacked-layout>`, or use the `<smart-stacked-layout-preset>` selector\n * directly.\n *\n * Renders the HyperUI page scaffold: a full-height gray page root, a white\n * header zone (navigation plus a header template or title), and a main content\n * region whose container rhythm follows `options.containerWidth`. Projected\n * `<ng-content>` is wrapped in a bordered content card.\n */\n@Component({\n  selector: 'smart-stacked-layout-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgTemplateOutlet],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StackedLayoutPresetComponent extends StackedLayoutStandardComponent {\n  // NgComponentOutlet (used by StackedLayoutComponent when this is registered\n  // through STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN) passes inputs by canonical\n  // name, so the inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected rootClasses = computed(() =>\n    [getStackedLayoutRootClasses(), this.cssClass()].filter(Boolean).join(' '),\n  );\n\n  protected headerZoneClasses = computed(() =>\n    getStackedLayoutHeaderZoneClasses(),\n  );\n\n  protected containerClasses = computed(() =>\n    getStackedLayoutContainerClasses(this.options()?.containerWidth),\n  );\n\n  protected titleClasses = computed(() => getStackedLayoutTitleClasses());\n\n  protected contentCardClasses = computed(() =>\n    getStackedLayoutContentCardClasses(),\n  );\n}\n","<div [class]=\"rootClasses()\" data-role=\"root\">\n  <header [class]=\"headerZoneClasses()\">\n    <div [class]=\"containerClasses() + ' smart:py-4'\" data-role=\"header\">\n      @if (options()?.navTpl) {\n        <nav data-role=\"nav\">\n          <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n        </nav>\n      }\n      @if (options()?.headerTpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n      } @else if (options()?.title) {\n        <h1 [class]=\"titleClasses()\" data-role=\"title\">\n          {{ options()?.title }}\n        </h1>\n      }\n    </div>\n  </header>\n  <main>\n    <div [class]=\"containerClasses() + ' smart:py-8'\" data-role=\"content\">\n      <div [class]=\"contentCardClasses()\">\n        <ng-content />\n      </div>\n    </div>\n  </main>\n</div>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IStackedListOptions } from '../../../models';\n\n@Directive()\nexport abstract class StackedListBaseComponent {\n  static smartType: DynamicComponentType = 'stacked-list';\n\n  options: InputSignal<IStackedListOptions | undefined> =\n    input<IStackedListOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","/** Root wrapper; the external `cssClass` is appended to it. */\nexport const STACKED_LIST_ROOT = 'smart:w-full';\n\n/** List heading. */\nexport const STACKED_LIST_TITLE =\n  'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n\n/** Paragraph under the heading. */\nexport const STACKED_LIST_DESCRIPTION =\n  'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Gap between the header and the list / empty state. */\nexport const STACKED_LIST_HEADER = 'smart:mb-4';\n\n/** `withDividers`: hairline between rows. */\nexport const STACKED_LIST_DIVIDERS =\n  'smart:divide-y smart:divide-gray-100 smart:dark:divide-white/10';\n\n/**\n * `fullWidthOnMobile`: the list becomes a card that bleeds to the screen edge\n * below `sm` (negative margin, square corners) and turns into a rounded card\n * from `sm` up.\n */\nexport const STACKED_LIST_FULL_WIDTH_CARD = [\n  'smart:-mx-4',\n  'smart:sm:mx-0',\n  'smart:overflow-hidden',\n  'smart:bg-white',\n  'smart:dark:bg-gray-900',\n  'smart:shadow-xs',\n  'smart:ring-1',\n  'smart:ring-gray-900/5',\n  'smart:dark:ring-white/10',\n  'smart:sm:rounded-xl',\n].join(' ');\n\n/** Row base: leading media, body, trailing badge/action. */\nexport const STACKED_LIST_ITEM =\n  'smart:flex smart:items-center smart:justify-between smart:gap-x-6 smart:py-5';\n\n/** Horizontal row padding used inside the full-width card. */\nexport const STACKED_LIST_ITEM_CARD_PADDING = 'smart:px-4 smart:sm:px-6';\n\n/** Leading group (media + body); `min-w-0` lets the text truncate. */\nexport const STACKED_LIST_LEAD = 'smart:flex smart:min-w-0 smart:gap-x-4';\n\n/** Avatar image. */\nexport const STACKED_LIST_AVATAR =\n  'smart:size-12 smart:flex-none smart:rounded-full smart:bg-gray-50 smart:dark:bg-gray-800';\n\n/** Tile wrapping a custom `iconTpl`. */\nexport const STACKED_LIST_ICON = [\n  'smart:flex',\n  'smart:size-12',\n  'smart:flex-none',\n  'smart:items-center',\n  'smart:justify-center',\n  'smart:rounded-full',\n  'smart:bg-gray-100',\n  'smart:text-gray-500',\n  'smart:dark:bg-gray-800',\n  'smart:dark:text-gray-400',\n].join(' ');\n\n/** Text column. */\nexport const STACKED_LIST_BODY = 'smart:min-w-0 smart:flex-auto';\n\n/** Row title (plain). */\nexport const STACKED_LIST_ITEM_TITLE =\n  'smart:block smart:text-sm/6 smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n\n/** Row title rendered as a link. */\nexport const STACKED_LIST_ITEM_TITLE_LINK = `${STACKED_LIST_ITEM_TITLE} smart:hover:underline smart:focus:outline-none smart:focus-visible:underline`;\n\n/** Secondary line. */\nexport const STACKED_LIST_ITEM_DESCRIPTION =\n  'smart:mt-1 smart:block smart:truncate smart:text-xs/5 smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Tertiary line (timestamp, role...). */\nexport const STACKED_LIST_ITEM_META =\n  'smart:mt-1 smart:block smart:text-xs/5 smart:text-gray-400 smart:dark:text-gray-500';\n\n/** Trailing group holding the badge and the action. */\nexport const STACKED_LIST_TRAIL =\n  'smart:flex smart:shrink-0 smart:items-center smart:gap-x-4';\n\n/** Empty-state wrapper. */\nexport const STACKED_LIST_EMPTY = [\n  'smart:rounded-lg',\n  'smart:border',\n  'smart:border-dashed',\n  'smart:border-gray-200',\n  'smart:dark:border-white/10',\n  'smart:px-4',\n  'smart:py-8',\n  'smart:text-center',\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\n/** Footer slot wrapper. */\nexport const STACKED_LIST_FOOTER =\n  'smart:mt-4 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\nexport interface IStackedListPresetFlags {\n  withDividers?: boolean;\n  fullWidthOnMobile?: boolean;\n}\n\nfunction join(...classes: (string | false | undefined)[]): string {\n  return classes.filter(Boolean).join(' ');\n}\n\n/** Root classes merged with the external class. */\nexport function getStackedListRootClasses(cssClass: string): string {\n  return join(STACKED_LIST_ROOT, cssClass);\n}\n\n/** `<ul>` classes for the given layout flags. */\nexport function getStackedListListClasses(\n  flags: IStackedListPresetFlags,\n): string {\n  return join(\n    flags.withDividers && STACKED_LIST_DIVIDERS,\n    flags.fullWidthOnMobile && STACKED_LIST_FULL_WIDTH_CARD,\n  );\n}\n\n/** `<li>` classes for the given layout flags. */\nexport function getStackedListItemClasses(\n  flags: IStackedListPresetFlags,\n): string {\n  return join(\n    STACKED_LIST_ITEM,\n    flags.fullWidthOnMobile && STACKED_LIST_ITEM_CARD_PADDING,\n  );\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IStackedListItem } from '../../../models';\nimport { StackedListBaseComponent } from '../base';\nimport {\n  getStackedListItemClasses,\n  getStackedListListClasses,\n  getStackedListRootClasses,\n  STACKED_LIST_AVATAR,\n  STACKED_LIST_BODY,\n  STACKED_LIST_DESCRIPTION,\n  STACKED_LIST_EMPTY,\n  STACKED_LIST_FOOTER,\n  STACKED_LIST_HEADER,\n  STACKED_LIST_ICON,\n  STACKED_LIST_ITEM_DESCRIPTION,\n  STACKED_LIST_ITEM_META,\n  STACKED_LIST_ITEM_TITLE,\n  STACKED_LIST_ITEM_TITLE_LINK,\n  STACKED_LIST_LEAD,\n  STACKED_LIST_TITLE,\n  STACKED_LIST_TRAIL,\n} from './preset-classes.util';\n\n/**\n * Styled stacked list variation (preset).\n *\n * Drop-in replacement for `StackedListStandardComponent` — register it through\n * `STACKED_LIST_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-stacked-list>`, or use the `<smart-stacked-list-preset>` selector\n * directly.\n *\n * Renders the Tailwind UI stacked list look: a header (title + description),\n * rows with a leading avatar or icon tile (icon template wins), a title (link\n * when `href` is set), description and meta lines, and trailing badge/action\n * slots. It honours the layout hints the standard ignores: `withDividers`\n * draws hairlines between rows, and `fullWidthOnMobile` turns the list into a\n * card that bleeds to the screen edge below `sm` and is rounded from `sm` up.\n */\n@Component({\n  selector: 'smart-stacked-list-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class StackedListPresetComponent extends StackedListBaseComponent {\n  // NgComponentOutlet (used by StackedListComponent when this is registered\n  // through STACKED_LIST_STANDARD_COMPONENT_TOKEN) passes inputs by canonical\n  // name, so the inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected title = computed(() => this.options()?.title);\n  protected description = computed(() => this.options()?.description);\n  protected items = computed<IStackedListItem[]>(\n    () => this.options()?.items ?? [],\n  );\n  protected emptyTpl = computed(() => this.options()?.emptyTpl);\n  protected footerTpl = computed(() => this.options()?.footerTpl);\n\n  private flags = computed(() => ({\n    withDividers: this.options()?.withDividers,\n    fullWidthOnMobile: this.options()?.fullWidthOnMobile,\n  }));\n\n  protected rootClasses = computed(() =>\n    getStackedListRootClasses(this.cssClass()),\n  );\n  protected listClasses = computed(() =>\n    getStackedListListClasses(this.flags()),\n  );\n  protected itemClasses = computed(() =>\n    getStackedListItemClasses(this.flags()),\n  );\n\n  protected readonly headerClasses = STACKED_LIST_HEADER;\n  protected readonly titleClasses = STACKED_LIST_TITLE;\n  protected readonly descriptionClasses = STACKED_LIST_DESCRIPTION;\n  protected readonly leadClasses = STACKED_LIST_LEAD;\n  protected readonly avatarClasses = STACKED_LIST_AVATAR;\n  protected readonly iconClasses = STACKED_LIST_ICON;\n  protected readonly bodyClasses = STACKED_LIST_BODY;\n  protected readonly itemTitleClasses = STACKED_LIST_ITEM_TITLE;\n  protected readonly itemTitleLinkClasses = STACKED_LIST_ITEM_TITLE_LINK;\n  protected readonly itemDescriptionClasses = STACKED_LIST_ITEM_DESCRIPTION;\n  protected readonly itemMetaClasses = STACKED_LIST_ITEM_META;\n  protected readonly trailClasses = STACKED_LIST_TRAIL;\n  protected readonly emptyClasses = STACKED_LIST_EMPTY;\n  protected readonly footerClasses = STACKED_LIST_FOOTER;\n}\n","<div [class]=\"rootClasses()\">\n  @if (title() || description()) {\n    <div [class]=\"headerClasses\">\n      @if (title()) {\n        <h3 [class]=\"titleClasses\">{{ title() }}</h3>\n      }\n      @if (description()) {\n        <p [class]=\"descriptionClasses\">{{ description() }}</p>\n      }\n    </div>\n  }\n\n  @if (items().length > 0) {\n    <ul role=\"list\" [class]=\"listClasses()\">\n      @for (item of items(); track item.id ?? $index) {\n        <li [class]=\"itemClasses()\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n          <div [class]=\"leadClasses\">\n            @if (item.iconTpl) {\n              <span [class]=\"iconClasses\">\n                <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n              </span>\n            } @else if (item.avatarUrl) {\n              <img [class]=\"avatarClasses\" [src]=\"item.avatarUrl\" alt=\"\" />\n            }\n            <div [class]=\"bodyClasses\">\n              @if (item.href) {\n                <a [class]=\"itemTitleLinkClasses\" [attr.href]=\"item.href\">{{\n                  item.title\n                }}</a>\n              } @else {\n                <span [class]=\"itemTitleClasses\">{{ item.title }}</span>\n              }\n              @if (item.description) {\n                <span [class]=\"itemDescriptionClasses\">{{\n                  item.description\n                }}</span>\n              }\n              @if (item.meta) {\n                <span [class]=\"itemMetaClasses\">{{ item.meta }}</span>\n              }\n            </div>\n          </div>\n          @if (item.badgeTpl || item.actionTpl) {\n            <div [class]=\"trailClasses\">\n              @if (item.badgeTpl) {\n                <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n              }\n              @if (item.actionTpl) {\n                <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n              }\n            </div>\n          }\n        </li>\n      }\n    </ul>\n  } @else if (emptyTpl()) {\n    <div [class]=\"emptyClasses\">\n      <ng-container [ngTemplateOutlet]=\"emptyTpl()!\" />\n    </div>\n  }\n\n  @if (footerTpl()) {\n    <div [class]=\"footerClasses\">\n      <ng-container [ngTemplateOutlet]=\"footerTpl()!\" />\n    </div>\n  }\n</div>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, IStatsOptions } from '../../../models';\n\n@Directive()\nexport abstract class StatsBaseComponent {\n  static smartType: DynamicComponentType = 'stats';\n\n  options: InputSignal<IStatsOptions | undefined> = input<IStatsOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","import { IStatItem } from '../../../models';\n\nexport type SmartStatsColumns = 1 | 2 | 3 | 4;\n\nconst CONTAINER = [\n  'smart:mx-auto',\n  'smart:max-w-5xl',\n  'smart:px-4',\n  'smart:py-10',\n  'smart:sm:px-6',\n  'smart:lg:px-8',\n  'smart:lg:py-14',\n].join(' ');\n\nconst GRID_BASE = [\n  'smart:grid',\n  'smart:gap-6',\n  'smart:sm:gap-12',\n  'smart:lg:gap-8',\n].join(' ');\n\nconst GRID_COLUMNS: Record<SmartStatsColumns, string> = {\n  1: 'smart:grid-cols-1',\n  2: 'smart:grid-cols-1 smart:sm:grid-cols-2',\n  3: 'smart:grid-cols-2 smart:lg:grid-cols-3',\n  4: 'smart:grid-cols-2 smart:lg:grid-cols-4',\n};\n\nconst TITLE = [\n  'smart:mb-6',\n  'smart:text-2xl',\n  'smart:sm:text-3xl',\n  'smart:font-bold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst LABEL = [\n  'smart:text-lg',\n  'smart:sm:text-xl',\n  'smart:font-semibold',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst VALUE = [\n  'smart:mt-2',\n  'smart:sm:mt-3',\n  'smart:text-4xl',\n  'smart:sm:text-6xl',\n  'smart:font-bold',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n].join(' ');\n\nconst SUB = [\n  'smart:mt-1',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nconst ICON_WRAP = [\n  'smart:shrink-0',\n  'smart:size-6',\n  'smart:sm:size-8',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n].join(' ');\n\nconst ACTION = ['smart:mt-3'].join(' ');\n\nconst CHANGE_BASE = [\n  'smart:ms-1',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-1',\n  'smart:font-medium',\n  'smart:text-xs',\n  'smart:leading-4',\n  'smart:rounded-full',\n  'smart:py-0.5',\n  'smart:px-2',\n].join(' ');\n\nconst CHANGE_BY_TREND: Record<\n  NonNullable<IStatItem['trend']> | 'default',\n  string\n> = {\n  up: 'smart:bg-green-100 smart:text-green-800 smart:dark:bg-green-500/20 smart:dark:text-green-400',\n  down: 'smart:bg-red-100 smart:text-red-800 smart:dark:bg-red-500/20 smart:dark:text-red-400',\n  neutral:\n    'smart:bg-gray-100 smart:text-gray-800 smart:dark:bg-gray-800 smart:dark:text-gray-200',\n  default:\n    'smart:bg-gray-100 smart:text-gray-800 smart:dark:bg-gray-800 smart:dark:text-gray-200',\n};\n\nexport function getStatsContainerClasses(): string {\n  return CONTAINER;\n}\n\nexport function getStatsGridClasses(columns: SmartStatsColumns): string {\n  return `${GRID_BASE} ${GRID_COLUMNS[columns]}`;\n}\n\nexport function getStatsTitleClasses(): string {\n  return TITLE;\n}\n\nexport function getStatsLabelClasses(): string {\n  return LABEL;\n}\n\nexport function getStatsValueClasses(): string {\n  return VALUE;\n}\n\nexport function getStatsSubClasses(): string {\n  return SUB;\n}\n\nexport function getStatsIconWrapClasses(): string {\n  return ICON_WRAP;\n}\n\nexport function getStatsActionClasses(): string {\n  return ACTION;\n}\n\nexport function getStatsChangeClasses(trend: IStatItem['trend']): string {\n  return `${CHANGE_BASE} ${CHANGE_BY_TREND[trend ?? 'default']}`;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IStatItem } from '../../../models';\nimport { StatsBaseComponent } from '../base';\nimport {\n  getStatsActionClasses,\n  getStatsChangeClasses,\n  getStatsContainerClasses,\n  getStatsGridClasses,\n  getStatsIconWrapClasses,\n  getStatsLabelClasses,\n  getStatsSubClasses,\n  getStatsTitleClasses,\n  getStatsValueClasses,\n  SmartStatsColumns,\n} from './preset-classes.util';\n\n/**\n * Styled stats variation (preset).\n *\n * Drop-in replacement for `StatsStandardComponent` — register it through\n * `STATS_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-stats>`, or use the\n * `<smart-stats-preset>` selector directly.\n *\n * Renders a responsive grid of stat blocks (Preline \"Three-Column Stats with\n * Primary Accent\" look): an optional leading icon, a `label` heading, the big\n * primary `value` with an optional inline `change` badge coloured by `trend`,\n * and an optional muted `previousValue` sub-line. Column count comes from\n * `options.columns` (default 3).\n */\n@Component({\n  selector: 'smart-stats-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class StatsPresetComponent extends StatsBaseComponent {\n  // NgComponentOutlet (used by StatsComponent when this is registered through\n  // STATS_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected title = computed(() => this.options()?.title);\n  protected items = computed<IStatItem[]>(() => this.options()?.items ?? []);\n  protected columns = computed<SmartStatsColumns>(\n    () => this.options()?.columns ?? 3,\n  );\n\n  protected containerClasses = computed(() => getStatsContainerClasses());\n  protected gridClasses = computed(() => getStatsGridClasses(this.columns()));\n  protected titleClasses = computed(() => getStatsTitleClasses());\n  protected labelClasses = computed(() => getStatsLabelClasses());\n  protected valueClasses = computed(() => getStatsValueClasses());\n  protected subClasses = computed(() => getStatsSubClasses());\n  protected iconWrapClasses = computed(() => getStatsIconWrapClasses());\n  protected actionClasses = computed(() => getStatsActionClasses());\n\n  protected changeClasses(trend: IStatItem['trend']): string {\n    return getStatsChangeClasses(trend);\n  }\n}\n","<div [class]=\"containerClasses() + ' ' + cssClass()\">\n  @if (title()) {\n    <h2 [class]=\"titleClasses()\">{{ title() }}</h2>\n  }\n  <div [class]=\"gridClasses()\">\n    @for (item of items(); track $index) {\n      <div [attr.aria-label]=\"item.ariaLabel ?? null\">\n        @if (item.iconTpl) {\n          <div [class]=\"iconWrapClasses()\">\n            <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n          </div>\n        }\n        <h4 [class]=\"labelClasses()\">{{ item.label }}</h4>\n        <p [class]=\"valueClasses()\">\n          {{ item.value }}\n          @if (item.change) {\n            <span [class]=\"changeClasses(item.trend)\">{{ item.change }}</span>\n          }\n        </p>\n        @if (item.previousValue !== undefined && item.previousValue !== null) {\n          <p [class]=\"subClasses()\">{{ item.previousValue }}</p>\n        }\n        @if (item.actionTpl) {\n          <div [class]=\"actionClasses()\">\n            <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n          </div>\n        }\n      </div>\n    }\n  </div>\n</div>\n","import { Directive, input, InputSignal } from '@angular/core';\n\nimport { DynamicComponentType, ITableOptions } from '../../../models';\n\n@Directive()\nexport abstract class TableBaseComponent {\n  static smartType: DynamicComponentType = 'table';\n\n  options: InputSignal<ITableOptions | undefined> = input<ITableOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n}\n","// Tailwind UI \"Tables\" class recipes for the table preset.\n// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`) and every\n// color carries an explicit `smart:dark:` twin.\n\ntype TableAlign = 'left' | 'center' | 'right';\n\n/** Root wrapper; the external cssClass is merged onto it. */\nexport const TABLE_ROOT = 'smart:w-full';\n\n/** Header row: title/description on the left, toolbar on the right. */\nexport const TABLE_HEADER =\n  'smart:mb-6 smart:sm:flex smart:sm:items-center smart:sm:gap-x-8';\n\n/** Title/description column inside the header. */\nexport const TABLE_HEADER_TEXT = 'smart:sm:flex-auto';\n\n/** Title (`<h3>`). */\nexport const TABLE_TITLE =\n  'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';\n\n/** Description (`<p>`). */\nexport const TABLE_DESCRIPTION =\n  'smart:mt-2 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Toolbar slot, pushed to the right of the header on `sm+`. */\nexport const TABLE_TOOLBAR = 'smart:mt-4 smart:sm:mt-0 smart:sm:flex-none';\n\nconst FRAME_BORDERED = [\n  'smart:overflow-hidden',\n  'smart:rounded-lg',\n  'smart:bg-white',\n  'smart:shadow-sm',\n  'smart:outline-1',\n  'smart:outline-black/5',\n  'smart:dark:bg-gray-900',\n  'smart:dark:shadow-none',\n  'smart:dark:-outline-offset-1',\n  'smart:dark:outline-white/10',\n];\n\n/** Frame around the scroll container: a rounded card when `withBorder`. */\nexport function getTableFrameClasses(withBorder: boolean): string {\n  return (withBorder ? FRAME_BORDERED : ['smart:flow-root']).join(' ');\n}\n\n/** Scroll container; limits the height when the header is sticky. */\nexport function getTableScrollClasses(stickyHeader: boolean): string {\n  const classes = ['smart:overflow-x-auto'];\n  if (stickyHeader) classes.push('smart:max-h-96', 'smart:overflow-y-auto');\n  return classes.join(' ');\n}\n\n/** `<table>`. */\nexport const TABLE_TABLE =\n  'smart:min-w-full smart:divide-y smart:divide-gray-300 smart:dark:divide-white/15';\n\n/** `<thead>`: gray surface inside the bordered card. */\nexport function getTableHeadClasses(withBorder: boolean): string {\n  return withBorder ? 'smart:bg-gray-50 smart:dark:bg-gray-800/75' : '';\n}\n\n/** `<tbody>`: row dividers unless the rows are striped. */\nexport function getTableBodyClasses(striped: boolean): string {\n  return striped\n    ? ''\n    : 'smart:divide-y smart:divide-gray-200 smart:dark:divide-white/10';\n}\n\nconst ALIGN: Record<TableAlign, string> = {\n  left: 'smart:text-left',\n  center: 'smart:text-center',\n  right: 'smart:text-right',\n};\n\n/** Horizontal padding; the outer columns line up with the card edge. */\nfunction edgePadding(withBorder: boolean): string[] {\n  return withBorder\n    ? [\n        'smart:px-3',\n        'smart:first:pl-4',\n        'smart:sm:first:pl-6',\n        'smart:last:pr-4',\n        'smart:sm:last:pr-6',\n      ]\n    : ['smart:px-3', 'smart:first:pl-0', 'smart:last:pr-0'];\n}\n\nconst HEADER_CELL_STICKY = [\n  'smart:sticky',\n  'smart:top-0',\n  'smart:z-10',\n  'smart:bg-white/75',\n  'smart:backdrop-blur-sm',\n  'smart:dark:bg-gray-900/75',\n];\n\n/** Header cell (`<th>`). */\nexport function getTableHeaderCellClasses(\n  align: TableAlign,\n  withBorder: boolean,\n  stickyHeader: boolean,\n): string {\n  const classes = [\n    'smart:py-3.5',\n    ...edgePadding(withBorder),\n    ALIGN[align],\n    'smart:text-sm',\n    'smart:font-semibold',\n    'smart:text-gray-900',\n    'smart:dark:text-white',\n  ];\n  if (stickyHeader) classes.push(...HEADER_CELL_STICKY);\n  return classes.join(' ');\n}\n\n/** Body row (`<tr>`): zebra stripes and the selected-row highlight. */\nexport function getTableRowClasses(\n  striped: boolean,\n  selected: boolean,\n): string {\n  const classes: string[] = [];\n  if (striped)\n    classes.push('smart:even:bg-gray-50', 'smart:dark:even:bg-gray-800/50');\n  if (selected) classes.push('smart:bg-gray-50', 'smart:dark:bg-gray-800/50');\n  return classes.join(' ');\n}\n\n/** Body cell (`<td>`): the first data column is emphasised, the rest muted. */\nexport function getTableCellClasses(\n  align: TableAlign,\n  withBorder: boolean,\n  first: boolean,\n): string {\n  return [\n    'smart:py-4',\n    ...edgePadding(withBorder),\n    ALIGN[align],\n    'smart:whitespace-nowrap',\n    'smart:text-sm',\n    ...(first\n      ? ['smart:font-medium', 'smart:text-gray-900', 'smart:dark:text-white']\n      : ['smart:text-gray-500', 'smart:dark:text-gray-400']),\n  ].join(' ');\n}\n\n/** Header and body cell holding the selection checkbox. */\nexport const TABLE_CHECKBOX_CELL =\n  'smart:relative smart:w-12 smart:px-4 smart:sm:px-6';\n\n/** Selection checkbox. */\nexport const TABLE_CHECKBOX = [\n  'smart:size-4',\n  'smart:rounded-sm',\n  'smart:border',\n  'smart:border-gray-300',\n  'smart:bg-white',\n  'smart:accent-indigo-600',\n  'smart:focus-visible:outline-2',\n  'smart:focus-visible:outline-offset-2',\n  'smart:focus-visible:outline-indigo-600',\n  'smart:dark:border-white/20',\n  'smart:dark:bg-gray-800',\n  'smart:dark:accent-indigo-500',\n  'smart:dark:focus-visible:outline-indigo-500',\n].join(' ');\n\n/** Sortable header button (label + indicator). */\nexport const TABLE_SORT_BUTTON =\n  'smart:group smart:inline-flex smart:items-center smart:gap-x-2 smart:font-semibold';\n\nconst SORT_ICON_BASE = ['smart:flex-none', 'smart:rounded-sm', 'smart:size-5'];\n\n/** Sort indicator: filled chip on the active column, muted hover otherwise. */\nexport function getTableSortIconClasses(active: boolean): string {\n  return [\n    ...SORT_ICON_BASE,\n    ...(active\n      ? [\n          'smart:bg-gray-100',\n          'smart:text-gray-900',\n          'smart:group-hover:bg-gray-200',\n          'smart:dark:bg-gray-800',\n          'smart:dark:text-white',\n          'smart:dark:group-hover:bg-gray-700',\n        ]\n      : [\n          'smart:text-gray-400',\n          'smart:group-hover:text-gray-600',\n          'smart:dark:text-gray-500',\n          'smart:dark:group-hover:text-gray-300',\n        ]),\n  ].join(' ');\n}\n\n/** Empty-state cell spanning every column. */\nexport const TABLE_EMPTY =\n  'smart:px-3 smart:py-10 smart:text-center smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Footer slot under the table. */\nexport const TABLE_FOOTER =\n  'smart:mt-4 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  signal,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ITableColumn, TableRow } from '../../../models';\nimport { TableBaseComponent } from '../base';\nimport {\n  getTableBodyClasses,\n  getTableCellClasses,\n  getTableFrameClasses,\n  getTableHeadClasses,\n  getTableHeaderCellClasses,\n  getTableRowClasses,\n  getTableScrollClasses,\n  getTableSortIconClasses,\n  TABLE_CHECKBOX,\n  TABLE_CHECKBOX_CELL,\n  TABLE_DESCRIPTION,\n  TABLE_EMPTY,\n  TABLE_FOOTER,\n  TABLE_HEADER,\n  TABLE_HEADER_TEXT,\n  TABLE_ROOT,\n  TABLE_SORT_BUTTON,\n  TABLE_TABLE,\n  TABLE_TITLE,\n  TABLE_TOOLBAR,\n} from './preset-classes.util';\n\ntype SortDirection = 'ascending' | 'descending';\n\ninterface TableSort {\n  key: string;\n  direction: SortDirection;\n}\n\n/**\n * Styled table variation (preset).\n *\n * Drop-in replacement for `TableStandardComponent`: register it through\n * `TABLE_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-table>`, or use the\n * `<smart-table-preset>` selector directly.\n *\n * Renders the Tailwind UI table look and honours every `ITableOptions` hint the\n * standard component ignores: `striped` rows, a `stickyHeader`, a `withBorder`\n * card frame, per-column `align`, and `sortable` columns (client-side sort with\n * `aria-sort`). The checkbox column supports select-all with an indeterminate\n * state and highlights selected rows.\n */\n@Component({\n  selector: 'smart-table-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TablePresetComponent extends TableBaseComponent {\n  // NgComponentOutlet (used by TableComponent when this is registered through\n  // TABLE_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  private readonly sort = signal<TableSort | null>(null);\n  private readonly selected = signal<ReadonlySet<TableRow>>(new Set());\n\n  protected columns = computed<ITableColumn[]>(\n    () => this.options()?.columns ?? [],\n  );\n  protected striped = computed(() => !!this.options()?.striped);\n  protected stickyHeader = computed(() => !!this.options()?.stickyHeader);\n  protected withBorder = computed(() => !!this.options()?.withBorder);\n  protected withCheckboxes = computed(() => !!this.options()?.withCheckboxes);\n  protected hasHeader = computed(() => {\n    const o = this.options();\n    return !!(o?.title || o?.description || o?.toolbarTpl);\n  });\n\n  protected rows = computed<TableRow[]>(() => {\n    const rows = this.options()?.rows ?? [];\n    const sort = this.sort();\n    if (!sort) return rows;\n    const factor = sort.direction === 'ascending' ? 1 : -1;\n    return [...rows].sort(\n      (a, b) => factor * compareCells(a[sort.key], b[sort.key]),\n    );\n  });\n\n  protected allSelected = computed(() => {\n    const rows = this.rows();\n    return rows.length > 0 && rows.every((row) => this.selected().has(row));\n  });\n  protected someSelected = computed(\n    () =>\n      !this.allSelected() &&\n      this.rows().some((row) => this.selected().has(row)),\n  );\n\n  protected rootClasses = computed(() =>\n    [TABLE_ROOT, this.cssClass()].filter(Boolean).join(' '),\n  );\n  protected frameClasses = computed(() =>\n    getTableFrameClasses(this.withBorder()),\n  );\n  protected scrollClasses = computed(() =>\n    getTableScrollClasses(this.stickyHeader()),\n  );\n  protected headClasses = computed(() =>\n    getTableHeadClasses(this.withBorder()),\n  );\n  protected bodyClasses = computed(() => getTableBodyClasses(this.striped()));\n  protected checkboxHeaderClasses = computed(\n    () =>\n      `${TABLE_CHECKBOX_CELL} ${getTableHeaderCellClasses('left', this.withBorder(), this.stickyHeader())}`,\n  );\n\n  protected readonly headerClasses = TABLE_HEADER;\n  protected readonly headerTextClasses = TABLE_HEADER_TEXT;\n  protected readonly titleClasses = TABLE_TITLE;\n  protected readonly descriptionClasses = TABLE_DESCRIPTION;\n  protected readonly toolbarClasses = TABLE_TOOLBAR;\n  protected readonly tableClasses = TABLE_TABLE;\n  protected readonly checkboxCellClasses = TABLE_CHECKBOX_CELL;\n  protected readonly checkboxClasses = TABLE_CHECKBOX;\n  protected readonly sortButtonClasses = TABLE_SORT_BUTTON;\n  protected readonly emptyClasses = TABLE_EMPTY;\n  protected readonly footerClasses = TABLE_FOOTER;\n\n  protected headerCellClasses(col: ITableColumn): string {\n    return getTableHeaderCellClasses(\n      col.align ?? 'left',\n      this.withBorder(),\n      this.stickyHeader(),\n    );\n  }\n\n  protected cellClasses(col: ITableColumn, first: boolean): string {\n    return getTableCellClasses(col.align ?? 'left', this.withBorder(), first);\n  }\n\n  protected rowClasses(row: TableRow): string {\n    return getTableRowClasses(this.striped(), this.isSelected(row));\n  }\n\n  protected sortIconClasses(col: ITableColumn): string {\n    return getTableSortIconClasses(this.sort()?.key === col.key);\n  }\n\n  protected ariaSort(col: ITableColumn): string | null {\n    if (!col.sortable) return null;\n    const sort = this.sort();\n    return sort?.key === col.key ? sort.direction : 'none';\n  }\n\n  protected isDescending(col: ITableColumn): boolean {\n    const sort = this.sort();\n    return sort?.key === col.key && sort.direction === 'descending';\n  }\n\n  protected toggleSort(col: ITableColumn): void {\n    const current = this.sort();\n    const direction: SortDirection =\n      current?.key === col.key && current.direction === 'ascending'\n        ? 'descending'\n        : 'ascending';\n    this.sort.set({ key: col.key, direction });\n  }\n\n  protected isSelected(row: TableRow): boolean {\n    return this.selected().has(row);\n  }\n\n  protected toggleRow(row: TableRow): void {\n    const next = new Set(this.selected());\n    if (next.has(row)) next.delete(row);\n    else next.add(row);\n    this.selected.set(next);\n  }\n\n  protected toggleAll(): void {\n    this.selected.set(this.allSelected() ? new Set() : new Set(this.rows()));\n  }\n\n  protected emptyColspan(): number {\n    return this.columns().length + (this.withCheckboxes() ? 1 : 0);\n  }\n\n  protected readCell(row: TableRow, key: string): unknown {\n    return row[key];\n  }\n}\n\n/** Numbers compare numerically, everything else as natural-order text; empty values sort last. */\nfunction compareCells(a: unknown, b: unknown): number {\n  const aEmpty = a === null || a === undefined || a === '';\n  const bEmpty = b === null || b === undefined || b === '';\n  if (aEmpty || bEmpty) return Number(aEmpty) - Number(bEmpty);\n  if (typeof a === 'number' && typeof b === 'number') return a - b;\n  return String(a).localeCompare(String(b), undefined, { numeric: true });\n}\n","<div [class]=\"rootClasses()\">\n  @if (hasHeader()) {\n    <div data-role=\"header\" [class]=\"headerClasses\">\n      <div [class]=\"headerTextClasses\">\n        @if (options()?.title) {\n          <h3 data-role=\"title\" [class]=\"titleClasses\">\n            {{ options()!.title }}\n          </h3>\n        }\n        @if (options()?.description) {\n          <p data-role=\"description\" [class]=\"descriptionClasses\">\n            {{ options()!.description }}\n          </p>\n        }\n      </div>\n      @if (options()?.toolbarTpl) {\n        <div data-role=\"toolbar\" [class]=\"toolbarClasses\">\n          <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n        </div>\n      }\n    </div>\n  }\n\n  @if (columns().length > 0) {\n    <div data-role=\"frame\" [class]=\"frameClasses()\">\n      <div data-role=\"scroll\" [class]=\"scrollClasses()\">\n        <table [class]=\"tableClasses\">\n          <thead [class]=\"headClasses()\">\n            <tr>\n              @if (withCheckboxes()) {\n                <th scope=\"col\" [class]=\"checkboxHeaderClasses()\">\n                  <input\n                    type=\"checkbox\"\n                    aria-label=\"Select all rows\"\n                    [class]=\"checkboxClasses\"\n                    [checked]=\"allSelected()\"\n                    [indeterminate]=\"someSelected()\"\n                    (change)=\"toggleAll()\"\n                  />\n                </th>\n              }\n              @for (col of columns(); track col.key) {\n                <th\n                  scope=\"col\"\n                  [class]=\"headerCellClasses(col)\"\n                  [attr.aria-label]=\"col.ariaLabel ?? null\"\n                  [attr.aria-sort]=\"ariaSort(col)\"\n                  [attr.data-align]=\"col.align ?? null\"\n                >\n                  @if (col.sortable) {\n                    <button\n                      type=\"button\"\n                      [class]=\"sortButtonClasses\"\n                      (click)=\"toggleSort(col)\"\n                    >\n                      @if (col.headerTpl) {\n                        <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n                      } @else {\n                        {{ col.label ?? col.key }}\n                      }\n                      <svg\n                        data-role=\"sort-icon\"\n                        viewBox=\"0 0 20 20\"\n                        fill=\"currentColor\"\n                        aria-hidden=\"true\"\n                        [attr.class]=\"\n                          sortIconClasses(col) +\n                          (isDescending(col) ? ' smart:rotate-180' : '')\n                        \"\n                      >\n                        <path\n                          fill-rule=\"evenodd\"\n                          clip-rule=\"evenodd\"\n                          d=\"M14.77 12.79a.75.75 0 0 1-1.06-.02L10 8.832 6.29 12.77a.75.75 0 1 1-1.08-1.04l4.25-4.5a.75.75 0 0 1 1.08 0l4.25 4.5a.75.75 0 0 1-.02 1.06Z\"\n                        />\n                      </svg>\n                    </button>\n                  } @else if (col.headerTpl) {\n                    <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n                  } @else {\n                    {{ col.label ?? col.key }}\n                  }\n                </th>\n              }\n            </tr>\n          </thead>\n          <tbody [class]=\"bodyClasses()\">\n            @for (row of rows(); track row) {\n              <tr [class]=\"rowClasses(row)\">\n                @if (withCheckboxes()) {\n                  <td [class]=\"checkboxCellClasses\">\n                    <input\n                      type=\"checkbox\"\n                      aria-label=\"Select row\"\n                      [class]=\"checkboxClasses\"\n                      [checked]=\"isSelected(row)\"\n                      (change)=\"toggleRow(row)\"\n                    />\n                  </td>\n                }\n                @for (col of columns(); track col.key; let first = $first) {\n                  <td\n                    [class]=\"cellClasses(col, first)\"\n                    [attr.data-align]=\"col.align ?? null\"\n                  >\n                    @if (col.cellTpl) {\n                      <ng-container\n                        [ngTemplateOutlet]=\"col.cellTpl\"\n                        [ngTemplateOutletContext]=\"{\n                          $implicit: row,\n                          column: col,\n                        }\"\n                      />\n                    } @else {\n                      {{ readCell(row, col.key) }}\n                    }\n                  </td>\n                }\n              </tr>\n            } @empty {\n              @if (options()?.emptyTpl) {\n                <tr>\n                  <td\n                    data-role=\"empty\"\n                    [class]=\"emptyClasses\"\n                    [attr.colspan]=\"emptyColspan()\"\n                  >\n                    <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n                  </td>\n                </tr>\n              }\n            }\n          </tbody>\n        </table>\n      </div>\n    </div>\n  }\n\n  @if (options()?.footerTpl) {\n    <div data-role=\"footer\" [class]=\"footerClasses\">\n      <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n    </div>\n  }\n</div>\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, ITabsOptions } from '../../../models';\n\nexport interface ITabChange {\n  tabId: string;\n}\n\n@Directive()\nexport abstract class TabsBaseComponent {\n  static smartType: DynamicComponentType = 'tabs';\n\n  options: InputSignal<ITabsOptions | undefined> = input<ITabsOptions>();\n  selectedId: ModelSignal<string | null> = model<string | null>(null);\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  tabChange: OutputEmitterRef<ITabChange> = output<ITabChange>();\n}\n","import { SmartTabsLayout } from '../../../models';\n\nexport type SmartTabsPresetLayout = SmartTabsLayout;\n\n// Shared trigger fragments (Preline -> vanilla Tailwind, smart: prefixed).\nconst TRIGGER_COMMON = [\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-x-2',\n  'smart:text-sm',\n  'smart:focus:outline-none',\n  'smart:disabled:opacity-50',\n  'smart:disabled:pointer-events-none',\n].join(' ');\n\n// --- Underline family ------------------------------------------------------\nconst UNDERLINE_BASE = [\n  'smart:relative',\n  'smart:py-4',\n  'smart:px-1',\n  'smart:whitespace-nowrap',\n  'smart:after:absolute',\n  'smart:after:-bottom-px',\n  'smart:after:inset-x-0',\n  'smart:after:w-full',\n  'smart:after:h-0.5',\n].join(' ');\n\nconst UNDERLINE_INACTIVE = [\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:after:bg-transparent',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:text-blue-400',\n].join(' ');\n\nconst UNDERLINE_ACTIVE = [\n  'smart:font-semibold',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n  'smart:after:bg-blue-600',\n  'smart:dark:after:bg-blue-500',\n].join(' ');\n\n// --- Simple (no underline indicator) --------------------------------------\nconst SIMPLE_BASE = [\n  'smart:py-4',\n  'smart:px-1',\n  'smart:whitespace-nowrap',\n].join(' ');\n\nconst SIMPLE_INACTIVE = [\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:text-blue-400',\n].join(' ');\n\nconst SIMPLE_ACTIVE = [\n  'smart:font-semibold',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n].join(' ');\n\n// --- Pills family ----------------------------------------------------------\nconst PILL_BASE = [\n  'smart:py-3',\n  'smart:px-4',\n  'smart:font-medium',\n  'smart:text-center',\n  'smart:rounded-lg',\n].join(' ');\n\nconst PILL_INACTIVE = [\n  'smart:bg-transparent',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:text-blue-400',\n].join(' ');\n\nconst PILL_ACTIVE_NEUTRAL = [\n  'smart:bg-gray-100',\n  'smart:text-gray-800',\n  'smart:dark:bg-gray-700',\n  'smart:dark:text-gray-200',\n].join(' ');\n\nconst PILL_ACTIVE_ON_GRAY = [\n  'smart:bg-white',\n  'smart:text-gray-800',\n  'smart:dark:bg-gray-600',\n  'smart:dark:text-gray-100',\n].join(' ');\n\nconst PILL_ACTIVE_BRAND = [\n  'smart:bg-blue-600',\n  'smart:text-white',\n  'smart:dark:bg-blue-500',\n].join(' ');\n\n// --- Bar with underline ----------------------------------------------------\nconst BAR_BASE = [\n  'smart:relative',\n  'smart:min-w-0',\n  'smart:flex-1',\n  'smart:bg-white',\n  'smart:dark:bg-gray-800',\n  'smart:first:border-s-0',\n  'smart:border-s',\n  'smart:border-b-2',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n  'smart:py-4',\n  'smart:px-4',\n  'smart:font-medium',\n  'smart:text-center',\n  'smart:overflow-hidden',\n].join(' ');\n\nconst BAR_INACTIVE = [\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:hover:text-gray-900',\n  'smart:dark:hover:text-white',\n  'smart:hover:bg-gray-100',\n  'smart:dark:hover:bg-gray-700',\n].join(' ');\n\nconst BAR_ACTIVE = [\n  'smart:border-b-blue-600',\n  'smart:dark:border-b-blue-500',\n  'smart:text-gray-900',\n  'smart:dark:text-white',\n].join(' ');\n\nconst UNDERLINE_BORDER =\n  'smart:border-b smart:border-gray-200 smart:dark:border-gray-700';\nconst NAV_FLEX = 'smart:flex smart:gap-x-1';\nconst NAV_ON_GRAY =\n  'smart:inline-flex smart:gap-x-1 smart:bg-gray-100 smart:dark:bg-gray-800 smart:rounded-lg smart:p-1';\nconst NAV_BAR =\n  'smart:relative smart:z-0 smart:flex smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:rounded-xl smart:overflow-hidden';\n\nconst UNDERLINE_LAYOUTS: ReadonlySet<SmartTabsPresetLayout> = new Set([\n  'underline',\n  'underline-with-icons',\n  'underline-with-badges',\n  'underline-full-width',\n]);\n\n/** Outer wrapper around the nav (border-bottom for underline families). */\nexport function getTabsContainerClasses(layout: SmartTabsPresetLayout): string {\n  return UNDERLINE_LAYOUTS.has(layout) ? UNDERLINE_BORDER : '';\n}\n\n/** Classes for the <nav role=\"tablist\"> element. */\nexport function getTabsNavClasses(layout: SmartTabsPresetLayout): string {\n  switch (layout) {\n    case 'pills-on-gray':\n      return NAV_ON_GRAY;\n    case 'bar-with-underline':\n      return NAV_BAR;\n    default:\n      return NAV_FLEX;\n  }\n}\n\n/** Classes for a single tab trigger (button/link), per layout + active state. */\nexport function getTabsTriggerClasses(\n  layout: SmartTabsPresetLayout,\n  active: boolean,\n): string {\n  switch (layout) {\n    case 'pills':\n      return [\n        TRIGGER_COMMON,\n        PILL_BASE,\n        active ? PILL_ACTIVE_NEUTRAL : PILL_INACTIVE,\n      ].join(' ');\n    case 'pills-on-gray':\n      return [\n        TRIGGER_COMMON,\n        PILL_BASE,\n        active ? PILL_ACTIVE_ON_GRAY : PILL_INACTIVE,\n      ].join(' ');\n    case 'pills-with-brand-color':\n      return [\n        TRIGGER_COMMON,\n        PILL_BASE,\n        active ? PILL_ACTIVE_BRAND : PILL_INACTIVE,\n      ].join(' ');\n    case 'bar-with-underline':\n      return [\n        TRIGGER_COMMON,\n        BAR_BASE,\n        active ? BAR_ACTIVE : BAR_INACTIVE,\n      ].join(' ');\n    case 'simple':\n      return [\n        TRIGGER_COMMON,\n        SIMPLE_BASE,\n        active ? SIMPLE_ACTIVE : SIMPLE_INACTIVE,\n      ].join(' ');\n    case 'underline-full-width':\n      return [\n        TRIGGER_COMMON,\n        UNDERLINE_BASE,\n        'smart:flex-1 smart:justify-center',\n        active ? UNDERLINE_ACTIVE : UNDERLINE_INACTIVE,\n      ].join(' ');\n    default:\n      // underline, underline-with-icons, underline-with-badges\n      return [\n        TRIGGER_COMMON,\n        UNDERLINE_BASE,\n        active ? UNDERLINE_ACTIVE : UNDERLINE_INACTIVE,\n      ].join(' ');\n  }\n}\n\n/** Classes for the trailing count badge inside a tab. */\nexport function getTabsBadgeClasses(active: boolean): string {\n  const base =\n    'smart:ms-1 smart:py-0.5 smart:px-1.5 smart:rounded-full smart:text-xs smart:font-medium';\n  const tone = active\n    ? 'smart:bg-blue-100 smart:text-blue-600 smart:dark:bg-blue-500/20 smart:dark:text-blue-400'\n    : 'smart:bg-gray-100 smart:text-gray-800 smart:dark:bg-gray-700 smart:dark:text-gray-300';\n  return `${base} ${tone}`;\n}\n\n/** Classes for an optional leading icon wrapper. */\nexport function getTabsIconClasses(): string {\n  return 'smart:shrink-0 smart:size-4';\n}\n\n/** Classes for the mobile <select> fallback. */\nexport function getTabsMobileSelectClasses(): string {\n  return [\n    'smart:sm:hidden',\n    'smart:block',\n    'smart:w-full',\n    'smart:py-3',\n    'smart:px-4',\n    'smart:pe-9',\n    'smart:text-sm',\n    'smart:rounded-lg',\n    'smart:border',\n    'smart:border-gray-200',\n    'smart:dark:border-gray-700',\n    'smart:bg-white',\n    'smart:dark:bg-gray-800',\n    'smart:text-gray-900',\n    'smart:dark:text-white',\n    'smart:focus:border-blue-600',\n    'smart:focus:ring-blue-600',\n  ].join(' ');\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ITabItem } from '../../../models';\nimport { TabsBaseComponent } from '../base';\nimport {\n  getTabsBadgeClasses,\n  getTabsContainerClasses,\n  getTabsIconClasses,\n  getTabsMobileSelectClasses,\n  getTabsNavClasses,\n  getTabsTriggerClasses,\n  SmartTabsPresetLayout,\n} from './preset-classes.util';\n\n/**\n * Styled tabs variation (preset).\n *\n * Drop-in replacement for `TabsStandardComponent` — register it through\n * `TABS_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-tabs>`, or use the\n * `<smart-tabs-preset>` selector directly.\n *\n * Renders the translated Preline \"underline\" tab nav (plus the other layouts in\n * `SmartTabsLayout`) with `smart:`-prefixed vanilla Tailwind classes. Preline's\n * Tabs JS plugin is NOT used: the active tab is driven by an Angular signal via\n * `(click)` + `@if`/`@for`, while ARIA (`role=tablist/tab`, `aria-selected`,\n * `aria-controls`) is kept on the markup.\n */\n@Component({\n  selector: 'smart-tabs-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TabsPresetComponent extends TabsBaseComponent {\n  // NgComponentOutlet (used by TabsComponent when this is registered through\n  // TABS_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected layout = computed<SmartTabsPresetLayout>(\n    () => this.options()?.layout ?? 'underline',\n  );\n\n  protected items = computed<ITabItem[]>(() => this.options()?.items ?? []);\n\n  protected ariaLabel = computed<string>(\n    () => this.options()?.ariaLabel ?? 'Tabs',\n  );\n\n  protected showMobileSelect = computed<boolean>(\n    () => (this.options()?.showMobileSelect ?? true) && this.items().length > 0,\n  );\n\n  // Falls back to the first item when no selection has been made yet.\n  protected currentId = computed<string | null>(\n    () => this.selectedId() ?? this.items()[0]?.id ?? null,\n  );\n\n  protected containerClasses = computed(() =>\n    getTabsContainerClasses(this.layout()),\n  );\n  protected navClasses = computed(() => getTabsNavClasses(this.layout()));\n\n  protected desktopWrapperClasses = computed(() =>\n    this.showMobileSelect() ? 'smart:hidden smart:sm:block' : '',\n  );\n\n  protected iconClasses = getTabsIconClasses();\n  protected mobileSelectClasses = getTabsMobileSelectClasses();\n\n  protected isCurrent(id: string): boolean {\n    return this.currentId() === id;\n  }\n\n  protected triggerClasses(id: string): string {\n    return getTabsTriggerClasses(this.layout(), this.isCurrent(id));\n  }\n\n  protected badgeClasses(id: string): string {\n    return getTabsBadgeClasses(this.isCurrent(id));\n  }\n\n  protected onTabClick(tabId: string): void {\n    this.selectedId.set(tabId);\n    this.tabChange.emit({ tabId });\n  }\n\n  protected onSelectChange(event: Event): void {\n    this.onTabClick((event.target as HTMLSelectElement).value);\n  }\n}\n","<div [class]=\"cssClass()\">\n  @if (showMobileSelect()) {\n    <select\n      [class]=\"mobileSelectClasses\"\n      [attr.aria-label]=\"ariaLabel()\"\n      (change)=\"onSelectChange($event)\"\n    >\n      @for (item of items(); track item.id) {\n        <option\n          [value]=\"item.id\"\n          [attr.selected]=\"isCurrent(item.id) ? '' : null\"\n        >\n          {{ item.label ?? item.id }}\n        </option>\n      }\n    </select>\n  }\n\n  <div [class]=\"desktopWrapperClasses()\">\n    <div [class]=\"containerClasses()\">\n      <nav\n        [class]=\"navClasses()\"\n        role=\"tablist\"\n        aria-orientation=\"horizontal\"\n        [attr.aria-label]=\"ariaLabel()\"\n      >\n        @for (item of items(); track item.id) {\n          @if (item.href) {\n            <a\n              [href]=\"item.href\"\n              role=\"tab\"\n              [id]=\"item.id + '-tab'\"\n              [class]=\"triggerClasses(item.id)\"\n              [attr.aria-selected]=\"isCurrent(item.id)\"\n              [attr.aria-controls]=\"item.id\"\n              (click)=\"onTabClick(item.id)\"\n            >\n              @if (item.iconTpl) {\n                <span [class]=\"iconClasses\">\n                  <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                </span>\n              }\n              @if (item.label) {\n                {{ item.label }}\n              }\n              @if (item.badge !== undefined && item.badge !== null) {\n                <span [class]=\"badgeClasses(item.id)\">{{ item.badge }}</span>\n              }\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              role=\"tab\"\n              [id]=\"item.id + '-tab'\"\n              [class]=\"triggerClasses(item.id)\"\n              [attr.aria-selected]=\"isCurrent(item.id)\"\n              [attr.aria-controls]=\"item.id\"\n              (click)=\"onTabClick(item.id)\"\n            >\n              @if (item.iconTpl) {\n                <span [class]=\"iconClasses\">\n                  <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                </span>\n              }\n              @if (item.label) {\n                {{ item.label }}\n              }\n              @if (item.badge !== undefined && item.badge !== null) {\n                <span [class]=\"badgeClasses(item.id)\">{{ item.badge }}</span>\n              }\n            </button>\n          }\n        }\n      </nav>\n    </div>\n  </div>\n</div>\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  output,\n  OutputEmitterRef,\n} from '@angular/core';\n\nimport { DynamicComponentType, ITextareaOptions } from '../../../models';\n\nexport interface ITextareaActionClick {\n  actionId: string;\n  value: string;\n}\n\n@Directive()\nexport abstract class TextareaBaseComponent {\n  static smartType: DynamicComponentType = 'textarea';\n\n  value: ModelSignal<string> = model<string>('');\n  placeholder: InputSignal<string> = input<string>('');\n  disabled: InputSignal<boolean> = input<boolean>(false);\n  options: InputSignal<ITextareaOptions | undefined> =\n    input<ITextareaOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  actionClick: OutputEmitterRef<ITextareaActionClick> =\n    output<ITextareaActionClick>();\n}\n","import { ITextareaAction, SmartTextareaVariant } from '../../../models';\n\nexport type SmartTextareaPresetVariant = SmartTextareaVariant;\n\ntype ActionVariant = NonNullable<ITextareaAction['variant']>;\n\nconst join = (...parts: string[]): string => parts.filter(Boolean).join(' ');\n\n/** Root row: optional avatar column + body column. */\nexport const TEXTAREA_ROOT = 'smart:flex smart:items-start smart:gap-x-4';\n\n/** Avatar column. */\nexport const TEXTAREA_AVATAR = 'smart:shrink-0';\n\n/** Body column (label, field, bars, preview, footer). */\nexport const TEXTAREA_BODY = 'smart:min-w-0 smart:flex-1';\n\n/** Field label. */\nexport const TEXTAREA_LABEL =\n  'smart:mb-2 smart:block smart:text-sm/6 smart:font-medium smart:text-gray-900 smart:dark:text-white';\n\n/** Required marker inside the label. */\nexport const TEXTAREA_REQUIRED =\n  'smart:ms-0.5 smart:text-red-600 smart:dark:text-red-400';\n\n/** Shared text / placeholder / disabled look of every field. */\nconst FIELD_TEXT = join(\n  'smart:block smart:w-full smart:text-base smart:sm:text-sm/6',\n  'smart:text-gray-900 smart:dark:text-white',\n  'smart:placeholder:text-gray-400 smart:dark:placeholder:text-gray-500',\n  'smart:disabled:cursor-not-allowed smart:disabled:opacity-60',\n);\n\n/** Stand-alone outlined field (`simple`, `with-preview`). */\nconst FIELD_OUTLINED = join(\n  FIELD_TEXT,\n  'smart:rounded-lg smart:bg-white smart:px-3 smart:py-1.5 smart:dark:bg-white/5',\n  'smart:outline-1 smart:-outline-offset-1 smart:outline-gray-300 smart:dark:outline-white/10',\n  'smart:focus:outline-2 smart:focus:-outline-offset-2 smart:focus:outline-blue-600 smart:dark:focus:outline-blue-500',\n);\n\n/** Borderless field placed inside a framed box. */\nconst FIELD_BARE = join(\n  FIELD_TEXT,\n  'smart:resize-none smart:bg-transparent smart:px-3 smart:py-1.5 smart:focus:outline-none',\n);\n\n/** Borderless field sitting on an underline. */\nconst FIELD_UNDERLINE = join(\n  FIELD_TEXT,\n  'smart:resize-none smart:bg-transparent smart:px-0 smart:py-1.5 smart:focus:outline-none',\n);\n\nconst FIELD_BY_VARIANT: Record<SmartTextareaPresetVariant, string> = {\n  simple: FIELD_OUTLINED,\n  'with-preview': FIELD_OUTLINED,\n  'with-avatar-actions': FIELD_BARE,\n  'with-pill-actions': FIELD_BARE,\n  'with-underline': FIELD_UNDERLINE,\n};\n\n/** Outlined box whose focus ring follows the inner field. */\nconst FRAME_BOX = join(\n  'smart:overflow-hidden smart:rounded-lg smart:bg-white smart:dark:bg-white/5',\n  'smart:outline-1 smart:-outline-offset-1 smart:outline-gray-300 smart:dark:outline-white/10',\n  'smart:focus-within:outline-2 smart:focus-within:-outline-offset-2 smart:focus-within:outline-blue-600 smart:dark:focus-within:outline-blue-500',\n);\n\nconst FRAME_BY_VARIANT: Record<SmartTextareaPresetVariant, string> = {\n  simple: 'smart:relative',\n  'with-preview': 'smart:relative',\n  'with-avatar-actions': FRAME_BOX,\n  'with-pill-actions': FRAME_BOX,\n  'with-underline': join(\n    'smart:border-b smart:border-gray-200 smart:pb-px smart:dark:border-white/10',\n    'smart:focus-within:border-b-2 smart:focus-within:border-blue-600 smart:focus-within:pb-0 smart:dark:focus-within:border-blue-500',\n  ),\n};\n\n/** Variants that keep the toolbar/actions bar inside the framed box. */\nconst BAR_INSIDE: ReadonlySet<SmartTextareaPresetVariant> = new Set([\n  'with-avatar-actions',\n  'with-pill-actions',\n]);\n\nconst BAR_BASE =\n  'smart:flex smart:items-center smart:justify-between smart:gap-x-3';\n\nconst BAR_BY_VARIANT: Record<SmartTextareaPresetVariant, string> = {\n  simple: join(BAR_BASE, 'smart:mt-2'),\n  'with-preview': join(BAR_BASE, 'smart:mt-2'),\n  'with-underline': join(BAR_BASE, 'smart:pt-2'),\n  'with-avatar-actions': join(BAR_BASE, 'smart:py-2 smart:ps-3 smart:pe-2'),\n  'with-pill-actions': join(\n    BAR_BASE,\n    'smart:border-t smart:border-gray-200 smart:px-2 smart:py-2 smart:dark:border-white/10',\n  ),\n};\n\n/** Toolbar slot (left side of the bar). */\nexport const TEXTAREA_TOOLBAR =\n  'smart:flex smart:items-center smart:gap-x-1 smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Action buttons group (right side of the bar). */\nexport const TEXTAREA_ACTIONS =\n  'smart:ms-auto smart:flex smart:shrink-0 smart:items-center smart:gap-x-2';\n\nconst ACTION_BASE = join(\n  'smart:inline-flex smart:items-center smart:gap-x-1.5 smart:px-3 smart:py-2 smart:text-sm smart:font-semibold',\n  'smart:focus-visible:outline-2 smart:focus-visible:outline-offset-2 smart:focus-visible:outline-blue-600 smart:dark:focus-visible:outline-blue-500',\n  'smart:disabled:cursor-not-allowed smart:disabled:opacity-50',\n);\n\nconst ACTION_BY_VARIANT: Record<ActionVariant, string> = {\n  primary: join(\n    'smart:bg-blue-600 smart:text-white smart:shadow-xs smart:hover:bg-blue-500',\n    'smart:dark:bg-blue-500 smart:dark:shadow-none smart:dark:hover:bg-blue-400',\n  ),\n  secondary: join(\n    'smart:bg-white smart:text-gray-900 smart:shadow-xs smart:ring-1 smart:ring-inset smart:ring-gray-300 smart:hover:bg-gray-50',\n    'smart:dark:bg-white/10 smart:dark:text-white smart:dark:shadow-none smart:dark:ring-white/10 smart:dark:hover:bg-white/20',\n  ),\n  ghost: join(\n    'smart:text-gray-700 smart:hover:bg-gray-100',\n    'smart:dark:text-gray-300 smart:dark:hover:bg-white/10',\n  ),\n};\n\n/** Tabs row of the `with-preview` variant. */\nexport const TEXTAREA_TABS =\n  'smart:mb-2 smart:flex smart:items-center smart:gap-x-2';\n\nconst TAB_BASE =\n  'smart:rounded-md smart:px-3 smart:py-1.5 smart:text-sm smart:font-medium';\n\n/** Preview pane replacing the field in `with-preview` (preview tab). */\nexport const TEXTAREA_PREVIEW_PANE = join(\n  'smart:min-h-24 smart:rounded-lg smart:px-3 smart:py-2 smart:text-sm smart:text-gray-900 smart:dark:text-white',\n  'smart:outline-1 smart:-outline-offset-1 smart:outline-gray-300 smart:dark:outline-white/10',\n);\n\n/** Preview block rendered below the field in the other variants. */\nexport const TEXTAREA_PREVIEW_BELOW = join(\n  'smart:mt-3 smart:rounded-lg smart:border smart:border-gray-200 smart:bg-gray-50 smart:px-3 smart:py-2',\n  'smart:text-sm smart:text-gray-900 smart:dark:border-white/10 smart:dark:bg-white/5 smart:dark:text-white',\n);\n\n/** Character counter (shown when `maxLength` is set). */\nexport const TEXTAREA_COUNTER =\n  'smart:mt-1 smart:text-end smart:text-xs smart:text-gray-500 smart:dark:text-gray-400';\n\n/** Footer slot. */\nexport const TEXTAREA_FOOTER =\n  'smart:mt-2 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';\n\nexport function textareaFieldClasses(\n  variant: SmartTextareaPresetVariant,\n): string {\n  return FIELD_BY_VARIANT[variant];\n}\n\nexport function textareaFrameClasses(\n  variant: SmartTextareaPresetVariant,\n): string {\n  return FRAME_BY_VARIANT[variant];\n}\n\nexport function textareaBarClasses(\n  variant: SmartTextareaPresetVariant,\n): string {\n  return BAR_BY_VARIANT[variant];\n}\n\nexport function textareaBarInside(\n  variant: SmartTextareaPresetVariant,\n): boolean {\n  return BAR_INSIDE.has(variant);\n}\n\nexport function textareaActionClasses(\n  actionVariant: ITextareaAction['variant'],\n  variant: SmartTextareaPresetVariant,\n): string {\n  const shape =\n    variant === 'with-pill-actions' ? 'smart:rounded-full' : 'smart:rounded-md';\n  return join(\n    ACTION_BASE,\n    shape,\n    ACTION_BY_VARIANT[actionVariant ?? 'secondary'],\n  );\n}\n\nexport function textareaTabClasses(selected: boolean): string {\n  return join(\n    TAB_BASE,\n    selected\n      ? 'smart:bg-gray-100 smart:text-gray-900 smart:dark:bg-white/10 smart:dark:text-white'\n      : 'smart:text-gray-500 smart:hover:bg-gray-100 smart:hover:text-gray-900 smart:dark:text-gray-400 smart:dark:hover:bg-white/5 smart:dark:hover:text-white',\n  );\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  afterNextRender,\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ElementRef,\n  input,\n  signal,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ITextareaAction } from '../../../models';\nimport { TextareaBaseComponent } from '../base';\nimport {\n  SmartTextareaPresetVariant,\n  TEXTAREA_ACTIONS,\n  TEXTAREA_AVATAR,\n  TEXTAREA_BODY,\n  TEXTAREA_COUNTER,\n  TEXTAREA_FOOTER,\n  TEXTAREA_LABEL,\n  TEXTAREA_PREVIEW_BELOW,\n  TEXTAREA_PREVIEW_PANE,\n  TEXTAREA_REQUIRED,\n  TEXTAREA_ROOT,\n  TEXTAREA_TABS,\n  TEXTAREA_TOOLBAR,\n  textareaActionClasses,\n  textareaBarClasses,\n  textareaBarInside,\n  textareaFieldClasses,\n  textareaFrameClasses,\n  textareaTabClasses,\n} from './preset-classes.util';\n\nlet nextId = 0;\n\n/**\n * Styled textarea variation (preset).\n *\n * Drop-in replacement for `TextareaStandardComponent` — register it through\n * `TEXTAREA_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-textarea>`, or\n * use the `<smart-textarea-preset>` selector directly.\n *\n * Renders the Tailwind UI comment-form look and honours `options.variant`:\n * `simple` (outlined field, bar below), `with-avatar-actions` (outlined box\n * with the toolbar/actions bar inside), `with-underline` (bottom border only),\n * `with-pill-actions` (box with a divided bar and pill buttons) and\n * `with-preview` (Write / Preview tabs swapping the field for `previewTpl`).\n * It also honours `autoFocus` and shows a character counter for `maxLength`.\n */\n@Component({\n  selector: 'smart-textarea-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TextareaPresetComponent extends TextareaBaseComponent {\n  // NgComponentOutlet (used by TextareaComponent when this is registered\n  // through TEXTAREA_STANDARD_COMPONENT_TOKEN) passes inputs by canonical\n  // name, so the inherited `class` alias must be dropped for `cssClass`.\n  override cssClass = input<string>('');\n\n  protected readonly fieldId = `smart-textarea-preset-${nextId++}`;\n  protected readonly mode = signal<'write' | 'preview'>('write');\n\n  private readonly fieldRef =\n    viewChild<ElementRef<HTMLTextAreaElement>>('field');\n\n  protected variant = computed<SmartTextareaPresetVariant>(\n    () => this.options()?.variant ?? 'simple',\n  );\n  protected actions = computed<ITextareaAction[]>(\n    () => this.options()?.actions ?? [],\n  );\n  protected hasBar = computed(\n    () => !!this.options()?.toolbarTpl || this.actions().length > 0,\n  );\n  protected barInside = computed(() => textareaBarInside(this.variant()));\n  protected hasTabs = computed(\n    () => this.variant() === 'with-preview' && !!this.options()?.previewTpl,\n  );\n  protected showPreviewPane = computed(\n    () => this.hasTabs() && this.mode() === 'preview',\n  );\n\n  protected rootClasses = computed(() =>\n    [TEXTAREA_ROOT, this.cssClass()].filter(Boolean).join(' '),\n  );\n  protected fieldClasses = computed(() => textareaFieldClasses(this.variant()));\n  protected frameClasses = computed(() => textareaFrameClasses(this.variant()));\n  protected barClasses = computed(() => textareaBarClasses(this.variant()));\n\n  protected readonly avatarClasses = TEXTAREA_AVATAR;\n  protected readonly bodyClasses = TEXTAREA_BODY;\n  protected readonly labelClasses = TEXTAREA_LABEL;\n  protected readonly requiredClasses = TEXTAREA_REQUIRED;\n  protected readonly toolbarClasses = TEXTAREA_TOOLBAR;\n  protected readonly actionsClasses = TEXTAREA_ACTIONS;\n  protected readonly tabsClasses = TEXTAREA_TABS;\n  protected readonly previewPaneClasses = TEXTAREA_PREVIEW_PANE;\n  protected readonly previewBelowClasses = TEXTAREA_PREVIEW_BELOW;\n  protected readonly counterClasses = TEXTAREA_COUNTER;\n  protected readonly footerClasses = TEXTAREA_FOOTER;\n\n  constructor() {\n    super();\n    afterNextRender(() => {\n      if (this.options()?.autoFocus) this.fieldRef()?.nativeElement.focus();\n    });\n  }\n\n  protected actionClasses(action: ITextareaAction): string {\n    return textareaActionClasses(action.variant, this.variant());\n  }\n\n  protected tabClasses(selected: boolean): string {\n    return textareaTabClasses(selected);\n  }\n\n  protected onInput(event: Event): void {\n    this.value.set((event.target as HTMLTextAreaElement).value);\n  }\n\n  protected onActionClick(actionId: string): void {\n    if (this.disabled()) return;\n    this.actionClick.emit({ actionId, value: this.value() });\n  }\n}\n","<div [class]=\"rootClasses()\" [attr.data-variant]=\"variant()\">\n  @if (options()?.avatarTpl) {\n    <div [class]=\"avatarClasses\">\n      <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n    </div>\n  }\n\n  <div [class]=\"bodyClasses\">\n    @if (options()?.label) {\n      <label [class]=\"labelClasses\" [for]=\"fieldId\">\n        {{ options()!.label }}\n        @if (options()?.required) {\n          <span [class]=\"requiredClasses\" aria-hidden=\"true\">*</span>\n        }\n      </label>\n    }\n\n    @if (hasTabs()) {\n      <div [class]=\"tabsClasses\" role=\"tablist\">\n        <button\n          type=\"button\"\n          role=\"tab\"\n          [class]=\"tabClasses(mode() === 'write')\"\n          [attr.aria-selected]=\"mode() === 'write'\"\n          (click)=\"mode.set('write')\"\n        >\n          Write\n        </button>\n        <button\n          type=\"button\"\n          role=\"tab\"\n          [class]=\"tabClasses(mode() === 'preview')\"\n          [attr.aria-selected]=\"mode() === 'preview'\"\n          (click)=\"mode.set('preview')\"\n        >\n          Preview\n        </button>\n      </div>\n    }\n\n    @if (showPreviewPane()) {\n      <div [class]=\"previewPaneClasses\">\n        <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n      </div>\n    } @else {\n      <div [class]=\"frameClasses()\">\n        <textarea\n          #field\n          [id]=\"fieldId\"\n          [class]=\"fieldClasses()\"\n          [attr.name]=\"options()?.name ?? null\"\n          [attr.placeholder]=\"placeholder() || null\"\n          [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n          [attr.maxlength]=\"options()?.maxLength ?? null\"\n          [attr.autofocus]=\"options()?.autoFocus ? '' : null\"\n          [rows]=\"options()?.rows ?? 3\"\n          [disabled]=\"disabled()\"\n          [required]=\"!!options()?.required\"\n          [value]=\"value()\"\n          (input)=\"onInput($event)\"\n        ></textarea>\n        @if (hasBar() && barInside()) {\n          <ng-container [ngTemplateOutlet]=\"bar\" />\n        }\n      </div>\n    }\n\n    @if (hasBar() && !barInside()) {\n      <ng-container [ngTemplateOutlet]=\"bar\" />\n    }\n\n    @if (options()?.maxLength) {\n      <p [class]=\"counterClasses\" aria-live=\"polite\">\n        {{ value().length }}/{{ options()!.maxLength }}\n      </p>\n    }\n\n    @if (options()?.previewTpl && !hasTabs()) {\n      <div [class]=\"previewBelowClasses\">\n        <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n      </div>\n    }\n\n    @if (options()?.footerTpl) {\n      <div [class]=\"footerClasses\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n\n<ng-template #bar>\n  <div [class]=\"barClasses()\">\n    @if (options()?.toolbarTpl) {\n      <div [class]=\"toolbarClasses\">\n        <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n      </div>\n    }\n    @if (actions().length > 0) {\n      <div [class]=\"actionsClasses\">\n        @for (action of actions(); track action.id) {\n          <button\n            type=\"button\"\n            [class]=\"actionClasses(action)\"\n            [attr.data-action-id]=\"action.id\"\n            [attr.aria-label]=\"action.label ? null : action.id\"\n            [disabled]=\"disabled()\"\n            (click)=\"onActionClick(action.id)\"\n          >\n            @if (action.iconTpl) {\n              <span class=\"smart:inline-flex smart:size-5\" aria-hidden=\"true\">\n                <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n              </span>\n            }\n            @if (action.label) {\n              {{ action.label }}\n            }\n          </button>\n        }\n      </div>\n    }\n  </div>\n</ng-template>\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n} from '@angular/core';\n\nimport { DynamicComponentType, IToggleOptions } from '../../../models';\n\n@Directive()\nexport abstract class ToggleBaseComponent {\n  static smartType: DynamicComponentType = 'toggle';\n\n  value: ModelSignal<boolean> = model<boolean>(false);\n  disabled: InputSignal<boolean> = input<boolean>(false);\n  options: InputSignal<IToggleOptions | undefined> = input<IToggleOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  toggle(): void {\n    if (this.disabled()) return;\n    this.value.update((v) => !v);\n  }\n}\n","// Class recipes for the toggle (switch) preset. Kept out of the public barrel —\n// every export is prefixed with `Toggle`/`getToggle` to avoid collisions, and\n// the component imports them via the relative path only.\n\nconst SWITCH_BASE = [\n  'smart:relative',\n  'smart:inline-block',\n  'smart:w-11',\n  'smart:h-6',\n  'smart:cursor-pointer',\n].join(' ');\n\n// Hidden, accessible checkbox that drives the `peer-*` visual states.\nexport const TOGGLE_INPUT_CLASSES = 'smart:peer smart:sr-only';\n\nconst TRACK_CLASSES = [\n  'smart:absolute',\n  'smart:inset-0',\n  'smart:bg-gray-200',\n  'smart:dark:bg-gray-700',\n  'smart:rounded-full',\n  'smart:transition-colors',\n  'smart:duration-200',\n  'smart:ease-in-out',\n  'smart:peer-checked:bg-blue-600',\n  'smart:dark:peer-checked:bg-blue-500',\n  'smart:peer-disabled:opacity-50',\n  'smart:peer-disabled:pointer-events-none',\n].join(' ');\n\nconst THUMB_CLASSES = [\n  'smart:absolute',\n  'smart:top-1/2',\n  'smart:start-0.5',\n  'smart:-translate-y-1/2',\n  'smart:size-5',\n  'smart:bg-white',\n  'smart:rounded-full',\n  'smart:shadow-sm',\n  'smart:transition-transform',\n  'smart:duration-200',\n  'smart:ease-in-out',\n  'smart:peer-checked:translate-x-full',\n].join(' ');\n\nconst CONTAINER_WITH_TEXT = [\n  'smart:flex',\n  'smart:items-center',\n  'smart:gap-x-3',\n].join(' ');\n\nconst CONTAINER_PLAIN = 'smart:inline-flex';\n\nconst TEXT_WRAP_CLASSES = 'smart:flex smart:flex-col';\n\nconst LABEL_CLASSES = [\n  'smart:text-sm',\n  'smart:font-medium',\n  'smart:text-gray-800',\n  'smart:dark:text-gray-200',\n  'smart:cursor-pointer',\n].join(' ');\n\nconst DESCRIPTION_CLASSES = [\n  'smart:text-sm',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n].join(' ');\n\nexport function getToggleContainerClasses(hasText: boolean): string {\n  return hasText ? CONTAINER_WITH_TEXT : CONTAINER_PLAIN;\n}\n\nexport function getToggleSwitchClasses(): string {\n  return SWITCH_BASE;\n}\n\nexport function getToggleTrackClasses(): string {\n  return TRACK_CLASSES;\n}\n\nexport function getToggleThumbClasses(): string {\n  return THUMB_CLASSES;\n}\n\nexport function getToggleTextWrapClasses(): string {\n  return TEXT_WRAP_CLASSES;\n}\n\nexport function getToggleLabelClasses(): string {\n  return LABEL_CLASSES;\n}\n\nexport function getToggleDescriptionClasses(): string {\n  return DESCRIPTION_CLASSES;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ToggleBaseComponent } from '../base';\nimport {\n  getToggleContainerClasses,\n  getToggleDescriptionClasses,\n  getToggleLabelClasses,\n  getToggleSwitchClasses,\n  getToggleTextWrapClasses,\n  getToggleThumbClasses,\n  getToggleTrackClasses,\n  TOGGLE_INPUT_CLASSES,\n} from './preset-classes.util';\n\nlet nextTogglePresetId = 0;\n\n/**\n * Styled toggle (switch) variation (preset).\n *\n * Drop-in replacement for `ToggleStandardComponent` — register it through\n * `TOGGLE_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-toggle>`, or use\n * the `<smart-toggle-preset>` selector directly.\n *\n * Renders the Preline default switch: a hidden, accessible checkbox drives the\n * track / thumb visuals via `peer-*` states, while the `value` model holds the\n * checked state. Optional `options.label` / `options.description` render beside\n * the switch on the side given by `options.labelPosition` (defaults to right):\n * the label is a `<label for>` of the checkbox (its accessible name) and the\n * description is referenced by the checkbox's `aria-describedby`.\n * `options.ariaLabel` names the checkbox only when there is no `label`.\n */\n@Component({\n  selector: 'smart-toggle-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TogglePresetComponent extends ToggleBaseComponent {\n  // NgComponentOutlet (used by ToggleComponent when this is registered through\n  // TOGGLE_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the\n  // inherited `class` alias must be dropped for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  private readonly instanceId = `smart-toggle-preset-${nextTogglePresetId++}`;\n  protected readonly inputId = `${this.instanceId}-input`;\n  protected readonly descriptionId = `${this.instanceId}-description`;\n\n  protected readonly inputClasses = TOGGLE_INPUT_CLASSES;\n\n  protected label = computed(() => this.options()?.label ?? '');\n  protected description = computed(() => this.options()?.description ?? '');\n  protected ariaLabel = computed(() => this.options()?.ariaLabel ?? null);\n  protected labelPosition = computed(\n    () => this.options()?.labelPosition ?? 'right',\n  );\n\n  protected hasText = computed(() =>\n    Boolean(this.label() || this.description()),\n  );\n\n  protected containerClasses = computed(() =>\n    getToggleContainerClasses(this.hasText()),\n  );\n  protected switchClasses = computed(() => getToggleSwitchClasses());\n  protected trackClasses = computed(() => getToggleTrackClasses());\n  protected thumbClasses = computed(() => getToggleThumbClasses());\n  protected textWrapClasses = computed(() => getToggleTextWrapClasses());\n  protected labelClasses = computed(() => getToggleLabelClasses());\n  protected descriptionClasses = computed(() => getToggleDescriptionClasses());\n\n  onChange(event: Event): void {\n    const target = event.target as HTMLInputElement;\n    this.value.set(target.checked);\n  }\n}\n","<div [class]=\"containerClasses() + ' ' + cssClass()\">\n  @if (hasText() && labelPosition() === 'left') {\n    <ng-container [ngTemplateOutlet]=\"text\" />\n  }\n\n  <label [class]=\"switchClasses()\">\n    <input\n      type=\"checkbox\"\n      [id]=\"inputId\"\n      [class]=\"inputClasses\"\n      [checked]=\"value()\"\n      [disabled]=\"disabled()\"\n      [attr.aria-label]=\"label() ? null : ariaLabel()\"\n      [attr.aria-describedby]=\"description() ? descriptionId : null\"\n      (change)=\"onChange($event)\"\n    />\n    <span [class]=\"trackClasses()\"></span>\n    <span [class]=\"thumbClasses()\"></span>\n  </label>\n\n  @if (hasText() && labelPosition() === 'right') {\n    <ng-container [ngTemplateOutlet]=\"text\" />\n  }\n</div>\n\n<ng-template #text>\n  <span [class]=\"textWrapClasses()\">\n    @if (label()) {\n      <label [class]=\"labelClasses()\" [for]=\"inputId\">{{ label() }}</label>\n    }\n    @if (description()) {\n      <span [class]=\"descriptionClasses()\" [id]=\"descriptionId\">{{\n        description()\n      }}</span>\n    }\n  </span>\n</ng-template>\n","import {\n  computed,\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n  Signal,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  IVerticalNavGroup,\n  IVerticalNavOptions,\n} from '../../../models';\n\nexport interface IVerticalNavItemClick {\n  itemId: string;\n}\n\n@Directive()\nexport abstract class VerticalNavigationBaseComponent {\n  static smartType: DynamicComponentType = 'vertical-navigation';\n\n  options: InputSignal<IVerticalNavOptions | undefined> =\n    input<IVerticalNavOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  itemClick: OutputEmitterRef<IVerticalNavItemClick> =\n    output<IVerticalNavItemClick>();\n\n  // Normalizes options.items into a single-group structure (alongside any explicit groups).\n  protected resolvedGroups: Signal<IVerticalNavGroup[]> = computed(() => {\n    const opts = this.options();\n    const groups: IVerticalNavGroup[] = [];\n    if (opts?.items?.length) {\n      groups.push({ items: opts.items });\n    }\n    if (opts?.groups?.length) {\n      groups.push(...opts.groups);\n    }\n    return groups;\n  });\n}\n","// Class recipes for the vertical-navigation preset. Kept private to the\n// component (never re-exported from the component barrel); every symbol is\n// prefixed with the component name to avoid collisions in the root `export *`.\n\nconst CONTAINER = [\n  'smart:w-full',\n  'smart:border-e-2',\n  'smart:border-gray-200',\n  'smart:dark:border-gray-700',\n].join(' ');\n\n// The list of a group's items. The list reset keeps it identical to the\n// former per-group <nav> where the Tailwind preflight is not loaded.\nconst NAV = [\n  'smart:-me-0.5',\n  'smart:flex',\n  'smart:flex-col',\n  'smart:space-y-3',\n  'smart:my-0',\n  'smart:p-0',\n  'smart:list-none',\n].join(' ');\n\n// A column flex item, so the tab inside stretches to the full width (with\n// its trailing border on the container's edge) as it did as a direct child\n// of the group's flex column.\nconst LIST_ITEM = ['smart:flex', 'smart:flex-col'].join(' ');\n\nconst GROUP_TITLE = [\n  'smart:px-1',\n  'smart:pb-1',\n  'smart:text-xs',\n  'smart:font-semibold',\n  'smart:uppercase',\n  'smart:tracking-wide',\n  // gray-600/gray-400 rather than gray-400/gray-500: at this size the lighter\n  // pair is 2.6:1 on a white surface and fails WCAG AA.\n  'smart:text-gray-600',\n  'smart:dark:text-gray-400',\n].join(' ');\n\n// Shared base shared by both the active and inactive tab (translated 1:1 from\n// the Preline vertical-nav anchor classes).\nconst ITEM_BASE = [\n  'smart:py-1',\n  'smart:pe-4',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:gap-2',\n  'smart:border-e-2',\n  'smart:text-sm',\n  'smart:whitespace-nowrap',\n  'smart:focus:outline-none',\n].join(' ');\n\nconst ITEM_ACTIVE = [\n  'smart:border-blue-600',\n  'smart:dark:border-blue-500',\n  'smart:font-medium',\n  'smart:text-blue-600',\n  'smart:dark:text-blue-400',\n].join(' ');\n\nconst ITEM_INACTIVE = [\n  'smart:border-transparent',\n  'smart:text-gray-500',\n  'smart:dark:text-gray-400',\n  'smart:hover:text-blue-600',\n  'smart:dark:hover:text-blue-400',\n  'smart:focus:text-blue-600',\n  'smart:dark:focus:text-blue-400',\n].join(' ');\n\nconst ITEM_ICON = ['smart:shrink-0', 'smart:size-4'].join(' ');\n\nconst ITEM_INITIAL = [\n  'smart:shrink-0',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:justify-center',\n  'smart:size-5',\n  'smart:rounded-md',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:bg-gray-100',\n  'smart:text-gray-600',\n  'smart:dark:bg-gray-700',\n  'smart:dark:text-gray-300',\n].join(' ');\n\nconst ITEM_BADGE = [\n  'smart:ms-auto',\n  'smart:inline-flex',\n  'smart:items-center',\n  'smart:rounded-full',\n  'smart:px-2',\n  'smart:py-0.5',\n  'smart:text-xs',\n  'smart:font-medium',\n  'smart:bg-gray-100',\n  'smart:text-gray-600',\n  'smart:dark:bg-gray-700',\n  'smart:dark:text-gray-300',\n].join(' ');\n\nexport function getVerticalNavContainerClasses(): string {\n  return CONTAINER;\n}\n\nexport function getVerticalNavNavClasses(): string {\n  return NAV;\n}\n\nexport function getVerticalNavListItemClasses(): string {\n  return LIST_ITEM;\n}\n\nexport function getVerticalNavGroupTitleClasses(): string {\n  return GROUP_TITLE;\n}\n\nexport function getVerticalNavItemClasses(current: boolean): string {\n  return `${ITEM_BASE} ${current ? ITEM_ACTIVE : ITEM_INACTIVE}`;\n}\n\nexport function getVerticalNavIconClasses(): string {\n  return ITEM_ICON;\n}\n\nexport function getVerticalNavInitialClasses(): string {\n  return ITEM_INITIAL;\n}\n\nexport function getVerticalNavBadgeClasses(): string {\n  return ITEM_BADGE;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { VerticalNavigationBaseComponent } from '../base';\nimport {\n  getVerticalNavBadgeClasses,\n  getVerticalNavContainerClasses,\n  getVerticalNavGroupTitleClasses,\n  getVerticalNavIconClasses,\n  getVerticalNavInitialClasses,\n  getVerticalNavItemClasses,\n  getVerticalNavListItemClasses,\n  getVerticalNavNavClasses,\n} from './preset-classes.util';\n\nlet nextId = 0;\n\n/**\n * Styled vertical navigation variation (preset).\n *\n * Drop-in replacement for `VerticalNavigationStandardComponent` — register it\n * through `VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN` to restyle every\n * `<smart-vertical-navigation>`, or use the `<smart-vertical-navigation-preset>`\n * selector directly.\n *\n * Renders the Preline vertical-tabs look: each item is a tab with a trailing\n * border, the `current` item gaining the primary border + text accent. One\n * `<nav>` landmark (`options.ariaLabel`, `'Sidebar'` by default) holds every\n * group; a group is a list labelled by its title.\n */\n@Component({\n  selector: 'smart-vertical-navigation-preset',\n  templateUrl: './preset.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [NgTemplateOutlet],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class VerticalNavigationPresetComponent extends VerticalNavigationBaseComponent {\n  // NgComponentOutlet (used by VerticalNavigationComponent when this is\n  // registered through VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN) passes\n  // inputs by canonical name, so the inherited `class` alias must be dropped\n  // for `cssClass` to bind.\n  override cssClass = input<string>('');\n\n  protected groups = computed(() => this.resolvedGroups());\n\n  protected containerClasses = computed(() => getVerticalNavContainerClasses());\n  protected navClasses = computed(() => getVerticalNavNavClasses());\n  protected groupTitleClasses = getVerticalNavGroupTitleClasses();\n  protected iconClasses = getVerticalNavIconClasses();\n  protected initialClasses = getVerticalNavInitialClasses();\n  protected badgeClasses = getVerticalNavBadgeClasses();\n  protected listItemClasses = getVerticalNavListItemClasses();\n\n  private readonly idPrefix = `smart-vertical-navigation-${nextId++}`;\n\n  protected groupTitleId(groupIndex: number): string {\n    return `${this.idPrefix}-group-${groupIndex}`;\n  }\n\n  protected itemClasses(current: boolean | undefined): string {\n    return getVerticalNavItemClasses(Boolean(current));\n  }\n\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n}\n","<nav\n  [class]=\"containerClasses() + ' ' + cssClass()\"\n  [attr.aria-label]=\"options()?.ariaLabel ?? 'Sidebar'\"\n>\n  @for (group of groups(); track group.id ?? $index; let groupIndex = $index) {\n    @if (group.title) {\n      <div [id]=\"groupTitleId(groupIndex)\" [class]=\"groupTitleClasses\">\n        {{ group.title }}\n      </div>\n    }\n    <ul\n      role=\"list\"\n      [class]=\"navClasses()\"\n      [attr.aria-labelledby]=\"group.title ? groupTitleId(groupIndex) : null\"\n    >\n      @for (item of group.items; track item.id) {\n        <li [class]=\"listItemClasses\">\n          @if (item.href) {\n            <a\n              [href]=\"item.href\"\n              [class]=\"itemClasses(item.current)\"\n              [attr.aria-current]=\"item.current ? 'page' : null\"\n            >\n              <ng-container\n                [ngTemplateOutlet]=\"itemContent\"\n                [ngTemplateOutletContext]=\"{ $implicit: item }\"\n              />\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"itemClasses(item.current)\"\n              [attr.aria-current]=\"item.current ? 'page' : null\"\n              (click)=\"onItemClick(item.id)\"\n            >\n              <ng-container\n                [ngTemplateOutlet]=\"itemContent\"\n                [ngTemplateOutletContext]=\"{ $implicit: item }\"\n              />\n            </button>\n          }\n        </li>\n      }\n    </ul>\n  }\n</nav>\n\n<ng-template #itemContent let-item>\n  @if (item.iconTpl) {\n    <span [class]=\"iconClasses\">\n      <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n    </span>\n  } @else if (item.initial) {\n    <span [class]=\"initialClasses\">{{ item.initial }}</span>\n  }\n  @if (item.label) {\n    <span>{{ item.label }}</span>\n  }\n  @if (item.badge !== undefined && item.badge !== null) {\n    <span [class]=\"badgeClasses\">{{ item.badge }}</span>\n  }\n</ng-template>\n","import { Provider } from '@angular/core';\n\nimport {\n  ACTION_PANEL_STANDARD_COMPONENT_TOKEN,\n  AVATAR_STANDARD_COMPONENT_TOKEN,\n  BADGE_STANDARD_COMPONENT_TOKEN,\n  BREADCRUMBS_STANDARD_COMPONENT_TOKEN,\n  BUTTON_GROUP_STANDARD_COMPONENT_TOKEN,\n  BUTTON_STANDARD_COMPONENT_TOKEN,\n  CALENDAR_STANDARD_COMPONENT_TOKEN,\n  CARD_HEADING_STANDARD_COMPONENT_TOKEN,\n  CARD_STANDARD_COMPONENT_TOKEN,\n  COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN,\n  CONTAINER_STANDARD_COMPONENT_TOKEN,\n  DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN,\n  DETAIL_FIELD_COMPONENTS_TOKEN,\n  DIVIDER_STANDARD_COMPONENT_TOKEN,\n  DRAWER_STANDARD_COMPONENT_TOKEN,\n  DROPDOWN_STANDARD_COMPONENT_TOKEN,\n  EMPTY_STATE_STANDARD_COMPONENT_TOKEN,\n  FEED_STANDARD_COMPONENT_TOKEN,\n  FORM_STANDARD_COMPONENT_TOKEN,\n  GRID_LIST_STANDARD_COMPONENT_TOKEN,\n  INFO_STANDARD_COMPONENT_TOKEN,\n  INPUT_FIELD_COMPONENTS_TOKEN,\n  LIST_MODE_COMPONENTS_TOKEN,\n  LOADER_STANDARD_COMPONENT_TOKEN,\n  MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN,\n  MODAL_STANDARD_COMPONENT_TOKEN,\n  MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN,\n  NAVBAR_STANDARD_COMPONENT_TOKEN,\n  NOTIFICATION_STANDARD_COMPONENT_TOKEN,\n  PAGE_HEADING_STANDARD_COMPONENT_TOKEN,\n  PAGE_VARIANT_COMPONENTS_TOKEN,\n  PAGING_STANDARD_COMPONENT_TOKEN,\n  PROGRESS_BARS_STANDARD_COMPONENT_TOKEN,\n  SECTION_HEADING_STANDARD_COMPONENT_TOKEN,\n  SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN,\n  SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN,\n  STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN,\n  STACKED_LIST_STANDARD_COMPONENT_TOKEN,\n  STATS_STANDARD_COMPONENT_TOKEN,\n  TABLE_STANDARD_COMPONENT_TOKEN,\n  TABS_STANDARD_COMPONENT_TOKEN,\n  TEXTAREA_STANDARD_COMPONENT_TOKEN,\n  TOGGLE_STANDARD_COMPONENT_TOKEN,\n  VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN,\n} from '../../shared.inectors';\nimport { ActionPanelPresetComponent } from '../action-panel/preset/preset.component';\nimport { AvatarPresetComponent } from '../avatar/preset/preset.component';\nimport { BadgePresetComponent } from '../badge/preset/preset.component';\nimport { BreadcrumbsPresetComponent } from '../breadcrumbs/preset/preset.component';\nimport { ButtonPresetComponent } from '../button/preset/preset.component';\nimport { ButtonGroupPresetComponent } from '../button-group/preset/preset.component';\nimport { CalendarPresetComponent } from '../calendar/preset/preset.component';\nimport { CardPresetComponent } from '../card/preset/preset.component';\nimport { CardHeadingPresetComponent } from '../card-heading/preset/preset.component';\nimport { CommandPalettePresetComponent } from '../command-palette/preset/preset.component';\nimport { ContainerPresetComponent } from '../container/preset/preset.component';\nimport { DescriptionListPresetComponent } from '../description-list/preset/preset.component';\nimport { DETAIL_PRESET_FIELD_COMPONENTS } from '../detail/preset-fields';\nimport { DividerPresetComponent } from '../divider/preset/preset.component';\nimport { DrawerPresetComponent } from '../drawer/preset/preset.component';\nimport { DropdownPresetComponent } from '../dropdown/preset/preset.component';\nimport { EmptyStatePresetComponent } from '../empty-state/preset/preset.component';\nimport { FeedPresetComponent } from '../feed/preset/preset.component';\nimport { FormPresetComponent } from '../form/preset/preset.component';\nimport { GridListPresetComponent } from '../grid-list/preset/preset.component';\nimport { InfoPresetComponent } from '../info/preset/preset.component';\nimport { INPUT_PRESET_FIELD_COMPONENTS } from '../input/preset-fields';\nimport { LIST_PRESET_MODE_COMPONENTS } from '../list/preset-modes';\nimport { LoaderPresetComponent } from '../loader/preset/preset.component';\nimport { MediaObjectPresetComponent } from '../media-object/preset/preset.component';\nimport { ModalPresetComponent } from '../modal/preset/preset.component';\nimport { MultiColumnLayoutPresetComponent } from '../multi-column-layout/preset/preset.component';\nimport { NavbarPresetComponent } from '../navbar/preset/preset.component';\nimport { NotificationPresetComponent } from '../notification/preset/preset.component';\nimport { PagePresetComponent } from '../page/preset/preset.component';\nimport { PAGE_PRESET_VARIANT_COMPONENTS } from '../page/preset-variants';\nimport { PageHeadingPresetComponent } from '../page-heading/preset/preset.component';\nimport { PagingPresetComponent } from '../paging/preset/preset.component';\nimport { ProgressBarsPresetComponent } from '../progress-bars/preset/preset.component';\nimport { SectionHeadingPresetComponent } from '../section-heading/preset/preset.component';\nimport { SidebarLayoutPresetComponent } from '../sidebar-layout/preset/preset.component';\nimport { SignInFormPresetComponent } from '../sign-in-form/preset/preset.component';\nimport { StackedLayoutPresetComponent } from '../stacked-layout/preset/preset.component';\nimport { StackedListPresetComponent } from '../stacked-list/preset/preset.component';\nimport { StatsPresetComponent } from '../stats/preset/preset.component';\nimport { TablePresetComponent } from '../table/preset/preset.component';\nimport { TabsPresetComponent } from '../tabs/preset/preset.component';\nimport { TextareaPresetComponent } from '../textarea/preset/preset.component';\nimport { TogglePresetComponent } from '../toggle/preset/preset.component';\nimport { VerticalNavigationPresetComponent } from '../vertical-navigation/preset/preset.component';\n\n/**\n * Every preset (Preline-styled) implementation the library ships, one provider\n * per token: the component tokens, the input and detail field maps, the list\n * modes and the page variants. `<smart-page>` renders the preset for both the\n * `'standard'` and the `'preset'` variant.\n *\n * Spread it to combine it with providers of your own, or pick single entries\n * to register only some presets. A provider listed after it wins.\n */\nexport const SMART_PRESET_PROVIDERS: Provider[] = [\n  {\n    provide: ACTION_PANEL_STANDARD_COMPONENT_TOKEN,\n    useValue: ActionPanelPresetComponent,\n  },\n  { provide: AVATAR_STANDARD_COMPONENT_TOKEN, useValue: AvatarPresetComponent },\n  { provide: BADGE_STANDARD_COMPONENT_TOKEN, useValue: BadgePresetComponent },\n  {\n    provide: BREADCRUMBS_STANDARD_COMPONENT_TOKEN,\n    useValue: BreadcrumbsPresetComponent,\n  },\n  { provide: BUTTON_STANDARD_COMPONENT_TOKEN, useValue: ButtonPresetComponent },\n  {\n    provide: BUTTON_GROUP_STANDARD_COMPONENT_TOKEN,\n    useValue: ButtonGroupPresetComponent,\n  },\n  {\n    provide: CALENDAR_STANDARD_COMPONENT_TOKEN,\n    useValue: CalendarPresetComponent,\n  },\n  { provide: CARD_STANDARD_COMPONENT_TOKEN, useValue: CardPresetComponent },\n  {\n    provide: CARD_HEADING_STANDARD_COMPONENT_TOKEN,\n    useValue: CardHeadingPresetComponent,\n  },\n  {\n    provide: COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN,\n    useValue: CommandPalettePresetComponent,\n  },\n  {\n    provide: CONTAINER_STANDARD_COMPONENT_TOKEN,\n    useValue: ContainerPresetComponent,\n  },\n  {\n    provide: DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN,\n    useValue: DescriptionListPresetComponent,\n  },\n  {\n    provide: DIVIDER_STANDARD_COMPONENT_TOKEN,\n    useValue: DividerPresetComponent,\n  },\n  { provide: DRAWER_STANDARD_COMPONENT_TOKEN, useValue: DrawerPresetComponent },\n  {\n    provide: DROPDOWN_STANDARD_COMPONENT_TOKEN,\n    useValue: DropdownPresetComponent,\n  },\n  {\n    provide: EMPTY_STATE_STANDARD_COMPONENT_TOKEN,\n    useValue: EmptyStatePresetComponent,\n  },\n  { provide: FEED_STANDARD_COMPONENT_TOKEN, useValue: FeedPresetComponent },\n  { provide: FORM_STANDARD_COMPONENT_TOKEN, useValue: FormPresetComponent },\n  {\n    provide: GRID_LIST_STANDARD_COMPONENT_TOKEN,\n    useValue: GridListPresetComponent,\n  },\n  { provide: INFO_STANDARD_COMPONENT_TOKEN, useValue: InfoPresetComponent },\n  { provide: LOADER_STANDARD_COMPONENT_TOKEN, useValue: LoaderPresetComponent },\n  {\n    provide: MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN,\n    useValue: MediaObjectPresetComponent,\n  },\n  { provide: MODAL_STANDARD_COMPONENT_TOKEN, useValue: ModalPresetComponent },\n  {\n    provide: MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN,\n    useValue: MultiColumnLayoutPresetComponent,\n  },\n  { provide: NAVBAR_STANDARD_COMPONENT_TOKEN, useValue: NavbarPresetComponent },\n  {\n    provide: NOTIFICATION_STANDARD_COMPONENT_TOKEN,\n    useValue: NotificationPresetComponent,\n  },\n  {\n    provide: PAGE_HEADING_STANDARD_COMPONENT_TOKEN,\n    useValue: PageHeadingPresetComponent,\n  },\n  { provide: PAGING_STANDARD_COMPONENT_TOKEN, useValue: PagingPresetComponent },\n  {\n    provide: PROGRESS_BARS_STANDARD_COMPONENT_TOKEN,\n    useValue: ProgressBarsPresetComponent,\n  },\n  {\n    provide: SECTION_HEADING_STANDARD_COMPONENT_TOKEN,\n    useValue: SectionHeadingPresetComponent,\n  },\n  {\n    provide: SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN,\n    useValue: SidebarLayoutPresetComponent,\n  },\n  {\n    provide: SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN,\n    useValue: SignInFormPresetComponent,\n  },\n  {\n    provide: STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN,\n    useValue: StackedLayoutPresetComponent,\n  },\n  {\n    provide: STACKED_LIST_STANDARD_COMPONENT_TOKEN,\n    useValue: StackedListPresetComponent,\n  },\n  { provide: STATS_STANDARD_COMPONENT_TOKEN, useValue: StatsPresetComponent },\n  { provide: TABLE_STANDARD_COMPONENT_TOKEN, useValue: TablePresetComponent },\n  { provide: TABS_STANDARD_COMPONENT_TOKEN, useValue: TabsPresetComponent },\n  {\n    provide: TEXTAREA_STANDARD_COMPONENT_TOKEN,\n    useValue: TextareaPresetComponent,\n  },\n  { provide: TOGGLE_STANDARD_COMPONENT_TOKEN, useValue: TogglePresetComponent },\n  {\n    provide: VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN,\n    useValue: VerticalNavigationPresetComponent,\n  },\n  {\n    provide: INPUT_FIELD_COMPONENTS_TOKEN,\n    useValue: INPUT_PRESET_FIELD_COMPONENTS,\n  },\n  {\n    provide: DETAIL_FIELD_COMPONENTS_TOKEN,\n    useValue: DETAIL_PRESET_FIELD_COMPONENTS,\n  },\n  {\n    provide: LIST_MODE_COMPONENTS_TOKEN,\n    useValue: LIST_PRESET_MODE_COMPONENTS,\n  },\n  {\n    provide: PAGE_VARIANT_COMPONENTS_TOKEN,\n    useValue: {\n      ...PAGE_PRESET_VARIANT_COMPONENTS,\n      standard: PagePresetComponent,\n    },\n  },\n];\n\n/**\n * Restyles the whole application with the presets: add it to the providers of\n * `bootstrapApplication` (or of a route or a component, to restyle only that\n * part). Without it every wrapper renders its standard implementation, which\n * for most components is deliberately unstyled markup.\n *\n * ```ts\n * bootstrapApplication(AppComponent, { providers: [provideSmartPresets()] });\n * ```\n */\nexport function provideSmartPresets(): Provider[] {\n  return SMART_PRESET_PROVIDERS;\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ProgressBarsBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-progress-bars-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class ProgressBarsStandardComponent extends ProgressBarsBaseComponent {\n  protected onStepClick(stepId: string): void {\n    this.stepClick.emit({ stepId });\n  }\n\n  protected get isBarLayout(): boolean {\n    return this.options()?.layout === 'progress-bar';\n  }\n\n  protected get clampedValue(): number {\n    const v = this.options()?.value ?? 0;\n    return Math.max(0, Math.min(100, v));\n  }\n}\n","@if (isBarLayout) {\n  <div [class]=\"'progress-bars-bar-wrapper ' + cssClass()\">\n    @if (options()?.srOnlyTitle) {\n      <h4 class=\"sr-only\">{{ options()!.srOnlyTitle }}</h4>\n    }\n    @if (options()?.title) {\n      <p class=\"progress-bars-title\">{{ options()!.title }}</p>\n    }\n    <div class=\"progress-bars-track\" aria-hidden=\"true\">\n      <div\n        class=\"progress-bars-fill\"\n        [style.width.%]=\"clampedValue\"\n        role=\"progressbar\"\n        [attr.aria-valuenow]=\"clampedValue\"\n        aria-valuemin=\"0\"\n        aria-valuemax=\"100\"\n      ></div>\n    </div>\n    @if (options()?.columns?.length) {\n      <div\n        class=\"progress-bars-columns\"\n        [style.--progress-columns]=\"options()!.columns!.length\"\n      >\n        @for (col of options()!.columns!; track col.label) {\n          <div [class]=\"'progress-bars-column' + (col.active ? ' active' : '')\">\n            {{ col.label }}\n          </div>\n        }\n      </div>\n    }\n  </div>\n} @else {\n  <nav\n    [class]=\"'progress-bars ' + cssClass()\"\n    [attr.data-layout]=\"options()?.layout ?? 'simple'\"\n    [attr.aria-label]=\"options()?.ariaLabel ?? 'Progress'\"\n  >\n    @if (options()?.title) {\n      <p class=\"progress-bars-title\">{{ options()!.title }}</p>\n    }\n    <ol role=\"list\" class=\"progress-bars-list\">\n      @for (step of options()?.steps ?? []; track step.id; let idx = $index) {\n        <li\n          [class]=\"'progress-bars-step status-' + (step.status ?? 'upcoming')\"\n          [attr.data-status]=\"step.status ?? 'upcoming'\"\n        >\n          @if (step.href) {\n            <a\n              [href]=\"step.href\"\n              [class]=\"\n                'progress-bars-step-link' +\n                (step.status === 'current' ? ' current' : '')\n              \"\n              [attr.aria-current]=\"step.status === 'current' ? 'step' : null\"\n            >\n              <ng-container\n                *ngTemplateOutlet=\"stepBody; context: { step, idx }\"\n              />\n            </a>\n          } @else {\n            <button\n              type=\"button\"\n              [class]=\"\n                'progress-bars-step-button' +\n                (step.status === 'current' ? ' current' : '')\n              \"\n              [attr.aria-current]=\"step.status === 'current' ? 'step' : null\"\n              (click)=\"onStepClick(step.id)\"\n            >\n              <ng-container\n                *ngTemplateOutlet=\"stepBody; context: { step, idx }\"\n              />\n            </button>\n          }\n        </li>\n      }\n    </ol>\n  </nav>\n}\n\n<ng-template #stepBody let-step=\"step\" let-idx=\"idx\">\n  @if (step.iconTpl) {\n    <span class=\"progress-bars-step-icon\">\n      <ng-container [ngTemplateOutlet]=\"step.iconTpl\" />\n    </span>\n  } @else if (step.index) {\n    <span class=\"progress-bars-step-index\">{{ step.index }}</span>\n  }\n  @if (step.name) {\n    <span class=\"progress-bars-step-name\">{{ step.name }}</span>\n  }\n  @if (step.description) {\n    <span class=\"progress-bars-step-description\">{{ step.description }}</span>\n  }\n</ng-template>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IProgressBarsOptions } from '../../models';\nimport { PROGRESS_BARS_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { IProgressStepClick } from './base/base.component';\nimport { ProgressBarsStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-progress-bars',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-progress-bars-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (stepClick)=\"stepClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ProgressBarsStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarsComponent {\n  private injectedComponent = inject(PROGRESS_BARS_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IProgressBarsOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  stepClick = output<IProgressStepClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      stepClick: this.stepClick,\n    });\n  }\n}\n","import {\n  AfterViewInit,\n  Directive,\n  effect,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n  OnDestroy,\n  signal,\n  WritableSignal,\n} from '@angular/core';\nimport { UntypedFormControl } from '@angular/forms';\nimport { Subscription } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\n\nimport { DynamicComponentType, ISearchbarOptions } from '../../../models';\n\n@Directive()\nexport abstract class SearchbarBaseComponent\n  implements AfterViewInit, OnDestroy\n{\n  static smartType: DynamicComponentType = 'searchbar';\n\n  private _subscriptions = new Subscription();\n\n  options: InputSignal<ISearchbarOptions | undefined> =\n    input<ISearchbarOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  show: ModelSignal<boolean> = model<boolean>(true);\n  text = model.required<string>();\n\n  control: WritableSignal<UntypedFormControl> = signal(\n    new UntypedFormControl(),\n  );\n\n  constructor() {\n    effect(() => {\n      const text = this.text();\n      if (text?.length) {\n        this.control().setValue(text, { emitEvent: false });\n      }\n    });\n  }\n\n  setShow(): void {\n    this.show.set(true);\n  }\n\n  tryHide(): void {\n    if (!this.control().value) this.show.set(false);\n  }\n\n  ngAfterViewInit(): void {\n    const debounceMs = this.options()?.debounceTime ?? 1000;\n\n    this._subscriptions.add(\n      this.control()\n        .valueChanges.pipe(debounceTime(debounceMs))\n        .subscribe((val) => {\n          this.text.set(val);\n        }),\n    );\n  }\n\n  ngOnDestroy(): void {\n    if (this._subscriptions) {\n      this._subscriptions.unsubscribe();\n    }\n  }\n}\n","import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@ngx-translate/core';\n\nimport { SearchbarBaseComponent } from '../base/base.component';\n\n@Component({\n  selector: 'smart-searchbar-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  imports: [ReactiveFormsModule, TranslatePipe],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SearchbarStandardComponent extends SearchbarBaseComponent {\n  containerClasses = computed(() => {\n    const classes = ['smart:relative', 'smart:mt-2'];\n    return classes.join(' ');\n  });\n\n  inputClasses = computed(() => {\n    const classes = [\n      'smart:block',\n      'smart:w-full',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:py-1.5',\n      'smart:pr-10',\n      'smart:pl-3',\n      'smart:text-base',\n      'smart:text-gray-900',\n      'smart:outline-1',\n      'smart:-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:placeholder:text-gray-400',\n      'smart:focus:outline-2',\n      'smart:focus:-outline-offset-2',\n      'smart:focus:outline-indigo-600',\n      'smart:sm:text-sm/6',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-white',\n      'smart:dark:outline-white/10',\n      'smart:dark:placeholder:text-gray-500',\n      'smart:dark:focus:outline-indigo-500',\n    ];\n\n    const extra = this.cssClass();\n    if (extra) classes.push(extra);\n\n    return classes.join(' ');\n  });\n\n  toggleButtonClasses = computed(() =>\n    [\n      'smart:inline-flex',\n      'smart:items-center',\n      'smart:justify-center',\n      'smart:rounded-md',\n      'smart:bg-white',\n      'smart:p-2',\n      'smart:text-gray-500',\n      'smart:shadow-xs',\n      'smart:outline-1',\n      'smart:-outline-offset-1',\n      'smart:outline-gray-300',\n      'smart:hover:bg-gray-50',\n      'smart:dark:bg-white/5',\n      'smart:dark:text-gray-400',\n      'smart:dark:outline-white/10',\n      'smart:dark:hover:bg-white/10',\n    ].join(' '),\n  );\n}\n","@if (show()) {\n  <div [class]=\"containerClasses()\">\n    <input\n      type=\"search\"\n      [formControl]=\"control()\"\n      [class]=\"inputClasses()\"\n      [placeholder]=\"options()?.placeholder ?? 'search' | translate\"\n      (blur)=\"tryHide()\"\n    />\n    <svg\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n      aria-hidden=\"true\"\n      data-icon=\"magnifying-glass\"\n      class=\"smart:pointer-events-none smart:absolute smart:inset-y-0 smart:right-0 smart:mr-3 smart:size-5 smart:self-center smart:text-gray-400 smart:dark:text-gray-500\"\n    >\n      <path\n        d=\"M9 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2 9a7 7 0 1 1 12.452 4.391l3.328 3.329a.75.75 0 1 1-1.06 1.06l-3.329-3.328A7 7 0 0 1 2 9Z\"\n        clip-rule=\"evenodd\"\n        fill-rule=\"evenodd\"\n      />\n    </svg>\n  </div>\n} @else if (options()?.showToggleButton) {\n  <button\n    type=\"button\"\n    [class]=\"toggleButtonClasses()\"\n    [attr.aria-label]=\"'search' | translate\"\n    (click)=\"setShow()\"\n  >\n    <svg\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n      aria-hidden=\"true\"\n      data-icon=\"magnifying-glass\"\n      class=\"smart:size-5\"\n    >\n      <path\n        d=\"M9 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2 9a7 7 0 1 1 12.452 4.391l3.328 3.329a.75.75 0 1 1-1.06 1.06l-3.329-3.328A7 7 0 0 1 2 9Z\"\n        clip-rule=\"evenodd\"\n        fill-rule=\"evenodd\"\n      />\n    </svg>\n  </button>\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISearchbarOptions } from '../../models';\nimport { SEARCHBAR_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { SearchbarStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-searchbar',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-searchbar-standard\n        [(show)]=\"show\"\n        [(text)]=\"text\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [SearchbarStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SearchbarComponent {\n  private injectedComponent = inject(SEARCHBAR_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ISearchbarOptions>();\n  show = model<boolean>(true);\n  text = model.required<string>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      show: this.show(),\n      text: this.text(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      show: this.show,\n      text: this.text,\n    });\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISectionHeadingOptions } from '../../models';\nimport { SECTION_HEADING_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { SectionHeadingStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-section-heading',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-section-heading-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [SectionHeadingStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SectionHeadingComponent {\n  private injectedComponent = inject(SECTION_HEADING_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ISectionHeadingOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import {\n  Directive,\n  input,\n  InputSignal,\n  model,\n  ModelSignal,\n} from '@angular/core';\n\nimport { DynamicComponentType, ISelectMenuOptions } from '../../../models';\n\nexport type SelectMenuValue = string | number | null;\n\n@Directive()\nexport abstract class SelectMenuBaseComponent {\n  static smartType: DynamicComponentType = 'select-menu';\n\n  value: ModelSignal<SelectMenuValue> = model<SelectMenuValue>(null);\n  disabled: InputSignal<boolean> = input<boolean>(false);\n  options: InputSignal<ISelectMenuOptions | undefined> =\n    input<ISelectMenuOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  select(next: SelectMenuValue): void {\n    if (this.disabled()) return;\n    this.value.set(next);\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISelectMenuItem } from '../../../models';\nimport { SelectMenuBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-select-menu-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SelectMenuStandardComponent extends SelectMenuBaseComponent {\n  protected isSelected(item: ISelectMenuItem): boolean {\n    const current = this.value();\n    if (current === null || current === undefined) return false;\n    return String(current) === String(item.value);\n  }\n\n  protected onChange(event: Event): void {\n    const target = event.target as HTMLSelectElement;\n    const raw = target.value;\n    const items = this.options()?.items ?? [];\n    const match = items.find((i) => String(i.value) === raw);\n    this.select(match ? match.value : raw);\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div class=\"select-menu\">\n    <select\n      [disabled]=\"disabled()\"\n      [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n      (change)=\"onChange($event)\"\n    >\n      @if (options()?.placeholder) {\n        <option\n          value=\"\"\n          disabled\n          [selected]=\"value() === null || value() === undefined\"\n        >\n          {{ options()!.placeholder }}\n        </option>\n      }\n      @for (item of options()?.items ?? []; track item.value) {\n        <option\n          [value]=\"item.value\"\n          [selected]=\"isSelected(item)\"\n          [disabled]=\"!!item.disabled\"\n          [attr.aria-label]=\"item.ariaLabel ?? null\"\n        >\n          {{ item.label }}\n        </option>\n      }\n    </select>\n    @if ((options()?.items ?? []).length === 0 && options()?.emptyTpl) {\n      <div class=\"empty\">\n        <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISelectMenuOptions } from '../../models';\nimport { SELECT_MENU_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { SelectMenuValue } from './base/base.component';\nimport { SelectMenuStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-select-menu',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-select-menu-standard\n        [(value)]=\"value\"\n        [disabled]=\"disabled()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [SelectMenuStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectMenuComponent {\n  private injectedComponent = inject(SELECT_MENU_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  value = model<SelectMenuValue>(null);\n  disabled = input<boolean>(false);\n  options = input<ISelectMenuOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      value: this.value(),\n      disabled: this.disabled(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      value: this.value,\n    });\n  }\n}\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISidebarLayoutOptions } from '../../models';\nimport { SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { SidebarLayoutStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-sidebar-layout',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-sidebar-layout-standard [options]=\"options()\" [class]=\"cssClass()\">\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-sidebar-layout-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [\n    SidebarLayoutStandardComponent,\n    NgComponentOutlet,\n    NgTemplateOutlet,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SidebarLayoutComponent {\n  private injectedComponent = inject(SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ISidebarLayoutOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","import {\n  computed,\n  Directive,\n  input,\n  InputSignal,\n  output,\n  OutputEmitterRef,\n  signal,\n  Signal,\n  WritableSignal,\n} from '@angular/core';\n\nimport {\n  DynamicComponentType,\n  ISidebarNavGroup,\n  ISidebarNavItem,\n  ISidebarNavOptions,\n} from '../../../models';\n\nexport interface ISidebarNavItemClick {\n  itemId: string;\n}\n\nexport interface ISidebarNavItemToggle {\n  itemId: string;\n  expanded: boolean;\n}\n\n@Directive()\nexport abstract class SidebarNavigationBaseComponent {\n  static smartType: DynamicComponentType = 'sidebar-navigation';\n\n  options: InputSignal<ISidebarNavOptions | undefined> =\n    input<ISidebarNavOptions>();\n  cssClass: InputSignal<string> = input<string>('', { alias: 'class' });\n\n  itemClick: OutputEmitterRef<ISidebarNavItemClick> =\n    output<ISidebarNavItemClick>();\n  itemToggle: OutputEmitterRef<ISidebarNavItemToggle> =\n    output<ISidebarNavItemToggle>();\n\n  protected resolvedGroups: Signal<ISidebarNavGroup[]> = computed(() => {\n    const opts = this.options();\n    const groups: ISidebarNavGroup[] = [];\n    if (opts?.items?.length) {\n      groups.push({ items: opts.items });\n    }\n    if (opts?.groups?.length) {\n      groups.push(...opts.groups);\n    }\n    return groups;\n  });\n\n  protected expandedOverrides: WritableSignal<Record<string, boolean>> = signal(\n    {},\n  );\n\n  protected isExpanded(item: ISidebarNavItem): boolean {\n    const overrides = this.expandedOverrides();\n    if (item.id in overrides) {\n      return overrides[item.id];\n    }\n    return item.expanded ?? false;\n  }\n\n  protected toggleExpanded(item: ISidebarNavItem): void {\n    const next = !this.isExpanded(item);\n    this.expandedOverrides.update((map) => ({ ...map, [item.id]: next }));\n    this.itemToggle.emit({ itemId: item.id, expanded: next });\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISidebarNavItem } from '../../../models';\nimport { SidebarNavigationBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-sidebar-navigation-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class SidebarNavigationStandardComponent extends SidebarNavigationBaseComponent {\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n\n  protected onToggle(item: ISidebarNavItem): void {\n    this.toggleExpanded(item);\n  }\n\n  protected expanded(item: ISidebarNavItem): boolean {\n    return this.isExpanded(item);\n  }\n\n  protected get groups() {\n    return this.resolvedGroups();\n  }\n}\n","<div [class]=\"'sidebar-navigation-wrapper ' + cssClass()\">\n  @if (options()?.logo) {\n    <div class=\"sidebar-logo\">\n      @if (options()?.logo?.tpl) {\n        <ng-container [ngTemplateOutlet]=\"options()!.logo!.tpl!\" />\n      } @else if (options()?.logo?.href) {\n        <a [href]=\"options()!.logo!.href\">\n          @if (options()?.logo?.url) {\n            <img\n              class=\"sidebar-logo-img\"\n              [src]=\"options()!.logo!.url\"\n              [alt]=\"options()?.logo?.alt ?? ''\"\n            />\n          }\n          @if (options()?.logo?.urlDark) {\n            <img\n              class=\"sidebar-logo-img sidebar-logo-img-dark\"\n              [src]=\"options()!.logo!.urlDark\"\n              [alt]=\"options()?.logo?.alt ?? ''\"\n            />\n          }\n        </a>\n      } @else {\n        @if (options()?.logo?.url) {\n          <img\n            class=\"sidebar-logo-img\"\n            [src]=\"options()!.logo!.url\"\n            [alt]=\"options()?.logo?.alt ?? ''\"\n          />\n        }\n        @if (options()?.logo?.urlDark) {\n          <img\n            class=\"sidebar-logo-img sidebar-logo-img-dark\"\n            [src]=\"options()!.logo!.urlDark\"\n            [alt]=\"options()?.logo?.alt ?? ''\"\n          />\n        }\n      }\n    </div>\n  }\n\n  <nav\n    class=\"sidebar-navigation\"\n    [attr.aria-label]=\"options()?.ariaLabel ?? 'Sidebar'\"\n  >\n    <ul role=\"list\" class=\"groups\">\n      @for (group of groups; track group.id ?? $index) {\n        <li class=\"group\">\n          @if (group.title) {\n            <div class=\"group-title\">{{ group.title }}</div>\n          }\n          <ul role=\"list\" class=\"items\">\n            @for (item of group.items; track item.id) {\n              <li class=\"item\">\n                @if (item.expandable) {\n                  <button\n                    type=\"button\"\n                    class=\"item-toggle\"\n                    [attr.aria-expanded]=\"expanded(item)\"\n                    [attr.aria-controls]=\"'sidebar-sub-' + item.id\"\n                    (click)=\"onToggle(item)\"\n                  >\n                    @if (item.iconTpl) {\n                      <span class=\"item-icon\">\n                        <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                      </span>\n                    }\n                    @if (item.label) {\n                      <span class=\"item-label\">{{ item.label }}</span>\n                    }\n                    <span class=\"item-chevron\" aria-hidden=\"true\">›</span>\n                  </button>\n                  @if (expanded(item) && item.children?.length) {\n                    <ul\n                      role=\"list\"\n                      class=\"children\"\n                      [id]=\"'sidebar-sub-' + item.id\"\n                    >\n                      @for (child of item.children; track child.id) {\n                        <li class=\"child\">\n                          @if (child.href) {\n                            <a\n                              [href]=\"child.href\"\n                              [class]=\"\n                                'child-link' + (child.current ? ' current' : '')\n                              \"\n                              [attr.aria-current]=\"\n                                child.current ? 'page' : null\n                              \"\n                            >\n                              @if (child.label) {\n                                <span class=\"child-label\">{{\n                                  child.label\n                                }}</span>\n                              }\n                            </a>\n                          } @else {\n                            <button\n                              type=\"button\"\n                              [class]=\"\n                                'child-button' +\n                                (child.current ? ' current' : '')\n                              \"\n                              [attr.aria-current]=\"\n                                child.current ? 'page' : null\n                              \"\n                              (click)=\"onItemClick(child.id)\"\n                            >\n                              @if (child.label) {\n                                <span class=\"child-label\">{{\n                                  child.label\n                                }}</span>\n                              }\n                            </button>\n                          }\n                        </li>\n                      }\n                    </ul>\n                  }\n                } @else if (item.href) {\n                  <a\n                    [href]=\"item.href\"\n                    [class]=\"'item-link' + (item.current ? ' current' : '')\"\n                    [attr.aria-current]=\"item.current ? 'page' : null\"\n                  >\n                    @if (item.iconTpl) {\n                      <span class=\"item-icon\">\n                        <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                      </span>\n                    } @else if (item.initial) {\n                      <span class=\"item-initial\">{{ item.initial }}</span>\n                    }\n                    @if (item.label) {\n                      <span class=\"item-label\">{{ item.label }}</span>\n                    }\n                    @if (item.badge !== undefined && item.badge !== null) {\n                      <span class=\"item-badge\">{{ item.badge }}</span>\n                    }\n                  </a>\n                } @else {\n                  <button\n                    type=\"button\"\n                    [class]=\"'item-button' + (item.current ? ' current' : '')\"\n                    [attr.aria-current]=\"item.current ? 'page' : null\"\n                    (click)=\"onItemClick(item.id)\"\n                  >\n                    @if (item.iconTpl) {\n                      <span class=\"item-icon\">\n                        <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                      </span>\n                    } @else if (item.initial) {\n                      <span class=\"item-initial\">{{ item.initial }}</span>\n                    }\n                    @if (item.label) {\n                      <span class=\"item-label\">{{ item.label }}</span>\n                    }\n                    @if (item.badge !== undefined && item.badge !== null) {\n                      <span class=\"item-badge\">{{ item.badge }}</span>\n                    }\n                  </button>\n                }\n              </li>\n            }\n          </ul>\n        </li>\n      }\n\n      @if (options()?.profile) {\n        <li class=\"profile\">\n          <a class=\"profile-link\" [href]=\"options()?.profile?.href ?? '#'\">\n            @if (options()?.profile?.avatarUrl) {\n              <img\n                class=\"profile-avatar\"\n                [src]=\"options()!.profile!.avatarUrl\"\n                [alt]=\"options()?.profile?.avatarAlt ?? ''\"\n              />\n            }\n            @if (options()?.profile?.srOnlyText) {\n              <span class=\"sr-only\">{{ options()!.profile!.srOnlyText }}</span>\n            }\n            @if (options()?.profile?.name) {\n              <span class=\"profile-name\" aria-hidden=\"true\">{{\n                options()!.profile!.name\n              }}</span>\n            }\n          </a>\n        </li>\n      }\n    </ul>\n  </nav>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ISidebarNavOptions } from '../../models';\nimport { SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport {\n  ISidebarNavItemClick,\n  ISidebarNavItemToggle,\n} from './base/base.component';\nimport { SidebarNavigationStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-sidebar-navigation',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-sidebar-navigation-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (itemClick)=\"itemClick.emit($event)\"\n        (itemToggle)=\"itemToggle.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [SidebarNavigationStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SidebarNavigationComponent {\n  private injectedComponent = inject(\n    SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN,\n    {\n      optional: true,\n    },\n  );\n\n  options = input<ISidebarNavOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  itemClick = output<ISidebarNavItemClick>();\n  itemToggle = output<ISidebarNavItemToggle>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      itemClick: this.itemClick,\n      itemToggle: this.itemToggle,\n    });\n  }\n}\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport {\n  ISignInFormOptions,\n  ISignInFormSocialClick,\n  ISignInFormSubmit,\n  SmartSignInFormMode,\n} from '../../models';\nimport { SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { SignInFormStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-sign-in-form',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-sign-in-form-standard\n        [mode]=\"mode()\"\n        [disabled]=\"disabled()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (submit)=\"submit.emit($event)\"\n        (socialClick)=\"socialClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [SignInFormStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SignInFormComponent {\n  private injectedComponent = inject(SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  mode = input<SmartSignInFormMode>('sign-in');\n  disabled = input<boolean>(false);\n  options = input<ISignInFormOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  submit = output<ISignInFormSubmit>();\n  socialClick = output<ISignInFormSocialClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      mode: this.mode(),\n      disabled: this.disabled(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      submit: this.submit,\n      socialClick: this.socialClick,\n    });\n  }\n}\n","import { NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IStackedLayoutOptions } from '../../models';\nimport { STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletContent } from '../base/outlet-content';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { StackedLayoutStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-stacked-layout',\n  template: `\n    <ng-template #content><ng-content /></ng-template>\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"\n          componentType();\n          inputs: componentInputs();\n          content: projectedContent()\n        \"\n      />\n    } @else {\n      <smart-stacked-layout-standard [options]=\"options()\" [class]=\"cssClass()\">\n        <ng-container [ngTemplateOutlet]=\"content\" />\n      </smart-stacked-layout-standard>\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [\n    StackedLayoutStandardComponent,\n    NgComponentOutlet,\n    NgTemplateOutlet,\n  ],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StackedLayoutComponent {\n  private injectedComponent = inject(STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IStackedLayoutOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */\n  private readonly contentTemplate =\n    viewChild.required<TemplateRef<unknown>>('content');\n\n  /** The captured content for an implementation registered through the token. */\n  protected readonly projectedContent = outletContent(this.contentTemplate);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { StackedListBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-stacked-list-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class StackedListStandardComponent extends StackedListBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"stacked-list\">\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if ((options()?.items ?? []).length > 0) {\n      <ul role=\"list\">\n        @for (item of options()!.items!; track item.id ?? $index) {\n          <li class=\"item\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n            @if (item.iconTpl) {\n              <span class=\"icon\">\n                <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n              </span>\n            } @else if (item.avatarUrl) {\n              <img class=\"avatar\" [src]=\"item.avatarUrl\" alt=\"\" />\n            }\n            <div class=\"body\">\n              @if (item.href) {\n                <a class=\"title\" [attr.href]=\"item.href\">{{ item.title }}</a>\n              } @else {\n                <span class=\"title\">{{ item.title }}</span>\n              }\n              @if (item.description) {\n                <span class=\"description\">{{ item.description }}</span>\n              }\n              @if (item.meta) {\n                <span class=\"meta\">{{ item.meta }}</span>\n              }\n            </div>\n            @if (item.badgeTpl) {\n              <span class=\"badge\">\n                <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n              </span>\n            }\n            @if (item.actionTpl) {\n              <span class=\"action\">\n                <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n              </span>\n            }\n          </li>\n        }\n      </ul>\n    } @else if (options()?.emptyTpl) {\n      <div class=\"empty\">\n        <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n      </div>\n    }\n    @if (options()?.footerTpl) {\n      <div class=\"footer\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IStackedListOptions } from '../../models';\nimport { STACKED_LIST_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { StackedListStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-stacked-list',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-stacked-list-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [StackedListStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StackedListComponent {\n  private injectedComponent = inject(STACKED_LIST_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IStackedListOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { StatsBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-stats-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class StatsStandardComponent extends StatsBaseComponent {}\n","<div [class]=\"cssClass()\">\n  <div class=\"stats\">\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    <dl>\n      @for (item of options()?.items ?? []; track $index) {\n        <div class=\"item\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n          @if (item.iconTpl) {\n            <div class=\"icon\">\n              <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n            </div>\n          }\n          <dt class=\"label\">{{ item.label }}</dt>\n          <dd class=\"value\">{{ item.value }}</dd>\n          @if (\n            item.previousValue !== undefined && item.previousValue !== null\n          ) {\n            <dd class=\"previous\">{{ item.previousValue }}</dd>\n          }\n          @if (item.change) {\n            <dd class=\"change\" [attr.data-trend]=\"item.trend ?? null\">\n              {{ item.change }}\n            </dd>\n          }\n          @if (item.actionTpl) {\n            <div class=\"action\">\n              <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n            </div>\n          }\n        </div>\n      }\n    </dl>\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IStatsOptions } from '../../models';\nimport { STATS_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { StatsStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-stats',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-stats-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [StatsStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StatsComponent {\n  private injectedComponent = inject(STATS_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<IStatsOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { TableRow } from '../../../models';\nimport { TableBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-table-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TableStandardComponent extends TableBaseComponent {\n  protected readCell(row: TableRow, key: string): unknown {\n    return row[key];\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div class=\"table-wrapper\">\n    @if (options()?.title) {\n      <h3 class=\"title\">{{ options()!.title }}</h3>\n    }\n    @if (options()?.description) {\n      <p class=\"description\">{{ options()!.description }}</p>\n    }\n    @if (options()?.toolbarTpl) {\n      <div class=\"toolbar\">\n        <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n      </div>\n    }\n    @if ((options()?.columns ?? []).length > 0) {\n      <table>\n        <thead>\n          <tr>\n            @if (options()?.withCheckboxes) {\n              <th\n                scope=\"col\"\n                class=\"checkbox-col\"\n                [attr.aria-label]=\"'Select rows'\"\n              >\n                <input type=\"checkbox\" />\n              </th>\n            }\n            @for (col of options()!.columns!; track col.key) {\n              <th\n                scope=\"col\"\n                [attr.aria-label]=\"col.ariaLabel ?? null\"\n                [attr.data-align]=\"col.align ?? null\"\n              >\n                @if (col.headerTpl) {\n                  <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n                } @else {\n                  {{ col.label ?? col.key }}\n                }\n              </th>\n            }\n          </tr>\n        </thead>\n        <tbody>\n          @for (row of options()?.rows ?? []; track $index) {\n            <tr>\n              @if (options()?.withCheckboxes) {\n                <td class=\"checkbox-cell\">\n                  <input type=\"checkbox\" />\n                </td>\n              }\n              @for (col of options()!.columns!; track col.key) {\n                <td [attr.data-align]=\"col.align ?? null\">\n                  @if (col.cellTpl) {\n                    <ng-container\n                      [ngTemplateOutlet]=\"col.cellTpl\"\n                      [ngTemplateOutletContext]=\"{\n                        $implicit: row,\n                        column: col,\n                      }\"\n                    />\n                  } @else {\n                    {{ readCell(row, col.key) }}\n                  }\n                </td>\n              }\n            </tr>\n          } @empty {\n            @if (options()?.emptyTpl) {\n              <tr class=\"empty-row\">\n                <td\n                  [attr.colspan]=\"\n                    (options()?.withCheckboxes ? 1 : 0) +\n                    options()!.columns!.length\n                  \"\n                >\n                  <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n                </td>\n              </tr>\n            }\n          }\n        </tbody>\n      </table>\n    }\n    @if (options()?.footerTpl) {\n      <div class=\"footer\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ITableOptions } from '../../models';\nimport { TABLE_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { TableStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-table',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-table-standard [options]=\"options()\" [class]=\"cssClass()\" />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [TableStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n  private injectedComponent = inject(TABLE_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ITableOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { TabsBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-tabs-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TabsStandardComponent extends TabsBaseComponent {\n  protected onTabClick(tabId: string): void {\n    this.selectedId.set(tabId);\n    this.tabChange.emit({ tabId });\n  }\n\n  protected onSelectChange(event: Event): void {\n    const next = (event.target as HTMLSelectElement).value;\n    this.onTabClick(next);\n  }\n\n  protected isCurrent(itemId: string): boolean {\n    return this.selectedId() === itemId;\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div class=\"tabs\">\n    @if (\n      (options()?.showMobileSelect ?? true) &&\n      (options()?.items ?? []).length > 0\n    ) {\n      <div class=\"tabs-mobile\">\n        <select\n          [attr.aria-label]=\"options()?.ariaLabel ?? 'Select a tab'\"\n          (change)=\"onSelectChange($event)\"\n        >\n          @for (item of options()!.items!; track item.id) {\n            <option\n              [value]=\"item.id\"\n              [attr.selected]=\"isCurrent(item.id) ? '' : null\"\n            >\n              {{ item.label ?? item.id }}\n            </option>\n          }\n        </select>\n      </div>\n    }\n    <nav\n      class=\"tabs-desktop\"\n      [attr.aria-label]=\"options()?.ariaLabel ?? 'Tabs'\"\n    >\n      <ul role=\"list\" class=\"tabs-list\">\n        @for (item of options()?.items ?? []; track item.id) {\n          <li class=\"tab\">\n            @if (item.href) {\n              <a\n                [href]=\"item.href\"\n                [class]=\"'tab-link' + (isCurrent(item.id) ? ' current' : '')\"\n                [attr.aria-current]=\"isCurrent(item.id) ? 'page' : null\"\n              >\n                @if (item.iconTpl) {\n                  <span class=\"tab-icon\">\n                    <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                  </span>\n                }\n                @if (item.label) {\n                  {{ item.label }}\n                }\n                @if (item.badge !== undefined && item.badge !== null) {\n                  <span class=\"tab-badge\">{{ item.badge }}</span>\n                }\n              </a>\n            } @else {\n              <button\n                type=\"button\"\n                [class]=\"'tab-button' + (isCurrent(item.id) ? ' current' : '')\"\n                [attr.aria-current]=\"isCurrent(item.id) ? 'page' : null\"\n                (click)=\"onTabClick(item.id)\"\n              >\n                @if (item.iconTpl) {\n                  <span class=\"tab-icon\">\n                    <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                  </span>\n                }\n                @if (item.label) {\n                  {{ item.label }}\n                }\n                @if (item.badge !== undefined && item.badge !== null) {\n                  <span class=\"tab-badge\">{{ item.badge }}</span>\n                }\n              </button>\n            }\n          </li>\n        }\n      </ul>\n    </nav>\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ITabsOptions } from '../../models';\nimport { TABS_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { ITabChange } from './base/base.component';\nimport { TabsStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-tabs',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-tabs-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        [(selectedId)]=\"selectedId\"\n        (tabChange)=\"tabChange.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [TabsStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TabsComponent {\n  private injectedComponent = inject(TABS_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  options = input<ITabsOptions>();\n  selectedId = model<string | null>(null);\n  cssClass = input<string>('', { alias: 'class' });\n\n  tabChange = output<ITabChange>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      selectedId: this.selectedId(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      tabChange: this.tabChange,\n      selectedId: this.selectedId,\n    });\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { TextareaBaseComponent } from '../base';\n\n@Component({\n  selector: 'smart-textarea-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class TextareaStandardComponent extends TextareaBaseComponent {\n  protected onInput(event: Event): void {\n    const next = (event.target as HTMLTextAreaElement).value;\n    this.value.set(next);\n  }\n\n  protected onActionClick(actionId: string): void {\n    if (this.disabled()) return;\n    this.actionClick.emit({ actionId, value: this.value() });\n  }\n}\n","<div [class]=\"cssClass()\">\n  <div class=\"textarea\">\n    @if (options()?.label) {\n      <label>{{ options()!.label }}</label>\n    }\n    @if (options()?.avatarTpl) {\n      <div class=\"avatar\">\n        <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n      </div>\n    }\n    @if (options()?.toolbarTpl) {\n      <div class=\"toolbar\">\n        <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n      </div>\n    }\n    <textarea\n      [attr.name]=\"options()?.name ?? null\"\n      [attr.placeholder]=\"placeholder() || null\"\n      [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n      [attr.maxlength]=\"options()?.maxLength ?? null\"\n      [rows]=\"options()?.rows ?? 3\"\n      [disabled]=\"disabled()\"\n      [attr.required]=\"options()?.required ? 'required' : null\"\n      [value]=\"value()\"\n      (input)=\"onInput($event)\"\n    ></textarea>\n    @if ((options()?.actions ?? []).length > 0) {\n      <div class=\"actions\">\n        @for (action of options()!.actions!; track action.id) {\n          <button\n            type=\"button\"\n            [class]=\"'action variant-' + (action.variant ?? 'secondary')\"\n            [disabled]=\"disabled()\"\n            (click)=\"onActionClick(action.id)\"\n          >\n            @if (action.iconTpl) {\n              <span class=\"icon\">\n                <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n              </span>\n            }\n            @if (action.label) {\n              {{ action.label }}\n            }\n          </button>\n        }\n      </div>\n    }\n    @if (options()?.previewTpl) {\n      <div class=\"preview\">\n        <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n      </div>\n    }\n    @if (options()?.footerTpl) {\n      <div class=\"footer\">\n        <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n      </div>\n    }\n  </div>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ITextareaOptions } from '../../models';\nimport { TEXTAREA_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { ITextareaActionClick } from './base/base.component';\nimport { TextareaStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-textarea',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-textarea-standard\n        [(value)]=\"value\"\n        [placeholder]=\"placeholder()\"\n        [disabled]=\"disabled()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (actionClick)=\"actionClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [TextareaStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TextareaComponent {\n  private injectedComponent = inject(TEXTAREA_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  value = model<string>('');\n  placeholder = input<string>('');\n  disabled = input<boolean>(false);\n  options = input<ITextareaOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  actionClick = output<ITextareaActionClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      value: this.value(),\n      placeholder: this.placeholder(),\n      disabled: this.disabled(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      actionClick: this.actionClick,\n      value: this.value,\n    });\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { ToggleBaseComponent } from '../base';\n\nlet nextToggleId = 0;\n\n/**\n * Barebones native-HTML toggle (checkbox) rendered by `<smart-toggle>`.\n *\n * `options.label` renders in a `<label for>` bound to the checkbox (so it is\n * the accessible name), `options.description` in an element referenced by\n * `aria-describedby`; both sit after the checkbox, or before it when\n * `options.labelPosition === 'left'`. `options.ariaLabel` names the checkbox\n * only when there is no visible label.\n */\n@Component({\n  selector: 'smart-toggle-standard',\n  templateUrl: './standard.component.html',\n  imports: [NgTemplateOutlet],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleStandardComponent extends ToggleBaseComponent {\n  private readonly instanceId = `smart-toggle-${nextToggleId++}`;\n  protected readonly inputId = `${this.instanceId}-input`;\n  protected readonly descriptionId = `${this.instanceId}-description`;\n\n  protected label = computed(() => this.options()?.label ?? '');\n  protected description = computed(() => this.options()?.description ?? '');\n  protected labelPosition = computed(\n    () => this.options()?.labelPosition ?? 'right',\n  );\n  protected hasText = computed(() =>\n    Boolean(this.label() || this.description()),\n  );\n\n  onChange(event: Event): void {\n    const target = event.target as HTMLInputElement;\n    this.value.set(target.checked);\n  }\n}\n","<span class=\"smart-toggle\" [attr.data-label-position]=\"labelPosition()\">\n  @if (hasText() && labelPosition() === 'left') {\n    <ng-container [ngTemplateOutlet]=\"text\" />\n  }\n\n  <input\n    type=\"checkbox\"\n    [id]=\"inputId\"\n    [checked]=\"value()\"\n    [disabled]=\"disabled()\"\n    [attr.aria-label]=\"label() ? null : (options()?.ariaLabel ?? null)\"\n    [attr.aria-describedby]=\"description() ? descriptionId : null\"\n    [class]=\"cssClass()\"\n    (change)=\"onChange($event)\"\n  />\n\n  @if (hasText() && labelPosition() === 'right') {\n    <ng-container [ngTemplateOutlet]=\"text\" />\n  }\n</span>\n\n<ng-template #text>\n  <span class=\"smart-toggle-text\" data-role=\"text\">\n    @if (label()) {\n      <label class=\"smart-toggle-label\" [for]=\"inputId\">{{ label() }}</label>\n    }\n    @if (description()) {\n      <span class=\"smart-toggle-description\" [id]=\"descriptionId\">{{\n        description()\n      }}</span>\n    }\n  </span>\n</ng-template>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  model,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IToggleOptions } from '../../models';\nimport { TOGGLE_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { ToggleStandardComponent } from './standard/standard.component';\n\n@Component({\n  selector: 'smart-toggle',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-toggle-standard\n        [(value)]=\"value\"\n        [disabled]=\"disabled()\"\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [ToggleStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleComponent {\n  private injectedComponent = inject(TOGGLE_STANDARD_COMPONENT_TOKEN, {\n    optional: true,\n  });\n\n  value = model<boolean>(false);\n  disabled = input<boolean>(false);\n  options = input<IToggleOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      value: this.value(),\n      disabled: this.disabled(),\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      value: this.value,\n    });\n  }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { VerticalNavigationBaseComponent } from '../base';\n\nlet nextId = 0;\n\n@Component({\n  selector: 'smart-vertical-navigation-standard',\n  templateUrl: './standard.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  imports: [NgTemplateOutlet],\n})\nexport class VerticalNavigationStandardComponent extends VerticalNavigationBaseComponent {\n  private readonly idPrefix = `smart-vertical-navigation-standard-${nextId++}`;\n\n  protected groupTitleId(groupIndex: number): string {\n    return `${this.idPrefix}-group-${groupIndex}`;\n  }\n\n  protected onItemClick(itemId: string): void {\n    this.itemClick.emit({ itemId });\n  }\n\n  protected get groups() {\n    return this.resolvedGroups();\n  }\n}\n","<div [class]=\"cssClass()\">\n  <nav\n    class=\"vertical-navigation\"\n    [attr.aria-label]=\"options()?.ariaLabel ?? 'Sidebar'\"\n  >\n    <ul role=\"list\" class=\"groups\">\n      @for (\n        group of groups;\n        track group.id ?? $index;\n        let groupIndex = $index\n      ) {\n        <li class=\"group\">\n          @if (group.title) {\n            <div [id]=\"groupTitleId(groupIndex)\" class=\"group-title\">\n              {{ group.title }}\n            </div>\n          }\n          <ul\n            role=\"list\"\n            class=\"items\"\n            [attr.aria-labelledby]=\"\n              group.title ? groupTitleId(groupIndex) : null\n            \"\n          >\n            @for (item of group.items; track item.id) {\n              <li class=\"item\">\n                @if (item.href) {\n                  <a\n                    [href]=\"item.href\"\n                    [class]=\"'item-link' + (item.current ? ' current' : '')\"\n                    [attr.aria-current]=\"item.current ? 'page' : null\"\n                  >\n                    @if (item.iconTpl) {\n                      <span class=\"item-icon\">\n                        <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                      </span>\n                    } @else if (item.initial) {\n                      <span class=\"item-initial\">{{ item.initial }}</span>\n                    }\n                    @if (item.label) {\n                      <span class=\"item-label\">{{ item.label }}</span>\n                    }\n                    @if (item.badge !== undefined && item.badge !== null) {\n                      <span class=\"item-badge\">{{ item.badge }}</span>\n                    }\n                  </a>\n                } @else {\n                  <button\n                    type=\"button\"\n                    [class]=\"'item-button' + (item.current ? ' current' : '')\"\n                    [attr.aria-current]=\"item.current ? 'page' : null\"\n                    (click)=\"onItemClick(item.id)\"\n                  >\n                    @if (item.iconTpl) {\n                      <span class=\"item-icon\">\n                        <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n                      </span>\n                    } @else if (item.initial) {\n                      <span class=\"item-initial\">{{ item.initial }}</span>\n                    }\n                    @if (item.label) {\n                      <span class=\"item-label\">{{ item.label }}</span>\n                    }\n                    @if (item.badge !== undefined && item.badge !== null) {\n                      <span class=\"item-badge\">{{ item.badge }}</span>\n                    }\n                  </button>\n                }\n              </li>\n            }\n          </ul>\n        </li>\n      }\n    </ul>\n  </nav>\n</div>\n","import { NgComponentOutlet } from '@angular/common';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  inject,\n  input,\n  output,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\n\nimport { IVerticalNavOptions } from '../../models';\nimport { VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN } from '../../shared.inectors';\nimport { forwardOutletOutputs } from '../base/forward-outlet-outputs';\nimport { outletInputs } from '../base/outlet-inputs';\nimport { IVerticalNavItemClick } from './base/base.component';\nimport { VerticalNavigationStandardComponent } from './standard';\n\n@Component({\n  selector: 'smart-vertical-navigation',\n  template: `\n    @if (componentType()) {\n      <ng-container\n        *ngComponentOutlet=\"componentType(); inputs: componentInputs()\"\n      />\n    } @else {\n      <smart-vertical-navigation-standard\n        [options]=\"options()\"\n        [class]=\"cssClass()\"\n        (itemClick)=\"itemClick.emit($event)\"\n      />\n    }\n  `,\n  encapsulation: ViewEncapsulation.None,\n  imports: [VerticalNavigationStandardComponent, NgComponentOutlet],\n  host: { class: 'smart:contents' },\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class VerticalNavigationComponent {\n  private injectedComponent = inject(\n    VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN,\n    {\n      optional: true,\n    },\n  );\n\n  options = input<IVerticalNavOptions>();\n  cssClass = input<string>('', { alias: 'class' });\n\n  itemClick = output<IVerticalNavItemClick>();\n\n  componentType = computed(() => this.injectedComponent ?? null);\n\n  componentInputs = computed(() =>\n    outletInputs(this.componentType(), {\n      options: this.options(),\n      cssClass: this.cssClass(),\n    }),\n  );\n\n  private readonly outlet = viewChild(NgComponentOutlet);\n\n  constructor() {\n    forwardOutletOutputs(this.outlet, {\n      itemClick: this.itemClick,\n    });\n  }\n}\n","import { DragDropModule } from '@angular/cdk/drag-drop';\nimport { CdkTableModule } from '@angular/cdk/table';\nimport { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { DynamicComponent, DynamicModule } from 'ng-dynamic-component';\nimport { LazyLoadImageModule } from 'ng-lazyload-image';\n\nimport { SharedDirectivesModule } from '../directives';\nimport { ListMode } from '../models';\nimport { SharedPipesModule } from '../pipes/pipes.module';\nimport {\n  DETAILS_COMPONENT_TOKEN,\n  DETAILS_STANDARD_COMPONENT_TOKEN,\n  FORM_COMPONENT_TOKEN,\n  FORM_STANDARD_COMPONENT_TOKEN,\n  LIST_MODE_COMPONENTS_TOKEN,\n} from '../shared.inectors';\nimport {\n  AccordionBodyComponent,\n  AccordionComponent,\n  AccordionDefaultComponent,\n  AccordionHeaderComponent,\n} from './accordion';\nimport { ButtonComponent, ButtonStandardComponent } from './button';\nimport { CardComponent, CardStandardComponent } from './card';\nimport { DateEditComponent, DateEditStandardComponent } from './date-edit';\nimport {\n  DateRangeComponent,\n  DateRangeStandardComponent,\n  DateRangeModalStandardComponent,\n} from './date-range';\nimport {\n  DetailComponent,\n  DetailTextComponent,\n  DetailFlagComponent,\n  DetailEnumComponent,\n  DetailEmailComponent,\n  DetailAddressComponent,\n  DetailObjectComponent,\n  DetailColorComponent,\n  DetailLogoComponent,\n  DetailArrayComponent,\n  DetailPdfComponent,\n  DetailVideoComponent,\n  DetailAttachmentComponent,\n  DetailDateRangeComponent,\n  DetailImageComponent,\n  DetailPhoneNumberPlComponent,\n} from './detail';\nimport { DetailsComponent, DetailsStandardComponent } from './details';\nimport { ExportComponent } from './export';\nimport { FormComponent, FormStandardComponent } from './form';\nimport { ImportComponent } from './import';\nimport { InfoComponent, InfoStandardComponent } from './info';\nimport {\n  InputComponent,\n  InputIntComponent,\n  InputErrorComponent,\n  InputTextComponent,\n  InputPasswordComponent,\n  InputFlagComponent,\n  InputEnumComponent,\n  InputEmailComponent,\n  InputCurrencyComponent,\n  InputDateComponent,\n  InputDateWithEditComponent,\n  InputFileComponent,\n  InputRadioComponent,\n  InputNipComponent,\n  InputStringsComponent,\n  InputLongTextComponent,\n  InputAddressComponent,\n  InputObjectComponent,\n  InputColorComponent,\n  InputLogoComponent,\n  InputCheckComponent,\n  InputIntsComponent,\n  InputPhoneNumberComponent,\n  InputPhoneNumberPlComponent,\n  InputPeselComponent,\n  InputArrayComponent,\n  InputPdfComponent,\n  InputVideoComponent,\n  InputAttachmentComponent,\n  InputDateRangeComponent,\n  InputImageComponent,\n  InputFloatComponent,\n} from './input';\nimport {\n  ListComponent,\n  ListMobileComponent,\n  ListDesktopComponent,\n  ListMasonryGridComponent,\n} from './list';\nimport { LoaderComponent, LoaderStandardComponent } from './loader';\nimport { PageComponent, PageStandardComponent } from './page';\nimport { PagingComponent, PagingStandardComponent } from './paging';\nimport {\n  PasswordStrengthComponent,\n  PasswordStrengthStandardComponent,\n} from './password-strength';\nimport { SearchbarComponent, SearchbarStandardComponent } from './searchbar';\n\nexport const ACCORDION_COMPONENTS: any[] = [\n  AccordionComponent,\n  AccordionDefaultComponent,\n  AccordionHeaderComponent,\n  AccordionBodyComponent,\n];\n\nexport const BUTTON_COMPONENTS = [ButtonComponent, ButtonStandardComponent];\n\nexport const CARD_COMPONENTS = [CardComponent, CardStandardComponent];\n\nexport const DETAILS_COMPONENTS = [DetailsComponent, DetailsStandardComponent];\n\nexport const EXPORT_COMPONENTS = [ExportComponent];\n\nexport const IMPORT_COMPONENTS = [ImportComponent];\n\nexport const DETAIL_COMPONENTS = [\n  DetailComponent,\n  DetailTextComponent,\n  DetailFlagComponent,\n  DetailEnumComponent,\n  DetailEmailComponent,\n  DetailAddressComponent,\n  DetailObjectComponent,\n  DetailColorComponent,\n  DetailLogoComponent,\n  DetailArrayComponent,\n  DetailPdfComponent,\n  DetailVideoComponent,\n  DetailAttachmentComponent,\n  DetailDateRangeComponent,\n  DetailImageComponent,\n  DetailPhoneNumberPlComponent,\n];\n\nexport const FORM_COMPONENTS = [FormStandardComponent, FormComponent];\n\nexport const INPUT_COMPONENTS = [\n  InputComponent,\n  InputIntComponent,\n  InputErrorComponent,\n  InputTextComponent,\n  InputPasswordComponent,\n  InputFlagComponent,\n  InputEnumComponent,\n  InputEmailComponent,\n  InputCurrencyComponent,\n  InputDateComponent,\n  InputDateWithEditComponent,\n  InputFileComponent,\n  InputRadioComponent,\n  InputNipComponent,\n  InputStringsComponent,\n  InputLongTextComponent,\n  InputAddressComponent,\n  InputObjectComponent,\n  InputColorComponent,\n  InputLogoComponent,\n  InputCheckComponent,\n  InputIntsComponent,\n  InputPhoneNumberComponent,\n  InputPhoneNumberPlComponent,\n  InputPeselComponent,\n  InputArrayComponent,\n  InputPdfComponent,\n  InputVideoComponent,\n  InputAttachmentComponent,\n  InputDateRangeComponent,\n  InputImageComponent,\n  InputFloatComponent,\n];\n\nexport const LIST_COMPONENTS = [\n  ListComponent,\n  ListMobileComponent,\n  ListDesktopComponent,\n  ListMasonryGridComponent,\n];\n\nexport const LOADER_COMPONENTS = [LoaderComponent, LoaderStandardComponent];\n\nexport const PAGE_COMPONENTS = [PageComponent, PageStandardComponent];\n\nexport const PAGING_COMPONENTS = [PagingComponent, PagingStandardComponent];\n\nexport const PASSWORD_STRENGTH_COMPONENTS = [\n  PasswordStrengthComponent,\n  PasswordStrengthStandardComponent,\n];\n\nexport const SEARCHBAR_COMPONENTS = [\n  SearchbarComponent,\n  SearchbarStandardComponent,\n];\n\nexport const INFO_COMPONENTS = [InfoComponent, InfoStandardComponent];\nexport const DATE_RANGE_COMPONENTS = [\n  DateRangeComponent,\n  DateRangeStandardComponent,\n  DateRangeModalStandardComponent,\n];\nexport const DATE_EDIT_COMPONENTS = [\n  DateEditComponent,\n  DateEditStandardComponent,\n];\n\nexport const DYNAMIC_COMPONENTS = [DynamicComponent];\n\nexport const COMPONENTS = [\n  ...FORM_COMPONENTS,\n  ...INPUT_COMPONENTS,\n  ...PAGE_COMPONENTS,\n  ...ACCORDION_COMPONENTS,\n  ...DATE_RANGE_COMPONENTS,\n  ...DATE_EDIT_COMPONENTS,\n  ...BUTTON_COMPONENTS,\n  ...CARD_COMPONENTS,\n  ...LIST_COMPONENTS,\n  ...LOADER_COMPONENTS,\n  ...PAGING_COMPONENTS,\n  ...DETAIL_COMPONENTS,\n  ...DETAILS_COMPONENTS,\n  ...DYNAMIC_COMPONENTS,\n  ...INFO_COMPONENTS,\n  ...EXPORT_COMPONENTS,\n  ...IMPORT_COMPONENTS,\n  ...PASSWORD_STRENGTH_COMPONENTS,\n  ...SEARCHBAR_COMPONENTS,\n];\n\nexport const IMPORTS = [\n  CommonModule,\n  ReactiveFormsModule,\n  FormsModule,\n  TranslateModule,\n  RouterModule,\n  SharedPipesModule,\n  SharedDirectivesModule,\n  HttpClientModule,\n  LazyLoadImageModule,\n  DragDropModule,\n  CdkTableModule,\n  DynamicModule,\n];\n\n@NgModule({\n  declarations: [],\n  exports: [...COMPONENTS],\n  providers: [\n    {\n      provide: FORM_COMPONENT_TOKEN,\n      useValue: FormComponent,\n    },\n    {\n      provide: DETAILS_COMPONENT_TOKEN,\n      useValue: DetailsComponent,\n    },\n    {\n      provide: DETAILS_STANDARD_COMPONENT_TOKEN,\n      useValue: DetailsStandardComponent,\n    },\n    {\n      provide: FORM_STANDARD_COMPONENT_TOKEN,\n      useValue: FormStandardComponent,\n    },\n    {\n      provide: LIST_MODE_COMPONENTS_TOKEN,\n      useValue: {\n        [ListMode.desktop]: ListDesktopComponent,\n        [ListMode.mobile]: ListMobileComponent,\n        [ListMode.masonryGrid]: ListMasonryGridComponent,\n      },\n    },\n  ],\n  imports: [...IMPORTS, ...COMPONENTS],\n})\nexport class SharedComponentsModule {}\n","import { NgModule } from '@angular/core';\n\nimport { SharedComponentsModule } from '../components/components.module';\nimport { SharedDirectivesModule } from '../directives';\nimport { SharedServicesModule } from '../services';\nimport { DetailsPage } from './details/details.page';\n\nconst COMPONENTS = [DetailsPage];\n\n@NgModule({\n  imports: [\n    SharedServicesModule,\n    SharedComponentsModule,\n    SharedDirectivesModule,\n    COMPONENTS,\n  ],\n  declarations: [],\n  exports: [...COMPONENTS],\n})\nexport class SharedPagesModule {}\n","import { TranslateService, TranslationObject } from '@ngx-translate/core';\n\nexport function setDefaultTranslationsAndLang(service: TranslateService) {\n  const map = {\n    pl: TRANSLATE_DATA_PL,\n    eng: TRANSLATE_DATA_ENG,\n  };\n\n  const DEFAULT_LANG = 'pl';\n\n  Object.keys(map).forEach((key: string) => {\n    service.setTranslation(\n      key,\n      map[key as 'pl' | 'eng'] as unknown as TranslationObject,\n      true,\n    );\n  });\n\n  if (!service.currentLang) {\n    const lang = service.getBrowserLang();\n    service.use(lang ?? DEFAULT_LANG);\n  }\n}\n\nexport interface ITranslateData {\n  details: string;\n  admin: string;\n  client: string;\n  guest: string;\n  add: string;\n  change: string;\n  confirm: string;\n  cancel: string;\n  delete: string;\n  undo: string;\n  search: string;\n  page: string;\n  filters: string;\n  or: string;\n  signInQuicklyWith: string;\n  select: string;\n  selected: string;\n  show: string;\n  download: string;\n  play: string;\n  writeHere: string;\n  browse: string;\n  remove: string;\n  next: string;\n  prev: string;\n  edit: string;\n  save: string;\n  noResults: string;\n  from: string;\n  to: string;\n\n  CALENDAR: {\n    DAY_OF_WEEK: {\n      Mon: string;\n      Tue: string;\n      Wed: string;\n      Thu: string;\n      Fri: string;\n      Sat: string;\n      Sun: string;\n    };\n    MONTH: {\n      January: string;\n      February: string;\n      March: string;\n      April: string;\n      May: string;\n      June: string;\n      July: string;\n      August: string;\n      September: string;\n      October: string;\n      November: string;\n      December: string;\n    };\n    Today: string;\n    LastSevenDays: string;\n    ThisMonth: string;\n    Yesterday: string;\n    LastThirtyDays: string;\n    LastMonth: string;\n  };\n\n  OBJECT: {\n    deleted: string;\n    confirmDelete: string;\n  };\n  APP: {\n    logout: string;\n    signIn: string;\n    logged: string;\n  };\n  MODEL: {\n    body: string;\n    buildingNumber: string;\n    city: string;\n    date: string;\n    disabled: string;\n    email: string;\n    file: string;\n    firstName: string;\n    flatNumber: string;\n    lastName: string;\n    password: string;\n    passwordConfirm: string;\n    passwordReset: string;\n    permissions: string;\n    price: string;\n    send: string;\n    street: string;\n    username: string;\n    zipCode: string;\n  };\n  INPUT: {\n    dropFileHereOr: string;\n    ERRORS: {\n      required: string;\n      requires: string;\n      invalidNip: string;\n      invalidFileType: string;\n      invalidUnique: string;\n      confirm: string;\n      invalidEmailFormat: string;\n      invalidPhoneNumberFormat: string;\n      invalidPeselFormat: string;\n      invalidMinLength: string;\n      invalidMaxLength: string;\n      invalidMin: string;\n      invalidMax: string;\n      upperLetters: string;\n      lowerLetters: string;\n      symbols: string;\n    };\n    'PASSWORD-STRENGTH': {\n      poor: string;\n      notGood: string;\n      good: string;\n    };\n  };\n  ERRORS: {\n    invalidUsernameOrPassword: string;\n    other: string;\n  };\n}\n\nexport const TRANSLATE_DATA_ENG: ITranslateData = {\n  details: 'details',\n  admin: 'administrator',\n  client: 'client',\n  guest: 'guest',\n  add: 'add',\n  change: 'change',\n  confirm: 'confirm',\n  cancel: 'cancel',\n  delete: 'delete',\n  undo: 'undo',\n  search: 'search',\n  page: 'page',\n  filters: 'filters',\n  or: 'or',\n  signInQuicklyWith: 'sign in quickly with',\n  selected: 'selected',\n  select: 'select',\n  show: 'show',\n  download: 'download',\n  play: 'play',\n  writeHere: 'write here',\n  browse: 'browse',\n  remove: 'remove',\n  next: 'next',\n  prev: 'prev',\n  edit: 'edit',\n  save: 'save',\n  noResults: 'no results',\n  from: 'from',\n  to: 'to',\n\n  CALENDAR: {\n    DAY_OF_WEEK: {\n      Mon: 'Mon',\n      Tue: 'Tue',\n      Wed: 'Wed',\n      Thu: 'Thu',\n      Fri: 'Fri',\n      Sat: 'Sat',\n      Sun: 'Sun',\n    },\n    MONTH: {\n      January: 'January',\n      February: 'February',\n      March: 'March',\n      April: 'April',\n      May: 'May',\n      June: 'June',\n      July: 'July',\n      August: 'August',\n      September: 'September',\n      October: 'October',\n      November: 'November',\n      December: 'December',\n    },\n    Today: 'Today',\n    LastSevenDays: 'Last 7 days',\n    ThisMonth: 'This month',\n    Yesterday: 'Yesterday',\n    LastThirtyDays: 'Last 30 days',\n    LastMonth: 'Last month',\n  },\n\n  OBJECT: {\n    deleted: 'object deleted',\n    confirmDelete: 'confirm delete object',\n  },\n  APP: {\n    logout: 'log out',\n    signIn: 'sign in',\n    logged: 'logged',\n  },\n  MODEL: {\n    body: 'body',\n    buildingNumber: 'building number',\n    city: 'city',\n    date: 'date',\n    disabled: 'disabled',\n    email: 'email',\n    file: 'file',\n    firstName: 'first name',\n    flatNumber: 'flat number',\n    lastName: 'last name',\n    password: 'password',\n    passwordConfirm: 'confirm password',\n    passwordReset: 'reset password',\n    permissions: 'permissions',\n    price: 'price',\n    send: 'send',\n    street: 'street',\n    username: 'user name',\n    zipCode: 'zip code',\n  },\n  INPUT: {\n    dropFileHereOr: 'Drop file here or',\n    ERRORS: {\n      required: 'field is required',\n      requires: 'fields are required',\n      invalidNip: 'Invalid nip format',\n      invalidUnique: 'Invalid unique value',\n      invalidFileType: 'Invalid file type',\n      confirm: 'bad confirmed',\n      invalidEmailFormat: 'invalid email format',\n      invalidPhoneNumberFormat: 'invalid phone number (000000000)',\n      invalidPeselFormat: 'invalid pesel',\n      invalidMinLength: 'min length',\n      invalidMaxLength: 'max length',\n      invalidMin: 'min value',\n      invalidMax: 'max value',\n      upperLetters: 'upper letters',\n      lowerLetters: 'lower letters',\n      symbols: 'special characters',\n    },\n    'PASSWORD-STRENGTH': {\n      poor: 'poor',\n      notGood: 'not good',\n      good: 'good',\n    },\n  },\n  ERRORS: {\n    invalidUsernameOrPassword: 'Invalid username or password',\n    other: 'Error',\n  },\n};\n\nexport const TRANSLATE_DATA_PL: ITranslateData = {\n  details: 'szczegóły',\n  admin: 'administrator',\n  client: 'klient',\n  guest: 'gość',\n  add: 'dodaj',\n  change: 'zmień',\n  confirm: 'potwierdź',\n  cancel: 'anuluj',\n  delete: 'usuń',\n  undo: 'cofnij',\n  search: 'wyszukaj',\n  page: 'strona',\n  filters: 'filtry',\n  or: 'lub',\n  signInQuicklyWith: 'szybko zaloguj się za pomocą',\n  selected: 'wybrano',\n  select: 'wybierz',\n  show: 'pokaż',\n  download: 'pobierz',\n  play: 'włącz',\n  writeHere: 'napisz tutaj',\n  browse: 'przeglądaj',\n  remove: 'usuń',\n  next: 'dalej',\n  prev: 'wstecz',\n  edit: 'edycja',\n  save: 'zapisz',\n  noResults: 'brak wyników',\n  from: 'od',\n  to: 'do',\n\n  CALENDAR: {\n    DAY_OF_WEEK: {\n      Mon: 'Pon',\n      Tue: 'Wto',\n      Wed: 'Śro',\n      Thu: 'Czw',\n      Fri: 'Pio',\n      Sat: 'Sob',\n      Sun: 'Nie',\n    },\n    MONTH: {\n      January: 'Styczeń',\n      February: 'Luty',\n      March: 'Marzec',\n      April: 'Kwiecień',\n      May: 'Maj',\n      June: 'Czerwiec',\n      July: 'Lipiec',\n      August: 'Sierpień',\n      September: 'Wrzesień',\n      October: 'Październik',\n      November: 'Listopad',\n      December: 'Grudzień',\n    },\n    Today: 'Dzisiaj',\n    LastSevenDays: 'Ostatnie 7 dnii',\n    ThisMonth: 'Ten miesiąc',\n    Yesterday: 'Wczoraj',\n    LastThirtyDays: 'Ostatnie 30 dni',\n    LastMonth: 'Ostatni miesiąc',\n  },\n\n  OBJECT: {\n    deleted: 'obiekt został usunięty',\n    confirmDelete: 'potwierdź usunięcie',\n  },\n  APP: {\n    logout: 'wyloguj się',\n    logged: 'zalogowany',\n    signIn: 'zaloguj się',\n  },\n  MODEL: {\n    body: 'treść',\n    buildingNumber: 'numer budynku',\n    city: 'miasto',\n    date: 'data',\n    disabled: 'nieaktywny',\n    email: 'email',\n    file: 'plik',\n    firstName: 'imię',\n    flatNumber: 'numer lokalu',\n    lastName: 'nazwisko',\n    password: 'hasło',\n    passwordConfirm: 'powtórz hasło',\n    passwordReset: 'Nie pamiętam hasła',\n    permissions: 'uprawnienia',\n    price: 'cena',\n    send: 'wyślij',\n    street: 'ulica',\n    username: 'nazwa użytkownika',\n    zipCode: 'kod pocztowy',\n  },\n  INPUT: {\n    dropFileHereOr: 'Upuść plik tutaj lub',\n    ERRORS: {\n      required: 'to pole jest wymagane',\n      requires: 'te pola są wymagane',\n      invalidNip: 'niepoprawny format nip',\n      invalidUnique: 'wartość jest już w systemie',\n      confirm: 'źle powtórzone',\n      invalidEmailFormat: 'niepoprawny adres email',\n      invalidFileType: 'niepoprawny format pliku',\n      invalidPhoneNumberFormat: 'niepoprawny numer telefonu (000000000)',\n      invalidPeselFormat: 'niepoprawny numer pesel',\n      invalidMinLength: 'minimalna długość',\n      invalidMaxLength: 'maksymalna długość',\n      invalidMin: 'minimalna wartość',\n      invalidMax: 'maksymalna wartość',\n      upperLetters: 'duże litery',\n      lowerLetters: 'małe litery',\n      symbols: 'znaki specjalne',\n    },\n    'PASSWORD-STRENGTH': {\n      poor: 'bardzo słabe',\n      notGood: 'słabe',\n      good: 'dobre',\n    },\n  },\n  ERRORS: {\n    invalidUsernameOrPassword: 'Niepoprawna nazwa użytkownika, lub hasło',\n    other: 'Wystąpił błąd',\n  },\n};\n","import { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslateModule, TranslateService } from '@ngx-translate/core';\n\nimport { SharedDirectivesModule } from './directives';\nimport { SharedFactoriesModule } from './factories';\nimport { SharedPagesModule } from './pages';\nimport { SharedPipesModule } from './pipes';\nimport { SharedServicesModule } from './services';\nimport { setDefaultTranslationsAndLang } from './translations-default';\n\n@NgModule({\n  imports: [TranslateModule],\n  exports: [\n    TranslateModule,\n    HttpClientModule,\n    ReactiveFormsModule,\n    CommonModule,\n    SharedFactoriesModule,\n    SharedServicesModule,\n    SharedPipesModule,\n    SharedPagesModule,\n    SharedDirectivesModule,\n  ],\n})\nexport class SharedModule {\n  constructor(translateService: TranslateService) {\n    setDefaultTranslationsAndLang(translateService);\n  }\n}\n","import { NgModule } from '@angular/core';\nimport { Store } from '@ngrx/store';\n\nimport { ErrorEffects } from './+state/error.effects';\nimport { NgrxStoreService } from './services';\nimport { SharedModule } from './shared.module';\n\n@NgModule({\n  providers: [NgrxStoreService],\n  imports: [\n    SharedModule,\n    //EffectsModule.forFeature([ErrorEffects])\n  ],\n})\nexport class NgrxSharedModule {\n  constructor(store: Store<any>, storeService: NgrxStoreService) {\n    storeService.connect(store);\n  }\n}\n","import { Guid } from 'guid-typescript';\nimport { isObservable } from 'rxjs';\nimport { catchError, first, tap } from 'rxjs/operators';\n\nimport { NgrxStoreService } from '../../services';\n\nexport const ReduxAction = ReduxActionDecorator;\nexport function ReduxActionDecorator(options: any = {}) {\n  function getActionsNames<T>(\n    target: T,\n    key: string,\n  ): {\n    begin: string;\n    success: string;\n    failure: string;\n  } {\n    const base = `${(target as any).constructor.name} ${key}`;\n\n    return {\n      begin: base,\n      success: `${base} Success`,\n      failure: `${base} Failure`,\n    };\n  }\n\n  function beginAction(\n    executionId: string,\n    names: { begin: string },\n    params: Array<any>,\n  ): void {\n    (NgrxStoreService as any).store.dispatch({\n      executionId,\n      type: names.begin,\n      params,\n    });\n  }\n\n  function errorAction(\n    executionId: string,\n    names: { failure: string },\n    params: Array<any>,\n    error: any,\n  ): void {\n    (NgrxStoreService as any).store.dispatch({\n      executionId,\n      type: names.failure,\n      params,\n      error,\n    });\n  }\n\n  function successAction(\n    executionId: string,\n    names: { success: string },\n    result: any,\n  ): void {\n    (NgrxStoreService as any).store.dispatch({\n      executionId,\n      type: names.success,\n      result,\n    });\n  }\n\n  return <T>(target: T, key: string, desc: PropertyDescriptor) => {\n    const names = getActionsNames(target, key);\n\n    const baseAction = (target as any)[key];\n\n    desc.value = function (...params: any[]) {\n      const executionId = Guid.raw();\n\n      beginAction(executionId, names, params);\n\n      let result;\n      try {\n        result = baseAction.apply(this, params);\n      } catch (error) {\n        errorAction(executionId, names, params, error);\n\n        throw error;\n      }\n\n      if (result instanceof Promise) {\n        result = result\n          .then((r) => {\n            successAction(executionId, names, r);\n            return r;\n          })\n          .catch((e) => {\n            errorAction(executionId, names, params, e);\n            throw e;\n          });\n      } else if (isObservable(result)) {\n        result = result.pipe(\n          first(),\n          tap((r) => {\n            successAction(executionId, names, r);\n          }),\n          catchError((e) => {\n            errorAction(executionId, names, params, e);\n            throw e;\n          }),\n        );\n      } else {\n        successAction(executionId, names, result);\n      }\n\n      return result;\n    };\n  };\n}\n","import { Selector } from '@ngrx/store';\n\nimport { NgrxStoreService } from '../../services/ngrx-store/ngrx-store.service';\n\nexport function ReduxSelect<TState = any, TValue = any>(\n  selector: Selector<TState, TValue>,\n): (target: any, name: string) => void;\n\nexport function ReduxSelect<TState = any, TValue = any>(\n  selectorOrFeature?: string,\n  ...paths: string[]\n): (target: any, name: string) => void;\n\nexport function ReduxSelect<TState = any, TValue = any>(\n  selectorOrFeature?: string | Selector<TState, TValue>,\n  ...paths: string[]\n) {\n  return function (target: any, name: string): void {\n    const selectorFnName = '__' + name + '__selector';\n    let fn: Selector<TState, TValue>;\n    // Nothing here? Use propery name as selector\n    if (!selectorOrFeature) {\n      selectorOrFeature = name;\n    }\n    // Handle string vs Selector<TState, TValue>\n    if (typeof selectorOrFeature === 'string') {\n      const propsArray = paths.length\n        ? [selectorOrFeature, ...paths]\n        : selectorOrFeature.split('.');\n      fn = fastPropGetter(propsArray);\n    } else {\n      fn = selectorOrFeature;\n    }\n\n    const createSelect = () => {\n      const store = NgrxStoreService.store;\n      if (!store) {\n        throw new Error('NgrxSelect not connected to store!');\n      }\n      return store.select(fn);\n    };\n\n    if (target[selectorFnName]) {\n      throw new Error(\n        'You cannot use @Select decorator and a ' +\n          selectorFnName +\n          ' property.',\n      );\n    }\n\n    // Redefine property\n    if (delete target[name]) {\n      Object.defineProperty(target, selectorFnName, {\n        writable: true,\n        enumerable: false,\n        configurable: true,\n      });\n\n      Object.defineProperty(target, name, {\n        get: function () {\n          return (\n            this[selectorFnName] ||\n            (this[selectorFnName] = createSelect.apply(this))\n          );\n        },\n        enumerable: true,\n        configurable: true,\n      });\n    }\n  };\n}\n\nexport function fastPropGetter(paths: string[]): (x: any) => any {\n  const segments = paths;\n  let seg = 'store.' + segments[0],\n    i = 0;\n  const l = segments.length;\n  let expr = seg;\n  while (++i < l) {\n    expr = expr + ' && ' + (seg = seg + '.' + segments[i]);\n  }\n  const fn = new Function('store', 'return ' + expr + ';');\n  return <(x: any) => any>fn;\n}\n","import { NgModule } from '@angular/core';\n\nexport const SmartNgModule = SmartNgModuleDecorator;\nexport function SmartNgModuleDecorator(options: NgModule) {\n  return (constructor: any) => {\n    return NgModule(options)(constructor);\n  };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAa,mBAAwD;CACnE,OAAO;EACL,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,SAAS;EACP,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,OAAO;EACL,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,KAAK;EACH,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,QAAQ;EACN,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,OAAO;EACL,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,QAAQ;EACN,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,OAAO;EACL,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,SAAS;EACP,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,KAAK;EACH,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,QAAQ;EACN,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,QAAQ;EACN,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,QAAQ;EACN,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,SAAS;EACP,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;EACD;CACF;CACD,MAAM;EACJ,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACD,WAAW;GACT;GACA;GACA;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AAE3C,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAM,YAAY;CAChB;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAMC,cAAY;CAChB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAM,uBAAuB;AAC7B,MAAM,qBAAqB;AAE3B,MAAa,4BAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,6BAA6B;AAE1C,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,iCAAiC;AAE9C,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,SAAgB,+BACd,SAAmC;CAInC,OAAO;EACL;EAFA,YAAY,qBAAqB,wBAAwB;EAIzD,YAAY,iBAAiB,cAAc;CAC5C,CAAA,CACE,OAAO,OAAO,CAAC,CACf,KAAK,GAAG;AACb;AAEA,SAAgB,6BACd,SAAmC;CAGnC,OAAO,CACL,WACA,YAAY,iBAAi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;AAEZ,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA0B,YAAA,CAAA;EAdtC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAA2B,eAEtB,kBAAkB;GAAI,iBACpB,wBAAwB;GAAM,WACpC,CACT;IACE,SAAS;IACT,aAAa,iBAAgB,0BAA2B;IACxD,OAAO;GACR,CACF;GAAA,SACQ,CAAC,eAAe,+BAA+B;GAAC,UAAA;EAAA,CAAA;;;AEnB3D,MAAa,4BAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAGV,MAAa,4BAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAGV,MAAa,+BAA+B;CAC1C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAGV,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAGV,MAAa,4BAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAM,+BAA+B;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAGV,MAAa,gCAAgC;CAC3C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAGV,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;AACD,CAA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K,GAAG;AAEV,MAAa,mBAAmB;AAGhC,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,0BAA0B;AAEvC,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAMC,gBAAc;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAuCV,MAAM,qBAGF;CACF,SAzCqB;EACrB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAA,CAAC,KAAK,GA8BI;CACT,WA7BuB;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAA,CAAC,KAAK,GAgBM;CACX,OAfmB;EACnB;EACA;EACA;EACA;EACA;EACA;CACD,CAAA,CAAC,KAAK,GAQE;AACR;AAED,SAAgB,2BACd,SAA2C;CAG3C,IAAI,YAAY,QACd,OAAO;CAET,OAAO,GAAGA,cAAW,GAAI,mBAAmB;AAC9C;AAIA,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,mBAAmB;CAC9B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,GAAG;AAEV,MAAa,2BAA2B;AAExC,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;AACD,CAAA,CAAC,KAAK,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;AAED,MAAa,qBAAqB,CAAC,gBAAgB;AAEnD,MAAaC,eAAa;CACxB,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;AACJ;AAED,MAAa,UAAU;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAiCD,IAAa,yBAAb,MAAa,uBAAsB;CAAtB,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAsB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAtB,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAsB,SAAA;GA7CjC;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GA3G8B;GAAuB;GAGrD;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;GAY8B;GAAe;GAjF7C;GACA;GACA;GACA;GA8FA;GACA;GACA;GAGA;GACA;GAjGgC;GAAiB;GAEnB;GAAe;GAiE7C;GACA;GACA;GACA;GAGgC;GAAiB;GAIjB;GAAiB;GAlEjD;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAtBiC;GAAkB;GAgGlB;GAXH;GAAe;GAnFb;GAEA;GAwEhC;GACA;GAIA;GACA;EAA0B;EAAA,SAAA;GAzDI;GAAuB;GAGrD;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;GAY8B;GAAe;GAjF7C;GACA;GACA;GACA;GA8FA;GACA;GACA;GAGA;GACA;GAjGgC;GAAiB;GAEnB;GAAe;GAiE7C;GACA;GACA;GACA;GAGgC;GAAiB;GAIjB;GAAiB;GAlEjD;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAtBiC;GAAkB;GAgGlB;GAXH;GAAe;GAnFb;GAEA;GAwEhC;GACA;GAIA;GACA;EAA0B;CAAA,CAAA;CAoFf,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAsB,WA5BtB;GACT;IACE,SAAS;IACT,UAAU;GACX;GACD;IACE,SAAS;IACT,UAAU;GACX;GACD;IACE,SAAS;IACT,UAAU;GACX;GACD;IACE,SAAS;IACT,UAAU;GACX;GACD;IACE,SAAS;IACT,UAAU;MACP,SAAS,UAAU;MACnB,SAAS,SAAS;MAClB,SAAS,cAAc;IACzB;GACF;EACF;EAAA,SAAA;GACY;GA3IwC;GAIrD;GAEA;GACA;GACA;GAEA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;GAIA;GACA;GACA;GACA;GACA;GAKA;GAEA;GA4BA;GAKA;GACA;GA7BA;GACA;GA+BiC;GAfjC;GACA;EAA0B;CAAA,CAAA;;AAoFf,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAsB,YAAA,CAAA;EA/BlC,MAAA;EAAS,MAAA,CAAA;GACR,cAAc,CAAA;GACd,SAAS,CAAC,GAAGA,YAAU;GACvB,WAAW;IACT;KACE,SAAS;KACT,UAAU;IACX;IACD;KACE,SAAS;KACT,UAAU;IACX;IACD;KACE,SAAS;KACT,UAAU;IACX;IACD;KACE,SAAS;KAC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