@ids-group-ltd/ids-design-system 0.14.6-beta.0 → 0.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +138 -4
- package/components.md +20 -18
- package/design-system.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +1 -0
- package/docs/agent/charts/ds-column-chart.md +1 -0
- package/docs/agent/charts/ds-line-chart.md +1 -1
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/filter-item-directive.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +2 -2
- package/docs/agent/foundations/grid.md +8 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +6 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +169 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +261 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +16 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +22 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +9 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +7 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +16 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +16 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +2 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/migrations/0.14.6.json +176 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +26 -16
- package/styles/_chart-frame.scss +1 -50
- package/styles/_field-state.scss +13 -1
- package/styles/_focus.scss +45 -33
- package/styles/_link.scss +12 -0
- package/styles/_press.scss +1 -1
- package/styles/_tokens-charts.scss +1 -1
- package/styles/_tokens.scss +2 -0
- package/styles/ds.scss +2 -0
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +64 -3
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +35 -2
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +2 -3
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-core.d.ts +2 -0
- package/migrations/0.14.6-beta.0.json +0 -9
|
@@ -170,7 +170,7 @@ class InputComponent extends DsControlValueAccessor {
|
|
|
170
170
|
useExisting: forwardRef(() => InputComponent),
|
|
171
171
|
multi: true,
|
|
172
172
|
},
|
|
173
|
-
], viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n <span class=\"addon-slot prefix\">\n <ng-content select=\"[dsInputPrefix]\"></ng-content>\n </span>\n\n <input\n #control\n [id]=\"uid\"\n [type]=\"effectiveType()\"\n [attr.name]=\"name()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.step]=\"step()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.autofocus]=\"autofocus() ? '' : null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.enterkeyhint]=\"enterKeyHint()\"\n [attr.inputmode]=\"inputMode()\"\n [attr.maxlength]=\"maxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [(ngModel)]=\"value\"\n (blur)=\"blurred.emit(); markTouched()\" />\n\n @if (\n canClear() &&\n value() &&\n !isDisabled()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().field.clearInput\"\n (click)=\"clear()\">\n </button>\n }\n\n @if (showPasswordToggle()) {\n <button\n type=\"button\"\n class=\"password-toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"\n passwordVisible()\n ? intl().field.hidePassword\n : intl().field.showPassword\n \"\n (click)=\"togglePassword()\">\n <ds-icon\n [name]=\"passwordVisible() ? 'eye-off' : 'eye'\"\n [size]=\"16\" />\n </button>\n }\n\n @if (loading()) {\n <ds-spinner size=\"sm\" />\n }\n\n <span class=\"addon-slot suffix\">\n <ng-content select=\"[dsInputSuffix]\"></ng-content>\n </span>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n </span>\n }\n </div>\n }\n</div>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-padding-y: var(--ds-input-padding-y, var(--field-pad-y));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-label-color: var(--ds-input-label-color, var(--ds-field-label-color, var(--text-secondary)));--_input-label-font-size: var(--ds-input-label-font-size, var(--ds-field-label-font-size, var(--font-size-xs)));--_input-label-font-weight: var(--ds-input-label-font-weight, var(--ds-field-label-font-weight, var(--font-weight-bold)));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_input-clear-color: var(--ds-input-clear-color, var(--text-secondary));display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing);--_field-label-font-size: var(--_input-label-font-size);--_field-label-font-weight: var(--_input-label-font-weight);--_field-label-color: var(--_input-label-color)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:center;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:var(--_input-padding-y) var(--_input-padding-x);--_field-height: var(--ds-field-height, var(--field-h-md));height:var(--_field-height);transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control input{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control input{outline:none}}.field .control input{background:transparent;font:var(--font-weight-regular) var(--_input-font-size)/var(--line-height-base) var(--font-sans);color:var(--_input-text-color)}.field .control input::placeholder{color:var(--_input-placeholder)}.field .control input[type=search]::-webkit-search-cancel-button,.field .control input[type=search]::-webkit-search-decoration{display:none;appearance:none}.field .control .clear-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--icon-md);height:var(--icon-md);padding:0;border:0;background-color:var(--_input-clear-color);cursor:pointer;flex-shrink:0;transition:background-color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard);-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat}.field .control .clear-btn:hover{background-color:var(--text-primary)}.field .control .clear-btn:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control .clear-btn:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field .control .password-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--text-tertiary);cursor:pointer;flex-shrink:0;transition:color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard)}.field .control .password-toggle:hover{color:var(--text-primary)}.field .control .password-toggle:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control input:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled input{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control input{cursor:default}.field.sm .control{--_field-height: var(--ds-field-height, var(--field-h-sm));height:var(--_field-height);padding:0 var(--space-2)}.field.lg .control{--_field-height: var(--ds-field-height, var(--field-h-lg));height:var(--_field-height)}.field .addon-slot{display:inline-flex;align-items:center;align-self:stretch;color:var(--text-tertiary);flex-shrink:0}.field .addon-slot:empty{display:none}.field ::ng-deep .addon{display:inline-flex;align-items:center;padding:0 var(--space-3);margin:calc(var(--field-affix-overlap) * -1);background:var(--surface-secondary);color:var(--text-secondary);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-flat) var(--font-sans);align-self:stretch;border-right:var(--border-width-default) solid var(--border-divider)}.field ::ng-deep .addon.right{border-right:0;border-left:var(--border-width-default) solid var(--border-divider)}.field:has(.addon-slot.prefix .addon) .control{padding-left:0}.field:has(.addon-slot.suffix .addon) .control{padding-right:0}.field .addon-slot.prefix ::ng-deep .addon{border-top-left-radius:var(--_input-radius);border-bottom-left-radius:var(--_input-radius)}.field .addon-slot.suffix ::ng-deep .addon.right{border-top-right-radius:var(--_input-radius);border-bottom-right-radius:var(--_input-radius)}.field .control ds-spinner{flex-shrink:0}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}:host(.in-group){width:auto;display:flex}:host(.in-group) .label,:host(.in-group) ds-field-message{display:none}:host(.in-group) .control{border:0;border-radius:0;background:transparent;flex:1;height:auto}:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{border:0;box-shadow:none}@media not (forced-colors:active){:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{outline:none}}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }, { kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }, { kind: "component", type: FieldMessageComponent, selector: "ds-field-message", inputs: ["text", "state", "messageId", "icon", "reserve"] }, { kind: "directive", type: FieldClickFocusDirective, selector: "[dsFieldClickFocus]" }] });
|
|
173
|
+
], viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n <span class=\"addon-slot prefix\">\n <ng-content select=\"[dsInputPrefix]\"></ng-content>\n </span>\n\n <input\n #control\n [id]=\"uid\"\n [type]=\"effectiveType()\"\n [attr.name]=\"name()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.step]=\"step()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.autofocus]=\"autofocus() ? '' : null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.enterkeyhint]=\"enterKeyHint()\"\n [attr.inputmode]=\"inputMode()\"\n [attr.maxlength]=\"maxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [(ngModel)]=\"value\"\n (blur)=\"blurred.emit(); markTouched()\" />\n\n @if (\n canClear() &&\n value() &&\n !isDisabled()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().field.clearInput\"\n (click)=\"clear()\">\n </button>\n }\n\n @if (showPasswordToggle()) {\n <button\n type=\"button\"\n class=\"password-toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"\n passwordVisible()\n ? intl().field.hidePassword\n : intl().field.showPassword\n \"\n (click)=\"togglePassword()\">\n <ds-icon\n [name]=\"passwordVisible() ? 'eye-off' : 'eye'\"\n [size]=\"16\" />\n </button>\n }\n\n @if (loading()) {\n <ds-spinner size=\"sm\" />\n }\n\n <span class=\"addon-slot suffix\">\n <ng-content select=\"[dsInputSuffix]\"></ng-content>\n </span>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n </span>\n }\n </div>\n }\n</div>\n", styles: [":host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-padding-y: var(--ds-input-padding-y, var(--field-pad-y));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-label-color: var(--ds-input-label-color, var(--ds-field-label-color, var(--text-secondary)));--_input-label-font-size: var(--ds-input-label-font-size, var(--ds-field-label-font-size, var(--font-size-xs)));--_input-label-font-weight: var(--ds-input-label-font-weight, var(--ds-field-label-font-weight, var(--font-weight-bold)));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_input-clear-color: var(--ds-input-clear-color, var(--text-secondary));display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing);--_field-label-font-size: var(--_input-label-font-size);--_field-label-font-weight: var(--_input-label-font-weight);--_field-label-color: var(--_input-label-color)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:center;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:var(--_input-padding-y) var(--_input-padding-x);--_field-height: var(--ds-field-height, var(--field-h-md));height:var(--_field-height);transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control input{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control input{outline:none}}.field .control input{background:transparent;font:var(--font-weight-regular) var(--_input-font-size)/var(--line-height-base) var(--font-sans);color:var(--_input-text-color)}.field .control input::placeholder{color:var(--_input-placeholder)}.field .control input[type=search]::-webkit-search-cancel-button,.field .control input[type=search]::-webkit-search-decoration{display:none;appearance:none}.field .control .clear-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--icon-md);height:var(--icon-md);padding:0;border:0;background-color:var(--_input-clear-color);cursor:pointer;flex-shrink:0;transition:background-color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard);-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat}.field .control .clear-btn:hover{background-color:var(--text-primary)}.field .control .clear-btn:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control .clear-btn:active:not(:disabled,[disabled],.is-disabled,.disabled,[aria-disabled=true]){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field .control .password-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--text-tertiary);cursor:pointer;flex-shrink:0;transition:color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard)}.field .control .password-toggle:hover{color:var(--text-primary)}.field .control .password-toggle:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control input:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled input{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control input{cursor:default}.field.sm .control{--_field-height: var(--ds-field-height, var(--field-h-sm));height:var(--_field-height);padding:0 var(--space-2)}.field.lg .control{--_field-height: var(--ds-field-height, var(--field-h-lg));height:var(--_field-height)}.field .addon-slot{display:inline-flex;align-items:center;align-self:stretch;color:var(--text-tertiary);flex-shrink:0}.field .addon-slot:empty{display:none}.field ::ng-deep .addon{display:inline-flex;align-items:center;padding:0 var(--space-3);margin:calc(var(--field-affix-overlap) * -1);background:var(--surface-secondary);color:var(--text-secondary);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-flat) var(--font-sans);align-self:stretch;border-right:var(--border-width-default) solid var(--border-divider)}.field ::ng-deep .addon.right{border-right:0;border-left:var(--border-width-default) solid var(--border-divider)}.field:has(.addon-slot.prefix .addon) .control{padding-left:0}.field:has(.addon-slot.suffix .addon) .control{padding-right:0}.field .addon-slot.prefix ::ng-deep .addon{border-top-left-radius:var(--_input-radius);border-bottom-left-radius:var(--_input-radius)}.field .addon-slot.suffix ::ng-deep .addon.right{border-top-right-radius:var(--_input-radius);border-bottom-right-radius:var(--_input-radius)}.field .control ds-spinner{flex-shrink:0}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}:host(.in-group){width:auto;display:flex}:host(.in-group) .label,:host(.in-group) ds-field-message{display:none}:host(.in-group) .control{border:0;border-radius:0;background:transparent;flex:1;height:auto}:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{border:0;box-shadow:none}@media not (forced-colors:active){:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{outline:none}}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-warning)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-success)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }, { kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }, { kind: "component", type: FieldMessageComponent, selector: "ds-field-message", inputs: ["text", "state", "messageId", "icon", "reserve"] }, { kind: "directive", type: FieldClickFocusDirective, selector: "[dsFieldClickFocus]" }] });
|
|
174
174
|
}
|
|
175
175
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: InputComponent, decorators: [{
|
|
176
176
|
type: Component,
|
|
@@ -189,7 +189,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
189
189
|
useExisting: forwardRef(() => InputComponent),
|
|
190
190
|
multi: true,
|
|
191
191
|
},
|
|
192
|
-
], template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n <span class=\"addon-slot prefix\">\n <ng-content select=\"[dsInputPrefix]\"></ng-content>\n </span>\n\n <input\n #control\n [id]=\"uid\"\n [type]=\"effectiveType()\"\n [attr.name]=\"name()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.step]=\"step()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.autofocus]=\"autofocus() ? '' : null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.enterkeyhint]=\"enterKeyHint()\"\n [attr.inputmode]=\"inputMode()\"\n [attr.maxlength]=\"maxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [(ngModel)]=\"value\"\n (blur)=\"blurred.emit(); markTouched()\" />\n\n @if (\n canClear() &&\n value() &&\n !isDisabled()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().field.clearInput\"\n (click)=\"clear()\">\n </button>\n }\n\n @if (showPasswordToggle()) {\n <button\n type=\"button\"\n class=\"password-toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"\n passwordVisible()\n ? intl().field.hidePassword\n : intl().field.showPassword\n \"\n (click)=\"togglePassword()\">\n <ds-icon\n [name]=\"passwordVisible() ? 'eye-off' : 'eye'\"\n [size]=\"16\" />\n </button>\n }\n\n @if (loading()) {\n <ds-spinner size=\"sm\" />\n }\n\n <span class=\"addon-slot suffix\">\n <ng-content select=\"[dsInputSuffix]\"></ng-content>\n </span>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n </span>\n }\n </div>\n }\n</div>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-padding-y: var(--ds-input-padding-y, var(--field-pad-y));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-label-color: var(--ds-input-label-color, var(--ds-field-label-color, var(--text-secondary)));--_input-label-font-size: var(--ds-input-label-font-size, var(--ds-field-label-font-size, var(--font-size-xs)));--_input-label-font-weight: var(--ds-input-label-font-weight, var(--ds-field-label-font-weight, var(--font-weight-bold)));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_input-clear-color: var(--ds-input-clear-color, var(--text-secondary));display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing);--_field-label-font-size: var(--_input-label-font-size);--_field-label-font-weight: var(--_input-label-font-weight);--_field-label-color: var(--_input-label-color)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:center;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:var(--_input-padding-y) var(--_input-padding-x);--_field-height: var(--ds-field-height, var(--field-h-md));height:var(--_field-height);transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control input{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control input{outline:none}}.field .control input{background:transparent;font:var(--font-weight-regular) var(--_input-font-size)/var(--line-height-base) var(--font-sans);color:var(--_input-text-color)}.field .control input::placeholder{color:var(--_input-placeholder)}.field .control input[type=search]::-webkit-search-cancel-button,.field .control input[type=search]::-webkit-search-decoration{display:none;appearance:none}.field .control .clear-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--icon-md);height:var(--icon-md);padding:0;border:0;background-color:var(--_input-clear-color);cursor:pointer;flex-shrink:0;transition:background-color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard);-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat}.field .control .clear-btn:hover{background-color:var(--text-primary)}.field .control .clear-btn:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control .clear-btn:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field .control .password-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--text-tertiary);cursor:pointer;flex-shrink:0;transition:color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard)}.field .control .password-toggle:hover{color:var(--text-primary)}.field .control .password-toggle:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control input:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled input{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control input{cursor:default}.field.sm .control{--_field-height: var(--ds-field-height, var(--field-h-sm));height:var(--_field-height);padding:0 var(--space-2)}.field.lg .control{--_field-height: var(--ds-field-height, var(--field-h-lg));height:var(--_field-height)}.field .addon-slot{display:inline-flex;align-items:center;align-self:stretch;color:var(--text-tertiary);flex-shrink:0}.field .addon-slot:empty{display:none}.field ::ng-deep .addon{display:inline-flex;align-items:center;padding:0 var(--space-3);margin:calc(var(--field-affix-overlap) * -1);background:var(--surface-secondary);color:var(--text-secondary);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-flat) var(--font-sans);align-self:stretch;border-right:var(--border-width-default) solid var(--border-divider)}.field ::ng-deep .addon.right{border-right:0;border-left:var(--border-width-default) solid var(--border-divider)}.field:has(.addon-slot.prefix .addon) .control{padding-left:0}.field:has(.addon-slot.suffix .addon) .control{padding-right:0}.field .addon-slot.prefix ::ng-deep .addon{border-top-left-radius:var(--_input-radius);border-bottom-left-radius:var(--_input-radius)}.field .addon-slot.suffix ::ng-deep .addon.right{border-top-right-radius:var(--_input-radius);border-bottom-right-radius:var(--_input-radius)}.field .control ds-spinner{flex-shrink:0}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}:host(.in-group){width:auto;display:flex}:host(.in-group) .label,:host(.in-group) ds-field-message{display:none}:host(.in-group) .control{border:0;border-radius:0;background:transparent;flex:1;height:auto}:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{border:0;box-shadow:none}@media not (forced-colors:active){:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{outline:none}}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}\n"] }]
|
|
192
|
+
], template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n <span class=\"addon-slot prefix\">\n <ng-content select=\"[dsInputPrefix]\"></ng-content>\n </span>\n\n <input\n #control\n [id]=\"uid\"\n [type]=\"effectiveType()\"\n [attr.name]=\"name()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.step]=\"step()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.autofocus]=\"autofocus() ? '' : null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.enterkeyhint]=\"enterKeyHint()\"\n [attr.inputmode]=\"inputMode()\"\n [attr.maxlength]=\"maxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [(ngModel)]=\"value\"\n (blur)=\"blurred.emit(); markTouched()\" />\n\n @if (\n canClear() &&\n value() &&\n !isDisabled()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().field.clearInput\"\n (click)=\"clear()\">\n </button>\n }\n\n @if (showPasswordToggle()) {\n <button\n type=\"button\"\n class=\"password-toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"\n passwordVisible()\n ? intl().field.hidePassword\n : intl().field.showPassword\n \"\n (click)=\"togglePassword()\">\n <ds-icon\n [name]=\"passwordVisible() ? 'eye-off' : 'eye'\"\n [size]=\"16\" />\n </button>\n }\n\n @if (loading()) {\n <ds-spinner size=\"sm\" />\n }\n\n <span class=\"addon-slot suffix\">\n <ng-content select=\"[dsInputSuffix]\"></ng-content>\n </span>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n </span>\n }\n </div>\n }\n</div>\n", styles: [":host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-padding-y: var(--ds-input-padding-y, var(--field-pad-y));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-label-color: var(--ds-input-label-color, var(--ds-field-label-color, var(--text-secondary)));--_input-label-font-size: var(--ds-input-label-font-size, var(--ds-field-label-font-size, var(--font-size-xs)));--_input-label-font-weight: var(--ds-input-label-font-weight, var(--ds-field-label-font-weight, var(--font-weight-bold)));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_input-clear-color: var(--ds-input-clear-color, var(--text-secondary));display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing);--_field-label-font-size: var(--_input-label-font-size);--_field-label-font-weight: var(--_input-label-font-weight);--_field-label-color: var(--_input-label-color)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:center;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:var(--_input-padding-y) var(--_input-padding-x);--_field-height: var(--ds-field-height, var(--field-h-md));height:var(--_field-height);transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control input{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control input{outline:none}}.field .control input{background:transparent;font:var(--font-weight-regular) var(--_input-font-size)/var(--line-height-base) var(--font-sans);color:var(--_input-text-color)}.field .control input::placeholder{color:var(--_input-placeholder)}.field .control input[type=search]::-webkit-search-cancel-button,.field .control input[type=search]::-webkit-search-decoration{display:none;appearance:none}.field .control .clear-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--icon-md);height:var(--icon-md);padding:0;border:0;background-color:var(--_input-clear-color);cursor:pointer;flex-shrink:0;transition:background-color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard);-webkit-mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat;mask:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>\") center/contain no-repeat}.field .control .clear-btn:hover{background-color:var(--text-primary)}.field .control .clear-btn:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control .clear-btn:active:not(:disabled,[disabled],.is-disabled,.disabled,[aria-disabled=true]){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.field .control .password-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--text-tertiary);cursor:pointer;flex-shrink:0;transition:color var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard)}.field .control .password-toggle:hover{color:var(--text-primary)}.field .control .password-toggle:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--radius-sm)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control input:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled input{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control input{cursor:default}.field.sm .control{--_field-height: var(--ds-field-height, var(--field-h-sm));height:var(--_field-height);padding:0 var(--space-2)}.field.lg .control{--_field-height: var(--ds-field-height, var(--field-h-lg));height:var(--_field-height)}.field .addon-slot{display:inline-flex;align-items:center;align-self:stretch;color:var(--text-tertiary);flex-shrink:0}.field .addon-slot:empty{display:none}.field ::ng-deep .addon{display:inline-flex;align-items:center;padding:0 var(--space-3);margin:calc(var(--field-affix-overlap) * -1);background:var(--surface-secondary);color:var(--text-secondary);font:var(--font-weight-medium) var(--font-size-s)/var(--line-height-flat) var(--font-sans);align-self:stretch;border-right:var(--border-width-default) solid var(--border-divider)}.field ::ng-deep .addon.right{border-right:0;border-left:var(--border-width-default) solid var(--border-divider)}.field:has(.addon-slot.prefix .addon) .control{padding-left:0}.field:has(.addon-slot.suffix .addon) .control{padding-right:0}.field .addon-slot.prefix ::ng-deep .addon{border-top-left-radius:var(--_input-radius);border-bottom-left-radius:var(--_input-radius)}.field .addon-slot.suffix ::ng-deep .addon.right{border-top-right-radius:var(--_input-radius);border-bottom-right-radius:var(--_input-radius)}.field .control ds-spinner{flex-shrink:0}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}:host(.in-group){width:auto;display:flex}:host(.in-group) .label,:host(.in-group) ds-field-message{display:none}:host(.in-group) .control{border:0;border-radius:0;background:transparent;flex:1;height:auto}:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{border:0;box-shadow:none}@media not (forced-colors:active){:host(.in-group) .control:hover,:host(.in-group) .control:focus,:host(.in-group) .control:focus-visible,:host(.in-group) .control:focus-within{outline:none}}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-warning)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--ds-field-focus-shadow-success)}\n"] }]
|
|
193
193
|
}], propDecorators: { control: [{ type: i0.ViewChild, args: ['control', { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], readonlyBinding: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], success: [{ type: i0.Input, args: [{ isSignal: true, alias: "success", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], optional: [{ type: i0.Input, args: [{ isSignal: true, alias: "optional", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], enterKeyHint: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterKeyHint", required: false }] }], inputMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputMode", required: false }] }], blurred: [{ type: i0.Output, args: ["blurred"] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], passwordToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "passwordToggle", required: false }] }], passwordVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "passwordVisible", required: false }] }, { type: i0.Output, args: ["passwordVisibleChange"] }] } });
|
|
194
194
|
|
|
195
195
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-components-input.mjs","sources":["../../../src/lib/components/input/input.component.ts","../../../src/lib/components/input/input.component.html","../../../src/lib/components/input/ids-group-ltd-ids-design-system-components-input.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport { DS_INTL, optionalBound } from '@ids-group-ltd/ids-design-system/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nimport { DsControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';\nimport { FieldMessageComponent } from '@ids-group-ltd/ids-design-system/components/field-message';\nimport {\n resolveFieldMessage,\n trimmedText,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { nextControlId } from '@ids-group-ltd/ids-design-system/components';\nimport { FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';\nimport type { InputType } from './input.types';\nimport type { DsSize } from '@ids-group-ltd/ids-design-system/core';\nimport {\n describedByIds,\n groupInvalid,\n groupMessageId,\n inFieldGroup,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n@Component({\n selector: 'ds-input',\n standalone: true,\n imports: [\n FormsModule,\n IconComponent,\n SpinnerComponent,\n FieldMessageComponent,\n FieldClickFocusDirective,\n ],\n host: {\n '[attr.data-field-state]': 'controlState()',\n '[class.in-group]': 'inGroup',\n },\n templateUrl: './input.component.html',\n styleUrl: './input.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InputComponent),\n multi: true,\n },\n ],\n})\nexport class InputComponent extends DsControlValueAccessor<string> {\n protected readonly intl = inject(DS_INTL);\n private readonly control = viewChild<ElementRef<HTMLInputElement>>('control');\n protected readonly inGroup = inFieldGroup();\n\n /** Text value, two-way bound. */\n readonly value = model<string>('');\n /** Native input type; also drives the default clear button and password toggle. */\n readonly type = input<InputType>('text');\n /** Field height; falls back to `DS_CONFIG.control.size`, then `'md'`. */\n readonly size = input<DsSize | null>(null);\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.control?.size,\n 'md' as DsSize,\n );\n /** Label shown above the field. */\n readonly label = input<string>('');\n /** Placeholder shown when empty. */\n readonly placeholder = input<string>('');\n /** Disables the field and blocks all interaction. */\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Prevents editing while still allowing focus and selection. */\n readonly readOnly = input(false, { transform: booleanAttribute });\n /** The contract spelling of `readOnly`: signal forms binds by NAME, so a `readonly()` rule reaches nothing without it. */\n readonly readonlyBinding = input(false, {\n // eslint-disable-next-line @angular-eslint/no-input-rename\n alias: 'readonly',\n transform: booleanAttribute,\n });\n protected readonly isReadOnly = computed(\n () => this.readOnly() || this.readonlyBinding(),\n );\n /** Confirmation text, shown when there is no error or warning; paints the success border. */\n readonly success = input<string, string | null | undefined>('', {\n transform: trimmedText,\n });\n /** Shows a trailing spinner, e.g. while async validation runs. The input stays editable. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Marks the field required - shows an asterisk and sets `aria-required`. */\n readonly required = input(false, { transform: booleanAttribute });\n /** Shows an \"(optional)\" marker next to the label (ignored when `required`). */\n readonly optional = input(false, { transform: booleanAttribute });\n /** Native `name` attribute. */\n readonly name = input<string | null>(null);\n /** Native `min` attribute - applies when `type=\"number\"`. */\n readonly min = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `max` attribute - applies when `type=\"number\"`. */\n readonly max = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `step` attribute - applies when `type=\"number\"`. */\n readonly step = input<number | null>(null);\n /** Native autocomplete token (e.g. \"email\", \"current-password\"). */\n readonly autocomplete = input<string | null>(null);\n /** Focuses the field automatically on render. */\n readonly autofocus = input(false, { transform: booleanAttribute });\n /** Accessible name when no visible `label` is provided; falls back to the placeholder. */\n readonly ariaLabel = input<string | null>(null);\n /** Extra element ids to describe the control with, merged with the field's own message id. Set on the inner `<input>`; on the host it would reach no screen reader. */\n readonly ariaDescribedBy = input<string | null>(null);\n /** Hard character cap: native maxlength plus a live \"{current}/{max}\" counter. */\n readonly maxLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n // Signal forms binds these by name; without them the native element advertises no rule.\n /** Native `minlength` attribute. */\n readonly minLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `pattern` attribute - signal forms sends the schema's RegExp list. */\n readonly pattern = input<\n readonly RegExp[],\n readonly RegExp[] | string | undefined\n >([], {\n transform: (value) =>\n value === undefined\n ? []\n : typeof value === 'string'\n ? [new RegExp(value)]\n : value,\n });\n /** Native `enterkeyhint` attribute: labels the on-screen Enter key. */\n readonly enterKeyHint = input<\n 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | null\n >(null);\n /** Native `inputmode` attribute - hints the on-screen keyboard layout. */\n readonly inputMode = input<\n | 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'\n | null\n >(null);\n /** Emits when the native input loses focus. */\n readonly blurred = output<void>();\n /** Shows a clear (×) button on a non-empty value. Defaults to true for `type=\"search\"`, false otherwise. */\n readonly clearable = input<boolean | null>(null);\n\n /** Shows a show/hide button when `type=\"password\"`. */\n readonly passwordToggle = input(false, { transform: booleanAttribute });\n /** Whether the password is currently shown as plain text, two-way bound. */\n readonly passwordVisible = model<boolean>(false);\n\n protected readonly canClear = computed<boolean>(() => {\n const explicit = this.clearable();\n if (explicit !== null) {\n return explicit;\n }\n\n return this.type() === 'search';\n });\n\n /** A native `pattern` takes one expression; several are ANDed with lookaheads. */\n protected readonly patternAttribute = computed(() => {\n const expressions = this.pattern();\n if (!expressions.length) {\n return null;\n }\n\n return (\n expressions.map((expression) => `(?=${expression.source})`).join('') +\n '.*'\n );\n });\n protected readonly uid = nextControlId('ds-input');\n protected readonly hintId = computed(() =>\n this.message().text ? `${this.uid}-hint` : null,\n );\n protected readonly describedBy = computed(() => {\n return describedByIds(\n this.hintId(),\n this.groupMessage(),\n this.ariaDescribedBy(),\n );\n });\n private readonly fieldMessage = resolveFieldMessage({\n disabled: () => this.isDisabled(),\n hint: this.hint,\n warning: this.warning,\n error: this.error,\n errors: this.errors,\n invalid: this.invalid,\n success: this.success,\n touchedSelf: this.touchedSelf,\n touched: this.touched,\n });\n protected readonly message = this.fieldMessage.message;\n protected readonly controlState = this.fieldMessage.controlState;\n protected readonly groupMessage = groupMessageId();\n protected readonly invalidResolved = groupInvalid(this.fieldMessage.invalid);\n /** Only name via aria-label when there's no visible `<label for>`. */\n protected readonly resolvedAriaLabel = computed(() =>\n this.label() ? null : this.ariaLabel() || this.placeholder() || null,\n );\n\n protected readonly isDisabled = computed(\n () => this.disabled() || this.formDisabled(),\n );\n\n protected readonly currentLength = computed(() => this.value().length);\n protected readonly counterId = computed(() =>\n this.maxLength() !== null ? `${this.uid}-counter` : null,\n );\n\n protected readonly showPasswordToggle = computed<boolean>(\n () =>\n this.passwordToggle() && this.type() === 'password' && !this.isDisabled(),\n );\n\n protected readonly effectiveType = computed<InputType>(() =>\n this.passwordToggle() &&\n this.type() === 'password' &&\n this.passwordVisible()\n ? 'text'\n : this.type(),\n );\n\n protected togglePassword(): void {\n this.passwordVisible.update((visible) => !visible);\n }\n\n protected readonly wrapperClasses = computed(() => {\n const parts = ['field'];\n if (this.sizeResolved() === 'sm') {\n parts.push('sm');\n }\n if (this.sizeResolved() === 'lg') {\n parts.push('lg');\n }\n if (this.invalidResolved()) {\n parts.push('error');\n } else if (this.success().trim()) {\n parts.push('success');\n }\n if (this.isDisabled()) {\n parts.push('disabled');\n }\n if (this.isReadOnly()) {\n parts.push('read-only');\n }\n if (this.loading()) {\n parts.push('loading');\n }\n\n return parts.join(' ');\n });\n\n /** Moves keyboard focus to the native input. */\n override focus(options?: FocusOptions): void {\n this.control()?.nativeElement.focus(options);\n }\n\n protected clear(): void {\n this.value.set('');\n }\n}\n","<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n <span class=\"addon-slot prefix\">\n <ng-content select=\"[dsInputPrefix]\"></ng-content>\n </span>\n\n <input\n #control\n [id]=\"uid\"\n [type]=\"effectiveType()\"\n [attr.name]=\"name()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.step]=\"step()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.autofocus]=\"autofocus() ? '' : null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.enterkeyhint]=\"enterKeyHint()\"\n [attr.inputmode]=\"inputMode()\"\n [attr.maxlength]=\"maxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [(ngModel)]=\"value\"\n (blur)=\"blurred.emit(); markTouched()\" />\n\n @if (\n canClear() &&\n value() &&\n !isDisabled()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().field.clearInput\"\n (click)=\"clear()\">\n </button>\n }\n\n @if (showPasswordToggle()) {\n <button\n type=\"button\"\n class=\"password-toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"\n passwordVisible()\n ? intl().field.hidePassword\n : intl().field.showPassword\n \"\n (click)=\"togglePassword()\">\n <ds-icon\n [name]=\"passwordVisible() ? 'eye-off' : 'eye'\"\n [size]=\"16\" />\n </button>\n }\n\n @if (loading()) {\n <ds-spinner size=\"sm\" />\n }\n\n <span class=\"addon-slot suffix\">\n <ng-content select=\"[dsInputSuffix]\"></ng-content>\n </span>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n </span>\n }\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AA4DM,MAAO,cAAe,SAAQ,sBAA8B,CAAA;AAC7C,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;AACxB,IAAA,OAAO,GAAG,SAAS,CAA+B,SAAS,8EAAC;IAC1D,OAAO,GAAG,YAAY,EAAE;;AAGlC,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;AAEzB,IAAA,IAAI,GAAG,KAAK,CAAY,MAAM,2EAAC;;AAE/B,IAAA,IAAI,GAAG,KAAK,CAAgB,IAAI,2EAAC;IACjC,YAAY,GAAG,iBAAiB,CACvC,IAAI,CAAC,IAAI,EACT,CAAC,MAAM,KAAK,MAAM,CAAC,OAAO,EAAE,IAAI,EAChC,IAAc,CACf;;AAEQ,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;AAEzB,IAAA,WAAW,GAAG,KAAK,CAAS,EAAE,kFAAC;;IAE/B,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAExD,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAExD,eAAe,GAAG,KAAK,CAAC,KAAK,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,iBAAA,EAAA,8BAAA,EAAA,CAAA;;AAEpC,QAAA,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,gBAAgB,EAAA,CAC3B;AACiB,IAAA,UAAU,GAAG,QAAQ,CACtC,MAAM,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,eAAe,EAAE,iFAChD;;IAEQ,OAAO,GAAG,KAAK,CAAoC,EAAE,+EAC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,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9D9E;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-components-input.mjs","sources":["../../../src/lib/components/input/input.component.ts","../../../src/lib/components/input/input.component.html","../../../src/lib/components/input/ids-group-ltd-ids-design-system-components-input.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport { DS_INTL, optionalBound } from '@ids-group-ltd/ids-design-system/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nimport { DsControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';\nimport { FieldMessageComponent } from '@ids-group-ltd/ids-design-system/components/field-message';\nimport {\n resolveFieldMessage,\n trimmedText,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { nextControlId } from '@ids-group-ltd/ids-design-system/components';\nimport { FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';\nimport type { InputType } from './input.types';\nimport type { DsSize } from '@ids-group-ltd/ids-design-system/core';\nimport {\n describedByIds,\n groupInvalid,\n groupMessageId,\n inFieldGroup,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n@Component({\n selector: 'ds-input',\n standalone: true,\n imports: [\n FormsModule,\n IconComponent,\n SpinnerComponent,\n FieldMessageComponent,\n FieldClickFocusDirective,\n ],\n host: {\n '[attr.data-field-state]': 'controlState()',\n '[class.in-group]': 'inGroup',\n },\n templateUrl: './input.component.html',\n styleUrl: './input.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InputComponent),\n multi: true,\n },\n ],\n})\nexport class InputComponent extends DsControlValueAccessor<string> {\n protected readonly intl = inject(DS_INTL);\n private readonly control = viewChild<ElementRef<HTMLInputElement>>('control');\n protected readonly inGroup = inFieldGroup();\n\n /** Text value, two-way bound. */\n readonly value = model<string>('');\n /** Native input type; also drives the default clear button and password toggle. */\n readonly type = input<InputType>('text');\n /** Field height; falls back to `DS_CONFIG.control.size`, then `'md'`. */\n readonly size = input<DsSize | null>(null);\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.control?.size,\n 'md' as DsSize,\n );\n /** Label shown above the field. */\n readonly label = input<string>('');\n /** Placeholder shown when empty. */\n readonly placeholder = input<string>('');\n /** Disables the field and blocks all interaction. */\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Prevents editing while still allowing focus and selection. */\n readonly readOnly = input(false, { transform: booleanAttribute });\n /** The contract spelling of `readOnly`: signal forms binds by NAME, so a `readonly()` rule reaches nothing without it. */\n readonly readonlyBinding = input(false, {\n // eslint-disable-next-line @angular-eslint/no-input-rename\n alias: 'readonly',\n transform: booleanAttribute,\n });\n protected readonly isReadOnly = computed(\n () => this.readOnly() || this.readonlyBinding(),\n );\n /** Confirmation text, shown when there is no error or warning; paints the success border. */\n readonly success = input<string, string | null | undefined>('', {\n transform: trimmedText,\n });\n /** Shows a trailing spinner, e.g. while async validation runs. The input stays editable. */\n readonly loading = input(false, { transform: booleanAttribute });\n /** Marks the field required - shows an asterisk and sets `aria-required`. */\n readonly required = input(false, { transform: booleanAttribute });\n /** Shows an \"(optional)\" marker next to the label (ignored when `required`). */\n readonly optional = input(false, { transform: booleanAttribute });\n /** Native `name` attribute. */\n readonly name = input<string | null>(null);\n /** Native `min` attribute - applies when `type=\"number\"`. */\n readonly min = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `max` attribute - applies when `type=\"number\"`. */\n readonly max = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `step` attribute - applies when `type=\"number\"`. */\n readonly step = input<number | null>(null);\n /** Native autocomplete token (e.g. \"email\", \"current-password\"). */\n readonly autocomplete = input<string | null>(null);\n /** Focuses the field automatically on render. */\n readonly autofocus = input(false, { transform: booleanAttribute });\n /** Accessible name when no visible `label` is provided; falls back to the placeholder. */\n readonly ariaLabel = input<string | null>(null);\n /** Extra element ids to describe the control with, merged with the field's own message id. Set on the inner `<input>`; on the host it would reach no screen reader. */\n readonly ariaDescribedBy = input<string | null>(null);\n /** Hard character cap: native maxlength plus a live \"{current}/{max}\" counter. */\n readonly maxLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n // Signal forms binds these by name; without them the native element advertises no rule.\n /** Native `minlength` attribute. */\n readonly minLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `pattern` attribute - signal forms sends the schema's RegExp list. */\n readonly pattern = input<\n readonly RegExp[],\n readonly RegExp[] | string | undefined\n >([], {\n transform: (value) =>\n value === undefined\n ? []\n : typeof value === 'string'\n ? [new RegExp(value)]\n : value,\n });\n /** Native `enterkeyhint` attribute: labels the on-screen Enter key. */\n readonly enterKeyHint = input<\n 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | null\n >(null);\n /** Native `inputmode` attribute - hints the on-screen keyboard layout. */\n readonly inputMode = input<\n | 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'\n | null\n >(null);\n /** Emits when the native input loses focus. */\n readonly blurred = output<void>();\n /** Shows a clear (×) button on a non-empty value. Defaults to true for `type=\"search\"`, false otherwise. */\n readonly clearable = input<boolean | null>(null);\n\n /** Shows a show/hide button when `type=\"password\"`. */\n readonly passwordToggle = input(false, { transform: booleanAttribute });\n /** Whether the password is currently shown as plain text, two-way bound. */\n readonly passwordVisible = model<boolean>(false);\n\n protected readonly canClear = computed<boolean>(() => {\n const explicit = this.clearable();\n if (explicit !== null) {\n return explicit;\n }\n\n return this.type() === 'search';\n });\n\n /** A native `pattern` takes one expression; several are ANDed with lookaheads. */\n protected readonly patternAttribute = computed(() => {\n const expressions = this.pattern();\n if (!expressions.length) {\n return null;\n }\n\n return (\n expressions.map((expression) => `(?=${expression.source})`).join('') +\n '.*'\n );\n });\n protected readonly uid = nextControlId('ds-input');\n protected readonly hintId = computed(() =>\n this.message().text ? `${this.uid}-hint` : null,\n );\n protected readonly describedBy = computed(() => {\n return describedByIds(\n this.hintId(),\n this.groupMessage(),\n this.ariaDescribedBy(),\n );\n });\n private readonly fieldMessage = resolveFieldMessage({\n disabled: () => this.isDisabled(),\n hint: this.hint,\n warning: this.warning,\n error: this.error,\n errors: this.errors,\n invalid: this.invalid,\n success: this.success,\n touchedSelf: this.touchedSelf,\n touched: this.touched,\n });\n protected readonly message = this.fieldMessage.message;\n protected readonly controlState = this.fieldMessage.controlState;\n protected readonly groupMessage = groupMessageId();\n protected readonly invalidResolved = groupInvalid(this.fieldMessage.invalid);\n /** Only name via aria-label when there's no visible `<label for>`. */\n protected readonly resolvedAriaLabel = computed(() =>\n this.label() ? null : this.ariaLabel() || this.placeholder() || null,\n );\n\n protected readonly isDisabled = computed(\n () => this.disabled() || this.formDisabled(),\n );\n\n protected readonly currentLength = computed(() => this.value().length);\n protected readonly counterId = computed(() =>\n this.maxLength() !== null ? `${this.uid}-counter` : null,\n );\n\n protected readonly showPasswordToggle = computed<boolean>(\n () =>\n this.passwordToggle() && this.type() === 'password' && !this.isDisabled(),\n );\n\n protected readonly effectiveType = computed<InputType>(() =>\n this.passwordToggle() &&\n this.type() === 'password' &&\n this.passwordVisible()\n ? 'text'\n : this.type(),\n );\n\n protected togglePassword(): void {\n this.passwordVisible.update((visible) => !visible);\n }\n\n protected readonly wrapperClasses = computed(() => {\n const parts = ['field'];\n if (this.sizeResolved() === 'sm') {\n parts.push('sm');\n }\n if (this.sizeResolved() === 'lg') {\n parts.push('lg');\n }\n if (this.invalidResolved()) {\n parts.push('error');\n } else if (this.success().trim()) {\n parts.push('success');\n }\n if (this.isDisabled()) {\n parts.push('disabled');\n }\n if (this.isReadOnly()) {\n parts.push('read-only');\n }\n if (this.loading()) {\n parts.push('loading');\n }\n\n return parts.join(' ');\n });\n\n /** Moves keyboard focus to the native input. */\n override focus(options?: FocusOptions): void {\n this.control()?.nativeElement.focus(options);\n }\n\n protected clear(): void {\n this.value.set('');\n }\n}\n","<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n <span class=\"addon-slot prefix\">\n <ng-content select=\"[dsInputPrefix]\"></ng-content>\n </span>\n\n <input\n #control\n [id]=\"uid\"\n [type]=\"effectiveType()\"\n [attr.name]=\"name()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.step]=\"step()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.autofocus]=\"autofocus() ? '' : null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.enterkeyhint]=\"enterKeyHint()\"\n [attr.inputmode]=\"inputMode()\"\n [attr.maxlength]=\"maxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [(ngModel)]=\"value\"\n (blur)=\"blurred.emit(); markTouched()\" />\n\n @if (\n canClear() &&\n value() &&\n !isDisabled()\n ) {\n <button\n type=\"button\"\n class=\"clear-btn\"\n [attr.aria-label]=\"intl().field.clearInput\"\n (click)=\"clear()\">\n </button>\n }\n\n @if (showPasswordToggle()) {\n <button\n type=\"button\"\n class=\"password-toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"\n passwordVisible()\n ? intl().field.hidePassword\n : intl().field.showPassword\n \"\n (click)=\"togglePassword()\">\n <ds-icon\n [name]=\"passwordVisible() ? 'eye-off' : 'eye'\"\n [size]=\"16\" />\n </button>\n }\n\n @if (loading()) {\n <ds-spinner size=\"sm\" />\n }\n\n <span class=\"addon-slot suffix\">\n <ng-content select=\"[dsInputSuffix]\"></ng-content>\n </span>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n </span>\n }\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AA4DM,MAAO,cAAe,SAAQ,sBAA8B,CAAA;AAC7C,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;AACxB,IAAA,OAAO,GAAG,SAAS,CAA+B,SAAS,8EAAC;IAC1D,OAAO,GAAG,YAAY,EAAE;;AAGlC,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;AAEzB,IAAA,IAAI,GAAG,KAAK,CAAY,MAAM,2EAAC;;AAE/B,IAAA,IAAI,GAAG,KAAK,CAAgB,IAAI,2EAAC;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A,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,WAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,WAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9D9E;;AAEG;;;;"}
|
|
@@ -43,13 +43,13 @@ class ContainerComponent {
|
|
|
43
43
|
/** Max content width before the container centres itself. `full` removes the cap. */
|
|
44
44
|
size = input('xl', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
45
45
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: ContainerComponent, isStandalone: true, selector: "ds-container", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-size": "size()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{--_container-max-width: var(--ds-container-max-width, var(--
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: ContainerComponent, isStandalone: true, selector: "ds-container", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-size": "size()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{--_container-size-width: var(--col-cap-content);--_container-max-width: var(--ds-container-max-width, var(--_container-size-width));--_container-padding-x: var( --ds-container-padding-x, clamp(var(--space-4), 4vw, var(--space-6)) );display:block;max-width:var(--_container-max-width);margin-inline:auto;padding-inline:var(--_container-padding-x)}:host([data-size=sm]){--_container-size-width: var(--bp-sm)}:host([data-size=md]){--_container-size-width: var(--bp-md)}:host([data-size=lg]){--_container-size-width: var(--bp-lg)}:host([data-size=xl]){--_container-size-width: var(--col-cap-content)}:host([data-size=full]){--_container-size-width: none}\n"] });
|
|
47
47
|
}
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{ selector: 'ds-container', standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.Emulated, host: {
|
|
51
51
|
'[attr.data-size]': 'size()',
|
|
52
|
-
}, styles: [":host{--_container-max-width: var(--ds-container-max-width, var(--
|
|
52
|
+
}, styles: [":host{--_container-size-width: var(--col-cap-content);--_container-max-width: var(--ds-container-max-width, var(--_container-size-width));--_container-padding-x: var( --ds-container-padding-x, clamp(var(--space-4), 4vw, var(--space-6)) );display:block;max-width:var(--_container-max-width);margin-inline:auto;padding-inline:var(--_container-padding-x)}:host([data-size=sm]){--_container-size-width: var(--bp-sm)}:host([data-size=md]){--_container-size-width: var(--bp-md)}:host([data-size=lg]){--_container-size-width: var(--bp-lg)}:host([data-size=xl]){--_container-size-width: var(--col-cap-content)}:host([data-size=full]){--_container-size-width: none}\n"] }]
|
|
53
53
|
}], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-components-layout.mjs","sources":["../../../src/lib/components/layout/stack.component.ts","../../../src/lib/components/layout/inline.component.ts","../../../src/lib/components/layout/container.component.ts","../../../src/lib/components/layout/ids-group-ltd-ids-design-system-components-layout.ts"],"sourcesContent":["import { Component, ViewEncapsulation, input } from '@angular/core';\nimport type { LayoutAlign, LayoutGap } from './layout.types';\n\n@Component({\n selector: 'ds-stack',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './stack.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.data-gap]': 'gap()',\n '[attr.data-align]': 'align()',\n },\n})\nexport class StackComponent {\n /** Space between children. `null` inherits whatever the enclosing layout set. */\n readonly gap = input<LayoutGap | null>(null);\n /** Cross-axis alignment: horizontal, for a column. */\n readonly align = input<LayoutAlign | null>(null);\n}\n","import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n} from '@angular/core';\nimport type { LayoutAlign, LayoutGap, LayoutJustify } from './layout.types';\n\n@Component({\n selector: 'ds-inline',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './inline.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.data-gap]': 'gap()',\n '[attr.data-align]': 'align()',\n '[attr.data-justify]': 'justify()',\n '[class.nowrap]': '!wrap()',\n },\n})\nexport class InlineComponent {\n /** Space between children. `null` inherits whatever the enclosing layout set. */\n readonly gap = input<LayoutGap | null>(null);\n /** Cross-axis alignment: vertical, for a row. */\n readonly align = input<LayoutAlign | null>(null);\n /** Main-axis distribution: horizontal, for a row. `between` pushes the ends apart. */\n readonly justify = input<LayoutJustify | null>(null);\n /** Let the row wrap onto more lines (default). `false` keeps one line and lets it overflow. */\n readonly wrap = input(true, { transform: booleanAttribute });\n}\n","import { Component, ViewEncapsulation, input } from '@angular/core';\nimport type { ContainerSize } from './layout.types';\n\n@Component({\n selector: 'ds-container',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './container.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.data-size]': 'size()',\n },\n})\nexport class ContainerComponent {\n /** Max content width before the container centres itself. `full` removes the cap. */\n readonly size = input<ContainerSize>('xl');\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAca,cAAc,CAAA;;AAEhB,IAAA,GAAG,GAAG,KAAK,CAAmB,IAAI,0EAAC;;AAEnC,IAAA,KAAK,GAAG,KAAK,CAAqB,IAAI,4EAAC;wGAJrC,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,4YARf,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,slBAAA,CAAA,EAAA,CAAA;;4FAQ1B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,SAAS;+BACE,UAAU,EAAA,UAAA,EACR,IAAI,EAAA,QAAA,EACN,2BAA2B,iBAEtB,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,iBAAiB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,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,+PAPnB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-components-layout.mjs","sources":["../../../src/lib/components/layout/stack.component.ts","../../../src/lib/components/layout/inline.component.ts","../../../src/lib/components/layout/container.component.ts","../../../src/lib/components/layout/ids-group-ltd-ids-design-system-components-layout.ts"],"sourcesContent":["import { Component, ViewEncapsulation, input } from '@angular/core';\nimport type { LayoutAlign, LayoutGap } from './layout.types';\n\n@Component({\n selector: 'ds-stack',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './stack.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.data-gap]': 'gap()',\n '[attr.data-align]': 'align()',\n },\n})\nexport class StackComponent {\n /** Space between children. `null` inherits whatever the enclosing layout set. */\n readonly gap = input<LayoutGap | null>(null);\n /** Cross-axis alignment: horizontal, for a column. */\n readonly align = input<LayoutAlign | null>(null);\n}\n","import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n input,\n} from '@angular/core';\nimport type { LayoutAlign, LayoutGap, LayoutJustify } from './layout.types';\n\n@Component({\n selector: 'ds-inline',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './inline.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.data-gap]': 'gap()',\n '[attr.data-align]': 'align()',\n '[attr.data-justify]': 'justify()',\n '[class.nowrap]': '!wrap()',\n },\n})\nexport class InlineComponent {\n /** Space between children. `null` inherits whatever the enclosing layout set. */\n readonly gap = input<LayoutGap | null>(null);\n /** Cross-axis alignment: vertical, for a row. */\n readonly align = input<LayoutAlign | null>(null);\n /** Main-axis distribution: horizontal, for a row. `between` pushes the ends apart. */\n readonly justify = input<LayoutJustify | null>(null);\n /** Let the row wrap onto more lines (default). `false` keeps one line and lets it overflow. */\n readonly wrap = input(true, { transform: booleanAttribute });\n}\n","import { Component, ViewEncapsulation, input } from '@angular/core';\nimport type { ContainerSize } from './layout.types';\n\n@Component({\n selector: 'ds-container',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './container.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[attr.data-size]': 'size()',\n },\n})\nexport class ContainerComponent {\n /** Max content width before the container centres itself. `full` removes the cap. */\n readonly size = input<ContainerSize>('xl');\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAca,cAAc,CAAA;;AAEhB,IAAA,GAAG,GAAG,KAAK,CAAmB,IAAI,0EAAC;;AAEnC,IAAA,KAAK,GAAG,KAAK,CAAqB,IAAI,4EAAC;wGAJrC,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,4YARf,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,slBAAA,CAAA,EAAA,CAAA;;4FAQ1B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,SAAS;+BACE,UAAU,EAAA,UAAA,EACR,IAAI,EAAA,QAAA,EACN,2BAA2B,iBAEtB,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,iBAAiB,EAAE,OAAO;AAC1B,wBAAA,mBAAmB,EAAE,SAAS;AAC/B,qBAAA,EAAA,MAAA,EAAA,CAAA,slBAAA,CAAA,EAAA;;;MCSU,eAAe,CAAA;;AAEjB,IAAA,GAAG,GAAG,KAAK,CAAmB,IAAI,0EAAC;;AAEnC,IAAA,KAAK,GAAG,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