1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-15 07:08:56 +09:00
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

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