@plaidev/karte-action-sdk 1.1.257-28896909.eadc4994 → 1.1.257-28905538.3ad26349
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 +13 -10
- package/dist/index.es.js +15 -12
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -1183,7 +1183,7 @@ function cloneToJson(data) {
|
|
1183
1183
|
try {
|
1184
1184
|
return JSON.parse(JSON.stringify(data));
|
1185
1185
|
}
|
1186
|
-
catch (
|
1186
|
+
catch (_) {
|
1187
1187
|
return data;
|
1188
1188
|
}
|
1189
1189
|
}
|
@@ -1721,7 +1721,7 @@ async function loadStyle(href) {
|
|
1721
1721
|
const res = await fetch(href);
|
1722
1722
|
cssRules = await res.text();
|
1723
1723
|
}
|
1724
|
-
catch (
|
1724
|
+
catch (_) {
|
1725
1725
|
// pass
|
1726
1726
|
}
|
1727
1727
|
if (!cssRules)
|
@@ -2751,7 +2751,7 @@ function getLocalStore(key) {
|
|
2751
2751
|
try {
|
2752
2752
|
item = JSON.parse(itemJson);
|
2753
2753
|
}
|
2754
|
-
catch (
|
2754
|
+
catch (_) {
|
2755
2755
|
return;
|
2756
2756
|
}
|
2757
2757
|
if (item.val === undefined) {
|
@@ -5368,7 +5368,7 @@ function add_css$E(target) {
|
|
5368
5368
|
append_styles(target, "svelte-9ixs0b", ".text-element-wrapper.svelte-9ixs0b.svelte-9ixs0b{position:relative;height:100%}.text-element.svelte-9ixs0b.svelte-9ixs0b{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden;font-size:12px;line-height:1.5}.text-link-element.svelte-9ixs0b.svelte-9ixs0b{text-decoration:none;color:inherit}.text-element-inner.svelte-9ixs0b.svelte-9ixs0b{width:100%;height:auto}.text-direction-vertical.svelte-9ixs0b.svelte-9ixs0b{writing-mode:vertical-rl}.text-direction-vertical.svelte-9ixs0b .text-element-inner.svelte-9ixs0b{width:auto;height:100%}.tooltip.svelte-9ixs0b.svelte-9ixs0b{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-9ixs0b.svelte-9ixs0b:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-9ixs0b.svelte-9ixs0b{display:block}.tooltip-error.svelte-9ixs0b.svelte-9ixs0b{background-color:#c00}.tooltip-error.svelte-9ixs0b.svelte-9ixs0b:before{border-bottom:7px solid #c00}");
|
5369
5369
|
}
|
5370
5370
|
|
5371
|
-
// (
|
5371
|
+
// (92:2) {:else}
|
5372
5372
|
function create_else_block$2(ctx) {
|
5373
5373
|
let div1;
|
5374
5374
|
let div0;
|
@@ -5434,7 +5434,7 @@ function create_else_block$2(ctx) {
|
|
5434
5434
|
};
|
5435
5435
|
}
|
5436
5436
|
|
5437
|
-
// (
|
5437
|
+
// (78:2) {#if enableCopy}
|
5438
5438
|
function create_if_block$a(ctx) {
|
5439
5439
|
let a;
|
5440
5440
|
let div0;
|
@@ -5653,7 +5653,7 @@ function instance$18($$self, $$props, $$invalidate) {
|
|
5653
5653
|
}
|
5654
5654
|
|
5655
5655
|
tooltipEl.classList.add('show');
|
5656
|
-
} catch(
|
5656
|
+
} catch(_) {
|
5657
5657
|
tooltipErrorEl.classList.add('show');
|
5658
5658
|
}
|
5659
5659
|
|
@@ -8868,7 +8868,7 @@ function instance$W($$self, $$props, $$invalidate) {
|
|
8868
8868
|
const validationRegExp = (() => {
|
8869
8869
|
try {
|
8870
8870
|
return new RegExp(validation.pattern, validation.flags);
|
8871
|
-
} catch(
|
8871
|
+
} catch(_) {
|
8872
8872
|
return undefined;
|
8873
8873
|
}
|
8874
8874
|
})();
|
@@ -12082,9 +12082,12 @@ const useInjectCustomizeCss = (props) => {
|
|
12082
12082
|
document.head.appendChild(style);
|
12083
12083
|
}
|
12084
12084
|
return () => {
|
12085
|
-
modalElement?.shadowRoot
|
12086
|
-
|
12087
|
-
|
12085
|
+
if (modalElement?.shadowRoot) {
|
12086
|
+
modalElement.shadowRoot.removeChild(style);
|
12087
|
+
}
|
12088
|
+
else {
|
12089
|
+
document.head.removeChild(style);
|
12090
|
+
}
|
12088
12091
|
};
|
12089
12092
|
}
|
12090
12093
|
onMount$1(() => {
|
package/dist/index.es.js
CHANGED
@@ -1158,7 +1158,7 @@ function cloneToJson(data) {
|
|
1158
1158
|
try {
|
1159
1159
|
return JSON.parse(JSON.stringify(data));
|
1160
1160
|
}
|
1161
|
-
catch (
|
1161
|
+
catch (_) {
|
1162
1162
|
return data;
|
1163
1163
|
}
|
1164
1164
|
}
|
@@ -1338,7 +1338,7 @@ function checkAndDo(checkFn, fn, ...conditionFns) {
|
|
1338
1338
|
}
|
1339
1339
|
if (!haveCondition || !checkFn(conditions, idx))
|
1340
1340
|
return;
|
1341
|
-
fn
|
1341
|
+
fn?.();
|
1342
1342
|
};
|
1343
1343
|
conditionFns.forEach((conditionFn, i) => {
|
1344
1344
|
const checkAndDo = generageCheckAndDo(i);
|
@@ -1351,7 +1351,7 @@ function checkAndDo(checkFn, fn, ...conditionFns) {
|
|
1351
1351
|
haveCondition = conditions.some(c => c !== null);
|
1352
1352
|
const cleanupAll = () => {
|
1353
1353
|
cleanups.forEach((cleanup, i) => {
|
1354
|
-
cleanup
|
1354
|
+
cleanup?.();
|
1355
1355
|
cleanups[i] = null;
|
1356
1356
|
});
|
1357
1357
|
};
|
@@ -1762,7 +1762,7 @@ async function loadStyle(href) {
|
|
1762
1762
|
const res = await fetch(href);
|
1763
1763
|
cssRules = await res.text();
|
1764
1764
|
}
|
1765
|
-
catch (
|
1765
|
+
catch (_) {
|
1766
1766
|
// pass
|
1767
1767
|
}
|
1768
1768
|
if (!cssRules)
|
@@ -2813,7 +2813,7 @@ function getLocalStore(key) {
|
|
2813
2813
|
try {
|
2814
2814
|
item = JSON.parse(itemJson);
|
2815
2815
|
}
|
2816
|
-
catch (
|
2816
|
+
catch (_) {
|
2817
2817
|
return;
|
2818
2818
|
}
|
2819
2819
|
if (item.val === undefined) {
|
@@ -5300,7 +5300,7 @@ function add_css$E(target) {
|
|
5300
5300
|
append_styles(target, "svelte-9ixs0b", ".text-element-wrapper.svelte-9ixs0b.svelte-9ixs0b{position:relative;height:100%}.text-element.svelte-9ixs0b.svelte-9ixs0b{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden;font-size:12px;line-height:1.5}.text-link-element.svelte-9ixs0b.svelte-9ixs0b{text-decoration:none;color:inherit}.text-element-inner.svelte-9ixs0b.svelte-9ixs0b{width:100%;height:auto}.text-direction-vertical.svelte-9ixs0b.svelte-9ixs0b{writing-mode:vertical-rl}.text-direction-vertical.svelte-9ixs0b .text-element-inner.svelte-9ixs0b{width:auto;height:100%}.tooltip.svelte-9ixs0b.svelte-9ixs0b{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-9ixs0b.svelte-9ixs0b:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-9ixs0b.svelte-9ixs0b{display:block}.tooltip-error.svelte-9ixs0b.svelte-9ixs0b{background-color:#c00}.tooltip-error.svelte-9ixs0b.svelte-9ixs0b:before{border-bottom:7px solid #c00}");
|
5301
5301
|
}
|
5302
5302
|
|
5303
|
-
// (
|
5303
|
+
// (92:2) {:else}
|
5304
5304
|
function create_else_block$2(ctx) {
|
5305
5305
|
let div1;
|
5306
5306
|
let div0;
|
@@ -5353,7 +5353,7 @@ function create_else_block$2(ctx) {
|
|
5353
5353
|
};
|
5354
5354
|
}
|
5355
5355
|
|
5356
|
-
// (
|
5356
|
+
// (78:2) {#if enableCopy}
|
5357
5357
|
function create_if_block$a(ctx) {
|
5358
5358
|
let a;
|
5359
5359
|
let div0;
|
@@ -5535,7 +5535,7 @@ function instance$18($$self, $$props, $$invalidate) {
|
|
5535
5535
|
}
|
5536
5536
|
|
5537
5537
|
tooltipEl.classList.add('show');
|
5538
|
-
} catch(
|
5538
|
+
} catch(_) {
|
5539
5539
|
tooltipErrorEl.classList.add('show');
|
5540
5540
|
}
|
5541
5541
|
|
@@ -8462,7 +8462,7 @@ function instance$W($$self, $$props, $$invalidate) {
|
|
8462
8462
|
const validationRegExp = (() => {
|
8463
8463
|
try {
|
8464
8464
|
return new RegExp(validation.pattern, validation.flags);
|
8465
|
-
} catch(
|
8465
|
+
} catch(_) {
|
8466
8466
|
return undefined;
|
8467
8467
|
}
|
8468
8468
|
})();
|
@@ -11428,9 +11428,12 @@ const useInjectCustomizeCss = (props) => {
|
|
11428
11428
|
document.head.appendChild(style);
|
11429
11429
|
}
|
11430
11430
|
return () => {
|
11431
|
-
modalElement?.shadowRoot
|
11432
|
-
|
11433
|
-
|
11431
|
+
if (modalElement?.shadowRoot) {
|
11432
|
+
modalElement.shadowRoot.removeChild(style);
|
11433
|
+
}
|
11434
|
+
else {
|
11435
|
+
document.head.removeChild(style);
|
11436
|
+
}
|
11434
11437
|
};
|
11435
11438
|
}
|
11436
11439
|
onMount$1(() => {
|