@plaidev/karte-action-sdk 1.1.107 → 1.1.108-27918306.f8f4fc25
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.d.ts +17 -7
- package/dist/hydrate/index.es.js +85 -87
- package/dist/index.es.d.ts +17 -7
- package/dist/index.es.js +85 -87
- package/dist/templates.js +7 -7
- package/package.json +3 -2
package/dist/index.es.js
CHANGED
|
@@ -691,6 +691,7 @@ const PropTypes = [
|
|
|
691
691
|
'Color',
|
|
692
692
|
'Alignment',
|
|
693
693
|
'State',
|
|
694
|
+
'TransitState',
|
|
694
695
|
'Style',
|
|
695
696
|
'ModalPlacement',
|
|
696
697
|
'OnClick',
|
|
@@ -762,7 +763,7 @@ const OnClickOperationOptions = [
|
|
|
762
763
|
operation: 'moveTo',
|
|
763
764
|
args: [
|
|
764
765
|
{
|
|
765
|
-
type: '
|
|
766
|
+
type: 'TransitState',
|
|
766
767
|
default: '/',
|
|
767
768
|
},
|
|
768
769
|
],
|
|
@@ -790,6 +791,7 @@ const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
|
|
|
790
791
|
const Justifies = ['flex-start', 'center', 'flex-end'];
|
|
791
792
|
const Alignments = ['flex-start', 'center', 'flex-end'];
|
|
792
793
|
const ObjectFits = ['fill', 'contain', 'cover'];
|
|
794
|
+
const ClipPaths = ['none', 'circle(closest-side)'];
|
|
793
795
|
const Repeats = ['repeat', 'space', 'round', 'no-repeat'];
|
|
794
796
|
const BackgroundSizes = ['cover', 'contain', 'auto'];
|
|
795
797
|
const Cursors = ['default', 'pointer'];
|
|
@@ -1722,7 +1724,7 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
|
1722
1724
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
|
1723
1725
|
|
|
1724
1726
|
function add_css$k(target) {
|
|
1725
|
-
append_styles(target, "svelte-
|
|
1727
|
+
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
|
1726
1728
|
}
|
|
1727
1729
|
|
|
1728
1730
|
class Normalize extends SvelteComponent {
|
|
@@ -1813,7 +1815,7 @@ class State extends SvelteComponent {
|
|
|
1813
1815
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
|
1814
1816
|
|
|
1815
1817
|
function add_css$j(target) {
|
|
1816
|
-
append_styles(target, "svelte-
|
|
1818
|
+
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
|
1817
1819
|
}
|
|
1818
1820
|
|
|
1819
1821
|
// (11:0) {#if $state === path}
|
|
@@ -1830,7 +1832,7 @@ function create_if_block$3(ctx) {
|
|
|
1830
1832
|
t = space();
|
|
1831
1833
|
if (default_slot) default_slot.c();
|
|
1832
1834
|
attr(div, "data-state-path", /*path*/ ctx[0]);
|
|
1833
|
-
attr(div, "class", "state-item svelte-
|
|
1835
|
+
attr(div, "class", "state-item svelte-2qb6dm");
|
|
1834
1836
|
},
|
|
1835
1837
|
m(target, anchor) {
|
|
1836
1838
|
insert(target, div, anchor);
|
|
@@ -1966,7 +1968,7 @@ class StateItem extends SvelteComponent {
|
|
|
1966
1968
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
|
1967
1969
|
|
|
1968
1970
|
function add_css$i(target) {
|
|
1969
|
-
append_styles(target, "svelte-
|
|
1971
|
+
append_styles(target, "svelte-1d4fta", ".background.svelte-1d4fta{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
|
|
1970
1972
|
}
|
|
1971
1973
|
|
|
1972
1974
|
// (9:0) {#if backgroundOverray}
|
|
@@ -1978,7 +1980,7 @@ function create_if_block$2(ctx) {
|
|
|
1978
1980
|
return {
|
|
1979
1981
|
c() {
|
|
1980
1982
|
div = element("div");
|
|
1981
|
-
attr(div, "class", "background svelte-
|
|
1983
|
+
attr(div, "class", "background svelte-1d4fta");
|
|
1982
1984
|
},
|
|
1983
1985
|
m(target, anchor) {
|
|
1984
1986
|
insert(target, div, anchor);
|
|
@@ -2055,7 +2057,7 @@ class BackgroundOverray extends SvelteComponent {
|
|
|
2055
2057
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
|
2056
2058
|
|
|
2057
2059
|
function add_css$h(target) {
|
|
2058
|
-
append_styles(target, "svelte-
|
|
2060
|
+
append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{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-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
|
|
2059
2061
|
}
|
|
2060
2062
|
|
|
2061
2063
|
// (142:0) {#if visible}
|
|
@@ -2079,9 +2081,9 @@ function create_if_block$1(ctx) {
|
|
|
2079
2081
|
t = space();
|
|
2080
2082
|
div0 = element("div");
|
|
2081
2083
|
if (default_slot) default_slot.c();
|
|
2082
|
-
attr(div0, "class", "modal-content svelte-
|
|
2084
|
+
attr(div0, "class", "modal-content svelte-12dkw0q");
|
|
2083
2085
|
attr(div0, "style", /*_style*/ ctx[1]);
|
|
2084
|
-
attr(div1, "class", "modal svelte-
|
|
2086
|
+
attr(div1, "class", "modal svelte-12dkw0q");
|
|
2085
2087
|
attr(div1, "role", "dialog");
|
|
2086
2088
|
attr(div1, "aria-modal", "true");
|
|
2087
2089
|
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[11]] + "");
|
|
@@ -2200,7 +2202,7 @@ function create_if_block_1(ctx) {
|
|
|
2200
2202
|
attr(svg, "viewBox", "0 0 9 10");
|
|
2201
2203
|
attr(svg, "fill", "none");
|
|
2202
2204
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
2203
|
-
attr(button, "class", "close svelte-
|
|
2205
|
+
attr(button, "class", "close svelte-12dkw0q");
|
|
2204
2206
|
attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[16] + 1) + "; " + /*_closeStyle*/ ctx[3] + "");
|
|
2205
2207
|
},
|
|
2206
2208
|
m(target, anchor) {
|
|
@@ -2967,7 +2969,7 @@ class GridModalState extends SvelteComponent {
|
|
|
2967
2969
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
|
2968
2970
|
|
|
2969
2971
|
function add_css$g(target) {
|
|
2970
|
-
append_styles(target, "svelte-
|
|
2972
|
+
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
|
2971
2973
|
}
|
|
2972
2974
|
|
|
2973
2975
|
function create_fragment$i(ctx) {
|
|
@@ -2982,8 +2984,8 @@ function create_fragment$i(ctx) {
|
|
|
2982
2984
|
div1 = element("div");
|
|
2983
2985
|
div0 = element("div");
|
|
2984
2986
|
if (default_slot) default_slot.c();
|
|
2985
|
-
attr(div0, "class", "grid-item-inner svelte-
|
|
2986
|
-
attr(div1, "class", "grid-item svelte-
|
|
2987
|
+
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
|
2988
|
+
attr(div1, "class", "grid-item svelte-n7kdl3");
|
|
2987
2989
|
attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[1]);
|
|
2988
2990
|
attr(div1, "style", /*_style*/ ctx[0]);
|
|
2989
2991
|
},
|
|
@@ -3105,7 +3107,7 @@ class GridItem extends SvelteComponent {
|
|
|
3105
3107
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
|
3106
3108
|
|
|
3107
3109
|
function add_css$f(target) {
|
|
3108
|
-
append_styles(target, "svelte-
|
|
3110
|
+
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
|
3109
3111
|
}
|
|
3110
3112
|
|
|
3111
3113
|
function create_fragment$h(ctx) {
|
|
@@ -3119,7 +3121,7 @@ function create_fragment$h(ctx) {
|
|
|
3119
3121
|
c() {
|
|
3120
3122
|
div = element("div");
|
|
3121
3123
|
if (default_slot) default_slot.c();
|
|
3122
|
-
attr(div, "class", "flex svelte-
|
|
3124
|
+
attr(div, "class", "flex svelte-1e71ejc");
|
|
3123
3125
|
attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
|
|
3124
3126
|
},
|
|
3125
3127
|
m(target, anchor) {
|
|
@@ -3216,7 +3218,7 @@ class Flex extends SvelteComponent {
|
|
|
3216
3218
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
|
3217
3219
|
|
|
3218
3220
|
function add_css$e(target) {
|
|
3219
|
-
append_styles(target, "svelte-
|
|
3221
|
+
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
|
3220
3222
|
}
|
|
3221
3223
|
|
|
3222
3224
|
function create_fragment$g(ctx) {
|
|
@@ -3229,7 +3231,7 @@ function create_fragment$g(ctx) {
|
|
|
3229
3231
|
c() {
|
|
3230
3232
|
div = element("div");
|
|
3231
3233
|
if (default_slot) default_slot.c();
|
|
3232
|
-
attr(div, "class", "flex-item svelte-
|
|
3234
|
+
attr(div, "class", "flex-item svelte-1p0bk1x");
|
|
3233
3235
|
attr(div, "style", /*style*/ ctx[0]);
|
|
3234
3236
|
},
|
|
3235
3237
|
m(target, anchor) {
|
|
@@ -3501,7 +3503,7 @@ class RenderText extends SvelteComponent {
|
|
|
3501
3503
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
|
3502
3504
|
|
|
3503
3505
|
function add_css$d(target) {
|
|
3504
|
-
append_styles(target, "svelte-
|
|
3506
|
+
append_styles(target, "svelte-9en2jg", ".text-element.svelte-9en2jg.svelte-9en2jg{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-element-inner.svelte-9en2jg.svelte-9en2jg{width:100%;height:auto}.text-direction-vertical.svelte-9en2jg.svelte-9en2jg{writing-mode:vertical-rl}.text-direction-vertical.svelte-9en2jg .text-element-inner.svelte-9en2jg{width:auto;height:100%}");
|
|
3505
3507
|
}
|
|
3506
3508
|
|
|
3507
3509
|
function create_fragment$e(ctx) {
|
|
@@ -3517,8 +3519,8 @@ function create_fragment$e(ctx) {
|
|
|
3517
3519
|
div1 = element("div");
|
|
3518
3520
|
div0 = element("div");
|
|
3519
3521
|
create_component(rendertext.$$.fragment);
|
|
3520
|
-
attr(div0, "class", "text-element-inner svelte-
|
|
3521
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
|
3522
|
+
attr(div0, "class", "text-element-inner svelte-9en2jg");
|
|
3523
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9en2jg"));
|
|
3522
3524
|
attr(div1, "style", /*style*/ ctx[2]);
|
|
3523
3525
|
},
|
|
3524
3526
|
m(target, anchor) {
|
|
@@ -3532,7 +3534,7 @@ function create_fragment$e(ctx) {
|
|
|
3532
3534
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
|
3533
3535
|
rendertext.$set(rendertext_changes);
|
|
3534
3536
|
|
|
3535
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
|
3537
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9en2jg"))) {
|
|
3536
3538
|
attr(div1, "class", div1_class_value);
|
|
3537
3539
|
}
|
|
3538
3540
|
|
|
@@ -3603,7 +3605,7 @@ class TextElement extends SvelteComponent {
|
|
|
3603
3605
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
|
3604
3606
|
|
|
3605
3607
|
function add_css$c(target) {
|
|
3606
|
-
append_styles(target, "svelte-
|
|
3608
|
+
append_styles(target, "svelte-tx5xf5", ".text-button-element.svelte-tx5xf5{width:100%;height:100%}.text-button.svelte-tx5xf5{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden}.text-button.svelte-tx5xf5:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-tx5xf5:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
|
3607
3609
|
}
|
|
3608
3610
|
|
|
3609
3611
|
function create_fragment$d(ctx) {
|
|
@@ -3620,9 +3622,9 @@ function create_fragment$d(ctx) {
|
|
|
3620
3622
|
div = element("div");
|
|
3621
3623
|
button = element("button");
|
|
3622
3624
|
create_component(rendertext.$$.fragment);
|
|
3623
|
-
attr(button, "class", "text-button svelte-
|
|
3625
|
+
attr(button, "class", "text-button svelte-tx5xf5");
|
|
3624
3626
|
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
|
3625
|
-
attr(div, "class", "text-button-element svelte-
|
|
3627
|
+
attr(div, "class", "text-button-element svelte-tx5xf5");
|
|
3626
3628
|
attr(div, "style", /*_style*/ ctx[2]);
|
|
3627
3629
|
},
|
|
3628
3630
|
m(target, anchor) {
|
|
@@ -3719,7 +3721,7 @@ class TextButtonElement extends SvelteComponent {
|
|
|
3719
3721
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
|
3720
3722
|
|
|
3721
3723
|
function add_css$b(target) {
|
|
3722
|
-
append_styles(target, "svelte-
|
|
3724
|
+
append_styles(target, "svelte-t8kpqw", ".image-element.svelte-t8kpqw{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.image.svelte-t8kpqw{width:100%;height:100%}.transport.svelte-t8kpqw:hover,.transport.svelte-t8kpqw:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
|
3723
3725
|
}
|
|
3724
3726
|
|
|
3725
3727
|
function create_fragment$c(ctx) {
|
|
@@ -3734,14 +3736,14 @@ function create_fragment$c(ctx) {
|
|
|
3734
3736
|
c() {
|
|
3735
3737
|
div = element("div");
|
|
3736
3738
|
img = element("img");
|
|
3737
|
-
attr(img, "class", "image svelte-
|
|
3739
|
+
attr(img, "class", "image svelte-t8kpqw");
|
|
3738
3740
|
attr(img, "loading", "lazy");
|
|
3739
3741
|
attr(img, "width", "auto");
|
|
3740
3742
|
attr(img, "height", "auto");
|
|
3741
3743
|
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
|
3742
3744
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
|
3743
3745
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
3744
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
|
3746
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"));
|
|
3745
3747
|
attr(div, "style", /*_style*/ ctx[4]);
|
|
3746
3748
|
},
|
|
3747
3749
|
m(target, anchor) {
|
|
@@ -3766,7 +3768,7 @@ function create_fragment$c(ctx) {
|
|
|
3766
3768
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
3767
3769
|
}
|
|
3768
3770
|
|
|
3769
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
|
3771
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"))) {
|
|
3770
3772
|
attr(div, "class", div_class_value);
|
|
3771
3773
|
}
|
|
3772
3774
|
|
|
@@ -3842,7 +3844,7 @@ class ImageElement extends SvelteComponent {
|
|
|
3842
3844
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
|
3843
3845
|
|
|
3844
3846
|
function add_css$a(target) {
|
|
3845
|
-
append_styles(target, "svelte-
|
|
3847
|
+
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
|
3846
3848
|
}
|
|
3847
3849
|
|
|
3848
3850
|
function create_fragment$b(ctx) {
|
|
@@ -3855,7 +3857,7 @@ function create_fragment$b(ctx) {
|
|
|
3855
3857
|
c() {
|
|
3856
3858
|
div = element("div");
|
|
3857
3859
|
if (default_slot) default_slot.c();
|
|
3858
|
-
attr(div, "class", "list svelte-
|
|
3860
|
+
attr(div, "class", "list svelte-dfqtyx");
|
|
3859
3861
|
attr(div, "style", /*style*/ ctx[0]);
|
|
3860
3862
|
},
|
|
3861
3863
|
m(target, anchor) {
|
|
@@ -3989,7 +3991,7 @@ class List extends SvelteComponent {
|
|
|
3989
3991
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
|
3990
3992
|
|
|
3991
3993
|
function add_css$9(target) {
|
|
3992
|
-
append_styles(target, "svelte-
|
|
3994
|
+
append_styles(target, "svelte-h5j4xe", ".list-item.svelte-h5j4xe{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item-inner.svelte-h5j4xe{position:absolute;inset:0}");
|
|
3993
3995
|
}
|
|
3994
3996
|
|
|
3995
3997
|
function create_fragment$a(ctx) {
|
|
@@ -4006,9 +4008,9 @@ function create_fragment$a(ctx) {
|
|
|
4006
4008
|
div1 = element("div");
|
|
4007
4009
|
div0 = element("div");
|
|
4008
4010
|
if (default_slot) default_slot.c();
|
|
4009
|
-
attr(div0, "class", "list-item-inner svelte-
|
|
4011
|
+
attr(div0, "class", "list-item-inner svelte-h5j4xe");
|
|
4010
4012
|
attr(div0, "style", /*_style*/ ctx[0]);
|
|
4011
|
-
attr(div1, "class", "list-item svelte-
|
|
4013
|
+
attr(div1, "class", "list-item svelte-h5j4xe");
|
|
4012
4014
|
attr(div1, "style", /*listItemStyle*/ ctx[1]);
|
|
4013
4015
|
},
|
|
4014
4016
|
m(target, anchor) {
|
|
@@ -4170,7 +4172,7 @@ class ListItem extends SvelteComponent {
|
|
|
4170
4172
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
|
4171
4173
|
|
|
4172
4174
|
function add_css$8(target) {
|
|
4173
|
-
append_styles(target, "svelte-
|
|
4175
|
+
append_styles(target, "svelte-k86zna", ".embed.svelte-k86zna{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-k86zna iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
|
4174
4176
|
}
|
|
4175
4177
|
|
|
4176
4178
|
function create_fragment$9(ctx) {
|
|
@@ -4179,7 +4181,7 @@ function create_fragment$9(ctx) {
|
|
|
4179
4181
|
return {
|
|
4180
4182
|
c() {
|
|
4181
4183
|
div = element("div");
|
|
4182
|
-
attr(div, "class", "embed svelte-
|
|
4184
|
+
attr(div, "class", "embed svelte-k86zna");
|
|
4183
4185
|
attr(div, "style", /*_style*/ ctx[1]);
|
|
4184
4186
|
},
|
|
4185
4187
|
m(target, anchor) {
|
|
@@ -4222,7 +4224,7 @@ class EmbedElement extends SvelteComponent {
|
|
|
4222
4224
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
|
4223
4225
|
|
|
4224
4226
|
function add_css$7(target) {
|
|
4225
|
-
append_styles(target, "svelte-
|
|
4227
|
+
append_styles(target, "svelte-k86zna", ".embed.svelte-k86zna{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-k86zna iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
|
4226
4228
|
}
|
|
4227
4229
|
|
|
4228
4230
|
function create_fragment$8(ctx) {
|
|
@@ -4234,7 +4236,7 @@ function create_fragment$8(ctx) {
|
|
|
4234
4236
|
div1 = element("div");
|
|
4235
4237
|
div0 = element("div");
|
|
4236
4238
|
attr(div0, "class", "karte-player");
|
|
4237
|
-
attr(div1, "class", "embed svelte-
|
|
4239
|
+
attr(div1, "class", "embed svelte-k86zna");
|
|
4238
4240
|
attr(div1, "style", /*_style*/ ctx[0]);
|
|
4239
4241
|
},
|
|
4240
4242
|
m(target, anchor) {
|
|
@@ -4269,7 +4271,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
4269
4271
|
// @ts-ignore
|
|
4270
4272
|
if (!window.YT) {
|
|
4271
4273
|
const tag = document.createElement("script");
|
|
4272
|
-
tag.src = "
|
|
4274
|
+
tag.src = "https://www.youtube.com/iframe_api";
|
|
4273
4275
|
const firstScriptTag = document.getElementsByTagName("script")[0];
|
|
4274
4276
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
|
4275
4277
|
}
|
|
@@ -4381,14 +4383,6 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
4381
4383
|
});
|
|
4382
4384
|
}
|
|
4383
4385
|
|
|
4384
|
-
onDestroy$1(() => {
|
|
4385
|
-
if (player) {
|
|
4386
|
-
player.stopVideo();
|
|
4387
|
-
}
|
|
4388
|
-
|
|
4389
|
-
player.destroy();
|
|
4390
|
-
});
|
|
4391
|
-
|
|
4392
4386
|
onMount(() => {
|
|
4393
4387
|
setTimeout(
|
|
4394
4388
|
() => {
|
|
@@ -4401,6 +4395,13 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
4401
4395
|
);
|
|
4402
4396
|
});
|
|
4403
4397
|
|
|
4398
|
+
onDestroy$1(() => {
|
|
4399
|
+
if (player) {
|
|
4400
|
+
player.stopVideo();
|
|
4401
|
+
player.destroy();
|
|
4402
|
+
}
|
|
4403
|
+
});
|
|
4404
|
+
|
|
4404
4405
|
// @ts-ignore
|
|
4405
4406
|
window.onYouTubeIframeAPIReady = () => {
|
|
4406
4407
|
createPlayer();
|
|
@@ -4455,7 +4456,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
|
4455
4456
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
|
4456
4457
|
|
|
4457
4458
|
function add_css$6(target) {
|
|
4458
|
-
append_styles(target, "svelte-
|
|
4459
|
+
append_styles(target, "svelte-5l33p2", ".embed.svelte-5l33p2{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-5l33p2 iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
|
4459
4460
|
}
|
|
4460
4461
|
|
|
4461
4462
|
function create_fragment$7(ctx) {
|
|
@@ -4467,7 +4468,7 @@ function create_fragment$7(ctx) {
|
|
|
4467
4468
|
div1 = element("div");
|
|
4468
4469
|
div0 = element("div");
|
|
4469
4470
|
attr(div0, "class", "karte-player");
|
|
4470
|
-
attr(div1, "class", "embed svelte-
|
|
4471
|
+
attr(div1, "class", "embed svelte-5l33p2");
|
|
4471
4472
|
attr(div1, "style", /*_style*/ ctx[0]);
|
|
4472
4473
|
},
|
|
4473
4474
|
m(target, anchor) {
|
|
@@ -4497,13 +4498,13 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4497
4498
|
let { autoplay = false } = $$props;
|
|
4498
4499
|
let { loop = false } = $$props;
|
|
4499
4500
|
let { mute = false } = $$props;
|
|
4500
|
-
let { _style =
|
|
4501
|
+
let { _style = '' } = $$props;
|
|
4501
4502
|
|
|
4502
4503
|
// @ts-ignore
|
|
4503
4504
|
if (!window.Vimeo) {
|
|
4504
|
-
const tag = document.createElement(
|
|
4505
|
-
tag.src =
|
|
4506
|
-
const firstScriptTag = document.getElementsByTagName(
|
|
4505
|
+
const tag = document.createElement('script');
|
|
4506
|
+
tag.src = 'https://player.vimeo.com/api/player.js';
|
|
4507
|
+
const firstScriptTag = document.getElementsByTagName('script')[0];
|
|
4507
4508
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
|
4508
4509
|
}
|
|
4509
4510
|
|
|
@@ -4536,7 +4537,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4536
4537
|
const playSeconds = Math.round((currentDate - startDate) / 1000);
|
|
4537
4538
|
totalPlaySeconds += playSeconds;
|
|
4538
4539
|
|
|
4539
|
-
sendMovieEvent(
|
|
4540
|
+
sendMovieEvent('_movie_playtime', {
|
|
4540
4541
|
seconds: playSeconds,
|
|
4541
4542
|
total_seconds: totalPlaySeconds
|
|
4542
4543
|
});
|
|
@@ -4553,7 +4554,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4553
4554
|
|
|
4554
4555
|
if (!alreadyPlay) {
|
|
4555
4556
|
alreadyPlay = true;
|
|
4556
|
-
sendMovieEvent(
|
|
4557
|
+
sendMovieEvent('_movie_play');
|
|
4557
4558
|
}
|
|
4558
4559
|
}
|
|
4559
4560
|
|
|
@@ -4563,7 +4564,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4563
4564
|
}
|
|
4564
4565
|
|
|
4565
4566
|
function onFinish() {
|
|
4566
|
-
sendMovieEvent(
|
|
4567
|
+
sendMovieEvent('_movie_finish');
|
|
4567
4568
|
sendPlaytime();
|
|
4568
4569
|
startDate = null;
|
|
4569
4570
|
}
|
|
@@ -4574,30 +4575,21 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4574
4575
|
}
|
|
4575
4576
|
|
|
4576
4577
|
const playerOptions = { id: videoId, autoplay, loop };
|
|
4577
|
-
console.log("createPlayer1");
|
|
4578
4578
|
|
|
4579
4579
|
// @ts-ignore
|
|
4580
4580
|
player = new window.Vimeo.Player(domRef, playerOptions);
|
|
4581
4581
|
|
|
4582
|
-
|
|
4583
|
-
player.on(
|
|
4584
|
-
player.on(
|
|
4585
|
-
player.on("ended", onFinish);
|
|
4582
|
+
player.on('play', onStart);
|
|
4583
|
+
player.on('pause', onPause);
|
|
4584
|
+
player.on('ended', onFinish);
|
|
4586
4585
|
onPlayerReady();
|
|
4587
4586
|
}
|
|
4588
4587
|
|
|
4589
|
-
onDestroy$1(() => {
|
|
4590
|
-
player.destroy();
|
|
4591
|
-
});
|
|
4592
|
-
|
|
4593
4588
|
onMount(() => {
|
|
4594
|
-
console.log("onMount1");
|
|
4595
|
-
|
|
4596
4589
|
setTimeout(
|
|
4597
4590
|
() => {
|
|
4598
4591
|
// @ts-ignore
|
|
4599
4592
|
if (window.Vimeo) {
|
|
4600
|
-
console.log("onMount2");
|
|
4601
4593
|
createPlayer();
|
|
4602
4594
|
}
|
|
4603
4595
|
},
|
|
@@ -4605,7 +4597,13 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
4605
4597
|
);
|
|
4606
4598
|
});
|
|
4607
4599
|
|
|
4608
|
-
|
|
4600
|
+
onDestroy$1(() => {
|
|
4601
|
+
if (player) {
|
|
4602
|
+
player.destroy();
|
|
4603
|
+
}
|
|
4604
|
+
});
|
|
4605
|
+
|
|
4606
|
+
window.addEventListener('beforeunload', () => {
|
|
4609
4607
|
sendPlaytime();
|
|
4610
4608
|
});
|
|
4611
4609
|
|
|
@@ -4654,7 +4652,7 @@ class MovieVimeoElement extends SvelteComponent {
|
|
|
4654
4652
|
/* src/components/Form.svelte generated by Svelte v3.53.1 */
|
|
4655
4653
|
|
|
4656
4654
|
function add_css$5(target) {
|
|
4657
|
-
append_styles(target, "svelte-
|
|
4655
|
+
append_styles(target, "svelte-1il0aow", ".form.svelte-1il0aow{width:100%;height:100%}");
|
|
4658
4656
|
}
|
|
4659
4657
|
|
|
4660
4658
|
function create_fragment$6(ctx) {
|
|
@@ -4667,7 +4665,7 @@ function create_fragment$6(ctx) {
|
|
|
4667
4665
|
c() {
|
|
4668
4666
|
div = element("div");
|
|
4669
4667
|
if (default_slot) default_slot.c();
|
|
4670
|
-
attr(div, "class", "form svelte-
|
|
4668
|
+
attr(div, "class", "form svelte-1il0aow");
|
|
4671
4669
|
},
|
|
4672
4670
|
m(target, anchor) {
|
|
4673
4671
|
insert(target, div, anchor);
|
|
@@ -4821,7 +4819,7 @@ class Form extends SvelteComponent {
|
|
|
4821
4819
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
|
4822
4820
|
|
|
4823
4821
|
function add_css$4(target) {
|
|
4824
|
-
append_styles(target, "svelte-
|
|
4822
|
+
append_styles(target, "svelte-kyay3k", ".textarea-wrapper.svelte-kyay3k{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-kyay3k{width:100%;resize:none}");
|
|
4825
4823
|
}
|
|
4826
4824
|
|
|
4827
4825
|
function create_fragment$5(ctx) {
|
|
@@ -4834,12 +4832,12 @@ function create_fragment$5(ctx) {
|
|
|
4834
4832
|
c() {
|
|
4835
4833
|
div = element("div");
|
|
4836
4834
|
textarea = element("textarea");
|
|
4837
|
-
attr(textarea, "class", "textarea svelte-
|
|
4835
|
+
attr(textarea, "class", "textarea svelte-kyay3k");
|
|
4838
4836
|
textarea.value = /*value*/ ctx[3];
|
|
4839
4837
|
textarea.required = /*required*/ ctx[0];
|
|
4840
4838
|
attr(textarea, "rows", /*rows*/ ctx[1]);
|
|
4841
4839
|
attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
|
|
4842
|
-
attr(div, "class", "textarea-wrapper svelte-
|
|
4840
|
+
attr(div, "class", "textarea-wrapper svelte-kyay3k");
|
|
4843
4841
|
},
|
|
4844
4842
|
m(target, anchor) {
|
|
4845
4843
|
insert(target, div, anchor);
|
|
@@ -5056,7 +5054,7 @@ class FormButton extends SvelteComponent {
|
|
|
5056
5054
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
|
5057
5055
|
|
|
5058
5056
|
function add_css$3(target) {
|
|
5059
|
-
append_styles(target, "svelte-
|
|
5057
|
+
append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
|
5060
5058
|
}
|
|
5061
5059
|
|
|
5062
5060
|
function get_each_context(ctx, list, i) {
|
|
@@ -5139,7 +5137,7 @@ function create_fragment$3(ctx) {
|
|
|
5139
5137
|
each_blocks[i].c();
|
|
5140
5138
|
}
|
|
5141
5139
|
|
|
5142
|
-
attr(div, "class", "radio-buttons svelte-
|
|
5140
|
+
attr(div, "class", "radio-buttons svelte-1ajmbw1");
|
|
5143
5141
|
},
|
|
5144
5142
|
m(target, anchor) {
|
|
5145
5143
|
insert(target, div, anchor);
|
|
@@ -5219,7 +5217,7 @@ class FormRadioButtons extends SvelteComponent {
|
|
|
5219
5217
|
/* src/components/TextBlock.svelte generated by Svelte v3.53.1 */
|
|
5220
5218
|
|
|
5221
5219
|
function add_css$2(target) {
|
|
5222
|
-
append_styles(target, "svelte-
|
|
5220
|
+
append_styles(target, "svelte-11rpuv5", ".text-block.svelte-11rpuv5.svelte-11rpuv5{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-block-inner.svelte-11rpuv5.svelte-11rpuv5{width:100%;height:auto}.text-direction-vertical.svelte-11rpuv5.svelte-11rpuv5{writing-mode:vertical-rl}.text-direction-vertical.svelte-11rpuv5 .text-block-inner.svelte-11rpuv5{width:auto;height:100%}");
|
|
5223
5221
|
}
|
|
5224
5222
|
|
|
5225
5223
|
function create_fragment$2(ctx) {
|
|
@@ -5235,8 +5233,8 @@ function create_fragment$2(ctx) {
|
|
|
5235
5233
|
div1 = element("div");
|
|
5236
5234
|
div0 = element("div");
|
|
5237
5235
|
create_component(rendertext.$$.fragment);
|
|
5238
|
-
attr(div0, "class", "text-block-inner svelte-
|
|
5239
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
|
5236
|
+
attr(div0, "class", "text-block-inner svelte-11rpuv5");
|
|
5237
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-11rpuv5"));
|
|
5240
5238
|
attr(div1, "style", /*style*/ ctx[2]);
|
|
5241
5239
|
},
|
|
5242
5240
|
m(target, anchor) {
|
|
@@ -5250,7 +5248,7 @@ function create_fragment$2(ctx) {
|
|
|
5250
5248
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
|
5251
5249
|
rendertext.$set(rendertext_changes);
|
|
5252
5250
|
|
|
5253
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
|
5251
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-11rpuv5"))) {
|
|
5254
5252
|
attr(div1, "class", div1_class_value);
|
|
5255
5253
|
}
|
|
5256
5254
|
|
|
@@ -5321,7 +5319,7 @@ class TextBlock extends SvelteComponent {
|
|
|
5321
5319
|
/* src/components/TextButtonBlock.svelte generated by Svelte v3.53.1 */
|
|
5322
5320
|
|
|
5323
5321
|
function add_css$1(target) {
|
|
5324
|
-
append_styles(target, "svelte-
|
|
5322
|
+
append_styles(target, "svelte-1t5i3za", ".text-button-block.svelte-1t5i3za{width:100%;height:100%}.text-button.svelte-1t5i3za{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s}.text-button.svelte-1t5i3za:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-1t5i3za:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
|
5325
5323
|
}
|
|
5326
5324
|
|
|
5327
5325
|
function create_fragment$1(ctx) {
|
|
@@ -5338,9 +5336,9 @@ function create_fragment$1(ctx) {
|
|
|
5338
5336
|
div = element("div");
|
|
5339
5337
|
button = element("button");
|
|
5340
5338
|
create_component(rendertext.$$.fragment);
|
|
5341
|
-
attr(button, "class", "text-button svelte-
|
|
5339
|
+
attr(button, "class", "text-button svelte-1t5i3za");
|
|
5342
5340
|
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
|
5343
|
-
attr(div, "class", "text-button-block svelte-
|
|
5341
|
+
attr(div, "class", "text-button-block svelte-1t5i3za");
|
|
5344
5342
|
attr(div, "style", /*_style*/ ctx[2]);
|
|
5345
5343
|
},
|
|
5346
5344
|
m(target, anchor) {
|
|
@@ -5437,7 +5435,7 @@ class TextButtonBlock extends SvelteComponent {
|
|
|
5437
5435
|
/* src/components/ImageBlock.svelte generated by Svelte v3.53.1 */
|
|
5438
5436
|
|
|
5439
5437
|
function add_css(target) {
|
|
5440
|
-
append_styles(target, "svelte-
|
|
5438
|
+
append_styles(target, "svelte-1ec6zfb", ".image-block.svelte-1ec6zfb{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.image.svelte-1ec6zfb{width:100%;height:100%}.transport.svelte-1ec6zfb:hover,.transport.svelte-1ec6zfb:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
|
5441
5439
|
}
|
|
5442
5440
|
|
|
5443
5441
|
function create_fragment(ctx) {
|
|
@@ -5452,14 +5450,14 @@ function create_fragment(ctx) {
|
|
|
5452
5450
|
c() {
|
|
5453
5451
|
div = element("div");
|
|
5454
5452
|
img = element("img");
|
|
5455
|
-
attr(img, "class", "image svelte-
|
|
5453
|
+
attr(img, "class", "image svelte-1ec6zfb");
|
|
5456
5454
|
attr(img, "loading", "lazy");
|
|
5457
5455
|
attr(img, "width", "auto");
|
|
5458
5456
|
attr(img, "height", "auto");
|
|
5459
5457
|
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
|
5460
5458
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
|
5461
5459
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
5462
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
|
5460
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1ec6zfb"));
|
|
5463
5461
|
attr(div, "style", /*_style*/ ctx[4]);
|
|
5464
5462
|
},
|
|
5465
5463
|
m(target, anchor) {
|
|
@@ -5484,7 +5482,7 @@ function create_fragment(ctx) {
|
|
|
5484
5482
|
attr(img, "alt", /*alt*/ ctx[1]);
|
|
5485
5483
|
}
|
|
5486
5484
|
|
|
5487
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
|
5485
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1ec6zfb"))) {
|
|
5488
5486
|
attr(div, "class", div_class_value);
|
|
5489
5487
|
}
|
|
5490
5488
|
|
|
@@ -5557,4 +5555,4 @@ class ImageBlock extends SvelteComponent {
|
|
|
5557
5555
|
}
|
|
5558
5556
|
}
|
|
5559
5557
|
|
|
5560
|
-
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListItem, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, 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, 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 };
|
|
5558
|
+
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, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListItem, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, 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, 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 };
|
package/dist/templates.js
CHANGED
|
@@ -89,13 +89,13 @@ function createCustomScript(script = '') {
|
|
|
89
89
|
// ここでSDKをインポートしてください
|
|
90
90
|
//import jQuery from "jquery";
|
|
91
91
|
//import {
|
|
92
|
-
onShow,
|
|
93
|
-
onClose,
|
|
94
|
-
onChangeState,
|
|
95
|
-
onDestroy,
|
|
96
|
-
setCustomVariables,
|
|
97
|
-
setCustomHandlers,
|
|
98
|
-
} from "@plaidev/karte-action-sdk";
|
|
92
|
+
// onShow,
|
|
93
|
+
// onClose,
|
|
94
|
+
// onChangeState,
|
|
95
|
+
// onDestroy,
|
|
96
|
+
// setCustomVariables,
|
|
97
|
+
// setCustomHandlers,
|
|
98
|
+
//} from "@plaidev/karte-action-sdk";
|
|
99
99
|
${script}
|
|
100
100
|
const onCreate = ({ send, data }) => {
|
|
101
101
|
// ここでアクションが作成される時のスクリプトを書いてください
|