@qualcomm-ui/angular-core 1.0.5 → 1.0.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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qualcomm-ui-angular-core-slider.mjs","sources":["../../src/slider/slider-context.service.ts","../../src/slider/slider-thumb-context.service.ts","../../src/slider/core-slider-control.directive.ts","../../src/slider/core-slider-error-text.directive.ts","../../src/slider/core-slider-hidden-input.directive.ts","../../src/slider/core-slider-hint.directive.ts","../../src/slider/core-slider-label.directive.ts","../../src/slider/core-slider-marker-group.directive.ts","../../src/slider/core-slider-marker.directive.ts","../../src/slider/core-slider-max.directive.ts","../../src/slider/core-slider-min.directive.ts","../../src/slider/core-slider-range.directive.ts","../../src/slider/core-slider-root.directive.ts","../../src/slider/core-slider-thumb-indicator.directive.ts","../../src/slider/core-slider-thumb.directive.ts","../../src/slider/core-slider-track.directive.ts","../../src/slider/core-slider-value-text.directive.ts","../../src/slider/qualcomm-ui-angular-core-slider.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SliderApi} from \"@qualcomm-ui/core/slider\"\n\n@Injectable()\nexport class SliderContextService extends BaseApiContextService<SliderApi> {}\n\nexport const [SLIDER_CONTEXT, useSliderContext, provideSliderContext] =\n createApiContext<SliderApi>(\"SliderContext\", SliderContextService)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {ThumbProps} from \"@qualcomm-ui/core/slider\"\n\n@Injectable()\nexport class SliderThumbContextService extends BaseApiContextService<ThumbProps> {}\n\nexport const [\n SLIDER_THUMB_CONTEXT,\n useSliderThumbContext,\n provideSliderThumbContext,\n] = createApiContext<ThumbProps>(\n \"SliderThumbContext\",\n SliderThumbContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderControlDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getControlBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderErrorTextDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\nimport {useSliderThumbContext} from \"./slider-thumb-context.service\"\n\n@Directive()\nexport class CoreSliderHiddenInputDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n protected readonly sliderThumbContext = useSliderThumbContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getHiddenInputBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n ...this.sliderThumbContext(),\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderHintDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getHintBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderLabelDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderMarkerGroupDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getMarkerGroupBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderMarkerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n /**\n * The value the marker should indicate.\n */\n readonly value = input.required<number>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getMarkerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n value: this.value(),\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderMaxDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.sliderContext().getMaxMarkerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderMinDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getMinMarkerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderRangeDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getRangeBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {useId, useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {AbstractBaseListCollectionFormControlDirective} from \"@qualcomm-ui/angular-core/input\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createSliderApi,\n type FocusChangeDetails,\n type SliderApiProps,\n sliderMachine,\n type ValueChangeDetails,\n type ValueTextDetails,\n} from \"@qualcomm-ui/core/slider\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {SliderContextService} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderRootDirective\n extends AbstractBaseListCollectionFormControlDirective<number>\n implements\n SignalifyInput<\n Omit<\n SliderApiProps,\n \"form\" | \"ids\" | \"value\" | \"aria-label\" | \"aria-labelledby\"\n >\n >,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n */\n readonly dir = input<Direction | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n /**\n * The aria-label of each slider thumb. Useful for providing an accessible name to\n * the slider\n */\n readonly ariaLabel = input<string[] | string | undefined>(undefined, {\n alias: \"aria-label\",\n })\n\n /**\n * The `id` of the elements that labels each slider thumb. Useful for providing an\n * accessible name to the slider\n */\n readonly ariaLabelledby = input<string[] | string | undefined>(undefined, {\n alias: \"aria-labelledby\",\n })\n\n /**\n * Function that returns a human readable value for the slider thumb\n */\n readonly getAriaValueText = input<(details: ValueTextDetails) => string>()\n\n /**\n * The maximum value of the slider\n * @default 100\n */\n readonly max = input<number | undefined>()\n\n /**\n * The minimum value of the slider\n * @default 0\n */\n readonly min = input<number | undefined>()\n\n /**\n * The minimum permitted steps between multiple thumbs.\n *\n * `minStepsBetweenThumbs` * `step` should reflect the gap between the thumbs.\n *\n * - `step: 1` and `minStepsBetweenThumbs: 10` => gap is `10`\n * - `step: 10` and `minStepsBetweenThumbs: 2` => gap is `20`\n *\n * @default 0\n */\n readonly minStepsBetweenThumbs = input<number | undefined>()\n\n /**\n * The orientation of the slider\n * @default \"horizontal\"\n */\n readonly orientation = input<\"vertical\" | \"horizontal\" | undefined>()\n\n /**\n * The origin of the slider range. The track is filled from the origin\n * to the thumb for single values.\n * - \"start\": Useful when the value represents an absolute value\n * - \"center\": Useful when the value represents an offset (relative)\n * - \"end\": Useful when the value represents an offset from the end\n *\n * @default \"start\"\n */\n readonly origin = input<\"start\" | \"center\" | \"end\" | undefined>()\n\n /**\n * The step value of the slider\n * @default 1\n */\n readonly step = input<number | undefined>()\n\n /**\n * The alignment of the slider thumb relative to the track\n * - `center`: the thumb will extend beyond the bounds of the slider track.\n * - `contain`: the thumb will be contained within the bounds of the track.\n *\n * @default \"contain\"\n */\n readonly thumbAlignment = input<\"contain\" | \"center\" | undefined>()\n\n /**\n * The slider thumbs dimensions\n */\n readonly thumbSize = input<{height: number; width: number} | undefined>()\n\n /**\n * Value change callback.\n */\n readonly valueChanged = output<ValueChangeDetails>()\n\n /**\n * Function invoked when the slider value change is done\n */\n readonly valueChangedEnd = output<ValueChangeDetails>()\n\n /**\n * Function invoked when the slider focus changes\n */\n readonly focusChanged = output<FocusChangeDetails>()\n\n protected readonly document = inject(DOCUMENT)\n\n protected readonly sliderContextService = inject(SliderContextService)\n\n protected readonly isMounted = useIsMounted()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n sliderMachine,\n computed<Explicit<SliderApiProps>>(() => ({\n \"aria-label\": this.ariaLabel(),\n \"aria-labelledby\": this.ariaLabelledby(),\n defaultValue: this.defaultValue(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getAriaValueText: this.getAriaValueText(),\n getRootNode: this.getRootNode() ?? (() => this.document),\n ids: undefined,\n invalid: this.isInvalid(),\n max: this.max(),\n min: this.min(),\n minStepsBetweenThumbs: this.minStepsBetweenThumbs(),\n name: this.name(),\n onFocusChange: (details) => {\n if (this.isMounted()) {\n this.focusChanged.emit(details)\n }\n if (details.focusedIndex === -1) {\n // only trigger onTouched on blur.\n this.onTouched()\n }\n },\n onValueChange: (details) => {\n if (!this.control) {\n if (this.isMounted()) {\n this.valueChanged.emit(details)\n }\n this.value.set(details.value)\n return\n }\n // ngModel is bound to the root, but change events happen from internal\n // elements and are passed to the machine. So we need to fire the\n // form's value change event to keep it in sync.\n this.onChange(details.value)\n // angular handles touched/dirty internally when ngModel is bound to an\n // <input> element, but we don't have that luxury here. We fire these\n // manually.\n if (!this.control?.touched) {\n this.control.markAsTouched?.()\n }\n if (!this.control?.dirty) {\n this.control.markAsDirty?.()\n }\n },\n onValueChangeEnd: (details) => {\n if (this.isMounted()) {\n this.valueChangedEnd.emit(details)\n }\n },\n orientation: this.orientation(),\n origin: this.origin(),\n readOnly: this.readOnly(),\n required: this.isRequired(),\n step: this.step(),\n thumbAlignment: this.thumbAlignment(),\n thumbSize: this.thumbSize(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.sliderContextService.init(\n computed(() => createSliderApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service.js\"\nimport {useSliderThumbContext} from \"./slider-thumb-context.service.js\"\n\n@Directive()\nexport class CoreSliderThumbIndicatorDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n protected readonly sliderThumbContext = useSliderThumbContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly value = computed(() =>\n this.sliderContext().getThumbValue(this.sliderThumbContext().index),\n )\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getThumbIndicatorBindings({\n id: this.hostId(),\n index: this.sliderThumbContext().index,\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {ThumbProps} from \"@qualcomm-ui/core/slider\"\n\nimport {useSliderContext} from \"./slider-context.service\"\nimport {SliderThumbContextService} from \"./slider-thumb-context.service\"\n\n@Directive()\nexport class CoreSliderThumbDirective\n implements SignalifyInput<ThumbProps>, OnInit\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n /**\n * The slider thumb's index.\n */\n readonly index = input.required<number>()\n /**\n * The name associated with the slider thumb's input (when used in a form).\n */\n readonly name = input<string>()\n\n protected readonly sliderThumbContextService = inject(\n SliderThumbContextService,\n )\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getThumbBindings({\n id: this.hostId(),\n index: this.index(),\n name: this.name(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.sliderThumbContextService.init(\n computed(() => ({\n index: this.index(),\n name: this.name(),\n })),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderTrackDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getTrackBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSliderContext} from \"./slider-context.service\"\n\n@Directive()\nexport class CoreSliderValueTextDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly sliderContext = useSliderContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sliderContext().getValueTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AAWM,MAAO,oBAAqB,SAAQ,qBAAgC,CAAA;wGAA7D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAApB,oBAAoB,EAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC;;AAGM,MAAM,CAAC,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,GACnE,gBAAgB,CAAY,eAAe,EAAE,oBAAoB;;ACfnE;AACA;AAWM,MAAO,yBAA0B,SAAQ,qBAAiC,CAAA;wGAAnE,yBAAyB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAzB,yBAAyB,EAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;AAGM,MAAM,CACX,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EAC1B,GAAG,gBAAgB,CAClB,oBAAoB,EACpB,yBAAyB;;ACpB3B;AACA;MAUa,0BAA0B,CAAA;AACrC;;;AAGG;IACM,EAAE,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,IAAA,EAAA,CAAA,GAAA,EAAA,CAAA,C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,EAAE,CAAC,oBAAoB,CAAC;AACxC,QAAA,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;AAC1B,KAAA,CAAC,CACH;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGAtBW,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC;;;ACVD;;AAEG;;;;"}
package/input/index.d.ts CHANGED
@@ -74,16 +74,10 @@ declare abstract class AbstractInputFormControlDirective implements ControlValue
74
74
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractInputFormControlDirective, never, never, { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
75
75
  }
76
76
 
77
- declare abstract class AbstractListCollectionFormControlDirective<T extends CollectionItem> implements ControlValueAccessor, OnInit {
77
+ declare abstract class AbstractBaseListCollectionFormControlDirective<T extends CollectionItem> implements ControlValueAccessor, OnInit {
78
78
  /**
79
- * The item collection
80
- *
81
- * @inheritDoc
82
- */
83
- readonly collection: _angular_core.InputSignal<ListCollection<T>>;
84
- /**
85
- * The initial state of the input when rendered. Use when you don't need to
86
- * control the checked state of the input. This property will be ignored if you
79
+ * The initial value of the input when rendered. Use when you don't need to
80
+ * control the value of the input. This property will be ignored if you
87
81
  * opt into controlled state via form control bindings.
88
82
  *
89
83
  * @inheritDoc
@@ -146,8 +140,18 @@ declare abstract class AbstractListCollectionFormControlDirective<T extends Coll
146
140
  * and Template forms.
147
141
  */
148
142
  setDisabledState(isDisabled: boolean): void;
143
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AbstractBaseListCollectionFormControlDirective<any>, never>;
144
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractBaseListCollectionFormControlDirective<any>, never, never, { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
145
+ }
146
+ declare abstract class AbstractListCollectionFormControlDirective<T extends CollectionItem> extends AbstractBaseListCollectionFormControlDirective<T> {
147
+ /**
148
+ * The item collection
149
+ *
150
+ * @inheritDoc
151
+ */
152
+ readonly collection: _angular_core.InputSignal<ListCollection<T>>;
149
153
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AbstractListCollectionFormControlDirective<any>, never>;
150
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractListCollectionFormControlDirective<any>, never, never, { "collection": { "alias": "collection"; "required": true; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
154
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractListCollectionFormControlDirective<any>, never, never, { "collection": { "alias": "collection"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
151
155
  }
152
156
 
153
157
  interface InputFormControlContext<T> {
@@ -185,6 +189,6 @@ declare const FORM_CONTROL_ERROR_MESSAGE_PROVIDER: InjectionToken<Partial<FormCo
185
189
  declare const INPUT_FORM_CONTROL_CONTEXT: InjectionToken<InputFormControlContext<any>>;
186
190
  declare function initInputFormControl<T = string>(): InputFormControlContext<T>;
187
191
 
188
- export { AbstractInputFormControlDirective, AbstractListCollectionFormControlDirective, FORM_CONTROL_ERROR_MESSAGE_PROVIDER, INPUT_FORM_CONTROL_CONTEXT, initInputFormControl };
192
+ export { AbstractBaseListCollectionFormControlDirective, AbstractInputFormControlDirective, AbstractListCollectionFormControlDirective, FORM_CONTROL_ERROR_MESSAGE_PROVIDER, INPUT_FORM_CONTROL_CONTEXT, initInputFormControl };
189
193
  export type { FormControlKnownErrors, InputFormControlContext };
190
194
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../src/input/abstract-input-form-control.directive.ts","../../src/input/abstract-list-collection-form-control.directive.ts","../../src/input/input-form-control-provider.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;;;;;AAqCA;AAIE;;;;AAIG;;AAGH;;;;AAIG;;AAKH;;;AAGG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAMH;AACA;AACA;AACA;AAGA;;AAIA;;;AAGG;AACH;;;;;;AAoJA;AAIA;;AAEG;AACH;AA2BA;AAKA;;;AAUA;AAIA;;;;AAIG;AACH;;;AAGD;;AC7QD;AAME;;;;AAIG;;AAGH;;;;;;AAMG;;AAGH;;;;AAIG;;AAKH;;;AAGG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAMH;AACA;AACA;AACA;AAGA;;AAIA;;;AAGG;AACH;;;;;;AAsKA;AAIA;;AAEG;AACH;AA2BA;AAKA;;;AAUA;AAIA;;;;AAIG;AACH;;;AAGD;;ACxUK;;AAEJ;;AAEG;;AAEH;;;;;AAKA;AACD;;AAkBD;;;;;;;;;;;;;;;;AAgBG;AACH;AAIA;AAIA;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../src/input/abstract-input-form-control.directive.ts","../../src/input/abstract-list-collection-form-control.directive.ts","../../src/input/input-form-control-provider.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;;;;;AAqCA;AAIE;;;;AAIG;;AAGH;;;;AAIG;;AAKH;;;AAGG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAMH;AACA;AACA;AACA;AAGA;;AAIA;;;AAGG;AACH;;;;;;AAoJA;AAIA;;AAEG;AACH;AA2BA;AAKA;;;AAUA;AAIA;;;;AAIG;AACH;;;AAGD;;AC7QD;AAME;;;;;;AAMG;;AAGH;;;;AAIG;;AAKH;;;AAGG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAMH;AACA;AACA;AACA;AAGA;;AAIA;;;AAGG;AACH;;;;;;AAsKA;AAIA;;AAEG;AACH;AA2BA;AAKA;;;AAUA;AAIA;;;;AAIG;AACH;;;AAGD;AAED;AAIE;;;;AAIG;;;;AAEJ;;AC7UK;;AAEJ;;AAEG;;AAEH;;;;;AAKA;AACD;;AAkBD;;;;;;;;;;;;;;;;AAgBG;AACH;AAIA;AAIA;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qualcomm-ui/angular-core",
3
3
  "description": "Design-agnostic Angular building blocks and utilities.",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "author": "Ryan Bower",
6
6
  "license": "BSD-3-Clause-Clear",
7
7
  "sideEffects": false,
@@ -148,6 +148,10 @@
148
148
  "types": "./signals/index.d.ts",
149
149
  "default": "./fesm2022/qualcomm-ui-angular-core-signals.mjs"
150
150
  },
151
+ "./slider": {
152
+ "types": "./slider/index.d.ts",
153
+ "default": "./fesm2022/qualcomm-ui-angular-core-slider.mjs"
154
+ },
151
155
  "./state": {
152
156
  "types": "./state/index.d.ts",
153
157
  "default": "./fesm2022/qualcomm-ui-angular-core-state.mjs"
@@ -192,13 +196,14 @@
192
196
  "@angular/forms": ">=20 <22",
193
197
  "@angular/platform-browser": ">=20 <22",
194
198
  "@angular/platform-browser-dynamic": ">=20 <22",
195
- "@qualcomm-ui/core": "^1.0.7",
199
+ "@qualcomm-ui/core": "^1.0.8",
196
200
  "@qualcomm-ui/dom": "^1.0.5",
197
201
  "@qualcomm-ui/utils": "^1.0.3",
198
202
  "@tanstack/virtual-core": ">=3.13.12",
199
203
  "lucide-angular": ">=0.487.0 <1",
200
204
  "typescript": ">=5.2.0 <6"
201
205
  },
206
+ "repository": "https://github.com/qualcomm/qualcomm-ui",
202
207
  "private": false,
203
208
  "publishConfig": {
204
209
  "access": "public"
@@ -0,0 +1,407 @@
1
+ import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine';
2
+ import { BaseApiContextService } from '@qualcomm-ui/angular-core/machine';
3
+ import * as _angular_core from '@angular/core';
4
+ import { OnInit } from '@angular/core';
5
+ import * as _qualcomm_ui_core_slider from '@qualcomm-ui/core/slider';
6
+ import { SliderApi, ThumbProps, SliderApiProps, ValueTextDetails, ValueChangeDetails, FocusChangeDetails } from '@qualcomm-ui/core/slider';
7
+ import { ControlValueAccessor } from '@angular/forms';
8
+ import { AbstractBaseListCollectionFormControlDirective } from '@qualcomm-ui/angular-core/input';
9
+ import { SignalifyInput } from '@qualcomm-ui/angular-core/signals';
10
+ import { Direction } from '@qualcomm-ui/utils/direction';
11
+
12
+ declare class SliderContextService extends BaseApiContextService<SliderApi> {
13
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderContextService, never>;
14
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<SliderContextService>;
15
+ }
16
+ declare const SLIDER_CONTEXT: _angular_core.InjectionToken<() => SliderApi>;
17
+ declare const useSliderContext: <Optional extends boolean = false>(opts?: _qualcomm_ui_angular_core_machine.UseContextOpts<Optional> | undefined) => Optional extends true ? (() => SliderApi) | null : () => SliderApi;
18
+ declare const provideSliderContext: () => _angular_core.Provider[];
19
+
20
+ declare class SliderThumbContextService extends BaseApiContextService<ThumbProps> {
21
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderThumbContextService, never>;
22
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<SliderThumbContextService>;
23
+ }
24
+ declare const SLIDER_THUMB_CONTEXT: _angular_core.InjectionToken<() => ThumbProps>;
25
+ declare const useSliderThumbContext: <Optional extends boolean = false>(opts?: _qualcomm_ui_angular_core_machine.UseContextOpts<Optional> | undefined) => Optional extends true ? (() => ThumbProps) | null : () => ThumbProps;
26
+ declare const provideSliderThumbContext: () => _angular_core.Provider[];
27
+
28
+ declare class CoreSliderControlDirective implements OnInit {
29
+ /**
30
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
31
+ * omitted, a unique identifier will be generated for accessibility.
32
+ */
33
+ readonly id: _angular_core.InputSignal<string | undefined>;
34
+ protected readonly hostId: _angular_core.Signal<string>;
35
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
36
+ protected readonly onDestroy: (callback: () => void) => void;
37
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
38
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
39
+ setDisabled: (disabled: boolean) => void;
40
+ };
41
+ ngOnInit(): void;
42
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderControlDirective, never>;
43
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderControlDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
44
+ }
45
+
46
+ declare class CoreSliderErrorTextDirective implements OnInit {
47
+ /**
48
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
49
+ * omitted, a unique identifier will be generated for accessibility.
50
+ */
51
+ readonly id: _angular_core.InputSignal<string | undefined>;
52
+ protected readonly hostId: _angular_core.Signal<string>;
53
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
54
+ protected readonly onDestroy: (callback: () => void) => void;
55
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
56
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
57
+ setDisabled: (disabled: boolean) => void;
58
+ };
59
+ ngOnInit(): void;
60
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderErrorTextDirective, never>;
61
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderErrorTextDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
62
+ }
63
+
64
+ declare class CoreSliderHiddenInputDirective implements OnInit {
65
+ /**
66
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
67
+ * omitted, a unique identifier will be generated for accessibility.
68
+ */
69
+ readonly id: _angular_core.InputSignal<string | undefined>;
70
+ protected readonly hostId: _angular_core.Signal<string>;
71
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
72
+ protected readonly sliderThumbContext: () => _qualcomm_ui_core_slider.ThumbProps;
73
+ protected readonly onDestroy: (callback: () => void) => void;
74
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
75
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
76
+ setDisabled: (disabled: boolean) => void;
77
+ };
78
+ ngOnInit(): void;
79
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderHiddenInputDirective, never>;
80
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderHiddenInputDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
81
+ }
82
+
83
+ declare class CoreSliderHintDirective implements OnInit {
84
+ /**
85
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
86
+ * omitted, a unique identifier will be generated for accessibility.
87
+ */
88
+ readonly id: _angular_core.InputSignal<string | undefined>;
89
+ protected readonly hostId: _angular_core.Signal<string>;
90
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
91
+ protected readonly onDestroy: (callback: () => void) => void;
92
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
93
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
94
+ setDisabled: (disabled: boolean) => void;
95
+ };
96
+ ngOnInit(): void;
97
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderHintDirective, never>;
98
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderHintDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
99
+ }
100
+
101
+ declare class CoreSliderLabelDirective implements OnInit {
102
+ /**
103
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
104
+ * omitted, a unique identifier will be generated for accessibility.
105
+ */
106
+ readonly id: _angular_core.InputSignal<string | undefined>;
107
+ protected readonly hostId: _angular_core.Signal<string>;
108
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
109
+ protected readonly onDestroy: (callback: () => void) => void;
110
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
111
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
112
+ setDisabled: (disabled: boolean) => void;
113
+ };
114
+ ngOnInit(): void;
115
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderLabelDirective, never>;
116
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderLabelDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
117
+ }
118
+
119
+ declare class CoreSliderMarkerGroupDirective implements OnInit {
120
+ /**
121
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
122
+ * omitted, a unique identifier will be generated for accessibility.
123
+ */
124
+ readonly id: _angular_core.InputSignal<string | undefined>;
125
+ protected readonly hostId: _angular_core.Signal<string>;
126
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
127
+ protected readonly onDestroy: (callback: () => void) => void;
128
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
129
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
130
+ setDisabled: (disabled: boolean) => void;
131
+ };
132
+ ngOnInit(): void;
133
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderMarkerGroupDirective, never>;
134
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderMarkerGroupDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
135
+ }
136
+
137
+ declare class CoreSliderMarkerDirective implements OnInit {
138
+ /**
139
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
140
+ * omitted, a unique identifier will be generated for accessibility.
141
+ */
142
+ readonly id: _angular_core.InputSignal<string | undefined>;
143
+ /**
144
+ * The value the marker should indicate.
145
+ */
146
+ readonly value: _angular_core.InputSignal<number>;
147
+ protected readonly hostId: _angular_core.Signal<string>;
148
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
149
+ protected readonly onDestroy: (callback: () => void) => void;
150
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
151
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
152
+ setDisabled: (disabled: boolean) => void;
153
+ };
154
+ ngOnInit(): void;
155
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderMarkerDirective, never>;
156
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderMarkerDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
157
+ }
158
+
159
+ declare class CoreSliderMaxDirective implements OnInit {
160
+ /**
161
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
162
+ * omitted, a unique identifier will be generated for accessibility.
163
+ */
164
+ readonly id: _angular_core.InputSignal<string | undefined>;
165
+ protected readonly hostId: _angular_core.Signal<string>;
166
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
167
+ protected readonly onDestroy: (callback: () => void) => void;
168
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
169
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
170
+ setDisabled: (disabled: boolean) => void;
171
+ };
172
+ ngOnInit(): void;
173
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderMaxDirective, never>;
174
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderMaxDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
175
+ }
176
+
177
+ declare class CoreSliderMinDirective implements OnInit {
178
+ /**
179
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
180
+ * omitted, a unique identifier will be generated for accessibility.
181
+ */
182
+ readonly id: _angular_core.InputSignal<string | undefined>;
183
+ protected readonly hostId: _angular_core.Signal<string>;
184
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
185
+ protected readonly onDestroy: (callback: () => void) => void;
186
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
187
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
188
+ setDisabled: (disabled: boolean) => void;
189
+ };
190
+ ngOnInit(): void;
191
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderMinDirective, never>;
192
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderMinDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
193
+ }
194
+
195
+ declare class CoreSliderRangeDirective implements OnInit {
196
+ /**
197
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
198
+ * omitted, a unique identifier will be generated for accessibility.
199
+ */
200
+ readonly id: _angular_core.InputSignal<string | undefined>;
201
+ protected readonly hostId: _angular_core.Signal<string>;
202
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
203
+ protected readonly onDestroy: (callback: () => void) => void;
204
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
205
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
206
+ setDisabled: (disabled: boolean) => void;
207
+ };
208
+ ngOnInit(): void;
209
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderRangeDirective, never>;
210
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderRangeDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
211
+ }
212
+
213
+ declare class CoreSliderRootDirective extends AbstractBaseListCollectionFormControlDirective<number> implements SignalifyInput<Omit<SliderApiProps, "form" | "ids" | "value" | "aria-label" | "aria-labelledby">>, ControlValueAccessor, OnInit {
214
+ /**
215
+ * The document's text/writing direction.
216
+ */
217
+ readonly dir: _angular_core.InputSignal<Direction | undefined>;
218
+ /**
219
+ * A root node to correctly resolve the Document in custom environments. i.e.,
220
+ * Iframes, Electron.
221
+ */
222
+ readonly getRootNode: _angular_core.InputSignal<(() => ShadowRoot | Document | Node) | undefined>;
223
+ /**
224
+ * HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
225
+ * omitted, a unique identifier will be generated for accessibility.)
226
+ */
227
+ readonly id: _angular_core.InputSignal<string | undefined>;
228
+ /**
229
+ * The aria-label of each slider thumb. Useful for providing an accessible name to
230
+ * the slider
231
+ */
232
+ readonly ariaLabel: _angular_core.InputSignal<string | string[] | undefined>;
233
+ /**
234
+ * The `id` of the elements that labels each slider thumb. Useful for providing an
235
+ * accessible name to the slider
236
+ */
237
+ readonly ariaLabelledby: _angular_core.InputSignal<string | string[] | undefined>;
238
+ /**
239
+ * Function that returns a human readable value for the slider thumb
240
+ */
241
+ readonly getAriaValueText: _angular_core.InputSignal<((details: ValueTextDetails) => string) | undefined>;
242
+ /**
243
+ * The maximum value of the slider
244
+ * @default 100
245
+ */
246
+ readonly max: _angular_core.InputSignal<number | undefined>;
247
+ /**
248
+ * The minimum value of the slider
249
+ * @default 0
250
+ */
251
+ readonly min: _angular_core.InputSignal<number | undefined>;
252
+ /**
253
+ * The minimum permitted steps between multiple thumbs.
254
+ *
255
+ * `minStepsBetweenThumbs` * `step` should reflect the gap between the thumbs.
256
+ *
257
+ * - `step: 1` and `minStepsBetweenThumbs: 10` => gap is `10`
258
+ * - `step: 10` and `minStepsBetweenThumbs: 2` => gap is `20`
259
+ *
260
+ * @default 0
261
+ */
262
+ readonly minStepsBetweenThumbs: _angular_core.InputSignal<number | undefined>;
263
+ /**
264
+ * The orientation of the slider
265
+ * @default "horizontal"
266
+ */
267
+ readonly orientation: _angular_core.InputSignal<"vertical" | "horizontal" | undefined>;
268
+ /**
269
+ * The origin of the slider range. The track is filled from the origin
270
+ * to the thumb for single values.
271
+ * - "start": Useful when the value represents an absolute value
272
+ * - "center": Useful when the value represents an offset (relative)
273
+ * - "end": Useful when the value represents an offset from the end
274
+ *
275
+ * @default "start"
276
+ */
277
+ readonly origin: _angular_core.InputSignal<"start" | "center" | "end" | undefined>;
278
+ /**
279
+ * The step value of the slider
280
+ * @default 1
281
+ */
282
+ readonly step: _angular_core.InputSignal<number | undefined>;
283
+ /**
284
+ * The alignment of the slider thumb relative to the track
285
+ * - `center`: the thumb will extend beyond the bounds of the slider track.
286
+ * - `contain`: the thumb will be contained within the bounds of the track.
287
+ *
288
+ * @default "contain"
289
+ */
290
+ readonly thumbAlignment: _angular_core.InputSignal<"center" | "contain" | undefined>;
291
+ /**
292
+ * The slider thumbs dimensions
293
+ */
294
+ readonly thumbSize: _angular_core.InputSignal<{
295
+ height: number;
296
+ width: number;
297
+ } | undefined>;
298
+ /**
299
+ * Value change callback.
300
+ */
301
+ readonly valueChanged: _angular_core.OutputEmitterRef<ValueChangeDetails>;
302
+ /**
303
+ * Function invoked when the slider value change is done
304
+ */
305
+ readonly valueChangedEnd: _angular_core.OutputEmitterRef<ValueChangeDetails>;
306
+ /**
307
+ * Function invoked when the slider focus changes
308
+ */
309
+ readonly focusChanged: _angular_core.OutputEmitterRef<FocusChangeDetails>;
310
+ protected readonly document: Document;
311
+ protected readonly sliderContextService: SliderContextService;
312
+ protected readonly isMounted: () => boolean;
313
+ protected readonly hostId: _angular_core.Signal<string>;
314
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
315
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
316
+ setDisabled: (disabled: boolean) => void;
317
+ };
318
+ ngOnInit(): void;
319
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderRootDirective, never>;
320
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderRootDirective, never, never, { "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "getRootNode": { "alias": "getRootNode"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "getAriaValueText": { "alias": "getAriaValueText"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "minStepsBetweenThumbs": { "alias": "minStepsBetweenThumbs"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "origin": { "alias": "origin"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "thumbAlignment": { "alias": "thumbAlignment"; "required": false; "isSignal": true; }; "thumbSize": { "alias": "thumbSize"; "required": false; "isSignal": true; }; }, { "valueChanged": "valueChanged"; "valueChangedEnd": "valueChangedEnd"; "focusChanged": "focusChanged"; }, never, never, true, never>;
321
+ }
322
+
323
+ declare class CoreSliderThumbIndicatorDirective implements OnInit {
324
+ /**
325
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
326
+ * omitted, a unique identifier will be generated for accessibility.
327
+ */
328
+ readonly id: _angular_core.InputSignal<string | undefined>;
329
+ protected readonly hostId: _angular_core.Signal<string>;
330
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
331
+ protected readonly sliderThumbContext: () => _qualcomm_ui_core_slider.ThumbProps;
332
+ protected readonly onDestroy: (callback: () => void) => void;
333
+ protected readonly value: _angular_core.Signal<number>;
334
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
335
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
336
+ setDisabled: (disabled: boolean) => void;
337
+ };
338
+ ngOnInit(): void;
339
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderThumbIndicatorDirective, never>;
340
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderThumbIndicatorDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
341
+ }
342
+
343
+ declare class CoreSliderThumbDirective implements SignalifyInput<ThumbProps>, OnInit {
344
+ /**
345
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
346
+ * omitted, a unique identifier will be generated for accessibility.
347
+ */
348
+ readonly id: _angular_core.InputSignal<string | undefined>;
349
+ /**
350
+ * The slider thumb's index.
351
+ */
352
+ readonly index: _angular_core.InputSignal<number>;
353
+ /**
354
+ * The name associated with the slider thumb's input (when used in a form).
355
+ */
356
+ readonly name: _angular_core.InputSignal<string | undefined>;
357
+ protected readonly sliderThumbContextService: SliderThumbContextService;
358
+ protected readonly hostId: _angular_core.Signal<string>;
359
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
360
+ protected readonly onDestroy: (callback: () => void) => void;
361
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
362
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
363
+ setDisabled: (disabled: boolean) => void;
364
+ };
365
+ ngOnInit(): void;
366
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderThumbDirective, never>;
367
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderThumbDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": true; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
368
+ }
369
+
370
+ declare class CoreSliderTrackDirective implements OnInit {
371
+ /**
372
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
373
+ * omitted, a unique identifier will be generated for accessibility.
374
+ */
375
+ readonly id: _angular_core.InputSignal<string | undefined>;
376
+ protected readonly hostId: _angular_core.Signal<string>;
377
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
378
+ protected readonly onDestroy: (callback: () => void) => void;
379
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
380
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
381
+ setDisabled: (disabled: boolean) => void;
382
+ };
383
+ ngOnInit(): void;
384
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderTrackDirective, never>;
385
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderTrackDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
386
+ }
387
+
388
+ declare class CoreSliderValueTextDirective implements OnInit {
389
+ /**
390
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
391
+ * omitted, a unique identifier will be generated for accessibility.
392
+ */
393
+ readonly id: _angular_core.InputSignal<string | undefined>;
394
+ protected readonly hostId: _angular_core.Signal<string>;
395
+ protected readonly sliderContext: () => _qualcomm_ui_core_slider.SliderApi;
396
+ protected readonly onDestroy: (callback: () => void) => void;
397
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
398
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
399
+ setDisabled: (disabled: boolean) => void;
400
+ };
401
+ ngOnInit(): void;
402
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSliderValueTextDirective, never>;
403
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSliderValueTextDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
404
+ }
405
+
406
+ export { CoreSliderControlDirective, CoreSliderErrorTextDirective, CoreSliderHiddenInputDirective, CoreSliderHintDirective, CoreSliderLabelDirective, CoreSliderMarkerDirective, CoreSliderMarkerGroupDirective, CoreSliderMaxDirective, CoreSliderMinDirective, CoreSliderRangeDirective, CoreSliderRootDirective, CoreSliderThumbDirective, CoreSliderThumbIndicatorDirective, CoreSliderTrackDirective, CoreSliderValueTextDirective, SLIDER_CONTEXT, SLIDER_THUMB_CONTEXT, SliderContextService, SliderThumbContextService, provideSliderContext, provideSliderThumbContext, useSliderContext, useSliderThumbContext };
407
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../src/slider/slider-context.service.ts","../../src/slider/slider-thumb-context.service.ts","../../src/slider/core-slider-control.directive.ts","../../src/slider/core-slider-error-text.directive.ts","../../src/slider/core-slider-hidden-input.directive.ts","../../src/slider/core-slider-hint.directive.ts","../../src/slider/core-slider-label.directive.ts","../../src/slider/core-slider-marker-group.directive.ts","../../src/slider/core-slider-marker.directive.ts","../../src/slider/core-slider-max.directive.ts","../../src/slider/core-slider-min.directive.ts","../../src/slider/core-slider-range.directive.ts","../../src/slider/core-slider-root.directive.ts","../../src/slider/core-slider-thumb-indicator.directive.ts","../../src/slider/core-slider-thumb.directive.ts","../../src/slider/core-slider-track.directive.ts","../../src/slider/core-slider-value-text.directive.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;AAWA,cAAA,oBAAA,SAAA,qBAAA,CAAA,SAAA;;;AAC6E;AAE7E,cAAA,cAAA,EAA4B,aAAA,CAAA,cAAA,OAAA,SAAA;AAAA,cAAE,4DAAgB,iCAAA,CAAA,cAAA,0DAAA,SAAA,iBAAA,SAAA;AAAA,cAAE;;ACHhD,cAAA,yBAAA,SAAA,qBAAA,CAAA,UAAA;;;AACmF;AAEnF,cAAA,oBAAA,EACsB,aAAA,CAAA,cAAA,OAAA,UAAA;AAAA,cACpB,iEAAqB,iCAAA,CAAA,cAAA,0DAAA,UAAA,iBAAA,UAAA;AAAA,cACrB;;ACPF,cAAA,0BAAA,YAAA,MAAA;AAEE;;;AAGG;iBACQ,aAAA,CAAA,WAAA;AAEX,+BAAyB,aAAA,CAAA,MAAA;AAEzB,4CAAgC,wBAAA,CAAA,SAAA;AAEhC;+CAEgC,iCAAA,CAAA,mBAAA;;;AAK/B;;;;AAKF;;ACxBD,cAAA,4BAAA,YAAA,MAAA;AAEE;;;AAGG;iBACQ,aAAA,CAAA,WAAA;AAEX,+BAAyB,aAAA,CAAA,MAAA;AAEzB,4CAAgC,wBAAA,CAAA,SAAA;AAEhC;+CAEgC,iCAAA,CAAA,mBAAA;;;AAK/B;;;;AAK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