@bigbinary/neeto-themes-frontend 1.1.14 → 1.1.16
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.cjs.js +104 -103
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +105 -104
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/types.d.ts +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -2703,9 +2703,9 @@ function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
2703
2703
|
|
|
2704
2704
|
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2705
2705
|
|
|
2706
|
-
function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose
|
|
2706
|
+
function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2707
2707
|
|
|
2708
|
-
function _objectWithoutPropertiesLoose
|
|
2708
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2709
2709
|
/**
|
|
2710
2710
|
* Convenience wrapper component for the `useDropzone` hook
|
|
2711
2711
|
*
|
|
@@ -6096,7 +6096,7 @@ var _reactInfiniteScroller2 = _interopRequireDefault(_reactInfiniteScroller);
|
|
|
6096
6096
|
|
|
6097
6097
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
6098
6098
|
|
|
6099
|
-
function _objectWithoutProperties
|
|
6099
|
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
6100
6100
|
|
|
6101
6101
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
6102
6102
|
|
|
@@ -6200,7 +6200,7 @@ var MasonryInfiniteScroller = (_temp2 = _class = function (_Component) {
|
|
|
6200
6200
|
_props.packed;
|
|
6201
6201
|
_props.position;
|
|
6202
6202
|
_props.sizes;
|
|
6203
|
-
var props = _objectWithoutProperties
|
|
6203
|
+
var props = _objectWithoutProperties(_props, ['children', 'className', 'style', 'pack', 'packed', 'position', 'sizes']);
|
|
6204
6204
|
|
|
6205
6205
|
return _react2.default.createElement(
|
|
6206
6206
|
_reactInfiniteScroller2.default,
|
|
@@ -6772,7 +6772,7 @@ var Modal = function Modal(_ref) {
|
|
|
6772
6772
|
})))), /*#__PURE__*/React__default["default"].createElement("input", getInputProps()));
|
|
6773
6773
|
};
|
|
6774
6774
|
|
|
6775
|
-
var _excluded
|
|
6775
|
+
var _excluded = ["key", "label"];
|
|
6776
6776
|
var Menu = neetoui.Dropdown.Menu,
|
|
6777
6777
|
MenuItem = neetoui.Dropdown.MenuItem;
|
|
6778
6778
|
var ImageUploader = function ImageUploader(_ref) {
|
|
@@ -6892,7 +6892,7 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
6892
6892
|
}, /*#__PURE__*/React__default["default"].createElement(Menu, null, options.map(function (_ref2) {
|
|
6893
6893
|
var key = _ref2.key,
|
|
6894
6894
|
label = _ref2.label,
|
|
6895
|
-
otherProps = _objectWithoutProperties$2(_ref2, _excluded
|
|
6895
|
+
otherProps = _objectWithoutProperties$2(_ref2, _excluded);
|
|
6896
6896
|
return /*#__PURE__*/React__default["default"].createElement(MenuItem.Button, _extends$1({}, otherProps, {
|
|
6897
6897
|
key: key
|
|
6898
6898
|
}), label);
|
|
@@ -7122,11 +7122,12 @@ var buildInitialValues = function buildInitialValues(theme, themeConfig) {
|
|
|
7122
7122
|
name: i18next.t("neetoThemes.build.leftSideBar.themes.createTheme.newThemeName"),
|
|
7123
7123
|
properties: themeConfig.map(function (_ref) {
|
|
7124
7124
|
var key = _ref.key,
|
|
7125
|
-
kind = _ref.kind
|
|
7125
|
+
kind = _ref.kind,
|
|
7126
|
+
defaultValue = _ref.defaultValue;
|
|
7126
7127
|
switch (kind) {
|
|
7127
7128
|
case "color":
|
|
7128
7129
|
return {
|
|
7129
|
-
value:
|
|
7130
|
+
value: defaultValue,
|
|
7130
7131
|
kind: "color",
|
|
7131
7132
|
key: key
|
|
7132
7133
|
};
|
|
@@ -7235,105 +7236,39 @@ var Customize = function Customize(_ref) {
|
|
|
7235
7236
|
});
|
|
7236
7237
|
};
|
|
7237
7238
|
|
|
7238
|
-
function
|
|
7239
|
-
|
|
7240
|
-
var
|
|
7241
|
-
var sourceKeys = Object.keys(source);
|
|
7242
|
-
var key, i;
|
|
7243
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
7244
|
-
key = sourceKeys[i];
|
|
7245
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
7246
|
-
target[key] = source[key];
|
|
7247
|
-
}
|
|
7248
|
-
return target;
|
|
7249
|
-
}
|
|
7250
|
-
|
|
7251
|
-
function _objectWithoutProperties(source, excluded) {
|
|
7252
|
-
if (source == null) return {};
|
|
7253
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
7254
|
-
var key, i;
|
|
7255
|
-
if (Object.getOwnPropertySymbols) {
|
|
7256
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
7257
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
7258
|
-
key = sourceSymbolKeys[i];
|
|
7259
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
7260
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
7261
|
-
target[key] = source[key];
|
|
7262
|
-
}
|
|
7263
|
-
}
|
|
7264
|
-
return target;
|
|
7265
|
-
}
|
|
7266
|
-
|
|
7267
|
-
var _excluded = ["id", "name", "appliedCount", "properties"];
|
|
7268
|
-
var Card = function Card(_ref) {
|
|
7269
|
-
var _ref$active = _ref.active,
|
|
7270
|
-
active = _ref$active === void 0 ? false : _ref$active,
|
|
7239
|
+
var Thumbnail = function Thumbnail(_ref) {
|
|
7240
|
+
var _theme$snakeToCamelCa, _findBy, _findBy2;
|
|
7241
|
+
var active = _ref.active,
|
|
7271
7242
|
isPreviewing = _ref.isPreviewing,
|
|
7272
|
-
onSetPreviewTheme = _ref.onSetPreviewTheme,
|
|
7273
|
-
onDeleteTheme = _ref.onDeleteTheme,
|
|
7274
|
-
onEditTheme = _ref.onEditTheme,
|
|
7275
|
-
onApplyTheme = _ref.onApplyTheme,
|
|
7276
|
-
theme = _ref.theme,
|
|
7277
|
-
isApplyingTheme = _ref.isApplyingTheme,
|
|
7278
|
-
onCloneTheme = _ref.onCloneTheme,
|
|
7279
7243
|
isHighLightedTheme = _ref.isHighLightedTheme,
|
|
7280
|
-
|
|
7281
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
7282
|
-
t = _useTranslation.t;
|
|
7283
|
-
var id = theme.id,
|
|
7284
|
-
name = theme.name,
|
|
7285
|
-
appliedCount = theme.appliedCount,
|
|
7286
|
-
properties = theme.properties,
|
|
7287
|
-
styles = _objectWithoutProperties(theme, _excluded);
|
|
7244
|
+
theme = _ref.theme;
|
|
7288
7245
|
var _useConfigStore = useConfigStore(function (store) {
|
|
7289
7246
|
return {
|
|
7290
|
-
themeConfig: store["themeConfig"]
|
|
7291
|
-
entityId: store["entityId"],
|
|
7292
|
-
entityType: store["entityType"]
|
|
7247
|
+
themeConfig: store["themeConfig"]
|
|
7293
7248
|
};
|
|
7294
7249
|
}, shallow.shallow),
|
|
7295
7250
|
_useConfigStore$theme = _useConfigStore.themeConfig,
|
|
7296
|
-
themeConfig = _useConfigStore$theme === void 0 ? [] : _useConfigStore$theme
|
|
7297
|
-
entityId = _useConfigStore.entityId,
|
|
7298
|
-
entityType = _useConfigStore.entityType;
|
|
7251
|
+
themeConfig = _useConfigStore$theme === void 0 ? [] : _useConfigStore$theme;
|
|
7299
7252
|
var _themeConfig = _slicedToArray$3(themeConfig, 2),
|
|
7300
7253
|
colorObject1 = _themeConfig[0],
|
|
7301
7254
|
colorObject2 = _themeConfig[1];
|
|
7302
7255
|
var primaryLabel = neetoCist.humanize(colorObject1 === null || colorObject1 === void 0 ? void 0 : colorObject1.key);
|
|
7303
7256
|
var secondaryLabel = neetoCist.humanize(colorObject2 === null || colorObject2 === void 0 ? void 0 : colorObject2.key);
|
|
7304
|
-
var handleApplyThemeClick = function handleApplyThemeClick() {
|
|
7305
|
-
if (isApplyingTheme) return;
|
|
7306
|
-
setThemeBeingApplied(theme);
|
|
7307
|
-
onApplyTheme({
|
|
7308
|
-
themeId: theme.id,
|
|
7309
|
-
entityId: entityId,
|
|
7310
|
-
entityType: entityType
|
|
7311
|
-
});
|
|
7312
|
-
};
|
|
7313
|
-
var handleCloneTheme = function handleCloneTheme() {
|
|
7314
|
-
return onCloneTheme(theme);
|
|
7315
|
-
};
|
|
7316
|
-
var handleEditTheme = function handleEditTheme() {
|
|
7317
|
-
return onEditTheme(theme);
|
|
7318
|
-
};
|
|
7319
|
-
var handleDeleteTheme = function handleDeleteTheme() {
|
|
7320
|
-
return onDeleteTheme(id, name, appliedCount);
|
|
7321
|
-
};
|
|
7322
7257
|
var primaryColor = neetoCist.findBy({
|
|
7323
7258
|
key: colorObject1.key
|
|
7324
|
-
}, properties).value;
|
|
7259
|
+
}, theme.properties).value;
|
|
7325
7260
|
var secondaryColor = neetoCist.findBy({
|
|
7326
7261
|
key: colorObject2.key
|
|
7327
|
-
}, properties).value;
|
|
7328
|
-
var backgroundImageUrl = theme[neetoCist.snakeToCamelCase(neetoCist.findBy({
|
|
7262
|
+
}, theme.properties).value;
|
|
7263
|
+
var backgroundImageUrl = (_theme$snakeToCamelCa = theme[neetoCist.snakeToCamelCase(neetoCist.findBy({
|
|
7329
7264
|
useAsCardBackground: true
|
|
7330
|
-
}, themeConfig).key)].url;
|
|
7331
|
-
var
|
|
7265
|
+
}, themeConfig).key)]) === null || _theme$snakeToCamelCa === void 0 ? void 0 : _theme$snakeToCamelCa.url;
|
|
7266
|
+
var buttonBackgroundColor = (_findBy = neetoCist.findBy({
|
|
7267
|
+
key: (_findBy2 = neetoCist.findBy({
|
|
7268
|
+
useAsCardButtonBackground: true
|
|
7269
|
+
}, themeConfig)) === null || _findBy2 === void 0 ? void 0 : _findBy2.key
|
|
7270
|
+
}, theme.properties)) === null || _findBy === void 0 ? void 0 : _findBy.value;
|
|
7332
7271
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7333
|
-
className: "group space-y-2 pt-0.5",
|
|
7334
|
-
"data-cy": active ? "active-theme-card" : "theme-card",
|
|
7335
|
-
id: theme.id
|
|
7336
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7337
7272
|
className: classnames__default["default"]("neeto-themes-theme-thumbnail neeto-ui-rounded-lg border transition-all duration-300 ease-in-out", {
|
|
7338
7273
|
"neeto-ui-border-gray-400": !active,
|
|
7339
7274
|
"neeto-ui-border-gray-800 neeto-themes-theme-thumbnail--active": active,
|
|
@@ -7341,20 +7276,13 @@ var Card = function Card(_ref) {
|
|
|
7341
7276
|
"neeto-themes-theme-thumbnail--highlight-active": isHighLightedTheme
|
|
7342
7277
|
}),
|
|
7343
7278
|
style: {
|
|
7344
|
-
backgroundColor: ramda.path(["colorScheme", "backgroundColor"], styles),
|
|
7345
7279
|
backgroundImage: backgroundImageUrl ? "url(".concat(backgroundImageUrl, ")") : "initial",
|
|
7346
7280
|
backgroundSize: "cover"
|
|
7347
|
-
},
|
|
7348
|
-
onClick: function onClick() {
|
|
7349
|
-
return onSetPreviewTheme(theme);
|
|
7350
7281
|
}
|
|
7351
7282
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7352
7283
|
className: "neeto-ui-rounded-lg cursor-pointer p-3 transition-all duration-300 ease-in-out group-hover:opacity-85"
|
|
7353
7284
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7354
|
-
className: "neeto-ui-rounded-lg p-3"
|
|
7355
|
-
style: {
|
|
7356
|
-
backgroundColor: isContentBackgroundEnabled && ramda.path(["layoutOptions", "contentBackgroundColor"], styles)
|
|
7357
|
-
}
|
|
7285
|
+
className: "neeto-ui-rounded-lg p-3"
|
|
7358
7286
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7359
7287
|
className: "mb-3"
|
|
7360
7288
|
}, /*#__PURE__*/React__default["default"].createElement(Typography__default["default"], {
|
|
@@ -7374,9 +7302,74 @@ var Card = function Card(_ref) {
|
|
|
7374
7302
|
}, secondaryLabel))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7375
7303
|
className: "neeto-ui-rounded-lg h-5 w-12",
|
|
7376
7304
|
style: {
|
|
7377
|
-
backgroundColor:
|
|
7305
|
+
backgroundColor: buttonBackgroundColor
|
|
7306
|
+
}
|
|
7307
|
+
}))));
|
|
7308
|
+
};
|
|
7309
|
+
|
|
7310
|
+
var Card = function Card(_ref) {
|
|
7311
|
+
var _ref$active = _ref.active,
|
|
7312
|
+
active = _ref$active === void 0 ? false : _ref$active,
|
|
7313
|
+
isPreviewing = _ref.isPreviewing,
|
|
7314
|
+
onSetPreviewTheme = _ref.onSetPreviewTheme,
|
|
7315
|
+
onDeleteTheme = _ref.onDeleteTheme,
|
|
7316
|
+
onEditTheme = _ref.onEditTheme,
|
|
7317
|
+
onApplyTheme = _ref.onApplyTheme,
|
|
7318
|
+
theme = _ref.theme,
|
|
7319
|
+
isApplyingTheme = _ref.isApplyingTheme,
|
|
7320
|
+
onCloneTheme = _ref.onCloneTheme,
|
|
7321
|
+
isHighLightedTheme = _ref.isHighLightedTheme,
|
|
7322
|
+
setThemeBeingApplied = _ref.setThemeBeingApplied,
|
|
7323
|
+
Thumbnail$1 = _ref.thumbnail;
|
|
7324
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
7325
|
+
t = _useTranslation.t;
|
|
7326
|
+
var id = theme.id,
|
|
7327
|
+
name = theme.name,
|
|
7328
|
+
appliedCount = theme.appliedCount;
|
|
7329
|
+
var _useConfigStore = useConfigStore(function (store) {
|
|
7330
|
+
return {
|
|
7331
|
+
entityId: store["entityId"],
|
|
7332
|
+
entityType: store["entityType"]
|
|
7333
|
+
};
|
|
7334
|
+
}, shallow.shallow),
|
|
7335
|
+
entityId = _useConfigStore.entityId,
|
|
7336
|
+
entityType = _useConfigStore.entityType;
|
|
7337
|
+
var handleApplyThemeClick = function handleApplyThemeClick() {
|
|
7338
|
+
if (isApplyingTheme) return;
|
|
7339
|
+
setThemeBeingApplied(theme);
|
|
7340
|
+
onApplyTheme({
|
|
7341
|
+
themeId: theme.id,
|
|
7342
|
+
entityId: entityId,
|
|
7343
|
+
entityType: entityType
|
|
7344
|
+
});
|
|
7345
|
+
};
|
|
7346
|
+
var handleCloneTheme = function handleCloneTheme() {
|
|
7347
|
+
return onCloneTheme(theme);
|
|
7348
|
+
};
|
|
7349
|
+
var handleEditTheme = function handleEditTheme() {
|
|
7350
|
+
return onEditTheme(theme);
|
|
7351
|
+
};
|
|
7352
|
+
var handleDeleteTheme = function handleDeleteTheme() {
|
|
7353
|
+
return onDeleteTheme(id, name, appliedCount);
|
|
7354
|
+
};
|
|
7355
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7356
|
+
className: "group space-y-2 pt-0.5",
|
|
7357
|
+
"data-cy": active ? "active-theme-card" : "theme-card",
|
|
7358
|
+
id: theme.id,
|
|
7359
|
+
onClick: function onClick() {
|
|
7360
|
+
return onSetPreviewTheme(theme);
|
|
7378
7361
|
}
|
|
7379
|
-
}
|
|
7362
|
+
}, Thumbnail$1 ? /*#__PURE__*/React__default["default"].createElement(Thumbnail$1, {
|
|
7363
|
+
active: active,
|
|
7364
|
+
isHighLightedTheme: isHighLightedTheme,
|
|
7365
|
+
isPreviewing: isPreviewing,
|
|
7366
|
+
theme: theme
|
|
7367
|
+
}) : /*#__PURE__*/React__default["default"].createElement(Thumbnail, {
|
|
7368
|
+
active: active,
|
|
7369
|
+
isHighLightedTheme: isHighLightedTheme,
|
|
7370
|
+
isPreviewing: isPreviewing,
|
|
7371
|
+
theme: theme
|
|
7372
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7380
7373
|
className: "flex items-start justify-between gap-1"
|
|
7381
7374
|
}, /*#__PURE__*/React__default["default"].createElement(Typography__default["default"], {
|
|
7382
7375
|
className: "line-clamp-2 min-w-0 flex-grow break-words pt-1",
|
|
@@ -7442,7 +7435,8 @@ var Themes = function Themes(_ref) {
|
|
|
7442
7435
|
didScrollActiveThemeIntoView = _ref.didScrollActiveThemeIntoView,
|
|
7443
7436
|
isLoading = _ref.isLoading,
|
|
7444
7437
|
currentTheme = _ref.currentTheme,
|
|
7445
|
-
isCurrentThemeLoading = _ref.isCurrentThemeLoading
|
|
7438
|
+
isCurrentThemeLoading = _ref.isCurrentThemeLoading,
|
|
7439
|
+
thumbnail = _ref.thumbnail;
|
|
7446
7440
|
var _useTranslation = reactI18next.useTranslation(),
|
|
7447
7441
|
t = _useTranslation.t;
|
|
7448
7442
|
var _useThemeUtils = useThemeUtils(),
|
|
@@ -7535,6 +7529,7 @@ var Themes = function Themes(_ref) {
|
|
|
7535
7529
|
onApplyTheme: onApplyTheme,
|
|
7536
7530
|
setThemeBeingApplied: setThemeBeingApplied,
|
|
7537
7531
|
theme: theme,
|
|
7532
|
+
thumbnail: thumbnail,
|
|
7538
7533
|
active: (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme.id) === theme.id,
|
|
7539
7534
|
isPreviewing: (previewingTheme === null || previewingTheme === void 0 ? void 0 : previewingTheme.id) === theme.id,
|
|
7540
7535
|
key: theme.id,
|
|
@@ -7560,6 +7555,7 @@ var Themes = function Themes(_ref) {
|
|
|
7560
7555
|
onEditTheme: onEditTheme,
|
|
7561
7556
|
setThemeBeingApplied: setThemeBeingApplied,
|
|
7562
7557
|
theme: theme,
|
|
7558
|
+
thumbnail: thumbnail,
|
|
7563
7559
|
active: isActive,
|
|
7564
7560
|
isHighLightedTheme: theme.id === themeToHighlight,
|
|
7565
7561
|
key: theme.id,
|
|
@@ -7625,8 +7621,9 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
7625
7621
|
};
|
|
7626
7622
|
|
|
7627
7623
|
var MemoizedAlert = /*#__PURE__*/React.memo(Alert__default["default"]);
|
|
7628
|
-
var Sidebar = function Sidebar() {
|
|
7624
|
+
var Sidebar = function Sidebar(_ref) {
|
|
7629
7625
|
var _themeToEdit$current, _themeToEdit$current2, _themeToDelete$curren2, _themeToDelete$curren3;
|
|
7626
|
+
var thumbnail = _ref.thumbnail;
|
|
7630
7627
|
var _useState = React.useState(DESIGN_SCREENS.THEMES),
|
|
7631
7628
|
_useState2 = _slicedToArray$3(_useState, 2),
|
|
7632
7629
|
currentScreen = _useState2[0],
|
|
@@ -7759,6 +7756,7 @@ var Sidebar = function Sidebar() {
|
|
|
7759
7756
|
isCurrentThemeLoading: isCurrentThemeLoading,
|
|
7760
7757
|
themeToHighlight: themeToHighlight,
|
|
7761
7758
|
themes: themes,
|
|
7759
|
+
thumbnail: thumbnail,
|
|
7762
7760
|
isLoading: isLoading || isFetchingConfig,
|
|
7763
7761
|
onDeleteTheme: handleDelete,
|
|
7764
7762
|
onEditTheme: handleEditTheme
|
|
@@ -7783,7 +7781,8 @@ var Sidebar = function Sidebar() {
|
|
|
7783
7781
|
var NeetoThemes = function NeetoThemes(_ref) {
|
|
7784
7782
|
var children = _ref.children,
|
|
7785
7783
|
entityType = _ref.entityType,
|
|
7786
|
-
entityId = _ref.entityId
|
|
7784
|
+
entityId = _ref.entityId,
|
|
7785
|
+
thumbnail = _ref.thumbnail;
|
|
7787
7786
|
var _useThemeStore = useThemeStore(function (store) {
|
|
7788
7787
|
return {
|
|
7789
7788
|
isCurrentThemeLoading: store["isCurrentThemeLoading"]
|
|
@@ -7804,7 +7803,9 @@ var NeetoThemes = function NeetoThemes(_ref) {
|
|
|
7804
7803
|
}, []);
|
|
7805
7804
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7806
7805
|
className: "neeto-themes__wrapper"
|
|
7807
|
-
}, /*#__PURE__*/React__default["default"].createElement(Sidebar,
|
|
7806
|
+
}, /*#__PURE__*/React__default["default"].createElement(Sidebar, {
|
|
7807
|
+
thumbnail: thumbnail
|
|
7808
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7808
7809
|
className: "neeto-themes-preview__wrapper"
|
|
7809
7810
|
}, isCurrentThemeLoading ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7810
7811
|
className: "m-auto flex h-full w-full items-center justify-center"
|