sample-piral 1.6.0-beta.7144 → 1.6.0-beta.7174
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/app/index.d.ts
CHANGED
|
@@ -657,7 +657,7 @@ export interface BaseExtensionSlotProps<TName, TParams> {
|
|
|
657
657
|
* Defines what should be rendered when no components are available
|
|
658
658
|
* for the specified extension.
|
|
659
659
|
*/
|
|
660
|
-
empty?(): React.ReactNode;
|
|
660
|
+
empty?(props: TParams): React.ReactNode;
|
|
661
661
|
/**
|
|
662
662
|
* Determines if the `render` function should be called in case no
|
|
663
663
|
* components are available for the specified extension.
|
|
@@ -932,7 +932,7 @@ function ExtensionSlot(props) {
|
|
|
932
932
|
return s.registry.extensions[name] || _utils__WEBPACK_IMPORTED_MODULE_3__.none;
|
|
933
933
|
});
|
|
934
934
|
var isEmpty = extensions.length === 0 && (0,piral_base__WEBPACK_IMPORTED_MODULE_4__.isfunc)(empty);
|
|
935
|
-
var content = isEmpty ? [(0,_utils__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(empty(), 'empty')] : order(extensions).map(function (_ref, i) {
|
|
935
|
+
var content = isEmpty ? [(0,_utils__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(empty(params), 'empty')] : order(extensions).map(function (_ref, i) {
|
|
936
936
|
var Component = _ref.component,
|
|
937
937
|
reference = _ref.reference,
|
|
938
938
|
_ref$defaults = _ref.defaults,
|
|
@@ -6616,12 +6616,12 @@ function installPiralDebug(options) {
|
|
|
6616
6616
|
debug: debugApiVersion,
|
|
6617
6617
|
instance: {
|
|
6618
6618
|
name: "sample-piral",
|
|
6619
|
-
version: "1.6.0-beta.
|
|
6619
|
+
version: "1.6.0-beta.7174",
|
|
6620
6620
|
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
|
|
6621
6621
|
},
|
|
6622
6622
|
build: {
|
|
6623
|
-
date: "2024-06-
|
|
6624
|
-
cli: "1.6.0-beta.
|
|
6623
|
+
date: "2024-06-10T06:54:59.345Z",
|
|
6624
|
+
cli: "1.6.0-beta.7174",
|
|
6625
6625
|
compat: "1"
|
|
6626
6626
|
}
|
|
6627
6627
|
};
|
|
@@ -66681,4 +66681,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral
|
|
|
66681
66681
|
|
|
66682
66682
|
/******/ })()
|
|
66683
66683
|
;
|
|
66684
|
-
//# sourceMappingURL=index.
|
|
66684
|
+
//# sourceMappingURL=index.dab088.js.map
|