refactor: change custom tooltips, charts and icons source
This commit is contained in:
Generated
+4230
-27523
File diff suppressed because it is too large
Load Diff
+2
-3
@@ -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"
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user