@-0/browser
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -1,2 +0,2 @@ | ||
export declare const flip_first: { | ||
export declare const cmd_flip_first: { | ||
sub$: string; | ||
@@ -12,3 +12,3 @@ args: ({ id, target }: { | ||
}; | ||
export declare const flip_last_inverse_play: { | ||
export declare const cmd_flip_last_inverse_play: { | ||
sub$: string; | ||
@@ -15,0 +15,0 @@ args: ({ id, element }: { |
@@ -101,3 +101,3 @@ import { Atom } from "@thi.ng/atom"; | ||
const state = new Atom({}); | ||
export const flip_first = { | ||
export const cmd_flip_first = { | ||
[CMD_SUB$]: "_FLIP_FIRST", | ||
@@ -113,3 +113,3 @@ [CMD_ARGS]: ({ id, target }) => ({ id, target }), | ||
}; | ||
export const flip_last_inverse_play = { | ||
export const cmd_flip_last_inverse_play = { | ||
[CMD_SUB$]: "_FLIP_LAST_INVERSE_PLAY", | ||
@@ -116,0 +116,0 @@ [CMD_ARGS]: ({ id, element }) => ({ id, element }), |
@@ -1,4 +0,4 @@ | ||
export { flip_first, flip_last_inverse_play } from "./FLIP"; | ||
export { cmd_flip_first, cmd_flip_last_inverse_play } from "./FLIP"; | ||
export { cmd_inject_head } from "./head"; | ||
export { SET_STATE, createSetStateCMD } from "./setstate"; | ||
export { cmd_href_pushstate_dom, cmd_nav, navEventHandler, cmd_notify_prerender_dom, cmd_set_link_attrs_dom } from "./routing"; |
@@ -1,4 +0,4 @@ | ||
export { flip_first, flip_last_inverse_play } from "./FLIP"; | ||
export { cmd_flip_first, cmd_flip_last_inverse_play } from "./FLIP"; | ||
export { cmd_inject_head } from "./head"; | ||
export { SET_STATE, createSetStateCMD } from "./setstate"; | ||
export { cmd_href_pushstate_dom, cmd_nav, navEventHandler, cmd_notify_prerender_dom, cmd_set_link_attrs_dom } from "./routing"; |
@@ -1,2 +0,2 @@ | ||
export { flip_first, flip_last_inverse_play, cmd_inject_head, cmd_nav, navEventHandler } from "./commands"; | ||
export { cmd_flip_first, cmd_flip_last_inverse_play, cmd_inject_head, cmd_nav, navEventHandler } from "./commands"; | ||
export { DOMnavigated$ } from "./core"; | ||
@@ -3,0 +3,0 @@ export { registerRouterDOM } from "./registers"; |
@@ -1,2 +0,2 @@ | ||
export { flip_first, flip_last_inverse_play, cmd_inject_head, cmd_nav, navEventHandler } from "./commands"; | ||
export { cmd_flip_first, cmd_flip_last_inverse_play, cmd_inject_head, cmd_nav, navEventHandler } from "./commands"; | ||
export { DOMnavigated$ } from "./core"; | ||
@@ -3,0 +3,0 @@ export { registerRouterDOM } from "./registers"; |
@@ -1,1 +0,1 @@ | ||
export { URL__ROUTE, URL_DOM__ROUTE } from "./routing"; | ||
export { URL__ROUTE, URL_DOM__ROUTE, NOTIFY_PRERENDER_DOM, SET_LINK_ATTRS_DOM } from "./routing"; |
@@ -1,1 +0,1 @@ | ||
export { URL__ROUTE, URL_DOM__ROUTE } from "./routing"; | ||
export { URL__ROUTE, URL_DOM__ROUTE, NOTIFY_PRERENDER_DOM, SET_LINK_ATTRS_DOM } from "./routing"; |
import { RouterCFG, Router } from "@-0/keys"; | ||
export declare const URL__ROUTE: (CFG: Router | RouterCFG) => any; | ||
export declare const NOTIFY_PRERENDER_DOM: { | ||
sub$: string; | ||
args: any; | ||
reso: (acc: {}, res: {}) => any; | ||
erro: (acc: {}, err: Error, out$: import("@thi.ng/rstream").ISubscribable<any>) => any; | ||
} | { | ||
sub$: string; | ||
args: any; | ||
reso?: undefined; | ||
erro?: undefined; | ||
}; | ||
export declare const SET_LINK_ATTRS_DOM: { | ||
sub$: string; | ||
args: any; | ||
reso: (acc: {}, res: {}) => any; | ||
erro: (acc: {}, err: Error, out$: import("@thi.ng/rstream").ISubscribable<any>) => any; | ||
} | { | ||
sub$: string; | ||
args: any; | ||
reso?: undefined; | ||
erro?: undefined; | ||
}; | ||
export declare const URL_DOM__ROUTE: (CFG: any) => (ACC: any) => ({ | ||
sub$: any; | ||
sub$: string; | ||
args: any; | ||
reso: any; | ||
erro: any; | ||
reso: (acc: {}, res: {}) => any; | ||
erro: (acc: {}, err: Error, out$: import("@thi.ng/rstream").ISubscribable<any>) => any; | ||
} | { | ||
sub$: any; | ||
sub$: string; | ||
args: any; | ||
@@ -15,4 +37,4 @@ reso?: undefined; | ||
args: { | ||
STATE_PATH: string[]; | ||
STATE_DATA: boolean; | ||
STE_PATH: string[]; | ||
STE_DATA: boolean; | ||
}; | ||
@@ -31,4 +53,4 @@ apply(this: Function, thisArg: any, argArray?: any): any; | ||
args: { | ||
STATE_PATH: string[]; | ||
STATE_DATA: boolean; | ||
STE_PATH: string[]; | ||
STE_DATA: boolean; | ||
}; | ||
@@ -42,4 +64,4 @@ sub$?: string; | ||
args: (acc: any) => { | ||
STATE_PATH: any; | ||
STATE_DATA: any; | ||
STE_PATH: any; | ||
STE_DATA: any; | ||
}; | ||
@@ -58,4 +80,4 @@ apply(this: Function, thisArg: any, argArray?: any): any; | ||
args: (acc: any) => { | ||
STATE_PATH: any; | ||
STATE_DATA: any; | ||
STE_PATH: any; | ||
STE_DATA: any; | ||
}; | ||
@@ -62,0 +84,0 @@ sub$?: string; |
@@ -50,4 +50,4 @@ import { isPlainObject } from "@thi.ng/checks"; | ||
const SET_ROUTE_LOADING_FALSE = Object.assign(Object.assign({}, SET_STATE), { [CMD_ARGS]: { [STATE_PATH]: [$$_LOAD], [STATE_DATA]: false } }); | ||
const NOTIFY_PRERENDER_DOM = registerCMD(cmd_notify_prerender_dom); | ||
const SET_LINK_ATTRS_DOM = registerCMD(cmd_set_link_attrs_dom); | ||
export const NOTIFY_PRERENDER_DOM = registerCMD(cmd_notify_prerender_dom); | ||
export const SET_LINK_ATTRS_DOM = registerCMD(cmd_set_link_attrs_dom); | ||
export const URL_DOM__ROUTE = CFG => { | ||
@@ -54,0 +54,0 @@ const match = URL__ROUTE(CFG); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "Browser helpers for -0 state management, routing and the interaction between", | ||
@@ -35,5 +35,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@-0/keys": "^0.3.9", | ||
"@-0/utils": "^0.3.9", | ||
"@-0/spool": "^0.3.7", | ||
"@-0/keys": "^0.3.10", | ||
"@-0/utils": "^0.3.10", | ||
"@-0/spool": "^0.3.8", | ||
"@thi.ng/paths": "^4.2.9", | ||
@@ -40,0 +40,0 @@ "@thi.ng/rstream": "^6.0.10" |
49077
629
Updated@-0/keys@^0.3.10
Updated@-0/spool@^0.3.8
Updated@-0/utils@^0.3.10