@flashist/appframework 0.0.325 → 0.0.327
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.
|
@@ -2,7 +2,6 @@ import { FContainer } from "@flashist/flibs";
|
|
|
2
2
|
import { ILayoutableContainer } from "./ILayoutableContainer";
|
|
3
3
|
import { ILayoutableChild } from "./ILayoutableChild";
|
|
4
4
|
export declare class BaseLayoutableContainer<ChildType extends ILayoutableChild = ILayoutableChild, DataType extends any = any> extends FContainer<DataType> implements ILayoutableContainer<ChildType> {
|
|
5
|
-
layoutableChildren: ChildType[];
|
|
6
5
|
constructor(...args: any[]);
|
|
7
6
|
layoutGetChildrenNum(): number;
|
|
8
7
|
layoutGetChildAt(index: number): ChildType;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { FContainer } from "@flashist/flibs";
|
|
2
2
|
export class BaseLayoutableContainer extends FContainer {
|
|
3
|
+
// public layoutableChildren: ChildType[];
|
|
3
4
|
constructor(...args) {
|
|
4
5
|
super(...args);
|
|
6
|
+
// this.layoutableChildren = this.children as DisplayObjectContainer[];
|
|
5
7
|
}
|
|
6
8
|
layoutGetChildrenNum() {
|
|
7
|
-
return this.
|
|
9
|
+
return this.children.length;
|
|
8
10
|
}
|
|
9
11
|
layoutGetChildAt(index) {
|
|
10
|
-
return this.
|
|
12
|
+
return this.children[index];
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
//# sourceMappingURL=BaseLayoutableContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseLayoutableContainer.js","sourceRoot":"","sources":["../../../../../src/display/views/layout/container/BaseLayoutableContainer.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"BaseLayoutableContainer.js","sourceRoot":"","sources":["../../../../../src/display/views/layout/container/BaseLayoutableContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKrE,MAAM,OAAO,uBACT,SAAQ,UAAoB;IAG5B,0CAA0C;IAE1C,YAAY,GAAG,IAAW;QACtB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;QAEf,uEAAuE;IAC3E,CAAC;IAED,oBAAoB;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC;IAChC,CAAC;IAED,gBAAgB,CAAC,KAAa;QAC1B,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAc,CAAC;IAC7C,CAAC;CAEJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flashist/appframework",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.327",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "gulp",
|
|
6
6
|
"publish:patch": "npm version patch && npm run build && cd ./dist && npm publish",
|
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
"main": "index.js",
|
|
17
17
|
"typings": "index.d.ts",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@flashist/fconsole": "^0.0.
|
|
20
|
-
"@flashist/fcore": "^0.0.190",
|
|
21
|
-
"@flashist/flibs": "^0.0.385"
|
|
19
|
+
"@flashist/fconsole": "^0.0.101"
|
|
22
20
|
},
|
|
23
21
|
"devDependencies": {
|
|
24
22
|
"@flashist/fbuildscripts": "^0.0.67",
|