dry-ux 1.73.0 → 1.75.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.
|
@@ -3,17 +3,30 @@ export type InputElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaEl
|
|
|
3
3
|
* Class representing a generic DOM element with utility methods for manipulation and validation.
|
|
4
4
|
*/
|
|
5
5
|
export declare class Element {
|
|
6
|
-
|
|
6
|
+
private readonly _native;
|
|
7
7
|
/**
|
|
8
8
|
* Creates an instance of Element.
|
|
9
9
|
* @param native The native HTML element.
|
|
10
10
|
*/
|
|
11
11
|
constructor(native: HTMLElement);
|
|
12
12
|
/**
|
|
13
|
-
* Gets the
|
|
13
|
+
* Gets the native HTML element.
|
|
14
|
+
* @returns The native HTML element.
|
|
15
|
+
*/
|
|
16
|
+
get native(): HTMLElement;
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the value of the input element.
|
|
19
|
+
* @param value Optional value to set for the input element.
|
|
20
|
+
* If no value is provided, it returns the current value of the input element.
|
|
21
|
+
* If a value is provided, it sets the input element's value to that value.
|
|
22
|
+
* This method is useful for both getting and setting the value of input elements.
|
|
14
23
|
* @returns The value of the input element.
|
|
15
24
|
*/
|
|
16
|
-
val(): string;
|
|
25
|
+
val(value?: string): string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Clears the inner content of element by setting it to an empty string.
|
|
28
|
+
*/
|
|
29
|
+
empty(): void;
|
|
17
30
|
/**
|
|
18
31
|
* Checks if the element has a specific class.
|
|
19
32
|
* @param className The class name to check.
|
|
@@ -72,34 +85,124 @@ export declare class Element {
|
|
|
72
85
|
* @returns The native input element.
|
|
73
86
|
*/
|
|
74
87
|
get nativeInput(): InputElement;
|
|
88
|
+
/**
|
|
89
|
+
* Adds an event listener to the element.
|
|
90
|
+
* @param type The event type to listen for.
|
|
91
|
+
* @param handler The event handler function.
|
|
92
|
+
* @param once Whether the event should only fire once.
|
|
93
|
+
* @returns A function to remove the event listener, or undefined if the element is not suitable for events.
|
|
94
|
+
*/
|
|
95
|
+
addEventListener(type: string, handler: (e: Event) => void, once?: boolean): () => void | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Adds a change event listener to the element.
|
|
98
|
+
* @param handler The event handler function.
|
|
99
|
+
* @param once Whether the event should only fire once.
|
|
100
|
+
* @returns A function to remove the event listener.
|
|
101
|
+
*/
|
|
102
|
+
change(handler: (e: Event) => void, once?: boolean): () => void | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Adds a click event listener to the element.
|
|
105
|
+
* @param handler The event handler function.
|
|
106
|
+
* @param once Whether the event should only fire once.
|
|
107
|
+
* @returns A function to remove the event listener.
|
|
108
|
+
*/
|
|
109
|
+
click(handler: (e: Event) => void, once?: boolean): () => void | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Adds a focus event listener to the element.
|
|
112
|
+
* @param handler The event handler function.
|
|
113
|
+
* @param once Whether the event should only fire once.
|
|
114
|
+
* @returns A function to remove the event listener.
|
|
115
|
+
*/
|
|
116
|
+
focus(handler: (e: Event) => void, once?: boolean): () => void | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Adds a blur event listener to the element.
|
|
119
|
+
* @param handler The event handler function.
|
|
120
|
+
* @param once Whether the event should only fire once.
|
|
121
|
+
* @returns A function to remove the event listener.
|
|
122
|
+
*/
|
|
123
|
+
blur(handler: (e: Event) => void, once?: boolean): () => void | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Adds a keydown event listener to the element.
|
|
126
|
+
* @param handler The keyboard event handler function.
|
|
127
|
+
* @param once Whether the event should only fire once.
|
|
128
|
+
* @returns A function to remove the event listener.
|
|
129
|
+
*/
|
|
130
|
+
keydown(handler: (e: KeyboardEvent) => void, once?: boolean): () => void | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Adds a keyup event listener to the element.
|
|
133
|
+
* @param handler The keyboard event handler function.
|
|
134
|
+
* @param once Whether the event should only fire once.
|
|
135
|
+
* @returns A function to remove the event listener.
|
|
136
|
+
*/
|
|
137
|
+
keyup(handler: (e: KeyboardEvent) => void, once?: boolean): () => void | undefined;
|
|
75
138
|
/**
|
|
76
139
|
* Finds an element by its ID.
|
|
140
|
+
* When called as static method: searches entire document.
|
|
141
|
+
* When called as instance method: searches within this element's scope.
|
|
77
142
|
* @param id The ID of the element to find.
|
|
78
143
|
* @returns The Element instance if found, null otherwise.
|
|
79
144
|
*/
|
|
80
145
|
static byId(id: string): Element | null;
|
|
146
|
+
/**
|
|
147
|
+
* Finds an element by its ID within this element's scope.
|
|
148
|
+
* @param id The ID of the element to find.
|
|
149
|
+
* @returns The Element instance if found, null otherwise.
|
|
150
|
+
*/
|
|
151
|
+
byId(id: string): Element | null;
|
|
81
152
|
/**
|
|
82
153
|
* Finds the first element matching the CSS selector.
|
|
154
|
+
* When called as static method: searches entire document.
|
|
155
|
+
* When called as instance method: searches within this element's scope.
|
|
83
156
|
* @param selector The CSS selector to match.
|
|
84
157
|
* @returns The Element instance if found, null otherwise.
|
|
85
158
|
*/
|
|
86
159
|
static bySelector(selector: string): Element | null;
|
|
160
|
+
/**
|
|
161
|
+
* Finds the first element matching the CSS selector within this element's scope.
|
|
162
|
+
* @param selector The CSS selector to match.
|
|
163
|
+
* @returns The Element instance if found, null otherwise.
|
|
164
|
+
*/
|
|
165
|
+
bySelector(selector: string): Element | null;
|
|
87
166
|
/**
|
|
88
167
|
* Finds all elements matching the CSS selector.
|
|
168
|
+
* When called as static method: searches entire document.
|
|
169
|
+
* When called as instance method: searches within this element's scope.
|
|
89
170
|
* @param selector The CSS selector to match.
|
|
90
171
|
* @returns An array of Element instances.
|
|
91
172
|
*/
|
|
92
173
|
static bySelectorAll(selector: string): Element[];
|
|
174
|
+
/**
|
|
175
|
+
* Finds all elements matching the CSS selector within this element's scope.
|
|
176
|
+
* @param selector The CSS selector to match.
|
|
177
|
+
* @returns An array of Element instances.
|
|
178
|
+
*/
|
|
179
|
+
bySelectorAll(selector: string): Element[];
|
|
93
180
|
/**
|
|
94
181
|
* Finds all elements with the specified tag name.
|
|
182
|
+
* When called as static method: searches entire document.
|
|
183
|
+
* When called as instance method: searches within this element's scope.
|
|
95
184
|
* @param tagName The tag name to match.
|
|
96
185
|
* @returns An array of Element instances.
|
|
97
186
|
*/
|
|
98
187
|
static byTagName(tagName: string): Element[];
|
|
188
|
+
/**
|
|
189
|
+
* Finds all elements with the specified tag name within this element's scope.
|
|
190
|
+
* @param tagName The tag name to match.
|
|
191
|
+
* @returns An array of Element instances.
|
|
192
|
+
*/
|
|
193
|
+
byTagName(tagName: string): Element[];
|
|
99
194
|
/**
|
|
100
195
|
* Finds all elements with the specified class name.
|
|
196
|
+
* When called as static method: searches entire document.
|
|
197
|
+
* When called as instance method: searches within this element's scope.
|
|
101
198
|
* @param className The class name to match.
|
|
102
199
|
* @returns An array of Element instances.
|
|
103
200
|
*/
|
|
104
201
|
static byClassName(className: string): Element[];
|
|
202
|
+
/**
|
|
203
|
+
* Finds all elements with the specified class name within this element's scope.
|
|
204
|
+
* @param className The class name to match.
|
|
205
|
+
* @returns An array of Element instances.
|
|
206
|
+
*/
|
|
207
|
+
byClassName(className: string): Element[];
|
|
105
208
|
}
|
|
@@ -10,14 +10,31 @@ class Element {
|
|
|
10
10
|
* @param native The native HTML element.
|
|
11
11
|
*/
|
|
12
12
|
constructor(native) {
|
|
13
|
-
this.
|
|
13
|
+
this._native = native;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Gets the
|
|
16
|
+
* Gets the native HTML element.
|
|
17
|
+
* @returns The native HTML element.
|
|
18
|
+
*/
|
|
19
|
+
get native() {
|
|
20
|
+
return this._native;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the value of the input element.
|
|
24
|
+
* @param value Optional value to set for the input element.
|
|
25
|
+
* If no value is provided, it returns the current value of the input element.
|
|
26
|
+
* If a value is provided, it sets the input element's value to that value.
|
|
27
|
+
* This method is useful for both getting and setting the value of input elements.
|
|
17
28
|
* @returns The value of the input element.
|
|
18
29
|
*/
|
|
19
|
-
val() {
|
|
20
|
-
return this.nativeInput.value;
|
|
30
|
+
val(value) {
|
|
31
|
+
return value === undefined ? this.nativeInput.value : (this.nativeInput.value = value);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Clears the inner content of element by setting it to an empty string.
|
|
35
|
+
*/
|
|
36
|
+
empty() {
|
|
37
|
+
this.native.innerHTML = "";
|
|
21
38
|
}
|
|
22
39
|
/**
|
|
23
40
|
* Checks if the element has a specific class.
|
|
@@ -99,8 +116,81 @@ class Element {
|
|
|
99
116
|
get nativeInput() {
|
|
100
117
|
return this.native;
|
|
101
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* Adds an event listener to the element.
|
|
121
|
+
* @param type The event type to listen for.
|
|
122
|
+
* @param handler The event handler function.
|
|
123
|
+
* @param once Whether the event should only fire once.
|
|
124
|
+
* @returns A function to remove the event listener, or undefined if the element is not suitable for events.
|
|
125
|
+
*/
|
|
126
|
+
addEventListener(type, handler, once) {
|
|
127
|
+
if ((this.nativeInput instanceof HTMLInputElement ||
|
|
128
|
+
this.nativeInput instanceof HTMLSelectElement ||
|
|
129
|
+
this.nativeInput instanceof HTMLTextAreaElement) &&
|
|
130
|
+
!!type) {
|
|
131
|
+
const abortController = new AbortController();
|
|
132
|
+
this.nativeInput.addEventListener("change", handler, { once, signal: abortController.signal });
|
|
133
|
+
return abortController.abort;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Adds a change event listener to the element.
|
|
138
|
+
* @param handler The event handler function.
|
|
139
|
+
* @param once Whether the event should only fire once.
|
|
140
|
+
* @returns A function to remove the event listener.
|
|
141
|
+
*/
|
|
142
|
+
change(handler, once) {
|
|
143
|
+
return this.addEventListener("change", handler, once);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Adds a click event listener to the element.
|
|
147
|
+
* @param handler The event handler function.
|
|
148
|
+
* @param once Whether the event should only fire once.
|
|
149
|
+
* @returns A function to remove the event listener.
|
|
150
|
+
*/
|
|
151
|
+
click(handler, once) {
|
|
152
|
+
return this.addEventListener("click", handler, once);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Adds a focus event listener to the element.
|
|
156
|
+
* @param handler The event handler function.
|
|
157
|
+
* @param once Whether the event should only fire once.
|
|
158
|
+
* @returns A function to remove the event listener.
|
|
159
|
+
*/
|
|
160
|
+
focus(handler, once) {
|
|
161
|
+
return this.addEventListener("focus", handler, once);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Adds a blur event listener to the element.
|
|
165
|
+
* @param handler The event handler function.
|
|
166
|
+
* @param once Whether the event should only fire once.
|
|
167
|
+
* @returns A function to remove the event listener.
|
|
168
|
+
*/
|
|
169
|
+
blur(handler, once) {
|
|
170
|
+
return this.addEventListener("blur", handler, once);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Adds a keydown event listener to the element.
|
|
174
|
+
* @param handler The keyboard event handler function.
|
|
175
|
+
* @param once Whether the event should only fire once.
|
|
176
|
+
* @returns A function to remove the event listener.
|
|
177
|
+
*/
|
|
178
|
+
keydown(handler, once) {
|
|
179
|
+
return this.addEventListener("keydown", handler, once);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Adds a keyup event listener to the element.
|
|
183
|
+
* @param handler The keyboard event handler function.
|
|
184
|
+
* @param once Whether the event should only fire once.
|
|
185
|
+
* @returns A function to remove the event listener.
|
|
186
|
+
*/
|
|
187
|
+
keyup(handler, once) {
|
|
188
|
+
return this.addEventListener("keyup", handler, once);
|
|
189
|
+
}
|
|
102
190
|
/**
|
|
103
191
|
* Finds an element by its ID.
|
|
192
|
+
* When called as static method: searches entire document.
|
|
193
|
+
* When called as instance method: searches within this element's scope.
|
|
104
194
|
* @param id The ID of the element to find.
|
|
105
195
|
* @returns The Element instance if found, null otherwise.
|
|
106
196
|
*/
|
|
@@ -108,8 +198,18 @@ class Element {
|
|
|
108
198
|
const element = document.getElementById(id);
|
|
109
199
|
return element ? new Element(element) : null;
|
|
110
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Finds an element by its ID within this element's scope.
|
|
203
|
+
* @param id The ID of the element to find.
|
|
204
|
+
* @returns The Element instance if found, null otherwise.
|
|
205
|
+
*/
|
|
206
|
+
byId(id) {
|
|
207
|
+
return this.bySelector(`#${id}`);
|
|
208
|
+
}
|
|
111
209
|
/**
|
|
112
210
|
* Finds the first element matching the CSS selector.
|
|
211
|
+
* When called as static method: searches entire document.
|
|
212
|
+
* When called as instance method: searches within this element's scope.
|
|
113
213
|
* @param selector The CSS selector to match.
|
|
114
214
|
* @returns The Element instance if found, null otherwise.
|
|
115
215
|
*/
|
|
@@ -117,29 +217,68 @@ class Element {
|
|
|
117
217
|
const element = document.querySelector(selector);
|
|
118
218
|
return element ? new Element(element) : null;
|
|
119
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* Finds the first element matching the CSS selector within this element's scope.
|
|
222
|
+
* @param selector The CSS selector to match.
|
|
223
|
+
* @returns The Element instance if found, null otherwise.
|
|
224
|
+
*/
|
|
225
|
+
bySelector(selector) {
|
|
226
|
+
const element = this.native.querySelector(selector);
|
|
227
|
+
return element ? new Element(element) : null;
|
|
228
|
+
}
|
|
120
229
|
/**
|
|
121
230
|
* Finds all elements matching the CSS selector.
|
|
231
|
+
* When called as static method: searches entire document.
|
|
232
|
+
* When called as instance method: searches within this element's scope.
|
|
122
233
|
* @param selector The CSS selector to match.
|
|
123
234
|
* @returns An array of Element instances.
|
|
124
235
|
*/
|
|
125
236
|
static bySelectorAll(selector) {
|
|
126
237
|
return Array.from(document.querySelectorAll(selector)).map(el => new Element(el));
|
|
127
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* Finds all elements matching the CSS selector within this element's scope.
|
|
241
|
+
* @param selector The CSS selector to match.
|
|
242
|
+
* @returns An array of Element instances.
|
|
243
|
+
*/
|
|
244
|
+
bySelectorAll(selector) {
|
|
245
|
+
return Array.from(this.native.querySelectorAll(selector)).map(el => new Element(el));
|
|
246
|
+
}
|
|
128
247
|
/**
|
|
129
248
|
* Finds all elements with the specified tag name.
|
|
249
|
+
* When called as static method: searches entire document.
|
|
250
|
+
* When called as instance method: searches within this element's scope.
|
|
130
251
|
* @param tagName The tag name to match.
|
|
131
252
|
* @returns An array of Element instances.
|
|
132
253
|
*/
|
|
133
254
|
static byTagName(tagName) {
|
|
134
255
|
return Array.from(document.getElementsByTagName(tagName)).map(el => new Element(el));
|
|
135
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Finds all elements with the specified tag name within this element's scope.
|
|
259
|
+
* @param tagName The tag name to match.
|
|
260
|
+
* @returns An array of Element instances.
|
|
261
|
+
*/
|
|
262
|
+
byTagName(tagName) {
|
|
263
|
+
return Array.from(this.native.getElementsByTagName(tagName)).map(el => new Element(el));
|
|
264
|
+
}
|
|
136
265
|
/**
|
|
137
266
|
* Finds all elements with the specified class name.
|
|
267
|
+
* When called as static method: searches entire document.
|
|
268
|
+
* When called as instance method: searches within this element's scope.
|
|
138
269
|
* @param className The class name to match.
|
|
139
270
|
* @returns An array of Element instances.
|
|
140
271
|
*/
|
|
141
272
|
static byClassName(className) {
|
|
142
273
|
return Array.from(document.getElementsByClassName(className)).map(el => new Element(el));
|
|
143
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* Finds all elements with the specified class name within this element's scope.
|
|
277
|
+
* @param className The class name to match.
|
|
278
|
+
* @returns An array of Element instances.
|
|
279
|
+
*/
|
|
280
|
+
byClassName(className) {
|
|
281
|
+
return Array.from(this.native.getElementsByClassName(className)).map(el => new Element(el));
|
|
282
|
+
}
|
|
144
283
|
}
|
|
145
284
|
exports.Element = Element;
|
|
@@ -59,7 +59,7 @@ export declare const toHashCode: (input: string) => number;
|
|
|
59
59
|
* @param key The key of the parameter.
|
|
60
60
|
* @param value The value of the parameter.
|
|
61
61
|
*/
|
|
62
|
-
export declare const insertUrlParam: (key:
|
|
62
|
+
export declare const insertUrlParam: (key: any, value: any) => void;
|
|
63
63
|
/**
|
|
64
64
|
* Inserts multiple URL parameters.
|
|
65
65
|
* @param params An object containing key-value pairs of parameters.
|
|
@@ -113,7 +113,20 @@ export declare const usePubSub: <T>() => {
|
|
|
113
113
|
usePub: () => <TName extends keyof T, TPayload extends T[TName]>(event: TName, data?: TPayload) => void;
|
|
114
114
|
useSub: <TName extends keyof T, TPayload_1 extends T[TName]>(event: TName, callback: (data: TPayload_1) => void) => () => void;
|
|
115
115
|
};
|
|
116
|
+
/**
|
|
117
|
+
* Hook to get dimensions of an element or the viewport.
|
|
118
|
+
* @param ref
|
|
119
|
+
*/
|
|
116
120
|
export declare const useDimensions: (ref?: React.MutableRefObject<HTMLElement>) => {
|
|
117
121
|
width: number;
|
|
118
122
|
height: number;
|
|
119
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* Hook to get and set URL search parameters.
|
|
126
|
+
* @template T The type of the URL parameters.
|
|
127
|
+
* @returns An object containing the current URL parameters and a function to set a parameter.
|
|
128
|
+
*/
|
|
129
|
+
export declare const useSearchParams: <T>() => {
|
|
130
|
+
params: T;
|
|
131
|
+
setParam: <TKey extends keyof T, TValue extends T[TKey]>(key: TKey, value: TValue) => void;
|
|
132
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDimensions = exports.usePubSub = exports.useIsVisible = exports.tryParseJson = exports.Deferred = exports.getUrlParams = exports.insertUrlParams = exports.insertUrlParam = exports.toHashCode = exports.StorageUtils = exports.fnWithAuthCheck = exports.formatDollar = exports.useCountdown = exports.importStyleSheet = exports.importScript = exports.preventDefault = void 0;
|
|
3
|
+
exports.useSearchParams = exports.useDimensions = exports.usePubSub = exports.useIsVisible = exports.tryParseJson = exports.Deferred = exports.getUrlParams = exports.insertUrlParams = exports.insertUrlParam = exports.toHashCode = exports.StorageUtils = exports.fnWithAuthCheck = exports.formatDollar = exports.useCountdown = exports.importStyleSheet = exports.importScript = exports.preventDefault = void 0;
|
|
4
4
|
const React = require("react");
|
|
5
5
|
/**
|
|
6
6
|
* Returns a function that will call the given handler and prevent the default event behavior.
|
|
@@ -282,6 +282,10 @@ const usePubSub = () => {
|
|
|
282
282
|
return { usePub, useSub };
|
|
283
283
|
};
|
|
284
284
|
exports.usePubSub = usePubSub;
|
|
285
|
+
/**
|
|
286
|
+
* Hook to get dimensions of an element or the viewport.
|
|
287
|
+
* @param ref
|
|
288
|
+
*/
|
|
285
289
|
const useDimensions = (ref) => {
|
|
286
290
|
const [size, setSize] = React.useState({ width: 0, height: 0 });
|
|
287
291
|
const element = (ref === null || ref === void 0 ? void 0 : ref.current) || document.documentElement;
|
|
@@ -296,3 +300,23 @@ const useDimensions = (ref) => {
|
|
|
296
300
|
return size;
|
|
297
301
|
};
|
|
298
302
|
exports.useDimensions = useDimensions;
|
|
303
|
+
/**
|
|
304
|
+
* Hook to get and set URL search parameters.
|
|
305
|
+
* @template T The type of the URL parameters.
|
|
306
|
+
* @returns An object containing the current URL parameters and a function to set a parameter.
|
|
307
|
+
*/
|
|
308
|
+
const useSearchParams = () => {
|
|
309
|
+
const [params, setParams] = React.useState((0, exports.getUrlParams)());
|
|
310
|
+
/**
|
|
311
|
+
* Sets a URL parameter and updates the state.
|
|
312
|
+
*/
|
|
313
|
+
const setParam = React.useCallback((key, value) => {
|
|
314
|
+
(0, exports.insertUrlParam)(key, value);
|
|
315
|
+
setParams((0, exports.getUrlParams)());
|
|
316
|
+
}, []);
|
|
317
|
+
return {
|
|
318
|
+
params,
|
|
319
|
+
setParam,
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
exports.useSearchParams = useSearchParams;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export { Validation } from "./enhanced-inputs/Validaition";
|
|
|
18
18
|
export { Viewport } from "./ui-utils/ViewportDetect";
|
|
19
19
|
export * from "./enhanced-inputs/HTMLInputs";
|
|
20
20
|
export * from "./enhanced-inputs/interface";
|
|
21
|
-
export { Element } from "./enhanced-inputs/Element";
|
|
21
|
+
export { Element, InputElement } from "./enhanced-inputs/Element";
|