@plaidev/karte-action-sdk 1.0.35 → 1.0.36
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 +27 -19
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1706,7 +1706,7 @@ class GridModalState extends SvelteComponent {
|
|
|
1706
1706
|
/* src/components/GridItem.svelte generated by Svelte v3.44.1 */
|
|
1707
1707
|
|
|
1708
1708
|
function add_css$5(target) {
|
|
1709
|
-
append_styles(target, "svelte-
|
|
1709
|
+
append_styles(target, "svelte-1pachgk", ".grid-item.svelte-1pachgk{word-break:break-all;overflow:hidden}");
|
|
1710
1710
|
}
|
|
1711
1711
|
|
|
1712
1712
|
function create_fragment$5(ctx) {
|
|
@@ -1719,7 +1719,7 @@ function create_fragment$5(ctx) {
|
|
|
1719
1719
|
c() {
|
|
1720
1720
|
div = element("div");
|
|
1721
1721
|
if (default_slot) default_slot.c();
|
|
1722
|
-
attr(div, "class", "grid-item svelte-
|
|
1722
|
+
attr(div, "class", "grid-item svelte-1pachgk");
|
|
1723
1723
|
attr(div, "style", /*_style*/ ctx[0]);
|
|
1724
1724
|
},
|
|
1725
1725
|
m(target, anchor) {
|
|
@@ -2217,13 +2217,14 @@ class TextButtonBlock extends SvelteComponent {
|
|
|
2217
2217
|
/* src/components/ImageBlock.svelte generated by Svelte v3.44.1 */
|
|
2218
2218
|
|
|
2219
2219
|
function add_css(target) {
|
|
2220
|
-
append_styles(target, "svelte-
|
|
2220
|
+
append_styles(target, "svelte-ci8ktf", ".image-block.svelte-ci8ktf{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-ci8ktf{width:100%;height:100%}.transport.svelte-ci8ktf:hover,.transport.svelte-ci8ktf:focus{opacity:.75;box-shadow:0 5px 16px rgba(0,0,0,.1), 0 8px 28px rgba(0,0,0,.16)}");
|
|
2221
2221
|
}
|
|
2222
2222
|
|
|
2223
2223
|
function create_fragment(ctx) {
|
|
2224
2224
|
let div;
|
|
2225
2225
|
let img;
|
|
2226
2226
|
let img_src_value;
|
|
2227
|
+
let div_class_value;
|
|
2227
2228
|
let mounted;
|
|
2228
2229
|
let dispose;
|
|
2229
2230
|
|
|
@@ -2231,28 +2232,28 @@ function create_fragment(ctx) {
|
|
|
2231
2232
|
c() {
|
|
2232
2233
|
div = element("div");
|
|
2233
2234
|
img = element("img");
|
|
2234
|
-
attr(img, "class", "image svelte-
|
|
2235
|
+
attr(img, "class", "image svelte-ci8ktf");
|
|
2235
2236
|
attr(img, "loading", "lazy");
|
|
2236
2237
|
attr(img, "width", "auto");
|
|
2237
2238
|
attr(img, "height", "auto");
|
|
2238
|
-
attr(img, "style", /*_imageStyle*/ ctx[
|
|
2239
|
+
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
|
2239
2240
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
|
2240
2241
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
2241
|
-
attr(div, "class", "image-block svelte-
|
|
2242
|
-
attr(div, "style", /*_style*/ ctx[
|
|
2242
|
+
attr(div, "class", div_class_value = "" + (null_to_empty("image-block" + (/*transport*/ ctx[2] ? " transport" : "")) + " svelte-ci8ktf"));
|
|
2243
|
+
attr(div, "style", /*_style*/ ctx[4]);
|
|
2243
2244
|
},
|
|
2244
2245
|
m(target, anchor) {
|
|
2245
2246
|
insert(target, div, anchor);
|
|
2246
2247
|
append(div, img);
|
|
2247
2248
|
|
|
2248
2249
|
if (!mounted) {
|
|
2249
|
-
dispose = listen(div, "click", /*click*/ ctx[
|
|
2250
|
+
dispose = listen(div, "click", /*click*/ ctx[5]);
|
|
2250
2251
|
mounted = true;
|
|
2251
2252
|
}
|
|
2252
2253
|
},
|
|
2253
2254
|
p(ctx, [dirty]) {
|
|
2254
|
-
if (dirty & /*_imageStyle*/
|
|
2255
|
-
attr(img, "style", /*_imageStyle*/ ctx[
|
|
2255
|
+
if (dirty & /*_imageStyle*/ 8) {
|
|
2256
|
+
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
|
2256
2257
|
}
|
|
2257
2258
|
|
|
2258
2259
|
if (dirty & /*src*/ 1 && !src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) {
|
|
@@ -2263,8 +2264,12 @@ function create_fragment(ctx) {
|
|
|
2263
2264
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
2264
2265
|
}
|
|
2265
2266
|
|
|
2266
|
-
if (dirty & /*
|
|
2267
|
-
attr(div, "
|
|
2267
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty("image-block" + (/*transport*/ ctx[2] ? " transport" : "")) + " svelte-ci8ktf"))) {
|
|
2268
|
+
attr(div, "class", div_class_value);
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
if (dirty & /*_style*/ 16) {
|
|
2272
|
+
attr(div, "style", /*_style*/ ctx[4]);
|
|
2268
2273
|
}
|
|
2269
2274
|
},
|
|
2270
2275
|
i: noop,
|
|
@@ -2280,6 +2285,7 @@ function create_fragment(ctx) {
|
|
|
2280
2285
|
function instance($$self, $$props, $$invalidate) {
|
|
2281
2286
|
let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
|
|
2282
2287
|
let { alt = 'No Image' } = $$props;
|
|
2288
|
+
let { transport = false } = $$props;
|
|
2283
2289
|
|
|
2284
2290
|
/**
|
|
2285
2291
|
* {"title": {"ja": "イベントタイプ", "en": "Event Type"}, "folder": {"ja": "クリックイベント", "en": "Click Event"}}
|
|
@@ -2301,12 +2307,13 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
2301
2307
|
$$self.$$set = $$props => {
|
|
2302
2308
|
if ('src' in $$props) $$invalidate(0, src = $$props.src);
|
|
2303
2309
|
if ('alt' in $$props) $$invalidate(1, alt = $$props.alt);
|
|
2304
|
-
if ('
|
|
2305
|
-
if ('
|
|
2306
|
-
if ('
|
|
2310
|
+
if ('transport' in $$props) $$invalidate(2, transport = $$props.transport);
|
|
2311
|
+
if ('eventName' in $$props) $$invalidate(6, eventName = $$props.eventName);
|
|
2312
|
+
if ('_imageStyle' in $$props) $$invalidate(3, _imageStyle = $$props._imageStyle);
|
|
2313
|
+
if ('_style' in $$props) $$invalidate(4, _style = $$props._style);
|
|
2307
2314
|
};
|
|
2308
2315
|
|
|
2309
|
-
return [src, alt, _imageStyle, _style, click, eventName];
|
|
2316
|
+
return [src, alt, transport, _imageStyle, _style, click, eventName];
|
|
2310
2317
|
}
|
|
2311
2318
|
|
|
2312
2319
|
class ImageBlock extends SvelteComponent {
|
|
@@ -2322,9 +2329,10 @@ class ImageBlock extends SvelteComponent {
|
|
|
2322
2329
|
{
|
|
2323
2330
|
src: 0,
|
|
2324
2331
|
alt: 1,
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2332
|
+
transport: 2,
|
|
2333
|
+
eventName: 6,
|
|
2334
|
+
_imageStyle: 3,
|
|
2335
|
+
_style: 4
|
|
2328
2336
|
},
|
|
2329
2337
|
add_css
|
|
2330
2338
|
);
|