@zhongguo168a/yxeditor-common 0.0.57 → 0.0.59
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/index.d.ts +1 -17
- package/dist/index.esm.js +36 -39
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1690,22 +1690,6 @@ declare class IdentUtil {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
declare const identutil: IdentUtil;
|
|
1692
1692
|
|
|
1693
|
-
declare class MapObject extends Dictionary<string, MapValue> {
|
|
1694
|
-
object: {};
|
|
1695
|
-
constructor(object: {});
|
|
1696
|
-
getValue(key: string): MapValue;
|
|
1697
|
-
}
|
|
1698
|
-
declare class MapValue {
|
|
1699
|
-
obj: {};
|
|
1700
|
-
key: any;
|
|
1701
|
-
constructor(obj: {}, key: any);
|
|
1702
|
-
set(value: any): void;
|
|
1703
|
-
isUndefined(): boolean;
|
|
1704
|
-
toNumber(): number;
|
|
1705
|
-
toString(): string;
|
|
1706
|
-
toBoolean(): boolean;
|
|
1707
|
-
toAny(): any;
|
|
1708
|
-
}
|
|
1709
1693
|
declare class MapUtil {
|
|
1710
1694
|
/**
|
|
1711
1695
|
* 获取所欲的值
|
|
@@ -2063,5 +2047,5 @@ declare class WidgetUtil {
|
|
|
2063
2047
|
}
|
|
2064
2048
|
declare var widgetutil: WidgetUtil;
|
|
2065
2049
|
|
|
2066
|
-
export { ArrayUtil, AssetLoader, AssetURI, BitUtil, CallbackList, CameraUtil, CanvasUtil, Controller, ControllerDict, ControllerRepo, ConvertUtil, DictIterator, DictNode, DictSource, Dictionary, Dispatcher, DocUtil, ErrorUtil, EventDispatcher, EventItem, EventUtil, Factory, FloatUtil, GeometryUtil, IdentUtil, LOGGER_EVENT, LinkError, List, ListIterator, ListNode, ListSource, Listener, LogLevel, LogManager, Logger,
|
|
2050
|
+
export { ArrayUtil, AssetLoader, AssetURI, BitUtil, CallbackList, CameraUtil, CanvasUtil, Controller, ControllerDict, ControllerRepo, ConvertUtil, DictIterator, DictNode, DictSource, Dictionary, Dispatcher, DocUtil, ErrorUtil, EventDispatcher, EventItem, EventUtil, Factory, FloatUtil, GeometryUtil, IdentUtil, LOGGER_EVENT, LinkError, List, ListIterator, ListNode, ListSource, Listener, LogLevel, LogManager, Logger, MapUtil, MathUtil, Model, NetUtil, PathUtil, Pool, RandUtil, Route, RouteController, RouteList, RouteView, SampleCallbackList, SamplePool, SamplePoolSet, ScaleUtil, SimpleModel, StringUtil, TimeUtil, Timer, TreeIterator, TreeNode, TreeNodePlugin, TreeRoot, TreeRootPlugin, TreeUtil, UIManager, UIObjectRepo, UIPoolConfig, UISingleConfig, UIUtil, ViewDict, ViewEvent, ViewHistory, ViewList, ViewRepo, ViewState, WidgetAlign, WidgetUtil, XAssetManager, XEvent, arrayutil, assetx, bitutil, camerautil, canvasutil, convertutil, ctrlrepo, docutil, errorutil, eventmgr, eventutil, floatutil, formatutil, geoutil, identutil, loadAtlas, logmgr, maputil, mathutil, netutil, parseAtlas, parsePlist, pathutil, randutil, resutil, scaleutil, stringutil, timer, timeutil, treeutil, uimgr, uirepo, uiutil, viewhistorys, viewrepo, widgetutil };
|
|
2067
2051
|
export type { CreatorFunction, DisposeFunction, IController, IError, IEventDispatcher, IExtend, IListItem, IModel, IModule, ITreeListItem, RecycleFunction };
|
package/dist/index.esm.js
CHANGED
|
@@ -1121,44 +1121,41 @@ class ConvertUtil {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
const convertutil = new ConvertUtil();
|
|
1123
1123
|
|
|
1124
|
-
class MapObject extends Dictionary {
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
return this.obj[this.key];
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1124
|
+
// export class MapObject extends Dictionary<string, MapValue> {
|
|
1125
|
+
// constructor(public object: {}) {
|
|
1126
|
+
// super();
|
|
1127
|
+
// }
|
|
1128
|
+
// getValue(key: string): MapValue {
|
|
1129
|
+
// let value = this.get(key);
|
|
1130
|
+
// if (!value) {
|
|
1131
|
+
// value = new MapValue(this, key);
|
|
1132
|
+
// this.set(key, value);
|
|
1133
|
+
// }
|
|
1134
|
+
// return value;
|
|
1135
|
+
// }
|
|
1136
|
+
// }
|
|
1137
|
+
// export class MapValue {
|
|
1138
|
+
// constructor(public obj: {}, public key: any) {
|
|
1139
|
+
// }
|
|
1140
|
+
// set(value: any) {
|
|
1141
|
+
// this.obj[this.key] = value;
|
|
1142
|
+
// }
|
|
1143
|
+
// isUndefined(): boolean {
|
|
1144
|
+
// return this.obj[this.key] == undefined;
|
|
1145
|
+
// }
|
|
1146
|
+
// toNumber(): number {
|
|
1147
|
+
// return maputil.number(this.obj, this.key);
|
|
1148
|
+
// }
|
|
1149
|
+
// toString(): string {
|
|
1150
|
+
// return maputil.string(this.obj, this.key);
|
|
1151
|
+
// }
|
|
1152
|
+
// toBoolean(): boolean {
|
|
1153
|
+
// return maputil.boolean(this.obj, this.key);
|
|
1154
|
+
// }
|
|
1155
|
+
// toAny(): any {
|
|
1156
|
+
// return this.obj[this.key];
|
|
1157
|
+
// }
|
|
1158
|
+
// }
|
|
1162
1159
|
class MapUtil {
|
|
1163
1160
|
/**
|
|
1164
1161
|
* 获取所欲的值
|
|
@@ -6391,5 +6388,5 @@ class WidgetUtil {
|
|
|
6391
6388
|
}
|
|
6392
6389
|
var widgetutil = new WidgetUtil();
|
|
6393
6390
|
|
|
6394
|
-
export { ArrayUtil, AssetLoader, AssetURI, BitUtil, CallbackList, CameraUtil, CanvasUtil, Controller, ControllerDict, ControllerRepo, ConvertUtil, DictIterator, DictNode, DictSource, Dictionary, Dispatcher, DocUtil, ErrorUtil, EventDispatcher, EventItem, EventUtil, Factory, FloatUtil, GeometryUtil, IdentUtil, LOGGER_EVENT, LinkError, List, ListIterator, ListNode, ListSource, Listener, LogLevel, LogManager, Logger,
|
|
6391
|
+
export { ArrayUtil, AssetLoader, AssetURI, BitUtil, CallbackList, CameraUtil, CanvasUtil, Controller, ControllerDict, ControllerRepo, ConvertUtil, DictIterator, DictNode, DictSource, Dictionary, Dispatcher, DocUtil, ErrorUtil, EventDispatcher, EventItem, EventUtil, Factory, FloatUtil, GeometryUtil, IdentUtil, LOGGER_EVENT, LinkError, List, ListIterator, ListNode, ListSource, Listener, LogLevel, LogManager, Logger, MapUtil, MathUtil, Model, NetUtil, PathUtil, Pool, RandUtil, Route, RouteController, RouteList, RouteView, SampleCallbackList, SamplePool, SamplePoolSet, ScaleUtil, SimpleModel, StringUtil, TimeUtil, Timer, TreeIterator, TreeNode, TreeNodePlugin, TreeRoot, TreeRootPlugin, TreeUtil, UIManager, UIObjectRepo, UIPoolConfig, UISingleConfig, UIUtil, ViewDict, ViewEvent, ViewHistory, ViewList, ViewRepo, ViewState, WidgetAlign, WidgetUtil, XAssetManager, XEvent, arrayutil, assetx, bitutil, camerautil, canvasutil, convertutil, ctrlrepo, docutil, errorutil, eventmgr, eventutil, floatutil, formatutil, geoutil, identutil, loadAtlas, logmgr, maputil, mathutil, netutil, parseAtlas, parsePlist, pathutil, randutil, resutil, scaleutil, stringutil, timer, timeutil, treeutil, uimgr, uirepo, uiutil, viewhistorys, viewrepo, widgetutil };
|
|
6395
6392
|
//# sourceMappingURL=index.esm.js.map
|