@luzmo/ngx-lucero 1.0.1-alpha.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/esm/components/accordion-item.d.ts +32 -0
- package/esm/components/accordion-item.js +89 -0
- package/esm/components/accordion.d.ts +38 -0
- package/esm/components/accordion.js +107 -0
- package/esm/components/action-bar.d.ts +32 -0
- package/esm/components/action-bar.js +83 -0
- package/esm/components/action-button.d.ts +59 -0
- package/esm/components/action-button.js +205 -0
- package/esm/components/action-group.d.ts +42 -0
- package/esm/components/action-group.js +155 -0
- package/esm/components/action-menu.d.ts +75 -0
- package/esm/components/action-menu.js +337 -0
- package/esm/components/avatar.d.ts +35 -0
- package/esm/components/avatar.js +94 -0
- package/esm/components/badge.d.ts +31 -0
- package/esm/components/badge.js +86 -0
- package/esm/components/button-group.d.ts +28 -0
- package/esm/components/button-group.js +71 -0
- package/esm/components/button.d.ts +40 -0
- package/esm/components/button.js +140 -0
- package/esm/components/calendar.d.ts +64 -0
- package/esm/components/calendar.js +218 -0
- package/esm/components/chat-message-group.d.ts +29 -0
- package/esm/components/chat-message-group.js +76 -0
- package/esm/components/chat-message.d.ts +50 -0
- package/esm/components/chat-message.js +156 -0
- package/esm/components/checkbox.d.ts +55 -0
- package/esm/components/checkbox.js +196 -0
- package/esm/components/clear-button.d.ts +32 -0
- package/esm/components/clear-button.js +88 -0
- package/esm/components/close-button.d.ts +33 -0
- package/esm/components/close-button.js +95 -0
- package/esm/components/color-area.d.ts +45 -0
- package/esm/components/color-area.js +167 -0
- package/esm/components/color-field.d.ts +91 -0
- package/esm/components/color-field.js +321 -0
- package/esm/components/color-handle.d.ts +31 -0
- package/esm/components/color-handle.js +90 -0
- package/esm/components/color-loupe.d.ts +29 -0
- package/esm/components/color-loupe.js +76 -0
- package/esm/components/color-menu.d.ts +36 -0
- package/esm/components/color-menu.js +97 -0
- package/esm/components/color-palette-group.d.ts +40 -0
- package/esm/components/color-palette-group.js +117 -0
- package/esm/components/color-palette.d.ts +43 -0
- package/esm/components/color-palette.js +126 -0
- package/esm/components/color-picker.d.ts +49 -0
- package/esm/components/color-picker.js +143 -0
- package/esm/components/color-slider.d.ts +53 -0
- package/esm/components/color-slider.js +215 -0
- package/esm/components/date-range-picker.d.ts +69 -0
- package/esm/components/date-range-picker.js +228 -0
- package/esm/components/date-time-picker.d.ts +71 -0
- package/esm/components/date-time-picker.js +249 -0
- package/esm/components/divider.d.ts +31 -0
- package/esm/components/divider.js +78 -0
- package/esm/components/field-group.d.ts +32 -0
- package/esm/components/field-group.js +101 -0
- package/esm/components/field-label.d.ts +37 -0
- package/esm/components/field-label.js +104 -0
- package/esm/components/help-text.d.ts +30 -0
- package/esm/components/help-text.js +77 -0
- package/esm/components/icon.d.ts +33 -0
- package/esm/components/icon.js +104 -0
- package/esm/components/infield-button.d.ts +35 -0
- package/esm/components/infield-button.js +103 -0
- package/esm/components/label.d.ts +29 -0
- package/esm/components/label.js +76 -0
- package/esm/components/menu.d.ts +53 -0
- package/esm/components/menu.js +218 -0
- package/esm/components/multi-language-field.d.ts +58 -0
- package/esm/components/multi-language-field.js +263 -0
- package/esm/components/number-field.d.ts +103 -0
- package/esm/components/number-field.js +372 -0
- package/esm/components/options.d.ts +58 -0
- package/esm/components/options.js +207 -0
- package/esm/components/overlay.d.ts +67 -0
- package/esm/components/overlay.js +212 -0
- package/esm/components/picker-button.d.ts +32 -0
- package/esm/components/picker-button.js +94 -0
- package/esm/components/picker.d.ts +79 -0
- package/esm/components/picker.js +340 -0
- package/esm/components/popover.d.ts +33 -0
- package/esm/components/popover.js +93 -0
- package/esm/components/progress-bar.d.ts +35 -0
- package/esm/components/progress-bar.js +121 -0
- package/esm/components/progress-circle.d.ts +35 -0
- package/esm/components/progress-circle.js +94 -0
- package/esm/components/progress-steps.d.ts +46 -0
- package/esm/components/progress-steps.js +127 -0
- package/esm/components/prompt-box.d.ts +88 -0
- package/esm/components/prompt-box.js +280 -0
- package/esm/components/radio-group.d.ts +39 -0
- package/esm/components/radio-group.js +136 -0
- package/esm/components/radio.d.ts +46 -0
- package/esm/components/radio.js +172 -0
- package/esm/components/search.d.ts +95 -0
- package/esm/components/search.js +351 -0
- package/esm/components/select.d.ts +82 -0
- package/esm/components/select.js +351 -0
- package/esm/components/slider.d.ts +47 -0
- package/esm/components/slider.js +185 -0
- package/esm/components/status-light.d.ts +30 -0
- package/esm/components/status-light.js +78 -0
- package/esm/components/swatch-group.d.ts +37 -0
- package/esm/components/swatch-group.js +126 -0
- package/esm/components/swatch.d.ts +49 -0
- package/esm/components/swatch.js +197 -0
- package/esm/components/switch.d.ts +48 -0
- package/esm/components/switch.js +160 -0
- package/esm/components/tab-panel.d.ts +29 -0
- package/esm/components/tab-panel.js +78 -0
- package/esm/components/tab.d.ts +32 -0
- package/esm/components/tab.js +100 -0
- package/esm/components/tabs-overflow.d.ts +33 -0
- package/esm/components/tabs-overflow.js +97 -0
- package/esm/components/tabs.d.ts +43 -0
- package/esm/components/tabs.js +150 -0
- package/esm/components/tag.d.ts +31 -0
- package/esm/components/tag.js +90 -0
- package/esm/components/tags.d.ts +30 -0
- package/esm/components/tags.js +81 -0
- package/esm/components/text-field.d.ts +87 -0
- package/esm/components/text-field.js +308 -0
- package/esm/components/toast.d.ts +30 -0
- package/esm/components/toast.js +68 -0
- package/esm/components/tooltip.d.ts +44 -0
- package/esm/components/tooltip.js +154 -0
- package/esm/components/top-nav-item.d.ts +35 -0
- package/esm/components/top-nav-item.js +120 -0
- package/esm/components/top-nav.d.ts +35 -0
- package/esm/components/top-nav.js +110 -0
- package/esm/index.d.ts +135 -0
- package/esm/index.js +269 -0
- package/package.json +40 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, forwardRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import '@luzmo/lucero/menu';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const _c0 = ["*"];
|
|
6
|
+
/**
|
|
7
|
+
* Luzmo Menu Component
|
|
8
|
+
*
|
|
9
|
+
* @slot (default) - menu items to be listed in the menu
|
|
10
|
+
*/
|
|
11
|
+
export class LuzmoMenu {
|
|
12
|
+
elementRef = inject(ElementRef);
|
|
13
|
+
renderer = inject(Renderer2);
|
|
14
|
+
destroyRef = inject(DestroyRef);
|
|
15
|
+
host = this.elementRef.nativeElement;
|
|
16
|
+
listenerCleanup = [];
|
|
17
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
18
|
+
get nativeElement() {
|
|
19
|
+
return this.host;
|
|
20
|
+
}
|
|
21
|
+
label;
|
|
22
|
+
ignore;
|
|
23
|
+
variant;
|
|
24
|
+
selects;
|
|
25
|
+
value;
|
|
26
|
+
valueSeparator;
|
|
27
|
+
selected;
|
|
28
|
+
selectedItems;
|
|
29
|
+
menuSlot;
|
|
30
|
+
focusedItemIndex;
|
|
31
|
+
focusInItemIndex;
|
|
32
|
+
handleSubmenuClosed;
|
|
33
|
+
handleSubmenuOpened;
|
|
34
|
+
/** Announces that the `value` of the element has changed */
|
|
35
|
+
changeEvent = output({ alias: 'change' });
|
|
36
|
+
closeEvent = output({ alias: 'close' });
|
|
37
|
+
constructor() {
|
|
38
|
+
this.bindEvents();
|
|
39
|
+
this.destroyRef.onDestroy(() => {
|
|
40
|
+
for (const cleanup of this.listenerCleanup) {
|
|
41
|
+
cleanup();
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
ngOnChanges(changes) {
|
|
46
|
+
for (const key of Object.keys(changes)) {
|
|
47
|
+
switch (key) {
|
|
48
|
+
case 'label':
|
|
49
|
+
this.setHostProperty('label', changes['label'].currentValue);
|
|
50
|
+
break;
|
|
51
|
+
case 'ignore':
|
|
52
|
+
this.setHostProperty('ignore', changes['ignore'].currentValue);
|
|
53
|
+
break;
|
|
54
|
+
case 'variant':
|
|
55
|
+
this.setHostProperty('variant', changes['variant'].currentValue);
|
|
56
|
+
break;
|
|
57
|
+
case 'selects':
|
|
58
|
+
this.setHostProperty('selects', changes['selects'].currentValue);
|
|
59
|
+
break;
|
|
60
|
+
case 'value':
|
|
61
|
+
this.setHostProperty('value', changes['value'].currentValue);
|
|
62
|
+
break;
|
|
63
|
+
case 'valueSeparator':
|
|
64
|
+
this.setHostProperty('valueSeparator', changes['valueSeparator'].currentValue);
|
|
65
|
+
break;
|
|
66
|
+
case 'selected':
|
|
67
|
+
this.setHostProperty('selected', changes['selected'].currentValue);
|
|
68
|
+
break;
|
|
69
|
+
case 'selectedItems':
|
|
70
|
+
this.setHostProperty('selectedItems', changes['selectedItems'].currentValue);
|
|
71
|
+
break;
|
|
72
|
+
case 'menuSlot':
|
|
73
|
+
this.setHostProperty('menuSlot', changes['menuSlot'].currentValue);
|
|
74
|
+
break;
|
|
75
|
+
case 'focusedItemIndex':
|
|
76
|
+
this.setHostProperty('focusedItemIndex', changes['focusedItemIndex'].currentValue);
|
|
77
|
+
break;
|
|
78
|
+
case 'focusInItemIndex':
|
|
79
|
+
this.setHostProperty('focusInItemIndex', changes['focusInItemIndex'].currentValue);
|
|
80
|
+
break;
|
|
81
|
+
case 'handleSubmenuClosed':
|
|
82
|
+
this.setHostProperty('handleSubmenuClosed', changes['handleSubmenuClosed'].currentValue);
|
|
83
|
+
break;
|
|
84
|
+
case 'handleSubmenuOpened':
|
|
85
|
+
this.setHostProperty('handleSubmenuOpened', changes['handleSubmenuOpened'].currentValue);
|
|
86
|
+
break;
|
|
87
|
+
default:
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
94
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
95
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
96
|
+
* undefined / null by clearing their bindings.
|
|
97
|
+
*/
|
|
98
|
+
setHostProperty(key, value) {
|
|
99
|
+
this.renderer.setProperty(this.host, key, value);
|
|
100
|
+
}
|
|
101
|
+
bindEvents() {
|
|
102
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
|
|
103
|
+
this.changeEvent.emit(event);
|
|
104
|
+
if (!this.isWritingValue) {
|
|
105
|
+
const eventWithDetail = event;
|
|
106
|
+
const eventTarget = event.target;
|
|
107
|
+
const detail = 'detail' in eventWithDetail ? eventWithDetail.detail : undefined;
|
|
108
|
+
const hostRecord = this.host;
|
|
109
|
+
const nextValue = (detail
|
|
110
|
+
?? eventTarget?.['value']
|
|
111
|
+
?? hostRecord['value']);
|
|
112
|
+
if (Object.is(this.lastCvaValue, nextValue)) {
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
this.lastCvaValue = nextValue;
|
|
116
|
+
this.setHostProperty('value', nextValue);
|
|
117
|
+
this.onChange(nextValue);
|
|
118
|
+
}
|
|
119
|
+
}));
|
|
120
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'close', (event) => {
|
|
121
|
+
this.closeEvent.emit(event);
|
|
122
|
+
}));
|
|
123
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'blur', () => {
|
|
124
|
+
this.onTouched();
|
|
125
|
+
}));
|
|
126
|
+
}
|
|
127
|
+
onChange = () => { };
|
|
128
|
+
onTouched = () => { };
|
|
129
|
+
isWritingValue = false;
|
|
130
|
+
lastCvaValue;
|
|
131
|
+
writeValue(value) {
|
|
132
|
+
this.isWritingValue = true;
|
|
133
|
+
this.lastCvaValue = value;
|
|
134
|
+
this.setHostProperty('value', value);
|
|
135
|
+
this.isWritingValue = false;
|
|
136
|
+
}
|
|
137
|
+
registerOnChange(fn) {
|
|
138
|
+
this.onChange = fn;
|
|
139
|
+
}
|
|
140
|
+
registerOnTouched(fn) {
|
|
141
|
+
this.onTouched = fn;
|
|
142
|
+
}
|
|
143
|
+
setDisabledState(isDisabled) {
|
|
144
|
+
// Underlying element does not declare a 'disabled' field; nothing to do.
|
|
145
|
+
void isDisabled;
|
|
146
|
+
}
|
|
147
|
+
focus({ preventScroll }) {
|
|
148
|
+
return this.host.focus({ preventScroll });
|
|
149
|
+
}
|
|
150
|
+
static ɵfac = function LuzmoMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoMenu)(); };
|
|
151
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoMenu, selectors: [["luzmo-menu"]], inputs: { label: "label", ignore: "ignore", variant: "variant", selects: "selects", value: "value", valueSeparator: [0, "value-separator", "valueSeparator"], selected: "selected", selectedItems: [0, "selected-items", "selectedItems"], menuSlot: [0, "menu-slot", "menuSlot"], focusedItemIndex: [0, "focused-item-index", "focusedItemIndex"], focusInItemIndex: [0, "focus-in-item-index", "focusInItemIndex"], handleSubmenuClosed: [0, "handle-submenu-closed", "handleSubmenuClosed"], handleSubmenuOpened: [0, "handle-submenu-opened", "handleSubmenuOpened"] }, outputs: { changeEvent: "change", closeEvent: "close" }, exportAs: ["luzmoMenu"], features: [i0.ɵɵProvidersFeature([
|
|
152
|
+
{
|
|
153
|
+
provide: NG_VALUE_ACCESSOR,
|
|
154
|
+
useExisting: forwardRef(() => LuzmoMenu),
|
|
155
|
+
multi: true
|
|
156
|
+
}
|
|
157
|
+
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoMenu_Template(rf, ctx) { if (rf & 1) {
|
|
158
|
+
i0.ɵɵprojectionDef();
|
|
159
|
+
i0.ɵɵprojection(0);
|
|
160
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
161
|
+
}
|
|
162
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoMenu, [{
|
|
163
|
+
type: Component,
|
|
164
|
+
args: [{
|
|
165
|
+
selector: 'luzmo-menu',
|
|
166
|
+
exportAs: 'luzmoMenu',
|
|
167
|
+
standalone: true,
|
|
168
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
169
|
+
template: '<ng-content />',
|
|
170
|
+
providers: [
|
|
171
|
+
{
|
|
172
|
+
provide: NG_VALUE_ACCESSOR,
|
|
173
|
+
useExisting: forwardRef(() => LuzmoMenu),
|
|
174
|
+
multi: true
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
}]
|
|
178
|
+
}], () => [], { label: [{
|
|
179
|
+
type: Input,
|
|
180
|
+
args: [{ alias: 'label' }]
|
|
181
|
+
}], ignore: [{
|
|
182
|
+
type: Input,
|
|
183
|
+
args: [{ alias: 'ignore' }]
|
|
184
|
+
}], variant: [{
|
|
185
|
+
type: Input,
|
|
186
|
+
args: [{ alias: 'variant' }]
|
|
187
|
+
}], selects: [{
|
|
188
|
+
type: Input,
|
|
189
|
+
args: [{ alias: 'selects' }]
|
|
190
|
+
}], value: [{
|
|
191
|
+
type: Input,
|
|
192
|
+
args: [{ alias: 'value' }]
|
|
193
|
+
}], valueSeparator: [{
|
|
194
|
+
type: Input,
|
|
195
|
+
args: [{ alias: 'value-separator' }]
|
|
196
|
+
}], selected: [{
|
|
197
|
+
type: Input,
|
|
198
|
+
args: [{ alias: 'selected' }]
|
|
199
|
+
}], selectedItems: [{
|
|
200
|
+
type: Input,
|
|
201
|
+
args: [{ alias: 'selected-items' }]
|
|
202
|
+
}], menuSlot: [{
|
|
203
|
+
type: Input,
|
|
204
|
+
args: [{ alias: 'menu-slot' }]
|
|
205
|
+
}], focusedItemIndex: [{
|
|
206
|
+
type: Input,
|
|
207
|
+
args: [{ alias: 'focused-item-index' }]
|
|
208
|
+
}], focusInItemIndex: [{
|
|
209
|
+
type: Input,
|
|
210
|
+
args: [{ alias: 'focus-in-item-index' }]
|
|
211
|
+
}], handleSubmenuClosed: [{
|
|
212
|
+
type: Input,
|
|
213
|
+
args: [{ alias: 'handle-submenu-closed' }]
|
|
214
|
+
}], handleSubmenuOpened: [{
|
|
215
|
+
type: Input,
|
|
216
|
+
args: [{ alias: 'handle-submenu-opened' }]
|
|
217
|
+
}], changeEvent: [{ type: i0.Output, args: ["change"] }], closeEvent: [{ type: i0.Output, args: ["close"] }] }); })();
|
|
218
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoMenu, { className: "LuzmoMenu", filePath: "components/menu.ts", lineNumber: 25 }); })();
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import '@luzmo/lucero/multi-language-field';
|
|
4
|
+
import type { LuzmoMultiLangField as LuzmoMultiLangFieldHostElement } from '@luzmo/lucero/multi-language-field';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LuzmoMultiLanguageField implements OnChanges, ControlValueAccessor {
|
|
7
|
+
private readonly elementRef;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly destroyRef;
|
|
10
|
+
private readonly host;
|
|
11
|
+
private readonly listenerCleanup;
|
|
12
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
13
|
+
get nativeElement(): LuzmoMultiLangFieldHostElement;
|
|
14
|
+
label?: string;
|
|
15
|
+
allowedKeys?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
i18nPlaceholder?: Record<string, string>;
|
|
18
|
+
type?: unknown;
|
|
19
|
+
pattern?: string;
|
|
20
|
+
grows?: boolean;
|
|
21
|
+
maxlength?: number;
|
|
22
|
+
minlength?: number;
|
|
23
|
+
multiline?: boolean;
|
|
24
|
+
rows?: number;
|
|
25
|
+
quiet?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
required?: boolean;
|
|
28
|
+
readonly?: boolean;
|
|
29
|
+
autocomplete?: unknown;
|
|
30
|
+
language?: string;
|
|
31
|
+
defaultLanguage?: string;
|
|
32
|
+
value?: Record<string, string>;
|
|
33
|
+
helpTextManager?: unknown;
|
|
34
|
+
/** An change of the i18n value happened by the user */
|
|
35
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
36
|
+
constructor();
|
|
37
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
+
/**
|
|
39
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
40
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
41
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
42
|
+
* undefined / null by clearing their bindings.
|
|
43
|
+
*/
|
|
44
|
+
private setHostProperty;
|
|
45
|
+
private bindEvents;
|
|
46
|
+
private onChange;
|
|
47
|
+
private onTouched;
|
|
48
|
+
private isWritingValue;
|
|
49
|
+
private lastCvaValue;
|
|
50
|
+
writeValue(value: Record<string, string>): void;
|
|
51
|
+
registerOnChange(fn: (value: Record<string, string>) => void): void;
|
|
52
|
+
registerOnTouched(fn: () => void): void;
|
|
53
|
+
setDisabledState(isDisabled: boolean): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoMultiLanguageField, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoMultiLanguageField, "luzmo-multi-language-field", ["luzmoMultiLanguageField"], { "label": { "alias": "label"; "required": false; }; "allowedKeys": { "alias": "allowed-keys"; "required": false; }; "name": { "alias": "name"; "required": false; }; "i18nPlaceholder": { "alias": "i18n-placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "language": { "alias": "language"; "required": false; }; "defaultLanguage": { "alias": "default-language"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpTextManager": { "alias": "help-text-manager"; "required": false; }; }, { "changeEvent": "change"; }, never, ["*"], true, never>;
|
|
56
|
+
}
|
|
57
|
+
/** The underlying custom element type for LuzmoMultiLanguageField */
|
|
58
|
+
export type LuzmoMultiLanguageFieldElement = LuzmoMultiLangFieldHostElement;
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, forwardRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import '@luzmo/lucero/multi-language-field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const _c0 = ["*"];
|
|
6
|
+
/**
|
|
7
|
+
* Angular wrapper component for <luzmo-multi-language-field>
|
|
8
|
+
*/
|
|
9
|
+
export class LuzmoMultiLanguageField {
|
|
10
|
+
elementRef = inject(ElementRef);
|
|
11
|
+
renderer = inject(Renderer2);
|
|
12
|
+
destroyRef = inject(DestroyRef);
|
|
13
|
+
host = this.elementRef.nativeElement;
|
|
14
|
+
listenerCleanup = [];
|
|
15
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
16
|
+
get nativeElement() {
|
|
17
|
+
return this.host;
|
|
18
|
+
}
|
|
19
|
+
label;
|
|
20
|
+
allowedKeys;
|
|
21
|
+
name;
|
|
22
|
+
i18nPlaceholder;
|
|
23
|
+
type;
|
|
24
|
+
pattern;
|
|
25
|
+
grows;
|
|
26
|
+
maxlength;
|
|
27
|
+
minlength;
|
|
28
|
+
multiline;
|
|
29
|
+
rows;
|
|
30
|
+
quiet;
|
|
31
|
+
disabled;
|
|
32
|
+
required;
|
|
33
|
+
readonly;
|
|
34
|
+
autocomplete;
|
|
35
|
+
language;
|
|
36
|
+
defaultLanguage;
|
|
37
|
+
value;
|
|
38
|
+
helpTextManager;
|
|
39
|
+
/** An change of the i18n value happened by the user */
|
|
40
|
+
changeEvent = output({ alias: 'change' });
|
|
41
|
+
constructor() {
|
|
42
|
+
this.bindEvents();
|
|
43
|
+
this.destroyRef.onDestroy(() => {
|
|
44
|
+
for (const cleanup of this.listenerCleanup) {
|
|
45
|
+
cleanup();
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
ngOnChanges(changes) {
|
|
50
|
+
for (const key of Object.keys(changes)) {
|
|
51
|
+
switch (key) {
|
|
52
|
+
case 'label':
|
|
53
|
+
this.setHostProperty('label', changes['label'].currentValue);
|
|
54
|
+
break;
|
|
55
|
+
case 'allowedKeys':
|
|
56
|
+
this.setHostProperty('allowedKeys', changes['allowedKeys'].currentValue);
|
|
57
|
+
break;
|
|
58
|
+
case 'name':
|
|
59
|
+
this.setHostProperty('name', changes['name'].currentValue);
|
|
60
|
+
break;
|
|
61
|
+
case 'i18nPlaceholder':
|
|
62
|
+
this.setHostProperty('i18nPlaceholder', changes['i18nPlaceholder'].currentValue);
|
|
63
|
+
break;
|
|
64
|
+
case 'type':
|
|
65
|
+
this.setHostProperty('type', changes['type'].currentValue);
|
|
66
|
+
break;
|
|
67
|
+
case 'pattern':
|
|
68
|
+
this.setHostProperty('pattern', changes['pattern'].currentValue);
|
|
69
|
+
break;
|
|
70
|
+
case 'grows':
|
|
71
|
+
this.setHostProperty('grows', changes['grows'].currentValue);
|
|
72
|
+
break;
|
|
73
|
+
case 'maxlength':
|
|
74
|
+
this.setHostProperty('maxlength', changes['maxlength'].currentValue);
|
|
75
|
+
break;
|
|
76
|
+
case 'minlength':
|
|
77
|
+
this.setHostProperty('minlength', changes['minlength'].currentValue);
|
|
78
|
+
break;
|
|
79
|
+
case 'multiline':
|
|
80
|
+
this.setHostProperty('multiline', changes['multiline'].currentValue);
|
|
81
|
+
break;
|
|
82
|
+
case 'rows':
|
|
83
|
+
this.setHostProperty('rows', changes['rows'].currentValue);
|
|
84
|
+
break;
|
|
85
|
+
case 'quiet':
|
|
86
|
+
this.setHostProperty('quiet', changes['quiet'].currentValue);
|
|
87
|
+
break;
|
|
88
|
+
case 'disabled':
|
|
89
|
+
this.setHostProperty('disabled', changes['disabled'].currentValue);
|
|
90
|
+
break;
|
|
91
|
+
case 'required':
|
|
92
|
+
this.setHostProperty('required', changes['required'].currentValue);
|
|
93
|
+
break;
|
|
94
|
+
case 'readonly':
|
|
95
|
+
this.setHostProperty('readonly', changes['readonly'].currentValue);
|
|
96
|
+
break;
|
|
97
|
+
case 'autocomplete':
|
|
98
|
+
this.setHostProperty('autocomplete', changes['autocomplete'].currentValue);
|
|
99
|
+
break;
|
|
100
|
+
case 'language':
|
|
101
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
102
|
+
break;
|
|
103
|
+
case 'defaultLanguage':
|
|
104
|
+
this.setHostProperty('defaultLanguage', changes['defaultLanguage'].currentValue);
|
|
105
|
+
break;
|
|
106
|
+
case 'value':
|
|
107
|
+
this.setHostProperty('value', changes['value'].currentValue);
|
|
108
|
+
break;
|
|
109
|
+
case 'helpTextManager':
|
|
110
|
+
this.setHostProperty('helpTextManager', changes['helpTextManager'].currentValue);
|
|
111
|
+
break;
|
|
112
|
+
default:
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
119
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
120
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
121
|
+
* undefined / null by clearing their bindings.
|
|
122
|
+
*/
|
|
123
|
+
setHostProperty(key, value) {
|
|
124
|
+
this.renderer.setProperty(this.host, key, value);
|
|
125
|
+
}
|
|
126
|
+
bindEvents() {
|
|
127
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
|
|
128
|
+
this.changeEvent.emit(event);
|
|
129
|
+
if (!this.isWritingValue) {
|
|
130
|
+
const eventWithDetail = event;
|
|
131
|
+
const eventTarget = event.target;
|
|
132
|
+
const detail = 'detail' in eventWithDetail ? eventWithDetail.detail : undefined;
|
|
133
|
+
const hostRecord = this.host;
|
|
134
|
+
const nextValue = (detail
|
|
135
|
+
?? eventTarget?.['value']
|
|
136
|
+
?? hostRecord['value']);
|
|
137
|
+
if (Object.is(this.lastCvaValue, nextValue)) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
this.lastCvaValue = nextValue;
|
|
141
|
+
this.setHostProperty('value', nextValue);
|
|
142
|
+
this.onChange(nextValue);
|
|
143
|
+
}
|
|
144
|
+
}));
|
|
145
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'blur', () => {
|
|
146
|
+
this.onTouched();
|
|
147
|
+
}));
|
|
148
|
+
}
|
|
149
|
+
onChange = () => { };
|
|
150
|
+
onTouched = () => { };
|
|
151
|
+
isWritingValue = false;
|
|
152
|
+
lastCvaValue;
|
|
153
|
+
writeValue(value) {
|
|
154
|
+
this.isWritingValue = true;
|
|
155
|
+
this.lastCvaValue = value;
|
|
156
|
+
this.setHostProperty('value', value);
|
|
157
|
+
this.isWritingValue = false;
|
|
158
|
+
}
|
|
159
|
+
registerOnChange(fn) {
|
|
160
|
+
this.onChange = fn;
|
|
161
|
+
}
|
|
162
|
+
registerOnTouched(fn) {
|
|
163
|
+
this.onTouched = fn;
|
|
164
|
+
}
|
|
165
|
+
setDisabledState(isDisabled) {
|
|
166
|
+
this.setHostProperty('disabled', isDisabled);
|
|
167
|
+
if (isDisabled) {
|
|
168
|
+
this.renderer.setAttribute(this.host, 'disabled', '');
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
this.renderer.removeAttribute(this.host, 'disabled');
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
static ɵfac = function LuzmoMultiLanguageField_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoMultiLanguageField)(); };
|
|
175
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoMultiLanguageField, selectors: [["luzmo-multi-language-field"]], inputs: { label: "label", allowedKeys: [0, "allowed-keys", "allowedKeys"], name: "name", i18nPlaceholder: [0, "i18n-placeholder", "i18nPlaceholder"], type: "type", pattern: "pattern", grows: "grows", maxlength: "maxlength", minlength: "minlength", multiline: "multiline", rows: "rows", quiet: "quiet", disabled: "disabled", required: "required", readonly: "readonly", autocomplete: "autocomplete", language: "language", defaultLanguage: [0, "default-language", "defaultLanguage"], value: "value", helpTextManager: [0, "help-text-manager", "helpTextManager"] }, outputs: { changeEvent: "change" }, exportAs: ["luzmoMultiLanguageField"], features: [i0.ɵɵProvidersFeature([
|
|
176
|
+
{
|
|
177
|
+
provide: NG_VALUE_ACCESSOR,
|
|
178
|
+
useExisting: forwardRef(() => LuzmoMultiLanguageField),
|
|
179
|
+
multi: true
|
|
180
|
+
}
|
|
181
|
+
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoMultiLanguageField_Template(rf, ctx) { if (rf & 1) {
|
|
182
|
+
i0.ɵɵprojectionDef();
|
|
183
|
+
i0.ɵɵprojection(0);
|
|
184
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
185
|
+
}
|
|
186
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoMultiLanguageField, [{
|
|
187
|
+
type: Component,
|
|
188
|
+
args: [{
|
|
189
|
+
selector: 'luzmo-multi-language-field',
|
|
190
|
+
exportAs: 'luzmoMultiLanguageField',
|
|
191
|
+
standalone: true,
|
|
192
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
193
|
+
template: '<ng-content />',
|
|
194
|
+
providers: [
|
|
195
|
+
{
|
|
196
|
+
provide: NG_VALUE_ACCESSOR,
|
|
197
|
+
useExisting: forwardRef(() => LuzmoMultiLanguageField),
|
|
198
|
+
multi: true
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}]
|
|
202
|
+
}], () => [], { label: [{
|
|
203
|
+
type: Input,
|
|
204
|
+
args: [{ alias: 'label' }]
|
|
205
|
+
}], allowedKeys: [{
|
|
206
|
+
type: Input,
|
|
207
|
+
args: [{ alias: 'allowed-keys' }]
|
|
208
|
+
}], name: [{
|
|
209
|
+
type: Input,
|
|
210
|
+
args: [{ alias: 'name' }]
|
|
211
|
+
}], i18nPlaceholder: [{
|
|
212
|
+
type: Input,
|
|
213
|
+
args: [{ alias: 'i18n-placeholder' }]
|
|
214
|
+
}], type: [{
|
|
215
|
+
type: Input,
|
|
216
|
+
args: [{ alias: 'type' }]
|
|
217
|
+
}], pattern: [{
|
|
218
|
+
type: Input,
|
|
219
|
+
args: [{ alias: 'pattern' }]
|
|
220
|
+
}], grows: [{
|
|
221
|
+
type: Input,
|
|
222
|
+
args: [{ alias: 'grows' }]
|
|
223
|
+
}], maxlength: [{
|
|
224
|
+
type: Input,
|
|
225
|
+
args: [{ alias: 'maxlength' }]
|
|
226
|
+
}], minlength: [{
|
|
227
|
+
type: Input,
|
|
228
|
+
args: [{ alias: 'minlength' }]
|
|
229
|
+
}], multiline: [{
|
|
230
|
+
type: Input,
|
|
231
|
+
args: [{ alias: 'multiline' }]
|
|
232
|
+
}], rows: [{
|
|
233
|
+
type: Input,
|
|
234
|
+
args: [{ alias: 'rows' }]
|
|
235
|
+
}], quiet: [{
|
|
236
|
+
type: Input,
|
|
237
|
+
args: [{ alias: 'quiet' }]
|
|
238
|
+
}], disabled: [{
|
|
239
|
+
type: Input,
|
|
240
|
+
args: [{ alias: 'disabled' }]
|
|
241
|
+
}], required: [{
|
|
242
|
+
type: Input,
|
|
243
|
+
args: [{ alias: 'required' }]
|
|
244
|
+
}], readonly: [{
|
|
245
|
+
type: Input,
|
|
246
|
+
args: [{ alias: 'readonly' }]
|
|
247
|
+
}], autocomplete: [{
|
|
248
|
+
type: Input,
|
|
249
|
+
args: [{ alias: 'autocomplete' }]
|
|
250
|
+
}], language: [{
|
|
251
|
+
type: Input,
|
|
252
|
+
args: [{ alias: 'language' }]
|
|
253
|
+
}], defaultLanguage: [{
|
|
254
|
+
type: Input,
|
|
255
|
+
args: [{ alias: 'default-language' }]
|
|
256
|
+
}], value: [{
|
|
257
|
+
type: Input,
|
|
258
|
+
args: [{ alias: 'value' }]
|
|
259
|
+
}], helpTextManager: [{
|
|
260
|
+
type: Input,
|
|
261
|
+
args: [{ alias: 'help-text-manager' }]
|
|
262
|
+
}], changeEvent: [{ type: i0.Output, args: ["change"] }] }); })();
|
|
263
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoMultiLanguageField, { className: "LuzmoMultiLanguageField", filePath: "components/multi-language-field.ts", lineNumber: 23 }); })();
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import '@luzmo/lucero/number-field';
|
|
4
|
+
import type { LuzmoNumberField as LuzmoNumberFieldHostElement } from '@luzmo/lucero/number-field';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LuzmoNumberField implements OnChanges, ControlValueAccessor {
|
|
7
|
+
private readonly elementRef;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly destroyRef;
|
|
10
|
+
private readonly host;
|
|
11
|
+
private readonly listenerCleanup;
|
|
12
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
13
|
+
get nativeElement(): LuzmoNumberFieldHostElement;
|
|
14
|
+
/** An `<luzmo-number-field>` element will process its numeric value with `new Intl.NumberFormat(this.resolvedLanguage, this.formatOptions).format(this.valueAsNumber)` in order to prepare it for visual delivery in the input. In order to customize this processing supply your own `Intl.NumberFormatOptions` object here. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat */
|
|
15
|
+
formatOptions?: unknown;
|
|
16
|
+
/** Whether the stepper UI is hidden or not. */
|
|
17
|
+
hideStepper?: boolean;
|
|
18
|
+
/** Whether the number field should grow to fit the content. */
|
|
19
|
+
grows?: boolean;
|
|
20
|
+
/** Whether the number field is indeterminate (temporary UI state) */
|
|
21
|
+
indeterminate?: boolean;
|
|
22
|
+
/** Whether the number field is keyboard focused. */
|
|
23
|
+
keyboardFocused?: boolean;
|
|
24
|
+
/** The maximum value for the number field. */
|
|
25
|
+
max?: number;
|
|
26
|
+
/** The minimum value for the number field. */
|
|
27
|
+
min?: number;
|
|
28
|
+
/** The distance by which to alter the value of the element when taking a "step". When `this.formatOptions.style === 'percentage'` the default step will be set to 0.01 unless otherwise supplied to the element. */
|
|
29
|
+
step?: number;
|
|
30
|
+
/** The modifier for the step. */
|
|
31
|
+
stepModifier?: number;
|
|
32
|
+
/** The value held by the form control */
|
|
33
|
+
value?: number;
|
|
34
|
+
helpTextManager?: unknown;
|
|
35
|
+
/** A regular expression outlining the keys that will be allowed to update the value of the form control. */
|
|
36
|
+
allowedKeys?: string;
|
|
37
|
+
/** Whether the `value` held by the form control is invalid. */
|
|
38
|
+
invalid?: boolean;
|
|
39
|
+
/** A string applied via `aria-label` to the form control when a user visible label is not provided. */
|
|
40
|
+
label?: string;
|
|
41
|
+
/** Name of the form control. */
|
|
42
|
+
name?: string;
|
|
43
|
+
/** Text that appears in the form control when it has no value set */
|
|
44
|
+
placeholder?: string;
|
|
45
|
+
type?: unknown;
|
|
46
|
+
/** Pattern the `value` must match to be valid */
|
|
47
|
+
pattern?: string;
|
|
48
|
+
/** Defines the maximum string length that the user can enter */
|
|
49
|
+
maxlength?: number;
|
|
50
|
+
/** Defines the minimum string length that the user can enter */
|
|
51
|
+
minlength?: number;
|
|
52
|
+
/** Whether the form control should accept a value longer than one line */
|
|
53
|
+
multiline?: boolean;
|
|
54
|
+
/** Whether a user can interact with the value of the form control */
|
|
55
|
+
readonly?: boolean;
|
|
56
|
+
/** The specific number of rows the form control should provide in the user interface */
|
|
57
|
+
rows?: number;
|
|
58
|
+
/** The maximum number of rows the form control should grow to when `grows` is enabled. When content exceeds this limit, the textarea will show a scrollbar. A value of -1 means no maximum (unlimited growth). When set, the value must be >= 1; values < 1 will be disregarded. */
|
|
59
|
+
maxRows?: number;
|
|
60
|
+
/** Whether the `value` held by the form control is valid. */
|
|
61
|
+
valid?: boolean;
|
|
62
|
+
/** Whether to hide the validation state icons (valid/invalid icons). */
|
|
63
|
+
hideValidationIcons?: boolean;
|
|
64
|
+
/** Whether to display the form control with no visible background */
|
|
65
|
+
quiet?: boolean;
|
|
66
|
+
/** Whether the form control will be found to be invalid when it holds no `value` */
|
|
67
|
+
required?: boolean;
|
|
68
|
+
/** What form of assistance should be provided when attempting to supply a value to the form control */
|
|
69
|
+
autocomplete?: unknown;
|
|
70
|
+
/** An alteration to the value of the element has been committed by the user. */
|
|
71
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<Event>;
|
|
72
|
+
/** The value of the element has changed. */
|
|
73
|
+
readonly inputEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
74
|
+
/** A key has been pressed. */
|
|
75
|
+
readonly keypressEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
76
|
+
constructor();
|
|
77
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
78
|
+
/**
|
|
79
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
80
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
81
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
82
|
+
* undefined / null by clearing their bindings.
|
|
83
|
+
*/
|
|
84
|
+
private setHostProperty;
|
|
85
|
+
private bindEvents;
|
|
86
|
+
private onChange;
|
|
87
|
+
private onTouched;
|
|
88
|
+
private isWritingValue;
|
|
89
|
+
private lastCvaValue;
|
|
90
|
+
writeValue(value: number): void;
|
|
91
|
+
registerOnChange(fn: (value: number) => void): void;
|
|
92
|
+
registerOnTouched(fn: () => void): void;
|
|
93
|
+
setDisabledState(isDisabled: boolean): void;
|
|
94
|
+
/** Sets the start and end positions of the current selection. */
|
|
95
|
+
setSelectionRange(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none'): void;
|
|
96
|
+
/** Selects all the text. */
|
|
97
|
+
select(): void;
|
|
98
|
+
checkValidity(): boolean;
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoNumberField, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoNumberField, "luzmo-number-field", ["luzmoNumberField"], { "formatOptions": { "alias": "format-options"; "required": false; }; "hideStepper": { "alias": "hide-stepper"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "keyboardFocused": { "alias": "keyboard-focused"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "stepModifier": { "alias": "step-modifier"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpTextManager": { "alias": "help-text-manager"; "required": false; }; "allowedKeys": { "alias": "allowed-keys"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "max-rows"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "hideValidationIcons": { "alias": "hide-validation-icons"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, { "changeEvent": "change"; "inputEvent": "input"; "keypressEvent": "keypress"; }, never, ["*"], true, never>;
|
|
101
|
+
}
|
|
102
|
+
/** The underlying custom element type for LuzmoNumberField */
|
|
103
|
+
export type LuzmoNumberFieldElement = LuzmoNumberFieldHostElement;
|