@nodaro/prompts 1.49.0 → 1.50.1
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/{catalog-packs-C--EzV3K.d.cts → catalog-packs-DeMcSVCR.d.cts} +1 -1
- package/dist/{catalog-packs-BzzZCjbz.d.ts → catalog-packs-DjqvicAR.d.ts} +1 -1
- package/dist/{chunk-RRHU6MD5.js → chunk-34JK2G34.js} +4 -4
- package/dist/{chunk-RRHU6MD5.js.map → chunk-34JK2G34.js.map} +1 -1
- package/dist/{chunk-4V4JJUEH.js → chunk-3XSB5YDY.js} +4 -4
- package/dist/chunk-3XSB5YDY.js.map +1 -0
- package/dist/{chunk-QN3OP6TG.js → chunk-5XPELUES.js} +4 -4
- package/dist/chunk-5XPELUES.js.map +1 -0
- package/dist/{chunk-3J52HGBL.js → chunk-BWDQEAX2.js} +4 -4
- package/dist/{chunk-3J52HGBL.js.map → chunk-BWDQEAX2.js.map} +1 -1
- package/dist/{chunk-MJ5OXUDF.js → chunk-C5LP7DAQ.js} +6 -6
- package/dist/{chunk-MJ5OXUDF.js.map → chunk-C5LP7DAQ.js.map} +1 -1
- package/dist/{chunk-PJPCNKEJ.js → chunk-DB6A5I6V.js} +3 -3
- package/dist/{chunk-PJPCNKEJ.js.map → chunk-DB6A5I6V.js.map} +1 -1
- package/dist/{chunk-FDTRN7OE.js → chunk-FEOVUTFC.js} +10 -7
- package/dist/{chunk-FDTRN7OE.js.map → chunk-FEOVUTFC.js.map} +1 -1
- package/dist/{chunk-WW7IHRIE.cjs → chunk-FFPFBNXH.cjs} +4 -4
- package/dist/chunk-FFPFBNXH.cjs.map +1 -0
- package/dist/{chunk-OXJ5GN57.cjs → chunk-HR4TFBU2.cjs} +35 -35
- package/dist/{chunk-OXJ5GN57.cjs.map → chunk-HR4TFBU2.cjs.map} +1 -1
- package/dist/{chunk-NBJR7JS4.cjs → chunk-IADAATZK.cjs} +49 -49
- package/dist/{chunk-NBJR7JS4.cjs.map → chunk-IADAATZK.cjs.map} +1 -1
- package/dist/{chunk-XVAVCHPJ.js → chunk-IXBTD2LW.js} +4 -4
- package/dist/{chunk-XVAVCHPJ.js.map → chunk-IXBTD2LW.js.map} +1 -1
- package/dist/{chunk-3HMMG6W4.cjs → chunk-JGEBO6L6.cjs} +8 -8
- package/dist/{chunk-3HMMG6W4.cjs.map → chunk-JGEBO6L6.cjs.map} +1 -1
- package/dist/{chunk-NET25TEQ.cjs → chunk-KYKCHOOS.cjs} +13 -13
- package/dist/{chunk-NET25TEQ.cjs.map → chunk-KYKCHOOS.cjs.map} +1 -1
- package/dist/{chunk-KBIA4R6X.cjs → chunk-MJIKM4YZ.cjs} +130 -127
- package/dist/{chunk-KBIA4R6X.cjs.map → chunk-MJIKM4YZ.cjs.map} +1 -1
- package/dist/chunk-MUTUHJIV.js +36 -0
- package/dist/chunk-MUTUHJIV.js.map +1 -0
- package/dist/chunk-PLQFXCBU.cjs +39 -0
- package/dist/chunk-PLQFXCBU.cjs.map +1 -0
- package/dist/{chunk-MGK6SFTV.cjs → chunk-RVBO63D5.cjs} +4 -4
- package/dist/{chunk-MGK6SFTV.cjs.map → chunk-RVBO63D5.cjs.map} +1 -1
- package/dist/{chunk-3AVLIA4B.cjs → chunk-TYJCCODP.cjs} +18 -18
- package/dist/{chunk-3AVLIA4B.cjs.map → chunk-TYJCCODP.cjs.map} +1 -1
- package/dist/{chunk-7C7XLZPU.js → chunk-VJYKE6AY.js} +3 -3
- package/dist/{chunk-7C7XLZPU.js.map → chunk-VJYKE6AY.js.map} +1 -1
- package/dist/{chunk-7VVVHIMH.cjs → chunk-VYCTRGJ7.cjs} +39 -39
- package/dist/{chunk-7VVVHIMH.cjs.map → chunk-VYCTRGJ7.cjs.map} +1 -1
- package/dist/{chunk-GTN3UO74.cjs → chunk-WLN2MJ7F.cjs} +7 -7
- package/dist/chunk-WLN2MJ7F.cjs.map +1 -0
- package/dist/{chunk-NRBO4I4G.js → chunk-ZZ6UOK2P.js} +4 -4
- package/dist/{chunk-NRBO4I4G.js.map → chunk-ZZ6UOK2P.js.map} +1 -1
- package/dist/entries/assembly.cjs +29 -29
- package/dist/entries/assembly.js +6 -6
- package/dist/entries/catalog-packs.d.cts +4 -4
- package/dist/entries/catalog-packs.d.ts +4 -4
- package/dist/entries/person.d.cts +3 -3
- package/dist/entries/person.d.ts +3 -3
- package/dist/entries/picker-art.cjs +28 -20
- package/dist/entries/picker-art.d.cts +13 -2
- package/dist/entries/picker-art.d.ts +13 -2
- package/dist/entries/picker-art.js +2 -2
- package/dist/entries/picker-catalogs.cjs +57 -57
- package/dist/entries/picker-catalogs.d.cts +5 -3
- package/dist/entries/picker-catalogs.d.ts +5 -3
- package/dist/entries/picker-catalogs.js +5 -5
- package/dist/entries/pickers.cjs +383 -383
- package/dist/entries/pickers.d.cts +7 -1
- package/dist/entries/pickers.d.ts +7 -1
- package/dist/entries/pickers.js +3 -3
- package/dist/entries/presets.cjs +35 -35
- package/dist/entries/presets.js +1 -1
- package/dist/entries/prompt-builder.cjs +76 -76
- package/dist/entries/prompt-builder.js +5 -5
- package/dist/{images-DrbQB9Yh.d.ts → images-ChAOLY5V.d.cts} +5 -4
- package/dist/{images-DrbQB9Yh.d.cts → images-ChAOLY5V.d.ts} +5 -4
- package/dist/index.cjs +597 -589
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -11
- package/dist/{picker-catalogs-BylSIFKL.d.cts → picker-catalogs-DzLCu6qQ.d.cts} +1 -1
- package/dist/{picker-catalogs-DHRyjPXb.d.ts → picker-catalogs-SDSWrufc.d.ts} +1 -1
- package/package.json +2 -2
- package/src/__tests__/fixtures/root-exports.baseline.json +5 -0
- package/src/__tests__/picker-art-images.test.ts +40 -0
- package/src/__tests__/style-display-name.test.ts +153 -0
- package/src/__tests__/style-labels-offered-locales.test.ts +48 -0
- package/src/factory-presets/generate-image.ts +1 -1
- package/src/factory-presets/generate-video.ts +1 -1
- package/src/picker-analyzer-registry.ts +9 -2
- package/src/picker-art/images.ts +6 -5
- package/src/picker-art/index.ts +1 -0
- package/src/picker-art/restyle-previews.ts +53 -0
- package/src/setting.ts +1 -1
- package/src/style.ts +7 -1
- package/dist/chunk-4V4JJUEH.js.map +0 -1
- package/dist/chunk-GTN3UO74.cjs.map +0 -1
- package/dist/chunk-HOMR5XFP.js +0 -3
- package/dist/chunk-HOMR5XFP.js.map +0 -1
- package/dist/chunk-QN3OP6TG.js.map +0 -1
- package/dist/chunk-T4OJFIJK.cjs +0 -4
- package/dist/chunk-T4OJFIJK.cjs.map +0 -1
- package/dist/chunk-WW7IHRIE.cjs.map +0 -1
|
@@ -1,303 +1,303 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkKYKCHOOS_cjs = require('../chunk-KYKCHOOS.cjs');
|
|
4
|
+
var chunkTYJCCODP_cjs = require('../chunk-TYJCCODP.cjs');
|
|
5
5
|
require('../chunk-4GKTOVFM.cjs');
|
|
6
6
|
require('../chunk-UXDKZVNN.cjs');
|
|
7
7
|
require('../chunk-2NJTFCKQ.cjs');
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-
|
|
8
|
+
var chunkHR4TFBU2_cjs = require('../chunk-HR4TFBU2.cjs');
|
|
9
|
+
require('../chunk-WLN2MJ7F.cjs');
|
|
10
10
|
require('../chunk-3UEA3UHQ.cjs');
|
|
11
11
|
require('../chunk-K6NT635Z.cjs');
|
|
12
12
|
require('../chunk-FY4AMIDB.cjs');
|
|
13
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-FFPFBNXH.cjs');
|
|
14
14
|
require('../chunk-Q7SFCCGT.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "readDirectionFields", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkKYKCHOOS_cjs.readDirectionFields; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "readStructuredFields", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkKYKCHOOS_cjs.readStructuredFields; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "readSubjectFields", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkKYKCHOOS_cjs.readSubjectFields; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "ANGLE_LABELS", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkTYJCCODP_cjs.ANGLE_LABELS; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "ASPECT_RATIO_LABELS", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkTYJCCODP_cjs.ASPECT_RATIO_LABELS; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "MAX_SUBJECT_KEYS", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkTYJCCODP_cjs.MAX_SUBJECT_KEYS; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "MOVEMENT_LABELS", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkTYJCCODP_cjs.MOVEMENT_LABELS; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "SCENE_PROMPT_MAX_LENGTH", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkTYJCCODP_cjs.SCENE_PROMPT_MAX_LENGTH; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "SHOT_LABELS", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkTYJCCODP_cjs.SHOT_LABELS; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "STYLE_SECTION_GAP", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkTYJCCODP_cjs.STYLE_SECTION_GAP; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "STYLE_SECTION_HEADER", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkTYJCCODP_cjs.STYLE_SECTION_HEADER; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "SUBJECT_ARRAY_CEILING", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_ARRAY_CEILING; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "SUBJECT_CUSTOM_AGE_KEY", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_CUSTOM_AGE_KEY; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "SUBJECT_FIELDS", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_FIELDS; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "SUBJECT_FOLD_KEYS", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_FOLD_KEYS; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "SUBJECT_ID_MAX_CHARS", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_ID_MAX_CHARS; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "SUBJECT_IMAGE_HINT_MODE_DEFAULT", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_IMAGE_HINT_MODE_DEFAULT; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "SUBJECT_KEYS", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_KEYS; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "SUBJECT_KEY_MAX_CHARS", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_KEY_MAX_CHARS; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "SUBJECT_VIDEO_HINT_MODE_DEFAULT", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkTYJCCODP_cjs.SUBJECT_VIDEO_HINT_MODE_DEFAULT; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "appendReferenceLines", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkTYJCCODP_cjs.appendReferenceLines; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "applyReferenceOrderToVideo", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkTYJCCODP_cjs.applyReferenceOrderToVideo; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "asBodyClauses", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkTYJCCODP_cjs.asBodyClauses; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "buildIdentityDirectives", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkTYJCCODP_cjs.buildIdentityDirectives; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "buildImagePrompt", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkTYJCCODP_cjs.buildImagePrompt; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "buildImagePromptSegments", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkTYJCCODP_cjs.buildImagePromptSegments; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "buildImagePromptWithOverflow", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkTYJCCODP_cjs.buildImagePromptWithOverflow; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "buildReferenceBlocks", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkTYJCCODP_cjs.buildReferenceBlocks; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "buildScenePrompt", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkTYJCCODP_cjs.buildScenePrompt; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "composeSectionedPrompt", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkTYJCCODP_cjs.composeSectionedPrompt; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "endsInsideStyleSection", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkTYJCCODP_cjs.endsInsideStyleSection; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "expandImagePositionRefs", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkTYJCCODP_cjs.expandImagePositionRefs; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "expandImageRefTokens", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkTYJCCODP_cjs.expandImageRefTokens; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "getRegisteredSubjectKeys", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkTYJCCODP_cjs.getRegisteredSubjectKeys; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "insertBeforeStyleSection", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkTYJCCODP_cjs.insertBeforeStyleSection; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "normalizeSubjectFields", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkTYJCCODP_cjs.normalizeSubjectFields; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "partitionStyleClauses", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkTYJCCODP_cjs.partitionStyleClauses; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "referenceDescriptionLine", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkTYJCCODP_cjs.referenceDescriptionLine; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "renderDescribedReferenceLines", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkTYJCCODP_cjs.renderDescribedReferenceLines; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "renderReferenceCaptionLines", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkTYJCCODP_cjs.renderReferenceCaptionLines; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "renderStructuredFields", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkTYJCCODP_cjs.renderStructuredFields; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "renderStyleSection", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkTYJCCODP_cjs.renderStyleSection; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "renderSubjectHints", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkTYJCCODP_cjs.renderSubjectHints; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "resolveCharacterMentions", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkTYJCCODP_cjs.resolveCharacterMentions; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "resolveLocationMentions", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkTYJCCODP_cjs.resolveLocationMentions; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "sectionedClauseCosts", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkTYJCCODP_cjs.sectionedClauseCosts; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "splitStyleSection", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkTYJCCODP_cjs.splitStyleSection; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "styleSectionFromClauses", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkTYJCCODP_cjs.styleSectionFromClauses; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "styleSlotFor", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkTYJCCODP_cjs.styleSlotFor; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "subjectFieldsForSurface", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkTYJCCODP_cjs.subjectFieldsForSurface; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "truncateText", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkTYJCCODP_cjs.truncateText; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "DIRECTION_ARRAY_CEILING", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkHR4TFBU2_cjs.DIRECTION_ARRAY_CEILING; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "DIRECTION_FIELDS", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkHR4TFBU2_cjs.DIRECTION_FIELDS; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "DIRECTION_ID_MAX_CHARS", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkHR4TFBU2_cjs.DIRECTION_ID_MAX_CHARS; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "DIRECTION_KEYS", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkHR4TFBU2_cjs.DIRECTION_KEYS; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "FILM_STYLE_KEYS", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkHR4TFBU2_cjs.FILM_STYLE_KEYS; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "IMAGE_HINT_MODE_DEFAULT", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkHR4TFBU2_cjs.IMAGE_HINT_MODE_DEFAULT; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "USER_DIRECTION_REF_KINDS", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkHR4TFBU2_cjs.USER_DIRECTION_REF_KINDS; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "VIDEO_HINT_MODE_DEFAULT", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkHR4TFBU2_cjs.VIDEO_HINT_MODE_DEFAULT; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "directionFieldsForSurface", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkHR4TFBU2_cjs.directionFieldsForSurface; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "directionKeyForUserRef", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkHR4TFBU2_cjs.directionKeyForUserRef; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "modeForFamily", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkHR4TFBU2_cjs.modeForFamily; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "nearestColorName", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkHR4TFBU2_cjs.nearestColorName; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "parseUserDirectionRef", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkHR4TFBU2_cjs.parseUserDirectionRef; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "renderDirectionHintClauses", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkHR4TFBU2_cjs.renderDirectionHintClauses; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "renderDirectionHints", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkHR4TFBU2_cjs.renderDirectionHints; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "renderMoodboardClause", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkHR4TFBU2_cjs.renderMoodboardClause; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "renderPaletteClause", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkHR4TFBU2_cjs.renderPaletteClause; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "styleReferenceDescription", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkHR4TFBU2_cjs.styleReferenceDescription; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "userDirectionRefValue", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkHR4TFBU2_cjs.userDirectionRefValue; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "userRefKindOfDirectionKey", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkHR4TFBU2_cjs.userRefKindOfDirectionKey; }
|
|
301
301
|
});
|
|
302
302
|
//# sourceMappingURL=prompt-builder.cjs.map
|
|
303
303
|
//# sourceMappingURL=prompt-builder.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { readDirectionFields, readStructuredFields, readSubjectFields } from '../chunk-
|
|
2
|
-
export { ANGLE_LABELS, ASPECT_RATIO_LABELS, MAX_SUBJECT_KEYS, MOVEMENT_LABELS, SCENE_PROMPT_MAX_LENGTH, SHOT_LABELS, STYLE_SECTION_GAP, STYLE_SECTION_HEADER, SUBJECT_ARRAY_CEILING, SUBJECT_CUSTOM_AGE_KEY, SUBJECT_FIELDS, SUBJECT_FOLD_KEYS, SUBJECT_ID_MAX_CHARS, SUBJECT_IMAGE_HINT_MODE_DEFAULT, SUBJECT_KEYS, SUBJECT_KEY_MAX_CHARS, SUBJECT_VIDEO_HINT_MODE_DEFAULT, appendReferenceLines, applyReferenceOrderToVideo, asBodyClauses, buildIdentityDirectives, buildImagePrompt, buildImagePromptSegments, buildImagePromptWithOverflow, buildReferenceBlocks, buildScenePrompt, composeSectionedPrompt, endsInsideStyleSection, expandImagePositionRefs, expandImageRefTokens, getRegisteredSubjectKeys, insertBeforeStyleSection, normalizeSubjectFields, partitionStyleClauses, referenceDescriptionLine, renderDescribedReferenceLines, renderReferenceCaptionLines, renderStructuredFields, renderStyleSection, renderSubjectHints, resolveCharacterMentions, resolveLocationMentions, sectionedClauseCosts, splitStyleSection, styleSectionFromClauses, styleSlotFor, subjectFieldsForSurface, truncateText } from '../chunk-
|
|
1
|
+
export { readDirectionFields, readStructuredFields, readSubjectFields } from '../chunk-BWDQEAX2.js';
|
|
2
|
+
export { ANGLE_LABELS, ASPECT_RATIO_LABELS, MAX_SUBJECT_KEYS, MOVEMENT_LABELS, SCENE_PROMPT_MAX_LENGTH, SHOT_LABELS, STYLE_SECTION_GAP, STYLE_SECTION_HEADER, SUBJECT_ARRAY_CEILING, SUBJECT_CUSTOM_AGE_KEY, SUBJECT_FIELDS, SUBJECT_FOLD_KEYS, SUBJECT_ID_MAX_CHARS, SUBJECT_IMAGE_HINT_MODE_DEFAULT, SUBJECT_KEYS, SUBJECT_KEY_MAX_CHARS, SUBJECT_VIDEO_HINT_MODE_DEFAULT, appendReferenceLines, applyReferenceOrderToVideo, asBodyClauses, buildIdentityDirectives, buildImagePrompt, buildImagePromptSegments, buildImagePromptWithOverflow, buildReferenceBlocks, buildScenePrompt, composeSectionedPrompt, endsInsideStyleSection, expandImagePositionRefs, expandImageRefTokens, getRegisteredSubjectKeys, insertBeforeStyleSection, normalizeSubjectFields, partitionStyleClauses, referenceDescriptionLine, renderDescribedReferenceLines, renderReferenceCaptionLines, renderStructuredFields, renderStyleSection, renderSubjectHints, resolveCharacterMentions, resolveLocationMentions, sectionedClauseCosts, splitStyleSection, styleSectionFromClauses, styleSlotFor, subjectFieldsForSurface, truncateText } from '../chunk-ZZ6UOK2P.js';
|
|
3
3
|
import '../chunk-GILUVQQJ.js';
|
|
4
4
|
import '../chunk-35UHMDGS.js';
|
|
5
5
|
import '../chunk-BQWIPLLR.js';
|
|
6
|
-
export { DIRECTION_ARRAY_CEILING, DIRECTION_FIELDS, DIRECTION_ID_MAX_CHARS, DIRECTION_KEYS, FILM_STYLE_KEYS, IMAGE_HINT_MODE_DEFAULT, USER_DIRECTION_REF_KINDS, VIDEO_HINT_MODE_DEFAULT, directionFieldsForSurface, directionKeyForUserRef, modeForFamily, nearestColorName, parseUserDirectionRef, renderDirectionHintClauses, renderDirectionHints, renderMoodboardClause, renderPaletteClause, styleReferenceDescription, userDirectionRefValue, userRefKindOfDirectionKey } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
export { DIRECTION_ARRAY_CEILING, DIRECTION_FIELDS, DIRECTION_ID_MAX_CHARS, DIRECTION_KEYS, FILM_STYLE_KEYS, IMAGE_HINT_MODE_DEFAULT, USER_DIRECTION_REF_KINDS, VIDEO_HINT_MODE_DEFAULT, directionFieldsForSurface, directionKeyForUserRef, modeForFamily, nearestColorName, parseUserDirectionRef, renderDirectionHintClauses, renderDirectionHints, renderMoodboardClause, renderPaletteClause, styleReferenceDescription, userDirectionRefValue, userRefKindOfDirectionKey } from '../chunk-VJYKE6AY.js';
|
|
7
|
+
import '../chunk-3XSB5YDY.js';
|
|
8
8
|
import '../chunk-DVP6ILDR.js';
|
|
9
9
|
import '../chunk-TDZFXOTE.js';
|
|
10
10
|
import '../chunk-XAMHEW76.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-5XPELUES.js';
|
|
12
12
|
import '../chunk-PZ5AY32C.js';
|
|
13
13
|
//# sourceMappingURL=prompt-builder.js.map
|
|
14
14
|
//# sourceMappingURL=prompt-builder.js.map
|
|
@@ -22,11 +22,12 @@ interface PickerImageOptions {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* A still, 480px-wide picture of a rendered look preview: the image resized by
|
|
25
|
-
* the CDN, or — for a clip (camera motion) — a frame taken 1s in
|
|
26
|
-
* transforms the editor's tiles use. A URL off the
|
|
27
|
-
* as is for an image, and dropped for a clip (no still
|
|
25
|
+
* the CDN, or — for a clip (camera motion) — a frame taken 1s in (or at
|
|
26
|
+
* `clipSeconds`). The same transforms the editor's tiles use. A URL off the
|
|
27
|
+
* transforming CDN is kept as is for an image, and dropped for a clip (no still
|
|
28
|
+
* to offer).
|
|
28
29
|
*/
|
|
29
|
-
declare function lookPreviewStillUrl(url: string, width?: number): string | undefined;
|
|
30
|
+
declare function lookPreviewStillUrl(url: string, width?: number, clipSeconds?: number): string | undefined;
|
|
30
31
|
/** A picture of one picker option: its URL and, for a CDN render, a `srcset` over the shared width ladder. */
|
|
31
32
|
interface PickerOptionImage {
|
|
32
33
|
readonly url: string;
|
|
@@ -22,11 +22,12 @@ interface PickerImageOptions {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* A still, 480px-wide picture of a rendered look preview: the image resized by
|
|
25
|
-
* the CDN, or — for a clip (camera motion) — a frame taken 1s in
|
|
26
|
-
* transforms the editor's tiles use. A URL off the
|
|
27
|
-
* as is for an image, and dropped for a clip (no still
|
|
25
|
+
* the CDN, or — for a clip (camera motion) — a frame taken 1s in (or at
|
|
26
|
+
* `clipSeconds`). The same transforms the editor's tiles use. A URL off the
|
|
27
|
+
* transforming CDN is kept as is for an image, and dropped for a clip (no still
|
|
28
|
+
* to offer).
|
|
28
29
|
*/
|
|
29
|
-
declare function lookPreviewStillUrl(url: string, width?: number): string | undefined;
|
|
30
|
+
declare function lookPreviewStillUrl(url: string, width?: number, clipSeconds?: number): string | undefined;
|
|
30
31
|
/** A picture of one picker option: its URL and, for a CDN render, a `srcset` over the shared width ladder. */
|
|
31
32
|
interface PickerOptionImage {
|
|
32
33
|
readonly url: string;
|