@next-core/brick-kit 2.201.0 → 2.202.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 +56 -11
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +67 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/types/core/CustomTemplates/expandCustomTemplate.d.ts +1 -0
- package/dist/types/core/CustomTemplates/expandCustomTemplate.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/replaceSlotWithSlottedBricks.d.ts +4 -0
- package/dist/types/core/CustomTemplates/replaceSlotWithSlottedBricks.d.ts.map +1 -0
- package/dist/types/core/CustomTemplates/setupTemplateProxy.d.ts +1 -1
- package/dist/types/core/CustomTemplates/setupTemplateProxy.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expandCustomTemplate.d.ts","sourceRoot":"","sources":["../../../../src/core/CustomTemplates/expandCustomTemplate.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"expandCustomTemplate.d.ts","sourceRoot":"","sources":["../../../../src/core/CustomTemplates/expandCustomTemplate.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EAIlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,SAAS,EACT,aAAa,EAGd,MAAM,sBAAsB,CAAC;AAS9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,MAAM,WAAW,YAAY;IAC3B,eAAe,EAAE,eAAe,CAAC;IACjC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,aAAa,EAAE,iBAAiB,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,YAAY,CAAC;IACzB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACxB;AAED,UAAU,eAAe;IACvB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;IACzC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAChC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;CACjD;AAED,UAAU,SAAU,SAAQ,uBAAuB;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,gBAAgB,EAC3B,UAAU,EAAE,YAAY,EACxB,OAAO,EAAE,oBAAoB,GAC5B,gBAAgB,CAgBlB;AAED,wBAAsB,yBAAyB,CAC7C,SAAS,EAAE,gBAAgB,EAC3B,UAAU,EAAE,YAAY,EACxB,OAAO,EAAE,oBAAoB,EAC7B,eAAe,CAAC,EAAE,eAAe,GAChC,OAAO,CAAC,gBAAgB,CAAC,CAyB3B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BrickConf, UseSingleBrickConf } from "@next-core/brick-types";
|
|
2
|
+
import type { ProxyContext } from "./expandCustomTemplate";
|
|
3
|
+
export declare function replaceSlotWithSlottedBricks<T extends BrickConf | UseSingleBrickConf>(brickConf: T, proxyContext: ProxyContext, expand: (item: T, proxyContext: ProxyContext) => T | T[]): T[];
|
|
4
|
+
//# sourceMappingURL=replaceSlotWithSlottedBricks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replaceSlotWithSlottedBricks.d.ts","sourceRoot":"","sources":["../../../../src/core/CustomTemplates/replaceSlotWithSlottedBricks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EAET,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,wBAAgB,4BAA4B,CAC1C,CAAC,SAAS,SAAS,GAAG,kBAAkB,EAExC,SAAS,EAAE,CAAC,EACZ,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,YAAY,KAAK,CAAC,GAAG,CAAC,EAAE,GACvD,CAAC,EAAE,CAyCL"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlotsConfOfBricks } from "@next-core/brick-types";
|
|
2
2
|
import type { ProxyContext } from "./expandCustomTemplate";
|
|
3
3
|
import { RuntimeBrickConfOfTplSymbols } from "./constants";
|
|
4
|
-
export declare function setupTemplateProxy(proxyContext: Partial<ProxyContext>, ref: string, slots: SlotsConfOfBricks): RuntimeBrickConfOfTplSymbols;
|
|
4
|
+
export declare function setupTemplateProxy(proxyContext: Partial<ProxyContext>, ref: string, slots: SlotsConfOfBricks, slotted?: boolean): RuntimeBrickConfOfTplSymbols;
|
|
5
5
|
//# sourceMappingURL=setupTemplateProxy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setupTemplateProxy.d.ts","sourceRoot":"","sources":["../../../../src/core/CustomTemplates/setupTemplateProxy.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EACL,4BAA4B,EAI7B,MAAM,aAAa,CAAC;AAGrB,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EACnC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"setupTemplateProxy.d.ts","sourceRoot":"","sources":["../../../../src/core/CustomTemplates/setupTemplateProxy.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EACL,4BAA4B,EAI7B,MAAM,aAAa,CAAC;AAGrB,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EACnC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,iBAAiB,EACxB,OAAO,CAAC,EAAE,OAAO,GAChB,4BAA4B,CA4H9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-kit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.202.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",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"react-dom": "*",
|
|
86
86
|
"react-i18next": "*"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "de846b942e899522614b11d85ecdddc5b3f62468"
|
|
89
89
|
}
|