@plaidev/karte-action-sdk 1.1.113 → 1.1.114-27923606.791a6dfe

Sign up to get free protection for your applications and to get access to all the features.
@@ -546,6 +546,42 @@ type ListContext = {
546
546
  }) => string;
547
547
  unregisterItem: (id: string) => void;
548
548
  };
549
+ type SliderButtonType = "icon" | "text";
550
+ type BaseSliderButton = {
551
+ type: SliderButtonType;
552
+ };
553
+ interface SliderButtonIcon extends BaseSliderButton {
554
+ type: "icon";
555
+ icon: string;
556
+ size: Length;
557
+ color: Color;
558
+ fill: Color;
559
+ }
560
+ interface SliderButtonText extends BaseSliderButton {
561
+ type: "text";
562
+ text: string;
563
+ }
564
+ type SliderButton = SliderButtonIcon | SliderButtonText;
565
+ declare const DefaultSliderButton: {
566
+ readonly type: "icon";
567
+ readonly icon: "chevron-left";
568
+ readonly color: "#999";
569
+ readonly fill: "#999";
570
+ readonly size: "20px";
571
+ };
572
+ type SliderButtonPosition = "top" | "middle" | "bottom";
573
+ interface SliderNavigationButton {
574
+ type: "circle";
575
+ size: Length;
576
+ color: Color;
577
+ colorActive: Color;
578
+ }
579
+ declare const DefaultSliderNavigationButton: {
580
+ readonly type: "circle";
581
+ readonly size: "8px";
582
+ readonly color: "#ddd";
583
+ readonly colorActive: "#666";
584
+ };
549
585
  // Wrap svelte tools
550
586
  type Store<T> = Writable_<T>;
551
587
  /**
@@ -1834,6 +1870,42 @@ declare namespace widget {
1834
1870
  }) => string;
1835
1871
  unregisterItem: (id: string) => void;
1836
1872
  };
1873
+ type SliderButtonType = "icon" | "text";
1874
+ type BaseSliderButton = {
1875
+ type: SliderButtonType;
1876
+ };
1877
+ interface SliderButtonIcon extends BaseSliderButton {
1878
+ type: "icon";
1879
+ icon: string;
1880
+ size: Length;
1881
+ color: Color;
1882
+ fill: Color;
1883
+ }
1884
+ interface SliderButtonText extends BaseSliderButton {
1885
+ type: "text";
1886
+ text: string;
1887
+ }
1888
+ type SliderButton = SliderButtonIcon | SliderButtonText;
1889
+ const DefaultSliderButton: {
1890
+ readonly type: "icon";
1891
+ readonly icon: "chevron-left";
1892
+ readonly color: "#999";
1893
+ readonly fill: "#999";
1894
+ readonly size: "20px";
1895
+ };
1896
+ type SliderButtonPosition = "top" | "middle" | "bottom";
1897
+ interface SliderNavigationButton {
1898
+ type: "circle";
1899
+ size: Length;
1900
+ color: Color;
1901
+ colorActive: Color;
1902
+ }
1903
+ const DefaultSliderNavigationButton: {
1904
+ readonly type: "circle";
1905
+ readonly size: "8px";
1906
+ readonly color: "#ddd";
1907
+ readonly colorActive: "#666";
1908
+ };
1837
1909
  // Wrap svelte tools
1838
1910
  type Store<T> = Writable_<T>;
1839
1911
  /**
@@ -2577,7 +2649,7 @@ declare namespace widget {
2577
2649
  */
2578
2650
  export { showAction as show, closeAction as hide };
2579
2651
  }
2580
- 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, 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, hideOnScroll, hideOnTime, showOnScroll, showOnTime, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, ActionHook, onCreate, onShow, ActionCloseHook, onClose, onDestroy, ActionChangeStateHook, onChangeState, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
2652
+ 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, 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, SliderButtonIcon, SliderButtonText, SliderButton, DefaultSliderButton, SliderButtonPosition, SliderNavigationButton, DefaultSliderNavigationButton, hideOnScroll, hideOnTime, showOnScroll, showOnTime, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, ActionHook, onCreate, onShow, ActionCloseHook, onClose, onDestroy, ActionChangeStateHook, onChangeState, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
2581
2653
  export { default as State } from './components/State.svelte';
2582
2654
  export { default as StateItem } from './components/StateItem.svelte';
2583
2655
  export { default as Modal } from './components/Modal.svelte';