@mescius/wijmo 5.20252.44 → 5.20261.45-nightly.d20260105.t014601
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/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +44 -44
- package/index.js +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -20,6 +20,30 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export declare var ___keepComment: any;
|
|
22
22
|
import * as selfModule from '@mescius/wijmo';
|
|
23
|
+
interface _IMap<K, V> {
|
|
24
|
+
clear(): void;
|
|
25
|
+
delete(key: K): any;
|
|
26
|
+
get(key: K): V | undefined;
|
|
27
|
+
has(key: K): boolean;
|
|
28
|
+
set(key: K, value: V): this;
|
|
29
|
+
readonly size: number;
|
|
30
|
+
}
|
|
31
|
+
export declare class _Map<K = any, V = any> {
|
|
32
|
+
readonly _m: _IMap<K, V>;
|
|
33
|
+
_h: any;
|
|
34
|
+
/**
|
|
35
|
+
* Creates an instance of the Map class wrapper.
|
|
36
|
+
* @param pojoHash If true (default), then POJO hash object is used; otherwise, the Map is used.
|
|
37
|
+
*/
|
|
38
|
+
constructor(pojoHash?: boolean);
|
|
39
|
+
readonly isPojoHash: boolean;
|
|
40
|
+
readonly size: number;
|
|
41
|
+
clear(): void;
|
|
42
|
+
delete(key: K): void;
|
|
43
|
+
get(key: K): V | undefined;
|
|
44
|
+
has(key: K): boolean;
|
|
45
|
+
set(key: K, value: V): this;
|
|
46
|
+
}
|
|
23
47
|
export declare const ipaddr: any;
|
|
24
48
|
/**
|
|
25
49
|
* Provides binding to complex properties (e.g. 'customer.address.city')
|
|
@@ -636,8 +660,8 @@ export interface IPagedCollectionView extends ICollectionView {
|
|
|
636
660
|
*/
|
|
637
661
|
moveToPreviousPage(): boolean;
|
|
638
662
|
/**
|
|
639
|
-
|
|
640
|
-
|
|
663
|
+
* Occurs after the page index changes.
|
|
664
|
+
*/
|
|
641
665
|
pageChanged: Event<IPagedCollectionView, EventArgs>;
|
|
642
666
|
/**
|
|
643
667
|
* Occurs before the page index changes.
|
|
@@ -1097,8 +1121,8 @@ export declare function _areObjectsEqual(obj1: any, obj2: any): boolean;
|
|
|
1097
1121
|
export declare function getUniqueId(baseId: string): string;
|
|
1098
1122
|
export declare function getSafeUniqueId(baseId: string, prefix?: string, forcePrefix?: boolean): string;
|
|
1099
1123
|
/**
|
|
1100
|
-
* Creates an unique id
|
|
1101
|
-
*/
|
|
1124
|
+
* Creates an unique id
|
|
1125
|
+
*/
|
|
1102
1126
|
export declare function uidGenerator(): string;
|
|
1103
1127
|
/**
|
|
1104
1128
|
* Converts mouse or touch event arguments into a {@link Point} in page coordinates.
|
|
@@ -2111,30 +2135,6 @@ export declare function addAttributeValueToElement(element: Element, attribute:
|
|
|
2111
2135
|
export declare function removeAttributeValueFromElement(element: any, attribute: any, value: any): void;
|
|
2112
2136
|
export declare function replaceItems(base: any, override: any): any;
|
|
2113
2137
|
export declare function _getTextDecorations(font: any): string;
|
|
2114
|
-
interface _IMap<K, V> {
|
|
2115
|
-
clear(): void;
|
|
2116
|
-
delete(key: K): any;
|
|
2117
|
-
get(key: K): V | undefined;
|
|
2118
|
-
has(key: K): boolean;
|
|
2119
|
-
set(key: K, value: V): this;
|
|
2120
|
-
readonly size: number;
|
|
2121
|
-
}
|
|
2122
|
-
export declare class _Map<K = any, V = any> {
|
|
2123
|
-
readonly _m: _IMap<K, V>;
|
|
2124
|
-
_h: any;
|
|
2125
|
-
/**
|
|
2126
|
-
* Creates an instance of the Map class wrapper.
|
|
2127
|
-
* @param pojoHash If true (default), then POJO hash object is used; otherwise, the Map is used.
|
|
2128
|
-
*/
|
|
2129
|
-
constructor(pojoHash?: boolean);
|
|
2130
|
-
readonly isPojoHash: boolean;
|
|
2131
|
-
readonly size: number;
|
|
2132
|
-
clear(): void;
|
|
2133
|
-
delete(key: K): void;
|
|
2134
|
-
get(key: K): V | undefined;
|
|
2135
|
-
has(key: K): boolean;
|
|
2136
|
-
set(key: K, value: V): this;
|
|
2137
|
-
}
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Represents a color.
|
|
2140
2140
|
*
|
|
@@ -2676,8 +2676,8 @@ export declare class _MaskProvider {
|
|
|
2676
2676
|
_input(e: KeyboardEvent): void;
|
|
2677
2677
|
_keydown(e: KeyboardEvent): void;
|
|
2678
2678
|
_keypress(e: KeyboardEvent): void;
|
|
2679
|
-
_cmpstart(
|
|
2680
|
-
_cmpend(
|
|
2679
|
+
_cmpstart(_e: CompositionEvent): void;
|
|
2680
|
+
_cmpend(_e: CompositionEvent): void;
|
|
2681
2681
|
_preventKey(charCode: number): boolean;
|
|
2682
2682
|
_connect(connect: boolean): void;
|
|
2683
2683
|
_valueChanged(): boolean;
|
|
@@ -3079,7 +3079,7 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3079
3079
|
* {@link CollectionView}.
|
|
3080
3080
|
* @param options JavaScript object containing initialization data for the control.
|
|
3081
3081
|
*/
|
|
3082
|
-
constructor(sourceCollection?: Array<
|
|
3082
|
+
constructor(sourceCollection?: Array<Partial<T> | T>, options?: any);
|
|
3083
3083
|
_copy(key: string, value: any): boolean;
|
|
3084
3084
|
/**
|
|
3085
3085
|
* Gets or sets an object where the keys represent calculated fields
|
|
@@ -3362,17 +3362,17 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3362
3362
|
* Gets an {@link ObservableArray} containing the records that were added to
|
|
3363
3363
|
* the collection since {@link trackChanges} was enabled.
|
|
3364
3364
|
*/
|
|
3365
|
-
readonly itemsAdded: ObservableArray<
|
|
3365
|
+
readonly itemsAdded: ObservableArray<Partial<T> | T>;
|
|
3366
3366
|
/**
|
|
3367
3367
|
* Gets an {@link ObservableArray} containing the records that were removed from
|
|
3368
3368
|
* the collection since {@link trackChanges} was enabled.
|
|
3369
3369
|
*/
|
|
3370
|
-
readonly itemsRemoved: ObservableArray<
|
|
3370
|
+
readonly itemsRemoved: ObservableArray<Partial<T> | T>;
|
|
3371
3371
|
/**
|
|
3372
3372
|
* Gets an {@link ObservableArray} containing the records that were edited in
|
|
3373
3373
|
* the collection since {@link trackChanges} was enabled.
|
|
3374
3374
|
*/
|
|
3375
|
-
readonly itemsEdited: ObservableArray<
|
|
3375
|
+
readonly itemsEdited: ObservableArray<Partial<T> | T>;
|
|
3376
3376
|
/**
|
|
3377
3377
|
* Clears all changes by removing all items in the {@link itemsAdded},
|
|
3378
3378
|
* {@link itemsRemoved}, and {@link itemsEdited} collections.
|
|
@@ -3436,7 +3436,7 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3436
3436
|
* @param e Contains a description of the change.
|
|
3437
3437
|
*/
|
|
3438
3438
|
onCollectionChanged(e?: NotifyCollectionChangedEventArgs<any>, clone?: any): void;
|
|
3439
|
-
protected _raiseCollectionChanged(action?: NotifyCollectionChangedAction, item?:
|
|
3439
|
+
protected _raiseCollectionChanged(action?: NotifyCollectionChangedAction, item?: Partial<T> | T, index?: number): void;
|
|
3440
3440
|
/**
|
|
3441
3441
|
* Occurs before the value of the {@link sourceCollection} property changes.
|
|
3442
3442
|
*/
|
|
@@ -3536,7 +3536,7 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3536
3536
|
*
|
|
3537
3537
|
* @param item Item that will become current.
|
|
3538
3538
|
*/
|
|
3539
|
-
moveCurrentTo(item:
|
|
3539
|
+
moveCurrentTo(item: Partial<T> | T): boolean;
|
|
3540
3540
|
/**
|
|
3541
3541
|
* Sets the first item in the view as the current item.
|
|
3542
3542
|
*/
|
|
@@ -3634,7 +3634,7 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3634
3634
|
/**
|
|
3635
3635
|
* Gets the item that is being added during the current add transaction.
|
|
3636
3636
|
*/
|
|
3637
|
-
readonly currentAddItem:
|
|
3637
|
+
readonly currentAddItem: Partial<T> | T;
|
|
3638
3638
|
/**
|
|
3639
3639
|
* Gets the item that is being edited during the current edit transaction.
|
|
3640
3640
|
*/
|
|
@@ -3706,7 +3706,7 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3706
3706
|
* @return The item that was added to the collection, or null if the transaction
|
|
3707
3707
|
* failed.
|
|
3708
3708
|
*/
|
|
3709
|
-
addNew(item?:
|
|
3709
|
+
addNew(item?: Partial<T> | T, commit?: boolean): Partial<T> | T;
|
|
3710
3710
|
/**
|
|
3711
3711
|
* Ends the current add transaction and saves the pending new item.
|
|
3712
3712
|
*/
|
|
@@ -3720,7 +3720,7 @@ export declare class CollectionView<T = any> implements IEditableCollectionView,
|
|
|
3720
3720
|
*
|
|
3721
3721
|
* @param item Item to be removed from the collection.
|
|
3722
3722
|
*/
|
|
3723
|
-
remove(item:
|
|
3723
|
+
remove(item: Partial<T> | T): void;
|
|
3724
3724
|
/**
|
|
3725
3725
|
* Removes the item at the specified index from the collection.
|
|
3726
3726
|
*
|
|
@@ -3905,7 +3905,7 @@ export declare class ControlBase extends controlBaseClass {
|
|
|
3905
3905
|
* and for handling the HTML templates that define the control structure.
|
|
3906
3906
|
*/
|
|
3907
3907
|
export declare class Control extends ControlBase {
|
|
3908
|
-
workingAs:
|
|
3908
|
+
workingAs: 'React' | 'Angular' | 'Angular2' | 'PureJs';
|
|
3909
3909
|
static sharedState: any;
|
|
3910
3910
|
static _licKey: string;
|
|
3911
3911
|
static _wme: HTMLElement;
|
|
@@ -4449,7 +4449,7 @@ export declare class _ClickRepeater {
|
|
|
4449
4449
|
disabled: boolean;
|
|
4450
4450
|
_connect(connect: boolean): void;
|
|
4451
4451
|
_clearTimeouts(): void;
|
|
4452
|
-
_mousedown(
|
|
4452
|
+
_mousedown(_e: MouseEvent): void;
|
|
4453
4453
|
_mouseup(e: MouseEvent): void;
|
|
4454
4454
|
_click(): void;
|
|
4455
4455
|
}
|
|
@@ -4647,7 +4647,7 @@ export declare class Tooltip {
|
|
|
4647
4647
|
* @param element Element, single element CSS selector, or control that the tooltip explains.
|
|
4648
4648
|
* @param content Tooltip content or ID of the element that contains the tooltip content.
|
|
4649
4649
|
* @param position Position where the tooltip should be displayed with respect to the owner element.
|
|
4650
|
-
|
|
4650
|
+
*/
|
|
4651
4651
|
setTooltip(element: any, content: string | null, position?: PopupPosition): void;
|
|
4652
4652
|
/**
|
|
4653
4653
|
* Gets the tooltip content associated with a given element.
|
|
@@ -4744,7 +4744,7 @@ export declare class Tooltip {
|
|
|
4744
4744
|
private _indexOf;
|
|
4745
4745
|
private _attach;
|
|
4746
4746
|
private _detach;
|
|
4747
|
-
_keydown(e?: KeyboardEvent,
|
|
4747
|
+
_keydown(e?: KeyboardEvent, _element?: HTMLElement): void;
|
|
4748
4748
|
private _focus;
|
|
4749
4749
|
_showAutoTip(e?: MouseEvent, element?: HTMLElement): void;
|
|
4750
4750
|
_mousemove(e: MouseEvent): void;
|