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 font-size 16px
</style> </style>
<script> <script lang="typescript">
this.mixin('api'); this.mixin('api');
this.session = this.opts.session; this.session = this.opts.session;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -8,7 +8,7 @@
grid-gap 4px grid-gap 4px
height 256px height 256px
</style> </style>
<script> <script lang="typescript">
this.images = this.opts.images; this.images = this.opts.images;
this.on('mount', () => { this.on('mount', () => {
@ -78,7 +78,7 @@
background-size cover background-size cover
</style> </style>
<script> <script lang="typescript">
this.image = this.opts.image; this.image = this.opts.image;
this.styles = { this.styles = {
'background-color': this.image.properties.average_color ? `rgb(${this.image.properties.average_color.join(',')})` : 'transparent', 'background-color': this.image.properties.average_color ? `rgb(${this.image.properties.average_color.join(',')})` : 'transparent',
@ -145,7 +145,7 @@
cursor zoom-out cursor zoom-out
</style> </style>
<script> <script lang="typescript">
import anime from 'animejs'; import anime from 'animejs';
this.image = this.opts.image; this.image = this.opts.image;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -126,7 +126,7 @@
border-color #dcdcdc border-color #dcdcdc
</style> </style>
<script> <script lang="typescript">
const q = (new URL(location)).searchParams; const q = (new URL(location)).searchParams;
this.multiple = q.get('multiple') == 'true' ? true : false; this.multiple = q.get('multiple') == 'true' ? true : false;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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