@nodaro/shared 3.54.0 → 3.55.0
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/{chunk-NEIWY6CC.cjs → chunk-6HUWQLF2.cjs} +6 -6
- package/dist/{chunk-NEIWY6CC.cjs.map → chunk-6HUWQLF2.cjs.map} +1 -1
- package/dist/{chunk-QP5JLSCJ.cjs → chunk-AFQFGZN7.cjs} +30 -3
- package/dist/chunk-AFQFGZN7.cjs.map +1 -0
- package/dist/{chunk-CZCOL3M5.js → chunk-G4XWVWRI.js} +25 -4
- package/dist/chunk-G4XWVWRI.js.map +1 -0
- package/dist/{chunk-ND3IE3IB.cjs → chunk-G7IUQKRU.cjs} +17 -17
- package/dist/{chunk-ND3IE3IB.cjs.map → chunk-G7IUQKRU.cjs.map} +1 -1
- package/dist/{chunk-IB5B3EBD.js → chunk-JCNTNAZP.js} +13 -7
- package/dist/chunk-JCNTNAZP.js.map +1 -0
- package/dist/{chunk-6F6GGX2W.cjs → chunk-M7LU4NTI.cjs} +3 -2
- package/dist/chunk-M7LU4NTI.cjs.map +1 -0
- package/dist/{chunk-6UR5UE5G.js → chunk-MCIBQ5BF.js} +3 -3
- package/dist/{chunk-6UR5UE5G.js.map → chunk-MCIBQ5BF.js.map} +1 -1
- package/dist/{chunk-C4R7BTBQ.js → chunk-TADEEG5E.js} +3 -2
- package/dist/chunk-TADEEG5E.js.map +1 -0
- package/dist/{chunk-ADWIAQQS.js → chunk-UWMXMLMV.js} +3 -3
- package/dist/{chunk-ADWIAQQS.js.map → chunk-UWMXMLMV.js.map} +1 -1
- package/dist/{chunk-3GMTGX3D.cjs → chunk-WVACGZYV.cjs} +4 -4
- package/dist/{chunk-3GMTGX3D.cjs.map → chunk-WVACGZYV.cjs.map} +1 -1
- package/dist/{chunk-ANMCMSGR.cjs → chunk-YTXP4VHD.cjs} +13 -7
- package/dist/chunk-YTXP4VHD.cjs.map +1 -0
- package/dist/{chunk-NMX6HQC3.js → chunk-ZAK276QF.js} +3 -3
- package/dist/{chunk-NMX6HQC3.js.map → chunk-ZAK276QF.js.map} +1 -1
- package/dist/entries/apps.cjs +38 -38
- package/dist/entries/apps.js +3 -3
- package/dist/entries/i18n.cjs +11 -11
- package/dist/entries/i18n.d.cts +5 -4
- package/dist/entries/i18n.d.ts +5 -4
- package/dist/entries/i18n.js +1 -1
- package/dist/entries/media.cjs +80 -56
- package/dist/entries/media.d.cts +49 -3
- package/dist/entries/media.d.ts +49 -3
- package/dist/entries/media.js +1 -1
- package/dist/entries/nodes.cjs +199 -199
- package/dist/entries/nodes.js +3 -3
- package/dist/entries/organizations.d.cts +9 -1
- package/dist/entries/organizations.d.ts +9 -1
- package/dist/entries/video.cjs +24 -24
- package/dist/entries/video.d.cts +11 -10
- package/dist/entries/video.d.ts +11 -10
- package/dist/entries/video.js +1 -1
- package/dist/index.cjs +349 -325
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/__tests__/entry-matches-query.test.ts +34 -0
- package/src/__tests__/video-face-mesh.test.ts +45 -2
- package/src/__tests__/video-link-needs.test.ts +23 -4
- package/src/__tests__/video-link.test.ts +1 -1
- package/src/i18n/index.ts +6 -4
- package/src/i18n/style.ar.ts +1 -1
- package/src/i18n/style.de.ts +1 -1
- package/src/i18n/style.es.ts +1 -1
- package/src/i18n/style.fr.ts +1 -1
- package/src/i18n/style.he.ts +1 -1
- package/src/i18n/style.hi.ts +1 -1
- package/src/i18n/style.ja.ts +1 -1
- package/src/i18n/style.ko.ts +3 -3
- package/src/i18n/style.pt-BR.ts +15 -15
- package/src/i18n/style.ru.ts +1 -1
- package/src/i18n/style.zh-CN.ts +1 -1
- package/src/organizations/views.ts +9 -1
- package/src/video-face-mesh.ts +72 -4
- package/src/video-link.ts +35 -15
- package/dist/chunk-6F6GGX2W.cjs.map +0 -1
- package/dist/chunk-ANMCMSGR.cjs.map +0 -1
- package/dist/chunk-C4R7BTBQ.js.map +0 -1
- package/dist/chunk-CZCOL3M5.js.map +0 -1
- package/dist/chunk-IB5B3EBD.js.map +0 -1
- package/dist/chunk-QP5JLSCJ.cjs.map +0 -1
package/dist/entries/i18n.cjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkM7LU4NTI_cjs = require('../chunk-M7LU4NTI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "LANGUAGES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkM7LU4NTI_cjs.LANGUAGES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "NON_EN_LOCALE_IDS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkM7LU4NTI_cjs.NON_EN_LOCALE_IDS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ensureLocaleCatalogLoaded", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkM7LU4NTI_cjs.ensureLocaleCatalogLoaded; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "entryMatchesQuery", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkM7LU4NTI_cjs.entryMatchesQuery; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLocaleDirection", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkM7LU4NTI_cjs.getLocaleDirection; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "registerCatalogSidecars", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkM7LU4NTI_cjs.registerCatalogSidecars; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "registerSidecarLoaders", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkM7LU4NTI_cjs.registerSidecarLoaders; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "resetCatalogSidecars", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkM7LU4NTI_cjs.resetCatalogSidecars; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "resolveDescription", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkM7LU4NTI_cjs.resolveDescription; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "resolveLabel", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkM7LU4NTI_cjs.resolveLabel; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=i18n.cjs.map
|
|
48
48
|
//# sourceMappingURL=i18n.cjs.map
|
package/dist/entries/i18n.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ export { L as LANGUAGES, b as LocaleDirection, N as NON_EN_LOCALE_IDS, g as getL
|
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
17
|
* For search filtering, use `entryMatchesQuery(entry, locale, query)` which
|
|
18
|
-
* filters across
|
|
18
|
+
* filters across the entry's id, the canonical English text AND the localized text.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
declare function registerCatalogSidecars(catalog: string, sidecars: Partial<Record<LocaleId, LocaleCatalogMap>> | undefined): void;
|
|
@@ -44,9 +44,10 @@ declare function resolveLabel(catalog: I18nCatalogId, id: string, englishLabel:
|
|
|
44
44
|
*/
|
|
45
45
|
declare function resolveDescription(catalog: I18nCatalogId, id: string, englishDescription: string, locale: LocaleId): string;
|
|
46
46
|
/**
|
|
47
|
-
* Search predicate: returns true if `query` matches
|
|
48
|
-
* English label/description or the localized label/description for
|
|
49
|
-
* current locale.
|
|
47
|
+
* Search predicate: returns true if `query` matches the entry's id, the
|
|
48
|
+
* canonical English label/description, or the localized label/description for
|
|
49
|
+
* the current locale. An id is a stable name no display text has to repeat, so
|
|
50
|
+
* an entry stays findable by it after its display name changes.
|
|
50
51
|
*
|
|
51
52
|
* Empty query always matches.
|
|
52
53
|
*/
|
package/dist/entries/i18n.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { L as LANGUAGES, b as LocaleDirection, N as NON_EN_LOCALE_IDS, g as getL
|
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
17
|
* For search filtering, use `entryMatchesQuery(entry, locale, query)` which
|
|
18
|
-
* filters across
|
|
18
|
+
* filters across the entry's id, the canonical English text AND the localized text.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
declare function registerCatalogSidecars(catalog: string, sidecars: Partial<Record<LocaleId, LocaleCatalogMap>> | undefined): void;
|
|
@@ -44,9 +44,10 @@ declare function resolveLabel(catalog: I18nCatalogId, id: string, englishLabel:
|
|
|
44
44
|
*/
|
|
45
45
|
declare function resolveDescription(catalog: I18nCatalogId, id: string, englishDescription: string, locale: LocaleId): string;
|
|
46
46
|
/**
|
|
47
|
-
* Search predicate: returns true if `query` matches
|
|
48
|
-
* English label/description or the localized label/description for
|
|
49
|
-
* current locale.
|
|
47
|
+
* Search predicate: returns true if `query` matches the entry's id, the
|
|
48
|
+
* canonical English label/description, or the localized label/description for
|
|
49
|
+
* the current locale. An id is a stable name no display text has to repeat, so
|
|
50
|
+
* an entry stays findable by it after its display name changes.
|
|
50
51
|
*
|
|
51
52
|
* Empty query always matches.
|
|
52
53
|
*/
|
package/dist/entries/i18n.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LANGUAGES, NON_EN_LOCALE_IDS, ensureLocaleCatalogLoaded, entryMatchesQuery, getLocaleDirection, registerCatalogSidecars, registerSidecarLoaders, resetCatalogSidecars, resolveDescription, resolveLabel } from '../chunk-
|
|
1
|
+
export { LANGUAGES, NON_EN_LOCALE_IDS, ensureLocaleCatalogLoaded, entryMatchesQuery, getLocaleDirection, registerCatalogSidecars, registerSidecarLoaders, resetCatalogSidecars, resolveDescription, resolveLabel } from '../chunk-TADEEG5E.js';
|
|
2
2
|
//# sourceMappingURL=i18n.js.map
|
|
3
3
|
//# sourceMappingURL=i18n.js.map
|
package/dist/entries/media.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAFQFGZN7_cjs = require('../chunk-AFQFGZN7.cjs');
|
|
4
4
|
var chunk44I73CQS_cjs = require('../chunk-44I73CQS.cjs');
|
|
5
5
|
var chunkM3SXUUWC_cjs = require('../chunk-M3SXUUWC.cjs');
|
|
6
6
|
var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
@@ -9,223 +9,247 @@ var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "AUDIO_FX_PRESETS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkAFQFGZN7_cjs.AUDIO_FX_PRESETS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_LABELS", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkAFQFGZN7_cjs.AUDIO_FX_PRESET_LABELS; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_SET", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkAFQFGZN7_cjs.AUDIO_FX_PRESET_SET; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "AUDIO_FX_REVERB_PRESETS", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkAFQFGZN7_cjs.AUDIO_FX_REVERB_PRESETS; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DEFAULT_VIDEO_MASK_PROVIDER", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkAFQFGZN7_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkAFQFGZN7_cjs.FREECUT_EXPORT_COMPLETE; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkAFQFGZN7_cjs.FREECUT_EXPORT_PROGRESS; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "FREECUT_READY", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkAFQFGZN7_cjs.FREECUT_READY; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkAFQFGZN7_cjs.FREECUT_REQUEST_IMPORT; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkAFQFGZN7_cjs.GENERATE_MASK_LIMITS; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkAFQFGZN7_cjs.LEGACY_LOTTIE_HOST_REMAP; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkAFQFGZN7_cjs.LOTTIE_OVERLAY_CATALOG; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkAFQFGZN7_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkAFQFGZN7_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkAFQFGZN7_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkAFQFGZN7_cjs.MASK_COMPOSITE_BOUNDS; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkAFQFGZN7_cjs.MASK_COMPOSITE_DEFAULTS; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkAFQFGZN7_cjs.MASK_COMPOSITE_FILLS; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkAFQFGZN7_cjs.MASK_COMPOSITE_UNIT_SEC; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkAFQFGZN7_cjs.NODARO_IMPORT_FILES; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkAFQFGZN7_cjs.NODARO_LOAD_TIMELINE; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkAFQFGZN7_cjs.NODARO_LOAD_VIDEO; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkAFQFGZN7_cjs.NODARO_RESET_PROJECT; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "VIDEO_FACE_MESH_LAYERS", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_FACE_MESH_LAYERS; }
|
|
101
105
|
});
|
|
102
106
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
103
107
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "VIDEO_FACE_MESH_LINE_LAYERS", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
|
|
105
113
|
});
|
|
106
114
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
|
|
107
115
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_FACE_MESH_PARTS; }
|
|
109
117
|
});
|
|
110
118
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
111
119
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_FACE_MESH_PATH; }
|
|
113
121
|
});
|
|
114
122
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
115
123
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
117
125
|
});
|
|
118
126
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
119
127
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_MASK_DEFAULTS; }
|
|
121
129
|
});
|
|
122
130
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
123
131
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_MASK_LIMITS; }
|
|
125
133
|
});
|
|
126
134
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
127
135
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_MASK_PROVIDERS; }
|
|
129
137
|
});
|
|
130
138
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
131
139
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkAFQFGZN7_cjs.VIDEO_MASK_RECIPE; }
|
|
133
141
|
});
|
|
134
142
|
Object.defineProperty(exports, "applySlots", {
|
|
135
143
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkAFQFGZN7_cjs.applySlots; }
|
|
137
145
|
});
|
|
138
146
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
139
147
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkAFQFGZN7_cjs.deriveLottieSlotFields; }
|
|
141
149
|
});
|
|
142
150
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
143
151
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkAFQFGZN7_cjs.describeMaskRegion; }
|
|
145
153
|
});
|
|
146
154
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
147
155
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkAFQFGZN7_cjs.describeSlotControl; }
|
|
149
157
|
});
|
|
150
158
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
151
159
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkAFQFGZN7_cjs.hexToRgbaArray; }
|
|
153
161
|
});
|
|
154
162
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
155
163
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkAFQFGZN7_cjs.humanizeSlotSid; }
|
|
157
165
|
});
|
|
158
166
|
Object.defineProperty(exports, "listSlotSids", {
|
|
159
167
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkAFQFGZN7_cjs.listSlotSids; }
|
|
161
169
|
});
|
|
162
170
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
163
171
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkAFQFGZN7_cjs.maskCompositeEffectiveAudioSource; }
|
|
165
173
|
});
|
|
166
174
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
167
175
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkAFQFGZN7_cjs.maskCompositeFillOf; }
|
|
169
177
|
});
|
|
170
178
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
171
179
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkAFQFGZN7_cjs.maskCompositeLeadHandle; }
|
|
173
181
|
});
|
|
174
182
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
175
183
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkAFQFGZN7_cjs.maskCompositeUnits; }
|
|
177
185
|
});
|
|
178
186
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
179
187
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkAFQFGZN7_cjs.maskCompositeUsesForeground; }
|
|
181
189
|
});
|
|
182
190
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
183
191
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkAFQFGZN7_cjs.normalizeLottieLayers; }
|
|
185
193
|
});
|
|
186
194
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
187
195
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkAFQFGZN7_cjs.resolveLottieOverlaySrc; }
|
|
189
197
|
});
|
|
190
198
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
191
199
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkAFQFGZN7_cjs.resolveMaskCompositeSettings; }
|
|
193
201
|
});
|
|
194
202
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
195
203
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkAFQFGZN7_cjs.resolveVideoMaskProvider; }
|
|
197
205
|
});
|
|
198
206
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
199
207
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkAFQFGZN7_cjs.resolveVideoMaskRedetectSec; }
|
|
201
209
|
});
|
|
202
210
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
203
211
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkAFQFGZN7_cjs.resolveVideoMaskZone; }
|
|
205
213
|
});
|
|
206
214
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
207
215
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkAFQFGZN7_cjs.rgbaArrayToHex; }
|
|
209
217
|
});
|
|
210
218
|
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
211
219
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkAFQFGZN7_cjs.videoFaceMeshCreditId; }
|
|
213
221
|
});
|
|
214
222
|
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
215
223
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkAFQFGZN7_cjs.videoFaceMeshCreditIds; }
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "videoFaceMeshLayersDrawLines", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return chunkAFQFGZN7_cjs.videoFaceMeshLayersDrawLines; }
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "videoFaceMeshLayersOfParts", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function () { return chunkAFQFGZN7_cjs.videoFaceMeshLayersOfParts; }
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "videoFaceMeshLayersOn", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return chunkAFQFGZN7_cjs.videoFaceMeshLayersOn; }
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "videoFaceMeshPartsOfLayers", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () { return chunkAFQFGZN7_cjs.videoFaceMeshPartsOfLayers; }
|
|
217
241
|
});
|
|
218
242
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
219
243
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkAFQFGZN7_cjs.videoMaskBilledSeconds; }
|
|
221
245
|
});
|
|
222
246
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
223
247
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkAFQFGZN7_cjs.videoMaskCreditId; }
|
|
225
249
|
});
|
|
226
250
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
227
251
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkAFQFGZN7_cjs.videoMaskCreditIds; }
|
|
229
253
|
});
|
|
230
254
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
231
255
|
enumerable: true,
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -545,10 +545,48 @@ declare const VIDEO_FACE_MESH_LIMITS: {
|
|
|
545
545
|
* What a face mesh run draws on each face (`VideoFaceMeshRequest.parts`):
|
|
546
546
|
* `"full"` (the default) the thin wireframe and the darker eye and lip
|
|
547
547
|
* outlines; `"features"` the eye outlines and the lip outline only, no
|
|
548
|
-
* wireframe; `"mouth"` the lip outline only
|
|
548
|
+
* wireframe; `"mouth"` the lip outline only; `"contours"` the face oval,
|
|
549
|
+
* both eyebrows, the nose and the eye and lip outlines, no wireframe (a host
|
|
550
|
+
* that draws them says so to its engine: `videoFaceMeshContours`).
|
|
549
551
|
*/
|
|
550
|
-
declare const VIDEO_FACE_MESH_PARTS: readonly ["full", "features", "mouth"];
|
|
552
|
+
declare const VIDEO_FACE_MESH_PARTS: readonly ["full", "features", "mouth", "contours"];
|
|
551
553
|
type VideoFaceMeshParts = (typeof VIDEO_FACE_MESH_PARTS)[number];
|
|
554
|
+
/**
|
|
555
|
+
* The face mesh's layers (`VideoFaceMeshRequest.layers`), each drawn or not
|
|
556
|
+
* on its own:
|
|
557
|
+
* - `wireframe`: the thin mesh over the whole face;
|
|
558
|
+
* - `eyes`: the eye outlines; `lips`: the lip outline, outer and inner;
|
|
559
|
+
* - `contours`: the face oval, both eyebrows and the nose. With it on, every
|
|
560
|
+
* line drawn leaves out what the face hides (a turned face's far side);
|
|
561
|
+
* with it off, nothing is left out;
|
|
562
|
+
* - `irises`: a circle round each iris and a dot at its centre, drawn only
|
|
563
|
+
* inside the eye's opening (an eyelid covers it, a closed eye hides it);
|
|
564
|
+
* - `bold`: the lines drawn thicker and in a deeper tone. It draws nothing
|
|
565
|
+
* of its own: it changes the lines of the other layers.
|
|
566
|
+
* Every `parts` value is one set of layers (`videoFaceMeshLayersOfParts`),
|
|
567
|
+
* drawn exactly as that value is.
|
|
568
|
+
*/
|
|
569
|
+
declare const VIDEO_FACE_MESH_LAYERS: readonly ["wireframe", "eyes", "lips", "contours", "irises", "bold"];
|
|
570
|
+
type VideoFaceMeshLayer = (typeof VIDEO_FACE_MESH_LAYERS)[number];
|
|
571
|
+
/** The layers that draw lines of their own (all but `bold`): a set needs at least one. */
|
|
572
|
+
declare const VIDEO_FACE_MESH_LINE_LAYERS: readonly ["wireframe", "eyes", "lips", "contours", "irises"];
|
|
573
|
+
/** A set of layers: each one on when `true`; left out or `false` is off. */
|
|
574
|
+
type VideoFaceMeshLayers = {
|
|
575
|
+
readonly [K in VideoFaceMeshLayer]?: boolean;
|
|
576
|
+
};
|
|
577
|
+
/** The set of layers a `parts` value draws (left out: `"full"`), a new object with only its layers, each `true`. */
|
|
578
|
+
declare function videoFaceMeshLayersOfParts(parts?: VideoFaceMeshParts): VideoFaceMeshLayers;
|
|
579
|
+
/** The set with only its layers that are on, each `true`, in `VIDEO_FACE_MESH_LAYERS` order: a new object. */
|
|
580
|
+
declare function videoFaceMeshLayersOn(layers: VideoFaceMeshLayers | null | undefined): VideoFaceMeshLayers;
|
|
581
|
+
/** Whether the set draws any line (a layer other than `bold` on). */
|
|
582
|
+
declare function videoFaceMeshLayersDrawLines(layers: VideoFaceMeshLayers | null | undefined): boolean;
|
|
583
|
+
/**
|
|
584
|
+
* The `parts` value that draws exactly this set of layers, or undefined when
|
|
585
|
+
* none does (a set only layers can name: the irises, bold lines, the eyes
|
|
586
|
+
* alone…). `among` limits the values it may answer (a setting that takes only
|
|
587
|
+
* some of them).
|
|
588
|
+
*/
|
|
589
|
+
declare function videoFaceMeshPartsOfLayers(layers: VideoFaceMeshLayers | null | undefined, among?: readonly VideoFaceMeshParts[]): VideoFaceMeshParts | undefined;
|
|
552
590
|
/**
|
|
553
591
|
* The version of what a face mesh run draws for a given clip and settings:
|
|
554
592
|
* every finished `video-face-mesh` job reports it as `output_data.recipe`,
|
|
@@ -612,6 +650,12 @@ interface VideoFaceMeshRequest {
|
|
|
612
650
|
* are drawn as they are in the full mesh (the same tone and width).
|
|
613
651
|
*/
|
|
614
652
|
readonly parts?: VideoFaceMeshParts;
|
|
653
|
+
/**
|
|
654
|
+
* What is drawn, layer by layer (`VIDEO_FACE_MESH_LAYERS`), in place of
|
|
655
|
+
* `parts` (never both). At least one layer other than `bold`. A set that is
|
|
656
|
+
* a `parts` value's draws exactly as that value does.
|
|
657
|
+
*/
|
|
658
|
+
readonly layers?: VideoFaceMeshLayers;
|
|
615
659
|
}
|
|
616
660
|
/** A finished `video-face-mesh` job's `output_data`. */
|
|
617
661
|
interface VideoFaceMeshOutput {
|
|
@@ -628,6 +672,8 @@ interface VideoFaceMeshOutput {
|
|
|
628
672
|
readonly colormap?: VideoDepthColormap;
|
|
629
673
|
/** What was drawn when it was not the full mesh (a request with `parts` `"features"` or `"mouth"`); absent = the full mesh. */
|
|
630
674
|
readonly parts?: Exclude<VideoFaceMeshParts, "full">;
|
|
675
|
+
/** The layers drawn, for a request that named `layers` (only those on, each `true`); absent: `parts` says. */
|
|
676
|
+
readonly layers?: VideoFaceMeshLayers;
|
|
631
677
|
readonly recipe: string;
|
|
632
678
|
}
|
|
633
679
|
|
|
@@ -847,4 +893,4 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
847
893
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
848
894
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
849
895
|
|
|
850
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
|
896
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
package/dist/entries/media.d.ts
CHANGED
|
@@ -545,10 +545,48 @@ declare const VIDEO_FACE_MESH_LIMITS: {
|
|
|
545
545
|
* What a face mesh run draws on each face (`VideoFaceMeshRequest.parts`):
|
|
546
546
|
* `"full"` (the default) the thin wireframe and the darker eye and lip
|
|
547
547
|
* outlines; `"features"` the eye outlines and the lip outline only, no
|
|
548
|
-
* wireframe; `"mouth"` the lip outline only
|
|
548
|
+
* wireframe; `"mouth"` the lip outline only; `"contours"` the face oval,
|
|
549
|
+
* both eyebrows, the nose and the eye and lip outlines, no wireframe (a host
|
|
550
|
+
* that draws them says so to its engine: `videoFaceMeshContours`).
|
|
549
551
|
*/
|
|
550
|
-
declare const VIDEO_FACE_MESH_PARTS: readonly ["full", "features", "mouth"];
|
|
552
|
+
declare const VIDEO_FACE_MESH_PARTS: readonly ["full", "features", "mouth", "contours"];
|
|
551
553
|
type VideoFaceMeshParts = (typeof VIDEO_FACE_MESH_PARTS)[number];
|
|
554
|
+
/**
|
|
555
|
+
* The face mesh's layers (`VideoFaceMeshRequest.layers`), each drawn or not
|
|
556
|
+
* on its own:
|
|
557
|
+
* - `wireframe`: the thin mesh over the whole face;
|
|
558
|
+
* - `eyes`: the eye outlines; `lips`: the lip outline, outer and inner;
|
|
559
|
+
* - `contours`: the face oval, both eyebrows and the nose. With it on, every
|
|
560
|
+
* line drawn leaves out what the face hides (a turned face's far side);
|
|
561
|
+
* with it off, nothing is left out;
|
|
562
|
+
* - `irises`: a circle round each iris and a dot at its centre, drawn only
|
|
563
|
+
* inside the eye's opening (an eyelid covers it, a closed eye hides it);
|
|
564
|
+
* - `bold`: the lines drawn thicker and in a deeper tone. It draws nothing
|
|
565
|
+
* of its own: it changes the lines of the other layers.
|
|
566
|
+
* Every `parts` value is one set of layers (`videoFaceMeshLayersOfParts`),
|
|
567
|
+
* drawn exactly as that value is.
|
|
568
|
+
*/
|
|
569
|
+
declare const VIDEO_FACE_MESH_LAYERS: readonly ["wireframe", "eyes", "lips", "contours", "irises", "bold"];
|
|
570
|
+
type VideoFaceMeshLayer = (typeof VIDEO_FACE_MESH_LAYERS)[number];
|
|
571
|
+
/** The layers that draw lines of their own (all but `bold`): a set needs at least one. */
|
|
572
|
+
declare const VIDEO_FACE_MESH_LINE_LAYERS: readonly ["wireframe", "eyes", "lips", "contours", "irises"];
|
|
573
|
+
/** A set of layers: each one on when `true`; left out or `false` is off. */
|
|
574
|
+
type VideoFaceMeshLayers = {
|
|
575
|
+
readonly [K in VideoFaceMeshLayer]?: boolean;
|
|
576
|
+
};
|
|
577
|
+
/** The set of layers a `parts` value draws (left out: `"full"`), a new object with only its layers, each `true`. */
|
|
578
|
+
declare function videoFaceMeshLayersOfParts(parts?: VideoFaceMeshParts): VideoFaceMeshLayers;
|
|
579
|
+
/** The set with only its layers that are on, each `true`, in `VIDEO_FACE_MESH_LAYERS` order: a new object. */
|
|
580
|
+
declare function videoFaceMeshLayersOn(layers: VideoFaceMeshLayers | null | undefined): VideoFaceMeshLayers;
|
|
581
|
+
/** Whether the set draws any line (a layer other than `bold` on). */
|
|
582
|
+
declare function videoFaceMeshLayersDrawLines(layers: VideoFaceMeshLayers | null | undefined): boolean;
|
|
583
|
+
/**
|
|
584
|
+
* The `parts` value that draws exactly this set of layers, or undefined when
|
|
585
|
+
* none does (a set only layers can name: the irises, bold lines, the eyes
|
|
586
|
+
* alone…). `among` limits the values it may answer (a setting that takes only
|
|
587
|
+
* some of them).
|
|
588
|
+
*/
|
|
589
|
+
declare function videoFaceMeshPartsOfLayers(layers: VideoFaceMeshLayers | null | undefined, among?: readonly VideoFaceMeshParts[]): VideoFaceMeshParts | undefined;
|
|
552
590
|
/**
|
|
553
591
|
* The version of what a face mesh run draws for a given clip and settings:
|
|
554
592
|
* every finished `video-face-mesh` job reports it as `output_data.recipe`,
|
|
@@ -612,6 +650,12 @@ interface VideoFaceMeshRequest {
|
|
|
612
650
|
* are drawn as they are in the full mesh (the same tone and width).
|
|
613
651
|
*/
|
|
614
652
|
readonly parts?: VideoFaceMeshParts;
|
|
653
|
+
/**
|
|
654
|
+
* What is drawn, layer by layer (`VIDEO_FACE_MESH_LAYERS`), in place of
|
|
655
|
+
* `parts` (never both). At least one layer other than `bold`. A set that is
|
|
656
|
+
* a `parts` value's draws exactly as that value does.
|
|
657
|
+
*/
|
|
658
|
+
readonly layers?: VideoFaceMeshLayers;
|
|
615
659
|
}
|
|
616
660
|
/** A finished `video-face-mesh` job's `output_data`. */
|
|
617
661
|
interface VideoFaceMeshOutput {
|
|
@@ -628,6 +672,8 @@ interface VideoFaceMeshOutput {
|
|
|
628
672
|
readonly colormap?: VideoDepthColormap;
|
|
629
673
|
/** What was drawn when it was not the full mesh (a request with `parts` `"features"` or `"mouth"`); absent = the full mesh. */
|
|
630
674
|
readonly parts?: Exclude<VideoFaceMeshParts, "full">;
|
|
675
|
+
/** The layers drawn, for a request that named `layers` (only those on, each `true`); absent: `parts` says. */
|
|
676
|
+
readonly layers?: VideoFaceMeshLayers;
|
|
631
677
|
readonly recipe: string;
|
|
632
678
|
}
|
|
633
679
|
|
|
@@ -847,4 +893,4 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
847
893
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
848
894
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
849
895
|
|
|
850
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
|
896
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
package/dist/entries/media.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-
|
|
1
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-G4XWVWRI.js';
|
|
2
2
|
export { DEFAULT_OVERLAY_QR, DEFAULT_OVERLAY_SHAPE, DEFAULT_OVERLAY_TEXT, OVERLAY_ANCHORS, OVERLAY_FONTS, OVERLAY_FONT_IDS, OVERLAY_IMAGE_MASKS, OVERLAY_LAYER_KINDS, OVERLAY_SHAPES, OVERLAY_TEXT_ALIGNS, isRtlText, overlayFontById, overlayImageEffectsSchema, overlayQrStyleSchema, overlayShapeElement, overlayShapeStyleSchema, overlayStrokeSchema, overlayTextStyleSchema } from '../chunk-ZNZDQAXN.js';
|
|
3
3
|
export { CLIP_PRICE_GRACE_SEC, FAL_VIDEO_DEPTH_PROVIDERS, REPLICATE_VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, checkVideoDepthLength, pricedClipSeconds, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass } from '../chunk-6XVHYD5R.js';
|
|
4
4
|
export { OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_VARIANT_HANDLE_PREFIX, overlayPlatformById, overlayVariantHandle, overlayVariantIdFromHandle } from '../chunk-5THUHJ3E.js';
|