@plaidev/karte-action-sdk 1.1.246 → 1.1.247-28748500.b7ad7286
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +47 -60
- package/dist/hydrate/index.es.js +1280 -759
- package/dist/index.es.d.ts +47 -60
- package/dist/index.es.js +1236 -737
- package/dist/templates.cjs.js +2 -1
- package/dist/templates.js +2 -1
- package/package.json +1 -1
- package/meta/karte-action-sdk.api.json +0 -8155
@@ -2368,12 +2368,18 @@ type PositionPlaceProps = {
|
|
2368
2368
|
type PositionProps = PositionPlaceProps & {
|
2369
2369
|
position?: Properties["position"];
|
2370
2370
|
};
|
2371
|
-
type
|
2371
|
+
type MetaProps = {
|
2372
|
+
displayName?: string;
|
2373
|
+
};
|
2374
|
+
type CommonProps = MetaProps & PositionProps;
|
2372
2375
|
type ClickableProps = {
|
2373
2376
|
onClick?: OnClickOperation;
|
2374
2377
|
eventName?: string;
|
2375
2378
|
eventValue?: object;
|
2376
2379
|
};
|
2380
|
+
type OverflowProps = {
|
2381
|
+
overflow?: Properties["overflow"];
|
2382
|
+
};
|
2377
2383
|
type BorderProps = {
|
2378
2384
|
borderTopWidth?: Properties["borderTopWidth"];
|
2379
2385
|
borderLeftWidth?: Properties["borderLeftWidth"];
|
@@ -2433,8 +2439,13 @@ declare const BUTTON_SIZE: {
|
|
2433
2439
|
};
|
2434
2440
|
declare const BUTTON_THEME: {
|
2435
2441
|
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2436
|
-
readonly
|
2442
|
+
readonly primary: "\u30D7\u30E9\u30A4\u30DE\u30EA\u30FC";
|
2443
|
+
readonly secondary: "\u30BB\u30AB\u30F3\u30C0\u30EA\u30FC";
|
2444
|
+
readonly success: "\u30B5\u30AF\u30BB\u30B9";
|
2445
|
+
readonly warning: "\u30EF\u30FC\u30CB\u30F3\u30B0";
|
2437
2446
|
readonly alert: "\u30A2\u30E9\u30FC\u30C8";
|
2447
|
+
readonly info: "\u30A4\u30F3\u30D5\u30A9";
|
2448
|
+
readonly neutral: "\u30CB\u30E5\u30FC\u30C8\u30E9\u30EB";
|
2438
2449
|
readonly transparent: "\u80CC\u666F\u306A\u3057";
|
2439
2450
|
};
|
2440
2451
|
declare const BUTTON_ROUND: {
|
@@ -2472,66 +2483,38 @@ declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
|
|
2472
2483
|
declare const BUTTON_THEME_STYLES: PropStyles<ButtonProps, "theme">;
|
2473
2484
|
declare const BUTTON_ROUND_STYLES: PropStyles<ButtonProps, "round">;
|
2474
2485
|
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
|
-
};
|
2498
|
-
};
|
2499
|
-
declare const TEXT_BUTTON_SIZE: {
|
2500
|
-
readonly extra_small: "XSmall";
|
2501
|
-
readonly small: "Small";
|
2502
|
-
readonly medium: "Medium";
|
2503
|
-
readonly large: "Large";
|
2504
|
-
readonly extra_large: "XLarge";
|
2505
|
-
};
|
2506
|
-
declare const TEXT_BUTTON_COLOR: {
|
2507
|
-
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2508
|
-
readonly theme: "\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC";
|
2509
|
-
readonly alert: "\u30A2\u30E9\u30FC\u30C8";
|
2510
|
-
};
|
2511
|
-
declare const TEXT_BUTTON_ROUND: {
|
2512
|
-
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2513
|
-
readonly none: "\u306A\u3057";
|
2514
|
-
readonly fulled: "\u5186\u5F62";
|
2515
|
-
};
|
2516
|
-
declare const TEXT_BUTTON_LINK_TARGET: {
|
2517
|
-
readonly _self: "\u753B\u9762\u5185\u9077\u79FB";
|
2518
|
-
readonly _blank: "\u5225\u30BF\u30D6\u3067\u958B\u304F";
|
2519
|
-
};
|
2520
|
-
declare const TEXT_BUTTON_ICON_ANGLE: {
|
2521
|
-
readonly row: "\u5DE6\u5074";
|
2522
|
-
readonly "row-reverse": "\u53F3\u5074";
|
2486
|
+
type ButtonOutlinedProps = CommonProps & ClickableProps & BorderProps & {
|
2487
|
+
label?: string;
|
2488
|
+
size?: keyof typeof BUTTON_SIZE;
|
2489
|
+
theme?: keyof typeof BUTTON_THEME;
|
2490
|
+
round?: keyof typeof BUTTON_ROUND;
|
2491
|
+
isLink?: boolean;
|
2492
|
+
isIcon?: boolean;
|
2493
|
+
linkUrl?: string;
|
2494
|
+
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2495
|
+
iconVariant?: string;
|
2496
|
+
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2497
|
+
width?: Properties["width"];
|
2498
|
+
wrap?: "wrap" | "nowrap";
|
2499
|
+
fontWeight?: Properties["fontWeight"];
|
2500
|
+
color?: Properties["color"];
|
2501
|
+
backgroundColor?: Properties["backgroundColor"];
|
2502
|
+
borderColor?: Properties["backgroundColor"];
|
2523
2503
|
};
|
2524
|
-
|
2504
|
+
declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
|
2505
|
+
declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
|
2506
|
+
declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
|
2507
|
+
declare const BUTTON_OUTLINED_WRAP_STYLES: PropStyles<ButtonOutlinedProps, "wrap">;
|
2508
|
+
type ButtonTextProps = CommonProps & ClickableProps & {
|
2525
2509
|
label?: string;
|
2526
|
-
size?: keyof typeof
|
2527
|
-
|
2528
|
-
round?: keyof typeof TEXT_BUTTON_ROUND;
|
2510
|
+
size?: keyof typeof BUTTON_SIZE;
|
2511
|
+
theme?: keyof typeof BUTTON_THEME;
|
2529
2512
|
isLink?: boolean;
|
2530
2513
|
isIcon?: boolean;
|
2531
2514
|
linkUrl?: string;
|
2532
|
-
linkTarget?: keyof typeof
|
2515
|
+
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2533
2516
|
iconVariant?: string;
|
2534
|
-
iconAngle?: keyof typeof
|
2517
|
+
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2535
2518
|
width?: Properties["width"];
|
2536
2519
|
wrap?: "wrap" | "nowrap";
|
2537
2520
|
fontWeight?: Properties["fontWeight"];
|
@@ -2617,9 +2600,11 @@ declare const ICON_VARIANTS: {
|
|
2617
2600
|
readonly gift: typeof IconArrowDown;
|
2618
2601
|
readonly heart: typeof IconArrowDown;
|
2619
2602
|
readonly link: typeof IconArrowDown;
|
2603
|
+
readonly locationDot: typeof IconArrowDown;
|
2620
2604
|
readonly magnifying_grass: typeof IconArrowDown;
|
2621
2605
|
readonly paperclip: typeof IconArrowDown;
|
2622
2606
|
readonly paper_plane: typeof IconArrowDown;
|
2607
|
+
readonly phone: typeof IconArrowDown;
|
2623
2608
|
readonly star: typeof IconArrowDown;
|
2624
2609
|
readonly ticket: typeof IconArrowDown;
|
2625
2610
|
readonly truck: typeof IconArrowDown;
|
@@ -2669,7 +2654,7 @@ declare const LAYOUT_JUSTIFY: readonly [
|
|
2669
2654
|
"space-between"
|
2670
2655
|
];
|
2671
2656
|
type LayoutFlexJustify = (typeof LAYOUT_JUSTIFY)[number];
|
2672
|
-
type LayerLayoutProps = CommonProps & ClickableProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
|
2657
|
+
type LayerLayoutProps = CommonProps & ClickableProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
|
2673
2658
|
display?: LayoutDisplayType;
|
2674
2659
|
direction?: LayoutFlexDirection;
|
2675
2660
|
align?: LayoutFlexAlign;
|
@@ -2677,11 +2662,12 @@ type LayerLayoutProps = CommonProps & ClickableProps & BorderProps & RadiusProps
|
|
2677
2662
|
rowGap?: Properties["rowGap"];
|
2678
2663
|
columnGap?: Properties["columnGap"];
|
2679
2664
|
width?: Properties["width"];
|
2680
|
-
overflowY?: Properties["overflowY"];
|
2681
2665
|
};
|
2682
2666
|
type SliderProps = {
|
2683
2667
|
gap: number;
|
2684
2668
|
itemWidthPercentage: number;
|
2669
|
+
auto?: boolean;
|
2670
|
+
interval?: number;
|
2685
2671
|
};
|
2686
2672
|
declare const LAYER_TEXT_SIZE: {
|
2687
2673
|
readonly extra_small: "ExtraSmall";
|
@@ -2762,7 +2748,7 @@ declare const TEXT_VARIANTS: {
|
|
2762
2748
|
};
|
2763
2749
|
declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
|
2764
2750
|
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,
|
2751
|
+
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 };
|
2766
2752
|
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
2753
|
export { default as State } from './components/State.svelte';
|
2768
2754
|
export { default as StateItem } from './components/StateItem.svelte';
|
@@ -2799,7 +2785,8 @@ export { default as TextButtonBlock } from './components/TextButtonBlock.svelte'
|
|
2799
2785
|
export { default as ImageBlock } from './components/ImageBlock.svelte';
|
2800
2786
|
export { default as FlexAvatar } from './components-flex/avatar/Avatar.svelte';
|
2801
2787
|
export { default as FlexButton } from './components-flex/button/Button.svelte';
|
2802
|
-
export { default as
|
2788
|
+
export { default as FlexButtonOutlined } from './components-flex/button-outlined/ButtonOutlined.svelte';
|
2789
|
+
export { default as FlexButtonText } from './components-flex/button-text/ButtonText.svelte';
|
2803
2790
|
export { default as FlexCloseButton } from './components-flex/close-button/CloseButton.svelte';
|
2804
2791
|
export { default as FlexIcon } from './components-flex/icon/Icon.svelte';
|
2805
2792
|
export { default as FlexImage } from './components-flex/image/Image.svelte';
|