@interware/content-generator 0.1.1 → 0.1.3
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/_chunks/{App-CUBxywy1.mjs → App-BO5dp398.mjs} +6 -2
- package/dist/_chunks/{App-6ntGE8c-.js → App-Z_jLmgEa.js} +6 -2
- package/dist/_chunks/{Settings-DTPXHARn.mjs → Settings-C6a6AgQy.mjs} +2 -2
- package/dist/_chunks/{Settings-CwPVYHgw.js → Settings-CT0AQ5Px.js} +2 -2
- package/dist/_chunks/{getTranslation-AfxwBFKN.js → getTranslation-BdWuhMoN.js} +1 -1
- package/dist/_chunks/{getTranslation-Di36t3DD.mjs → getTranslation-CIMKEgGr.mjs} +1 -1
- package/dist/_chunks/{index-CkkBgYlg.mjs → index-CMQYbwsn.mjs} +2 -2
- package/dist/_chunks/{index-Dcpjhvs5.js → index-CSMac09y.js} +2 -2
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -5,9 +5,9 @@ import { useNavigate, Routes, Route } from "react-router-dom";
|
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { useCallback, memo, useMemo, useState, useRef, useEffect } from "react";
|
|
7
7
|
import { useDispatch, useSelector } from "react-redux";
|
|
8
|
-
import { c as closeDialog, o as openDialog, P as PLUGIN_ID, p as pluginPermissions } from "./index-
|
|
8
|
+
import { c as closeDialog, o as openDialog, P as PLUGIN_ID, p as pluginPermissions } from "./index-CMQYbwsn.mjs";
|
|
9
9
|
import { Play, Image } from "@strapi/icons";
|
|
10
|
-
import { g as getTranslation } from "./getTranslation-
|
|
10
|
+
import { g as getTranslation } from "./getTranslation-CIMKEgGr.mjs";
|
|
11
11
|
import { useFormik } from "formik";
|
|
12
12
|
import * as Yup from "yup";
|
|
13
13
|
const useDialog = (id) => {
|
|
@@ -304,8 +304,10 @@ const HomeContainer = () => {
|
|
|
304
304
|
switch (dialogId) {
|
|
305
305
|
case "generate-image-dialog":
|
|
306
306
|
closeImageGenerateDialog();
|
|
307
|
+
break;
|
|
307
308
|
case "publish-to-linked-in-dialog":
|
|
308
309
|
closePublishToLinkedInDialog();
|
|
310
|
+
break;
|
|
309
311
|
default:
|
|
310
312
|
return;
|
|
311
313
|
}
|
|
@@ -316,8 +318,10 @@ const HomeContainer = () => {
|
|
|
316
318
|
switch (dialogId) {
|
|
317
319
|
case "generate-image-dialog":
|
|
318
320
|
openImageGenerateDialog();
|
|
321
|
+
break;
|
|
319
322
|
case "publish-to-linked-in-dialog":
|
|
320
323
|
openPublishToLinkedInDialog();
|
|
324
|
+
break;
|
|
321
325
|
}
|
|
322
326
|
},
|
|
323
327
|
[openImageGenerateDialog, openPublishToLinkedInDialog]
|
|
@@ -7,9 +7,9 @@ const reactRouterDom = require("react-router-dom");
|
|
|
7
7
|
const reactIntl = require("react-intl");
|
|
8
8
|
const react = require("react");
|
|
9
9
|
const reactRedux = require("react-redux");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-CSMac09y.js");
|
|
11
11
|
const icons = require("@strapi/icons");
|
|
12
|
-
const getTranslation = require("./getTranslation-
|
|
12
|
+
const getTranslation = require("./getTranslation-BdWuhMoN.js");
|
|
13
13
|
const formik = require("formik");
|
|
14
14
|
const Yup = require("yup");
|
|
15
15
|
function _interopNamespace(e) {
|
|
@@ -324,8 +324,10 @@ const HomeContainer = () => {
|
|
|
324
324
|
switch (dialogId) {
|
|
325
325
|
case "generate-image-dialog":
|
|
326
326
|
closeImageGenerateDialog();
|
|
327
|
+
break;
|
|
327
328
|
case "publish-to-linked-in-dialog":
|
|
328
329
|
closePublishToLinkedInDialog();
|
|
330
|
+
break;
|
|
329
331
|
default:
|
|
330
332
|
return;
|
|
331
333
|
}
|
|
@@ -336,8 +338,10 @@ const HomeContainer = () => {
|
|
|
336
338
|
switch (dialogId) {
|
|
337
339
|
case "generate-image-dialog":
|
|
338
340
|
openImageGenerateDialog();
|
|
341
|
+
break;
|
|
339
342
|
case "publish-to-linked-in-dialog":
|
|
340
343
|
openPublishToLinkedInDialog();
|
|
344
|
+
break;
|
|
341
345
|
}
|
|
342
346
|
},
|
|
343
347
|
[openImageGenerateDialog, openPublishToLinkedInDialog]
|
|
@@ -5,8 +5,8 @@ import { useCallback, useState, useEffect } from "react";
|
|
|
5
5
|
import { Box, Grid, Field, Flex, Button, DesignSystemProvider, Typography } from "@strapi/design-system";
|
|
6
6
|
import { Formik } from "formik";
|
|
7
7
|
import * as Yup from "yup";
|
|
8
|
-
import { P as PLUGIN_ID } from "./index-
|
|
9
|
-
import { g as getTranslation } from "./getTranslation-
|
|
8
|
+
import { P as PLUGIN_ID } from "./index-CMQYbwsn.mjs";
|
|
9
|
+
import { g as getTranslation } from "./getTranslation-CIMKEgGr.mjs";
|
|
10
10
|
const useSettings = () => {
|
|
11
11
|
const { get, post } = useFetchClient();
|
|
12
12
|
const getSettings = useCallback(
|
|
@@ -7,8 +7,8 @@ const react = require("react");
|
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const formik = require("formik");
|
|
9
9
|
const Yup = require("yup");
|
|
10
|
-
const index = require("./index-
|
|
11
|
-
const getTranslation = require("./getTranslation-
|
|
10
|
+
const index = require("./index-CSMac09y.js");
|
|
11
|
+
const getTranslation = require("./getTranslation-BdWuhMoN.js");
|
|
12
12
|
function _interopNamespace(e) {
|
|
13
13
|
if (e && e.__esModule) return e;
|
|
14
14
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -76,7 +76,7 @@ const index = {
|
|
|
76
76
|
defaultMessage: PLUGIN_ID
|
|
77
77
|
},
|
|
78
78
|
Component: async () => {
|
|
79
|
-
const { App } = await import("./App-
|
|
79
|
+
const { App } = await import("./App-BO5dp398.mjs");
|
|
80
80
|
return App;
|
|
81
81
|
},
|
|
82
82
|
permissions: [
|
|
@@ -97,7 +97,7 @@ const index = {
|
|
|
97
97
|
defaultMessage: PLUGIN_ID
|
|
98
98
|
},
|
|
99
99
|
Component: async () => {
|
|
100
|
-
const component = await import("./Settings-
|
|
100
|
+
const component = await import("./Settings-C6a6AgQy.mjs");
|
|
101
101
|
return component.default;
|
|
102
102
|
},
|
|
103
103
|
to: `plugins/${PLUGIN_ID}/settings`,
|
|
@@ -77,7 +77,7 @@ const index = {
|
|
|
77
77
|
defaultMessage: PLUGIN_ID
|
|
78
78
|
},
|
|
79
79
|
Component: async () => {
|
|
80
|
-
const { App } = await Promise.resolve().then(() => require("./App-
|
|
80
|
+
const { App } = await Promise.resolve().then(() => require("./App-Z_jLmgEa.js"));
|
|
81
81
|
return App;
|
|
82
82
|
},
|
|
83
83
|
permissions: [
|
|
@@ -98,7 +98,7 @@ const index = {
|
|
|
98
98
|
defaultMessage: PLUGIN_ID
|
|
99
99
|
},
|
|
100
100
|
Component: async () => {
|
|
101
|
-
const component = await Promise.resolve().then(() => require("./Settings-
|
|
101
|
+
const component = await Promise.resolve().then(() => require("./Settings-CT0AQ5Px.js"));
|
|
102
102
|
return component.default;
|
|
103
103
|
},
|
|
104
104
|
to: `plugins/${PLUGIN_ID}/settings`,
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.3",
|
|
3
3
|
"keywords": [],
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"publishConfig": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@strapi/sdk-plugin": "^5.3.2",
|
|
73
|
-
"@strapi/strapi": "^5.
|
|
73
|
+
"@strapi/strapi": "^5.33.3",
|
|
74
74
|
"react": "^18.3.1",
|
|
75
75
|
"react-dom": "^18.3.1",
|
|
76
76
|
"react-router-dom": "^6.30.2",
|