@plaidev/karte-action-sdk 1.1.249 → 1.1.250-28786077.a0d6c5ff
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +50 -11
- package/dist/hydrate/index.es.js +597 -484
- package/dist/index.es.d.ts +50 -11
- package/dist/index.es.js +587 -485
- package/package.json +1 -1
- package/meta/karte-action-sdk.api.json +0 -8155
@@ -2457,10 +2457,20 @@ declare const BUTTON_ICON_ANGLE: {
|
|
2457
2457
|
readonly row: "\u5DE6\u5074";
|
2458
2458
|
readonly "row-reverse": "\u53F3\u5074";
|
2459
2459
|
};
|
2460
|
-
type ButtonProps = CommonProps & ClickableProps & BorderProps & {
|
2460
|
+
type ButtonProps = CommonProps & ClickableProps & ShadowProps & BorderProps & {
|
2461
2461
|
label?: string;
|
2462
|
+
// size
|
2462
2463
|
size?: keyof typeof BUTTON_SIZE;
|
2464
|
+
height?: Properties["height"];
|
2465
|
+
paddingLeft?: Properties["paddingLeft"];
|
2466
|
+
paddingRight?: Properties["paddingRight"];
|
2467
|
+
fontSize?: Properties["fontSize"];
|
2468
|
+
// theme
|
2463
2469
|
theme?: keyof typeof BUTTON_THEME;
|
2470
|
+
fontWeight?: Properties["fontWeight"];
|
2471
|
+
color?: Properties["color"];
|
2472
|
+
backgroundColor?: Properties["backgroundColor"];
|
2473
|
+
// others
|
2464
2474
|
round?: keyof typeof BUTTON_ROUND;
|
2465
2475
|
isLink?: boolean;
|
2466
2476
|
isIcon?: boolean;
|
@@ -2470,9 +2480,6 @@ type ButtonProps = CommonProps & ClickableProps & BorderProps & {
|
|
2470
2480
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2471
2481
|
width?: Properties["width"];
|
2472
2482
|
wrap?: "wrap" | "nowrap";
|
2473
|
-
fontWeight?: Properties["fontWeight"];
|
2474
|
-
color?: Properties["color"];
|
2475
|
-
backgroundColor?: Properties["backgroundColor"];
|
2476
2483
|
};
|
2477
2484
|
declare const buttonPropsDefault: ButtonProps;
|
2478
2485
|
declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
|
@@ -2501,20 +2508,51 @@ declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
|
|
2501
2508
|
declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
|
2502
2509
|
declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
|
2503
2510
|
declare const BUTTON_OUTLINED_WRAP_STYLES: PropStyles<ButtonOutlinedProps, "wrap">;
|
2511
|
+
declare const BUTTON_TEXT_SIZE: {
|
2512
|
+
readonly small: "Small";
|
2513
|
+
readonly medium: "Medium";
|
2514
|
+
readonly large: "Large";
|
2515
|
+
};
|
2516
|
+
declare const BUTTON_TEXT_THEME: {
|
2517
|
+
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2518
|
+
readonly link: "Link";
|
2519
|
+
readonly brand: "Brand";
|
2520
|
+
readonly success: "Success";
|
2521
|
+
readonly warning: "Warning";
|
2522
|
+
readonly alert: "Danger";
|
2523
|
+
readonly info: "Info";
|
2524
|
+
readonly gray: "Gray";
|
2525
|
+
readonly white: "White";
|
2526
|
+
};
|
2504
2527
|
type ButtonTextProps = CommonProps & ClickableProps & {
|
2505
2528
|
label?: string;
|
2506
|
-
size
|
2507
|
-
|
2508
|
-
|
2529
|
+
// size
|
2530
|
+
size?: keyof typeof BUTTON_TEXT_SIZE;
|
2531
|
+
height?: Properties["height"];
|
2532
|
+
paddingLeft?: Properties["paddingLeft"];
|
2533
|
+
paddingRight?: Properties["paddingRight"];
|
2534
|
+
fontSize?: Properties["fontSize"];
|
2535
|
+
// theme
|
2536
|
+
theme?: keyof typeof BUTTON_TEXT_THEME;
|
2537
|
+
fontWeight?: Properties["fontWeight"];
|
2538
|
+
color?: Properties["color"];
|
2539
|
+
backgroundColor?: Properties["backgroundColor"];
|
2540
|
+
// icon
|
2509
2541
|
isIcon?: boolean;
|
2510
|
-
linkUrl?: string;
|
2511
|
-
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2512
2542
|
iconVariant?: string;
|
2543
|
+
iconColor?: Properties["color"];
|
2513
2544
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2545
|
+
// link
|
2546
|
+
isLink?: boolean;
|
2547
|
+
linkUrl?: string;
|
2548
|
+
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2549
|
+
// others
|
2514
2550
|
width?: Properties["width"];
|
2551
|
+
round?: keyof typeof BUTTON_ROUND;
|
2515
2552
|
wrap?: "wrap" | "nowrap";
|
2516
|
-
fontWeight?: Properties["fontWeight"];
|
2517
2553
|
};
|
2554
|
+
declare const BUTTON_TEXT_SIZE_STYLES: PropStyles<ButtonTextProps, "size">;
|
2555
|
+
declare const BUTTON_TEXT_THEME_STYLES: PropStyles<ButtonTextProps, "theme">;
|
2518
2556
|
declare const CLOSE_BUTTON_PLACEMENT: {
|
2519
2557
|
readonly topRight: "topRight";
|
2520
2558
|
readonly topLeft: "topLeft";
|
@@ -2586,6 +2624,7 @@ declare const ICON_VARIANTS: {
|
|
2586
2624
|
readonly cart_shopping: typeof IconArrowDown;
|
2587
2625
|
readonly check: typeof IconArrowDown;
|
2588
2626
|
readonly chevrons_right: typeof IconArrowDown;
|
2627
|
+
readonly chevron_right: typeof IconArrowDown;
|
2589
2628
|
readonly circle: typeof IconArrowDown;
|
2590
2629
|
readonly circle_info: typeof IconArrowDown;
|
2591
2630
|
readonly circle_question: typeof IconArrowDown;
|
@@ -2744,7 +2783,7 @@ declare const TEXT_VARIANTS: {
|
|
2744
2783
|
};
|
2745
2784
|
declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
|
2746
2785
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
2747
|
-
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, MetaProps, CommonProps, ClickableProps, OverflowProps, 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, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, ButtonTextProps, 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 };
|
2786
|
+
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, MetaProps, CommonProps, ClickableProps, OverflowProps, 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, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME_STYLES, 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 };
|
2748
2787
|
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 };
|
2749
2788
|
export { default as State } from './components/State.svelte';
|
2750
2789
|
export { default as StateItem } from './components/StateItem.svelte';
|