@plaidev/karte-action-sdk 1.1.243 → 1.1.244-28734528.818b8adc

Sign up to get free protection for your applications and to get access to all the features.
@@ -2363,11 +2363,17 @@ type PositionPlaceProps = {
2363
2363
  left?: Properties["left"];
2364
2364
  right?: Properties["right"];
2365
2365
  bottom?: Properties["bottom"];
2366
+ transform?: Properties["transform"];
2366
2367
  };
2367
2368
  type PositionProps = PositionPlaceProps & {
2368
2369
  position?: Properties["position"];
2369
2370
  };
2370
2371
  type CommonProps = PositionProps;
2372
+ type ClickableProps = {
2373
+ onClick?: OnClickOperation;
2374
+ eventName?: string;
2375
+ eventValue?: object;
2376
+ };
2371
2377
  type BorderProps = {
2372
2378
  borderTopWidth?: Properties["borderTopWidth"];
2373
2379
  borderLeftWidth?: Properties["borderLeftWidth"];
@@ -2444,11 +2450,8 @@ declare const BUTTON_ICON_ANGLE: {
2444
2450
  readonly row: "\u5DE6\u5074";
2445
2451
  readonly "row-reverse": "\u53F3\u5074";
2446
2452
  };
2447
- type ButtonProps = CommonProps & BorderProps & {
2453
+ type ButtonProps = CommonProps & ClickableProps & BorderProps & {
2448
2454
  label?: string;
2449
- onClick?: OnClickOperation;
2450
- eventName?: string;
2451
- eventValue?: object;
2452
2455
  size?: keyof typeof BUTTON_SIZE;
2453
2456
  theme?: keyof typeof BUTTON_THEME;
2454
2457
  round?: keyof typeof BUTTON_ROUND;
@@ -2623,15 +2626,12 @@ declare const ICON_VARIANTS: {
2623
2626
  readonly users: typeof IconArrowDown;
2624
2627
  readonly x_mark: typeof IconArrowDown;
2625
2628
  };
2626
- type IconProps = CommonProps & {
2629
+ type IconProps = CommonProps & ClickableProps & {
2627
2630
  variant: string;
2628
2631
  size?: keyof typeof ICON_SIZE;
2629
2632
  color?: Properties$0["color"];
2630
2633
  width?: Properties$0["width"];
2631
2634
  height?: Properties$0["height"];
2632
- onClick?: OnClickOperation;
2633
- eventName?: string;
2634
- eventValue?: object;
2635
2635
  };
2636
2636
  type ImageProps = CommonProps & {
2637
2637
  image?: string;
@@ -2669,10 +2669,7 @@ declare const LAYOUT_JUSTIFY: readonly [
2669
2669
  "space-between"
2670
2670
  ];
2671
2671
  type LayoutFlexJustify = (typeof LAYOUT_JUSTIFY)[number];
2672
- type LayerLayoutProps = CommonProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
2673
- onClick?: OnClickOperation;
2674
- eventName?: string;
2675
- eventValue?: object;
2672
+ type LayerLayoutProps = CommonProps & ClickableProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
2676
2673
  display?: LayoutDisplayType;
2677
2674
  direction?: LayoutFlexDirection;
2678
2675
  align?: LayoutFlexAlign;
@@ -2682,6 +2679,10 @@ type LayerLayoutProps = CommonProps & BorderProps & RadiusProps & ShadowProps &
2682
2679
  width?: Properties["width"];
2683
2680
  overflowY?: Properties["overflowY"];
2684
2681
  };
2682
+ type SliderProps = {
2683
+ gap: number;
2684
+ itemWidthPercentage: number;
2685
+ };
2685
2686
  declare const LAYER_TEXT_SIZE: {
2686
2687
  readonly extra_small: "ExtraSmall";
2687
2688
  readonly small: "Small";
@@ -2761,7 +2762,7 @@ declare const TEXT_VARIANTS: {
2761
2762
  };
2762
2763
  declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
2763
2764
  declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
2764
- export { ACTION_HOOK_LABEL, KARTE_MODAL_ROOT, create, destroyAction, onCreate, onDestroy, showModal, destroy, initialize, finalize, loadGlobalScript, loadGlobalStyle, applyGlobalCss, getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, onScroll, onTime, getLogs, getEvents, logger, listenLogger, hideOnScroll, hideOnTime, showOnScroll, showOnTime, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, DefaultElasticity, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, RegExpProp, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, SYSTEM_FONT, Fonts, Font, Justifies, Justify, Alignments, Alignment, FlexDirections, FlexDirection, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, BoxShadow, Style, TransitState, WritingModes, WritingMode, DateTime, Icon, ListSeparatorTypes, EdgePosition, DefaultEdgePosition, 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, FormInputName, FormButtonColor, DefaultFormButtonColor, ModalStyle, ModalBreakPoint, DefaultModalBreakPoint, FormIdentifyTextFields, FormIdentifyTextField, FormIdentifyTextFieldValidations, FormIdentifyTextFieldPlaceholders, DefaultFormIdentifyTextField, FormIdentifyBooleanFields, FormIdentifyBooleanField, DefaultFormIdentifyBooleanField, showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES, PropStyles, SHADOW_VARIANT, ROUND_VARIANT, PositionProps, CommonProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, BUTTON_SIZE, BUTTON_THEME, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, BUTTON_SIZE_STYLES, BUTTON_THEME_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, BUTTON_VARIANTS, TEXT_BUTTON_SIZE, TEXT_BUTTON_COLOR, TEXT_BUTTON_ROUND, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ICON_ANGLE, TextButtonProps, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, LAYER_TEXT_SIZE, LayerTextProps, TEXT_VARIANTS, SHADOW_STYLES, ROUND_STYLES };
2765
+ export { ACTION_HOOK_LABEL, KARTE_MODAL_ROOT, create, destroyAction, onCreate, onDestroy, showModal, destroy, initialize, finalize, loadGlobalScript, loadGlobalStyle, applyGlobalCss, getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, onScroll, onTime, getLogs, getEvents, logger, listenLogger, hideOnScroll, hideOnTime, showOnScroll, showOnTime, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, DefaultElasticity, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, RegExpProp, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, SYSTEM_FONT, Fonts, Font, Justifies, Justify, Alignments, Alignment, FlexDirections, FlexDirection, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, BoxShadow, Style, TransitState, WritingModes, WritingMode, DateTime, Icon, ListSeparatorTypes, EdgePosition, DefaultEdgePosition, 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, FormInputName, FormButtonColor, DefaultFormButtonColor, ModalStyle, ModalBreakPoint, DefaultModalBreakPoint, FormIdentifyTextFields, FormIdentifyTextField, FormIdentifyTextFieldValidations, FormIdentifyTextFieldPlaceholders, DefaultFormIdentifyTextField, FormIdentifyBooleanFields, FormIdentifyBooleanField, DefaultFormIdentifyBooleanField, showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES, PropStyles, SHADOW_VARIANT, ROUND_VARIANT, PositionProps, CommonProps, ClickableProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, BUTTON_SIZE, BUTTON_THEME, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, BUTTON_SIZE_STYLES, BUTTON_THEME_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, BUTTON_VARIANTS, TEXT_BUTTON_SIZE, TEXT_BUTTON_COLOR, TEXT_BUTTON_ROUND, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ICON_ANGLE, TextButtonProps, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, LAYER_TEXT_SIZE, LayerTextProps, TEXT_VARIANTS, SHADOW_STYLES, ROUND_STYLES };
2765
2766
  export type { SystemConfig, ActionVariables, ActionEventHandler, ActionProps, ActionOptions, ActionHook, ActionHookLog, ActionChangeStateHook, SendFunction, PublishFunction, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionCloseHook, ShowTrigger, CloseTrigger, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
2766
2767
  export { default as State } from './components/State.svelte';
2767
2768
  export { default as StateItem } from './components/StateItem.svelte';
@@ -2803,5 +2804,6 @@ export { default as FlexCloseButton } from './components-flex/close-button/Close
2803
2804
  export { default as FlexIcon } from './components-flex/icon/Icon.svelte';
2804
2805
  export { default as FlexImage } from './components-flex/image/Image.svelte';
2805
2806
  export { default as FlexLayout } from './components-flex/layout/Layout.svelte';
2807
+ export { default as FlexSlider } from './components-flex/slider/Slider.svelte';
2806
2808
  export { default as FlexText } from './components-flex/text/Text.svelte';
2807
2809
  export { default as FlexModal } from './components-flex/modal/Modal.svelte';