diff --git a/CHANGELOG.md b/CHANGELOG.md
index 760bf4d..9c87848 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,190 @@
-# 2.4.5-alpha (2019-++-++)
+# 2.10.0-alpha (2020-09-09)
+### New
+
+- **decoration12:** New decoration(Radar scan).
+
+### Optmization
+
+- **decoration** add `dur` configuration.
+- **activeRingChart** add `digitalFlopUnit` configuration.
+
+# 2.9.9-alpha (2020-08-25)
+
+### Optmization
+
+- **borderBox:** Canonical class name.
+- **autoResize(mixin):** Add exception prompt.
+
+# 2.9.8-alpha (2020-08-20)
+
+### Optmization
+
+- **scrollRankingBoard:** Add value formatter.
+
+# 2.9.7-alpha (2020-08-19)
+
+### Optmization
+
+- **scrollBoard:** Optimize the update effect of updateRows.
+
+# 2.9.6-alpha (2020-08-05)
+
+### Bug Fixes
+
+- **scrollBoard:** Carousel is abnormal when carousel is page.
+- **scrollRankingBoard:** Carousel is abnormal when carousel is page.
+
+# 2.9.5-alpha (2020-08-05)
+
+### Optmization
+
+- **scrollBoard:** Reduce redundant node rendering.
+- **scrollRankingBoard:** Reduce redundant node rendering.
+- **scrollBoard:** Add api to update row data.
+
+# 2.9.4-alpha (2020-07-03)
+
+### Optmization
+
+- **scrollBoard:** Optimize key value [(#8)](https://github.com/DataV-Team/DataV-React/issues/8).
+
+# 2.9.3-alpha (2020-07-02)
+
+### Perfect
+
+- **uuid:** Optimization of `-` in uuid will cause abnormal svg animation [(#108)](https://github.com/DataV-Team/DataV/issues/108).
+
+# 2.9.2-alpha (2020-06-16)
+
+### Bug Fixes
+
+- **scrollBoard:** reset animationIndex when config upate.
+
+# 2.9.1-alpha (2020-06-16)
+
+### Bug Fixes
+
+- **scrollRankingBoard:** Calculation optimization of negative values [(#101)](https://github.com/DataV-Team/DataV/pull/101).
+
+### Perfect
+
+- **digitalFlop:** add number formatter.
+
+# 2.9.0-alpha (2020-06-10)
+
+### ScrollBoard
+
+- **hoverPause:** add `hoverPause` configuration [(#96)](https://github.com/DataV-Team/DataV/pull/96).
+- **mouseover:** add `mouseover` event [(#96)](https://github.com/DataV-Team/DataV/pull/96).
+
+# 2.8.4-alpha (2020-05-25)
+
+### Perfect
+
+- **uuid:** Use uuid to produce unique id.
+
+# 2.8.3-alpha (2020-05-06)
+
+### Perfect
+
+- **activeRingChart:** add `showOriginValue` configuration.
+- **capsuleChart:** add `showValue` configuration.
+
+# 2.8.2-alpha (2020-05-06)
+
+### Perfect
+
+- **borderBox8:** add `reverse` configuration.
+
+# 2.8.1-alpha (2020-05-03)
+
+### Perfect
+
+- **digitalFlop:** Use `\n` to start a newline.
+- **digitalFlop:** `rowGap` configuration.
+
+# 2.7.4-alpha (2020-04-15)
+
+### Bug Fixes
+
+- **capsuleChart:** Calculate exception when min value is less 5 [(#59)](https://github.com/DataV-Team/DataV/pull/59).
+
+# 2.7.3-alpha (2020-01-16)
+
+### Bug Fixes
+
+- **activeRingChart:** `parseInt` precision lost.
+
+# 2.7.2-alpha (2020-01-10)
+
+### Perfect
+
+- **ativeRingChart:** Add digitalFlopToFixed configuration.
+
+# 2.7.1-alpha (2020-01-08)
+
+### Bug Fixes
+
+- **flylineChartEnhanced:** Exception when relative is false.
+
+# 2.7.0-alpha (2020-01-05)
+
+### New
+
+- **flylineChartEnhanced:** Enhanced flylineChart [(#12)](https://github.com/DataV-Team/DataV/issues/12).
+
+# 2.6.0-alpha (2019-12-25)
+
+### Perfect
+
+- **scrollRankingBoard:** Configurable auto-sequencing [(#35)](https://github.com/DataV-Team/DataV/pull/35).
+- **scrollRankingBoard:** Render name using `v-html` [(#36)](https://github.com/DataV-Team/DataV/pull/36).
+
+# 2.5.0-alpha (2019-12-06)
+
+### Feature
+
+- **borderBox & decoration:** **Configurable** colors.
+ ```html
+
+
+
+
-
-
+
-
-
+
+
@@ -12,7 +15,7 @@
## DataV是干什么的?
-* DataV是一个基于**Vue**的数据可视化组件库
+* DataV是一个基于**Vue**的数据可视化组件库(当然也有[React版本](https://github.com/DataV-Team/DataV-React))
* 提供用于提升页面视觉效果的**SVG**边框和装饰
* 提供常用的**图表**如折线图等
* 飞线图/轮播表等其他组件
@@ -44,27 +47,16 @@ Vue.use(borderBox1)
[UMD版使用示例](./umdExample.html)
-### React版本
-
-React版本已在开发中,敬请期待
-
-### 调研
-
-关于React版本组件库及反馈请移步[问卷调查](https://www.wjx.cn/jq/45326197.aspx)
-
-
-
### TODO
-* **飞线图**添加多中心点及反向飞线功能
-* **边框**及**装饰**添加颜色及其他必要配置项,增强可配置性及灵活性.
+* **地图组件**
+* **TS**重构组件库底层依赖
### 致谢
-组件库的开发基于个人学习和兴趣,由于技术水平及经验的限制,组件尚有许多不完善之处,如有BUG可及时提交[issue](https://github.com/jiaming743/DataV/issues/new?template=bug_report.md)或添加反馈群进行反馈,也欢迎提供指正和建议,感谢各位的支持。
+组件库的开发基于个人学习和兴趣,由于技术水平及经验的限制,组件尚有许多不完善之处,如有BUG可及时提交[issue](https://github.com/DataV-Team/DataV/issues/new?template=bug_report.md)或添加反馈群进行反馈,也欢迎提供指正和建议,感谢各位的支持。
### 反馈
-

### Demo
diff --git a/README_EN.md b/README_EN.md
index de6453a..7289581 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -1,10 +1,12 @@
[中文](./README.md)
+
+DataV
-
+
+
@@ -13,7 +15,7 @@
## What is DataV?
-* DataV is a data **visualization** components library based on **Vue**.
+* DataV is a data **visualization** components library based on **Vue**(Of course there are also [React versions](https://github.com/DataV-Team/DataV-React)).
* Provide cool **SVG** borders and decorations.
* Provide common **charts** such as line chart, etc..
* flying line chart, carousel table and etc.
@@ -57,12 +59,12 @@ React version of the component library and feedback[Questionnaire](https://www.w
### TODO
-* **flylineChart**Add multi-center point and reverse fly line function.
-* Add color and other necessary configuration to the **borderBox** and **decoration** to enhance configurability and flexibility.
+* **Map Component**
+* Refactor underlying dependencies using **TS**.
### Acknowledgement
-The development of the component library is based on personal learning and interest. Due to technical level and experience limitations, there are still many imperfections in the components. If there are errors, you can submit [issue](https://github.com/jiaming743/DataV/issues/new?template=bug_report.md) in time or add feedback groups for feedback. Welcome to provide corrections and suggestions. Thank you for your support.
+The development of the component library is based on personal learning and interest. Due to technical level and experience limitations, there are still many imperfections in the components. If there are errors, you can submit [issue](https://github.com/DataV-team/DataV/issues/new?template=bug_report.md) in time or add feedback groups for feedback. Welcome to provide corrections and suggestions. Thank you for your support.
### Feedback
diff --git a/build/rollup.terser.config.js b/build/rollup.terser.config.js
index 32c8738..bcb5833 100644
--- a/build/rollup.terser.config.js
+++ b/build/rollup.terser.config.js
@@ -12,13 +12,13 @@ export default {
name: 'datav'
},
plugins: [
- terser(),
resolve(),
babel({
exclude: 'node_modules/**'
}),
commonjs(),
vue(),
+ terser(),
],
external: ['Vue']
}
\ No newline at end of file
diff --git a/dist/datav.map.vue.js b/dist/datav.map.vue.js
index 7d428ac..8879b3d 100644
--- a/dist/datav.map.vue.js
+++ b/dist/datav.map.vue.js
@@ -2,9 +2,9 @@
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('vue')) :
typeof define === 'function' && define.amd ? define(['vue'], factory) :
(global = global || self, factory(global.Vue));
-}(this, function (Vue) { 'use strict';
+}(this, (function (Vue) { 'use strict';
- Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
+ Vue = Vue && Object.prototype.hasOwnProperty.call(Vue, 'default') ? Vue['default'] : Vue;
function randomExtend(minNum, maxNum) {
if (arguments.length === 1) {
@@ -38,6 +38,13 @@
const minusY = Math.abs(pointOne[1] - pointTwo[1]);
return Math.sqrt(minusX * minusX + minusY * minusY);
}
+ function uuid(hasHyphen) {
+ return (hasHyphen ? 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' : 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx').replace(/[xy]/g, function (c) {
+ const r = Math.random() * 16 | 0;
+ const v = c == 'x' ? r : r & 0x3 | 0x8;
+ return v.toString(16);
+ });
+ }
var autoResize = {
data() {
@@ -72,10 +79,17 @@
onResize
} = this;
return new Promise(resolve => {
- $nextTick(e => {
+ $nextTick(_ => {
const dom = this.dom = $refs[ref];
- this.width = dom.clientWidth;
- this.height = dom.clientHeight;
+ this.width = dom ? dom.clientWidth : 0;
+ this.height = dom ? dom.clientHeight : 0;
+
+ if (!dom) {
+ console.warn('DataV: Failed to get dom node, component rendering may be abnormal!');
+ } else if (!this.width || !this.height) {
+ console.warn('DataV: Component width or height is 0px, rendering abnormality may occur!');
+ }
+
if (typeof onResize === 'function' && resize) onResize();
resolve();
});
@@ -103,6 +117,7 @@
domObserver,
debounceInitWHFun
} = this;
+ if (!domObserver) return;
domObserver.disconnect();
domObserver.takeRecords();
domObserver = null;
@@ -185,146 +200,134 @@
}
};
- function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
- /* server only */
- , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
- if (typeof shadowMode !== 'boolean') {
- createInjectorSSR = createInjector;
- createInjector = shadowMode;
- shadowMode = false;
- } // Vue.extend constructor export interop.
-
-
- var options = typeof script === 'function' ? script.options : script; // render functions
-
- if (template && template.render) {
- options.render = template.render;
- options.staticRenderFns = template.staticRenderFns;
- options._compiled = true; // functional template
-
- if (isFunctionalTemplate) {
- options.functional = true;
- }
- } // scopedId
-
-
- if (scopeId) {
- options._scopeId = scopeId;
- }
-
- var hook;
-
- if (moduleIdentifier) {
- // server build
- hook = function hook(context) {
- // 2.3 injection
- context = context || // cached call
- this.$vnode && this.$vnode.ssrContext || // stateful
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional
- // 2.2 with runInNewContext: true
-
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
- context = __VUE_SSR_CONTEXT__;
- } // inject component styles
-
-
- if (style) {
- style.call(this, createInjectorSSR(context));
- } // register component module identifier for async chunk inference
-
-
- if (context && context._registeredComponents) {
- context._registeredComponents.add(moduleIdentifier);
- }
- }; // used by ssr in case component is cached and beforeCreate
- // never gets called
-
-
- options._ssrRegister = hook;
- } else if (style) {
- hook = shadowMode ? function () {
- style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
- } : function (context) {
- style.call(this, createInjector(context));
- };
- }
-
- if (hook) {
- if (options.functional) {
- // register for functional component in vue file
- var originalRender = options.render;
-
- options.render = function renderWithStyleInjection(h, context) {
- hook.call(context);
- return originalRender(h, context);
- };
- } else {
- // inject component registration as beforeCreate hook
- var existing = options.beforeCreate;
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
- }
- }
-
- return script;
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
+ if (typeof shadowMode !== 'boolean') {
+ createInjectorSSR = createInjector;
+ createInjector = shadowMode;
+ shadowMode = false;
+ }
+ // Vue.extend constructor export interop.
+ const options = typeof script === 'function' ? script.options : script;
+ // render functions
+ if (template && template.render) {
+ options.render = template.render;
+ options.staticRenderFns = template.staticRenderFns;
+ options._compiled = true;
+ // functional template
+ if (isFunctionalTemplate) {
+ options.functional = true;
+ }
+ }
+ // scopedId
+ if (scopeId) {
+ options._scopeId = scopeId;
+ }
+ let hook;
+ if (moduleIdentifier) {
+ // server build
+ hook = function (context) {
+ // 2.3 injection
+ context =
+ context || // cached call
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
+ // 2.2 with runInNewContext: true
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
+ context = __VUE_SSR_CONTEXT__;
+ }
+ // inject component styles
+ if (style) {
+ style.call(this, createInjectorSSR(context));
+ }
+ // register component module identifier for async chunk inference
+ if (context && context._registeredComponents) {
+ context._registeredComponents.add(moduleIdentifier);
+ }
+ };
+ // used by ssr in case component is cached and beforeCreate
+ // never gets called
+ options._ssrRegister = hook;
+ }
+ else if (style) {
+ hook = shadowMode
+ ? function (context) {
+ style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
+ }
+ : function (context) {
+ style.call(this, createInjector(context));
+ };
+ }
+ if (hook) {
+ if (options.functional) {
+ // register for functional component in vue file
+ const originalRender = options.render;
+ options.render = function renderWithStyleInjection(h, context) {
+ hook.call(context);
+ return originalRender(h, context);
+ };
+ }
+ else {
+ // inject component registration as beforeCreate hook
+ const existing = options.beforeCreate;
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
+ }
+ }
+ return script;
+ }
+
+ const isOldIE = typeof navigator !== 'undefined' &&
+ /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
+ function createInjector(context) {
+ return (id, style) => addStyle(id, style);
+ }
+ let HEAD;
+ const styles = {};
+ function addStyle(id, css) {
+ const group = isOldIE ? css.media || 'default' : id;
+ const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
+ if (!style.ids.has(id)) {
+ style.ids.add(id);
+ let code = css.source;
+ if (css.map) {
+ // https://developer.chrome.com/devtools/docs/javascript-debugging
+ // this makes source maps inside style tags work properly in Chrome
+ code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
+ // http://stackoverflow.com/a/26603875
+ code +=
+ '\n/*# sourceMappingURL=data:application/json;base64,' +
+ btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
+ ' */';
+ }
+ if (!style.element) {
+ style.element = document.createElement('style');
+ style.element.type = 'text/css';
+ if (css.media)
+ style.element.setAttribute('media', css.media);
+ if (HEAD === undefined) {
+ HEAD = document.head || document.getElementsByTagName('head')[0];
+ }
+ HEAD.appendChild(style.element);
+ }
+ if ('styleSheet' in style.element) {
+ style.styles.push(code);
+ style.element.styleSheet.cssText = style.styles
+ .filter(Boolean)
+ .join('\n');
+ }
+ else {
+ const index = style.ids.size - 1;
+ const textNode = document.createTextNode(code);
+ const nodes = style.element.childNodes;
+ if (nodes[index])
+ style.element.removeChild(nodes[index]);
+ if (nodes.length)
+ style.element.insertBefore(textNode, nodes[index]);
+ else
+ style.element.appendChild(textNode);
+ }
+ }
}
- var normalizeComponent_1 = normalizeComponent;
-
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
- function createInjector(context) {
- return function (id, style) {
- return addStyle(id, style);
- };
- }
- var HEAD;
- var styles = {};
-
- function addStyle(id, css) {
- var group = isOldIE ? css.media || 'default' : id;
- var style = styles[group] || (styles[group] = {
- ids: new Set(),
- styles: []
- });
-
- if (!style.ids.has(id)) {
- style.ids.add(id);
- var code = css.source;
-
- if (css.map) {
- // https://developer.chrome.com/devtools/docs/javascript-debugging
- // this makes source maps inside style tags work properly in Chrome
- code += '\n/*# sourceURL=' + css.map.sources[0] + ' */'; // http://stackoverflow.com/a/26603875
-
- code += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) + ' */';
- }
-
- if (!style.element) {
- style.element = document.createElement('style');
- style.element.type = 'text/css';
- if (css.media) style.element.setAttribute('media', css.media);
-
- if (HEAD === undefined) {
- HEAD = document.head || document.getElementsByTagName('head')[0];
- }
-
- HEAD.appendChild(style.element);
- }
-
- if ('styleSheet' in style.element) {
- style.styles.push(code);
- style.element.styleSheet.cssText = style.styles.filter(Boolean).join('\n');
- } else {
- var index = style.ids.size - 1;
- var textNode = document.createTextNode(code);
- var nodes = style.element.childNodes;
- if (nodes[index]) style.element.removeChild(nodes[index]);
- if (nodes.length) style.element.insertBefore(textNode, nodes[index]);else style.element.appendChild(textNode);
- }
- }
- }
-
- var browser = createInjector;
-
/* script */
const __vue_script__ = script;
@@ -346,7 +349,7 @@
/* style */
const __vue_inject_styles__ = function (inject) {
if (!inject) return
- inject("data-v-39d8efee_0", { source: "#dv-full-screen-container {\n position: fixed;\n top: 0px;\n left: 0px;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,eAAe;EACf,QAAQ;EACR,SAAS;EACT,gBAAgB;EAChB,0BAA0B;EAC1B,YAAY;AACd","file":"main.vue","sourcesContent":["#dv-full-screen-container {\n position: fixed;\n top: 0px;\n left: 0px;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n"]}, media: undefined });
+ inject("data-v-2da16e2c_0", { source: "#dv-full-screen-container {\n position: fixed;\n top: 0px;\n left: 0px;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,eAAe;EACf,QAAQ;EACR,SAAS;EACT,gBAAgB;EAChB,0BAA0B;EAC1B,YAAY;AACd","file":"main.vue","sourcesContent":["#dv-full-screen-container {\n position: fixed;\n top: 0px;\n left: 0px;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n"]}, media: undefined });
};
/* scoped */
@@ -357,21 +360,25 @@
const __vue_is_functional_template__ = false;
/* style inject SSR */
+ /* style inject shadow dom */
+
- var FullScreenContainer = normalizeComponent_1(
+ const __vue_component__ = /*#__PURE__*/normalizeComponent(
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
__vue_inject_styles__,
__vue_script__,
__vue_scope_id__,
__vue_is_functional_template__,
__vue_module_identifier__,
- browser,
+ false,
+ createInjector,
+ undefined,
undefined
);
function fullScreenContainer (Vue) {
- Vue.component(FullScreenContainer.name, FullScreenContainer);
+ Vue.component(__vue_component__.name, __vue_component__);
}
//
@@ -531,7 +538,7 @@
/* style */
const __vue_inject_styles__$1 = function (inject) {
if (!inject) return
- inject("data-v-b0e29178_0", { source: ".dv-loading {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.dv-loading .loading-tip {\n font-size: 15px;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,WAAW;EACX,YAAY;EACZ,aAAa;EACb,sBAAsB;EACtB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,eAAe;AACjB","file":"main.vue","sourcesContent":[".dv-loading {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.dv-loading .loading-tip {\n font-size: 15px;\n}\n"]}, media: undefined });
+ inject("data-v-c8b3d976_0", { source: ".dv-loading {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.dv-loading .loading-tip {\n font-size: 15px;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,WAAW;EACX,YAAY;EACZ,aAAa;EACb,sBAAsB;EACtB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,eAAe;AACjB","file":"main.vue","sourcesContent":[".dv-loading {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.dv-loading .loading-tip {\n font-size: 15px;\n}\n"]}, media: undefined });
};
/* scoped */
@@ -542,4586 +549,4689 @@
const __vue_is_functional_template__$1 = false;
/* style inject SSR */
+ /* style inject shadow dom */
+
- var Loading = normalizeComponent_1(
+ const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
{ render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
__vue_inject_styles__$1,
__vue_script__$1,
__vue_scope_id__$1,
__vue_is_functional_template__$1,
__vue_module_identifier__$1,
- browser,
+ false,
+ createInjector,
+ undefined,
undefined
);
function loading (Vue) {
- Vue.component(Loading.name, Loading);
+ Vue.component(__vue_component__$1.name, __vue_component__$1);
}
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- var script$2 = {
- name: 'DvBorderBox1',
-
- data() {
- return {
- border: ['left-top', 'right-top', 'left-bottom', 'right-bottom']
- };
- }
+ function unwrapExports (x) {
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
+ }
- };
+ function createCommonjsModule(fn, module) {
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
+ }
- /* script */
- const __vue_script__$2 = script$2;
+ var interopRequireDefault = createCommonjsModule(function (module) {
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : {
+ "default": obj
+ };
+ }
- /* template */
- var __vue_render__$2 = function() {
- var _vm = this;
- var _h = _vm.$createElement;
- var _c = _vm._self._c || _h;
- return _c(
- "div",
- { staticClass: "dv-border-box-1" },
- [
- _vm._l(_vm.border, function(item) {
- return _c(
- "svg",
- {
- key: item,
- class: item + " border",
- attrs: { width: "150px", height: "150px" }
- },
- [
- _c(
- "polygon",
- {
- attrs: {
- fill: "#4fd2dd",
- points:
- "6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"
- }
- },
- [
- _c("animate", {
- attrs: {
- attributeName: "fill",
- values: "#4fd2dd;#235fa7;#4fd2dd",
- dur: "0.5s",
- begin: "0s",
- repeatCount: "indefinite"
- }
- })
- ]
- ),
- _vm._v(" "),
- _c(
- "polygon",
- {
- attrs: {
- fill: "#235fa7",
- points:
- "27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8"
- }
- },
- [
- _c("animate", {
- attrs: {
- attributeName: "fill",
- values: "#235fa7;#4fd2dd;#235fa7",
- dur: "0.5s",
- begin: "0s",
- repeatCount: "indefinite"
- }
- })
- ]
- ),
- _vm._v(" "),
- _c(
- "polygon",
- {
- attrs: {
- fill: "#4fd2dd",
- points:
- "9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"
- }
- },
- [
- _c("animate", {
- attrs: {
- attributeName: "fill",
- values: "#4fd2dd;#235fa7;transparent",
- dur: "1s",
- begin: "0s",
- repeatCount: "indefinite"
- }
- })
- ]
- )
- ]
- )
- }),
- _vm._v(" "),
- _c("div", { staticClass: "border-box-content" }, [_vm._t("default")], 2)
- ],
- 2
- )
- };
- var __vue_staticRenderFns__$2 = [];
- __vue_render__$2._withStripped = true;
+ module.exports = _interopRequireDefault;
+ });
- /* style */
- const __vue_inject_styles__$2 = function (inject) {
- if (!inject) return
- inject("data-v-53e01884_0", { source: ".dv-border-box-1 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-1 .border {\n position: absolute;\n display: block;\n}\n.dv-border-box-1 .right-top {\n right: 0px;\n transform: rotateY(180deg);\n}\n.dv-border-box-1 .left-bottom {\n bottom: 0px;\n transform: rotateX(180deg);\n}\n.dv-border-box-1 .right-bottom {\n right: 0px;\n bottom: 0px;\n transform: rotateX(180deg) rotateY(180deg);\n}\n.dv-border-box-1 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,cAAc;AAChB;AACA;EACE,UAAU;EACV,0BAA0B;AAC5B;AACA;EACE,WAAW;EACX,0BAA0B;AAC5B;AACA;EACE,UAAU;EACV,WAAW;EACX,0CAA0C;AAC5C;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-border-box-1 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-1 .border {\n position: absolute;\n display: block;\n}\n.dv-border-box-1 .right-top {\n right: 0px;\n transform: rotateY(180deg);\n}\n.dv-border-box-1 .left-bottom {\n bottom: 0px;\n transform: rotateX(180deg);\n}\n.dv-border-box-1 .right-bottom {\n right: 0px;\n bottom: 0px;\n transform: rotateX(180deg) rotateY(180deg);\n}\n.dv-border-box-1 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
+ unwrapExports(interopRequireDefault);
- };
- /* scoped */
- const __vue_scope_id__$2 = undefined;
- /* module identifier */
- const __vue_module_identifier__$2 = undefined;
- /* functional template */
- const __vue_is_functional_template__$2 = false;
- /* style inject SSR */
-
+ function _arrayLikeToArray(arr, len) {
+ if (len == null || len > arr.length) len = arr.length;
-
- var BorderBox1 = normalizeComponent_1(
- { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
- __vue_inject_styles__$2,
- __vue_script__$2,
- __vue_scope_id__$2,
- __vue_is_functional_template__$2,
- __vue_module_identifier__$2,
- browser,
- undefined
- );
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
+ arr2[i] = arr[i];
+ }
- function borderBox1 (Vue) {
- Vue.component(BorderBox1.name, BorderBox1);
+ return arr2;
}
- //
- var script$3 = {
- name: 'DvBorderBox2',
- mixins: [autoResize],
+ var arrayLikeToArray = _arrayLikeToArray;
- data() {
- return {
- ref: 'border-box-2'
- };
- }
+ function _arrayWithoutHoles(arr) {
+ if (Array.isArray(arr)) return arrayLikeToArray(arr);
+ }
- };
+ var arrayWithoutHoles = _arrayWithoutHoles;
- /* script */
- const __vue_script__$3 = script$3;
+ function _iterableToArray(iter) {
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
+ }
- /* template */
- var __vue_render__$3 = function() {
- var _vm = this;
- var _h = _vm.$createElement;
- var _c = _vm._self._c || _h;
- return _c("div", { ref: _vm.ref, staticClass: "dv-border-box-2" }, [
- _c(
- "svg",
- {
- staticClass: "dv-border-svg-container",
- attrs: { width: _vm.width, height: _vm.height }
- },
- [
- _c("polyline", {
- staticClass: "dv-bb2-line1",
- attrs: {
- points:
- "2, 2 " +
- (_vm.width - 2) +
- " ,2 " +
- (_vm.width - 2) +
- ", " +
- (_vm.height - 2) +
- " 2, " +
- (_vm.height - 2) +
- " 2, 2"
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb2-line2",
- attrs: {
- points:
- "6, 6 " +
- (_vm.width - 6) +
- ", 6 " +
- (_vm.width - 6) +
- ", " +
- (_vm.height - 6) +
- " 6, " +
- (_vm.height - 6) +
- " 6, 6"
- }
- }),
- _vm._v(" "),
- _c("circle", { attrs: { cx: "11", cy: "11", r: "1" } }),
- _vm._v(" "),
- _c("circle", { attrs: { cx: _vm.width - 11, cy: "11", r: "1" } }),
- _vm._v(" "),
- _c("circle", {
- attrs: { cx: _vm.width - 11, cy: _vm.height - 11, r: "1" }
- }),
- _vm._v(" "),
- _c("circle", { attrs: { cx: "11", cy: _vm.height - 11, r: "1" } })
- ]
- ),
- _vm._v(" "),
- _c("div", { staticClass: "border-box-content" }, [_vm._t("default")], 2)
- ])
- };
- var __vue_staticRenderFns__$3 = [];
- __vue_render__$3._withStripped = true;
+ var iterableToArray = _iterableToArray;
- /* style */
- const __vue_inject_styles__$3 = function (inject) {
- if (!inject) return
- inject("data-v-2c14f4ac_0", { source: ".dv-border-box-2 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-2 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-2 .dv-border-svg-container polyline {\n fill: none;\n stroke-width: 1;\n}\n.dv-border-box-2 .dv-border-svg-container circle {\n fill: #fff;\n}\n.dv-border-box-2 .dv-bb2-line1 {\n stroke: #fff;\n}\n.dv-border-box-2 .dv-bb2-line2 {\n stroke: rgba(255, 255, 255, 0.6);\n}\n.dv-border-box-2 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,QAAQ;EACR,SAAS;AACX;AACA;EACE,UAAU;EACV,eAAe;AACjB;AACA;EACE,UAAU;AACZ;AACA;EACE,YAAY;AACd;AACA;EACE,gCAAgC;AAClC;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-border-box-2 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-2 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-2 .dv-border-svg-container polyline {\n fill: none;\n stroke-width: 1;\n}\n.dv-border-box-2 .dv-border-svg-container circle {\n fill: #fff;\n}\n.dv-border-box-2 .dv-bb2-line1 {\n stroke: #fff;\n}\n.dv-border-box-2 .dv-bb2-line2 {\n stroke: rgba(255, 255, 255, 0.6);\n}\n.dv-border-box-2 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
+ function _unsupportedIterableToArray(o, minLen) {
+ if (!o) return;
+ if (typeof o === "string") return arrayLikeToArray(o, minLen);
+ var n = Object.prototype.toString.call(o).slice(8, -1);
+ if (n === "Object" && o.constructor) n = o.constructor.name;
+ if (n === "Map" || n === "Set") return Array.from(o);
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
+ }
- };
- /* scoped */
- const __vue_scope_id__$3 = undefined;
- /* module identifier */
- const __vue_module_identifier__$3 = undefined;
- /* functional template */
- const __vue_is_functional_template__$3 = false;
- /* style inject SSR */
-
+ var unsupportedIterableToArray = _unsupportedIterableToArray;
-
- var BorderBox2 = normalizeComponent_1(
- { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },
- __vue_inject_styles__$3,
- __vue_script__$3,
- __vue_scope_id__$3,
- __vue_is_functional_template__$3,
- __vue_module_identifier__$3,
- browser,
- undefined
- );
+ function _nonIterableSpread() {
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+ }
- function borderBox2 (Vue) {
- Vue.component(BorderBox2.name, BorderBox2);
+ var nonIterableSpread = _nonIterableSpread;
+
+ function _toConsumableArray(arr) {
+ return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}
- //
- var script$4 = {
- name: 'DvBorderBox3',
- mixins: [autoResize],
+ var toConsumableArray = _toConsumableArray;
- data() {
- return {
- ref: 'border-box-3'
+ var _typeof_1 = createCommonjsModule(function (module) {
+ function _typeof(obj) {
+ "@babel/helpers - typeof";
+
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
+ module.exports = _typeof = function _typeof(obj) {
+ return typeof obj;
+ };
+ } else {
+ module.exports = _typeof = function _typeof(obj) {
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}
- };
+ return _typeof(obj);
+ }
- /* script */
- const __vue_script__$4 = script$4;
+ module.exports = _typeof;
+ });
- /* template */
- var __vue_render__$4 = function() {
- var _vm = this;
- var _h = _vm.$createElement;
- var _c = _vm._self._c || _h;
- return _c("div", { ref: _vm.ref, staticClass: "dv-border-box-3" }, [
- _c(
- "svg",
- {
- staticClass: "dv-border-svg-container",
- attrs: { width: _vm.width, height: _vm.height }
- },
- [
- _c("polyline", {
- staticClass: "dv-bb3-line1",
- attrs: {
- points:
- "4, 4 " +
- (_vm.width - 22) +
- " ,4 " +
- (_vm.width - 22) +
- ", " +
- (_vm.height - 22) +
- " 4, " +
- (_vm.height - 22) +
- " 4, 4"
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb3-line2",
- attrs: {
- points:
- "10, 10 " +
- (_vm.width - 16) +
- ", 10 " +
- (_vm.width - 16) +
- ", " +
- (_vm.height - 16) +
- " 10, " +
- (_vm.height - 16) +
- " 10, 10"
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb3-line2",
- attrs: {
- points:
- "16, 16 " +
- (_vm.width - 10) +
- ", 16 " +
- (_vm.width - 10) +
- ", " +
- (_vm.height - 10) +
- " 16, " +
- (_vm.height - 10) +
- " 16, 16"
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb3-line2",
- attrs: {
- points:
- "22, 22 " +
- (_vm.width - 4) +
- ", 22 " +
- (_vm.width - 4) +
- ", " +
- (_vm.height - 4) +
- " 22, " +
- (_vm.height - 4) +
- " 22, 22"
- }
- })
- ]
- ),
- _vm._v(" "),
- _c("div", { staticClass: "border-box-content" }, [_vm._t("default")], 2)
- ])
- };
- var __vue_staticRenderFns__$4 = [];
- __vue_render__$4._withStripped = true;
+ function _arrayWithHoles(arr) {
+ if (Array.isArray(arr)) return arr;
+ }
- /* style */
- const __vue_inject_styles__$4 = function (inject) {
- if (!inject) return
- inject("data-v-f2ff245a_0", { source: ".dv-border-box-3 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-3 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-3 .dv-border-svg-container polyline {\n fill: none;\n stroke: #2862b7;\n}\n.dv-border-box-3 .dv-bb3-line1 {\n stroke-width: 3;\n}\n.dv-border-box-3 .dv-bb3-line2 {\n stroke-width: 1;\n}\n.dv-border-box-3 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,QAAQ;EACR,SAAS;AACX;AACA;EACE,UAAU;EACV,eAAe;AACjB;AACA;EACE,eAAe;AACjB;AACA;EACE,eAAe;AACjB;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-border-box-3 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-3 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-3 .dv-border-svg-container polyline {\n fill: none;\n stroke: #2862b7;\n}\n.dv-border-box-3 .dv-bb3-line1 {\n stroke-width: 3;\n}\n.dv-border-box-3 .dv-bb3-line2 {\n stroke-width: 1;\n}\n.dv-border-box-3 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
+ var arrayWithHoles = _arrayWithHoles;
- };
- /* scoped */
- const __vue_scope_id__$4 = undefined;
- /* module identifier */
- const __vue_module_identifier__$4 = undefined;
- /* functional template */
- const __vue_is_functional_template__$4 = false;
- /* style inject SSR */
-
+ function _iterableToArrayLimit(arr, i) {
+ if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
+ var _arr = [];
+ var _n = true;
+ var _d = false;
+ var _e = undefined;
-
- var BorderBox3 = normalizeComponent_1(
- { render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },
- __vue_inject_styles__$4,
- __vue_script__$4,
- __vue_scope_id__$4,
- __vue_is_functional_template__$4,
- __vue_module_identifier__$4,
- browser,
- undefined
- );
+ try {
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
+ _arr.push(_s.value);
- function borderBox3 (Vue) {
- Vue.component(BorderBox3.name, BorderBox3);
+ if (i && _arr.length === i) break;
+ }
+ } catch (err) {
+ _d = true;
+ _e = err;
+ } finally {
+ try {
+ if (!_n && _i["return"] != null) _i["return"]();
+ } finally {
+ if (_d) throw _e;
+ }
+ }
+
+ return _arr;
}
- //
- var script$5 = {
- name: 'DvBorderBox4',
- mixins: [autoResize],
+ var iterableToArrayLimit = _iterableToArrayLimit;
- data() {
- return {
- ref: 'border-box-4'
- };
- },
+ function _nonIterableRest() {
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+ }
- props: {
- reverse: {
- type: Boolean,
- default: false
+ var nonIterableRest = _nonIterableRest;
+
+ function _slicedToArray(arr, i) {
+ return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
+ }
+
+ var slicedToArray = _slicedToArray;
+
+ var util = createCommonjsModule(function (module, exports) {
+
+
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+ exports.deepClone = deepClone;
+ exports.eliminateBlur = eliminateBlur;
+ exports.checkPointIsInCircle = checkPointIsInCircle;
+ exports.getTwoPointDistance = getTwoPointDistance;
+ exports.checkPointIsInPolygon = checkPointIsInPolygon;
+ exports.checkPointIsInSector = checkPointIsInSector;
+ exports.checkPointIsNearPolyline = checkPointIsNearPolyline;
+ exports.checkPointIsInRect = checkPointIsInRect;
+ exports.getRotatePointPos = getRotatePointPos;
+ exports.getScalePointPos = getScalePointPos;
+ exports.getTranslatePointPos = getTranslatePointPos;
+ exports.getDistanceBetweenPointAndLine = getDistanceBetweenPointAndLine;
+ exports.getCircleRadianPoint = getCircleRadianPoint;
+ exports.getRegularPolygonPoints = getRegularPolygonPoints;
+ exports["default"] = void 0;
+
+ var _toConsumableArray2 = interopRequireDefault(toConsumableArray);
+
+ var _slicedToArray2 = interopRequireDefault(slicedToArray);
+
+ var _typeof2 = interopRequireDefault(_typeof_1);
+
+ var abs = Math.abs,
+ sqrt = Math.sqrt,
+ sin = Math.sin,
+ cos = Math.cos,
+ max = Math.max,
+ min = Math.min,
+ PI = Math.PI;
+ /**
+ * @description Clone an object or array
+ * @param {Object|Array} object Cloned object
+ * @param {Boolean} recursion Whether to use recursive cloning
+ * @return {Object|Array} Clone object
+ */
+
+ function deepClone(object) {
+ var recursion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
+ if (!object) return object;
+ var parse = JSON.parse,
+ stringify = JSON.stringify;
+ if (!recursion) return parse(stringify(object));
+ var clonedObj = object instanceof Array ? [] : {};
+
+ if (object && (0, _typeof2["default"])(object) === 'object') {
+ for (var key in object) {
+ if (object.hasOwnProperty(key)) {
+ if (object[key] && (0, _typeof2["default"])(object[key]) === 'object') {
+ clonedObj[key] = deepClone(object[key], true);
+ } else {
+ clonedObj[key] = object[key];
+ }
+ }
}
}
- };
- /* script */
- const __vue_script__$5 = script$5;
+ return clonedObj;
+ }
+ /**
+ * @description Eliminate line blur due to 1px line width
+ * @param {Array} points Line points
+ * @return {Array} Line points after processed
+ */
- /* template */
- var __vue_render__$5 = function() {
- var _vm = this;
- var _h = _vm.$createElement;
- var _c = _vm._self._c || _h;
- return _c("div", { ref: _vm.ref, staticClass: "dv-border-box-4" }, [
- _c(
- "svg",
- {
- class: "dv-border-svg-container " + (_vm.reverse && "dv-reverse"),
- attrs: { width: _vm.width, height: _vm.height }
- },
- [
- _c("polyline", {
- staticClass: "dv-bb4-line-1",
- attrs: {
- points:
- "145, " +
- (_vm.height - 5) +
- " 40, " +
- (_vm.height - 5) +
- " 10, " +
- (_vm.height - 35) +
- "\n 10, 40 40, 5 150, 5 170, 20 " +
- (_vm.width - 15) +
- ", 20"
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-2",
- attrs: {
- points:
- "245, " +
- (_vm.height - 1) +
- " 36, " +
- (_vm.height - 1) +
- " 14, " +
- (_vm.height - 23) +
- "\n 14, " +
- (_vm.height - 100)
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-3",
- attrs: {
- points: "7, " + (_vm.height - 40) + " 7, " + (_vm.height - 75)
- }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-4",
- attrs: { points: "28, 24 13, 41 13, 64" }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-5",
- attrs: { points: "5, 45 5, 140" }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-6",
- attrs: { points: "14, 75 14, 180" }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-7",
- attrs: { points: "55, 11 147, 11 167, 26 250, 26" }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-8",
- attrs: { points: "158, 5 173, 16" }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-9",
- attrs: { points: "200, 17 " + (_vm.width - 10) + ", 17" }
- }),
- _vm._v(" "),
- _c("polyline", {
- staticClass: "dv-bb4-line-10",
- attrs: { points: "385, 17 " + (_vm.width - 10) + ", 17" }
- })
- ]
- ),
- _vm._v(" "),
- _c("div", { staticClass: "border-box-content" }, [_vm._t("default")], 2)
- ])
- };
- var __vue_staticRenderFns__$5 = [];
- __vue_render__$5._withStripped = true;
- /* style */
- const __vue_inject_styles__$5 = function (inject) {
- if (!inject) return
- inject("data-v-3e5643ee_0", { source: ".dv-border-box-4 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-4 .dv-reverse {\n transform: rotate(180deg);\n}\n.dv-border-box-4 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-4 .dv-border-svg-container polyline {\n fill: none;\n}\n.dv-border-box-4 .sred {\n stroke: red;\n}\n.dv-border-box-4 .sblue {\n stroke: rgba(0, 0, 255, 0.8);\n}\n.dv-border-box-4 .sw1 {\n stroke-width: 1;\n}\n.dv-border-box-4 .sw3 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-1 {\n stroke: red;\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-2 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-3 {\n stroke: red;\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-4 {\n stroke: red;\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-5 {\n stroke: red;\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-6 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-7 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-8 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-9 {\n stroke: red;\n stroke-width: 3px;\n stroke-linecap: round;\n stroke-dasharray: 100 250;\n}\n.dv-border-box-4 .dv-bb4-line-10 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n stroke-dasharray: 80 270;\n}\n.dv-border-box-4 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue","E:\\Project\\A_MIT_LICENSE\\DataV\\src\\components\\borderBox4\\src\\main.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,QAAQ;EACR,SAAS;AACX;AACA;EACE,UAAU;AACZ;AACA;EACE,WAAW;AACb;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,eAAe;AACjB;AACA;EACE,iBAAiB;EACjB,qBAAqB;AACvB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,4BAA4B;EAC5B,eAAe;AACjB;AACA;EACE,WAAW;EACX,iBAAiB;EACjB,qBAAqB;AACvB;ACCA;EACA,WAAA;EACA,iBAAA;EACA,qBAAA;ADCA;ACCA;EACA,WAAA;EACA,eAAA;ADCA;ACCA;EACA,4BAAA;EACA,eAAA;AACA;AACA;EACA,4BAAA;EDCE,eAAe;ACCjB;AACA;EACA,4BAAA;EACA,iBAAA;EDCE,qBAAqB;ACCvB;AACA;EACA,WAAA;EDCE,iBAAiB;ECCnB,qBAAA;EACA,yBAAA;AACA;ADCA;ECCA,4BAAA;EACA,eAAA;EACA,wBAAA;ADCA;ACCA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;ADCA","file":"main.vue","sourcesContent":[".dv-border-box-4 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-4 .dv-reverse {\n transform: rotate(180deg);\n}\n.dv-border-box-4 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-4 .dv-border-svg-container polyline {\n fill: none;\n}\n.dv-border-box-4 .sred {\n stroke: red;\n}\n.dv-border-box-4 .sblue {\n stroke: rgba(0, 0, 255, 0.8);\n}\n.dv-border-box-4 .sw1 {\n stroke-width: 1;\n}\n.dv-border-box-4 .sw3 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-1 {\n stroke: red;\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-2 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-3 {\n stroke: red;\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-4 {\n stroke: red;\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-5 {\n stroke: red;\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-6 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-7 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-8 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-9 {\n stroke: red;\n stroke-width: 3px;\n stroke-linecap: round;\n stroke-dasharray: 100 250;\n}\n.dv-border-box-4 .dv-bb4-line-10 {\n stroke: rgba(0, 0, 255, 0.8);\n stroke-width: 1;\n stroke-dasharray: 80 270;\n}\n.dv-border-box-4 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n","\r\n