@plaidev/karte-action-sdk 1.1.239 → 1.1.240-28703935.aa52fcd6

Sign up to get free protection for your applications and to get access to all the features.
@@ -2437,7 +2437,7 @@ declare const BUTTON_SIZE: {
2437
2437
  readonly large: "Large";
2438
2438
  readonly extra_large: "XLarge";
2439
2439
  };
2440
- declare const BUTTON_COLOR: {
2440
+ declare const BUTTON_THEME: {
2441
2441
  readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2442
2442
  readonly theme: "\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC";
2443
2443
  readonly alert: "\u30A2\u30E9\u30FC\u30C8";
@@ -2459,7 +2459,7 @@ declare const BUTTON_ICON_ANGLE: {
2459
2459
  type ButtonProps = CommonProps & {
2460
2460
  label?: string;
2461
2461
  size?: keyof typeof BUTTON_SIZE;
2462
- color?: keyof typeof BUTTON_COLOR;
2462
+ theme?: keyof typeof BUTTON_THEME;
2463
2463
  round?: keyof typeof BUTTON_ROUND;
2464
2464
  isLink?: boolean;
2465
2465
  isIcon?: boolean;
@@ -2470,9 +2470,33 @@ type ButtonProps = CommonProps & {
2470
2470
  width?: Properties["width"];
2471
2471
  wrap?: "wrap" | "nowrap";
2472
2472
  fontWeight?: Properties["fontWeight"];
2473
- fontColor?: Properties["color"];
2473
+ color?: Properties["color"];
2474
2474
  backgroundColor?: Properties["backgroundColor"];
2475
2475
  };
2476
+ declare const BUTTON_VARIANTS: {
2477
+ size: {
2478
+ extra_small: Properties<0 | (string & {}), string & {}>;
2479
+ small: Properties<0 | (string & {}), string & {}>;
2480
+ medium: Properties<0 | (string & {}), string & {}>;
2481
+ large: Properties<0 | (string & {}), string & {}>;
2482
+ extra_large: Properties<0 | (string & {}), string & {}>;
2483
+ };
2484
+ theme: {
2485
+ theme: Properties<0 | (string & {}), string & {}>;
2486
+ default: Properties<0 | (string & {}), string & {}>;
2487
+ transparent: Properties<0 | (string & {}), string & {}>;
2488
+ alert: Properties<0 | (string & {}), string & {}>;
2489
+ };
2490
+ round: {
2491
+ none: Properties<0 | (string & {}), string & {}>;
2492
+ default: {};
2493
+ fulled: Properties<0 | (string & {}), string & {}>;
2494
+ };
2495
+ wrap: {
2496
+ nowrap: Properties<0 | (string & {}), string & {}>;
2497
+ wrap: Properties<0 | (string & {}), string & {}>;
2498
+ };
2499
+ };
2476
2500
  declare const TEXT_BUTTON_SIZE: {
2477
2501
  readonly extra_small: "XSmall";
2478
2502
  readonly small: "Small";
@@ -2513,9 +2537,35 @@ type TextButtonProps = CommonProps & {
2513
2537
  wrap?: "wrap" | "nowrap";
2514
2538
  fontWeight?: Properties["fontWeight"];
2515
2539
  };
2540
+ declare const CLOSE_BUTTON_PLACEMENT: {
2541
+ readonly topRight: "topRight";
2542
+ readonly topLeft: "topLeft";
2543
+ readonly bottomRight: "bottomRight";
2544
+ readonly bottomLeft: "bottomLeft";
2545
+ };
2546
+ declare const CLOSE_BUTTON_ROUND: {
2547
+ readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2548
+ readonly none: "\u306A\u3057";
2549
+ readonly fulled: "\u5186\u5F62";
2550
+ };
2551
+ declare const CLOSE_BUTTON_LABEL_PLACEMENT: {
2552
+ right: string;
2553
+ left: string;
2554
+ };
2516
2555
  type CloseButtonProps = CommonProps & {
2517
2556
  size?: number;
2557
+ placement?: keyof typeof CLOSE_BUTTON_PLACEMENT;
2558
+ round?: keyof typeof CLOSE_BUTTON_ROUND;
2518
2559
  bordered?: boolean;
2560
+ color?: Properties["color"];
2561
+ backgroundColor?: Properties["backgroundColor"];
2562
+ label?: string;
2563
+ labelColor?: Properties["color"];
2564
+ labelPlacement?: keyof typeof CLOSE_BUTTON_LABEL_PLACEMENT;
2565
+ top?: Properties["top"];
2566
+ right?: Properties["right"];
2567
+ left?: Properties["left"];
2568
+ bottom?: Properties["bottom"];
2519
2569
  };
2520
2570
  declare const ICON_SIZE: {
2521
2571
  readonly x_small: {
@@ -2710,7 +2760,7 @@ declare const TEXT_VARIANTS: {
2710
2760
  };
2711
2761
  };
2712
2762
  };
2713
- 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, ComponentBaseProps, COMPONENT_PARAMETER_TYPES, ComponentParameterType, ComponentParameterOption, ComponentParameter, PositionProps, CommonProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, BUTTON_SIZE, BUTTON_COLOR, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, TEXT_BUTTON_SIZE, TEXT_BUTTON_COLOR, TEXT_BUTTON_ROUND, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ICON_ANGLE, TextButtonProps, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconVariant, ICON_PARAMS, IconProps, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, LAYER_TEXT_ALIGN_VALUES, LAYER_TEXT_FONT_WEIGHT_VALUES, LAYER_TEXT_SIZE, LayerTextProps, TEXT_VARIANTS };
2763
+ 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, ComponentBaseProps, COMPONENT_PARAMETER_TYPES, ComponentParameterType, ComponentParameterOption, ComponentParameter, 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, 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, IconVariant, ICON_PARAMS, IconProps, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, LAYER_TEXT_ALIGN_VALUES, LAYER_TEXT_FONT_WEIGHT_VALUES, LAYER_TEXT_SIZE, LayerTextProps, TEXT_VARIANTS };
2714
2764
  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 };
2715
2765
  export { default as State } from './components/State.svelte';
2716
2766
  export { default as StateItem } from './components/StateItem.svelte';