@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.umd.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
t((V["@qikdev/vue-ui"] = {}), V.Vue, V["@qikdev/sdk"]));
|
|
8
8
|
})(this, function (V, t, $r) {
|
|
9
9
|
"use strict";
|
|
10
|
-
const ac = "0.2.
|
|
10
|
+
const ac = "0.2.265";
|
|
11
11
|
class st extends Error {}
|
|
12
12
|
class sc extends st {
|
|
13
13
|
constructor(n) {
|
|
@@ -5003,7 +5003,7 @@
|
|
|
5003
5003
|
mixins: [me],
|
|
5004
5004
|
computed: {
|
|
5005
5005
|
string() {
|
|
5006
|
-
return isNaN(this.amount) ? "" : this.amount.toFixed(2);
|
|
5006
|
+
return isNaN(this.amount) ? "0.00" : this.amount.toFixed(2);
|
|
5007
5007
|
},
|
|
5008
5008
|
amount() {
|
|
5009
5009
|
return Number(parseInt(this.value) / 100);
|
|
@@ -5014,6 +5014,16 @@
|
|
|
5014
5014
|
debit() {
|
|
5015
5015
|
return this.amount < 0;
|
|
5016
5016
|
},
|
|
5017
|
+
invalid() {
|
|
5018
|
+
var e;
|
|
5019
|
+
return (
|
|
5020
|
+
((e = this.column) == null ? void 0 : e.key) === "amount" &&
|
|
5021
|
+
this.adjusted
|
|
5022
|
+
);
|
|
5023
|
+
},
|
|
5024
|
+
adjusted() {
|
|
5025
|
+
return this.row.effectiveAmount !== this.row.amount;
|
|
5026
|
+
},
|
|
5017
5027
|
empty() {
|
|
5018
5028
|
return parseInt(this.value) === 0;
|
|
5019
5029
|
},
|
|
@@ -5030,7 +5040,13 @@
|
|
|
5030
5040
|
{
|
|
5031
5041
|
class: t.normalizeClass([
|
|
5032
5042
|
"table-currency-cell",
|
|
5033
|
-
{
|
|
5043
|
+
{
|
|
5044
|
+
credit: r.credit,
|
|
5045
|
+
empty: r.empty,
|
|
5046
|
+
debit: r.debit,
|
|
5047
|
+
invalid: r.invalid,
|
|
5048
|
+
adjusted: r.adjusted,
|
|
5049
|
+
},
|
|
5034
5050
|
]),
|
|
5035
5051
|
},
|
|
5036
5052
|
t.toDisplayString(r.string),
|
|
@@ -5040,7 +5056,7 @@
|
|
|
5040
5056
|
}
|
|
5041
5057
|
const Jh = g(Yh, [
|
|
5042
5058
|
["render", Zh],
|
|
5043
|
-
["__scopeId", "data-v-
|
|
5059
|
+
["__scopeId", "data-v-6ab97ebe"],
|
|
5044
5060
|
]),
|
|
5045
5061
|
dF = "",
|
|
5046
5062
|
Xh = {
|
|
@@ -5893,7 +5909,7 @@
|
|
|
5893
5909
|
}
|
|
5894
5910
|
const Ry = g(Uy, [
|
|
5895
5911
|
["render", jy],
|
|
5896
|
-
["__scopeId", "data-v-
|
|
5912
|
+
["__scopeId", "data-v-bec5c4d1"],
|
|
5897
5913
|
]),
|
|
5898
5914
|
xF = "",
|
|
5899
5915
|
zy = {
|