@plaidev/karte-action-sdk 1.1.237 → 1.1.238-28698010.a9ad3193
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 +51 -2
- package/dist/hydrate/index.es.js +1006 -529
- package/dist/index.es.d.ts +51 -2
- package/dist/index.es.js +954 -529
- 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 -8155
package/dist/index.es.d.ts
CHANGED
@@ -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 --------
|
@@ -2468,6 +2469,49 @@ type ButtonProps = CommonProps & {
|
|
2468
2469
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2469
2470
|
width?: Properties["width"];
|
2470
2471
|
wrap?: "wrap" | "nowrap";
|
2472
|
+
fontWeight?: Properties["fontWeight"];
|
2473
|
+
fontColor?: Properties["color"];
|
2474
|
+
backgroundColor?: Properties["backgroundColor"];
|
2475
|
+
};
|
2476
|
+
declare const TEXT_BUTTON_SIZE: {
|
2477
|
+
readonly extra_small: "XSmall";
|
2478
|
+
readonly small: "Small";
|
2479
|
+
readonly medium: "Medium";
|
2480
|
+
readonly large: "Large";
|
2481
|
+
readonly extra_large: "XLarge";
|
2482
|
+
};
|
2483
|
+
declare const TEXT_BUTTON_COLOR: {
|
2484
|
+
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2485
|
+
readonly theme: "\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC";
|
2486
|
+
readonly alert: "\u30A2\u30E9\u30FC\u30C8";
|
2487
|
+
};
|
2488
|
+
declare const TEXT_BUTTON_ROUND: {
|
2489
|
+
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2490
|
+
readonly none: "\u306A\u3057";
|
2491
|
+
readonly fulled: "\u5186\u5F62";
|
2492
|
+
};
|
2493
|
+
declare const TEXT_BUTTON_LINK_TARGET: {
|
2494
|
+
readonly _self: "\u753B\u9762\u5185\u9077\u79FB";
|
2495
|
+
readonly _blank: "\u5225\u30BF\u30D6\u3067\u958B\u304F";
|
2496
|
+
};
|
2497
|
+
declare const TEXT_BUTTON_ICON_ANGLE: {
|
2498
|
+
readonly row: "\u5DE6\u5074";
|
2499
|
+
readonly "row-reverse": "\u53F3\u5074";
|
2500
|
+
};
|
2501
|
+
type TextButtonProps = CommonProps & {
|
2502
|
+
label?: string;
|
2503
|
+
size?: keyof typeof TEXT_BUTTON_SIZE;
|
2504
|
+
color?: keyof typeof TEXT_BUTTON_COLOR;
|
2505
|
+
round?: keyof typeof TEXT_BUTTON_ROUND;
|
2506
|
+
isLink?: boolean;
|
2507
|
+
isIcon?: boolean;
|
2508
|
+
linkUrl?: string;
|
2509
|
+
linkTarget?: keyof typeof TEXT_BUTTON_LINK_TARGET;
|
2510
|
+
iconVariant?: string;
|
2511
|
+
iconAngle?: keyof typeof TEXT_BUTTON_ICON_ANGLE;
|
2512
|
+
width?: Properties["width"];
|
2513
|
+
wrap?: "wrap" | "nowrap";
|
2514
|
+
fontWeight?: Properties["fontWeight"];
|
2471
2515
|
};
|
2472
2516
|
type CloseButtonProps = CommonProps & {
|
2473
2517
|
size?: number;
|
@@ -2510,8 +2554,10 @@ declare const ICON_VARIANTS: {
|
|
2510
2554
|
readonly arrow_right: typeof IconArrowDown;
|
2511
2555
|
readonly arrow_up_from_square: typeof IconArrowDown;
|
2512
2556
|
readonly bell: typeof IconArrowDown;
|
2557
|
+
readonly buildings: typeof IconArrowDown;
|
2513
2558
|
readonly cart_shopping: typeof IconArrowDown;
|
2514
2559
|
readonly check: typeof IconArrowDown;
|
2560
|
+
readonly chevrons_right: typeof IconArrowDown;
|
2515
2561
|
readonly circle: typeof IconArrowDown;
|
2516
2562
|
readonly circle_info: typeof IconArrowDown;
|
2517
2563
|
readonly circle_question: typeof IconArrowDown;
|
@@ -2536,8 +2582,10 @@ type IconVariant = (typeof ICON_VARIANTS)[keyof typeof ICON_VARIANTS];
|
|
2536
2582
|
declare const ICON_PARAMS: ComponentParameter[];
|
2537
2583
|
type IconProps = CommonProps & {
|
2538
2584
|
variant: string;
|
2539
|
-
size
|
2585
|
+
size?: keyof typeof ICON_SIZE;
|
2540
2586
|
color: string;
|
2587
|
+
width?: Properties$0["width"];
|
2588
|
+
height?: Properties$0["height"];
|
2541
2589
|
};
|
2542
2590
|
type ImageProps = CommonProps & {
|
2543
2591
|
image?: string;
|
@@ -2607,7 +2655,7 @@ type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorP
|
|
2607
2655
|
color?: Properties["color"];
|
2608
2656
|
width?: Properties["width"];
|
2609
2657
|
};
|
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 };
|
2658
|
+
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
2659
|
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
2660
|
export { default as State } from './components/State.svelte';
|
2613
2661
|
export { default as StateItem } from './components/StateItem.svelte';
|
@@ -2644,6 +2692,7 @@ export { default as TextButtonBlock } from './components/TextButtonBlock.svelte'
|
|
2644
2692
|
export { default as ImageBlock } from './components/ImageBlock.svelte';
|
2645
2693
|
export { default as FlexAvatar } from './components-flex/avatar/Avatar.svelte';
|
2646
2694
|
export { default as FlexButton } from './components-flex/button/Button.svelte';
|
2695
|
+
export { default as FlexTextButton } from './components-flex/text-button/TextButton.svelte';
|
2647
2696
|
export { default as FlexCloseButton } from './components-flex/close-button/CloseButton.svelte';
|
2648
2697
|
export { default as FlexIcon } from './components-flex/icon/Icon.svelte';
|
2649
2698
|
export { default as FlexImage } from './components-flex/image/Image.svelte';
|