compa-ui 0.0.6 → 0.0.7
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.esm.js +9 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13232,7 +13232,8 @@ var ModuleLoader = function ModuleLoader(_ref) {
|
|
|
13232
13232
|
baseUrl = _ref.baseUrl,
|
|
13233
13233
|
auth = _ref.auth,
|
|
13234
13234
|
config = _ref.config,
|
|
13235
|
-
basePath = _ref.basePath
|
|
13235
|
+
basePath = _ref.basePath,
|
|
13236
|
+
onNavigate = _ref.onNavigate;
|
|
13236
13237
|
var _useState = React.useState(null),
|
|
13237
13238
|
_useState2 = _slicedToArray$1(_useState, 2),
|
|
13238
13239
|
Component = _useState2[0],
|
|
@@ -13347,7 +13348,8 @@ var ModuleLoader = function ModuleLoader(_ref) {
|
|
|
13347
13348
|
return /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
13348
13349
|
baseUrl: baseUrl,
|
|
13349
13350
|
auth: auth,
|
|
13350
|
-
config: config
|
|
13351
|
+
config: config,
|
|
13352
|
+
onNavigate: onNavigate
|
|
13351
13353
|
});
|
|
13352
13354
|
};
|
|
13353
13355
|
var Page = function Page(_ref3) {
|
|
@@ -13355,7 +13357,8 @@ var Page = function Page(_ref3) {
|
|
|
13355
13357
|
auth = _ref3.auth,
|
|
13356
13358
|
config = _ref3.config,
|
|
13357
13359
|
componentsData = _ref3.componentsData,
|
|
13358
|
-
basePath = _ref3.basePath
|
|
13360
|
+
basePath = _ref3.basePath,
|
|
13361
|
+
onNavigate = _ref3.onNavigate;
|
|
13359
13362
|
var setIsLoading = auth.setIsLoading,
|
|
13360
13363
|
setIsLoadingMessage = auth.setIsLoadingMessage,
|
|
13361
13364
|
t = auth.t;
|
|
@@ -13441,7 +13444,8 @@ var Page = function Page(_ref3) {
|
|
|
13441
13444
|
baseUrl: baseUrl,
|
|
13442
13445
|
auth: auth,
|
|
13443
13446
|
config: config,
|
|
13444
|
-
basePath: basePath
|
|
13447
|
+
basePath: basePath,
|
|
13448
|
+
onNavigate: onNavigate
|
|
13445
13449
|
});
|
|
13446
13450
|
};
|
|
13447
13451
|
ModuleLoader.propTypes = {
|
|
@@ -14423,6 +14427,7 @@ function Home(_ref) {
|
|
|
14423
14427
|
hidden: (currentOpenTab === null || currentOpenTab === void 0 ? void 0 : currentOpenTab.index) !== tab.index,
|
|
14424
14428
|
children: /*#__PURE__*/jsxRuntime.jsx(Page, {
|
|
14425
14429
|
config: config,
|
|
14430
|
+
onNavigate: onNavigate,
|
|
14426
14431
|
basePath: basePath || "/",
|
|
14427
14432
|
auth: _objectSpread(_objectSpread({}, auth), {}, {
|
|
14428
14433
|
t: t,
|