@plaidev/karte-action-sdk 1.1.232-28686916.d479e0f0 → 1.1.232-28689281.894d6cb6
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 +20 -6
- package/dist/index.es.js +20 -6
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -1786,7 +1786,14 @@ function createModal(App, options = {
|
|
1786
1786
|
if (!app) {
|
1787
1787
|
return NOOP;
|
1788
1788
|
}
|
1789
|
-
|
1789
|
+
if (trigger !== 'auto') {
|
1790
|
+
options.send('message_close', { trigger, state: getState$1() });
|
1791
|
+
}
|
1792
|
+
options.send('_message_state_changed', {
|
1793
|
+
trigger,
|
1794
|
+
oldState: getState$1(),
|
1795
|
+
newState: '',
|
1796
|
+
});
|
1790
1797
|
setOpened(false);
|
1791
1798
|
setClosed(true); // deprecated
|
1792
1799
|
const { onCloseHandlers } = getInternalHandlers();
|
@@ -1822,7 +1829,14 @@ function createModal(App, options = {
|
|
1822
1829
|
if (!result.success)
|
1823
1830
|
return;
|
1824
1831
|
}
|
1825
|
-
|
1832
|
+
if (trigger !== 'auto') {
|
1833
|
+
options.send('message_open', { state: getState$1() });
|
1834
|
+
}
|
1835
|
+
options.send('_message_state_changed', {
|
1836
|
+
trigger,
|
1837
|
+
oldState: '',
|
1838
|
+
newState: getState$1(),
|
1839
|
+
});
|
1826
1840
|
setOpened(true);
|
1827
1841
|
setClosed(false); // deprecated
|
1828
1842
|
// 非同期処理中にappが初期化されている可能性がある
|
@@ -14491,7 +14505,7 @@ class CloseButton extends SvelteComponent {
|
|
14491
14505
|
/* src/components-v2/image/Image.svelte generated by Svelte v3.53.1 */
|
14492
14506
|
|
14493
14507
|
function add_css$4(target) {
|
14494
|
-
append_styles(target, "svelte-
|
14508
|
+
append_styles(target, "svelte-52a988", ".image.svelte-52a988{max-width:100%;overflow:hidden;flex-shrink:0}.image-object.svelte-52a988{width:100%;overflow:hidden}.image-img.svelte-52a988{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
|
14495
14509
|
}
|
14496
14510
|
|
14497
14511
|
function create_fragment$4(ctx) {
|
@@ -14526,11 +14540,11 @@ function create_fragment$4(ctx) {
|
|
14526
14540
|
h() {
|
14527
14541
|
if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
|
14528
14542
|
attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
|
14529
|
-
attr(img, "class", "image-img svelte-
|
14543
|
+
attr(img, "class", "image-img svelte-52a988");
|
14530
14544
|
attr(object, "style", /*objectStyle*/ ctx[2]);
|
14531
|
-
attr(object, "class", "image-object svelte-
|
14545
|
+
attr(object, "class", "image-object svelte-52a988");
|
14532
14546
|
attr(div, "data-layer-id", /*layerId*/ ctx[1]);
|
14533
|
-
attr(div, "class", "image svelte-
|
14547
|
+
attr(div, "class", "image svelte-52a988");
|
14534
14548
|
attr(div, "style", /*style*/ ctx[3]);
|
14535
14549
|
},
|
14536
14550
|
m(target, anchor) {
|
package/dist/index.es.js
CHANGED
@@ -1827,7 +1827,14 @@ function createModal(App, options = {
|
|
1827
1827
|
if (!app) {
|
1828
1828
|
return NOOP;
|
1829
1829
|
}
|
1830
|
-
|
1830
|
+
if (trigger !== 'auto') {
|
1831
|
+
options.send('message_close', { trigger, state: getState$1() });
|
1832
|
+
}
|
1833
|
+
options.send('_message_state_changed', {
|
1834
|
+
trigger,
|
1835
|
+
oldState: getState$1(),
|
1836
|
+
newState: '',
|
1837
|
+
});
|
1831
1838
|
setOpened(false);
|
1832
1839
|
setClosed(true); // deprecated
|
1833
1840
|
const { onCloseHandlers } = getInternalHandlers();
|
@@ -1860,7 +1867,14 @@ function createModal(App, options = {
|
|
1860
1867
|
if (!result.success)
|
1861
1868
|
return;
|
1862
1869
|
}
|
1863
|
-
|
1870
|
+
if (trigger !== 'auto') {
|
1871
|
+
options.send('message_open', { state: getState$1() });
|
1872
|
+
}
|
1873
|
+
options.send('_message_state_changed', {
|
1874
|
+
trigger,
|
1875
|
+
oldState: '',
|
1876
|
+
newState: getState$1(),
|
1877
|
+
});
|
1864
1878
|
setOpened(true);
|
1865
1879
|
setClosed(false); // deprecated
|
1866
1880
|
// 非同期処理中にappが初期化されている可能性がある
|
@@ -13443,7 +13457,7 @@ class CloseButton extends SvelteComponent {
|
|
13443
13457
|
/* src/components-v2/image/Image.svelte generated by Svelte v3.53.1 */
|
13444
13458
|
|
13445
13459
|
function add_css$4(target) {
|
13446
|
-
append_styles(target, "svelte-
|
13460
|
+
append_styles(target, "svelte-52a988", ".image.svelte-52a988{max-width:100%;overflow:hidden;flex-shrink:0}.image-object.svelte-52a988{width:100%;overflow:hidden}.image-img.svelte-52a988{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
|
13447
13461
|
}
|
13448
13462
|
|
13449
13463
|
function create_fragment$4(ctx) {
|
@@ -13460,11 +13474,11 @@ function create_fragment$4(ctx) {
|
|
13460
13474
|
img = element("img");
|
13461
13475
|
if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
|
13462
13476
|
attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
|
13463
|
-
attr(img, "class", "image-img svelte-
|
13477
|
+
attr(img, "class", "image-img svelte-52a988");
|
13464
13478
|
attr(object, "style", /*objectStyle*/ ctx[2]);
|
13465
|
-
attr(object, "class", "image-object svelte-
|
13479
|
+
attr(object, "class", "image-object svelte-52a988");
|
13466
13480
|
attr(div, "data-layer-id", /*layerId*/ ctx[1]);
|
13467
|
-
attr(div, "class", "image svelte-
|
13481
|
+
attr(div, "class", "image svelte-52a988");
|
13468
13482
|
attr(div, "style", /*style*/ ctx[3]);
|
13469
13483
|
},
|
13470
13484
|
m(target, anchor) {
|