@plaidev/karte-action-sdk 1.1.116-27929049.d4f5759c → 1.1.117-27929138.b0eb84ea
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 +24 -0
- package/dist/hydrate/index.es.js +9 -1
- package/dist/index.es.d.ts +24 -0
- package/dist/index.es.js +10 -1
- package/package.json +1 -1
|
@@ -404,6 +404,7 @@ type SlideButtonType = "icon" | "text";
|
|
|
404
404
|
type BaseSlideButton = {
|
|
405
405
|
type: SlideButtonType;
|
|
406
406
|
};
|
|
407
|
+
/** @internal */
|
|
407
408
|
interface SlideButtonIcon extends BaseSlideButton {
|
|
408
409
|
type: "icon";
|
|
409
410
|
icon: string;
|
|
@@ -411,11 +412,14 @@ interface SlideButtonIcon extends BaseSlideButton {
|
|
|
411
412
|
color: Color;
|
|
412
413
|
fill: Color;
|
|
413
414
|
}
|
|
415
|
+
/** @internal */
|
|
414
416
|
interface SlideButtonText extends BaseSlideButton {
|
|
415
417
|
type: "text";
|
|
416
418
|
text: string;
|
|
417
419
|
}
|
|
420
|
+
/** @internal */
|
|
418
421
|
type SlideButton = SlideButtonIcon | SlideButtonText;
|
|
422
|
+
/** @internal */
|
|
419
423
|
declare const DefaultSlideButton: {
|
|
420
424
|
readonly type: "icon";
|
|
421
425
|
readonly icon: "chevron-left";
|
|
@@ -423,13 +427,16 @@ declare const DefaultSlideButton: {
|
|
|
423
427
|
readonly fill: "#999";
|
|
424
428
|
readonly size: "20px";
|
|
425
429
|
};
|
|
430
|
+
/** @internal */
|
|
426
431
|
type SlideButtonPosition = "top" | "middle" | "bottom";
|
|
432
|
+
/** @internal */
|
|
427
433
|
interface SlideNavigationButton {
|
|
428
434
|
type: "circle";
|
|
429
435
|
size: Length;
|
|
430
436
|
color: Color;
|
|
431
437
|
colorActive: Color;
|
|
432
438
|
}
|
|
439
|
+
/** @internal */
|
|
433
440
|
declare const DefaultSlideNavigationButton: {
|
|
434
441
|
readonly type: "circle";
|
|
435
442
|
readonly size: "8px";
|
|
@@ -488,6 +495,8 @@ type CustomVariables = {
|
|
|
488
495
|
};
|
|
489
496
|
/**
|
|
490
497
|
* Store to handle action setting
|
|
498
|
+
*
|
|
499
|
+
* @internal
|
|
491
500
|
*/
|
|
492
501
|
declare const actionSetting: Store<ActionSetting>;
|
|
493
502
|
/**
|
|
@@ -519,6 +528,8 @@ declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
|
|
519
528
|
declare function resetActionSetting(): void;
|
|
520
529
|
/**
|
|
521
530
|
* Store to read KARTE system config
|
|
531
|
+
*
|
|
532
|
+
* @internal
|
|
522
533
|
*/
|
|
523
534
|
declare const system: Store<SystemConfig>;
|
|
524
535
|
/**
|
|
@@ -835,6 +846,7 @@ type CloseTrigger = "button" | "overlay" | "auto" | "none";
|
|
|
835
846
|
declare const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
|
|
836
847
|
/** @internal */
|
|
837
848
|
declare const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
|
849
|
+
// prettier-ignore
|
|
838
850
|
/** @internal */
|
|
839
851
|
declare const actionId: string;
|
|
840
852
|
/** @internal */
|
|
@@ -1930,6 +1942,7 @@ declare namespace widget {
|
|
|
1930
1942
|
type BaseSlideButton = {
|
|
1931
1943
|
type: SlideButtonType;
|
|
1932
1944
|
};
|
|
1945
|
+
/** @internal */
|
|
1933
1946
|
interface SlideButtonIcon extends BaseSlideButton {
|
|
1934
1947
|
type: "icon";
|
|
1935
1948
|
icon: string;
|
|
@@ -1937,11 +1950,14 @@ declare namespace widget {
|
|
|
1937
1950
|
color: Color;
|
|
1938
1951
|
fill: Color;
|
|
1939
1952
|
}
|
|
1953
|
+
/** @internal */
|
|
1940
1954
|
interface SlideButtonText extends BaseSlideButton {
|
|
1941
1955
|
type: "text";
|
|
1942
1956
|
text: string;
|
|
1943
1957
|
}
|
|
1958
|
+
/** @internal */
|
|
1944
1959
|
type SlideButton = SlideButtonIcon | SlideButtonText;
|
|
1960
|
+
/** @internal */
|
|
1945
1961
|
const DefaultSlideButton: {
|
|
1946
1962
|
readonly type: "icon";
|
|
1947
1963
|
readonly icon: "chevron-left";
|
|
@@ -1949,13 +1965,16 @@ declare namespace widget {
|
|
|
1949
1965
|
readonly fill: "#999";
|
|
1950
1966
|
readonly size: "20px";
|
|
1951
1967
|
};
|
|
1968
|
+
/** @internal */
|
|
1952
1969
|
type SlideButtonPosition = "top" | "middle" | "bottom";
|
|
1970
|
+
/** @internal */
|
|
1953
1971
|
interface SlideNavigationButton {
|
|
1954
1972
|
type: "circle";
|
|
1955
1973
|
size: Length;
|
|
1956
1974
|
color: Color;
|
|
1957
1975
|
colorActive: Color;
|
|
1958
1976
|
}
|
|
1977
|
+
/** @internal */
|
|
1959
1978
|
const DefaultSlideNavigationButton: {
|
|
1960
1979
|
readonly type: "circle";
|
|
1961
1980
|
readonly size: "8px";
|
|
@@ -2014,6 +2033,8 @@ declare namespace widget {
|
|
|
2014
2033
|
};
|
|
2015
2034
|
/**
|
|
2016
2035
|
* Store to handle action setting
|
|
2036
|
+
*
|
|
2037
|
+
* @internal
|
|
2017
2038
|
*/
|
|
2018
2039
|
const actionSetting: Store<ActionSetting>;
|
|
2019
2040
|
/**
|
|
@@ -2045,6 +2066,8 @@ declare namespace widget {
|
|
|
2045
2066
|
function resetActionSetting(): void;
|
|
2046
2067
|
/**
|
|
2047
2068
|
* Store to read KARTE system config
|
|
2069
|
+
*
|
|
2070
|
+
* @internal
|
|
2048
2071
|
*/
|
|
2049
2072
|
const system: Store<SystemConfig>;
|
|
2050
2073
|
/**
|
|
@@ -2361,6 +2384,7 @@ declare namespace widget {
|
|
|
2361
2384
|
const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
|
|
2362
2385
|
/** @internal */
|
|
2363
2386
|
const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
|
2387
|
+
// prettier-ignore
|
|
2364
2388
|
/** @internal */
|
|
2365
2389
|
const actionId: string;
|
|
2366
2390
|
/** @internal */
|
package/dist/hydrate/index.es.js
CHANGED
|
@@ -212,6 +212,8 @@ function randStr(digit = 8) {
|
|
|
212
212
|
const getStoreState = get;
|
|
213
213
|
/**
|
|
214
214
|
* Store to handle action setting
|
|
215
|
+
*
|
|
216
|
+
* @internal
|
|
215
217
|
*/
|
|
216
218
|
const actionSetting = writable({ autoStart: true });
|
|
217
219
|
/**
|
|
@@ -255,6 +257,8 @@ function resetActionSetting() {
|
|
|
255
257
|
}
|
|
256
258
|
/**
|
|
257
259
|
* Store to read KARTE system config
|
|
260
|
+
*
|
|
261
|
+
* @internal
|
|
258
262
|
*/
|
|
259
263
|
const system = writable({});
|
|
260
264
|
/**
|
|
@@ -602,8 +606,10 @@ const formData = writable({});
|
|
|
602
606
|
const ALL_ACTION_ID = 'KARTE_ALL_ACTION_ID';
|
|
603
607
|
/** @internal */
|
|
604
608
|
const ALL_ACTION_SHORTEN_ID = 'KARTE_ALL_ACTION_SHORTEN_ID';
|
|
609
|
+
// prettier-ignore
|
|
605
610
|
/** @internal */
|
|
606
|
-
const actionId = ALL_ACTION_ID
|
|
611
|
+
const actionId = ALL_ACTION_ID
|
|
612
|
+
;
|
|
607
613
|
/** @internal */
|
|
608
614
|
const ACTION_SHOW_EVENT = `KARTE-ACTION-SHOW-${actionId}`;
|
|
609
615
|
/** @internal */
|
|
@@ -1091,6 +1097,7 @@ const DefaultListBackgroundStripe = {
|
|
|
1091
1097
|
const DefaultListBackground = DefaultListBackgroundNone;
|
|
1092
1098
|
/** @internal */
|
|
1093
1099
|
const ListDirections = ['vertical', 'horizontal'];
|
|
1100
|
+
/** @internal */
|
|
1094
1101
|
const DefaultSlideButton = {
|
|
1095
1102
|
type: 'icon',
|
|
1096
1103
|
icon: 'chevron-left',
|
|
@@ -1098,6 +1105,7 @@ const DefaultSlideButton = {
|
|
|
1098
1105
|
fill: '#999',
|
|
1099
1106
|
size: '20px',
|
|
1100
1107
|
};
|
|
1108
|
+
/** @internal */
|
|
1101
1109
|
const DefaultSlideNavigationButton = {
|
|
1102
1110
|
type: 'circle',
|
|
1103
1111
|
size: '8px',
|
package/dist/index.es.d.ts
CHANGED
|
@@ -404,6 +404,7 @@ type SlideButtonType = "icon" | "text";
|
|
|
404
404
|
type BaseSlideButton = {
|
|
405
405
|
type: SlideButtonType;
|
|
406
406
|
};
|
|
407
|
+
/** @internal */
|
|
407
408
|
interface SlideButtonIcon extends BaseSlideButton {
|
|
408
409
|
type: "icon";
|
|
409
410
|
icon: string;
|
|
@@ -411,11 +412,14 @@ interface SlideButtonIcon extends BaseSlideButton {
|
|
|
411
412
|
color: Color;
|
|
412
413
|
fill: Color;
|
|
413
414
|
}
|
|
415
|
+
/** @internal */
|
|
414
416
|
interface SlideButtonText extends BaseSlideButton {
|
|
415
417
|
type: "text";
|
|
416
418
|
text: string;
|
|
417
419
|
}
|
|
420
|
+
/** @internal */
|
|
418
421
|
type SlideButton = SlideButtonIcon | SlideButtonText;
|
|
422
|
+
/** @internal */
|
|
419
423
|
declare const DefaultSlideButton: {
|
|
420
424
|
readonly type: "icon";
|
|
421
425
|
readonly icon: "chevron-left";
|
|
@@ -423,13 +427,16 @@ declare const DefaultSlideButton: {
|
|
|
423
427
|
readonly fill: "#999";
|
|
424
428
|
readonly size: "20px";
|
|
425
429
|
};
|
|
430
|
+
/** @internal */
|
|
426
431
|
type SlideButtonPosition = "top" | "middle" | "bottom";
|
|
432
|
+
/** @internal */
|
|
427
433
|
interface SlideNavigationButton {
|
|
428
434
|
type: "circle";
|
|
429
435
|
size: Length;
|
|
430
436
|
color: Color;
|
|
431
437
|
colorActive: Color;
|
|
432
438
|
}
|
|
439
|
+
/** @internal */
|
|
433
440
|
declare const DefaultSlideNavigationButton: {
|
|
434
441
|
readonly type: "circle";
|
|
435
442
|
readonly size: "8px";
|
|
@@ -488,6 +495,8 @@ type CustomVariables = {
|
|
|
488
495
|
};
|
|
489
496
|
/**
|
|
490
497
|
* Store to handle action setting
|
|
498
|
+
*
|
|
499
|
+
* @internal
|
|
491
500
|
*/
|
|
492
501
|
declare const actionSetting: Store<ActionSetting>;
|
|
493
502
|
/**
|
|
@@ -519,6 +528,8 @@ declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
|
|
519
528
|
declare function resetActionSetting(): void;
|
|
520
529
|
/**
|
|
521
530
|
* Store to read KARTE system config
|
|
531
|
+
*
|
|
532
|
+
* @internal
|
|
522
533
|
*/
|
|
523
534
|
declare const system: Store<SystemConfig>;
|
|
524
535
|
/**
|
|
@@ -835,6 +846,7 @@ type CloseTrigger = "button" | "overlay" | "auto" | "none";
|
|
|
835
846
|
declare const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
|
|
836
847
|
/** @internal */
|
|
837
848
|
declare const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
|
849
|
+
// prettier-ignore
|
|
838
850
|
/** @internal */
|
|
839
851
|
declare const actionId: string;
|
|
840
852
|
/** @internal */
|
|
@@ -1930,6 +1942,7 @@ declare namespace widget {
|
|
|
1930
1942
|
type BaseSlideButton = {
|
|
1931
1943
|
type: SlideButtonType;
|
|
1932
1944
|
};
|
|
1945
|
+
/** @internal */
|
|
1933
1946
|
interface SlideButtonIcon extends BaseSlideButton {
|
|
1934
1947
|
type: "icon";
|
|
1935
1948
|
icon: string;
|
|
@@ -1937,11 +1950,14 @@ declare namespace widget {
|
|
|
1937
1950
|
color: Color;
|
|
1938
1951
|
fill: Color;
|
|
1939
1952
|
}
|
|
1953
|
+
/** @internal */
|
|
1940
1954
|
interface SlideButtonText extends BaseSlideButton {
|
|
1941
1955
|
type: "text";
|
|
1942
1956
|
text: string;
|
|
1943
1957
|
}
|
|
1958
|
+
/** @internal */
|
|
1944
1959
|
type SlideButton = SlideButtonIcon | SlideButtonText;
|
|
1960
|
+
/** @internal */
|
|
1945
1961
|
const DefaultSlideButton: {
|
|
1946
1962
|
readonly type: "icon";
|
|
1947
1963
|
readonly icon: "chevron-left";
|
|
@@ -1949,13 +1965,16 @@ declare namespace widget {
|
|
|
1949
1965
|
readonly fill: "#999";
|
|
1950
1966
|
readonly size: "20px";
|
|
1951
1967
|
};
|
|
1968
|
+
/** @internal */
|
|
1952
1969
|
type SlideButtonPosition = "top" | "middle" | "bottom";
|
|
1970
|
+
/** @internal */
|
|
1953
1971
|
interface SlideNavigationButton {
|
|
1954
1972
|
type: "circle";
|
|
1955
1973
|
size: Length;
|
|
1956
1974
|
color: Color;
|
|
1957
1975
|
colorActive: Color;
|
|
1958
1976
|
}
|
|
1977
|
+
/** @internal */
|
|
1959
1978
|
const DefaultSlideNavigationButton: {
|
|
1960
1979
|
readonly type: "circle";
|
|
1961
1980
|
readonly size: "8px";
|
|
@@ -2014,6 +2033,8 @@ declare namespace widget {
|
|
|
2014
2033
|
};
|
|
2015
2034
|
/**
|
|
2016
2035
|
* Store to handle action setting
|
|
2036
|
+
*
|
|
2037
|
+
* @internal
|
|
2017
2038
|
*/
|
|
2018
2039
|
const actionSetting: Store<ActionSetting>;
|
|
2019
2040
|
/**
|
|
@@ -2045,6 +2066,8 @@ declare namespace widget {
|
|
|
2045
2066
|
function resetActionSetting(): void;
|
|
2046
2067
|
/**
|
|
2047
2068
|
* Store to read KARTE system config
|
|
2069
|
+
*
|
|
2070
|
+
* @internal
|
|
2048
2071
|
*/
|
|
2049
2072
|
const system: Store<SystemConfig>;
|
|
2050
2073
|
/**
|
|
@@ -2361,6 +2384,7 @@ declare namespace widget {
|
|
|
2361
2384
|
const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
|
|
2362
2385
|
/** @internal */
|
|
2363
2386
|
const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
|
2387
|
+
// prettier-ignore
|
|
2364
2388
|
/** @internal */
|
|
2365
2389
|
const actionId: string;
|
|
2366
2390
|
/** @internal */
|
package/dist/index.es.js
CHANGED
|
@@ -212,6 +212,8 @@ function randStr(digit = 8) {
|
|
|
212
212
|
const getStoreState = get;
|
|
213
213
|
/**
|
|
214
214
|
* Store to handle action setting
|
|
215
|
+
*
|
|
216
|
+
* @internal
|
|
215
217
|
*/
|
|
216
218
|
const actionSetting = writable({ autoStart: true });
|
|
217
219
|
/**
|
|
@@ -255,6 +257,8 @@ function resetActionSetting() {
|
|
|
255
257
|
}
|
|
256
258
|
/**
|
|
257
259
|
* Store to read KARTE system config
|
|
260
|
+
*
|
|
261
|
+
* @internal
|
|
258
262
|
*/
|
|
259
263
|
const system = writable({});
|
|
260
264
|
/**
|
|
@@ -602,8 +606,11 @@ const formData = writable({});
|
|
|
602
606
|
const ALL_ACTION_ID = 'KARTE_ALL_ACTION_ID';
|
|
603
607
|
/** @internal */
|
|
604
608
|
const ALL_ACTION_SHORTEN_ID = 'KARTE_ALL_ACTION_SHORTEN_ID';
|
|
609
|
+
// prettier-ignore
|
|
605
610
|
/** @internal */
|
|
606
|
-
const actionId =
|
|
611
|
+
const actionId = typeof __FLYER_GEN_ACTION_ID_ON_BUILD__ === 'string'
|
|
612
|
+
? __FLYER_GEN_ACTION_ID_ON_BUILD__
|
|
613
|
+
: randStr();
|
|
607
614
|
/** @internal */
|
|
608
615
|
const ACTION_SHOW_EVENT = `KARTE-ACTION-SHOW-${actionId}`;
|
|
609
616
|
/** @internal */
|
|
@@ -1195,6 +1202,7 @@ const DefaultListBackgroundStripe = {
|
|
|
1195
1202
|
const DefaultListBackground = DefaultListBackgroundNone;
|
|
1196
1203
|
/** @internal */
|
|
1197
1204
|
const ListDirections = ['vertical', 'horizontal'];
|
|
1205
|
+
/** @internal */
|
|
1198
1206
|
const DefaultSlideButton = {
|
|
1199
1207
|
type: 'icon',
|
|
1200
1208
|
icon: 'chevron-left',
|
|
@@ -1202,6 +1210,7 @@ const DefaultSlideButton = {
|
|
|
1202
1210
|
fill: '#999',
|
|
1203
1211
|
size: '20px',
|
|
1204
1212
|
};
|
|
1213
|
+
/** @internal */
|
|
1205
1214
|
const DefaultSlideNavigationButton = {
|
|
1206
1215
|
type: 'circle',
|
|
1207
1216
|
size: '8px',
|