@plaidev/karte-action-sdk 1.1.116-27927874.783c1fe4 → 1.1.116-27929049.d4f5759c
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 +23 -23
- package/dist/hydrate/index.es.js +281 -224
- package/dist/index.es.d.ts +23 -23
- package/dist/index.es.js +241 -198
- package/dist/templates.js +2 -2
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -400,37 +400,37 @@ type ListContext = {
|
|
|
400
400
|
}) => string;
|
|
401
401
|
unregisterItem: (id: string) => void;
|
|
402
402
|
};
|
|
403
|
-
type
|
|
404
|
-
type
|
|
405
|
-
type:
|
|
403
|
+
type SlideButtonType = "icon" | "text";
|
|
404
|
+
type BaseSlideButton = {
|
|
405
|
+
type: SlideButtonType;
|
|
406
406
|
};
|
|
407
|
-
interface
|
|
407
|
+
interface SlideButtonIcon extends BaseSlideButton {
|
|
408
408
|
type: "icon";
|
|
409
409
|
icon: string;
|
|
410
410
|
size: Length;
|
|
411
411
|
color: Color;
|
|
412
412
|
fill: Color;
|
|
413
413
|
}
|
|
414
|
-
interface
|
|
414
|
+
interface SlideButtonText extends BaseSlideButton {
|
|
415
415
|
type: "text";
|
|
416
416
|
text: string;
|
|
417
417
|
}
|
|
418
|
-
type
|
|
419
|
-
declare const
|
|
418
|
+
type SlideButton = SlideButtonIcon | SlideButtonText;
|
|
419
|
+
declare const DefaultSlideButton: {
|
|
420
420
|
readonly type: "icon";
|
|
421
421
|
readonly icon: "chevron-left";
|
|
422
422
|
readonly color: "#999";
|
|
423
423
|
readonly fill: "#999";
|
|
424
424
|
readonly size: "20px";
|
|
425
425
|
};
|
|
426
|
-
type
|
|
427
|
-
interface
|
|
426
|
+
type SlideButtonPosition = "top" | "middle" | "bottom";
|
|
427
|
+
interface SlideNavigationButton {
|
|
428
428
|
type: "circle";
|
|
429
429
|
size: Length;
|
|
430
430
|
color: Color;
|
|
431
431
|
colorActive: Color;
|
|
432
432
|
}
|
|
433
|
-
declare const
|
|
433
|
+
declare const DefaultSlideNavigationButton: {
|
|
434
434
|
readonly type: "circle";
|
|
435
435
|
readonly size: "8px";
|
|
436
436
|
readonly color: "#ddd";
|
|
@@ -1926,37 +1926,37 @@ declare namespace widget {
|
|
|
1926
1926
|
}) => string;
|
|
1927
1927
|
unregisterItem: (id: string) => void;
|
|
1928
1928
|
};
|
|
1929
|
-
type
|
|
1930
|
-
type
|
|
1931
|
-
type:
|
|
1929
|
+
type SlideButtonType = "icon" | "text";
|
|
1930
|
+
type BaseSlideButton = {
|
|
1931
|
+
type: SlideButtonType;
|
|
1932
1932
|
};
|
|
1933
|
-
interface
|
|
1933
|
+
interface SlideButtonIcon extends BaseSlideButton {
|
|
1934
1934
|
type: "icon";
|
|
1935
1935
|
icon: string;
|
|
1936
1936
|
size: Length;
|
|
1937
1937
|
color: Color;
|
|
1938
1938
|
fill: Color;
|
|
1939
1939
|
}
|
|
1940
|
-
interface
|
|
1940
|
+
interface SlideButtonText extends BaseSlideButton {
|
|
1941
1941
|
type: "text";
|
|
1942
1942
|
text: string;
|
|
1943
1943
|
}
|
|
1944
|
-
type
|
|
1945
|
-
const
|
|
1944
|
+
type SlideButton = SlideButtonIcon | SlideButtonText;
|
|
1945
|
+
const DefaultSlideButton: {
|
|
1946
1946
|
readonly type: "icon";
|
|
1947
1947
|
readonly icon: "chevron-left";
|
|
1948
1948
|
readonly color: "#999";
|
|
1949
1949
|
readonly fill: "#999";
|
|
1950
1950
|
readonly size: "20px";
|
|
1951
1951
|
};
|
|
1952
|
-
type
|
|
1953
|
-
interface
|
|
1952
|
+
type SlideButtonPosition = "top" | "middle" | "bottom";
|
|
1953
|
+
interface SlideNavigationButton {
|
|
1954
1954
|
type: "circle";
|
|
1955
1955
|
size: Length;
|
|
1956
1956
|
color: Color;
|
|
1957
1957
|
colorActive: Color;
|
|
1958
1958
|
}
|
|
1959
|
-
const
|
|
1959
|
+
const DefaultSlideNavigationButton: {
|
|
1960
1960
|
readonly type: "circle";
|
|
1961
1961
|
readonly size: "8px";
|
|
1962
1962
|
readonly color: "#ddd";
|
|
@@ -2999,7 +2999,7 @@ declare namespace widget {
|
|
|
2999
2999
|
*/
|
|
3000
3000
|
export { showAction as show, closeAction as hide };
|
|
3001
3001
|
}
|
|
3002
|
-
export { CloseTrigger, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, actionId, ACTION_SHOW_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_CHANGE_STATE_EVENT, handleState, initialize, finalize, send_event, none, moveTo, linkTo, closeApp, runScript, execOnClickOperation, haveFunction, customAnimation, loadGlobalScript, applyGlobalCss, loadGlobalStyle, hashCode, setAutoStart, Store, getStoreState, SystemConfig, ActionEventHandler, ActionSetting, CustomVariables, actionSetting, getActionSetting, setActionSetting, resetActionSetting, system, getSystem, setSystem, state, setState, getState, states, addState, getStates, opened, isOpened, setOpened, closed, isClosed, setClosed, maximumZindex, setMaximumZindex, internalHandlers, getInternalHandlers, setInternalHandlers, updateInternalHandlers, customHandlers, getCustomHandlers, setCustomHandlers, updateCustomHandlers, destroyed, isDestroyed, setDestroyed, stopped, isStopped, setStopped, customVariables, getCustomVariables, setCustomVariables, updateCustomVariables, FormData, formData, NOOP, isPreview, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getTransform, getMarginStyle, ScrollDirection, OnScrollContext, OnScrollFunction, onScroll, onTime, hasSuffix, toBr, randStr, hideOnScroll, hideOnTime, showOnScroll, showOnTime, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, FormOperationOptions, FormOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, ListSeparatorTypes, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, ListDirection, ListContext,
|
|
3002
|
+
export { CloseTrigger, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, actionId, ACTION_SHOW_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_CHANGE_STATE_EVENT, handleState, initialize, finalize, send_event, none, moveTo, linkTo, closeApp, runScript, execOnClickOperation, haveFunction, customAnimation, loadGlobalScript, applyGlobalCss, loadGlobalStyle, hashCode, setAutoStart, Store, getStoreState, SystemConfig, ActionEventHandler, ActionSetting, CustomVariables, actionSetting, getActionSetting, setActionSetting, resetActionSetting, system, getSystem, setSystem, state, setState, getState, states, addState, getStates, opened, isOpened, setOpened, closed, isClosed, setClosed, maximumZindex, setMaximumZindex, internalHandlers, getInternalHandlers, setInternalHandlers, updateInternalHandlers, customHandlers, getCustomHandlers, setCustomHandlers, updateCustomHandlers, destroyed, isDestroyed, setDestroyed, stopped, isStopped, setStopped, customVariables, getCustomVariables, setCustomVariables, updateCustomVariables, FormData, formData, NOOP, isPreview, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getTransform, getMarginStyle, ScrollDirection, OnScrollContext, OnScrollFunction, onScroll, onTime, hasSuffix, toBr, randStr, hideOnScroll, hideOnTime, showOnScroll, showOnTime, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, FormOperationOptions, FormOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, ListSeparatorTypes, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, ListDirection, ListContext, SlideButtonIcon, SlideButtonText, SlideButton, DefaultSlideButton, SlideButtonPosition, SlideNavigationButton, DefaultSlideNavigationButton, ActionHook, onCreate, onShow, ActionCloseHook, onClose, onDestroy, ActionChangeStateHook, onChangeState, SendFunction, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
|
|
3003
3003
|
export type { CollectionConfig };
|
|
3004
3004
|
export { default as State } from './components/State.svelte';
|
|
3005
3005
|
export { default as StateItem } from './components/StateItem.svelte';
|
|
@@ -3022,8 +3022,8 @@ export { default as FormButton } from './components/FormButton.svelte';
|
|
|
3022
3022
|
export { default as FormRadioButtons } from './components/FormRadioButtons.svelte';
|
|
3023
3023
|
export { default as FormSelect } from './components/FormSelect.svelte';
|
|
3024
3024
|
export { default as FormCheckBoxes } from './components/FormCheckBoxes.svelte';
|
|
3025
|
-
export { default as
|
|
3026
|
-
export { default as
|
|
3025
|
+
export { default as Slide } from './components/Slide.svelte';
|
|
3026
|
+
export { default as SlideItem } from './components/SlideItem.svelte';
|
|
3027
3027
|
export { default as TextBlock } from './components/TextBlock.svelte';
|
|
3028
3028
|
export { default as TextButtonBlock } from './components/TextButtonBlock.svelte';
|
|
3029
3029
|
export { default as ImageBlock } from './components/ImageBlock.svelte';
|