@ozguraltan/strapi-content-input 1.0.12 → 1.0.21
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 +156 -49
- package/dist/admin/{AnalyticsHubPage-DNREITPq.js → AnalyticsHubPage-0p0Mx4AU.js} +60 -9
- package/dist/admin/{AnalyticsHubPage-Dj4roAe0.mjs → AnalyticsHubPage-DsrcGI_Y.mjs} +60 -9
- package/dist/admin/{ContentInputField-2hk9xG8p.js → ContentInputField-7rWLSx_7.js} +11995 -1174
- package/dist/admin/{ContentInputField-Ko-r12jl.mjs → ContentInputField-CHXrzvE-.mjs} +11813 -1010
- package/dist/admin/{SurveyWidgetEditor-B1S83aBE.mjs → SurveyWidgetEditor-BVN6X_3G.mjs} +3944 -1089
- package/dist/admin/{SurveyWidgetEditor-B3F4DE5r.js → SurveyWidgetEditor-BmgYQaQS.js} +3924 -1068
- package/dist/admin/{en-bneQpRJa.js → en-BZg845za.js} +2 -2
- package/dist/admin/{en-DnLdDKyq.mjs → en-C9LN2PJY.mjs} +2 -2
- package/dist/admin/{index-B4FpXxnK.js → index-CZAwXCFH.js} +16 -6
- package/dist/admin/{index-gn-4eO6g.mjs → index-hFIuYqu5.mjs} +16 -6
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/color-codes/ColorCodesManager.d.ts +10 -0
- package/dist/admin/src/components/common/CIAspectRatioField.d.ts +35 -0
- package/dist/admin/src/components/common/CIColorField.d.ts +13 -0
- package/dist/admin/src/components/widgets/CustomCardWidgetEditor.d.ts +83 -0
- package/dist/admin/src/components/widgets/DataTableWidgetEditor.d.ts +65 -0
- package/dist/admin/src/components/widgets/EntityCardWidgetEditor.d.ts +10 -0
- package/dist/admin/src/components/widgets/HeroSliderStage.d.ts +153 -0
- package/dist/admin/src/components/widgets/HeroSliderWidgetEditor.d.ts +21 -0
- package/dist/admin/src/components/widgets/StrapiMediaPicker.d.ts +2 -0
- package/dist/admin/src/components/widgets/SurveyWidgetEditor.d.ts +1 -1
- package/dist/admin/src/core/colorUtils.d.ts +30 -0
- package/dist/admin/src/core/sampleData.d.ts +2 -1
- package/dist/admin/src/core/useColorCodes.d.ts +43 -0
- package/dist/admin/{tr-00QqO0E7.mjs → tr-MtQFY92V.mjs} +2 -2
- package/dist/admin/{tr-O0nhB9er.js → tr-ZEmzAvKR.js} +2 -2
- package/dist/server/index.js +990 -106
- package/dist/server/index.mjs +990 -106
- package/dist/server/src/content-types/ci-color-palette/schema.json.d.ts +52 -0
- package/dist/server/src/content-types/index.d.ts +50 -0
- package/dist/server/src/controllers/ci-color.d.ts +14 -0
- package/dist/server/src/controllers/index.d.ts +12 -0
- package/dist/server/src/index.d.ts +119 -0
- package/dist/server/src/services/ci-color.d.ts +127 -0
- package/dist/server/src/services/index.d.ts +57 -0
- package/dist/server/src/utils/mailer.d.ts +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"kind": "collectionType",
|
|
3
|
+
"collectionName": "ci_color_palettes",
|
|
4
|
+
"info": {
|
|
5
|
+
"singularName": "ci-color-palette",
|
|
6
|
+
"pluralName": "ci-color-palettes",
|
|
7
|
+
"displayName": "ContentInput Color Palette",
|
|
8
|
+
"description": "Theme color codes (HEX & RGB/RGBA semantic tokens + custom brand color tokens)"
|
|
9
|
+
},
|
|
10
|
+
"options": {
|
|
11
|
+
"draftAndPublish": false
|
|
12
|
+
},
|
|
13
|
+
"pluginOptions": {
|
|
14
|
+
"content-manager": {
|
|
15
|
+
"visible": false
|
|
16
|
+
},
|
|
17
|
+
"content-type-builder": {
|
|
18
|
+
"visible": false
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"attributes": {
|
|
22
|
+
"name": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": true
|
|
25
|
+
},
|
|
26
|
+
"slug": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": true,
|
|
29
|
+
"unique": true
|
|
30
|
+
},
|
|
31
|
+
"description": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"default": ""
|
|
34
|
+
},
|
|
35
|
+
"isActive": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false
|
|
38
|
+
},
|
|
39
|
+
"semanticTokens": {
|
|
40
|
+
"type": "json",
|
|
41
|
+
"required": true
|
|
42
|
+
},
|
|
43
|
+
"customTokens": {
|
|
44
|
+
"type": "json",
|
|
45
|
+
"default": []
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
;
|
|
51
|
+
|
|
52
|
+
export default _default;
|
|
@@ -399,5 +399,55 @@ declare const _default: {
|
|
|
399
399
|
};
|
|
400
400
|
};
|
|
401
401
|
};
|
|
402
|
+
'ci-color-palette': {
|
|
403
|
+
schema: {
|
|
404
|
+
kind: string;
|
|
405
|
+
collectionName: string;
|
|
406
|
+
info: {
|
|
407
|
+
singularName: string;
|
|
408
|
+
pluralName: string;
|
|
409
|
+
displayName: string;
|
|
410
|
+
description: string;
|
|
411
|
+
};
|
|
412
|
+
options: {
|
|
413
|
+
draftAndPublish: boolean;
|
|
414
|
+
};
|
|
415
|
+
pluginOptions: {
|
|
416
|
+
"content-manager": {
|
|
417
|
+
visible: boolean;
|
|
418
|
+
};
|
|
419
|
+
"content-type-builder": {
|
|
420
|
+
visible: boolean;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
attributes: {
|
|
424
|
+
name: {
|
|
425
|
+
type: string;
|
|
426
|
+
required: boolean;
|
|
427
|
+
};
|
|
428
|
+
slug: {
|
|
429
|
+
type: string;
|
|
430
|
+
required: boolean;
|
|
431
|
+
unique: boolean;
|
|
432
|
+
};
|
|
433
|
+
description: {
|
|
434
|
+
type: string;
|
|
435
|
+
default: string;
|
|
436
|
+
};
|
|
437
|
+
isActive: {
|
|
438
|
+
type: string;
|
|
439
|
+
default: boolean;
|
|
440
|
+
};
|
|
441
|
+
semanticTokens: {
|
|
442
|
+
type: string;
|
|
443
|
+
required: boolean;
|
|
444
|
+
};
|
|
445
|
+
customTokens: {
|
|
446
|
+
type: string;
|
|
447
|
+
default: any[];
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
402
452
|
};
|
|
403
453
|
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Core } from '@strapi/strapi';
|
|
2
|
+
declare const ciColorController: ({ strapi }: {
|
|
3
|
+
strapi: Core.Strapi;
|
|
4
|
+
}) => {
|
|
5
|
+
indexAdmin(ctx: any): Promise<void>;
|
|
6
|
+
activePublic(ctx: any): Promise<void>;
|
|
7
|
+
save(ctx: any): Promise<void>;
|
|
8
|
+
activate(ctx: any): Promise<any>;
|
|
9
|
+
quickToken(ctx: any): Promise<any>;
|
|
10
|
+
delete(ctx: any): Promise<void>;
|
|
11
|
+
dataTableCollection(ctx: any): Promise<any>;
|
|
12
|
+
entityCardsBatch(ctx: any): Promise<any>;
|
|
13
|
+
};
|
|
14
|
+
export default ciColorController;
|
|
@@ -56,5 +56,17 @@ declare const _default: {
|
|
|
56
56
|
exportResponses(ctx: any): Promise<any>;
|
|
57
57
|
reseedDemo(ctx: any): Promise<void>;
|
|
58
58
|
};
|
|
59
|
+
'ci-color': ({ strapi }: {
|
|
60
|
+
strapi: import('@strapi/types/dist/core/strapi.js').Strapi;
|
|
61
|
+
}) => {
|
|
62
|
+
indexAdmin(ctx: any): Promise<void>;
|
|
63
|
+
activePublic(ctx: any): Promise<void>;
|
|
64
|
+
save(ctx: any): Promise<void>;
|
|
65
|
+
activate(ctx: any): Promise<any>;
|
|
66
|
+
quickToken(ctx: any): Promise<any>;
|
|
67
|
+
delete(ctx: any): Promise<void>;
|
|
68
|
+
dataTableCollection(ctx: any): Promise<any>;
|
|
69
|
+
entityCardsBatch(ctx: any): Promise<any>;
|
|
70
|
+
};
|
|
59
71
|
};
|
|
60
72
|
export default _default;
|
|
@@ -72,6 +72,18 @@ declare const _default: {
|
|
|
72
72
|
exportResponses(ctx: any): Promise<any>;
|
|
73
73
|
reseedDemo(ctx: any): Promise<void>;
|
|
74
74
|
};
|
|
75
|
+
'ci-color': ({ strapi }: {
|
|
76
|
+
strapi: import('@strapi/types/dist/core/strapi.js').Strapi;
|
|
77
|
+
}) => {
|
|
78
|
+
indexAdmin(ctx: any): Promise<void>;
|
|
79
|
+
activePublic(ctx: any): Promise<void>;
|
|
80
|
+
save(ctx: any): Promise<void>;
|
|
81
|
+
activate(ctx: any): Promise<any>;
|
|
82
|
+
quickToken(ctx: any): Promise<any>;
|
|
83
|
+
delete(ctx: any): Promise<void>;
|
|
84
|
+
dataTableCollection(ctx: any): Promise<any>;
|
|
85
|
+
entityCardsBatch(ctx: any): Promise<any>;
|
|
86
|
+
};
|
|
75
87
|
};
|
|
76
88
|
routes: {
|
|
77
89
|
admin: {
|
|
@@ -540,6 +552,63 @@ declare const _default: {
|
|
|
540
552
|
body: string;
|
|
541
553
|
}>;
|
|
542
554
|
};
|
|
555
|
+
'ci-color': ({ strapi }: {
|
|
556
|
+
strapi: import('@strapi/types/dist/core/strapi.js').Strapi;
|
|
557
|
+
}) => {
|
|
558
|
+
ensureSeeded(): Promise<void>;
|
|
559
|
+
findAll(): Promise<{
|
|
560
|
+
data: any[];
|
|
561
|
+
active: any;
|
|
562
|
+
cssVariables: Record<string, string>;
|
|
563
|
+
}>;
|
|
564
|
+
findActivePublic(slugOverride?: string): Promise<{
|
|
565
|
+
data: any;
|
|
566
|
+
palette: any;
|
|
567
|
+
palettes: {
|
|
568
|
+
name: any;
|
|
569
|
+
slug: any;
|
|
570
|
+
isActive: boolean;
|
|
571
|
+
primary: any;
|
|
572
|
+
secondary: any;
|
|
573
|
+
accent: any;
|
|
574
|
+
}[];
|
|
575
|
+
cssVariables: Record<string, string>;
|
|
576
|
+
}>;
|
|
577
|
+
save(payload: any): Promise<any>;
|
|
578
|
+
activate(idOrSlug: string | number): Promise<any>;
|
|
579
|
+
upsertQuickCustomToken(input: {
|
|
580
|
+
key: string;
|
|
581
|
+
label?: string;
|
|
582
|
+
labels?: Record<string, string>;
|
|
583
|
+
value: string;
|
|
584
|
+
}): Promise<any>;
|
|
585
|
+
remove(idOrSlug: string | number): Promise<any>;
|
|
586
|
+
queryCollectionForDataTable(params: {
|
|
587
|
+
uid: string;
|
|
588
|
+
limit?: number;
|
|
589
|
+
sort?: string;
|
|
590
|
+
}): Promise<{
|
|
591
|
+
columns: any[];
|
|
592
|
+
rows: any[];
|
|
593
|
+
uid?: undefined;
|
|
594
|
+
displayName?: undefined;
|
|
595
|
+
availableFields?: undefined;
|
|
596
|
+
} | {
|
|
597
|
+
uid: string;
|
|
598
|
+
displayName: any;
|
|
599
|
+
availableFields: {
|
|
600
|
+
key: string;
|
|
601
|
+
type: string;
|
|
602
|
+
}[];
|
|
603
|
+
rows: Record<string, any>[];
|
|
604
|
+
columns?: undefined;
|
|
605
|
+
}>;
|
|
606
|
+
resolveEntityCardsBatch(params: {
|
|
607
|
+
uid: string;
|
|
608
|
+
documentIds?: string[];
|
|
609
|
+
limit?: number;
|
|
610
|
+
}): Promise<any[]>;
|
|
611
|
+
};
|
|
543
612
|
};
|
|
544
613
|
contentTypes: {
|
|
545
614
|
'ci-template': {
|
|
@@ -942,6 +1011,56 @@ declare const _default: {
|
|
|
942
1011
|
};
|
|
943
1012
|
};
|
|
944
1013
|
};
|
|
1014
|
+
'ci-color-palette': {
|
|
1015
|
+
schema: {
|
|
1016
|
+
kind: string;
|
|
1017
|
+
collectionName: string;
|
|
1018
|
+
info: {
|
|
1019
|
+
singularName: string;
|
|
1020
|
+
pluralName: string;
|
|
1021
|
+
displayName: string;
|
|
1022
|
+
description: string;
|
|
1023
|
+
};
|
|
1024
|
+
options: {
|
|
1025
|
+
draftAndPublish: boolean;
|
|
1026
|
+
};
|
|
1027
|
+
pluginOptions: {
|
|
1028
|
+
"content-manager": {
|
|
1029
|
+
visible: boolean;
|
|
1030
|
+
};
|
|
1031
|
+
"content-type-builder": {
|
|
1032
|
+
visible: boolean;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
attributes: {
|
|
1036
|
+
name: {
|
|
1037
|
+
type: string;
|
|
1038
|
+
required: boolean;
|
|
1039
|
+
};
|
|
1040
|
+
slug: {
|
|
1041
|
+
type: string;
|
|
1042
|
+
required: boolean;
|
|
1043
|
+
unique: boolean;
|
|
1044
|
+
};
|
|
1045
|
+
description: {
|
|
1046
|
+
type: string;
|
|
1047
|
+
default: string;
|
|
1048
|
+
};
|
|
1049
|
+
isActive: {
|
|
1050
|
+
type: string;
|
|
1051
|
+
default: boolean;
|
|
1052
|
+
};
|
|
1053
|
+
semanticTokens: {
|
|
1054
|
+
type: string;
|
|
1055
|
+
required: boolean;
|
|
1056
|
+
};
|
|
1057
|
+
customTokens: {
|
|
1058
|
+
type: string;
|
|
1059
|
+
default: any[];
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
945
1064
|
};
|
|
946
1065
|
};
|
|
947
1066
|
export default _default;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Core } from '@strapi/strapi';
|
|
2
|
+
export interface ParsedRgba {
|
|
3
|
+
r: number;
|
|
4
|
+
g: number;
|
|
5
|
+
b: number;
|
|
6
|
+
a: number;
|
|
7
|
+
}
|
|
8
|
+
export interface SemanticTokenEntry {
|
|
9
|
+
value: string;
|
|
10
|
+
hex: string;
|
|
11
|
+
rgb: string;
|
|
12
|
+
soft: string;
|
|
13
|
+
contrast: string;
|
|
14
|
+
labels?: Record<string, string>;
|
|
15
|
+
}
|
|
16
|
+
export interface CustomTokenEntry {
|
|
17
|
+
key: string;
|
|
18
|
+
value: string;
|
|
19
|
+
hex: string;
|
|
20
|
+
rgb: string;
|
|
21
|
+
soft: string;
|
|
22
|
+
contrast: string;
|
|
23
|
+
labels: Record<string, string>;
|
|
24
|
+
}
|
|
25
|
+
export declare function parseColorToRgba(rawInput: string, fallback?: ParsedRgba): ParsedRgba;
|
|
26
|
+
export declare function rgbaToHex({ r, g, b, a }: ParsedRgba): string;
|
|
27
|
+
export declare function rgbaToCssString({ r, g, b, a }: ParsedRgba): string;
|
|
28
|
+
export declare function buildTokenEntry(rawVal: string, labels?: Record<string, string>, overrides?: Partial<SemanticTokenEntry>): SemanticTokenEntry;
|
|
29
|
+
export declare const SEMANTIC_TOKEN_META: Array<{
|
|
30
|
+
key: string;
|
|
31
|
+
tr: string;
|
|
32
|
+
en: string;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const DEFAULT_PALETTE_SEEDS: {
|
|
35
|
+
name: string;
|
|
36
|
+
slug: string;
|
|
37
|
+
description: string;
|
|
38
|
+
isActive: boolean;
|
|
39
|
+
rawSemantic: {
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
accent: string;
|
|
43
|
+
success: string;
|
|
44
|
+
warning: string;
|
|
45
|
+
error: string;
|
|
46
|
+
info: string;
|
|
47
|
+
surface: string;
|
|
48
|
+
surfaceAlt: string;
|
|
49
|
+
background: string;
|
|
50
|
+
textPrimary: string;
|
|
51
|
+
textSecondary: string;
|
|
52
|
+
border: string;
|
|
53
|
+
};
|
|
54
|
+
rawCustom: {
|
|
55
|
+
key: string;
|
|
56
|
+
value: string;
|
|
57
|
+
labels: {
|
|
58
|
+
tr: string;
|
|
59
|
+
en: string;
|
|
60
|
+
};
|
|
61
|
+
}[];
|
|
62
|
+
}[];
|
|
63
|
+
export declare function buildCssVariablesMap(palette: any): Record<string, string>;
|
|
64
|
+
declare const ciColorService: ({ strapi }: {
|
|
65
|
+
strapi: Core.Strapi;
|
|
66
|
+
}) => {
|
|
67
|
+
ensureSeeded(): Promise<void>;
|
|
68
|
+
findAll(): Promise<{
|
|
69
|
+
data: any[];
|
|
70
|
+
active: any;
|
|
71
|
+
cssVariables: Record<string, string>;
|
|
72
|
+
}>;
|
|
73
|
+
findActivePublic(slugOverride?: string): Promise<{
|
|
74
|
+
data: any;
|
|
75
|
+
palette: any;
|
|
76
|
+
palettes: {
|
|
77
|
+
name: any;
|
|
78
|
+
slug: any;
|
|
79
|
+
isActive: boolean;
|
|
80
|
+
primary: any;
|
|
81
|
+
secondary: any;
|
|
82
|
+
accent: any;
|
|
83
|
+
}[];
|
|
84
|
+
cssVariables: Record<string, string>;
|
|
85
|
+
}>;
|
|
86
|
+
save(payload: any): Promise<any>;
|
|
87
|
+
activate(idOrSlug: string | number): Promise<any>;
|
|
88
|
+
upsertQuickCustomToken(input: {
|
|
89
|
+
key: string;
|
|
90
|
+
label?: string;
|
|
91
|
+
labels?: Record<string, string>;
|
|
92
|
+
value: string;
|
|
93
|
+
}): Promise<any>;
|
|
94
|
+
remove(idOrSlug: string | number): Promise<any>;
|
|
95
|
+
/**
|
|
96
|
+
* Safe public collection query for Data Table (`sourceMode: 'strapi_collection'`)
|
|
97
|
+
*/
|
|
98
|
+
queryCollectionForDataTable(params: {
|
|
99
|
+
uid: string;
|
|
100
|
+
limit?: number;
|
|
101
|
+
sort?: string;
|
|
102
|
+
}): Promise<{
|
|
103
|
+
columns: any[];
|
|
104
|
+
rows: any[];
|
|
105
|
+
uid?: undefined;
|
|
106
|
+
displayName?: undefined;
|
|
107
|
+
availableFields?: undefined;
|
|
108
|
+
} | {
|
|
109
|
+
uid: string;
|
|
110
|
+
displayName: any;
|
|
111
|
+
availableFields: {
|
|
112
|
+
key: string;
|
|
113
|
+
type: string;
|
|
114
|
+
}[];
|
|
115
|
+
rows: Record<string, any>[];
|
|
116
|
+
columns?: undefined;
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* Batch Entity Cards resolver for `entityCard` Swiper Carousel & Grid modes
|
|
120
|
+
*/
|
|
121
|
+
resolveEntityCardsBatch(params: {
|
|
122
|
+
uid: string;
|
|
123
|
+
documentIds?: string[];
|
|
124
|
+
limit?: number;
|
|
125
|
+
}): Promise<any[]>;
|
|
126
|
+
};
|
|
127
|
+
export default ciColorService;
|
|
@@ -431,5 +431,62 @@ declare const _default: {
|
|
|
431
431
|
body: string;
|
|
432
432
|
}>;
|
|
433
433
|
};
|
|
434
|
+
'ci-color': ({ strapi }: {
|
|
435
|
+
strapi: import('@strapi/types/dist/core/strapi.js').Strapi;
|
|
436
|
+
}) => {
|
|
437
|
+
ensureSeeded(): Promise<void>;
|
|
438
|
+
findAll(): Promise<{
|
|
439
|
+
data: any[];
|
|
440
|
+
active: any;
|
|
441
|
+
cssVariables: Record<string, string>;
|
|
442
|
+
}>;
|
|
443
|
+
findActivePublic(slugOverride?: string): Promise<{
|
|
444
|
+
data: any;
|
|
445
|
+
palette: any;
|
|
446
|
+
palettes: {
|
|
447
|
+
name: any;
|
|
448
|
+
slug: any;
|
|
449
|
+
isActive: boolean;
|
|
450
|
+
primary: any;
|
|
451
|
+
secondary: any;
|
|
452
|
+
accent: any;
|
|
453
|
+
}[];
|
|
454
|
+
cssVariables: Record<string, string>;
|
|
455
|
+
}>;
|
|
456
|
+
save(payload: any): Promise<any>;
|
|
457
|
+
activate(idOrSlug: string | number): Promise<any>;
|
|
458
|
+
upsertQuickCustomToken(input: {
|
|
459
|
+
key: string;
|
|
460
|
+
label?: string;
|
|
461
|
+
labels?: Record<string, string>;
|
|
462
|
+
value: string;
|
|
463
|
+
}): Promise<any>;
|
|
464
|
+
remove(idOrSlug: string | number): Promise<any>;
|
|
465
|
+
queryCollectionForDataTable(params: {
|
|
466
|
+
uid: string;
|
|
467
|
+
limit?: number;
|
|
468
|
+
sort?: string;
|
|
469
|
+
}): Promise<{
|
|
470
|
+
columns: any[];
|
|
471
|
+
rows: any[];
|
|
472
|
+
uid?: undefined;
|
|
473
|
+
displayName?: undefined;
|
|
474
|
+
availableFields?: undefined;
|
|
475
|
+
} | {
|
|
476
|
+
uid: string;
|
|
477
|
+
displayName: any;
|
|
478
|
+
availableFields: {
|
|
479
|
+
key: string;
|
|
480
|
+
type: string;
|
|
481
|
+
}[];
|
|
482
|
+
rows: Record<string, any>[];
|
|
483
|
+
columns?: undefined;
|
|
484
|
+
}>;
|
|
485
|
+
resolveEntityCardsBatch(params: {
|
|
486
|
+
uid: string;
|
|
487
|
+
documentIds?: string[];
|
|
488
|
+
limit?: number;
|
|
489
|
+
}): Promise<any[]>;
|
|
490
|
+
};
|
|
434
491
|
};
|
|
435
492
|
export default _default;
|
|
@@ -33,6 +33,7 @@ export declare function renderContentFormMailHtml(params: SendFormMailParams): {
|
|
|
33
33
|
html: string;
|
|
34
34
|
text: string;
|
|
35
35
|
};
|
|
36
|
+
export declare function discoverMailtrapSandboxInbox(rawToken?: string): Promise<string>;
|
|
36
37
|
export declare function sendDynamicFormMail(params: SendFormMailParams): Promise<{
|
|
37
38
|
sent: boolean;
|
|
38
39
|
driver: string;
|
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.21",
|
|
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,7 +70,8 @@
|
|
|
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"
|
|
73
|
+
"swiper": "^14.4.0",
|
|
74
|
+
"xlsx": "^0.18.5"
|
|
74
75
|
},
|
|
75
76
|
"devDependencies": {
|
|
76
77
|
"@strapi/sdk-plugin": "^6.1.1",
|