@uxf/cms 11.64.4 → 11.65.0
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uxf/cms",
|
3
|
-
"version": "11.
|
3
|
+
"version": "11.65.0",
|
4
4
|
"description": "UXF Cms",
|
5
5
|
"author": "UXFans <dev@uxf.cz>",
|
6
6
|
"homepage": "https://gitlab.com/uxf-npm/cms#readme",
|
@@ -32,11 +32,11 @@
|
|
32
32
|
"@redux-devtools/extension": "3.3.0",
|
33
33
|
"@uxf/core": "11.60.1",
|
34
34
|
"@uxf/core-react": "11.60.1",
|
35
|
-
"@uxf/data-grid": "11.64.
|
36
|
-
"@uxf/form": "11.
|
35
|
+
"@uxf/data-grid": "11.64.5",
|
36
|
+
"@uxf/form": "11.65.0",
|
37
37
|
"@uxf/router": "11.49.1",
|
38
|
-
"@uxf/ui": "11.
|
39
|
-
"@uxf/wysiwyg": "11.
|
38
|
+
"@uxf/ui": "11.64.5",
|
39
|
+
"@uxf/wysiwyg": "11.64.5",
|
40
40
|
"axios": "1.7.5",
|
41
41
|
"axios-hooks": "5.0.2",
|
42
42
|
"es6-error": "4.1.1",
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { ContentComponent } from "../../content-builder";
|
3
|
+
import { FieldProps } from "../types";
|
4
|
+
export interface Props extends FieldProps {
|
5
|
+
contentComponents?: ContentComponent<any>[];
|
6
|
+
}
|
7
|
+
declare function Component(props: Props): React.JSX.Element;
|
8
|
+
export default Component;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const react_1 = __importDefault(require("react"));
|
7
|
+
const content_builder_1 = require("../../content-builder");
|
8
|
+
const wysiwyg_1 = require("../../content-builder/content/wysiwyg");
|
9
|
+
function Component(props) {
|
10
|
+
// eslint-disable-next-line react/destructuring-assignment
|
11
|
+
const { fieldSchema, prefix = "", contentComponents, control } = props;
|
12
|
+
return (react_1.default.createElement("fieldset", null,
|
13
|
+
react_1.default.createElement("legend", null, fieldSchema.label),
|
14
|
+
react_1.default.createElement(content_builder_1.ContentField, { contentComponents: contentComponents !== null && contentComponents !== void 0 ? contentComponents : [wysiwyg_1.Wysiwyg], control: control, name: `${prefix}${fieldSchema.name}` })));
|
15
|
+
}
|
16
|
+
exports.default = Component;
|
@@ -1,6 +1 @@
|
|
1
|
-
|
2
|
-
import { ContentComponent } from "../../content-builder";
|
3
|
-
import { FieldProps } from "../types";
|
4
|
-
export declare const Content: FC<FieldProps & {
|
5
|
-
contentComponents?: ContentComponent<any>[];
|
6
|
-
}>;
|
1
|
+
export declare const Content: import("react").ComponentType<import("./content-dynamic").Props>;
|
@@ -1,17 +1,31 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
27
|
};
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
29
|
exports.Content = void 0;
|
7
|
-
const
|
8
|
-
|
9
|
-
const wysiwyg_1 = require("../../content-builder/content/wysiwyg");
|
10
|
-
const Content = (props) => {
|
11
|
-
// eslint-disable-next-line react/destructuring-assignment
|
12
|
-
const { fieldSchema, prefix = "", contentComponents, control } = props;
|
13
|
-
return (react_1.default.createElement("fieldset", null,
|
14
|
-
react_1.default.createElement("legend", null, fieldSchema.label),
|
15
|
-
react_1.default.createElement(content_builder_1.ContentField, { contentComponents: contentComponents !== null && contentComponents !== void 0 ? contentComponents : [wysiwyg_1.Wysiwyg], control: control, name: `${prefix}${fieldSchema.name}` })));
|
16
|
-
};
|
17
|
-
exports.Content = Content;
|
30
|
+
const dynamic_1 = __importDefault(require("next/dynamic"));
|
31
|
+
exports.Content = (0, dynamic_1.default)(() => Promise.resolve().then(() => __importStar(require("./content-dynamic"))), { ssr: false });
|