update dist and lib
This commit is contained in:
parent
ba90fb2faa
commit
1a13bc08c5
|
@ -19458,6 +19458,13 @@
|
||||||
*/
|
*/
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description rowGap
|
||||||
|
* @type {Number}
|
||||||
|
@default rowGap = 0
|
||||||
|
*/
|
||||||
|
rowGap: 0,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Text style configuration
|
* @description Text style configuration
|
||||||
* @type {Object} {CRender Class Style}
|
* @type {Object} {CRender Class Style}
|
||||||
|
@ -19549,7 +19556,8 @@
|
||||||
number,
|
number,
|
||||||
content,
|
content,
|
||||||
toFixed,
|
toFixed,
|
||||||
textAlign
|
textAlign,
|
||||||
|
rowGap
|
||||||
} = this.mergedConfig;
|
} = this.mergedConfig;
|
||||||
const [w, h] = this.renderer.area;
|
const [w, h] = this.renderer.area;
|
||||||
const position = [w / 2, h / 2];
|
const position = [w / 2, h / 2];
|
||||||
|
@ -19559,7 +19567,8 @@
|
||||||
number,
|
number,
|
||||||
content,
|
content,
|
||||||
toFixed,
|
toFixed,
|
||||||
position
|
position,
|
||||||
|
rowGap
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -19634,7 +19643,7 @@
|
||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$r = function (inject) {
|
const __vue_inject_styles__$r = function (inject) {
|
||||||
if (!inject) return
|
if (!inject) return
|
||||||
inject("data-v-2cf25a2e_0", { source: ".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
|
inject("data-v-4570caa9_0", { source: ".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
|
||||||
|
|
||||||
};
|
};
|
||||||
/* scoped */
|
/* scoped */
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -53,6 +53,12 @@ export default {
|
||||||
* @example textAlign = 'center' | 'left' | 'right'
|
* @example textAlign = 'center' | 'left' | 'right'
|
||||||
*/
|
*/
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
/**
|
||||||
|
* @description rowGap
|
||||||
|
* @type {Number}
|
||||||
|
@default rowGap = 0
|
||||||
|
*/
|
||||||
|
rowGap: 0,
|
||||||
/**
|
/**
|
||||||
* @description Text style configuration
|
* @description Text style configuration
|
||||||
* @type {Object} {CRender Class Style}
|
* @type {Object} {CRender Class Style}
|
||||||
|
@ -124,7 +130,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getShape () {
|
getShape () {
|
||||||
const { number, content, toFixed, textAlign } = this.mergedConfig
|
const { number, content, toFixed, textAlign, rowGap } = this.mergedConfig
|
||||||
|
|
||||||
const [w, h] = this.renderer.area
|
const [w, h] = this.renderer.area
|
||||||
|
|
||||||
|
@ -137,7 +143,8 @@ export default {
|
||||||
number,
|
number,
|
||||||
content,
|
content,
|
||||||
toFixed,
|
toFixed,
|
||||||
position
|
position,
|
||||||
|
rowGap
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getStyle () {
|
getStyle () {
|
||||||
|
|
Loading…
Reference in New Issue