@plaidev/karte-action-sdk 1.0.37 → 1.0.40
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/index.es.js +48 -36
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -873,7 +873,7 @@ function add_css$6(target) {
|
|
|
873
873
|
append_styles(target, "svelte-1bxl6mz", ".modal.svelte-1bxl6mz{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-1bxl6mz{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-1bxl6mz:hover{transform:rotate(90deg)}");
|
|
874
874
|
}
|
|
875
875
|
|
|
876
|
-
// (
|
|
876
|
+
// (119:4) {#if closable}
|
|
877
877
|
function create_if_block(ctx) {
|
|
878
878
|
let button;
|
|
879
879
|
let svg;
|
|
@@ -925,7 +925,7 @@ function create_if_block(ctx) {
|
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
// (
|
|
928
|
+
// (106:0) <Animation {animation}>
|
|
929
929
|
function create_default_slot$1(ctx) {
|
|
930
930
|
let div;
|
|
931
931
|
let t;
|
|
@@ -1120,7 +1120,10 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
1120
1120
|
let { closable = true } = $$props;
|
|
1121
1121
|
|
|
1122
1122
|
/**
|
|
1123
|
-
* {
|
|
1123
|
+
* {
|
|
1124
|
+
* "title": {"ja": "タイプ", "en": "Type"},
|
|
1125
|
+
* "folder": {"ja": "閉じるボタン", "en": "Close Button"}
|
|
1126
|
+
* }
|
|
1124
1127
|
*/
|
|
1125
1128
|
const dispatchClose = createEventDispatcher();
|
|
1126
1129
|
|
|
@@ -1417,7 +1420,7 @@ function create_default_slot_2(ctx) {
|
|
|
1417
1420
|
};
|
|
1418
1421
|
}
|
|
1419
1422
|
|
|
1420
|
-
// (
|
|
1423
|
+
// (118:2) <Modal {placement} {animation} {closable} {closeButtonColor} {_closeStyle} _style={_modalStyle} {clickEventName} {clickEventValue} on:click={click} {closeEventName} {closeEventValue} on:close={close} >
|
|
1421
1424
|
function create_default_slot_1(ctx) {
|
|
1422
1425
|
let grid;
|
|
1423
1426
|
let current;
|
|
@@ -1473,7 +1476,7 @@ function create_default_slot_1(ctx) {
|
|
|
1473
1476
|
};
|
|
1474
1477
|
}
|
|
1475
1478
|
|
|
1476
|
-
// (
|
|
1479
|
+
// (117:0) <StateItem {path}>
|
|
1477
1480
|
function create_default_slot(ctx) {
|
|
1478
1481
|
let modal;
|
|
1479
1482
|
let current;
|
|
@@ -1706,27 +1709,31 @@ class GridModalState extends SvelteComponent {
|
|
|
1706
1709
|
/* src/components/GridItem.svelte generated by Svelte v3.44.1 */
|
|
1707
1710
|
|
|
1708
1711
|
function add_css$5(target) {
|
|
1709
|
-
append_styles(target, "svelte-
|
|
1712
|
+
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
|
1710
1713
|
}
|
|
1711
1714
|
|
|
1712
1715
|
function create_fragment$5(ctx) {
|
|
1713
|
-
let
|
|
1716
|
+
let div1;
|
|
1717
|
+
let div0;
|
|
1714
1718
|
let current;
|
|
1715
1719
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
|
1716
1720
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[7], null);
|
|
1717
1721
|
|
|
1718
1722
|
return {
|
|
1719
1723
|
c() {
|
|
1720
|
-
|
|
1724
|
+
div1 = element("div");
|
|
1725
|
+
div0 = element("div");
|
|
1721
1726
|
if (default_slot) default_slot.c();
|
|
1722
|
-
attr(
|
|
1723
|
-
attr(
|
|
1727
|
+
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
|
1728
|
+
attr(div1, "class", "grid-item svelte-n7kdl3");
|
|
1729
|
+
attr(div1, "style", /*_style*/ ctx[0]);
|
|
1724
1730
|
},
|
|
1725
1731
|
m(target, anchor) {
|
|
1726
|
-
insert(target,
|
|
1732
|
+
insert(target, div1, anchor);
|
|
1733
|
+
append(div1, div0);
|
|
1727
1734
|
|
|
1728
1735
|
if (default_slot) {
|
|
1729
|
-
default_slot.m(
|
|
1736
|
+
default_slot.m(div0, null);
|
|
1730
1737
|
}
|
|
1731
1738
|
|
|
1732
1739
|
current = true;
|
|
@@ -1748,7 +1755,7 @@ function create_fragment$5(ctx) {
|
|
|
1748
1755
|
}
|
|
1749
1756
|
|
|
1750
1757
|
if (!current || dirty & /*_style*/ 1) {
|
|
1751
|
-
attr(
|
|
1758
|
+
attr(div1, "style", /*_style*/ ctx[0]);
|
|
1752
1759
|
}
|
|
1753
1760
|
},
|
|
1754
1761
|
i(local) {
|
|
@@ -1761,7 +1768,7 @@ function create_fragment$5(ctx) {
|
|
|
1761
1768
|
current = false;
|
|
1762
1769
|
},
|
|
1763
1770
|
d(detaching) {
|
|
1764
|
-
if (detaching) detach(
|
|
1771
|
+
if (detaching) detach(div1);
|
|
1765
1772
|
if (default_slot) default_slot.d(detaching);
|
|
1766
1773
|
}
|
|
1767
1774
|
};
|
|
@@ -2054,7 +2061,7 @@ class FlexItem extends SvelteComponent {
|
|
|
2054
2061
|
/* src/components/TextBlock.svelte generated by Svelte v3.44.1 */
|
|
2055
2062
|
|
|
2056
2063
|
function add_css$2(target) {
|
|
2057
|
-
append_styles(target, "svelte-
|
|
2064
|
+
append_styles(target, "svelte-1xf20ux", ".text-block.svelte-1xf20ux{display:flex;width:100%;height:100%;box-sizing:border-box}.text-block-inner.svelte-1xf20ux{width:100%}");
|
|
2058
2065
|
}
|
|
2059
2066
|
|
|
2060
2067
|
function create_fragment$2(ctx) {
|
|
@@ -2066,10 +2073,9 @@ function create_fragment$2(ctx) {
|
|
|
2066
2073
|
c() {
|
|
2067
2074
|
div1 = element("div");
|
|
2068
2075
|
div0 = element("div");
|
|
2069
|
-
attr(div0, "class", "text-block-inner svelte-
|
|
2070
|
-
attr(
|
|
2071
|
-
attr(div1, "
|
|
2072
|
-
attr(div1, "style", /*_style*/ ctx[2]);
|
|
2076
|
+
attr(div0, "class", "text-block-inner svelte-1xf20ux");
|
|
2077
|
+
attr(div1, "class", "text-block svelte-1xf20ux");
|
|
2078
|
+
attr(div1, "style", /*style*/ ctx[1]);
|
|
2073
2079
|
},
|
|
2074
2080
|
m(target, anchor) {
|
|
2075
2081
|
insert(target, div1, anchor);
|
|
@@ -2078,12 +2084,8 @@ function create_fragment$2(ctx) {
|
|
|
2078
2084
|
},
|
|
2079
2085
|
p(ctx, [dirty]) {
|
|
2080
2086
|
if (dirty & /*text*/ 1 && raw_value !== (raw_value = toBr(/*text*/ ctx[0]) + "")) div0.innerHTML = raw_value;
|
|
2081
|
-
if (dirty & /*
|
|
2082
|
-
attr(
|
|
2083
|
-
}
|
|
2084
|
-
|
|
2085
|
-
if (dirty & /*_style*/ 4) {
|
|
2086
|
-
attr(div1, "style", /*_style*/ ctx[2]);
|
|
2087
|
+
if (dirty & /*style*/ 2) {
|
|
2088
|
+
attr(div1, "style", /*style*/ ctx[1]);
|
|
2087
2089
|
}
|
|
2088
2090
|
},
|
|
2089
2091
|
i: noop,
|
|
@@ -2095,23 +2097,30 @@ function create_fragment$2(ctx) {
|
|
|
2095
2097
|
}
|
|
2096
2098
|
|
|
2097
2099
|
function instance$2($$self, $$props, $$invalidate) {
|
|
2100
|
+
let style;
|
|
2098
2101
|
let { text = 'サンプルSample' } = $$props;
|
|
2099
2102
|
let { _textStyle = 'font-size:12px;' } = $$props;
|
|
2100
2103
|
let { _style = '' } = $$props;
|
|
2101
2104
|
|
|
2102
2105
|
$$self.$$set = $$props => {
|
|
2103
2106
|
if ('text' in $$props) $$invalidate(0, text = $$props.text);
|
|
2104
|
-
if ('_textStyle' in $$props) $$invalidate(
|
|
2105
|
-
if ('_style' in $$props) $$invalidate(
|
|
2107
|
+
if ('_textStyle' in $$props) $$invalidate(2, _textStyle = $$props._textStyle);
|
|
2108
|
+
if ('_style' in $$props) $$invalidate(3, _style = $$props._style);
|
|
2106
2109
|
};
|
|
2107
2110
|
|
|
2108
|
-
|
|
2111
|
+
$$self.$$.update = () => {
|
|
2112
|
+
if ($$self.$$.dirty & /*_textStyle, _style*/ 12) {
|
|
2113
|
+
$$invalidate(1, style = [..._textStyle.split(';'), ..._style.split(';')].join(';'));
|
|
2114
|
+
}
|
|
2115
|
+
};
|
|
2116
|
+
|
|
2117
|
+
return [text, style, _textStyle, _style];
|
|
2109
2118
|
}
|
|
2110
2119
|
|
|
2111
2120
|
class TextBlock extends SvelteComponent {
|
|
2112
2121
|
constructor(options) {
|
|
2113
2122
|
super();
|
|
2114
|
-
init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _textStyle:
|
|
2123
|
+
init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _textStyle: 2, _style: 3 }, add_css$2);
|
|
2115
2124
|
}
|
|
2116
2125
|
}
|
|
2117
2126
|
|
|
@@ -2172,8 +2181,8 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
2172
2181
|
|
|
2173
2182
|
/**
|
|
2174
2183
|
* {
|
|
2175
|
-
* "title": {"ja": "
|
|
2176
|
-
* "folder": {"ja": "
|
|
2184
|
+
* "title": {"ja": "タイプ", "en": "Type"},
|
|
2185
|
+
* "folder": {"ja": "クリック時の動作", "en": "Behavior to Click"}
|
|
2177
2186
|
* }
|
|
2178
2187
|
*/
|
|
2179
2188
|
const dispatch = createEventDispatcher();
|
|
@@ -2224,7 +2233,7 @@ class TextButtonBlock extends SvelteComponent {
|
|
|
2224
2233
|
/* src/components/ImageBlock.svelte generated by Svelte v3.44.1 */
|
|
2225
2234
|
|
|
2226
2235
|
function add_css(target) {
|
|
2227
|
-
append_styles(target, "svelte-
|
|
2236
|
+
append_styles(target, "svelte-wa67vf", ".image-block.svelte-wa67vf{display:flex;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;overflow:hidden;box-sizing:border-box}.image.svelte-wa67vf{width:100%;height:100%}.transport.svelte-wa67vf:hover,.transport.svelte-wa67vf:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
|
2228
2237
|
}
|
|
2229
2238
|
|
|
2230
2239
|
function create_fragment(ctx) {
|
|
@@ -2239,14 +2248,14 @@ function create_fragment(ctx) {
|
|
|
2239
2248
|
c() {
|
|
2240
2249
|
div = element("div");
|
|
2241
2250
|
img = element("img");
|
|
2242
|
-
attr(img, "class", "image svelte-
|
|
2251
|
+
attr(img, "class", "image svelte-wa67vf");
|
|
2243
2252
|
attr(img, "loading", "lazy");
|
|
2244
2253
|
attr(img, "width", "auto");
|
|
2245
2254
|
attr(img, "height", "auto");
|
|
2246
2255
|
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
|
2247
2256
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
|
2248
2257
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
2249
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(
|
|
2258
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-wa67vf"));
|
|
2250
2259
|
attr(div, "style", /*_style*/ ctx[4]);
|
|
2251
2260
|
},
|
|
2252
2261
|
m(target, anchor) {
|
|
@@ -2271,7 +2280,7 @@ function create_fragment(ctx) {
|
|
|
2271
2280
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
2272
2281
|
}
|
|
2273
2282
|
|
|
2274
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty(
|
|
2283
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-wa67vf"))) {
|
|
2275
2284
|
attr(div, "class", div_class_value);
|
|
2276
2285
|
}
|
|
2277
2286
|
|
|
@@ -2295,7 +2304,10 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
2295
2304
|
let { transport = false } = $$props;
|
|
2296
2305
|
|
|
2297
2306
|
/**
|
|
2298
|
-
* {
|
|
2307
|
+
* {
|
|
2308
|
+
* "title": {"ja": "タイプ", "en": "Type"},
|
|
2309
|
+
* "folder": {"ja": "クリック時の動作", "en": "Behavior to Click"}
|
|
2310
|
+
* }
|
|
2299
2311
|
*/
|
|
2300
2312
|
const dispatch = createEventDispatcher();
|
|
2301
2313
|
|