@wirekyt/angular 0.0.34 → 0.0.35
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/dist/fesm2022/wirekyt-angular-json-tree-view.mjs +0 -5
- package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs.map +1 -1
- package/dist/fesm2022/wirekyt-angular-listbox.mjs +627 -0
- package/dist/fesm2022/wirekyt-angular-listbox.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-menu.mjs +0 -6
- package/dist/fesm2022/wirekyt-angular-menu.mjs.map +1 -1
- package/dist/fesm2022/wirekyt-angular-number-input.mjs +467 -0
- package/dist/fesm2022/wirekyt-angular-number-input.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-password-input.mjs +437 -0
- package/dist/fesm2022/wirekyt-angular-password-input.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-pin-input.mjs +485 -0
- package/dist/fesm2022/wirekyt-angular-pin-input.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-progress.mjs +337 -0
- package/dist/fesm2022/wirekyt-angular-progress.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-qr-code.mjs +0 -11
- package/dist/fesm2022/wirekyt-angular-qr-code.mjs.map +1 -1
- package/dist/fesm2022/wirekyt-angular-radio-group.mjs +461 -0
- package/dist/fesm2022/wirekyt-angular-radio-group.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-rating-group.mjs +435 -0
- package/dist/fesm2022/wirekyt-angular-rating-group.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-scroll-area.mjs +276 -0
- package/dist/fesm2022/wirekyt-angular-scroll-area.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-segment-group.mjs +506 -0
- package/dist/fesm2022/wirekyt-angular-segment-group.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-signature-pad.mjs +382 -0
- package/dist/fesm2022/wirekyt-angular-signature-pad.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-slider.mjs +574 -0
- package/dist/fesm2022/wirekyt-angular-slider.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-splitter.mjs +303 -0
- package/dist/fesm2022/wirekyt-angular-splitter.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-steps.mjs +465 -0
- package/dist/fesm2022/wirekyt-angular-steps.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-swap.mjs +192 -0
- package/dist/fesm2022/wirekyt-angular-swap.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-switch.mjs +340 -0
- package/dist/fesm2022/wirekyt-angular-switch.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-tags-input.mjs +645 -0
- package/dist/fesm2022/wirekyt-angular-tags-input.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-timer.mjs +294 -0
- package/dist/fesm2022/wirekyt-angular-timer.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-toggle-group.mjs +194 -0
- package/dist/fesm2022/wirekyt-angular-toggle-group.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-toggle.mjs +170 -0
- package/dist/fesm2022/wirekyt-angular-toggle.mjs.map +1 -0
- package/dist/fesm2022/wirekyt-angular-tour.mjs +806 -0
- package/dist/fesm2022/wirekyt-angular-tour.mjs.map +1 -0
- package/dist/package.json +81 -1
- package/dist/types/wirekyt-angular-checkbox.d.ts +1 -1
- package/dist/types/wirekyt-angular-color-picker.d.ts +1 -1
- package/dist/types/wirekyt-angular-combobox.d.ts +1 -1
- package/dist/types/wirekyt-angular-date-picker.d.ts +1 -1
- package/dist/types/wirekyt-angular-json-tree-view.d.ts +0 -5
- package/dist/types/wirekyt-angular-json-tree-view.d.ts.map +1 -1
- package/dist/types/wirekyt-angular-listbox.d.ts +206 -0
- package/dist/types/wirekyt-angular-listbox.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-menu.d.ts +0 -23
- package/dist/types/wirekyt-angular-menu.d.ts.map +1 -1
- package/dist/types/wirekyt-angular-number-input.d.ts +143 -0
- package/dist/types/wirekyt-angular-number-input.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-password-input.d.ts +124 -0
- package/dist/types/wirekyt-angular-password-input.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-pin-input.d.ts +131 -0
- package/dist/types/wirekyt-angular-pin-input.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-progress.d.ts +129 -0
- package/dist/types/wirekyt-angular-progress.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-qr-code.d.ts +0 -11
- package/dist/types/wirekyt-angular-qr-code.d.ts.map +1 -1
- package/dist/types/wirekyt-angular-radio-group.d.ts +149 -0
- package/dist/types/wirekyt-angular-radio-group.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-rating-group.d.ts +136 -0
- package/dist/types/wirekyt-angular-rating-group.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-scroll-area.d.ts +106 -0
- package/dist/types/wirekyt-angular-scroll-area.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-segment-group.d.ts +152 -0
- package/dist/types/wirekyt-angular-segment-group.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-signature-pad.d.ts +120 -0
- package/dist/types/wirekyt-angular-signature-pad.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-slider.d.ts +176 -0
- package/dist/types/wirekyt-angular-slider.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-splitter.d.ts +116 -0
- package/dist/types/wirekyt-angular-splitter.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-steps.d.ts +160 -0
- package/dist/types/wirekyt-angular-steps.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-swap.d.ts +86 -0
- package/dist/types/wirekyt-angular-swap.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-switch.d.ts +110 -0
- package/dist/types/wirekyt-angular-switch.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-tags-input.d.ts +193 -0
- package/dist/types/wirekyt-angular-tags-input.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-timer.d.ts +109 -0
- package/dist/types/wirekyt-angular-timer.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-toggle-group.d.ts +81 -0
- package/dist/types/wirekyt-angular-toggle-group.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-toggle.d.ts +69 -0
- package/dist/types/wirekyt-angular-toggle.d.ts.map +1 -0
- package/dist/types/wirekyt-angular-tour.d.ts +209 -0
- package/dist/types/wirekyt-angular-tour.d.ts.map +1 -0
- package/package.json +82 -3
|
@@ -112,14 +112,6 @@ declare class MenuContent {
|
|
|
112
112
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuContent, "[menu-content]", ["menuContent"], {}, {}, never, never, true, never>;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
/**
|
|
116
|
-
* Internal DI token carrying a menu item's own value/checked/api so descendant
|
|
117
|
-
* indicators can apply Zag's `getItemIndicatorProps`. Not exported from the
|
|
118
|
-
* public entry point.
|
|
119
|
-
*
|
|
120
|
-
* When `checked` is `undefined`, the parent item is a non-option item and
|
|
121
|
-
* indicator descendants should not render a checked/unchecked state.
|
|
122
|
-
*/
|
|
123
115
|
interface MenuItemContext {
|
|
124
116
|
readonly state: Signal<menu.ItemState | menu.OptionItemState>;
|
|
125
117
|
readonly value: Signal<string>;
|
|
@@ -267,11 +259,6 @@ declare class MenuRadioItem implements MenuItemContext {
|
|
|
267
259
|
interface MenuValueChangeDetails {
|
|
268
260
|
value: string;
|
|
269
261
|
}
|
|
270
|
-
/**
|
|
271
|
-
* Internal DI token carrying a radio item-group's id and current selected value
|
|
272
|
-
* so radio items inside the group can mark themselves checked and emit
|
|
273
|
-
* value-change events through the parent group's model channel.
|
|
274
|
-
*/
|
|
275
262
|
interface MenuRadioItemGroupContext {
|
|
276
263
|
readonly id: Signal<string>;
|
|
277
264
|
readonly value: Signal<string | null | undefined>;
|
|
@@ -290,10 +277,6 @@ declare class MenuRadioItemGroup implements MenuRadioItemGroupContext {
|
|
|
290
277
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuRadioItemGroup, "[menu-radio-item-group]", ["menuRadioItemGroup"], { "idInput": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChangeDetails": "valueChangeDetails"; }, never, never, true, never>;
|
|
291
278
|
}
|
|
292
279
|
|
|
293
|
-
/**
|
|
294
|
-
* Internal DI token carrying a non-radio item-group's id so the corresponding
|
|
295
|
-
* `menuItemGroupLabel` can apply Zag's `getItemGroupLabelProps`.
|
|
296
|
-
*/
|
|
297
280
|
interface MenuItemGroupContext {
|
|
298
281
|
readonly id: Signal<string>;
|
|
299
282
|
}
|
|
@@ -313,12 +296,6 @@ declare class MenuItemGroupLabel {
|
|
|
313
296
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemGroupLabel, "[menu-item-group-label]", ["menuItemGroupLabel"], {}, {}, never, never, true, never>;
|
|
314
297
|
}
|
|
315
298
|
|
|
316
|
-
/**
|
|
317
|
-
* Nested-submenu trigger item. The directive must live inside a child menu's
|
|
318
|
-
* `[menu-root]` root that is itself a descendant of a parent `[menu-root]` root.
|
|
319
|
-
* The parent menu's `getTriggerItemProps(childApi)` is applied so clicking or
|
|
320
|
-
* hovering this element opens the child submenu while leaving the parent open.
|
|
321
|
-
*/
|
|
322
299
|
declare class MenuTriggerItem {
|
|
323
300
|
private readonly triggerItemProps;
|
|
324
301
|
readonly itemProps: i0.Signal<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wirekyt-angular-menu.d.ts","sources":["../../src/components/menu/use.ts","../../src/components/menu/use-context.ts","../../src/components/menu/root.ts","../../src/components/menu/root-provider.ts","../../src/components/menu/trigger.ts","../../src/components/menu/context-trigger.ts","../../src/components/menu/positioner.ts","../../src/components/menu/content.ts","../../src/components/menu/use-item-context.ts","../../src/components/menu/item.ts","../../src/components/menu/context.ts","../../src/components/menu/item-context.ts","../../src/components/menu/item-text.ts","../../src/components/menu/separator.ts","../../src/components/menu/indicator.ts","../../src/components/menu/arrow.ts","../../src/components/menu/arrow-tip.ts","../../src/components/menu/checkbox-item.ts","../../src/components/menu/radio-item.ts","../../src/components/menu/use-radio-item-group-context.ts","../../src/components/menu/radio-item-group.ts","../../src/components/menu/use-item-group-context.ts","../../src/components/menu/item-group.ts","../../src/components/menu/item-group-label.ts","../../src/components/menu/trigger-item.ts","../../src/components/menu/item-indicator.ts"],"mappings":";;;;;;;;;AAWA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,YAAa,SAAQ,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK;AAA4B;AAEtF,KAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,OAAO,WAAW,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO;UAEzE,cAAc;mBACd,YAAY;AAC5B;AAKD,iBAAgB,OAAO,UAAU,cAAc,GAAG,aAAa;;AClB/D,cAAa,YAAY,EAAA,cAAA,CAAA,aAAA;AAEzB,iBAAgB,iBAAiB,IAAI,aAAa;AAIlD,cAAa,oBAAoB,EAAA,cAAA,CAAA,cAAA,CAAA,aAAA;AAIjC,iBAAgB,wBAAwB,IAAI,cAAc,CAAC,aAAa;;AC0BxE,cAuBa,QAAS,SAAQ,YAAa,YAAW,aAAa;iBACpD,WAAW;AACxB,kBAAc,WAAW,CAAC,OAAO,CAACA,UAAc;mBAGjC,WAAW;0BACJ,wBAAwB;+BAGnB,WAAW;sCAGJ,WAAW;wBAGzB,wBAAwB;4BAGpB,wBAAwB;wBAM5B,wBAAwB;wBAMxB,wBAAwB;0BAMtB,WAAW,CAACC,kBAAsB;wBAGpC,WAAW;AAG/B,0BAAsB,WAAW,CAAC,IAAI,CAAC,KAAK;AAE5C,uBAAmB,WAAW,CAAC,IAAI,CAAC,KAAK;2BAClB,WAAW;kCAGJ,WAAW;AAIzC,qBAAiB,gBAAgB,C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AAd,cAAc;2CAAd,cAAc;AAU1B;;ACHD,cAKa,WAAW;;yCAAX,WAAW;2CAAX,WAAW;AAoCvB;;
|
|
1
|
+
{"version":3,"file":"wirekyt-angular-menu.d.ts","sources":["../../src/components/menu/use.ts","../../src/components/menu/use-context.ts","../../src/components/menu/root.ts","../../src/components/menu/root-provider.ts","../../src/components/menu/trigger.ts","../../src/components/menu/context-trigger.ts","../../src/components/menu/positioner.ts","../../src/components/menu/content.ts","../../src/components/menu/use-item-context.ts","../../src/components/menu/item.ts","../../src/components/menu/context.ts","../../src/components/menu/item-context.ts","../../src/components/menu/item-text.ts","../../src/components/menu/separator.ts","../../src/components/menu/indicator.ts","../../src/components/menu/arrow.ts","../../src/components/menu/arrow-tip.ts","../../src/components/menu/checkbox-item.ts","../../src/components/menu/radio-item.ts","../../src/components/menu/use-radio-item-group-context.ts","../../src/components/menu/radio-item-group.ts","../../src/components/menu/use-item-group-context.ts","../../src/components/menu/item-group.ts","../../src/components/menu/item-group-label.ts","../../src/components/menu/trigger-item.ts","../../src/components/menu/item-indicator.ts"],"mappings":";;;;;;;;;AAWA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,YAAa,SAAQ,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK;AAA4B;AAEtF,KAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,OAAO,WAAW,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO;UAEzE,cAAc;mBACd,YAAY;AAC5B;AAKD,iBAAgB,OAAO,UAAU,cAAc,GAAG,aAAa;;AClB/D,cAAa,YAAY,EAAA,cAAA,CAAA,aAAA;AAEzB,iBAAgB,iBAAiB,IAAI,aAAa;AAIlD,cAAa,oBAAoB,EAAA,cAAA,CAAA,cAAA,CAAA,aAAA;AAIjC,iBAAgB,wBAAwB,IAAI,cAAc,CAAC,aAAa;;AC0BxE,cAuBa,QAAS,SAAQ,YAAa,YAAW,aAAa;iBACpD,WAAW;AAC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nB;;yCAdW,kBAAkB;2CAAlB,kBAAkB;AA6B9B;;UC5DgB,oBAAoB;AACnC,iBAAa,MAAM;AACpB;;ACaD,cAMa,aAAc,YAAW,oBAAoB;sBACtC,WAAW;AAI7B;AAEA,iBAAa,MAAM;;yCAPR,aAAa;2CAAb,aAAa;AAkBzB;;AClCD,cAKa,kBAAkB;;yCAAlB,kBAAkB;2CAAlB,kBAAkB;AAqB9B;;ACnBD,cAYa,eAAe;AAC1B;AACA,wBAAkBC,EAAA,CAAA,MAAA;;AAEd;;yCAJO,eAAe;2CAAf,eAAe;AAmB3B;;ACvCD,cAKa,iBAAiB;;yCAAjB,iBAAiB;2CAAjB,iBAAiB;AAW7B;;;;","names":["MenuElementIds","MenuPositioningOptions","MenuSelectionDetails","MenuFocusOutsideEvent","MenuHighlightChangeDetails","MenuInteractOutsideEvent","MenuOpenChangeDetails","MenuPointerDownOutsideEvent","MenuTriggerValueChangeDetails","UseMenuItemContext","_angular_core"]}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as numberInput from '@wirekyt/dom/machines/number-input';
|
|
2
|
+
import { Props, ElementIds, InputMode, IntlTranslations, FocusChangeDetails, ValueChangeDetails, ValueInvalidDetails } from '@wirekyt/dom/machines/number-input';
|
|
3
|
+
export { Api as NumberInputApi, ElementIds as NumberInputElementIds, FocusChangeDetails as NumberInputFocusChangeDetails, HintValue as NumberInputHintValue, InputMode as NumberInputInputMode, IntlTranslations as NumberInputIntlTranslations, Machine as NumberInputMachine, Props as NumberInputMachineProps, Service as NumberInputService, ValidityState as NumberInputValidityState, ValueChangeDetails as NumberInputValueChangeDetails, ValueInvalidDetails as NumberInputValueInvalidDetails, anatomy as numberInputAnatomy } from '@wirekyt/dom/machines/number-input';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { InjectionToken, InputSignal, ModelSignal, InputSignalWithTransform, OutputEmitterRef, Signal } from '@angular/core';
|
|
6
|
+
import { UseMachineReturn } from '@wirekyt/angular';
|
|
7
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
8
|
+
|
|
9
|
+
type OptionalId<T extends {
|
|
10
|
+
id: string;
|
|
11
|
+
}> = Omit<T, "id"> & {
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
interface UseNumberInputProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
|
|
15
|
+
}
|
|
16
|
+
type UseNumberInputReturn = UseMachineReturn<numberInput.Service["state"], numberInput.Api, numberInput.Service>;
|
|
17
|
+
interface UseNumberInputOptions {
|
|
18
|
+
context: () => UseNumberInputProps;
|
|
19
|
+
}
|
|
20
|
+
declare function useNumberInput(options?: UseNumberInputOptions): UseNumberInputReturn;
|
|
21
|
+
|
|
22
|
+
declare const NUMBER_INPUT_CONTEXT: InjectionToken<UseNumberInputReturn>;
|
|
23
|
+
declare function injectNumberInputContext(): UseNumberInputReturn;
|
|
24
|
+
|
|
25
|
+
declare class NumberInputRoot implements ControlValueAccessor, UseNumberInputReturn {
|
|
26
|
+
readonly id: InputSignal<string | undefined>;
|
|
27
|
+
readonly elementIds: InputSignal<ElementIds | undefined>;
|
|
28
|
+
readonly value: ModelSignal<string | undefined>;
|
|
29
|
+
readonly defaultValue: InputSignal<string | undefined>;
|
|
30
|
+
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly readOnly: InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
readonly required: InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
readonly name: InputSignal<string | undefined>;
|
|
35
|
+
readonly form: InputSignal<string | undefined>;
|
|
36
|
+
readonly min: InputSignal<number | undefined>;
|
|
37
|
+
readonly max: InputSignal<number | undefined>;
|
|
38
|
+
readonly step: InputSignal<number | undefined>;
|
|
39
|
+
readonly largeStep: InputSignal<number | undefined>;
|
|
40
|
+
readonly smallStep: InputSignal<number | undefined>;
|
|
41
|
+
readonly pattern: InputSignal<string | undefined>;
|
|
42
|
+
readonly allowMouseWheel: InputSignalWithTransform<boolean, unknown>;
|
|
43
|
+
readonly allowOverflow: InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
readonly clampValueOnBlur: InputSignalWithTransform<boolean, unknown>;
|
|
45
|
+
readonly focusInputOnChange: InputSignalWithTransform<boolean, unknown>;
|
|
46
|
+
readonly spinOnPress: InputSignalWithTransform<boolean, unknown>;
|
|
47
|
+
readonly inputMode: InputSignal<InputMode | undefined>;
|
|
48
|
+
readonly locale: InputSignal<string | undefined>;
|
|
49
|
+
readonly formatOptions: InputSignal<Intl.NumberFormatOptions | undefined>;
|
|
50
|
+
readonly translations: InputSignal<IntlTranslations | undefined>;
|
|
51
|
+
readonly focusChange: OutputEmitterRef<FocusChangeDetails>;
|
|
52
|
+
readonly valueDetailsChange: OutputEmitterRef<ValueChangeDetails>;
|
|
53
|
+
readonly valueCommit: OutputEmitterRef<ValueChangeDetails>;
|
|
54
|
+
readonly valueInvalid: OutputEmitterRef<ValueInvalidDetails>;
|
|
55
|
+
private readonly _disabledFromForm;
|
|
56
|
+
private _pendingInternalWrites;
|
|
57
|
+
private _hasExternalBinding;
|
|
58
|
+
private _hasReceivedFormWrite;
|
|
59
|
+
private readonly cva;
|
|
60
|
+
private readonly machine;
|
|
61
|
+
readonly state: Signal<numberInput.Service["state"]>;
|
|
62
|
+
readonly api: Signal<numberInput.Api>;
|
|
63
|
+
readonly service: numberInput.Service;
|
|
64
|
+
readonly send: numberInput.Service["send"];
|
|
65
|
+
constructor();
|
|
66
|
+
writeValue(value: string | null): void;
|
|
67
|
+
registerOnChange(fn: (value: string | undefined) => void): void;
|
|
68
|
+
registerOnTouched(fn: () => void): void;
|
|
69
|
+
setDisabledState(disabled: boolean): void;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputRoot, never>;
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputRoot, "[number-input-root]", ["numberInputRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "elementIds": { "alias": "ids"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "largeStep": { "alias": "largeStep"; "required": false; "isSignal": true; }; "smallStep": { "alias": "smallStep"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "allowMouseWheel": { "alias": "allowMouseWheel"; "required": false; "isSignal": true; }; "allowOverflow": { "alias": "allowOverflow"; "required": false; "isSignal": true; }; "clampValueOnBlur": { "alias": "clampValueOnBlur"; "required": false; "isSignal": true; }; "focusInputOnChange": { "alias": "focusInputOnChange"; "required": false; "isSignal": true; }; "spinOnPress": { "alias": "spinOnPress"; "required": false; "isSignal": true; }; "inputMode": { "alias": "inputMode"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "formatOptions": { "alias": "formatOptions"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "focusChange": "focusChange"; "valueDetailsChange": "valueDetailsChange"; "valueCommit": "valueCommit"; "valueInvalid": "valueInvalid"; }, never, never, true, never>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare class NumberInputRootProvider implements UseNumberInputReturn {
|
|
75
|
+
readonly value: InputSignal<UseNumberInputReturn>;
|
|
76
|
+
get state(): Signal<numberInput.Service["state"]>;
|
|
77
|
+
get api(): Signal<numberInput.Api>;
|
|
78
|
+
get service(): numberInput.Service;
|
|
79
|
+
get send(): numberInput.Service["send"];
|
|
80
|
+
constructor();
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputRootProvider, never>;
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputRootProvider, "[number-input-root-provider]", ["numberInputRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare class NumberInputLabel {
|
|
86
|
+
constructor();
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputLabel, never>;
|
|
88
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputLabel, "[number-input-label]", ["numberInputLabel"], {}, {}, never, never, true, never>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare class NumberInputControl {
|
|
92
|
+
constructor();
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputControl, never>;
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputControl, "[number-input-control]", ["numberInputControl"], {}, {}, never, never, true, never>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare class NumberInputInput {
|
|
98
|
+
constructor();
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputInput, never>;
|
|
100
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputInput, "[number-input-input]", ["numberInputInput"], {}, {}, never, never, true, never>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class NumberInputIncrementTrigger {
|
|
104
|
+
constructor();
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputIncrementTrigger, never>;
|
|
106
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputIncrementTrigger, "[number-input-increment-trigger]", ["numberInputIncrementTrigger"], {}, {}, never, never, true, never>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare class NumberInputDecrementTrigger {
|
|
110
|
+
constructor();
|
|
111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputDecrementTrigger, never>;
|
|
112
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputDecrementTrigger, "[number-input-decrement-trigger]", ["numberInputDecrementTrigger"], {}, {}, never, never, true, never>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare class NumberInputScrubber {
|
|
116
|
+
constructor();
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputScrubber, never>;
|
|
118
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputScrubber, "[number-input-scrubber]", ["numberInputScrubber"], {}, {}, never, never, true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class NumberInputValueText {
|
|
122
|
+
constructor();
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputValueText, never>;
|
|
124
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputValueText, "[number-input-value-text]", ["numberInputValueText"], {}, {}, never, never, true, never>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
interface NumberInputContextTemplate {
|
|
128
|
+
$implicit: UseNumberInputReturn["api"];
|
|
129
|
+
api: UseNumberInputReturn["api"];
|
|
130
|
+
}
|
|
131
|
+
declare class NumberInputContext {
|
|
132
|
+
static ngTemplateContextGuard(_directive: NumberInputContext, context: unknown): context is NumberInputContextTemplate;
|
|
133
|
+
private readonly numberInput;
|
|
134
|
+
private readonly templateRef;
|
|
135
|
+
private readonly viewContainer;
|
|
136
|
+
constructor();
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputContext, never>;
|
|
138
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputContext, "[number-input-context]", ["numberInputContext"], {}, {}, never, never, true, never>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export { NUMBER_INPUT_CONTEXT, NumberInputContext, NumberInputControl, NumberInputDecrementTrigger, NumberInputIncrementTrigger, NumberInputInput, NumberInputLabel, NumberInputRoot, NumberInputRootProvider, NumberInputScrubber, NumberInputValueText, injectNumberInputContext, useNumberInput };
|
|
142
|
+
export type { NumberInputContextTemplate, UseNumberInputOptions, UseNumberInputProps, UseNumberInputReturn };
|
|
143
|
+
//# sourceMappingURL=wirekyt-angular-number-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirekyt-angular-number-input.d.ts","sources":["../../src/components/number-input/use.ts","../../src/components/number-input/use-context.ts","../../src/components/number-input/root.ts","../../src/components/number-input/root-provider.ts","../../src/components/number-input/label.ts","../../src/components/number-input/control.ts","../../src/components/number-input/input.ts","../../src/components/number-input/increment-trigger.ts","../../src/components/number-input/decrement-trigger.ts","../../src/components/number-input/scrubber.ts","../../src/components/number-input/value-text.ts","../../src/components/number-input/context.ts"],"mappings":";;;;;;;;AAcA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,mBAAoB,SAAQ,UAAU,CACrD,IAAI,CAACA,KAAuB;AAC1B;AAEE,KAAM,oBAAoB,GAAG,gBAAgB,CACjD,WAAW,CAAC,OAAO,WACnB,WAAW,CAAC,GAAG,EACf,WAAW,CAAC,OAAO;UAGJ,qBAAqB;mBACrB,mBAAmB;AACnC;AAiBD,iBAAgB,cAAc,WACnB,qBAA+C,GACvD,oBAAoB;;AC3CvB,cAAa,oBAAoB,EAAA,cAAA,CAAA,oBAAA;AAIjC,iBAAgB,wBAAwB,IAAI,oBAAoB;;AC4BhE,cASa,eAAgB,YAAW,oBAAoB,EAAE,oBAAoB;iBACnE,WAAW;yBACH,WAAW,CAACC,UAAqB;oBAGtC,WAAW;2BACJ,WAAW;uBACf,wBAAwB;uBAGxB,wBAAwB;sBAGzB,wBAAwB;uBAGvB,wBAAwB;mBAG5B,WAAW;mBACX,WAAW;kBACZ,WAAW;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CAAnB,mBAAmB;2CAAnB,mBAAmB;AAU/B;;ACfD,cAKa,oBAAoB;;yCAApB,oBAAoB;2CAApB,oBAAoB;AAUhC;;UCPgB,0BAA0B;AACzC,eAAW,oBAAoB;AAC/B,SAAK,oBAAoB;AAC1B;AAED,cAKa,kBAAkB;AAC7B,8CACc,kBAAkB,gCAElB,0BAA0B;AAKxC;AACA;AACA;;yCAXW,kBAAkB;2CAAlB,kBAAkB;AA0B9B;;;;","names":["NumberInputMachineProps","NumberInputElementIds","NumberInputInputMode","NumberInputIntlTranslations","NumberInputFocusChangeDetails","NumberInputValueChangeDetails","NumberInputValueInvalidDetails"]}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as passwordInput from '@wirekyt/dom/machines/password-input';
|
|
2
|
+
import { Props, ElementIds, IntlTranslations, VisibilityChangeDetails } from '@wirekyt/dom/machines/password-input';
|
|
3
|
+
export { Api as PasswordInputApi, ElementIds as PasswordInputElementIds, IntlTranslations as PasswordInputIntlTranslations, Machine as PasswordInputMachine, Props as PasswordInputMachineProps, Service as PasswordInputService, VisibilityChangeDetails as PasswordInputVisibilityChangeDetails, anatomy as passwordInputAnatomy } from '@wirekyt/dom/machines/password-input';
|
|
4
|
+
import { UseMachineReturn } from '@wirekyt/angular';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { Signal, InjectionToken, InputSignal, ModelSignal, InputSignalWithTransform, OutputEmitterRef } from '@angular/core';
|
|
7
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
8
|
+
|
|
9
|
+
type OptionalId<T extends {
|
|
10
|
+
id: string;
|
|
11
|
+
}> = Omit<T, "id"> & {
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
interface UsePasswordInputProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
|
|
15
|
+
}
|
|
16
|
+
type UsePasswordInputReturn = UseMachineReturn<passwordInput.Service["state"], passwordInput.Api, passwordInput.Service>;
|
|
17
|
+
interface UsePasswordInputOptions {
|
|
18
|
+
context: () => UsePasswordInputProps;
|
|
19
|
+
}
|
|
20
|
+
declare function usePasswordInput(options?: UsePasswordInputOptions): UsePasswordInputReturn;
|
|
21
|
+
|
|
22
|
+
interface PasswordInputContextTemplate {
|
|
23
|
+
$implicit: UsePasswordInputReturn["api"];
|
|
24
|
+
api: UsePasswordInputReturn["api"];
|
|
25
|
+
}
|
|
26
|
+
declare class PasswordInputContext {
|
|
27
|
+
static ngTemplateContextGuard(_directive: PasswordInputContext, context: unknown): context is PasswordInputContextTemplate;
|
|
28
|
+
private readonly passwordInput;
|
|
29
|
+
private readonly templateRef;
|
|
30
|
+
private readonly viewContainer;
|
|
31
|
+
constructor();
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputContext, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputContext, "[password-input-context]", ["passwordInputContext"], {}, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class PasswordInputControl {
|
|
37
|
+
constructor();
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputControl, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputControl, "[password-input-control]", ["passwordInputControl"], {}, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare class PasswordInputIndicator {
|
|
43
|
+
readonly visible: Signal<boolean>;
|
|
44
|
+
constructor();
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputIndicator, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputIndicator, "[password-input-indicator]", ["passwordInputIndicator"], {}, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class PasswordInputInput {
|
|
50
|
+
constructor();
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputInput, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputInput, "[password-input-input]", ["passwordInputInput"], {}, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class PasswordInputLabel {
|
|
56
|
+
constructor();
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputLabel, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputLabel, "[password-input-label]", ["passwordInputLabel"], {}, {}, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare const PASSWORD_INPUT_CONTEXT: InjectionToken<UsePasswordInputReturn>;
|
|
62
|
+
declare function injectPasswordInputContext(): UsePasswordInputReturn;
|
|
63
|
+
interface PasswordInputValueWriter {
|
|
64
|
+
setValue: (value: string) => void;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare class PasswordInputRoot implements ControlValueAccessor, UsePasswordInputReturn, PasswordInputValueWriter {
|
|
68
|
+
readonly id: InputSignal<string | undefined>;
|
|
69
|
+
readonly elementIds: InputSignal<ElementIds | undefined>;
|
|
70
|
+
readonly value: ModelSignal<string | undefined>;
|
|
71
|
+
readonly defaultValue: InputSignal<string | undefined>;
|
|
72
|
+
readonly visible: ModelSignal<boolean | undefined>;
|
|
73
|
+
readonly defaultVisible: InputSignalWithTransform<boolean, unknown>;
|
|
74
|
+
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
75
|
+
readonly readOnly: InputSignalWithTransform<boolean, unknown>;
|
|
76
|
+
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
77
|
+
readonly required: InputSignalWithTransform<boolean, unknown>;
|
|
78
|
+
readonly name: InputSignal<string | undefined>;
|
|
79
|
+
readonly autoComplete: InputSignal<"current-password" | "new-password" | undefined>;
|
|
80
|
+
readonly ignorePasswordManagers: InputSignalWithTransform<boolean, unknown>;
|
|
81
|
+
readonly translations: InputSignal<IntlTranslations | undefined>;
|
|
82
|
+
readonly visibilityChange: OutputEmitterRef<VisibilityChangeDetails>;
|
|
83
|
+
private readonly disabledFromForm;
|
|
84
|
+
private pendingInternalWrites;
|
|
85
|
+
private hasExternalBinding;
|
|
86
|
+
private hasReceivedFormWrite;
|
|
87
|
+
private hasSeededDefaultValue;
|
|
88
|
+
private readonly cva;
|
|
89
|
+
private readonly machine;
|
|
90
|
+
readonly state: Signal<passwordInput.Service["state"]>;
|
|
91
|
+
readonly api: Signal<passwordInput.Api>;
|
|
92
|
+
readonly service: passwordInput.Service;
|
|
93
|
+
readonly send: passwordInput.Service["send"];
|
|
94
|
+
constructor();
|
|
95
|
+
setValue(next: string): void;
|
|
96
|
+
writeValue(value: string | null): void;
|
|
97
|
+
registerOnChange(fn: (value: string | undefined) => void): void;
|
|
98
|
+
registerOnTouched(fn: () => void): void;
|
|
99
|
+
setDisabledState(disabled: boolean): void;
|
|
100
|
+
markTouched(): void;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputRoot, never>;
|
|
102
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputRoot, "[password-input-root]", ["passwordInputRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "elementIds": { "alias": "ids"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "defaultVisible": { "alias": "defaultVisible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autoComplete": { "alias": "autoComplete"; "required": false; "isSignal": true; }; "ignorePasswordManagers": { "alias": "ignorePasswordManagers"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "visible": "visibleChange"; "visibilityChange": "visibilityChange"; }, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare class PasswordInputRootProvider implements UsePasswordInputReturn {
|
|
106
|
+
readonly value: InputSignal<UsePasswordInputReturn>;
|
|
107
|
+
get state(): Signal<passwordInput.Service["state"]>;
|
|
108
|
+
get api(): Signal<passwordInput.Api>;
|
|
109
|
+
get service(): passwordInput.Service;
|
|
110
|
+
get send(): passwordInput.Service["send"];
|
|
111
|
+
constructor();
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputRootProvider, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputRootProvider, "[password-input-root-provider]", ["passwordInputRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare class PasswordInputVisibilityTrigger {
|
|
117
|
+
constructor();
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputVisibilityTrigger, never>;
|
|
119
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputVisibilityTrigger, "[password-input-visibility-trigger]", ["passwordInputVisibilityTrigger"], {}, {}, never, never, true, never>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export { PASSWORD_INPUT_CONTEXT, PasswordInputContext, PasswordInputControl, PasswordInputIndicator, PasswordInputInput, PasswordInputLabel, PasswordInputRoot, PasswordInputRootProvider, PasswordInputVisibilityTrigger, injectPasswordInputContext, usePasswordInput };
|
|
123
|
+
export type { PasswordInputContextTemplate, PasswordInputValueWriter, UsePasswordInputOptions, UsePasswordInputProps, UsePasswordInputReturn };
|
|
124
|
+
//# sourceMappingURL=wirekyt-angular-password-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirekyt-angular-password-input.d.ts","sources":["../../src/components/password-input/use.ts","../../src/components/password-input/context.ts","../../src/components/password-input/control.ts","../../src/components/password-input/indicator.ts","../../src/components/password-input/input.ts","../../src/components/password-input/label.ts","../../src/components/password-input/use-context.ts","../../src/components/password-input/root.ts","../../src/components/password-input/root-provider.ts","../../src/components/password-input/visibility-trigger.ts"],"mappings":";;;;;;;;AAcA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,qBAAsB,SAAQ,UAAU,CACvD,IAAI,CAACA,KAAyB;AAC5B;AAEE,KAAM,sBAAsB,GAAG,gBAAgB,CACnD,aAAa,CAAC,OAAO,WACrB,aAAa,CAAC,GAAG,EACjB,aAAa,CAAC,OAAO;UAGN,uBAAuB;mBACvB,qBAAqB;AACrC;AAgBD,iBAAgB,gBAAgB,WACrB,uBAAiD,GACzD,sBAAsB;;UCjCR,4BAA4B;AAC3C,eAAW,sBAAsB;AACjC,SAAK,sBAAsB;AAC5B;AAED,cAKa,oBAAoB;AAC/B,8CACc,oBAAoB,gCAEpB,4BAA4B;AAK1C;AACA;AACA;;yCAXW,oBAAoB;2CAApB,oBAAoB;AA0BhC;;AC5CD,cAKa,oBAAoB;;yCAApB,oBAAoB;2CAApB,oBAAoB;AAUhC;;ACPD,cAKa,sBAAsB;AACjC,sBAAkB,MAAM;;yCADb,sBAAsB;2CAAtB,sBAAsB;AAalC;;ACxBD,cAKa,kBAAkB;;yCAAlB,kBAAkB;2CAAlB,kBAAkB;AAwD9B;;AC/DD,cAKa,kBAAkB;;yCAAlB,kBAAkB;2CAAlB,kBAAkB;AAU9B;;AChBD,cAAa,sBAAsB,EAAA,cAAA,CAAA,sBAAA;AAInC,iBAAgB,0BAA0B,IAAI,sBAAsB;UAInD,wBAAwB;AACvC;AACD;;ACwBD,cAUa,iBACX,YAAW,oBAAoB,EAAE,sBAAsB,EAAE,wBAAwB;iBAEpE,WAAW;yBACH,WAAW,CAACC,UAAuB;oBAGxC,WAAW;2BACJ,WAAW;sBAChB,WAAW;6BACJ,wBAAwB;uBAG9B,wBAAwB;uBAGxB,wBAAwB;sBAGzB,wBAAwB;uBAGvB,wBAAwB;mBAG5B,WAAW;2BACH,WAAW;qCAGD,wBAAwB;2BAGlC,WAAW,CAACC,gBAA6B;AAGhE,+BAA2B,gBAAgB,CAACC,uBAAoC;AAGhF;;;;;AAMA;AAOA;AAuBA,oBAAgB,MAAM,CAAC,aAAa,CAAC,OAAO;kBAC9B,MAAM,CAAC,aAAa,CAAC,GAAG;AACtC,sBAAkB,aAAa,CAAC,OAAO;mBACxB,aAAa,CAAC,OAAO;;AAmCpC;AAQA;AAaA;AAIA;AAIA;AAIA;yCAjJW,iBAAiB;2CAAjB,iBAAiB;AAoJ7B;;ACjLD,cAWa,yBAA0B,YAAW,sBAAsB;AACtE,oBAAgB,WAAW,CAAC,sBAAsB;iBAErC,MAAM,CAAC,aAAa,CAAC,OAAO;eAG9B,MAAM,CAAC,aAAa,CAAC,GAAG;AAGnC,mBAAe,aAAa,CAAC,OAAO;gBAGxB,aAAa,CAAC,OAAO;;yCAZtB,yBAAyB;2CAAzB,yBAAyB;AAwBrC;;ACjDD,cAKa,8BAA8B;;yCAA9B,8BAA8B;2CAA9B,8BAA8B;AAU1C;;;;","names":["PasswordInputMachineProps","PasswordInputElementIds","PasswordInputIntlTranslations","PasswordInputVisibilityChangeDetails"]}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import * as pinInput from '@wirekyt/dom/machines/pin-input';
|
|
2
|
+
import { Props, ElementIds, IntlTranslations, ValueChangeDetails, ValueInvalidDetails } from '@wirekyt/dom/machines/pin-input';
|
|
3
|
+
export { Api as PinInputApi, ElementIds as PinInputElementIds, InputProps as PinInputInputProps, IntlTranslations as PinInputIntlTranslations, Machine as PinInputMachine, Props as PinInputMachineProps, Service as PinInputService, ValueChangeDetails as PinInputValueChangeDetails, ValueInvalidDetails as PinInputValueInvalidDetails, anatomy as pinInputAnatomy } from '@wirekyt/dom/machines/pin-input';
|
|
4
|
+
import { UseMachineReturn } from '@wirekyt/angular';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { InputSignalWithTransform, InjectionToken, InputSignal, Signal, ModelSignal, OutputEmitterRef } from '@angular/core';
|
|
7
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
8
|
+
|
|
9
|
+
type OptionalId<T extends {
|
|
10
|
+
id: string;
|
|
11
|
+
}> = Omit<T, "id"> & {
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
interface UsePinInputProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
|
|
15
|
+
}
|
|
16
|
+
type UsePinInputReturn = UseMachineReturn<pinInput.Service["state"], pinInput.Api, pinInput.Service>;
|
|
17
|
+
interface UsePinInputOptions {
|
|
18
|
+
context: () => UsePinInputProps;
|
|
19
|
+
}
|
|
20
|
+
declare function usePinInput(options?: UsePinInputOptions): UsePinInputReturn;
|
|
21
|
+
|
|
22
|
+
interface PinInputContextTemplate {
|
|
23
|
+
$implicit: UsePinInputReturn["api"];
|
|
24
|
+
api: UsePinInputReturn["api"];
|
|
25
|
+
}
|
|
26
|
+
declare class PinInputContext {
|
|
27
|
+
static ngTemplateContextGuard(_directive: PinInputContext, context: unknown): context is PinInputContextTemplate;
|
|
28
|
+
private readonly pinInput;
|
|
29
|
+
private readonly templateRef;
|
|
30
|
+
private readonly viewContainer;
|
|
31
|
+
constructor();
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputContext, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputContext, "[pin-input-context]", ["pinInputContext"], {}, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class PinInputControl {
|
|
37
|
+
constructor();
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputControl, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputControl, "[pin-input-control]", ["pinInputControl"], {}, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare class PinInputHiddenInput {
|
|
43
|
+
constructor();
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputHiddenInput, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputHiddenInput, "[pin-input-hidden-input]", ["pinInputHiddenInput"], {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class PinInputInput {
|
|
49
|
+
readonly index: InputSignalWithTransform<number, unknown>;
|
|
50
|
+
constructor();
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputInput, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputInput, "[pin-input-input]", ["pinInputInput"], { "index": { "alias": "index"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class PinInputLabel {
|
|
56
|
+
constructor();
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputLabel, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputLabel, "[pin-input-label]", ["pinInputLabel"], {}, {}, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare const PIN_INPUT_CONTEXT: InjectionToken<UsePinInputReturn>;
|
|
62
|
+
interface PinInputCountRegistrar {
|
|
63
|
+
register(index: number): () => void;
|
|
64
|
+
}
|
|
65
|
+
declare function injectPinInputContext(): UsePinInputReturn;
|
|
66
|
+
|
|
67
|
+
declare class PinInputRootProvider implements UsePinInputReturn, PinInputCountRegistrar {
|
|
68
|
+
readonly value: InputSignal<UsePinInputReturn>;
|
|
69
|
+
private readonly _registeredIndices;
|
|
70
|
+
get state(): Signal<pinInput.Service["state"]>;
|
|
71
|
+
get api(): Signal<pinInput.Api>;
|
|
72
|
+
get service(): pinInput.Service;
|
|
73
|
+
get send(): pinInput.Service["send"];
|
|
74
|
+
constructor();
|
|
75
|
+
register(index: number): () => void;
|
|
76
|
+
private _syncCount;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputRootProvider, never>;
|
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputRootProvider, "[pin-input-root-provider]", ["pinInputRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare class PinInputRoot implements ControlValueAccessor, UsePinInputReturn, PinInputCountRegistrar {
|
|
82
|
+
readonly id: InputSignal<string | undefined>;
|
|
83
|
+
readonly elementIds: InputSignal<ElementIds | undefined>;
|
|
84
|
+
readonly value: ModelSignal<string[] | undefined>;
|
|
85
|
+
readonly defaultValue: InputSignal<string[] | undefined>;
|
|
86
|
+
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
87
|
+
readonly readOnly: InputSignalWithTransform<boolean, unknown>;
|
|
88
|
+
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
89
|
+
readonly required: InputSignalWithTransform<boolean, unknown>;
|
|
90
|
+
readonly name: InputSignal<string | undefined>;
|
|
91
|
+
readonly form: InputSignal<string | undefined>;
|
|
92
|
+
readonly pattern: InputSignal<string | undefined>;
|
|
93
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
94
|
+
readonly autoFocus: InputSignalWithTransform<boolean, unknown>;
|
|
95
|
+
readonly otp: InputSignalWithTransform<boolean, unknown>;
|
|
96
|
+
readonly mask: InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
readonly autoSubmit: InputSignalWithTransform<boolean, unknown>;
|
|
98
|
+
readonly blurOnComplete: InputSignalWithTransform<boolean, unknown>;
|
|
99
|
+
readonly selectOnFocus: InputSignalWithTransform<boolean, unknown>;
|
|
100
|
+
readonly type: InputSignal<"alphanumeric" | "numeric" | "alphabetic" | undefined>;
|
|
101
|
+
readonly sanitizeValue: InputSignal<((value: string) => string) | undefined>;
|
|
102
|
+
readonly count: InputSignal<number | undefined>;
|
|
103
|
+
readonly translations: InputSignal<IntlTranslations | undefined>;
|
|
104
|
+
readonly valueComplete: OutputEmitterRef<ValueChangeDetails>;
|
|
105
|
+
readonly valueDetailsChange: OutputEmitterRef<ValueChangeDetails>;
|
|
106
|
+
readonly valueInvalid: OutputEmitterRef<ValueInvalidDetails>;
|
|
107
|
+
private readonly _disabledFromForm;
|
|
108
|
+
private _pendingInternalWrites;
|
|
109
|
+
private _hasExternalBinding;
|
|
110
|
+
private _hasReceivedFormWrite;
|
|
111
|
+
private readonly _registeredIndices;
|
|
112
|
+
private readonly cva;
|
|
113
|
+
private readonly machine;
|
|
114
|
+
readonly state: Signal<pinInput.Service["state"]>;
|
|
115
|
+
readonly api: Signal<pinInput.Api>;
|
|
116
|
+
readonly service: pinInput.Service;
|
|
117
|
+
readonly send: pinInput.Service["send"];
|
|
118
|
+
constructor();
|
|
119
|
+
writeValue(value: string[] | null): void;
|
|
120
|
+
registerOnChange(fn: (value: string[] | undefined) => void): void;
|
|
121
|
+
registerOnTouched(fn: () => void): void;
|
|
122
|
+
setDisabledState(disabled: boolean): void;
|
|
123
|
+
register(index: number): () => void;
|
|
124
|
+
private _syncCount;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinInputRoot, never>;
|
|
126
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PinInputRoot, "[pin-input-root]", ["pinInputRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "elementIds": { "alias": "ids"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "otp": { "alias": "otp"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "autoSubmit": { "alias": "autoSubmit"; "required": false; "isSignal": true; }; "blurOnComplete": { "alias": "blurOnComplete"; "required": false; "isSignal": true; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "sanitizeValue": { "alias": "sanitizeValue"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueComplete": "valueComplete"; "valueDetailsChange": "valueDetailsChange"; "valueInvalid": "valueInvalid"; }, never, never, true, never>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export { PIN_INPUT_CONTEXT, PinInputContext, PinInputControl, PinInputHiddenInput, PinInputInput, PinInputLabel, PinInputRoot, PinInputRootProvider, injectPinInputContext, usePinInput };
|
|
130
|
+
export type { PinInputContextTemplate, UsePinInputOptions, UsePinInputProps, UsePinInputReturn };
|
|
131
|
+
//# sourceMappingURL=wirekyt-angular-pin-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirekyt-angular-pin-input.d.ts","sources":["../../src/components/pin-input/use.ts","../../src/components/pin-input/context.ts","../../src/components/pin-input/control.ts","../../src/components/pin-input/hidden-input.ts","../../src/components/pin-input/input.ts","../../src/components/pin-input/label.ts","../../src/components/pin-input/use-context.ts","../../src/components/pin-input/root-provider.ts","../../src/components/pin-input/root.ts"],"mappings":";;;;;;;;AAcA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,gBAAiB,SAAQ,UAAU,CAClD,IAAI,CAACA,KAAoB;AACvB;AAEE,KAA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