@bigbinary/neeto-themes-frontend 4.2.9 → 4.2.11-beta1
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/javascript/src/translations/ar.json +0 -1
- package/app/javascript/src/translations/bg.json +0 -1
- package/app/javascript/src/translations/ca.json +0 -1
- package/app/javascript/src/translations/cs.json +0 -1
- package/app/javascript/src/translations/da.json +0 -1
- package/app/javascript/src/translations/de.json +0 -1
- package/app/javascript/src/translations/en.json +0 -1
- package/app/javascript/src/translations/es-MX.json +0 -1
- package/app/javascript/src/translations/es.json +0 -1
- package/app/javascript/src/translations/et.json +0 -1
- package/app/javascript/src/translations/fi.json +0 -1
- package/app/javascript/src/translations/fil.json +0 -1
- package/app/javascript/src/translations/fr.json +0 -1
- package/app/javascript/src/translations/he.json +0 -1
- package/app/javascript/src/translations/hi.json +0 -1
- package/app/javascript/src/translations/hr.json +0 -1
- package/app/javascript/src/translations/hu.json +0 -1
- package/app/javascript/src/translations/id.json +0 -1
- package/app/javascript/src/translations/it.json +0 -1
- package/app/javascript/src/translations/ja.json +0 -1
- package/app/javascript/src/translations/ko.json +0 -1
- package/app/javascript/src/translations/lv.json +0 -1
- package/app/javascript/src/translations/nl.json +0 -1
- package/app/javascript/src/translations/pl.json +0 -1
- package/app/javascript/src/translations/pt-BR.json +0 -1
- package/app/javascript/src/translations/pt.json +0 -1
- package/app/javascript/src/translations/ro.json +0 -1
- package/app/javascript/src/translations/ru.json +0 -1
- package/app/javascript/src/translations/sk.json +0 -1
- package/app/javascript/src/translations/sl.json +0 -1
- package/app/javascript/src/translations/sv.json +0 -1
- package/app/javascript/src/translations/th.json +0 -1
- package/app/javascript/src/translations/tr.json +0 -1
- package/app/javascript/src/translations/uk.json +0 -1
- package/app/javascript/src/translations/vi.json +0 -1
- package/app/javascript/src/translations/zh-CN.json +0 -1
- package/app/javascript/src/translations/zh-TW.json +0 -1
- package/dist/.ready +1 -1
- package/dist/NeetoThemesBuilder.js +43 -46
- package/dist/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/NeetoThemesBuilder.js +42 -45
- package/dist/cjs/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/hooks.js +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/v2/NeetoThemesBuilder.js +42 -45
- package/dist/cjs/v2/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/v2/hooks.js +1 -1
- package/dist/cjs/v2/index.js +2 -2
- package/dist/hooks.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{useExpandedSection-BTBI4UqP.js → useExpandedSection-D0PusQFE.js} +7 -7
- package/dist/{useExpandedSection-BTBI4UqP.js.map → useExpandedSection-D0PusQFE.js.map} +1 -1
- package/dist/{useExpandedSection-MjgB7rh6.js → useExpandedSection-Dpv_-kLy.js} +8 -8
- package/dist/{useExpandedSection-MjgB7rh6.js.map → useExpandedSection-Dpv_-kLy.js.map} +1 -1
- package/dist/{useGlobalThemesApi-DjZDCCZE.js → useGlobalThemesApi-Bumd-UCH.js} +4 -40
- package/dist/{useGlobalThemesApi-DjZDCCZE.js.map → useGlobalThemesApi-Bumd-UCH.js.map} +1 -1
- package/dist/{useGlobalThemesApi-BdrPI8PW.js → useGlobalThemesApi-efNiy6YY.js} +5 -41
- package/dist/{useGlobalThemesApi-BdrPI8PW.js.map → useGlobalThemesApi-efNiy6YY.js.map} +1 -1
- package/dist/v2/NeetoThemesBuilder.js +43 -46
- package/dist/v2/NeetoThemesBuilder.js.map +1 -1
- package/dist/v2/hooks.js +1 -1
- package/dist/v2/index.js +2 -2
- package/package.json +11 -11
package/dist/cjs/hooks.js
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var NeetoThemesBuilder = require('./NeetoThemesBuilder.js');
|
|
4
|
-
var useExpandedSection = require('../useExpandedSection-
|
|
5
|
-
var useGlobalThemesApi = require('../useGlobalThemesApi-
|
|
4
|
+
var useExpandedSection = require('../useExpandedSection-D0PusQFE.js');
|
|
5
|
+
var useGlobalThemesApi = require('../useGlobalThemesApi-Bumd-UCH.js');
|
|
6
6
|
var utils = require('../index-CZdpMMBb.js');
|
|
7
7
|
require('zustand/shallow');
|
|
8
8
|
require('react');
|
|
@@ -6,8 +6,8 @@ var neetoAtoms = require('@bigbinary/neeto-atoms');
|
|
|
6
6
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
7
7
|
var reactUtils$1 = require('@bigbinary/neeto-commons-frontend/v2/react-utils');
|
|
8
8
|
var reactI18next = require('react-i18next');
|
|
9
|
-
var useGlobalThemesApi = require('../../useGlobalThemesApi-
|
|
10
|
-
var useExpandedSection = require('../../useExpandedSection-
|
|
9
|
+
var useGlobalThemesApi = require('../../useGlobalThemesApi-Bumd-UCH.js');
|
|
10
|
+
var useExpandedSection = require('../../useExpandedSection-D0PusQFE.js');
|
|
11
11
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
12
12
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
13
13
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
@@ -425,12 +425,12 @@ var CustomCSS = function CustomCSS(_ref) {
|
|
|
425
425
|
var _useFormikContext = formik.useFormikContext(),
|
|
426
426
|
values = _useFormikContext.values,
|
|
427
427
|
setFieldValue = _useFormikContext.setFieldValue;
|
|
428
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
428
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
429
429
|
return {
|
|
430
430
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
431
431
|
helpPopoverProps: store["helpPopoverProps"]
|
|
432
432
|
};
|
|
433
|
-
}
|
|
433
|
+
})),
|
|
434
434
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
435
435
|
helpPopoverProps = _useConfigStore.helpPopoverProps;
|
|
436
436
|
var _helpPopoverProps$cus = helpPopoverProps.customCss,
|
|
@@ -1022,17 +1022,17 @@ var Properties = function Properties(_ref) {
|
|
|
1022
1022
|
var onPropertiesChange = _ref.onPropertiesChange,
|
|
1023
1023
|
condition = _ref.condition,
|
|
1024
1024
|
themeId = _ref.themeId;
|
|
1025
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1025
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1026
1026
|
return {
|
|
1027
1027
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1028
1028
|
};
|
|
1029
|
-
}
|
|
1029
|
+
})),
|
|
1030
1030
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema;
|
|
1031
|
-
var _useThemeStore = useExpandedSection.useThemeStore(function (store) {
|
|
1031
|
+
var _useThemeStore = useExpandedSection.useThemeStore(shallow.useShallow(function (store) {
|
|
1032
1032
|
return {
|
|
1033
1033
|
setThemeState: store["setThemeState"]
|
|
1034
1034
|
};
|
|
1035
|
-
}
|
|
1035
|
+
})),
|
|
1036
1036
|
setThemeState = _useThemeStore.setThemeState;
|
|
1037
1037
|
var _useFormikContext = formik.useFormikContext(),
|
|
1038
1038
|
setFieldValue = _useFormikContext.setFieldValue,
|
|
@@ -1261,11 +1261,11 @@ var ImageBlock = function ImageBlock(_ref) {
|
|
|
1261
1261
|
var _useFormikContext = formik.useFormikContext(),
|
|
1262
1262
|
setFieldValue = _useFormikContext.setFieldValue,
|
|
1263
1263
|
values = _useFormikContext.values;
|
|
1264
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1264
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1265
1265
|
return {
|
|
1266
1266
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1267
1267
|
};
|
|
1268
|
-
}
|
|
1268
|
+
})),
|
|
1269
1269
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema;
|
|
1270
1270
|
var propertySchema = neetoCist.findBy({
|
|
1271
1271
|
key: attribute
|
|
@@ -1370,12 +1370,12 @@ var Images = function Images(_ref) {
|
|
|
1370
1370
|
fixedAspectRatio = _ref.fixedAspectRatio;
|
|
1371
1371
|
var _useFormikContext = formik.useFormikContext(),
|
|
1372
1372
|
values = _useFormikContext.values;
|
|
1373
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1373
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1374
1374
|
return {
|
|
1375
1375
|
helpPopoverProps: store["helpPopoverProps"],
|
|
1376
1376
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1377
1377
|
};
|
|
1378
|
-
}
|
|
1378
|
+
})),
|
|
1379
1379
|
helpPopoverProps = _useConfigStore.helpPopoverProps,
|
|
1380
1380
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema;
|
|
1381
1381
|
var key = neetoCist.snakeToCamelCase(attribute);
|
|
@@ -1407,11 +1407,11 @@ var ThemeMeta = function ThemeMeta(_ref) {
|
|
|
1407
1407
|
var className = _ref.className;
|
|
1408
1408
|
var _useTranslation = reactI18next.useTranslation(),
|
|
1409
1409
|
t = _useTranslation.t;
|
|
1410
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1410
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1411
1411
|
return {
|
|
1412
1412
|
helpPopoverProps: store["helpPopoverProps"]
|
|
1413
1413
|
};
|
|
1414
|
-
}
|
|
1414
|
+
})),
|
|
1415
1415
|
helpPopoverProps = _useConfigStore.helpPopoverProps;
|
|
1416
1416
|
var _helpPopoverProps$nam = helpPopoverProps.name,
|
|
1417
1417
|
nameHelpPopoverProps = _helpPopoverProps$nam === void 0 ? {} : _helpPopoverProps$nam;
|
|
@@ -1452,7 +1452,7 @@ var Customize = function Customize(_ref) {
|
|
|
1452
1452
|
_useState2 = _slicedToArray(_useState, 2),
|
|
1453
1453
|
isNotAppliedPopoverOpen = _useState2[0],
|
|
1454
1454
|
setIsNotAppliedPopoverOpen = _useState2[1];
|
|
1455
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1455
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1456
1456
|
return {
|
|
1457
1457
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
1458
1458
|
entityId: store["entityId"],
|
|
@@ -1462,7 +1462,7 @@ var Customize = function Customize(_ref) {
|
|
|
1462
1462
|
enabledFeatures: store["enabledFeatures"],
|
|
1463
1463
|
proFeatures: store["proFeatures"]
|
|
1464
1464
|
};
|
|
1465
|
-
}
|
|
1465
|
+
})),
|
|
1466
1466
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
1467
1467
|
entityId = _useConfigStore.entityId,
|
|
1468
1468
|
entityType = _useConfigStore.entityType,
|
|
@@ -1475,12 +1475,12 @@ var Customize = function Customize(_ref) {
|
|
|
1475
1475
|
var _useQueryParams = reactUtils$1.useQueryParams(),
|
|
1476
1476
|
sourceThemeId = _useQueryParams.source;
|
|
1477
1477
|
var isCustomizingSystemTheme = !themeId && neetoCist.isPresent(sourceThemeId);
|
|
1478
|
-
var _useThemeStore = useExpandedSection.useThemeStore(function (store) {
|
|
1478
|
+
var _useThemeStore = useExpandedSection.useThemeStore(shallow.useShallow(function (store) {
|
|
1479
1479
|
return {
|
|
1480
1480
|
currentTheme: store["currentTheme"],
|
|
1481
1481
|
setThemeState: store["setThemeState"]
|
|
1482
1482
|
};
|
|
1483
|
-
}
|
|
1483
|
+
})),
|
|
1484
1484
|
currentTheme = _useThemeStore.currentTheme,
|
|
1485
1485
|
setThemeState = _useThemeStore.setThemeState;
|
|
1486
1486
|
var _useShowGlobalTheme = useGlobalThemesApi.useShowGlobalTheme(entityType),
|
|
@@ -1805,11 +1805,11 @@ var Thumbnail = function Thumbnail(_ref) {
|
|
|
1805
1805
|
isPreviewing = _ref.isPreviewing,
|
|
1806
1806
|
isHighLightedTheme = _ref.isHighLightedTheme,
|
|
1807
1807
|
theme = _ref.theme;
|
|
1808
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1808
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1809
1809
|
return {
|
|
1810
1810
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1811
1811
|
};
|
|
1812
|
-
}
|
|
1812
|
+
})),
|
|
1813
1813
|
_useConfigStore$theme = _useConfigStore.themePropertiesSchema,
|
|
1814
1814
|
themePropertiesSchema = _useConfigStore$theme === void 0 ? [] : _useConfigStore$theme;
|
|
1815
1815
|
var _themePropertiesSchem = _slicedToArray(themePropertiesSchema, 2),
|
|
@@ -1893,13 +1893,13 @@ var Card = function Card(_ref) {
|
|
|
1893
1893
|
Thumbnail$1 = _ref.thumbnail;
|
|
1894
1894
|
var _useTranslation = reactI18next.useTranslation(),
|
|
1895
1895
|
t = _useTranslation.t;
|
|
1896
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
1896
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
1897
1897
|
return {
|
|
1898
1898
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
1899
1899
|
enabledFeatures: store["enabledFeatures"],
|
|
1900
1900
|
proFeatures: store["proFeatures"]
|
|
1901
1901
|
};
|
|
1902
|
-
}
|
|
1902
|
+
})),
|
|
1903
1903
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
1904
1904
|
enabledFeatures = _useConfigStore.enabledFeatures,
|
|
1905
1905
|
proFeatures = _useConfigStore.proFeatures;
|
|
@@ -2102,19 +2102,19 @@ var Themes = function Themes(_ref) {
|
|
|
2102
2102
|
t = _useTranslation.t;
|
|
2103
2103
|
var _useThemeUtils = useExpandedSection.useThemeUtils(),
|
|
2104
2104
|
setTheme = _useThemeUtils.setTheme;
|
|
2105
|
-
var _useThemeStore = useExpandedSection.useThemeStore(function (store) {
|
|
2105
|
+
var _useThemeStore = useExpandedSection.useThemeStore(shallow.useShallow(function (store) {
|
|
2106
2106
|
return {
|
|
2107
2107
|
setThemeState: store["setThemeState"],
|
|
2108
2108
|
previewingTheme: store["previewingTheme"]
|
|
2109
2109
|
};
|
|
2110
|
-
}
|
|
2110
|
+
})),
|
|
2111
2111
|
setThemeState = _useThemeStore.setThemeState,
|
|
2112
2112
|
previewingTheme = _useThemeStore.previewingTheme;
|
|
2113
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
2113
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
2114
2114
|
return {
|
|
2115
2115
|
entityType: store["entityType"]
|
|
2116
2116
|
};
|
|
2117
|
-
}
|
|
2117
|
+
})),
|
|
2118
2118
|
entityType = _useConfigStore.entityType;
|
|
2119
2119
|
var _useQueryParams = reactUtils$1.useQueryParams(),
|
|
2120
2120
|
_useQueryParams$searc = _useQueryParams.searchTerm,
|
|
@@ -2179,12 +2179,9 @@ var Themes = function Themes(_ref) {
|
|
|
2179
2179
|
onSetPreviewTheme: setPreviewTheme
|
|
2180
2180
|
})
|
|
2181
2181
|
});
|
|
2182
|
-
var systemThemesSection = neetoCist.isNotEmpty(filteredDefaultThemes) && /*#__PURE__*/jsxRuntime.
|
|
2183
|
-
className: "mb-6
|
|
2184
|
-
children:
|
|
2185
|
-
label: t("neetoThemes.build.leftSideBar.themes.systemThemes"),
|
|
2186
|
-
testId: "system-themes-heading"
|
|
2187
|
-
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2182
|
+
var systemThemesSection = neetoCist.isNotEmpty(filteredDefaultThemes) && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2183
|
+
className: "mb-6",
|
|
2184
|
+
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2188
2185
|
className: "flex flex-col gap-4 px-6 pb-10 lg:px-5 xl:px-6",
|
|
2189
2186
|
"data-testid": "system-themes",
|
|
2190
2187
|
children: filteredDefaultThemes.map(function (theme) {
|
|
@@ -2200,7 +2197,7 @@ var Themes = function Themes(_ref) {
|
|
|
2200
2197
|
onSetPreviewTheme: setPreviewTheme
|
|
2201
2198
|
});
|
|
2202
2199
|
})
|
|
2203
|
-
})
|
|
2200
|
+
})
|
|
2204
2201
|
});
|
|
2205
2202
|
var customThemesSection = neetoCist.isNotEmpty(filteredThemes) && /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
2206
2203
|
className: "mb-6 space-y-3",
|
|
@@ -2259,19 +2256,19 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
2259
2256
|
handleToggleSearch = _ref.handleToggleSearch;
|
|
2260
2257
|
var _useTranslation = reactI18next.useTranslation(),
|
|
2261
2258
|
t = _useTranslation.t;
|
|
2262
|
-
var _useThemeStore = useExpandedSection.useThemeStore(function (store) {
|
|
2259
|
+
var _useThemeStore = useExpandedSection.useThemeStore(shallow.useShallow(function (store) {
|
|
2263
2260
|
return {
|
|
2264
2261
|
previewingTheme: store["previewingTheme"]
|
|
2265
2262
|
};
|
|
2266
|
-
}
|
|
2263
|
+
})),
|
|
2267
2264
|
previewingTheme = _useThemeStore.previewingTheme;
|
|
2268
2265
|
var themeId = previewingTheme === null || previewingTheme === void 0 ? void 0 : previewingTheme.id;
|
|
2269
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
2266
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
2270
2267
|
return {
|
|
2271
2268
|
entityType: store["entityType"],
|
|
2272
2269
|
helpDocUrl: store["helpDocUrl"]
|
|
2273
2270
|
};
|
|
2274
|
-
}
|
|
2271
|
+
})),
|
|
2275
2272
|
entityType = _useConfigStore.entityType,
|
|
2276
2273
|
helpDocUrl = _useConfigStore.helpDocUrl;
|
|
2277
2274
|
var _useQueryParams = reactUtils$1.useQueryParams(),
|
|
@@ -2378,23 +2375,23 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2378
2375
|
react.useEffect(function () {
|
|
2379
2376
|
setIsThemesSidebarCollapsed(!isLargerScreen);
|
|
2380
2377
|
}, [isLargerScreen]);
|
|
2381
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
2378
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
2382
2379
|
return {
|
|
2383
2380
|
entityType: store["entityType"],
|
|
2384
2381
|
entityId: store["entityId"],
|
|
2385
2382
|
isFetchingSchema: store["isFetchingSchema"],
|
|
2386
2383
|
defaultThemeName: store["defaultThemeName"]
|
|
2387
2384
|
};
|
|
2388
|
-
}
|
|
2385
|
+
})),
|
|
2389
2386
|
entityType = _useConfigStore.entityType,
|
|
2390
2387
|
entityId = _useConfigStore.entityId,
|
|
2391
2388
|
isFetchingSchema = _useConfigStore.isFetchingSchema,
|
|
2392
2389
|
defaultThemeName = _useConfigStore.defaultThemeName;
|
|
2393
|
-
var _useThemeStore = useExpandedSection.useThemeStore(function (store) {
|
|
2390
|
+
var _useThemeStore = useExpandedSection.useThemeStore(shallow.useShallow(function (store) {
|
|
2394
2391
|
return {
|
|
2395
2392
|
setThemeState: store["setThemeState"]
|
|
2396
2393
|
};
|
|
2397
|
-
}
|
|
2394
|
+
})),
|
|
2398
2395
|
setThemeState = _useThemeStore.setThemeState;
|
|
2399
2396
|
var didScrollActiveThemeIntoView = react.useRef(null);
|
|
2400
2397
|
var _useTranslation = reactI18next.useTranslation(),
|
|
@@ -2675,19 +2672,19 @@ var NeetoThemesBuilder = function NeetoThemesBuilder(_ref) {
|
|
|
2675
2672
|
_ref$proFeatures = _ref.proFeatures,
|
|
2676
2673
|
proFeatures = _ref$proFeatures === void 0 ? {} : _ref$proFeatures;
|
|
2677
2674
|
react.useMemo(useGlobalThemesApi.registerNeetoThemesTranslations, []);
|
|
2678
|
-
var _useThemeStore = useExpandedSection.useThemeStore(function (store) {
|
|
2675
|
+
var _useThemeStore = useExpandedSection.useThemeStore(shallow.useShallow(function (store) {
|
|
2679
2676
|
return {
|
|
2680
2677
|
setThemeState: store["setThemeState"]
|
|
2681
2678
|
};
|
|
2682
|
-
}
|
|
2679
|
+
})),
|
|
2683
2680
|
setThemeState = _useThemeStore.setThemeState;
|
|
2684
2681
|
var _useThemeUtils = useExpandedSection.useThemeUtils(),
|
|
2685
2682
|
setTheme = _useThemeUtils.setTheme;
|
|
2686
|
-
var _useConfigStore = useExpandedSection.useConfigStore(function (store) {
|
|
2683
|
+
var _useConfigStore = useExpandedSection.useConfigStore(shallow.useShallow(function (store) {
|
|
2687
2684
|
return {
|
|
2688
2685
|
setConfigState: store["setConfigState"]
|
|
2689
2686
|
};
|
|
2690
|
-
}
|
|
2687
|
+
})),
|
|
2691
2688
|
setConfigState = _useConfigStore.setConfigState;
|
|
2692
2689
|
var _useTranslation = reactI18next.useTranslation(),
|
|
2693
2690
|
t = _useTranslation.t;
|