refactor: change custom tooltips, charts and icons source

This commit is contained in:
woothu
2019-10-17 16:43:06 +02:00
parent 0892b8cc2a
commit 8bf4e290b0
13 changed files with 4260 additions and 27551 deletions
+4242 -27535
View File
File diff suppressed because it is too large Load Diff
+2 -3
View File
@@ -15,9 +15,8 @@
}, },
"dependencies": { "dependencies": {
"@coreui/coreui": "3.0.0-alpha.14", "@coreui/coreui": "3.0.0-alpha.14",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1", "@coreui/coreui-chartjs": "../coreui-chartjs",
"@coreui/coreui-vue-chartjs": "../coreui-vue-chartjs", "@coreui/icons": "../coreui-icons",
"@coreui/icons": "github:coreui/coreui-icons#v1-alpha",
"@coreui/vue": "../coreui-vue", "@coreui/vue": "../coreui-vue",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.0.7" "vue-router": "^3.0.7"
+3
View File
@@ -4,5 +4,8 @@
// Import styles // Import styles
@import "~@coreui/coreui/scss/coreui"; @import "~@coreui/coreui/scss/coreui";
// Import custom tooltips styles
@import "~@coreui/coreui-chartjs/custom-tooltips/dist/css/coreui-chartjs.css";
// If you want to add something do it here // If you want to add something do it here
@import "custom"; @import "custom";
+4 -4
View File
@@ -31,7 +31,7 @@
:key="key" :key="key"
:color="brandName" :color="brandName"
> >
<CIcon :name="brandName"/> <CIcon size="sm" :name="brandName"/>
<span>{{brandName}}</span> <span>{{brandName}}</span>
</CButton> </CButton>
</template> </template>
@@ -58,7 +58,7 @@
:key="key" :key="key"
:color="brandName" :color="brandName"
> >
<CIcon :name="brandName"/> <CIcon size="lg" :name="brandName"/>
<span>{{brandName}}</span> <span>{{brandName}}</span>
</CButton> </CButton>
</template> </template>
@@ -84,7 +84,7 @@
:key="key" :key="key"
:color="brandName" :color="brandName"
> >
<CIcon :name="brandName"/> <CIcon size="sm" :name="brandName"/>
</CButton> </CButton>
</template> </template>
</p> </p>
@@ -109,7 +109,7 @@
:key="key" :key="key"
:color="brandName" :color="brandName"
> >
<CIcon :name="brandName"/> <CIcon size="lg" :name="brandName"/>
</CButton> </CButton>
</template> </template>
</p> </p>
+1 -1
View File
@@ -6,7 +6,7 @@
</template> </template>
<script> <script>
import { CChartBar } from '@coreui/coreui-vue-chartjs' import { CChartBar } from '@coreui/coreui-chartjs/vue'
export default { export default {
name: 'CChartBarExample', name: 'CChartBarExample',
+1 -1
View File
@@ -7,7 +7,7 @@
</template> </template>
<script> <script>
import { CChartBar } from '@coreui/coreui-vue-chartjs' import { CChartBar } from '@coreui/coreui-chartjs/vue'
import { getColor, deepObjectsMerge } from '@coreui/coreui/dist/js/coreui-utilities' import { getColor, deepObjectsMerge } from '@coreui/coreui/dist/js/coreui-utilities'
export default { export default {
name: 'CChartBarSimple', name: 'CChartBarSimple',
+1 -1
View File
@@ -6,7 +6,7 @@
</template> </template>
<script> <script>
import { CChartDoughnut } from '@coreui/coreui-vue-chartjs' import { CChartDoughnut } from '@coreui/coreui-chartjs/vue'
export default { export default {
name: 'CChartDoughnutExample', name: 'CChartDoughnutExample',
+1 -1
View File
@@ -6,7 +6,7 @@
</template> </template>
<script> <script>
import { CChartLine } from '@coreui/coreui-vue-chartjs' import { CChartLine } from '@coreui/coreui-chartjs/vue'
export default { export default {
name: 'CChartLineExample', name: 'CChartLineExample',
+1 -1
View File
@@ -7,7 +7,7 @@
</template> </template>
<script> <script>
import { CChartLine } from '@coreui/coreui-vue-chartjs' import { CChartLine } from '@coreui/coreui-chartjs/vue'
import { getColor, deepObjectsMerge } from '@coreui/coreui/dist/js/coreui-utilities' import { getColor, deepObjectsMerge } from '@coreui/coreui/dist/js/coreui-utilities'
export default { export default {
name: 'CChartLineSimple', name: 'CChartLineSimple',
+1 -1
View File
@@ -6,7 +6,7 @@
</template> </template>
<script> <script>
import { CChartPie } from '@coreui/coreui-vue-chartjs' import { CChartPie } from '@coreui/coreui-chartjs/vue'
export default { export default {
name: 'CChartPieExample', name: 'CChartPieExample',
+1 -1
View File
@@ -10,7 +10,7 @@
</template> </template>
<script> <script>
import { CChartPolarArea } from '@coreui/coreui-vue-chartjs' import { CChartPolarArea } from '@coreui/coreui-chartjs/vue'
export default { export default {
name: 'CChartPolarAreaExample', name: 'CChartPolarAreaExample',
+1 -1
View File
@@ -10,7 +10,7 @@
</template> </template>
<script> <script>
import { CChartRadar } from '@coreui/coreui-vue-chartjs' import { CChartRadar } from '@coreui/coreui-chartjs/vue'
export default { export default {
name: 'CChartRadarExample', name: 'CChartRadarExample',
+1 -1
View File
@@ -7,7 +7,7 @@
</template> </template>
<script> <script>
import { CChartLine } from '@coreui/coreui-vue-chartjs' import { CChartLine } from '@coreui/coreui-chartjs/vue'
import { getColor, hexToRgba } from '@coreui/coreui/dist/js/coreui-utilities' import { getColor, hexToRgba } from '@coreui/coreui/dist/js/coreui-utilities'
function random (min, max) { function random (min, max) {