@plaidev/karte-action-sdk 1.1.245 → 1.1.246-28737598.88cb0f93
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 +33 -25
- package/dist/hydrate/index.es.js +1274 -747
- package/dist/index.es.d.ts +33 -25
- package/dist/index.es.js +1233 -737
- package/dist/templates.cjs.js +1 -0
- package/dist/templates.js +1 -0
- package/package.json +1 -1
- package/meta/karte-action-sdk.api.json +0 -6318
package/dist/index.es.d.ts
CHANGED
@@ -2433,8 +2433,13 @@ declare const BUTTON_SIZE: {
|
|
2433
2433
|
};
|
2434
2434
|
declare const BUTTON_THEME: {
|
2435
2435
|
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2436
|
-
readonly
|
2436
|
+
readonly primary: "\u30D7\u30E9\u30A4\u30DE\u30EA\u30FC";
|
2437
|
+
readonly secondary: "\u30BB\u30AB\u30F3\u30C0\u30EA\u30FC";
|
2438
|
+
readonly success: "\u30B5\u30AF\u30BB\u30B9";
|
2439
|
+
readonly warning: "\u30EF\u30FC\u30CB\u30F3\u30B0";
|
2437
2440
|
readonly alert: "\u30A2\u30E9\u30FC\u30C8";
|
2441
|
+
readonly info: "\u30A4\u30F3\u30D5\u30A9";
|
2442
|
+
readonly neutral: "\u30CB\u30E5\u30FC\u30C8\u30E9\u30EB";
|
2438
2443
|
readonly transparent: "\u80CC\u666F\u306A\u3057";
|
2439
2444
|
};
|
2440
2445
|
declare const BUTTON_ROUND: {
|
@@ -2472,30 +2477,28 @@ declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
|
|
2472
2477
|
declare const BUTTON_THEME_STYLES: PropStyles<ButtonProps, "theme">;
|
2473
2478
|
declare const BUTTON_ROUND_STYLES: PropStyles<ButtonProps, "round">;
|
2474
2479
|
declare const BUTTON_WRAP_STYLES: PropStyles<ButtonProps, "wrap">;
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
fulled: Properties<0 | (string & {}), string & {}>;
|
2493
|
-
};
|
2494
|
-
wrap: {
|
2495
|
-
nowrap: Properties<0 | (string & {}), string & {}>;
|
2496
|
-
wrap: Properties<0 | (string & {}), string & {}>;
|
2497
|
-
};
|
2480
|
+
type ButtonOutlinedProps = CommonProps & ClickableProps & BorderProps & {
|
2481
|
+
label?: string;
|
2482
|
+
size?: keyof typeof BUTTON_SIZE;
|
2483
|
+
theme?: keyof typeof BUTTON_THEME;
|
2484
|
+
round?: keyof typeof BUTTON_ROUND;
|
2485
|
+
isLink?: boolean;
|
2486
|
+
isIcon?: boolean;
|
2487
|
+
linkUrl?: string;
|
2488
|
+
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2489
|
+
iconVariant?: string;
|
2490
|
+
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2491
|
+
width?: Properties["width"];
|
2492
|
+
wrap?: "wrap" | "nowrap";
|
2493
|
+
fontWeight?: Properties["fontWeight"];
|
2494
|
+
color?: Properties["color"];
|
2495
|
+
backgroundColor?: Properties["backgroundColor"];
|
2496
|
+
borderColor?: Properties["backgroundColor"];
|
2498
2497
|
};
|
2498
|
+
declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
|
2499
|
+
declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
|
2500
|
+
declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
|
2501
|
+
declare const BUTTON_OUTLINED_WRAP_STYLES: PropStyles<ButtonOutlinedProps, "wrap">;
|
2499
2502
|
declare const TEXT_BUTTON_SIZE: {
|
2500
2503
|
readonly extra_small: "XSmall";
|
2501
2504
|
readonly small: "Small";
|
@@ -2617,9 +2620,11 @@ declare const ICON_VARIANTS: {
|
|
2617
2620
|
readonly gift: typeof IconArrowDown;
|
2618
2621
|
readonly heart: typeof IconArrowDown;
|
2619
2622
|
readonly link: typeof IconArrowDown;
|
2623
|
+
readonly locationDot: typeof IconArrowDown;
|
2620
2624
|
readonly magnifying_grass: typeof IconArrowDown;
|
2621
2625
|
readonly paperclip: typeof IconArrowDown;
|
2622
2626
|
readonly paper_plane: typeof IconArrowDown;
|
2627
|
+
readonly phone: typeof IconArrowDown;
|
2623
2628
|
readonly star: typeof IconArrowDown;
|
2624
2629
|
readonly ticket: typeof IconArrowDown;
|
2625
2630
|
readonly truck: typeof IconArrowDown;
|
@@ -2682,6 +2687,8 @@ type LayerLayoutProps = CommonProps & ClickableProps & BorderProps & RadiusProps
|
|
2682
2687
|
type SliderProps = {
|
2683
2688
|
gap: number;
|
2684
2689
|
itemWidthPercentage: number;
|
2690
|
+
auto?: boolean;
|
2691
|
+
interval?: number;
|
2685
2692
|
};
|
2686
2693
|
declare const LAYER_TEXT_SIZE: {
|
2687
2694
|
readonly extra_small: "ExtraSmall";
|
@@ -2762,7 +2769,7 @@ declare const TEXT_VARIANTS: {
|
|
2762
2769
|
};
|
2763
2770
|
declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
|
2764
2771
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
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,
|
2772
|
+
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, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, 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 };
|
2766
2773
|
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 };
|
2767
2774
|
export { default as State } from './components/State.svelte';
|
2768
2775
|
export { default as StateItem } from './components/StateItem.svelte';
|
@@ -2799,6 +2806,7 @@ export { default as TextButtonBlock } from './components/TextButtonBlock.svelte'
|
|
2799
2806
|
export { default as ImageBlock } from './components/ImageBlock.svelte';
|
2800
2807
|
export { default as FlexAvatar } from './components-flex/avatar/Avatar.svelte';
|
2801
2808
|
export { default as FlexButton } from './components-flex/button/Button.svelte';
|
2809
|
+
export { default as FlexButtonOutlined } from './components-flex/button-outlined/ButtonOutlined.svelte';
|
2802
2810
|
export { default as FlexTextButton } from './components-flex/text-button/TextButton.svelte';
|
2803
2811
|
export { default as FlexCloseButton } from './components-flex/close-button/CloseButton.svelte';
|
2804
2812
|
export { default as FlexIcon } from './components-flex/icon/Icon.svelte';
|