wip
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
-webkit-overflow-scrolling touch
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.cancel = () => {
|
||||
this.trigger('canceled');
|
||||
this.$destroy();
|
||||
|
@@ -59,7 +59,7 @@
|
||||
-webkit-overflow-scrolling touch
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.files = [];
|
||||
|
||||
this.on('mount', () => {
|
||||
|
@@ -172,7 +172,7 @@
|
||||
display none
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
this.mixin('api');
|
||||
|
||||
|
@@ -227,7 +227,7 @@
|
||||
background #f5f5f5
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import EXIF from 'exif-js';
|
||||
import hljs from 'highlight.js';
|
||||
import bytesToSize from '../../../common/scripts/bytes-to-size';
|
||||
|
@@ -126,7 +126,7 @@
|
||||
color #fff !important
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import bytesToSize from '../../../common/scripts/bytes-to-size';
|
||||
this.bytesToSize = bytesToSize;
|
||||
|
||||
|
@@ -40,7 +40,7 @@
|
||||
height 100%
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.browser = this.parent;
|
||||
this.folder = this.opts.folder;
|
||||
|
||||
|
@@ -51,7 +51,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import isPromise from '../../common/scripts/is-promise';
|
||||
|
||||
this.mixin('i');
|
||||
|
@@ -9,7 +9,7 @@
|
||||
margin-bottom 8px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
this.mixin('api');
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
padding 16px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.on('mount', () => {
|
||||
this.$refs.tl.on('loaded', () => {
|
||||
this.trigger('loaded');
|
||||
|
@@ -11,7 +11,7 @@
|
||||
@media (max-width 500px)
|
||||
height 192px
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.images = this.opts.images;
|
||||
|
||||
this.on('mount', () => {
|
||||
@@ -72,7 +72,7 @@
|
||||
background-size cover
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.image = this.opts.image;
|
||||
this.styles = {
|
||||
'background-color': this.image.properties.average_color ? `rgb(${this.image.properties.average_color.join(',')})` : 'transparent',
|
||||
|
@@ -82,7 +82,7 @@
|
||||
padding 10px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.users = null;
|
||||
|
@@ -102,7 +102,7 @@
|
||||
color #fff
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import getPostSummary from '../../../../common/get-post-summary.ts';
|
||||
this.getPostSummary = getPostSummary;
|
||||
this.notification = this.opts.notification;
|
||||
|
@@ -161,7 +161,7 @@
|
||||
color rgba(0, 0, 0, 0.7)
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import getPostSummary from '../../../../common/get-post-summary.ts';
|
||||
this.getPostSummary = getPostSummary;
|
||||
this.notification = this.opts.notification;
|
||||
|
@@ -77,7 +77,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import getPostSummary from '../../../../common/get-post-summary.ts';
|
||||
this.getPostSummary = getPostSummary;
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
background-color rgba(#000, 0.5)
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import anime from 'animejs';
|
||||
|
||||
this.on('mount', () => {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -42,7 +42,7 @@
|
||||
color rgba(#000, 0.5)
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mode = 'signin';
|
||||
|
||||
this.signup = () => {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
import getPostSummary from '../../../../../common/get-post-summary.ts';
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
|
||||
this.mixin('api');
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
|
||||
this.mixin('page');
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -44,7 +44,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -52,7 +52,7 @@
|
||||
top 42px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
const q = (new URL(location)).searchParams;
|
||||
this.multiple = q.get('multiple') == 'true' ? true : false;
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
|
||||
this.on('mount', () => {
|
||||
@@ -91,7 +91,7 @@
|
||||
line-height $height
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import signout from '../../../common/scripts/signout';
|
||||
this.signout = signout;
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../../scripts/ui-event';
|
||||
|
||||
this.on('mount', () => {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../../scripts/ui-event';
|
||||
|
||||
this.on('mount', () => {
|
||||
@@ -169,7 +169,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
this.mixin('api');
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../../scripts/ui-event';
|
||||
|
||||
this.on('mount', () => {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../../scripts/ui-event';
|
||||
|
||||
this.on('mount', () => {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../../scripts/ui-event';
|
||||
import Progress from '../../../common/scripts/loading';
|
||||
|
||||
|
@@ -252,7 +252,7 @@
|
||||
border-top 1px solid #eef0f2
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import compile from '../../common/scripts/text-compiler';
|
||||
import getPostSummary from '../../../../common/get-post-summary.ts';
|
||||
import openPostForm from '../scripts/open-post-form';
|
||||
@@ -444,5 +444,5 @@
|
||||
color #717171
|
||||
|
||||
</style>
|
||||
<script>this.post = this.opts.post</script>
|
||||
<script lang="typescript">this.post = this.opts.post</script>
|
||||
</mk-post-detail-sub>
|
||||
|
@@ -144,7 +144,7 @@
|
||||
box-shadow none
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import Sortable from 'sortablejs';
|
||||
import getKao from '../../common/scripts/get-kao';
|
||||
|
||||
|
@@ -90,5 +90,5 @@
|
||||
color #717171
|
||||
|
||||
</style>
|
||||
<script>this.post = this.opts.post</script>
|
||||
<script lang="typescript">this.post = this.opts.post</script>
|
||||
</mk-post-preview>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
margin 16px auto
|
||||
width calc(100% - 32px)
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import parse from '../../common/scripts/parse-search-query';
|
||||
|
||||
this.mixin('api');
|
||||
|
@@ -4,7 +4,7 @@
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.query = this.opts.query;
|
||||
|
||||
this.on('mount', () => {
|
||||
|
@@ -27,7 +27,7 @@
|
||||
font-size 80%
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import compile from '../../common/scripts/text-compiler';
|
||||
|
||||
this.post = this.opts.post;
|
||||
|
@@ -79,7 +79,7 @@
|
||||
opacity 0.7
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.posts = [];
|
||||
this.init = true;
|
||||
this.fetching = false;
|
||||
@@ -456,7 +456,7 @@
|
||||
display none
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import compile from '../../common/scripts/text-compiler';
|
||||
import getPostSummary from '../../../../common/get-post-summary.ts';
|
||||
import openPostForm from '../scripts/open-post-form';
|
||||
@@ -684,5 +684,5 @@
|
||||
font-size 80%
|
||||
|
||||
</style>
|
||||
<script>this.post = this.opts.post</script>
|
||||
<script lang="typescript">this.post = this.opts.post</script>
|
||||
</mk-timeline-post-sub>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
display block
|
||||
padding-top 48px
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
|
||||
this.mixin('stream');
|
||||
@@ -144,7 +144,7 @@
|
||||
border-left solid 1px rgba(#000, 0.1)
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import ui from '../scripts/ui-event';
|
||||
|
||||
this.mixin('api');
|
||||
@@ -350,7 +350,7 @@
|
||||
color #777
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
this.mixin('page');
|
||||
this.mixin('api');
|
||||
|
@@ -49,7 +49,7 @@
|
||||
margin 8px 0 16px 0
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.user = this.opts.user;
|
||||
</script>
|
||||
</mk-user-card>
|
||||
|
@@ -5,7 +5,7 @@
|
||||
display block
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
|
@@ -5,7 +5,7 @@
|
||||
display block
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
|
@@ -91,5 +91,5 @@
|
||||
color #717171
|
||||
|
||||
</style>
|
||||
<script>this.user = this.opts.user</script>
|
||||
<script lang="typescript">this.user = this.opts.user</script>
|
||||
</mk-user-preview>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
max-width 600px
|
||||
margin 0 auto
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
|
@@ -185,7 +185,7 @@
|
||||
padding 16px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.age = require('s-age');
|
||||
|
||||
this.mixin('i');
|
||||
@@ -299,7 +299,7 @@
|
||||
color #cad2da
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
|
||||
this.user = this.opts.user;
|
||||
@@ -341,7 +341,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
@@ -427,7 +427,7 @@
|
||||
color #aaa
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
import summary from '../../../../common/get-post-summary.ts';
|
||||
|
||||
this.post = this.opts.post;
|
||||
@@ -477,7 +477,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.images = [];
|
||||
@@ -534,7 +534,7 @@
|
||||
transform-origin center
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
@@ -586,7 +586,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.user = this.opts.user;
|
||||
</script>
|
||||
</mk-user-overview-keywords>
|
||||
@@ -620,7 +620,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.user = this.opts.user;
|
||||
</script>
|
||||
</mk-user-overview-domains>
|
||||
@@ -658,7 +658,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
@@ -713,7 +713,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('api');
|
||||
|
||||
this.user = this.opts.user;
|
||||
|
@@ -77,7 +77,7 @@
|
||||
margin-right 4px
|
||||
|
||||
</style>
|
||||
<script>
|
||||
<script lang="typescript">
|
||||
this.mixin('i');
|
||||
|
||||
this.limit = 30;
|
||||
|
Reference in New Issue
Block a user