@plaidev/karte-action-sdk 1.1.126 → 1.1.127-27953328.1721c5e0
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 +69 -2
- package/dist/hydrate/index.es.js +303 -147
- package/dist/index.es.d.ts +69 -2
- package/dist/index.es.js +284 -137
- package/dist/templates.cjs.js +2 -1
- package/dist/templates.js +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -439,6 +439,32 @@ function updateInternalHandlers(handlers) {
|
|
439
439
|
});
|
440
440
|
return getInternalHandlers();
|
441
441
|
}
|
442
|
+
/**
|
443
|
+
* Store to handle internal event handlers for widget API
|
444
|
+
*
|
445
|
+
* @internal
|
446
|
+
*/
|
447
|
+
const widgetHandlers = writable({});
|
448
|
+
/**
|
449
|
+
* {@link getWidgetHandlers} function to get internal event handlers for widget API.
|
450
|
+
*
|
451
|
+
* @param handlers - New internal widget event handlers
|
452
|
+
*
|
453
|
+
* @returns Current internal widget handlers
|
454
|
+
*
|
455
|
+
* @internal
|
456
|
+
*/
|
457
|
+
function getWidgetHandlers() {
|
458
|
+
return get(widgetHandlers);
|
459
|
+
}
|
460
|
+
/**
|
461
|
+
* {@link setWidgetHandlers} function to set internal event handlers.
|
462
|
+
*
|
463
|
+
* @internal
|
464
|
+
*/
|
465
|
+
function setWidgetHandlers(handlers) {
|
466
|
+
widgetHandlers.set(handlers);
|
467
|
+
}
|
442
468
|
/**
|
443
469
|
* Store to handle custom event handlers
|
444
470
|
*
|
@@ -958,9 +984,11 @@ const EVENTS_LIMIT = 1000;
|
|
958
984
|
let logs = [];
|
959
985
|
// KARTEイベント
|
960
986
|
let events = [];
|
987
|
+
/** @internal */
|
961
988
|
function getLogs() {
|
962
989
|
return logs;
|
963
990
|
}
|
991
|
+
/** @internal */
|
964
992
|
function getEvents() {
|
965
993
|
return events;
|
966
994
|
}
|
@@ -970,22 +998,24 @@ function w(w) {
|
|
970
998
|
}
|
971
999
|
/**
|
972
1000
|
* ログを送信する関数群
|
1001
|
+
*
|
1002
|
+
* @internal
|
973
1003
|
*/
|
974
1004
|
const logger = {
|
975
1005
|
info: (...messages) => {
|
976
|
-
const log = { level: 'info', messages, date: new Date() };
|
1006
|
+
const log = cloneToJson({ level: 'info', messages, date: new Date() });
|
977
1007
|
w(window).postMessage({ type: 'KARTE-ACTION-LOGGER', detail: { method: 'log', log } }, '*');
|
978
1008
|
},
|
979
1009
|
log: (...messages) => {
|
980
|
-
const log = { level: 'info', messages, date: new Date() };
|
1010
|
+
const log = cloneToJson({ level: 'info', messages, date: new Date() });
|
981
1011
|
w(window).postMessage({ type: 'KARTE-ACTION-LOGGER', detail: { method: 'log', log } }, '*');
|
982
1012
|
},
|
983
1013
|
error: (...messages) => {
|
984
|
-
const log = { level: 'error', messages, date: new Date() };
|
1014
|
+
const log = cloneToJson({ level: 'error', messages, date: new Date() });
|
985
1015
|
w(window).postMessage({ type: 'KARTE-ACTION-LOGGER', detail: { method: 'log', log } }, '*');
|
986
1016
|
},
|
987
1017
|
warn: (...messages) => {
|
988
|
-
const log = { level: 'warn', messages, date: new Date() };
|
1018
|
+
const log = cloneToJson({ level: 'warn', messages, date: new Date() });
|
989
1019
|
w(window).postMessage({ type: 'KARTE-ACTION-LOGGER', detail: { method: 'log', log } }, '*');
|
990
1020
|
},
|
991
1021
|
event: (name, values) => {
|
@@ -1004,6 +1034,8 @@ const logger = {
|
|
1004
1034
|
};
|
1005
1035
|
/**
|
1006
1036
|
* メッセージを実行ログに表示する
|
1037
|
+
*
|
1038
|
+
* @internal
|
1007
1039
|
*/
|
1008
1040
|
function listenLogger() {
|
1009
1041
|
const handler = (event) => {
|
@@ -1044,6 +1076,14 @@ function listenLogger() {
|
|
1044
1076
|
window.removeEventListener('message', handler, false);
|
1045
1077
|
};
|
1046
1078
|
}
|
1079
|
+
function cloneToJson(data) {
|
1080
|
+
try {
|
1081
|
+
return JSON.parse(JSON.stringify(data));
|
1082
|
+
}
|
1083
|
+
catch (e) {
|
1084
|
+
return data;
|
1085
|
+
}
|
1086
|
+
}
|
1047
1087
|
|
1048
1088
|
function doPresent({ direction, deltaRate }, downFn, upFn, condition = false) {
|
1049
1089
|
if (direction === 'down' && deltaRate > 0) {
|
@@ -1361,6 +1401,11 @@ const WritingModes = ['horizontal-tb', 'vertical-lr'];
|
|
1361
1401
|
/** @internal */
|
1362
1402
|
const ListSeparatorTypes = ['none', 'border', 'gap'];
|
1363
1403
|
/** @internal */
|
1404
|
+
const DefaultEdgePosition = {
|
1405
|
+
edgeDistance: '8px',
|
1406
|
+
edgeDirectionOffset: '0px',
|
1407
|
+
};
|
1408
|
+
/** @internal */
|
1364
1409
|
const DefaultListSeparatorNone = {
|
1365
1410
|
type: 'none',
|
1366
1411
|
};
|
@@ -1522,6 +1567,8 @@ const loadActionTable = async (config, api_key, endpoint) => {
|
|
1522
1567
|
}, {});
|
1523
1568
|
};
|
1524
1569
|
|
1570
|
+
/** @internal */
|
1571
|
+
const ACTION_HOOK_LABEL = '__ACTION_HOOK__';
|
1525
1572
|
/**
|
1526
1573
|
* アクションが作成 (create) される前にフックする関数
|
1527
1574
|
*
|
@@ -1575,12 +1622,12 @@ function onClose(fn) {
|
|
1575
1622
|
* @public
|
1576
1623
|
*/
|
1577
1624
|
function onDestroy(fn) {
|
1578
|
-
let {
|
1579
|
-
if (!
|
1580
|
-
|
1625
|
+
let { onDestroyHandlers } = getInternalHandlers();
|
1626
|
+
if (!onDestroyHandlers) {
|
1627
|
+
onDestroyHandlers = [];
|
1581
1628
|
}
|
1582
|
-
|
1583
|
-
updateInternalHandlers({
|
1629
|
+
onDestroyHandlers.push(fn);
|
1630
|
+
updateInternalHandlers({ onDestroyHandlers });
|
1584
1631
|
}
|
1585
1632
|
/**
|
1586
1633
|
* アクションのステートが変更された (changeState) 後にフックする関数
|
@@ -1621,13 +1668,21 @@ function create(App, options = {
|
|
1621
1668
|
};
|
1622
1669
|
const actionProps = { send: options.send, data };
|
1623
1670
|
initialize({ send: options.send });
|
1624
|
-
|
1625
|
-
window.addEventListener(ACTION_DESTROY_EVENT, () => {
|
1671
|
+
const handleDestroy = () => {
|
1626
1672
|
const { onDestroyHandlers } = getInternalHandlers();
|
1627
|
-
onDestroyHandlers?.forEach(h =>
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1673
|
+
onDestroyHandlers?.forEach(h => {
|
1674
|
+
const actionHookLog = { name: 'onDestroy' };
|
1675
|
+
console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify(actionHookLog)}`);
|
1676
|
+
h(actionProps);
|
1677
|
+
});
|
1678
|
+
// 旧Widget APIの内部で利用するため、実行ログは出力しない
|
1679
|
+
const { onDestroyHandlers: onDestroyWidgetHandlers } = getWidgetHandlers();
|
1680
|
+
if (onDestroyWidgetHandlers) {
|
1681
|
+
onDestroyWidgetHandlers.forEach(h => h(actionProps));
|
1682
|
+
}
|
1683
|
+
};
|
1684
|
+
// NOTE: onCreateより前にListenする必要がある
|
1685
|
+
window.addEventListener(ACTION_DESTROY_EVENT, handleDestroy);
|
1631
1686
|
window.addEventListener('beforeunload', dispatchDestroyEvent, false);
|
1632
1687
|
setSystem({
|
1633
1688
|
// @ts-ignore
|
@@ -1649,9 +1704,14 @@ function create(App, options = {
|
|
1649
1704
|
window.removeEventListener(ACTION_CHANGE_STATE_EVENT, handleState);
|
1650
1705
|
const { onCloseHandlers } = getInternalHandlers();
|
1651
1706
|
if (onCloseHandlers) {
|
1652
|
-
onCloseHandlers.forEach(h =>
|
1707
|
+
onCloseHandlers.forEach(h => {
|
1708
|
+
const actionHookLog = { name: 'onClose', values: { trigger } };
|
1709
|
+
console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify(actionHookLog)}`);
|
1710
|
+
h({ send: options.send, data }, trigger);
|
1711
|
+
});
|
1653
1712
|
}
|
1654
1713
|
finalize();
|
1714
|
+
dispatchDestroyEvent();
|
1655
1715
|
app.$destroy();
|
1656
1716
|
app = null;
|
1657
1717
|
};
|
@@ -1677,12 +1737,28 @@ function create(App, options = {
|
|
1677
1737
|
onShow: (props) => {
|
1678
1738
|
const { onShowHandlers } = getInternalHandlers();
|
1679
1739
|
if (onShowHandlers) {
|
1680
|
-
onShowHandlers.forEach(h =>
|
1740
|
+
onShowHandlers.forEach(h => {
|
1741
|
+
const actionHookLog = { name: 'onShow' };
|
1742
|
+
console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify(actionHookLog)}`);
|
1743
|
+
h(props);
|
1744
|
+
});
|
1681
1745
|
}
|
1682
1746
|
},
|
1683
1747
|
onChangeState: (props, newState) => {
|
1684
1748
|
const { onChangeStateHandlers } = getInternalHandlers();
|
1685
1749
|
if (onChangeStateHandlers) {
|
1750
|
+
onChangeStateHandlers.forEach(h => {
|
1751
|
+
const actionHookLog = {
|
1752
|
+
name: 'onChangeState',
|
1753
|
+
values: { newState },
|
1754
|
+
};
|
1755
|
+
console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify(actionHookLog)}`);
|
1756
|
+
h(props, newState);
|
1757
|
+
});
|
1758
|
+
}
|
1759
|
+
// 旧Widget APIの内部で利用するため、実行ログは出力しない
|
1760
|
+
const { onChangeStateHandlers: onChangeWidgetStateHandlers } = getWidgetHandlers();
|
1761
|
+
if (onChangeWidgetStateHandlers) {
|
1686
1762
|
onChangeStateHandlers.forEach(h => h(props, newState));
|
1687
1763
|
}
|
1688
1764
|
},
|
@@ -1727,7 +1803,10 @@ function create(App, options = {
|
|
1727
1803
|
}
|
1728
1804
|
const { onCreateHandlers } = getInternalHandlers();
|
1729
1805
|
if (onCreateHandlers) {
|
1730
|
-
onCreateHandlers.forEach(h =>
|
1806
|
+
onCreateHandlers.forEach(h => {
|
1807
|
+
h({ send: options.send, data });
|
1808
|
+
console.debug(`${ACTION_HOOK_LABEL}: onCreate`);
|
1809
|
+
});
|
1731
1810
|
}
|
1732
1811
|
// 初期化処理
|
1733
1812
|
// NOTE: onCreateの後に実行する必要がある
|
@@ -1735,6 +1814,8 @@ function create(App, options = {
|
|
1735
1814
|
return () => {
|
1736
1815
|
window.removeEventListener(ACTION_SHOW_EVENT, show);
|
1737
1816
|
window.removeEventListener(ACTION_CLOSE_EVENT, handleClose);
|
1817
|
+
window.removeEventListener(ACTION_DESTROY_EVENT, handleDestroy);
|
1818
|
+
window.removeEventListener('beforeunload', dispatchDestroyEvent, false);
|
1738
1819
|
};
|
1739
1820
|
}
|
1740
1821
|
let hideCleanup = NOOP;
|
@@ -1749,6 +1830,8 @@ function create(App, options = {
|
|
1749
1830
|
showCleanup();
|
1750
1831
|
window.removeEventListener(ACTION_SHOW_EVENT, show);
|
1751
1832
|
window.removeEventListener(ACTION_CLOSE_EVENT, handleClose);
|
1833
|
+
window.removeEventListener(ACTION_DESTROY_EVENT, handleDestroy);
|
1834
|
+
window.removeEventListener('beforeunload', dispatchDestroyEvent, false);
|
1752
1835
|
};
|
1753
1836
|
}
|
1754
1837
|
/**
|
@@ -2063,15 +2146,21 @@ const STORE_LS_KEY_PREFIX = 'krt___';
|
|
2063
2146
|
const valCallbacks = {};
|
2064
2147
|
const eventCallbacks = {};
|
2065
2148
|
const memoryStore = {};
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2149
|
+
setWidgetHandlers({
|
2150
|
+
onChangeState: [
|
2151
|
+
(_props, newState) => {
|
2152
|
+
setVal('state', newState);
|
2153
|
+
},
|
2154
|
+
],
|
2155
|
+
onDestroy: [
|
2156
|
+
() => {
|
2157
|
+
Object.entries(eventCallbacks).map(([name, cbs]) => {
|
2158
|
+
cbs.forEach(cb => {
|
2159
|
+
window.removeEventListener(name, cb);
|
2160
|
+
});
|
2161
|
+
});
|
2162
|
+
},
|
2163
|
+
],
|
2075
2164
|
});
|
2076
2165
|
/**
|
2077
2166
|
* 変数を設定する
|
@@ -6631,109 +6720,119 @@ class FormRatingButtons extends SvelteComponent {
|
|
6631
6720
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
6632
6721
|
|
6633
6722
|
function add_css$4(target) {
|
6634
|
-
append_styles(target, "svelte-
|
6723
|
+
append_styles(target, "svelte-c7zaph", ".root.svelte-c7zaph{width:100%;height:100%;position:relative}.container.svelte-c7zaph{width:100%;height:100%;position:relative;overflow:hidden}.slide.svelte-c7zaph{height:100%;position:absolute;display:flex}.transition.svelte-c7zaph{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-c7zaph{height:100%;flex:none}.prev-button.svelte-c7zaph,.next-button.svelte-c7zaph{top:50%;height:0;position:absolute;display:flex;overflow:visible;align-items:center}.prev-button.svelte-c7zaph{left:0}.next-button.svelte-c7zaph{right:0}.button-container.svelte-c7zaph{display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box}.navigation.svelte-c7zaph{position:absolute;width:0;left:50%;bottom:0;display:flex;justify-content:center;overflow:visible}.navigation-item.svelte-c7zaph{flex-shrink:0;cursor:pointer}.navigation-item-inner.circle.svelte-c7zaph{border-radius:51%}");
|
6635
6724
|
}
|
6636
6725
|
|
6637
6726
|
function get_each_context(ctx, list, i) {
|
6638
6727
|
const child_ctx = ctx.slice();
|
6639
|
-
child_ctx[
|
6640
|
-
child_ctx[
|
6728
|
+
child_ctx[57] = list[i];
|
6729
|
+
child_ctx[59] = i;
|
6641
6730
|
return child_ctx;
|
6642
6731
|
}
|
6643
6732
|
|
6644
|
-
// (
|
6733
|
+
// (349:2) {#if isVisiblePrevButton}
|
6645
6734
|
function create_if_block_1(ctx) {
|
6646
|
-
let div2;
|
6647
6735
|
let div1;
|
6648
6736
|
let div0;
|
6737
|
+
let svg;
|
6738
|
+
let polygon;
|
6649
6739
|
let mounted;
|
6650
6740
|
let dispose;
|
6651
6741
|
|
6652
6742
|
return {
|
6653
6743
|
c() {
|
6654
|
-
div2 = element("div");
|
6655
6744
|
div1 = element("div");
|
6656
6745
|
div0 = element("div");
|
6657
|
-
|
6658
|
-
|
6659
|
-
attr(
|
6660
|
-
attr(
|
6661
|
-
attr(
|
6746
|
+
svg = svg_element("svg");
|
6747
|
+
polygon = svg_element("polygon");
|
6748
|
+
attr(polygon, "points", "8,0 10,2 4,8 10,14 8,16 0,8");
|
6749
|
+
attr(svg, "viewBox", "0 0 10 16");
|
6750
|
+
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
6751
|
+
attr(svg, "style", /*prevIconStyle*/ ctx[9]);
|
6752
|
+
attr(div0, "class", "button-container svelte-c7zaph");
|
6753
|
+
attr(div0, "style", /*_prevButtonContainerStyle*/ ctx[8]);
|
6754
|
+
attr(div1, "class", "prev-button svelte-c7zaph");
|
6662
6755
|
},
|
6663
6756
|
m(target, anchor) {
|
6664
|
-
insert(target,
|
6665
|
-
append(div2, div1);
|
6757
|
+
insert(target, div1, anchor);
|
6666
6758
|
append(div1, div0);
|
6759
|
+
append(div0, svg);
|
6760
|
+
append(svg, polygon);
|
6667
6761
|
|
6668
6762
|
if (!mounted) {
|
6669
|
-
dispose = listen(
|
6763
|
+
dispose = listen(div1, "click", /*prev*/ ctx[14]);
|
6670
6764
|
mounted = true;
|
6671
6765
|
}
|
6672
6766
|
},
|
6673
6767
|
p(ctx, dirty) {
|
6674
6768
|
if (dirty[0] & /*prevIconStyle*/ 512) {
|
6675
|
-
attr(
|
6769
|
+
attr(svg, "style", /*prevIconStyle*/ ctx[9]);
|
6676
6770
|
}
|
6677
6771
|
|
6678
|
-
if (dirty[0] & /*
|
6679
|
-
attr(
|
6772
|
+
if (dirty[0] & /*_prevButtonContainerStyle*/ 256) {
|
6773
|
+
attr(div0, "style", /*_prevButtonContainerStyle*/ ctx[8]);
|
6680
6774
|
}
|
6681
6775
|
},
|
6682
6776
|
d(detaching) {
|
6683
|
-
if (detaching) detach(
|
6777
|
+
if (detaching) detach(div1);
|
6684
6778
|
mounted = false;
|
6685
6779
|
dispose();
|
6686
6780
|
}
|
6687
6781
|
};
|
6688
6782
|
}
|
6689
6783
|
|
6690
|
-
// (
|
6784
|
+
// (358:2) {#if isVisibleNextButton}
|
6691
6785
|
function create_if_block(ctx) {
|
6692
|
-
let div2;
|
6693
6786
|
let div1;
|
6694
6787
|
let div0;
|
6788
|
+
let svg;
|
6789
|
+
let polygon;
|
6695
6790
|
let mounted;
|
6696
6791
|
let dispose;
|
6697
6792
|
|
6698
6793
|
return {
|
6699
6794
|
c() {
|
6700
|
-
div2 = element("div");
|
6701
6795
|
div1 = element("div");
|
6702
6796
|
div0 = element("div");
|
6703
|
-
|
6704
|
-
|
6705
|
-
attr(
|
6706
|
-
attr(
|
6707
|
-
attr(
|
6797
|
+
svg = svg_element("svg");
|
6798
|
+
polygon = svg_element("polygon");
|
6799
|
+
attr(polygon, "points", "2,0 10,8 2,16 0,14 6,8 0,2");
|
6800
|
+
attr(svg, "viewBox", "0 0 10 16");
|
6801
|
+
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
6802
|
+
attr(svg, "style", /*nextIconStyle*/ ctx[7]);
|
6803
|
+
attr(div0, "class", "button-container svelte-c7zaph");
|
6804
|
+
attr(div0, "style", /*_nextButtonContainerStyle*/ ctx[6]);
|
6805
|
+
attr(div1, "class", "next-button svelte-c7zaph");
|
6708
6806
|
},
|
6709
6807
|
m(target, anchor) {
|
6710
|
-
insert(target,
|
6711
|
-
append(div2, div1);
|
6808
|
+
insert(target, div1, anchor);
|
6712
6809
|
append(div1, div0);
|
6810
|
+
append(div0, svg);
|
6811
|
+
append(svg, polygon);
|
6713
6812
|
|
6714
6813
|
if (!mounted) {
|
6715
|
-
dispose = listen(
|
6814
|
+
dispose = listen(div1, "click", /*next*/ ctx[15]);
|
6716
6815
|
mounted = true;
|
6717
6816
|
}
|
6718
6817
|
},
|
6719
6818
|
p(ctx, dirty) {
|
6720
|
-
if (dirty[0] & /*nextIconStyle*/
|
6721
|
-
attr(
|
6819
|
+
if (dirty[0] & /*nextIconStyle*/ 128) {
|
6820
|
+
attr(svg, "style", /*nextIconStyle*/ ctx[7]);
|
6722
6821
|
}
|
6723
6822
|
|
6724
|
-
if (dirty[0] & /*
|
6725
|
-
attr(
|
6823
|
+
if (dirty[0] & /*_nextButtonContainerStyle*/ 64) {
|
6824
|
+
attr(div0, "style", /*_nextButtonContainerStyle*/ ctx[6]);
|
6726
6825
|
}
|
6727
6826
|
},
|
6728
6827
|
d(detaching) {
|
6729
|
-
if (detaching) detach(
|
6828
|
+
if (detaching) detach(div1);
|
6730
6829
|
mounted = false;
|
6731
6830
|
dispose();
|
6732
6831
|
}
|
6733
6832
|
};
|
6734
6833
|
}
|
6735
6834
|
|
6736
|
-
// (
|
6835
|
+
// (371:4) {#each items as _, i}
|
6737
6836
|
function create_each_block(ctx) {
|
6738
6837
|
let div1;
|
6739
6838
|
let div0;
|
@@ -6743,7 +6842,7 @@ function create_each_block(ctx) {
|
|
6743
6842
|
let dispose;
|
6744
6843
|
|
6745
6844
|
function click_handler() {
|
6746
|
-
return /*click_handler*/ ctx[
|
6845
|
+
return /*click_handler*/ ctx[34](/*i*/ ctx[59]);
|
6747
6846
|
}
|
6748
6847
|
|
6749
6848
|
return {
|
@@ -6751,10 +6850,10 @@ function create_each_block(ctx) {
|
|
6751
6850
|
div1 = element("div");
|
6752
6851
|
div0 = element("div");
|
6753
6852
|
t = space();
|
6754
|
-
attr(div0, "class", "navigation-item-inner circle svelte-
|
6755
|
-
attr(div0, "style", div0_style_value = /*getNavigationItemInnerStyle*/ ctx[
|
6756
|
-
attr(div1, "class", "navigation-item svelte-
|
6757
|
-
attr(div1, "style", /*navigationItemStyle*/ ctx[
|
6853
|
+
attr(div0, "class", "navigation-item-inner circle svelte-c7zaph");
|
6854
|
+
attr(div0, "style", div0_style_value = /*getNavigationItemInnerStyle*/ ctx[4](/*i*/ ctx[59]));
|
6855
|
+
attr(div1, "class", "navigation-item svelte-c7zaph");
|
6856
|
+
attr(div1, "style", /*navigationItemStyle*/ ctx[5]);
|
6758
6857
|
},
|
6759
6858
|
m(target, anchor) {
|
6760
6859
|
insert(target, div1, anchor);
|
@@ -6769,12 +6868,12 @@ function create_each_block(ctx) {
|
|
6769
6868
|
p(new_ctx, dirty) {
|
6770
6869
|
ctx = new_ctx;
|
6771
6870
|
|
6772
|
-
if (dirty[0] & /*getNavigationItemInnerStyle*/
|
6871
|
+
if (dirty[0] & /*getNavigationItemInnerStyle*/ 16 && div0_style_value !== (div0_style_value = /*getNavigationItemInnerStyle*/ ctx[4](/*i*/ ctx[59]))) {
|
6773
6872
|
attr(div0, "style", div0_style_value);
|
6774
6873
|
}
|
6775
6874
|
|
6776
|
-
if (dirty[0] & /*navigationItemStyle*/
|
6777
|
-
attr(div1, "style", /*navigationItemStyle*/ ctx[
|
6875
|
+
if (dirty[0] & /*navigationItemStyle*/ 32) {
|
6876
|
+
attr(div1, "style", /*navigationItemStyle*/ ctx[5]);
|
6778
6877
|
}
|
6779
6878
|
},
|
6780
6879
|
d(detaching) {
|
@@ -6795,11 +6894,11 @@ function create_fragment$4(ctx) {
|
|
6795
6894
|
let t2;
|
6796
6895
|
let div2;
|
6797
6896
|
let current;
|
6798
|
-
const default_slot_template = /*#slots*/ ctx[
|
6799
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
6897
|
+
const default_slot_template = /*#slots*/ ctx[31].default;
|
6898
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[30], null);
|
6800
6899
|
let if_block0 = /*isVisiblePrevButton*/ ctx[11] && create_if_block_1(ctx);
|
6801
6900
|
let if_block1 = /*isVisibleNextButton*/ ctx[10] && create_if_block(ctx);
|
6802
|
-
let each_value = /*items*/ ctx[
|
6901
|
+
let each_value = /*items*/ ctx[0];
|
6803
6902
|
let each_blocks = [];
|
6804
6903
|
|
6805
6904
|
for (let i = 0; i < each_value.length; i += 1) {
|
@@ -6823,12 +6922,12 @@ function create_fragment$4(ctx) {
|
|
6823
6922
|
each_blocks[i].c();
|
6824
6923
|
}
|
6825
6924
|
|
6826
|
-
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[12]) + " svelte-
|
6925
|
+
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[12]) + " svelte-c7zaph"));
|
6827
6926
|
attr(div0, "style", /*slideStyle*/ ctx[13]);
|
6828
|
-
attr(div1, "class", "container svelte-
|
6829
|
-
attr(div2, "class", "navigation svelte-
|
6830
|
-
attr(div2, "style", /*navigationStyle*/ ctx[
|
6831
|
-
attr(div3, "class", "root svelte-
|
6927
|
+
attr(div1, "class", "container svelte-c7zaph");
|
6928
|
+
attr(div2, "class", "navigation svelte-c7zaph");
|
6929
|
+
attr(div2, "style", /*navigationStyle*/ ctx[3]);
|
6930
|
+
attr(div3, "class", "root svelte-c7zaph");
|
6832
6931
|
},
|
6833
6932
|
m(target, anchor) {
|
6834
6933
|
insert(target, div3, anchor);
|
@@ -6839,8 +6938,8 @@ function create_fragment$4(ctx) {
|
|
6839
6938
|
default_slot.m(div0, null);
|
6840
6939
|
}
|
6841
6940
|
|
6842
|
-
/*div0_binding*/ ctx[
|
6843
|
-
/*div1_binding*/ ctx[
|
6941
|
+
/*div0_binding*/ ctx[32](div0);
|
6942
|
+
/*div1_binding*/ ctx[33](div1);
|
6844
6943
|
append(div3, t0);
|
6845
6944
|
if (if_block0) if_block0.m(div3, null);
|
6846
6945
|
append(div3, t1);
|
@@ -6856,21 +6955,21 @@ function create_fragment$4(ctx) {
|
|
6856
6955
|
},
|
6857
6956
|
p(ctx, dirty) {
|
6858
6957
|
if (default_slot) {
|
6859
|
-
if (default_slot.p && (!current || dirty[0] & /*$$scope*/
|
6958
|
+
if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 1073741824)) {
|
6860
6959
|
update_slot_base(
|
6861
6960
|
default_slot,
|
6862
6961
|
default_slot_template,
|
6863
6962
|
ctx,
|
6864
|
-
/*$$scope*/ ctx[
|
6963
|
+
/*$$scope*/ ctx[30],
|
6865
6964
|
!current
|
6866
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
6867
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
6965
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[30])
|
6966
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[30], dirty, null),
|
6868
6967
|
null
|
6869
6968
|
);
|
6870
6969
|
}
|
6871
6970
|
}
|
6872
6971
|
|
6873
|
-
if (!current || dirty[0] & /*slideClass*/ 4096 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[12]) + " svelte-
|
6972
|
+
if (!current || dirty[0] & /*slideClass*/ 4096 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[12]) + " svelte-c7zaph"))) {
|
6874
6973
|
attr(div0, "class", div0_class_value);
|
6875
6974
|
}
|
6876
6975
|
|
@@ -6904,8 +7003,8 @@ function create_fragment$4(ctx) {
|
|
6904
7003
|
if_block1 = null;
|
6905
7004
|
}
|
6906
7005
|
|
6907
|
-
if (dirty[0] & /*navigationItemStyle, set, getNavigationItemInnerStyle, items*/
|
6908
|
-
each_value = /*items*/ ctx[
|
7006
|
+
if (dirty[0] & /*navigationItemStyle, set, getNavigationItemInnerStyle, items*/ 65585) {
|
7007
|
+
each_value = /*items*/ ctx[0];
|
6909
7008
|
let i;
|
6910
7009
|
|
6911
7010
|
for (i = 0; i < each_value.length; i += 1) {
|
@@ -6927,8 +7026,8 @@ function create_fragment$4(ctx) {
|
|
6927
7026
|
each_blocks.length = each_value.length;
|
6928
7027
|
}
|
6929
7028
|
|
6930
|
-
if (!current || dirty[0] & /*navigationStyle*/
|
6931
|
-
attr(div2, "style", /*navigationStyle*/ ctx[
|
7029
|
+
if (!current || dirty[0] & /*navigationStyle*/ 8) {
|
7030
|
+
attr(div2, "style", /*navigationStyle*/ ctx[3]);
|
6932
7031
|
}
|
6933
7032
|
},
|
6934
7033
|
i(local) {
|
@@ -6943,8 +7042,8 @@ function create_fragment$4(ctx) {
|
|
6943
7042
|
d(detaching) {
|
6944
7043
|
if (detaching) detach(div3);
|
6945
7044
|
if (default_slot) default_slot.d(detaching);
|
6946
|
-
/*div0_binding*/ ctx[
|
6947
|
-
/*div1_binding*/ ctx[
|
7045
|
+
/*div0_binding*/ ctx[32](null);
|
7046
|
+
/*div1_binding*/ ctx[33](null);
|
6948
7047
|
if (if_block0) if_block0.d();
|
6949
7048
|
if (if_block1) if_block1.d();
|
6950
7049
|
destroy_each(each_blocks, detaching);
|
@@ -6971,9 +7070,12 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6971
7070
|
let isVisiblePrevButton;
|
6972
7071
|
let isVisibleNextButton;
|
6973
7072
|
let prevIconStyle;
|
7073
|
+
let _prevButtonContainerStyle;
|
6974
7074
|
let nextIconStyle;
|
7075
|
+
let _nextButtonContainerStyle;
|
6975
7076
|
let navigationItemStyle;
|
6976
7077
|
let getNavigationItemInnerStyle;
|
7078
|
+
let navigationStyle;
|
6977
7079
|
let { $$slots: slots = {}, $$scope } = $$props;
|
6978
7080
|
let { loop = false } = $$props;
|
6979
7081
|
|
@@ -6985,7 +7087,12 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6985
7087
|
size: '20px'
|
6986
7088
|
} } = $$props;
|
6987
7089
|
|
6988
|
-
let { prevButtonContainerStyle = 'height: 48px; width: 24px;
|
7090
|
+
let { prevButtonContainerStyle = 'height: 48px; width: 24px;' } = $$props;
|
7091
|
+
|
7092
|
+
let { prevButtonEdgePosition = {
|
7093
|
+
edgeDistance: '8px',
|
7094
|
+
edgeDirectionOffset: '0px'
|
7095
|
+
} } = $$props;
|
6989
7096
|
|
6990
7097
|
let { nextButton = {
|
6991
7098
|
type: 'icon',
|
@@ -6995,7 +7102,12 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
6995
7102
|
size: '20px'
|
6996
7103
|
} } = $$props;
|
6997
7104
|
|
6998
|
-
let { nextButtonContainerStyle = 'height: 48px; width: 24px;
|
7105
|
+
let { nextButtonContainerStyle = 'height: 48px; width: 24px;' } = $$props;
|
7106
|
+
|
7107
|
+
let { nextButtonEdgePosition = {
|
7108
|
+
edgeDistance: '8px',
|
7109
|
+
edgeDirectionOffset: '0px'
|
7110
|
+
} } = $$props;
|
6999
7111
|
|
7000
7112
|
let { navigationButton = {
|
7001
7113
|
type: 'circle',
|
@@ -7004,18 +7116,22 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7004
7116
|
colorActive: '#666'
|
7005
7117
|
} } = $$props;
|
7006
7118
|
|
7007
|
-
let {
|
7119
|
+
let { navigationEdgePosition = {
|
7120
|
+
edgeDistance: '8px',
|
7121
|
+
edgeDirectionOffset: '0px'
|
7122
|
+
} } = $$props;
|
7123
|
+
|
7008
7124
|
let items = [];
|
7009
7125
|
const dispatch = createEventDispatcher();
|
7010
7126
|
|
7011
7127
|
setContext('SLIDE', {
|
7012
7128
|
registerItem: ({ onBeforeSlide, onMount, onResize }) => {
|
7013
7129
|
const id = new Date().getTime().toString();
|
7014
|
-
$$invalidate(
|
7130
|
+
$$invalidate(0, items = [...items, { id, onBeforeSlide, onMount, onResize }]);
|
7015
7131
|
return id;
|
7016
7132
|
},
|
7017
7133
|
unregisterItem: id => {
|
7018
|
-
$$invalidate(
|
7134
|
+
$$invalidate(0, items = items.filter(item => item.id !== id));
|
7019
7135
|
}
|
7020
7136
|
});
|
7021
7137
|
|
@@ -7042,7 +7158,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7042
7158
|
onBeforeSlide({ shiftCount, index, length: items.length });
|
7043
7159
|
});
|
7044
7160
|
|
7045
|
-
$$invalidate(
|
7161
|
+
$$invalidate(27, slidePosition = slidePosition + containerWidth * (calcPositionIndex(shiftCount, currentSlideId, items.length) - calcPositionIndex(previousShiftCount, currentSlideId, items.length)));
|
7046
7162
|
previousShiftCount = shiftCount;
|
7047
7163
|
resolve();
|
7048
7164
|
});
|
@@ -7053,8 +7169,8 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7053
7169
|
if (transitioning) {
|
7054
7170
|
const slideRect = slideElement.getBoundingClientRect();
|
7055
7171
|
const containerRect = containerElement.getBoundingClientRect();
|
7056
|
-
$$invalidate(
|
7057
|
-
$$invalidate(
|
7172
|
+
$$invalidate(28, transitioning = false);
|
7173
|
+
$$invalidate(27, slidePosition = slideRect.x - containerRect.x);
|
7058
7174
|
}
|
7059
7175
|
}
|
7060
7176
|
|
@@ -7074,10 +7190,10 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7074
7190
|
}
|
7075
7191
|
}
|
7076
7192
|
|
7077
|
-
$$invalidate(
|
7078
|
-
$$invalidate(
|
7193
|
+
$$invalidate(28, transitioning = true);
|
7194
|
+
$$invalidate(27, slidePosition = containerWidth * calcPositionIndex(shiftCount, slideIndex, items.length));
|
7079
7195
|
dispatch('change', { nextIndex: slideIndex });
|
7080
|
-
$$invalidate(
|
7196
|
+
$$invalidate(26, currentSlideId = slideIndex);
|
7081
7197
|
});
|
7082
7198
|
}
|
7083
7199
|
|
@@ -7099,7 +7215,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7099
7215
|
const updatedSlidePosition = slidePosition + dx;
|
7100
7216
|
|
7101
7217
|
window.requestAnimationFrame(() => {
|
7102
|
-
$$invalidate(
|
7218
|
+
$$invalidate(27, slidePosition = updatedSlidePosition);
|
7103
7219
|
});
|
7104
7220
|
}
|
7105
7221
|
|
@@ -7119,7 +7235,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7119
7235
|
});
|
7120
7236
|
});
|
7121
7237
|
|
7122
|
-
$$invalidate(
|
7238
|
+
$$invalidate(27, slidePosition = containerWidth * calcPositionIndex(shiftCount, currentSlideId, items.length));
|
7123
7239
|
}
|
7124
7240
|
|
7125
7241
|
function handleMoveEnd() {
|
@@ -7172,7 +7288,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7172
7288
|
}
|
7173
7289
|
|
7174
7290
|
function handleTransitionEnd() {
|
7175
|
-
$$invalidate(
|
7291
|
+
$$invalidate(28, transitioning = false);
|
7176
7292
|
fixSlidePosition();
|
7177
7293
|
}
|
7178
7294
|
|
@@ -7183,7 +7299,7 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7183
7299
|
item.onMount({ containerElement });
|
7184
7300
|
});
|
7185
7301
|
|
7186
|
-
$$invalidate(
|
7302
|
+
$$invalidate(26, currentSlideId = 0);
|
7187
7303
|
|
7188
7304
|
if (_loop) {
|
7189
7305
|
await fixSlidePosition();
|
@@ -7240,14 +7356,14 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7240
7356
|
function div0_binding($$value) {
|
7241
7357
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
7242
7358
|
slideElement = $$value;
|
7243
|
-
$$invalidate(
|
7359
|
+
$$invalidate(2, slideElement);
|
7244
7360
|
});
|
7245
7361
|
}
|
7246
7362
|
|
7247
7363
|
function div1_binding($$value) {
|
7248
7364
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
7249
7365
|
containerElement = $$value;
|
7250
|
-
$$invalidate(
|
7366
|
+
$$invalidate(1, containerElement);
|
7251
7367
|
});
|
7252
7368
|
}
|
7253
7369
|
|
@@ -7256,71 +7372,95 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
7256
7372
|
$$self.$$set = $$props => {
|
7257
7373
|
if ('loop' in $$props) $$invalidate(17, loop = $$props.loop);
|
7258
7374
|
if ('prevButton' in $$props) $$invalidate(18, prevButton = $$props.prevButton);
|
7259
|
-
if ('prevButtonContainerStyle' in $$props) $$invalidate(
|
7260
|
-
if ('
|
7261
|
-
if ('
|
7262
|
-
if ('
|
7263
|
-
if ('
|
7264
|
-
if ('
|
7375
|
+
if ('prevButtonContainerStyle' in $$props) $$invalidate(19, prevButtonContainerStyle = $$props.prevButtonContainerStyle);
|
7376
|
+
if ('prevButtonEdgePosition' in $$props) $$invalidate(20, prevButtonEdgePosition = $$props.prevButtonEdgePosition);
|
7377
|
+
if ('nextButton' in $$props) $$invalidate(21, nextButton = $$props.nextButton);
|
7378
|
+
if ('nextButtonContainerStyle' in $$props) $$invalidate(22, nextButtonContainerStyle = $$props.nextButtonContainerStyle);
|
7379
|
+
if ('nextButtonEdgePosition' in $$props) $$invalidate(23, nextButtonEdgePosition = $$props.nextButtonEdgePosition);
|
7380
|
+
if ('navigationButton' in $$props) $$invalidate(24, navigationButton = $$props.navigationButton);
|
7381
|
+
if ('navigationEdgePosition' in $$props) $$invalidate(25, navigationEdgePosition = $$props.navigationEdgePosition);
|
7382
|
+
if ('$$scope' in $$props) $$invalidate(30, $$scope = $$props.$$scope);
|
7265
7383
|
};
|
7266
7384
|
|
7267
7385
|
$$self.$$.update = () => {
|
7268
|
-
if ($$self.$$.dirty[0] & /*slidePosition*/
|
7386
|
+
if ($$self.$$.dirty[0] & /*slidePosition*/ 134217728) {
|
7269
7387
|
$$invalidate(13, slideStyle = slidePosition != null ? `left: ${slidePosition}px;` : '');
|
7270
7388
|
}
|
7271
7389
|
|
7272
|
-
if ($$self.$$.dirty[0] & /*transitioning*/
|
7390
|
+
if ($$self.$$.dirty[0] & /*transitioning*/ 268435456) {
|
7273
7391
|
$$invalidate(12, slideClass = ['slide', transitioning ? 'transition' : ''].join(' '));
|
7274
7392
|
}
|
7275
7393
|
|
7276
|
-
if ($$self.$$.dirty[0] & /*items, loop*/
|
7277
|
-
$$invalidate(
|
7394
|
+
if ($$self.$$.dirty[0] & /*items, loop*/ 131073) {
|
7395
|
+
$$invalidate(29, _loop = items.length >= 3 ? loop : false);
|
7278
7396
|
}
|
7279
7397
|
|
7280
|
-
if ($$self.$$.dirty[0] & /*_loop, currentSlideId*/
|
7398
|
+
if ($$self.$$.dirty[0] & /*_loop, currentSlideId*/ 603979776) {
|
7281
7399
|
$$invalidate(11, isVisiblePrevButton = _loop || currentSlideId > 0);
|
7282
7400
|
}
|
7283
7401
|
|
7284
|
-
if ($$self.$$.dirty[0] & /*_loop, currentSlideId, items*/
|
7402
|
+
if ($$self.$$.dirty[0] & /*_loop, currentSlideId, items*/ 603979777) {
|
7285
7403
|
$$invalidate(10, isVisibleNextButton = _loop || currentSlideId < items.length - 1);
|
7286
7404
|
}
|
7287
7405
|
|
7288
7406
|
if ($$self.$$.dirty[0] & /*prevButton*/ 262144) {
|
7289
7407
|
$$invalidate(9, prevIconStyle = prevButton.type === 'icon'
|
7290
|
-
? `
|
7408
|
+
? `height: ${prevButton.size}; fill: ${prevButton.color};`
|
7291
7409
|
: '');
|
7292
7410
|
}
|
7293
7411
|
|
7294
|
-
if ($$self.$$.dirty[0] & /*
|
7295
|
-
$$invalidate(8,
|
7296
|
-
|
7412
|
+
if ($$self.$$.dirty[0] & /*prevButtonEdgePosition, prevButtonContainerStyle*/ 1572864) {
|
7413
|
+
$$invalidate(8, _prevButtonContainerStyle = (() => {
|
7414
|
+
const marginLeft = prevButtonEdgePosition.edgeDistance;
|
7415
|
+
const marginTop = prevButtonEdgePosition.edgeDirectionOffset;
|
7416
|
+
const marginString = `margin:${marginTop} 0 0 ${marginLeft}`;
|
7417
|
+
return [...prevButtonContainerStyle.split(';'), marginString].join(';');
|
7418
|
+
})());
|
7419
|
+
}
|
7420
|
+
|
7421
|
+
if ($$self.$$.dirty[0] & /*nextButton*/ 2097152) {
|
7422
|
+
$$invalidate(7, nextIconStyle = nextButton.type === 'icon'
|
7423
|
+
? `height: ${nextButton.size}; fill: ${nextButton.color};`
|
7297
7424
|
: '');
|
7298
7425
|
}
|
7299
7426
|
|
7300
|
-
if ($$self.$$.dirty[0] & /*
|
7301
|
-
$$invalidate(
|
7427
|
+
if ($$self.$$.dirty[0] & /*nextButtonEdgePosition, nextButtonContainerStyle*/ 12582912) {
|
7428
|
+
$$invalidate(6, _nextButtonContainerStyle = (() => {
|
7429
|
+
const marginRight = nextButtonEdgePosition.edgeDistance;
|
7430
|
+
const marginTop = nextButtonEdgePosition.edgeDirectionOffset;
|
7431
|
+
const marginString = `margin:${marginTop} ${marginRight} 0 0`;
|
7432
|
+
return [...nextButtonContainerStyle.split(';'), marginString].join(';');
|
7433
|
+
})());
|
7302
7434
|
}
|
7303
7435
|
|
7304
|
-
if ($$self.$$.dirty[0] & /*navigationButton
|
7305
|
-
$$invalidate(
|
7436
|
+
if ($$self.$$.dirty[0] & /*navigationButton*/ 16777216) {
|
7437
|
+
$$invalidate(5, navigationItemStyle = `padding: calc(${navigationButton.size} / 2);`);
|
7438
|
+
}
|
7439
|
+
|
7440
|
+
if ($$self.$$.dirty[0] & /*navigationButton, currentSlideId*/ 83886080) {
|
7441
|
+
$$invalidate(4, getNavigationItemInnerStyle = i => `
|
7306
7442
|
width: ${navigationButton.size};
|
7307
7443
|
height: ${navigationButton.size};
|
7308
7444
|
background-color: ${i === currentSlideId
|
7309
7445
|
? navigationButton.colorActive
|
7310
7446
|
: navigationButton.color};`);
|
7311
7447
|
}
|
7448
|
+
|
7449
|
+
if ($$self.$$.dirty[0] & /*navigationEdgePosition*/ 33554432) {
|
7450
|
+
$$invalidate(3, navigationStyle = `margin:0 0 ${navigationEdgePosition.edgeDistance} ${navigationEdgePosition.edgeDirectionOffset}`);
|
7451
|
+
}
|
7312
7452
|
};
|
7313
7453
|
|
7314
7454
|
return [
|
7315
|
-
prevButtonContainerStyle,
|
7316
|
-
nextButtonContainerStyle,
|
7317
|
-
navigationStyle,
|
7318
7455
|
items,
|
7319
7456
|
containerElement,
|
7320
7457
|
slideElement,
|
7458
|
+
navigationStyle,
|
7321
7459
|
getNavigationItemInnerStyle,
|
7322
7460
|
navigationItemStyle,
|
7461
|
+
_nextButtonContainerStyle,
|
7323
7462
|
nextIconStyle,
|
7463
|
+
_prevButtonContainerStyle,
|
7324
7464
|
prevIconStyle,
|
7325
7465
|
isVisibleNextButton,
|
7326
7466
|
isVisiblePrevButton,
|
@@ -7331,8 +7471,13 @@ background-color: ${i === currentSlideId
|
|
7331
7471
|
set,
|
7332
7472
|
loop,
|
7333
7473
|
prevButton,
|
7474
|
+
prevButtonContainerStyle,
|
7475
|
+
prevButtonEdgePosition,
|
7334
7476
|
nextButton,
|
7477
|
+
nextButtonContainerStyle,
|
7478
|
+
nextButtonEdgePosition,
|
7335
7479
|
navigationButton,
|
7480
|
+
navigationEdgePosition,
|
7336
7481
|
currentSlideId,
|
7337
7482
|
slidePosition,
|
7338
7483
|
transitioning,
|
@@ -7358,11 +7503,13 @@ class Slide extends SvelteComponent {
|
|
7358
7503
|
{
|
7359
7504
|
loop: 17,
|
7360
7505
|
prevButton: 18,
|
7361
|
-
prevButtonContainerStyle:
|
7362
|
-
|
7363
|
-
|
7364
|
-
|
7365
|
-
|
7506
|
+
prevButtonContainerStyle: 19,
|
7507
|
+
prevButtonEdgePosition: 20,
|
7508
|
+
nextButton: 21,
|
7509
|
+
nextButtonContainerStyle: 22,
|
7510
|
+
nextButtonEdgePosition: 23,
|
7511
|
+
navigationButton: 24,
|
7512
|
+
navigationEdgePosition: 25
|
7366
7513
|
},
|
7367
7514
|
add_css$4,
|
7368
7515
|
[-1, -1]
|
@@ -7854,4 +8001,4 @@ class ImageBlock extends SvelteComponent {
|
|
7854
8001
|
}
|
7855
8002
|
}
|
7856
8003
|
|
7857
|
-
export { Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultFormButtonStyle, DefaultFormRatingButtonType, DefaultFormSelectStyle, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormCheckBoxes, FormRadioButtons, FormRatingButtonTypes, FormRatingButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyed, ensureModalRoot, finalize, formData, getActionShadowRoot, getCustomHandlers, getCustomVariables, getEvents, getLogs, getState$1 as getState, getStates, getStoreState, getSystem, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setState$1 as setState, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, widget };
|
8004
|
+
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultEdgePosition, DefaultFormButtonStyle, DefaultFormRatingButtonType, DefaultFormSelectStyle, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormCheckBoxes, FormRadioButtons, FormRatingButtonTypes, FormRatingButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyed, ensureModalRoot, finalize, formData, getActionShadowRoot, getCustomHandlers, getCustomVariables, getEvents, getLogs, getState$1 as getState, getStates, getStoreState, getSystem, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setState$1 as setState, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, widget };
|