merge 3rdparty assets

This commit is contained in:
pypy
2020-06-26 20:02:15 +09:00
parent cca42974fe
commit 86ecc9c59a
6 changed files with 39 additions and 15 deletions

View File

@@ -4,6 +4,13 @@
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
import Noty from 'noty';
import Vue from 'vue';
import VueLazyload from 'vue-lazyload';
import { DataTables } from 'vue-data-tables';
import ElementUI from 'element-ui';
import locale from 'element-ui/lib/locale/lang/en';
CefSharp.BindObjectAsync(
'VRCX',
'VRCXStorage',
@@ -95,6 +102,10 @@ CefSharp.BindObjectAsync(
timeout: 6000
});
Vue.use(ElementUI, {
locale
});
var removeFromArray = function (array, item) {
var { length } = array;
for (var i = 0; i < length; ++i) {
@@ -187,9 +198,7 @@ CefSharp.BindObjectAsync(
}
});
Vue.use(DataTables.DataTables);
ELEMENT.locale(ELEMENT.lang.en);
Vue.use(DataTables);
var uuidv4 = () => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
var v = Math.random() * 16 | 0;

View File

@@ -1,4 +1,5 @@
@charset "utf-8";
/*
Copyright(c) 2019-2020 pypy and individual contributors.
All rights reserved.
@@ -7,6 +8,12 @@ This work is licensed under the terms of the MIT license.
For a copy, see <https://opensource.org/licenses/MIT>.
*/
@import '~normalize.css/normalize.css';
@import '~animate.css/animate.min.css';
@import '~noty/lib/noty.css';
@import '~element-ui/lib/theme-chalk/index.css';
@import '~famfamfam-flags/dist/sprite/famfamfam-flags.min.css';
.color-palettes {
background: #409EFF;
background: #67C23A;

View File

@@ -9,11 +9,6 @@ html
link(rel="dns-prefetch" href="https://fonts.gstatic.com")
link(rel="preconnect" href="https://api.vrchat.cloud")
link(rel="preconnect" href="https://d348imysud55la.cloudfront.net")
link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css")
link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.0/animate.min.css")
link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/noty/3.2.0-beta/noty.min.css")
link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.13.1/theme-chalk/index.css")
link(rel="stylesheet" href="https://cdn.jsdelivr.net/npm/famfamfam-flags/dist/sprite/famfamfam-flags.min.css")
link(rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP|Noto+Sans+KR&display=swap")
link(rel="stylesheet" href="app.css")
body
@@ -1318,10 +1313,4 @@ html
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
script(src="https://cdnjs.cloudflare.com/ajax/libs/noty/3.2.0-beta/noty.min.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.11/vue.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/vue-lazyload/1.3.3/vue-lazyload.js")
script(src="https://unpkg.com/vue-data-tables@3.4.5/dist/data-tables.min.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.13.1/index.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.13.1/locale/en.min.js")
script(src="app.js")
script(src="app.js")

View File

@@ -4,6 +4,11 @@
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
import Noty from 'noty';
import Vue from 'vue';
import ElementUI from 'element-ui';
import locale from 'element-ui/lib/locale/lang/en';
CefSharp.BindObjectAsync(
'VRCX',
'VRCXStorage',
@@ -77,6 +82,10 @@ CefSharp.BindObjectAsync(
timeout: 6000
});
Vue.use(ElementUI, {
locale
});
var escapeTag = (s) => String(s).replace(/["&'<>]/gu, (c) => `&#${c.charCodeAt(0)};`);
Vue.filter('escapeTag', escapeTag);

View File

@@ -6,6 +6,11 @@ This work is licensed under the terms of the MIT license.
For a copy, see <https://opensource.org/licenses/MIT>.
*/
@import '~normalize.css/normalize.css';
@import '~animate.css/animate.min.css';
@import '~noty/lib/noty.css';
@import '~element-ui/lib/theme-chalk/index.css';
/*
마지노선인듯
화면 24px -> 나나 32