@plaidev/karte-action-sdk 1.1.113-27923556.29e36903 → 1.1.113
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +1 -73
- package/dist/hydrate/index.es.js +124 -462
- package/dist/index.es.d.ts +1 -73
- package/dist/index.es.js +106 -416
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -980,19 +980,6 @@ const DefaultListBackground = DefaultListBackgroundNone;
|
|
980
980
|
* @internal
|
981
981
|
*/
|
982
982
|
const ListDirections = ['vertical', 'horizontal'];
|
983
|
-
const DefaultSliderButton = {
|
984
|
-
type: 'icon',
|
985
|
-
icon: 'chevron-left',
|
986
|
-
color: '#999',
|
987
|
-
fill: '#999',
|
988
|
-
size: '20px',
|
989
|
-
};
|
990
|
-
const DefaultSliderNavigationButton = {
|
991
|
-
type: 'circle',
|
992
|
-
size: '8px',
|
993
|
-
color: '#ddd',
|
994
|
-
colorActive: '#666',
|
995
|
-
};
|
996
983
|
|
997
984
|
function doPresent({ direction, deltaRate }, downFn, upFn, condition = false) {
|
998
985
|
if (direction === 'down' && deltaRate > 0) {
|
@@ -3532,7 +3519,7 @@ class FlexItem extends SvelteComponent {
|
|
3532
3519
|
|
3533
3520
|
/* src/components/RenderText.svelte generated by Svelte v3.53.1 */
|
3534
3521
|
|
3535
|
-
function get_each_context$
|
3522
|
+
function get_each_context$3(ctx, list, i) {
|
3536
3523
|
const child_ctx = ctx.slice();
|
3537
3524
|
child_ctx[2] = list[i];
|
3538
3525
|
return child_ctx;
|
@@ -3578,7 +3565,7 @@ function create_if_block$1(ctx) {
|
|
3578
3565
|
}
|
3579
3566
|
|
3580
3567
|
// (9:0) {#each items as item}
|
3581
|
-
function create_each_block$
|
3568
|
+
function create_each_block$3(ctx) {
|
3582
3569
|
let show_if;
|
3583
3570
|
let if_block_anchor;
|
3584
3571
|
|
@@ -3627,7 +3614,7 @@ function create_fragment$i(ctx) {
|
|
3627
3614
|
let each_blocks = [];
|
3628
3615
|
|
3629
3616
|
for (let i = 0; i < each_value.length; i += 1) {
|
3630
|
-
each_blocks[i] = create_each_block$
|
3617
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
3631
3618
|
}
|
3632
3619
|
|
3633
3620
|
return {
|
@@ -3651,12 +3638,12 @@ function create_fragment$i(ctx) {
|
|
3651
3638
|
let i;
|
3652
3639
|
|
3653
3640
|
for (i = 0; i < each_value.length; i += 1) {
|
3654
|
-
const child_ctx = get_each_context$
|
3641
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
3655
3642
|
|
3656
3643
|
if (each_blocks[i]) {
|
3657
3644
|
each_blocks[i].p(child_ctx, dirty);
|
3658
3645
|
} else {
|
3659
|
-
each_blocks[i] = create_each_block$
|
3646
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
3660
3647
|
each_blocks[i].c();
|
3661
3648
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
3662
3649
|
}
|
@@ -5171,7 +5158,7 @@ function add_css$7(target) {
|
|
5171
5158
|
append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5172
5159
|
}
|
5173
5160
|
|
5174
|
-
function get_each_context$
|
5161
|
+
function get_each_context$2(ctx, list, i) {
|
5175
5162
|
const child_ctx = ctx.slice();
|
5176
5163
|
child_ctx[7] = list[i];
|
5177
5164
|
child_ctx[9] = i;
|
@@ -5179,7 +5166,7 @@ function get_each_context$3(ctx, list, i) {
|
|
5179
5166
|
}
|
5180
5167
|
|
5181
5168
|
// (23:2) {#each _options as option, i}
|
5182
|
-
function create_each_block$
|
5169
|
+
function create_each_block$2(ctx) {
|
5183
5170
|
let label;
|
5184
5171
|
let input;
|
5185
5172
|
let t0;
|
@@ -5239,7 +5226,7 @@ function create_fragment$7(ctx) {
|
|
5239
5226
|
let each_blocks = [];
|
5240
5227
|
|
5241
5228
|
for (let i = 0; i < each_value.length; i += 1) {
|
5242
|
-
each_blocks[i] = create_each_block$
|
5229
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
5243
5230
|
}
|
5244
5231
|
|
5245
5232
|
return {
|
@@ -5265,12 +5252,12 @@ function create_fragment$7(ctx) {
|
|
5265
5252
|
let i;
|
5266
5253
|
|
5267
5254
|
for (i = 0; i < each_value.length; i += 1) {
|
5268
|
-
const child_ctx = get_each_context$
|
5255
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
5269
5256
|
|
5270
5257
|
if (each_blocks[i]) {
|
5271
5258
|
each_blocks[i].p(child_ctx, dirty);
|
5272
5259
|
} else {
|
5273
|
-
each_blocks[i] = create_each_block$
|
5260
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
5274
5261
|
each_blocks[i].c();
|
5275
5262
|
each_blocks[i].m(div, null);
|
5276
5263
|
}
|
@@ -5343,7 +5330,7 @@ function add_css$6(target) {
|
|
5343
5330
|
append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5344
5331
|
}
|
5345
5332
|
|
5346
|
-
function get_each_context$
|
5333
|
+
function get_each_context$1(ctx, list, i) {
|
5347
5334
|
const child_ctx = ctx.slice();
|
5348
5335
|
child_ctx[6] = list[i];
|
5349
5336
|
child_ctx[8] = i;
|
@@ -5390,7 +5377,7 @@ function create_if_block(ctx) {
|
|
5390
5377
|
}
|
5391
5378
|
|
5392
5379
|
// (24:4) {#each _options as option, i}
|
5393
|
-
function create_each_block$
|
5380
|
+
function create_each_block$1(ctx) {
|
5394
5381
|
let option;
|
5395
5382
|
let t;
|
5396
5383
|
let option_value_value;
|
@@ -5450,7 +5437,7 @@ function create_fragment$6(ctx) {
|
|
5450
5437
|
let each_blocks = [];
|
5451
5438
|
|
5452
5439
|
for (let i = 0; i < each_value.length; i += 1) {
|
5453
|
-
each_blocks[i] = create_each_block$
|
5440
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
5454
5441
|
}
|
5455
5442
|
|
5456
5443
|
return {
|
@@ -5483,12 +5470,12 @@ function create_fragment$6(ctx) {
|
|
5483
5470
|
let i;
|
5484
5471
|
|
5485
5472
|
for (i = 0; i < each_value.length; i += 1) {
|
5486
|
-
const child_ctx = get_each_context$
|
5473
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
5487
5474
|
|
5488
5475
|
if (each_blocks[i]) {
|
5489
5476
|
each_blocks[i].p(child_ctx, dirty);
|
5490
5477
|
} else {
|
5491
|
-
each_blocks[i] = create_each_block$
|
5478
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
5492
5479
|
each_blocks[i].c();
|
5493
5480
|
each_blocks[i].m(select, null);
|
5494
5481
|
}
|
@@ -5559,7 +5546,7 @@ function add_css$5(target) {
|
|
5559
5546
|
append_styles(target, "svelte-3uhiw4", ".check-boxes.svelte-3uhiw4{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5560
5547
|
}
|
5561
5548
|
|
5562
|
-
function get_each_context
|
5549
|
+
function get_each_context(ctx, list, i) {
|
5563
5550
|
const child_ctx = ctx.slice();
|
5564
5551
|
child_ctx[8] = list[i];
|
5565
5552
|
child_ctx[10] = i;
|
@@ -5567,7 +5554,7 @@ function get_each_context$1(ctx, list, i) {
|
|
5567
5554
|
}
|
5568
5555
|
|
5569
5556
|
// (30:2) {#each _options as option, i}
|
5570
|
-
function create_each_block
|
5557
|
+
function create_each_block(ctx) {
|
5571
5558
|
let label;
|
5572
5559
|
let input;
|
5573
5560
|
let t0;
|
@@ -5627,7 +5614,7 @@ function create_fragment$5(ctx) {
|
|
5627
5614
|
let each_blocks = [];
|
5628
5615
|
|
5629
5616
|
for (let i = 0; i < each_value.length; i += 1) {
|
5630
|
-
each_blocks[i] = create_each_block
|
5617
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
5631
5618
|
}
|
5632
5619
|
|
5633
5620
|
return {
|
@@ -5653,12 +5640,12 @@ function create_fragment$5(ctx) {
|
|
5653
5640
|
let i;
|
5654
5641
|
|
5655
5642
|
for (i = 0; i < each_value.length; i += 1) {
|
5656
|
-
const child_ctx = get_each_context
|
5643
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
5657
5644
|
|
5658
5645
|
if (each_blocks[i]) {
|
5659
5646
|
each_blocks[i].p(child_ctx, dirty);
|
5660
5647
|
} else {
|
5661
|
-
each_blocks[i] = create_each_block
|
5648
|
+
each_blocks[i] = create_each_block(child_ctx);
|
5662
5649
|
each_blocks[i].c();
|
5663
5650
|
each_blocks[i].m(div, null);
|
5664
5651
|
}
|
@@ -5739,165 +5726,64 @@ class FormCheckBoxes extends SvelteComponent {
|
|
5739
5726
|
/* src/components/Slider.svelte generated by Svelte v3.53.1 */
|
5740
5727
|
|
5741
5728
|
function add_css$4(target) {
|
5742
|
-
append_styles(target, "svelte-
|
5743
|
-
}
|
5744
|
-
|
5745
|
-
function get_each_context(ctx, list, i) {
|
5746
|
-
const child_ctx = ctx.slice();
|
5747
|
-
child_ctx[50] = list[i];
|
5748
|
-
child_ctx[52] = i;
|
5749
|
-
return child_ctx;
|
5750
|
-
}
|
5751
|
-
|
5752
|
-
// (327:4) {#each items as _, i}
|
5753
|
-
function create_each_block(ctx) {
|
5754
|
-
let div1;
|
5755
|
-
let div0;
|
5756
|
-
let div0_style_value;
|
5757
|
-
let t;
|
5758
|
-
let mounted;
|
5759
|
-
let dispose;
|
5760
|
-
|
5761
|
-
function click_handler() {
|
5762
|
-
return /*click_handler*/ ctx[26](/*i*/ ctx[52]);
|
5763
|
-
}
|
5764
|
-
|
5765
|
-
return {
|
5766
|
-
c() {
|
5767
|
-
div1 = element("div");
|
5768
|
-
div0 = element("div");
|
5769
|
-
t = space();
|
5770
|
-
attr(div0, "class", "navigation-item-inner circle svelte-105wdod");
|
5771
|
-
attr(div0, "style", div0_style_value = /*getNavigationItemInnerStyle*/ ctx[6](/*i*/ ctx[52]));
|
5772
|
-
attr(div1, "class", "navigation-item svelte-105wdod");
|
5773
|
-
attr(div1, "style", /*navigationItemStyle*/ ctx[7]);
|
5774
|
-
},
|
5775
|
-
m(target, anchor) {
|
5776
|
-
insert(target, div1, anchor);
|
5777
|
-
append(div1, div0);
|
5778
|
-
append(div1, t);
|
5779
|
-
|
5780
|
-
if (!mounted) {
|
5781
|
-
dispose = listen(div1, "click", click_handler);
|
5782
|
-
mounted = true;
|
5783
|
-
}
|
5784
|
-
},
|
5785
|
-
p(new_ctx, dirty) {
|
5786
|
-
ctx = new_ctx;
|
5787
|
-
|
5788
|
-
if (dirty[0] & /*getNavigationItemInnerStyle*/ 64 && div0_style_value !== (div0_style_value = /*getNavigationItemInnerStyle*/ ctx[6](/*i*/ ctx[52]))) {
|
5789
|
-
attr(div0, "style", div0_style_value);
|
5790
|
-
}
|
5791
|
-
|
5792
|
-
if (dirty[0] & /*navigationItemStyle*/ 128) {
|
5793
|
-
attr(div1, "style", /*navigationItemStyle*/ ctx[7]);
|
5794
|
-
}
|
5795
|
-
},
|
5796
|
-
d(detaching) {
|
5797
|
-
if (detaching) detach(div1);
|
5798
|
-
mounted = false;
|
5799
|
-
dispose();
|
5800
|
-
}
|
5801
|
-
};
|
5729
|
+
append_styles(target, "svelte-16jk4x2", ".root.svelte-16jk4x2{width:100%;height:100%;position:relative}.container.svelte-16jk4x2{width:100%;height:100%;position:relative;overflow:hidden}.slide.svelte-16jk4x2{height:100%;position:absolute;display:flex}.transition.svelte-16jk4x2{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-16jk4x2{height:100%;flex:none}.prev-button.svelte-16jk4x2,.next-button.svelte-16jk4x2{height:50px;top:calc(50% - 25px);position:absolute}.prev-button.svelte-16jk4x2{left:8px}.next-button.svelte-16jk4x2{right:8px}");
|
5802
5730
|
}
|
5803
5731
|
|
5804
5732
|
function create_fragment$4(ctx) {
|
5805
|
-
let
|
5733
|
+
let div4;
|
5806
5734
|
let div1;
|
5807
5735
|
let div0;
|
5808
5736
|
let div0_class_value;
|
5809
5737
|
let t0;
|
5810
|
-
let div4;
|
5811
|
-
let div3;
|
5812
5738
|
let div2;
|
5813
|
-
let t1;
|
5814
|
-
let div7;
|
5815
|
-
let div6;
|
5816
|
-
let div5;
|
5817
5739
|
let t2;
|
5818
|
-
let
|
5740
|
+
let div3;
|
5819
5741
|
let current;
|
5820
5742
|
let mounted;
|
5821
5743
|
let dispose;
|
5822
|
-
const default_slot_template = /*#slots*/ ctx[
|
5823
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
5824
|
-
let each_value = /*items*/ ctx[3];
|
5825
|
-
let each_blocks = [];
|
5826
|
-
|
5827
|
-
for (let i = 0; i < each_value.length; i += 1) {
|
5828
|
-
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
5829
|
-
}
|
5744
|
+
const default_slot_template = /*#slots*/ ctx[11].default;
|
5745
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[10], null);
|
5830
5746
|
|
5831
5747
|
return {
|
5832
5748
|
c() {
|
5833
|
-
|
5749
|
+
div4 = element("div");
|
5834
5750
|
div1 = element("div");
|
5835
5751
|
div0 = element("div");
|
5836
5752
|
if (default_slot) default_slot.c();
|
5837
5753
|
t0 = space();
|
5838
|
-
div4 = element("div");
|
5839
|
-
div3 = element("div");
|
5840
5754
|
div2 = element("div");
|
5841
|
-
|
5842
|
-
div7 = element("div");
|
5843
|
-
div6 = element("div");
|
5844
|
-
div5 = element("div");
|
5755
|
+
div2.textContent = "<";
|
5845
5756
|
t2 = space();
|
5846
|
-
|
5847
|
-
|
5848
|
-
|
5849
|
-
|
5850
|
-
|
5851
|
-
|
5852
|
-
attr(
|
5853
|
-
attr(
|
5854
|
-
attr(div1, "class", "container svelte-105wdod");
|
5855
|
-
attr(div2, "class", "prev-icon svelte-105wdod");
|
5856
|
-
attr(div2, "style", /*prevIconStyle*/ ctx[9]);
|
5857
|
-
attr(div3, "class", "button-container svelte-105wdod");
|
5858
|
-
attr(div3, "style", /*prevButtonContainerStyle*/ ctx[0]);
|
5859
|
-
attr(div4, "class", "prev-button svelte-105wdod");
|
5860
|
-
attr(div5, "class", "next-icon svelte-105wdod");
|
5861
|
-
attr(div5, "style", /*nextIconStyle*/ ctx[8]);
|
5862
|
-
attr(div6, "class", "button-container svelte-105wdod");
|
5863
|
-
attr(div6, "style", /*nextButtonContainerStyle*/ ctx[1]);
|
5864
|
-
attr(div7, "class", "next-button svelte-105wdod");
|
5865
|
-
attr(div8, "class", "navigation svelte-105wdod");
|
5866
|
-
attr(div8, "style", /*navigationStyle*/ ctx[2]);
|
5867
|
-
attr(div9, "class", "root svelte-105wdod");
|
5757
|
+
div3 = element("div");
|
5758
|
+
div3.textContent = ">";
|
5759
|
+
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[2]) + " svelte-16jk4x2"));
|
5760
|
+
attr(div0, "style", /*slideStyle*/ ctx[3]);
|
5761
|
+
attr(div1, "class", "container svelte-16jk4x2");
|
5762
|
+
attr(div2, "class", "prev-button svelte-16jk4x2");
|
5763
|
+
attr(div3, "class", "next-button svelte-16jk4x2");
|
5764
|
+
attr(div4, "class", "root svelte-16jk4x2");
|
5868
5765
|
},
|
5869
5766
|
m(target, anchor) {
|
5870
|
-
insert(target,
|
5871
|
-
append(
|
5767
|
+
insert(target, div4, anchor);
|
5768
|
+
append(div4, div1);
|
5872
5769
|
append(div1, div0);
|
5873
5770
|
|
5874
5771
|
if (default_slot) {
|
5875
5772
|
default_slot.m(div0, null);
|
5876
5773
|
}
|
5877
5774
|
|
5878
|
-
/*div0_binding*/ ctx[
|
5879
|
-
/*div1_binding*/ ctx[
|
5880
|
-
append(
|
5881
|
-
append(
|
5775
|
+
/*div0_binding*/ ctx[12](div0);
|
5776
|
+
/*div1_binding*/ ctx[13](div1);
|
5777
|
+
append(div4, t0);
|
5778
|
+
append(div4, div2);
|
5779
|
+
append(div4, t2);
|
5882
5780
|
append(div4, div3);
|
5883
|
-
append(div3, div2);
|
5884
|
-
append(div9, t1);
|
5885
|
-
append(div9, div7);
|
5886
|
-
append(div7, div6);
|
5887
|
-
append(div6, div5);
|
5888
|
-
append(div9, t2);
|
5889
|
-
append(div9, div8);
|
5890
|
-
|
5891
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
5892
|
-
each_blocks[i].m(div8, null);
|
5893
|
-
}
|
5894
|
-
|
5895
5781
|
current = true;
|
5896
5782
|
|
5897
5783
|
if (!mounted) {
|
5898
5784
|
dispose = [
|
5899
|
-
listen(
|
5900
|
-
listen(
|
5785
|
+
listen(div2, "click", /*prev*/ ctx[4]),
|
5786
|
+
listen(div3, "click", /*next*/ ctx[5])
|
5901
5787
|
];
|
5902
5788
|
|
5903
5789
|
mounted = true;
|
@@ -5905,69 +5791,26 @@ function create_fragment$4(ctx) {
|
|
5905
5791
|
},
|
5906
5792
|
p(ctx, dirty) {
|
5907
5793
|
if (default_slot) {
|
5908
|
-
if (default_slot.p && (!current || dirty[0] & /*$$scope*/
|
5794
|
+
if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 1024)) {
|
5909
5795
|
update_slot_base(
|
5910
5796
|
default_slot,
|
5911
5797
|
default_slot_template,
|
5912
5798
|
ctx,
|
5913
|
-
/*$$scope*/ ctx[
|
5799
|
+
/*$$scope*/ ctx[10],
|
5914
5800
|
!current
|
5915
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
5916
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
5801
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[10])
|
5802
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[10], dirty, null),
|
5917
5803
|
null
|
5918
5804
|
);
|
5919
5805
|
}
|
5920
5806
|
}
|
5921
5807
|
|
5922
|
-
if (!current || dirty[0] & /*slideClass*/
|
5808
|
+
if (!current || dirty[0] & /*slideClass*/ 4 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[2]) + " svelte-16jk4x2"))) {
|
5923
5809
|
attr(div0, "class", div0_class_value);
|
5924
5810
|
}
|
5925
5811
|
|
5926
|
-
if (!current || dirty[0] & /*slideStyle*/
|
5927
|
-
attr(div0, "style", /*slideStyle*/ ctx[
|
5928
|
-
}
|
5929
|
-
|
5930
|
-
if (!current || dirty[0] & /*prevIconStyle*/ 512) {
|
5931
|
-
attr(div2, "style", /*prevIconStyle*/ ctx[9]);
|
5932
|
-
}
|
5933
|
-
|
5934
|
-
if (!current || dirty[0] & /*prevButtonContainerStyle*/ 1) {
|
5935
|
-
attr(div3, "style", /*prevButtonContainerStyle*/ ctx[0]);
|
5936
|
-
}
|
5937
|
-
|
5938
|
-
if (!current || dirty[0] & /*nextIconStyle*/ 256) {
|
5939
|
-
attr(div5, "style", /*nextIconStyle*/ ctx[8]);
|
5940
|
-
}
|
5941
|
-
|
5942
|
-
if (!current || dirty[0] & /*nextButtonContainerStyle*/ 2) {
|
5943
|
-
attr(div6, "style", /*nextButtonContainerStyle*/ ctx[1]);
|
5944
|
-
}
|
5945
|
-
|
5946
|
-
if (dirty[0] & /*navigationItemStyle, set, getNavigationItemInnerStyle, items*/ 16584) {
|
5947
|
-
each_value = /*items*/ ctx[3];
|
5948
|
-
let i;
|
5949
|
-
|
5950
|
-
for (i = 0; i < each_value.length; i += 1) {
|
5951
|
-
const child_ctx = get_each_context(ctx, each_value, i);
|
5952
|
-
|
5953
|
-
if (each_blocks[i]) {
|
5954
|
-
each_blocks[i].p(child_ctx, dirty);
|
5955
|
-
} else {
|
5956
|
-
each_blocks[i] = create_each_block(child_ctx);
|
5957
|
-
each_blocks[i].c();
|
5958
|
-
each_blocks[i].m(div8, null);
|
5959
|
-
}
|
5960
|
-
}
|
5961
|
-
|
5962
|
-
for (; i < each_blocks.length; i += 1) {
|
5963
|
-
each_blocks[i].d(1);
|
5964
|
-
}
|
5965
|
-
|
5966
|
-
each_blocks.length = each_value.length;
|
5967
|
-
}
|
5968
|
-
|
5969
|
-
if (!current || dirty[0] & /*navigationStyle*/ 4) {
|
5970
|
-
attr(div8, "style", /*navigationStyle*/ ctx[2]);
|
5812
|
+
if (!current || dirty[0] & /*slideStyle*/ 8) {
|
5813
|
+
attr(div0, "style", /*slideStyle*/ ctx[3]);
|
5971
5814
|
}
|
5972
5815
|
},
|
5973
5816
|
i(local) {
|
@@ -5980,11 +5823,10 @@ function create_fragment$4(ctx) {
|
|
5980
5823
|
current = false;
|
5981
5824
|
},
|
5982
5825
|
d(detaching) {
|
5983
|
-
if (detaching) detach(
|
5826
|
+
if (detaching) detach(div4);
|
5984
5827
|
if (default_slot) default_slot.d(detaching);
|
5985
|
-
/*div0_binding*/ ctx[
|
5986
|
-
/*div1_binding*/ ctx[
|
5987
|
-
destroy_each(each_blocks, detaching);
|
5828
|
+
/*div0_binding*/ ctx[12](null);
|
5829
|
+
/*div1_binding*/ ctx[13](null);
|
5988
5830
|
mounted = false;
|
5989
5831
|
run_all(dispose);
|
5990
5832
|
}
|
@@ -6007,52 +5849,18 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6007
5849
|
let slideStyle;
|
6008
5850
|
let slideClass;
|
6009
5851
|
let _loop;
|
6010
|
-
let prevIconStyle;
|
6011
|
-
let nextIconStyle;
|
6012
|
-
let navigationItemStyle;
|
6013
|
-
let getNavigationItemInnerStyle;
|
6014
5852
|
let { $$slots: slots = {}, $$scope } = $$props;
|
6015
|
-
let { loop = false } = $$props;
|
6016
|
-
|
6017
|
-
let { prevButton = {
|
6018
|
-
type: 'icon',
|
6019
|
-
icon: 'chevron-left',
|
6020
|
-
color: '#666',
|
6021
|
-
fill: '#666',
|
6022
|
-
size: '20px'
|
6023
|
-
} } = $$props;
|
6024
|
-
|
6025
|
-
let { prevButtonContainerStyle = 'height: 48px; width: 24px; margin: 0 0 0 8px;' } = $$props;
|
6026
|
-
|
6027
|
-
let { nextButton = {
|
6028
|
-
type: 'icon',
|
6029
|
-
icon: 'chevron-right',
|
6030
|
-
color: '#666',
|
6031
|
-
fill: '#666',
|
6032
|
-
size: '20px'
|
6033
|
-
} } = $$props;
|
6034
|
-
|
6035
|
-
let { nextButtonContainerStyle = 'height: 48px; width: 24px; margin: 0 8px 0 0;' } = $$props;
|
6036
|
-
|
6037
|
-
let { navigationButton = {
|
6038
|
-
type: 'circle',
|
6039
|
-
size: '8px',
|
6040
|
-
color: '#ddd',
|
6041
|
-
colorActive: '#666'
|
6042
|
-
} } = $$props;
|
6043
|
-
|
6044
|
-
let { navigationStyle = 'margin: 0 0 8px 0' } = $$props;
|
6045
5853
|
let items = [];
|
6046
5854
|
const dispatch = createEventDispatcher();
|
6047
5855
|
|
6048
5856
|
setContext('SLIDE', {
|
6049
5857
|
registerItem: ({ onBeforeSlide, onMount, onResize }) => {
|
6050
5858
|
const id = new Date().getTime().toString();
|
6051
|
-
$$invalidate(
|
5859
|
+
$$invalidate(7, items = [...items, { id, onBeforeSlide, onMount, onResize }]);
|
6052
5860
|
return id;
|
6053
5861
|
},
|
6054
5862
|
unregisterItem: id => {
|
6055
|
-
$$invalidate(
|
5863
|
+
$$invalidate(7, items = items.filter(item => item.id !== id));
|
6056
5864
|
}
|
6057
5865
|
});
|
6058
5866
|
|
@@ -6079,7 +5887,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6079
5887
|
onBeforeSlide({ shiftCount, index, length: items.length });
|
6080
5888
|
});
|
6081
5889
|
|
6082
|
-
$$invalidate(
|
5890
|
+
$$invalidate(8, slidePosition = slidePosition + containerWidth * (calcPositionIndex(shiftCount, currentSlideId, items.length) - calcPositionIndex(previousShiftCount, currentSlideId, items.length)));
|
6083
5891
|
previousShiftCount = shiftCount;
|
6084
5892
|
resolve();
|
6085
5893
|
});
|
@@ -6090,8 +5898,8 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6090
5898
|
if (transitioning) {
|
6091
5899
|
const slideRect = slideElement.getBoundingClientRect();
|
6092
5900
|
const containerRect = containerElement.getBoundingClientRect();
|
6093
|
-
$$invalidate(
|
6094
|
-
$$invalidate(
|
5901
|
+
$$invalidate(9, transitioning = false);
|
5902
|
+
$$invalidate(8, slidePosition = slideRect.x - containerRect.x);
|
6095
5903
|
}
|
6096
5904
|
}
|
6097
5905
|
|
@@ -6111,10 +5919,10 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6111
5919
|
}
|
6112
5920
|
}
|
6113
5921
|
|
6114
|
-
$$invalidate(
|
6115
|
-
$$invalidate(
|
5922
|
+
$$invalidate(9, transitioning = true);
|
5923
|
+
$$invalidate(8, slidePosition = containerWidth * calcPositionIndex(shiftCount, slideIndex, items.length));
|
6116
5924
|
dispatch('change', { nextIndex: slideIndex });
|
6117
|
-
|
5925
|
+
currentSlideId = slideIndex;
|
6118
5926
|
});
|
6119
5927
|
}
|
6120
5928
|
|
@@ -6136,7 +5944,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6136
5944
|
const updatedSlidePosition = slidePosition + dx;
|
6137
5945
|
|
6138
5946
|
window.requestAnimationFrame(() => {
|
6139
|
-
$$invalidate(
|
5947
|
+
$$invalidate(8, slidePosition = updatedSlidePosition);
|
6140
5948
|
});
|
6141
5949
|
}
|
6142
5950
|
|
@@ -6144,7 +5952,6 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6144
5952
|
}
|
6145
5953
|
|
6146
5954
|
function handleResize() {
|
6147
|
-
if (!containerElement) return;
|
6148
5955
|
containerWidth = containerElement.clientWidth;
|
6149
5956
|
|
6150
5957
|
items.forEach((item, index) => {
|
@@ -6156,7 +5963,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6156
5963
|
});
|
6157
5964
|
});
|
6158
5965
|
|
6159
|
-
$$invalidate(
|
5966
|
+
$$invalidate(8, slidePosition = containerWidth * calcPositionIndex(shiftCount, currentSlideId, items.length));
|
6160
5967
|
}
|
6161
5968
|
|
6162
5969
|
function handleMoveEnd() {
|
@@ -6209,7 +6016,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6209
6016
|
}
|
6210
6017
|
|
6211
6018
|
function handleTransitionEnd() {
|
6212
|
-
$$invalidate(
|
6019
|
+
$$invalidate(9, transitioning = false);
|
6213
6020
|
fixSlidePosition();
|
6214
6021
|
}
|
6215
6022
|
|
@@ -6220,7 +6027,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6220
6027
|
item.onMount({ containerElement });
|
6221
6028
|
});
|
6222
6029
|
|
6223
|
-
|
6030
|
+
currentSlideId = 0;
|
6224
6031
|
|
6225
6032
|
if (_loop) {
|
6226
6033
|
await fixSlidePosition();
|
@@ -6269,200 +6076,112 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6269
6076
|
setIndex(currentSlideId + 1);
|
6270
6077
|
}
|
6271
6078
|
|
6272
|
-
|
6273
|
-
await fixSlidePosition();
|
6274
|
-
setIndex(index);
|
6275
|
-
}
|
6079
|
+
let { loop = false } = $$props;
|
6276
6080
|
|
6277
6081
|
function div0_binding($$value) {
|
6278
6082
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
6279
6083
|
slideElement = $$value;
|
6280
|
-
$$invalidate(
|
6084
|
+
$$invalidate(1, slideElement);
|
6281
6085
|
});
|
6282
6086
|
}
|
6283
6087
|
|
6284
6088
|
function div1_binding($$value) {
|
6285
6089
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
6286
6090
|
containerElement = $$value;
|
6287
|
-
$$invalidate(
|
6091
|
+
$$invalidate(0, containerElement);
|
6288
6092
|
});
|
6289
6093
|
}
|
6290
6094
|
|
6291
|
-
const click_handler = i => set(i);
|
6292
|
-
|
6293
6095
|
$$self.$$set = $$props => {
|
6294
|
-
if ('loop' in $$props) $$invalidate(
|
6295
|
-
if ('
|
6296
|
-
if ('prevButtonContainerStyle' in $$props) $$invalidate(0, prevButtonContainerStyle = $$props.prevButtonContainerStyle);
|
6297
|
-
if ('nextButton' in $$props) $$invalidate(17, nextButton = $$props.nextButton);
|
6298
|
-
if ('nextButtonContainerStyle' in $$props) $$invalidate(1, nextButtonContainerStyle = $$props.nextButtonContainerStyle);
|
6299
|
-
if ('navigationButton' in $$props) $$invalidate(18, navigationButton = $$props.navigationButton);
|
6300
|
-
if ('navigationStyle' in $$props) $$invalidate(2, navigationStyle = $$props.navigationStyle);
|
6301
|
-
if ('$$scope' in $$props) $$invalidate(22, $$scope = $$props.$$scope);
|
6096
|
+
if ('loop' in $$props) $$invalidate(6, loop = $$props.loop);
|
6097
|
+
if ('$$scope' in $$props) $$invalidate(10, $$scope = $$props.$$scope);
|
6302
6098
|
};
|
6303
6099
|
|
6304
6100
|
$$self.$$.update = () => {
|
6305
|
-
if ($$self.$$.dirty[0] & /*slidePosition*/
|
6306
|
-
$$invalidate(
|
6101
|
+
if ($$self.$$.dirty[0] & /*slidePosition*/ 256) {
|
6102
|
+
$$invalidate(3, slideStyle = slidePosition != null ? `left: ${slidePosition}px;` : '');
|
6307
6103
|
}
|
6308
6104
|
|
6309
|
-
if ($$self.$$.dirty[0] & /*transitioning*/
|
6310
|
-
$$invalidate(
|
6105
|
+
if ($$self.$$.dirty[0] & /*transitioning*/ 512) {
|
6106
|
+
$$invalidate(2, slideClass = ['slide', transitioning ? 'transition' : ''].join(' '));
|
6311
6107
|
}
|
6312
6108
|
|
6313
|
-
if ($$self.$$.dirty[0] & /*items, loop*/
|
6109
|
+
if ($$self.$$.dirty[0] & /*items, loop*/ 192) {
|
6314
6110
|
_loop = items.length >= 3 ? loop : false;
|
6315
6111
|
}
|
6316
|
-
|
6317
|
-
if ($$self.$$.dirty[0] & /*prevButton*/ 65536) {
|
6318
|
-
$$invalidate(9, prevIconStyle = prevButton.type === 'icon'
|
6319
|
-
? `width: ${prevButton.size}; height: ${prevButton.size}; border-color: ${prevButton.color};`
|
6320
|
-
: '');
|
6321
|
-
}
|
6322
|
-
|
6323
|
-
if ($$self.$$.dirty[0] & /*nextButton*/ 131072) {
|
6324
|
-
$$invalidate(8, nextIconStyle = nextButton.type === 'icon'
|
6325
|
-
? `width: ${nextButton.size}; height: ${nextButton.size}; border-color: ${nextButton.color};`
|
6326
|
-
: '');
|
6327
|
-
}
|
6328
|
-
|
6329
|
-
if ($$self.$$.dirty[0] & /*navigationButton*/ 262144) {
|
6330
|
-
$$invalidate(7, navigationItemStyle = `padding: calc(${navigationButton.size} / 2);`);
|
6331
|
-
}
|
6332
|
-
|
6333
|
-
if ($$self.$$.dirty[0] & /*navigationButton, currentSlideId*/ 786432) {
|
6334
|
-
$$invalidate(6, getNavigationItemInnerStyle = i => `
|
6335
|
-
width: ${navigationButton.size};
|
6336
|
-
height: ${navigationButton.size};
|
6337
|
-
background-color: ${i === currentSlideId
|
6338
|
-
? navigationButton.colorActive
|
6339
|
-
: navigationButton.color};`);
|
6340
|
-
}
|
6341
6112
|
};
|
6342
6113
|
|
6343
6114
|
return [
|
6344
|
-
prevButtonContainerStyle,
|
6345
|
-
nextButtonContainerStyle,
|
6346
|
-
navigationStyle,
|
6347
|
-
items,
|
6348
6115
|
containerElement,
|
6349
6116
|
slideElement,
|
6350
|
-
getNavigationItemInnerStyle,
|
6351
|
-
navigationItemStyle,
|
6352
|
-
nextIconStyle,
|
6353
|
-
prevIconStyle,
|
6354
6117
|
slideClass,
|
6355
6118
|
slideStyle,
|
6356
6119
|
prev,
|
6357
6120
|
next,
|
6358
|
-
set,
|
6359
6121
|
loop,
|
6360
|
-
|
6361
|
-
nextButton,
|
6362
|
-
navigationButton,
|
6363
|
-
currentSlideId,
|
6122
|
+
items,
|
6364
6123
|
slidePosition,
|
6365
6124
|
transitioning,
|
6366
6125
|
$$scope,
|
6367
6126
|
slots,
|
6368
6127
|
div0_binding,
|
6369
|
-
div1_binding
|
6370
|
-
click_handler
|
6128
|
+
div1_binding
|
6371
6129
|
];
|
6372
6130
|
}
|
6373
6131
|
|
6374
6132
|
class Slider extends SvelteComponent {
|
6375
6133
|
constructor(options) {
|
6376
6134
|
super();
|
6377
|
-
|
6378
|
-
init(
|
6379
|
-
this,
|
6380
|
-
options,
|
6381
|
-
instance$4,
|
6382
|
-
create_fragment$4,
|
6383
|
-
safe_not_equal,
|
6384
|
-
{
|
6385
|
-
loop: 15,
|
6386
|
-
prevButton: 16,
|
6387
|
-
prevButtonContainerStyle: 0,
|
6388
|
-
nextButton: 17,
|
6389
|
-
nextButtonContainerStyle: 1,
|
6390
|
-
navigationButton: 18,
|
6391
|
-
navigationStyle: 2
|
6392
|
-
},
|
6393
|
-
add_css$4,
|
6394
|
-
[-1, -1]
|
6395
|
-
);
|
6135
|
+
init(this, options, instance$4, create_fragment$4, safe_not_equal, { loop: 6 }, add_css$4, [-1, -1]);
|
6396
6136
|
}
|
6397
6137
|
}
|
6398
6138
|
|
6399
6139
|
/* src/components/SliderItem.svelte generated by Svelte v3.53.1 */
|
6400
6140
|
|
6401
6141
|
function add_css$3(target) {
|
6402
|
-
append_styles(target, "svelte-
|
6142
|
+
append_styles(target, "svelte-1c77iik", ".item.svelte-1c77iik{height:100%;flex:none}.item.svelte-1c77iik img{user-select:none;-webkit-user-drag:none}");
|
6403
6143
|
}
|
6404
6144
|
|
6405
6145
|
function create_fragment$3(ctx) {
|
6406
|
-
let
|
6407
|
-
let div0;
|
6146
|
+
let div;
|
6408
6147
|
let current;
|
6409
|
-
|
6410
|
-
|
6411
|
-
const default_slot_template = /*#slots*/ ctx[8].default;
|
6412
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[7], null);
|
6148
|
+
const default_slot_template = /*#slots*/ ctx[4].default;
|
6149
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[3], null);
|
6413
6150
|
|
6414
6151
|
return {
|
6415
6152
|
c() {
|
6416
|
-
|
6417
|
-
div0 = element("div");
|
6153
|
+
div = element("div");
|
6418
6154
|
if (default_slot) default_slot.c();
|
6419
|
-
attr(
|
6420
|
-
attr(
|
6421
|
-
attr(div1, "class", "item svelte-xzo1un");
|
6422
|
-
attr(div1, "style", /*itemStyle*/ ctx[1]);
|
6155
|
+
attr(div, "class", "item svelte-1c77iik");
|
6156
|
+
attr(div, "style", /*itemStyle*/ ctx[0]);
|
6423
6157
|
},
|
6424
6158
|
m(target, anchor) {
|
6425
|
-
insert(target,
|
6426
|
-
append(div1, div0);
|
6159
|
+
insert(target, div, anchor);
|
6427
6160
|
|
6428
6161
|
if (default_slot) {
|
6429
|
-
default_slot.m(
|
6162
|
+
default_slot.m(div, null);
|
6430
6163
|
}
|
6431
6164
|
|
6432
6165
|
current = true;
|
6433
|
-
|
6434
|
-
if (!mounted) {
|
6435
|
-
dispose = listen(div1, "click", function () {
|
6436
|
-
if (is_function(/*click*/ ctx[2])) /*click*/ ctx[2].apply(this, arguments);
|
6437
|
-
});
|
6438
|
-
|
6439
|
-
mounted = true;
|
6440
|
-
}
|
6441
6166
|
},
|
6442
|
-
p(
|
6443
|
-
ctx = new_ctx;
|
6444
|
-
|
6167
|
+
p(ctx, [dirty]) {
|
6445
6168
|
if (default_slot) {
|
6446
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
6169
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 8)) {
|
6447
6170
|
update_slot_base(
|
6448
6171
|
default_slot,
|
6449
6172
|
default_slot_template,
|
6450
6173
|
ctx,
|
6451
|
-
/*$$scope*/ ctx[
|
6174
|
+
/*$$scope*/ ctx[3],
|
6452
6175
|
!current
|
6453
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
6454
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
6176
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[3])
|
6177
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[3], dirty, null),
|
6455
6178
|
null
|
6456
6179
|
);
|
6457
6180
|
}
|
6458
6181
|
}
|
6459
6182
|
|
6460
|
-
if (!current || dirty & /*
|
6461
|
-
attr(
|
6462
|
-
}
|
6463
|
-
|
6464
|
-
if (!current || dirty & /*itemStyle*/ 2) {
|
6465
|
-
attr(div1, "style", /*itemStyle*/ ctx[1]);
|
6183
|
+
if (!current || dirty & /*itemStyle*/ 1) {
|
6184
|
+
attr(div, "style", /*itemStyle*/ ctx[0]);
|
6466
6185
|
}
|
6467
6186
|
},
|
6468
6187
|
i(local) {
|
@@ -6475,27 +6194,24 @@ function create_fragment$3(ctx) {
|
|
6475
6194
|
current = false;
|
6476
6195
|
},
|
6477
6196
|
d(detaching) {
|
6478
|
-
if (detaching) detach(
|
6197
|
+
if (detaching) detach(div);
|
6479
6198
|
if (default_slot) default_slot.d(detaching);
|
6480
|
-
mounted = false;
|
6481
|
-
dispose();
|
6482
6199
|
}
|
6483
6200
|
};
|
6484
6201
|
}
|
6485
6202
|
|
6486
6203
|
function instance$3($$self, $$props, $$invalidate) {
|
6487
|
-
let click;
|
6488
6204
|
let itemStyle;
|
6489
6205
|
let { $$slots: slots = {}, $$scope } = $$props;
|
6490
6206
|
const { registerItem, unregisterItem } = getContext('SLIDE');
|
6491
6207
|
|
6492
6208
|
const id = registerItem({
|
6493
6209
|
onMount({ containerElement }) {
|
6494
|
-
$$invalidate(
|
6210
|
+
$$invalidate(1, itemWidth = containerElement.clientWidth);
|
6495
6211
|
},
|
6496
6212
|
// TODO: onBeforeSlideと重複するロジックをまとめる
|
6497
6213
|
onResize({ containerElement, shiftCount, index, length }) {
|
6498
|
-
$$invalidate(
|
6214
|
+
$$invalidate(1, itemWidth = containerElement.clientWidth);
|
6499
6215
|
let fixedShiftCount;
|
6500
6216
|
|
6501
6217
|
if (index - shiftCount < 0) {
|
@@ -6506,7 +6222,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
6506
6222
|
fixedShiftCount = shiftCount;
|
6507
6223
|
}
|
6508
6224
|
|
6509
|
-
$$invalidate(
|
6225
|
+
$$invalidate(2, itemTransform = -fixedShiftCount * (itemWidth ?? 0));
|
6510
6226
|
},
|
6511
6227
|
onBeforeSlide({ shiftCount, index, length }) {
|
6512
6228
|
let fixedShiftCount;
|
@@ -6519,7 +6235,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
6519
6235
|
fixedShiftCount = shiftCount;
|
6520
6236
|
}
|
6521
6237
|
|
6522
|
-
$$invalidate(
|
6238
|
+
$$invalidate(2, itemTransform = -fixedShiftCount * (itemWidth ?? 0));
|
6523
6239
|
}
|
6524
6240
|
});
|
6525
6241
|
|
@@ -6527,54 +6243,28 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
6527
6243
|
unregisterItem(id);
|
6528
6244
|
});
|
6529
6245
|
|
6530
|
-
let { onClick = { operation: 'none', args: [] } } = $$props;
|
6531
|
-
let { clickEventName = '' } = $$props;
|
6532
|
-
let { _style = 'cursor: ' } = $$props;
|
6533
6246
|
let itemWidth = null;
|
6534
6247
|
let itemTransform = 0;
|
6535
6248
|
|
6536
6249
|
$$self.$$set = $$props => {
|
6537
|
-
if ('
|
6538
|
-
if ('clickEventName' in $$props) $$invalidate(4, clickEventName = $$props.clickEventName);
|
6539
|
-
if ('_style' in $$props) $$invalidate(0, _style = $$props._style);
|
6540
|
-
if ('$$scope' in $$props) $$invalidate(7, $$scope = $$props.$$scope);
|
6250
|
+
if ('$$scope' in $$props) $$invalidate(3, $$scope = $$props.$$scope);
|
6541
6251
|
};
|
6542
6252
|
|
6543
6253
|
$$self.$$.update = () => {
|
6544
|
-
if ($$self.$$.dirty & /*
|
6545
|
-
$$invalidate(
|
6546
|
-
if (clickEventName) {
|
6547
|
-
send_event(clickEventName);
|
6548
|
-
}
|
6549
|
-
|
6550
|
-
execOnClickOperation(onClick);
|
6551
|
-
});
|
6552
|
-
}
|
6553
|
-
|
6554
|
-
if ($$self.$$.dirty & /*itemWidth, itemTransform*/ 96) {
|
6555
|
-
$$invalidate(1, itemStyle = itemWidth != null
|
6254
|
+
if ($$self.$$.dirty & /*itemWidth, itemTransform*/ 6) {
|
6255
|
+
$$invalidate(0, itemStyle = itemWidth != null
|
6556
6256
|
? `width: ${itemWidth}px; transform: translateX(${itemTransform}px);`
|
6557
6257
|
: '');
|
6558
6258
|
}
|
6559
6259
|
};
|
6560
6260
|
|
6561
|
-
return [
|
6562
|
-
_style,
|
6563
|
-
itemStyle,
|
6564
|
-
click,
|
6565
|
-
onClick,
|
6566
|
-
clickEventName,
|
6567
|
-
itemWidth,
|
6568
|
-
itemTransform,
|
6569
|
-
$$scope,
|
6570
|
-
slots
|
6571
|
-
];
|
6261
|
+
return [itemStyle, itemWidth, itemTransform, $$scope, slots];
|
6572
6262
|
}
|
6573
6263
|
|
6574
6264
|
class SliderItem extends SvelteComponent {
|
6575
6265
|
constructor(options) {
|
6576
6266
|
super();
|
6577
|
-
init(this, options, instance$3, create_fragment$3, safe_not_equal, {
|
6267
|
+
init(this, options, instance$3, create_fragment$3, safe_not_equal, {}, add_css$3);
|
6578
6268
|
}
|
6579
6269
|
}
|
6580
6270
|
|
@@ -6919,4 +6609,4 @@ class ImageBlock extends SvelteComponent {
|
|
6919
6609
|
}
|
6920
6610
|
}
|
6921
6611
|
|
6922
|
-
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement,
|
6612
|
+
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormCheckBoxes, FormOperationOptions, FormRadioButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slider, SliderItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, formData, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|