@plaidev/karte-action-sdk 1.1.235 → 1.1.237-28696499.4aa79f28
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 +48 -2
- package/dist/hydrate/index.es.js +1192 -668
- package/dist/index.es.d.ts +48 -2
- package/dist/index.es.js +1141 -669
- 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
@@ -7,6 +7,7 @@ import { afterUpdate as afterUpdateSvelte } from "svelte";
|
|
7
7
|
import { tick as tickSvelte } from "svelte";
|
8
8
|
import { Properties } from "csstype";
|
9
9
|
import IconArrowDown from "./variants/IconArrowDown.svelte";
|
10
|
+
import { Properties as Properties$0 } from "preact/src/jsx-csstype";
|
10
11
|
/** @internal */
|
11
12
|
declare const ACTION_HOOK_LABEL = "__ACTION_HOOK__";
|
12
13
|
// -------- The following codes are deprecated --------
|
@@ -2469,6 +2470,46 @@ type ButtonProps = CommonProps & {
|
|
2469
2470
|
width?: Properties["width"];
|
2470
2471
|
wrap?: "wrap" | "nowrap";
|
2471
2472
|
};
|
2473
|
+
declare const TEXT_BUTTON_SIZE: {
|
2474
|
+
readonly extra_small: "XSmall";
|
2475
|
+
readonly small: "Small";
|
2476
|
+
readonly medium: "Medium";
|
2477
|
+
readonly large: "Large";
|
2478
|
+
readonly extra_large: "XLarge";
|
2479
|
+
};
|
2480
|
+
declare const TEXT_BUTTON_COLOR: {
|
2481
|
+
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2482
|
+
readonly theme: "\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC";
|
2483
|
+
readonly alert: "\u30A2\u30E9\u30FC\u30C8";
|
2484
|
+
};
|
2485
|
+
declare const TEXT_BUTTON_ROUND: {
|
2486
|
+
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2487
|
+
readonly none: "\u306A\u3057";
|
2488
|
+
readonly fulled: "\u5186\u5F62";
|
2489
|
+
};
|
2490
|
+
declare const TEXT_BUTTON_LINK_TARGET: {
|
2491
|
+
readonly _self: "\u753B\u9762\u5185\u9077\u79FB";
|
2492
|
+
readonly _blank: "\u5225\u30BF\u30D6\u3067\u958B\u304F";
|
2493
|
+
};
|
2494
|
+
declare const TEXT_BUTTON_ICON_ANGLE: {
|
2495
|
+
readonly row: "\u5DE6\u5074";
|
2496
|
+
readonly "row-reverse": "\u53F3\u5074";
|
2497
|
+
};
|
2498
|
+
type TextButtonProps = CommonProps & {
|
2499
|
+
label?: string;
|
2500
|
+
size?: keyof typeof TEXT_BUTTON_SIZE;
|
2501
|
+
color?: keyof typeof TEXT_BUTTON_COLOR;
|
2502
|
+
round?: keyof typeof TEXT_BUTTON_ROUND;
|
2503
|
+
isLink?: boolean;
|
2504
|
+
isIcon?: boolean;
|
2505
|
+
linkUrl?: string;
|
2506
|
+
linkTarget?: keyof typeof TEXT_BUTTON_LINK_TARGET;
|
2507
|
+
iconVariant?: string;
|
2508
|
+
iconAngle?: keyof typeof TEXT_BUTTON_ICON_ANGLE;
|
2509
|
+
width?: Properties["width"];
|
2510
|
+
wrap?: "wrap" | "nowrap";
|
2511
|
+
fontWeight?: Properties["fontWeight"];
|
2512
|
+
};
|
2472
2513
|
type CloseButtonProps = CommonProps & {
|
2473
2514
|
size?: number;
|
2474
2515
|
bordered?: boolean;
|
@@ -2510,8 +2551,10 @@ declare const ICON_VARIANTS: {
|
|
2510
2551
|
readonly arrow_right: typeof IconArrowDown;
|
2511
2552
|
readonly arrow_up_from_square: typeof IconArrowDown;
|
2512
2553
|
readonly bell: typeof IconArrowDown;
|
2554
|
+
readonly buildings: typeof IconArrowDown;
|
2513
2555
|
readonly cart_shopping: typeof IconArrowDown;
|
2514
2556
|
readonly check: typeof IconArrowDown;
|
2557
|
+
readonly chevrons_right: typeof IconArrowDown;
|
2515
2558
|
readonly circle: typeof IconArrowDown;
|
2516
2559
|
readonly circle_info: typeof IconArrowDown;
|
2517
2560
|
readonly circle_question: typeof IconArrowDown;
|
@@ -2536,8 +2579,10 @@ type IconVariant = (typeof ICON_VARIANTS)[keyof typeof ICON_VARIANTS];
|
|
2536
2579
|
declare const ICON_PARAMS: ComponentParameter[];
|
2537
2580
|
type IconProps = CommonProps & {
|
2538
2581
|
variant: string;
|
2539
|
-
size
|
2582
|
+
size?: keyof typeof ICON_SIZE;
|
2540
2583
|
color: string;
|
2584
|
+
width?: Properties$0["width"];
|
2585
|
+
height?: Properties$0["height"];
|
2541
2586
|
};
|
2542
2587
|
type ImageProps = CommonProps & {
|
2543
2588
|
image?: string;
|
@@ -2607,7 +2652,7 @@ type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorP
|
|
2607
2652
|
color?: Properties["color"];
|
2608
2653
|
width?: Properties["width"];
|
2609
2654
|
};
|
2610
|
-
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, 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 };
|
2655
|
+
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 };
|
2611
2656
|
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 };
|
2612
2657
|
export { default as State } from './components/State.svelte';
|
2613
2658
|
export { default as StateItem } from './components/StateItem.svelte';
|
@@ -2644,6 +2689,7 @@ export { default as TextButtonBlock } from './components/TextButtonBlock.svelte'
|
|
2644
2689
|
export { default as ImageBlock } from './components/ImageBlock.svelte';
|
2645
2690
|
export { default as FlexAvatar } from './components-flex/avatar/Avatar.svelte';
|
2646
2691
|
export { default as FlexButton } from './components-flex/button/Button.svelte';
|
2692
|
+
export { default as FlexTextButton } from './components-flex/text-button/TextButton.svelte';
|
2647
2693
|
export { default as FlexCloseButton } from './components-flex/close-button/CloseButton.svelte';
|
2648
2694
|
export { default as FlexIcon } from './components-flex/icon/Icon.svelte';
|
2649
2695
|
export { default as FlexImage } from './components-flex/image/Image.svelte';
|