@plaidev/karte-action-sdk 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.d.ts +6 -4
- package/dist/index.es.js +221 -224
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -275,12 +275,14 @@ declare const collection: (config: {
|
|
|
275
275
|
set(key: string, value: string, cb: (err: Error | null) => void): void;
|
|
276
276
|
};
|
|
277
277
|
export { state, closed, maximumZindex, initialize, finalize, send_event, isPreview, setMiximumZindex, none, moveTo, linkTo, closeApp, _default, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getMarginStyle, onScroll, onTime, hasSuffix, toBr, randStr, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, AnimationStyleTranslations, ModalPositions, ModalPosition, ModalPositionTranslations, ModalMarginTranslations, ModalMargin, ModalPlacement, DefaultModalPlacement, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, Repeats, Repeat, BackgroundSizes, BackgroundSize, Style, StateName, hideOnScroll, hideOnTime, showOnScroll, showOnTime, ensureModalRoot, h, createFog, EmbedLogic, embed, collection };
|
|
278
|
-
export { default as State } from './State.svelte';
|
|
279
|
-
export { default as
|
|
280
|
-
export { default as
|
|
278
|
+
export { default as State } from './components/State.svelte';
|
|
279
|
+
export { default as StateItem } from './components/StateItem.svelte';
|
|
280
|
+
export { default as Modal } from './components/Modal.svelte';
|
|
281
|
+
export { default as GridModalState } from './components/GridModalState.svelte';
|
|
282
|
+
export { default as Grid } from './components/Grid.svelte';
|
|
283
|
+
export { default as GridItem } from './components/GridItem.svelte';
|
|
281
284
|
export { default as Flex } from './components/Flex.svelte';
|
|
282
285
|
export { default as FlexItem } from './components/FlexItem.svelte';
|
|
283
|
-
export { default as Modal } from './components/Modal.svelte';
|
|
284
286
|
export { default as TextBlock } from './components/TextBlock.svelte';
|
|
285
287
|
export { default as TextButtonBlock } from './components/TextButtonBlock.svelte';
|
|
286
288
|
export { default as ImageBlock } from './components/ImageBlock.svelte';
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { writable, get } from 'svelte/store';
|
|
2
|
-
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, noop, element, attr, listen, null_to_empty, append,
|
|
2
|
+
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, noop, element, attr, listen, null_to_empty, append, binding_callbacks, svg_element, src_url_equal } from 'svelte/internal';
|
|
3
3
|
import { createEventDispatcher, onDestroy, onMount, setContext, getContext } from 'svelte';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -482,7 +482,7 @@ function request(url, data, cb) {
|
|
|
482
482
|
xhr.send(JSON.stringify({ ...data }));
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
/* src/components/Normalize.svelte generated by Svelte v3.44.1 */
|
|
485
|
+
/* src/components/elements/Normalize.svelte generated by Svelte v3.44.1 */
|
|
486
486
|
|
|
487
487
|
function add_css$9(target) {
|
|
488
488
|
append_styles(target, "svelte-zmz1k7", "@import 'https://cdn.skypack.dev/normalize.css';");
|
|
@@ -495,7 +495,7 @@ class Normalize extends SvelteComponent {
|
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
/* src/State.svelte generated by Svelte v3.44.1 */
|
|
498
|
+
/* src/components/State.svelte generated by Svelte v3.44.1 */
|
|
499
499
|
|
|
500
500
|
function create_fragment$c(ctx) {
|
|
501
501
|
let normalize;
|
|
@@ -698,7 +698,7 @@ class StateItem extends SvelteComponent {
|
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
/* src/components/BackgroundOverray.svelte generated by Svelte v3.44.1 */
|
|
701
|
+
/* src/components/elements/BackgroundOverray.svelte generated by Svelte v3.44.1 */
|
|
702
702
|
|
|
703
703
|
function add_css$8(target) {
|
|
704
704
|
append_styles(target, "svelte-1h4b6e3", ".background.svelte-1h4b6e3{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3)}");
|
|
@@ -787,7 +787,7 @@ class BackgroundOverray extends SvelteComponent {
|
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
|
|
790
|
-
/* src/components/Animation.svelte generated by Svelte v3.44.1 */
|
|
790
|
+
/* src/components/elements/Animation.svelte generated by Svelte v3.44.1 */
|
|
791
791
|
|
|
792
792
|
function add_css$7(target) {
|
|
793
793
|
append_styles(target, "svelte-sa0cac", "@keyframes svelte-sa0cac-fade{0%{opacity:0}100%{opacity:1}}.fade.svelte-sa0cac{animation-name:svelte-sa0cac-fade;animation-duration:1s}@keyframes svelte-sa0cac-bounce{0%{opacity:0;transform:scale(0.3)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(0.9)}100%{transform:scale(1)}}.bounce.svelte-sa0cac{animation-name:svelte-sa0cac-bounce;animation-duration:1s}@keyframes svelte-sa0cac-slide-down{0%{transform:translate3d(0, -100%, 0);visibility:visible}100%{transform:translate3d(0, 0, 0)}}.slide-down.svelte-sa0cac{animation-name:svelte-sa0cac-slide-down;animation-duration:1s;animation-delay:0.1s}@keyframes svelte-sa0cac-slide-up{0%{transform:translate3d(0, 100%, 0);visibility:visible}100%{transform:translate3d(0, 0, 0)}}.slide-up.svelte-sa0cac{animation-name:svelte-sa0cac-slide-up;animation-duration:1s;animation-delay:0.1s}@keyframes svelte-sa0cac-slide-left{0%{transform:translate3d(100%, 0, 0);visibility:visible}100%{transform:translate3d(0, 0, 0)}}.slide-left.svelte-sa0cac{animation-name:svelte-sa0cac-slide-left;animation-duration:1s;animation-delay:0.1s}@keyframes svelte-sa0cac-slide-right{0%{transform:translate3d(-100%, 0, 0);visibility:visible}100%{transform:translate3d(0, 0, 0)}}.slide-right.svelte-sa0cac{animation-name:svelte-sa0cac-slide-right;animation-duration:1s;animation-delay:0.1s}");
|
|
@@ -872,7 +872,7 @@ function add_css$6(target) {
|
|
|
872
872
|
append_styles(target, "svelte-1bxl6mz", ".modal.svelte-1bxl6mz{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-1bxl6mz{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-1bxl6mz:hover{transform:rotate(90deg)}");
|
|
873
873
|
}
|
|
874
874
|
|
|
875
|
-
// (
|
|
875
|
+
// (84:4) {#if closable}
|
|
876
876
|
function create_if_block(ctx) {
|
|
877
877
|
let button;
|
|
878
878
|
let svg;
|
|
@@ -895,7 +895,7 @@ function create_if_block(ctx) {
|
|
|
895
895
|
attr(svg, "fill", "none");
|
|
896
896
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
897
897
|
attr(button, "class", "close svelte-1bxl6mz");
|
|
898
|
-
attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[
|
|
898
|
+
attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[9] + 1) + "; " + /*_closeStyle*/ ctx[4] + "");
|
|
899
899
|
},
|
|
900
900
|
m(target, anchor) {
|
|
901
901
|
insert(target, button, anchor);
|
|
@@ -903,7 +903,7 @@ function create_if_block(ctx) {
|
|
|
903
903
|
append(svg, path);
|
|
904
904
|
|
|
905
905
|
if (!mounted) {
|
|
906
|
-
dispose = listen(button, "click", /*close*/ ctx[
|
|
906
|
+
dispose = listen(button, "click", /*close*/ ctx[10]);
|
|
907
907
|
mounted = true;
|
|
908
908
|
}
|
|
909
909
|
},
|
|
@@ -912,7 +912,7 @@ function create_if_block(ctx) {
|
|
|
912
912
|
attr(path, "fill", /*closeButtonColor*/ ctx[1]);
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
-
if (dirty & /*$maximumZindex, _closeStyle*/
|
|
915
|
+
if (dirty & /*$maximumZindex, _closeStyle*/ 528 && button_style_value !== (button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[9] + 1) + "; " + /*_closeStyle*/ ctx[4] + "")) {
|
|
916
916
|
attr(button, "style", button_style_value);
|
|
917
917
|
}
|
|
918
918
|
},
|
|
@@ -924,16 +924,15 @@ function create_if_block(ctx) {
|
|
|
924
924
|
};
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
-
|
|
927
|
+
// (72:0) <Animation {animation}>
|
|
928
|
+
function create_default_slot$1(ctx) {
|
|
928
929
|
let div;
|
|
929
930
|
let t;
|
|
930
931
|
let div_style_value;
|
|
931
932
|
let current;
|
|
932
|
-
let mounted;
|
|
933
|
-
let dispose;
|
|
934
933
|
let if_block = /*closable*/ ctx[0] && create_if_block(ctx);
|
|
935
|
-
const default_slot_template = /*#slots*/ ctx[
|
|
936
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
|
934
|
+
const default_slot_template = /*#slots*/ ctx[17].default;
|
|
935
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[19], null);
|
|
937
936
|
|
|
938
937
|
return {
|
|
939
938
|
c() {
|
|
@@ -944,7 +943,7 @@ function create_fragment$8(ctx) {
|
|
|
944
943
|
attr(div, "class", "modal svelte-1bxl6mz");
|
|
945
944
|
attr(div, "role", "dialog");
|
|
946
945
|
attr(div, "aria-modal", "true");
|
|
947
|
-
attr(div, "style", div_style_value = "" + /*pos*/ ctx[
|
|
946
|
+
attr(div, "style", div_style_value = "" + /*pos*/ ctx[7] + " " + /*marginStyle*/ ctx[6] + " " + /*_style*/ ctx[3] + "");
|
|
948
947
|
},
|
|
949
948
|
m(target, anchor) {
|
|
950
949
|
insert(target, div, anchor);
|
|
@@ -955,15 +954,10 @@ function create_fragment$8(ctx) {
|
|
|
955
954
|
default_slot.m(div, null);
|
|
956
955
|
}
|
|
957
956
|
|
|
958
|
-
/*div_binding*/ ctx[
|
|
957
|
+
/*div_binding*/ ctx[18](div);
|
|
959
958
|
current = true;
|
|
960
|
-
|
|
961
|
-
if (!mounted) {
|
|
962
|
-
dispose = listen(window, "keydown", /*handle_keydown*/ ctx[9]);
|
|
963
|
-
mounted = true;
|
|
964
|
-
}
|
|
965
959
|
},
|
|
966
|
-
p(ctx,
|
|
960
|
+
p(ctx, dirty) {
|
|
967
961
|
if (/*closable*/ ctx[0]) {
|
|
968
962
|
if (if_block) {
|
|
969
963
|
if_block.p(ctx, dirty);
|
|
@@ -978,21 +972,21 @@ function create_fragment$8(ctx) {
|
|
|
978
972
|
}
|
|
979
973
|
|
|
980
974
|
if (default_slot) {
|
|
981
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
|
975
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 524288)) {
|
|
982
976
|
update_slot_base(
|
|
983
977
|
default_slot,
|
|
984
978
|
default_slot_template,
|
|
985
979
|
ctx,
|
|
986
|
-
/*$$scope*/ ctx[
|
|
980
|
+
/*$$scope*/ ctx[19],
|
|
987
981
|
!current
|
|
988
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
|
989
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
|
982
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[19])
|
|
983
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[19], dirty, null),
|
|
990
984
|
null
|
|
991
985
|
);
|
|
992
986
|
}
|
|
993
987
|
}
|
|
994
988
|
|
|
995
|
-
if (!current || dirty & /*pos, marginStyle, _style*/
|
|
989
|
+
if (!current || dirty & /*pos, marginStyle, _style*/ 200 && div_style_value !== (div_style_value = "" + /*pos*/ ctx[7] + " " + /*marginStyle*/ ctx[6] + " " + /*_style*/ ctx[3] + "")) {
|
|
996
990
|
attr(div, "style", div_style_value);
|
|
997
991
|
}
|
|
998
992
|
},
|
|
@@ -1009,7 +1003,80 @@ function create_fragment$8(ctx) {
|
|
|
1009
1003
|
if (detaching) detach(div);
|
|
1010
1004
|
if (if_block) if_block.d();
|
|
1011
1005
|
if (default_slot) default_slot.d(detaching);
|
|
1012
|
-
/*div_binding*/ ctx[
|
|
1006
|
+
/*div_binding*/ ctx[18](null);
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
function create_fragment$8(ctx) {
|
|
1012
|
+
let backgroundoverray;
|
|
1013
|
+
let t;
|
|
1014
|
+
let animation_1;
|
|
1015
|
+
let current;
|
|
1016
|
+
let mounted;
|
|
1017
|
+
let dispose;
|
|
1018
|
+
|
|
1019
|
+
backgroundoverray = new BackgroundOverray({
|
|
1020
|
+
props: {
|
|
1021
|
+
backgroundOverray: /*backgroundOverray*/ ctx[8]
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
|
|
1025
|
+
backgroundoverray.$on("click", /*close*/ ctx[10]);
|
|
1026
|
+
|
|
1027
|
+
animation_1 = new Animation({
|
|
1028
|
+
props: {
|
|
1029
|
+
animation: /*animation*/ ctx[2],
|
|
1030
|
+
$$slots: { default: [create_default_slot$1] },
|
|
1031
|
+
$$scope: { ctx }
|
|
1032
|
+
}
|
|
1033
|
+
});
|
|
1034
|
+
|
|
1035
|
+
return {
|
|
1036
|
+
c() {
|
|
1037
|
+
create_component(backgroundoverray.$$.fragment);
|
|
1038
|
+
t = space();
|
|
1039
|
+
create_component(animation_1.$$.fragment);
|
|
1040
|
+
},
|
|
1041
|
+
m(target, anchor) {
|
|
1042
|
+
mount_component(backgroundoverray, target, anchor);
|
|
1043
|
+
insert(target, t, anchor);
|
|
1044
|
+
mount_component(animation_1, target, anchor);
|
|
1045
|
+
current = true;
|
|
1046
|
+
|
|
1047
|
+
if (!mounted) {
|
|
1048
|
+
dispose = listen(window, "keydown", /*handle_keydown*/ ctx[11]);
|
|
1049
|
+
mounted = true;
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
p(ctx, [dirty]) {
|
|
1053
|
+
const backgroundoverray_changes = {};
|
|
1054
|
+
if (dirty & /*backgroundOverray*/ 256) backgroundoverray_changes.backgroundOverray = /*backgroundOverray*/ ctx[8];
|
|
1055
|
+
backgroundoverray.$set(backgroundoverray_changes);
|
|
1056
|
+
const animation_1_changes = {};
|
|
1057
|
+
if (dirty & /*animation*/ 4) animation_1_changes.animation = /*animation*/ ctx[2];
|
|
1058
|
+
|
|
1059
|
+
if (dirty & /*$$scope, pos, marginStyle, _style, modal, $maximumZindex, _closeStyle, closeButtonColor, closable*/ 525051) {
|
|
1060
|
+
animation_1_changes.$$scope = { dirty, ctx };
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
animation_1.$set(animation_1_changes);
|
|
1064
|
+
},
|
|
1065
|
+
i(local) {
|
|
1066
|
+
if (current) return;
|
|
1067
|
+
transition_in(backgroundoverray.$$.fragment, local);
|
|
1068
|
+
transition_in(animation_1.$$.fragment, local);
|
|
1069
|
+
current = true;
|
|
1070
|
+
},
|
|
1071
|
+
o(local) {
|
|
1072
|
+
transition_out(backgroundoverray.$$.fragment, local);
|
|
1073
|
+
transition_out(animation_1.$$.fragment, local);
|
|
1074
|
+
current = false;
|
|
1075
|
+
},
|
|
1076
|
+
d(detaching) {
|
|
1077
|
+
destroy_component(backgroundoverray, detaching);
|
|
1078
|
+
if (detaching) detach(t);
|
|
1079
|
+
destroy_component(animation_1, detaching);
|
|
1013
1080
|
mounted = false;
|
|
1014
1081
|
dispose();
|
|
1015
1082
|
}
|
|
@@ -1017,34 +1084,20 @@ function create_fragment$8(ctx) {
|
|
|
1017
1084
|
}
|
|
1018
1085
|
|
|
1019
1086
|
function instance$8($$self, $$props, $$invalidate) {
|
|
1087
|
+
let backgroundOverray;
|
|
1088
|
+
let overwritePosition;
|
|
1089
|
+
let overwriteMargin;
|
|
1020
1090
|
let pos;
|
|
1021
1091
|
let marginStyle;
|
|
1022
1092
|
let $maximumZindex;
|
|
1023
|
-
component_subscribe($$self, maximumZindex, $$value => $$invalidate(
|
|
1093
|
+
component_subscribe($$self, maximumZindex, $$value => $$invalidate(9, $maximumZindex = $$value));
|
|
1024
1094
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1025
1095
|
let { closable = true } = $$props;
|
|
1026
1096
|
let { closeButtonColor = '#000000' } = $$props;
|
|
1027
1097
|
let { eventName = '' } = $$props;
|
|
1028
1098
|
let { eventValue = null } = $$props;
|
|
1029
|
-
let {
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
let { margin = {
|
|
1033
|
-
left: '0px',
|
|
1034
|
-
right: '0px',
|
|
1035
|
-
top: '0px',
|
|
1036
|
-
bottom: '0px'
|
|
1037
|
-
} } = $$props;
|
|
1038
|
-
|
|
1039
|
-
const overwriteMargin = isPreview()
|
|
1040
|
-
? {
|
|
1041
|
-
left: '0px',
|
|
1042
|
-
right: '0px',
|
|
1043
|
-
top: '0px',
|
|
1044
|
-
bottom: '0px'
|
|
1045
|
-
}
|
|
1046
|
-
: margin;
|
|
1047
|
-
|
|
1099
|
+
let { animation = 'none' } = $$props;
|
|
1100
|
+
let { placement = DefaultModalPlacement } = $$props;
|
|
1048
1101
|
let { _style = '' } = $$props;
|
|
1049
1102
|
let { _closeStyle = '' } = $$props;
|
|
1050
1103
|
|
|
@@ -1068,43 +1121,72 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
1068
1121
|
function div_binding($$value) {
|
|
1069
1122
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
1070
1123
|
modal = $$value;
|
|
1071
|
-
$$invalidate(
|
|
1124
|
+
$$invalidate(5, modal);
|
|
1072
1125
|
});
|
|
1073
1126
|
}
|
|
1074
1127
|
|
|
1075
1128
|
$$self.$$set = $$props => {
|
|
1076
1129
|
if ('closable' in $$props) $$invalidate(0, closable = $$props.closable);
|
|
1077
1130
|
if ('closeButtonColor' in $$props) $$invalidate(1, closeButtonColor = $$props.closeButtonColor);
|
|
1078
|
-
if ('eventName' in $$props) $$invalidate(
|
|
1079
|
-
if ('eventValue' in $$props) $$invalidate(
|
|
1080
|
-
if ('
|
|
1081
|
-
if ('
|
|
1082
|
-
if ('_style' in $$props) $$invalidate(
|
|
1083
|
-
if ('_closeStyle' in $$props) $$invalidate(
|
|
1084
|
-
if ('$$scope' in $$props) $$invalidate(
|
|
1131
|
+
if ('eventName' in $$props) $$invalidate(12, eventName = $$props.eventName);
|
|
1132
|
+
if ('eventValue' in $$props) $$invalidate(13, eventValue = $$props.eventValue);
|
|
1133
|
+
if ('animation' in $$props) $$invalidate(2, animation = $$props.animation);
|
|
1134
|
+
if ('placement' in $$props) $$invalidate(14, placement = $$props.placement);
|
|
1135
|
+
if ('_style' in $$props) $$invalidate(3, _style = $$props._style);
|
|
1136
|
+
if ('_closeStyle' in $$props) $$invalidate(4, _closeStyle = $$props._closeStyle);
|
|
1137
|
+
if ('$$scope' in $$props) $$invalidate(19, $$scope = $$props.$$scope);
|
|
1085
1138
|
};
|
|
1086
1139
|
|
|
1087
|
-
$$
|
|
1088
|
-
|
|
1140
|
+
$$self.$$.update = () => {
|
|
1141
|
+
if ($$self.$$.dirty & /*placement*/ 16384) {
|
|
1142
|
+
$$invalidate(8, backgroundOverray = placement.backgroundOverlay);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
if ($$self.$$.dirty & /*placement*/ 16384) {
|
|
1146
|
+
$$invalidate(16, overwritePosition = isPreview() ? 'center' : placement.position);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
if ($$self.$$.dirty & /*placement*/ 16384) {
|
|
1150
|
+
$$invalidate(15, overwriteMargin = isPreview()
|
|
1151
|
+
? {
|
|
1152
|
+
left: '0px',
|
|
1153
|
+
right: '0px',
|
|
1154
|
+
top: '0px',
|
|
1155
|
+
bottom: '0px'
|
|
1156
|
+
}
|
|
1157
|
+
: placement.margin);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 65536) {
|
|
1161
|
+
$$invalidate(7, pos = getPositionStyle(overwritePosition));
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 32768) {
|
|
1165
|
+
$$invalidate(6, marginStyle = getMarginStyle(overwriteMargin));
|
|
1166
|
+
}
|
|
1167
|
+
};
|
|
1089
1168
|
|
|
1090
1169
|
return [
|
|
1091
1170
|
closable,
|
|
1092
1171
|
closeButtonColor,
|
|
1172
|
+
animation,
|
|
1093
1173
|
_style,
|
|
1094
1174
|
_closeStyle,
|
|
1095
1175
|
modal,
|
|
1096
1176
|
marginStyle,
|
|
1097
1177
|
pos,
|
|
1178
|
+
backgroundOverray,
|
|
1098
1179
|
$maximumZindex,
|
|
1099
1180
|
close,
|
|
1100
1181
|
handle_keydown,
|
|
1101
1182
|
eventName,
|
|
1102
1183
|
eventValue,
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1184
|
+
placement,
|
|
1185
|
+
overwriteMargin,
|
|
1186
|
+
overwritePosition,
|
|
1106
1187
|
slots,
|
|
1107
|
-
div_binding
|
|
1188
|
+
div_binding,
|
|
1189
|
+
$$scope
|
|
1108
1190
|
];
|
|
1109
1191
|
}
|
|
1110
1192
|
|
|
@@ -1121,12 +1203,12 @@ class Modal extends SvelteComponent {
|
|
|
1121
1203
|
{
|
|
1122
1204
|
closable: 0,
|
|
1123
1205
|
closeButtonColor: 1,
|
|
1124
|
-
eventName:
|
|
1125
|
-
eventValue:
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
_style:
|
|
1129
|
-
_closeStyle:
|
|
1206
|
+
eventName: 12,
|
|
1207
|
+
eventValue: 13,
|
|
1208
|
+
animation: 2,
|
|
1209
|
+
placement: 14,
|
|
1210
|
+
_style: 3,
|
|
1211
|
+
_closeStyle: 4
|
|
1130
1212
|
},
|
|
1131
1213
|
add_css$6
|
|
1132
1214
|
);
|
|
@@ -1249,12 +1331,12 @@ class Grid extends SvelteComponent {
|
|
|
1249
1331
|
}
|
|
1250
1332
|
}
|
|
1251
1333
|
|
|
1252
|
-
/* src/GridModalState.svelte generated by Svelte v3.44.1 */
|
|
1334
|
+
/* src/components/GridModalState.svelte generated by Svelte v3.44.1 */
|
|
1253
1335
|
|
|
1254
|
-
function
|
|
1336
|
+
function create_default_slot_2(ctx) {
|
|
1255
1337
|
let current;
|
|
1256
|
-
const default_slot_template = /*#slots*/ ctx[
|
|
1257
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
|
1338
|
+
const default_slot_template = /*#slots*/ ctx[16].default;
|
|
1339
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[17], null);
|
|
1258
1340
|
|
|
1259
1341
|
return {
|
|
1260
1342
|
c() {
|
|
@@ -1269,15 +1351,15 @@ function create_default_slot_3(ctx) {
|
|
|
1269
1351
|
},
|
|
1270
1352
|
p(ctx, dirty) {
|
|
1271
1353
|
if (default_slot) {
|
|
1272
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
|
1354
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 131072)) {
|
|
1273
1355
|
update_slot_base(
|
|
1274
1356
|
default_slot,
|
|
1275
1357
|
default_slot_template,
|
|
1276
1358
|
ctx,
|
|
1277
|
-
/*$$scope*/ ctx[
|
|
1359
|
+
/*$$scope*/ ctx[17],
|
|
1278
1360
|
!current
|
|
1279
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
|
1280
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
|
1361
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[17])
|
|
1362
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[17], dirty, null),
|
|
1281
1363
|
null
|
|
1282
1364
|
);
|
|
1283
1365
|
}
|
|
@@ -1298,20 +1380,20 @@ function create_default_slot_3(ctx) {
|
|
|
1298
1380
|
};
|
|
1299
1381
|
}
|
|
1300
1382
|
|
|
1301
|
-
// (
|
|
1302
|
-
function
|
|
1383
|
+
// (85:2) <Modal {closable} {closeButtonColor} {_closeStyle} _style={_modalStyle} on:close={close} >
|
|
1384
|
+
function create_default_slot_1(ctx) {
|
|
1303
1385
|
let grid;
|
|
1304
1386
|
let current;
|
|
1305
1387
|
|
|
1306
1388
|
grid = new Grid({
|
|
1307
1389
|
props: {
|
|
1308
|
-
width: /*width*/ ctx[
|
|
1309
|
-
height: /*height*/ ctx[
|
|
1310
|
-
rows: /*rows*/ ctx[
|
|
1311
|
-
columns: /*columns*/ ctx[
|
|
1312
|
-
gap: /*gap*/ ctx[
|
|
1313
|
-
background: /*background*/ ctx[
|
|
1314
|
-
$$slots: { default: [
|
|
1390
|
+
width: /*width*/ ctx[5],
|
|
1391
|
+
height: /*height*/ ctx[6],
|
|
1392
|
+
rows: /*rows*/ ctx[7],
|
|
1393
|
+
columns: /*columns*/ ctx[8],
|
|
1394
|
+
gap: /*gap*/ ctx[9],
|
|
1395
|
+
background: /*background*/ ctx[10],
|
|
1396
|
+
$$slots: { default: [create_default_slot_2] },
|
|
1315
1397
|
$$scope: { ctx }
|
|
1316
1398
|
}
|
|
1317
1399
|
});
|
|
@@ -1326,14 +1408,14 @@ function create_default_slot_2(ctx) {
|
|
|
1326
1408
|
},
|
|
1327
1409
|
p(ctx, dirty) {
|
|
1328
1410
|
const grid_changes = {};
|
|
1329
|
-
if (dirty & /*width*/
|
|
1330
|
-
if (dirty & /*height*/
|
|
1331
|
-
if (dirty & /*rows*/
|
|
1332
|
-
if (dirty & /*columns*/
|
|
1333
|
-
if (dirty & /*gap*/
|
|
1334
|
-
if (dirty & /*background*/
|
|
1335
|
-
|
|
1336
|
-
if (dirty & /*$$scope*/
|
|
1411
|
+
if (dirty & /*width*/ 32) grid_changes.width = /*width*/ ctx[5];
|
|
1412
|
+
if (dirty & /*height*/ 64) grid_changes.height = /*height*/ ctx[6];
|
|
1413
|
+
if (dirty & /*rows*/ 128) grid_changes.rows = /*rows*/ ctx[7];
|
|
1414
|
+
if (dirty & /*columns*/ 256) grid_changes.columns = /*columns*/ ctx[8];
|
|
1415
|
+
if (dirty & /*gap*/ 512) grid_changes.gap = /*gap*/ ctx[9];
|
|
1416
|
+
if (dirty & /*background*/ 1024) grid_changes.background = /*background*/ ctx[10];
|
|
1417
|
+
|
|
1418
|
+
if (dirty & /*$$scope*/ 131072) {
|
|
1337
1419
|
grid_changes.$$scope = { dirty, ctx };
|
|
1338
1420
|
}
|
|
1339
1421
|
|
|
@@ -1354,25 +1436,23 @@ function create_default_slot_2(ctx) {
|
|
|
1354
1436
|
};
|
|
1355
1437
|
}
|
|
1356
1438
|
|
|
1357
|
-
// (
|
|
1358
|
-
function
|
|
1439
|
+
// (84:0) <StateItem {path}>
|
|
1440
|
+
function create_default_slot(ctx) {
|
|
1359
1441
|
let modal;
|
|
1360
1442
|
let current;
|
|
1361
1443
|
|
|
1362
1444
|
modal = new Modal({
|
|
1363
1445
|
props: {
|
|
1364
|
-
closable: /*closable*/ ctx[
|
|
1365
|
-
closeButtonColor: /*closeButtonColor*/ ctx[
|
|
1366
|
-
_closeStyle: /*_closeStyle*/ ctx[
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
_style: /*_modalStyle*/ ctx[2],
|
|
1370
|
-
$$slots: { default: [create_default_slot_2] },
|
|
1446
|
+
closable: /*closable*/ ctx[2],
|
|
1447
|
+
closeButtonColor: /*closeButtonColor*/ ctx[3],
|
|
1448
|
+
_closeStyle: /*_closeStyle*/ ctx[4],
|
|
1449
|
+
_style: /*_modalStyle*/ ctx[1],
|
|
1450
|
+
$$slots: { default: [create_default_slot_1] },
|
|
1371
1451
|
$$scope: { ctx }
|
|
1372
1452
|
}
|
|
1373
1453
|
});
|
|
1374
1454
|
|
|
1375
|
-
modal.$on("close", /*close*/ ctx[
|
|
1455
|
+
modal.$on("close", /*close*/ ctx[11]);
|
|
1376
1456
|
|
|
1377
1457
|
return {
|
|
1378
1458
|
c() {
|
|
@@ -1384,12 +1464,12 @@ function create_default_slot_1(ctx) {
|
|
|
1384
1464
|
},
|
|
1385
1465
|
p(ctx, dirty) {
|
|
1386
1466
|
const modal_changes = {};
|
|
1387
|
-
if (dirty & /*closable*/
|
|
1388
|
-
if (dirty & /*closeButtonColor*/
|
|
1389
|
-
if (dirty & /*_closeStyle*/
|
|
1390
|
-
if (dirty & /*_modalStyle*/
|
|
1467
|
+
if (dirty & /*closable*/ 4) modal_changes.closable = /*closable*/ ctx[2];
|
|
1468
|
+
if (dirty & /*closeButtonColor*/ 8) modal_changes.closeButtonColor = /*closeButtonColor*/ ctx[3];
|
|
1469
|
+
if (dirty & /*_closeStyle*/ 16) modal_changes._closeStyle = /*_closeStyle*/ ctx[4];
|
|
1470
|
+
if (dirty & /*_modalStyle*/ 2) modal_changes._style = /*_modalStyle*/ ctx[1];
|
|
1391
1471
|
|
|
1392
|
-
if (dirty & /*$$scope, width, height, rows, columns, gap, background*/
|
|
1472
|
+
if (dirty & /*$$scope, width, height, rows, columns, gap, background*/ 133088) {
|
|
1393
1473
|
modal_changes.$$scope = { dirty, ctx };
|
|
1394
1474
|
}
|
|
1395
1475
|
|
|
@@ -1410,70 +1490,6 @@ function create_default_slot_1(ctx) {
|
|
|
1410
1490
|
};
|
|
1411
1491
|
}
|
|
1412
1492
|
|
|
1413
|
-
// (101:0) <StateItem {path}>
|
|
1414
|
-
function create_default_slot(ctx) {
|
|
1415
|
-
let backgroundoverray;
|
|
1416
|
-
let t;
|
|
1417
|
-
let animation_1;
|
|
1418
|
-
let current;
|
|
1419
|
-
|
|
1420
|
-
backgroundoverray = new BackgroundOverray({
|
|
1421
|
-
props: {
|
|
1422
|
-
backgroundOverray: /*_backgroundOverray*/ ctx[15]
|
|
1423
|
-
}
|
|
1424
|
-
});
|
|
1425
|
-
|
|
1426
|
-
backgroundoverray.$on("click", /*close*/ ctx[12]);
|
|
1427
|
-
|
|
1428
|
-
animation_1 = new Animation({
|
|
1429
|
-
props: {
|
|
1430
|
-
animation: /*animation*/ ctx[1],
|
|
1431
|
-
$$slots: { default: [create_default_slot_1] },
|
|
1432
|
-
$$scope: { ctx }
|
|
1433
|
-
}
|
|
1434
|
-
});
|
|
1435
|
-
|
|
1436
|
-
return {
|
|
1437
|
-
c() {
|
|
1438
|
-
create_component(backgroundoverray.$$.fragment);
|
|
1439
|
-
t = space();
|
|
1440
|
-
create_component(animation_1.$$.fragment);
|
|
1441
|
-
},
|
|
1442
|
-
m(target, anchor) {
|
|
1443
|
-
mount_component(backgroundoverray, target, anchor);
|
|
1444
|
-
insert(target, t, anchor);
|
|
1445
|
-
mount_component(animation_1, target, anchor);
|
|
1446
|
-
current = true;
|
|
1447
|
-
},
|
|
1448
|
-
p(ctx, dirty) {
|
|
1449
|
-
const animation_1_changes = {};
|
|
1450
|
-
if (dirty & /*animation*/ 2) animation_1_changes.animation = /*animation*/ ctx[1];
|
|
1451
|
-
|
|
1452
|
-
if (dirty & /*$$scope, closable, closeButtonColor, _closeStyle, _modalStyle, width, height, rows, columns, gap, background*/ 4198396) {
|
|
1453
|
-
animation_1_changes.$$scope = { dirty, ctx };
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
animation_1.$set(animation_1_changes);
|
|
1457
|
-
},
|
|
1458
|
-
i(local) {
|
|
1459
|
-
if (current) return;
|
|
1460
|
-
transition_in(backgroundoverray.$$.fragment, local);
|
|
1461
|
-
transition_in(animation_1.$$.fragment, local);
|
|
1462
|
-
current = true;
|
|
1463
|
-
},
|
|
1464
|
-
o(local) {
|
|
1465
|
-
transition_out(backgroundoverray.$$.fragment, local);
|
|
1466
|
-
transition_out(animation_1.$$.fragment, local);
|
|
1467
|
-
current = false;
|
|
1468
|
-
},
|
|
1469
|
-
d(detaching) {
|
|
1470
|
-
destroy_component(backgroundoverray, detaching);
|
|
1471
|
-
if (detaching) detach(t);
|
|
1472
|
-
destroy_component(animation_1, detaching);
|
|
1473
|
-
}
|
|
1474
|
-
};
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
1493
|
function create_fragment$6(ctx) {
|
|
1478
1494
|
let stateitem;
|
|
1479
1495
|
let current;
|
|
@@ -1498,7 +1514,7 @@ function create_fragment$6(ctx) {
|
|
|
1498
1514
|
const stateitem_changes = {};
|
|
1499
1515
|
if (dirty & /*path*/ 1) stateitem_changes.path = /*path*/ ctx[0];
|
|
1500
1516
|
|
|
1501
|
-
if (dirty & /*$$scope,
|
|
1517
|
+
if (dirty & /*$$scope, closable, closeButtonColor, _closeStyle, _modalStyle, width, height, rows, columns, gap, background*/ 133118) {
|
|
1502
1518
|
stateitem_changes.$$scope = { dirty, ctx };
|
|
1503
1519
|
}
|
|
1504
1520
|
|
|
@@ -1523,11 +1539,9 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
1523
1539
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1524
1540
|
let { path } = $$props;
|
|
1525
1541
|
let { placement = DefaultModalPlacement } = $$props;
|
|
1526
|
-
let { position = 'center' } = $$props;
|
|
1527
1542
|
let { animation = 'none' } = $$props;
|
|
1528
1543
|
let { _modalStyle = '' } = $$props;
|
|
1529
1544
|
let { closable = true } = $$props;
|
|
1530
|
-
let { backgroundOverray = false } = $$props;
|
|
1531
1545
|
let { closeButtonColor = '#000000' } = $$props;
|
|
1532
1546
|
let { eventName = '' } = $$props;
|
|
1533
1547
|
let { eventValue = null } = $$props;
|
|
@@ -1545,41 +1559,30 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
1545
1559
|
const dispatch = createEventDispatcher();
|
|
1546
1560
|
|
|
1547
1561
|
const close = () => {
|
|
1548
|
-
if (eventName) {
|
|
1549
|
-
send_event(eventName, eventValue);
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
1562
|
dispatch('close');
|
|
1553
1563
|
};
|
|
1554
1564
|
|
|
1555
|
-
const _position = placement.position ?? position;
|
|
1556
|
-
const margin = placement.margin;
|
|
1557
|
-
const _backgroundOverray = placement.backgroundOverlay ?? backgroundOverray;
|
|
1558
|
-
|
|
1559
1565
|
$$self.$$set = $$props => {
|
|
1560
1566
|
if ('path' in $$props) $$invalidate(0, path = $$props.path);
|
|
1561
|
-
if ('placement' in $$props) $$invalidate(
|
|
1562
|
-
if ('
|
|
1563
|
-
if ('
|
|
1564
|
-
if ('
|
|
1565
|
-
if ('
|
|
1566
|
-
if ('
|
|
1567
|
-
if ('
|
|
1568
|
-
if ('
|
|
1569
|
-
if ('
|
|
1570
|
-
if ('
|
|
1571
|
-
if ('
|
|
1572
|
-
if ('
|
|
1573
|
-
if ('
|
|
1574
|
-
if ('
|
|
1575
|
-
if ('
|
|
1576
|
-
if ('background' in $$props) $$invalidate(11, background = $$props.background);
|
|
1577
|
-
if ('$$scope' in $$props) $$invalidate(22, $$scope = $$props.$$scope);
|
|
1567
|
+
if ('placement' in $$props) $$invalidate(12, placement = $$props.placement);
|
|
1568
|
+
if ('animation' in $$props) $$invalidate(13, animation = $$props.animation);
|
|
1569
|
+
if ('_modalStyle' in $$props) $$invalidate(1, _modalStyle = $$props._modalStyle);
|
|
1570
|
+
if ('closable' in $$props) $$invalidate(2, closable = $$props.closable);
|
|
1571
|
+
if ('closeButtonColor' in $$props) $$invalidate(3, closeButtonColor = $$props.closeButtonColor);
|
|
1572
|
+
if ('eventName' in $$props) $$invalidate(14, eventName = $$props.eventName);
|
|
1573
|
+
if ('eventValue' in $$props) $$invalidate(15, eventValue = $$props.eventValue);
|
|
1574
|
+
if ('_closeStyle' in $$props) $$invalidate(4, _closeStyle = $$props._closeStyle);
|
|
1575
|
+
if ('width' in $$props) $$invalidate(5, width = $$props.width);
|
|
1576
|
+
if ('height' in $$props) $$invalidate(6, height = $$props.height);
|
|
1577
|
+
if ('rows' in $$props) $$invalidate(7, rows = $$props.rows);
|
|
1578
|
+
if ('columns' in $$props) $$invalidate(8, columns = $$props.columns);
|
|
1579
|
+
if ('gap' in $$props) $$invalidate(9, gap = $$props.gap);
|
|
1580
|
+
if ('background' in $$props) $$invalidate(10, background = $$props.background);
|
|
1581
|
+
if ('$$scope' in $$props) $$invalidate(17, $$scope = $$props.$$scope);
|
|
1578
1582
|
};
|
|
1579
1583
|
|
|
1580
1584
|
return [
|
|
1581
1585
|
path,
|
|
1582
|
-
animation,
|
|
1583
1586
|
_modalStyle,
|
|
1584
1587
|
closable,
|
|
1585
1588
|
closeButtonColor,
|
|
@@ -1591,12 +1594,8 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
1591
1594
|
gap,
|
|
1592
1595
|
background,
|
|
1593
1596
|
close,
|
|
1594
|
-
_position,
|
|
1595
|
-
margin,
|
|
1596
|
-
_backgroundOverray,
|
|
1597
1597
|
placement,
|
|
1598
|
-
|
|
1599
|
-
backgroundOverray,
|
|
1598
|
+
animation,
|
|
1600
1599
|
eventName,
|
|
1601
1600
|
eventValue,
|
|
1602
1601
|
slots,
|
|
@@ -1610,27 +1609,25 @@ class GridModalState extends SvelteComponent {
|
|
|
1610
1609
|
|
|
1611
1610
|
init(this, options, instance$6, create_fragment$6, safe_not_equal, {
|
|
1612
1611
|
path: 0,
|
|
1613
|
-
placement:
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
gap: 10,
|
|
1628
|
-
background: 11
|
|
1612
|
+
placement: 12,
|
|
1613
|
+
animation: 13,
|
|
1614
|
+
_modalStyle: 1,
|
|
1615
|
+
closable: 2,
|
|
1616
|
+
closeButtonColor: 3,
|
|
1617
|
+
eventName: 14,
|
|
1618
|
+
eventValue: 15,
|
|
1619
|
+
_closeStyle: 4,
|
|
1620
|
+
width: 5,
|
|
1621
|
+
height: 6,
|
|
1622
|
+
rows: 7,
|
|
1623
|
+
columns: 8,
|
|
1624
|
+
gap: 9,
|
|
1625
|
+
background: 10
|
|
1629
1626
|
});
|
|
1630
1627
|
}
|
|
1631
1628
|
}
|
|
1632
1629
|
|
|
1633
|
-
/* src/GridItem.svelte generated by Svelte v3.44.1 */
|
|
1630
|
+
/* src/components/GridItem.svelte generated by Svelte v3.44.1 */
|
|
1634
1631
|
|
|
1635
1632
|
function add_css$5(target) {
|
|
1636
1633
|
append_styles(target, "svelte-g0rfgr", ".grid-item.svelte-g0rfgr{word-break:break-all}");
|
|
@@ -2263,4 +2260,4 @@ class ImageBlock extends SvelteComponent {
|
|
|
2263
2260
|
}
|
|
2264
2261
|
}
|
|
2265
2262
|
|
|
2266
|
-
export { Alignments, AnimationStyleTranslations, AnimationStyles, BackgroundSizes, DefaultModalPlacement, Directions, Flex, FlexItem, GridItem, GridModalState, ImageBlock, Justifies, LengthUnits, MediaQueries, Modal, ModalMarginTranslations, ModalPositionTranslations, ModalPositions, ObjectFits, PropTypes, Repeats, State, TextBlock, TextButtonBlock, closeApp, closed, collection, createFog, embed, ensureModalRoot, finalize, getMarginStyle, getPositionStyle, h, handleFocus, handleKeydown, hasSuffix, hideOnScroll, hideOnTime, initialize, isPreview, linkTo, maximumZindex, moveTo, none, onScroll, onTime, randStr, send_event, setMiximumZindex, setPreviousFocus, showOnScroll, showOnTime, state, toBr };
|
|
2263
|
+
export { Alignments, AnimationStyleTranslations, AnimationStyles, BackgroundSizes, DefaultModalPlacement, Directions, Flex, FlexItem, Grid, GridItem, GridModalState, ImageBlock, Justifies, LengthUnits, MediaQueries, Modal, ModalMarginTranslations, ModalPositionTranslations, ModalPositions, ObjectFits, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, closeApp, closed, collection, createFog, embed, ensureModalRoot, finalize, getMarginStyle, getPositionStyle, h, handleFocus, handleKeydown, hasSuffix, hideOnScroll, hideOnTime, initialize, isPreview, linkTo, maximumZindex, moveTo, none, onScroll, onTime, randStr, send_event, setMiximumZindex, setPreviousFocus, showOnScroll, showOnTime, state, toBr };
|