xt-element-ui 2.1.61 → 2.2.0

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.
Files changed (202) hide show
  1. package/docs/components/base/xt-bar.md +5 -5
  2. package/docs/components/base/xt-chart.md +5 -5
  3. package/docs/components/base/xt-line.md +4 -4
  4. package/docs/components/base/xt-multi.md +5 -5
  5. package/docs/components/base/xt-pie.md +5 -5
  6. package/lib/index.common.js +503 -165
  7. package/lib/index.css +1 -1
  8. package/lib/index.umd.js +506 -168
  9. package/lib/index.umd.min.js +1 -1
  10. package/lib/xt-badge/demo.html +10 -0
  11. package/lib/xt-badge/index.js +1 -0
  12. package/lib/xt-badge/xt-badge.common.js +335 -0
  13. package/lib/xt-badge/xt-badge.css +1 -0
  14. package/lib/xt-badge/xt-badge.umd.js +345 -0
  15. package/lib/xt-badge/xt-badge.umd.min.js +1 -0
  16. package/lib/xt-button/demo.html +10 -0
  17. package/lib/xt-button/index.js +1 -0
  18. package/lib/xt-button/xt-button.common.js +331 -0
  19. package/lib/xt-button/xt-button.css +1 -0
  20. package/lib/xt-button/xt-button.umd.js +341 -0
  21. package/lib/xt-button/xt-button.umd.min.js +1 -0
  22. package/lib/xt-card/demo.html +10 -0
  23. package/lib/xt-card/index.js +1 -0
  24. package/lib/xt-card/xt-card.common.js +325 -0
  25. package/lib/xt-card/xt-card.css +1 -0
  26. package/lib/xt-card/xt-card.umd.js +335 -0
  27. package/lib/xt-card/xt-card.umd.min.js +1 -0
  28. package/lib/xt-card-item/demo.html +10 -0
  29. package/lib/xt-card-item/index.js +1 -0
  30. package/lib/xt-card-item/xt-card-item.common.js +291 -0
  31. package/lib/xt-card-item/xt-card-item.css +1 -0
  32. package/lib/xt-card-item/xt-card-item.umd.js +301 -0
  33. package/lib/xt-card-item/xt-card-item.umd.min.js +1 -0
  34. package/lib/xt-chart/demo.html +10 -0
  35. package/lib/xt-chart/index.js +1 -0
  36. package/lib/xt-chart/xt-chart.common.js +109203 -0
  37. package/lib/xt-chart/xt-chart.css +1 -0
  38. package/lib/xt-chart/xt-chart.umd.js +109213 -0
  39. package/lib/xt-chart/xt-chart.umd.min.js +1 -0
  40. package/lib/xt-config-provider/demo.html +10 -0
  41. package/lib/xt-config-provider/index.js +1 -0
  42. package/lib/xt-config-provider/xt-config-provider.common.js +108388 -0
  43. package/lib/xt-config-provider/xt-config-provider.css +1 -0
  44. package/lib/xt-config-provider/xt-config-provider.umd.js +108398 -0
  45. package/lib/xt-config-provider/xt-config-provider.umd.min.js +1 -0
  46. package/lib/xt-date-picker/demo.html +10 -0
  47. package/lib/xt-date-picker/index.js +1 -0
  48. package/lib/xt-date-picker/xt-date-picker.common.js +768 -0
  49. package/lib/xt-date-picker/xt-date-picker.css +1 -0
  50. package/lib/xt-date-picker/xt-date-picker.umd.js +778 -0
  51. package/lib/xt-date-picker/xt-date-picker.umd.min.js +1 -0
  52. package/lib/xt-flex-box/demo.html +10 -0
  53. package/lib/xt-flex-box/index.js +1 -0
  54. package/lib/xt-flex-box/xt-flex-box.common.js +303 -0
  55. package/lib/xt-flex-box/xt-flex-box.css +1 -0
  56. package/lib/xt-flex-box/xt-flex-box.umd.js +313 -0
  57. package/lib/xt-flex-box/xt-flex-box.umd.min.js +1 -0
  58. package/lib/xt-form-schema/demo.html +10 -0
  59. package/lib/xt-form-schema/index.js +1 -0
  60. package/lib/xt-form-schema/xt-form-schema.common.js +510 -0
  61. package/lib/xt-form-schema/xt-form-schema.css +1 -0
  62. package/lib/xt-form-schema/xt-form-schema.umd.js +520 -0
  63. package/lib/xt-form-schema/xt-form-schema.umd.min.js +1 -0
  64. package/lib/xt-grid-box/demo.html +10 -0
  65. package/lib/xt-grid-box/index.js +1 -0
  66. package/lib/xt-grid-box/xt-grid-box.common.js +404 -0
  67. package/lib/xt-grid-box/xt-grid-box.css +1 -0
  68. package/lib/xt-grid-box/xt-grid-box.umd.js +414 -0
  69. package/lib/xt-grid-box/xt-grid-box.umd.min.js +1 -0
  70. package/lib/xt-grid-item/demo.html +10 -0
  71. package/lib/xt-grid-item/index.js +1 -0
  72. package/lib/xt-grid-item/xt-grid-item.common.js +381 -0
  73. package/lib/xt-grid-item/xt-grid-item.css +1 -0
  74. package/lib/xt-grid-item/xt-grid-item.umd.js +391 -0
  75. package/lib/xt-grid-item/xt-grid-item.umd.min.js +1 -0
  76. package/lib/xt-icon/demo.html +10 -0
  77. package/lib/xt-icon/index.js +1 -0
  78. package/lib/xt-icon/xt-icon.common.js +430 -0
  79. package/lib/xt-icon/xt-icon.css +1 -0
  80. package/lib/xt-icon/xt-icon.umd.js +440 -0
  81. package/lib/xt-icon/xt-icon.umd.min.js +1 -0
  82. package/lib/xt-input/demo.html +10 -0
  83. package/lib/xt-input/index.js +1 -0
  84. package/lib/xt-input/xt-input.common.js +584 -0
  85. package/lib/xt-input/xt-input.css +1 -0
  86. package/lib/xt-input/xt-input.umd.js +594 -0
  87. package/lib/xt-input/xt-input.umd.min.js +1 -0
  88. package/lib/xt-list/demo.html +10 -0
  89. package/lib/xt-list/index.js +1 -0
  90. package/lib/xt-list/xt-list.common.js +714 -0
  91. package/lib/xt-list/xt-list.css +1 -0
  92. package/lib/xt-list/xt-list.umd.js +724 -0
  93. package/lib/xt-list/xt-list.umd.min.js +1 -0
  94. package/lib/xt-map/demo.html +10 -0
  95. package/lib/xt-map/index.js +1 -0
  96. package/lib/xt-map/xt-map.common.js +1951 -0
  97. package/lib/xt-map/xt-map.css +1 -0
  98. package/lib/xt-map/xt-map.umd.js +1961 -0
  99. package/lib/xt-map/xt-map.umd.min.js +1 -0
  100. package/lib/xt-map-provider/demo.html +10 -0
  101. package/lib/xt-map-provider/index.js +1 -0
  102. package/lib/xt-map-provider/xt-map-provider.common.js +644 -0
  103. package/lib/xt-map-provider/xt-map-provider.css +1 -0
  104. package/lib/xt-map-provider/xt-map-provider.umd.js +654 -0
  105. package/lib/xt-map-provider/xt-map-provider.umd.min.js +1 -0
  106. package/lib/xt-page/demo.html +10 -0
  107. package/lib/xt-page/index.js +1 -0
  108. package/lib/xt-page/xt-page.common.js +353 -0
  109. package/lib/xt-page/xt-page.css +1 -0
  110. package/lib/xt-page/xt-page.umd.js +363 -0
  111. package/lib/xt-page/xt-page.umd.min.js +1 -0
  112. package/lib/xt-progress/demo.html +10 -0
  113. package/lib/xt-progress/index.js +1 -0
  114. package/lib/xt-progress/xt-progress.common.js +327 -0
  115. package/lib/xt-progress/xt-progress.css +1 -0
  116. package/lib/xt-progress/xt-progress.umd.js +337 -0
  117. package/lib/xt-progress/xt-progress.umd.min.js +1 -0
  118. package/lib/xt-scroll-arrow/demo.html +10 -0
  119. package/lib/xt-scroll-arrow/index.js +1 -0
  120. package/lib/xt-scroll-arrow/xt-scroll-arrow.common.js +495 -0
  121. package/lib/xt-scroll-arrow/xt-scroll-arrow.css +1 -0
  122. package/lib/xt-scroll-arrow/xt-scroll-arrow.umd.js +505 -0
  123. package/lib/xt-scroll-arrow/xt-scroll-arrow.umd.min.js +1 -0
  124. package/lib/xt-select-tree/demo.html +10 -0
  125. package/lib/xt-select-tree/index.js +1 -0
  126. package/lib/xt-select-tree/xt-select-tree.common.js +1791 -0
  127. package/lib/xt-select-tree/xt-select-tree.css +1 -0
  128. package/lib/xt-select-tree/xt-select-tree.umd.js +1801 -0
  129. package/lib/xt-select-tree/xt-select-tree.umd.min.js +1 -0
  130. package/lib/xt-step-price/demo.html +10 -0
  131. package/lib/xt-step-price/index.js +1 -0
  132. package/lib/xt-step-price/xt-step-price.common.js +800 -0
  133. package/lib/xt-step-price/xt-step-price.css +1 -0
  134. package/lib/xt-step-price/xt-step-price.umd.js +810 -0
  135. package/lib/xt-step-price/xt-step-price.umd.min.js +1 -0
  136. package/lib/xt-step-price-item/demo.html +10 -0
  137. package/lib/xt-step-price-item/index.js +1 -0
  138. package/lib/xt-step-price-item/xt-step-price-item.common.js +417 -0
  139. package/lib/xt-step-price-item/xt-step-price-item.umd.js +427 -0
  140. package/lib/xt-step-price-item/xt-step-price-item.umd.min.js +1 -0
  141. package/lib/xt-tab-pane/demo.html +10 -0
  142. package/lib/xt-tab-pane/index.js +1 -0
  143. package/lib/xt-tab-pane/xt-tab-pane.common.js +309 -0
  144. package/lib/xt-tab-pane/xt-tab-pane.umd.js +319 -0
  145. package/lib/xt-tab-pane/xt-tab-pane.umd.min.js +1 -0
  146. package/lib/xt-table/demo.html +10 -0
  147. package/lib/xt-table/index.js +1 -0
  148. package/lib/xt-table/xt-table.common.js +1027 -0
  149. package/lib/xt-table/xt-table.css +1 -0
  150. package/lib/xt-table/xt-table.umd.js +1037 -0
  151. package/lib/xt-table/xt-table.umd.min.js +1 -0
  152. package/lib/xt-tabs/demo.html +10 -0
  153. package/lib/xt-tabs/index.js +1 -0
  154. package/lib/xt-tabs/xt-tabs.common.js +463 -0
  155. package/lib/xt-tabs/xt-tabs.css +1 -0
  156. package/lib/xt-tabs/xt-tabs.umd.js +473 -0
  157. package/lib/xt-tabs/xt-tabs.umd.min.js +1 -0
  158. package/lib/xt-text/demo.html +10 -0
  159. package/lib/xt-text/index.js +1 -0
  160. package/lib/xt-text/xt-text.common.js +536 -0
  161. package/lib/xt-text/xt-text.css +1 -0
  162. package/lib/xt-text/xt-text.umd.js +546 -0
  163. package/lib/xt-text/xt-text.umd.min.js +1 -0
  164. package/lib/xt-time/demo.html +10 -0
  165. package/lib/xt-time/index.js +1 -0
  166. package/lib/xt-time/xt-time.common.js +555 -0
  167. package/lib/xt-time/xt-time.css +1 -0
  168. package/lib/xt-time/xt-time.umd.js +565 -0
  169. package/lib/xt-time/xt-time.umd.min.js +1 -0
  170. package/lib/xt-transfer-tree/demo.html +10 -0
  171. package/lib/xt-transfer-tree/index.js +1 -0
  172. package/lib/xt-transfer-tree/xt-transfer-tree.common.js +594 -0
  173. package/lib/xt-transfer-tree/xt-transfer-tree.css +1 -0
  174. package/lib/xt-transfer-tree/xt-transfer-tree.umd.js +604 -0
  175. package/lib/xt-transfer-tree/xt-transfer-tree.umd.min.js +1 -0
  176. package/lib/xt-upload/demo.html +10 -0
  177. package/lib/xt-upload/index.js +1 -0
  178. package/lib/xt-upload/xt-upload.common.js +1292 -0
  179. package/lib/xt-upload/xt-upload.css +1 -0
  180. package/lib/xt-upload/xt-upload.umd.js +1302 -0
  181. package/lib/xt-upload/xt-upload.umd.min.js +1 -0
  182. package/package.json +10 -7
  183. package/src/components/xt-badge/index.js +8 -7
  184. package/src/components/xt-button/index.js +1 -0
  185. package/src/components/xt-card/index.js +1 -0
  186. package/src/components/xt-card-item/index.js +1 -0
  187. package/src/components/xt-config-provider/index.js +1 -0
  188. package/src/components/xt-flex-box/index.js +1 -0
  189. package/src/components/xt-grid-box/index.js +1 -0
  190. package/src/components/xt-icon/index.js +1 -0
  191. package/src/components/xt-input/index.js +1 -0
  192. package/src/components/xt-map/index.js +1 -0
  193. package/src/components/xt-progress/index.js +8 -7
  194. package/src/components/xt-scroll-arrow/index.js +8 -7
  195. package/src/components/xt-step-price/index.js +1 -0
  196. package/src/components/xt-tab-pane/index.js +10 -0
  197. package/src/components/{xt-tabs/TabPane.vue → xt-tab-pane/index.vue} +14 -1
  198. package/src/components/xt-tabs/index.js +9 -10
  199. package/src/components/xt-tabs/index.vue +303 -44
  200. package/src/components/xt-text/index.js +1 -0
  201. package/src/components/xt-time/index.js +1 -0
  202. package/src/index.js +34 -2
@@ -0,0 +1,327 @@
1
+ module.exports =
2
+ /******/ (function(modules) { // webpackBootstrap
3
+ /******/ // The module cache
4
+ /******/ var installedModules = {};
5
+ /******/
6
+ /******/ // The require function
7
+ /******/ function __webpack_require__(moduleId) {
8
+ /******/
9
+ /******/ // Check if module is in cache
10
+ /******/ if(installedModules[moduleId]) {
11
+ /******/ return installedModules[moduleId].exports;
12
+ /******/ }
13
+ /******/ // Create a new module (and put it into the cache)
14
+ /******/ var module = installedModules[moduleId] = {
15
+ /******/ i: moduleId,
16
+ /******/ l: false,
17
+ /******/ exports: {}
18
+ /******/ };
19
+ /******/
20
+ /******/ // Execute the module function
21
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
+ /******/
23
+ /******/ // Flag the module as loaded
24
+ /******/ module.l = true;
25
+ /******/
26
+ /******/ // Return the exports of the module
27
+ /******/ return module.exports;
28
+ /******/ }
29
+ /******/
30
+ /******/
31
+ /******/ // expose the modules object (__webpack_modules__)
32
+ /******/ __webpack_require__.m = modules;
33
+ /******/
34
+ /******/ // expose the module cache
35
+ /******/ __webpack_require__.c = installedModules;
36
+ /******/
37
+ /******/ // define getter function for harmony exports
38
+ /******/ __webpack_require__.d = function(exports, name, getter) {
39
+ /******/ if(!__webpack_require__.o(exports, name)) {
40
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
+ /******/ }
42
+ /******/ };
43
+ /******/
44
+ /******/ // define __esModule on exports
45
+ /******/ __webpack_require__.r = function(exports) {
46
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
+ /******/ }
49
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
+ /******/ };
51
+ /******/
52
+ /******/ // create a fake namespace object
53
+ /******/ // mode & 1: value is a module id, require it
54
+ /******/ // mode & 2: merge all properties of value into the ns
55
+ /******/ // mode & 4: return value when already ns object
56
+ /******/ // mode & 8|1: behave like require
57
+ /******/ __webpack_require__.t = function(value, mode) {
58
+ /******/ if(mode & 1) value = __webpack_require__(value);
59
+ /******/ if(mode & 8) return value;
60
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
+ /******/ var ns = Object.create(null);
62
+ /******/ __webpack_require__.r(ns);
63
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
+ /******/ return ns;
66
+ /******/ };
67
+ /******/
68
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
69
+ /******/ __webpack_require__.n = function(module) {
70
+ /******/ var getter = module && module.__esModule ?
71
+ /******/ function getDefault() { return module['default']; } :
72
+ /******/ function getModuleExports() { return module; };
73
+ /******/ __webpack_require__.d(getter, 'a', getter);
74
+ /******/ return getter;
75
+ /******/ };
76
+ /******/
77
+ /******/ // Object.prototype.hasOwnProperty.call
78
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
+ /******/
80
+ /******/ // __webpack_public_path__
81
+ /******/ __webpack_require__.p = "";
82
+ /******/
83
+ /******/
84
+ /******/ // Load entry module and return exports
85
+ /******/ return __webpack_require__(__webpack_require__.s = "fb15");
86
+ /******/ })
87
+ /************************************************************************/
88
+ /******/ ({
89
+
90
+ /***/ "2e12":
91
+ /***/ (function(module, exports, __webpack_require__) {
92
+
93
+ // extracted by mini-css-extract-plugin
94
+
95
+ /***/ }),
96
+
97
+ /***/ "fb15":
98
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
+
100
+ "use strict";
101
+ // ESM COMPAT FLAG
102
+ __webpack_require__.r(__webpack_exports__);
103
+
104
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
105
+ // This file is imported into lib/wc client bundles.
106
+
107
+ if (typeof window !== 'undefined') {
108
+ var currentScript = window.document.currentScript
109
+ if (false) { var getCurrentScript; }
110
+
111
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
112
+ if (src) {
113
+ __webpack_require__.p = src[1] // eslint-disable-line
114
+ }
115
+ }
116
+
117
+ // Indicate to webpack that this file can be concatenated
118
+ /* harmony default export */ var setPublicPath = (null);
119
+
120
+ // EXTERNAL MODULE: ./src/components/xt-progress/style/index.scss
121
+ var style = __webpack_require__("2e12");
122
+
123
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b8cd9b04-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-progress/index.vue?vue&type=template&id=76c95a92
124
+ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-progress",class:[
125
+ `xt-progress--${_vm.type}`,
126
+ `xt-progress--${_vm.size}`
127
+ ]},[(_vm.type === 'line')?_c('div',{staticClass:"xt-progress__bar"},[_c('div',{staticClass:"xt-progress__bar-inner",style:({ width: `${_vm.percentage}%`, backgroundColor: _vm.color })},[_c('transition',{attrs:{"name":"xt-progress-fade"}},[(_vm.showText)?_c('div',{staticClass:"xt-progress__bar-text"},[_vm._v(_vm._s(_vm.percentage)+"%")]):_vm._e()])],1)]):(_vm.type === 'circle')?_c('div',{staticClass:"xt-progress__circle"},[_c('svg',{staticClass:"xt-progress__circle-svg",attrs:{"width":_vm.circleSize,"height":_vm.circleSize}},[_c('circle',{staticClass:"xt-progress__circle-bg",attrs:{"cx":_vm.circleSize / 2,"cy":_vm.circleSize / 2,"r":_vm.circleRadius,"fill":"none","stroke":_vm.bgColor,"stroke-width":_vm.strokeWidth}}),_c('circle',{staticClass:"xt-progress__circle-bar",attrs:{"cx":_vm.circleSize / 2,"cy":_vm.circleSize / 2,"r":_vm.circleRadius,"fill":"none","stroke":_vm.color,"stroke-width":_vm.strokeWidth,"stroke-dasharray":_vm.circleLength,"stroke-dashoffset":_vm.circleOffset,"stroke-linecap":"round","transform":"rotate(-90 ${circleSize / 2} ${circleSize / 2})"}})]),(_vm.showText)?_c('div',{staticClass:"xt-progress__circle-text"},[_c('span',{staticClass:"xt-progress__circle-percent"},[_vm._v(_vm._s(_vm.percentage)+"%")])]):_vm._e()]):_vm._e(),(_vm.showText && _vm.type === 'line')?_c('div',{staticClass:"xt-progress__text"},[_vm._v(_vm._s(_vm.percentage)+"%")]):_vm._e()])
128
+ }
129
+ var staticRenderFns = []
130
+
131
+
132
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.vue?vue&type=template&id=76c95a92
133
+
134
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-progress/index.vue?vue&type=script&lang=js
135
+
136
+ /* harmony default export */ var xt_progressvue_type_script_lang_js = ({
137
+ name: 'XtProgress',
138
+ props: {
139
+ percentage: {
140
+ type: Number,
141
+ default: 0,
142
+ validator: (val) => val >= 0 && val <= 100
143
+ },
144
+ type: {
145
+ type: String,
146
+ default: 'line',
147
+ validator: (val) => ['line', 'circle'].includes(val)
148
+ },
149
+ size: {
150
+ type: String,
151
+ default: 'medium',
152
+ validator: (val) => ['small', 'medium', 'large'].includes(val)
153
+ },
154
+ color: {
155
+ type: String,
156
+ default: '#1890ff'
157
+ },
158
+ bgColor: {
159
+ type: String,
160
+ default: '#ebeef5'
161
+ },
162
+ showText: {
163
+ type: Boolean,
164
+ default: true
165
+ },
166
+ strokeWidth: {
167
+ type: Number,
168
+ default: 6
169
+ },
170
+ circleSize: {
171
+ type: Number,
172
+ default: 120
173
+ }
174
+ },
175
+ computed: {
176
+ circleRadius() {
177
+ return (this.circleSize - this.strokeWidth) / 2
178
+ },
179
+ circleLength() {
180
+ return 2 * Math.PI * this.circleRadius
181
+ },
182
+ circleOffset() {
183
+ return this.circleLength * (1 - this.percentage / 100)
184
+ }
185
+ }
186
+ });
187
+
188
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.vue?vue&type=script&lang=js
189
+ /* harmony default export */ var components_xt_progressvue_type_script_lang_js = (xt_progressvue_type_script_lang_js);
190
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
191
+ /* globals __VUE_SSR_CONTEXT__ */
192
+
193
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
194
+ // This module is a runtime utility for cleaner component module output and will
195
+ // be included in the final webpack user bundle.
196
+
197
+ function normalizeComponent(
198
+ scriptExports,
199
+ render,
200
+ staticRenderFns,
201
+ functionalTemplate,
202
+ injectStyles,
203
+ scopeId,
204
+ moduleIdentifier /* server only */,
205
+ shadowMode /* vue-cli only */
206
+ ) {
207
+ // Vue.extend constructor export interop
208
+ var options =
209
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
210
+
211
+ // render functions
212
+ if (render) {
213
+ options.render = render
214
+ options.staticRenderFns = staticRenderFns
215
+ options._compiled = true
216
+ }
217
+
218
+ // functional template
219
+ if (functionalTemplate) {
220
+ options.functional = true
221
+ }
222
+
223
+ // scopedId
224
+ if (scopeId) {
225
+ options._scopeId = 'data-v-' + scopeId
226
+ }
227
+
228
+ var hook
229
+ if (moduleIdentifier) {
230
+ // server build
231
+ hook = function (context) {
232
+ // 2.3 injection
233
+ context =
234
+ context || // cached call
235
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
236
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
237
+ // 2.2 with runInNewContext: true
238
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
239
+ context = __VUE_SSR_CONTEXT__
240
+ }
241
+ // inject component styles
242
+ if (injectStyles) {
243
+ injectStyles.call(this, context)
244
+ }
245
+ // register component module identifier for async chunk inferrence
246
+ if (context && context._registeredComponents) {
247
+ context._registeredComponents.add(moduleIdentifier)
248
+ }
249
+ }
250
+ // used by ssr in case component is cached and beforeCreate
251
+ // never gets called
252
+ options._ssrRegister = hook
253
+ } else if (injectStyles) {
254
+ hook = shadowMode
255
+ ? function () {
256
+ injectStyles.call(
257
+ this,
258
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
259
+ )
260
+ }
261
+ : injectStyles
262
+ }
263
+
264
+ if (hook) {
265
+ if (options.functional) {
266
+ // for template-only hot-reload because in that case the render fn doesn't
267
+ // go through the normalizer
268
+ options._injectStyles = hook
269
+ // register for functional component in vue file
270
+ var originalRender = options.render
271
+ options.render = function renderWithStyleInjection(h, context) {
272
+ hook.call(context)
273
+ return originalRender(h, context)
274
+ }
275
+ } else {
276
+ // inject component registration as beforeCreate hook
277
+ var existing = options.beforeCreate
278
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
279
+ }
280
+ }
281
+
282
+ return {
283
+ exports: scriptExports,
284
+ options: options
285
+ }
286
+ }
287
+
288
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.vue
289
+
290
+
291
+
292
+
293
+
294
+ /* normalize component */
295
+
296
+ var component = normalizeComponent(
297
+ components_xt_progressvue_type_script_lang_js,
298
+ render,
299
+ staticRenderFns,
300
+ false,
301
+ null,
302
+ null,
303
+ null
304
+
305
+ )
306
+
307
+ /* harmony default export */ var xt_progress = (component.exports);
308
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.js
309
+
310
+
311
+
312
+ xt_progress.install = function(Vue) {
313
+ Vue.component(xt_progress.name, xt_progress)
314
+ }
315
+
316
+ /* harmony default export */ var components_xt_progress = (xt_progress);
317
+
318
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
319
+
320
+
321
+ /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (components_xt_progress);
322
+
323
+
324
+
325
+ /***/ })
326
+
327
+ /******/ });
@@ -0,0 +1 @@
1
+ .xt-progress{display:inline-flex;align-items:center}.xt-progress__bar{flex:1;height:6px;background:#e4e7ed;border-radius:3px;overflow:hidden;position:relative}.xt-progress--small .xt-progress__bar{height:4px}.xt-progress--large .xt-progress__bar{height:8px}.xt-progress__bar-inner{height:100%;border-radius:3px;transition:width .3s ease;position:relative}.xt-progress__bar-text{position:absolute;right:-30px;top:50%;transform:translateY(-50%);font-size:12px;color:#909399}.xt-progress__text{margin-left:10px;font-size:14px;color:#909399}.xt-progress--small .xt-progress__text{font-size:12px}.xt-progress--large .xt-progress__text{font-size:16px}.xt-progress__circle{position:relative;display:inline-flex;align-items:center;justify-content:center}.xt-progress__circle-svg{transform:rotate(-90deg)}.xt-progress__circle-bg{transition:stroke .3s ease}.xt-progress__circle-bar{transition:stroke-dashoffset .6s ease}.xt-progress__circle-text{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center}.xt-progress__circle-percent{font-size:16px;font-weight:500;color:#303133}.xt-progress--small .xt-progress__circle-percent{font-size:12px}.xt-progress--large .xt-progress__circle-percent{font-size:20px}.xt-progress-fade-enter-active,.xt-progress-fade-leave-active{transition:opacity .3s ease}.xt-progress-fade-enter,.xt-progress-fade-leave-to{opacity:0}
@@ -0,0 +1,337 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["xt-progress"] = factory();
8
+ else
9
+ root["xt-progress"] = factory();
10
+ })((typeof self !== 'undefined' ? self : this), function() {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId]) {
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/ }
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ i: moduleId,
25
+ /******/ l: false,
26
+ /******/ exports: {}
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.l = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // define getter function for harmony exports
47
+ /******/ __webpack_require__.d = function(exports, name, getter) {
48
+ /******/ if(!__webpack_require__.o(exports, name)) {
49
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
+ /******/ }
51
+ /******/ };
52
+ /******/
53
+ /******/ // define __esModule on exports
54
+ /******/ __webpack_require__.r = function(exports) {
55
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
+ /******/ }
58
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
+ /******/ };
60
+ /******/
61
+ /******/ // create a fake namespace object
62
+ /******/ // mode & 1: value is a module id, require it
63
+ /******/ // mode & 2: merge all properties of value into the ns
64
+ /******/ // mode & 4: return value when already ns object
65
+ /******/ // mode & 8|1: behave like require
66
+ /******/ __webpack_require__.t = function(value, mode) {
67
+ /******/ if(mode & 1) value = __webpack_require__(value);
68
+ /******/ if(mode & 8) return value;
69
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
+ /******/ var ns = Object.create(null);
71
+ /******/ __webpack_require__.r(ns);
72
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
+ /******/ return ns;
75
+ /******/ };
76
+ /******/
77
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
78
+ /******/ __webpack_require__.n = function(module) {
79
+ /******/ var getter = module && module.__esModule ?
80
+ /******/ function getDefault() { return module['default']; } :
81
+ /******/ function getModuleExports() { return module; };
82
+ /******/ __webpack_require__.d(getter, 'a', getter);
83
+ /******/ return getter;
84
+ /******/ };
85
+ /******/
86
+ /******/ // Object.prototype.hasOwnProperty.call
87
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
+ /******/
89
+ /******/ // __webpack_public_path__
90
+ /******/ __webpack_require__.p = "";
91
+ /******/
92
+ /******/
93
+ /******/ // Load entry module and return exports
94
+ /******/ return __webpack_require__(__webpack_require__.s = "fb15");
95
+ /******/ })
96
+ /************************************************************************/
97
+ /******/ ({
98
+
99
+ /***/ "2e12":
100
+ /***/ (function(module, exports, __webpack_require__) {
101
+
102
+ // extracted by mini-css-extract-plugin
103
+
104
+ /***/ }),
105
+
106
+ /***/ "fb15":
107
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
108
+
109
+ "use strict";
110
+ // ESM COMPAT FLAG
111
+ __webpack_require__.r(__webpack_exports__);
112
+
113
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
114
+ // This file is imported into lib/wc client bundles.
115
+
116
+ if (typeof window !== 'undefined') {
117
+ var currentScript = window.document.currentScript
118
+ if (false) { var getCurrentScript; }
119
+
120
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
121
+ if (src) {
122
+ __webpack_require__.p = src[1] // eslint-disable-line
123
+ }
124
+ }
125
+
126
+ // Indicate to webpack that this file can be concatenated
127
+ /* harmony default export */ var setPublicPath = (null);
128
+
129
+ // EXTERNAL MODULE: ./src/components/xt-progress/style/index.scss
130
+ var style = __webpack_require__("2e12");
131
+
132
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b8cd9b04-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-progress/index.vue?vue&type=template&id=76c95a92
133
+ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-progress",class:[
134
+ `xt-progress--${_vm.type}`,
135
+ `xt-progress--${_vm.size}`
136
+ ]},[(_vm.type === 'line')?_c('div',{staticClass:"xt-progress__bar"},[_c('div',{staticClass:"xt-progress__bar-inner",style:({ width: `${_vm.percentage}%`, backgroundColor: _vm.color })},[_c('transition',{attrs:{"name":"xt-progress-fade"}},[(_vm.showText)?_c('div',{staticClass:"xt-progress__bar-text"},[_vm._v(_vm._s(_vm.percentage)+"%")]):_vm._e()])],1)]):(_vm.type === 'circle')?_c('div',{staticClass:"xt-progress__circle"},[_c('svg',{staticClass:"xt-progress__circle-svg",attrs:{"width":_vm.circleSize,"height":_vm.circleSize}},[_c('circle',{staticClass:"xt-progress__circle-bg",attrs:{"cx":_vm.circleSize / 2,"cy":_vm.circleSize / 2,"r":_vm.circleRadius,"fill":"none","stroke":_vm.bgColor,"stroke-width":_vm.strokeWidth}}),_c('circle',{staticClass:"xt-progress__circle-bar",attrs:{"cx":_vm.circleSize / 2,"cy":_vm.circleSize / 2,"r":_vm.circleRadius,"fill":"none","stroke":_vm.color,"stroke-width":_vm.strokeWidth,"stroke-dasharray":_vm.circleLength,"stroke-dashoffset":_vm.circleOffset,"stroke-linecap":"round","transform":"rotate(-90 ${circleSize / 2} ${circleSize / 2})"}})]),(_vm.showText)?_c('div',{staticClass:"xt-progress__circle-text"},[_c('span',{staticClass:"xt-progress__circle-percent"},[_vm._v(_vm._s(_vm.percentage)+"%")])]):_vm._e()]):_vm._e(),(_vm.showText && _vm.type === 'line')?_c('div',{staticClass:"xt-progress__text"},[_vm._v(_vm._s(_vm.percentage)+"%")]):_vm._e()])
137
+ }
138
+ var staticRenderFns = []
139
+
140
+
141
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.vue?vue&type=template&id=76c95a92
142
+
143
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-progress/index.vue?vue&type=script&lang=js
144
+
145
+ /* harmony default export */ var xt_progressvue_type_script_lang_js = ({
146
+ name: 'XtProgress',
147
+ props: {
148
+ percentage: {
149
+ type: Number,
150
+ default: 0,
151
+ validator: (val) => val >= 0 && val <= 100
152
+ },
153
+ type: {
154
+ type: String,
155
+ default: 'line',
156
+ validator: (val) => ['line', 'circle'].includes(val)
157
+ },
158
+ size: {
159
+ type: String,
160
+ default: 'medium',
161
+ validator: (val) => ['small', 'medium', 'large'].includes(val)
162
+ },
163
+ color: {
164
+ type: String,
165
+ default: '#1890ff'
166
+ },
167
+ bgColor: {
168
+ type: String,
169
+ default: '#ebeef5'
170
+ },
171
+ showText: {
172
+ type: Boolean,
173
+ default: true
174
+ },
175
+ strokeWidth: {
176
+ type: Number,
177
+ default: 6
178
+ },
179
+ circleSize: {
180
+ type: Number,
181
+ default: 120
182
+ }
183
+ },
184
+ computed: {
185
+ circleRadius() {
186
+ return (this.circleSize - this.strokeWidth) / 2
187
+ },
188
+ circleLength() {
189
+ return 2 * Math.PI * this.circleRadius
190
+ },
191
+ circleOffset() {
192
+ return this.circleLength * (1 - this.percentage / 100)
193
+ }
194
+ }
195
+ });
196
+
197
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.vue?vue&type=script&lang=js
198
+ /* harmony default export */ var components_xt_progressvue_type_script_lang_js = (xt_progressvue_type_script_lang_js);
199
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
200
+ /* globals __VUE_SSR_CONTEXT__ */
201
+
202
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
203
+ // This module is a runtime utility for cleaner component module output and will
204
+ // be included in the final webpack user bundle.
205
+
206
+ function normalizeComponent(
207
+ scriptExports,
208
+ render,
209
+ staticRenderFns,
210
+ functionalTemplate,
211
+ injectStyles,
212
+ scopeId,
213
+ moduleIdentifier /* server only */,
214
+ shadowMode /* vue-cli only */
215
+ ) {
216
+ // Vue.extend constructor export interop
217
+ var options =
218
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
219
+
220
+ // render functions
221
+ if (render) {
222
+ options.render = render
223
+ options.staticRenderFns = staticRenderFns
224
+ options._compiled = true
225
+ }
226
+
227
+ // functional template
228
+ if (functionalTemplate) {
229
+ options.functional = true
230
+ }
231
+
232
+ // scopedId
233
+ if (scopeId) {
234
+ options._scopeId = 'data-v-' + scopeId
235
+ }
236
+
237
+ var hook
238
+ if (moduleIdentifier) {
239
+ // server build
240
+ hook = function (context) {
241
+ // 2.3 injection
242
+ context =
243
+ context || // cached call
244
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
245
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
246
+ // 2.2 with runInNewContext: true
247
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
248
+ context = __VUE_SSR_CONTEXT__
249
+ }
250
+ // inject component styles
251
+ if (injectStyles) {
252
+ injectStyles.call(this, context)
253
+ }
254
+ // register component module identifier for async chunk inferrence
255
+ if (context && context._registeredComponents) {
256
+ context._registeredComponents.add(moduleIdentifier)
257
+ }
258
+ }
259
+ // used by ssr in case component is cached and beforeCreate
260
+ // never gets called
261
+ options._ssrRegister = hook
262
+ } else if (injectStyles) {
263
+ hook = shadowMode
264
+ ? function () {
265
+ injectStyles.call(
266
+ this,
267
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
268
+ )
269
+ }
270
+ : injectStyles
271
+ }
272
+
273
+ if (hook) {
274
+ if (options.functional) {
275
+ // for template-only hot-reload because in that case the render fn doesn't
276
+ // go through the normalizer
277
+ options._injectStyles = hook
278
+ // register for functional component in vue file
279
+ var originalRender = options.render
280
+ options.render = function renderWithStyleInjection(h, context) {
281
+ hook.call(context)
282
+ return originalRender(h, context)
283
+ }
284
+ } else {
285
+ // inject component registration as beforeCreate hook
286
+ var existing = options.beforeCreate
287
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
288
+ }
289
+ }
290
+
291
+ return {
292
+ exports: scriptExports,
293
+ options: options
294
+ }
295
+ }
296
+
297
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.vue
298
+
299
+
300
+
301
+
302
+
303
+ /* normalize component */
304
+
305
+ var component = normalizeComponent(
306
+ components_xt_progressvue_type_script_lang_js,
307
+ render,
308
+ staticRenderFns,
309
+ false,
310
+ null,
311
+ null,
312
+ null
313
+
314
+ )
315
+
316
+ /* harmony default export */ var xt_progress = (component.exports);
317
+ // CONCATENATED MODULE: ./src/components/xt-progress/index.js
318
+
319
+
320
+
321
+ xt_progress.install = function(Vue) {
322
+ Vue.component(xt_progress.name, xt_progress)
323
+ }
324
+
325
+ /* harmony default export */ var components_xt_progress = (xt_progress);
326
+
327
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
328
+
329
+
330
+ /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (components_xt_progress);
331
+
332
+
333
+
334
+ /***/ })
335
+
336
+ /******/ });
337
+ });
@@ -0,0 +1 @@
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["xt-progress"]=t():e["xt-progress"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function r(s){if(t[s])return t[s].exports;var i=t[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(s,i,function(t){return e[t]}.bind(null,i));return s},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"2e12":function(e,t,r){},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var s=window.document.currentScript,i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}r("2e12");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"xt-progress",class:["xt-progress--"+e.type,"xt-progress--"+e.size]},["line"===e.type?t("div",{staticClass:"xt-progress__bar"},[t("div",{staticClass:"xt-progress__bar-inner",style:{width:e.percentage+"%",backgroundColor:e.color}},[t("transition",{attrs:{name:"xt-progress-fade"}},[e.showText?t("div",{staticClass:"xt-progress__bar-text"},[e._v(e._s(e.percentage)+"%")]):e._e()])],1)]):"circle"===e.type?t("div",{staticClass:"xt-progress__circle"},[t("svg",{staticClass:"xt-progress__circle-svg",attrs:{width:e.circleSize,height:e.circleSize}},[t("circle",{staticClass:"xt-progress__circle-bg",attrs:{cx:e.circleSize/2,cy:e.circleSize/2,r:e.circleRadius,fill:"none",stroke:e.bgColor,"stroke-width":e.strokeWidth}}),t("circle",{staticClass:"xt-progress__circle-bar",attrs:{cx:e.circleSize/2,cy:e.circleSize/2,r:e.circleRadius,fill:"none",stroke:e.color,"stroke-width":e.strokeWidth,"stroke-dasharray":e.circleLength,"stroke-dashoffset":e.circleOffset,"stroke-linecap":"round",transform:"rotate(-90 ${circleSize / 2} ${circleSize / 2})"}})]),e.showText?t("div",{staticClass:"xt-progress__circle-text"},[t("span",{staticClass:"xt-progress__circle-percent"},[e._v(e._s(e.percentage)+"%")])]):e._e()]):e._e(),e.showText&&"line"===e.type?t("div",{staticClass:"xt-progress__text"},[e._v(e._s(e.percentage)+"%")]):e._e()])},o=[],c={name:"XtProgress",props:{percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},type:{type:String,default:"line",validator:e=>["line","circle"].includes(e)},size:{type:String,default:"medium",validator:e=>["small","medium","large"].includes(e)},color:{type:String,default:"#1890ff"},bgColor:{type:String,default:"#ebeef5"},showText:{type:Boolean,default:!0},strokeWidth:{type:Number,default:6},circleSize:{type:Number,default:120}},computed:{circleRadius(){return(this.circleSize-this.strokeWidth)/2},circleLength(){return 2*Math.PI*this.circleRadius},circleOffset(){return this.circleLength*(1-this.percentage/100)}}},l=c;function a(e,t,r,s,i,n,o,c){var l,a="function"===typeof e?e.options:e;if(t&&(a.render=t,a.staticRenderFns=r,a._compiled=!0),s&&(a.functional=!0),n&&(a._scopeId="data-v-"+n),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},a._ssrRegister=l):i&&(l=c?function(){i.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(a.functional){a._injectStyles=l;var u=a.render;a.render=function(e,t){return l.call(t),u(e,t)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:a}}var u=a(l,n,o,!1,null,null,null),d=u.exports;d.install=function(e){e.component(d.name,d)};var f=d;t["default"]=f}})}));