@nodaro/prompts 1.42.1 → 1.45.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-PHFOKGYS.js → chunk-2HJJBXGA.js} +6 -6
- package/dist/{chunk-PHFOKGYS.js.map → chunk-2HJJBXGA.js.map} +1 -1
- package/dist/{chunk-HL6PZ4A6.js → chunk-2OIKQ4WB.js} +5 -5
- package/dist/{chunk-HL6PZ4A6.js.map → chunk-2OIKQ4WB.js.map} +1 -1
- package/dist/{chunk-ZFOXGNLK.js → chunk-57PTYJJX.js} +4 -4
- package/dist/{chunk-ZFOXGNLK.js.map → chunk-57PTYJJX.js.map} +1 -1
- package/dist/{chunk-ZGA72NCT.cjs → chunk-C4FDHCEZ.cjs} +125 -125
- package/dist/{chunk-ZGA72NCT.cjs.map → chunk-C4FDHCEZ.cjs.map} +1 -1
- package/dist/chunk-CLHIPYTC.js +10913 -0
- package/dist/chunk-CLHIPYTC.js.map +1 -0
- package/dist/{chunk-QJACEKMZ.js → chunk-CPKYIVWP.js} +3 -3
- package/dist/{chunk-QJACEKMZ.js.map → chunk-CPKYIVWP.js.map} +1 -1
- package/dist/{chunk-JDNHMVEV.cjs → chunk-FCTK7RGO.cjs} +35 -35
- package/dist/{chunk-JDNHMVEV.cjs.map → chunk-FCTK7RGO.cjs.map} +1 -1
- package/dist/{chunk-IFRFYBGE.js → chunk-IKHRZ5UQ.js} +3 -3
- package/dist/{chunk-IFRFYBGE.js.map → chunk-IKHRZ5UQ.js.map} +1 -1
- package/dist/{chunk-SB7AYE6S.cjs → chunk-JHEZJKTX.cjs} +250 -6
- package/dist/chunk-JHEZJKTX.cjs.map +1 -0
- package/dist/{chunk-GIO77YH5.js → chunk-NN4FL7SB.js} +4 -4
- package/dist/{chunk-GIO77YH5.js.map → chunk-NN4FL7SB.js.map} +1 -1
- package/dist/{chunk-I3QS7BSY.cjs → chunk-OSKABA64.cjs} +8 -8
- package/dist/{chunk-I3QS7BSY.cjs.map → chunk-OSKABA64.cjs.map} +1 -1
- package/dist/{chunk-AXQK7UH7.cjs → chunk-OY7XOPDG.cjs} +49 -49
- package/dist/{chunk-AXQK7UH7.cjs.map → chunk-OY7XOPDG.cjs.map} +1 -1
- package/dist/{chunk-ZLRB5BVT.cjs → chunk-PHR4UETI.cjs} +18 -18
- package/dist/{chunk-ZLRB5BVT.cjs.map → chunk-PHR4UETI.cjs.map} +1 -1
- package/dist/chunk-S3H4TI6N.cjs +10948 -0
- package/dist/chunk-S3H4TI6N.cjs.map +1 -0
- package/dist/{chunk-6JABZ5OC.js → chunk-SMKIVT7P.js} +4 -4
- package/dist/{chunk-6JABZ5OC.js.map → chunk-SMKIVT7P.js.map} +1 -1
- package/dist/{chunk-CYMIXKFT.js → chunk-TXHFL725.js} +247 -3
- package/dist/chunk-TXHFL725.js.map +1 -0
- package/dist/{chunk-WARNUGXT.cjs → chunk-UNR34GYU.cjs} +191 -2
- package/dist/chunk-UNR34GYU.cjs.map +1 -0
- package/dist/{chunk-4YUXR23B.cjs → chunk-VAK4RUNU.cjs} +13 -13
- package/dist/{chunk-4YUXR23B.cjs.map → chunk-VAK4RUNU.cjs.map} +1 -1
- package/dist/{chunk-JCYK7NSR.js → chunk-XZXUU3YH.js} +191 -2
- package/dist/chunk-XZXUU3YH.js.map +1 -0
- package/dist/{chunk-H4JMZWOE.cjs → chunk-YCCQXX3U.cjs} +39 -39
- package/dist/{chunk-H4JMZWOE.cjs.map → chunk-YCCQXX3U.cjs.map} +1 -1
- package/dist/entries/assembly.cjs +29 -29
- package/dist/entries/assembly.js +6 -6
- package/dist/entries/picker-art.cjs +19 -19
- package/dist/entries/picker-art.d.cts +188 -0
- package/dist/entries/picker-art.d.ts +188 -0
- package/dist/entries/picker-art.js +1 -1
- package/dist/entries/picker-catalogs.cjs +57 -57
- package/dist/entries/picker-catalogs.js +5 -5
- package/dist/entries/pickers.cjs +374 -374
- package/dist/entries/pickers.d.cts +1 -1
- package/dist/entries/pickers.d.ts +1 -1
- package/dist/entries/pickers.js +3 -3
- package/dist/entries/presets.cjs +47 -31
- package/dist/entries/presets.d.cts +37 -1
- package/dist/entries/presets.d.ts +37 -1
- 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/index.cjs +591 -575
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/package.json +2 -2
- package/src/__tests__/factory-preset-previews.test.ts +98 -25
- package/src/__tests__/factory-preset-references.test.ts +4 -0
- package/src/__tests__/fixtures/parameter-hint-golden.json +6 -6
- package/src/__tests__/preset-tiles-generated.test.ts +88 -0
- package/src/factory-presets/generate-image.ts +8 -0
- package/src/factory-presets/index.ts +10 -1
- package/src/factory-presets/preview-files.generated.ts +639 -1
- package/src/factory-presets/previews.ts +34 -2
- package/src/factory-presets/tiles/business-and-marketing.generated.ts +426 -0
- package/src/factory-presets/tiles/business.generated.ts +261 -0
- package/src/factory-presets/tiles/content-and-creative.generated.ts +286 -0
- package/src/factory-presets/tiles/family-and-events.generated.ts +222 -0
- package/src/factory-presets/tiles/home-and-spaces.generated.ts +231 -0
- package/src/factory-presets/tiles/index.generated.ts +32 -0
- package/src/factory-presets/tiles/layout.generated.ts +110 -0
- package/src/factory-presets/tiles/life-and-events.generated.ts +246 -0
- package/src/factory-presets/tiles/personal-photos.generated.ts +306 -0
- package/src/factory-presets/tiles/products-and-fashion.generated.ts +303 -0
- package/src/factory-presets/tiles/shorts-tiktok.generated.ts +156 -0
- package/src/factory-presets/tiles/social-and-ads.generated.ts +606 -0
- package/src/factory-presets/tiles/text.generated.ts +591 -0
- package/src/factory-presets/tiles/youtube.generated.ts +906 -0
- package/src/factory-presets/types.ts +14 -0
- package/src/photographer.ts +277 -0
- package/src/picker-art/look-preview-sets.ts +189 -0
- package/dist/chunk-CYMIXKFT.js.map +0 -1
- package/dist/chunk-JCYK7NSR.js.map +0 -1
- package/dist/chunk-LZ53F5BN.cjs +0 -5652
- package/dist/chunk-LZ53F5BN.cjs.map +0 -1
- package/dist/chunk-RB2F5JQF.js +0 -5621
- package/dist/chunk-RB2F5JQF.js.map +0 -1
- package/dist/chunk-SB7AYE6S.cjs.map +0 -1
- package/dist/chunk-WARNUGXT.cjs.map +0 -1
|
@@ -1854,7 +1854,7 @@ declare const PHOTO_GENRE_CATEGORY_ORDER: ReadonlyArray<PhotoGenreCategory>;
|
|
|
1854
1854
|
* backend orchestrator.
|
|
1855
1855
|
*/
|
|
1856
1856
|
|
|
1857
|
-
type PhotographerCategory = "editorial" | "documentary" | "cinematographer" | "concept" | "illustrator";
|
|
1857
|
+
type PhotographerCategory = "editorial" | "documentary" | "cinematographer" | "director" | "concept" | "illustrator";
|
|
1858
1858
|
interface Photographer {
|
|
1859
1859
|
readonly id: string;
|
|
1860
1860
|
readonly label: string;
|
|
@@ -1854,7 +1854,7 @@ declare const PHOTO_GENRE_CATEGORY_ORDER: ReadonlyArray<PhotoGenreCategory>;
|
|
|
1854
1854
|
* backend orchestrator.
|
|
1855
1855
|
*/
|
|
1856
1856
|
|
|
1857
|
-
type PhotographerCategory = "editorial" | "documentary" | "cinematographer" | "concept" | "illustrator";
|
|
1857
|
+
type PhotographerCategory = "editorial" | "documentary" | "cinematographer" | "director" | "concept" | "illustrator";
|
|
1858
1858
|
interface Photographer {
|
|
1859
1859
|
readonly id: string;
|
|
1860
1860
|
readonly label: string;
|
package/dist/entries/pickers.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { WARDROBE, WARDROBE_CATEGORY_LABELS, WARDROBE_DIMENSION_ORDER, WARDROBE_FIELD_BY_DIMENSION, buildWardrobeHints, getCharacterMotionDiagnostics, getWardrobeEntriesByDimension, getWardrobeEntry, getWardrobePromptHint } from '../chunk-
|
|
2
|
-
export { ACTION_FX, ACTION_FX_CATEGORY_LABELS, ACTION_FX_CATEGORY_ORDER, ACTION_FX_IDS, AESTHETICS, AESTHETIC_CATEGORY_LABELS, AESTHETIC_CATEGORY_ORDER, AESTHETIC_IDS, ATMOSPHERES, ATMOSPHERE_IDS, AURORA_SWEEP_STYLE, BACKDROPS, BACKDROP_CATEGORY_LABELS, BACKDROP_CATEGORY_ORDER, BACKDROP_IDS, CAMERA_FORMATS, CAMERA_FORMAT_IDS, CAMERA_MOTIONS, CAMERA_MOTION_CATEGORY_LABELS, CAMERA_MOTION_CATEGORY_ORDER, CAMERA_MOTION_IDS, CHARACTER_FX, CHARACTER_FX_CATEGORY_LABELS, CHARACTER_FX_CATEGORY_ORDER, CHARACTER_FX_DURATIONS, CHARACTER_FX_IDS, CHARACTER_FX_INTENSITIES, CHARACTER_FX_POSITIONS, CHARACTER_MOTIONS, CHARACTER_MOTION_CATEGORY_LABELS, CHARACTER_MOTION_CATEGORY_ORDER, CHARACTER_MOTION_IDS, CHARACTER_MOTION_MAX_PICKS, CHARACTER_MOTION_PACES, CHARACTER_MOTION_POSITIONS, COLOR_LOOKS, COLOR_LOOK_CATEGORY_LABELS, COLOR_LOOK_CATEGORY_ORDER, COLOR_LOOK_IDS, COMPOSITION_EFFECTS, COMPOSITION_EFFECT_IDS, DEBRIS_SHOWER_STYLE, ERAS, ERA_CATEGORY_LABELS, ERA_CATEGORY_ORDER, ERA_IDS, EXPOSURE_CATEGORY_LABELS, EXPOSURE_CATEGORY_ORDER, EXPOSURE_FIELD_BY_CATEGORY, EXPOSURE_IDS, EXPOSURE_SETTINGS, FRAMINGS, FRAMING_CATEGORY_LABELS, FRAMING_CATEGORY_ORDER, FRAMING_FIELD_BY_CATEGORY, FRAMING_IDS, GARDEN_BLOOM_STYLE, HELD_PROPS, HELD_PROP_CATEGORY_LABELS, HELD_PROP_CATEGORY_ORDER, HELD_PROP_IDS, INSTANT_CUT_CLAUSE, INSTRUMENTATION_DEFAULT_DATA, INSTRUMENTS, INSTRUMENT_CATEGORY_LABELS, INSTRUMENT_CATEGORY_ORDER, LENSES, LENS_IDS, LIGHTINGS, LIGHTING_CATEGORY_LABELS, LIGHTING_CATEGORY_ORDER, LIGHTING_FIELD_BY_CATEGORY, LIGHTING_IDS, LOOP_SUBJECTS, LOOP_SUBJECT_CATEGORY_LABELS, LOOP_SUBJECT_CATEGORY_ORDER, MATERIALS, MATERIAL_CATEGORY_LABELS, MATERIAL_CATEGORY_ORDER, MATERIAL_IDS, MAX_SELECTED_BY_FRAMING_CATEGORY, MAX_SELECTED_BY_STYLING_DIMENSION, MOODS, MOOD_CATEGORY_LABELS, MOOD_CATEGORY_ORDER, MOOD_IDS, MUSIC_EMOTIONS, MUSIC_ENERGIES, MUSIC_ERAS, MUSIC_GENRES, MUSIC_GENRE_CATEGORY_LABELS, MUSIC_GENRE_CATEGORY_ORDER, MUSIC_GENRE_DEFAULT_DATA, MUSIC_MOOD_DEFAULT_DATA, MUSIC_VIBES, PHOTOGRAPHERS, PHOTOGRAPHER_CATEGORY_LABELS, PHOTOGRAPHER_CATEGORY_ORDER, PHOTOGRAPHER_IDS, PHOTO_GENRES, PHOTO_GENRE_CATEGORY_LABELS, PHOTO_GENRE_CATEGORY_ORDER, PHOTO_GENRE_IDS, POSES, POSE_CATEGORY_LABELS, POSE_CATEGORY_ORDER, POSE_IDS, POST_PROCESS_EFFECTS, POST_PROCESS_EFFECT_IDS, PRODUCTION_STYLES, RENDER_QUALITIES, RENDER_QUALITY_IDS, SAKURA_PETALS_STYLE, SAND_STORM_STYLE, SETTINGS, SETTING_CATEGORY_LABELS, SETTING_IDS, SINGING_STYLES, SMOKE_PUFF_STYLE, STYLES, STYLE_IDS, STYLINGS, STYLING_DIMENSION_LABELS, STYLING_DIMENSION_ORDER, STYLING_DIMENSION_SECTIONS, STYLING_FIELD_BY_DIMENSION, STYLING_IDS, TEMPORALS, TEMPORAL_CATEGORY_LABELS, TEMPORAL_CATEGORY_ORDER, TEMPORAL_FIELD_BY_CATEGORY, TEMPORAL_IDS, TRANSITIONS, TRANSITION_CATEGORY_LABELS, TRANSITION_CATEGORY_ORDER, TRANSITION_DURATIONS, TRANSITION_IDS, TRANSITION_INTENSITIES, TRANSITION_OPTION_FIELDS, TRANSITION_POSITIONS, TRANSITION_STYLE_FIELD, VOCAL_PRESENCE, VOCAL_PRESENCE_INSTRUMENTAL_ID, VOICE_ACCENTS, VOICE_AGES, VOICE_ARCHETYPES, VOICE_CHARACTER_DEFAULT_DATA, VOICE_DELIVERY_DEFAULT_DATA, VOICE_EMOTIONS, VOICE_GENDERS, VOICE_LANGUAGES, VOICE_PACES, VOICE_TIMBRES, WHITE_FLASH_STYLE, WIPE_DIRECTION, blendedCutClause, buildActionFxHints, buildActionFxTerms, buildAestheticHints, buildAestheticTerms, buildAtmosphereHints, buildAtmosphereTerms, buildExposureHints, buildExposureTerms, buildFramingHints, buildFramingTerms, buildHeldPropHints, buildHeldPropTerms, buildInstrumentationHints, buildInstrumentationTerms, buildLightingHints, buildLightingTerms, buildMaterialHints, buildMaterialTerms, buildMoodHints, buildMoodTerms, buildMusicGenreHints, buildMusicGenreTerms, buildMusicMoodHints, buildMusicMoodTerms, buildPhotographerHints, buildPhotographerTerms, buildPoseHints, buildPoseTerms, buildPostProcessHints, buildPostProcessTerms, buildStylingHints, buildStylingTerms, buildTemporalHints, buildTemporalTerms, buildVoiceCharacterHints, buildVoiceCharacterTerms, buildVoiceDeliveryHints, buildVoiceDeliveryTerms, composeCameraMotionHintFromConnections, composeCameraMotionTermFromConnections, composeCharacterFxHintFromConnections, composeCharacterMotionHintFromConnections, composeTransitionHintFromConnections, getActionFx, getActionFxLabel, getActionFxPromptHint, getActionFxTerm, getAesthetic, getAestheticLabel, getAestheticPromptHint, getAestheticTerm, getAtmosphere, getAtmosphereLabel, getAtmospherePromptHint, getAtmosphereTerm, getBackdrop, getBackdropLabel, getBackdropPromptHint, getBackdropTerm, getCameraFormat, getCameraFormatLabel, getCameraFormatPromptHint, getCameraFormatTerm, getCameraMotion, getCameraMotionLabel, getCameraMotionPromptHint, getCameraMotionTerm, getCharacterFx, getCharacterFxLabel, getCharacterFxPromptHint, getCharacterFxTerm, getCharacterMotion, getCharacterMotionLabel, getCharacterMotionPromptHint, getCharacterMotionTerm, getColorLook, getColorLookLabel, getColorLookPromptHint, getColorLookTerm, getCompositionEffect, getCompositionEffectLabel, getCompositionEffectPromptHint, getCompositionEffectTerm, getEra, getEraLabel, getEraPromptHint, getEraTerm, getExposure, getExposureLabel, getExposurePromptHint, getExposureTerm, getFraming, getFramingCategoryLimit, getFramingLabel, getFramingPromptHint, getFramingTerm, getHeldProp, getHeldPropLabel, getHeldPropPromptHint, getHeldPropTerm, getInstrument, getInstrumentTerm, getLens, getLensLabel, getLensPromptHint, getLensTerm, getLighting, getLightingLabel, getLightingPromptHint, getLightingTerm, getLoopSubject, getLoopSubjectLabel, getLoopSubjectPromptHint, getLoopSubjectTerm, getMaterial, getMaterialLabel, getMaterialPromptHint, getMaterialTerm, getMood, getMoodLabel, getMoodPromptHint, getMoodTerm, getMusicEmotion, getMusicEmotionTerm, getMusicEnergy, getMusicEnergyTerm, getMusicEra, getMusicEraTerm, getMusicGenre, getMusicGenreLabel, getMusicGenreTerm, getMusicSubgenre, getMusicSubgenreTerm, getMusicVibe, getMusicVibeTerm, getPhotoGenre, getPhotoGenreLabel, getPhotoGenrePromptHint, getPhotoGenreTerm, getPhotographer, getPhotographerLabel, getPhotographerPromptHint, getPhotographerTerm, getPose, getPoseLabel, getPosePromptHint, getPoseTerm, getPostProcessEffect, getPostProcessEffectLabel, getPostProcessEffectPromptHint, getPostProcessEffectTerm, getProductionStyle, getProductionStyleTerm, getRenderQuality, getRenderQualityLabel, getRenderQualityPromptHint, getRenderQualityTerm, getSetting, getSettingLabel, getSettingPromptHint, getSettingTerm, getSingingStyle, getSingingStyleTerm, getStyle, getStyleLabel, getStylePromptHint, getStyleTerm, getStyling, getStylingDimensionLimit, getStylingLabel, getStylingPromptHint, getStylingTerm, getTemporal, getTemporalLabel, getTemporalPromptHint, getTemporalTerm, getTransition, getTransitionLabel, getTransitionOptions, getTransitionPromptHint, getTransitionTerm, getVocalPresence, getVocalPresenceTerm, getVoiceAccent, getVoiceAccentTerm, getVoiceAge, getVoiceAgeTerm, getVoiceArchetype, getVoiceArchetypeTerm, getVoiceEmotion, getVoiceEmotionTerm, getVoiceGender, getVoiceGenderTerm, getVoiceLanguage, getVoiceLanguageTerm, getVoicePace, getVoicePaceTerm, getVoiceTimbre, getVoiceTimbreTerm, isBlendableTransition, isDeniedStyleId, isInstantTransition, isInstrumentalVocal, isVantageFraming, readTransitionOptionValues, renderTransitionBases } from '../chunk-
|
|
1
|
+
export { WARDROBE, WARDROBE_CATEGORY_LABELS, WARDROBE_DIMENSION_ORDER, WARDROBE_FIELD_BY_DIMENSION, buildWardrobeHints, getCharacterMotionDiagnostics, getWardrobeEntriesByDimension, getWardrobeEntry, getWardrobePromptHint } from '../chunk-IKHRZ5UQ.js';
|
|
2
|
+
export { ACTION_FX, ACTION_FX_CATEGORY_LABELS, ACTION_FX_CATEGORY_ORDER, ACTION_FX_IDS, AESTHETICS, AESTHETIC_CATEGORY_LABELS, AESTHETIC_CATEGORY_ORDER, AESTHETIC_IDS, ATMOSPHERES, ATMOSPHERE_IDS, AURORA_SWEEP_STYLE, BACKDROPS, BACKDROP_CATEGORY_LABELS, BACKDROP_CATEGORY_ORDER, BACKDROP_IDS, CAMERA_FORMATS, CAMERA_FORMAT_IDS, CAMERA_MOTIONS, CAMERA_MOTION_CATEGORY_LABELS, CAMERA_MOTION_CATEGORY_ORDER, CAMERA_MOTION_IDS, CHARACTER_FX, CHARACTER_FX_CATEGORY_LABELS, CHARACTER_FX_CATEGORY_ORDER, CHARACTER_FX_DURATIONS, CHARACTER_FX_IDS, CHARACTER_FX_INTENSITIES, CHARACTER_FX_POSITIONS, CHARACTER_MOTIONS, CHARACTER_MOTION_CATEGORY_LABELS, CHARACTER_MOTION_CATEGORY_ORDER, CHARACTER_MOTION_IDS, CHARACTER_MOTION_MAX_PICKS, CHARACTER_MOTION_PACES, CHARACTER_MOTION_POSITIONS, COLOR_LOOKS, COLOR_LOOK_CATEGORY_LABELS, COLOR_LOOK_CATEGORY_ORDER, COLOR_LOOK_IDS, COMPOSITION_EFFECTS, COMPOSITION_EFFECT_IDS, DEBRIS_SHOWER_STYLE, ERAS, ERA_CATEGORY_LABELS, ERA_CATEGORY_ORDER, ERA_IDS, EXPOSURE_CATEGORY_LABELS, EXPOSURE_CATEGORY_ORDER, EXPOSURE_FIELD_BY_CATEGORY, EXPOSURE_IDS, EXPOSURE_SETTINGS, FRAMINGS, FRAMING_CATEGORY_LABELS, FRAMING_CATEGORY_ORDER, FRAMING_FIELD_BY_CATEGORY, FRAMING_IDS, GARDEN_BLOOM_STYLE, HELD_PROPS, HELD_PROP_CATEGORY_LABELS, HELD_PROP_CATEGORY_ORDER, HELD_PROP_IDS, INSTANT_CUT_CLAUSE, INSTRUMENTATION_DEFAULT_DATA, INSTRUMENTS, INSTRUMENT_CATEGORY_LABELS, INSTRUMENT_CATEGORY_ORDER, LENSES, LENS_IDS, LIGHTINGS, LIGHTING_CATEGORY_LABELS, LIGHTING_CATEGORY_ORDER, LIGHTING_FIELD_BY_CATEGORY, LIGHTING_IDS, LOOP_SUBJECTS, LOOP_SUBJECT_CATEGORY_LABELS, LOOP_SUBJECT_CATEGORY_ORDER, MATERIALS, MATERIAL_CATEGORY_LABELS, MATERIAL_CATEGORY_ORDER, MATERIAL_IDS, MAX_SELECTED_BY_FRAMING_CATEGORY, MAX_SELECTED_BY_STYLING_DIMENSION, MOODS, MOOD_CATEGORY_LABELS, MOOD_CATEGORY_ORDER, MOOD_IDS, MUSIC_EMOTIONS, MUSIC_ENERGIES, MUSIC_ERAS, MUSIC_GENRES, MUSIC_GENRE_CATEGORY_LABELS, MUSIC_GENRE_CATEGORY_ORDER, MUSIC_GENRE_DEFAULT_DATA, MUSIC_MOOD_DEFAULT_DATA, MUSIC_VIBES, PHOTOGRAPHERS, PHOTOGRAPHER_CATEGORY_LABELS, PHOTOGRAPHER_CATEGORY_ORDER, PHOTOGRAPHER_IDS, PHOTO_GENRES, PHOTO_GENRE_CATEGORY_LABELS, PHOTO_GENRE_CATEGORY_ORDER, PHOTO_GENRE_IDS, POSES, POSE_CATEGORY_LABELS, POSE_CATEGORY_ORDER, POSE_IDS, POST_PROCESS_EFFECTS, POST_PROCESS_EFFECT_IDS, PRODUCTION_STYLES, RENDER_QUALITIES, RENDER_QUALITY_IDS, SAKURA_PETALS_STYLE, SAND_STORM_STYLE, SETTINGS, SETTING_CATEGORY_LABELS, SETTING_IDS, SINGING_STYLES, SMOKE_PUFF_STYLE, STYLES, STYLE_IDS, STYLINGS, STYLING_DIMENSION_LABELS, STYLING_DIMENSION_ORDER, STYLING_DIMENSION_SECTIONS, STYLING_FIELD_BY_DIMENSION, STYLING_IDS, TEMPORALS, TEMPORAL_CATEGORY_LABELS, TEMPORAL_CATEGORY_ORDER, TEMPORAL_FIELD_BY_CATEGORY, TEMPORAL_IDS, TRANSITIONS, TRANSITION_CATEGORY_LABELS, TRANSITION_CATEGORY_ORDER, TRANSITION_DURATIONS, TRANSITION_IDS, TRANSITION_INTENSITIES, TRANSITION_OPTION_FIELDS, TRANSITION_POSITIONS, TRANSITION_STYLE_FIELD, VOCAL_PRESENCE, VOCAL_PRESENCE_INSTRUMENTAL_ID, VOICE_ACCENTS, VOICE_AGES, VOICE_ARCHETYPES, VOICE_CHARACTER_DEFAULT_DATA, VOICE_DELIVERY_DEFAULT_DATA, VOICE_EMOTIONS, VOICE_GENDERS, VOICE_LANGUAGES, VOICE_PACES, VOICE_TIMBRES, WHITE_FLASH_STYLE, WIPE_DIRECTION, blendedCutClause, buildActionFxHints, buildActionFxTerms, buildAestheticHints, buildAestheticTerms, buildAtmosphereHints, buildAtmosphereTerms, buildExposureHints, buildExposureTerms, buildFramingHints, buildFramingTerms, buildHeldPropHints, buildHeldPropTerms, buildInstrumentationHints, buildInstrumentationTerms, buildLightingHints, buildLightingTerms, buildMaterialHints, buildMaterialTerms, buildMoodHints, buildMoodTerms, buildMusicGenreHints, buildMusicGenreTerms, buildMusicMoodHints, buildMusicMoodTerms, buildPhotographerHints, buildPhotographerTerms, buildPoseHints, buildPoseTerms, buildPostProcessHints, buildPostProcessTerms, buildStylingHints, buildStylingTerms, buildTemporalHints, buildTemporalTerms, buildVoiceCharacterHints, buildVoiceCharacterTerms, buildVoiceDeliveryHints, buildVoiceDeliveryTerms, composeCameraMotionHintFromConnections, composeCameraMotionTermFromConnections, composeCharacterFxHintFromConnections, composeCharacterMotionHintFromConnections, composeTransitionHintFromConnections, getActionFx, getActionFxLabel, getActionFxPromptHint, getActionFxTerm, getAesthetic, getAestheticLabel, getAestheticPromptHint, getAestheticTerm, getAtmosphere, getAtmosphereLabel, getAtmospherePromptHint, getAtmosphereTerm, getBackdrop, getBackdropLabel, getBackdropPromptHint, getBackdropTerm, getCameraFormat, getCameraFormatLabel, getCameraFormatPromptHint, getCameraFormatTerm, getCameraMotion, getCameraMotionLabel, getCameraMotionPromptHint, getCameraMotionTerm, getCharacterFx, getCharacterFxLabel, getCharacterFxPromptHint, getCharacterFxTerm, getCharacterMotion, getCharacterMotionLabel, getCharacterMotionPromptHint, getCharacterMotionTerm, getColorLook, getColorLookLabel, getColorLookPromptHint, getColorLookTerm, getCompositionEffect, getCompositionEffectLabel, getCompositionEffectPromptHint, getCompositionEffectTerm, getEra, getEraLabel, getEraPromptHint, getEraTerm, getExposure, getExposureLabel, getExposurePromptHint, getExposureTerm, getFraming, getFramingCategoryLimit, getFramingLabel, getFramingPromptHint, getFramingTerm, getHeldProp, getHeldPropLabel, getHeldPropPromptHint, getHeldPropTerm, getInstrument, getInstrumentTerm, getLens, getLensLabel, getLensPromptHint, getLensTerm, getLighting, getLightingLabel, getLightingPromptHint, getLightingTerm, getLoopSubject, getLoopSubjectLabel, getLoopSubjectPromptHint, getLoopSubjectTerm, getMaterial, getMaterialLabel, getMaterialPromptHint, getMaterialTerm, getMood, getMoodLabel, getMoodPromptHint, getMoodTerm, getMusicEmotion, getMusicEmotionTerm, getMusicEnergy, getMusicEnergyTerm, getMusicEra, getMusicEraTerm, getMusicGenre, getMusicGenreLabel, getMusicGenreTerm, getMusicSubgenre, getMusicSubgenreTerm, getMusicVibe, getMusicVibeTerm, getPhotoGenre, getPhotoGenreLabel, getPhotoGenrePromptHint, getPhotoGenreTerm, getPhotographer, getPhotographerLabel, getPhotographerPromptHint, getPhotographerTerm, getPose, getPoseLabel, getPosePromptHint, getPoseTerm, getPostProcessEffect, getPostProcessEffectLabel, getPostProcessEffectPromptHint, getPostProcessEffectTerm, getProductionStyle, getProductionStyleTerm, getRenderQuality, getRenderQualityLabel, getRenderQualityPromptHint, getRenderQualityTerm, getSetting, getSettingLabel, getSettingPromptHint, getSettingTerm, getSingingStyle, getSingingStyleTerm, getStyle, getStyleLabel, getStylePromptHint, getStyleTerm, getStyling, getStylingDimensionLimit, getStylingLabel, getStylingPromptHint, getStylingTerm, getTemporal, getTemporalLabel, getTemporalPromptHint, getTemporalTerm, getTransition, getTransitionLabel, getTransitionOptions, getTransitionPromptHint, getTransitionTerm, getVocalPresence, getVocalPresenceTerm, getVoiceAccent, getVoiceAccentTerm, getVoiceAge, getVoiceAgeTerm, getVoiceArchetype, getVoiceArchetypeTerm, getVoiceEmotion, getVoiceEmotionTerm, getVoiceGender, getVoiceGenderTerm, getVoiceLanguage, getVoiceLanguageTerm, getVoicePace, getVoicePaceTerm, getVoiceTimbre, getVoiceTimbreTerm, isBlendableTransition, isDeniedStyleId, isInstantTransition, isInstrumentalVocal, isVantageFraming, readTransitionOptionValues, renderTransitionBases } from '../chunk-TXHFL725.js';
|
|
3
3
|
import '../chunk-DVP6ILDR.js';
|
|
4
4
|
import '../chunk-TDZFXOTE.js';
|
|
5
5
|
import '../chunk-XAMHEW76.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-XZXUU3YH.js';
|
|
7
7
|
import '../chunk-PZ5AY32C.js';
|
|
8
8
|
//# sourceMappingURL=pickers.js.map
|
|
9
9
|
//# sourceMappingURL=pickers.js.map
|
package/dist/entries/presets.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkS3H4TI6N_cjs = require('../chunk-S3H4TI6N.cjs');
|
|
4
4
|
require('../chunk-LXPKTI2K.cjs');
|
|
5
5
|
require('../chunk-4GKTOVFM.cjs');
|
|
6
6
|
require('../chunk-NAFD6MGH.cjs');
|
|
@@ -11,123 +11,139 @@ require('../chunk-Q7SFCCGT.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "BODY_CAPTIONS_PRESET_ID", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkS3H4TI6N_cjs.BODY_CAPTIONS_PRESET_ID; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "BRAND_PRESETS", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkS3H4TI6N_cjs.BRAND_PRESETS; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "BRAND_PRESET_IDS", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkS3H4TI6N_cjs.BRAND_PRESET_IDS; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "BRAND_PRESET_META", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkS3H4TI6N_cjs.BRAND_PRESET_META; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CAPTION_LEVERS_BY_LANGUAGE", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkS3H4TI6N_cjs.CAPTION_LEVERS_BY_LANGUAGE; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "CAPTION_SEGMENT_LEVER_KEYS", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkS3H4TI6N_cjs.CAPTION_SEGMENT_LEVER_KEYS; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "FACTORY_PRESETS", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkS3H4TI6N_cjs.FACTORY_PRESETS; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "FACTORY_PRESET_PREVIEW_FILES", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkS3H4TI6N_cjs.FACTORY_PRESET_PREVIEW_FILES; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "FACTORY_PRESET_PREVIEW_LARGE_FILES", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkS3H4TI6N_cjs.FACTORY_PRESET_PREVIEW_LARGE_FILES; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "FACTORY_SNIPPETS", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkS3H4TI6N_cjs.FACTORY_SNIPPETS; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "HOOK_PLATE_PRESET_ID", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkS3H4TI6N_cjs.HOOK_PLATE_PRESET_ID; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "MAX_PRESET_REFERENCES", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkS3H4TI6N_cjs.MAX_PRESET_REFERENCES; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "OBJECT_ANGLE_PRESETS", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_ANGLE_PRESETS; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "OBJECT_ANGLE_PROMPTS", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_ANGLE_PROMPTS; }
|
|
63
67
|
});
|
|
64
68
|
Object.defineProperty(exports, "OBJECT_ASSET_PRESETS", {
|
|
65
69
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_ASSET_PRESETS; }
|
|
67
71
|
});
|
|
68
72
|
Object.defineProperty(exports, "OBJECT_ASSET_PROMPTS", {
|
|
69
73
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_ASSET_PROMPTS; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "OBJECT_MATERIAL_PRESETS", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_MATERIAL_PRESETS; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "OBJECT_MATERIAL_PROMPTS", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_MATERIAL_PROMPTS; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "OBJECT_VARIATION_PRESETS", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_VARIATION_PRESETS; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "OBJECT_VARIATION_PROMPTS", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkS3H4TI6N_cjs.OBJECT_VARIATION_PROMPTS; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "PRESET_PREVIEW_LARGE_WIDTH", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkS3H4TI6N_cjs.PRESET_PREVIEW_LARGE_WIDTH; }
|
|
87
95
|
});
|
|
88
96
|
Object.defineProperty(exports, "PRESET_PREVIEW_PATH", {
|
|
89
97
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkS3H4TI6N_cjs.PRESET_PREVIEW_PATH; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "PRESET_PREVIEW_WIDTH", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkS3H4TI6N_cjs.PRESET_PREVIEW_WIDTH; }
|
|
91
103
|
});
|
|
92
104
|
Object.defineProperty(exports, "SNIPPET_MEDIA_VALUES", {
|
|
93
105
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkS3H4TI6N_cjs.SNIPPET_MEDIA_VALUES; }
|
|
95
107
|
});
|
|
96
108
|
Object.defineProperty(exports, "STYLE_PRESETS", {
|
|
97
109
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkS3H4TI6N_cjs.STYLE_PRESETS; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "factoryPresetPreviewSrcSet", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkS3H4TI6N_cjs.factoryPresetPreviewSrcSet; }
|
|
99
115
|
});
|
|
100
116
|
Object.defineProperty(exports, "factoryPresetPreviewUrl", {
|
|
101
117
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkS3H4TI6N_cjs.factoryPresetPreviewUrl; }
|
|
103
119
|
});
|
|
104
120
|
Object.defineProperty(exports, "getFactoryPresets", {
|
|
105
121
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkS3H4TI6N_cjs.getFactoryPresets; }
|
|
107
123
|
});
|
|
108
124
|
Object.defineProperty(exports, "getFactorySnippets", {
|
|
109
125
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkS3H4TI6N_cjs.getFactorySnippets; }
|
|
111
127
|
});
|
|
112
128
|
Object.defineProperty(exports, "getStylePreset", {
|
|
113
129
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkS3H4TI6N_cjs.getStylePreset; }
|
|
115
131
|
});
|
|
116
132
|
Object.defineProperty(exports, "groupFactoryPresets", {
|
|
117
133
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkS3H4TI6N_cjs.groupFactoryPresets; }
|
|
119
135
|
});
|
|
120
136
|
Object.defineProperty(exports, "hookPlateCaptionSegments", {
|
|
121
137
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkS3H4TI6N_cjs.hookPlateCaptionSegments; }
|
|
123
139
|
});
|
|
124
140
|
Object.defineProperty(exports, "presetMinReferences", {
|
|
125
141
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkS3H4TI6N_cjs.presetMinReferences; }
|
|
127
143
|
});
|
|
128
144
|
Object.defineProperty(exports, "resolveBrandInput", {
|
|
129
145
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkS3H4TI6N_cjs.resolveBrandInput; }
|
|
131
147
|
});
|
|
132
148
|
//# sourceMappingURL=presets.cjs.map
|
|
133
149
|
//# sourceMappingURL=presets.cjs.map
|
|
@@ -78,6 +78,20 @@ interface FactoryPreset {
|
|
|
78
78
|
/** How the group renders: a collapsible "folder" (default) or a flat "section"
|
|
79
79
|
* label. Taken from the first preset that opens the group. */
|
|
80
80
|
readonly groupKind?: "folder" | "section";
|
|
81
|
+
/**
|
|
82
|
+
* A sub-heading inside the group, for a group large enough to need them (the
|
|
83
|
+
* YouTube tab's topics: "AI & Tech", "Finance & Crypto"; the social tab's
|
|
84
|
+
* "Instagram feed", "Stories"). Presets sharing a `section` render together
|
|
85
|
+
* under it, in array order. Absent on a preset filed straight under its group.
|
|
86
|
+
*/
|
|
87
|
+
readonly section?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Where the result is meant to be posted ("YouTube", "TikTok", "LinkedIn",
|
|
90
|
+
* "Print"…), most fitting first, for a preset that makes a deliverable for a
|
|
91
|
+
* place. A client shows the first as a badge and filters a tab by them.
|
|
92
|
+
* Absent on a look or a layout, which has no destination of its own.
|
|
93
|
+
*/
|
|
94
|
+
readonly platforms?: readonly string[];
|
|
81
95
|
/** Capture-shaped config (no label / fieldMappings / runtime keys). */
|
|
82
96
|
readonly data: Readonly<Record<string, unknown>>;
|
|
83
97
|
/**
|
|
@@ -135,6 +149,10 @@ declare const MAX_PRESET_REFERENCES: number;
|
|
|
135
149
|
declare function presetMinReferences(nodeType: string, data: Readonly<Record<string, unknown>>, declared?: number): number;
|
|
136
150
|
|
|
137
151
|
declare const FACTORY_PRESET_PREVIEW_FILES: Readonly<Record<string, string>>;
|
|
152
|
+
declare const FACTORY_PRESET_PREVIEW_LARGE_FILES: Readonly<Record<string, {
|
|
153
|
+
readonly file: string;
|
|
154
|
+
readonly width: number;
|
|
155
|
+
}>>;
|
|
138
156
|
|
|
139
157
|
/**
|
|
140
158
|
* Where the factory preset previews live, relative to the app's origin:
|
|
@@ -143,6 +161,15 @@ declare const FACTORY_PRESET_PREVIEW_FILES: Readonly<Record<string, string>>;
|
|
|
143
161
|
* server caches them as immutable and a regenerated picture is a new URL.
|
|
144
162
|
*/
|
|
145
163
|
declare const PRESET_PREVIEW_PATH = "/preset-previews/";
|
|
164
|
+
/** The tile picture (`previewUrl`) is this wide. */
|
|
165
|
+
declare const PRESET_PREVIEW_WIDTH = 512;
|
|
166
|
+
/** The full-screen picture (the second entry of `previewSrcSet`) is at most this wide; the map records its real width. */
|
|
167
|
+
declare const PRESET_PREVIEW_LARGE_WIDTH = 1024;
|
|
168
|
+
/** A full-screen picture as the large map records it: its file under /preset-previews/ and its real width. */
|
|
169
|
+
interface PresetPreviewLargeFile {
|
|
170
|
+
readonly file: string;
|
|
171
|
+
readonly width: number;
|
|
172
|
+
}
|
|
146
173
|
/**
|
|
147
174
|
* The absolute URL of a factory preset's example picture on the installation
|
|
148
175
|
* at `baseUrl` (its public origin, e.g. "https://app.nodaro.ai"), or null when
|
|
@@ -152,6 +179,15 @@ declare const PRESET_PREVIEW_PATH = "/preset-previews/";
|
|
|
152
179
|
* @param files the preset id → file map; defaults to the committed one
|
|
153
180
|
*/
|
|
154
181
|
declare function factoryPresetPreviewUrl(presetId: string, baseUrl: string, files?: Readonly<Record<string, string>>): string | null;
|
|
182
|
+
/**
|
|
183
|
+
* The same picture at its two sizes as an `<img srcset>` value — the tile
|
|
184
|
+
* picture at 512w and the full-screen one at its real width (up to 1024w) —
|
|
185
|
+
* so a client lets the browser pick by the room it has. Null when either size
|
|
186
|
+
* is missing, so a srcset never names a file that does not exist.
|
|
187
|
+
*
|
|
188
|
+
* @param files the small map; @param largeFiles the large map — both default to the committed ones
|
|
189
|
+
*/
|
|
190
|
+
declare function factoryPresetPreviewSrcSet(presetId: string, baseUrl: string, files?: Readonly<Record<string, string>>, largeFiles?: Readonly<Record<string, PresetPreviewLargeFile>>): string | null;
|
|
155
191
|
|
|
156
192
|
/** System/factory presets shipped with the app. Assembled here in the original
|
|
157
193
|
* single-file key order; each value lives in its per-domain module. */
|
|
@@ -248,4 +284,4 @@ declare const FACTORY_SNIPPETS: readonly FactorySnippet[];
|
|
|
248
284
|
/** Factory snippets for one field: target match + media membership. */
|
|
249
285
|
declare function getFactorySnippets(target: SnippetTarget, media: SnippetMedia): readonly FactorySnippet[];
|
|
250
286
|
|
|
251
|
-
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, PRESET_PREVIEW_PATH, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
|
287
|
+
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_PRESET_PREVIEW_LARGE_FILES, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, PRESET_PREVIEW_LARGE_WIDTH, PRESET_PREVIEW_PATH, PRESET_PREVIEW_WIDTH, type PresetPreviewLargeFile, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, factoryPresetPreviewSrcSet, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
|
@@ -78,6 +78,20 @@ interface FactoryPreset {
|
|
|
78
78
|
/** How the group renders: a collapsible "folder" (default) or a flat "section"
|
|
79
79
|
* label. Taken from the first preset that opens the group. */
|
|
80
80
|
readonly groupKind?: "folder" | "section";
|
|
81
|
+
/**
|
|
82
|
+
* A sub-heading inside the group, for a group large enough to need them (the
|
|
83
|
+
* YouTube tab's topics: "AI & Tech", "Finance & Crypto"; the social tab's
|
|
84
|
+
* "Instagram feed", "Stories"). Presets sharing a `section` render together
|
|
85
|
+
* under it, in array order. Absent on a preset filed straight under its group.
|
|
86
|
+
*/
|
|
87
|
+
readonly section?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Where the result is meant to be posted ("YouTube", "TikTok", "LinkedIn",
|
|
90
|
+
* "Print"…), most fitting first, for a preset that makes a deliverable for a
|
|
91
|
+
* place. A client shows the first as a badge and filters a tab by them.
|
|
92
|
+
* Absent on a look or a layout, which has no destination of its own.
|
|
93
|
+
*/
|
|
94
|
+
readonly platforms?: readonly string[];
|
|
81
95
|
/** Capture-shaped config (no label / fieldMappings / runtime keys). */
|
|
82
96
|
readonly data: Readonly<Record<string, unknown>>;
|
|
83
97
|
/**
|
|
@@ -135,6 +149,10 @@ declare const MAX_PRESET_REFERENCES: number;
|
|
|
135
149
|
declare function presetMinReferences(nodeType: string, data: Readonly<Record<string, unknown>>, declared?: number): number;
|
|
136
150
|
|
|
137
151
|
declare const FACTORY_PRESET_PREVIEW_FILES: Readonly<Record<string, string>>;
|
|
152
|
+
declare const FACTORY_PRESET_PREVIEW_LARGE_FILES: Readonly<Record<string, {
|
|
153
|
+
readonly file: string;
|
|
154
|
+
readonly width: number;
|
|
155
|
+
}>>;
|
|
138
156
|
|
|
139
157
|
/**
|
|
140
158
|
* Where the factory preset previews live, relative to the app's origin:
|
|
@@ -143,6 +161,15 @@ declare const FACTORY_PRESET_PREVIEW_FILES: Readonly<Record<string, string>>;
|
|
|
143
161
|
* server caches them as immutable and a regenerated picture is a new URL.
|
|
144
162
|
*/
|
|
145
163
|
declare const PRESET_PREVIEW_PATH = "/preset-previews/";
|
|
164
|
+
/** The tile picture (`previewUrl`) is this wide. */
|
|
165
|
+
declare const PRESET_PREVIEW_WIDTH = 512;
|
|
166
|
+
/** The full-screen picture (the second entry of `previewSrcSet`) is at most this wide; the map records its real width. */
|
|
167
|
+
declare const PRESET_PREVIEW_LARGE_WIDTH = 1024;
|
|
168
|
+
/** A full-screen picture as the large map records it: its file under /preset-previews/ and its real width. */
|
|
169
|
+
interface PresetPreviewLargeFile {
|
|
170
|
+
readonly file: string;
|
|
171
|
+
readonly width: number;
|
|
172
|
+
}
|
|
146
173
|
/**
|
|
147
174
|
* The absolute URL of a factory preset's example picture on the installation
|
|
148
175
|
* at `baseUrl` (its public origin, e.g. "https://app.nodaro.ai"), or null when
|
|
@@ -152,6 +179,15 @@ declare const PRESET_PREVIEW_PATH = "/preset-previews/";
|
|
|
152
179
|
* @param files the preset id → file map; defaults to the committed one
|
|
153
180
|
*/
|
|
154
181
|
declare function factoryPresetPreviewUrl(presetId: string, baseUrl: string, files?: Readonly<Record<string, string>>): string | null;
|
|
182
|
+
/**
|
|
183
|
+
* The same picture at its two sizes as an `<img srcset>` value — the tile
|
|
184
|
+
* picture at 512w and the full-screen one at its real width (up to 1024w) —
|
|
185
|
+
* so a client lets the browser pick by the room it has. Null when either size
|
|
186
|
+
* is missing, so a srcset never names a file that does not exist.
|
|
187
|
+
*
|
|
188
|
+
* @param files the small map; @param largeFiles the large map — both default to the committed ones
|
|
189
|
+
*/
|
|
190
|
+
declare function factoryPresetPreviewSrcSet(presetId: string, baseUrl: string, files?: Readonly<Record<string, string>>, largeFiles?: Readonly<Record<string, PresetPreviewLargeFile>>): string | null;
|
|
155
191
|
|
|
156
192
|
/** System/factory presets shipped with the app. Assembled here in the original
|
|
157
193
|
* single-file key order; each value lives in its per-domain module. */
|
|
@@ -248,4 +284,4 @@ declare const FACTORY_SNIPPETS: readonly FactorySnippet[];
|
|
|
248
284
|
/** Factory snippets for one field: target match + media membership. */
|
|
249
285
|
declare function getFactorySnippets(target: SnippetTarget, media: SnippetMedia): readonly FactorySnippet[];
|
|
250
286
|
|
|
251
|
-
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, PRESET_PREVIEW_PATH, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
|
287
|
+
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_PRESET_PREVIEW_LARGE_FILES, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, PRESET_PREVIEW_LARGE_WIDTH, PRESET_PREVIEW_PATH, PRESET_PREVIEW_WIDTH, type PresetPreviewLargeFile, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, factoryPresetPreviewSrcSet, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
package/dist/entries/presets.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_SNIPPETS, HOOK_PLATE_PRESET_ID, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, PRESET_PREVIEW_PATH, SNIPPET_MEDIA_VALUES, STYLE_PRESETS, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput } from '../chunk-
|
|
1
|
+
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_PRESET_PREVIEW_LARGE_FILES, FACTORY_SNIPPETS, HOOK_PLATE_PRESET_ID, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, PRESET_PREVIEW_LARGE_WIDTH, PRESET_PREVIEW_PATH, PRESET_PREVIEW_WIDTH, SNIPPET_MEDIA_VALUES, STYLE_PRESETS, factoryPresetPreviewSrcSet, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput } from '../chunk-CLHIPYTC.js';
|
|
2
2
|
import '../chunk-N6VMPG5S.js';
|
|
3
3
|
import '../chunk-GILUVQQJ.js';
|
|
4
4
|
import '../chunk-T64D26P4.js';
|