@ozguraltan/strapi-content-input 1.0.26 → 1.0.27

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.
@@ -156,7 +156,7 @@ const index = {
156
156
  },
157
157
  icon: PluginIcon,
158
158
  components: {
159
- Input: async () => Promise.resolve().then(() => require("./ContentInputField-CNWVLuRt.js")).then((mod) => ({
159
+ Input: async () => Promise.resolve().then(() => require("./ContentInputField-DgS2wZNb.js")).then((mod) => ({
160
160
  default: mod.ContentInputField
161
161
  }))
162
162
  },
@@ -191,7 +191,7 @@ const index = {
191
191
  defaultMessage: "ContentInput Hub"
192
192
  },
193
193
  permissions: [],
194
- Component: () => Promise.resolve().then(() => require("./AnalyticsHubPage-CHlhvUIU.js")).then((mod) => ({
194
+ Component: () => Promise.resolve().then(() => require("./AnalyticsHubPage-BzKx8DTv.js")).then((mod) => ({
195
195
  default: mod.AnalyticsHubPage
196
196
  })),
197
197
  position: 7
@@ -153,7 +153,7 @@ const index = {
153
153
  },
154
154
  icon: PluginIcon,
155
155
  components: {
156
- Input: async () => import("./ContentInputField-BeKDx_bb.mjs").then((mod) => ({
156
+ Input: async () => import("./ContentInputField-DQvPlNcD.mjs").then((mod) => ({
157
157
  default: mod.ContentInputField
158
158
  }))
159
159
  },
@@ -188,7 +188,7 @@ const index = {
188
188
  defaultMessage: "ContentInput Hub"
189
189
  },
190
190
  permissions: [],
191
- Component: () => import("./AnalyticsHubPage-Crz4vv46.mjs").then((mod) => ({
191
+ Component: () => import("./AnalyticsHubPage-1d4lx37k.mjs").then((mod) => ({
192
192
  default: mod.AnalyticsHubPage
193
193
  })),
194
194
  position: 7
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const index = require("./index-DuJM60tO.js");
3
+ const index = require("./index-BvofXe07.js");
4
4
  require("react");
5
5
  exports.default = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "./index-DSDcG4QW.mjs";
1
+ import { i } from "./index-CStmbvTw.mjs";
2
2
  import "react";
3
3
  export {
4
4
  i as default
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ export type StudioChartKind = 'bar' | 'col' | 'doughnut' | 'none';
3
+ export interface QuestionExcelOverride {
4
+ included: boolean;
5
+ chartType: StudioChartKind;
6
+ customTitle: string;
7
+ }
8
+ export interface ExcelReportStudioModalProps {
9
+ open: boolean;
10
+ onClose: () => void;
11
+ surveySlugOrId: string;
12
+ analytics: any;
13
+ dateFrom?: string;
14
+ dateTo?: string;
15
+ uiLocale?: string;
16
+ }
17
+ export declare const ExcelReportStudioModal: React.FC<ExcelReportStudioModalProps>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Hardened, zero-dependency browser OOXML (.xlsx) reader.
3
+ * Uses native ArrayBuffer DataView + W3C DecompressionStream('deflate-raw') + DOMParser.
4
+ * Eliminates vulnerable third-party spreadsheet parsers (xlsx@0.18.5 CVEs) with strict
5
+ * zip-bomb, path-traversal, and prototype-pollution guards.
6
+ */
7
+ export interface SafeParsedWorkbook {
8
+ SheetNames: string[];
9
+ Sheets: Record<string, Array<Record<string, any>>>;
10
+ }
11
+ export declare function readXlsxWorkbookFromBuffer(buf: ArrayBuffer): Promise<SafeParsedWorkbook>;