@plaidev/karte-action-sdk 1.1.266-29059851.1bdc68e9 → 1.1.266-29065938.e3ec46c6
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 +76 -84
- package/dist/index.es.js +76 -84
- package/dist/svelte5/hydrate/index.es.js +29 -37
- package/dist/svelte5/index.es.js +29 -37
- package/dist/svelte5/index.front2.es.js +29 -39
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -16649,10 +16649,10 @@ const IMAGE_ROUND_STYLES = {
|
|
16649
16649
|
/* src/components-flex/image/Image.svelte generated by Svelte v3.53.1 */
|
16650
16650
|
|
16651
16651
|
function add_css$h(target) {
|
16652
|
-
append_styles(target, "svelte-
|
16652
|
+
append_styles(target, "svelte-rewdem", ".image.svelte-rewdem{max-width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center}.image-img.svelte-rewdem{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}");
|
16653
16653
|
}
|
16654
16654
|
|
16655
|
-
// (
|
16655
|
+
// (26:0) <svelte:element this={element} {...attributes} class="image" {style} data-layer-id={layerId} on:click={handleClick} >
|
16656
16656
|
function create_dynamic_element$5(ctx) {
|
16657
16657
|
let svelte_element;
|
16658
16658
|
let img;
|
@@ -16695,7 +16695,7 @@ function create_dynamic_element$5(ctx) {
|
|
16695
16695
|
h() {
|
16696
16696
|
if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
|
16697
16697
|
attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
|
16698
|
-
attr(img, "class", "image-img svelte-
|
16698
|
+
attr(img, "class", "image-img svelte-rewdem");
|
16699
16699
|
|
16700
16700
|
if ((/-/).test(/*element*/ ctx[4])) {
|
16701
16701
|
set_custom_element_data_map(svelte_element, svelte_element_data);
|
@@ -16703,7 +16703,7 @@ function create_dynamic_element$5(ctx) {
|
|
16703
16703
|
set_attributes(svelte_element, svelte_element_data);
|
16704
16704
|
}
|
16705
16705
|
|
16706
|
-
toggle_class(svelte_element, "svelte-
|
16706
|
+
toggle_class(svelte_element, "svelte-rewdem", true);
|
16707
16707
|
},
|
16708
16708
|
m(target, anchor) {
|
16709
16709
|
insert_hydration(target, svelte_element, anchor);
|
@@ -16736,7 +16736,7 @@ function create_dynamic_element$5(ctx) {
|
|
16736
16736
|
set_attributes(svelte_element, svelte_element_data);
|
16737
16737
|
}
|
16738
16738
|
|
16739
|
-
toggle_class(svelte_element, "svelte-
|
16739
|
+
toggle_class(svelte_element, "svelte-rewdem", true);
|
16740
16740
|
},
|
16741
16741
|
d(detaching) {
|
16742
16742
|
if (detaching) detach(svelte_element);
|
@@ -16801,6 +16801,7 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
16801
16801
|
useInjectCustomizeCss(props);
|
16802
16802
|
const { attributes, element, handleClick } = useClickable(props);
|
16803
16803
|
const aspectVariantStyles = ASPECT_VARIANT[props.aspectVariant]?.getProps();
|
16804
|
+
const width = props.width ?? '100%';
|
16804
16805
|
|
16805
16806
|
$$self.$$set = $$props => {
|
16806
16807
|
if ('props' in $$props) $$invalidate(0, props = $$props.props);
|
@@ -16813,7 +16814,8 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
16813
16814
|
...props.borderTopLeftRadius
|
16814
16815
|
? toCssRadius(props)
|
16815
16816
|
: IMAGE_ROUND_STYLES[props.shape ?? 'square'],
|
16816
|
-
width
|
16817
|
+
width,
|
16818
|
+
flexShrink: String(width).indexOf('px') !== -1 ? 0 : 1,
|
16817
16819
|
height: props.height ?? 'auto',
|
16818
16820
|
aspectRatio: props.aspect ?? aspectVariantStyles?.aspect,
|
16819
16821
|
...toCssCommon(props),
|
@@ -18661,7 +18663,7 @@ function create_else_block(ctx) {
|
|
18661
18663
|
});
|
18662
18664
|
|
18663
18665
|
backgroundoverlay.$on("click", function () {
|
18664
|
-
if (is_function(/*backgroundClick*/ ctx[
|
18666
|
+
if (is_function(/*backgroundClick*/ ctx[12])) /*backgroundClick*/ ctx[12].apply(this, arguments);
|
18665
18667
|
});
|
18666
18668
|
|
18667
18669
|
return {
|
@@ -18711,7 +18713,7 @@ function create_if_block_2(ctx) {
|
|
18711
18713
|
});
|
18712
18714
|
|
18713
18715
|
backgroundoverlay0.$on("click", function () {
|
18714
|
-
if (is_function(/*backgroundClickPC*/ ctx[
|
18716
|
+
if (is_function(/*backgroundClickPC*/ ctx[11])) /*backgroundClickPC*/ ctx[11].apply(this, arguments);
|
18715
18717
|
});
|
18716
18718
|
|
18717
18719
|
backgroundoverlay1 = new BackgroundOverlay({
|
@@ -18722,7 +18724,7 @@ function create_if_block_2(ctx) {
|
|
18722
18724
|
});
|
18723
18725
|
|
18724
18726
|
backgroundoverlay1.$on("click", function () {
|
18725
|
-
if (is_function(/*backgroundClickSP*/ ctx[
|
18727
|
+
if (is_function(/*backgroundClickSP*/ ctx[10])) /*backgroundClickSP*/ ctx[10].apply(this, arguments);
|
18726
18728
|
});
|
18727
18729
|
|
18728
18730
|
return {
|
@@ -18770,7 +18772,7 @@ function create_if_block_2(ctx) {
|
|
18770
18772
|
};
|
18771
18773
|
}
|
18772
18774
|
|
18773
|
-
// (207:0) {#if
|
18775
|
+
// (207:0) {#if isCanvasPreview}
|
18774
18776
|
function create_if_block_1$1(ctx) {
|
18775
18777
|
return {
|
18776
18778
|
c: noop,
|
@@ -18787,11 +18789,10 @@ function create_if_block_1$1(ctx) {
|
|
18787
18789
|
function create_if_block$3(ctx) {
|
18788
18790
|
let div;
|
18789
18791
|
let div_class_value;
|
18790
|
-
let div_style_value;
|
18791
18792
|
let div_intro;
|
18792
18793
|
let current;
|
18793
|
-
const default_slot_template = /*#slots*/ ctx[
|
18794
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
18794
|
+
const default_slot_template = /*#slots*/ ctx[26].default;
|
18795
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
|
18795
18796
|
|
18796
18797
|
return {
|
18797
18798
|
c() {
|
@@ -18818,7 +18819,7 @@ function create_if_block$3(ctx) {
|
|
18818
18819
|
attr(div, "role", "dialog");
|
18819
18820
|
attr(div, "aria-modal", "true");
|
18820
18821
|
attr(div, "data-layer-id", /*layerId*/ ctx[2]);
|
18821
|
-
attr(div, "style",
|
18822
|
+
attr(div, "style", Array.from(/*modalStyles*/ ctx[14]).join(';'));
|
18822
18823
|
},
|
18823
18824
|
m(target, anchor) {
|
18824
18825
|
insert_hydration(target, div, anchor);
|
@@ -18827,22 +18828,22 @@ function create_if_block$3(ctx) {
|
|
18827
18828
|
default_slot.m(div, null);
|
18828
18829
|
}
|
18829
18830
|
|
18830
|
-
/*div_binding*/ ctx[
|
18831
|
+
/*div_binding*/ ctx[27](div);
|
18831
18832
|
current = true;
|
18832
18833
|
},
|
18833
18834
|
p(new_ctx, dirty) {
|
18834
18835
|
ctx = new_ctx;
|
18835
18836
|
|
18836
18837
|
if (default_slot) {
|
18837
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
18838
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 33554432)) {
|
18838
18839
|
update_slot_base(
|
18839
18840
|
default_slot,
|
18840
18841
|
default_slot_template,
|
18841
18842
|
ctx,
|
18842
|
-
/*$$scope*/ ctx[
|
18843
|
+
/*$$scope*/ ctx[25],
|
18843
18844
|
!current
|
18844
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
18845
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
18845
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[25])
|
18846
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),
|
18846
18847
|
null
|
18847
18848
|
);
|
18848
18849
|
}
|
@@ -18855,10 +18856,6 @@ function create_if_block$3(ctx) {
|
|
18855
18856
|
if (!current || dirty & /*layerId*/ 4) {
|
18856
18857
|
attr(div, "data-layer-id", /*layerId*/ ctx[2]);
|
18857
18858
|
}
|
18858
|
-
|
18859
|
-
if (!current || dirty & /*style*/ 512 && div_style_value !== (div_style_value = [Array.from(/*modalStyles*/ ctx[15]).join(';'), /*style*/ ctx[9]].join(' '))) {
|
18860
|
-
attr(div, "style", div_style_value);
|
18861
|
-
}
|
18862
18859
|
},
|
18863
18860
|
i(local) {
|
18864
18861
|
if (current) return;
|
@@ -18884,7 +18881,7 @@ function create_if_block$3(ctx) {
|
|
18884
18881
|
d(detaching) {
|
18885
18882
|
if (detaching) detach(div);
|
18886
18883
|
if (default_slot) default_slot.d(detaching);
|
18887
|
-
/*div_binding*/ ctx[
|
18884
|
+
/*div_binding*/ ctx[27](null);
|
18888
18885
|
}
|
18889
18886
|
};
|
18890
18887
|
}
|
@@ -18901,7 +18898,7 @@ function create_fragment$d(ctx) {
|
|
18901
18898
|
const if_blocks = [];
|
18902
18899
|
|
18903
18900
|
function select_block_type(ctx, dirty) {
|
18904
|
-
if (
|
18901
|
+
if (/*isCanvasPreview*/ ctx[13]) return 0;
|
18905
18902
|
if (/*useBreakPoint*/ ctx[0]) return 1;
|
18906
18903
|
return 2;
|
18907
18904
|
}
|
@@ -18932,7 +18929,7 @@ function create_fragment$d(ctx) {
|
|
18932
18929
|
|
18933
18930
|
if (!mounted) {
|
18934
18931
|
dispose = listen(window, "keydown", function () {
|
18935
|
-
if (is_function(/*handle_keydown*/ ctx[
|
18932
|
+
if (is_function(/*handle_keydown*/ ctx[9])) /*handle_keydown*/ ctx[9].apply(this, arguments);
|
18936
18933
|
});
|
18937
18934
|
|
18938
18935
|
mounted = true;
|
@@ -19018,7 +19015,6 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19018
19015
|
let backgroundClickSP;
|
19019
19016
|
let handle_keydown;
|
19020
19017
|
let visible;
|
19021
|
-
let style;
|
19022
19018
|
let { $$slots: slots = {}, $$scope } = $$props;
|
19023
19019
|
let { useBreakPoint = false } = $$props;
|
19024
19020
|
let { placement } = $$props;
|
@@ -19030,9 +19026,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19030
19026
|
let { closeEventValue = null } = $$props;
|
19031
19027
|
let { layerId = '' } = $$props;
|
19032
19028
|
const { brandKit } = useBrandKit();
|
19033
|
-
|
19034
|
-
// falseが明示的に指定されている場合以外はtrueにする
|
19035
|
-
const isOnSite = (document.querySelector('#preview')?.getAttribute('data-on-site') ?? 'true') !== 'false';
|
19029
|
+
const isCanvasPreview = (document.querySelector('#preview')?.getAttribute('data-canvas-preview') ?? 'false') === 'true';
|
19036
19030
|
|
19037
19031
|
// モーダル背景の設定
|
19038
19032
|
const isExistBackgroundOverlayValue = placement && placement.backgroundOverlay !== undefined;
|
@@ -19065,20 +19059,20 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19065
19059
|
|
19066
19060
|
$$self.$$set = $$props => {
|
19067
19061
|
if ('useBreakPoint' in $$props) $$invalidate(0, useBreakPoint = $$props.useBreakPoint);
|
19068
|
-
if ('placement' in $$props) $$invalidate(
|
19069
|
-
if ('breakPoint' in $$props) $$invalidate(
|
19070
|
-
if ('elasticity' in $$props) $$invalidate(
|
19062
|
+
if ('placement' in $$props) $$invalidate(15, placement = $$props.placement);
|
19063
|
+
if ('breakPoint' in $$props) $$invalidate(16, breakPoint = $$props.breakPoint);
|
19064
|
+
if ('elasticity' in $$props) $$invalidate(17, elasticity = $$props.elasticity);
|
19071
19065
|
if ('animation' in $$props) $$invalidate(1, animation = $$props.animation);
|
19072
|
-
if ('props' in $$props) $$invalidate(
|
19073
|
-
if ('closeEventName' in $$props) $$invalidate(
|
19074
|
-
if ('closeEventValue' in $$props) $$invalidate(
|
19066
|
+
if ('props' in $$props) $$invalidate(18, props = $$props.props);
|
19067
|
+
if ('closeEventName' in $$props) $$invalidate(19, closeEventName = $$props.closeEventName);
|
19068
|
+
if ('closeEventValue' in $$props) $$invalidate(20, closeEventValue = $$props.closeEventValue);
|
19075
19069
|
if ('layerId' in $$props) $$invalidate(2, layerId = $$props.layerId);
|
19076
|
-
if ('$$scope' in $$props) $$invalidate(
|
19070
|
+
if ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);
|
19077
19071
|
};
|
19078
19072
|
|
19079
19073
|
$$self.$$.update = () => {
|
19080
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue*/
|
19081
|
-
$$invalidate(
|
19074
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue*/ 1572864) {
|
19075
|
+
$$invalidate(24, close = () => {
|
19082
19076
|
const onClose = { operation: 'closeApp', args: ['button'] };
|
19083
19077
|
|
19084
19078
|
if (closeEventName) {
|
@@ -19089,9 +19083,9 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19089
19083
|
});
|
19090
19084
|
}
|
19091
19085
|
|
19092
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/
|
19086
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 98305) {
|
19093
19087
|
{
|
19094
|
-
if (
|
19088
|
+
if (!isCanvasPreview && isExistBackgroundOverlayValue) {
|
19095
19089
|
$$invalidate(4, backgroundOverlay = placement.backgroundOverlay);
|
19096
19090
|
}
|
19097
19091
|
|
@@ -19104,30 +19098,30 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19104
19098
|
}
|
19105
19099
|
}
|
19106
19100
|
|
19107
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/
|
19101
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 98305) {
|
19108
19102
|
{
|
19109
19103
|
if (placement && placement.backgroundClick) {
|
19110
|
-
$$invalidate(
|
19104
|
+
$$invalidate(21, backgroundClickFunction = placement.backgroundClick);
|
19111
19105
|
}
|
19112
19106
|
|
19113
19107
|
if (useBreakPoint) {
|
19114
19108
|
const pc = breakPoint?.PC?.placement?.backgroundClick;
|
19115
19109
|
|
19116
19110
|
if (pc) {
|
19117
|
-
$$invalidate(
|
19111
|
+
$$invalidate(22, backgroundClickFunctionPC = pc);
|
19118
19112
|
}
|
19119
19113
|
|
19120
19114
|
const sp = breakPoint?.SP?.placement?.backgroundClick;
|
19121
19115
|
|
19122
19116
|
if (sp) {
|
19123
|
-
$$invalidate(
|
19117
|
+
$$invalidate(23, backgroundClickFunctionSP = sp);
|
19124
19118
|
}
|
19125
19119
|
}
|
19126
19120
|
}
|
19127
19121
|
}
|
19128
19122
|
|
19129
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
19130
|
-
$$invalidate(
|
19123
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 3670016) {
|
19124
|
+
$$invalidate(12, backgroundClick = () => {
|
19131
19125
|
if (closeEventName) {
|
19132
19126
|
send_event(closeEventName, closeEventValue);
|
19133
19127
|
}
|
@@ -19136,8 +19130,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19136
19130
|
});
|
19137
19131
|
}
|
19138
19132
|
|
19139
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/
|
19140
|
-
$$invalidate(
|
19133
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 5767168) {
|
19134
|
+
$$invalidate(11, backgroundClickPC = () => {
|
19141
19135
|
if (closeEventName) {
|
19142
19136
|
send_event(closeEventName, closeEventValue);
|
19143
19137
|
}
|
@@ -19146,8 +19140,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19146
19140
|
});
|
19147
19141
|
}
|
19148
19142
|
|
19149
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/
|
19150
|
-
$$invalidate(
|
19143
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 9961472) {
|
19144
|
+
$$invalidate(10, backgroundClickSP = () => {
|
19151
19145
|
if (closeEventName) {
|
19152
19146
|
send_event(closeEventName, closeEventValue);
|
19153
19147
|
}
|
@@ -19156,13 +19150,13 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19156
19150
|
});
|
19157
19151
|
}
|
19158
19152
|
|
19159
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/
|
19153
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/ 98313) {
|
19160
19154
|
// 表示位置のスタイルとアニメーションの動きを設定
|
19161
19155
|
{
|
19162
19156
|
// 表示位置のスタイルの設定
|
19163
19157
|
let position = DefaultModalPlacement.position;
|
19164
19158
|
|
19165
|
-
if (
|
19159
|
+
if (!isCanvasPreview && placement && placement.position !== null) {
|
19166
19160
|
position = placement.position;
|
19167
19161
|
}
|
19168
19162
|
|
@@ -19179,7 +19173,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19179
19173
|
$$invalidate(3, transforms = []);
|
19180
19174
|
|
19181
19175
|
DEVICE_IDS.forEach(deviceId => {
|
19182
|
-
if (
|
19176
|
+
if (!isCanvasPreview && useBreakPoint) {
|
19183
19177
|
const positionWithBp = breakPoint[deviceId]?.placement?.position;
|
19184
19178
|
|
19185
19179
|
transforms.push({
|
@@ -19204,12 +19198,12 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19204
19198
|
}
|
19205
19199
|
}
|
19206
19200
|
|
19207
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/
|
19201
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, props*/ 360449) {
|
19208
19202
|
// 表示位置の調整のスタイルを設定
|
19209
19203
|
{
|
19210
19204
|
let margin = DefaultModalPlacement.margin;
|
19211
19205
|
|
19212
|
-
if (
|
19206
|
+
if (!isCanvasPreview && placement && placement.margin !== null) {
|
19213
19207
|
margin = placement.margin;
|
19214
19208
|
}
|
19215
19209
|
|
@@ -19220,7 +19214,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19220
19214
|
}
|
19221
19215
|
|
19222
19216
|
DEVICE_IDS.forEach(deviceId => {
|
19223
|
-
if (
|
19217
|
+
if (!isCanvasPreview && useBreakPoint) {
|
19224
19218
|
const marginWithBp = breakPoint[deviceId]?.placement?.margin;
|
19225
19219
|
marginStyle = getMarginStyle(marginWithBp);
|
19226
19220
|
}
|
@@ -19233,23 +19227,23 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19233
19227
|
|
19234
19228
|
modalStyles.add(marginVariables);
|
19235
19229
|
});
|
19236
|
-
}
|
19237
|
-
}
|
19238
19230
|
|
19239
|
-
|
19240
|
-
|
19231
|
+
const propsStyle = objToStyle({
|
19232
|
+
width: props.width,
|
19233
|
+
...toCssOverflow(props),
|
19234
|
+
...toCssShadow(props),
|
19235
|
+
...toCssRadius(props),
|
19236
|
+
...toCssBackgroundImage(props),
|
19237
|
+
...toCssBackgroundColor(props),
|
19238
|
+
...toCssBorder(props)
|
19239
|
+
});
|
19240
|
+
|
19241
|
+
modalStyles.add(propsStyle);
|
19242
|
+
}
|
19241
19243
|
}
|
19242
19244
|
|
19243
|
-
if ($$self.$$.dirty & /*
|
19244
|
-
$$invalidate(9,
|
19245
|
-
width: props.width,
|
19246
|
-
...toCssOverflow(props),
|
19247
|
-
...toCssShadow(props),
|
19248
|
-
...toCssRadius(props),
|
19249
|
-
...toCssBackgroundImage(props),
|
19250
|
-
...toCssBackgroundColor(props),
|
19251
|
-
...toCssBorder(props)
|
19252
|
-
}));
|
19245
|
+
if ($$self.$$.dirty & /*close*/ 16777216) {
|
19246
|
+
$$invalidate(9, handle_keydown = handleKeydown({ Escape: close }));
|
19253
19247
|
}
|
19254
19248
|
};
|
19255
19249
|
|
@@ -19268,12 +19262,11 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
19268
19262
|
backgroundOverlaySP,
|
19269
19263
|
modal,
|
19270
19264
|
visible,
|
19271
|
-
style,
|
19272
19265
|
handle_keydown,
|
19273
19266
|
backgroundClickSP,
|
19274
19267
|
backgroundClickPC,
|
19275
19268
|
backgroundClick,
|
19276
|
-
|
19269
|
+
isCanvasPreview,
|
19277
19270
|
modalStyles,
|
19278
19271
|
placement,
|
19279
19272
|
breakPoint,
|
@@ -19303,13 +19296,13 @@ class Modal extends SvelteComponent {
|
|
19303
19296
|
safe_not_equal,
|
19304
19297
|
{
|
19305
19298
|
useBreakPoint: 0,
|
19306
|
-
placement:
|
19307
|
-
breakPoint:
|
19308
|
-
elasticity:
|
19299
|
+
placement: 15,
|
19300
|
+
breakPoint: 16,
|
19301
|
+
elasticity: 17,
|
19309
19302
|
animation: 1,
|
19310
|
-
props:
|
19311
|
-
closeEventName:
|
19312
|
-
closeEventValue:
|
19303
|
+
props: 18,
|
19304
|
+
closeEventName: 19,
|
19305
|
+
closeEventValue: 20,
|
19313
19306
|
layerId: 2
|
19314
19307
|
},
|
19315
19308
|
add_css$9
|
@@ -22027,7 +22020,7 @@ function get_each_context(ctx, list, i) {
|
|
22027
22020
|
return child_ctx;
|
22028
22021
|
}
|
22029
22022
|
|
22030
|
-
// (
|
22023
|
+
// (12:0) {#if component}
|
22031
22024
|
function create_if_block(ctx) {
|
22032
22025
|
let switch_instance;
|
22033
22026
|
let switch_instance_anchor;
|
@@ -22115,7 +22108,7 @@ function create_if_block(ctx) {
|
|
22115
22108
|
};
|
22116
22109
|
}
|
22117
22110
|
|
22118
|
-
// (
|
22111
|
+
// (19:4) {#if option.children}
|
22119
22112
|
function create_if_block_1(ctx) {
|
22120
22113
|
let each_1_anchor;
|
22121
22114
|
let current;
|
@@ -22206,7 +22199,7 @@ function create_if_block_1(ctx) {
|
|
22206
22199
|
};
|
22207
22200
|
}
|
22208
22201
|
|
22209
|
-
// (
|
22202
|
+
// (20:6) {#each option.children as child}
|
22210
22203
|
function create_each_block(ctx) {
|
22211
22204
|
let thumbnailpreview;
|
22212
22205
|
let current;
|
@@ -22243,7 +22236,7 @@ function create_each_block(ctx) {
|
|
22243
22236
|
};
|
22244
22237
|
}
|
22245
22238
|
|
22246
|
-
// (
|
22239
|
+
// (13:2) <svelte:component this={component} props={'previewProps' in option && typeof option.previewProps !== 'undefined' ? option.previewProps : option.props} >
|
22247
22240
|
function create_default_slot(ctx) {
|
22248
22241
|
let if_block_anchor;
|
22249
22242
|
let current;
|
@@ -22366,7 +22359,6 @@ function instance($$self, $$props, $$invalidate) {
|
|
22366
22359
|
let component;
|
22367
22360
|
let { option = {} } = $$props;
|
22368
22361
|
let { customBrandKit = undefined } = $$props;
|
22369
|
-
console.log('option', option);
|
22370
22362
|
|
22371
22363
|
const getComponent = key => {
|
22372
22364
|
return key in sdk ? sdk[key] : null;
|