@plaidev/karte-action-sdk 1.0.45 → 1.1.45

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 +208 -24
  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, 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';
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';
4
4
 
5
5
  /**
6
6
  * 内部的に使われている、UIから選択できない関数
@@ -548,9 +548,14 @@ 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
+ },
551
556
  m(target, anchor) {
552
557
  mount_component(normalize, target, anchor);
553
- insert(target, t, anchor);
558
+ insert_hydration(target, t, anchor);
554
559
 
555
560
  if (default_slot) {
556
561
  default_slot.m(target, anchor);
@@ -621,6 +626,9 @@ function create_if_block$2(ctx) {
621
626
  c() {
622
627
  if (default_slot) default_slot.c();
623
628
  },
629
+ l(nodes) {
630
+ if (default_slot) default_slot.l(nodes);
631
+ },
624
632
  m(target, anchor) {
625
633
  if (default_slot) {
626
634
  default_slot.m(target, anchor);
@@ -669,9 +677,13 @@ function create_fragment$b(ctx) {
669
677
  if (if_block) if_block.c();
670
678
  if_block_anchor = empty();
671
679
  },
680
+ l(nodes) {
681
+ if (if_block) if_block.l(nodes);
682
+ if_block_anchor = empty();
683
+ },
672
684
  m(target, anchor) {
673
685
  if (if_block) if_block.m(target, anchor);
674
- insert(target, if_block_anchor, anchor);
686
+ insert_hydration(target, if_block_anchor, anchor);
675
687
  current = true;
676
688
  },
677
689
  p(ctx, [dirty]) {
@@ -750,10 +762,18 @@ function create_if_block$1(ctx) {
750
762
  return {
751
763
  c() {
752
764
  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() {
753
773
  attr(div, "class", "background svelte-1h4b6e3");
754
774
  },
755
775
  m(target, anchor) {
756
- insert(target, div, anchor);
776
+ insert_hydration(target, div, anchor);
757
777
 
758
778
  if (!mounted) {
759
779
  dispose = listen(div, "click", /*click_handler*/ ctx[2]);
@@ -778,9 +798,13 @@ function create_fragment$a(ctx) {
778
798
  if (if_block) if_block.c();
779
799
  if_block_anchor = empty();
780
800
  },
801
+ l(nodes) {
802
+ if (if_block) if_block.l(nodes);
803
+ if_block_anchor = empty();
804
+ },
781
805
  m(target, anchor) {
782
806
  if (if_block) if_block.m(target, anchor);
783
- insert(target, if_block_anchor, anchor);
807
+ insert_hydration(target, if_block_anchor, anchor);
784
808
  },
785
809
  p(ctx, [dirty]) {
786
810
  if (/*backgroundOverray*/ ctx[0]) {
@@ -840,10 +864,20 @@ function create_fragment$9(ctx) {
840
864
  c() {
841
865
  div = element("div");
842
866
  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() {
843
877
  attr(div, "class", "" + (null_to_empty(/*overwriteAnimation*/ ctx[0]) + " svelte-sa0cac"));
844
878
  },
845
879
  m(target, anchor) {
846
- insert(target, div, anchor);
880
+ insert_hydration(target, div, anchor);
847
881
 
848
882
  if (default_slot) {
849
883
  default_slot.m(div, null);
@@ -923,6 +957,34 @@ function create_if_block(ctx) {
923
957
  button = element("button");
924
958
  svg = svg_element("svg");
925
959
  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() {
926
988
  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");
927
989
  attr(path, "fill", /*closeButtonColor*/ ctx[3]);
928
990
  attr(path, "fill-opacity", "0.8");
@@ -935,9 +997,9 @@ function create_if_block(ctx) {
935
997
  attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[9] + 1) + "; " + /*_closeStyle*/ ctx[4] + "");
936
998
  },
937
999
  m(target, anchor) {
938
- insert(target, button, anchor);
939
- append(button, svg);
940
- append(svg, path);
1000
+ insert_hydration(target, button, anchor);
1001
+ append_hydration(button, svg);
1002
+ append_hydration(svg, path);
941
1003
 
942
1004
  if (!mounted) {
943
1005
  dispose = listen(button, "click", /*close*/ ctx[11]);
@@ -979,15 +1041,33 @@ function create_default_slot$1(ctx) {
979
1041
  if (if_block) if_block.c();
980
1042
  t = space();
981
1043
  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() {
982
1062
  attr(div, "class", "modal svelte-1bxl6mz");
983
1063
  attr(div, "role", "dialog");
984
1064
  attr(div, "aria-modal", "true");
985
1065
  attr(div, "style", div_style_value = "" + /*pos*/ ctx[7] + " " + /*marginStyle*/ ctx[6] + " " + /*_style*/ ctx[1] + "");
986
1066
  },
987
1067
  m(target, anchor) {
988
- insert(target, div, anchor);
1068
+ insert_hydration(target, div, anchor);
989
1069
  if (if_block) if_block.m(div, null);
990
- append(div, t);
1070
+ append_hydration(div, t);
991
1071
 
992
1072
  if (default_slot) {
993
1073
  default_slot.m(div, null);
@@ -1084,9 +1164,14 @@ function create_fragment$8(ctx) {
1084
1164
  t = space();
1085
1165
  create_component(animation_1.$$.fragment);
1086
1166
  },
1167
+ l(nodes) {
1168
+ claim_component(backgroundoverray.$$.fragment, nodes);
1169
+ t = claim_space(nodes);
1170
+ claim_component(animation_1.$$.fragment, nodes);
1171
+ },
1087
1172
  m(target, anchor) {
1088
1173
  mount_component(backgroundoverray, target, anchor);
1089
- insert(target, t, anchor);
1174
+ insert_hydration(target, t, anchor);
1090
1175
  mount_component(animation_1, target, anchor);
1091
1176
  current = true;
1092
1177
 
@@ -1320,11 +1405,21 @@ function create_fragment$7(ctx) {
1320
1405
  c() {
1321
1406
  div = element("div");
1322
1407
  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() {
1323
1418
  attr(div, "class", "grid");
1324
1419
  attr(div, "style", /*_style*/ ctx[0]);
1325
1420
  },
1326
1421
  m(target, anchor) {
1327
- insert(target, div, anchor);
1422
+ insert_hydration(target, div, anchor);
1328
1423
 
1329
1424
  if (default_slot) {
1330
1425
  default_slot.m(div, null);
@@ -1435,6 +1530,9 @@ function create_default_slot_2(ctx) {
1435
1530
  c() {
1436
1531
  if (default_slot) default_slot.c();
1437
1532
  },
1533
+ l(nodes) {
1534
+ if (default_slot) default_slot.l(nodes);
1535
+ },
1438
1536
  m(target, anchor) {
1439
1537
  if (default_slot) {
1440
1538
  default_slot.m(target, anchor);
@@ -1495,6 +1593,9 @@ function create_default_slot_1(ctx) {
1495
1593
  c() {
1496
1594
  create_component(grid.$$.fragment);
1497
1595
  },
1596
+ l(nodes) {
1597
+ claim_component(grid.$$.fragment, nodes);
1598
+ },
1498
1599
  m(target, anchor) {
1499
1600
  mount_component(grid, target, anchor);
1500
1601
  current = true;
@@ -1558,6 +1659,9 @@ function create_default_slot(ctx) {
1558
1659
  c() {
1559
1660
  create_component(modal.$$.fragment);
1560
1661
  },
1662
+ l(nodes) {
1663
+ claim_component(modal.$$.fragment, nodes);
1664
+ },
1561
1665
  m(target, anchor) {
1562
1666
  mount_component(modal, target, anchor);
1563
1667
  current = true;
@@ -1612,6 +1716,9 @@ function create_fragment$6(ctx) {
1612
1716
  c() {
1613
1717
  create_component(stateitem.$$.fragment);
1614
1718
  },
1719
+ l(nodes) {
1720
+ claim_component(stateitem.$$.fragment, nodes);
1721
+ },
1615
1722
  m(target, anchor) {
1616
1723
  mount_component(stateitem, target, anchor);
1617
1724
  current = true;
@@ -1777,13 +1884,26 @@ function create_fragment$5(ctx) {
1777
1884
  div1 = element("div");
1778
1885
  div0 = element("div");
1779
1886
  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() {
1780
1900
  attr(div0, "class", "grid-item-inner svelte-n7kdl3");
1781
1901
  attr(div1, "class", "grid-item svelte-n7kdl3");
1782
1902
  attr(div1, "style", /*_style*/ ctx[0]);
1783
1903
  },
1784
1904
  m(target, anchor) {
1785
- insert(target, div1, anchor);
1786
- append(div1, div0);
1905
+ insert_hydration(target, div1, anchor);
1906
+ append_hydration(div1, div0);
1787
1907
 
1788
1908
  if (default_slot) {
1789
1909
  default_slot.m(div0, null);
@@ -1906,11 +2026,21 @@ function create_fragment$4(ctx) {
1906
2026
  c() {
1907
2027
  div = element("div");
1908
2028
  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() {
1909
2039
  attr(div, "class", "flex svelte-1e71ejc");
1910
2040
  attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
1911
2041
  },
1912
2042
  m(target, anchor) {
1913
- insert(target, div, anchor);
2043
+ insert_hydration(target, div, anchor);
1914
2044
 
1915
2045
  if (default_slot) {
1916
2046
  default_slot.m(div, null);
@@ -2016,11 +2146,21 @@ function create_fragment$3(ctx) {
2016
2146
  c() {
2017
2147
  div = element("div");
2018
2148
  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() {
2019
2159
  attr(div, "class", "flex-item svelte-1p0bk1x");
2020
2160
  attr(div, "style", /*style*/ ctx[0]);
2021
2161
  },
2022
2162
  m(target, anchor) {
2023
- insert(target, div, anchor);
2163
+ insert_hydration(target, div, anchor);
2024
2164
 
2025
2165
  if (default_slot) {
2026
2166
  default_slot.m(div, null);
@@ -2126,13 +2266,25 @@ function create_fragment$2(ctx) {
2126
2266
  c() {
2127
2267
  div1 = element("div");
2128
2268
  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() {
2129
2281
  attr(div0, "class", "text-block-inner svelte-1xf20ux");
2130
2282
  attr(div1, "class", "text-block svelte-1xf20ux");
2131
2283
  attr(div1, "style", /*style*/ ctx[1]);
2132
2284
  },
2133
2285
  m(target, anchor) {
2134
- insert(target, div1, anchor);
2135
- append(div1, div0);
2286
+ insert_hydration(target, div1, anchor);
2287
+ append_hydration(div1, div0);
2136
2288
  div0.innerHTML = raw_value;
2137
2289
  },
2138
2290
  p(ctx, [dirty]) {
@@ -2194,14 +2346,26 @@ function create_fragment$1(ctx) {
2194
2346
  c() {
2195
2347
  div = element("div");
2196
2348
  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() {
2197
2361
  attr(button, "class", "text-button svelte-1t5i3za");
2198
2362
  attr(button, "style", /*_buttonStyle*/ ctx[1]);
2199
2363
  attr(div, "class", "text-button-block svelte-1t5i3za");
2200
2364
  attr(div, "style", /*_style*/ ctx[2]);
2201
2365
  },
2202
2366
  m(target, anchor) {
2203
- insert(target, div, anchor);
2204
- append(div, button);
2367
+ insert_hydration(target, div, anchor);
2368
+ append_hydration(div, button);
2205
2369
  button.innerHTML = raw_value;
2206
2370
 
2207
2371
  if (!mounted) {
@@ -2305,6 +2469,26 @@ function create_fragment(ctx) {
2305
2469
  c() {
2306
2470
  div = element("div");
2307
2471
  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() {
2308
2492
  attr(img, "class", "image svelte-wa67vf");
2309
2493
  attr(img, "loading", "lazy");
2310
2494
  attr(img, "width", "auto");
@@ -2316,8 +2500,8 @@ function create_fragment(ctx) {
2316
2500
  attr(div, "style", /*_style*/ ctx[4]);
2317
2501
  },
2318
2502
  m(target, anchor) {
2319
- insert(target, div, anchor);
2320
- append(div, img);
2503
+ insert_hydration(target, div, anchor);
2504
+ append_hydration(div, img);
2321
2505
 
2322
2506
  if (!mounted) {
2323
2507
  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.0.45",
3
+ "version": "1.1.45",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",