Skip to content

Commit 0886702

Browse files
author
pipeline
committed
v20.1.48 is released
1 parent 9868293 commit 0886702

File tree

3,463 files changed

+918
-123
lines changed

Some content is hidden

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

3,463 files changed

+918
-123
lines changed
File renamed without changes.

components/barcodegenerator/package.json renamed to src/barcodegenerator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-barcode-generator",
3-
"version": "19.3.0",
3+
"version": "20.1.47",
44
"description": "Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/barcodegenerator/src/barcode-generator/barcodegenerator.component.ts renamed to src/barcodegenerator/src/barcode-generator/barcodegenerator.component.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ export const isExecute: any = gh ? false : true;
3636
/* Start Options({
3737
props: props,
3838
watch: watch,
39-
emits: emitProbs
39+
emits: emitProbs,
40+
provide: function provide() {
41+
return {
42+
custom: this.custom
43+
};
44+
}
4045
}) End */
4146

4247
export class BarcodeGeneratorComponent extends ComponentBase {
@@ -58,6 +63,7 @@ export class BarcodeGeneratorComponent extends ComponentBase {
5863
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
5964
this.ej2Instances.setProperties = this.setProperties;
6065
this.ej2Instances.clearTemplate = this.clearTemplate;
66+
this.updated = this.updated;
6167
}
6268

6369
public clearTemplate(templateNames?: string[]): any {
@@ -116,6 +122,9 @@ export class BarcodeGeneratorComponent extends ComponentBase {
116122
}
117123
return h('div', slots);
118124
}
125+
public custom(): void {
126+
this.updated();
127+
}
119128

120129
public exportAsBase64Image(exportType: Object): Object {
121130
return this.ej2Instances.exportAsBase64Image(exportType);
@@ -132,4 +141,4 @@ export const BarcodeGeneratorPlugin = {
132141
Vue.component(BarcodeGeneratorPlugin.name, BarcodeGeneratorComponent);
133142

134143
}
135-
}
144+
}

components/barcodegenerator/src/datamatrix-generator/datamatrixgenerator.component.ts renamed to src/barcodegenerator/src/datamatrix-generator/datamatrixgenerator.component.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ export const isExecute: any = gh ? false : true;
3636
/* Start Options({
3737
props: props,
3838
watch: watch,
39-
emits: emitProbs
39+
emits: emitProbs,
40+
provide: function provide() {
41+
return {
42+
custom: this.custom
43+
};
44+
}
4045
}) End */
4146

4247
export class DataMatrixGeneratorComponent extends ComponentBase {
@@ -58,6 +63,7 @@ export class DataMatrixGeneratorComponent extends ComponentBase {
5863
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
5964
this.ej2Instances.setProperties = this.setProperties;
6065
this.ej2Instances.clearTemplate = this.clearTemplate;
66+
this.updated = this.updated;
6167
}
6268

6369
public clearTemplate(templateNames?: string[]): any {
@@ -116,6 +122,9 @@ export class DataMatrixGeneratorComponent extends ComponentBase {
116122
}
117123
return h('div', slots);
118124
}
125+
public custom(): void {
126+
this.updated();
127+
}
119128

120129
public exportAsBase64Image(barcodeExportType: Object): Object {
121130
return this.ej2Instances.exportAsBase64Image(barcodeExportType);
@@ -132,4 +141,4 @@ export const DataMatrixGeneratorPlugin = {
132141
Vue.component(DataMatrixGeneratorPlugin.name, DataMatrixGeneratorComponent);
133142

134143
}
135-
}
144+
}

0 commit comments

Comments
 (0)