import { Components , JSX } from '@bulmil/core' ; interface BmCardContentProps { } interface BmCardContentEvents { } interface BmCardContentSlots { default : any ; } import { SvelteComponent , binding_callbacks , create_slot , detach , element , get_all_dirty_from_scope , get_slot_changes , init , insert , safe_not_equal , transition_in , transition_out , update_slot_base } from "svelte/internal" ; import { createEventDispatcher , onMount } from 'svelte' ; function create_fragment ( ctx ) { let bm_card_content ; let current ; const default_slot_template = ctx [ 3 ] . default ; const default_slot = create_slot ( default_slot_template , ctx , ctx [ 2 ] , null ) ; return { c ( ) { bm_card_content = element ( "bm-card-content" ) ; if ( default_slot ) default_slot . c ( ) ; } , m ( target , anchor ) { insert ( target , bm_card_content , anchor ) ; if ( default_slot ) { default_slot . m ( bm_card_content , null ) ; } ctx [ 4 ] ( bm_card_content ) ; current = true ; } , p ( ctx , [ dirty ] ) { if ( default_slot ) { if ( default_slot . p && ( ! current || dirty & 4 ) ) { update_slot_base ( default_slot , default_slot_template , ctx , ctx [ 2 ] , ! current ? get_all_dirty_from_scope ( ctx [ 2 ] ) : get_slot_changes ( default_slot_template , ctx [ 2 ] , dirty , null ) , null ) ; } } } , i ( local ) { if ( current ) return ; transition_in ( default_slot , local ) ; current = true ; } , o ( local ) { transition_out ( default_slot , local ) ; current = false ; } , d ( detaching ) { if ( detaching ) detach ( bm_card_content ) ; if ( default_slot ) default_slot . d ( detaching ) ; ctx [ 4 ] ( null ) ; } } ; } function instance ( $$self , $$props , $$invalidate ) { let { $$slots : slots = { } , $$scope } = $$props ; let __ref ; let __mounted = false ; const dispatch = createEventDispatcher ( ) ; const getWebComponent = ( ) => __ref ; onMount ( ( ) => { __mounted = true ; } ) ; const setProp = ( prop , value ) => { if ( __ref ) $$invalidate ( 0 , __ref [ prop ] = value , __ref ) ; } ; const onEvent = e => { e . stopPropagation ( ) ; dispatch ( e . type , e . detail ) ; } ; function bm_card_content_binding ( $$value ) { binding_callbacks [ $$value ? 'unshift' : 'push' ] ( ( ) => { __ref = $$value ; $$invalidate ( 0 , __ref ) ; } ) ; } $$self . $$set = $$props => { if ( '$$scope' in $$props ) $$invalidate ( 2 , $$scope = $$props . $$scope ) ; } ; return [ __ref , getWebComponent , $$scope , slots , bm_card_content_binding ] ; } class BmCardContent extends SvelteComponent { $$prop_def : BmCardContentProps ; $$events_def : BmCardContentEvents ; $$slot_def : BmCardContentSlots ; $on < K extends keyof BmCardContentEvents > ( type , callback ) { return super . $on ( type , callback ) ; } $set ( $$props ) { super . $set ( $$props ) ; } constructor ( options ) { super ( ) ; init ( this , options , instance , create_fragment , safe_not_equal , { getWebComponent : 1 } ) ; } get getWebComponent ( ) : HTMLBmCardContentElement | undefined { return this . $$ . ctx [ 1 ] ; } } export default BmCardContent ;