@ozguraltan/strapi-content-input 1.0.25 → 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.
- package/README.md +10 -2
- package/dist/admin/{AnalyticsHubPage-BO6Lg1qh.mjs → AnalyticsHubPage-1d4lx37k.mjs} +30 -52
- package/dist/admin/{AnalyticsHubPage-0fb7chuv.js → AnalyticsHubPage-BzKx8DTv.js} +30 -70
- package/dist/admin/{ContentInputField-C-fh5qGC.mjs → ContentInputField-DQvPlNcD.mjs} +427 -11
- package/dist/admin/{ContentInputField-CnVzTBNf.js → ContentInputField-DgS2wZNb.js} +427 -29
- package/dist/admin/{SurveyWidgetEditor-DdZBpfbS.mjs → SurveyWidgetEditor-BZHyY2eb.mjs} +2893 -107
- package/dist/admin/{SurveyWidgetEditor-DNDtKbmo.js → SurveyWidgetEditor-k7kA6LQT.js} +2893 -107
- package/dist/admin/{index--fSIDKkt.js → index-BvofXe07.js} +2 -2
- package/dist/admin/{index-BdrFmPg5.mjs → index-CStmbvTw.mjs} +2 -2
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/analytics/ExcelReportStudioModal.d.ts +17 -0
- package/dist/admin/src/components/widgets/SurveyWidgetEditor.d.ts +2 -0
- package/dist/admin/src/core/xlsxBrowserReader.d.ts +11 -0
- package/dist/server/index.js +3081 -1524
- package/dist/server/index.mjs +3081 -1506
- package/dist/server/src/controllers/ci-form.d.ts +1 -0
- package/dist/server/src/controllers/index.d.ts +1 -0
- package/dist/server/src/index.d.ts +31 -1
- package/dist/server/src/services/ci-form.d.ts +6 -1
- package/dist/server/src/services/ci-survey.d.ts +25 -1
- package/dist/server/src/services/index.d.ts +30 -1
- package/dist/server/src/utils/surveyEngine.d.ts +22 -1
- package/dist/server/src/utils/xlsxReportBuilder.d.ts +38 -0
- package/package.json +2 -3
|
@@ -10,6 +10,7 @@ declare const ciFormController: ({ strapi }: {
|
|
|
10
10
|
save(ctx: any): Promise<any>;
|
|
11
11
|
delete(ctx: any): Promise<void>;
|
|
12
12
|
submissions(ctx: any): Promise<void>;
|
|
13
|
+
exportSubmissions(ctx: any): Promise<void>;
|
|
13
14
|
recaptchaKey(ctx: any): Promise<void>;
|
|
14
15
|
submit(ctx: any): Promise<void>;
|
|
15
16
|
entityCard(ctx: any): Promise<any>;
|
|
@@ -37,6 +37,7 @@ declare const _default: {
|
|
|
37
37
|
save(ctx: any): Promise<any>;
|
|
38
38
|
delete(ctx: any): Promise<void>;
|
|
39
39
|
submissions(ctx: any): Promise<void>;
|
|
40
|
+
exportSubmissions(ctx: any): Promise<void>;
|
|
40
41
|
recaptchaKey(ctx: any): Promise<void>;
|
|
41
42
|
submit(ctx: any): Promise<void>;
|
|
42
43
|
entityCard(ctx: any): Promise<any>;
|
|
@@ -57,6 +57,7 @@ declare const _default: {
|
|
|
57
57
|
save(ctx: any): Promise<any>;
|
|
58
58
|
delete(ctx: any): Promise<void>;
|
|
59
59
|
submissions(ctx: any): Promise<void>;
|
|
60
|
+
exportSubmissions(ctx: any): Promise<void>;
|
|
60
61
|
recaptchaKey(ctx: any): Promise<void>;
|
|
61
62
|
submit(ctx: any): Promise<void>;
|
|
62
63
|
entityCard(ctx: any): Promise<any>;
|
|
@@ -216,7 +217,12 @@ declare const _default: {
|
|
|
216
217
|
remove(idOrDocId: string | number): Promise<{
|
|
217
218
|
success: boolean;
|
|
218
219
|
}>;
|
|
219
|
-
listSubmissions(formIdOrSlug?: string): Promise<any[]>;
|
|
220
|
+
listSubmissions(formIdOrSlug?: string, limit?: number): Promise<any[]>;
|
|
221
|
+
exportSubmissionsXlsx(formIdOrSlug?: string, locale?: import('./utils/formValidator').ValidationLocale): Promise<{
|
|
222
|
+
filename: string;
|
|
223
|
+
contentType: string;
|
|
224
|
+
body: Buffer<ArrayBufferLike>;
|
|
225
|
+
}>;
|
|
220
226
|
getPublicRecaptchaConfig(): {
|
|
221
227
|
publicKey: string;
|
|
222
228
|
enabled: boolean;
|
|
@@ -350,6 +356,10 @@ declare const _default: {
|
|
|
350
356
|
type: any;
|
|
351
357
|
title: any;
|
|
352
358
|
answeredCount: any;
|
|
359
|
+
scoredCount: any;
|
|
360
|
+
noOpinionCount: any;
|
|
361
|
+
noOpinionPercentage: any;
|
|
362
|
+
noOpinionLabels: any;
|
|
353
363
|
optionsBreakdown: any;
|
|
354
364
|
average: any;
|
|
355
365
|
distribution: any;
|
|
@@ -399,6 +409,10 @@ declare const _default: {
|
|
|
399
409
|
type: any;
|
|
400
410
|
title: any;
|
|
401
411
|
answeredCount: any;
|
|
412
|
+
scoredCount: any;
|
|
413
|
+
noOpinionCount: any;
|
|
414
|
+
noOpinionPercentage: any;
|
|
415
|
+
noOpinionLabels: any;
|
|
402
416
|
optionsBreakdown: any;
|
|
403
417
|
average: any;
|
|
404
418
|
distribution: any;
|
|
@@ -426,6 +440,10 @@ declare const _default: {
|
|
|
426
440
|
type: any;
|
|
427
441
|
title: any;
|
|
428
442
|
answeredCount: any;
|
|
443
|
+
scoredCount: any;
|
|
444
|
+
noOpinionCount: any;
|
|
445
|
+
noOpinionPercentage: any;
|
|
446
|
+
noOpinionLabels: any;
|
|
429
447
|
optionsBreakdown: any;
|
|
430
448
|
average: any;
|
|
431
449
|
distribution: any;
|
|
@@ -468,6 +486,7 @@ declare const _default: {
|
|
|
468
486
|
};
|
|
469
487
|
questionStats: ({
|
|
470
488
|
answeredCount: number;
|
|
489
|
+
noOpinionCount: number;
|
|
471
490
|
optionsBreakdown: {
|
|
472
491
|
id: string;
|
|
473
492
|
labels: Record<string, string>;
|
|
@@ -487,6 +506,11 @@ declare const _default: {
|
|
|
487
506
|
hasConditions: boolean;
|
|
488
507
|
} | {
|
|
489
508
|
answeredCount: number;
|
|
509
|
+
scoredCount: number;
|
|
510
|
+
allowNoOpinion: boolean;
|
|
511
|
+
noOpinionCount: number;
|
|
512
|
+
noOpinionPercentage: number;
|
|
513
|
+
noOpinionLabels: Record<string, string>;
|
|
490
514
|
min: number;
|
|
491
515
|
max: number;
|
|
492
516
|
lowLabel: string | Record<string, string>;
|
|
@@ -533,6 +557,11 @@ declare const _default: {
|
|
|
533
557
|
hasConditions: boolean;
|
|
534
558
|
} | {
|
|
535
559
|
answeredCount: number;
|
|
560
|
+
rankedCount: number;
|
|
561
|
+
allowNoOpinion: boolean;
|
|
562
|
+
noOpinionCount: number;
|
|
563
|
+
noOpinionPercentage: number;
|
|
564
|
+
noOpinionLabels: Record<string, string>;
|
|
536
565
|
rankingBreakdown: {
|
|
537
566
|
id: string;
|
|
538
567
|
labels: Record<string, string>;
|
|
@@ -579,6 +608,7 @@ declare const _default: {
|
|
|
579
608
|
locale?: import('./utils/formValidator').ValidationLocale;
|
|
580
609
|
from?: string;
|
|
581
610
|
to?: string;
|
|
611
|
+
xlsxOptions?: import('./utils/xlsxReportBuilder').CISurveyXlsxCustomOptions;
|
|
582
612
|
}): Promise<{
|
|
583
613
|
filename: string;
|
|
584
614
|
contentType: string;
|
|
@@ -194,7 +194,12 @@ declare const ciFormService: ({ strapi }: {
|
|
|
194
194
|
remove(idOrDocId: string | number): Promise<{
|
|
195
195
|
success: boolean;
|
|
196
196
|
}>;
|
|
197
|
-
listSubmissions(formIdOrSlug?: string): Promise<any[]>;
|
|
197
|
+
listSubmissions(formIdOrSlug?: string, limit?: number): Promise<any[]>;
|
|
198
|
+
exportSubmissionsXlsx(formIdOrSlug?: string, locale?: ValidationLocale): Promise<{
|
|
199
|
+
filename: string;
|
|
200
|
+
contentType: string;
|
|
201
|
+
body: Buffer<ArrayBufferLike>;
|
|
202
|
+
}>;
|
|
198
203
|
getPublicRecaptchaConfig(): {
|
|
199
204
|
publicKey: string;
|
|
200
205
|
enabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Core } from '@strapi/strapi';
|
|
2
2
|
import { ValidationLocale } from '../utils/formValidator';
|
|
3
|
-
import { CISurveyAnalyticsFilter, CISurveyDefinition } from '../utils/surveyEngine';
|
|
3
|
+
import { CISurveyAnalyticsFilter, CISurveyDefinition, CISurveyXlsxCustomOptions } from '../utils/surveyEngine';
|
|
4
4
|
declare const ciSurveyService: ({ strapi }: {
|
|
5
5
|
strapi: Core.Strapi;
|
|
6
6
|
}) => {
|
|
@@ -78,6 +78,10 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
78
78
|
type: any;
|
|
79
79
|
title: any;
|
|
80
80
|
answeredCount: any;
|
|
81
|
+
scoredCount: any;
|
|
82
|
+
noOpinionCount: any;
|
|
83
|
+
noOpinionPercentage: any;
|
|
84
|
+
noOpinionLabels: any;
|
|
81
85
|
optionsBreakdown: any;
|
|
82
86
|
average: any;
|
|
83
87
|
distribution: any;
|
|
@@ -127,6 +131,10 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
127
131
|
type: any;
|
|
128
132
|
title: any;
|
|
129
133
|
answeredCount: any;
|
|
134
|
+
scoredCount: any;
|
|
135
|
+
noOpinionCount: any;
|
|
136
|
+
noOpinionPercentage: any;
|
|
137
|
+
noOpinionLabels: any;
|
|
130
138
|
optionsBreakdown: any;
|
|
131
139
|
average: any;
|
|
132
140
|
distribution: any;
|
|
@@ -154,6 +162,10 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
154
162
|
type: any;
|
|
155
163
|
title: any;
|
|
156
164
|
answeredCount: any;
|
|
165
|
+
scoredCount: any;
|
|
166
|
+
noOpinionCount: any;
|
|
167
|
+
noOpinionPercentage: any;
|
|
168
|
+
noOpinionLabels: any;
|
|
157
169
|
optionsBreakdown: any;
|
|
158
170
|
average: any;
|
|
159
171
|
distribution: any;
|
|
@@ -196,6 +208,7 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
196
208
|
};
|
|
197
209
|
questionStats: ({
|
|
198
210
|
answeredCount: number;
|
|
211
|
+
noOpinionCount: number;
|
|
199
212
|
optionsBreakdown: {
|
|
200
213
|
id: string;
|
|
201
214
|
labels: Record<string, string>;
|
|
@@ -215,6 +228,11 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
215
228
|
hasConditions: boolean;
|
|
216
229
|
} | {
|
|
217
230
|
answeredCount: number;
|
|
231
|
+
scoredCount: number;
|
|
232
|
+
allowNoOpinion: boolean;
|
|
233
|
+
noOpinionCount: number;
|
|
234
|
+
noOpinionPercentage: number;
|
|
235
|
+
noOpinionLabels: Record<string, string>;
|
|
218
236
|
min: number;
|
|
219
237
|
max: number;
|
|
220
238
|
lowLabel: string | Record<string, string>;
|
|
@@ -261,6 +279,11 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
261
279
|
hasConditions: boolean;
|
|
262
280
|
} | {
|
|
263
281
|
answeredCount: number;
|
|
282
|
+
rankedCount: number;
|
|
283
|
+
allowNoOpinion: boolean;
|
|
284
|
+
noOpinionCount: number;
|
|
285
|
+
noOpinionPercentage: number;
|
|
286
|
+
noOpinionLabels: Record<string, string>;
|
|
264
287
|
rankingBreakdown: {
|
|
265
288
|
id: string;
|
|
266
289
|
labels: Record<string, string>;
|
|
@@ -307,6 +330,7 @@ declare const ciSurveyService: ({ strapi }: {
|
|
|
307
330
|
locale?: ValidationLocale;
|
|
308
331
|
from?: string;
|
|
309
332
|
to?: string;
|
|
333
|
+
xlsxOptions?: CISurveyXlsxCustomOptions;
|
|
310
334
|
}): Promise<{
|
|
311
335
|
filename: string;
|
|
312
336
|
contentType: string;
|
|
@@ -86,7 +86,12 @@ declare const _default: {
|
|
|
86
86
|
remove(idOrDocId: string | number): Promise<{
|
|
87
87
|
success: boolean;
|
|
88
88
|
}>;
|
|
89
|
-
listSubmissions(formIdOrSlug?: string): Promise<any[]>;
|
|
89
|
+
listSubmissions(formIdOrSlug?: string, limit?: number): Promise<any[]>;
|
|
90
|
+
exportSubmissionsXlsx(formIdOrSlug?: string, locale?: import('../utils/formValidator').ValidationLocale): Promise<{
|
|
91
|
+
filename: string;
|
|
92
|
+
contentType: string;
|
|
93
|
+
body: Buffer<ArrayBufferLike>;
|
|
94
|
+
}>;
|
|
90
95
|
getPublicRecaptchaConfig(): {
|
|
91
96
|
publicKey: string;
|
|
92
97
|
enabled: boolean;
|
|
@@ -220,6 +225,10 @@ declare const _default: {
|
|
|
220
225
|
type: any;
|
|
221
226
|
title: any;
|
|
222
227
|
answeredCount: any;
|
|
228
|
+
scoredCount: any;
|
|
229
|
+
noOpinionCount: any;
|
|
230
|
+
noOpinionPercentage: any;
|
|
231
|
+
noOpinionLabels: any;
|
|
223
232
|
optionsBreakdown: any;
|
|
224
233
|
average: any;
|
|
225
234
|
distribution: any;
|
|
@@ -269,6 +278,10 @@ declare const _default: {
|
|
|
269
278
|
type: any;
|
|
270
279
|
title: any;
|
|
271
280
|
answeredCount: any;
|
|
281
|
+
scoredCount: any;
|
|
282
|
+
noOpinionCount: any;
|
|
283
|
+
noOpinionPercentage: any;
|
|
284
|
+
noOpinionLabels: any;
|
|
272
285
|
optionsBreakdown: any;
|
|
273
286
|
average: any;
|
|
274
287
|
distribution: any;
|
|
@@ -296,6 +309,10 @@ declare const _default: {
|
|
|
296
309
|
type: any;
|
|
297
310
|
title: any;
|
|
298
311
|
answeredCount: any;
|
|
312
|
+
scoredCount: any;
|
|
313
|
+
noOpinionCount: any;
|
|
314
|
+
noOpinionPercentage: any;
|
|
315
|
+
noOpinionLabels: any;
|
|
299
316
|
optionsBreakdown: any;
|
|
300
317
|
average: any;
|
|
301
318
|
distribution: any;
|
|
@@ -338,6 +355,7 @@ declare const _default: {
|
|
|
338
355
|
};
|
|
339
356
|
questionStats: ({
|
|
340
357
|
answeredCount: number;
|
|
358
|
+
noOpinionCount: number;
|
|
341
359
|
optionsBreakdown: {
|
|
342
360
|
id: string;
|
|
343
361
|
labels: Record<string, string>;
|
|
@@ -357,6 +375,11 @@ declare const _default: {
|
|
|
357
375
|
hasConditions: boolean;
|
|
358
376
|
} | {
|
|
359
377
|
answeredCount: number;
|
|
378
|
+
scoredCount: number;
|
|
379
|
+
allowNoOpinion: boolean;
|
|
380
|
+
noOpinionCount: number;
|
|
381
|
+
noOpinionPercentage: number;
|
|
382
|
+
noOpinionLabels: Record<string, string>;
|
|
360
383
|
min: number;
|
|
361
384
|
max: number;
|
|
362
385
|
lowLabel: string | Record<string, string>;
|
|
@@ -403,6 +426,11 @@ declare const _default: {
|
|
|
403
426
|
hasConditions: boolean;
|
|
404
427
|
} | {
|
|
405
428
|
answeredCount: number;
|
|
429
|
+
rankedCount: number;
|
|
430
|
+
allowNoOpinion: boolean;
|
|
431
|
+
noOpinionCount: number;
|
|
432
|
+
noOpinionPercentage: number;
|
|
433
|
+
noOpinionLabels: Record<string, string>;
|
|
406
434
|
rankingBreakdown: {
|
|
407
435
|
id: string;
|
|
408
436
|
labels: Record<string, string>;
|
|
@@ -449,6 +477,7 @@ declare const _default: {
|
|
|
449
477
|
locale?: import('../utils/formValidator').ValidationLocale;
|
|
450
478
|
from?: string;
|
|
451
479
|
to?: string;
|
|
480
|
+
xlsxOptions?: import('../utils/xlsxReportBuilder').CISurveyXlsxCustomOptions;
|
|
452
481
|
}): Promise<{
|
|
453
482
|
filename: string;
|
|
454
483
|
contentType: string;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { ValidationLocale } from './formValidator';
|
|
2
|
+
import { CISurveyXlsxCustomOptions } from './xlsxReportBuilder';
|
|
3
|
+
export type { CISurveyXlsxCustomOptions } from './xlsxReportBuilder';
|
|
4
|
+
export declare const NO_OPINION_VALUE = "__na__";
|
|
5
|
+
export declare function resolveNoOpinionLabels(raw?: Record<string, string> | string): Record<string, string>;
|
|
2
6
|
export type CISurveyQuestionType = 'single_choice' | 'multiple_choice' | 'dropdown' | 'image_choice' | 'star_rating' | 'nps' | 'likert_scale' | 'matrix_single' | 'ranking' | 'short_text' | 'long_text' | 'statement' | 'consent';
|
|
3
7
|
export interface CISurveyOption {
|
|
4
8
|
id: string;
|
|
@@ -32,6 +36,8 @@ export interface CISurveyQuestion {
|
|
|
32
36
|
validation?: string;
|
|
33
37
|
allowOther?: boolean;
|
|
34
38
|
otherLabel?: Record<string, string> | string;
|
|
39
|
+
allowNoOpinion?: boolean;
|
|
40
|
+
noOpinionLabel?: Record<string, string> | string;
|
|
35
41
|
shuffleOptions?: boolean;
|
|
36
42
|
inline?: boolean;
|
|
37
43
|
minSelections?: number;
|
|
@@ -134,6 +140,7 @@ export declare function computeSurveyAnalytics(survey: CISurveyDefinition, rawRe
|
|
|
134
140
|
};
|
|
135
141
|
questionStats: ({
|
|
136
142
|
answeredCount: number;
|
|
143
|
+
noOpinionCount: number;
|
|
137
144
|
optionsBreakdown: {
|
|
138
145
|
id: string;
|
|
139
146
|
labels: Record<string, string>;
|
|
@@ -153,6 +160,11 @@ export declare function computeSurveyAnalytics(survey: CISurveyDefinition, rawRe
|
|
|
153
160
|
hasConditions: boolean;
|
|
154
161
|
} | {
|
|
155
162
|
answeredCount: number;
|
|
163
|
+
scoredCount: number;
|
|
164
|
+
allowNoOpinion: boolean;
|
|
165
|
+
noOpinionCount: number;
|
|
166
|
+
noOpinionPercentage: number;
|
|
167
|
+
noOpinionLabels: Record<string, string>;
|
|
156
168
|
min: number;
|
|
157
169
|
max: number;
|
|
158
170
|
lowLabel: string | Record<string, string>;
|
|
@@ -199,6 +211,11 @@ export declare function computeSurveyAnalytics(survey: CISurveyDefinition, rawRe
|
|
|
199
211
|
hasConditions: boolean;
|
|
200
212
|
} | {
|
|
201
213
|
answeredCount: number;
|
|
214
|
+
rankedCount: number;
|
|
215
|
+
allowNoOpinion: boolean;
|
|
216
|
+
noOpinionCount: number;
|
|
217
|
+
noOpinionPercentage: number;
|
|
218
|
+
noOpinionLabels: Record<string, string>;
|
|
202
219
|
rankingBreakdown: {
|
|
203
220
|
id: string;
|
|
204
221
|
labels: Record<string, string>;
|
|
@@ -245,6 +262,10 @@ export declare function computePublicSurveyResults(survey: CISurveyDefinition, r
|
|
|
245
262
|
type: any;
|
|
246
263
|
title: any;
|
|
247
264
|
answeredCount: any;
|
|
265
|
+
scoredCount: any;
|
|
266
|
+
noOpinionCount: any;
|
|
267
|
+
noOpinionPercentage: any;
|
|
268
|
+
noOpinionLabels: any;
|
|
248
269
|
optionsBreakdown: any;
|
|
249
270
|
average: any;
|
|
250
271
|
distribution: any;
|
|
@@ -254,4 +275,4 @@ export declare function computePublicSurveyResults(survey: CISurveyDefinition, r
|
|
|
254
275
|
}[];
|
|
255
276
|
};
|
|
256
277
|
export declare function exportSurveyResponsesToCsv(survey: CISurveyDefinition, rawResponses: any[], locale?: ValidationLocale): string;
|
|
257
|
-
export declare function exportSurveyResponsesToXlsxBuffer(survey: CISurveyDefinition, rawResponses: any[], locale?: ValidationLocale): Buffer;
|
|
278
|
+
export declare function exportSurveyResponsesToXlsxBuffer(survey: CISurveyDefinition, rawResponses: any[], locale?: ValidationLocale, customOptions?: CISurveyXlsxCustomOptions): Buffer;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ValidationLocale } from './formValidator';
|
|
2
|
+
import { CISurveyDefinition } from './surveyEngine';
|
|
3
|
+
/**
|
|
4
|
+
* Zero-dependency, zero-zlib standards-compliant OOXML (.xlsx) Executive Workbook & Chart Engine.
|
|
5
|
+
* Uses pure TypeScript ZIP STORE (method = 0) + CRC-32 — no native zlib, pako, jszip, or xlsx packages.
|
|
6
|
+
*/
|
|
7
|
+
export type ExcelQuestionChartKind = 'bar' | 'col' | 'doughnut' | 'none';
|
|
8
|
+
export interface ExcelQuestionOverride {
|
|
9
|
+
included?: boolean;
|
|
10
|
+
chartType?: ExcelQuestionChartKind;
|
|
11
|
+
customTitle?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface CISurveyXlsxCustomOptions {
|
|
14
|
+
locale?: ValidationLocale;
|
|
15
|
+
from?: string;
|
|
16
|
+
to?: string;
|
|
17
|
+
reportTitle?: string;
|
|
18
|
+
executiveNote?: string;
|
|
19
|
+
themeColor?: string;
|
|
20
|
+
includeTrendChart?: boolean;
|
|
21
|
+
includeDataBars?: boolean;
|
|
22
|
+
includeRawSheet?: boolean;
|
|
23
|
+
questionOverrides?: Record<string, ExcelQuestionOverride>;
|
|
24
|
+
}
|
|
25
|
+
export declare function buildZipStoreBuffer(entries: Array<{
|
|
26
|
+
path: string;
|
|
27
|
+
data: Uint8Array | string;
|
|
28
|
+
}>): Buffer;
|
|
29
|
+
export declare function getDefaultChartKindForQuestion(qType: string, displayMode?: string): ExcelQuestionChartKind;
|
|
30
|
+
export declare function buildSurveyExecutiveXlsxBuffer(survey: CISurveyDefinition, rawResponses: any[], options?: CISurveyXlsxCustomOptions): Buffer;
|
|
31
|
+
export declare function buildStyledTableXlsxBuffer(params: {
|
|
32
|
+
sheetName: string;
|
|
33
|
+
bannerTitle: string;
|
|
34
|
+
bannerSubtitle?: string;
|
|
35
|
+
themeColor?: string;
|
|
36
|
+
headers: string[];
|
|
37
|
+
rows: Array<Array<string | number | null | undefined>>;
|
|
38
|
+
}): Buffer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ozguraltan/strapi-content-input",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "Locomotive CMS ContentInput visual page/content builder ported to Strapi v5 as a native JSONB Custom Field plugin.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ozgur Altan <ozguraltan05@gmail.com>",
|
|
@@ -70,8 +70,7 @@
|
|
|
70
70
|
"@strapi/icons": "^2.0.0",
|
|
71
71
|
"lodash": "^4.17.21",
|
|
72
72
|
"react-intl": "^6.6.2",
|
|
73
|
-
"swiper": "^14.4.0"
|
|
74
|
-
"xlsx": "^0.18.5"
|
|
73
|
+
"swiper": "^14.4.0"
|
|
75
74
|
},
|
|
76
75
|
"devDependencies": {
|
|
77
76
|
"@strapi/sdk-plugin": "^6.1.1",
|