Skip to content

Commit f463831

Browse files
author
pipeline
committed
v20.4.38 is released
1 parent a7e0542 commit f463831

File tree

162 files changed

+3545
-2140
lines changed

Some content is hidden

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

162 files changed

+3545
-2140
lines changed

components/barcodegenerator/README.md

Lines changed: 145 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,149 @@
1-
# Changelog
1+
# Vue Barcode Generator Component
22

3-
## [Unreleased]
3+
The [Vue Barcode](https://www.syncfusion.com/vue-components/vue-barcode?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm) (QR Code) Generator Component is a light-weight and high-performance control that displays industry-standard 1D and 2D barcodes in Angular applications. Generated barcodes are optimized for printing and on-screen scanning. It is designed for ease of use and does not require fonts.
44

5-
### Barcode
5+
<p align="center">
6+
<a href="https://ej2.syncfusion.com/vue/documentation/barcode/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm">Getting started</a> .
7+
<a href="https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm#/bootstrap5/barcode/ean8">Online demos</a> .
8+
<a href="https://www.syncfusion.com/vue-components/vue-barcode?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm">Learn more</a>
9+
</p>
610

7-
The Syncfusion Essential JS Barcode widget enables rendering of one dimension and two dimension barcodes in web page. Barcode provides you a simple and inexpensive method of encoding text information that can be easily read by electronic readers
11+
<p align="center">
12+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-barcode.png" alt="Vue Barcode Component"/>
13+
</p>
814

9-
- Custom shapes can also be created and added easily.
10-
- Supports 2 two-dimensional barcodes such as QR and DataMatrix barcodes.
15+
16+
<p align="center">
17+
Trusted by the world's leading companies
18+
<a href="https://www.syncfusion.com">
19+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
20+
</a>
21+
</p>
22+
23+
## Setup
24+
25+
### Create an Vue Application
26+
27+
You can use [`Vue CLI`](https://github.com/vuejs/vue-cli) to setup your Vue 2 applications.To install Vue CLI use the following commands.
28+
29+
```bash
30+
npm install -g @vue/cli
31+
vue create quickstart
32+
cd quickstart
33+
npm run serve
34+
```
35+
Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option `Default ([Vue 2] babel, eslint)` from the menu.
36+
37+
### Adding Syncfusion Barcode package
38+
39+
All Syncfusion Vue packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Vue barcode package, use the following command.
40+
41+
```bash
42+
npm install @syncfusion/ej2-vue-barcode-generator --save
43+
```
44+
45+
### Registering Barcode Component
46+
47+
You can register the Barcode component in your application by using the **Vue.use()**. Refer to the code example given below.
48+
49+
```typescript
50+
import { BarcodeGeneratorPlugin } from '@syncfusion/ej2-vue-barcode-generator';
51+
52+
Vue.use(BarcodeGeneratorPlugin);
53+
```
54+
55+
> Registering **BarcodeGeneratorPlugin** in vue, will register the barcode component along with its required child directives globally.
56+
57+
## Add Barcode Component
58+
59+
Add the Vue Barcode by using **ejs-barcodegenerator** selector in **template** section of the **App.vue** file.
60+
61+
```html
62+
<template>
63+
<div id="app">
64+
<ejs-barcodegenerator
65+
id="barcode"
66+
:width="width"
67+
:height="height"
68+
:type="type"
69+
:value="value"
70+
:mode="mode"
71+
></ejs-barcodegenerator>
72+
</div>
73+
</template>
74+
<script>
75+
import Vue from "vue";
76+
import { BarcodeGeneratorPlugin } from "@syncfusion/ej2-vue-barcode-generator";
77+
78+
Vue.use(BarcodeGeneratorPlugin);
79+
80+
export default {
81+
data() {
82+
return {
83+
width: "200px",
84+
height: "150px",
85+
mode: "SVG",
86+
type: "Ean8",
87+
value: "11223344",
88+
};
89+
},
90+
}
91+
</script>
92+
```
93+
94+
## Supported frameworks
95+
96+
Barcode component is also offered in the following list of frameworks.
97+
98+
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
99+
| :-----: | :-----: | :-----: | :-----: | :-----: |
100+
101+
## Showcase samples
102+
103+
* Loan Calculator - [Source](https://github.com/syncfusion/ej2-showcase-vue-loan-calculator), [Live Demo](https://ej2.syncfusion.com/showcase/vue/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm#/default)
104+
* Fitness Tracker - [Source](https://github.com/SyncfusionExamples/showcase-vue-health-tracker-dashboard-demo), [Live Demo](https://ej2.syncfusion.com/showcase/vue/fitness-tracker-app/)
105+
106+
## Key features
107+
108+
* Barcode Symbologies - Supports a wide range of barcode symbologies, including:
109+
* [QR Code](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/qrcode.html)
110+
* [Data Matrix](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/datamatrix.html)
111+
* [Code 39](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code39.html)
112+
* [Code 39 Extended](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code39Extd.html)
113+
* [Codabar](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/codabar.html)
114+
* [Code 32](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code32.html)
115+
* [Code 93](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code93.html)
116+
* [Code 128](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code128.html)
117+
* [Code 128A](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code128A.html)
118+
* [Code 128B](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code128B.html)
119+
* [Code 128C](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/code128C.html)
120+
* [EAN-8](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/ean8.html)
121+
* [EAN-13](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/ean13.html)
122+
* [UPC-A](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/upca.html )
123+
* [UPC-E](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/barcode/upce.html)
124+
* Text Customization - Allows you to customize the text displayed.
125+
* Exporting - Barcode can be exported as .png or .jpeg fromat image and can also be exported as base64 string.
126+
127+
## Support
128+
129+
Product support is available through the following mediums.
130+
131+
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
132+
* [Community forum](https://www.syncfusion.com/forums/vue-js2?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm)
133+
* [GitHub issues](https://github.com/syncfusion/ej2-vue-ui-components/issues/new)
134+
* [Request feature or report bug](https://www.syncfusion.com/feedback/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-barcode-npm)
135+
* Live chat
136+
137+
## Changelog
138+
139+
Check the changelog [here](https://ej2.syncfusion.com/vue/documentation/release-notes). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
140+
141+
## License and copyright
142+
143+
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Vue UI components](https://www.syncfusion.com/vue-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
144+
145+
> A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
146+
147+
See [LICENSE FILE](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/license) for more info.
148+
149+
&copy; Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

components/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": "20.2.45",
3+
"version": "19.3.0",
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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Options } from 'vue-class-component';
2-
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
2+
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
33
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
44

55
import { BarcodeGenerator } from '@syncfusion/ej2-barcode-generator';
@@ -21,8 +21,6 @@ for (let props of modelProps) {
2121
);
2222
}
2323

24-
export const isExecute: any = gh ? false : true;
25-
2624
/**
2725
* Represents vue Barcode Component
2826
* ```html
@@ -115,10 +113,10 @@ export class BarcodeGeneratorComponent extends ComponentBase {
115113
}
116114

117115
public render(createElement: any) {
118-
let h: any = gh || createElement;
116+
let h: any = !isExecute ? gh : createElement;
119117
let slots: any = null;
120118
if(!isNullOrUndefined((this as any).$slots.default)) {
121-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
119+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
122120
}
123121
return h('div', slots);
124122
}

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Options } from 'vue-class-component';
2-
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
2+
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
33
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
44

55
import { DataMatrixGenerator } from '@syncfusion/ej2-barcode-generator';
@@ -21,8 +21,6 @@ for (let props of modelProps) {
2121
);
2222
}
2323

24-
export const isExecute: any = gh ? false : true;
25-
2624
/**
2725
* Represents vue DataMatrix Component
2826
* ```html
@@ -115,10 +113,10 @@ export class DataMatrixGeneratorComponent extends ComponentBase {
115113
}
116114

117115
public render(createElement: any) {
118-
let h: any = gh || createElement;
116+
let h: any = !isExecute ? gh : createElement;
119117
let slots: any = null;
120118
if(!isNullOrUndefined((this as any).$slots.default)) {
121-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
119+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
122120
}
123121
return h('div', slots);
124122
}

components/barcodegenerator/src/qrcode-generator/qrcodegenerator.component.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Options } from 'vue-class-component';
2-
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
2+
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
33
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
44

55
import { QRCodeGenerator } from '@syncfusion/ej2-barcode-generator';
@@ -21,8 +21,6 @@ for (let props of modelProps) {
2121
);
2222
}
2323

24-
export const isExecute: any = gh ? false : true;
25-
2624
/**
2725
* Represents vue QRCode Component
2826
* ```html
@@ -115,10 +113,10 @@ export class QRCodeGeneratorComponent extends ComponentBase {
115113
}
116114

117115
public render(createElement: any) {
118-
let h: any = gh || createElement;
116+
let h: any = !isExecute ? gh : createElement;
119117
let slots: any = null;
120118
if(!isNullOrUndefined((this as any).$slots.default)) {
121-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
119+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
122120
}
123121
return h('div', slots);
124122
}

components/base/CHANGELOG.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,6 @@
22

33
## [Unreleased]
44

5-
## 20.3.59 (2022-11-29)
6-
7-
### Common
8-
9-
#### Bug Fixes
10-
11-
- `#I415706` - The issue with "Schedule component module injection is not working in the Vue 3 script setup" has been resolved.
12-
13-
## 20.3.49 (2022-10-11)
14-
15-
### Common
16-
17-
#### Bug Fixes
18-
19-
- `#I400596` - The issue with "Tab throwing script error while enabling a tab item using `v-if`" has been resolved.
20-
215
## 20.3.47 (2022-09-29)
226

237
### Common
@@ -212,4 +196,3 @@ Base library provide options to enable following Vue functionalities in Essentia
212196
#### Breaking Changes
213197

214198
- The individual npm package will no longer bundle dependent component's style. The online web tool [CRG](https://crg.syncfusion.com/) can be used to combine specific set of component and its dependent component styles.
215-

components/base/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-base",
3-
"version": "20.3.59",
3+
"version": "19.3.53",
44
"description": "A common package of Essential JS 2 base Vue libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)