@cortezaproject/corteza-vue 2023.3.7 → 2023.3.8
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/dist/components/button/index.d.ts +1 -0
- package/dist/index.es.js +5 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CButtonSubmit } from './CButtonSubmit.vue';
|
package/dist/index.es.js
CHANGED
|
@@ -22,6 +22,7 @@ import { library } from '@fortawesome/fontawesome-svg-core';
|
|
|
22
22
|
import { faExpandAlt, faLock } from '@fortawesome/free-solid-svg-icons';
|
|
23
23
|
import { VueSelect } from 'vue-select';
|
|
24
24
|
import { mapGetters, mapActions } from 'vuex';
|
|
25
|
+
import numeral from 'numeral';
|
|
25
26
|
import pino from 'pino';
|
|
26
27
|
import fzy from 'fuzzysort';
|
|
27
28
|
|
|
@@ -88366,11 +88367,13 @@ var script$Y = {
|
|
|
88366
88367
|
displayedMetric() {
|
|
88367
88368
|
const {
|
|
88368
88369
|
prefix = '',
|
|
88369
|
-
suffix = ''
|
|
88370
|
+
suffix = '',
|
|
88371
|
+
format = ''
|
|
88370
88372
|
} = this.options;
|
|
88371
88373
|
|
|
88372
88374
|
if (this.value) {
|
|
88373
|
-
|
|
88375
|
+
const value = format ? numeral(this.value).format(format) : this.value;
|
|
88376
|
+
return `${prefix}${value}${suffix}`;
|
|
88374
88377
|
}
|
|
88375
88378
|
|
|
88376
88379
|
return '';
|