@zhongguo168a/yxeditor-common 0.0.65 → 0.0.67

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 CHANGED
@@ -1010,21 +1010,14 @@ declare class Route {
1010
1010
  declare class RouteList extends List<Route> {
1011
1011
  }
1012
1012
 
1013
- declare class MapObject extends Dictionary<string, MapValue> {
1014
- object: {};
1015
- constructor(object: {});
1016
- getValue(key: string): MapValue;
1017
- }
1018
- declare class MapValue {
1019
- obj: {};
1020
- key: any;
1021
- constructor(obj: {}, key: any);
1022
- set(value: any): void;
1023
- isUndefined(): boolean;
1024
- toNumber(): number;
1025
- toString(): string;
1026
- toBoolean(): boolean;
1027
- toAny(): any;
1013
+ declare class MapObject extends Object {
1014
+ set(key: string, val: any): void;
1015
+ delete(key: string): void;
1016
+ isUndefined(key: string): boolean;
1017
+ getNumber(key: string): number;
1018
+ getString(key: string): string;
1019
+ getBoolean(key: string): boolean;
1020
+ get(key: string): any;
1028
1021
  }
1029
1022
  declare class MapUtil {
1030
1023
  /**
@@ -1310,10 +1303,10 @@ declare class ViewRepo extends ViewDict {
1310
1303
  listByRoutePath(path: string): ViewList;
1311
1304
  listByTags(tags: string[]): ViewList;
1312
1305
  /**
1313
- *
1314
- * @param target 往上追踪,返回第一个包含 RouteComponent 的节点, 返回节点中的 RouteView
1306
+ * 往上追踪,返回第一个包含 RouteComponent 的节点, 返回节点中的 RouteView
1307
+ * @param node
1315
1308
  */
1316
- tailRouteView(node: Node): RouteView;
1309
+ tailNode(node: Node): RouteView;
1317
1310
  protected getController(name: string): RouteController;
1318
1311
  protected _indexLayer: {};
1319
1312
  protected _indexRoute: {};
@@ -2073,5 +2066,5 @@ declare class WidgetUtil {
2073
2066
  }
2074
2067
  declare var widgetutil: WidgetUtil;
2075
2068
 
2076
- 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, MapObject, MapUtil, MapValue, 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 };
2069
+ 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, MapObject, 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 };
2077
2070
  export type { CreatorFunction, DisposeFunction, IController, IError, IEventDispatcher, IExtend, IListItem, IModel, IModule, ITreeListItem, RecycleFunction };