@syncfusion/ej2-vue-progressbar 20.1.47 → 20.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -11
- package/dist/ej2-vue-progressbar.umd.min.js +9 -0
- package/dist/es6/ej2-vue-progressbar.es2015.js +51 -5
- package/dist/es6/ej2-vue-progressbar.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-progressbar.es5.js +35 -5
- package/dist/es6/ej2-vue-progressbar.es5.js.map +1 -1
- package/dist/global/ej2-vue-progressbar.min.js +2 -2
- package/package.json +8 -8
- package/src/progressbar/annotations.directive.d.ts +3 -1
- package/src/progressbar/annotations.directive.js +24 -2
- package/src/progressbar/progressbar.component.d.ts +1 -0
- package/src/progressbar/progressbar.component.js +10 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-progressbar@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-progressbar@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-progressbar@20.1.47",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-skbCYMkcSJsjPimKJMl4pTJONe2GyzOV0tszhnj0lYhZUmRzH6Dh/tbxIDMYjtTZDyPxQt5eKloLY6hU+ZnVwA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-progressbar",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-progressbar/-/ej2-vue-progressbar-20.1.47.tgz",
|
|
23
|
+
"_shasum": "808b769c21261d3ef020fa749c28aa786f8e0517",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-progressbar@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~20.1.
|
|
35
|
-
"@syncfusion/ej2-progressbar": "20.1.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~20.1.
|
|
34
|
+
"@syncfusion/ej2-base": "~20.1.50",
|
|
35
|
+
"@syncfusion/ej2-progressbar": "20.1.52",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.1.51"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 ProgressBar Component for Vue",
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
"type": "git",
|
|
65
65
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
66
66
|
},
|
|
67
|
-
"version": "20.1.
|
|
67
|
+
"version": "20.1.52",
|
|
68
68
|
"sideEffects": false
|
|
69
69
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class ProgressBarAnnotationsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ProgressBarAnnotationsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var ProgressBarAnnotationsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(ProgressBarAnnotationsDirective, _super);
|
|
33
35
|
function ProgressBarAnnotationsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
ProgressBarAnnotationsDirective.prototype.render = function () {
|
|
38
|
+
ProgressBarAnnotationsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
ProgressBarAnnotationsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
ProgressBarAnnotationsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-progressbar-annotations';
|
|
41
56
|
};
|
|
42
57
|
ProgressBarAnnotationsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], ProgressBarAnnotationsDirective);
|
|
45
67
|
return ProgressBarAnnotationsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -28,6 +28,7 @@ export declare class ProgressBarComponent extends ComponentBase {
|
|
|
28
28
|
clearTemplate(templateNames?: string[]): any;
|
|
29
29
|
setProperties(prop: any, muteOnChange: boolean): void;
|
|
30
30
|
render(createElement: any): any;
|
|
31
|
+
custom(): void;
|
|
31
32
|
calculateProgressRange(value: number, minimum?: number, maximum?: number): number;
|
|
32
33
|
calculateSegmentSize(width: number, thickness: number): string;
|
|
33
34
|
createClipPath(clipPath?: Object, range?: number, d?: string, refresh?: boolean, thickness?: number, isLabel?: boolean, isMaximum?: boolean): Object;
|
|
@@ -56,6 +56,7 @@ var ProgressBarComponent = /** @class */ (function (_super) {
|
|
|
56
56
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
57
57
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
58
58
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
59
|
+
_this.updated = _this.updated;
|
|
59
60
|
return _this;
|
|
60
61
|
}
|
|
61
62
|
ProgressBarComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -114,6 +115,9 @@ var ProgressBarComponent = /** @class */ (function (_super) {
|
|
|
114
115
|
}
|
|
115
116
|
return h('div', slots);
|
|
116
117
|
};
|
|
118
|
+
ProgressBarComponent.prototype.custom = function () {
|
|
119
|
+
this.updated();
|
|
120
|
+
};
|
|
117
121
|
ProgressBarComponent.prototype.calculateProgressRange = function (value, minimum, maximum) {
|
|
118
122
|
return this.ej2Instances.calculateProgressRange(value, minimum, maximum);
|
|
119
123
|
};
|
|
@@ -145,7 +149,12 @@ var ProgressBarComponent = /** @class */ (function (_super) {
|
|
|
145
149
|
,Options({
|
|
146
150
|
props: props,
|
|
147
151
|
watch: watch,
|
|
148
|
-
emits: emitProbs
|
|
152
|
+
emits: emitProbs,
|
|
153
|
+
provide: function provide() {
|
|
154
|
+
return {
|
|
155
|
+
custom: this.custom
|
|
156
|
+
};
|
|
157
|
+
}
|
|
149
158
|
})
|
|
150
159
|
], ProgressBarComponent);
|
|
151
160
|
return ProgressBarComponent;
|