@qikdev/vue-ui 0.2.264 → 0.2.265
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/lib.es.js +21 -5
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +21 -5
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +30 -22
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
vModelDynamic as Yn,
|
|
48
48
|
} from "vue";
|
|
49
49
|
import { EventDispatcher as jl } from "@qikdev/sdk";
|
|
50
|
-
const cu = "0.2.
|
|
50
|
+
const cu = "0.2.265";
|
|
51
51
|
class zt extends Error {}
|
|
52
52
|
class fu extends zt {
|
|
53
53
|
constructor(t) {
|
|
@@ -6901,7 +6901,7 @@ const py = {
|
|
|
6901
6901
|
mixins: [Me],
|
|
6902
6902
|
computed: {
|
|
6903
6903
|
string() {
|
|
6904
|
-
return isNaN(this.amount) ? "" : this.amount.toFixed(2);
|
|
6904
|
+
return isNaN(this.amount) ? "0.00" : this.amount.toFixed(2);
|
|
6905
6905
|
},
|
|
6906
6906
|
amount() {
|
|
6907
6907
|
return Number(parseInt(this.value) / 100);
|
|
@@ -6912,6 +6912,16 @@ const py = {
|
|
|
6912
6912
|
debit() {
|
|
6913
6913
|
return this.amount < 0;
|
|
6914
6914
|
},
|
|
6915
|
+
invalid() {
|
|
6916
|
+
var e;
|
|
6917
|
+
return (
|
|
6918
|
+
((e = this.column) == null ? void 0 : e.key) === "amount" &&
|
|
6919
|
+
this.adjusted
|
|
6920
|
+
);
|
|
6921
|
+
},
|
|
6922
|
+
adjusted() {
|
|
6923
|
+
return this.row.effectiveAmount !== this.row.amount;
|
|
6924
|
+
},
|
|
6915
6925
|
empty() {
|
|
6916
6926
|
return parseInt(this.value) === 0;
|
|
6917
6927
|
},
|
|
@@ -6928,7 +6938,13 @@ function yy(e, t, n, r, s, i) {
|
|
|
6928
6938
|
{
|
|
6929
6939
|
class: A([
|
|
6930
6940
|
"table-currency-cell",
|
|
6931
|
-
{
|
|
6941
|
+
{
|
|
6942
|
+
credit: i.credit,
|
|
6943
|
+
empty: i.empty,
|
|
6944
|
+
debit: i.debit,
|
|
6945
|
+
invalid: i.invalid,
|
|
6946
|
+
adjusted: i.adjusted,
|
|
6947
|
+
},
|
|
6932
6948
|
]),
|
|
6933
6949
|
},
|
|
6934
6950
|
k(i.string),
|
|
@@ -6938,7 +6954,7 @@ function yy(e, t, n, r, s, i) {
|
|
|
6938
6954
|
}
|
|
6939
6955
|
const gy = /* @__PURE__ */ T(py, [
|
|
6940
6956
|
["render", yy],
|
|
6941
|
-
["__scopeId", "data-v-
|
|
6957
|
+
["__scopeId", "data-v-6ab97ebe"],
|
|
6942
6958
|
]);
|
|
6943
6959
|
const _y = {
|
|
6944
6960
|
data() {
|
|
@@ -7798,7 +7814,7 @@ function og(e, t, n, r, s, i) {
|
|
|
7798
7814
|
}
|
|
7799
7815
|
const ag = /* @__PURE__ */ T(sg, [
|
|
7800
7816
|
["render", og],
|
|
7801
|
-
["__scopeId", "data-v-
|
|
7817
|
+
["__scopeId", "data-v-bec5c4d1"],
|
|
7802
7818
|
]);
|
|
7803
7819
|
const ug = {
|
|
7804
7820
|
mixins: [Me],
|