This commit is contained in:
こぴなたみぽ
2018-02-07 18:47:29 +09:00
parent 853b846c40
commit d8d4c4d228
168 changed files with 237 additions and 237 deletions

View File

@@ -55,7 +55,7 @@
-webkit-overflow-scrolling touch
</style>
<script>
<script lang="typescript">
this.cancel = () => {
this.trigger('canceled');
this.$destroy();

View File

@@ -59,7 +59,7 @@
-webkit-overflow-scrolling touch
</style>
<script>
<script lang="typescript">
this.files = [];
this.on('mount', () => {

View File

@@ -172,7 +172,7 @@
display none
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');

View File

@@ -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';

View File

@@ -126,7 +126,7 @@
color #fff !important
</style>
<script>
<script lang="typescript">
import bytesToSize from '../../../common/scripts/bytes-to-size';
this.bytesToSize = bytesToSize;

View File

@@ -40,7 +40,7 @@
height 100%
</style>
<script>
<script lang="typescript">
this.browser = this.parent;
this.folder = this.opts.folder;

View File

@@ -51,7 +51,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
import isPromise from '../../common/scripts/is-promise';
this.mixin('i');

View File

@@ -9,7 +9,7 @@
margin-bottom 8px
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');

View File

@@ -13,7 +13,7 @@
padding 16px
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
this.$refs.tl.on('loaded', () => {
this.trigger('loaded');

View File

@@ -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',

View File

@@ -82,7 +82,7 @@
padding 10px
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.users = null;

View File

@@ -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;

View File

@@ -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;

View File

@@ -77,7 +77,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
import getPostSummary from '../../../../common/get-post-summary.ts';
this.getPostSummary = getPostSummary;

View File

@@ -15,7 +15,7 @@
background-color rgba(#000, 0.5)
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.on('mount', () => {

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -42,7 +42,7 @@
color rgba(#000, 0.5)
</style>
<script>
<script lang="typescript">
this.mode = 'signin';
this.signup = () => {

View File

@@ -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';

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
this.mixin('api');

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
this.mixin('page');

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -44,7 +44,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -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;

View File

@@ -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;

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../../scripts/ui-event';
this.on('mount', () => {

View File

@@ -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');

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../../scripts/ui-event';
this.on('mount', () => {

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../../scripts/ui-event';
this.on('mount', () => {

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -6,7 +6,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';

View File

@@ -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>

View File

@@ -144,7 +144,7 @@
box-shadow none
</style>
<script>
<script lang="typescript">
import Sortable from 'sortablejs';
import getKao from '../../common/scripts/get-kao';

View File

@@ -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>

View File

@@ -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');

View File

@@ -4,7 +4,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
this.query = this.opts.query;
this.on('mount', () => {

View File

@@ -27,7 +27,7 @@
font-size 80%
</style>
<script>
<script lang="typescript">
import compile from '../../common/scripts/text-compiler';
this.post = this.opts.post;

View File

@@ -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>

View File

@@ -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');

View File

@@ -49,7 +49,7 @@
margin 8px 0 16px 0
</style>
<script>
<script lang="typescript">
this.user = this.opts.user;
</script>
</mk-user-card>

View File

@@ -5,7 +5,7 @@
display block
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.user = this.opts.user;

View File

@@ -5,7 +5,7 @@
display block
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.user = this.opts.user;

View File

@@ -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>

View File

@@ -6,7 +6,7 @@
max-width 600px
margin 0 auto
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.user = this.opts.user;

View File

@@ -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;

View File

@@ -77,7 +77,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.limit = 30;