@syncfusion/ej2-vue-progressbar 20.4.48 → 21.1.35

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.
@@ -1,42 +1,10 @@
1
1
  import { ProgressBar } from '@syncfusion/ej2-progressbar';
2
- import { ComponentBase, EJComponentDecorator, allVue, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
3
- import { Vue } from 'vue-class-component';
2
+ import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
4
3
  import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
5
- import Vue$1 from 'vue';
6
4
 
7
- var __extends = (undefined && undefined.__extends) || (function () {
8
- var extendStatics = function (d, b) {
9
- extendStatics = Object.setPrototypeOf ||
10
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12
- return extendStatics(d, b);
13
- };
14
- return function (d, b) {
15
- extendStatics(d, b);
16
- function __() { this.constructor = d; }
17
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
- };
19
- })();
20
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
23
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
- return c > 3 && r && Object.defineProperty(target, key, r), r;
25
- };
26
- import { Options } from 'vue-class-component';
27
- var vueImport;
28
- if (!isExecute || parseInt(allVue.version) < 3) {
29
- vueImport = Vue;
30
- }
31
- else {
32
- vueImport = Vue$1;
33
- }
34
- var ProgressBarAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
35
- __extends(ProgressBarAnnotationsDirective, _super);
36
- function ProgressBarAnnotationsDirective() {
37
- return _super.call(this, arguments) || this;
38
- }
39
- ProgressBarAnnotationsDirective.prototype.render = function (createElement) {
5
+ var ProgressBarAnnotationsDirective = vueDefineComponent({
6
+ inject: { custom: { default: null } },
7
+ render: function (createElement) {
40
8
  if (!isExecute) {
41
9
  var h = !isExecute ? gh : createElement;
42
10
  var slots = null;
@@ -46,77 +14,42 @@ var ProgressBarAnnotationsDirective = /** @__PURE__ @class */ (function (_super)
46
14
  return h('div', { class: 'e-directive' }, slots);
47
15
  }
48
16
  return;
49
- };
50
- ProgressBarAnnotationsDirective.prototype.updated = function () {
17
+ },
18
+ updated: function () {
51
19
  if (!isExecute && this.custom) {
52
20
  this.custom();
53
21
  }
54
- };
55
- ProgressBarAnnotationsDirective.prototype.getTag = function () {
56
- return 'e-progressbar-annotations';
57
- };
58
- ProgressBarAnnotationsDirective = __decorate([
59
- EJComponentDecorator({}, isExecute)
60
- ,Options({
61
- inject: {
62
- custom: {
63
- default: null
64
- }
65
- }
66
- })
67
- ], ProgressBarAnnotationsDirective);
68
- return ProgressBarAnnotationsDirective;
69
- }(vueImport));
22
+ },
23
+ methods: {
24
+ getTag: function () {
25
+ return 'e-progressbar-annotations';
26
+ }
27
+ }
28
+ });
70
29
  var ProgressBarAnnotationsPlugin = {
71
30
  name: 'e-progressbar-annotations',
72
- install: function (Vue$$1) {
73
- Vue$$1.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);
31
+ install: function (Vue) {
32
+ Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);
74
33
  }
75
34
  };
76
- var ProgressBarAnnotationDirective = /** @__PURE__ @class */ (function (_super) {
77
- __extends(ProgressBarAnnotationDirective, _super);
78
- function ProgressBarAnnotationDirective() {
79
- return _super !== null && _super.apply(this, arguments) || this;
80
- }
81
- ProgressBarAnnotationDirective.prototype.render = function () {
35
+ var ProgressBarAnnotationDirective = vueDefineComponent({
36
+ render: function () {
82
37
  return;
83
- };
84
- ProgressBarAnnotationDirective.prototype.getTag = function () {
85
- return 'e-progressbar-annotation';
86
- };
87
- ProgressBarAnnotationDirective = __decorate([
88
- EJComponentDecorator({}, isExecute)
89
- ], ProgressBarAnnotationDirective);
90
- return ProgressBarAnnotationDirective;
91
- }(vueImport));
38
+ },
39
+ methods: {
40
+ getTag: function () {
41
+ return 'e-progressbar-annotation';
42
+ }
43
+ }
44
+ });
92
45
  var ProgressBarAnnotationPlugin = {
93
46
  name: 'e-progressbar-annotation',
94
- install: function (Vue$$1) {
95
- Vue$$1.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);
47
+ install: function (Vue) {
48
+ Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);
96
49
  }
97
50
  };
98
51
 
99
- var __extends$1 = (undefined && undefined.__extends) || (function () {
100
- var extendStatics = function (d, b) {
101
- extendStatics = Object.setPrototypeOf ||
102
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
103
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
104
- return extendStatics(d, b);
105
- };
106
- return function (d, b) {
107
- extendStatics(d, b);
108
- function __() { this.constructor = d; }
109
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
110
- };
111
- })();
112
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
113
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
114
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
115
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
116
- return c > 3 && r && Object.defineProperty(target, key, r), r;
117
- };
118
- // {{VueImport}}
119
- var properties = ['isLazyUpdate', 'plugins', 'animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'trackColor', 'trackThickness', 'type', 'value', 'width', 'animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'valueChanged'];
52
+ var properties = ['isLazyUpdate', 'plugins', 'animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'secondaryProgressColor', 'secondaryProgressThickness', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'tooltip', 'trackColor', 'trackThickness', 'type', 'value', 'width', 'animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];
120
53
  var modelProps = [];
121
54
  var testProp = getProps({ props: properties });
122
55
  var props = testProp[0];
@@ -133,131 +66,125 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
133
66
  * <ejs-progressbar></ejs-progressbar>
134
67
  * ```
135
68
  */
136
- var ProgressBarComponent = /** @__PURE__ @class */ (function (_super) {
137
- __extends$1(ProgressBarComponent, _super);
138
- function ProgressBarComponent() {
139
- var _this = _super.call(this, arguments) || this;
140
- _this.propKeys = properties;
141
- _this.models = modelProps;
142
- _this.hasChildDirective = true;
143
- _this.hasInjectedModules = true;
144
- _this.tagMapper = { "e-progressbar-annotations": "e-progressbar-annotation" };
145
- _this.tagNameMapper = { "e-progressbar-annotations": "e-annotations" };
146
- _this.isVue3 = !isExecute;
147
- _this.ej2Instances = new ProgressBar({});
148
- _this.bindProperties();
149
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
150
- _this.ej2Instances.setProperties = _this.setProperties;
151
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
152
- _this.updated = _this.updated;
153
- return _this;
154
- }
155
- ProgressBarComponent.prototype.clearTemplate = function (templateNames) {
156
- if (!templateNames) {
157
- templateNames = Object.keys(this.templateCollection || {});
69
+ var ProgressBarComponent = vueDefineComponent({
70
+ name: 'ProgressBarComponent',
71
+ mixins: [ComponentBase],
72
+ props: props,
73
+ watch: watch,
74
+ emits: emitProbs,
75
+ provide: function () { return { custom: this.custom }; },
76
+ data: function () {
77
+ return {
78
+ ej2Instances: new ProgressBar({}),
79
+ propKeys: properties,
80
+ models: modelProps,
81
+ hasChildDirective: true,
82
+ hasInjectedModules: true,
83
+ tagMapper: { "e-progressbar-annotations": "e-progressbar-annotation" },
84
+ tagNameMapper: { "e-progressbar-annotations": "e-annotations" },
85
+ isVue3: !isExecute,
86
+ templateCollection: {},
87
+ };
88
+ },
89
+ created: function () {
90
+ this.bindProperties();
91
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
92
+ this.ej2Instances.setProperties = this.setProperties;
93
+ this.ej2Instances.clearTemplate = this.clearTemplate;
94
+ this.updated = this.updated;
95
+ },
96
+ render: function (createElement) {
97
+ var h = !isExecute ? gh : createElement;
98
+ var slots = null;
99
+ if (!isNullOrUndefined(this.$slots.default)) {
100
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
158
101
  }
159
- if (templateNames.length && this.templateCollection) {
160
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
161
- var tempName = templateNames_1[_i];
162
- var elementCollection = this.templateCollection[tempName];
163
- if (elementCollection && elementCollection.length) {
164
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
165
- var ele = elementCollection_1[_a];
166
- var destroy = getValue('__vue__.$destroy', ele);
167
- if (destroy) {
168
- ele.__vue__.$destroy();
169
- }
170
- if (ele.innerHTML) {
171
- ele.innerHTML = '';
102
+ return h('div', slots);
103
+ },
104
+ methods: {
105
+ clearTemplate: function (templateNames) {
106
+ if (!templateNames) {
107
+ templateNames = Object.keys(this.templateCollection || {});
108
+ }
109
+ if (templateNames.length && this.templateCollection) {
110
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
111
+ var tempName = templateNames_1[_i];
112
+ var elementCollection = this.templateCollection[tempName];
113
+ if (elementCollection && elementCollection.length) {
114
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
115
+ var ele = elementCollection_1[_a];
116
+ var destroy = getValue('__vue__.$destroy', ele);
117
+ if (destroy) {
118
+ ele.__vue__.$destroy();
119
+ }
120
+ if (ele.innerHTML) {
121
+ ele.innerHTML = '';
122
+ }
172
123
  }
124
+ delete this.templateCollection[tempName];
173
125
  }
174
- delete this.templateCollection[tempName];
175
126
  }
176
127
  }
177
- }
178
- };
179
- ProgressBarComponent.prototype.setProperties = function (prop, muteOnChange) {
180
- var _this = this;
181
- if (this.isVue3) {
182
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
183
- }
184
- if (this.ej2Instances && this.ej2Instances._setProperties) {
185
- this.ej2Instances._setProperties(prop, muteOnChange);
186
- }
187
- if (prop && this.models && this.models.length) {
188
- Object.keys(prop).map(function (key) {
189
- _this.models.map(function (model) {
190
- if ((key === model) && !(/datasource/i.test(key))) {
191
- if (_this.isVue3) {
192
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
193
- }
194
- else {
195
- _this.$emit('update:' + key, prop[key]);
196
- _this.$emit('modelchanged', prop[key]);
128
+ },
129
+ setProperties: function (prop, muteOnChange) {
130
+ var _this = this;
131
+ if (this.isVue3) {
132
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
133
+ }
134
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
135
+ this.ej2Instances._setProperties(prop, muteOnChange);
136
+ }
137
+ if (prop && this.models && this.models.length) {
138
+ Object.keys(prop).map(function (key) {
139
+ _this.models.map(function (model) {
140
+ if ((key === model) && !(/datasource/i.test(key))) {
141
+ if (_this.isVue3) {
142
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
143
+ }
144
+ else {
145
+ _this.$emit('update:' + key, prop[key]);
146
+ _this.$emit('modelchanged', prop[key]);
147
+ }
197
148
  }
198
- }
149
+ });
199
150
  });
200
- });
201
- }
202
- };
203
- ProgressBarComponent.prototype.render = function (createElement) {
204
- var h = !isExecute ? gh : createElement;
205
- var slots = null;
206
- if (!isNullOrUndefined(this.$slots.default)) {
207
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
208
- }
209
- return h('div', slots);
210
- };
211
- ProgressBarComponent.prototype.custom = function () {
212
- this.updated();
213
- };
214
- ProgressBarComponent.prototype.calculateProgressRange = function (value, minimum, maximum) {
215
- return this.ej2Instances.calculateProgressRange(value, minimum, maximum);
216
- };
217
- ProgressBarComponent.prototype.calculateSegmentSize = function (width, thickness) {
218
- return this.ej2Instances.calculateSegmentSize(width, thickness);
219
- };
220
- ProgressBarComponent.prototype.createClipPath = function (clipPath, range, d, refresh, thickness, isLabel, isMaximum) {
221
- return this.ej2Instances.createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum);
222
- };
223
- ProgressBarComponent.prototype.getPathLine = function (x, width, thickness) {
224
- return this.ej2Instances.getPathLine(x, width, thickness);
225
- };
226
- ProgressBarComponent.prototype.hide = function () {
227
- return this.ej2Instances.hide();
228
- };
229
- ProgressBarComponent.prototype.removeSvg = function () {
230
- return this.ej2Instances.removeSvg();
231
- };
232
- ProgressBarComponent.prototype.requiredModules = function () {
233
- return this.ej2Instances.requiredModules();
234
- };
235
- ProgressBarComponent.prototype.show = function () {
236
- return this.ej2Instances.show();
237
- };
238
- ProgressBarComponent = __decorate$1([
239
- EJComponentDecorator({
240
- props: properties
241
- }, isExecute)
242
- ,Options({
243
- props: props,
244
- watch: watch,
245
- emits: emitProbs,
246
- provide: function provide() {
247
- return {
248
- custom: this.custom
249
- };
250
151
  }
251
- })
252
- ], ProgressBarComponent);
253
- return ProgressBarComponent;
254
- }(ComponentBase));
152
+ },
153
+ custom: function () {
154
+ this.updated();
155
+ },
156
+ calculateProgressRange: function (value, minimum, maximum) {
157
+ return this.ej2Instances.calculateProgressRange(value, minimum, maximum);
158
+ },
159
+ calculateSegmentSize: function (width, thickness) {
160
+ return this.ej2Instances.calculateSegmentSize(width, thickness);
161
+ },
162
+ createClipPath: function (clipPath, range, d, refresh, thickness, isLabel, isMaximum) {
163
+ return this.ej2Instances.createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum);
164
+ },
165
+ getPathLine: function (x, width, thickness) {
166
+ return this.ej2Instances.getPathLine(x, width, thickness);
167
+ },
168
+ hide: function () {
169
+ return this.ej2Instances.hide();
170
+ },
171
+ removeSvg: function () {
172
+ return this.ej2Instances.removeSvg();
173
+ },
174
+ requiredModules: function () {
175
+ return this.ej2Instances.requiredModules();
176
+ },
177
+ show: function () {
178
+ return this.ej2Instances.show();
179
+ },
180
+ }
181
+ });
255
182
  var ProgressBarPlugin = {
256
183
  name: 'ejs-progressbar',
257
- install: function (Vue$$1) {
258
- Vue$$1.component(ProgressBarPlugin.name, ProgressBarComponent);
259
- Vue$$1.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);
260
- Vue$$1.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);
184
+ install: function (Vue) {
185
+ Vue.component(ProgressBarPlugin.name, ProgressBarComponent);
186
+ Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);
187
+ Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);
261
188
  }
262
189
  };
263
190
 
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-progressbar.es5.js","sources":["../../src/progressbar/annotations.directive.js","../../src/progressbar/progressbar.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\nvar vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nvar ProgressBarAnnotationsDirective = /** @class */ (function (_super) {\n __extends(ProgressBarAnnotationsDirective, _super);\n function ProgressBarAnnotationsDirective() {\n return _super.call(this, arguments) || this;\n }\n ProgressBarAnnotationsDirective.prototype.render = function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n };\n ProgressBarAnnotationsDirective.prototype.updated = function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n };\n ProgressBarAnnotationsDirective.prototype.getTag = function () {\n return 'e-progressbar-annotations';\n };\n ProgressBarAnnotationsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n /* Start Options({\n inject: {\n custom: {\n default: null\n }\n }\n }) End */\n ], ProgressBarAnnotationsDirective);\n return ProgressBarAnnotationsDirective;\n}(vueImport));\nexport { ProgressBarAnnotationsDirective };\nexport var ProgressBarAnnotationsPlugin = {\n name: 'e-progressbar-annotations',\n install: function (Vue) {\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n }\n};\nvar ProgressBarAnnotationDirective = /** @class */ (function (_super) {\n __extends(ProgressBarAnnotationDirective, _super);\n function ProgressBarAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ProgressBarAnnotationDirective.prototype.render = function () {\n return;\n };\n ProgressBarAnnotationDirective.prototype.getTag = function () {\n return 'e-progressbar-annotation';\n };\n ProgressBarAnnotationDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n ], ProgressBarAnnotationDirective);\n return ProgressBarAnnotationDirective;\n}(vueImport));\nexport { ProgressBarAnnotationDirective };\nexport var ProgressBarAnnotationPlugin = {\n name: 'e-progressbar-annotation',\n install: function (Vue) {\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\nimport { ProgressBarAnnotationsDirective, ProgressBarAnnotationDirective, ProgressBarAnnotationsPlugin, ProgressBarAnnotationPlugin } from './annotations.directive';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'plugins', 'animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'trackColor', 'trackThickness', 'type', 'value', 'width', 'animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'valueChanged'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * Represents Vuejs ProgressBar Component\n * ```vue\n * <ejs-progressbar></ejs-progressbar>\n * ```\n */\nvar ProgressBarComponent = /** @class */ (function (_super) {\n __extends(ProgressBarComponent, _super);\n function ProgressBarComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = true;\n _this.tagMapper = { \"e-progressbar-annotations\": \"e-progressbar-annotation\" };\n _this.tagNameMapper = { \"e-progressbar-annotations\": \"e-annotations\" };\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new ProgressBar({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n ProgressBarComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n ProgressBarComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n ProgressBarComponent.prototype.render = function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n ProgressBarComponent.prototype.custom = function () {\n this.updated();\n };\n ProgressBarComponent.prototype.calculateProgressRange = function (value, minimum, maximum) {\n return this.ej2Instances.calculateProgressRange(value, minimum, maximum);\n };\n ProgressBarComponent.prototype.calculateSegmentSize = function (width, thickness) {\n return this.ej2Instances.calculateSegmentSize(width, thickness);\n };\n ProgressBarComponent.prototype.createClipPath = function (clipPath, range, d, refresh, thickness, isLabel, isMaximum) {\n return this.ej2Instances.createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum);\n };\n ProgressBarComponent.prototype.getPathLine = function (x, width, thickness) {\n return this.ej2Instances.getPathLine(x, width, thickness);\n };\n ProgressBarComponent.prototype.hide = function () {\n return this.ej2Instances.hide();\n };\n ProgressBarComponent.prototype.removeSvg = function () {\n return this.ej2Instances.removeSvg();\n };\n ProgressBarComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n ProgressBarComponent.prototype.show = function () {\n return this.ej2Instances.show();\n };\n ProgressBarComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], ProgressBarComponent);\n return ProgressBarComponent;\n}(ComponentBase));\nexport { ProgressBarComponent };\nexport var ProgressBarPlugin = {\n name: 'ejs-progressbar',\n install: function (Vue) {\n Vue.component(ProgressBarPlugin.name, ProgressBarComponent);\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n Vue.component(ProgressBarAnnotationsPlugin.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,SAAS,GAAG,YAAY;QACnD,OAAO,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,CAAC;KACxC,CAAC;IACF,oBAAoB,CAAC,SAAS,CAAC,eAAe,GAAG,YAAY;QACzD,OAAO,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;KAC9C,CAAC;IACF,oBAAoB,CAAC,SAAS,CAAC,IAAI,GAAG,YAAY;QAC9C,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KACnC,CAAC;IACF,oBAAoB,GAAGC,YAAU,CAAC;QAC9B,oBAAoB,CAAC;YACjB,KAAK,EAAE,UAAU;SACpB,EAAE,SAAS,CAAC;;;;;;;;;;;KAWhB,EAAE,oBAAoB,CAAC,CAAC;IACzB,OAAO,oBAAoB,CAAC;CAC/B,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,IAAI,iBAAiB,GAAG;IAC3B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,UAAUF,MAAG,EAAE;QACpBA,MAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;QAC5DA,MAAG,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,EAAE,8BAA8B,CAAC,CAAC;QAChFA,MAAG,CAAC,SAAS,CAAC,4BAA4B,CAAC,IAAI,EAAE,+BAA+B,CAAC,CAAC;KACrF;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-progressbar.es5.js","sources":["../../src/progressbar/annotations.directive.js","../../src/progressbar/progressbar.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var ProgressBarAnnotationsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-progressbar-annotations';\n }\n }\n});\nexport var ProgressBarAnnotationsPlugin = {\n name: 'e-progressbar-annotations',\n install: function (Vue) {\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n }\n};\nexport var ProgressBarAnnotationDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-progressbar-annotation';\n }\n }\n});\nexport var ProgressBarAnnotationPlugin = {\n name: 'e-progressbar-annotation',\n install: function (Vue) {\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\nimport { ProgressBarAnnotationsDirective, ProgressBarAnnotationDirective, ProgressBarAnnotationsPlugin, ProgressBarAnnotationPlugin } from './annotations.directive';\nexport var properties = ['isLazyUpdate', 'plugins', 'animation', 'annotations', 'cornerRadius', 'enablePersistence', 'enablePieProgress', 'enableProgressSegments', 'enableRtl', 'endAngle', 'gapWidth', 'height', 'innerRadius', 'isActive', 'isGradient', 'isIndeterminate', 'isStriped', 'labelOnTrack', 'labelStyle', 'locale', 'margin', 'maximum', 'minimum', 'progressColor', 'progressThickness', 'radius', 'rangeColors', 'role', 'secondaryProgress', 'secondaryProgressColor', 'secondaryProgressThickness', 'segmentColor', 'segmentCount', 'showProgressValue', 'startAngle', 'theme', 'tooltip', 'trackColor', 'trackThickness', 'type', 'value', 'width', 'animationComplete', 'load', 'loaded', 'mouseClick', 'mouseDown', 'mouseLeave', 'mouseMove', 'mouseUp', 'progressCompleted', 'textRender', 'tooltipRender', 'valueChanged'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * Represents Vuejs ProgressBar Component\n * ```vue\n * <ejs-progressbar></ejs-progressbar>\n * ```\n */\nexport var ProgressBarComponent = vueDefineComponent({\n name: 'ProgressBarComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new ProgressBar({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-progressbar-annotations\": \"e-progressbar-annotation\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate: function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n calculateProgressRange: function (value, minimum, maximum) {\n return this.ej2Instances.calculateProgressRange(value, minimum, maximum);\n },\n calculateSegmentSize: function (width, thickness) {\n return this.ej2Instances.calculateSegmentSize(width, thickness);\n },\n createClipPath: function (clipPath, range, d, refresh, thickness, isLabel, isMaximum) {\n return this.ej2Instances.createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum);\n },\n getPathLine: function (x, width, thickness) {\n return this.ej2Instances.getPathLine(x, width, thickness);\n },\n hide: function () {\n return this.ej2Instances.hide();\n },\n removeSvg: function () {\n return this.ej2Instances.removeSvg();\n },\n requiredModules: function () {\n return this.ej2Instances.requiredModules();\n },\n show: function () {\n return this.ej2Instances.show();\n },\n }\n});\nexport var ProgressBarPlugin = {\n name: 'ejs-progressbar',\n install: function (Vue) {\n Vue.component(ProgressBarPlugin.name, ProgressBarComponent);\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n }\n};\n"],"names":[],"mappings":";;;;AAEO,IAAI,+BAA+B,GAAG,kBAAkB,CAAC;IAC5D,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,MAAM,EA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