@devgateway/dvz-ui-react 1.6.20 → 1.7.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/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
- package/dist/cjs/_virtual/debounce.js +1 -0
- package/dist/cjs/embeddable/big-filter/BigNumberGroup.js +1 -0
- package/dist/cjs/embeddable/big-filter/BigNumberItem.js +1 -0
- package/dist/cjs/embeddable/big-filter/DataProvider.js +1 -0
- package/dist/cjs/embeddable/big-filter/index.js +1 -0
- package/dist/cjs/embeddable/big-number/index.js +1 -1
- package/dist/cjs/embeddable/big-number-trend/Alternative.js +1 -0
- package/dist/cjs/embeddable/big-number-trend/Classic.js +1 -0
- package/dist/cjs/embeddable/big-number-trend/index.js +1 -1
- package/dist/cjs/embeddable/chart/Bar.js +1 -1
- package/dist/cjs/embeddable/chart/Line.js +1 -1
- package/dist/cjs/embeddable/chart/data/Bar.js +1 -1
- package/dist/cjs/embeddable/chart/index.js +1 -1
- package/dist/cjs/embeddable/d3Map/BaseLayer.js +1 -1
- package/dist/cjs/embeddable/d3Map/BreaksStyles.js +1 -1
- package/dist/cjs/embeddable/d3Map/DataLayer.js +1 -1
- package/dist/cjs/embeddable/d3Map/FlowLayer.js +1 -1
- package/dist/cjs/embeddable/d3Map/GradientColors.js +1 -1
- package/dist/cjs/embeddable/d3Map/LatLongLayer.js +1 -1
- package/dist/cjs/embeddable/d3Map/Layer.js +1 -1
- package/dist/cjs/embeddable/d3Map/Legends.js +1 -1
- package/dist/cjs/embeddable/d3Map/ProjectedContainer.js +1 -1
- package/dist/cjs/embeddable/d3Map/Utils.js +1 -1
- package/dist/cjs/embeddable/d3Map/ZoomControl.js +1 -1
- package/dist/cjs/embeddable/d3Map/index.js +1 -1
- package/dist/cjs/embeddable/data/CategoriesProvider.js +1 -1
- package/dist/cjs/embeddable/data/D3MapDataConsumer.js +1 -0
- package/dist/cjs/embeddable/data/D3MapDataProvider.js +1 -0
- package/dist/cjs/embeddable/data/DataContext.js +1 -1
- package/dist/cjs/embeddable/data/DataProvider.js +1 -1
- package/dist/cjs/embeddable/data-paragraph/index.js +1 -0
- package/dist/cjs/embeddable/download/dom-to-image.js +2 -2
- package/dist/cjs/embeddable/download/index.js +5 -5
- package/dist/cjs/embeddable/filter/index.js +1 -1
- package/dist/cjs/embeddable/grouped-bars/GroupedBars.js +1 -0
- package/dist/cjs/embeddable/grouped-bars/index.js +1 -0
- package/dist/cjs/embeddable/index.js +1 -1
- package/dist/cjs/embeddable/posts-filter/CategoricalFilter.js +1 -1
- package/dist/cjs/embeddable/reducers/data-api.js +1 -1
- package/dist/cjs/embeddable/reducers/data.js +1 -1
- package/dist/cjs/embeddable/utils/common.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/layout/Customizer.js +1 -1
- package/dist/cjs/layout/containers/SlugPostContainer.js +1 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js +1 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js +1 -0
- package/dist/cjs/styles.css +1 -1
- package/dist/esm/_virtual/_commonjsHelpers.js +8 -0
- package/dist/esm/_virtual/debounce.js +7 -0
- package/dist/esm/embeddable/big-filter/BigNumberGroup.js +129 -0
- package/dist/esm/embeddable/big-filter/BigNumberItem.js +107 -0
- package/dist/esm/embeddable/big-filter/DataProvider.js +53 -0
- package/dist/esm/embeddable/big-filter/index.js +130 -0
- package/dist/esm/embeddable/big-number/index.js +154 -102
- package/dist/esm/embeddable/big-number-trend/Alternative.js +227 -0
- package/dist/esm/embeddable/big-number-trend/Classic.js +190 -0
- package/dist/esm/embeddable/big-number-trend/index.js +12 -147
- package/dist/esm/embeddable/chart/Bar.js +450 -395
- package/dist/esm/embeddable/chart/Line.js +216 -184
- package/dist/esm/embeddable/chart/data/Bar.js +16 -18
- package/dist/esm/embeddable/chart/index.js +168 -162
- package/dist/esm/embeddable/d3Map/BaseLayer.js +25 -28
- package/dist/esm/embeddable/d3Map/BreaksStyles.js +17 -10
- package/dist/esm/embeddable/d3Map/DataLayer.js +290 -289
- package/dist/esm/embeddable/d3Map/FlowLayer.js +122 -136
- package/dist/esm/embeddable/d3Map/GradientColors.js +27 -20
- package/dist/esm/embeddable/d3Map/LatLongLayer.js +62 -62
- package/dist/esm/embeddable/d3Map/Layer.js +31 -27
- package/dist/esm/embeddable/d3Map/Legends.js +204 -190
- package/dist/esm/embeddable/d3Map/ProjectedContainer.js +1 -3
- package/dist/esm/embeddable/d3Map/Utils.js +12 -8
- package/dist/esm/embeddable/d3Map/ZoomControl.js +41 -41
- package/dist/esm/embeddable/d3Map/index.js +135 -117
- package/dist/esm/embeddable/data/CategoriesProvider.js +39 -26
- package/dist/esm/embeddable/data/D3MapDataConsumer.js +7 -0
- package/dist/esm/embeddable/data/D3MapDataProvider.js +83 -0
- package/dist/esm/embeddable/data/DataContext.js +2 -2
- package/dist/esm/embeddable/data/DataProvider.js +124 -55
- package/dist/esm/embeddable/data-paragraph/index.js +168 -0
- package/dist/esm/embeddable/download/dom-to-image.js +163 -148
- package/dist/esm/embeddable/download/index.js +102 -76
- package/dist/esm/embeddable/filter/index.js +335 -298
- package/dist/esm/embeddable/grouped-bars/GroupedBars.js +549 -0
- package/dist/esm/embeddable/grouped-bars/index.js +16 -0
- package/dist/esm/embeddable/index.js +33 -30
- package/dist/esm/embeddable/posts-filter/CategoricalFilter.js +18 -18
- package/dist/esm/embeddable/reducers/data-api.js +39 -35
- package/dist/esm/embeddable/reducers/data.js +141 -182
- package/dist/esm/embeddable/utils/common.js +3 -3
- package/dist/esm/index.js +111 -94
- package/dist/esm/layout/Customizer.js +10 -9
- package/dist/esm/layout/containers/SlugPostContainer.js +9 -8
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +11 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +16 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js +14 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +13 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +11 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js +60 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +13 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +12 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +15 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js +13 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js +28 -0
- package/dist/esm/styles.css +1 -1
- package/dist/types/embeddable/big-filter/BigNumberGroup.d.ts +3 -0
- package/dist/types/embeddable/big-filter/BigNumberItem.d.ts +2 -0
- package/dist/types/embeddable/big-filter/DataProvider.d.ts +7 -0
- package/dist/types/embeddable/big-filter/index.d.ts +5 -0
- package/dist/types/embeddable/big-number-trend/Alternative.d.ts +5 -0
- package/dist/types/embeddable/big-number-trend/Classic.d.ts +5 -0
- package/dist/types/embeddable/big-number-trend/index.d.ts +2 -4
- package/dist/types/embeddable/chart/Bar.d.ts +3 -0
- package/dist/types/embeddable/chart/Line.d.ts +6 -0
- package/dist/types/embeddable/d3Map/GradientColors.d.ts +6 -2
- package/dist/types/embeddable/d3Map/Layer.d.ts +1 -1
- package/dist/types/embeddable/d3Map/Utils.d.ts +1 -1
- package/dist/types/embeddable/data/D3MapDataProvider.d.ts +7 -0
- package/dist/types/embeddable/data/index.d.ts +6 -0
- package/dist/types/embeddable/data-paragraph/index.d.ts +5 -0
- package/dist/types/embeddable/filter/index.d.ts +13 -1
- package/dist/types/embeddable/grouped-bars/GroupedBars.d.ts +5 -0
- package/dist/types/embeddable/grouped-bars/index.d.ts +3 -0
- package/dist/types/embeddable/reducers/data-api.d.ts +5 -0
- package/dist/types/embeddable/reducers/data.d.ts +16 -9
- package/dist/types/embeddable/utils/index.d.ts +1 -0
- package/dist/types/embeddable/utils/parseUtils.d.ts +0 -6
- package/dist/types/index.d.ts +6 -0
- package/dist/types/layout/Customizer.d.ts +1 -0
- package/dist/types/layout/containers/PageContainer.d.ts +8 -0
- package/dist/types/layout/containers/PostContainer.d.ts +0 -0
- package/dist/types/layout/index.d.ts +1 -0
- package/dist/types/utils/Logger.d.ts +1 -0
- package/package.json +3 -2
- /package/dist/types/embeddable/data/{DataConsumerMap.d.ts → D3MapDataConsumer.d.ts} +0 -0
|
@@ -1,119 +1,145 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Container as x, Grid as
|
|
1
|
+
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import V, { useRef as K, useState as O, useEffect as X } from "react";
|
|
3
|
+
import { Container as x, Grid as C, Button as Y, Dropdown as A, Icon as Z } from "semantic-ui-react";
|
|
4
4
|
import { PostContent as L } from "@devgateway/wp-react-lib";
|
|
5
|
-
import { domtoimage as
|
|
6
|
-
import { saveAs as
|
|
7
|
-
import { connect as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
5
|
+
import { domtoimage as G } from "./dom-to-image.js";
|
|
6
|
+
import { saveAs as U } from "file-saver";
|
|
7
|
+
import { connect as _ } from "react-redux";
|
|
8
|
+
const ee = V.forwardRef((a, r) => /* @__PURE__ */ t("div", { ref: r, children: a.children })), te = (a) => {
|
|
9
|
+
const r = K();
|
|
10
10
|
let {
|
|
11
11
|
childContent: h,
|
|
12
|
-
"data-height":
|
|
13
|
-
"data-button-label":
|
|
14
|
-
"data-png-label":
|
|
15
|
-
"data-jpg-label":
|
|
16
|
-
"data-jpg-text":
|
|
17
|
-
"data-png-text":
|
|
18
|
-
"data-check-png":
|
|
12
|
+
"data-height": re,
|
|
13
|
+
"data-button-label": E,
|
|
14
|
+
"data-png-label": J,
|
|
15
|
+
"data-jpg-label": T,
|
|
16
|
+
"data-jpg-text": F,
|
|
17
|
+
"data-png-text": S,
|
|
18
|
+
"data-check-png": y = "true",
|
|
19
19
|
"data-check-jpg": k = "true",
|
|
20
|
-
"data-title":
|
|
20
|
+
"data-title": I,
|
|
21
21
|
"data-default-format": w = "PNG",
|
|
22
|
-
"data-use-title":
|
|
23
|
-
"data-style":
|
|
22
|
+
"data-use-title": P = "false",
|
|
23
|
+
"data-style": B = "heavy",
|
|
24
24
|
"data-section-title": $ = "",
|
|
25
|
-
"data-download-tooltip":
|
|
26
|
-
"data-include-source-url":
|
|
27
|
-
"data-
|
|
25
|
+
"data-download-tooltip": j = "",
|
|
26
|
+
"data-include-source-url": q = "false",
|
|
27
|
+
"data-include-filters": R = "false",
|
|
28
|
+
"data-source-urlmargin-left": D = 70,
|
|
28
29
|
"data-source-urlmargin-top": W = 10,
|
|
29
|
-
"data-source-urlfont-size":
|
|
30
|
-
parent:
|
|
30
|
+
"data-source-urlfont-size": M = 18,
|
|
31
|
+
parent: ae,
|
|
31
32
|
editing: i,
|
|
32
|
-
component:
|
|
33
|
-
unique:
|
|
34
|
-
pageModuleProps:
|
|
35
|
-
} =
|
|
36
|
-
const [p, m] =
|
|
37
|
-
|
|
33
|
+
component: ie,
|
|
34
|
+
unique: le,
|
|
35
|
+
pageModuleProps: c
|
|
36
|
+
} = a;
|
|
37
|
+
const [p, m] = O(w), s = y == "true" || y === !0, d = k == "true" || k === !0;
|
|
38
|
+
X(() => {
|
|
38
39
|
m(w);
|
|
39
40
|
}, [w]);
|
|
40
41
|
const v = (n) => {
|
|
41
42
|
m(n.target.value);
|
|
42
43
|
};
|
|
43
|
-
function
|
|
44
|
-
const o = n.attributes,
|
|
44
|
+
function z(n) {
|
|
45
|
+
const o = n.attributes, N = [];
|
|
45
46
|
if (o)
|
|
46
|
-
for (let
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
n.setAttribute(
|
|
51
|
-
}), n.classList
|
|
47
|
+
for (let e = 0; e < o.length; e++)
|
|
48
|
+
N.push(o[e].nodeName);
|
|
49
|
+
const u = N.filter((e) => e.startsWith("data-"));
|
|
50
|
+
if (u.length > 0 && u.forEach((e) => {
|
|
51
|
+
n.setAttribute(e, "");
|
|
52
|
+
}), n.classList) {
|
|
53
|
+
if (n.classList.contains("ignore")) return !1;
|
|
54
|
+
if (!(R === !0 || R === "true")) {
|
|
55
|
+
const f = [
|
|
56
|
+
"filter-component",
|
|
57
|
+
"data-filters-reset",
|
|
58
|
+
"data-filters-apply",
|
|
59
|
+
"filter-search"
|
|
60
|
+
];
|
|
61
|
+
for (const Q of f)
|
|
62
|
+
if (n.classList.contains(Q)) return !1;
|
|
63
|
+
}
|
|
64
|
+
return !0;
|
|
65
|
+
}
|
|
66
|
+
return !0;
|
|
52
67
|
}
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
if ([...o.getElementsByTagName("input")].forEach((e) => e.remove()), [...o.querySelectorAll(".question.circle.icon")].forEach((e) => e.remove()),
|
|
68
|
+
const g = { filter: z, bgcolor: "#FFF", imagePlaceholder: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8Xw8AAoMBgQb9Z3kAAAAASUVORK5CYII=", cacheBust: !0 }, H = (n) => {
|
|
69
|
+
G.cloneNode(r.current).then(function(o) {
|
|
70
|
+
if ([...o.getElementsByTagName("input")].forEach((e) => e.remove()), [...o.querySelectorAll(".question.circle.icon")].forEach((e) => e.remove()), q === "true") {
|
|
56
71
|
const e = document.createElement("div");
|
|
57
|
-
e.style.marginLeft =
|
|
72
|
+
e.style.marginLeft = D + "px", e.style.marginTop = W + "px", e.style.fontSize = M + "px", e.style.fontFamily = "Roboto, sans-serif", e.style.fontWeight = "400", e.style.color = "#66676d", e.style.opacity = "0.75", e.innerHTML = window.location.href, e.style.maxWidth = "90%", e.style.wordWrap = "break-word", e.style.overflowWrap = "break-word", o.appendChild(e);
|
|
58
73
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
74
|
+
const u = 50;
|
|
75
|
+
g.height = r.current.scrollHeight + u, g.width = r.current.scrollWidth + u * 2, o.style.padding = `${u}px`, n === "PNG" && G.toPng(o, g).then(function(e) {
|
|
76
|
+
if (!e) throw new Error("PNG render returned empty result");
|
|
77
|
+
return fetch(e).then((f) => f.blob());
|
|
78
|
+
}).then(function(e) {
|
|
79
|
+
U(e, J);
|
|
80
|
+
}).catch(function(e) {
|
|
81
|
+
console.error("PNG download failed:", e);
|
|
82
|
+
}), n === "JPG" && G.toJpeg(o, g).then(function(e) {
|
|
83
|
+
if (!e) throw new Error("JPEG render returned empty result");
|
|
84
|
+
return fetch(e).then((f) => f.blob());
|
|
85
|
+
}).then(function(e) {
|
|
86
|
+
U(e, T);
|
|
87
|
+
}).catch(function(e) {
|
|
88
|
+
console.error("JPG download failed:", e);
|
|
63
89
|
});
|
|
64
90
|
});
|
|
65
91
|
}, b = (n) => {
|
|
66
|
-
i ? alert("Not allowed when editing please preview page") :
|
|
92
|
+
i ? alert("Not allowed when editing please preview page") : H(n);
|
|
67
93
|
};
|
|
68
94
|
return /* @__PURE__ */ t(
|
|
69
95
|
x,
|
|
70
96
|
{
|
|
71
|
-
className: `viz download ${
|
|
72
|
-
${
|
|
73
|
-
${i ||
|
|
74
|
-
${
|
|
75
|
-
${
|
|
97
|
+
className: `viz download ${B} ${P ? "has-title" : ""}
|
|
98
|
+
${s || d ? "has-formats" : ""}
|
|
99
|
+
${i || c != null && c.editing ? "editing" : ""}
|
|
100
|
+
${s && d ? "multi-format" : ""}
|
|
101
|
+
${s && !d || !s && d ? "single-format" : ""}`,
|
|
76
102
|
fluid: !0,
|
|
77
|
-
children: /* @__PURE__ */
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
!i &&
|
|
103
|
+
children: /* @__PURE__ */ l(ee, { ref: r, children: [
|
|
104
|
+
/* @__PURE__ */ l(C, { stackable: !0, reversed: "mobile", className: "download-header", children: [
|
|
105
|
+
!i && P === "true" && /* @__PURE__ */ t(C.Column, { width: 12, children: /* @__PURE__ */ t(
|
|
80
106
|
L,
|
|
81
107
|
{
|
|
82
|
-
parentUnique:
|
|
108
|
+
parentUnique: a.unique,
|
|
83
109
|
post: { content: { rendered: decodeURIComponent($) } }
|
|
84
110
|
}
|
|
85
111
|
) }),
|
|
86
112
|
/* @__PURE__ */ t(
|
|
87
|
-
|
|
113
|
+
C.Column,
|
|
88
114
|
{
|
|
89
115
|
className: i ? "editing ignore" : "ignore",
|
|
90
|
-
width: i ||
|
|
116
|
+
width: i || P !== "true" ? 16 : 4,
|
|
91
117
|
textAlign: "right",
|
|
92
|
-
children: /* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
|
|
118
|
+
children: /* @__PURE__ */ l("div", { className: "wrapper", children: [
|
|
119
|
+
/* @__PURE__ */ l(Y, { className: "download", onClick: () => b(p), children: [
|
|
120
|
+
E,
|
|
95
121
|
" ",
|
|
96
122
|
p === "PNG" ? "PNG" : "JPG"
|
|
97
123
|
] }),
|
|
98
124
|
/* @__PURE__ */ t(
|
|
99
|
-
|
|
125
|
+
A,
|
|
100
126
|
{
|
|
101
127
|
className: "download",
|
|
102
|
-
"data-tooltip": decodeURIComponent(
|
|
103
|
-
trigger:
|
|
104
|
-
children: /* @__PURE__ */
|
|
105
|
-
|
|
106
|
-
|
|
128
|
+
"data-tooltip": decodeURIComponent(j),
|
|
129
|
+
trigger: d && s ? /* @__PURE__ */ t(Z, { name: "download", className: "download-icon" }) : null,
|
|
130
|
+
children: /* @__PURE__ */ l(A.Menu, { children: [
|
|
131
|
+
I,
|
|
132
|
+
s === !0 && /* @__PURE__ */ l(A.Item, { onClick: () => {
|
|
107
133
|
m("PNG"), b("PNG");
|
|
108
134
|
}, children: [
|
|
109
135
|
/* @__PURE__ */ t("input", { type: "radio", value: "PNG", checked: p === "PNG", onChange: v }),
|
|
110
|
-
/* @__PURE__ */ t("label", { children:
|
|
136
|
+
/* @__PURE__ */ t("label", { children: S })
|
|
111
137
|
] }),
|
|
112
|
-
|
|
138
|
+
d === !0 && /* @__PURE__ */ l(A.Item, { onClick: () => {
|
|
113
139
|
m("JPG"), b("JPG");
|
|
114
140
|
}, children: [
|
|
115
141
|
/* @__PURE__ */ t("input", { type: "radio", value: "JPG", checked: p === "JPG", onChange: v }),
|
|
116
|
-
/* @__PURE__ */ t("label", { children:
|
|
142
|
+
/* @__PURE__ */ t("label", { children: F })
|
|
117
143
|
] })
|
|
118
144
|
] })
|
|
119
145
|
}
|
|
@@ -122,20 +148,20 @@ const X = H.forwardRef((r, a) => /* @__PURE__ */ t("div", { ref: a, children: r.
|
|
|
122
148
|
}
|
|
123
149
|
)
|
|
124
150
|
] }),
|
|
125
|
-
!i && /* @__PURE__ */ t(x, { fluid: !0, className: `download area ${i ||
|
|
151
|
+
!i && /* @__PURE__ */ t(x, { fluid: !0, className: `download area ${i || c != null && c.editing ? "editing" : ""}`, children: /* @__PURE__ */ t(
|
|
126
152
|
L,
|
|
127
153
|
{
|
|
128
|
-
parentUnique:
|
|
154
|
+
parentUnique: a.unique,
|
|
129
155
|
post: { content: { rendered: h } }
|
|
130
156
|
}
|
|
131
157
|
) })
|
|
132
158
|
] })
|
|
133
159
|
}
|
|
134
160
|
);
|
|
135
|
-
},
|
|
136
|
-
const
|
|
137
|
-
return
|
|
138
|
-
},
|
|
161
|
+
}, ne = (a) => {
|
|
162
|
+
const r = a.getIn(["data", "pageModuleProps"]), h = {};
|
|
163
|
+
return r && (h.pageModuleProps = r), h;
|
|
164
|
+
}, oe = {}, ge = _(ne, oe)(te);
|
|
139
165
|
export {
|
|
140
|
-
|
|
166
|
+
ge as default
|
|
141
167
|
};
|