Skip to content

Commit f6737a5

Browse files
authored
Merge pull request #23 from Saranya13/master
config(EJ2-000): V18.4.30 Released
2 parents 3b96027 + a02dd7f commit f6737a5

File tree

127 files changed

+24961
-1263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+24961
-1263
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ej2-vue-samples",
3-
"version": "18.3.35",
3+
"version": "18.4.30",
44
"description": "Examples of Vue UI Components",
55
"scripts": {
66
"serve": "node --max_old_space_size=8192 node_modules/@vue/cli-service/bin/vue-cli-service.js serve",

public/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script>
5+
var orgin = location.origin;
6+
var baseref = location.href.split('#')[0].replace(orgin, '');
7+
document.write('<base href=\"' + baseref + '\">');
8+
</script>
9+
410
<!-- Google Tag Manager -->
511
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
612
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

public/styles/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2133,12 +2133,12 @@ body.highcontrast,
21332133
float: left;
21342134
}
21352135

2136-
.ad-cnt-icon {
2136+
.ad-cnt-icon {
21372137
padding: 3px;
21382138
position: relative;
21392139
top: 5px;
21402140
color: #F8E71C;
2141-
}
2141+
}
21422142

21432143
.ad-cnt-text {
21442144
padding-left: 6px;

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
<div class="col-sm-12 cnt-area">
299299
<div class="content-area">
300300
<div class="ad-cnt-pt">
301-
<div class="ad-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div>
301+
<div class="ad-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div>
302302
<div class="ad-cnt-text">65+ high-performance and responsive UI components</div>
303303
</div>
304304
<div class="ad-cnt-pt">

src/bullet-chart/right-to-left.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
:titleStyle="titleStyle"
1818
labelFormat="${value}K"
1919
:enableRtl="enableRtl"
20-
:orientation="Horizontal"
20+
orientation="Horizontal"
2121
>
2222
<e-bullet-range-collection>
2323
<e-bullet-range end="150"></e-bullet-range>

src/button/default.vue

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@
5050
<div class="col-xs-12 col-sm-12 col-lg-6 col-md-6">
5151
<ejs-button
5252
ref="toggleBtn"
53-
iconCss="e-btn-sb-icons e-play-icon"
53+
:iconCss="iconCssValue"
5454
cssClass="e-flat"
5555
:isPrimary="true"
5656
:isToggle="true"
5757
v-on:click.native="btnClick"
58+
:content ="contentValue"
5859
>Play</ejs-button>
5960
</div>
6061
</div>
@@ -167,14 +168,38 @@ import { ButtonPlugin } from "@syncfusion/ej2-vue-buttons";
167168
Vue.use(ButtonPlugin);
168169
169170
export default Vue.extend({
171+
data: function () {
172+
return {
173+
content: "Play",
174+
iconCss: "e-btn-sb-icons e-play-icon"
175+
}
176+
},
177+
computed: {
178+
contentValue: {
179+
get: function () {
180+
return this.content;
181+
},
182+
set: function (content) {
183+
this.content = content
184+
}
185+
},
186+
iconCssValue: {
187+
get: function () {
188+
return this.iconCss;
189+
},
190+
set: function (iconCss) {
191+
this.iconCss = iconCss
192+
}
193+
}
194+
},
170195
methods: {
171196
btnClick: function(event) {
172197
if (this.$refs.toggleBtn.$el.classList.contains("e-active")) {
173-
this.$refs.toggleBtn.content = "Play";
174-
this.$refs.toggleBtn.iconCss = "e-btn-sb-icons e-play-icon";
198+
this.contentValue = "Play";
199+
this.iconCssValue = "e-btn-sb-icons e-play-icon";
175200
} else {
176-
this.$refs.toggleBtn.content = "Pause";
177-
this.$refs.toggleBtn.iconCss = "e-btn-sb-icons e-pause-icon";
201+
this.contentValue = "Pause";
202+
this.iconCssValue = "e-btn-sb-icons e-pause-icon";
178203
}
179204
}
180205
}

src/chart/chart-performance.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<template>
22
<div class="control-section">
33
<div class="col-lg-9 control-section">
4-
<ejs-chart ref="chart" style="display:block;" :loaded="onChartLoad" :primaryXAxis='primaryXAxis' :enableCanvas='enableCanvas' :theme='theme' >
4+
<ejs-chart ref="chart" style="display:block;" :loaded="onChartLoad" :primaryXAxis='primaryXAxis' :enableCanvas='enableCanvas' :theme='theme'
5+
:legendSettings='legendSettings'>
56
<e-series-collection>
6-
<e-series :dataSource='seriesData' :marker='marker' :xName='xName' :yName='yName' :animation='animation' type='Line'> </e-series>
7+
<e-series :marker='marker' :xName='xName' :yName='yName' :animation='animation' type='Line'> </e-series>
78
</e-series-collection>
89
</ejs-chart>
910
</div>
@@ -75,7 +76,8 @@ export default Vue.extend({
7576
yName: 'y',
7677
marker: {
7778
visible: false
78-
}
79+
},
80+
legendSettings: { visible: false }
7981
};
8082
},
8183
provide: {
@@ -94,6 +96,9 @@ export default Vue.extend({
9496
}
9597
this.dt1 = new Date().getTime();
9698
this.$refs.chart.ej2Instances.series[0].dataSource = series1;
99+
this.$refs.chart.ej2Instances.series[0].xName = 'x';
100+
this.$refs.chart.ej2Instances.series[0].yName = 'y';
101+
this.$refs.chart.ej2Instances.legendSettings.visible = false;
97102
this.$refs.chart.ej2Instances.refresh();
98103
},
99104
onChartLoad: function(args) {

src/chart/funnel.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
yName="y"
2020
:neckWidth="neckWidth"
2121
:neckHeight="neckHeight"
22-
:gapRatio="gapRatio"
23-
:emptyPointSettings="emptyPointSettings"
2422
height="80%"
2523
width="60%"
2624
:explode="explode"

src/chart/lazy-loading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="control-section" >
33
<div class="col-md-8 control-section">
44
<ejs-chart ref='chart' :theme='theme' :chartArea='chartArea' id='chartid' :scrollEnd='scrollEnd'
5-
:primaryXAxis='primaryXAxis' :tooltip='tooltip' :crosshair='crosshair' :legendSettings='legend' :title='title' :primaryYAxis='primaryYAxis'>
5+
:primaryXAxis='primaryXAxis' :tooltip='tooltip' :legendSettings='legend' :title='title' :primaryYAxis='primaryYAxis'>
66
<e-series-collection>
77
<e-series :dataSource='series' xName= 'x' yName= 'y' type='Line' :animation='animation'>
88
</e-series>

src/chart/pareto.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="control-section">
33
<div align='center'>
44
<ejs-chart style='display:block' :theme='theme' align='center' id='chartcontainer' :title='title' :primaryXAxis='primaryXAxis' :primaryYAxis='primaryYAxis'
5-
:chartArea='chartArea' :width='width' :legendSettings='legendSettings' :tooltip='tooltip' :axes='axes'>
5+
:chartArea='chartArea' :width='width' :legendSettings='legendSettings' :tooltip='tooltip'>
66
<e-series-collection>
77
<e-series :dataSource='seriesData' type='Pareto' xName='x' yName='y' name='Defect' width=2 :marker='marker' > </e-series>
88
</e-series-collection>

0 commit comments

Comments
 (0)