@poirazis/supercomponents-shared 1.0.20 → 1.0.21
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/index.js
CHANGED
@@ -7546,7 +7546,7 @@ function jm(l) {
|
|
7546
7546
|
/*formattedValue*/
|
7547
7547
|
(l[1] || /*value*/
|
7548
7548
|
l[0] || /*placeholder*/
|
7549
|
-
l[
|
7549
|
+
l[6]) + ""
|
7550
7550
|
), t, r, o, s;
|
7551
7551
|
return {
|
7552
7552
|
c() {
|
@@ -7575,10 +7575,10 @@ function jm(l) {
|
|
7575
7575
|
},
|
7576
7576
|
p(f, a) {
|
7577
7577
|
l = f, a & /*formattedValue, value, placeholder*/
|
7578
|
-
|
7578
|
+
67 && n !== (n = /*formattedValue*/
|
7579
7579
|
(l[1] || /*value*/
|
7580
7580
|
l[0] || /*placeholder*/
|
7581
|
-
l[
|
7581
|
+
l[6]) + "") && Ae(t, n), a & /*cellOptions*/
|
7582
7582
|
4 && r !== (r = /*cellOptions*/
|
7583
7583
|
l[2].readonly || /*cellOptions*/
|
7584
7584
|
l[2].disabled ? "-1" : "0") && b(e, "tabindex", r), a & /*cellOptions*/
|
@@ -7733,7 +7733,7 @@ function Bm(l) {
|
|
7733
7733
|
function t(s, f) {
|
7734
7734
|
return (
|
7735
7735
|
/*inEdit*/
|
7736
|
-
s[
|
7736
|
+
s[8] ? Wm : jm
|
7737
7737
|
);
|
7738
7738
|
}
|
7739
7739
|
let r = t(l), o = r(l);
|
@@ -7743,18 +7743,18 @@ function Bm(l) {
|
|
7743
7743
|
e,
|
7744
7744
|
"inEdit",
|
7745
7745
|
/*inEdit*/
|
7746
|
-
l[
|
7746
|
+
l[8]
|
7747
7747
|
), g(
|
7748
7748
|
e,
|
7749
7749
|
"isDirty",
|
7750
7750
|
/*isDirty*/
|
7751
|
-
l[
|
7751
|
+
l[7] && /*cellOptions*/
|
7752
7752
|
l[2].showDirty
|
7753
7753
|
), g(
|
7754
7754
|
e,
|
7755
7755
|
"focused",
|
7756
7756
|
/*inEdit*/
|
7757
|
-
l[
|
7757
|
+
l[8]
|
7758
7758
|
), g(
|
7759
7759
|
e,
|
7760
7760
|
"inline",
|
@@ -7808,24 +7808,24 @@ function Bm(l) {
|
|
7808
7808
|
p(s, [f]) {
|
7809
7809
|
/*cellOptions*/
|
7810
7810
|
s[2].icon ? n ? n.p(s, f) : (n = $r(s), n.c(), n.m(e, i)) : n && (n.d(1), n = null), r === (r = t(s)) && o ? o.p(s, f) : (o.d(1), o = r(s), o && (o.c(), o.m(e, null))), f & /*inEdit*/
|
7811
|
-
|
7811
|
+
256 && g(
|
7812
7812
|
e,
|
7813
7813
|
"inEdit",
|
7814
7814
|
/*inEdit*/
|
7815
|
-
s[
|
7815
|
+
s[8]
|
7816
7816
|
), f & /*isDirty, cellOptions*/
|
7817
|
-
|
7817
|
+
132 && g(
|
7818
7818
|
e,
|
7819
7819
|
"isDirty",
|
7820
7820
|
/*isDirty*/
|
7821
|
-
s[
|
7821
|
+
s[7] && /*cellOptions*/
|
7822
7822
|
s[2].showDirty
|
7823
7823
|
), f & /*inEdit*/
|
7824
|
-
|
7824
|
+
256 && g(
|
7825
7825
|
e,
|
7826
7826
|
"focused",
|
7827
7827
|
/*inEdit*/
|
7828
|
-
s[
|
7828
|
+
s[8]
|
7829
7829
|
), f & /*cellOptions*/
|
7830
7830
|
4 && g(
|
7831
7831
|
e,
|
@@ -7903,7 +7903,7 @@ function Um(l, e, i) {
|
|
7903
7903
|
return M;
|
7904
7904
|
},
|
7905
7905
|
reset() {
|
7906
|
-
return i(4, I = c), i(12, v = void 0), "View";
|
7906
|
+
return i(4, I = c), i(12, v = void 0), (h == null ? void 0 : h.initialState) ?? "View";
|
7907
7907
|
}
|
7908
7908
|
},
|
7909
7909
|
View: {
|
@@ -7962,7 +7962,7 @@ function Um(l, e, i) {
|
|
7962
7962
|
});
|
7963
7963
|
function P(M) {
|
7964
7964
|
Ve[M ? "unshift" : "push"](() => {
|
7965
|
-
_ = M, i(
|
7965
|
+
_ = M, i(5, _);
|
7966
7966
|
});
|
7967
7967
|
}
|
7968
7968
|
return l.$$set = (M) => {
|
@@ -7970,21 +7970,20 @@ function Um(l, e, i) {
|
|
7970
7970
|
}, l.$$.update = () => {
|
7971
7971
|
l.$$.dirty & /*cellState, value*/
|
7972
7972
|
9 && O.reset(c), l.$$.dirty & /*$cellState*/
|
7973
|
-
8192 && i(
|
7974
|
-
6160 && i(
|
7973
|
+
8192 && i(8, n = o == "Editing"), l.$$.dirty & /*lastEdit, originalValue, localValue*/
|
7974
|
+
6160 && i(7, t = v && w != I), l.$$.dirty & /*formattedValue, cellOptions, value*/
|
7975
7975
|
7 && i(1, d = !d && (h != null && h.template) ? u(h.template, { value: c }) : d), l.$$.dirty & /*cellOptions*/
|
7976
|
-
4 && i(
|
7977
|
-
2097 && n && console.log("Entering edit mode for cell", c, I, w);
|
7976
|
+
4 && i(6, r = h.readonly || h.disabled ? "" : h.placeholder || "");
|
7978
7977
|
}, [
|
7979
7978
|
c,
|
7980
7979
|
d,
|
7981
7980
|
h,
|
7982
7981
|
O,
|
7983
7982
|
I,
|
7984
|
-
n,
|
7985
7983
|
_,
|
7986
7984
|
r,
|
7987
7985
|
t,
|
7986
|
+
n,
|
7988
7987
|
k,
|
7989
7988
|
m,
|
7990
7989
|
w,
|
@@ -9718,7 +9717,7 @@ function rg(l, e, i) {
|
|
9718
9717
|
i(5, I = h);
|
9719
9718
|
},
|
9720
9719
|
reset() {
|
9721
|
-
return i(12, _ = h), i(5, I = h), "View";
|
9720
|
+
return i(12, _ = h), i(5, I = h), p.initialState ?? "View";
|
9722
9721
|
},
|
9723
9722
|
focus() {
|
9724
9723
|
if (!p.readonly && !p.disabled) return "Editing";
|