Gotta have a place for non-specific components
This commit is contained in:
parent
4b2eab3e51
commit
0870be56a4
@ -1,9 +1,9 @@
|
||||
import { defineElement as el } from '../utils/domvm.js';
|
||||
import { prop, computed, bundle } from 'frptools';
|
||||
|
||||
import { ImageType } from '../data/image.js';
|
||||
import { FileType } from '../data/file.js';
|
||||
import { pouchDocHash } from '../utils/conversion.js';
|
||||
import { defineElement as el } from '../../utils/domvm.js';
|
||||
import { ImageType } from '../../data/image.js';
|
||||
import { FileType } from '../../data/file.js';
|
||||
import { pouchDocHash } from '../../utils/conversion.js';
|
||||
|
||||
export function AttachmentImageView(vm, image) {
|
||||
const model = prop(image, pouchDocHash);
|
||||
@ -1,6 +1,7 @@
|
||||
import { prop, computed } from 'frptools';
|
||||
import { injectStyle } from '../services/style';
|
||||
import { defineElement as el } from '../utils/domvm.js';
|
||||
|
||||
import { injectStyle } from '../../services/style';
|
||||
import { defineElement as el } from '../../utils/domvm.js';
|
||||
|
||||
const CSS_DROPZONE = {
|
||||
width: '200px',
|
||||
@ -5,7 +5,7 @@ import { ImageType } from '../data/image.js';
|
||||
import { AlbumType } from '../data/album.js';
|
||||
import { ThumbnailTemplate } from './thumbnail.js';
|
||||
import { AlbumView } from './album.js';
|
||||
import { Dropzone } from './dropzone.js';
|
||||
import { Dropzone } from './components/dropzone.js';
|
||||
import { router, routeChanged } from '../services/router.js';
|
||||
import { injectStyle, styled } from '../services/style.js';
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { defineView as vw, defineElement as el } from '../utils/domvm.js';
|
||||
import { AttachmentImageView } from './attachmentImage.js';
|
||||
import { AttachmentImageView } from './components/attachmentImage.js';
|
||||
|
||||
export function ThumbnailTemplate(doc, remove, key) {
|
||||
return el('div', [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user