@viewfly/core 0.0.19 → 0.0.21
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/bundles/di/_api.d.ts +10 -0
- package/bundles/di/forward-ref.d.ts +10 -0
- package/bundles/di/injectable.d.ts +20 -0
- package/bundles/di/injection-token.d.ts +8 -0
- package/bundles/di/injector.d.ts +22 -0
- package/bundles/di/metadata.d.ts +43 -0
- package/bundles/di/null-injector.d.ts +6 -0
- package/bundles/di/provider.d.ts +30 -0
- package/bundles/di/reflective-injector.d.ts +32 -0
- package/bundles/di/reflective-provider.d.ts +20 -0
- package/bundles/di/type.d.ts +7 -0
- package/bundles/di/utils/_api.d.ts +3 -0
- package/bundles/di/utils/annotations.d.ts +33 -0
- package/bundles/di/utils/decorators.d.ts +17 -0
- package/bundles/di/utils/stringify.d.ts +1 -0
- package/bundles/foundation/_api.d.ts +5 -0
- package/bundles/foundation/_utils.d.ts +4 -0
- package/bundles/{model → foundation}/component.d.ts +1 -1
- package/bundles/{model → foundation}/jsx-element.d.ts +1 -4
- package/bundles/foundation/renderer.d.ts +1 -1
- package/bundles/{model → foundation}/root.component.d.ts +3 -3
- package/bundles/{model → foundation}/types.d.ts +2 -1
- package/bundles/index.esm.js +588 -42
- package/bundles/index.js +611 -54
- package/bundles/public-api.d.ts +1 -2
- package/bundles/viewfly.d.ts +4 -4
- package/package.json +2 -4
- package/bundles/model/_api.d.ts +0 -5
- package/jsx-runtime/node_modules/.bin/rimraf +0 -17
- package/jsx-runtime/node_modules/.bin/rollup +0 -17
- /package/bundles/{model → foundation}/memo.d.ts +0 -0
package/bundles/public-api.d.ts
CHANGED
package/bundles/viewfly.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Injector, Provider, ReflectiveInjector } from '
|
|
2
|
-
import { NativeNode } from './foundation/_api';
|
|
3
|
-
import { JSXInternal } from './model/_api';
|
|
1
|
+
import { Injector, Provider, ReflectiveInjector } from './di/_api';
|
|
2
|
+
import { JSXInternal, NativeNode } from './foundation/_api';
|
|
4
3
|
/**
|
|
5
4
|
* Viewfly 配置项
|
|
6
5
|
*/
|
|
@@ -19,7 +18,7 @@ export declare class Viewfly<T extends NativeNode = NativeNode> extends Reflecti
|
|
|
19
18
|
private config;
|
|
20
19
|
private destroyed;
|
|
21
20
|
private rootComponent;
|
|
22
|
-
private
|
|
21
|
+
private task;
|
|
23
22
|
constructor(config: Config);
|
|
24
23
|
provide(providers: Provider | Provider[]): this;
|
|
25
24
|
/**
|
|
@@ -33,4 +32,5 @@ export declare class Viewfly<T extends NativeNode = NativeNode> extends Reflecti
|
|
|
33
32
|
*/
|
|
34
33
|
destroy(): void;
|
|
35
34
|
private createRootComponent;
|
|
35
|
+
private microTask;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
|
|
5
5
|
"main": "./bundles/index.js",
|
|
6
6
|
"module": "./bundles/index.esm.js",
|
|
@@ -29,8 +29,6 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"keywords": [],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tanbo/di": "^1.1.8",
|
|
33
|
-
"@tanbo/stream": "^1.2.3",
|
|
34
32
|
"reflect-metadata": "^0.1.13"
|
|
35
33
|
},
|
|
36
34
|
"devDependencies": {
|
|
@@ -51,5 +49,5 @@
|
|
|
51
49
|
"bugs": {
|
|
52
50
|
"url": "https://github.com/viewfly/viewfly.git/issues"
|
|
53
51
|
},
|
|
54
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "3b8f0f450c9edeac153dfc27e9a0e53e525915df"
|
|
55
53
|
}
|
package/bundles/model/_api.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
-
esac
|
|
7
|
-
|
|
8
|
-
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
|
|
10
|
-
else
|
|
11
|
-
export NODE_PATH="$NODE_PATH:/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
|
|
12
|
-
fi
|
|
13
|
-
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/bin.js" "$@"
|
|
15
|
-
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/bin.js" "$@"
|
|
17
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
-
esac
|
|
7
|
-
|
|
8
|
-
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
|
|
10
|
-
else
|
|
11
|
-
export NODE_PATH="$NODE_PATH:/Users/tanbo/Documents/lib/viewfly/node_modules/.pnpm/node_modules"
|
|
12
|
-
fi
|
|
13
|
-
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/rollup@3.26.3/node_modules/rollup/dist/bin/rollup" "$@"
|
|
15
|
-
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/rollup@3.26.3/node_modules/rollup/dist/bin/rollup" "$@"
|
|
17
|
-
fi
|
|
File without changes
|