@syncfusion/ej2-vue-progressbar 24.1.41 → 24.2.5
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 +6 -0
- package/dist/ej2-vue-progressbar.umd.min.js +2 -2
- package/dist/ej2-vue-progressbar.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-progressbar.es2015.js +1 -1
- package/dist/es6/ej2-vue-progressbar.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-progressbar.es5.js +1 -1
- 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/progressbar.component.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-progressbar.umd.min.js
|
|
3
|
-
* version : 24.
|
|
3
|
+
* version : 24.2.5
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-progressbar"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-progressbar","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Progressbar,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var o=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-progressbar-annotations"}}}),r={name:"e-progressbar-annotations",install:function(e){e.component(r.name,o)}},i=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-progressbar-annotation"}}}),a={name:"e-progressbar-annotation",install:function(e){e.component(a.name,i)}},u=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-rangecolors"}}}),c={name:"e-rangecolors",install:function(e){e.component(c.name,u)}},l=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-rangecolor"}}}),d={name:"e-rangecolor",install:function(e){e.component(d.name,l)}},m=["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"],p=[],g=n.getProps({props:m}),h=g[0],f=g[1],v=Object.keys(f);v.push("modelchanged","update:modelValue");for(var j=0,P=p;j<P.length;j++){var C=P[j];v.push("update:"+C)}var b=n.vueDefineComponent({name:"ProgressBarComponent",mixins:[n.ComponentBase],props:h,watch:f,emits:v,provide:function(){return{custom:this.custom}},data:function(){return{
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-progressbar"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-progressbar","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Progressbar,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var o=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-progressbar-annotations"}}}),r={name:"e-progressbar-annotations",install:function(e){e.component(r.name,o)}},i=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-progressbar-annotation"}}}),a={name:"e-progressbar-annotation",install:function(e){e.component(a.name,i)}},u=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-rangecolors"}}}),c={name:"e-rangecolors",install:function(e){e.component(c.name,u)}},l=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-rangecolor"}}}),d={name:"e-rangecolor",install:function(e){e.component(d.name,l)}},m=["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"],p=[],g=n.getProps({props:m}),h=g[0],f=g[1],v=Object.keys(f);v.push("modelchanged","update:modelValue");for(var j=0,P=p;j<P.length;j++){var C=P[j];v.push("update:"+C)}var b=n.vueDefineComponent({name:"ProgressBarComponent",mixins:[n.ComponentBase],props:h,watch:f,emits:v,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.ProgressBar({}),propKeys:m,models:p,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-progressbar-annotations":"e-progressbar-annotation","e-rangecolors":"e-rangecolor"},tagNameMapper:{"e-progressbar-annotations":"e-annotations","e-rangecolors":"e-rangeColors"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var u=a[i];s.getValue("__vue__.$destroy",u)&&u.__vue__.$destroy(),u.innerHTML&&(u.innerHTML="")}delete this.templateCollection[o]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},calculateProgressRange:function(e,t,n){return this.ej2Instances.calculateProgressRange(e,t,n)},calculateSegmentSize:function(e,t){return this.ej2Instances.calculateSegmentSize(e,t)},createClipPath:function(e,t,n,s,o,r,i){return this.ej2Instances.createClipPath(e,t,n,s,o,r,i)},getPathLine:function(e,t,n){return this.ej2Instances.getPathLine(e,t,n)},hide:function(){return this.ej2Instances.hide()},removeSvg:function(){return this.ej2Instances.removeSvg()},requiredModules:function(){return this.ej2Instances.requiredModules()},show:function(){return this.ej2Instances.show()}}}),y={name:"ejs-progressbar",install:function(e){e.component(y.name,b),e.component(a.name,i),e.component(r.name,o),e.component(d.name,l),e.component(c.name,u)}};e.ProgressBarAnnotationsDirective=o,e.ProgressBarAnnotationDirective=i,e.ProgressBarAnnotationsPlugin=r,e.ProgressBarAnnotationPlugin=a,e.RangeColorsDirective=u,e.RangeColorDirective=l,e.RangeColorsPlugin=c,e.RangeColorPlugin=d,e.ProgressBarComponent=b,e.ProgressBarPlugin=y,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-vue-progressbar.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-progressbar.umd.min.js","sources":["../src/progressbar/annotations.directive.js","../src/progressbar/rangecolors.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 { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RangeColorsDirective = 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-rangecolors';\n }\n }\n});\nexport var RangeColorsPlugin = {\n name: 'e-rangecolors',\n install: function (Vue) {\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\nexport var RangeColorDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-rangecolor';\n }\n }\n});\nexport var RangeColorPlugin = {\n name: 'e-rangecolor',\n install: function (Vue) {\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\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';\nimport { RangeColorsDirective, RangeColorDirective, RangeColorsPlugin, RangeColorPlugin } from './rangecolors.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 ej2Instance: new ProgressBar({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-progressbar-annotations\": \"e-progressbar-annotation\", \"e-rangecolors\": \"e-rangecolor\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\", \"e-rangecolors\": \"e-rangeColors\" },\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 Vue.component(RangeColorPlugin.name, RangeColorDirective);\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\n"],"names":["ProgressBarAnnotationsDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","ProgressBarAnnotationsPlugin","name","install","Vue","component","ProgressBarAnnotationDirective","ProgressBarAnnotationPlugin","RangeColorsDirective","RangeColorsPlugin","RangeColorDirective","RangeColorPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","ProgressBarComponent","mixins","ComponentBase","emits","provide","data","ej2Instance","ProgressBar","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-progressbar-annotations","e-rangecolors","tagNameMapper","isVue3","templateCollection","created","bindProperties","ej2Instances","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","calculateProgressRange","value","minimum","maximum","calculateSegmentSize","width","thickness","createClipPath","clipPath","range","d","refresh","isLabel","isMaximum","getPathLine","x","hide","removeSvg","requiredModules","show","ProgressBarPlugin"],"mappings":"8ZAEO,IAAIA,EAAkCC,sBACzCC,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OC,EAASC,IAEpEC,qBAAsB,SAAUC,EAAOC,GACnC,OAAOlF,KAAKmD,aAAa6B,qBAAqBC,EAAOC,IAEzDC,eAAgB,SAAUC,EAAUC,EAAOC,EAAGC,EAASL,EAAWM,EAASC,GACvE,OAAOzF,KAAKmD,aAAagC,eAAeC,EAAUC,EAAOC,EAAGC,EAASL,EAAWM,EAASC,IAE7FC,YAAa,SAAUC,EAAGV,EAAOC,GAC7B,OAAOlF,KAAKmD,aAAauC,YAAYC,EAAGV,EAAOC,IAEnDU,KAAM,WACF,OAAO5F,KAAKmD,aAAayC,QAE7BC,UAAW,WACP,OAAO7F,KAAKmD,aAAa0C,aAE7BC,gBAAiB,WACb,OAAO9F,KAAKmD,aAAa2C,mBAE7BC,KAAM,WACF,OAAO/F,KAAKmD,aAAa4C,WAI1BC,GACPzF,KAAM,kBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUsF,EAAkBzF,KAAMwB,GACtCtB,EAAIC,UAAUE,EAA4BL,KAAMI,GAChDF,EAAIC,UAAUJ,EAA6BC,KAAMnB,GACjDqB,EAAIC,UAAUM,EAAiBT,KAAMQ,GACrCN,EAAIC,UAAUI,EAAkBP,KAAMM"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-progressbar.umd.min.js","sources":["../src/progressbar/annotations.directive.js","../src/progressbar/rangecolors.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 { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RangeColorsDirective = 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-rangecolors';\n }\n }\n});\nexport var RangeColorsPlugin = {\n name: 'e-rangecolors',\n install: function (Vue) {\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\nexport var RangeColorDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-rangecolor';\n }\n }\n});\nexport var RangeColorPlugin = {\n name: 'e-rangecolor',\n install: function (Vue) {\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\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';\nimport { RangeColorsDirective, RangeColorDirective, RangeColorsPlugin, RangeColorPlugin } from './rangecolors.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\", \"e-rangecolors\": \"e-rangecolor\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\", \"e-rangecolors\": \"e-rangeColors\" },\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 Vue.component(RangeColorPlugin.name, RangeColorDirective);\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\n"],"names":["ProgressBarAnnotationsDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","ProgressBarAnnotationsPlugin","name","install","Vue","component","ProgressBarAnnotationDirective","ProgressBarAnnotationPlugin","RangeColorsDirective","RangeColorsPlugin","RangeColorDirective","RangeColorPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","ProgressBarComponent","mixins","ComponentBase","emits","provide","data","ej2Instances","ProgressBar","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-progressbar-annotations","e-rangecolors","tagNameMapper","isVue3","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","calculateProgressRange","value","minimum","maximum","calculateSegmentSize","width","thickness","createClipPath","clipPath","range","d","refresh","isLabel","isMaximum","getPath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ETwE,uBAAwB,SAAUC,EAAOC,EAASC,GAC9C,OAAO9E,KAAKqC,aAAasC,uBAAuBC,EAAOC,EAASC,IAEpEC,qBAAsB,SAAUC,EAAOC,GACnC,OAAOjF,KAAKqC,aAAa0C,qBAAqBC,EAAOC,IAEzDC,eAAgB,SAAUC,EAAUC,EAAOC,EAAGC,EAASL,EAAWM,EAASC,GACvE,OAAOxF,KAAKqC,aAAa6C,eAAeC,EAAUC,EAAOC,EAAGC,EAASL,EAAWM,EAASC,IAE7FC,YAAa,SAAUC,EAAGV,EAAOC,GAC7B,OAAOjF,KAAKqC,aAAaoD,YAAYC,EAAGV,EAAOC,IAEnDU,KAAM,WACF,OAAO3F,KAAKqC,aAAasD,QAE7BC,UAAW,WACP,OAAO5F,KAAKqC,aAAauD,aAE7BC,gBAAiB,WACb,OAAO7F,KAAKqC,aAAawD,mBAE7BC,KAAM,WACF,OAAO9F,KAAKqC,aAAayD,WAI1BC,GACPxF,KAAM,kBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUqF,EAAkBxF,KAAMwB,GACtCtB,EAAIC,UAAUE,EAA4BL,KAAMI,GAChDF,EAAIC,UAAUJ,EAA6BC,KAAMnB,GACjDqB,EAAIC,UAAUM,EAAiBT,KAAMQ,GACrCN,EAAIC,UAAUI,EAAkBP,KAAMM"}
|
|
@@ -121,7 +121,7 @@ let ProgressBarComponent = vueDefineComponent({
|
|
|
121
121
|
provide() { return { custom: this.custom }; },
|
|
122
122
|
data() {
|
|
123
123
|
return {
|
|
124
|
-
|
|
124
|
+
ej2Instances: new ProgressBar({}),
|
|
125
125
|
propKeys: properties,
|
|
126
126
|
models: modelProps,
|
|
127
127
|
hasChildDirective: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-progressbar.es2015.js","sources":["../src/es6/progressbar/annotations.directive.js","../src/es6/progressbar/rangecolors.directive.js","../src/es6/progressbar/progressbar.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let ProgressBarAnnotationsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let 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() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-progressbar-annotations';\n }\n }\n});\nexport const ProgressBarAnnotationsPlugin = {\n name: 'e-progressbar-annotations',\n install(Vue) {\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n }\n};\nexport let ProgressBarAnnotationDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-progressbar-annotation';\n }\n }\n});\nexport const ProgressBarAnnotationPlugin = {\n name: 'e-progressbar-annotation',\n install(Vue) {\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let RangeColorsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let 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() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-rangecolors';\n }\n }\n});\nexport const RangeColorsPlugin = {\n name: 'e-rangecolors',\n install(Vue) {\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\nexport let RangeColorDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-rangecolor';\n }\n }\n});\nexport const RangeColorPlugin = {\n name: 'e-rangecolor',\n install(Vue) {\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\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';\nimport { RangeColorsDirective, RangeColorDirective, RangeColorsPlugin, RangeColorPlugin } from './rangecolors.directive';\nexport const 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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents Vuejs ProgressBar Component\n * ```vue\n * <ejs-progressbar></ejs-progressbar>\n * ```\n */\nexport let ProgressBarComponent = vueDefineComponent({\n name: 'ProgressBarComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instance: new ProgressBar({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-progressbar-annotations\": \"e-progressbar-annotation\", \"e-rangecolors\": \"e-rangecolor\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\", \"e-rangecolors\": \"e-rangeColors\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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(createElement) {\n let h = !isExecute ? gh : createElement;\n let 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(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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(prop, muteOnChange) {\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((key) => {\n this.models.map((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() {\n this.updated();\n },\n calculateProgressRange(value, minimum, maximum) {\n return this.ej2Instances.calculateProgressRange(value, minimum, maximum);\n },\n calculateSegmentSize(width, thickness) {\n return this.ej2Instances.calculateSegmentSize(width, thickness);\n },\n createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum) {\n return this.ej2Instances.createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum);\n },\n getPathLine(x, width, thickness) {\n return this.ej2Instances.getPathLine(x, width, thickness);\n },\n hide() {\n return this.ej2Instances.hide();\n },\n removeSvg() {\n return this.ej2Instances.removeSvg();\n },\n requiredModules() {\n return this.ej2Instances.requiredModules();\n },\n show() {\n return this.ej2Instances.show();\n },\n }\n});\nexport const ProgressBarPlugin = {\n name: 'ejs-progressbar',\n install(Vue) {\n Vue.component(ProgressBarPlugin.name, ProgressBarComponent);\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\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,CAAC,aAAa,EAAE;QAClB,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,EAAE,GAAG,aAAa,CAAC;YACxC,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACzC,KAAK,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;aACpE;YACD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EA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AC,YAAY,CAAC,SAAS,EAAE,CAAC;SACxC;QACD,eAAe,GAAG;YACd,OAAO,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;SAC9C;QACD,IAAI,GAAG;YACH,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SACnC;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,iBAAiB;IACvB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;QAC5D,GAAG,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,EAAE,8BAA8B,CAAC,CAAC;QAChF,GAAG,CAAC,SAAS,CAAC,4BAA4B,CAAC,IAAI,EAAE,+BAA+B,CAAC,CAAC;QAClF,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;QAC1D,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;KAC/D;CACJ;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-progressbar.es2015.js","sources":["../src/es6/progressbar/annotations.directive.js","../src/es6/progressbar/rangecolors.directive.js","../src/es6/progressbar/progressbar.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let ProgressBarAnnotationsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let 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() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-progressbar-annotations';\n }\n }\n});\nexport const ProgressBarAnnotationsPlugin = {\n name: 'e-progressbar-annotations',\n install(Vue) {\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n }\n};\nexport let ProgressBarAnnotationDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-progressbar-annotation';\n }\n }\n});\nexport const ProgressBarAnnotationPlugin = {\n name: 'e-progressbar-annotation',\n install(Vue) {\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let RangeColorsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let 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() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-rangecolors';\n }\n }\n});\nexport const RangeColorsPlugin = {\n name: 'e-rangecolors',\n install(Vue) {\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\nexport let RangeColorDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-rangecolor';\n }\n }\n});\nexport const RangeColorPlugin = {\n name: 'e-rangecolor',\n install(Vue) {\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\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';\nimport { RangeColorsDirective, RangeColorDirective, RangeColorsPlugin, RangeColorPlugin } from './rangecolors.directive';\nexport const 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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents Vuejs ProgressBar Component\n * ```vue\n * <ejs-progressbar></ejs-progressbar>\n * ```\n */\nexport let ProgressBarComponent = vueDefineComponent({\n name: 'ProgressBarComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\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\", \"e-rangecolors\": \"e-rangecolor\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\", \"e-rangecolors\": \"e-rangeColors\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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(createElement) {\n let h = !isExecute ? gh : createElement;\n let 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(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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(prop, muteOnChange) {\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((key) => {\n this.models.map((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() {\n this.updated();\n },\n calculateProgressRange(value, minimum, maximum) {\n return this.ej2Instances.calculateProgressRange(value, minimum, maximum);\n },\n calculateSegmentSize(width, thickness) {\n return this.ej2Instances.calculateSegmentSize(width, thickness);\n },\n createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum) {\n return this.ej2Instances.createClipPath(clipPath, range, d, refresh, thickness, isLabel, isMaximum);\n },\n getPathLine(x, width, thickness) {\n return this.ej2Instances.getPathLine(x, width, thickness);\n },\n hide() {\n return this.ej2Instances.hide();\n },\n removeSvg() {\n return this.ej2Instances.removeSvg();\n },\n requiredModules() {\n return this.ej2Instances.requiredModules();\n },\n show() {\n return this.ej2Instances.show();\n },\n }\n});\nexport const ProgressBarPlugin = {\n name: 'ejs-progressbar',\n install(Vue) {\n Vue.component(ProgressBarPlugin.name, ProgressBarComponent);\n Vue.component(ProgressBarAnnotationPlugin.name, ProgressBarAnnotationDirective);\n Vue.component(ProgressBarAnnotationsPlugin.name, ProgressBarAnnotationsDirective);\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\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,CAAC,aAAa,EAAE;QAClB,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,EAAE,GAAG,aAAa,CAAC;YACxC,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACzC,KAAK,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;aACpE;YACD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,KAAK,CAAC,CAAC;SACpD;QACD,OAAO;KACV;IACD,OAAO,GAAG;QACN,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;SACjB;KACJ;IACD,OAAO,EAAE;QACL,MAAM,GAAG;YACL,OAAO,2BAA2B,CAAC;SACtC;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,4BAA4B,GAAG;IACxC,IAAI,EAAE,2BAA2B;IACjC,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,C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AE,oBAAoB,CAAC,CAAC;QAC5D,GAAG,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,EAAE,8BAA8B,CAAC,CAAC;QAChF,GAAG,CAAC,SAAS,CAAC,4BAA4B,CAAC,IAAI,EAAE,+BAA+B,CAAC,CAAC;QAClF,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;QAC1D,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;KAC/D;CACJ;;;;;"}
|
|
@@ -122,7 +122,7 @@ var ProgressBarComponent = vueDefineComponent({
|
|
|
122
122
|
provide: function () { return { custom: this.custom }; },
|
|
123
123
|
data: function () {
|
|
124
124
|
return {
|
|
125
|
-
|
|
125
|
+
ej2Instances: new ProgressBar({}),
|
|
126
126
|
propKeys: properties,
|
|
127
127
|
models: modelProps,
|
|
128
128
|
hasChildDirective: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-progressbar.es5.js","sources":["../../src/progressbar/annotations.directive.js","../../src/progressbar/rangecolors.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 { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RangeColorsDirective = 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-rangecolors';\n }\n }\n});\nexport var RangeColorsPlugin = {\n name: 'e-rangecolors',\n install: function (Vue) {\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\nexport var RangeColorDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-rangecolor';\n }\n }\n});\nexport var RangeColorPlugin = {\n name: 'e-rangecolor',\n install: function (Vue) {\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\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';\nimport { RangeColorsDirective, RangeColorDirective, RangeColorsPlugin, RangeColorPlugin } from './rangecolors.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 ej2Instance: new ProgressBar({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-progressbar-annotations\": \"e-progressbar-annotation\", \"e-rangecolors\": \"e-rangecolor\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\", \"e-rangecolors\": \"e-rangeColors\" },\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 Vue.component(RangeColorPlugin.name, RangeColorDirective);\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\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,EAAE,UAAU,aAAa,EAAE;QAC7B,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,EAAE,GAAG,aAAa,CAAC;YACxC,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACzC,KAAK,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;aACpE;YACD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,KAAK,CAAC,CAAC;SACpD;QACD,OAAO;KACV;IACD,OAAO,EAAE,YAAY;QACjB,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;SACjB;KACJ;IACD,OAAO,EAAE;QACL,MAAM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angecolors.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 { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RangeColorsDirective = 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-rangecolors';\n }\n }\n});\nexport var RangeColorsPlugin = {\n name: 'e-rangecolors',\n install: function (Vue) {\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\n }\n};\nexport var RangeColorDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-rangecolor';\n }\n }\n});\nexport var RangeColorPlugin = {\n name: 'e-rangecolor',\n install: function (Vue) {\n Vue.component(RangeColorPlugin.name, RangeColorDirective);\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';\nimport { RangeColorsDirective, RangeColorDirective, RangeColorsPlugin, RangeColorPlugin } from './rangecolors.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\", \"e-rangecolors\": \"e-rangecolor\" },\n tagNameMapper: { \"e-progressbar-annotations\": \"e-annotations\", \"e-rangecolors\": \"e-rangeColors\" },\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 Vue.component(RangeColorPlugin.name, RangeColorDirective);\n Vue.component(RangeColorsPlugin.name, RangeColorsDirective);\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,EAAE,UAAU,aAAa,EAAE;QAC7B,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAA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