@plaidev/karte-action-sdk 1.1.45 → 1.1.46

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.
Files changed (2) hide show
  1. package/dist/index.es.js +24 -208
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { writable, get } from 'svelte/store';
2
- import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, noop, element, claim_element, children, attr, listen, null_to_empty, append_hydration, binding_callbacks, svg_element, claim_svg_element, src_url_equal } from 'https://cdn.skypack.dev/svelte/internal';
3
- import { createEventDispatcher, onDestroy, onMount, setContext, getContext } from 'https://cdn.skypack.dev/svelte';
2
+ import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, noop, element, attr, listen, null_to_empty, append, binding_callbacks, svg_element, src_url_equal } from 'svelte/internal';
3
+ import { createEventDispatcher, onDestroy, onMount, setContext, getContext } from 'svelte';
4
4
 
5
5
  /**
6
6
  * 内部的に使われている、UIから選択できない関数
@@ -548,14 +548,9 @@ function create_fragment$c(ctx) {
548
548
  t = space();
549
549
  if (default_slot) default_slot.c();
550
550
  },
551
- l(nodes) {
552
- claim_component(normalize.$$.fragment, nodes);
553
- t = claim_space(nodes);
554
- if (default_slot) default_slot.l(nodes);
555
- },
556
551
  m(target, anchor) {
557
552
  mount_component(normalize, target, anchor);
558
- insert_hydration(target, t, anchor);
553
+ insert(target, t, anchor);
559
554
 
560
555
  if (default_slot) {
561
556
  default_slot.m(target, anchor);
@@ -626,9 +621,6 @@ function create_if_block$2(ctx) {
626
621
  c() {
627
622
  if (default_slot) default_slot.c();
628
623
  },
629
- l(nodes) {
630
- if (default_slot) default_slot.l(nodes);
631
- },
632
624
  m(target, anchor) {
633
625
  if (default_slot) {
634
626
  default_slot.m(target, anchor);
@@ -677,13 +669,9 @@ function create_fragment$b(ctx) {
677
669
  if (if_block) if_block.c();
678
670
  if_block_anchor = empty();
679
671
  },
680
- l(nodes) {
681
- if (if_block) if_block.l(nodes);
682
- if_block_anchor = empty();
683
- },
684
672
  m(target, anchor) {
685
673
  if (if_block) if_block.m(target, anchor);
686
- insert_hydration(target, if_block_anchor, anchor);
674
+ insert(target, if_block_anchor, anchor);
687
675
  current = true;
688
676
  },
689
677
  p(ctx, [dirty]) {
@@ -762,18 +750,10 @@ function create_if_block$1(ctx) {
762
750
  return {
763
751
  c() {
764
752
  div = element("div");
765
- this.h();
766
- },
767
- l(nodes) {
768
- div = claim_element(nodes, "DIV", { class: true });
769
- children(div).forEach(detach);
770
- this.h();
771
- },
772
- h() {
773
753
  attr(div, "class", "background svelte-1h4b6e3");
774
754
  },
775
755
  m(target, anchor) {
776
- insert_hydration(target, div, anchor);
756
+ insert(target, div, anchor);
777
757
 
778
758
  if (!mounted) {
779
759
  dispose = listen(div, "click", /*click_handler*/ ctx[2]);
@@ -798,13 +778,9 @@ function create_fragment$a(ctx) {
798
778
  if (if_block) if_block.c();
799
779
  if_block_anchor = empty();
800
780
  },
801
- l(nodes) {
802
- if (if_block) if_block.l(nodes);
803
- if_block_anchor = empty();
804
- },
805
781
  m(target, anchor) {
806
782
  if (if_block) if_block.m(target, anchor);
807
- insert_hydration(target, if_block_anchor, anchor);
783
+ insert(target, if_block_anchor, anchor);
808
784
  },
809
785
  p(ctx, [dirty]) {
810
786
  if (/*backgroundOverray*/ ctx[0]) {
@@ -864,20 +840,10 @@ function create_fragment$9(ctx) {
864
840
  c() {
865
841
  div = element("div");
866
842
  if (default_slot) default_slot.c();
867
- this.h();
868
- },
869
- l(nodes) {
870
- div = claim_element(nodes, "DIV", { class: true });
871
- var div_nodes = children(div);
872
- if (default_slot) default_slot.l(div_nodes);
873
- div_nodes.forEach(detach);
874
- this.h();
875
- },
876
- h() {
877
843
  attr(div, "class", "" + (null_to_empty(/*overwriteAnimation*/ ctx[0]) + " svelte-sa0cac"));
878
844
  },
879
845
  m(target, anchor) {
880
- insert_hydration(target, div, anchor);
846
+ insert(target, div, anchor);
881
847
 
882
848
  if (default_slot) {
883
849
  default_slot.m(div, null);
@@ -957,34 +923,6 @@ function create_if_block(ctx) {
957
923
  button = element("button");
958
924
  svg = svg_element("svg");
959
925
  path = svg_element("path");
960
- this.h();
961
- },
962
- l(nodes) {
963
- button = claim_element(nodes, "BUTTON", { class: true, style: true });
964
- var button_nodes = children(button);
965
-
966
- svg = claim_svg_element(button_nodes, "svg", {
967
- width: true,
968
- height: true,
969
- viewBox: true,
970
- fill: true,
971
- xmlns: true
972
- });
973
-
974
- var svg_nodes = children(svg);
975
-
976
- path = claim_svg_element(svg_nodes, "path", {
977
- d: true,
978
- fill: true,
979
- "fill-opacity": true
980
- });
981
-
982
- children(path).forEach(detach);
983
- svg_nodes.forEach(detach);
984
- button_nodes.forEach(detach);
985
- this.h();
986
- },
987
- h() {
988
926
  attr(path, "d", "M5.78516 4.75L8.73828 1.82422C8.90234 1.66016 8.90234 1.35938 8.73828 1.19531L8.05469 0.511719C7.89062 0.347656 7.58984 0.347656 7.42578 0.511719L4.5 3.46484L1.54688 0.511719C1.38281 0.347656 1.08203 0.347656 0.917969 0.511719L0.234375 1.19531C0.0703125 1.35938 0.0703125 1.66016 0.234375 1.82422L3.1875 4.75L0.234375 7.70312C0.0703125 7.86719 0.0703125 8.16797 0.234375 8.33203L0.917969 9.01562C1.08203 9.17969 1.38281 9.17969 1.54688 9.01562L4.5 6.0625L7.42578 9.01562C7.58984 9.17969 7.89062 9.17969 8.05469 9.01562L8.73828 8.33203C8.90234 8.16797 8.90234 7.86719 8.73828 7.70312L5.78516 4.75Z");
989
927
  attr(path, "fill", /*closeButtonColor*/ ctx[3]);
990
928
  attr(path, "fill-opacity", "0.8");
@@ -997,9 +935,9 @@ function create_if_block(ctx) {
997
935
  attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[9] + 1) + "; " + /*_closeStyle*/ ctx[4] + "");
998
936
  },
999
937
  m(target, anchor) {
1000
- insert_hydration(target, button, anchor);
1001
- append_hydration(button, svg);
1002
- append_hydration(svg, path);
938
+ insert(target, button, anchor);
939
+ append(button, svg);
940
+ append(svg, path);
1003
941
 
1004
942
  if (!mounted) {
1005
943
  dispose = listen(button, "click", /*close*/ ctx[11]);
@@ -1041,33 +979,15 @@ function create_default_slot$1(ctx) {
1041
979
  if (if_block) if_block.c();
1042
980
  t = space();
1043
981
  if (default_slot) default_slot.c();
1044
- this.h();
1045
- },
1046
- l(nodes) {
1047
- div = claim_element(nodes, "DIV", {
1048
- class: true,
1049
- role: true,
1050
- "aria-modal": true,
1051
- style: true
1052
- });
1053
-
1054
- var div_nodes = children(div);
1055
- if (if_block) if_block.l(div_nodes);
1056
- t = claim_space(div_nodes);
1057
- if (default_slot) default_slot.l(div_nodes);
1058
- div_nodes.forEach(detach);
1059
- this.h();
1060
- },
1061
- h() {
1062
982
  attr(div, "class", "modal svelte-1bxl6mz");
1063
983
  attr(div, "role", "dialog");
1064
984
  attr(div, "aria-modal", "true");
1065
985
  attr(div, "style", div_style_value = "" + /*pos*/ ctx[7] + " " + /*marginStyle*/ ctx[6] + " " + /*_style*/ ctx[1] + "");
1066
986
  },
1067
987
  m(target, anchor) {
1068
- insert_hydration(target, div, anchor);
988
+ insert(target, div, anchor);
1069
989
  if (if_block) if_block.m(div, null);
1070
- append_hydration(div, t);
990
+ append(div, t);
1071
991
 
1072
992
  if (default_slot) {
1073
993
  default_slot.m(div, null);
@@ -1164,14 +1084,9 @@ function create_fragment$8(ctx) {
1164
1084
  t = space();
1165
1085
  create_component(animation_1.$$.fragment);
1166
1086
  },
1167
- l(nodes) {
1168
- claim_component(backgroundoverray.$$.fragment, nodes);
1169
- t = claim_space(nodes);
1170
- claim_component(animation_1.$$.fragment, nodes);
1171
- },
1172
1087
  m(target, anchor) {
1173
1088
  mount_component(backgroundoverray, target, anchor);
1174
- insert_hydration(target, t, anchor);
1089
+ insert(target, t, anchor);
1175
1090
  mount_component(animation_1, target, anchor);
1176
1091
  current = true;
1177
1092
 
@@ -1405,21 +1320,11 @@ function create_fragment$7(ctx) {
1405
1320
  c() {
1406
1321
  div = element("div");
1407
1322
  if (default_slot) default_slot.c();
1408
- this.h();
1409
- },
1410
- l(nodes) {
1411
- div = claim_element(nodes, "DIV", { class: true, style: true });
1412
- var div_nodes = children(div);
1413
- if (default_slot) default_slot.l(div_nodes);
1414
- div_nodes.forEach(detach);
1415
- this.h();
1416
- },
1417
- h() {
1418
1323
  attr(div, "class", "grid");
1419
1324
  attr(div, "style", /*_style*/ ctx[0]);
1420
1325
  },
1421
1326
  m(target, anchor) {
1422
- insert_hydration(target, div, anchor);
1327
+ insert(target, div, anchor);
1423
1328
 
1424
1329
  if (default_slot) {
1425
1330
  default_slot.m(div, null);
@@ -1530,9 +1435,6 @@ function create_default_slot_2(ctx) {
1530
1435
  c() {
1531
1436
  if (default_slot) default_slot.c();
1532
1437
  },
1533
- l(nodes) {
1534
- if (default_slot) default_slot.l(nodes);
1535
- },
1536
1438
  m(target, anchor) {
1537
1439
  if (default_slot) {
1538
1440
  default_slot.m(target, anchor);
@@ -1593,9 +1495,6 @@ function create_default_slot_1(ctx) {
1593
1495
  c() {
1594
1496
  create_component(grid.$$.fragment);
1595
1497
  },
1596
- l(nodes) {
1597
- claim_component(grid.$$.fragment, nodes);
1598
- },
1599
1498
  m(target, anchor) {
1600
1499
  mount_component(grid, target, anchor);
1601
1500
  current = true;
@@ -1659,9 +1558,6 @@ function create_default_slot(ctx) {
1659
1558
  c() {
1660
1559
  create_component(modal.$$.fragment);
1661
1560
  },
1662
- l(nodes) {
1663
- claim_component(modal.$$.fragment, nodes);
1664
- },
1665
1561
  m(target, anchor) {
1666
1562
  mount_component(modal, target, anchor);
1667
1563
  current = true;
@@ -1716,9 +1612,6 @@ function create_fragment$6(ctx) {
1716
1612
  c() {
1717
1613
  create_component(stateitem.$$.fragment);
1718
1614
  },
1719
- l(nodes) {
1720
- claim_component(stateitem.$$.fragment, nodes);
1721
- },
1722
1615
  m(target, anchor) {
1723
1616
  mount_component(stateitem, target, anchor);
1724
1617
  current = true;
@@ -1884,26 +1777,13 @@ function create_fragment$5(ctx) {
1884
1777
  div1 = element("div");
1885
1778
  div0 = element("div");
1886
1779
  if (default_slot) default_slot.c();
1887
- this.h();
1888
- },
1889
- l(nodes) {
1890
- div1 = claim_element(nodes, "DIV", { class: true, style: true });
1891
- var div1_nodes = children(div1);
1892
- div0 = claim_element(div1_nodes, "DIV", { class: true });
1893
- var div0_nodes = children(div0);
1894
- if (default_slot) default_slot.l(div0_nodes);
1895
- div0_nodes.forEach(detach);
1896
- div1_nodes.forEach(detach);
1897
- this.h();
1898
- },
1899
- h() {
1900
1780
  attr(div0, "class", "grid-item-inner svelte-n7kdl3");
1901
1781
  attr(div1, "class", "grid-item svelte-n7kdl3");
1902
1782
  attr(div1, "style", /*_style*/ ctx[0]);
1903
1783
  },
1904
1784
  m(target, anchor) {
1905
- insert_hydration(target, div1, anchor);
1906
- append_hydration(div1, div0);
1785
+ insert(target, div1, anchor);
1786
+ append(div1, div0);
1907
1787
 
1908
1788
  if (default_slot) {
1909
1789
  default_slot.m(div0, null);
@@ -2026,21 +1906,11 @@ function create_fragment$4(ctx) {
2026
1906
  c() {
2027
1907
  div = element("div");
2028
1908
  if (default_slot) default_slot.c();
2029
- this.h();
2030
- },
2031
- l(nodes) {
2032
- div = claim_element(nodes, "DIV", { class: true, style: true });
2033
- var div_nodes = children(div);
2034
- if (default_slot) default_slot.l(div_nodes);
2035
- div_nodes.forEach(detach);
2036
- this.h();
2037
- },
2038
- h() {
2039
1909
  attr(div, "class", "flex svelte-1e71ejc");
2040
1910
  attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
2041
1911
  },
2042
1912
  m(target, anchor) {
2043
- insert_hydration(target, div, anchor);
1913
+ insert(target, div, anchor);
2044
1914
 
2045
1915
  if (default_slot) {
2046
1916
  default_slot.m(div, null);
@@ -2146,21 +2016,11 @@ function create_fragment$3(ctx) {
2146
2016
  c() {
2147
2017
  div = element("div");
2148
2018
  if (default_slot) default_slot.c();
2149
- this.h();
2150
- },
2151
- l(nodes) {
2152
- div = claim_element(nodes, "DIV", { class: true, style: true });
2153
- var div_nodes = children(div);
2154
- if (default_slot) default_slot.l(div_nodes);
2155
- div_nodes.forEach(detach);
2156
- this.h();
2157
- },
2158
- h() {
2159
2019
  attr(div, "class", "flex-item svelte-1p0bk1x");
2160
2020
  attr(div, "style", /*style*/ ctx[0]);
2161
2021
  },
2162
2022
  m(target, anchor) {
2163
- insert_hydration(target, div, anchor);
2023
+ insert(target, div, anchor);
2164
2024
 
2165
2025
  if (default_slot) {
2166
2026
  default_slot.m(div, null);
@@ -2266,25 +2126,13 @@ function create_fragment$2(ctx) {
2266
2126
  c() {
2267
2127
  div1 = element("div");
2268
2128
  div0 = element("div");
2269
- this.h();
2270
- },
2271
- l(nodes) {
2272
- div1 = claim_element(nodes, "DIV", { class: true, style: true });
2273
- var div1_nodes = children(div1);
2274
- div0 = claim_element(div1_nodes, "DIV", { class: true });
2275
- var div0_nodes = children(div0);
2276
- div0_nodes.forEach(detach);
2277
- div1_nodes.forEach(detach);
2278
- this.h();
2279
- },
2280
- h() {
2281
2129
  attr(div0, "class", "text-block-inner svelte-1xf20ux");
2282
2130
  attr(div1, "class", "text-block svelte-1xf20ux");
2283
2131
  attr(div1, "style", /*style*/ ctx[1]);
2284
2132
  },
2285
2133
  m(target, anchor) {
2286
- insert_hydration(target, div1, anchor);
2287
- append_hydration(div1, div0);
2134
+ insert(target, div1, anchor);
2135
+ append(div1, div0);
2288
2136
  div0.innerHTML = raw_value;
2289
2137
  },
2290
2138
  p(ctx, [dirty]) {
@@ -2346,26 +2194,14 @@ function create_fragment$1(ctx) {
2346
2194
  c() {
2347
2195
  div = element("div");
2348
2196
  button = element("button");
2349
- this.h();
2350
- },
2351
- l(nodes) {
2352
- div = claim_element(nodes, "DIV", { class: true, style: true });
2353
- var div_nodes = children(div);
2354
- button = claim_element(div_nodes, "BUTTON", { class: true, style: true });
2355
- var button_nodes = children(button);
2356
- button_nodes.forEach(detach);
2357
- div_nodes.forEach(detach);
2358
- this.h();
2359
- },
2360
- h() {
2361
2197
  attr(button, "class", "text-button svelte-1t5i3za");
2362
2198
  attr(button, "style", /*_buttonStyle*/ ctx[1]);
2363
2199
  attr(div, "class", "text-button-block svelte-1t5i3za");
2364
2200
  attr(div, "style", /*_style*/ ctx[2]);
2365
2201
  },
2366
2202
  m(target, anchor) {
2367
- insert_hydration(target, div, anchor);
2368
- append_hydration(div, button);
2203
+ insert(target, div, anchor);
2204
+ append(div, button);
2369
2205
  button.innerHTML = raw_value;
2370
2206
 
2371
2207
  if (!mounted) {
@@ -2469,26 +2305,6 @@ function create_fragment(ctx) {
2469
2305
  c() {
2470
2306
  div = element("div");
2471
2307
  img = element("img");
2472
- this.h();
2473
- },
2474
- l(nodes) {
2475
- div = claim_element(nodes, "DIV", { class: true, style: true });
2476
- var div_nodes = children(div);
2477
-
2478
- img = claim_element(div_nodes, "IMG", {
2479
- class: true,
2480
- loading: true,
2481
- width: true,
2482
- height: true,
2483
- style: true,
2484
- src: true,
2485
- alt: true
2486
- });
2487
-
2488
- div_nodes.forEach(detach);
2489
- this.h();
2490
- },
2491
- h() {
2492
2308
  attr(img, "class", "image svelte-wa67vf");
2493
2309
  attr(img, "loading", "lazy");
2494
2310
  attr(img, "width", "auto");
@@ -2500,8 +2316,8 @@ function create_fragment(ctx) {
2500
2316
  attr(div, "style", /*_style*/ ctx[4]);
2501
2317
  },
2502
2318
  m(target, anchor) {
2503
- insert_hydration(target, div, anchor);
2504
- append_hydration(div, img);
2319
+ insert(target, div, anchor);
2320
+ append(div, img);
2505
2321
 
2506
2322
  if (!mounted) {
2507
2323
  dispose = listen(div, "click", /*click*/ ctx[5]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",