@plaidev/karte-action-sdk 1.1.270-29365389.cc95ce9c2 → 1.1.270-29365477.b153dfd00
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/hydrate/index.es.js
CHANGED
|
@@ -16713,8 +16713,8 @@ function add_css$20(target) {
|
|
|
16713
16713
|
}
|
|
16714
16714
|
function get_each_context$4(ctx, list, i) {
|
|
16715
16715
|
const child_ctx = ctx.slice();
|
|
16716
|
-
child_ctx[
|
|
16717
|
-
child_ctx[
|
|
16716
|
+
child_ctx[37] = list[i];
|
|
16717
|
+
child_ctx[39] = i;
|
|
16718
16718
|
return child_ctx;
|
|
16719
16719
|
}
|
|
16720
16720
|
function create_if_block$12(ctx) {
|
|
@@ -16774,7 +16774,7 @@ function create_each_block$4(ctx) {
|
|
|
16774
16774
|
let mounted;
|
|
16775
16775
|
let dispose;
|
|
16776
16776
|
function click_handler() {
|
|
16777
|
-
return ctx[23](ctx[
|
|
16777
|
+
return ctx[23](ctx[39]);
|
|
16778
16778
|
}
|
|
16779
16779
|
return {
|
|
16780
16780
|
c() {
|
|
@@ -16795,7 +16795,7 @@ function create_each_block$4(ctx) {
|
|
|
16795
16795
|
h() {
|
|
16796
16796
|
attr(i_1, "style", i_1_style_value = objToStyle({
|
|
16797
16797
|
...ctx[5],
|
|
16798
|
-
background: ctx[
|
|
16798
|
+
background: ctx[37].isActive ? "#555555" : "#AAAAAA"
|
|
16799
16799
|
}));
|
|
16800
16800
|
attr(button, "style", objToStyle({
|
|
16801
16801
|
padding: "4px",
|
|
@@ -16816,7 +16816,7 @@ function create_each_block$4(ctx) {
|
|
|
16816
16816
|
ctx = new_ctx;
|
|
16817
16817
|
if (dirty[0] & 288 && i_1_style_value !== (i_1_style_value = objToStyle({
|
|
16818
16818
|
...ctx[5],
|
|
16819
|
-
background: ctx[
|
|
16819
|
+
background: ctx[37].isActive ? "#555555" : "#AAAAAA"
|
|
16820
16820
|
}))) attr(i_1, "style", i_1_style_value);
|
|
16821
16821
|
},
|
|
16822
16822
|
d(detaching) {
|
|
@@ -16988,20 +16988,9 @@ function instance$29($$self, $$props, $$invalidate) {
|
|
|
16988
16988
|
e.stopPropagation();
|
|
16989
16989
|
}
|
|
16990
16990
|
};
|
|
16991
|
-
const disableChildrenClick = () => {
|
|
16992
|
-
if (slotElement) Array.from(slotElement.children ?? []).forEach((child) => {
|
|
16993
|
-
child.style.pointerEvents = "none";
|
|
16994
|
-
});
|
|
16995
|
-
};
|
|
16996
|
-
const enableChildrenClick = () => {
|
|
16997
|
-
if (slotElement) Array.from(slotElement.children ?? []).forEach((child) => {
|
|
16998
|
-
child.style.pointerEvents = void 0;
|
|
16999
|
-
});
|
|
17000
|
-
};
|
|
17001
16991
|
const move = (moved) => {
|
|
17002
16992
|
$$invalidate(12, movedX = moved);
|
|
17003
16993
|
if ((moved > 10 || moved < -10) && !isDragging) isDragging = true;
|
|
17004
|
-
disableChildrenClick();
|
|
17005
16994
|
};
|
|
17006
16995
|
const handleTouchmove = (e) => {
|
|
17007
16996
|
const now = performance.now();
|
|
@@ -17019,9 +17008,6 @@ function instance$29($$self, $$props, $$invalidate) {
|
|
|
17019
17008
|
document.removeEventListener("touchmove", handleTouchmove);
|
|
17020
17009
|
document.removeEventListener("touchend", handleTouchend);
|
|
17021
17010
|
document.removeEventListener("click", handleClick);
|
|
17022
|
-
setTimeout(() => {
|
|
17023
|
-
enableChildrenClick();
|
|
17024
|
-
}, 100);
|
|
17025
17011
|
};
|
|
17026
17012
|
const handleTouchstart = (e) => {
|
|
17027
17013
|
startX = e.touches[0].clientX;
|
|
@@ -17044,9 +17030,6 @@ function instance$29($$self, $$props, $$invalidate) {
|
|
|
17044
17030
|
document.removeEventListener("mousemove", handleMousemove);
|
|
17045
17031
|
document.removeEventListener("mouseup", handleMouseup);
|
|
17046
17032
|
document.removeEventListener("click", handleClick);
|
|
17047
|
-
setTimeout(() => {
|
|
17048
|
-
enableChildrenClick();
|
|
17049
|
-
}, 100);
|
|
17050
17033
|
};
|
|
17051
17034
|
const handleMousedown = (e) => {
|
|
17052
17035
|
startX = e.clientX;
|
package/dist/index.es.js
CHANGED
|
@@ -14966,8 +14966,8 @@ function add_css$20(target) {
|
|
|
14966
14966
|
}
|
|
14967
14967
|
function get_each_context$4(ctx, list, i) {
|
|
14968
14968
|
const child_ctx = ctx.slice();
|
|
14969
|
-
child_ctx[
|
|
14970
|
-
child_ctx[
|
|
14969
|
+
child_ctx[37] = list[i];
|
|
14970
|
+
child_ctx[39] = i;
|
|
14971
14971
|
return child_ctx;
|
|
14972
14972
|
}
|
|
14973
14973
|
function create_if_block$12(ctx) {
|
|
@@ -15017,7 +15017,7 @@ function create_each_block$4(ctx) {
|
|
|
15017
15017
|
let mounted;
|
|
15018
15018
|
let dispose;
|
|
15019
15019
|
function click_handler() {
|
|
15020
|
-
return ctx[23](ctx[
|
|
15020
|
+
return ctx[23](ctx[39]);
|
|
15021
15021
|
}
|
|
15022
15022
|
return {
|
|
15023
15023
|
c() {
|
|
@@ -15026,7 +15026,7 @@ function create_each_block$4(ctx) {
|
|
|
15026
15026
|
t = space();
|
|
15027
15027
|
attr(i_1, "style", i_1_style_value = objToStyle({
|
|
15028
15028
|
...ctx[5],
|
|
15029
|
-
background: ctx[
|
|
15029
|
+
background: ctx[37].isActive ? "#555555" : "#AAAAAA"
|
|
15030
15030
|
}));
|
|
15031
15031
|
attr(button, "style", objToStyle({
|
|
15032
15032
|
padding: "4px",
|
|
@@ -15047,7 +15047,7 @@ function create_each_block$4(ctx) {
|
|
|
15047
15047
|
ctx = new_ctx;
|
|
15048
15048
|
if (dirty[0] & 288 && i_1_style_value !== (i_1_style_value = objToStyle({
|
|
15049
15049
|
...ctx[5],
|
|
15050
|
-
background: ctx[
|
|
15050
|
+
background: ctx[37].isActive ? "#555555" : "#AAAAAA"
|
|
15051
15051
|
}))) attr(i_1, "style", i_1_style_value);
|
|
15052
15052
|
},
|
|
15053
15053
|
d(detaching) {
|
|
@@ -15194,20 +15194,9 @@ function instance$29($$self, $$props, $$invalidate) {
|
|
|
15194
15194
|
e.stopPropagation();
|
|
15195
15195
|
}
|
|
15196
15196
|
};
|
|
15197
|
-
const disableChildrenClick = () => {
|
|
15198
|
-
if (slotElement) Array.from(slotElement.children ?? []).forEach((child) => {
|
|
15199
|
-
child.style.pointerEvents = "none";
|
|
15200
|
-
});
|
|
15201
|
-
};
|
|
15202
|
-
const enableChildrenClick = () => {
|
|
15203
|
-
if (slotElement) Array.from(slotElement.children ?? []).forEach((child) => {
|
|
15204
|
-
child.style.pointerEvents = void 0;
|
|
15205
|
-
});
|
|
15206
|
-
};
|
|
15207
15197
|
const move = (moved) => {
|
|
15208
15198
|
$$invalidate(12, movedX = moved);
|
|
15209
15199
|
if ((moved > 10 || moved < -10) && !isDragging) isDragging = true;
|
|
15210
|
-
disableChildrenClick();
|
|
15211
15200
|
};
|
|
15212
15201
|
const handleTouchmove = (e) => {
|
|
15213
15202
|
const now = performance.now();
|
|
@@ -15225,9 +15214,6 @@ function instance$29($$self, $$props, $$invalidate) {
|
|
|
15225
15214
|
document.removeEventListener("touchmove", handleTouchmove);
|
|
15226
15215
|
document.removeEventListener("touchend", handleTouchend);
|
|
15227
15216
|
document.removeEventListener("click", handleClick);
|
|
15228
|
-
setTimeout(() => {
|
|
15229
|
-
enableChildrenClick();
|
|
15230
|
-
}, 100);
|
|
15231
15217
|
};
|
|
15232
15218
|
const handleTouchstart = (e) => {
|
|
15233
15219
|
startX = e.touches[0].clientX;
|
|
@@ -15250,9 +15236,6 @@ function instance$29($$self, $$props, $$invalidate) {
|
|
|
15250
15236
|
document.removeEventListener("mousemove", handleMousemove);
|
|
15251
15237
|
document.removeEventListener("mouseup", handleMouseup);
|
|
15252
15238
|
document.removeEventListener("click", handleClick);
|
|
15253
|
-
setTimeout(() => {
|
|
15254
|
-
enableChildrenClick();
|
|
15255
|
-
}, 100);
|
|
15256
15239
|
};
|
|
15257
15240
|
const handleMousedown = (e) => {
|
|
15258
15241
|
startX = e.clientX;
|
|
@@ -6194,20 +6194,9 @@ function Slider($$anchor, $$props) {
|
|
|
6194
6194
|
e.stopPropagation();
|
|
6195
6195
|
}
|
|
6196
6196
|
};
|
|
6197
|
-
const disableChildrenClick = () => {
|
|
6198
|
-
if ($.get(slotElement)) Array.from($.get(slotElement).children ?? []).forEach((child) => {
|
|
6199
|
-
child.style.pointerEvents = "none";
|
|
6200
|
-
});
|
|
6201
|
-
};
|
|
6202
|
-
const enableChildrenClick = () => {
|
|
6203
|
-
if ($.get(slotElement)) Array.from($.get(slotElement).children ?? []).forEach((child) => {
|
|
6204
|
-
child.style.pointerEvents = void 0;
|
|
6205
|
-
});
|
|
6206
|
-
};
|
|
6207
6197
|
const move = (moved) => {
|
|
6208
6198
|
$.set(movedX, moved);
|
|
6209
6199
|
if ((moved > 10 || moved < -10) && !isDragging) isDragging = true;
|
|
6210
|
-
disableChildrenClick();
|
|
6211
6200
|
};
|
|
6212
6201
|
const handleTouchmove = (e) => {
|
|
6213
6202
|
const now = performance.now();
|
|
@@ -6225,9 +6214,6 @@ function Slider($$anchor, $$props) {
|
|
|
6225
6214
|
document.removeEventListener("touchmove", handleTouchmove);
|
|
6226
6215
|
document.removeEventListener("touchend", handleTouchend);
|
|
6227
6216
|
document.removeEventListener("click", handleClick);
|
|
6228
|
-
setTimeout(() => {
|
|
6229
|
-
enableChildrenClick();
|
|
6230
|
-
}, 100);
|
|
6231
6217
|
};
|
|
6232
6218
|
const handleTouchstart = (e) => {
|
|
6233
6219
|
startX = e.touches[0].clientX;
|
|
@@ -6250,9 +6236,6 @@ function Slider($$anchor, $$props) {
|
|
|
6250
6236
|
document.removeEventListener("mousemove", handleMousemove);
|
|
6251
6237
|
document.removeEventListener("mouseup", handleMouseup);
|
|
6252
6238
|
document.removeEventListener("click", handleClick);
|
|
6253
|
-
setTimeout(() => {
|
|
6254
|
-
enableChildrenClick();
|
|
6255
|
-
}, 100);
|
|
6256
6239
|
};
|
|
6257
6240
|
const handleMousedown = (e) => {
|
|
6258
6241
|
startX = e.clientX;
|
package/dist/svelte5/index.es.js
CHANGED
|
@@ -6163,20 +6163,9 @@ function Slider($$anchor, $$props) {
|
|
|
6163
6163
|
e.stopPropagation();
|
|
6164
6164
|
}
|
|
6165
6165
|
};
|
|
6166
|
-
const disableChildrenClick = () => {
|
|
6167
|
-
if ($.get(slotElement)) Array.from($.get(slotElement).children ?? []).forEach((child) => {
|
|
6168
|
-
child.style.pointerEvents = "none";
|
|
6169
|
-
});
|
|
6170
|
-
};
|
|
6171
|
-
const enableChildrenClick = () => {
|
|
6172
|
-
if ($.get(slotElement)) Array.from($.get(slotElement).children ?? []).forEach((child) => {
|
|
6173
|
-
child.style.pointerEvents = void 0;
|
|
6174
|
-
});
|
|
6175
|
-
};
|
|
6176
6166
|
const move = (moved) => {
|
|
6177
6167
|
$.set(movedX, moved);
|
|
6178
6168
|
if ((moved > 10 || moved < -10) && !isDragging) isDragging = true;
|
|
6179
|
-
disableChildrenClick();
|
|
6180
6169
|
};
|
|
6181
6170
|
const handleTouchmove = (e) => {
|
|
6182
6171
|
const now = performance.now();
|
|
@@ -6194,9 +6183,6 @@ function Slider($$anchor, $$props) {
|
|
|
6194
6183
|
document.removeEventListener("touchmove", handleTouchmove);
|
|
6195
6184
|
document.removeEventListener("touchend", handleTouchend);
|
|
6196
6185
|
document.removeEventListener("click", handleClick);
|
|
6197
|
-
setTimeout(() => {
|
|
6198
|
-
enableChildrenClick();
|
|
6199
|
-
}, 100);
|
|
6200
6186
|
};
|
|
6201
6187
|
const handleTouchstart = (e) => {
|
|
6202
6188
|
startX = e.touches[0].clientX;
|
|
@@ -6219,9 +6205,6 @@ function Slider($$anchor, $$props) {
|
|
|
6219
6205
|
document.removeEventListener("mousemove", handleMousemove);
|
|
6220
6206
|
document.removeEventListener("mouseup", handleMouseup);
|
|
6221
6207
|
document.removeEventListener("click", handleClick);
|
|
6222
|
-
setTimeout(() => {
|
|
6223
|
-
enableChildrenClick();
|
|
6224
|
-
}, 100);
|
|
6225
6208
|
};
|
|
6226
6209
|
const handleMousedown = (e) => {
|
|
6227
6210
|
startX = e.clientX;
|
|
@@ -6163,20 +6163,9 @@ function Slider($$anchor, $$props) {
|
|
|
6163
6163
|
e.stopPropagation();
|
|
6164
6164
|
}
|
|
6165
6165
|
};
|
|
6166
|
-
const disableChildrenClick = () => {
|
|
6167
|
-
if ($.get(slotElement)) Array.from($.get(slotElement).children ?? []).forEach((child) => {
|
|
6168
|
-
child.style.pointerEvents = "none";
|
|
6169
|
-
});
|
|
6170
|
-
};
|
|
6171
|
-
const enableChildrenClick = () => {
|
|
6172
|
-
if ($.get(slotElement)) Array.from($.get(slotElement).children ?? []).forEach((child) => {
|
|
6173
|
-
child.style.pointerEvents = void 0;
|
|
6174
|
-
});
|
|
6175
|
-
};
|
|
6176
6166
|
const move = (moved) => {
|
|
6177
6167
|
$.set(movedX, moved);
|
|
6178
6168
|
if ((moved > 10 || moved < -10) && !isDragging) isDragging = true;
|
|
6179
|
-
disableChildrenClick();
|
|
6180
6169
|
};
|
|
6181
6170
|
const handleTouchmove = (e) => {
|
|
6182
6171
|
const now = performance.now();
|
|
@@ -6194,9 +6183,6 @@ function Slider($$anchor, $$props) {
|
|
|
6194
6183
|
document.removeEventListener("touchmove", handleTouchmove);
|
|
6195
6184
|
document.removeEventListener("touchend", handleTouchend);
|
|
6196
6185
|
document.removeEventListener("click", handleClick);
|
|
6197
|
-
setTimeout(() => {
|
|
6198
|
-
enableChildrenClick();
|
|
6199
|
-
}, 100);
|
|
6200
6186
|
};
|
|
6201
6187
|
const handleTouchstart = (e) => {
|
|
6202
6188
|
startX = e.touches[0].clientX;
|
|
@@ -6219,9 +6205,6 @@ function Slider($$anchor, $$props) {
|
|
|
6219
6205
|
document.removeEventListener("mousemove", handleMousemove);
|
|
6220
6206
|
document.removeEventListener("mouseup", handleMouseup);
|
|
6221
6207
|
document.removeEventListener("click", handleClick);
|
|
6222
|
-
setTimeout(() => {
|
|
6223
|
-
enableChildrenClick();
|
|
6224
|
-
}, 100);
|
|
6225
6208
|
};
|
|
6226
6209
|
const handleMousedown = (e) => {
|
|
6227
6210
|
startX = e.clientX;
|