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

View file

@ -105,7 +105,7 @@
font-size 16px
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.session = this.opts.session;

View file

@ -83,7 +83,7 @@
margin 0 auto
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');

View file

@ -53,7 +53,7 @@
max-width 500px
</style>
<script>
<script lang="typescript">
import Progress from '../../common/scripts/loading';
import ChannelStream from '../../common/scripts/streaming/channel-stream';
@ -228,7 +228,7 @@
vertical-align bottom
</style>
<script>
<script lang="typescript">
this.post = this.opts.post;
this.form = this.opts.form;
@ -282,7 +282,7 @@
display none
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.channel = this.opts.channel;
@ -375,7 +375,7 @@
<mk-twitter-button>
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-show-count="false">Tweet</a>
<script>
<script lang="typescript">
this.on('mount', () => {
const head = document.getElementsByTagName('head')[0];
const script = document.createElement('script');
@ -388,7 +388,7 @@
<mk-line-button>
<div class="line-it-button" data-lang="ja" data-type="share-a" data-url={ _CH_URL_ } style="display: none;"></div>
<script>
<script lang="typescript">
this.on('mount', () => {
const head = document.getElementsByTagName('head')[0];
const script = document.createElement('script');

View file

@ -14,7 +14,7 @@
margin-left auto
</style>
<script>
<script lang="typescript">
this.mixin('i');
</script>
</mk-header>

View file

@ -11,7 +11,7 @@
display block
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.on('mount', () => {

View file

@ -25,7 +25,7 @@
transform-origin center
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.user = this.opts.user;

View file

@ -18,7 +18,7 @@
border-bottom solid 1px #eee
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.apps = [];

View file

@ -75,7 +75,7 @@
height 150px
</style>
<script>
<script lang="typescript">
this.troubleshooting = false;
this.on('mount', () => {
@ -169,7 +169,7 @@
color #ad4339
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
this.update({
network: navigator.onLine

View file

@ -4,7 +4,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.kind = this.opts.type.split('/')[0];
</script>
</mk-file-type-icon>

View file

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

View file

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

View file

@ -205,7 +205,7 @@
opacity 0.5
</style>
<script>
<script lang="typescript">
import compile from '../../../common/scripts/text-compiler';
this.mixin('i');

View file

@ -161,7 +161,7 @@
//background rgba(0, 0, 0, 0.2)
</style>
<script>
<script lang="typescript">
import MessagingStreamConnection from '../../scripts/streaming/messaging-stream';
this.mixin('i');

View file

@ -4,7 +4,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.aboutUrl = `${_DOCS_URL_}/${_LANG_}/about`;
</script>
</mk-nav-links>

View file

@ -3,7 +3,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
let value = this.opts.value;
const max = this.opts.max;

View file

@ -85,7 +85,7 @@
color darken($theme-color, 30%)
</style>
<script>
<script lang="typescript">
this.choices = ['', ''];
this.oninput = (i, e) => {

View file

@ -67,7 +67,7 @@
background transparent
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.init = post => {

View file

@ -74,7 +74,7 @@
display block
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.mixin('i');

View file

@ -3,7 +3,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.root.innerHTML = this.opts.content;
this.on('updated', () => {

View file

@ -18,7 +18,7 @@
</div>
</template>
<script>
<script lang="typescript">
import anime from 'animejs';
import api from '../scripts/api';

View file

@ -14,7 +14,7 @@
</div>
</template>
<script>
<script lang="typescript">
export default {
props: ['post'],
computed: {

View file

@ -7,7 +7,7 @@
display block
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');
@ -97,7 +97,7 @@
</style>
<script>
<script lang="typescript">
import hljs from 'highlight.js';
this.rec = this.opts.rec;

View file

@ -100,7 +100,7 @@
opacity 0.7
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.user = null;

View file

@ -173,7 +173,7 @@
background darken($theme-color, 5%)
</style>
<script>
<script lang="typescript">
this.mixin('api');
const getPasswordStrength = require('syuilo-password-strength');

View file

@ -19,7 +19,7 @@
background #ff1036
</style>
<script>
<script lang="typescript">
const now = new Date();
this.d = now.getDate();
this.m = now.getMonth() + 1;

View file

@ -15,7 +15,7 @@
</div>
</template>
<script>
<script lang="typescript">
import anime from 'animejs';
import Ellipsis from './ellipsis.vue';

View file

@ -6,7 +6,7 @@
</time>
</template>
<script>
<script lang="typescript">
export default {
props: ['time', 'mode'],
data: {

View file

@ -24,7 +24,7 @@
.id
color #8899a6
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.form = null;

View file

@ -138,7 +138,7 @@
to {background-position: -64px 32px;}
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.uploads = [];

View file

@ -7,7 +7,7 @@
width 256px
height 256px
</style>
<script>
<script lang="typescript">
const Vec2 = function(x, y) {
this.x = x;
this.y = y;

View file

@ -79,7 +79,7 @@
color rgba(0, 0, 0, 0.3)
</style>
<script>
<script lang="typescript">
import contains from '../../common/scripts/contains';
this.mixin('api');

View file

@ -73,7 +73,7 @@
opacity 0.7
</style>
<script>
<script lang="typescript">
import isPromise from '../../common/scripts/is-promise';
this.mixin('i');

View file

@ -95,7 +95,7 @@
transition visibility 0s linear 0.2s
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
import contains from '../../common/scripts/contains';

View file

@ -159,7 +159,7 @@
width 150px
</style>
<script>
<script lang="typescript">
const Cropper = require('cropperjs');
this.image = this.opts.file;

View file

@ -34,7 +34,7 @@
margin 0 auto
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.mixin('api');

View file

@ -82,7 +82,7 @@
transition color 0s ease
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.canThrough = opts.canThrough != null ? opts.canThrough : true;

View file

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

View file

@ -12,7 +12,7 @@
</li>
</ul>
</mk-contextmenu>
<script>
<script lang="typescript">
this.browser = this.opts.browser;
this.on('mount', () => {

View file

@ -27,7 +27,7 @@
height 100%
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.folder = this.opts.folder ? this.opts.folder : null;

View file

@ -242,7 +242,7 @@
display none
</style>
<script>
<script lang="typescript">
import contains from '../../../common/scripts/contains';
import dialog from '../../scripts/dialog';
import inputDialog from '../../scripts/input-dialog';

View file

@ -34,7 +34,7 @@
</li>
</ul>
</mk-contextmenu>
<script>
<script lang="typescript">
import copyToClipboard from '../../../common/scripts/copy-to-clipboard';
import dialog from '../../scripts/dialog';
import inputDialog from '../../scripts/input-dialog';

View file

@ -140,7 +140,7 @@
opacity 0.5
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
import bytesToSize from '../../../common/scripts/bytes-to-size';

View file

@ -17,7 +17,7 @@
</li>
</ul>
</mk-contextmenu>
<script>
<script lang="typescript">
import inputDialog from '../../scripts/input-dialog';
this.mixin('api');

View file

@ -47,7 +47,7 @@
text-align left
</style>
<script>
<script lang="typescript">
import dialog from '../../scripts/dialog';
this.mixin('api');

View file

@ -6,7 +6,7 @@
background #eee
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.folder = this.opts.folder ? this.opts.folder : null;

View file

@ -70,7 +70,7 @@
opacity 0.7
</style>
<script>
<script lang="typescript">
import isPromise from '../../common/scripts/is-promise';
this.mixin('i');

View file

@ -120,7 +120,7 @@
padding 14px
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.mixin('user-preview');

View file

@ -47,7 +47,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
import seedrandom from 'seedrandom';
this.data = {

View file

@ -4,7 +4,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
this.data = {
view: 0,
design: 0

View file

@ -97,7 +97,7 @@
font-size 0.7em
</style>
<script>
<script lang="typescript">
this.data = {
design: 0
};

View file

@ -111,7 +111,7 @@
background #41ddde
</style>
<script>
<script lang="typescript">
this.data = {
design: 0
};

View file

@ -55,7 +55,7 @@
height 200px
</style>
<script>
<script lang="typescript">
this.data = {
channel: null,
compact: false
@ -137,7 +137,7 @@
bottom 0
</style>
<script>
<script lang="typescript">
import ChannelStream from '../../../common/scripts/streaming/channel-stream';
this.mixin('api');
@ -241,7 +241,7 @@
vertical-align bottom
</style>
<script>
<script lang="typescript">
this.post = this.opts.post;
this.form = this.opts.form;
@ -275,7 +275,7 @@
border-color #aeaeae
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.clear = () => {

View file

@ -29,7 +29,7 @@
color #999
</style>
<script>
<script lang="typescript">
this.mixin('widget');
this.mixin('user-preview');
</script>

View file

@ -52,7 +52,7 @@
color #ccc
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');

View file

@ -29,7 +29,7 @@
overflow auto
</style>
<script>
<script lang="typescript">
this.data = {
design: 0
};

View file

@ -17,7 +17,7 @@
color #ccc
</style>
<script>
<script lang="typescript">
this.mixin('widget');
</script>
</mk-nav-home-widget>

View file

@ -46,7 +46,7 @@
overflow auto
</style>
<script>
<script lang="typescript">
this.data = {
compact: false
};

View file

@ -69,7 +69,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.data = {
design: 0
};

View file

@ -62,7 +62,7 @@
transition background 0s ease
</style>
<script>
<script lang="typescript">
this.data = {
design: 0
};

View file

@ -87,7 +87,7 @@
color #999
</style>
<script>
<script lang="typescript">
import inputDialog from '../../scripts/input-dialog';
import updateAvatar from '../../scripts/update-avatar';
import updateBanner from '../../scripts/update-banner';

View file

@ -73,7 +73,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.data = {
compact: false
};

View file

@ -65,7 +65,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.data = {
compact: false
};

View file

@ -61,7 +61,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.mixin('os');
this.data = {
@ -186,7 +186,7 @@
display block
clear both
</style>
<script>
<script lang="typescript">
import uuid from 'uuid';
this.viewBoxX = 50;
@ -270,7 +270,7 @@
clear both
</style>
<script>
<script lang="typescript">
this.cores = this.opts.meta.cpu.cores;
this.model = this.opts.meta.cpu.model;
this.connection = this.opts.connection;
@ -328,7 +328,7 @@
clear both
</style>
<script>
<script lang="typescript">
import bytesToSize from '../../../common/scripts/bytes-to-size';
this.connection = this.opts.connection;
@ -394,7 +394,7 @@
clear both
</style>
<script>
<script lang="typescript">
import bytesToSize from '../../../common/scripts/bytes-to-size';
this.connection = this.opts.connection;
@ -440,7 +440,7 @@
font-weight bold
</style>
<script>
<script lang="typescript">
this.connection = this.opts.connection;
this.on('mount', () => {
@ -475,7 +475,7 @@
color #505050
</style>
<script>
<script lang="typescript">
this.meta = this.opts.meta;
</script>
</mk-server-home-widget-info>
@ -516,7 +516,7 @@
fill rgba(0, 0, 0, 0.6)
</style>
<script>
<script lang="typescript">
this.r = 0.4;
this.render = p => {

View file

@ -48,7 +48,7 @@
opacity 0
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.data = {

View file

@ -38,7 +38,7 @@
color #ccc
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');

View file

@ -4,7 +4,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
this.data = {
design: 0
};

View file

@ -26,7 +26,7 @@
border-radius 2px
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.mixin('widget');

View file

@ -75,7 +75,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.data = {
compact: false
};

View file

@ -114,7 +114,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.data = {
compact: false
};

View file

@ -14,7 +14,7 @@
color #aaa
</style>
<script>
<script lang="typescript">
this.mixin('widget');
</script>
</mk-version-home-widget>

View file

@ -180,7 +180,7 @@
margin 0 auto
</style>
<script>
<script lang="typescript">
import uuid from 'uuid';
import Sortable from 'sortablejs';
import dialog from '../scripts/dialog';

View file

@ -8,7 +8,7 @@
grid-gap 4px
height 256px
</style>
<script>
<script lang="typescript">
this.images = this.opts.images;
this.on('mount', () => {
@ -78,7 +78,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',
@ -145,7 +145,7 @@
cursor zoom-out
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.image = this.opts.image;

View file

@ -119,7 +119,7 @@
border-color #dcdcdc
</style>
<script>
<script lang="typescript">
this.done = false;
this.title = this.opts.title;

View file

@ -89,5 +89,5 @@
right 16px
</style>
<script>this.user = this.opts.user</script>
<script lang="typescript">this.user = this.opts.user</script>
</mk-list-user>

View file

@ -18,7 +18,7 @@
overflow auto
</style>
<script>
<script lang="typescript">
this.user = this.opts.user;
this.popout = `${_URL_}/i/messaging/${this.user.username}`;

View file

@ -18,7 +18,7 @@
overflow auto
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.$destroy();

View file

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

View file

@ -11,7 +11,7 @@
> mk-drive-browser
height 100%
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
document.title = 'Misskey Drive';

View file

@ -107,7 +107,7 @@
font-size 10px
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.mode = 'signin';
@ -278,7 +278,7 @@
color #666
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
this.$refs.signin.on('user', user => {
this.update({

View file

@ -4,7 +4,7 @@
:scope
display block
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
document.title = 'Misskey - ホームのカスタマイズ';
});

View file

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

View file

@ -7,7 +7,7 @@
background #fff
</style>
<script>
<script lang="typescript">
import Progress from '../../../common/scripts/loading';
this.mixin('api');

View file

@ -31,7 +31,7 @@
width 640px
</style>
<script>
<script lang="typescript">
import Progress from '../../../common/scripts/loading';
this.mixin('api');

View file

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

View file

@ -126,7 +126,7 @@
border-color #dcdcdc
</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 Progress from '../../../common/scripts/loading';
this.user = this.opts.user;

View file

@ -106,7 +106,7 @@
margin-top 8px
</style>
<script>
<script lang="typescript">
import compile from '../../common/scripts/text-compiler';
import dateStringify from '../../common/scripts/date-stringify';

View file

@ -236,7 +236,7 @@
border-top 1px solid #eef0f2
</style>
<script>
<script lang="typescript">
import compile from '../../common/scripts/text-compiler';
import dateStringify from '../../common/scripts/date-stringify';

View file

@ -37,7 +37,7 @@
margin 16px 22px
</style>
<script>
<script lang="typescript">
this.uploadingFiles = [];
this.files = [];

View file

@ -282,7 +282,7 @@
pointer-events none
</style>
<script>
<script lang="typescript">
import Sortable from 'sortablejs';
import getKao from '../../common/scripts/get-kao';
import notify from '../scripts/notify';

View file

@ -82,7 +82,7 @@
color #717171
</style>
<script>
<script lang="typescript">
import dateStringify from '../../common/scripts/date-stringify';
this.mixin('user-preview');

View file

@ -72,7 +72,7 @@
to {background-position: -64px 32px;}
</style>
<script>
<script lang="typescript">
this.title = this.opts.title;
this.value = parseInt(this.opts.value, 10);
this.max = parseInt(this.opts.max, 10);

View file

@ -15,7 +15,7 @@
margin-right 4px
</style>
<script>
<script lang="typescript">
this.onDocumentKeydown = e => {
if (e.target.tagName != 'INPUT' && e.target.tagName != 'TEXTAREA') {
if (e.which == 27) { // Esc

View file

@ -84,7 +84,7 @@
border-color $theme-color
</style>
<script>
<script lang="typescript">
import notify from '../scripts/notify';
this.mixin('api');

View file

@ -32,7 +32,7 @@
color #ccc
</style>
<script>
<script lang="typescript">
import parse from '../../common/scripts/parse-search-query';
this.mixin('api');

View file

@ -22,7 +22,7 @@
overflow hidden
</style>
<script>
<script lang="typescript">
this.query = this.opts.query;
this.on('mount', () => {

View file

@ -134,7 +134,7 @@
border-color #dcdcdc
</style>
<script>
<script lang="typescript">
this.files = [];
this.multiple = this.opts.multiple != null ? this.opts.multiple : false;

View file

@ -89,7 +89,7 @@
border-color #dcdcdc
</style>
<script>
<script lang="typescript">
this.files = [];
this.title = this.opts.title || '%fa:R folder%フォルダを選択';

View file

@ -30,7 +30,7 @@
color #fff
</style>
<script>
<script lang="typescript">
import updateAvatar from '../scripts/update-avatar';
this.mixin('i');

View file

@ -30,7 +30,7 @@
color #fff
</style>
<script>
<script lang="typescript">
import updateBanner from '../scripts/update-banner';
this.mixin('i');

Some files were not shown because too many files have changed in this diff Show more