@aeris-ui/core 22.0.0-alpha.11 → 22.0.0-alpha.13
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/README.md +3 -3
- package/fesm2022/aeris-ui-core-accordion.mjs +14 -14
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +21 -20
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
- package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
- package/fesm2022/aeris-ui-core-badge.mjs +6 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
- package/fesm2022/aeris-ui-core-button-forms.mjs +3 -3
- package/fesm2022/aeris-ui-core-button-group.mjs +6 -6
- package/fesm2022/aeris-ui-core-button.mjs +9 -9
- package/fesm2022/aeris-ui-core-card.mjs +18 -18
- package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
- package/fesm2022/aeris-ui-core-cascade-select.mjs +17 -14
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +3 -3
- package/fesm2022/aeris-ui-core-checkbox.mjs +3 -3
- package/fesm2022/aeris-ui-core-chip.mjs +12 -12
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-code-block.mjs +3 -3
- package/fesm2022/aeris-ui-core-color-picker.mjs +6 -4
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +18 -18
- package/fesm2022/aeris-ui-core-compare.mjs +12 -12
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +53 -26
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +54 -27
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +7 -7
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/{aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs → aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs} +4 -4
- package/fesm2022/{aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map → aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs.map} +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +528 -151
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +16 -16
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +3 -3
- package/fesm2022/aeris-ui-core-drawer.mjs +16 -16
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +27 -14
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +5 -5
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +24 -24
- package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
- package/fesm2022/aeris-ui-core-galleria.mjs +35 -35
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
- package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
- package/fesm2022/aeris-ui-core-input-group.mjs +15 -15
- package/fesm2022/aeris-ui-core-input-mask.mjs +3 -3
- package/fesm2022/aeris-ui-core-input-number.mjs +3 -3
- package/fesm2022/aeris-ui-core-input-otp.mjs +19 -8
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +6 -6
- package/fesm2022/aeris-ui-core-kbd.mjs +9 -9
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-listbox.mjs +15 -15
- package/fesm2022/aeris-ui-core-mega-menu.mjs +6 -6
- package/fesm2022/aeris-ui-core-menu.mjs +16 -16
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +12 -12
- package/fesm2022/aeris-ui-core-message.mjs +9 -9
- package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
- package/fesm2022/aeris-ui-core-multi-select.mjs +36 -24
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +25 -25
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
- package/fesm2022/aeris-ui-core-organization-chart.mjs +117 -50
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +7 -5
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +15 -15
- package/fesm2022/aeris-ui-core-password.mjs +13 -13
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +9 -9
- package/fesm2022/aeris-ui-core-popover.mjs +16 -16
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
- package/fesm2022/aeris-ui-core-radio-button.mjs +3 -3
- package/fesm2022/aeris-ui-core-rating.mjs +15 -5
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
- package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
- package/fesm2022/aeris-ui-core-select-native.mjs +3 -3
- package/fesm2022/aeris-ui-core-select.mjs +41 -39
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +24 -24
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +23 -12
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
- package/fesm2022/aeris-ui-core-split-button.mjs +7 -7
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +6 -6
- package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +21 -21
- package/fesm2022/aeris-ui-core-tabs.mjs +12 -12
- package/fesm2022/aeris-ui-core-textarea.mjs +6 -6
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +3 -3
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +7 -7
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +15 -15
- package/fesm2022/aeris-ui-core-toast.mjs +69 -46
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
- package/fesm2022/aeris-ui-core-toolbar.mjs +30 -30
- package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
- package/fesm2022/aeris-ui-core-tree-select.mjs +37 -26
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +18 -18
- package/fesm2022/aeris-ui-core-tree.mjs +12 -12
- package/fesm2022/aeris-ui-core.mjs +40 -17
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/aeris-ui-core-code-block.d.ts +0 -4
- package/types/aeris-ui-core-confirm-dialog.d.ts +2 -0
- package/types/aeris-ui-core-confirm-popup.d.ts +2 -0
- package/types/aeris-ui-core-date-picker.d.ts +5 -44
- package/types/aeris-ui-core-drawer.d.ts +0 -6
- package/types/aeris-ui-core-dynamic-dialog.d.ts +1 -0
- package/types/aeris-ui-core-organization-chart.d.ts +6 -2
- package/types/aeris-ui-core-toast.d.ts +4 -2
- package/types/aeris-ui-core-tree-select.d.ts +1 -0
- package/types/aeris-ui-core.d.ts +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-rating.mjs","names":[],"sources":["../../../projects/aeris-ui/rating/aeris-rating.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n model,\n numberAttribute,\n output,\n signal,\n contentChild,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nexport type AerisRatingSize = 'xs' | 'sm' | 'md' | 'lg';\n\nexport interface AerisRatingChangeEvent {\n readonly originalEvent: PointerEvent | KeyboardEvent;\n readonly value: number;\n}\n\nlet ratingId = 0;\n\n@Component({\n selector: 'aeris-rating',\n imports: [NgTemplateOutlet],\n template: `\n <div\n class=\"aeris-rating\"\n [attr.data-size]=\"size()\"\n [attr.data-disabled]=\"effectiveDisabled() || null\"\n [attr.data-focused]=\"focusedState() || null\"\n [style.--aeris-rating-progress]=\"visualFillWidth()\"\n [style.--aeris-rating-max]=\"maxStars()\"\n >\n @if (name()) {\n <input type=\"hidden\" [name]=\"name()\" [value]=\"normalizedValue()\" />\n }\n\n <button\n #ratingControl\n class=\"aeris-rating__control\"\n type=\"button\"\n role=\"slider\"\n [id]=\"resolvedInputId()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [attr.aria-valuemin]=\"allowClear() ? 0 : effectiveStep()\"\n [attr.aria-valuemax]=\"maxStars()\"\n [attr.aria-valuenow]=\"normalizedValue()\"\n [attr.aria-valuetext]=\"formattedValue()\"\n [attr.aria-required]=\"required() || null\"\n [disabled]=\"effectiveDisabled()\"\n (pointerdown)=\"handlePointer($event)\"\n (pointermove)=\"handlePointerPreview($event)\"\n (pointerleave)=\"clearPreview()\"\n (keydown)=\"handleKeydown($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\"\n >\n <span class=\"aeris-rating__stars\" aria-hidden=\"true\">\n <span class=\"aeris-rating__layer aeris-rating__layer--empty\">\n @for (item of stars(); track item) {\n <span class=\"aeris-rating__star\">\n @if (inactiveIconTemplate(); as inactiveIcon) {\n <ng-container\n [ngTemplateOutlet]=\"inactiveIcon\"\n [ngTemplateOutletContext]=\"iconContext(item, false)\"\n />\n } @else {\n <svg viewBox=\"0 0 24 24\" focusable=\"false\" aria-hidden=\"true\">\n <path [attr.d]=\"starPath\" />\n </svg>\n }\n </span>\n }\n </span>\n <span class=\"aeris-rating__layer aeris-rating__layer--active\">\n <span class=\"aeris-rating__layer-inner\">\n @for (item of stars(); track item) {\n <span class=\"aeris-rating__star\">\n @if (activeIconTemplate(); as activeIcon) {\n <ng-container\n [ngTemplateOutlet]=\"activeIcon\"\n [ngTemplateOutletContext]=\"iconContext(item, true)\"\n />\n } @else {\n <svg viewBox=\"0 0 24 24\" focusable=\"false\" aria-hidden=\"true\">\n <path [attr.d]=\"starPath\" />\n </svg>\n }\n </span>\n }\n </span>\n </span>\n </span>\n </button>\n\n @if (showValue()) {\n <span class=\"aeris-rating__value\" aria-hidden=\"true\">\n {{ formattedValue() }}\n </span>\n }\n </div>\n `,\n styleUrl: './aeris-rating.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AerisRating),\n multi: true,\n },\n ],\n host: {\n '[attr.data-disabled]': 'effectiveDisabled() || null',\n },\n})\nexport class AerisRating implements ControlValueAccessor {\n protected readonly starPath =\n 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z';\n\n readonly value = model(0);\n readonly max = input(5, { transform: numberAttribute });\n readonly allowHalf = input(false, { transform: booleanAttribute });\n readonly allowClear = input(true, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly required = input(false, { transform: booleanAttribute });\n readonly size = input<AerisRatingSize>('md');\n readonly showValue = input(false, { transform: booleanAttribute });\n readonly name = input('');\n readonly inputId = input('');\n readonly ariaLabel = input('Rating');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly valueText = input<((value: number, max: number) => string) | null>(null);\n\n readonly changed = output<AerisRatingChangeEvent>();\n readonly focused = output<FocusEvent>();\n readonly blurred = output<FocusEvent>();\n readonly touch = output<void>();\n\n protected readonly formDisabled = signal(false);\n protected readonly previewValue = signal<number | null>(null);\n protected readonly focusedState = signal(false);\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly maxStars = computed(() => Math.max(1, Math.floor(this.max())));\n protected readonly effectiveStep = computed(() => (this.allowHalf() ? 0.5 : 1));\n protected readonly normalizedValue = computed(() => this.normalizeValue(this.value()));\n protected readonly visualValue = computed(() => this.previewValue() ?? this.normalizedValue());\n protected readonly visualFillWidth = computed(() => this.fillWidth(this.visualValue()));\n protected readonly formattedValue = computed(\n () =>\n this.valueText()?.(this.normalizedValue(), this.maxStars()) ??\n `${this.normalizedValue()} of ${this.maxStars()}`,\n );\n protected readonly stars = computed(() =>\n Array.from({ length: this.maxStars() }, (_, index) => index + 1),\n );\n\n private readonly control = viewChild<ElementRef<HTMLButtonElement>>('ratingControl');\n protected readonly activeIconTemplate =\n contentChild<TemplateRef<RatingIconContext>>('activeIcon');\n protected readonly inactiveIconTemplate =\n contentChild<TemplateRef<RatingIconContext>>('inactiveIcon');\n private readonly generatedId = `aeris-rating-${++ratingId}`;\n protected readonly resolvedInputId = computed(() => this.inputId() || this.generatedId);\n\n private onChange: (value: number) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n writeValue(value: unknown): void {\n this.value.set(this.coerceValue(value));\n }\n\n registerOnChange(callback: (value: number) => void): void {\n this.onChange = callback;\n }\n\n registerOnTouched(callback: () => void): void {\n this.onTouched = callback;\n }\n\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n\n focus(options?: FocusOptions): void {\n this.control()?.nativeElement.focus(options);\n }\n\n reset(): void {\n this.setValue(0);\n }\n\n clear(): void {\n if (!this.allowClear() || this.effectiveDisabled()) return;\n this.setValue(0);\n this.focus();\n }\n\n protected handlePointer(event: PointerEvent): void {\n if (this.effectiveDisabled()) return;\n event.preventDefault();\n const next = this.valueFromPointer(event);\n const value = this.allowClear() && next === this.normalizedValue() ? 0 : next;\n if (this.setValue(value)) {\n this.changed.emit({ originalEvent: event, value: this.normalizedValue() });\n }\n this.focus();\n }\n\n protected handlePointerPreview(event: PointerEvent): void {\n if (this.effectiveDisabled()) return;\n this.previewValue.set(this.valueFromPointer(event));\n }\n\n protected clearPreview(): void {\n this.previewValue.set(null);\n }\n\n protected iconContext(item: number, active: boolean): RatingIconContext {\n return {\n $implicit: item,\n index: item - 1,\n active,\n value: this.normalizedValue(),\n max: this.maxStars(),\n };\n }\n\n protected handleKeydown(event: KeyboardEvent): void {\n if (this.effectiveDisabled()) return;\n\n let next: number | null = null;\n if (event.key === 'ArrowRight' || event.key === 'ArrowUp') {\n next = this.normalizedValue() + this.effectiveStep();\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowDown') {\n next = this.normalizedValue() - this.effectiveStep();\n } else if (event.key === 'Home') {\n next = this.allowClear() ? 0 : this.effectiveStep();\n } else if (event.key === 'End') {\n next = this.maxStars();\n } else if (event.key === 'Backspace' || event.key === 'Delete') {\n if (this.allowClear()) next = 0;\n }\n\n if (next === null) return;\n event.preventDefault();\n if (this.setValue(next)) {\n this.changed.emit({ originalEvent: event, value: this.normalizedValue() });\n }\n }\n\n protected handleFocus(event: FocusEvent): void {\n this.focusedState.set(true);\n this.focused.emit(event);\n }\n\n protected handleBlur(event: FocusEvent): void {\n this.focusedState.set(false);\n this.previewValue.set(null);\n this.onTouched();\n this.touch.emit();\n this.blurred.emit(event);\n }\n\n private valueFromPointer(event: PointerEvent): number {\n const target = event.currentTarget as HTMLElement;\n const rect = target.getBoundingClientRect();\n const ratio = Math.min(1, Math.max(0, (event.clientX - rect.left) / Math.max(1, rect.width)));\n const raw = ratio * this.maxStars();\n if (this.allowHalf()) {\n return this.normalizeValue(raw);\n }\n return this.normalizeValue(Math.ceil(raw));\n }\n\n private setValue(value: number): boolean {\n const next = this.normalizeValue(value);\n if (next === this.normalizedValue()) return false;\n this.value.set(next);\n this.onChange(next);\n return true;\n }\n\n private fillWidth(value: number): string {\n const normalized = Math.min(this.maxStars(), Math.max(0, value));\n if (normalized <= 0) return '0px';\n\n const fullStars = Math.floor(normalized);\n const partialStar = Number((normalized - fullStars).toFixed(1));\n const starUnits = partialStar > 0 ? fullStars + partialStar : fullStars;\n const gapUnits = partialStar > 0 ? fullStars : Math.max(0, fullStars - 1);\n\n return `calc(${starUnits} * var(--_star-size) + ${gapUnits} * var(--_gap))`;\n }\n\n private normalizeValue(value: number): number {\n const min = this.allowClear() ? 0 : this.effectiveStep();\n const max = this.maxStars();\n const clamped = Math.min(max, Math.max(min, this.coerceValue(value)));\n const step = this.effectiveStep();\n return Number((Math.round(clamped / step) * step).toFixed(1));\n }\n\n private coerceValue(value: unknown): number {\n const number = Number(value);\n return Number.isFinite(number) ? number : 0;\n }\n}\n\ninterface RatingIconContext {\n readonly $implicit: number;\n readonly index: number;\n readonly active: boolean;\n readonly value: number;\n readonly max: number;\n}\n"],"mappings":";;;;AAyBA,IAAI,WAAW;AAiGf,IAAa,cAAb,MAAa,YAAW;CACH,WACjB;CAEO,QAAQ,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAChB,MAAM,MAAM,GAAC;EAAA,GAAA,YAAA,EAAA,WAAA,MAAA,+BAAA,CAAA;EAAI,WAAW;CAAe,CAAA;CAC3C,YAAY,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACtD,aAAa,MAAM,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,aAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACtD,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACrD,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACrD,OAAO,MAAuB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACnC,YAAY,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACtD,OAA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,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,iBAAe,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,oBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEpC,cAAY,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,sBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEZ,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-rating.mjs","names":[],"sources":["../../../projects/aeris-ui/rating/aeris-rating.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n model,\n numberAttribute,\n output,\n signal,\n contentChild,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nexport type AerisRatingSize = 'xs' | 'sm' | 'md' | 'lg';\n\nexport interface AerisRatingChangeEvent {\n readonly originalEvent: PointerEvent | KeyboardEvent;\n readonly value: number;\n}\n\nlet ratingId = 0;\n\n@Component({\n selector: 'aeris-rating',\n imports: [NgTemplateOutlet],\n template: `\n <div\n class=\"aeris-rating\"\n [attr.data-size]=\"size()\"\n [attr.data-disabled]=\"effectiveDisabled() || null\"\n [attr.data-focused]=\"focusedState() || null\"\n [style.--aeris-rating-progress]=\"visualFillWidth()\"\n [style.--aeris-rating-max]=\"maxStars()\"\n >\n @if (name()) {\n <input\n type=\"hidden\"\n [name]=\"name()\"\n [value]=\"normalizedValue()\"\n [disabled]=\"effectiveDisabled()\"\n />\n }\n\n <button\n #ratingControl\n class=\"aeris-rating__control\"\n type=\"button\"\n role=\"slider\"\n [id]=\"resolvedInputId()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [attr.aria-valuemin]=\"allowClear() ? 0 : effectiveStep()\"\n [attr.aria-valuemax]=\"maxStars()\"\n [attr.aria-valuenow]=\"normalizedValue()\"\n [attr.aria-valuetext]=\"formattedValue()\"\n [attr.aria-required]=\"required() || null\"\n [disabled]=\"effectiveDisabled()\"\n (pointerdown)=\"handlePointer($event)\"\n (pointermove)=\"handlePointerPreview($event)\"\n (pointerleave)=\"clearPreview()\"\n (keydown)=\"handleKeydown($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\"\n >\n <span class=\"aeris-rating__stars\" aria-hidden=\"true\">\n <span class=\"aeris-rating__layer aeris-rating__layer--empty\">\n @for (item of stars(); track item) {\n <span class=\"aeris-rating__star\">\n @if (inactiveIconTemplate(); as inactiveIcon) {\n <ng-container\n [ngTemplateOutlet]=\"inactiveIcon\"\n [ngTemplateOutletContext]=\"iconContext(item, false)\"\n />\n } @else {\n <svg viewBox=\"0 0 24 24\" focusable=\"false\" aria-hidden=\"true\">\n <path [attr.d]=\"starPath\" />\n </svg>\n }\n </span>\n }\n </span>\n <span class=\"aeris-rating__layer aeris-rating__layer--active\">\n <span class=\"aeris-rating__layer-inner\">\n @for (item of stars(); track item) {\n <span class=\"aeris-rating__star\">\n @if (activeIconTemplate(); as activeIcon) {\n <ng-container\n [ngTemplateOutlet]=\"activeIcon\"\n [ngTemplateOutletContext]=\"iconContext(item, true)\"\n />\n } @else {\n <svg viewBox=\"0 0 24 24\" focusable=\"false\" aria-hidden=\"true\">\n <path [attr.d]=\"starPath\" />\n </svg>\n }\n </span>\n }\n </span>\n </span>\n </span>\n </button>\n\n @if (showValue()) {\n <span class=\"aeris-rating__value\" aria-hidden=\"true\">\n {{ formattedValue() }}\n </span>\n }\n </div>\n `,\n styleUrl: './aeris-rating.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AerisRating),\n multi: true,\n },\n ],\n host: {\n '[attr.data-disabled]': 'effectiveDisabled() || null',\n },\n})\nexport class AerisRating implements ControlValueAccessor {\n protected readonly starPath =\n 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z';\n\n readonly value = model(0);\n readonly max = input(5, { transform: numberAttribute });\n readonly allowHalf = input(false, { transform: booleanAttribute });\n readonly allowClear = input(true, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly required = input(false, { transform: booleanAttribute });\n readonly size = input<AerisRatingSize>('md');\n readonly showValue = input(false, { transform: booleanAttribute });\n readonly name = input('');\n readonly inputId = input('');\n readonly ariaLabel = input('Rating');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly valueText = input<((value: number, max: number) => string) | null>(null);\n\n readonly changed = output<AerisRatingChangeEvent>();\n readonly focused = output<FocusEvent>();\n readonly blurred = output<FocusEvent>();\n readonly touch = output<void>();\n\n protected readonly formDisabled = signal(false);\n protected readonly previewValue = signal<number | null>(null);\n protected readonly focusedState = signal(false);\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly maxStars = computed(() => Math.max(1, Math.floor(this.max())));\n protected readonly effectiveStep = computed(() => (this.allowHalf() ? 0.5 : 1));\n protected readonly normalizedValue = computed(() => this.normalizeValue(this.value()));\n protected readonly visualValue = computed(() => this.previewValue() ?? this.normalizedValue());\n protected readonly visualFillWidth = computed(() => this.fillWidth(this.visualValue()));\n protected readonly formattedValue = computed(\n () =>\n this.valueText()?.(this.normalizedValue(), this.maxStars()) ??\n `${this.normalizedValue()} of ${this.maxStars()}`,\n );\n protected readonly stars = computed(() =>\n Array.from({ length: this.maxStars() }, (_, index) => index + 1),\n );\n\n private readonly control = viewChild<ElementRef<HTMLButtonElement>>('ratingControl');\n protected readonly activeIconTemplate =\n contentChild<TemplateRef<RatingIconContext>>('activeIcon');\n protected readonly inactiveIconTemplate =\n contentChild<TemplateRef<RatingIconContext>>('inactiveIcon');\n private readonly generatedId = `aeris-rating-${++ratingId}`;\n protected readonly resolvedInputId = computed(() => this.inputId() || this.generatedId);\n\n private onChange: (value: number) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n writeValue(value: unknown): void {\n this.value.set(this.coerceValue(value));\n }\n\n registerOnChange(callback: (value: number) => void): void {\n this.onChange = callback;\n }\n\n registerOnTouched(callback: () => void): void {\n this.onTouched = callback;\n }\n\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n\n focus(options?: FocusOptions): void {\n this.control()?.nativeElement.focus(options);\n }\n\n reset(): void {\n this.setValue(0);\n }\n\n clear(): void {\n if (!this.allowClear() || this.effectiveDisabled()) return;\n this.setValue(0);\n this.focus();\n }\n\n protected handlePointer(event: PointerEvent): void {\n if (this.effectiveDisabled()) return;\n event.preventDefault();\n const next = this.valueFromPointer(event);\n const value = this.allowClear() && next === this.normalizedValue() ? 0 : next;\n if (this.setValue(value)) {\n this.changed.emit({ originalEvent: event, value: this.normalizedValue() });\n }\n this.focus();\n }\n\n protected handlePointerPreview(event: PointerEvent): void {\n if (this.effectiveDisabled()) return;\n this.previewValue.set(this.valueFromPointer(event));\n }\n\n protected clearPreview(): void {\n this.previewValue.set(null);\n }\n\n protected iconContext(item: number, active: boolean): RatingIconContext {\n return {\n $implicit: item,\n index: item - 1,\n active,\n value: this.normalizedValue(),\n max: this.maxStars(),\n };\n }\n\n protected handleKeydown(event: KeyboardEvent): void {\n if (this.effectiveDisabled()) return;\n\n let next: number | null = null;\n if (event.key === 'ArrowRight' || event.key === 'ArrowUp') {\n next = this.normalizedValue() + this.effectiveStep();\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowDown') {\n next = this.normalizedValue() - this.effectiveStep();\n } else if (event.key === 'Home') {\n next = this.allowClear() ? 0 : this.effectiveStep();\n } else if (event.key === 'End') {\n next = this.maxStars();\n } else if (event.key === 'Backspace' || event.key === 'Delete') {\n if (this.allowClear()) next = 0;\n }\n\n if (next === null) return;\n event.preventDefault();\n if (this.setValue(next)) {\n this.changed.emit({ originalEvent: event, value: this.normalizedValue() });\n }\n }\n\n protected handleFocus(event: FocusEvent): void {\n this.focusedState.set(true);\n this.focused.emit(event);\n }\n\n protected handleBlur(event: FocusEvent): void {\n this.focusedState.set(false);\n this.previewValue.set(null);\n this.onTouched();\n this.touch.emit();\n this.blurred.emit(event);\n }\n\n private valueFromPointer(event: PointerEvent): number {\n const target = event.currentTarget as HTMLElement;\n const rect = target.getBoundingClientRect();\n const ratio = Math.min(1, Math.max(0, (event.clientX - rect.left) / Math.max(1, rect.width)));\n const raw = ratio * this.maxStars();\n if (this.allowHalf()) {\n return this.normalizeValue(raw);\n }\n return this.normalizeValue(Math.ceil(raw));\n }\n\n private setValue(value: number): boolean {\n const next = this.normalizeValue(value);\n if (next === this.normalizedValue()) return false;\n this.value.set(next);\n this.onChange(next);\n return true;\n }\n\n private fillWidth(value: number): string {\n const normalized = Math.min(this.maxStars(), Math.max(0, value));\n if (normalized <= 0) return '0px';\n\n const fullStars = Math.floor(normalized);\n const partialStar = Number((normalized - fullStars).toFixed(1));\n const starUnits = partialStar > 0 ? fullStars + partialStar : fullStars;\n const gapUnits = partialStar > 0 ? fullStars : Math.max(0, fullStars - 1);\n\n return `calc(${starUnits} * var(--_star-size) + ${gapUnits} * var(--_gap))`;\n }\n\n private normalizeValue(value: number): number {\n const min = this.allowClear() ? 0 : this.effectiveStep();\n const max = this.maxStars();\n const clamped = Math.min(max, Math.max(min, this.coerceValue(value)));\n const step = this.effectiveStep();\n return Number((Math.round(clamped / step) * step).toFixed(1));\n }\n\n private coerceValue(value: unknown): number {\n const number = Number(value);\n return Number.isFinite(number) ? number : 0;\n }\n}\n\ninterface RatingIconContext {\n readonly $implicit: number;\n readonly index: number;\n readonly active: boolean;\n readonly value: number;\n readonly max: number;\n}\n"],"mappings":";;;;AAyBA,IAAI,WAAW;AAsGf,IAAa,cAAb,MAAa,YAAW;CACH,WACjB;CAEO,QAAQ,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAChB,MAAM,MAAM,GAAC;EAAA,GAAA,YAAA,EAAA,WAAA,MAAA,+BAAA,CAAA;EAAI,WAAW;CAAe,CAAA;CAC3C,YAAY,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACtD,aAAa,MAAM,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,aAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACtD,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACrD,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACrD,OAAO,MAAuB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACnC,YAAY,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACtD,OAAO,MAA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AA,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,iBAAe,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,oBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEpC,cAAY,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,sBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEZ,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
@@ -126,7 +126,7 @@ var AerisScrollPanel = class AerisScrollPanel {
|
|
|
126
126
|
}
|
|
127
127
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
128
128
|
minVersion: "12.0.0",
|
|
129
|
-
version: "22.2.
|
|
129
|
+
version: "22.2.4",
|
|
130
130
|
ngImport: i0,
|
|
131
131
|
type: AerisScrollPanel,
|
|
132
132
|
deps: [],
|
|
@@ -134,7 +134,7 @@ var AerisScrollPanel = class AerisScrollPanel {
|
|
|
134
134
|
});
|
|
135
135
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
136
136
|
minVersion: "17.2.0",
|
|
137
|
-
version: "22.2.
|
|
137
|
+
version: "22.2.4",
|
|
138
138
|
type: AerisScrollPanel,
|
|
139
139
|
isStandalone: true,
|
|
140
140
|
selector: "aeris-scroll-panel",
|
|
@@ -309,7 +309,7 @@ var AerisScrollPanel = class AerisScrollPanel {
|
|
|
309
309
|
};
|
|
310
310
|
i0.ɵɵngDeclareClassMetadata({
|
|
311
311
|
minVersion: "12.0.0",
|
|
312
|
-
version: "22.2.
|
|
312
|
+
version: "22.2.4",
|
|
313
313
|
ngImport: i0,
|
|
314
314
|
type: AerisScrollPanel,
|
|
315
315
|
decorators: [{
|
|
@@ -52,7 +52,7 @@ var AerisScrollTop = class AerisScrollTop {
|
|
|
52
52
|
}
|
|
53
53
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
54
54
|
minVersion: "12.0.0",
|
|
55
|
-
version: "22.2.
|
|
55
|
+
version: "22.2.4",
|
|
56
56
|
ngImport: i0,
|
|
57
57
|
type: AerisScrollTop,
|
|
58
58
|
deps: [],
|
|
@@ -60,7 +60,7 @@ var AerisScrollTop = class AerisScrollTop {
|
|
|
60
60
|
});
|
|
61
61
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
62
62
|
minVersion: "17.0.0",
|
|
63
|
-
version: "22.2.
|
|
63
|
+
version: "22.2.4",
|
|
64
64
|
type: AerisScrollTop,
|
|
65
65
|
isStandalone: true,
|
|
66
66
|
selector: "aeris-scroll-top",
|
|
@@ -179,7 +179,7 @@ var AerisScrollTop = class AerisScrollTop {
|
|
|
179
179
|
};
|
|
180
180
|
i0.ɵɵngDeclareClassMetadata({
|
|
181
181
|
minVersion: "12.0.0",
|
|
182
|
-
version: "22.2.
|
|
182
|
+
version: "22.2.4",
|
|
183
183
|
ngImport: i0,
|
|
184
184
|
type: AerisScrollTop,
|
|
185
185
|
decorators: [{
|
|
@@ -16,7 +16,7 @@ var AerisNativeSelect = class AerisNativeSelect {
|
|
|
16
16
|
displayInvalid = computed(() => ɵaerisDisplayInvalid(this.invalid(), this.touched()), ...ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []);
|
|
17
17
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
18
|
minVersion: "12.0.0",
|
|
19
|
-
version: "22.2.
|
|
19
|
+
version: "22.2.4",
|
|
20
20
|
ngImport: i0,
|
|
21
21
|
type: AerisNativeSelect,
|
|
22
22
|
deps: [],
|
|
@@ -24,7 +24,7 @@ var AerisNativeSelect = class AerisNativeSelect {
|
|
|
24
24
|
});
|
|
25
25
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
26
26
|
minVersion: "17.1.0",
|
|
27
|
-
version: "22.2.
|
|
27
|
+
version: "22.2.4",
|
|
28
28
|
type: AerisNativeSelect,
|
|
29
29
|
isStandalone: true,
|
|
30
30
|
selector: "select[aerisNativeSelect]",
|
|
@@ -80,7 +80,7 @@ var AerisNativeSelect = class AerisNativeSelect {
|
|
|
80
80
|
};
|
|
81
81
|
i0.ɵɵngDeclareClassMetadata({
|
|
82
82
|
minVersion: "12.0.0",
|
|
83
|
-
version: "22.2.
|
|
83
|
+
version: "22.2.4",
|
|
84
84
|
ngImport: i0,
|
|
85
85
|
type: AerisNativeSelect,
|
|
86
86
|
decorators: [{
|
|
@@ -10,7 +10,7 @@ var AerisSelectOptionTemplate = class AerisSelectOptionTemplate {
|
|
|
10
10
|
}
|
|
11
11
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
12
|
minVersion: "12.0.0",
|
|
13
|
-
version: "22.2.
|
|
13
|
+
version: "22.2.4",
|
|
14
14
|
ngImport: i0,
|
|
15
15
|
type: AerisSelectOptionTemplate,
|
|
16
16
|
deps: [],
|
|
@@ -18,7 +18,7 @@ var AerisSelectOptionTemplate = class AerisSelectOptionTemplate {
|
|
|
18
18
|
});
|
|
19
19
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
20
20
|
minVersion: "14.0.0",
|
|
21
|
-
version: "22.2.
|
|
21
|
+
version: "22.2.4",
|
|
22
22
|
type: AerisSelectOptionTemplate,
|
|
23
23
|
isStandalone: true,
|
|
24
24
|
selector: "ng-template[aerisSelectOption]",
|
|
@@ -27,7 +27,7 @@ var AerisSelectOptionTemplate = class AerisSelectOptionTemplate {
|
|
|
27
27
|
};
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({
|
|
29
29
|
minVersion: "12.0.0",
|
|
30
|
-
version: "22.2.
|
|
30
|
+
version: "22.2.4",
|
|
31
31
|
ngImport: i0,
|
|
32
32
|
type: AerisSelectOptionTemplate,
|
|
33
33
|
decorators: [{
|
|
@@ -42,7 +42,7 @@ var AerisSelectSelectedTemplate = class AerisSelectSelectedTemplate {
|
|
|
42
42
|
}
|
|
43
43
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
44
44
|
minVersion: "12.0.0",
|
|
45
|
-
version: "22.2.
|
|
45
|
+
version: "22.2.4",
|
|
46
46
|
ngImport: i0,
|
|
47
47
|
type: AerisSelectSelectedTemplate,
|
|
48
48
|
deps: [],
|
|
@@ -50,7 +50,7 @@ var AerisSelectSelectedTemplate = class AerisSelectSelectedTemplate {
|
|
|
50
50
|
});
|
|
51
51
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
52
52
|
minVersion: "14.0.0",
|
|
53
|
-
version: "22.2.
|
|
53
|
+
version: "22.2.4",
|
|
54
54
|
type: AerisSelectSelectedTemplate,
|
|
55
55
|
isStandalone: true,
|
|
56
56
|
selector: "ng-template[aerisSelectSelected]",
|
|
@@ -59,7 +59,7 @@ var AerisSelectSelectedTemplate = class AerisSelectSelectedTemplate {
|
|
|
59
59
|
};
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({
|
|
61
61
|
minVersion: "12.0.0",
|
|
62
|
-
version: "22.2.
|
|
62
|
+
version: "22.2.4",
|
|
63
63
|
ngImport: i0,
|
|
64
64
|
type: AerisSelectSelectedTemplate,
|
|
65
65
|
decorators: [{
|
|
@@ -71,7 +71,7 @@ var AerisSelectGroupTemplate = class AerisSelectGroupTemplate {
|
|
|
71
71
|
template = inject(TemplateRef);
|
|
72
72
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
73
73
|
minVersion: "12.0.0",
|
|
74
|
-
version: "22.2.
|
|
74
|
+
version: "22.2.4",
|
|
75
75
|
ngImport: i0,
|
|
76
76
|
type: AerisSelectGroupTemplate,
|
|
77
77
|
deps: [],
|
|
@@ -79,7 +79,7 @@ var AerisSelectGroupTemplate = class AerisSelectGroupTemplate {
|
|
|
79
79
|
});
|
|
80
80
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
81
81
|
minVersion: "14.0.0",
|
|
82
|
-
version: "22.2.
|
|
82
|
+
version: "22.2.4",
|
|
83
83
|
type: AerisSelectGroupTemplate,
|
|
84
84
|
isStandalone: true,
|
|
85
85
|
selector: "ng-template[aerisSelectGroup]",
|
|
@@ -88,7 +88,7 @@ var AerisSelectGroupTemplate = class AerisSelectGroupTemplate {
|
|
|
88
88
|
};
|
|
89
89
|
i0.ɵɵngDeclareClassMetadata({
|
|
90
90
|
minVersion: "12.0.0",
|
|
91
|
-
version: "22.2.
|
|
91
|
+
version: "22.2.4",
|
|
92
92
|
ngImport: i0,
|
|
93
93
|
type: AerisSelectGroupTemplate,
|
|
94
94
|
decorators: [{
|
|
@@ -100,7 +100,7 @@ var AerisSelectHeaderTemplate = class AerisSelectHeaderTemplate {
|
|
|
100
100
|
template = inject(TemplateRef);
|
|
101
101
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
102
102
|
minVersion: "12.0.0",
|
|
103
|
-
version: "22.2.
|
|
103
|
+
version: "22.2.4",
|
|
104
104
|
ngImport: i0,
|
|
105
105
|
type: AerisSelectHeaderTemplate,
|
|
106
106
|
deps: [],
|
|
@@ -108,7 +108,7 @@ var AerisSelectHeaderTemplate = class AerisSelectHeaderTemplate {
|
|
|
108
108
|
});
|
|
109
109
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
110
110
|
minVersion: "14.0.0",
|
|
111
|
-
version: "22.2.
|
|
111
|
+
version: "22.2.4",
|
|
112
112
|
type: AerisSelectHeaderTemplate,
|
|
113
113
|
isStandalone: true,
|
|
114
114
|
selector: "ng-template[aerisSelectHeader]",
|
|
@@ -117,7 +117,7 @@ var AerisSelectHeaderTemplate = class AerisSelectHeaderTemplate {
|
|
|
117
117
|
};
|
|
118
118
|
i0.ɵɵngDeclareClassMetadata({
|
|
119
119
|
minVersion: "12.0.0",
|
|
120
|
-
version: "22.2.
|
|
120
|
+
version: "22.2.4",
|
|
121
121
|
ngImport: i0,
|
|
122
122
|
type: AerisSelectHeaderTemplate,
|
|
123
123
|
decorators: [{
|
|
@@ -129,7 +129,7 @@ var AerisSelectFooterTemplate = class AerisSelectFooterTemplate {
|
|
|
129
129
|
template = inject(TemplateRef);
|
|
130
130
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
131
131
|
minVersion: "12.0.0",
|
|
132
|
-
version: "22.2.
|
|
132
|
+
version: "22.2.4",
|
|
133
133
|
ngImport: i0,
|
|
134
134
|
type: AerisSelectFooterTemplate,
|
|
135
135
|
deps: [],
|
|
@@ -137,7 +137,7 @@ var AerisSelectFooterTemplate = class AerisSelectFooterTemplate {
|
|
|
137
137
|
});
|
|
138
138
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
139
139
|
minVersion: "14.0.0",
|
|
140
|
-
version: "22.2.
|
|
140
|
+
version: "22.2.4",
|
|
141
141
|
type: AerisSelectFooterTemplate,
|
|
142
142
|
isStandalone: true,
|
|
143
143
|
selector: "ng-template[aerisSelectFooter]",
|
|
@@ -146,7 +146,7 @@ var AerisSelectFooterTemplate = class AerisSelectFooterTemplate {
|
|
|
146
146
|
};
|
|
147
147
|
i0.ɵɵngDeclareClassMetadata({
|
|
148
148
|
minVersion: "12.0.0",
|
|
149
|
-
version: "22.2.
|
|
149
|
+
version: "22.2.4",
|
|
150
150
|
ngImport: i0,
|
|
151
151
|
type: AerisSelectFooterTemplate,
|
|
152
152
|
decorators: [{
|
|
@@ -158,7 +158,7 @@ var AerisSelectEmptyTemplate = class AerisSelectEmptyTemplate {
|
|
|
158
158
|
template = inject(TemplateRef);
|
|
159
159
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
160
160
|
minVersion: "12.0.0",
|
|
161
|
-
version: "22.2.
|
|
161
|
+
version: "22.2.4",
|
|
162
162
|
ngImport: i0,
|
|
163
163
|
type: AerisSelectEmptyTemplate,
|
|
164
164
|
deps: [],
|
|
@@ -166,7 +166,7 @@ var AerisSelectEmptyTemplate = class AerisSelectEmptyTemplate {
|
|
|
166
166
|
});
|
|
167
167
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
168
168
|
minVersion: "14.0.0",
|
|
169
|
-
version: "22.2.
|
|
169
|
+
version: "22.2.4",
|
|
170
170
|
type: AerisSelectEmptyTemplate,
|
|
171
171
|
isStandalone: true,
|
|
172
172
|
selector: "ng-template[aerisSelectEmpty]",
|
|
@@ -175,7 +175,7 @@ var AerisSelectEmptyTemplate = class AerisSelectEmptyTemplate {
|
|
|
175
175
|
};
|
|
176
176
|
i0.ɵɵngDeclareClassMetadata({
|
|
177
177
|
minVersion: "12.0.0",
|
|
178
|
-
version: "22.2.
|
|
178
|
+
version: "22.2.4",
|
|
179
179
|
ngImport: i0,
|
|
180
180
|
type: AerisSelectEmptyTemplate,
|
|
181
181
|
decorators: [{
|
|
@@ -187,7 +187,7 @@ var AerisSelectEmptyFilterTemplate = class AerisSelectEmptyFilterTemplate {
|
|
|
187
187
|
template = inject(TemplateRef);
|
|
188
188
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
189
189
|
minVersion: "12.0.0",
|
|
190
|
-
version: "22.2.
|
|
190
|
+
version: "22.2.4",
|
|
191
191
|
ngImport: i0,
|
|
192
192
|
type: AerisSelectEmptyFilterTemplate,
|
|
193
193
|
deps: [],
|
|
@@ -195,7 +195,7 @@ var AerisSelectEmptyFilterTemplate = class AerisSelectEmptyFilterTemplate {
|
|
|
195
195
|
});
|
|
196
196
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
197
197
|
minVersion: "14.0.0",
|
|
198
|
-
version: "22.2.
|
|
198
|
+
version: "22.2.4",
|
|
199
199
|
type: AerisSelectEmptyFilterTemplate,
|
|
200
200
|
isStandalone: true,
|
|
201
201
|
selector: "ng-template[aerisSelectEmptyFilter]",
|
|
@@ -204,7 +204,7 @@ var AerisSelectEmptyFilterTemplate = class AerisSelectEmptyFilterTemplate {
|
|
|
204
204
|
};
|
|
205
205
|
i0.ɵɵngDeclareClassMetadata({
|
|
206
206
|
minVersion: "12.0.0",
|
|
207
|
-
version: "22.2.
|
|
207
|
+
version: "22.2.4",
|
|
208
208
|
ngImport: i0,
|
|
209
209
|
type: AerisSelectEmptyFilterTemplate,
|
|
210
210
|
decorators: [{
|
|
@@ -216,7 +216,7 @@ var AerisSelectDropdownIconTemplate = class AerisSelectDropdownIconTemplate {
|
|
|
216
216
|
template = inject(TemplateRef);
|
|
217
217
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
218
218
|
minVersion: "12.0.0",
|
|
219
|
-
version: "22.2.
|
|
219
|
+
version: "22.2.4",
|
|
220
220
|
ngImport: i0,
|
|
221
221
|
type: AerisSelectDropdownIconTemplate,
|
|
222
222
|
deps: [],
|
|
@@ -224,7 +224,7 @@ var AerisSelectDropdownIconTemplate = class AerisSelectDropdownIconTemplate {
|
|
|
224
224
|
});
|
|
225
225
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
226
226
|
minVersion: "14.0.0",
|
|
227
|
-
version: "22.2.
|
|
227
|
+
version: "22.2.4",
|
|
228
228
|
type: AerisSelectDropdownIconTemplate,
|
|
229
229
|
isStandalone: true,
|
|
230
230
|
selector: "ng-template[aerisSelectDropdownIcon]",
|
|
@@ -233,7 +233,7 @@ var AerisSelectDropdownIconTemplate = class AerisSelectDropdownIconTemplate {
|
|
|
233
233
|
};
|
|
234
234
|
i0.ɵɵngDeclareClassMetadata({
|
|
235
235
|
minVersion: "12.0.0",
|
|
236
|
-
version: "22.2.
|
|
236
|
+
version: "22.2.4",
|
|
237
237
|
ngImport: i0,
|
|
238
238
|
type: AerisSelectDropdownIconTemplate,
|
|
239
239
|
decorators: [{
|
|
@@ -245,7 +245,7 @@ var AerisSelectClearIconTemplate = class AerisSelectClearIconTemplate {
|
|
|
245
245
|
template = inject(TemplateRef);
|
|
246
246
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
247
247
|
minVersion: "12.0.0",
|
|
248
|
-
version: "22.2.
|
|
248
|
+
version: "22.2.4",
|
|
249
249
|
ngImport: i0,
|
|
250
250
|
type: AerisSelectClearIconTemplate,
|
|
251
251
|
deps: [],
|
|
@@ -253,7 +253,7 @@ var AerisSelectClearIconTemplate = class AerisSelectClearIconTemplate {
|
|
|
253
253
|
});
|
|
254
254
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
255
255
|
minVersion: "14.0.0",
|
|
256
|
-
version: "22.2.
|
|
256
|
+
version: "22.2.4",
|
|
257
257
|
type: AerisSelectClearIconTemplate,
|
|
258
258
|
isStandalone: true,
|
|
259
259
|
selector: "ng-template[aerisSelectClearIcon]",
|
|
@@ -262,7 +262,7 @@ var AerisSelectClearIconTemplate = class AerisSelectClearIconTemplate {
|
|
|
262
262
|
};
|
|
263
263
|
i0.ɵɵngDeclareClassMetadata({
|
|
264
264
|
minVersion: "12.0.0",
|
|
265
|
-
version: "22.2.
|
|
265
|
+
version: "22.2.4",
|
|
266
266
|
ngImport: i0,
|
|
267
267
|
type: AerisSelectClearIconTemplate,
|
|
268
268
|
decorators: [{
|
|
@@ -274,7 +274,7 @@ var AerisSelectFilterIconTemplate = class AerisSelectFilterIconTemplate {
|
|
|
274
274
|
template = inject(TemplateRef);
|
|
275
275
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
276
276
|
minVersion: "12.0.0",
|
|
277
|
-
version: "22.2.
|
|
277
|
+
version: "22.2.4",
|
|
278
278
|
ngImport: i0,
|
|
279
279
|
type: AerisSelectFilterIconTemplate,
|
|
280
280
|
deps: [],
|
|
@@ -282,7 +282,7 @@ var AerisSelectFilterIconTemplate = class AerisSelectFilterIconTemplate {
|
|
|
282
282
|
});
|
|
283
283
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
284
284
|
minVersion: "14.0.0",
|
|
285
|
-
version: "22.2.
|
|
285
|
+
version: "22.2.4",
|
|
286
286
|
type: AerisSelectFilterIconTemplate,
|
|
287
287
|
isStandalone: true,
|
|
288
288
|
selector: "ng-template[aerisSelectFilterIcon]",
|
|
@@ -291,7 +291,7 @@ var AerisSelectFilterIconTemplate = class AerisSelectFilterIconTemplate {
|
|
|
291
291
|
};
|
|
292
292
|
i0.ɵɵngDeclareClassMetadata({
|
|
293
293
|
minVersion: "12.0.0",
|
|
294
|
-
version: "22.2.
|
|
294
|
+
version: "22.2.4",
|
|
295
295
|
ngImport: i0,
|
|
296
296
|
type: AerisSelectFilterIconTemplate,
|
|
297
297
|
decorators: [{
|
|
@@ -303,7 +303,7 @@ var AerisSelectLoadingIconTemplate = class AerisSelectLoadingIconTemplate {
|
|
|
303
303
|
template = inject(TemplateRef);
|
|
304
304
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
305
305
|
minVersion: "12.0.0",
|
|
306
|
-
version: "22.2.
|
|
306
|
+
version: "22.2.4",
|
|
307
307
|
ngImport: i0,
|
|
308
308
|
type: AerisSelectLoadingIconTemplate,
|
|
309
309
|
deps: [],
|
|
@@ -311,7 +311,7 @@ var AerisSelectLoadingIconTemplate = class AerisSelectLoadingIconTemplate {
|
|
|
311
311
|
});
|
|
312
312
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
313
313
|
minVersion: "14.0.0",
|
|
314
|
-
version: "22.2.
|
|
314
|
+
version: "22.2.4",
|
|
315
315
|
type: AerisSelectLoadingIconTemplate,
|
|
316
316
|
isStandalone: true,
|
|
317
317
|
selector: "ng-template[aerisSelectLoadingIcon]",
|
|
@@ -320,7 +320,7 @@ var AerisSelectLoadingIconTemplate = class AerisSelectLoadingIconTemplate {
|
|
|
320
320
|
};
|
|
321
321
|
i0.ɵɵngDeclareClassMetadata({
|
|
322
322
|
minVersion: "12.0.0",
|
|
323
|
-
version: "22.2.
|
|
323
|
+
version: "22.2.4",
|
|
324
324
|
ngImport: i0,
|
|
325
325
|
type: AerisSelectLoadingIconTemplate,
|
|
326
326
|
decorators: [{
|
|
@@ -742,7 +742,7 @@ var AerisSelectComponent = class AerisSelectComponent {
|
|
|
742
742
|
}
|
|
743
743
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
744
744
|
minVersion: "12.0.0",
|
|
745
|
-
version: "22.2.
|
|
745
|
+
version: "22.2.4",
|
|
746
746
|
ngImport: i0,
|
|
747
747
|
type: AerisSelectComponent,
|
|
748
748
|
deps: [],
|
|
@@ -750,7 +750,7 @@ var AerisSelectComponent = class AerisSelectComponent {
|
|
|
750
750
|
});
|
|
751
751
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
752
752
|
minVersion: "17.0.0",
|
|
753
|
-
version: "22.2.
|
|
753
|
+
version: "22.2.4",
|
|
754
754
|
type: AerisSelectComponent,
|
|
755
755
|
isStandalone: true,
|
|
756
756
|
selector: "aeris-select",
|
|
@@ -1259,7 +1259,7 @@ var AerisSelectComponent = class AerisSelectComponent {
|
|
|
1259
1259
|
(focusout)="handleFocusOut($event)"
|
|
1260
1260
|
>
|
|
1261
1261
|
@if (name() && value() !== null) {
|
|
1262
|
-
<input type="hidden" [name]="name()" [value]="value()" />
|
|
1262
|
+
<input type="hidden" [name]="name()" [value]="value()" [disabled]="effectiveDisabled()" />
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
<div #control class="aeris-select__control">
|
|
@@ -1380,6 +1380,7 @@ var AerisSelectComponent = class AerisSelectComponent {
|
|
|
1380
1380
|
[aerisInternalAppendToMatchWidth]="true"
|
|
1381
1381
|
[aerisInternalAppendToCollisionPadding]="viewportMargin()"
|
|
1382
1382
|
(aerisInternalAppendToOutside)="closePanel(false)"
|
|
1383
|
+
(aerisInternalAppendToFocusOut)="handleFocusOut($event)"
|
|
1383
1384
|
[id]="panelId"
|
|
1384
1385
|
[class]="panelClass()"
|
|
1385
1386
|
[style.--aeris-select-panel-max-height]="panelMaxHeight()"
|
|
@@ -1585,14 +1586,14 @@ var AerisSelectComponent = class AerisSelectComponent {
|
|
|
1585
1586
|
"aerisInternalAppendToPositionSelf",
|
|
1586
1587
|
"aerisInternalAppendToDismiss"
|
|
1587
1588
|
],
|
|
1588
|
-
outputs: ["aerisInternalAppendToOutside"]
|
|
1589
|
+
outputs: ["aerisInternalAppendToOutside", "aerisInternalAppendToFocusOut"]
|
|
1589
1590
|
}
|
|
1590
1591
|
]
|
|
1591
1592
|
});
|
|
1592
1593
|
};
|
|
1593
1594
|
i0.ɵɵngDeclareClassMetadata({
|
|
1594
1595
|
minVersion: "12.0.0",
|
|
1595
|
-
version: "22.2.
|
|
1596
|
+
version: "22.2.4",
|
|
1596
1597
|
ngImport: i0,
|
|
1597
1598
|
type: AerisSelectComponent,
|
|
1598
1599
|
decorators: [{
|
|
@@ -1616,7 +1617,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1616
1617
|
(focusout)="handleFocusOut($event)"
|
|
1617
1618
|
>
|
|
1618
1619
|
@if (name() && value() !== null) {
|
|
1619
|
-
<input type="hidden" [name]="name()" [value]="value()" />
|
|
1620
|
+
<input type="hidden" [name]="name()" [value]="value()" [disabled]="effectiveDisabled()" />
|
|
1620
1621
|
}
|
|
1621
1622
|
|
|
1622
1623
|
<div #control class="aeris-select__control">
|
|
@@ -1737,6 +1738,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1737
1738
|
[aerisInternalAppendToMatchWidth]="true"
|
|
1738
1739
|
[aerisInternalAppendToCollisionPadding]="viewportMargin()"
|
|
1739
1740
|
(aerisInternalAppendToOutside)="closePanel(false)"
|
|
1741
|
+
(aerisInternalAppendToFocusOut)="handleFocusOut($event)"
|
|
1740
1742
|
[id]="panelId"
|
|
1741
1743
|
[class]="panelClass()"
|
|
1742
1744
|
[style.--aeris-select-panel-max-height]="panelMaxHeight()"
|