@cesdk/engine 1.10.0-preview.1 → 1.11.0-preview.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/assets/core/cesdk-v1.11.0-preview.0.data +0 -0
- package/assets/core/{cesdk-v1.10.0-preview.1.wasm → cesdk-v1.11.0-preview.0.wasm} +0 -0
- package/assets/default/emoji/LICENSE.txt +201 -0
- package/assets/{core/cesdk-v1.10.0-preview.1.data → default/emoji/NotoColorEmoji.ttf} +0 -0
- package/assets/default/ly.img.filter.duotone/content.json +110 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_breezy.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_clash.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_deepblue.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_desert.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_frog.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_peach.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_plum.jpg +0 -0
- package/assets/default/ly.img.filter.duotone/thumbnails/imgly_duotone_sunset.jpg +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_ad1920_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_ancient_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_bw_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_chestnut_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_classic_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_colla_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_colorful_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_cottoncandy_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_creamy_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_dusty_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_fixie_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_flat_black_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_food_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_fridge_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_glam_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_gobblin_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_golden_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_green_gap_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_greyed_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_hard_stuff_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_highcarb_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_highcontrast_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_identity_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_inferno_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_joran_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_k1_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_k6_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_kalmen_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_keen_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_lemon_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_levante_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_litho_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_lomo100_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_lomo_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_low_fire_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_lucid_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_mellow_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_moss_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_neat_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_oldtimer_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_pale_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_pebble_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_pitched_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_polaroid_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_polasx_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_pro400_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_pumpkin_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_quozi_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_sepia_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_settled_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_seventies_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_snappy_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_soft_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_softly_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_solanus_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_steel_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_summer_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_sunny_70s_8_8_512.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_sunrise_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_tender_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_twilight_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_weathered_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/LUTs/imgly_lut_zephyr_5_5_128.png +0 -0
- package/assets/default/ly.img.filter.lut/content.json +860 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_ad1920.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_ancient.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_bleached.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_bleachedblue.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_blues.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_blueshadows.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_breeze.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_bw.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_celsius.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_chest.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_classic.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_colorful.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_cool.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_cottoncandy.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_creamy.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_eighties.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_elder.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_evening.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_fall.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_fixie.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_food.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_fridge.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_front.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_glam.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_gobblin.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_highcarb.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_highcontrast.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_k1.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_k2.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_k6.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_kdynamic.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_keen.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_lenin.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_litho.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_lomo.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_lomo100.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_lucid.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_mellow.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_neat.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_nogreen.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_orchid.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_pale.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_pitched.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_plate.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_pola669.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_polasx.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_pro400.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_quozi.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_sepiahigh.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_settled.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_seventies.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_sin.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_soft.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_steel.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_summer.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_sunset.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_tender.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_texas.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_twilight.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_winter.jpg +0 -0
- package/assets/default/ly.img.filter.lut/thumbnails/imgly_lut_x400.jpg +0 -0
- package/assets/default/ly.img.sticker/content.json +2039 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_camera.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_divingmask.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_fish.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_hat.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_hula.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_jetpack.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_pipe.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_rocket.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_saturn.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_skateboard.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_spaceman.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_star.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_starfish.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_sun.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_surfing.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_wing_01.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/doodle/doodle_wing_02.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_Vomiting.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_anguished.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_ape.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_beer.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_crying.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_devil.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_doubtful.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_drooling.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_flushed.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_grim.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_grimacing.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_halo.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_hand_pointing_left.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_hand_pointing_right.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_hanky.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_happyface.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_hearteyes.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_lips.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_melon.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_nauseated.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_pacman.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_persevering.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_pizza.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_rollingeyes.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_sad.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_skull.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_smile.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_sunglasses.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_tearsofjoy.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_thumbsup.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_tongueout.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_unamused.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_unicorn.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_winking.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoji/emoji_zany.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_alien.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_angel.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_angry.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_anxious.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_asleep.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_attention.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_baby_chicken.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_batman.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_beer.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_blush.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_boxer.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_business.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_chicken.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_cool.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_cry.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_deceased.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_devil.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_duckface.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_furious.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_grin.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_guitar.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_harry_potter.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_hippie.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_hitman.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_humourous.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_idea.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_impatient.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_kiss.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_kisses.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_laugh.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_loud_cry.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_loving.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_masked.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_music.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_nerd.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_ninja.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_not_speaking_to_you.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_pig.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_pumpkin.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_question.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_rabbit.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_sad.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_sick.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_skateboard.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_skull.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_sleepy.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_smile.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_smoking.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_sobbing.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_star.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_steaming_furious.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_sunbathing.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_tired.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_tongue_out_wink.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_wave.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_wide_grin.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_wink.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/emoticons/imgly_sticker_emoticons_wrestler.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_alive.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_five.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_friends.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_fuck.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_heart.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_luck.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_ok.png +0 -0
- package/assets/default/ly.img.sticker/thumbnails/hand/hand_vibes.png +0 -0
- package/assets/default/ly.img.vectorpath/content.json +470 -0
- package/assets/default/ly.img.vectorpath/thumbnails/shapes/imgly_sticker_shapes_ellipse.png +0 -0
- package/assets/default/ly.img.vectorpath/thumbnails/shapes/imgly_sticker_shapes_line.png +0 -0
- package/assets/default/ly.img.vectorpath/thumbnails/shapes/imgly_sticker_shapes_polygon.png +0 -0
- package/assets/default/ly.img.vectorpath/thumbnails/shapes/imgly_sticker_shapes_rect.png +0 -0
- package/assets/default/ly.img.vectorpath/thumbnails/shapes/imgly_sticker_shapes_star.png +0 -0
- package/index.d.ts +377 -241
- package/index.js +1 -1
- package/package.json +1 -1
- package/assets/extensions/ly.img.cesdk.images.samples/manifest.json +0 -138
- package/assets/extensions/ly.img.cesdk.stickers.doodle/manifest.json +0 -189
- package/assets/extensions/ly.img.cesdk.stickers.emoji/manifest.json +0 -369
- package/assets/extensions/ly.img.cesdk.stickers.emoticons/manifest.json +0 -599
- package/assets/extensions/ly.img.cesdk.stickers.hand/manifest.json +0 -99
- package/assets/extensions/ly.img.cesdk.stickers.openmoji/genmoji.mjs +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.openmoji/manifest.json +0 -21259
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/bffs1.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/bffs2_black.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/forever.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/forever_white.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/goodluck01_green.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/goodluck02_green.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/goodluck03_green.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/happybday_glitter.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/justforyou.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/justlove_pink.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/mademayday_black.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/takeiteasy.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/youandme02_black.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/youandme02_blackwhite.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/images/youandme_bang_pink.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo/manifest.json +0 -169
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_01.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_02.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_03.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_04.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_3D_01.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_3D_02.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_3D_03.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/images/happybirthday_3D_04.svg +0 -1
- package/assets/extensions/ly.img.cesdk.stickers.typo_happy/manifest.json +0 -99
- package/assets/extensions/ly.img.cesdk.vectorpaths/manifest.json +0 -80
- package/assets/extensions/ly.img.cesdk.vectorpaths.abstract/manifest.json +0 -200
- package/assets/extensions/ly.img.fonts/README.md +0 -3
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Font-EULA.pdf +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.eot +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.otf +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.ttf +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.woff +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Light-Web/Supply-Light.woff2 +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Font-EULA.pdf +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.eot +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.otf +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.ttf +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.woff +0 -0
- package/assets/extensions/ly.img.fonts/fonts/SupplyMono-Regular-Web/Supply-Regular.woff2 +0 -0
- package/assets/extensions/ly.img.fonts/manifest.json +0 -24
- package/assets/extensions/ly.img.fonts/preview.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_camera.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_divingmask.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_fish.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_hat.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_hula.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_jetpack.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_pipe.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_rocket.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_saturn.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_skateboard.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_spaceman.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_star.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_starfish.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_sun.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_surfing.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_wing_01.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.doodle/images → default/ly.img.sticker/images/doodle}/doodle_wing_02.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_Vomiting.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_anguished.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_ape.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_beer.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_crying.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_devil.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_doubtful.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_drooling.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_flushed.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_grim.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_grimacing.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_halo.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_hand_pointing_left.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_hand_pointing_right.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_hanky.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_happyface.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_hearteyes.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_lips.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_melon.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_nauseated.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_pacman.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_persevering.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_pizza.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_rollingeyes.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_sad.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_skull.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_smile.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_sunglasses.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_tearsofjoy.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_thumbsup.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_tongueout.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_unamused.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_unicorn.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_winking.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoji/images → default/ly.img.sticker/images/emoji}/emoji_zany.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_alien.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_angel.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_angry.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_anxious.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_asleep.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_attention.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_baby_chicken.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_batman.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_beer.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_blush.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_boxer.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_business.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_chicken.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_cool.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_cry.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_deceased.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_devil.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_duckface.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_furious.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_grin.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_guitar.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_harry_potter.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_hippie.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_hitman.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_humourous.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_idea.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_impatient.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_kiss.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_kisses.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_laugh.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_loud_cry.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_loving.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_masked.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_music.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_nerd.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_ninja.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_not_speaking_to_you.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_pig.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_pumpkin.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_question.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_rabbit.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_sad.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_sick.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_skateboard.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_skull.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_sleepy.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_smile.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_smoking.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_sobbing.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_star.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_steaming_furious.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_sunbathing.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_tired.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_tongue_out_wink.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_wave.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_wide_grin.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_wink.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.emoticons/images → default/ly.img.sticker/images/emoticons}/imgly_sticker_emoticons_wrestler.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_alive.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_five.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_friends.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_fuck.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_heart.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_luck.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_ok.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.stickers.hand/images → default/ly.img.sticker/images/hand}/hand_vibes.svg +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/frame.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/halfcircle.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/organic1.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/organic2.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/organic3.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/organic4.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/organicdot1.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/organicdot2.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/quartercircle-outline.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/quartercircle.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/rectanglemask.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/roundmask.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/splash1.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/splash2.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/splash3.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/splash4.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/wiggle.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths.abstract/thumbnails → default/ly.img.vectorpath/thumbnails/abstract}/ziczac.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths/thumbnails → default/ly.img.vectorpath/thumbnails/shapes}/imgly_sticker_shapes_arrow01.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths/thumbnails → default/ly.img.vectorpath/thumbnails/shapes}/imgly_sticker_shapes_arrow02.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths/thumbnails → default/ly.img.vectorpath/thumbnails/shapes}/imgly_sticker_shapes_arrow03.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths/thumbnails → default/ly.img.vectorpath/thumbnails/shapes}/imgly_sticker_shapes_arrow04.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths/thumbnails → default/ly.img.vectorpath/thumbnails/shapes}/imgly_sticker_shapes_arrow05.png +0 -0
- /package/assets/{extensions/ly.img.cesdk.vectorpaths/thumbnails → default/ly.img.vectorpath/thumbnails/shapes}/imgly_sticker_shapes_badge.png +0 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/// <reference types="offscreencanvas" />
|
|
2
2
|
|
|
3
|
+
declare type ArbitraryString = string & {
|
|
4
|
+
arbitrary?: any;
|
|
5
|
+
};
|
|
6
|
+
|
|
3
7
|
/**
|
|
4
8
|
* Generic asset information
|
|
5
9
|
* @public
|
|
@@ -104,7 +108,6 @@ export declare class AssetAPI {
|
|
|
104
108
|
* @param assetId - The id of the asset to be removed.
|
|
105
109
|
*/
|
|
106
110
|
removeAssetFromSource(sourceId: string, assetId: string): void;
|
|
107
|
-
|
|
108
111
|
/**
|
|
109
112
|
* Apply an asset result to the active scene.
|
|
110
113
|
* The default behavior will instantiate a block and configure it according to the asset's properties.
|
|
@@ -132,6 +135,18 @@ export declare class AssetAPI {
|
|
|
132
135
|
* @param block - The block to apply the asset result to.
|
|
133
136
|
*/
|
|
134
137
|
defaultApplyAssetToBlock(assetResult: AssetResult, block: DesignBlockId): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* Register a callback to be called every time an asset source is added.
|
|
140
|
+
* @param callback - The function that is called whenever an asset source is added.
|
|
141
|
+
* @returns A method to unsubscribe.
|
|
142
|
+
*/
|
|
143
|
+
onAssetSourceAdded: (callback: (sourceID: string) => void) => (() => void);
|
|
144
|
+
/**
|
|
145
|
+
* Register a callback to be called every time an asset source is removed.
|
|
146
|
+
* @param callback - The function that is called whenever an asset source is added.
|
|
147
|
+
* @returns A method to unsubscribe.
|
|
148
|
+
*/
|
|
149
|
+
onAssetSourceRemoved: (callback: (sourceID: string) => void) => (() => void);
|
|
135
150
|
|
|
136
151
|
}
|
|
137
152
|
|
|
@@ -274,14 +289,6 @@ export declare interface AssetSource {
|
|
|
274
289
|
name: string;
|
|
275
290
|
url?: string;
|
|
276
291
|
};
|
|
277
|
-
/**
|
|
278
|
-
* Indicates if the asset shall be downloaded to handle the raw data instead
|
|
279
|
-
* of an URL reference. Do this if you do not want to depend on
|
|
280
|
-
* a service after adding the asset to the scene. If this is your own API
|
|
281
|
-
* with your own service, you do not need to set this and avoid downloading /
|
|
282
|
-
* re-uploading the assets.
|
|
283
|
-
*/
|
|
284
|
-
downloadAssets?: (asset: AssetResult) => Promise<Blob>;
|
|
285
292
|
/**
|
|
286
293
|
* @returns the asset or undefined if no asset with the given id could be found
|
|
287
294
|
*/
|
|
@@ -290,6 +297,8 @@ export declare interface AssetSource {
|
|
|
290
297
|
* Can the source add and remove assets dynamically? If `false`
|
|
291
298
|
* methods like `addAsset` and `removeAsset` will throw an
|
|
292
299
|
* error.
|
|
300
|
+
*
|
|
301
|
+
* @deprecated Will be removed in v1.11. Use `canAdd` and `canRemove` in the asset library configuration
|
|
293
302
|
*/
|
|
294
303
|
canManageAssets?: boolean;
|
|
295
304
|
/**
|
|
@@ -304,9 +313,8 @@ export declare interface AssetSource {
|
|
|
304
313
|
*/
|
|
305
314
|
applyAssetToBlock?: (asset: AssetResult, block: DesignBlockId) => Promise<void>;
|
|
306
315
|
/**
|
|
307
|
-
* Adds the given asset to this source. Throws an error if
|
|
308
|
-
*
|
|
309
|
-
*
|
|
316
|
+
* Adds the given asset to this source. Throws an error if the asset source
|
|
317
|
+
* does not support adding assets.
|
|
310
318
|
*/
|
|
311
319
|
addAsset?(asset: AssetDefinition): void;
|
|
312
320
|
/**
|
|
@@ -341,14 +349,6 @@ declare interface AssetSource_2 {
|
|
|
341
349
|
|
|
342
350
|
/** Return every available group */
|
|
343
351
|
getGroups?: () => Promise<string[]>;
|
|
344
|
-
/**
|
|
345
|
-
* Indicates if the asset shall be downloaded to handle the raw data instead
|
|
346
|
-
* of an URL reference. Do this if you do not want to depend on
|
|
347
|
-
* a service after adding the asset to the scene. If this is your own API
|
|
348
|
-
* with your own service, you do not need to set this and avoid downloading /
|
|
349
|
-
* re-uploading the assets.
|
|
350
|
-
*/
|
|
351
|
-
downloadAssets?: (asset: AssetResult_2) => Promise<Blob>;
|
|
352
352
|
/** Credits for the source/api */
|
|
353
353
|
credits?: {
|
|
354
354
|
name: string;
|
|
@@ -408,64 +408,6 @@ declare interface AssetsQueryResult_2 {
|
|
|
408
408
|
*/
|
|
409
409
|
export declare type BlendMode = 'PassThrough' | 'Normal' | 'Darken' | 'Multiply' | 'ColorBurn' | 'Lighten' | 'Screen' | 'ColorDodge' | 'Overlay' | 'SoftLight' | 'HardLight' | 'Difference' | 'Exclusion' | 'Hue' | 'Saturation' | 'Color' | 'Luminosity';
|
|
410
410
|
|
|
411
|
-
/**
|
|
412
|
-
* Holds Channels for the different properties of a block.
|
|
413
|
-
* Ensures that for each property, only one channel exists.
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
export declare class Block extends Entity {
|
|
417
|
-
#private;
|
|
418
|
-
get type(): DesignBlockType;
|
|
419
|
-
effects: ReadWriteChannelSync<number[]>;
|
|
420
|
-
blur: ReadWriteChannelSync<number>;
|
|
421
|
-
isBlurEnabled: ReadWriteChannelSync<boolean>;
|
|
422
|
-
soloPlaybackEnabled: ReadWriteChannelSync<boolean>;
|
|
423
|
-
trimOffset: ReadWriteChannelSync<number>;
|
|
424
|
-
trimLength: ReadWriteChannelSync<number>;
|
|
425
|
-
playing: ReadWriteChannelSync<boolean>;
|
|
426
|
-
playbackTime: ReadWriteChannelSync<number>;
|
|
427
|
-
selection: ReadWriteChannelSync<boolean>;
|
|
428
|
-
duration: ReadWriteChannelSync<number>;
|
|
429
|
-
name: ReadWriteChannelSync<string>;
|
|
430
|
-
avResourceTotalDuration: ReadWriteChannelSync<number>;
|
|
431
|
-
timeOffset: ReadWriteChannelSync<number>;
|
|
432
|
-
cropTranslationX: ReadWriteChannelSync<number>;
|
|
433
|
-
cropTranslationY: ReadWriteChannelSync<number>;
|
|
434
|
-
cropTranslation: ReadWriteChannelSync<Vec2>;
|
|
435
|
-
cropScaleRatio: ReadWriteChannelSync<number>;
|
|
436
|
-
cropRotation: ReadWriteChannelSync<number>;
|
|
437
|
-
cropScaleX: ReadWriteChannelSync<number>;
|
|
438
|
-
cropScaleY: ReadWriteChannelSync<number>;
|
|
439
|
-
width: ReadWriteChannelSync<number>;
|
|
440
|
-
height: ReadWriteChannelSync<number>;
|
|
441
|
-
dimensions: ReadWriteChannelSync<Vec2>;
|
|
442
|
-
contentFillMode: ReadWriteChannelSync<ContentFillMode>;
|
|
443
|
-
blendMode: ReadWriteChannelSync<BlendMode>;
|
|
444
|
-
designStyleScope: ReadWriteChannelSync<boolean>;
|
|
445
|
-
designArrangeScope: ReadWriteChannelSync<boolean>;
|
|
446
|
-
designArrangeScopeMove: ReadWriteChannelSync<boolean>;
|
|
447
|
-
designArrangeScopeResize: ReadWriteChannelSync<boolean>;
|
|
448
|
-
designArrangeScopeRotate: ReadWriteChannelSync<boolean>;
|
|
449
|
-
designArrangeScopeFlip: ReadWriteChannelSync<boolean>;
|
|
450
|
-
contentReplaceScope: ReadWriteChannelSync<boolean>;
|
|
451
|
-
lifecycleDestroyScope: ReadWriteChannelSync<boolean>;
|
|
452
|
-
lifecycleDuplicateScope: ReadWriteChannelSync<boolean>;
|
|
453
|
-
editorAddScope: ReadWriteChannelSync<boolean>;
|
|
454
|
-
editorInspectScope: ReadWriteChannelSync<boolean>;
|
|
455
|
-
editorPresentScope: ReadWriteChannelSync<boolean>;
|
|
456
|
-
editorManagePagesScope: ReadWriteChannelSync<boolean>;
|
|
457
|
-
editorSelectScope: ReadWriteChannelSync<boolean>;
|
|
458
|
-
editorZoomScope: ReadWriteChannelSync<boolean>;
|
|
459
|
-
boundingBox: ReadOnlyChannelSync<{
|
|
460
|
-
x: number;
|
|
461
|
-
y: number;
|
|
462
|
-
width: number;
|
|
463
|
-
height: number;
|
|
464
|
-
}>;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
}
|
|
468
|
-
|
|
469
411
|
/**
|
|
470
412
|
* @public
|
|
471
413
|
*/
|
|
@@ -496,17 +438,13 @@ export declare class BlockAPI {
|
|
|
496
438
|
/**
|
|
497
439
|
* Exports a design block as a video file of the given mime type.
|
|
498
440
|
* Note: The export will run across multiple iterations of the update loop. In each iteration a frame is scheduled for encoding.
|
|
499
|
-
* @param
|
|
500
|
-
* @param timeOffset - The time offset in seconds of the scene's timeline from which the video will start.
|
|
501
|
-
* @param duration - The duration in seconds of the final video.
|
|
441
|
+
* @param handle - The design block element to export. Currently, only the scene block is supported.
|
|
502
442
|
* @param mimeType - The mime type of the output video file.
|
|
503
|
-
* @param resolutionWidth - The target video width in pixel.
|
|
504
|
-
* @param resolutionHeight - The target video height in pixel.
|
|
505
|
-
* @param framerate - The target framerate in Hz.
|
|
506
443
|
* @param progressCallback - A callback which reports on the progress of the export. It informs the receiver of the current frame index, which currently gets exported and the total frame count.
|
|
444
|
+
* @param options - The options for exporting the video
|
|
507
445
|
* @returns A promise that resolves with video blob or is rejected with an error.
|
|
508
446
|
*/
|
|
509
|
-
exportVideo(handle: DesignBlockId,
|
|
447
|
+
exportVideo(handle: DesignBlockId, mimeType: MimeType_2 | undefined, progressCallback: (numberOfRenderedFrames: number, numberOfEncodedFrames: number, totalNumberOfFrames: number) => void, options: VideoExportOptions): Promise<Blob>;
|
|
510
448
|
/**
|
|
511
449
|
* Loads existing blocks from the given string.
|
|
512
450
|
* The blocks are not attached by default and won't be visible until attached to a page or the scene.
|
|
@@ -606,9 +544,14 @@ export declare class BlockAPI {
|
|
|
606
544
|
setName(id: DesignBlockId, name: string): void;
|
|
607
545
|
/**
|
|
608
546
|
* Get a block's name.
|
|
609
|
-
* @param id - The block to
|
|
547
|
+
* @param id - The block to query.
|
|
610
548
|
*/
|
|
611
549
|
getName(id: DesignBlockId): string;
|
|
550
|
+
/**
|
|
551
|
+
* Get a block's UUID.
|
|
552
|
+
* @param id - The block to query.
|
|
553
|
+
*/
|
|
554
|
+
getUUID(id: DesignBlockId): string;
|
|
612
555
|
/**
|
|
613
556
|
* Finds all blocks with the given name.
|
|
614
557
|
* @param name - The name to search for.
|
|
@@ -821,7 +764,7 @@ export declare class BlockAPI {
|
|
|
821
764
|
/**
|
|
822
765
|
* Set a block's mode for its width.
|
|
823
766
|
* @param id - The block to update.
|
|
824
|
-
* @param mode - The width mode:
|
|
767
|
+
* @param mode - The width mode: Absolute, Percent or Auto.
|
|
825
768
|
*/
|
|
826
769
|
setWidthMode(id: DesignBlockId, mode: SizeMode): void;
|
|
827
770
|
/**
|
|
@@ -833,7 +776,7 @@ export declare class BlockAPI {
|
|
|
833
776
|
/**
|
|
834
777
|
* Set a block's mode for its height.
|
|
835
778
|
* @param id - The block to update.
|
|
836
|
-
* @param mode - The height mode:
|
|
779
|
+
* @param mode - The height mode: Absolute, Percent or Auto.
|
|
837
780
|
*/
|
|
838
781
|
setHeightMode(id: DesignBlockId, mode: SizeMode): void;
|
|
839
782
|
/**
|
|
@@ -1121,14 +1064,14 @@ export declare class BlockAPI {
|
|
|
1121
1064
|
* @param property - The name of the property to set.
|
|
1122
1065
|
* @param value - The enum value as string.
|
|
1123
1066
|
*/
|
|
1124
|
-
setEnum(id: DesignBlockId, property: string, value:
|
|
1067
|
+
setEnum<T extends string = string>(id: DesignBlockId, property: string, value: T): void;
|
|
1125
1068
|
/**
|
|
1126
1069
|
* Get the value of an enum property of the given design block.
|
|
1127
1070
|
* @param id - The block whose property should be queried.
|
|
1128
1071
|
* @param property - The name of the property to query.
|
|
1129
1072
|
* @returns The value as string.
|
|
1130
1073
|
*/
|
|
1131
|
-
getEnum(id: DesignBlockId, property: string):
|
|
1074
|
+
getEnum<T extends string = string>(id: DesignBlockId, property: string): T;
|
|
1132
1075
|
/**
|
|
1133
1076
|
* Query if the given block has crop properties.
|
|
1134
1077
|
* @param id - The block to query.
|
|
@@ -1270,6 +1213,7 @@ export declare class BlockAPI {
|
|
|
1270
1213
|
* Query if the given block has fill color properties.
|
|
1271
1214
|
* @param id - The block to query.
|
|
1272
1215
|
* @returns true, if the block has fill color properties.
|
|
1216
|
+
* @deprecated Query the fills type using getFill() and getType() instead.
|
|
1273
1217
|
*/
|
|
1274
1218
|
hasFillColor(id: DesignBlockId): boolean;
|
|
1275
1219
|
/**
|
|
@@ -1280,24 +1224,28 @@ export declare class BlockAPI {
|
|
|
1280
1224
|
* @param g - The green color component in the range of 0 to 1.
|
|
1281
1225
|
* @param b - The blue color component in the range of 0 to 1.
|
|
1282
1226
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
1227
|
+
* @deprecated Use setFillSolidColor() instead.
|
|
1283
1228
|
*/
|
|
1284
1229
|
setFillColorRGBA(id: DesignBlockId, r: number, g: number, b: number, a?: number): void;
|
|
1285
1230
|
/**
|
|
1286
1231
|
* Get the fill color of the given design block.
|
|
1287
1232
|
* @param id - The block whose fill color should be queried.
|
|
1288
1233
|
* @returns The fill color.
|
|
1234
|
+
* @deprecated Use getFillSolidColor() instead.
|
|
1289
1235
|
*/
|
|
1290
1236
|
getFillColorRGBA(id: DesignBlockId): RGBA;
|
|
1291
1237
|
/**
|
|
1292
1238
|
* Enable or disable the fill of the given design block.
|
|
1293
1239
|
* @param id - The block whose fill should be enabled or disabled.
|
|
1294
1240
|
* @param enabled - If true, the fill will be enabled.
|
|
1241
|
+
* @deprecated Use setFillEnabled() instead.
|
|
1295
1242
|
*/
|
|
1296
1243
|
setFillColorEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
1297
1244
|
/**
|
|
1298
1245
|
* Query if the fill of the given design block is enabled.
|
|
1299
1246
|
* @param id - The block whose fill state should be queried.
|
|
1300
1247
|
* @returns True, if fill is enabled.
|
|
1248
|
+
* @deprecated Use isFillEnabled() instead."
|
|
1301
1249
|
*/
|
|
1302
1250
|
isFillColorEnabled(id: DesignBlockId): boolean;
|
|
1303
1251
|
/**
|
|
@@ -1655,6 +1603,69 @@ export declare class BlockAPI {
|
|
|
1655
1603
|
* @returns The drop shadow's clipping.
|
|
1656
1604
|
*/
|
|
1657
1605
|
getDropShadowClip(id: DesignBlockId): boolean;
|
|
1606
|
+
/**
|
|
1607
|
+
* Inserts the given text into the selected range of the text block.
|
|
1608
|
+
* @param block - The text block into which to insert the given text.
|
|
1609
|
+
* @param text - The text which should replace the selected range in the block.
|
|
1610
|
+
* @param from - The start index of the UTF-16 range that should be replaced.
|
|
1611
|
+
* If the value is negative, this will fall back to the start of the entire text range.
|
|
1612
|
+
* @param to - The UTF-16 index after the last grapheme that should be replaced by the inserted text.
|
|
1613
|
+
* If `from` and `to` are negative, a this will fall back to the end of the entire text range, so the entire text will be replaced.
|
|
1614
|
+
* If `to` is negative but `from` is greater than or equal to 0, the text will be inserted at the index defined by `from`.
|
|
1615
|
+
*/
|
|
1616
|
+
replaceText(id: DesignBlockId, text: string, from?: number, to?: number): void;
|
|
1617
|
+
/**
|
|
1618
|
+
* Removes selected range of text of the given text block.
|
|
1619
|
+
* @param block - The text block from which the selected text should be removed.
|
|
1620
|
+
* @param from - The start index of the UTF-16 range that should be removed.
|
|
1621
|
+
* If the value is negative, this will fall back to the start of the entire text range.
|
|
1622
|
+
* @param to - The UTF-16 index after the last grapheme that should be removed.
|
|
1623
|
+
* If the value is negative, this will fall back to the end of the entire text range.
|
|
1624
|
+
*/
|
|
1625
|
+
removeText(id: DesignBlockId, from?: number, to?: number): void;
|
|
1626
|
+
/**
|
|
1627
|
+
* Changes the color of the text in the selected range to the given color.
|
|
1628
|
+
* @param block - The text block whose color should be changed.
|
|
1629
|
+
* @param color - The new color of the selected text range.
|
|
1630
|
+
* @param from - The start index of the UTF-16 range whose color should be changed.
|
|
1631
|
+
* If the value is negative and the block is currently being edited, this will fall back to the start of the current cursor index / selected grapheme range.
|
|
1632
|
+
* If the value is negative and the block is not being edited, this will fall back to the start of the entire text range.
|
|
1633
|
+
* @param to - The UTF-16 index after the last grapheme whose color should be changed.
|
|
1634
|
+
* If the value is negative and the block is currently being edited, this will fall back to the end of the current cursor index / selected grapheme range.
|
|
1635
|
+
* If the value is negative and the block is not being edited, this will fall back to the end of the entire text range.
|
|
1636
|
+
*/
|
|
1637
|
+
setTextColor(id: DesignBlockId, color: RGBAColor | SpotColor, from?: number, to?: number): void;
|
|
1638
|
+
/**
|
|
1639
|
+
* Returns the ordered unique list of colors of the text in the selected range.
|
|
1640
|
+
* @param block - The text block whose colors should be returned.
|
|
1641
|
+
* @param from - The start index of the UTF-16 range whose colors should be returned.
|
|
1642
|
+
* If the value is negative, this will fall back to the start of the entire text range.
|
|
1643
|
+
* @param to - The UTF-16 index after the last grapheme whose colors should be returned.
|
|
1644
|
+
* If the value is negative, this will fall back to the end of the entire text range.
|
|
1645
|
+
*/
|
|
1646
|
+
getTextColors(id: DesignBlockId, from?: number, to?: number): Array<RGBAColor | SpotColor>;
|
|
1647
|
+
/**
|
|
1648
|
+
* Returns the ordered unique list of font weights of the text in the selected range.
|
|
1649
|
+
* @param block - The text block whose font weights should be returned.
|
|
1650
|
+
* @param from - The start index of the UTF-16 range whose font weights should be returned.
|
|
1651
|
+
* If the value is negative and the block is currently being edited, this will fall back to the start of the current cursor index / selected grapheme range.
|
|
1652
|
+
* If the value is negative and the block is not being edited, this will fall back to the start of the entire text range.
|
|
1653
|
+
* @param to - The UTF-16 index after the last grapheme whose font weights should be returned.
|
|
1654
|
+
* If the value is negative and the block is currently being edited, this will fall back to the end of the current cursor index / selected grapheme range.
|
|
1655
|
+
* If the value is negative and the block is not being edited, this will fall back to the end of the entire text range.
|
|
1656
|
+
*/
|
|
1657
|
+
getTextFontWeights(id: DesignBlockId, from?: number, to?: number): FontWeight[];
|
|
1658
|
+
/**
|
|
1659
|
+
* Returns the ordered unique list of font styles of the text in the selected range.
|
|
1660
|
+
* @param block - The text block whose font styles should be returned.
|
|
1661
|
+
* @param from - The start index of the UTF-16 range whose font weights should be returned.
|
|
1662
|
+
* If the value is negative and the block is currently being edited, this will fall back to the start of the current cursor index / selected grapheme range.
|
|
1663
|
+
* If the value is negative and the block is not being edited, this will fall back to the start of the entire text range.
|
|
1664
|
+
* @param to - The UTF-16 index after the last grapheme whose font styles should be returned.
|
|
1665
|
+
* If the value is negative and the block is currently being edited, this will fall back to the end of the current cursor index / selected grapheme range.
|
|
1666
|
+
* If the value is negative and the block is not being edited, this will fall back to the end of the entire text range.
|
|
1667
|
+
*/
|
|
1668
|
+
getTextFontStyles(id: DesignBlockId, from?: number, to?: number): FontStyle[];
|
|
1658
1669
|
/**
|
|
1659
1670
|
* Query if the given block has fill color properties.
|
|
1660
1671
|
* @param id - The block to query.
|
|
@@ -1692,12 +1703,14 @@ export declare class BlockAPI {
|
|
|
1692
1703
|
* @param id - The block whose fill type should be set.
|
|
1693
1704
|
* @param type - The fill type to set.
|
|
1694
1705
|
* @returns An empty result on success, an error otherwise.
|
|
1706
|
+
* @deprecated Use `createFill`, e.g., with type 'color' and then apply the fill block with `setFill` to the block instead. If the block has a fill, it should be removed with `getFill` and `destroy`.
|
|
1695
1707
|
*/
|
|
1696
1708
|
setFillType(id: DesignBlockId, fillType: FillType): void;
|
|
1697
1709
|
/**
|
|
1698
1710
|
* Get the fill type of the given design block.
|
|
1699
1711
|
* @param id - The block whose fill type should be queried.
|
|
1700
1712
|
* @returns The block's fill type or an error.
|
|
1713
|
+
* @deprecated Use `getEnum(id, 'fill/type')` instead.
|
|
1701
1714
|
*/
|
|
1702
1715
|
getFillType(id: DesignBlockId): FillType;
|
|
1703
1716
|
/**
|
|
@@ -1721,12 +1734,14 @@ export declare class BlockAPI {
|
|
|
1721
1734
|
* @param id - The block whose gradient type should be set.
|
|
1722
1735
|
* @param type - The gradient type.
|
|
1723
1736
|
* @returns An empty result on success, an error otherwise.
|
|
1737
|
+
* @deprecated Use `createFill`, e.g., with '//ly.img.ubq/fill/gradient/linear' and then apply the fill block with `setFill` to the block instead. If the block has a fill, it should be removed with `getFill` and `destroy`.
|
|
1724
1738
|
*/
|
|
1725
1739
|
setFillGradientType(id: DesignBlockId, gradientType: GradientType): void;
|
|
1726
1740
|
/**
|
|
1727
1741
|
* Get the gradient type of the given design block.
|
|
1728
1742
|
* @param id - The block whose gradient type should be queried.
|
|
1729
1743
|
* @returns The gradient type.
|
|
1744
|
+
* @deprecated Use `getEnum(id, 'fill/gradient/type')` instead.
|
|
1730
1745
|
*/
|
|
1731
1746
|
getFillGradientType(id: DesignBlockId): GradientType;
|
|
1732
1747
|
/**
|
|
@@ -1738,6 +1753,7 @@ export declare class BlockAPI {
|
|
|
1738
1753
|
* @param b - The blue color component in the range of 0 to 1.
|
|
1739
1754
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
1740
1755
|
* @returns An empty result on success, an error otherwise.
|
|
1756
|
+
* @deprecated Removed without a direct replacement. Use `block.setFloat(fill, keypath, value)` with key paths 'fill/gradient/linear/startPointX/Y', 'fill/gradient/radial/centerPointX/Y', and 'fill/gradient/conical/centerPointX/Y' to move the control points.
|
|
1741
1757
|
*/
|
|
1742
1758
|
addFillGradientColorStop(id: DesignBlockId, stop: number, r: number, g: number, b: number, a?: number): void;
|
|
1743
1759
|
/**
|
|
@@ -1745,12 +1761,14 @@ export declare class BlockAPI {
|
|
|
1745
1761
|
* @param id - The block from which to remove the gradient color stop.
|
|
1746
1762
|
* @param stop - The stop's position.
|
|
1747
1763
|
* @returns An empty result on success, an error otherwise.
|
|
1764
|
+
* @deprecated Removed without a direct replacement. Use `block.setFloat(fill, keypath, value)` with key paths 'fill/gradient/linear/startPointX/Y', 'fill/gradient/radial/centerPointX/Y', and 'fill/gradient/conical/centerPointX/Y' to move the control points.
|
|
1748
1765
|
*/
|
|
1749
1766
|
removeFillGradientColorStop(id: DesignBlockId, stop: number): void;
|
|
1750
1767
|
/**
|
|
1751
1768
|
* Get the gradient fill color stops of the given design block.
|
|
1752
1769
|
* @param id - The block whose gradient color stop should be queried.
|
|
1753
1770
|
* @returns All of the design block's gradient color stops.
|
|
1771
|
+
* @deprecated Removed without a direct replacement. Use `block.getFloat(fill, keypath)` with key paths 'fill/gradient/linear/startPointX/Y', 'fill/gradient/radial/centerPointX/Y', and 'fill/gradient/conical/centerPointX/Y' instead.
|
|
1754
1772
|
*/
|
|
1755
1773
|
getFillGradientColorStops(id: DesignBlockId): GradientstopRGBA[];
|
|
1756
1774
|
/**
|
|
@@ -1758,6 +1776,7 @@ export declare class BlockAPI {
|
|
|
1758
1776
|
* @param id - The block whose gradient color stop should be set.
|
|
1759
1777
|
* @param stops - The gradient color stops to set.
|
|
1760
1778
|
* @returns An empty result on success, an error otherwise.
|
|
1779
|
+
* @deprecated Removed without a direct replacement. Use `block.setFloat(fill, keypath, value)` with key paths 'fill/gradient/linear/startPointX/Y', 'fill/gradient/radial/centerPointX/Y', and 'fill/gradient/conical/centerPointX/Y' to move the control points.
|
|
1761
1780
|
*/
|
|
1762
1781
|
setFillGradientColorStops(id: DesignBlockId, stops: GradientstopRGBA[]): void;
|
|
1763
1782
|
/**
|
|
@@ -1768,6 +1787,7 @@ export declare class BlockAPI {
|
|
|
1768
1787
|
* @param x - The horizontal component of the control point.
|
|
1769
1788
|
* @param y - The vertical component of the control point.
|
|
1770
1789
|
* @returns true if the control point was set, an error otherwise.
|
|
1790
|
+
* @deprecated Use, e.g., `block.setFloat(fill, 'fill/gradient/linear/startPointX', value)` and `startPointY` instead.
|
|
1771
1791
|
*/
|
|
1772
1792
|
setFillGradientControlPoint(id: DesignBlockId, gradientControlPointType: GradientControlPointType, x: number, y: number): boolean;
|
|
1773
1793
|
/**
|
|
@@ -1775,6 +1795,7 @@ export declare class BlockAPI {
|
|
|
1775
1795
|
* @param id - The block whose gradient control point should be queried.
|
|
1776
1796
|
* @param gradientControlPointType - The type of control point.
|
|
1777
1797
|
* @returns The horizontal component of the control point, an error otherwise.
|
|
1798
|
+
* @deprecated Use `block.getFloat(fill, keypath)` with key paths 'fill/gradient/linear/startPointX', 'fill/gradient/radial/centerPointX', and 'fill/gradient/conical/centerPointX' instead.
|
|
1778
1799
|
*/
|
|
1779
1800
|
getFillGradientControlPointX(id: DesignBlockId, gradientControlPointType: GradientControlPointType): number;
|
|
1780
1801
|
/**
|
|
@@ -1782,6 +1803,7 @@ export declare class BlockAPI {
|
|
|
1782
1803
|
* @param id - The block whose gradient control point should be queried.
|
|
1783
1804
|
* @param gradientControlPointType - The type of control point.
|
|
1784
1805
|
* @returns The vertical component of the control point, an error otherwise.
|
|
1806
|
+
* @deprecated Use `block.setFloat(fill, keypath, value)` with key paths 'fill/gradient/linear/startPointY', 'fill/gradient/radial/centerPointY', and 'fill/gradient/conical/centerPointY' instead.
|
|
1785
1807
|
*/
|
|
1786
1808
|
getFillGradientControlPointY(id: DesignBlockId, gradientControlPointType: GradientControlPointType): number;
|
|
1787
1809
|
/**
|
|
@@ -1790,6 +1812,7 @@ export declare class BlockAPI {
|
|
|
1790
1812
|
* @param id - The block whose gradient radius should be set.
|
|
1791
1813
|
* @param radius - The gradient's radius.
|
|
1792
1814
|
* @returns true if the control point was set, an error otherwise.
|
|
1815
|
+
* @deprecated Use, e.g., `block.setFloat(fill, 'fill/gradient/radial/radius', value)` instead.
|
|
1793
1816
|
*/
|
|
1794
1817
|
setFillGradientRadius(id: DesignBlockId, radius: number): boolean;
|
|
1795
1818
|
/**
|
|
@@ -1797,6 +1820,7 @@ export declare class BlockAPI {
|
|
|
1797
1820
|
* Note that Not all gradients have a radius.
|
|
1798
1821
|
* @param id - The block whose gradient radius should be queried.
|
|
1799
1822
|
* @returns the gradient's radius, an error otherwise.
|
|
1823
|
+
* @deprecated Use, e.g., `block.getFloat(fill, 'fill/gradient/radial/radius')` instead.
|
|
1800
1824
|
*/
|
|
1801
1825
|
getFillGradientRadius(id: DesignBlockId): number;
|
|
1802
1826
|
/**
|
|
@@ -1815,8 +1839,39 @@ export declare class BlockAPI {
|
|
|
1815
1839
|
* Query if the given block shows placeholder content.
|
|
1816
1840
|
* @param id - The block to query.
|
|
1817
1841
|
* @returns true, if the block shows placeholder content.
|
|
1842
|
+
* @deprecated Use placeholder controls functions.
|
|
1818
1843
|
*/
|
|
1819
1844
|
showsPlaceholderContent(id: DesignBlockId): boolean;
|
|
1845
|
+
/**
|
|
1846
|
+
* Checks whether the block supports placeholder controls.
|
|
1847
|
+
* @param block - The block to query.
|
|
1848
|
+
* @returns True, if the block supports placeholder controls.
|
|
1849
|
+
*/
|
|
1850
|
+
hasPlaceholderControls(id: DesignBlockId): boolean;
|
|
1851
|
+
/**
|
|
1852
|
+
* Enable or disable the visibility of the placeholder overlay pattern for a block.
|
|
1853
|
+
* @param block - The block whose placeholder overlay should be enabled or disabled.
|
|
1854
|
+
* @param enabled - Whether the placeholder overlay should be shown or not.
|
|
1855
|
+
* @returns An empty result on success, an error otherwise.
|
|
1856
|
+
*/
|
|
1857
|
+
setPlaceholderControlsOverlayEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
1858
|
+
/**
|
|
1859
|
+
* Query whether the placeholder overlay pattern for a block is shown.
|
|
1860
|
+
* @param block - The block whose placeholder overlay visibility state should be queried.
|
|
1861
|
+
* @returns An error if the block was invalid, otherwise the visibility state of the block's placeholder overlay pattern.
|
|
1862
|
+
*/
|
|
1863
|
+
isPlaceholderControlsOverlayEnabled(id: DesignBlockId): boolean;
|
|
1864
|
+
/** Enable or disable the visibility of the placeholder button for a block.
|
|
1865
|
+
* @param block - The block whose placeholder button should be shown or not.
|
|
1866
|
+
* @param enabled - Whether the placeholder button should be shown or not.
|
|
1867
|
+
* @returns An empty result on success, an error otherwise.
|
|
1868
|
+
*/
|
|
1869
|
+
setPlaceholderControlsButtonEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
1870
|
+
/** Query whether the placeholder button for a block is shown.
|
|
1871
|
+
* @param block - The block whose placeholder button visibility state should be queried.
|
|
1872
|
+
* @returns An error if the block was invalid, otherwise
|
|
1873
|
+
*/
|
|
1874
|
+
isPlaceholderControlsButtonEnabled(id: DesignBlockId): boolean;
|
|
1820
1875
|
/**
|
|
1821
1876
|
* Set a metadata value of a block identified by a key.
|
|
1822
1877
|
* If the key does not exist, yet, it will be added.
|
|
@@ -1959,15 +2014,15 @@ export declare class BlockAPI {
|
|
|
1959
2014
|
*/
|
|
1960
2015
|
getTotalSceneDuration(scene: DesignBlockId): number;
|
|
1961
2016
|
/**
|
|
1962
|
-
* Set whether the block should be during active playback.
|
|
2017
|
+
* Set whether the block should be playing during active playback.
|
|
1963
2018
|
* @param id - The block that should be updated.
|
|
1964
2019
|
* @param enabled - Whether the block should be playing its contents.
|
|
1965
2020
|
*/
|
|
1966
2021
|
setPlaying(id: DesignBlockId, enabled: boolean): void;
|
|
1967
2022
|
/**
|
|
1968
|
-
* Returns whether the block is
|
|
2023
|
+
* Returns whether the block is playing during active playback.
|
|
1969
2024
|
* @param id - The block to query.
|
|
1970
|
-
* @returns whether the block is during playback.
|
|
2025
|
+
* @returns whether the block is playing during playback.
|
|
1971
2026
|
*/
|
|
1972
2027
|
isPlaying(id: DesignBlockId): boolean;
|
|
1973
2028
|
/**
|
|
@@ -2011,7 +2066,7 @@ export declare class BlockAPI {
|
|
|
2011
2066
|
*/
|
|
2012
2067
|
hasPlaybackControl(id: DesignBlockId): boolean;
|
|
2013
2068
|
/**
|
|
2014
|
-
* Set whether the block should
|
|
2069
|
+
* Set whether the block should restart from the beginning again or stop.
|
|
2015
2070
|
* @param block - The block or video fill to update.
|
|
2016
2071
|
* @param looping - Whether the block should loop to the beginning or stop.
|
|
2017
2072
|
*/
|
|
@@ -2085,15 +2140,6 @@ export declare class BlockAPI {
|
|
|
2085
2140
|
getPageThumbnailAtlas(id: DesignBlockId, numberOfColumns: number, numberOfRows: number, thumbnailHeight: number): Promise<Blob>;
|
|
2086
2141
|
}
|
|
2087
2142
|
|
|
2088
|
-
/**
|
|
2089
|
-
* This maintains a list of Blocks, ensuring that only one Block instance
|
|
2090
|
-
* exists per id.
|
|
2091
|
-
* @public
|
|
2092
|
-
*/
|
|
2093
|
-
export declare class BlockChannels extends EntityChannels<Block> {
|
|
2094
|
-
getBlock(id: number): Block;
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
2143
|
/** @public */
|
|
2098
2144
|
export declare interface BlockEvent {
|
|
2099
2145
|
block: DesignBlockId;
|
|
@@ -2137,7 +2183,7 @@ declare type CameraSettings = {
|
|
|
2137
2183
|
* the current value.
|
|
2138
2184
|
* @public
|
|
2139
2185
|
*/
|
|
2140
|
-
|
|
2186
|
+
declare interface Channel<Out, In = Out> {
|
|
2141
2187
|
subscribe: Source<Out>;
|
|
2142
2188
|
update?: (v: In) => void;
|
|
2143
2189
|
value?: () => Out;
|
|
@@ -2147,7 +2193,7 @@ export declare interface Channel<Out, In = Out> {
|
|
|
2147
2193
|
* A {@link Channel} that is guaranteed to have a `value` method
|
|
2148
2194
|
* @public
|
|
2149
2195
|
*/
|
|
2150
|
-
|
|
2196
|
+
declare interface ChannelSync<Out, In = Out> extends Channel<Out, In> {
|
|
2151
2197
|
subscribe: Source<Out>;
|
|
2152
2198
|
update?: (v: In) => void;
|
|
2153
2199
|
value: () => Out;
|
|
@@ -2197,12 +2243,11 @@ declare namespace ConfigTypes {
|
|
|
2197
2243
|
PageFormatDefinition,
|
|
2198
2244
|
TemplateDefinition,
|
|
2199
2245
|
TypefaceDefinition,
|
|
2200
|
-
ImageDefinition,
|
|
2201
2246
|
Presets,
|
|
2202
2247
|
Variables,
|
|
2203
2248
|
Core,
|
|
2204
2249
|
Extensions,
|
|
2205
|
-
|
|
2250
|
+
Scene,
|
|
2206
2251
|
Page,
|
|
2207
2252
|
Callbacks
|
|
2208
2253
|
}
|
|
@@ -2213,12 +2258,15 @@ export { ConfigTypes }
|
|
|
2213
2258
|
export declare interface Configuration {
|
|
2214
2259
|
baseURL: string;
|
|
2215
2260
|
license?: string;
|
|
2216
|
-
|
|
2217
|
-
|
|
2261
|
+
featureFlags?: {
|
|
2262
|
+
[flag: string]: boolean | string;
|
|
2263
|
+
};
|
|
2264
|
+
/**
|
|
2265
|
+
* @deprecated Extensions have been superseded by AssetSources and should no longer be used.
|
|
2266
|
+
*/
|
|
2218
2267
|
extensions: ConfigTypes.Extensions;
|
|
2219
2268
|
core: ConfigTypes.Core;
|
|
2220
2269
|
scene: ConfigTypes.Scene;
|
|
2221
|
-
page: ConfigTypes.Page;
|
|
2222
2270
|
assetSources: ConfigTypes.AssetSources;
|
|
2223
2271
|
presets: ConfigTypes.Presets;
|
|
2224
2272
|
variables: ConfigTypes.Variables;
|
|
@@ -2287,13 +2335,56 @@ declare class CreativeEngine {
|
|
|
2287
2335
|
* @param config - An optional configuration object.
|
|
2288
2336
|
* @returns An engine instance.
|
|
2289
2337
|
*/
|
|
2290
|
-
static init<C extends Partial<Configuration
|
|
2338
|
+
static init<C extends Partial<Configuration> & OldConfiguration>(config?: C): Promise<CreativeEngine & (C extends {
|
|
2291
2339
|
readonly canvas: any;
|
|
2292
2340
|
} ? {
|
|
2293
2341
|
readonly element: undefined;
|
|
2294
2342
|
} : {
|
|
2295
2343
|
readonly element: HTMLCreativeEngineCanvasElement;
|
|
2296
2344
|
})>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Convenience function that registers a set of asset sources containing our
|
|
2347
|
+
* default assets. These are
|
|
2348
|
+
*
|
|
2349
|
+
* - `'ly.img.sticker'` - Various stickers
|
|
2350
|
+
* - `'ly.img.vectorpath'` - Shapes and arrows
|
|
2351
|
+
* - `'ly.img.filter.lut'` - LUT effects of various kinds.
|
|
2352
|
+
* - `'ly.img.filter.duotone'` - LUT effects of various kinds.
|
|
2353
|
+
*
|
|
2354
|
+
* These assets are parsed from the IMG.LY CDN at \{\{base_url\}\}/<id>/content.json, where
|
|
2355
|
+
* `base_url` defaults to 'https://cdn.img.ly/assets/v1'.
|
|
2356
|
+
* Each source is created via `addLocalSource` and populated with the parsed assets. To modify the available
|
|
2357
|
+
* assets, you may either exclude certain IDs via `excludeAssetSourceIds` or alter the sources after creation.
|
|
2358
|
+
*
|
|
2359
|
+
* @param baseURL - The source of the asset definitions, must be absolute. Defaults to `'https://cdn.img.ly/assets/v1'`.
|
|
2360
|
+
* @param excludeAssetSourceIds - A list of IDs, that will be ignored during load.
|
|
2361
|
+
*/
|
|
2362
|
+
addDefaultAssetSources({ baseURL, excludeAssetSourceIds }?: {
|
|
2363
|
+
baseURL?: string;
|
|
2364
|
+
excludeAssetSourceIds?: DefaultAssetSourceId[];
|
|
2365
|
+
}): Promise<void>;
|
|
2366
|
+
/**
|
|
2367
|
+
* Convenience function that registers a set of demo asset sources containing our
|
|
2368
|
+
* example assets. These are not to meant to be used in your production code.
|
|
2369
|
+
*
|
|
2370
|
+
* These are
|
|
2371
|
+
*
|
|
2372
|
+
* - `'ly.img.image'` - Sample images
|
|
2373
|
+
* - `'ly.img.image.upload'` - Demo source to upload image assets
|
|
2374
|
+
* - `'ly.img.audio'` - Sample audios
|
|
2375
|
+
* - `'ly.img.audio.upload'` - Demo source to upload audio assets
|
|
2376
|
+
* - `'ly.img.video'` - Sample videos
|
|
2377
|
+
* - `'ly.img.video.upload'` - Demo source to upload video assets
|
|
2378
|
+
*
|
|
2379
|
+
* @param excludeAssetSourceIds - A list of IDs, that will be ignored during load.
|
|
2380
|
+
* @param sceneMode - if 'Video' video specific demo asset sources will be loaded as well (default 'Design')
|
|
2381
|
+
* @param withUploadAssetSources - if 'true' asset sources for uploads are added (default false)
|
|
2382
|
+
*/
|
|
2383
|
+
addDemoAssetSources({ excludeAssetSourceIds, sceneMode, withUploadAssetSources }?: {
|
|
2384
|
+
excludeAssetSourceIds?: DemoAssetSourceId[];
|
|
2385
|
+
sceneMode?: SceneMode;
|
|
2386
|
+
withUploadAssetSources?: boolean;
|
|
2387
|
+
}): Promise<void>;
|
|
2297
2388
|
|
|
2298
2389
|
|
|
2299
2390
|
}
|
|
@@ -2312,6 +2403,16 @@ export declare interface CursorEvent extends CustomEvent<string> {
|
|
|
2312
2403
|
preventDefault(): void;
|
|
2313
2404
|
}
|
|
2314
2405
|
|
|
2406
|
+
/**
|
|
2407
|
+
* @public
|
|
2408
|
+
*/
|
|
2409
|
+
export declare type DefaultAssetSourceId = 'ly.img.sticker' | 'ly.img.vectorpath' | 'ly.img.filter.lut' | 'ly.img.filter.duotone';
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* @public
|
|
2413
|
+
*/
|
|
2414
|
+
export declare type DemoAssetSourceId = 'ly.img.image.upload' | 'ly.img.video.upload' | 'ly.img.audio.upload' | 'ly.img.image' | 'ly.img.video' | 'ly.img.audio';
|
|
2415
|
+
|
|
2315
2416
|
/**
|
|
2316
2417
|
* A numerical identifier for a design block
|
|
2317
2418
|
* @public
|
|
@@ -2341,8 +2442,11 @@ export declare enum DesignBlockType {
|
|
|
2341
2442
|
Group = "//ly.img.ubq/group"
|
|
2342
2443
|
}
|
|
2343
2444
|
|
|
2344
|
-
/**
|
|
2345
|
-
|
|
2445
|
+
/**
|
|
2446
|
+
* The scene layout determines how the layout stack should layout its pages.
|
|
2447
|
+
* @public
|
|
2448
|
+
*/
|
|
2449
|
+
export declare type DesignUnit = 'Pixel' | 'Millimeter' | 'Inch';
|
|
2346
2450
|
|
|
2347
2451
|
/**
|
|
2348
2452
|
* @public
|
|
@@ -2355,7 +2459,7 @@ export declare class EditorAPI {
|
|
|
2355
2459
|
* @param callback - This function is called at the end of the engine update, if the editor state has changed.
|
|
2356
2460
|
* @returns A method to unsubscribe.
|
|
2357
2461
|
*/
|
|
2358
|
-
onStateChanged(callback: () => void)
|
|
2462
|
+
onStateChanged: (callback: () => void) => (() => void);
|
|
2359
2463
|
/**
|
|
2360
2464
|
* Set the edit mode of the editor.
|
|
2361
2465
|
* An edit mode defines what type of content can currently be edited by the user.
|
|
@@ -2441,26 +2545,26 @@ export declare class EditorAPI {
|
|
|
2441
2545
|
* @param callback - This function is called at the end of the engine update, if the undo/redo history has been changed.
|
|
2442
2546
|
* @returns A method to unsubscribe
|
|
2443
2547
|
*/
|
|
2444
|
-
onHistoryUpdated(callback: () => void)
|
|
2548
|
+
onHistoryUpdated: (callback: () => void) => (() => void);
|
|
2445
2549
|
/**
|
|
2446
2550
|
* Subscribe to changes to the editor settings.
|
|
2447
2551
|
* @param callback - This function is called at the end of the engine update, if the editor settings have changed.
|
|
2448
2552
|
* @returns A method to unsubscribe.
|
|
2449
2553
|
*/
|
|
2450
|
-
onSettingsChanged(callback: () => void)
|
|
2554
|
+
onSettingsChanged: (callback: () => void) => (() => void);
|
|
2451
2555
|
/**
|
|
2452
2556
|
* Set a boolean setting.
|
|
2453
2557
|
* @param keypath - The settings keypath, e.g. `doubleClickToCropEnabled`
|
|
2454
2558
|
* @param value - The value to set.
|
|
2455
2559
|
* @throws An error, if the keypath is invalid.
|
|
2456
2560
|
*/
|
|
2457
|
-
setSettingBool(keypath:
|
|
2561
|
+
setSettingBool(keypath: SettingsBool, value: boolean): void;
|
|
2458
2562
|
/**
|
|
2459
2563
|
* Get a boolean setting.
|
|
2460
2564
|
* @param keypath - The settings keypath, e.g. `doubleClickToCropEnabled`
|
|
2461
2565
|
* @throws An error, if the keypath is invalid.
|
|
2462
2566
|
*/
|
|
2463
|
-
getSettingBool(keypath:
|
|
2567
|
+
getSettingBool(keypath: SettingsBool): boolean;
|
|
2464
2568
|
/**
|
|
2465
2569
|
* Set an integer setting.
|
|
2466
2570
|
* @param keypath - The settings keypath.
|
|
@@ -2480,26 +2584,26 @@ export declare class EditorAPI {
|
|
|
2480
2584
|
* @param value - The value to set.
|
|
2481
2585
|
* @throws An error, if the keypath is invalid.
|
|
2482
2586
|
*/
|
|
2483
|
-
setSettingFloat(keypath:
|
|
2587
|
+
setSettingFloat(keypath: SettingsFloat, value: number): void;
|
|
2484
2588
|
/**
|
|
2485
2589
|
* Get a float setting.
|
|
2486
2590
|
* @param keypath - The settings keypath, e.g. `positionSnappingThreshold`
|
|
2487
2591
|
* @throws An error, if the keypath is invalid.
|
|
2488
2592
|
*/
|
|
2489
|
-
getSettingFloat(keypath:
|
|
2593
|
+
getSettingFloat(keypath: SettingsFloat): number;
|
|
2490
2594
|
/**
|
|
2491
2595
|
* Set a string setting.
|
|
2492
2596
|
* @param keypath - The settings keypath, e.g. `license`
|
|
2493
2597
|
* @param value - The value to set.
|
|
2494
2598
|
* @throws An error, if the keypath is invalid.
|
|
2495
2599
|
*/
|
|
2496
|
-
setSettingString(keypath:
|
|
2600
|
+
setSettingString(keypath: SettingsString, value: string): void;
|
|
2497
2601
|
/**
|
|
2498
2602
|
* Get a string setting.
|
|
2499
2603
|
* @param keypath - The settings keypath, e.g. `license`
|
|
2500
2604
|
* @throws An error, if the keypath is invalid.
|
|
2501
2605
|
*/
|
|
2502
|
-
getSettingString(keypath:
|
|
2606
|
+
getSettingString(keypath: SettingsString): string;
|
|
2503
2607
|
/**
|
|
2504
2608
|
* Set a color setting.
|
|
2505
2609
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
@@ -2508,25 +2612,25 @@ export declare class EditorAPI {
|
|
|
2508
2612
|
* @param b - The blue color component in the range of 0 to 1.
|
|
2509
2613
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
2510
2614
|
*/
|
|
2511
|
-
setSettingColorRGBA(keypath:
|
|
2615
|
+
setSettingColorRGBA(keypath: SettingsColorRGBA, r: number, g: number, b: number, a?: number): void;
|
|
2512
2616
|
/**
|
|
2513
2617
|
* Get a color setting.
|
|
2514
2618
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
2515
2619
|
* @returns A tuple of channels red, green, blue and alpha in the range of 0 to 1.
|
|
2516
2620
|
*/
|
|
2517
|
-
getSettingColorRGBA(keypath:
|
|
2621
|
+
getSettingColorRGBA(keypath: SettingsColorRGBA): RGBA;
|
|
2518
2622
|
/**
|
|
2519
2623
|
* Set an enum setting.
|
|
2520
2624
|
* @param keypath - The settings keypath, e.g. `role`.
|
|
2521
2625
|
* @param value - The enum value as string.
|
|
2522
2626
|
*/
|
|
2523
|
-
setSettingEnum(keypath:
|
|
2627
|
+
setSettingEnum<T extends keyof SettingsEnum>(keypath: T, value: SettingsEnum[T]): void;
|
|
2524
2628
|
/**
|
|
2525
2629
|
* Get an enum setting.
|
|
2526
2630
|
* @param keypath - The settings keypath, e.g. `role`.
|
|
2527
2631
|
* @returns The value as string.
|
|
2528
2632
|
*/
|
|
2529
|
-
getSettingEnum(keypath:
|
|
2633
|
+
getSettingEnum<T extends keyof SettingsEnum>(keypath: T): SettingsEnum[T];
|
|
2530
2634
|
/**
|
|
2531
2635
|
* Get the currently available memory in bytes.
|
|
2532
2636
|
* @returns The currently available memory in bytes.
|
|
@@ -2603,48 +2707,6 @@ export declare class EditorAPI {
|
|
|
2603
2707
|
removeSpotColor(name: string): void;
|
|
2604
2708
|
}
|
|
2605
2709
|
|
|
2606
|
-
/**
|
|
2607
|
-
* Holds Channels for the different properties of an effect.
|
|
2608
|
-
* Ensures that for each property, only one channel exists.
|
|
2609
|
-
* @public
|
|
2610
|
-
*/
|
|
2611
|
-
export declare class Effect extends Entity {
|
|
2612
|
-
enabled: ReadWriteChannelSync<boolean>;
|
|
2613
|
-
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
|
-
/**
|
|
2617
|
-
* This maintains a list of Effects, ensuring that only one Block instance
|
|
2618
|
-
* exists per id.
|
|
2619
|
-
* @public
|
|
2620
|
-
*/
|
|
2621
|
-
export declare class EffectChannels extends EntityChannels<Effect> {
|
|
2622
|
-
getEffect(id: number): Effect;
|
|
2623
|
-
}
|
|
2624
|
-
|
|
2625
|
-
/**
|
|
2626
|
-
* @public
|
|
2627
|
-
*/
|
|
2628
|
-
export declare class Entity {
|
|
2629
|
-
#private;
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
get id(): number;
|
|
2634
|
-
Int(property: string): ReadWriteChannelSync<number>;
|
|
2635
|
-
Float(property: string): ReadWriteChannelSync<number>;
|
|
2636
|
-
Bool(property: string): ReadWriteChannelSync<boolean>;
|
|
2637
|
-
}
|
|
2638
|
-
|
|
2639
|
-
/** @public */
|
|
2640
|
-
export declare class EntityChannels<T extends Entity> {
|
|
2641
|
-
#private;
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
dispose(): void;
|
|
2646
|
-
}
|
|
2647
|
-
|
|
2648
2710
|
/**
|
|
2649
2711
|
* @public
|
|
2650
2712
|
*/
|
|
@@ -2657,7 +2719,7 @@ export declare class EventAPI {
|
|
|
2657
2719
|
* @param callback - The event callback. Events are bundled and sent at the end of each engine update.
|
|
2658
2720
|
* @returns A method to unsubscribe.
|
|
2659
2721
|
*/
|
|
2660
|
-
subscribe(blocks: DesignBlockId[], callback: (events: BlockEvent[]) => void)
|
|
2722
|
+
subscribe: (blocks: DesignBlockId[], callback: (events: BlockEvent[]) => void) => (() => void);
|
|
2661
2723
|
}
|
|
2662
2724
|
|
|
2663
2725
|
/**
|
|
@@ -2807,6 +2869,9 @@ declare type HexColorString = string;
|
|
|
2807
2869
|
*/
|
|
2808
2870
|
export declare type HistoryId = number;
|
|
2809
2871
|
|
|
2872
|
+
/** @public */
|
|
2873
|
+
export declare type HorizontalTextAlignment = 'Left' | 'Right' | 'Center';
|
|
2874
|
+
|
|
2810
2875
|
/**
|
|
2811
2876
|
* A wrapper around a plain canvas
|
|
2812
2877
|
*
|
|
@@ -2819,19 +2884,21 @@ export declare type HistoryId = number;
|
|
|
2819
2884
|
export declare interface HTMLCreativeEngineCanvasElement extends HTMLElement {
|
|
2820
2885
|
|
|
2821
2886
|
|
|
2887
|
+
/**
|
|
2888
|
+
* Clear the canvas
|
|
2889
|
+
*
|
|
2890
|
+
* This is useful when mounting the canvas into a new position in the DOM.
|
|
2891
|
+
* If the canvas is not cleared, it will appear in the new DOM position, with
|
|
2892
|
+
* its contents stretched to the new size. It will re-render correctly during
|
|
2893
|
+
* the next animation frame, but for a brief moment the canvas contents can
|
|
2894
|
+
* flash distorted.
|
|
2895
|
+
*
|
|
2896
|
+
* Call `clear()` before mounting into the DOM to avoid this. This will cause
|
|
2897
|
+
* the canvas to be cleared until rendering the next frame.
|
|
2898
|
+
*/
|
|
2899
|
+
clear(): void;
|
|
2822
2900
|
}
|
|
2823
2901
|
|
|
2824
|
-
/** @public */
|
|
2825
|
-
declare type ImageDefinition = Preset & {
|
|
2826
|
-
imageURL: string;
|
|
2827
|
-
thumbnailURL?: string;
|
|
2828
|
-
width: number;
|
|
2829
|
-
height: number;
|
|
2830
|
-
levelOfDetail?: {
|
|
2831
|
-
[lod: number]: string;
|
|
2832
|
-
};
|
|
2833
|
-
};
|
|
2834
|
-
|
|
2835
2902
|
/**
|
|
2836
2903
|
* e.g. `en`, `de`, etc.
|
|
2837
2904
|
* @public
|
|
@@ -2860,7 +2927,38 @@ declare enum MimeType_2 {
|
|
|
2860
2927
|
}
|
|
2861
2928
|
export { MimeType_2 as MimeType }
|
|
2862
2929
|
|
|
2863
|
-
/**
|
|
2930
|
+
/**
|
|
2931
|
+
* Contains configuration keys that have been removed from the actual
|
|
2932
|
+
* configuration, but are still supported publicly
|
|
2933
|
+
* @public
|
|
2934
|
+
*/
|
|
2935
|
+
export declare interface OldConfiguration {
|
|
2936
|
+
/**
|
|
2937
|
+
* @deprecated This config key has been removed.
|
|
2938
|
+
* You can configure a role via `setSettingEnum('role', role)` in the
|
|
2939
|
+
* EditorAPI.
|
|
2940
|
+
*/
|
|
2941
|
+
role?: RoleString;
|
|
2942
|
+
/**
|
|
2943
|
+
* @deprecated This config key has been removed completely.
|
|
2944
|
+
* The settings that were configured here can be set via the
|
|
2945
|
+
* following EditorAPI settings:
|
|
2946
|
+
* - `setSettingBool('page/title/show', show)`
|
|
2947
|
+
* - `setSettingString('page/title/fontFileUri', uri)`
|
|
2948
|
+
* - `setSettingBool('page/title/dimOutOfPageAreas', dim)`
|
|
2949
|
+
*/
|
|
2950
|
+
page?: Page;
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* @deprecated This type definition has been removed
|
|
2955
|
+
* The settings that were configured here can be set via the
|
|
2956
|
+
* following EditorAPI settings:
|
|
2957
|
+
* - `setSettingBool('page/title/show', show)`
|
|
2958
|
+
* - `setSettingString('page/title/fontFileUri', uri)`
|
|
2959
|
+
* - `setSettingBool('page/title/dimOutOfPageAreas', dim)`
|
|
2960
|
+
* @public
|
|
2961
|
+
*/
|
|
2864
2962
|
declare type Page = {
|
|
2865
2963
|
title: {
|
|
2866
2964
|
/**
|
|
@@ -2891,9 +2989,7 @@ export declare interface PageDuration {
|
|
|
2891
2989
|
declare type PageFormatDefinition = Preset & {
|
|
2892
2990
|
width: number;
|
|
2893
2991
|
height: number;
|
|
2894
|
-
unit:
|
|
2895
|
-
dpi?: number;
|
|
2896
|
-
bleedMargin?: number;
|
|
2992
|
+
unit: 'px' | 'mm' | 'in';
|
|
2897
2993
|
fixedOrientation?: boolean;
|
|
2898
2994
|
};
|
|
2899
2995
|
|
|
@@ -2923,9 +3019,6 @@ declare type Presets = {
|
|
|
2923
3019
|
typefaces?: {
|
|
2924
3020
|
[id: string]: TypefaceDefinition;
|
|
2925
3021
|
};
|
|
2926
|
-
images?: {
|
|
2927
|
-
[id: string]: ImageDefinition;
|
|
2928
|
-
};
|
|
2929
3022
|
pageFormats?: {
|
|
2930
3023
|
[id: string]: PageFormatDefinition;
|
|
2931
3024
|
};
|
|
@@ -2959,7 +3052,7 @@ declare interface QueryData {
|
|
|
2959
3052
|
* A Read only {@link Channel}
|
|
2960
3053
|
* @public
|
|
2961
3054
|
*/
|
|
2962
|
-
|
|
3055
|
+
declare interface ReadOnlyChannel<Out> extends Omit<Channel<Out>, 'update'> {
|
|
2963
3056
|
subscribe: Source<Out>;
|
|
2964
3057
|
value?: () => Out;
|
|
2965
3058
|
}
|
|
@@ -2968,7 +3061,7 @@ export declare interface ReadOnlyChannel<Out> extends Omit<Channel<Out>, 'update
|
|
|
2968
3061
|
* A {@link ReadOnlyChannel} that is guaranteed to have a `value`
|
|
2969
3062
|
* @public
|
|
2970
3063
|
*/
|
|
2971
|
-
|
|
3064
|
+
declare interface ReadOnlyChannelSync<Out> extends Omit<ChannelSync<Out>, 'update'>, ReadOnlyChannel<Out> {
|
|
2972
3065
|
subscribe: Source<Out>;
|
|
2973
3066
|
value: () => Out;
|
|
2974
3067
|
}
|
|
@@ -2977,7 +3070,7 @@ export declare interface ReadOnlyChannelSync<Out> extends Omit<ChannelSync<Out>,
|
|
|
2977
3070
|
* A {@link Channel} that is guaranteed to have an `update` method.
|
|
2978
3071
|
* @public
|
|
2979
3072
|
*/
|
|
2980
|
-
|
|
3073
|
+
declare interface ReadWriteChannel<Out, In = Out> extends Channel<Out, In> {
|
|
2981
3074
|
subscribe: Source<Out>;
|
|
2982
3075
|
update: (v: In) => void;
|
|
2983
3076
|
value?: () => Out;
|
|
@@ -2987,7 +3080,7 @@ export declare interface ReadWriteChannel<Out, In = Out> extends Channel<Out, In
|
|
|
2987
3080
|
* A {@link ReadWriteChannel} that is guaranteed to have a `value` and an `update` method
|
|
2988
3081
|
* @public
|
|
2989
3082
|
*/
|
|
2990
|
-
|
|
3083
|
+
declare interface ReadWriteChannelSync<Out, In = Out> extends ChannelSync<Out, In>, ReadWriteChannel<Out, In> {
|
|
2991
3084
|
subscribe: Source<Out>;
|
|
2992
3085
|
update: (v: In) => void;
|
|
2993
3086
|
value: () => Out;
|
|
@@ -3035,31 +3128,11 @@ export declare interface RGBColor {
|
|
|
3035
3128
|
/** @public */
|
|
3036
3129
|
export declare type RoleString = 'Creator' | 'Adopter' | 'Viewer' | 'Presenter';
|
|
3037
3130
|
|
|
3038
|
-
/**
|
|
3039
|
-
* Contains channels for scene-specific information that are valid through
|
|
3040
|
-
* scene changes.
|
|
3041
|
-
* @public
|
|
3042
|
-
*/
|
|
3043
|
-
export declare class Scene {
|
|
3044
|
-
|
|
3045
|
-
/**
|
|
3046
|
-
* A channel containing the latest Block.
|
|
3047
|
-
* Will emit an event when the scene changes
|
|
3048
|
-
*/
|
|
3049
|
-
block: ChannelSync<Block | undefined>;
|
|
3050
|
-
mode: ChannelSync<SceneMode | undefined>;
|
|
3051
|
-
totalDuration: ChannelSync<number>;
|
|
3052
|
-
pages: ChannelSync<DesignBlockId[]>;
|
|
3053
|
-
playing: ReadWriteChannelSync<boolean>;
|
|
3054
|
-
playbackTime: ReadWriteChannelSync<number>;
|
|
3055
|
-
pageDurations: ChannelSync<PageDuration[]>;
|
|
3056
|
-
}
|
|
3057
|
-
|
|
3058
3131
|
/**
|
|
3059
3132
|
* Export Settings
|
|
3060
3133
|
* @public
|
|
3061
3134
|
*/
|
|
3062
|
-
declare type
|
|
3135
|
+
declare type Scene = {
|
|
3063
3136
|
/**
|
|
3064
3137
|
* The DPI value to use when exporting and when converting between pixels and inches or millimeter units.
|
|
3065
3138
|
* (In the CESDK, this value is synonymous with PPI).
|
|
@@ -3126,11 +3199,19 @@ export declare class SceneAPI {
|
|
|
3126
3199
|
* Fetching the image may take an arbitrary amount of time, so the scene isn't immediately
|
|
3127
3200
|
* available.
|
|
3128
3201
|
* @param url - The image URL.
|
|
3129
|
-
* @param dpi - The
|
|
3130
|
-
* @param pixelScaleFactor - The
|
|
3202
|
+
* @param dpi - The scene's DPI.
|
|
3203
|
+
* @param pixelScaleFactor - The display's pixel scale factor.
|
|
3131
3204
|
* @returns A promise that resolves with the scene ID on success or rejected with an error otherwise.
|
|
3132
3205
|
*/
|
|
3133
3206
|
createFromImage(url: string, dpi?: number, pixelScaleFactor?: number, sceneLayout?: SceneLayout, spacing?: number, spacingInScreenSpace?: boolean): Promise<DesignBlockId>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Loads the given video and creates a scene with a single page showing the video.
|
|
3209
|
+
* Fetching the video may take an arbitrary amount of time, so the scene isn't immediately
|
|
3210
|
+
* available.
|
|
3211
|
+
* @param url - The video URL.
|
|
3212
|
+
* @returns A promise that resolves with the scene ID on success or rejected with an error otherwise.
|
|
3213
|
+
*/
|
|
3214
|
+
createFromVideo(url: string): Promise<DesignBlockId>;
|
|
3134
3215
|
/**
|
|
3135
3216
|
* Return the currently active scene.
|
|
3136
3217
|
* @returns The scene or null, if none was created yet.
|
|
@@ -3159,6 +3240,16 @@ export declare class SceneAPI {
|
|
|
3159
3240
|
* @returns The current mode of the scene.
|
|
3160
3241
|
*/
|
|
3161
3242
|
getMode(): SceneMode;
|
|
3243
|
+
/**
|
|
3244
|
+
* Converts all values of the current scene into the given design unit.
|
|
3245
|
+
* @param designUnit - The new design unit of the scene
|
|
3246
|
+
*/
|
|
3247
|
+
setDesignUnit(designUnit: DesignUnit): void;
|
|
3248
|
+
/**
|
|
3249
|
+
* Returns the design unit of the current scene.
|
|
3250
|
+
* @returns The current design unit.
|
|
3251
|
+
*/
|
|
3252
|
+
getDesignUnit(): DesignUnit;
|
|
3162
3253
|
/**
|
|
3163
3254
|
* Get the sorted list of pages in the scene.
|
|
3164
3255
|
* @returns The sorted list of pages in the scene.
|
|
@@ -3236,23 +3327,13 @@ export declare class SceneAPI {
|
|
|
3236
3327
|
* @returns A method to unsubscribe.
|
|
3237
3328
|
* @privateRemarks This will currently fire on _all_ changes to camera properties
|
|
3238
3329
|
*/
|
|
3239
|
-
onZoomLevelChanged(callback: () => void)
|
|
3330
|
+
onZoomLevelChanged: (callback: () => void) => (() => void);
|
|
3240
3331
|
/**
|
|
3241
3332
|
* Subscribe to changes to the active scene rendered by the engine.
|
|
3242
3333
|
* @param callback - This function is called at the end of the engine update, if the active scene has changed.
|
|
3243
3334
|
* @returns A method to unsubscribe.
|
|
3244
3335
|
*/
|
|
3245
|
-
onActiveChanged(callback: () => void)
|
|
3246
|
-
/**
|
|
3247
|
-
* Converts all values of the current scene into the given design unit.
|
|
3248
|
-
* @param designUnit - The new design unit of the scene
|
|
3249
|
-
*/
|
|
3250
|
-
unstable_setDesignUnit(designUnit: DesignUnit): void;
|
|
3251
|
-
/**
|
|
3252
|
-
* Returns the design unit of the current scene.
|
|
3253
|
-
* @returns The current design unit.
|
|
3254
|
-
*/
|
|
3255
|
-
unstable_getDesignUnit(): DesignUnit;
|
|
3336
|
+
onActiveChanged: (callback: () => void) => (() => void);
|
|
3256
3337
|
}
|
|
3257
3338
|
|
|
3258
3339
|
/**
|
|
@@ -3267,20 +3348,24 @@ export declare type SceneLayout = 'Free' | 'VerticalStack' | 'HorizontalStack' |
|
|
|
3267
3348
|
*/
|
|
3268
3349
|
export declare type SceneMode = 'Design' | 'Video';
|
|
3269
3350
|
|
|
3270
|
-
/**
|
|
3271
|
-
|
|
3272
|
-
* @public
|
|
3273
|
-
*/
|
|
3274
|
-
export declare class SelectionChannel implements ReadWriteChannelSync<number[]> {
|
|
3275
|
-
#private;
|
|
3276
|
-
subscribe: Source<number[]>;
|
|
3277
|
-
update: (selectedDesignElements: number[]) => void;
|
|
3278
|
-
value: () => number[];
|
|
3279
|
-
blocks: ChannelSync<Block[]>;
|
|
3351
|
+
/** @public */
|
|
3352
|
+
export declare type SettingsBool = 'doubleClickToCropEnabled' | 'features/aiImageMattingEnabled' | 'features/aiImageMattingStagingEnabled' | 'features/aiInpaintingEnabled' | 'features/aiSmartCropEnabled' | 'features/aiSuperResolutionEnabled' | 'features/effectsEnabled' | 'features/hspSelectiveAdjustmentsEnabled' | 'features/layerListEnabled' | 'features/singlePageModeEnabled' | 'features/templatingEnabled' | 'page/dimOutOfPageAreas' | 'page/title/show' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'trackActivePage' | ArbitraryString;
|
|
3280
3353
|
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3354
|
+
/** @public */
|
|
3355
|
+
export declare type SettingsColorRGBA = 'clearColor' | 'errorStateColor' | 'highlightColor' | 'page/title/color' | 'placeholderHighlightColor' | 'progressColor' | ArbitraryString;
|
|
3356
|
+
|
|
3357
|
+
/** @public */
|
|
3358
|
+
export declare type SettingsEnum = {
|
|
3359
|
+
role: RoleString;
|
|
3360
|
+
doubleClickSelectionMode: 'Direct' | 'Hierarchical';
|
|
3361
|
+
[key: ArbitraryString]: string;
|
|
3362
|
+
};
|
|
3363
|
+
|
|
3364
|
+
/** @public */
|
|
3365
|
+
export declare type SettingsFloat = 'positionSnappingThreshold';
|
|
3366
|
+
|
|
3367
|
+
/** @public */
|
|
3368
|
+
export declare type SettingsString = 'ai/apiStagingUrl' | 'ai/apiUrl' | 'ai/backendUrl' | 'basePath' | 'license' | 'page/title/fontFileUri' | ArbitraryString;
|
|
3284
3369
|
|
|
3285
3370
|
/** @public */
|
|
3286
3371
|
export declare interface Size2 {
|
|
@@ -3311,8 +3396,6 @@ declare type Source<T> = (handler: Handler<T>) => UnsubscribeFn;
|
|
|
3311
3396
|
/** @public */
|
|
3312
3397
|
export declare interface SpotColor {
|
|
3313
3398
|
name: string;
|
|
3314
|
-
rgbApproximation: RGBAColor;
|
|
3315
|
-
cmykApproximation: CMYKColor;
|
|
3316
3399
|
}
|
|
3317
3400
|
|
|
3318
3401
|
declare interface SpotColorLookup {
|
|
@@ -3433,6 +3516,59 @@ export declare interface Vec4 {
|
|
|
3433
3516
|
w: number;
|
|
3434
3517
|
}
|
|
3435
3518
|
|
|
3519
|
+
/** @public */
|
|
3520
|
+
export declare type VerticalTextAlignment = 'Top' | 'Bottom' | 'Center';
|
|
3521
|
+
|
|
3522
|
+
/**
|
|
3523
|
+
* @public
|
|
3524
|
+
*/
|
|
3525
|
+
export declare type VideoExportOptions = {
|
|
3526
|
+
/**
|
|
3527
|
+
* Determines the encoder feature set and in turn the quality, size and speed of the encoding process.
|
|
3528
|
+
*
|
|
3529
|
+
* @defaultValue 77 (Main)
|
|
3530
|
+
*/
|
|
3531
|
+
h264Profile?: number;
|
|
3532
|
+
/**
|
|
3533
|
+
* Controls the H.264 encoding level. This relates to parameters used by the encoder such as bit rate,
|
|
3534
|
+
* timings and motion vectors. Defined by the spec are levels 1.0 up to 6.2. To arrive at an integer value,
|
|
3535
|
+
* the level is multiplied by ten. E.g. to get level 5.2, pass a value of 52.
|
|
3536
|
+
*
|
|
3537
|
+
* @defaultValue 52
|
|
3538
|
+
*/
|
|
3539
|
+
h264Level?: number;
|
|
3540
|
+
/**
|
|
3541
|
+
* The time offset in seconds of the scene's timeline from which the video will start.
|
|
3542
|
+
*
|
|
3543
|
+
* @defaultValue 0
|
|
3544
|
+
*/
|
|
3545
|
+
timeOffset?: number;
|
|
3546
|
+
/**
|
|
3547
|
+
* The duration in seconds of the final video.
|
|
3548
|
+
*
|
|
3549
|
+
* @defaultValue The duration of the scene.
|
|
3550
|
+
*/
|
|
3551
|
+
duration?: number;
|
|
3552
|
+
/**
|
|
3553
|
+
* The target framerate of the exported video in Hz.
|
|
3554
|
+
*
|
|
3555
|
+
* @defaultValue 30
|
|
3556
|
+
*/
|
|
3557
|
+
framerate?: number;
|
|
3558
|
+
/**
|
|
3559
|
+
* An optional target width used in conjunction with target height.
|
|
3560
|
+
* If used, the block will be rendered large enough, that it fills the target
|
|
3561
|
+
* size entirely while maintaining its aspect ratio.
|
|
3562
|
+
*/
|
|
3563
|
+
targetWidth?: number;
|
|
3564
|
+
/**
|
|
3565
|
+
* An optional target height used in conjunction with target width.
|
|
3566
|
+
* If used, the block will be rendered large enough, that it fills the target
|
|
3567
|
+
* size entirely while maintaining its aspect ratio.
|
|
3568
|
+
*/
|
|
3569
|
+
targetHeight?: number;
|
|
3570
|
+
};
|
|
3571
|
+
|
|
3436
3572
|
/**
|
|
3437
3573
|
* Describes a rectangle on the screen
|
|
3438
3574
|
* - `x` and `y` indicate the position
|