@blitzreels/contracts 0.2.6 → 0.2.8
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/ai-credit-costs.d.ts +2 -0
- package/dist/ai-credit-costs.d.ts.map +1 -1
- package/dist/ai-credit-costs.js +2 -0
- package/dist/ai-credit-costs.js.map +1 -1
- package/dist/carousel-document-present.d.ts +42 -0
- package/dist/carousel-document-present.d.ts.map +1 -0
- package/dist/carousel-document-present.js +117 -0
- package/dist/carousel-document-present.js.map +1 -0
- package/dist/carousel-pack-catalog.d.ts +10 -0
- package/dist/carousel-pack-catalog.d.ts.map +1 -0
- package/dist/carousel-pack-catalog.js +47 -0
- package/dist/carousel-pack-catalog.js.map +1 -0
- package/dist/carousel-recipe.d.ts +100 -0
- package/dist/carousel-recipe.d.ts.map +1 -0
- package/dist/carousel-recipe.js +305 -0
- package/dist/carousel-recipe.js.map +1 -0
- package/dist/carousel-slot-asset.d.ts +24 -0
- package/dist/carousel-slot-asset.d.ts.map +1 -0
- package/dist/carousel-slot-asset.js +89 -0
- package/dist/carousel-slot-asset.js.map +1 -0
- package/dist/carousel-slot-extras.d.ts +60 -0
- package/dist/carousel-slot-extras.d.ts.map +1 -0
- package/dist/carousel-slot-extras.js +181 -0
- package/dist/carousel-slot-extras.js.map +1 -0
- package/dist/carousel-slot-layout.d.ts +174 -0
- package/dist/carousel-slot-layout.d.ts.map +1 -0
- package/dist/carousel-slot-layout.js +387 -0
- package/dist/carousel-slot-layout.js.map +1 -0
- package/dist/carousel-slot-look.d.ts +79 -0
- package/dist/carousel-slot-look.d.ts.map +1 -0
- package/dist/carousel-slot-look.js +216 -0
- package/dist/carousel-slot-look.js.map +1 -0
- package/dist/carousel-slot-overlay.d.ts +45 -0
- package/dist/carousel-slot-overlay.d.ts.map +1 -0
- package/dist/carousel-slot-overlay.js +71 -0
- package/dist/carousel-slot-overlay.js.map +1 -0
- package/dist/carousel-template-catalog.d.ts +201 -0
- package/dist/carousel-template-catalog.d.ts.map +1 -0
- package/dist/carousel-template-catalog.js +666 -0
- package/dist/carousel-template-catalog.js.map +1 -0
- package/dist/carousel-theme.d.ts +134 -0
- package/dist/carousel-theme.d.ts.map +1 -0
- package/dist/carousel-theme.js +374 -0
- package/dist/carousel-theme.js.map +1 -0
- package/dist/carousels-contract.d.ts +664 -0
- package/dist/carousels-contract.d.ts.map +1 -0
- package/dist/carousels-contract.js +352 -0
- package/dist/carousels-contract.js.map +1 -0
- package/dist/editor-command-contract.d.ts +6 -0
- package/dist/editor-command-contract.d.ts.map +1 -1
- package/dist/editor-keyframe-contract.d.ts +5 -1
- package/dist/editor-keyframe-contract.d.ts.map +1 -1
- package/dist/editor-keyframe-contract.js +1 -0
- package/dist/editor-keyframe-contract.js.map +1 -1
- package/dist/generation-resolution.d.ts.map +1 -1
- package/dist/generation-resolution.js +8 -2
- package/dist/generation-resolution.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/media-list.d.ts +22 -0
- package/dist/media-list.d.ts.map +1 -0
- package/dist/media-list.js +33 -0
- package/dist/media-list.js.map +1 -0
- package/dist/video-transformation.d.ts +177 -0
- package/dist/video-transformation.d.ts.map +1 -0
- package/dist/video-transformation.js +107 -0
- package/dist/video-transformation.js.map +1 -0
- package/package.json +5 -3
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { carouselSlotBoxKey, nudgeCarouselSlotBox, readCarouselSlotBox, readCarouselSlotFlip, readCarouselSlotOpacity, readCarouselSlotRotate, writeCarouselSlotBox, writeCarouselSlotFlip, writeCarouselSlotOpacity, writeCarouselSlotRotate, } from "./carousel-slot-layout.js";
|
|
2
|
+
import { CAROUSEL_SLOT_STYLE_PREFIX, nextCarouselChipKey, parseCarouselSlotLook, writeCarouselSlotLook, } from "./carousel-slot-look.js";
|
|
3
|
+
export const CAROUSEL_MAX_STICKERS = 12;
|
|
4
|
+
export const CAROUSEL_MAX_STAMPS = 8;
|
|
5
|
+
export function carouselIsStickerKey({ key }) {
|
|
6
|
+
return /^sticker\d+$/.test(key);
|
|
7
|
+
}
|
|
8
|
+
export function carouselIsStampKey({ key }) {
|
|
9
|
+
return /^stamp\d+$/.test(key);
|
|
10
|
+
}
|
|
11
|
+
export function carouselLayerIsRemovable({ key }) {
|
|
12
|
+
return (key.startsWith("chip") ||
|
|
13
|
+
/^row\d+/.test(key) ||
|
|
14
|
+
carouselIsStickerKey({ key }) ||
|
|
15
|
+
carouselIsStampKey({ key }));
|
|
16
|
+
}
|
|
17
|
+
function extraKeys({ prefix, slots, max, }) {
|
|
18
|
+
const keys = [];
|
|
19
|
+
for (let index = 1; index <= max; index += 1) {
|
|
20
|
+
const key = `${prefix}${index}`;
|
|
21
|
+
const value = (slots[key] ?? "").trim();
|
|
22
|
+
const hasBox = Boolean(slots[`_t.${key}`]?.trim());
|
|
23
|
+
if (value || hasBox)
|
|
24
|
+
keys.push(key);
|
|
25
|
+
}
|
|
26
|
+
return keys;
|
|
27
|
+
}
|
|
28
|
+
function nextExtraKey({ prefix, slots, max, }) {
|
|
29
|
+
for (let index = 1; index <= max; index += 1) {
|
|
30
|
+
const key = `${prefix}${index}`;
|
|
31
|
+
if ((slots[key] ?? "").trim())
|
|
32
|
+
continue;
|
|
33
|
+
if ((slots[`_t.${key}`] ?? "").trim())
|
|
34
|
+
continue;
|
|
35
|
+
return key;
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
export function carouselStickerKeys({ slots, }) {
|
|
40
|
+
return extraKeys({ prefix: "sticker", slots, max: CAROUSEL_MAX_STICKERS });
|
|
41
|
+
}
|
|
42
|
+
export function carouselStampKeys({ slots, }) {
|
|
43
|
+
return extraKeys({ prefix: "stamp", slots, max: CAROUSEL_MAX_STAMPS });
|
|
44
|
+
}
|
|
45
|
+
export function nextCarouselStickerKey({ slots, }) {
|
|
46
|
+
return nextExtraKey({
|
|
47
|
+
prefix: "sticker",
|
|
48
|
+
slots,
|
|
49
|
+
max: CAROUSEL_MAX_STICKERS,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
export function nextCarouselStampKey({ slots, }) {
|
|
53
|
+
return nextExtraKey({ prefix: "stamp", slots, max: CAROUSEL_MAX_STAMPS });
|
|
54
|
+
}
|
|
55
|
+
export function defaultCarouselStickerBox({ index, }) {
|
|
56
|
+
return {
|
|
57
|
+
x: 8,
|
|
58
|
+
y: Math.min(82, 70 + (index - 1) * 10),
|
|
59
|
+
w: 84,
|
|
60
|
+
h: 12,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function defaultCarouselStampBox({ index, }) {
|
|
64
|
+
return {
|
|
65
|
+
x: 66,
|
|
66
|
+
y: 8 + (index - 1) * 24,
|
|
67
|
+
w: 28,
|
|
68
|
+
h: 22,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export function extraLayerIndex({ key }) {
|
|
72
|
+
const match = /(\d+)$/.exec(key);
|
|
73
|
+
return match ? Number(match[1]) : 1;
|
|
74
|
+
}
|
|
75
|
+
export function fallbackCarouselLayerBox({ key, }) {
|
|
76
|
+
if (carouselIsStampKey({ key })) {
|
|
77
|
+
return defaultCarouselStampBox({ index: extraLayerIndex({ key }) });
|
|
78
|
+
}
|
|
79
|
+
if (carouselIsStickerKey({ key })) {
|
|
80
|
+
return defaultCarouselStickerBox({ index: extraLayerIndex({ key }) });
|
|
81
|
+
}
|
|
82
|
+
return { x: 8, y: 70, w: 84, h: 12 };
|
|
83
|
+
}
|
|
84
|
+
export function writeCarouselSticker({ slots, key, text, look, }) {
|
|
85
|
+
const index = extraLayerIndex({ key });
|
|
86
|
+
return writeCarouselSlotLook({
|
|
87
|
+
slots: writeCarouselSlotBox({
|
|
88
|
+
slots: { ...slots, [key]: text },
|
|
89
|
+
boxKey: key,
|
|
90
|
+
box: defaultCarouselStickerBox({ index }),
|
|
91
|
+
}),
|
|
92
|
+
key,
|
|
93
|
+
look,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
export function writeCarouselStamp({ slots, key, value, }) {
|
|
97
|
+
const index = extraLayerIndex({ key });
|
|
98
|
+
return writeCarouselSlotBox({
|
|
99
|
+
slots: { ...slots, [key]: value },
|
|
100
|
+
boxKey: key,
|
|
101
|
+
box: defaultCarouselStampBox({ index }),
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
export function clearCarouselExtra({ slots, key, }) {
|
|
105
|
+
return {
|
|
106
|
+
...slots,
|
|
107
|
+
[key]: "",
|
|
108
|
+
[`_t.${key}`]: "",
|
|
109
|
+
[`_s.${key}`]: "",
|
|
110
|
+
[`_z.${key}`]: "",
|
|
111
|
+
[`_r.${key}`]: "",
|
|
112
|
+
[`_o.${key}`]: "",
|
|
113
|
+
[`_f.${key}`]: "",
|
|
114
|
+
[`_g.${key}`]: "",
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
const DUPLICATE_OFFSET = 3;
|
|
118
|
+
export function duplicateCarouselLayer({ slots, key, }) {
|
|
119
|
+
const value = slots[key] ?? "";
|
|
120
|
+
if (!value.trim())
|
|
121
|
+
return null;
|
|
122
|
+
let nextKey = null;
|
|
123
|
+
if (carouselIsStickerKey({ key })) {
|
|
124
|
+
nextKey = nextCarouselStickerKey({ slots });
|
|
125
|
+
}
|
|
126
|
+
else if (carouselIsStampKey({ key })) {
|
|
127
|
+
nextKey = nextCarouselStampKey({ slots });
|
|
128
|
+
}
|
|
129
|
+
else if (/^chip\d+$/.test(key)) {
|
|
130
|
+
nextKey = nextCarouselChipKey({ slots });
|
|
131
|
+
}
|
|
132
|
+
if (!nextKey)
|
|
133
|
+
return null;
|
|
134
|
+
const boxKey = carouselSlotBoxKey({ key });
|
|
135
|
+
const nextBoxKey = carouselSlotBoxKey({ key: nextKey });
|
|
136
|
+
const box = readCarouselSlotBox({ slots, boxKey });
|
|
137
|
+
const look = parseCarouselSlotLook({
|
|
138
|
+
value: slots[`${CAROUSEL_SLOT_STYLE_PREFIX}${key}`] ?? "",
|
|
139
|
+
});
|
|
140
|
+
let next = { ...slots, [nextKey]: value };
|
|
141
|
+
if (box) {
|
|
142
|
+
next = writeCarouselSlotBox({
|
|
143
|
+
slots: next,
|
|
144
|
+
boxKey: nextBoxKey,
|
|
145
|
+
box: nudgeCarouselSlotBox({
|
|
146
|
+
box,
|
|
147
|
+
dx: DUPLICATE_OFFSET,
|
|
148
|
+
dy: DUPLICATE_OFFSET,
|
|
149
|
+
}),
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
if (look) {
|
|
153
|
+
next = writeCarouselSlotLook({ slots: next, key: nextKey, look });
|
|
154
|
+
}
|
|
155
|
+
const rotate = readCarouselSlotRotate({ slots, boxKey });
|
|
156
|
+
if (rotate !== 0) {
|
|
157
|
+
next = writeCarouselSlotRotate({
|
|
158
|
+
slots: next,
|
|
159
|
+
boxKey: nextBoxKey,
|
|
160
|
+
deg: rotate,
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
const opacity = readCarouselSlotOpacity({ slots, boxKey });
|
|
164
|
+
if (opacity < 100) {
|
|
165
|
+
next = writeCarouselSlotOpacity({
|
|
166
|
+
slots: next,
|
|
167
|
+
boxKey: nextBoxKey,
|
|
168
|
+
opacity,
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
const flip = readCarouselSlotFlip({ slots, boxKey });
|
|
172
|
+
if (flip) {
|
|
173
|
+
next = writeCarouselSlotFlip({
|
|
174
|
+
slots: next,
|
|
175
|
+
boxKey: nextBoxKey,
|
|
176
|
+
flip,
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
return { slots: next, key: nextKey };
|
|
180
|
+
}
|
|
181
|
+
//# sourceMappingURL=carousel-slot-extras.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel-slot-extras.js","sourceRoot":"","sources":["../src/carousel-slot-extras.ts"],"names":[],"mappings":"AAAA,OA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IAAI;SACL,CAAC,CAAC;IACL,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AACvC,CAAC"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
export declare const CAROUSEL_SLOT_TRANSFORM_PREFIX = "_t.";
|
|
2
|
+
export declare const CAROUSEL_SLOT_Z_PREFIX = "_z.";
|
|
3
|
+
export declare const CAROUSEL_SLOT_ROTATE_PREFIX = "_r.";
|
|
4
|
+
export declare const CAROUSEL_SLOT_OPACITY_PREFIX = "_o.";
|
|
5
|
+
export declare const CAROUSEL_SLOT_FLIP_PREFIX = "_f.";
|
|
6
|
+
export declare const CAROUSEL_SLOT_GROUP_PREFIX = "_g.";
|
|
7
|
+
export type CarouselSlotBox = {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
w: number;
|
|
11
|
+
h: number;
|
|
12
|
+
};
|
|
13
|
+
export type CarouselResizeHandle = "n" | "s" | "e" | "w" | "ne" | "nw" | "se" | "sw";
|
|
14
|
+
export declare function carouselSlotBoxKey({ key }: {
|
|
15
|
+
key: string;
|
|
16
|
+
}): string;
|
|
17
|
+
export declare function carouselSlotTransformKey({ boxKey, }: {
|
|
18
|
+
boxKey: string;
|
|
19
|
+
}): string;
|
|
20
|
+
export declare function parseCarouselSlotBox({ value, }: {
|
|
21
|
+
value: string;
|
|
22
|
+
}): CarouselSlotBox | null;
|
|
23
|
+
export declare function serializeCarouselSlotBox({ box, }: {
|
|
24
|
+
box: CarouselSlotBox;
|
|
25
|
+
}): string;
|
|
26
|
+
export declare function readCarouselSlotBox({ slots, boxKey, }: {
|
|
27
|
+
slots: Record<string, string>;
|
|
28
|
+
boxKey: string;
|
|
29
|
+
}): CarouselSlotBox | null;
|
|
30
|
+
export declare function writeCarouselSlotBox({ slots, boxKey, box, }: {
|
|
31
|
+
slots: Record<string, string>;
|
|
32
|
+
boxKey: string;
|
|
33
|
+
box: CarouselSlotBox;
|
|
34
|
+
}): Record<string, string>;
|
|
35
|
+
export declare function carouselSlotsHaveLayout({ slots, }: {
|
|
36
|
+
slots: Record<string, string>;
|
|
37
|
+
}): boolean;
|
|
38
|
+
export type CarouselFlip = "h" | "v" | "hv";
|
|
39
|
+
export type CarouselFlipAxis = "h" | "v";
|
|
40
|
+
export declare function carouselSlotCssTransform({ rotate, flip, }: {
|
|
41
|
+
rotate?: number;
|
|
42
|
+
flip?: CarouselFlip | null;
|
|
43
|
+
}): string | undefined;
|
|
44
|
+
export declare function carouselSlotBoxStyle({ box, zIndex, rotate, opacity, flip, }: {
|
|
45
|
+
box: CarouselSlotBox;
|
|
46
|
+
zIndex?: number;
|
|
47
|
+
rotate?: number;
|
|
48
|
+
opacity?: number;
|
|
49
|
+
flip?: CarouselFlip | null;
|
|
50
|
+
}): {
|
|
51
|
+
position: "absolute";
|
|
52
|
+
left: string;
|
|
53
|
+
top: string;
|
|
54
|
+
width: string;
|
|
55
|
+
height: string;
|
|
56
|
+
zIndex: number;
|
|
57
|
+
transform?: string;
|
|
58
|
+
transformOrigin: string;
|
|
59
|
+
opacity?: number;
|
|
60
|
+
};
|
|
61
|
+
export declare function nudgeCarouselSlotBox({ box, dx, dy, }: {
|
|
62
|
+
box: CarouselSlotBox;
|
|
63
|
+
dx: number;
|
|
64
|
+
dy: number;
|
|
65
|
+
}): CarouselSlotBox;
|
|
66
|
+
export type CarouselAlign = "left" | "center" | "right" | "top" | "middle" | "bottom";
|
|
67
|
+
export declare function alignCarouselSlotBox({ box, align, }: {
|
|
68
|
+
box: CarouselSlotBox;
|
|
69
|
+
align: CarouselAlign;
|
|
70
|
+
}): CarouselSlotBox;
|
|
71
|
+
export declare function snapCarouselSlotBox({ box, others, }: {
|
|
72
|
+
box: CarouselSlotBox;
|
|
73
|
+
others?: CarouselSlotBox[];
|
|
74
|
+
}): CarouselSlotBox;
|
|
75
|
+
export declare function resizeCarouselSlotBox({ box, handle, dx, dy, }: {
|
|
76
|
+
box: CarouselSlotBox;
|
|
77
|
+
handle: CarouselResizeHandle;
|
|
78
|
+
dx: number;
|
|
79
|
+
dy: number;
|
|
80
|
+
}): CarouselSlotBox;
|
|
81
|
+
export declare function carouselSlotZKey({ boxKey }: {
|
|
82
|
+
boxKey: string;
|
|
83
|
+
}): string;
|
|
84
|
+
export declare function defaultCarouselLayerZ({ boxKey }: {
|
|
85
|
+
boxKey: string;
|
|
86
|
+
}): number;
|
|
87
|
+
export declare function readCarouselSlotZ({ slots, boxKey, }: {
|
|
88
|
+
slots: Record<string, string>;
|
|
89
|
+
boxKey: string;
|
|
90
|
+
}): number | null;
|
|
91
|
+
export declare function carouselLayerZIndex({ slots, boxKey, }: {
|
|
92
|
+
slots: Record<string, string>;
|
|
93
|
+
boxKey: string;
|
|
94
|
+
}): number;
|
|
95
|
+
export declare function writeCarouselSlotZ({ slots, boxKey, z, }: {
|
|
96
|
+
slots: Record<string, string>;
|
|
97
|
+
boxKey: string;
|
|
98
|
+
z: number;
|
|
99
|
+
}): Record<string, string>;
|
|
100
|
+
export declare function carouselSlotRotateKey({ boxKey }: {
|
|
101
|
+
boxKey: string;
|
|
102
|
+
}): string;
|
|
103
|
+
export declare function readCarouselSlotRotate({ slots, boxKey, }: {
|
|
104
|
+
slots: Record<string, string>;
|
|
105
|
+
boxKey: string;
|
|
106
|
+
}): number;
|
|
107
|
+
export declare function writeCarouselSlotRotate({ slots, boxKey, deg, }: {
|
|
108
|
+
slots: Record<string, string>;
|
|
109
|
+
boxKey: string;
|
|
110
|
+
deg: number;
|
|
111
|
+
}): Record<string, string>;
|
|
112
|
+
export declare function carouselSlotOpacityKey({ boxKey }: {
|
|
113
|
+
boxKey: string;
|
|
114
|
+
}): string;
|
|
115
|
+
export declare function readCarouselSlotOpacity({ slots, boxKey, }: {
|
|
116
|
+
slots: Record<string, string>;
|
|
117
|
+
boxKey: string;
|
|
118
|
+
}): number;
|
|
119
|
+
export declare function writeCarouselSlotOpacity({ slots, boxKey, opacity, }: {
|
|
120
|
+
slots: Record<string, string>;
|
|
121
|
+
boxKey: string;
|
|
122
|
+
opacity: number;
|
|
123
|
+
}): Record<string, string>;
|
|
124
|
+
export declare function carouselSlotFlipKey({ boxKey }: {
|
|
125
|
+
boxKey: string;
|
|
126
|
+
}): string;
|
|
127
|
+
export declare function readCarouselSlotFlip({ slots, boxKey, }: {
|
|
128
|
+
slots: Record<string, string>;
|
|
129
|
+
boxKey: string;
|
|
130
|
+
}): CarouselFlip | null;
|
|
131
|
+
export declare function writeCarouselSlotFlip({ slots, boxKey, flip, }: {
|
|
132
|
+
slots: Record<string, string>;
|
|
133
|
+
boxKey: string;
|
|
134
|
+
flip: CarouselFlip | null;
|
|
135
|
+
}): Record<string, string>;
|
|
136
|
+
export declare function toggleCarouselSlotFlip({ slots, boxKey, axis, }: {
|
|
137
|
+
slots: Record<string, string>;
|
|
138
|
+
boxKey: string;
|
|
139
|
+
axis: CarouselFlipAxis;
|
|
140
|
+
}): Record<string, string>;
|
|
141
|
+
export declare function carouselLayerBoxKeys({ slots, }: {
|
|
142
|
+
slots: Record<string, string>;
|
|
143
|
+
}): string[];
|
|
144
|
+
export declare function readCarouselSlotGroup({ slots, boxKey, }: {
|
|
145
|
+
slots: Record<string, string>;
|
|
146
|
+
boxKey: string;
|
|
147
|
+
}): string | null;
|
|
148
|
+
export declare function writeCarouselSlotGroup({ slots, boxKey, groupId, }: {
|
|
149
|
+
slots: Record<string, string>;
|
|
150
|
+
boxKey: string;
|
|
151
|
+
groupId: string | null;
|
|
152
|
+
}): Record<string, string>;
|
|
153
|
+
export declare function carouselSlotGroupMembers({ slots, boxKey, }: {
|
|
154
|
+
slots: Record<string, string>;
|
|
155
|
+
boxKey: string;
|
|
156
|
+
}): string[];
|
|
157
|
+
export declare function groupCarouselSlotBoxes({ slots, boxKeys, groupId, }: {
|
|
158
|
+
slots: Record<string, string>;
|
|
159
|
+
boxKeys: string[];
|
|
160
|
+
groupId?: string;
|
|
161
|
+
}): Record<string, string>;
|
|
162
|
+
export declare function ungroupCarouselSlotBoxes({ slots, boxKeys, }: {
|
|
163
|
+
slots: Record<string, string>;
|
|
164
|
+
boxKeys: string[];
|
|
165
|
+
}): Record<string, string>;
|
|
166
|
+
export declare function bringCarouselLayerForward({ slots, key, }: {
|
|
167
|
+
slots: Record<string, string>;
|
|
168
|
+
key: string;
|
|
169
|
+
}): Record<string, string>;
|
|
170
|
+
export declare function sendCarouselLayerBackward({ slots, key, }: {
|
|
171
|
+
slots: Record<string, string>;
|
|
172
|
+
key: string;
|
|
173
|
+
}): Record<string, string>;
|
|
174
|
+
//# sourceMappingURL=carousel-slot-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel-slot-layout.d.ts","sourceRoot":"","sources":["../src/carousel-slot-layout.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,QAAQ,CAAC;AACpD,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAC5C,eAAO,MAAM,2BAA2B,QAAQ,CAAC;AACjD,eAAO,MAAM,4BAA4B,QAAQ,CAAC;AAClD,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAET,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAOnE;AAED,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,GACP,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,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