refactor: change custom tooltips, charts and icons source
This commit is contained in:
@@ -4,5 +4,8 @@
|
||||
// Import styles
|
||||
@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
|
||||
@import "custom";
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
:key="key"
|
||||
:color="brandName"
|
||||
>
|
||||
<CIcon :name="brandName"/>
|
||||
<CIcon size="sm" :name="brandName"/>
|
||||
<span>{{brandName}}</span>
|
||||
</CButton>
|
||||
</template>
|
||||
@@ -58,7 +58,7 @@
|
||||
:key="key"
|
||||
:color="brandName"
|
||||
>
|
||||
<CIcon :name="brandName"/>
|
||||
<CIcon size="lg" :name="brandName"/>
|
||||
<span>{{brandName}}</span>
|
||||
</CButton>
|
||||
</template>
|
||||
@@ -84,7 +84,7 @@
|
||||
:key="key"
|
||||
:color="brandName"
|
||||
>
|
||||
<CIcon :name="brandName"/>
|
||||
<CIcon size="sm" :name="brandName"/>
|
||||
</CButton>
|
||||
</template>
|
||||
</p>
|
||||
@@ -109,7 +109,7 @@
|
||||
:key="key"
|
||||
:color="brandName"
|
||||
>
|
||||
<CIcon :name="brandName"/>
|
||||
<CIcon size="lg" :name="brandName"/>
|
||||
</CButton>
|
||||
</template>
|
||||
</p>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { CChartBar } from '@coreui/coreui-vue-chartjs'
|
||||
import { CChartBar } from '@coreui/coreui-chartjs/vue'
|
||||
|
||||
export default {
|
||||
name: 'CChartBarExample',
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<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'
|
||||
export default {
|
||||
name: 'CChartBarSimple',
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { CChartDoughnut } from '@coreui/coreui-vue-chartjs'
|
||||
import { CChartDoughnut } from '@coreui/coreui-chartjs/vue'
|
||||
|
||||
export default {
|
||||
name: 'CChartDoughnutExample',
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { CChartLine } from '@coreui/coreui-vue-chartjs'
|
||||
import { CChartLine } from '@coreui/coreui-chartjs/vue'
|
||||
|
||||
export default {
|
||||
name: 'CChartLineExample',
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<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'
|
||||
export default {
|
||||
name: 'CChartLineSimple',
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { CChartPie } from '@coreui/coreui-vue-chartjs'
|
||||
import { CChartPie } from '@coreui/coreui-chartjs/vue'
|
||||
|
||||
export default {
|
||||
name: 'CChartPieExample',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { CChartPolarArea } from '@coreui/coreui-vue-chartjs'
|
||||
import { CChartPolarArea } from '@coreui/coreui-chartjs/vue'
|
||||
|
||||
export default {
|
||||
name: 'CChartPolarAreaExample',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { CChartRadar } from '@coreui/coreui-vue-chartjs'
|
||||
import { CChartRadar } from '@coreui/coreui-chartjs/vue'
|
||||
|
||||
export default {
|
||||
name: 'CChartRadarExample',
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<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'
|
||||
|
||||
function random (min, max) {
|
||||
|
||||
Reference in New Issue
Block a user