|
|
@ -8,7 +8,7 @@ import { transition_in } from './transitions';
|
|
|
|
* INTERNAL, DO NOT USE. Code may change at any time.
|
|
|
|
* INTERNAL, DO NOT USE. Code may change at any time.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface Fragment {
|
|
|
|
export interface Fragment {
|
|
|
|
key: string|null;
|
|
|
|
key: string | null;
|
|
|
|
first: null;
|
|
|
|
first: null;
|
|
|
|
/* create */ c: () => void;
|
|
|
|
/* create */ c: () => void;
|
|
|
|
/* claim */ l: (nodes: any) => void;
|
|
|
|
/* claim */ l: (nodes: any) => void;
|
|
|
@ -20,17 +20,17 @@ export interface Fragment {
|
|
|
|
/* animate */ a: () => void;
|
|
|
|
/* animate */ a: () => void;
|
|
|
|
/* intro */ i: (local: any) => void;
|
|
|
|
/* intro */ i: (local: any) => void;
|
|
|
|
/* outro */ o: (local: any) => void;
|
|
|
|
/* outro */ o: (local: any) => void;
|
|
|
|
/* destroy */ d: (detaching: 0|1) => void;
|
|
|
|
/* destroy */ d: (detaching: 0 | 1) => void;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
interface T$$ {
|
|
|
|
interface T$$ {
|
|
|
|
dirty: number[];
|
|
|
|
dirty: number[];
|
|
|
|
ctx: null|any;
|
|
|
|
ctx: null | any;
|
|
|
|
bound: any;
|
|
|
|
bound: any;
|
|
|
|
update: () => void;
|
|
|
|
update: () => void;
|
|
|
|
callbacks: any;
|
|
|
|
callbacks: any;
|
|
|
|
after_update: any[];
|
|
|
|
after_update: any[];
|
|
|
|
props: Record<string, 0 | string>;
|
|
|
|
props: Record<string, 0 | string>;
|
|
|
|
fragment: null|false|Fragment;
|
|
|
|
fragment: null | false | Fragment;
|
|
|
|
not_equal: any;
|
|
|
|
not_equal: any;
|
|
|
|
before_update: any[];
|
|
|
|
before_update: any[];
|
|
|
|
context: Map<any, any>;
|
|
|
|
context: Map<any, any>;
|
|
|
@ -38,7 +38,7 @@ interface T$$ {
|
|
|
|
on_destroy: any[];
|
|
|
|
on_destroy: any[];
|
|
|
|
skip_bound: boolean;
|
|
|
|
skip_bound: boolean;
|
|
|
|
on_disconnect: any[];
|
|
|
|
on_disconnect: any[];
|
|
|
|
root:Element|ShadowRoot
|
|
|
|
root:Element | ShadowRoot
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export function bind(component, name, callback) {
|
|
|
|
export function bind(component, name, callback) {
|
|
|
|