2018-07-04 16:23:33 +00:00
|
|
|
export default function(visitable, deletable, creatable, clickable, attribute, collection) {
|
|
|
|
return creatable({
|
2018-07-09 14:51:01 +00:00
|
|
|
visit: visitable(['/:dc/kv/:kv', '/:dc/kv'], str => str),
|
2018-07-04 14:06:20 +00:00
|
|
|
kvs: collection(
|
|
|
|
'[data-test-tabular-row]',
|
|
|
|
deletable({
|
|
|
|
name: attribute('data-test-kv', '[data-test-kv]'),
|
|
|
|
kv: clickable('a'),
|
|
|
|
actions: clickable('label'),
|
|
|
|
})
|
|
|
|
),
|
2018-07-04 16:23:33 +00:00
|
|
|
});
|
2018-07-04 14:06:20 +00:00
|
|
|
}
|