@bluepic/embed 0.4.0-next.96 → 0.4.0-next.98
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/bluepic-embed.iife.js +63 -64
- package/dist/bluepic-embed.umd.js +63 -64
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +0 -1
- package/dist/{cpp-DaPzgJ_t.cjs → cpp-CEORmSCT.cjs} +1 -1
- package/dist/{cpp-Cx0NomaW.js → cpp-CH0U-pDu.js} +12 -16
- package/dist/{css-BCTOmdxR.js → css-DXX4BvrO.js} +9 -3
- package/dist/css-l--Pv1Vb.cjs +1 -0
- package/dist/embed/embed.d.ts +199 -151
- package/dist/{javascript-DII1YQGr.js → javascript-BAHKs5qZ.js} +3 -2
- package/dist/{javascript-C_6NC1K7.cjs → javascript-NPBda6fN.cjs} +1 -1
- package/dist/json-C4rahuoJ.cjs +1 -0
- package/dist/{json-C_6Prymp.js → json-DYK-YbD3.js} +15 -9
- package/dist/main.cjs +64 -65
- package/dist/main.mjs +10415 -10395
- package/dist/scss-C_iicH8I.cjs +1 -0
- package/dist/{scss-CknrYxoA.js → scss-DybQU0yX.js} +31 -25
- package/dist/style.css +1 -1
- package/dist/{typescript-SNUkGeOU.js → typescript-BRD67TAB.js} +3 -2
- package/dist/{typescript-Cjpf3bLL.cjs → typescript-ro3bsRwC.cjs} +1 -1
- package/dist/util/cloudflareImages.d.ts +1 -8
- package/dist/util/gallery.d.ts +20 -20
- package/dist/util/useTheme.d.ts +1 -431
- package/package.json +4 -4
- package/dist/css-UgpohNaw.cjs +0 -1
- package/dist/json-DEcHyC5F.cjs +0 -1
- package/dist/scss-DpqvoUEp.cjs +0 -1
package/dist/embed/embed.d.ts
CHANGED
|
@@ -22,7 +22,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
22
22
|
readonly bridge: FieldsBridge;
|
|
23
23
|
readonly showBackBtn: boolean;
|
|
24
24
|
readonly branding: boolean;
|
|
25
|
-
readonly exportOptions: z.infer<
|
|
25
|
+
readonly exportOptions: z.infer<z.ZodObject<{
|
|
26
|
+
bluepicBranding: z.ZodBoolean;
|
|
27
|
+
layout: z.ZodEnum<{
|
|
28
|
+
stack: "stack";
|
|
29
|
+
gallery: "gallery";
|
|
30
|
+
"selection:horizontal": "selection:horizontal";
|
|
31
|
+
"selection:vertical": "selection:vertical";
|
|
32
|
+
}>;
|
|
33
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
36
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
37
|
+
sortByCategories: z.ZodBoolean;
|
|
38
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
+
export: z.ZodObject<{
|
|
41
|
+
linkedInOAuth: z.ZodBoolean;
|
|
42
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
socialConnections: z.ZodObject<{
|
|
44
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
actionalConnections: z.ZodObject<{
|
|
52
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
54
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
26
58
|
readonly apiBaseUrl: string;
|
|
27
59
|
readonly env: "prod" | "dev";
|
|
28
60
|
readonly templateId: string;
|
|
@@ -31,7 +63,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
31
63
|
readonly captions?: {
|
|
32
64
|
[templateId: string]: string;
|
|
33
65
|
} | undefined;
|
|
34
|
-
readonly exportDisabled: boolean;
|
|
35
66
|
readonly consumeCreditsOnRender: boolean;
|
|
36
67
|
readonly preCacheLocalRendering?: boolean | undefined;
|
|
37
68
|
readonly data?: {
|
|
@@ -91,7 +122,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
91
122
|
bridge: FieldsBridge;
|
|
92
123
|
showBackBtn: boolean;
|
|
93
124
|
branding: boolean;
|
|
94
|
-
exportOptions: z.infer<
|
|
125
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
126
|
+
bluepicBranding: z.ZodBoolean;
|
|
127
|
+
layout: z.ZodEnum<{
|
|
128
|
+
stack: "stack";
|
|
129
|
+
gallery: "gallery";
|
|
130
|
+
"selection:horizontal": "selection:horizontal";
|
|
131
|
+
"selection:vertical": "selection:vertical";
|
|
132
|
+
}>;
|
|
133
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
134
|
+
title: z.ZodOptional<z.ZodString>;
|
|
135
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
136
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
137
|
+
sortByCategories: z.ZodBoolean;
|
|
138
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
139
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
140
|
+
export: z.ZodObject<{
|
|
141
|
+
linkedInOAuth: z.ZodBoolean;
|
|
142
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
socialConnections: z.ZodObject<{
|
|
144
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
actionalConnections: z.ZodObject<{
|
|
152
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
154
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
}, z.core.$strip>>;
|
|
95
158
|
apiBaseUrl: string;
|
|
96
159
|
env: "prod" | "dev";
|
|
97
160
|
templateId: string;
|
|
@@ -100,7 +163,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
100
163
|
captions?: {
|
|
101
164
|
[templateId: string]: string;
|
|
102
165
|
};
|
|
103
|
-
exportDisabled: boolean;
|
|
104
166
|
consumeCreditsOnRender: boolean;
|
|
105
167
|
preCacheLocalRendering?: boolean;
|
|
106
168
|
data?: {
|
|
@@ -2885,7 +2947,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2885
2947
|
bridge: FieldsBridge;
|
|
2886
2948
|
showBackBtn: boolean;
|
|
2887
2949
|
branding: boolean;
|
|
2888
|
-
exportOptions: z.infer<
|
|
2950
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
2951
|
+
bluepicBranding: z.ZodBoolean;
|
|
2952
|
+
layout: z.ZodEnum<{
|
|
2953
|
+
stack: "stack";
|
|
2954
|
+
gallery: "gallery";
|
|
2955
|
+
"selection:horizontal": "selection:horizontal";
|
|
2956
|
+
"selection:vertical": "selection:vertical";
|
|
2957
|
+
}>;
|
|
2958
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
2959
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2960
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
2961
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2962
|
+
sortByCategories: z.ZodBoolean;
|
|
2963
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2964
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2965
|
+
export: z.ZodObject<{
|
|
2966
|
+
linkedInOAuth: z.ZodBoolean;
|
|
2967
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
2968
|
+
socialConnections: z.ZodObject<{
|
|
2969
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
2970
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
2971
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
2972
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
2973
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
2974
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
2975
|
+
}, z.core.$strip>;
|
|
2976
|
+
actionalConnections: z.ZodObject<{
|
|
2977
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
2978
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
2979
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
2980
|
+
}, z.core.$strip>;
|
|
2981
|
+
}, z.core.$strip>;
|
|
2982
|
+
}, z.core.$strip>>;
|
|
2889
2983
|
apiBaseUrl: string;
|
|
2890
2984
|
env: "prod" | "dev";
|
|
2891
2985
|
templateId: string;
|
|
@@ -2894,7 +2988,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
2894
2988
|
captions?: {
|
|
2895
2989
|
[templateId: string]: string;
|
|
2896
2990
|
};
|
|
2897
|
-
exportDisabled: boolean;
|
|
2898
2991
|
consumeCreditsOnRender: boolean;
|
|
2899
2992
|
preCacheLocalRendering?: boolean;
|
|
2900
2993
|
data?: {
|
|
@@ -4291,7 +4384,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4291
4384
|
readonly bridge: FieldsBridge;
|
|
4292
4385
|
readonly showBackBtn: boolean;
|
|
4293
4386
|
readonly branding: boolean;
|
|
4294
|
-
readonly exportOptions: z.infer<
|
|
4387
|
+
readonly exportOptions: z.infer<z.ZodObject<{
|
|
4388
|
+
bluepicBranding: z.ZodBoolean;
|
|
4389
|
+
layout: z.ZodEnum<{
|
|
4390
|
+
stack: "stack";
|
|
4391
|
+
gallery: "gallery";
|
|
4392
|
+
"selection:horizontal": "selection:horizontal";
|
|
4393
|
+
"selection:vertical": "selection:vertical";
|
|
4394
|
+
}>;
|
|
4395
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
4396
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4397
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
4398
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4399
|
+
sortByCategories: z.ZodBoolean;
|
|
4400
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4401
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4402
|
+
export: z.ZodObject<{
|
|
4403
|
+
linkedInOAuth: z.ZodBoolean;
|
|
4404
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
4405
|
+
socialConnections: z.ZodObject<{
|
|
4406
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
4407
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
4408
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
4409
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
4410
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
4411
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
4412
|
+
}, z.core.$strip>;
|
|
4413
|
+
actionalConnections: z.ZodObject<{
|
|
4414
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
4415
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
4416
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
4417
|
+
}, z.core.$strip>;
|
|
4418
|
+
}, z.core.$strip>;
|
|
4419
|
+
}, z.core.$strip>>;
|
|
4295
4420
|
readonly apiBaseUrl: string;
|
|
4296
4421
|
readonly env: "prod" | "dev";
|
|
4297
4422
|
readonly templateId: string;
|
|
@@ -4300,7 +4425,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4300
4425
|
readonly captions?: {
|
|
4301
4426
|
[templateId: string]: string;
|
|
4302
4427
|
} | undefined;
|
|
4303
|
-
readonly exportDisabled: boolean;
|
|
4304
4428
|
readonly consumeCreditsOnRender: boolean;
|
|
4305
4429
|
readonly preCacheLocalRendering?: boolean | undefined;
|
|
4306
4430
|
readonly data?: {
|
|
@@ -4360,7 +4484,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4360
4484
|
bridge: FieldsBridge;
|
|
4361
4485
|
showBackBtn: boolean;
|
|
4362
4486
|
branding: boolean;
|
|
4363
|
-
exportOptions: z.infer<
|
|
4487
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
4488
|
+
bluepicBranding: z.ZodBoolean;
|
|
4489
|
+
layout: z.ZodEnum<{
|
|
4490
|
+
stack: "stack";
|
|
4491
|
+
gallery: "gallery";
|
|
4492
|
+
"selection:horizontal": "selection:horizontal";
|
|
4493
|
+
"selection:vertical": "selection:vertical";
|
|
4494
|
+
}>;
|
|
4495
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
4496
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4497
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
4498
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4499
|
+
sortByCategories: z.ZodBoolean;
|
|
4500
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4501
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4502
|
+
export: z.ZodObject<{
|
|
4503
|
+
linkedInOAuth: z.ZodBoolean;
|
|
4504
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
4505
|
+
socialConnections: z.ZodObject<{
|
|
4506
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
4507
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
4508
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
4509
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
4510
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
4511
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
4512
|
+
}, z.core.$strip>;
|
|
4513
|
+
actionalConnections: z.ZodObject<{
|
|
4514
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
4515
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
4516
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
4517
|
+
}, z.core.$strip>;
|
|
4518
|
+
}, z.core.$strip>;
|
|
4519
|
+
}, z.core.$strip>>;
|
|
4364
4520
|
apiBaseUrl: string;
|
|
4365
4521
|
env: "prod" | "dev";
|
|
4366
4522
|
templateId: string;
|
|
@@ -4369,7 +4525,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
4369
4525
|
captions?: {
|
|
4370
4526
|
[templateId: string]: string;
|
|
4371
4527
|
};
|
|
4372
|
-
exportDisabled: boolean;
|
|
4373
4528
|
consumeCreditsOnRender: boolean;
|
|
4374
4529
|
preCacheLocalRendering?: boolean;
|
|
4375
4530
|
data?: {
|
|
@@ -7154,7 +7309,39 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7154
7309
|
bridge: FieldsBridge;
|
|
7155
7310
|
showBackBtn: boolean;
|
|
7156
7311
|
branding: boolean;
|
|
7157
|
-
exportOptions: z.infer<
|
|
7312
|
+
exportOptions: z.infer<z.ZodObject<{
|
|
7313
|
+
bluepicBranding: z.ZodBoolean;
|
|
7314
|
+
layout: z.ZodEnum<{
|
|
7315
|
+
stack: "stack";
|
|
7316
|
+
gallery: "gallery";
|
|
7317
|
+
"selection:horizontal": "selection:horizontal";
|
|
7318
|
+
"selection:vertical": "selection:vertical";
|
|
7319
|
+
}>;
|
|
7320
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
7321
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7322
|
+
allowPanAndZoom: z.ZodBoolean;
|
|
7323
|
+
customStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7324
|
+
sortByCategories: z.ZodBoolean;
|
|
7325
|
+
captions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7326
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7327
|
+
export: z.ZodObject<{
|
|
7328
|
+
linkedInOAuth: z.ZodBoolean;
|
|
7329
|
+
trackLinks: z.ZodOptional<z.ZodBoolean>;
|
|
7330
|
+
socialConnections: z.ZodObject<{
|
|
7331
|
+
instagram: z.ZodOptional<z.ZodBoolean>;
|
|
7332
|
+
facebook: z.ZodOptional<z.ZodBoolean>;
|
|
7333
|
+
linkedin: z.ZodOptional<z.ZodBoolean>;
|
|
7334
|
+
mail: z.ZodOptional<z.ZodBoolean>;
|
|
7335
|
+
whatsapp: z.ZodOptional<z.ZodBoolean>;
|
|
7336
|
+
x: z.ZodOptional<z.ZodBoolean>;
|
|
7337
|
+
}, z.core.$strip>;
|
|
7338
|
+
actionalConnections: z.ZodObject<{
|
|
7339
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
7340
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
7341
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
7342
|
+
}, z.core.$strip>;
|
|
7343
|
+
}, z.core.$strip>;
|
|
7344
|
+
}, z.core.$strip>>;
|
|
7158
7345
|
apiBaseUrl: string;
|
|
7159
7346
|
env: "prod" | "dev";
|
|
7160
7347
|
templateId: string;
|
|
@@ -7163,7 +7350,6 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
7163
7350
|
captions?: {
|
|
7164
7351
|
[templateId: string]: string;
|
|
7165
7352
|
};
|
|
7166
|
-
exportDisabled: boolean;
|
|
7167
7353
|
consumeCreditsOnRender: boolean;
|
|
7168
7354
|
preCacheLocalRendering?: boolean;
|
|
7169
7355
|
data?: {
|
|
@@ -8555,145 +8741,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
8555
8741
|
serial: Ref<Template.Serial | undefined, Template.Serial | undefined>;
|
|
8556
8742
|
preview: Ref<string | undefined, string | undefined>;
|
|
8557
8743
|
templateName: Ref<string, string>;
|
|
8558
|
-
campaign: Ref<
|
|
8559
|
-
id: number;
|
|
8560
|
-
uid: string;
|
|
8561
|
-
userId: string;
|
|
8562
|
-
name: string;
|
|
8563
|
-
type: "template" | "email" | "widget" | "team" | "web" | "batch" | "api";
|
|
8564
|
-
active: boolean;
|
|
8565
|
-
private: boolean;
|
|
8566
|
-
password: string | null;
|
|
8567
|
-
customSlug: string | null;
|
|
8568
|
-
customDomain: string | null;
|
|
8569
|
-
sharedWithOrganizations: number[];
|
|
8570
|
-
exportActions: {
|
|
8571
|
-
trigger: "user-gesture" | "onupdate";
|
|
8572
|
-
label: string;
|
|
8573
|
-
download: boolean;
|
|
8574
|
-
renderFormat?: "svg" | "none" | "png" | "jpeg" | "pdf" | "gif" | "idml" | undefined;
|
|
8575
|
-
successMessage?: string | undefined;
|
|
8576
|
-
webhook?: string | undefined;
|
|
8577
|
-
redirect?: string | undefined;
|
|
8578
|
-
}[];
|
|
8579
|
-
templates: string[];
|
|
8580
|
-
config: {
|
|
8581
|
-
bluepicBranding: boolean;
|
|
8582
|
-
layout: "stack" | "gallery" | "selection:horizontal" | "selection:vertical";
|
|
8583
|
-
allowPanAndZoom: boolean;
|
|
8584
|
-
sortByCategories: boolean;
|
|
8585
|
-
export: {
|
|
8586
|
-
linkedInOAuth: boolean;
|
|
8587
|
-
socialConnections: {
|
|
8588
|
-
instagram?: boolean | undefined;
|
|
8589
|
-
facebook?: boolean | undefined;
|
|
8590
|
-
linkedin?: boolean | undefined;
|
|
8591
|
-
mail?: boolean | undefined;
|
|
8592
|
-
whatsapp?: boolean | undefined;
|
|
8593
|
-
x?: boolean | undefined;
|
|
8594
|
-
};
|
|
8595
|
-
actionalConnections: {
|
|
8596
|
-
download?: boolean | undefined;
|
|
8597
|
-
webhook?: string | undefined;
|
|
8598
|
-
redirect?: string | undefined;
|
|
8599
|
-
};
|
|
8600
|
-
trackLinks?: boolean | undefined;
|
|
8601
|
-
};
|
|
8602
|
-
logo?: string | undefined;
|
|
8603
|
-
title?: string | undefined;
|
|
8604
|
-
customStyle?: Record<string, string> | undefined;
|
|
8605
|
-
captions?: Record<string, string> | undefined;
|
|
8606
|
-
categories?: Record<string, string> | undefined;
|
|
8607
|
-
};
|
|
8608
|
-
landingPage: {
|
|
8609
|
-
headerTitle?: string | undefined;
|
|
8610
|
-
headerColor?: string | undefined;
|
|
8611
|
-
headerImage?: string | undefined;
|
|
8612
|
-
headerHtml?: string | undefined;
|
|
8613
|
-
backgroundColor?: string | undefined;
|
|
8614
|
-
backgroundImage?: string | undefined;
|
|
8615
|
-
bodyTitle?: string | undefined;
|
|
8616
|
-
bodySubtitle?: string | undefined;
|
|
8617
|
-
bodyHtml?: string | undefined;
|
|
8618
|
-
customPrivacy?: string | undefined;
|
|
8619
|
-
customImprint?: string | undefined;
|
|
8620
|
-
pageLayout?: "scroll" | "flex" | undefined;
|
|
8621
|
-
} | null;
|
|
8622
|
-
emailCampaign: Record<string, any> | null;
|
|
8623
|
-
thumbnail: string | null;
|
|
8624
|
-
createdAt: string;
|
|
8625
|
-
updatedAt: string;
|
|
8626
|
-
pinnedBy: string[];
|
|
8627
|
-
} | undefined, {
|
|
8628
|
-
id: number;
|
|
8629
|
-
uid: string;
|
|
8630
|
-
userId: string;
|
|
8631
|
-
name: string;
|
|
8632
|
-
type: "template" | "email" | "widget" | "team" | "web" | "batch" | "api";
|
|
8633
|
-
active: boolean;
|
|
8634
|
-
private: boolean;
|
|
8635
|
-
password: string | null;
|
|
8636
|
-
customSlug: string | null;
|
|
8637
|
-
customDomain: string | null;
|
|
8638
|
-
sharedWithOrganizations: number[];
|
|
8639
|
-
exportActions: {
|
|
8640
|
-
trigger: "user-gesture" | "onupdate";
|
|
8641
|
-
label: string;
|
|
8642
|
-
download: boolean;
|
|
8643
|
-
renderFormat?: "svg" | "none" | "png" | "jpeg" | "pdf" | "gif" | "idml" | undefined;
|
|
8644
|
-
successMessage?: string | undefined;
|
|
8645
|
-
webhook?: string | undefined;
|
|
8646
|
-
redirect?: string | undefined;
|
|
8647
|
-
}[];
|
|
8648
|
-
templates: string[];
|
|
8649
|
-
config: {
|
|
8650
|
-
bluepicBranding: boolean;
|
|
8651
|
-
layout: "stack" | "gallery" | "selection:horizontal" | "selection:vertical";
|
|
8652
|
-
allowPanAndZoom: boolean;
|
|
8653
|
-
sortByCategories: boolean;
|
|
8654
|
-
export: {
|
|
8655
|
-
linkedInOAuth: boolean;
|
|
8656
|
-
socialConnections: {
|
|
8657
|
-
instagram?: boolean | undefined;
|
|
8658
|
-
facebook?: boolean | undefined;
|
|
8659
|
-
linkedin?: boolean | undefined;
|
|
8660
|
-
mail?: boolean | undefined;
|
|
8661
|
-
whatsapp?: boolean | undefined;
|
|
8662
|
-
x?: boolean | undefined;
|
|
8663
|
-
};
|
|
8664
|
-
actionalConnections: {
|
|
8665
|
-
download?: boolean | undefined;
|
|
8666
|
-
webhook?: string | undefined;
|
|
8667
|
-
redirect?: string | undefined;
|
|
8668
|
-
};
|
|
8669
|
-
trackLinks?: boolean | undefined;
|
|
8670
|
-
};
|
|
8671
|
-
logo?: string | undefined;
|
|
8672
|
-
title?: string | undefined;
|
|
8673
|
-
customStyle?: Record<string, string> | undefined;
|
|
8674
|
-
captions?: Record<string, string> | undefined;
|
|
8675
|
-
categories?: Record<string, string> | undefined;
|
|
8676
|
-
};
|
|
8677
|
-
landingPage: {
|
|
8678
|
-
headerTitle?: string | undefined;
|
|
8679
|
-
headerColor?: string | undefined;
|
|
8680
|
-
headerImage?: string | undefined;
|
|
8681
|
-
headerHtml?: string | undefined;
|
|
8682
|
-
backgroundColor?: string | undefined;
|
|
8683
|
-
backgroundImage?: string | undefined;
|
|
8684
|
-
bodyTitle?: string | undefined;
|
|
8685
|
-
bodySubtitle?: string | undefined;
|
|
8686
|
-
bodyHtml?: string | undefined;
|
|
8687
|
-
customPrivacy?: string | undefined;
|
|
8688
|
-
customImprint?: string | undefined;
|
|
8689
|
-
pageLayout?: "scroll" | "flex" | undefined;
|
|
8690
|
-
} | null;
|
|
8691
|
-
emailCampaign: Record<string, any> | null;
|
|
8692
|
-
thumbnail: string | null;
|
|
8693
|
-
createdAt: string;
|
|
8694
|
-
updatedAt: string;
|
|
8695
|
-
pinnedBy: string[];
|
|
8696
|
-
} | undefined>;
|
|
8744
|
+
campaign: Ref<any, any>;
|
|
8697
8745
|
bxCoreVersion: Ref<string | undefined, string | undefined>;
|
|
8698
8746
|
allowPanAndZoom: Ref<boolean, boolean>;
|
|
8699
8747
|
branding: Ref<boolean, boolean>;
|
|
@@ -445,7 +445,8 @@ function X(e) {
|
|
|
445
445
|
P([
|
|
446
446
|
...w,
|
|
447
447
|
"super",
|
|
448
|
-
"import"
|
|
448
|
+
"import",
|
|
449
|
+
"await"
|
|
449
450
|
].map((a) => `${a}\\s*\\(`)),
|
|
450
451
|
n,
|
|
451
452
|
t.lookahead(/\s*\(/)
|
|
@@ -505,7 +506,7 @@ function X(e) {
|
|
|
505
506
|
keywords: s,
|
|
506
507
|
// this will be extended by TypeScript
|
|
507
508
|
exports: { PARAMS_CONTAINS: b, CLASS_REFERENCE: O },
|
|
508
|
-
illegal: /#(?![$_A-z])/,
|
|
509
|
+
illegal: /#(?![$_A-Za-z])/,
|
|
509
510
|
contains: [
|
|
510
511
|
e.SHEBANG({
|
|
511
512
|
label: "shebang",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p="[A-Za-z$_][0-9A-Za-z$_]*",G=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],K=["true","false","null","undefined","NaN","Infinity"],v=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],L=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],w=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],H=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],J=[].concat(w,v,L);function W(e){const a=e.regex,B=(t,{after:r})=>{const l="</"+t[0].slice(1);return t.input.indexOf(l,r)!==-1},n=p,A={begin:"<>",end:"</>"},h=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,r)=>{const l=t[0].length+t.index,d=t.input[l];if(d==="<"||d===","){r.ignoreMatch();return}d===">"&&(B(t,{after:l})||r.ignoreMatch());let u;const M=t.input.substring(l);if(u=M.match(/^\s*=/)){r.ignoreMatch();return}if((u=M.match(/^\s+extends\s+/))&&u.index===0){r.ignoreMatch();return}}},s={$pattern:p,keyword:G,literal:K,built_in:J,"variable.language":H},_="[0-9](_?[0-9])*",E=`\\.(${_})`,N="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${N})((${E})|\\.)?|(${E}))[eE][+-]?(${_})\\b`},{begin:`\\b(${N})\\b((${E})\\b|\\.)?|(${E})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},m={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},T={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},y=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,T,f,R,{match:/\$\d+/},S];c.contains=y.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(y)});const I=[].concat(g,c.contains),b=I.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(I)}]),i={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},U={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,a.concat(n,"(",a.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:a.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...v,...L]}},x={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},D={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[i],illegal:/%/},k={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function P(t){return a.concat("(?!",t.join("|"),")")}const $={match:a.concat(/\b/,P([...w,"super","import"].map(t=>`${t}\\s*\\(`)),n,a.lookahead(/\s*\(/)),className:"title.function",relevance:0},Z={begin:a.concat(/\./,a.lookahead(a.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},F={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},i]},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",z={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(C)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[i]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:O},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),x,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,T,f,R,g,{match:/\$\d+/},S,O,{scope:"attr",match:n+a.lookahead(":"),relevance:0},z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:C,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:A.begin,end:A.end},{match:h},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},D,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[i,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},Z,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[i]},$,k,U,F,{match:/\$[(.]/}]}}exports.default=W;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p="[A-Za-z$_][0-9A-Za-z$_]*",G=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],K=["true","false","null","undefined","NaN","Infinity"],v=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],L=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],w=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],H=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],J=[].concat(w,v,L);function W(e){const a=e.regex,B=(t,{after:r})=>{const l="</"+t[0].slice(1);return t.input.indexOf(l,r)!==-1},n=p,A={begin:"<>",end:"</>"},h=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,r)=>{const l=t[0].length+t.index,d=t.input[l];if(d==="<"||d===","){r.ignoreMatch();return}d===">"&&(B(t,{after:l})||r.ignoreMatch());let u;const M=t.input.substring(l);if(u=M.match(/^\s*=/)){r.ignoreMatch();return}if((u=M.match(/^\s+extends\s+/))&&u.index===0){r.ignoreMatch();return}}},s={$pattern:p,keyword:G,literal:K,built_in:J,"variable.language":H},_="[0-9](_?[0-9])*",E=`\\.(${_})`,N="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${N})((${E})|\\.)?|(${E}))[eE][+-]?(${_})\\b`},{begin:`\\b(${N})\\b((${E})\\b|\\.)?|(${E})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},m={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},T={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},y=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,T,f,R,{match:/\$\d+/},S];c.contains=y.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(y)});const I=[].concat(g,c.contains),b=I.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(I)}]),i={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},U={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,a.concat(n,"(",a.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:a.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...v,...L]}},x={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},D={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[i],illegal:/%/},k={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function P(t){return a.concat("(?!",t.join("|"),")")}const $={match:a.concat(/\b/,P([...w,"super","import","await"].map(t=>`${t}\\s*\\(`)),n,a.lookahead(/\s*\(/)),className:"title.function",relevance:0},Z={begin:a.concat(/\./,a.lookahead(a.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},F={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},i]},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",z={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(C)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[i]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:O},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),x,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,T,f,R,g,{match:/\$\d+/},S,O,{scope:"attr",match:n+a.lookahead(":"),relevance:0},z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:C,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:A.begin,end:A.end},{match:h},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},D,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[i,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},Z,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[i]},$,k,U,F,{match:/\$[(.]/}]}}exports.default=W;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",o={scope:"number",match:c,relevance:0};function s(e){const t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],E={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:n},contains:[t,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,E,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}exports.default=s;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
const s = "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity", c = {
|
|
2
|
+
scope: "number",
|
|
3
|
+
match: s,
|
|
4
|
+
relevance: 0
|
|
5
|
+
};
|
|
6
|
+
function o(e) {
|
|
2
7
|
const a = {
|
|
3
8
|
className: "attr",
|
|
4
|
-
begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
9
|
+
begin: /(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,
|
|
5
10
|
relevance: 1.01
|
|
6
|
-
},
|
|
11
|
+
}, E = {
|
|
7
12
|
match: /[{}[\],:]/,
|
|
8
13
|
className: "punctuation",
|
|
9
14
|
relevance: 0
|
|
@@ -11,22 +16,23 @@ function c(e) {
|
|
|
11
16
|
"true",
|
|
12
17
|
"false",
|
|
13
18
|
"null"
|
|
14
|
-
],
|
|
19
|
+
], t = {
|
|
15
20
|
scope: "literal",
|
|
16
21
|
beginKeywords: n.join(" ")
|
|
17
22
|
};
|
|
18
23
|
return {
|
|
19
24
|
name: "JSON",
|
|
20
|
-
aliases: ["jsonc"],
|
|
25
|
+
aliases: ["jsonc", "json5"],
|
|
21
26
|
keywords: {
|
|
22
27
|
literal: n
|
|
23
28
|
},
|
|
24
29
|
contains: [
|
|
25
30
|
a,
|
|
26
|
-
|
|
31
|
+
E,
|
|
32
|
+
e.APOS_STRING_MODE,
|
|
27
33
|
e.QUOTE_STRING_MODE,
|
|
28
|
-
|
|
29
|
-
|
|
34
|
+
t,
|
|
35
|
+
c,
|
|
30
36
|
e.C_LINE_COMMENT_MODE,
|
|
31
37
|
e.C_BLOCK_COMMENT_MODE
|
|
32
38
|
],
|
|
@@ -34,5 +40,5 @@ function c(e) {
|
|
|
34
40
|
};
|
|
35
41
|
}
|
|
36
42
|
export {
|
|
37
|
-
|
|
43
|
+
o as default
|
|
38
44
|
};
|