@next-core/brick-kit 2.202.0 → 2.203.0
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.bundle.js +47 -31
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +47 -31
- package/dist/index.esm.js.map +1 -1
- package/dist/types/core/StoryboardFunctionRegistryFactory.d.ts +3 -2
- package/dist/types/core/StoryboardFunctionRegistryFactory.d.ts.map +1 -1
- package/dist/types/internal/getGeneralGlobals.d.ts +1 -1
- package/dist/types/internal/getGeneralGlobals.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MicroApp, SimpleFunction, StoryboardFunction } from "@next-core/brick-types";
|
|
1
|
+
import { MicroApp, SimpleFunction, StoryboardFunction, type TransformedFunction } from "@next-core/brick-types";
|
|
2
2
|
import { EstreeNode } from "@next-core/brick-utils";
|
|
3
3
|
/** @internal */
|
|
4
4
|
export declare type ReadonlyStoryboardFunctions = Readonly<Record<string, SimpleFunction>>;
|
|
5
5
|
/** @internal */
|
|
6
|
-
export declare type StoryboardFunctionPatch = Pick<StoryboardFunction, "source" | "typescript">;
|
|
6
|
+
export declare type StoryboardFunctionPatch = Pick<StoryboardFunction, "source" | "typescript" | "transformed">;
|
|
7
7
|
/** @internal */
|
|
8
8
|
export interface StoryboardFunctionRegistry {
|
|
9
9
|
/** A readonly proxy for accessing cooked storyboard functions. */
|
|
@@ -19,6 +19,7 @@ export interface RuntimeStoryboardFunction {
|
|
|
19
19
|
typescript?: boolean;
|
|
20
20
|
processed?: boolean;
|
|
21
21
|
cooked?: SimpleFunction;
|
|
22
|
+
transformed?: TransformedFunction;
|
|
22
23
|
}
|
|
23
24
|
/** @internal */
|
|
24
25
|
export interface FunctionCoverageCollector {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryboardFunctionRegistryFactory.d.ts","sourceRoot":"","sources":["../../../src/core/StoryboardFunctionRegistryFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,kBAAkB,
|
|
1
|
+
{"version":3,"file":"StoryboardFunctionRegistryFactory.d.ts","sourceRoot":"","sources":["../../../src/core/StoryboardFunctionRegistryFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,KAAK,mBAAmB,EACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,UAAU,EAEX,MAAM,wBAAwB,CAAC;AAIhC,gBAAgB;AAChB,oBAAY,2BAA2B,GAAG,QAAQ,CAChD,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAC/B,CAAC;AAEF,gBAAgB;AAChB,oBAAY,uBAAuB,GAAG,IAAI,CACxC,kBAAkB,EAClB,QAAQ,GAAG,YAAY,GAAG,aAAa,CACxC,CAAC;AAEF,gBAAgB;AAChB,MAAM,WAAW,0BAA0B;IACzC,kEAAkE;IAClE,mBAAmB,EAAE,2BAA2B,CAAC;IAEjD,qCAAqC;IACrC,2BAA2B,CACzB,SAAS,EAAE,kBAAkB,EAAE,EAC/B,GAAG,CAAC,EAAE,eAAe,GACpB,IAAI,CAAC;IAER,qDAAqD;IACrD,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,IAAI,CAAC;CAC7E;AAED,gBAAgB;AAChB,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACnC;AAED,gBAAgB;AAChB,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,cAAc,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC,UAAU,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,YAAY,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACtD;AAED,gBAAgB;AAChB,MAAM,WAAW,wBAAwB;IACvC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB,CAAC;CAC1D;AAED,gBAAgB;AAChB,oBAAY,eAAe,GAAG,IAAI,CAChC,QAAQ,EACR,IAAI,GAAG,aAAa,GAAG,gBAAgB,GAAG,QAAQ,CACnD,CAAC;AAMF,gBAAgB;AAChB,wBAAgB,iCAAiC,CAAC,EAChD,QAAQ,EACR,aAAa,EACb,eAAe,GAChB,GAAE;IACD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,wBAAwB,CAAC;CACvC,GAAG,0BAA0B,CAoIlC"}
|
|
@@ -9,5 +9,5 @@ export interface GeneralGlobalsOptions {
|
|
|
9
9
|
isStoryboardFunction?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare type PartialMicroApp = Pick<MicroApp, "id" | "isBuildPush" | "currentVersion">;
|
|
12
|
-
export declare function getGeneralGlobals(attemptToVisitGlobals: Set<string
|
|
12
|
+
export declare function getGeneralGlobals(attemptToVisitGlobals: Set<string> | string[], options: GeneralGlobalsOptions): Record<string, unknown>;
|
|
13
13
|
//# sourceMappingURL=getGeneralGlobals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGeneralGlobals.d.ts","sourceRoot":"","sources":["../../../src/internal/getGeneralGlobals.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAUvD,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,oBAAY,eAAe,GAAG,IAAI,CAChC,QAAQ,EACR,IAAI,GAAG,aAAa,GAAG,gBAAgB,CACxC,CAAC;AAIF,wBAAgB,iBAAiB,CAC/B,qBAAqB,EAAE,GAAG,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"getGeneralGlobals.d.ts","sourceRoot":"","sources":["../../../src/internal/getGeneralGlobals.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAUvD,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,oBAAY,eAAe,GAAG,IAAI,CAChC,QAAQ,EACR,IAAI,GAAG,aAAa,GAAG,gBAAgB,CACxC,CAAC;AAIF,wBAAgB,iBAAiB,CAC/B,qBAAqB,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,EAC7C,OAAO,EAAE,qBAAqB,GAC7B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CASzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-kit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.203.0",
|
|
4
4
|
"description": "Kernel",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-kit",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test:ci": "cross-env NODE_ENV='test' CI=true jest --passWithNoTests"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@next-core/brick-types": "^2.
|
|
34
|
+
"@next-core/brick-types": "^2.99.0",
|
|
35
35
|
"@next-core/color-theme": "^0.4.8",
|
|
36
|
-
"@next-core/supply": "^1.
|
|
36
|
+
"@next-core/supply": "^1.3.0",
|
|
37
37
|
"@next-sdk/api-gateway-sdk": "^2.11.0",
|
|
38
38
|
"@next-sdk/auth-sdk": "^1.0.0",
|
|
39
39
|
"@next-sdk/cmdb-sdk": "^2.1.1",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@ant-design/icons": "^4.5.0",
|
|
51
51
|
"@next-core/brick-http": "^2.8.2",
|
|
52
|
-
"@next-core/brick-utils": "^2.52.
|
|
52
|
+
"@next-core/brick-utils": "^2.52.11",
|
|
53
53
|
"@next-core/easyops-analytics": "^0.12.1",
|
|
54
|
-
"@next-core/illustrations": "^0.11.
|
|
55
|
-
"@next-core/loader": "^1.6.
|
|
54
|
+
"@next-core/illustrations": "^0.11.35",
|
|
55
|
+
"@next-core/loader": "^1.6.11",
|
|
56
56
|
"@next-core/pipes": "^1.0.20",
|
|
57
57
|
"@next-core/rollup-config-factory": "^2.8.0",
|
|
58
58
|
"antd": "~4.12.3",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"react-dom": "*",
|
|
86
86
|
"react-i18next": "*"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "35b101192efb031568c61773bde890f140d03c00"
|
|
89
89
|
}
|