mixlea-utils-js 0.1.11 → 0.1.13
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/mixlea-utils-js.js +479 -459
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +18 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -337,6 +337,11 @@ export declare function deepMultiSet<T = unknown>(target: T, assignment: Record<
|
|
|
337
337
|
|
|
338
338
|
export declare function deepSet(obj: any, path: string | Array<string | number>, value: any): void;
|
|
339
339
|
|
|
340
|
+
declare function dispatchEvent_2(el: any, e: EventEmit): void;
|
|
341
|
+
export { dispatchEvent_2 as dispatchEvent }
|
|
342
|
+
|
|
343
|
+
export declare function dispatchEvents(el: any, events: EventEmit_2[]): void;
|
|
344
|
+
|
|
340
345
|
export declare function distanceSimilarity(a: string, b: string): number;
|
|
341
346
|
|
|
342
347
|
export declare function divide(items: any[], options?: {
|
|
@@ -414,6 +419,18 @@ export declare function evaluateMathExpression(expression: string, variables: Re
|
|
|
414
419
|
termFallbackValue: number;
|
|
415
420
|
} | number): number;
|
|
416
421
|
|
|
422
|
+
declare interface EventEmit {
|
|
423
|
+
type: 'mousedown' | 'mouseup' | 'click';
|
|
424
|
+
bubbles?: true;
|
|
425
|
+
cancelable?: true;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
declare interface EventEmit_2 {
|
|
429
|
+
type: 'mousedown' | 'mouseup' | 'click';
|
|
430
|
+
bubbles?: true;
|
|
431
|
+
cancelable?: true;
|
|
432
|
+
}
|
|
433
|
+
|
|
417
434
|
export declare function exchangeRateFormatter<T = unknown>(value: T, opts?: {
|
|
418
435
|
thousandth?: boolean;
|
|
419
436
|
}): string;
|
|
@@ -1166,7 +1183,7 @@ export declare function setDOMStyle(element: any, styles: Record<string, any>):
|
|
|
1166
1183
|
|
|
1167
1184
|
export declare function setDOMStylePropertys(element: any, propertys: Record<string, any>): void;
|
|
1168
1185
|
|
|
1169
|
-
export declare function setHtmlInputValue(input: any, value: any, opts
|
|
1186
|
+
export declare function setHtmlInputValue(input: any, value: any, opts?: {
|
|
1170
1187
|
dispatchEvent: boolean | 'bubbles';
|
|
1171
1188
|
}): void;
|
|
1172
1189
|
|