Skip to content

Commit

Permalink
updated vuejs & dependencies to latest versions, fix issue darryldeco…
Browse files Browse the repository at this point in the history
…de#3 for deprecated attribute, more improvements & fixes
  • Loading branch information
darryldecode committed Dec 21, 2017
1 parent 34a4cef commit 54442b0
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 73 deletions.
102 changes: 58 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"axios": "^0.16.2",
"axios": "^0.17.1",
"bootstrap-sass": "^3.3.7",
"cross-env": "^5.0.1",
"jquery": "^3.1.1",
"laravel-mix": "^1.0",
"laravel-mix": "^1.7.0",
"lodash": "^4.17.4",
"vue": "^2.1.10"
"vue": "^2.5.13"
},
"dependencies": {
"dropzone": "^5.2.0",
"moment": "^2.18.1",
"vue-router": "^2.7.0",
"vue-router": "^3.0.1",
"vue-spinner": "^1.0.2",
"vuetify": "^0.16.4",
"vuetify": "^0.17.5",
"vuex": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/js/vendor.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions resources/assets/js/components/FileGroupLists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:items="items"
:total-items="totalItems"
class="elevation-1">
<template slot="headerCell" scope="props">
<template slot="headerCell" slot-scope="props">
<span v-if="props.header.value=='file_count'">
<v-icon>dns</v-icon> {{ props.header.text }}
</span>
Expand All @@ -35,7 +35,7 @@
</span>
<span v-else>{{ props.header.text }}</span>
</template>
<template slot="items" scope="props">
<template slot="items" slot-scope="props">
<td>
<v-btn @click="showDialog('file_group_edit',props.item)" icon small>
<v-icon dark class="blue--text">edit</v-icon>
Expand Down
8 changes: 4 additions & 4 deletions resources/assets/js/components/FileLists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
:items="items"
:total-items="totalItems"
class="elevation-1">
<template slot="headerCell" scope="props">
<template slot="headerCell" slot-scope="props">
<span v-if="props.header.value=='thumb'">
<v-icon>panorama</v-icon> {{ props.header.text }}
</span>
Expand All @@ -37,10 +37,10 @@
</span>
<span v-else>{{ props.header.text }}</span>
</template>
<template slot="items" scope="props">
<template slot="items" slot-scope="props">
<td class="wask_td_action">
<v-btn @click="showDialog('file_show',props.item)" icon small>
<v-icon dark class="red--text">search</v-icon>
<v-icon dark class="blue--text">search</v-icon>
</v-btn>
<v-btn @click="trash(props.item)" icon small>
<v-icon dark class="red--text">delete</v-icon>
Expand All @@ -49,7 +49,7 @@
<td>
<v-avatar
tile
:size="50"
:size="'50px'"
class="grey lighten-4">
<img :src="`/files/`+props.item.id+`/preview?w=50&action=fit`"/>
</v-avatar>
Expand Down
6 changes: 3 additions & 3 deletions resources/assets/js/components/GroupLists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:items="items"
:total-items="totalItems"
class="elevation-1">
<template slot="headerCell" scope="props">
<template slot="headerCell" slot-scope="props">
<span v-if="props.header.value=='name'">
<v-icon>person</v-icon> {{ props.header.text }}
</span>
Expand All @@ -41,7 +41,7 @@
</span>
<span v-else>{{ props.header.text }}</span>
</template>
<template slot="items" scope="props">
<template slot="items" slot-scope="props">
<td>
<v-menu>
<v-btn icon slot="activator" dark>
Expand All @@ -67,7 +67,7 @@
</v-data-table>

<!-- dialog for show permissions -->
<v-dialog v-model="dialogs.showPermissions.show" lazy absolute>
<v-dialog v-model="dialogs.showPermissions.show" lazy absolute max-width="300px">
<v-card>
<v-card-title>
<div class="headline"><v-icon>vpn_key</v-icon> Group Permissions</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/assets/js/components/PermissionLists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:items="items"
:total-items="totalItems"
class="elevation-1">
<template slot="headerCell" scope="props">
<template slot="headerCell" slot-scope="props">
<span v-if="props.header.value=='permission'">
<v-icon>vpn_key</v-icon> {{ props.header.text }}
</span>
Expand All @@ -35,7 +35,7 @@
</span>
<span v-else>{{ props.header.text }}</span>
</template>
<template slot="items" scope="props">
<template slot="items" slot-scope="props">
<td>
<v-menu>
<v-btn icon slot="activator" dark>
Expand Down
6 changes: 3 additions & 3 deletions resources/assets/js/components/UserLists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
:items="items"
:total-items="totalItems"
class="elevation-1">
<template slot="headerCell" scope="props">
<template slot="headerCell" slot-scope="props">
<span v-if="props.header.value=='name'">
<v-icon>person</v-icon> {{ props.header.text }}
</span>
Expand All @@ -44,7 +44,7 @@
</span>
<span v-else>{{ props.header.text }}</span>
</template>
<template slot="items" scope="props">
<template slot="items" slot-scope="props">
<td>
<v-menu>
<v-btn icon slot="activator" dark>
Expand Down Expand Up @@ -76,7 +76,7 @@
</v-data-table>

<!-- dialog for show permissions -->
<v-dialog v-model="dialogs.showPermissions.show" lazy absolute>
<v-dialog v-model="dialogs.showPermissions.show" lazy absolute max-width="300px">
<v-card>
<v-card-title>
<div class="headline"><v-icon>vpn_key</v-icon> User Permissions</div>
Expand Down
Loading

0 comments on commit 54442b0

Please sign in to comment.