@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/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-11-
|
|
1
|
+
Built at 2026-11-18T04:32:54.045Z
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useShallow } from 'zustand/shallow';
|
|
2
2
|
import { Suspense, lazy, useState, useEffect, createElement, useMemo, useRef, memo, useCallback } from 'react';
|
|
3
3
|
import { isPresent, hyphenate, findBy, findIndexBy, isNot, filterBy, snakeToCamelCase, isNotPresent, toLabelAndValue, capitalize, humanize, isNotEmpty, noop } from '@bigbinary/neeto-cist';
|
|
4
4
|
import { withT, useQueryParams, useBreakpoints, PageTitle } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -7,8 +7,8 @@ import { useTranslation, Trans } from 'react-i18next';
|
|
|
7
7
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
8
8
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
9
9
|
import Toastr from '@bigbinary/neetoui/Toastr';
|
|
10
|
-
import { n, u as useShowGlobalTheme, a as useFetchTheme, b as useListThemes, c as useCreateTheme, d as useUpdateTheme, e as useApplyTheme, f as routes, g as useShowThemeEntity, h as useDeleteTheme, r as registerNeetoThemesTranslations } from './useGlobalThemesApi-
|
|
11
|
-
import { a as useExpandedSection, b as useConfigStore, c as useThemeStore, u as useThemeUtils, P as POSITION_OPTIONS, H as HUNDRED, O as OVERLAY_OPACITY_SLIDER_MARKS, F as FONT_OPTIONS, d as useSyncExpandedSectionFromUrl, T as THEME_VALIDATION_SCHEMA, A as APPLY_SPINNER_DELAY } from './useExpandedSection-
|
|
10
|
+
import { n, u as useShowGlobalTheme, a as useFetchTheme, b as useListThemes, c as useCreateTheme, d as useUpdateTheme, e as useApplyTheme, f as routes, g as useShowThemeEntity, h as useDeleteTheme, r as registerNeetoThemesTranslations } from './useGlobalThemesApi-efNiy6YY.js';
|
|
11
|
+
import { a as useExpandedSection, b as useConfigStore, c as useThemeStore, u as useThemeUtils, P as POSITION_OPTIONS, H as HUNDRED, O as OVERLAY_OPACITY_SLIDER_MARKS, F as FONT_OPTIONS, d as useSyncExpandedSectionFromUrl, T as THEME_VALIDATION_SCHEMA, A as APPLY_SPINNER_DELAY } from './useExpandedSection-Dpv_-kLy.js';
|
|
12
12
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
13
13
|
import classnames from 'classnames';
|
|
14
14
|
import { joinHyphenCase, buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
@@ -319,12 +319,12 @@ var CustomCSS = function CustomCSS(_ref) {
|
|
|
319
319
|
var _useFormikContext = useFormikContext(),
|
|
320
320
|
values = _useFormikContext.values,
|
|
321
321
|
setFieldValue = _useFormikContext.setFieldValue;
|
|
322
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
322
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
323
323
|
return {
|
|
324
324
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
325
325
|
helpPopoverProps: store["helpPopoverProps"]
|
|
326
326
|
};
|
|
327
|
-
}
|
|
327
|
+
})),
|
|
328
328
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
329
329
|
helpPopoverProps = _useConfigStore.helpPopoverProps;
|
|
330
330
|
var _helpPopoverProps$cus = helpPopoverProps.customCss,
|
|
@@ -1023,17 +1023,17 @@ var Properties = function Properties(_ref) {
|
|
|
1023
1023
|
var onPropertiesChange = _ref.onPropertiesChange,
|
|
1024
1024
|
condition = _ref.condition,
|
|
1025
1025
|
themeId = _ref.themeId;
|
|
1026
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1026
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1027
1027
|
return {
|
|
1028
1028
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1029
1029
|
};
|
|
1030
|
-
}
|
|
1030
|
+
})),
|
|
1031
1031
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema;
|
|
1032
|
-
var _useThemeStore = useThemeStore(function (store) {
|
|
1032
|
+
var _useThemeStore = useThemeStore(useShallow(function (store) {
|
|
1033
1033
|
return {
|
|
1034
1034
|
setThemeState: store["setThemeState"]
|
|
1035
1035
|
};
|
|
1036
|
-
}
|
|
1036
|
+
})),
|
|
1037
1037
|
setThemeState = _useThemeStore.setThemeState;
|
|
1038
1038
|
var _useFormikContext = useFormikContext(),
|
|
1039
1039
|
setFieldValue = _useFormikContext.setFieldValue,
|
|
@@ -1241,11 +1241,11 @@ var ImageBlock = function ImageBlock(_ref) {
|
|
|
1241
1241
|
var _useFormikContext = useFormikContext(),
|
|
1242
1242
|
setFieldValue = _useFormikContext.setFieldValue,
|
|
1243
1243
|
values = _useFormikContext.values;
|
|
1244
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1244
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1245
1245
|
return {
|
|
1246
1246
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1247
1247
|
};
|
|
1248
|
-
}
|
|
1248
|
+
})),
|
|
1249
1249
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema;
|
|
1250
1250
|
var propertySchema = findBy({
|
|
1251
1251
|
key: attribute
|
|
@@ -1349,11 +1349,11 @@ var Images = function Images(_ref) {
|
|
|
1349
1349
|
fixedAspectRatio = _ref.fixedAspectRatio;
|
|
1350
1350
|
var _useFormikContext = useFormikContext(),
|
|
1351
1351
|
values = _useFormikContext.values;
|
|
1352
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1352
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1353
1353
|
return {
|
|
1354
1354
|
helpPopoverProps: store["helpPopoverProps"]
|
|
1355
1355
|
};
|
|
1356
|
-
}
|
|
1356
|
+
})),
|
|
1357
1357
|
helpPopoverProps = _useConfigStore.helpPopoverProps;
|
|
1358
1358
|
var key = snakeToCamelCase(attribute);
|
|
1359
1359
|
var title = buildLabel(key, "image");
|
|
@@ -1381,11 +1381,11 @@ var ThemeMeta = function ThemeMeta(_ref) {
|
|
|
1381
1381
|
var className = _ref.className;
|
|
1382
1382
|
var _useTranslation = useTranslation(),
|
|
1383
1383
|
t = _useTranslation.t;
|
|
1384
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1384
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1385
1385
|
return {
|
|
1386
1386
|
helpPopoverProps: store["helpPopoverProps"]
|
|
1387
1387
|
};
|
|
1388
|
-
}
|
|
1388
|
+
})),
|
|
1389
1389
|
helpPopoverProps = _useConfigStore.helpPopoverProps;
|
|
1390
1390
|
var _helpPopoverProps$nam = helpPopoverProps.name,
|
|
1391
1391
|
nameHelpPopoverProps = _helpPopoverProps$nam === void 0 ? {} : _helpPopoverProps$nam;
|
|
@@ -1425,7 +1425,7 @@ var Customize = function Customize(_ref) {
|
|
|
1425
1425
|
_useState2 = _slicedToArray(_useState, 2),
|
|
1426
1426
|
popoverInstance = _useState2[0],
|
|
1427
1427
|
setPopoverInstance = _useState2[1];
|
|
1428
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1428
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1429
1429
|
return {
|
|
1430
1430
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
1431
1431
|
entityId: store["entityId"],
|
|
@@ -1435,7 +1435,7 @@ var Customize = function Customize(_ref) {
|
|
|
1435
1435
|
enabledFeatures: store["enabledFeatures"],
|
|
1436
1436
|
proFeatures: store["proFeatures"]
|
|
1437
1437
|
};
|
|
1438
|
-
}
|
|
1438
|
+
})),
|
|
1439
1439
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
1440
1440
|
entityId = _useConfigStore.entityId,
|
|
1441
1441
|
entityType = _useConfigStore.entityType,
|
|
@@ -1448,12 +1448,12 @@ var Customize = function Customize(_ref) {
|
|
|
1448
1448
|
var _useQueryParams = useQueryParams(),
|
|
1449
1449
|
sourceThemeId = _useQueryParams.source;
|
|
1450
1450
|
var isCustomizingSystemTheme = !themeId && isPresent(sourceThemeId);
|
|
1451
|
-
var _useThemeStore = useThemeStore(function (store) {
|
|
1451
|
+
var _useThemeStore = useThemeStore(useShallow(function (store) {
|
|
1452
1452
|
return {
|
|
1453
1453
|
currentTheme: store["currentTheme"],
|
|
1454
1454
|
setThemeState: store["setThemeState"]
|
|
1455
1455
|
};
|
|
1456
|
-
}
|
|
1456
|
+
})),
|
|
1457
1457
|
currentTheme = _useThemeStore.currentTheme,
|
|
1458
1458
|
setThemeState = _useThemeStore.setThemeState;
|
|
1459
1459
|
var _useShowGlobalTheme = useShowGlobalTheme(entityType),
|
|
@@ -1776,11 +1776,11 @@ var Thumbnail = function Thumbnail(_ref) {
|
|
|
1776
1776
|
isPreviewing = _ref.isPreviewing,
|
|
1777
1777
|
isHighLightedTheme = _ref.isHighLightedTheme,
|
|
1778
1778
|
theme = _ref.theme;
|
|
1779
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1779
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1780
1780
|
return {
|
|
1781
1781
|
themePropertiesSchema: store["themePropertiesSchema"]
|
|
1782
1782
|
};
|
|
1783
|
-
}
|
|
1783
|
+
})),
|
|
1784
1784
|
_useConfigStore$theme = _useConfigStore.themePropertiesSchema,
|
|
1785
1785
|
themePropertiesSchema = _useConfigStore$theme === void 0 ? [] : _useConfigStore$theme;
|
|
1786
1786
|
var _themePropertiesSchem = _slicedToArray(themePropertiesSchema, 2),
|
|
@@ -1865,13 +1865,13 @@ var Card$1 = function Card(_ref) {
|
|
|
1865
1865
|
Thumbnail$1 = _ref.thumbnail;
|
|
1866
1866
|
var _useTranslation = useTranslation(),
|
|
1867
1867
|
t = _useTranslation.t;
|
|
1868
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
1868
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
1869
1869
|
return {
|
|
1870
1870
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
1871
1871
|
enabledFeatures: store["enabledFeatures"],
|
|
1872
1872
|
proFeatures: store["proFeatures"]
|
|
1873
1873
|
};
|
|
1874
|
-
}
|
|
1874
|
+
})),
|
|
1875
1875
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
1876
1876
|
enabledFeatures = _useConfigStore.enabledFeatures,
|
|
1877
1877
|
proFeatures = _useConfigStore.proFeatures;
|
|
@@ -2071,19 +2071,19 @@ var Themes = function Themes(_ref) {
|
|
|
2071
2071
|
t = _useTranslation.t;
|
|
2072
2072
|
var _useThemeUtils = useThemeUtils(),
|
|
2073
2073
|
setTheme = _useThemeUtils.setTheme;
|
|
2074
|
-
var _useThemeStore = useThemeStore(function (store) {
|
|
2074
|
+
var _useThemeStore = useThemeStore(useShallow(function (store) {
|
|
2075
2075
|
return {
|
|
2076
2076
|
setThemeState: store["setThemeState"],
|
|
2077
2077
|
previewingTheme: store["previewingTheme"]
|
|
2078
2078
|
};
|
|
2079
|
-
}
|
|
2079
|
+
})),
|
|
2080
2080
|
setThemeState = _useThemeStore.setThemeState,
|
|
2081
2081
|
previewingTheme = _useThemeStore.previewingTheme;
|
|
2082
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
2082
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
2083
2083
|
return {
|
|
2084
2084
|
entityType: store["entityType"]
|
|
2085
2085
|
};
|
|
2086
|
-
}
|
|
2086
|
+
})),
|
|
2087
2087
|
entityType = _useConfigStore.entityType;
|
|
2088
2088
|
var _useQueryParams = useQueryParams(),
|
|
2089
2089
|
_useQueryParams$searc = _useQueryParams.searchTerm,
|
|
@@ -2148,12 +2148,9 @@ var Themes = function Themes(_ref) {
|
|
|
2148
2148
|
onSetPreviewTheme: setPreviewTheme
|
|
2149
2149
|
})
|
|
2150
2150
|
});
|
|
2151
|
-
var systemThemesSection = isNotEmpty(filteredDefaultThemes) && /*#__PURE__*/
|
|
2152
|
-
className: "mb-6
|
|
2153
|
-
children:
|
|
2154
|
-
label: t("neetoThemes.build.leftSideBar.themes.systemThemes"),
|
|
2155
|
-
testId: "system-themes-heading"
|
|
2156
|
-
}), /*#__PURE__*/jsx("div", {
|
|
2151
|
+
var systemThemesSection = isNotEmpty(filteredDefaultThemes) && /*#__PURE__*/jsx("div", {
|
|
2152
|
+
className: "mb-6",
|
|
2153
|
+
children: /*#__PURE__*/jsx("div", {
|
|
2157
2154
|
className: "flex flex-col gap-4 px-6 pb-10 lg:px-5 xl:px-6",
|
|
2158
2155
|
"data-testid": "system-themes",
|
|
2159
2156
|
children: filteredDefaultThemes.map(function (theme) {
|
|
@@ -2169,7 +2166,7 @@ var Themes = function Themes(_ref) {
|
|
|
2169
2166
|
onSetPreviewTheme: setPreviewTheme
|
|
2170
2167
|
});
|
|
2171
2168
|
})
|
|
2172
|
-
})
|
|
2169
|
+
})
|
|
2173
2170
|
});
|
|
2174
2171
|
var customThemesSection = isNotEmpty(filteredThemes) && /*#__PURE__*/jsxs("div", {
|
|
2175
2172
|
className: "mb-6 space-y-3",
|
|
@@ -2225,19 +2222,19 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
2225
2222
|
handleToggleSearch = _ref.handleToggleSearch;
|
|
2226
2223
|
var _useTranslation = useTranslation(),
|
|
2227
2224
|
t = _useTranslation.t;
|
|
2228
|
-
var _useThemeStore = useThemeStore(function (store) {
|
|
2225
|
+
var _useThemeStore = useThemeStore(useShallow(function (store) {
|
|
2229
2226
|
return {
|
|
2230
2227
|
previewingTheme: store["previewingTheme"]
|
|
2231
2228
|
};
|
|
2232
|
-
}
|
|
2229
|
+
})),
|
|
2233
2230
|
previewingTheme = _useThemeStore.previewingTheme;
|
|
2234
2231
|
var themeId = previewingTheme === null || previewingTheme === void 0 ? void 0 : previewingTheme.id;
|
|
2235
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
2232
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
2236
2233
|
return {
|
|
2237
2234
|
entityType: store["entityType"],
|
|
2238
2235
|
helpDocUrl: store["helpDocUrl"]
|
|
2239
2236
|
};
|
|
2240
|
-
}
|
|
2237
|
+
})),
|
|
2241
2238
|
entityType = _useConfigStore.entityType,
|
|
2242
2239
|
helpDocUrl = _useConfigStore.helpDocUrl;
|
|
2243
2240
|
var _useQueryParams = useQueryParams(),
|
|
@@ -2348,23 +2345,23 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2348
2345
|
useEffect(function () {
|
|
2349
2346
|
setIsThemesSidebarCollapsed(!isLargerScreen);
|
|
2350
2347
|
}, [isLargerScreen]);
|
|
2351
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
2348
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
2352
2349
|
return {
|
|
2353
2350
|
entityType: store["entityType"],
|
|
2354
2351
|
entityId: store["entityId"],
|
|
2355
2352
|
isFetchingSchema: store["isFetchingSchema"],
|
|
2356
2353
|
defaultThemeName: store["defaultThemeName"]
|
|
2357
2354
|
};
|
|
2358
|
-
}
|
|
2355
|
+
})),
|
|
2359
2356
|
entityType = _useConfigStore.entityType,
|
|
2360
2357
|
entityId = _useConfigStore.entityId,
|
|
2361
2358
|
isFetchingSchema = _useConfigStore.isFetchingSchema,
|
|
2362
2359
|
defaultThemeName = _useConfigStore.defaultThemeName;
|
|
2363
|
-
var _useThemeStore = useThemeStore(function (store) {
|
|
2360
|
+
var _useThemeStore = useThemeStore(useShallow(function (store) {
|
|
2364
2361
|
return {
|
|
2365
2362
|
setThemeState: store["setThemeState"]
|
|
2366
2363
|
};
|
|
2367
|
-
}
|
|
2364
|
+
})),
|
|
2368
2365
|
setThemeState = _useThemeStore.setThemeState;
|
|
2369
2366
|
var didScrollActiveThemeIntoView = useRef(null);
|
|
2370
2367
|
var _useTranslation = useTranslation(),
|
|
@@ -2643,19 +2640,19 @@ var NeetoThemesBuilder = function NeetoThemesBuilder(_ref) {
|
|
|
2643
2640
|
_ref$proFeatures = _ref.proFeatures,
|
|
2644
2641
|
proFeatures = _ref$proFeatures === void 0 ? {} : _ref$proFeatures;
|
|
2645
2642
|
useMemo(registerNeetoThemesTranslations, []);
|
|
2646
|
-
var _useThemeStore = useThemeStore(function (store) {
|
|
2643
|
+
var _useThemeStore = useThemeStore(useShallow(function (store) {
|
|
2647
2644
|
return {
|
|
2648
2645
|
setThemeState: store["setThemeState"]
|
|
2649
2646
|
};
|
|
2650
|
-
}
|
|
2647
|
+
})),
|
|
2651
2648
|
setThemeState = _useThemeStore.setThemeState;
|
|
2652
2649
|
var _useThemeUtils = useThemeUtils(),
|
|
2653
2650
|
setTheme = _useThemeUtils.setTheme;
|
|
2654
|
-
var _useConfigStore = useConfigStore(function (store) {
|
|
2651
|
+
var _useConfigStore = useConfigStore(useShallow(function (store) {
|
|
2655
2652
|
return {
|
|
2656
2653
|
setConfigState: store["setConfigState"]
|
|
2657
2654
|
};
|
|
2658
|
-
}
|
|
2655
|
+
})),
|
|
2659
2656
|
setConfigState = _useConfigStore.setConfigState;
|
|
2660
2657
|
var _useTranslation = useTranslation(),
|
|
2661
2658
|
t = _useTranslation.t;
|