@qualcomm-ui/angular-core 1.4.2 → 1.5.0
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/checkbox/index.d.ts +19 -1
- package/checkbox/index.d.ts.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +26 -1
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +26 -2
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +53 -1
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +26 -1
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -1
- package/number-input/index.d.ts +18 -2
- package/number-input/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/popover/index.d.ts +8 -2
- package/popover/index.d.ts.map +1 -1
- package/radio/index.d.ts +38 -1
- package/radio/index.d.ts.map +1 -1
- package/switch/index.d.ts +19 -1
- package/switch/index.d.ts.map +1 -1
package/checkbox/index.d.ts
CHANGED
|
@@ -128,6 +128,24 @@ declare class CoreCheckboxErrorTextDirective implements OnInit {
|
|
|
128
128
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreCheckboxErrorTextDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
declare class CoreCheckboxHintDirective implements OnInit {
|
|
132
|
+
/**
|
|
133
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
134
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
135
|
+
*/
|
|
136
|
+
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
137
|
+
protected readonly checkboxContext: () => _qualcomm_ui_core_checkbox.CheckboxApi;
|
|
138
|
+
protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
|
|
139
|
+
extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
|
|
140
|
+
setDisabled: (disabled: boolean) => void;
|
|
141
|
+
};
|
|
142
|
+
private readonly hostId;
|
|
143
|
+
private readonly onDestroy;
|
|
144
|
+
ngOnInit(): void;
|
|
145
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreCheckboxHintDirective, never>;
|
|
146
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreCheckboxHintDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
147
|
+
}
|
|
148
|
+
|
|
131
149
|
declare class CoreCheckboxHiddenInputDirective implements OnInit {
|
|
132
150
|
/**
|
|
133
151
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
@@ -245,6 +263,6 @@ interface CheckboxGroupState {
|
|
|
245
263
|
}
|
|
246
264
|
declare function useCheckboxGroup(props?: UseCheckboxGroupProps): CheckboxGroupState;
|
|
247
265
|
|
|
248
|
-
export { AbstractCheckboxFormControlDirective, CHECKBOX_CONTEXT, CheckboxContextService, CoreCheckboxControlDirective, CoreCheckboxErrorTextDirective, CoreCheckboxHiddenInputDirective, CoreCheckboxIndicatorDirective, CoreCheckboxLabelDirective, CoreCheckboxRootDirective, provideCheckboxContext, useCheckboxContext, useCheckboxGroup };
|
|
266
|
+
export { AbstractCheckboxFormControlDirective, CHECKBOX_CONTEXT, CheckboxContextService, CoreCheckboxControlDirective, CoreCheckboxErrorTextDirective, CoreCheckboxHiddenInputDirective, CoreCheckboxHintDirective, CoreCheckboxIndicatorDirective, CoreCheckboxLabelDirective, CoreCheckboxRootDirective, provideCheckboxContext, useCheckboxContext, useCheckboxGroup };
|
|
249
267
|
export type { CheckboxGroupState, UseCheckboxGroupProps };
|
|
250
268
|
//# sourceMappingURL=index.d.ts.map
|
package/checkbox/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../src/checkbox/abstract-checkbox-form-control.directive.ts","../../src/checkbox/checkbox-context.service.ts","../../src/checkbox/core-checkbox-control.directive.ts","../../src/checkbox/core-checkbox-error-text.directive.ts","../../src/checkbox/core-checkbox-hidden-input.directive.ts","../../src/checkbox/core-checkbox-indicator.directive.ts","../../src/checkbox/core-checkbox-label.directive.ts","../../src/checkbox/core-checkbox-root.directive.ts","../../src/checkbox/use-checkbox-group.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;AAwCA;AAIE;;;;AAIG;;AAKH;;;;AAIG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAKH;;;;AAIG;;AAIH;AACA;AACA;AACA;AAGA;;AAOA;AAIA;;;AAGG;AACH;;;;;;;;;;AA4JA;AAIA;;AAEG;AACH;AA2BA;AAKA;;;AAWA;AAIA;;;;AAIG;AACH;;;AAGD;;AC9TD;;;AACiF;AAEjF;AACkB;AACE;;ACPpB;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACxBD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACxBD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACzBD;AAEE;;;;AAIC;;;;AAKF;;ACVD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACDD;AAQE;;;;AAIG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAKH;;;AAGG;;AAGH;;;AAGG;;AAGH;AACA;AAEA;;;;AAGC;;;;AAgDF;;;AC1HC;;AAEG;AACH;AAEA;;AAEG;AACH;AAEA;;AAEG;AACH;AAEA;;AAEG;AACH;AAEA;;AAEG;;AAEJ;;;AAIC;;AAEA;AACA;AACD;AAED;;;"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../src/checkbox/abstract-checkbox-form-control.directive.ts","../../src/checkbox/checkbox-context.service.ts","../../src/checkbox/core-checkbox-control.directive.ts","../../src/checkbox/core-checkbox-error-text.directive.ts","../../src/checkbox/core-checkbox-hint.directive.ts","../../src/checkbox/core-checkbox-hidden-input.directive.ts","../../src/checkbox/core-checkbox-indicator.directive.ts","../../src/checkbox/core-checkbox-label.directive.ts","../../src/checkbox/core-checkbox-root.directive.ts","../../src/checkbox/use-checkbox-group.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;AAwCA;AAIE;;;;AAIG;;AAKH;;;;AAIG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAKH;;;;AAIG;;AAIH;AACA;AACA;AACA;AAGA;;AAOA;AAIA;;;AAGG;AACH;;;;;;;;;;AA4JA;AAIA;;AAEG;AACH;AA2BA;AAKA;;;AAWA;AAIA;;;;AAIG;AACH;;;AAGD;;AC9TD;;;AACiF;AAEjF;AACkB;AACE;;ACPpB;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACxBD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACxBD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACxBD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACzBD;AAEE;;;;AAIC;;;;AAKF;;ACVD;AAEE;;;AAGG;;AAGH;;;;AAOC;AAED;AAEA;;;;AAKD;;ACDD;AAQE;;;;AAIG;;AAGH;;;AAGG;;AAKH;;;AAGG;;AAKH;;;AAGG;;AAGH;;;AAGG;;AAGH;AACA;AAEA;;;;AAGC;;;;AAgDF;;;AC1HC;;AAEG;AACH;AAEA;;AAEG;AACH;AAEA;;AAEG;AACH;AAEA;;AAEG;AACH;AAEA;;AAEG;;AAEJ;;;AAIC;;AAEA;AACA;AACD;AAED;;;"}
|
|
@@ -329,6 +329,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
329
329
|
type: Directive
|
|
330
330
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
331
331
|
|
|
332
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
333
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
334
|
+
class CoreCheckboxHintDirective {
|
|
335
|
+
/**
|
|
336
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
337
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
338
|
+
*/
|
|
339
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
340
|
+
checkboxContext = useCheckboxContext();
|
|
341
|
+
trackBindings = useTrackBindings(() => this.checkboxContext().getHintBindings({
|
|
342
|
+
id: this.hostId(),
|
|
343
|
+
onDestroy: this.onDestroy,
|
|
344
|
+
}));
|
|
345
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
346
|
+
onDestroy = useOnDestroy();
|
|
347
|
+
ngOnInit() {
|
|
348
|
+
this.trackBindings();
|
|
349
|
+
}
|
|
350
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreCheckboxHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
351
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreCheckboxHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
352
|
+
}
|
|
353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreCheckboxHintDirective, decorators: [{
|
|
354
|
+
type: Directive
|
|
355
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
356
|
+
|
|
332
357
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
333
358
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
334
359
|
class CoreCheckboxHiddenInputDirective {
|
|
@@ -537,5 +562,5 @@ function access(value) {
|
|
|
537
562
|
* Generated bundle index. Do not edit.
|
|
538
563
|
*/
|
|
539
564
|
|
|
540
|
-
export { AbstractCheckboxFormControlDirective, CHECKBOX_CONTEXT, CheckboxContextService, CoreCheckboxControlDirective, CoreCheckboxErrorTextDirective, CoreCheckboxHiddenInputDirective, CoreCheckboxIndicatorDirective, CoreCheckboxLabelDirective, CoreCheckboxRootDirective, provideCheckboxContext, useCheckboxContext, useCheckboxGroup };
|
|
565
|
+
export { AbstractCheckboxFormControlDirective, CHECKBOX_CONTEXT, CheckboxContextService, CoreCheckboxControlDirective, CoreCheckboxErrorTextDirective, CoreCheckboxHiddenInputDirective, CoreCheckboxHintDirective, CoreCheckboxIndicatorDirective, CoreCheckboxLabelDirective, CoreCheckboxRootDirective, provideCheckboxContext, useCheckboxContext, useCheckboxGroup };
|
|
541
566
|
//# sourceMappingURL=qualcomm-ui-angular-core-checkbox.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-checkbox.mjs","sources":["../../src/checkbox/abstract-checkbox-form-control.directive.ts","../../src/checkbox/checkbox-context.service.ts","../../src/checkbox/core-checkbox-control.directive.ts","../../src/checkbox/core-checkbox-error-text.directive.ts","../../src/checkbox/core-checkbox-hidden-input.directive.ts","../../src/checkbox/core-checkbox-indicator.directive.ts","../../src/checkbox/core-checkbox-label.directive.ts","../../src/checkbox/core-checkbox-root.directive.ts","../../src/checkbox/use-checkbox-group.ts","../../src/checkbox/qualcomm-ui-angular-core-checkbox.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n Injector,\n input,\n isDevMode,\n linkedSignal,\n type OnInit,\n output,\n runInInjectionContext,\n signal,\n} from \"@angular/core\"\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n type FormControlStatus,\n FormGroupDirective,\n FormSubmittedEvent,\n NgControl,\n NgForm,\n NgModel,\n PristineChangeEvent,\n Validators,\n} from \"@angular/forms\"\n\nimport {useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n allEventsSignal,\n type FormEventData,\n} from \"@qualcomm-ui/angular-core/forms\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Directive()\nexport abstract class AbstractCheckboxFormControlDirective\n implements ControlValueAccessor, OnInit\n{\n /**\n * The initial checked state of the checkbox when rendered. Use when you don't\n * need to control the checked state of the checkbox. This property will be\n * ignored if you opt into controlled state via form control bindings.\n */\n readonly defaultChecked = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The name of the input field in a checkbox. Useful for form submission.\n */\n readonly name = input<string | undefined>()\n\n /**\n * Whether the input is read-only. When true, prevents user interaction while\n * keeping the input focusable and visible.\n */\n readonly readOnly = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is required in template-driven forms. When\n * true, the input must have a value for form validation to pass.\n */\n readonly required = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the checkbox is checked or unchecked. This is only emitted\n * on interaction. It doesn't emit in response to programmatic form control\n * changes.\n */\n readonly checkedChanged = output<boolean>()\n\n /* the internal \"checked\" state of the checkbox */\n protected readonly checked = signal<boolean>(false)\n protected readonly onDestroy = useOnDestroy()\n protected readonly injector = inject(Injector)\n protected readonly formControlStatus = signal<FormControlStatus | undefined>(\n undefined,\n )\n protected readonly formSubmitted = signal(false)\n\n protected readonly ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n protected readonly formEventData = signal<FormEventData<\n boolean | undefined\n > | null>(null)\n\n /**\n * If the component is bound to an Angular AbstractControl, its state wins.\n * If not, fall back to the host attribute.\n */\n protected readonly isDisabled = linkedSignal(() => {\n /**\n * When the component is bound to any AbstractControl, status is guaranteed to\n * be non-undefined.\n */\n const status = this.formControlStatus()\n const disabled = this.disabled()\n if (status !== undefined) {\n return status === \"DISABLED\"\n }\n\n return !!disabled\n })\n\n readonly invalid = computed(() => {\n const formEventData = this.formEventData()\n const submitted = this.formSubmitted()\n if (!this.control) {\n return false\n }\n\n let invalid, touched, dirty\n\n if (this.isTemplateDrivenForm) {\n invalid = this.control.invalid\n touched = this.control.touched\n dirty = this.control.dirty\n } else if (formEventData) {\n invalid = formEventData.invalid\n touched = formEventData.touched\n dirty = formEventData.dirty\n } else {\n return false\n }\n\n if (submitted) {\n return invalid\n }\n\n switch (this.control.updateOn) {\n case \"submit\":\n return invalid\n case \"blur\":\n return invalid && touched\n default:\n // \"change\"\n return dirty && invalid\n }\n })\n\n readonly isRequired = linkedSignal(() => {\n const control = this.control\n const required = this.required()\n if (!control || !this.isReactiveForm) {\n return required\n }\n\n if (typeof control.hasValidator === \"function\") {\n return (\n control.hasValidator(Validators.required) ||\n control.hasValidator(Validators.requiredTrue)\n )\n }\n return false\n })\n\n constructor() {\n if (this.ngControl) {\n this.ngControl.valueAccessor = this\n }\n\n afterNextRender(() => {\n const required = this.required()\n if (required && this.isReactiveForm && isDevMode()) {\n console.warn(\n \"The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms\",\n )\n }\n })\n\n effect(() => {\n const required = this.required()\n if (this.control && this.isTemplateDrivenForm) {\n if (required) {\n this.control.addValidators(Validators.requiredTrue)\n } else if (this.control.hasValidator(Validators.requiredTrue)) {\n this.control.removeValidators(Validators.requiredTrue)\n }\n }\n })\n }\n\n ngOnInit() {\n // Ensure the form control receives the initial value\n if (!this.control && this.defaultChecked()) {\n this.checked.set(true)\n } else if (this.control) {\n const subscription = this.control.statusChanges.subscribe((status) => {\n this.formControlStatus.set(status)\n })\n this.onDestroy(() => {\n subscription.unsubscribe()\n })\n\n const parent = this.getParentForm()\n\n runInInjectionContext(this.injector, () => {\n if (this.control) {\n const formSignal = allEventsSignal<boolean | undefined>(this.control)\n effect(() => {\n this.formEventData.set(formSignal())\n })\n }\n\n if (parent) {\n let prevPristine = this.control?.pristine || false\n parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {\n if (event instanceof PristineChangeEvent) {\n if (event.pristine && !prevPristine) {\n // if this event fires with pristine status and the control was\n // previously not pristine, this means that the form was reset. There\n // isn't another way to determine form resets programmatically,\n // unfortunately.\n this.formSubmitted.set(false)\n }\n prevPristine = event.pristine\n } else if (event instanceof FormSubmittedEvent) {\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n }\n })\n parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {\n if (this.isReactiveForm) {\n // already accounted for in the above event subscription.\n return\n }\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n })\n }\n })\n }\n }\n\n /** `true` when used with template-driven forms (`[(ngModel)]`, `ngModel`, …). */\n get isTemplateDrivenForm(): boolean {\n return this.ngControl instanceof NgModel\n }\n\n /** `true` when used with reactive-forms (`formControl`, `formControlName`, …). */\n get isReactiveForm(): boolean {\n // Any NgControl that is *not* NgModel belongs to the reactive-forms package\n return !!this.ngControl && !this.isTemplateDrivenForm\n }\n\n /** Convenience access to the underlying AbstractControl (can be null). */\n protected get control(): AbstractControl | null {\n return this.ngControl?.control ?? null\n }\n\n /**\n * Used to subscribe to form submit events.\n */\n private getParentForm(): NgForm | FormGroupDirective | null {\n if (!this.control) {\n return null\n }\n\n // Try to find NgForm first\n try {\n const ngForm = this.injector.get(NgForm, null)\n if (ngForm) {\n return ngForm\n }\n } catch {}\n\n // Fall back to FormGroupDirective\n try {\n const formGroupDirective = this.injector.get(FormGroupDirective, null)\n if (formGroupDirective) {\n return formGroupDirective\n }\n } catch {}\n\n return null\n }\n\n /*\n * Control value accessor methods\n */\n writeValue(value: any): void {\n this.checked.set(value)\n }\n\n // placeholder\n protected onChange = (_value: any) => {}\n\n registerOnChange(fn: (value: any) => void): void {\n this.onChange = (_value) => {\n fn(_value)\n this.checked.set(_value)\n this.checkedChanged.emit(_value)\n }\n }\n\n protected onTouched = () => {}\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n /**\n * NgModel never calls setDisabledState, but ReactiveForms does. Everything else\n * (writeValue, registerOnChange, registerOnTouched) is identical between Reactive\n * and Template forms.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(isDisabled)\n }\n}\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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {CheckboxApi} from \"@qualcomm-ui/core/checkbox\"\n\n@Injectable()\nexport class CheckboxContextService extends BaseApiContextService<CheckboxApi> {}\n\nexport const [\n CHECKBOX_CONTEXT,\n useCheckboxContext,\n provideCheckboxContext,\n]: ApiContext<CheckboxApi> = createApiContext<CheckboxApi>(\n \"CheckboxContext\",\n CheckboxContextService,\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxControlDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getControlBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxErrorTextDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxHiddenInputDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getHiddenInputBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxIndicatorDirective implements OnInit {\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getIndicatorBindings(),\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxLabelDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\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 type CheckboxApiProps,\n checkboxMachine,\n createCheckboxApi,\n} from \"@qualcomm-ui/core/checkbox\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {AbstractCheckboxFormControlDirective} from \"./abstract-checkbox-form-control.directive\"\nimport {CheckboxContextService} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(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 * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly checkboxContextService = inject(CheckboxContextService)\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n checkboxMachine,\n computed<Explicit<CheckboxApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n indeterminate: this.indeterminate(),\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.onTouched()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger onTouched on blur.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.checkboxContextService.init(\n computed(() => createCheckboxApi(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, type Signal} from \"@angular/core\"\n\nimport {useControlledState} from \"@qualcomm-ui/angular-core/state\"\n\nexport interface UseCheckboxGroupProps {\n /**\n * The initial value of `value` when uncontrolled\n */\n defaultValue?: Signal<string[] | undefined> | string[] | undefined\n\n /**\n * If `true`, the checkbox group is disabled\n */\n disabled?: boolean | undefined\n\n /**\n * The callback to call when the value changes\n */\n onValueChange?: ((value: string[]) => void) | undefined\n\n /**\n * If `true`, the checkbox group is read-only\n */\n readOnly?: boolean | undefined\n\n /**\n * The controlled value of the checkbox group\n */\n value?: Signal<string[] | undefined>\n}\n\nexport interface CheckboxGroupState {\n isChecked: (val: string | undefined) => boolean\n removeValue: (val: string) => void\n setValue: (value: string[]) => void\n toggleValue: (val: string) => void\n value: Signal<string[]>\n}\n\nexport function useCheckboxGroup(\n props: UseCheckboxGroupProps = {},\n): CheckboxGroupState {\n const {\n defaultValue,\n disabled,\n onValueChange,\n readOnly,\n value: controlledValue,\n } = props\n\n const state = useControlledState({\n defaultValue: computed(() => access(defaultValue) || []),\n onChange: (value) => onValueChange?.(value || []),\n value: controlledValue,\n })\n\n const {setValue, value: getValue} = state()\n\n const value = computed(() => getValue() || [])\n\n const interactive = !disabled && !readOnly\n\n const getIsChecked = (val: string | undefined) => {\n return computed(() => value().some((v) => String(v) === String(val)))\n }\n\n const isChecked = (val: string | undefined) => getIsChecked(val)()\n\n const toggleValue = (val: string) => {\n if (!interactive) {\n return\n }\n if (isChecked(val)) {\n removeValue(val)\n } else {\n addValue(val)\n }\n }\n\n const addValue = (val: string) => {\n if (!interactive) {\n return\n }\n if (isChecked(val)) {\n return\n }\n setValue(value().concat(val))\n }\n\n const removeValue = (val: string) => {\n if (!interactive) {\n return\n }\n setValue(value().filter((v) => String(v) !== String(val)))\n }\n\n return {\n isChecked,\n removeValue,\n setValue,\n toggleValue,\n value,\n }\n}\n\nfunction access<T>(value: Signal<T> | T | undefined): T | undefined {\n if (value === undefined) {\n return undefined\n }\n if (typeof value === \"function\") {\n return (value as unknown as Signal<T>)()\n }\n return value as T\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;AACA;MAwCsB,oCAAoC,CAAA;AAGxD;;;;AAIG;IACM,cAAc,GAAG,KAAK,CAAkC,SAAS,kDACxE,SAAS,EAAE,gBAA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control.directive.ts","../../src/checkbox/checkbox-context.service.ts","../../src/checkbox/core-checkbox-control.directive.ts","../../src/checkbox/core-checkbox-error-text.directive.ts","../../src/checkbox/core-checkbox-hint.directive.ts","../../src/checkbox/core-checkbox-hidden-input.directive.ts","../../src/checkbox/core-checkbox-indicator.directive.ts","../../src/checkbox/core-checkbox-label.directive.ts","../../src/checkbox/core-checkbox-root.directive.ts","../../src/checkbox/use-checkbox-group.ts","../../src/checkbox/qualcomm-ui-angular-core-checkbox.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n Injector,\n input,\n isDevMode,\n linkedSignal,\n type OnInit,\n output,\n runInInjectionContext,\n signal,\n} from \"@angular/core\"\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n type FormControlStatus,\n FormGroupDirective,\n FormSubmittedEvent,\n NgControl,\n NgForm,\n NgModel,\n PristineChangeEvent,\n Validators,\n} from \"@angular/forms\"\n\nimport {useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n allEventsSignal,\n type FormEventData,\n} from \"@qualcomm-ui/angular-core/forms\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Directive()\nexport abstract class AbstractCheckboxFormControlDirective\n implements ControlValueAccessor, OnInit\n{\n /**\n * The initial checked state of the checkbox when rendered. Use when you don't\n * need to control the checked state of the checkbox. This property will be\n * ignored if you opt into controlled state via form control bindings.\n */\n readonly defaultChecked = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The name of the input field in a checkbox. Useful for form submission.\n */\n readonly name = input<string | undefined>()\n\n /**\n * Whether the input is read-only. When true, prevents user interaction while\n * keeping the input focusable and visible.\n */\n readonly readOnly = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is required in template-driven forms. When\n * true, the input must have a value for form validation to pass.\n */\n readonly required = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the checkbox is checked or unchecked. This is only emitted\n * on interaction. It doesn't emit in response to programmatic form control\n * changes.\n */\n readonly checkedChanged = output<boolean>()\n\n /* the internal \"checked\" state of the checkbox */\n protected readonly checked = signal<boolean>(false)\n protected readonly onDestroy = useOnDestroy()\n protected readonly injector = inject(Injector)\n protected readonly formControlStatus = signal<FormControlStatus | undefined>(\n undefined,\n )\n protected readonly formSubmitted = signal(false)\n\n protected readonly ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n protected readonly formEventData = signal<FormEventData<\n boolean | undefined\n > | null>(null)\n\n /**\n * If the component is bound to an Angular AbstractControl, its state wins.\n * If not, fall back to the host attribute.\n */\n protected readonly isDisabled = linkedSignal(() => {\n /**\n * When the component is bound to any AbstractControl, status is guaranteed to\n * be non-undefined.\n */\n const status = this.formControlStatus()\n const disabled = this.disabled()\n if (status !== undefined) {\n return status === \"DISABLED\"\n }\n\n return !!disabled\n })\n\n readonly invalid = computed(() => {\n const formEventData = this.formEventData()\n const submitted = this.formSubmitted()\n if (!this.control) {\n return false\n }\n\n let invalid, touched, dirty\n\n if (this.isTemplateDrivenForm) {\n invalid = this.control.invalid\n touched = this.control.touched\n dirty = this.control.dirty\n } else if (formEventData) {\n invalid = formEventData.invalid\n touched = formEventData.touched\n dirty = formEventData.dirty\n } else {\n return false\n }\n\n if (submitted) {\n return invalid\n }\n\n switch (this.control.updateOn) {\n case \"submit\":\n return invalid\n case \"blur\":\n return invalid && touched\n default:\n // \"change\"\n return dirty && invalid\n }\n })\n\n readonly isRequired = linkedSignal(() => {\n const control = this.control\n const required = this.required()\n if (!control || !this.isReactiveForm) {\n return required\n }\n\n if (typeof control.hasValidator === \"function\") {\n return (\n control.hasValidator(Validators.required) ||\n control.hasValidator(Validators.requiredTrue)\n )\n }\n return false\n })\n\n constructor() {\n if (this.ngControl) {\n this.ngControl.valueAccessor = this\n }\n\n afterNextRender(() => {\n const required = this.required()\n if (required && this.isReactiveForm && isDevMode()) {\n console.warn(\n \"The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms\",\n )\n }\n })\n\n effect(() => {\n const required = this.required()\n if (this.control && this.isTemplateDrivenForm) {\n if (required) {\n this.control.addValidators(Validators.requiredTrue)\n } else if (this.control.hasValidator(Validators.requiredTrue)) {\n this.control.removeValidators(Validators.requiredTrue)\n }\n }\n })\n }\n\n ngOnInit() {\n // Ensure the form control receives the initial value\n if (!this.control && this.defaultChecked()) {\n this.checked.set(true)\n } else if (this.control) {\n const subscription = this.control.statusChanges.subscribe((status) => {\n this.formControlStatus.set(status)\n })\n this.onDestroy(() => {\n subscription.unsubscribe()\n })\n\n const parent = this.getParentForm()\n\n runInInjectionContext(this.injector, () => {\n if (this.control) {\n const formSignal = allEventsSignal<boolean | undefined>(this.control)\n effect(() => {\n this.formEventData.set(formSignal())\n })\n }\n\n if (parent) {\n let prevPristine = this.control?.pristine || false\n parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {\n if (event instanceof PristineChangeEvent) {\n if (event.pristine && !prevPristine) {\n // if this event fires with pristine status and the control was\n // previously not pristine, this means that the form was reset. There\n // isn't another way to determine form resets programmatically,\n // unfortunately.\n this.formSubmitted.set(false)\n }\n prevPristine = event.pristine\n } else if (event instanceof FormSubmittedEvent) {\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n }\n })\n parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {\n if (this.isReactiveForm) {\n // already accounted for in the above event subscription.\n return\n }\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n })\n }\n })\n }\n }\n\n /** `true` when used with template-driven forms (`[(ngModel)]`, `ngModel`, …). */\n get isTemplateDrivenForm(): boolean {\n return this.ngControl instanceof NgModel\n }\n\n /** `true` when used with reactive-forms (`formControl`, `formControlName`, …). */\n get isReactiveForm(): boolean {\n // Any NgControl that is *not* NgModel belongs to the reactive-forms package\n return !!this.ngControl && !this.isTemplateDrivenForm\n }\n\n /** Convenience access to the underlying AbstractControl (can be null). */\n protected get control(): AbstractControl | null {\n return this.ngControl?.control ?? null\n }\n\n /**\n * Used to subscribe to form submit events.\n */\n private getParentForm(): NgForm | FormGroupDirective | null {\n if (!this.control) {\n return null\n }\n\n // Try to find NgForm first\n try {\n const ngForm = this.injector.get(NgForm, null)\n if (ngForm) {\n return ngForm\n }\n } catch {}\n\n // Fall back to FormGroupDirective\n try {\n const formGroupDirective = this.injector.get(FormGroupDirective, null)\n if (formGroupDirective) {\n return formGroupDirective\n }\n } catch {}\n\n return null\n }\n\n /*\n * Control value accessor methods\n */\n writeValue(value: any): void {\n this.checked.set(value)\n }\n\n // placeholder\n protected onChange = (_value: any) => {}\n\n registerOnChange(fn: (value: any) => void): void {\n this.onChange = (_value) => {\n fn(_value)\n this.checked.set(_value)\n this.checkedChanged.emit(_value)\n }\n }\n\n protected onTouched = () => {}\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n /**\n * NgModel never calls setDisabledState, but ReactiveForms does. Everything else\n * (writeValue, registerOnChange, registerOnTouched) is identical between Reactive\n * and Template forms.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(isDisabled)\n }\n}\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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {CheckboxApi} from \"@qualcomm-ui/core/checkbox\"\n\n@Injectable()\nexport class CheckboxContextService extends BaseApiContextService<CheckboxApi> {}\n\nexport const [\n CHECKBOX_CONTEXT,\n useCheckboxContext,\n provideCheckboxContext,\n]: ApiContext<CheckboxApi> = createApiContext<CheckboxApi>(\n \"CheckboxContext\",\n CheckboxContextService,\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxControlDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getControlBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxErrorTextDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxHintDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getHintBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxHiddenInputDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getHiddenInputBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxIndicatorDirective implements OnInit {\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getIndicatorBindings(),\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 {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxLabelDirective 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 checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\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 booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\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 type CheckboxApiProps,\n checkboxMachine,\n createCheckboxApi,\n} from \"@qualcomm-ui/core/checkbox\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {AbstractCheckboxFormControlDirective} from \"./abstract-checkbox-form-control.directive\"\nimport {CheckboxContextService} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(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 * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly checkboxContextService = inject(CheckboxContextService)\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n checkboxMachine,\n computed<Explicit<CheckboxApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n indeterminate: this.indeterminate(),\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.onTouched()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger onTouched on blur.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.checkboxContextService.init(\n computed(() => createCheckboxApi(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, type Signal} from \"@angular/core\"\n\nimport {useControlledState} from \"@qualcomm-ui/angular-core/state\"\n\nexport interface UseCheckboxGroupProps {\n /**\n * The initial value of `value` when uncontrolled\n */\n defaultValue?: Signal<string[] | undefined> | string[] | undefined\n\n /**\n * If `true`, the checkbox group is disabled\n */\n disabled?: boolean | undefined\n\n /**\n * The callback to call when the value changes\n */\n onValueChange?: ((value: string[]) => void) | undefined\n\n /**\n * If `true`, the checkbox group is read-only\n */\n readOnly?: boolean | undefined\n\n /**\n * The controlled value of the checkbox group\n */\n value?: Signal<string[] | undefined>\n}\n\nexport interface CheckboxGroupState {\n isChecked: (val: string | undefined) => boolean\n removeValue: (val: string) => void\n setValue: (value: string[]) => void\n toggleValue: (val: string) => void\n value: Signal<string[]>\n}\n\nexport function useCheckboxGroup(\n props: UseCheckboxGroupProps = {},\n): CheckboxGroupState {\n const {\n defaultValue,\n disabled,\n onValueChange,\n readOnly,\n value: controlledValue,\n } = props\n\n const state = useControlledState({\n defaultValue: computed(() => access(defaultValue) || []),\n onChange: (value) => onValueChange?.(value || []),\n value: controlledValue,\n })\n\n const {setValue, value: getValue} = state()\n\n const value = computed(() => getValue() || [])\n\n const interactive = !disabled && !readOnly\n\n const getIsChecked = (val: string | undefined) => {\n return computed(() => value().some((v) => String(v) === String(val)))\n }\n\n const isChecked = (val: string | undefined) => getIsChecked(val)()\n\n const toggleValue = (val: string) => {\n if (!interactive) {\n return\n }\n if (isChecked(val)) {\n removeValue(val)\n } else {\n addValue(val)\n }\n }\n\n const addValue = (val: string) => {\n if (!interactive) {\n return\n }\n if (isChecked(val)) {\n return\n }\n setValue(value().concat(val))\n }\n\n const removeValue = (val: string) => {\n if (!interactive) {\n return\n }\n setValue(value().filter((v) => String(v) !== String(val)))\n }\n\n return {\n isChecked,\n removeValue,\n setValue,\n toggleValue,\n value,\n }\n}\n\nfunction access<T>(value: Signal<T> | T | undefined): T | undefined {\n if (value === undefined) {\n return undefined\n }\n if (typeof value === \"function\") {\n return (value as unknown as Signal<T>)()\n }\n return value as T\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;AACA;MAwCsB,oCAAoC,CAAA;AAGxD;;;;AAIG;IACM,cAAc,GAAG,KAAK,CAAkC,SAAS,kDACxE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CAD+C;AAC1E,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;;;AAIG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CADyC;AACpE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;AAEG;IACM,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,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;AAED,IAAA,MAAM,WAAW,GAAG,CAAC,GAAW,KAAI;QAClC,IAAI,CAAC,WAAW,EAAE;YAChB;QACF;QACA,QAAQ,CAAC,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAC5D,IAAA,CAAC;IAED,OAAO;QACL,SAAS;QACT,WAAW;QACX,QAAQ;QACR,WAAW;QACX,KAAK;KACN;AACH;AAEA,SAAS,MAAM,CAAI,KAAgC,EAAA;AACjD,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;QAC/B,OAAQ,KAA8B,EAAE;IAC1C;AACA,IAAA,OAAO,KAAU;AACnB;;ACpHA;;AAEG;;;;"}
|
|
@@ -607,6 +607,22 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
607
607
|
* their states
|
|
608
608
|
*/
|
|
609
609
|
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : []));
|
|
610
|
+
/**
|
|
611
|
+
* The controlled unit value.
|
|
612
|
+
*/
|
|
613
|
+
unit = input(...(ngDevMode ? [undefined, { debugName: "unit" }] : []));
|
|
614
|
+
/**
|
|
615
|
+
* The initial unit when uncontrolled. Defaults to first option if not provided.
|
|
616
|
+
*/
|
|
617
|
+
defaultUnit = input(...(ngDevMode ? [undefined, { debugName: "defaultUnit" }] : []));
|
|
618
|
+
/**
|
|
619
|
+
* Array of unit options to display in the unit selector.
|
|
620
|
+
*/
|
|
621
|
+
unitOptions = input(...(ngDevMode ? [undefined, { debugName: "unitOptions" }] : []));
|
|
622
|
+
/**
|
|
623
|
+
* Event emitted when the selected unit changes.
|
|
624
|
+
*/
|
|
625
|
+
unitChanged = output();
|
|
610
626
|
/**
|
|
611
627
|
* Event emitted when the checkbox is checked or unchecked. This is only emitted
|
|
612
628
|
* on interaction. It doesn't emit in response to programmatic form control
|
|
@@ -630,6 +646,7 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
630
646
|
allowMouseWheel: this.allowMouseWheel(),
|
|
631
647
|
allowOverflow: this.allowOverflow(),
|
|
632
648
|
clampValueOnBlur: this.clampValueOnBlur(),
|
|
649
|
+
defaultUnit: this.defaultUnit(),
|
|
633
650
|
defaultValue: this.defaultValue()
|
|
634
651
|
? `${this.defaultValue() ?? ""}`
|
|
635
652
|
: "",
|
|
@@ -653,6 +670,11 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
653
670
|
this.onTouched();
|
|
654
671
|
}
|
|
655
672
|
},
|
|
673
|
+
onUnitChange: (unit) => {
|
|
674
|
+
if (this.isMounted()) {
|
|
675
|
+
this.unitChanged.emit(unit);
|
|
676
|
+
}
|
|
677
|
+
},
|
|
656
678
|
onValueChange: (details) => {
|
|
657
679
|
this.stringValue.set(details.value);
|
|
658
680
|
if (!this.control) {
|
|
@@ -682,6 +704,8 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
682
704
|
spinOnPress: this.spinOnPress(),
|
|
683
705
|
step: this.step(),
|
|
684
706
|
translations: this.translations(),
|
|
707
|
+
unit: this.unit(),
|
|
708
|
+
unitOptions: this.unitOptions(),
|
|
685
709
|
value: this.stringValue(),
|
|
686
710
|
};
|
|
687
711
|
}), this.injector);
|
|
@@ -689,11 +713,11 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
689
713
|
this.trackBindings();
|
|
690
714
|
}
|
|
691
715
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreNumberInputRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
692
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreNumberInputRootDirective, isStandalone: true, inputs: { allowMouseWheel: { classPropertyName: "allowMouseWheel", publicName: "allowMouseWheel", isSignal: true, isRequired: false, transformFunction: null }, allowOverflow: { classPropertyName: "allowOverflow", publicName: "allowOverflow", isSignal: true, isRequired: false, transformFunction: null }, clampValueOnBlur: { classPropertyName: "clampValueOnBlur", publicName: "clampValueOnBlur", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, focusInputOnChange: { classPropertyName: "focusInputOnChange", publicName: "focusInputOnChange", isSignal: true, isRequired: false, transformFunction: null }, formatOptions: { classPropertyName: "formatOptions", publicName: "formatOptions", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, inputMode: { classPropertyName: "inputMode", publicName: "inputMode", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, spinOnPress: { classPropertyName: "spinOnPress", publicName: "spinOnPress", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged", valueInvalid: "valueInvalid" }, usesInheritance: true, ngImport: i0 });
|
|
716
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreNumberInputRootDirective, isStandalone: true, inputs: { allowMouseWheel: { classPropertyName: "allowMouseWheel", publicName: "allowMouseWheel", isSignal: true, isRequired: false, transformFunction: null }, allowOverflow: { classPropertyName: "allowOverflow", publicName: "allowOverflow", isSignal: true, isRequired: false, transformFunction: null }, clampValueOnBlur: { classPropertyName: "clampValueOnBlur", publicName: "clampValueOnBlur", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, focusInputOnChange: { classPropertyName: "focusInputOnChange", publicName: "focusInputOnChange", isSignal: true, isRequired: false, transformFunction: null }, formatOptions: { classPropertyName: "formatOptions", publicName: "formatOptions", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, inputMode: { classPropertyName: "inputMode", publicName: "inputMode", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, spinOnPress: { classPropertyName: "spinOnPress", publicName: "spinOnPress", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, defaultUnit: { classPropertyName: "defaultUnit", publicName: "defaultUnit", isSignal: true, isRequired: false, transformFunction: null }, unitOptions: { classPropertyName: "unitOptions", publicName: "unitOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { unitChanged: "unitChanged", valueChanged: "valueChanged", valueInvalid: "valueInvalid" }, usesInheritance: true, ngImport: i0 });
|
|
693
717
|
}
|
|
694
718
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreNumberInputRootDirective, decorators: [{
|
|
695
719
|
type: Directive
|
|
696
|
-
}], propDecorators: { allowMouseWheel: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowMouseWheel", required: false }] }], allowOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowOverflow", required: false }] }], clampValueOnBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "clampValueOnBlur", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], focusInputOnChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusInputOnChange", required: false }] }], formatOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatOptions", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], inputMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputMode", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], spinOnPress: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinOnPress", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], valueInvalid: [{ type: i0.Output, args: ["valueInvalid"] }] } });
|
|
720
|
+
}], propDecorators: { allowMouseWheel: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowMouseWheel", required: false }] }], allowOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowOverflow", required: false }] }], clampValueOnBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "clampValueOnBlur", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], focusInputOnChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusInputOnChange", required: false }] }], formatOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatOptions", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], inputMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputMode", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], spinOnPress: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinOnPress", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], unit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unit", required: false }] }], defaultUnit: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultUnit", required: false }] }], unitOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "unitOptions", required: false }] }], unitChanged: [{ type: i0.Output, args: ["unitChanged"] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], valueInvalid: [{ type: i0.Output, args: ["valueInvalid"] }] } });
|
|
697
721
|
|
|
698
722
|
/**
|
|
699
723
|
* Generated bundle index. Do not edit.
|