strapi-plugin-comments 3.2.0 → 3.2.1
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/{index-DV3FvCxv.js → index-B19IlxIY.js} +36 -36
- package/dist/_chunks/{index-5LPolIUr.js → index-B9qwk6Sf.js} +1 -1
- package/dist/_chunks/{index-BHaPiDDi.js → index-BLBuBesY.js} +1 -1
- package/dist/_chunks/{index-rxGUTZN1.mjs → index-Bos1nB7H.mjs} +5716 -5680
- package/dist/_chunks/{index-D1CAoT0G.mjs → index-BvWdv1a2.mjs} +1 -1
- package/dist/_chunks/{index-CaQhYHpU.js → index-CD-Ke6qY.js} +1 -1
- package/dist/_chunks/{index-DCg7dWuW.mjs → index-CrjZ1-we.mjs} +2 -2
- package/dist/_chunks/{index-Bu69cWq9.mjs → index-xIUKJDL-.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/hooks/useSanitizedHTML.d.ts +1 -0
- package/dist/server/index.js +16 -16
- package/dist/server/index.mjs +375 -328
- package/dist/server/src/index.d.ts +3 -0
- package/dist/server/src/services/admin/admin.service.d.ts +1 -0
- package/dist/server/src/services/client.service.d.ts +1 -0
- package/dist/server/src/services/common.service.d.ts +1 -0
- package/dist/server/src/services/index.d.ts +3 -0
- package/package.json +2 -4
- package/dist/assets/configuration.png +0 -0
- package/dist/assets/logo.png +0 -0
- package/dist/assets/marketplace.png +0 -0
- package/dist/assets/preview.png +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Ir from "react";
|
|
2
2
|
import { useState as pu, useEffect as u_, useMemo as Ul, createContext as a_ } from "react";
|
|
3
|
-
import { p as f_, a as Rr } from "./index-
|
|
3
|
+
import { p as f_, a as Rr } from "./index-CrjZ1-we.mjs";
|
|
4
4
|
import { jsx as Le, jsxs as jt } from "react/jsx-runtime";
|
|
5
5
|
import { darkTheme as l_, lightTheme as s_, DesignSystemProvider as c_, Dialog as qn, Flex as p_, Typography as h_, Button as fl } from "@strapi/design-system";
|
|
6
6
|
import { useQuery as d_, QueryClientProvider as g_, QueryClient as v_ } from "@tanstack/react-query";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Kn=require("react"),ir=require("./index-
|
|
1
|
+
"use strict";const Kn=require("react"),ir=require("./index-BLBuBesY.js"),me=require("react/jsx-runtime"),$e=require("@strapi/design-system"),Eu=require("@tanstack/react-query"),f_=require("@strapi/icons"),Bl=require("@strapi/strapi/admin"),v=require("zod");function l_(a){if(a&&a.__esModule)return a;const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const o in a)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(a,o);Object.defineProperty(i,o,c.get?c:{enumerable:!0,get:()=>a[o]})}}return i.default=a,Object.freeze(i)}const $r=l_(Kn),s_=()=>{const a=()=>window.matchMedia("(prefers-color-scheme: dark)").matches,[i,o]=Kn.useState();return Kn.useEffect(()=>{const h=a()?"dark":"light",m=window.localStorage?.STRAPI_THEME;o(m==="system"?h:m)},[]),{theme:i==="dark"?$e.darkTheme:$e.lightTheme,themeName:i}};var oi=function(){return oi=Object.assign||function(i){for(var o,c=1,h=arguments.length;c<h;c++){o=arguments[c];for(var m in o)Object.prototype.hasOwnProperty.call(o,m)&&(i[m]=o[m])}return i},oi.apply(this,arguments)};function Wl(a,i){var o={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&i.indexOf(c)<0&&(o[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,c=Object.getOwnPropertySymbols(a);h<c.length;h++)i.indexOf(c[h])<0&&Object.prototype.propertyIsEnumerable.call(a,c[h])&&(o[c[h]]=a[c[h]]);return o}var or=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function c_(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function p_(a){if(a.__esModule)return a;var i=a.default;if(typeof i=="function"){var o=function c(){return this instanceof c?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};o.prototype=i.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(a).forEach(function(c){var h=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(o,c,h.get?h:{enumerable:!0,get:function(){return a[c]}})}),o}var hu={exports:{}},ne={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -76,7 +76,7 @@ const f = "strapi-plugin-comments", $ = {
|
|
|
76
76
|
id: `${s}.plugin.name`,
|
|
77
77
|
defaultMessage: d
|
|
78
78
|
},
|
|
79
|
-
Component: () => import("./index-
|
|
79
|
+
Component: () => import("./index-Bos1nB7H.mjs"),
|
|
80
80
|
permissions: l.access
|
|
81
81
|
}), e.createSettingSection(
|
|
82
82
|
{
|
|
@@ -94,7 +94,7 @@ const f = "strapi-plugin-comments", $ = {
|
|
|
94
94
|
},
|
|
95
95
|
id: "comments",
|
|
96
96
|
to: `/settings/${s}`,
|
|
97
|
-
Component: () => import("./index-
|
|
97
|
+
Component: () => import("./index-xIUKJDL-.mjs"),
|
|
98
98
|
permissions: l.settings
|
|
99
99
|
}
|
|
100
100
|
]
|
|
@@ -3,7 +3,7 @@ import { Button as F, Box as p, Flex as q, Typography as m, Grid as s, Field as
|
|
|
3
3
|
import { Check as se, Play as le, ArrowClockwise as N } from "@strapi/icons";
|
|
4
4
|
import { useNotification as ae, Page as W, Layouts as j, Form as ce } from "@strapi/strapi/admin";
|
|
5
5
|
import { useMutation as T, useQuery as P, useQueryClient as de } from "@tanstack/react-query";
|
|
6
|
-
import { u as U, f as ge, a as he, g as t, l as D, e as pe } from "./index-
|
|
6
|
+
import { u as U, f as ge, a as he, g as t, l as D, e as pe } from "./index-BvWdv1a2.mjs";
|
|
7
7
|
import { useMemo as me, useRef as ue, useState as be, useCallback as Q } from "react";
|
|
8
8
|
import fe from "styled-components";
|
|
9
9
|
const M = ({
|
package/dist/admin/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("../_chunks/index-
|
|
1
|
+
"use strict";const e=require("../_chunks/index-BLBuBesY.js");require("react");require("@strapi/design-system");require("@strapi/icons");module.exports=e.index;
|
package/dist/admin/index.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useSanitizedHTML: (html: string) => string;
|