@plaidev/karte-action-sdk 1.1.250-28767263.2eb25df3 → 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 +44 -10
- package/dist/hydrate/index.es.js +122 -71
- package/dist/index.es.d.ts +44 -10
- package/dist/index.es.js +122 -71
- package/package.json +1 -1
@@ -2459,12 +2459,18 @@ declare const BUTTON_ICON_ANGLE: {
|
|
2459
2459
|
};
|
2460
2460
|
type ButtonProps = CommonProps & ClickableProps & ShadowProps & BorderProps & {
|
2461
2461
|
label?: string;
|
2462
|
+
// size
|
2462
2463
|
size?: keyof typeof BUTTON_SIZE;
|
2463
2464
|
height?: Properties["height"];
|
2464
2465
|
paddingLeft?: Properties["paddingLeft"];
|
2465
2466
|
paddingRight?: Properties["paddingRight"];
|
2466
2467
|
fontSize?: Properties["fontSize"];
|
2468
|
+
// theme
|
2467
2469
|
theme?: keyof typeof BUTTON_THEME;
|
2470
|
+
fontWeight?: Properties["fontWeight"];
|
2471
|
+
color?: Properties["color"];
|
2472
|
+
backgroundColor?: Properties["backgroundColor"];
|
2473
|
+
// others
|
2468
2474
|
round?: keyof typeof BUTTON_ROUND;
|
2469
2475
|
isLink?: boolean;
|
2470
2476
|
isIcon?: boolean;
|
@@ -2474,9 +2480,6 @@ type ButtonProps = CommonProps & ClickableProps & ShadowProps & BorderProps & {
|
|
2474
2480
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2475
2481
|
width?: Properties["width"];
|
2476
2482
|
wrap?: "wrap" | "nowrap";
|
2477
|
-
fontWeight?: Properties["fontWeight"];
|
2478
|
-
color?: Properties["color"];
|
2479
|
-
backgroundColor?: Properties["backgroundColor"];
|
2480
2483
|
};
|
2481
2484
|
declare const buttonPropsDefault: ButtonProps;
|
2482
2485
|
declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
|
@@ -2505,20 +2508,51 @@ declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
|
|
2505
2508
|
declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
|
2506
2509
|
declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
|
2507
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
|
+
};
|
2508
2527
|
type ButtonTextProps = CommonProps & ClickableProps & {
|
2509
2528
|
label?: string;
|
2510
|
-
size
|
2511
|
-
|
2512
|
-
|
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
|
2513
2541
|
isIcon?: boolean;
|
2514
|
-
linkUrl?: string;
|
2515
|
-
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2516
2542
|
iconVariant?: string;
|
2543
|
+
iconColor?: Properties["color"];
|
2517
2544
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2545
|
+
// link
|
2546
|
+
isLink?: boolean;
|
2547
|
+
linkUrl?: string;
|
2548
|
+
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2549
|
+
// others
|
2518
2550
|
width?: Properties["width"];
|
2551
|
+
round?: keyof typeof BUTTON_ROUND;
|
2519
2552
|
wrap?: "wrap" | "nowrap";
|
2520
|
-
fontWeight?: Properties["fontWeight"];
|
2521
2553
|
};
|
2554
|
+
declare const BUTTON_TEXT_SIZE_STYLES: PropStyles<ButtonTextProps, "size">;
|
2555
|
+
declare const BUTTON_TEXT_THEME_STYLES: PropStyles<ButtonTextProps, "theme">;
|
2522
2556
|
declare const CLOSE_BUTTON_PLACEMENT: {
|
2523
2557
|
readonly topRight: "topRight";
|
2524
2558
|
readonly topLeft: "topLeft";
|
@@ -2749,7 +2783,7 @@ declare const TEXT_VARIANTS: {
|
|
2749
2783
|
};
|
2750
2784
|
declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
|
2751
2785
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
2752
|
-
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 };
|
2753
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 };
|
2754
2788
|
export { default as State } from './components/State.svelte';
|
2755
2789
|
export { default as StateItem } from './components/StateItem.svelte';
|
package/dist/hydrate/index.es.js
CHANGED
@@ -15004,7 +15004,7 @@ const BUTTON_THEME_STYLES = {
|
|
15004
15004
|
},
|
15005
15005
|
transparent: {
|
15006
15006
|
backgroundColor: 'rgba(255, 255, 255, 0)',
|
15007
|
-
color: '
|
15007
|
+
color: 'rgba(0, 16, 14, 1)',
|
15008
15008
|
fontWeight: 'bold',
|
15009
15009
|
},
|
15010
15010
|
};
|
@@ -15660,13 +15660,72 @@ class ButtonOutlined extends SvelteComponent {
|
|
15660
15660
|
}
|
15661
15661
|
}
|
15662
15662
|
|
15663
|
+
const BUTTON_TEXT_SIZE_STYLES = {
|
15664
|
+
small: {
|
15665
|
+
height: '32px',
|
15666
|
+
paddingLeft: '16px',
|
15667
|
+
paddingRight: '16px',
|
15668
|
+
fontSize: '12px',
|
15669
|
+
},
|
15670
|
+
medium: {
|
15671
|
+
height: '40px',
|
15672
|
+
paddingLeft: '24px',
|
15673
|
+
paddingRight: '24px',
|
15674
|
+
fontSize: '14px',
|
15675
|
+
},
|
15676
|
+
large: {
|
15677
|
+
height: '48px',
|
15678
|
+
paddingLeft: '32px',
|
15679
|
+
paddingRight: '32px',
|
15680
|
+
fontSize: '16px',
|
15681
|
+
},
|
15682
|
+
};
|
15683
|
+
const BUTTON_TEXT_THEME_STYLES = {
|
15684
|
+
default: {
|
15685
|
+
backgroundColor: '#f3f4f6',
|
15686
|
+
color: 'rgba(0, 16, 14, 1)',
|
15687
|
+
},
|
15688
|
+
link: {
|
15689
|
+
backgroundColor: '#f3f4f6',
|
15690
|
+
color: '#1558d6',
|
15691
|
+
},
|
15692
|
+
brand: {
|
15693
|
+
backgroundColor: '#f3f4f6',
|
15694
|
+
color: 'rgba(18,160,160,1)',
|
15695
|
+
},
|
15696
|
+
success: {
|
15697
|
+
backgroundColor: '#f3f4f6',
|
15698
|
+
color: '#10b981',
|
15699
|
+
},
|
15700
|
+
warning: {
|
15701
|
+
backgroundColor: '#f3f4f6',
|
15702
|
+
color: '#fbbf24',
|
15703
|
+
},
|
15704
|
+
alert: {
|
15705
|
+
backgroundColor: '#f3f4f6',
|
15706
|
+
color: '#ef4444',
|
15707
|
+
},
|
15708
|
+
info: {
|
15709
|
+
backgroundColor: '#f3f4f6',
|
15710
|
+
color: '#0ea5e9',
|
15711
|
+
},
|
15712
|
+
gray: {
|
15713
|
+
backgroundColor: '#0ea5e9',
|
15714
|
+
color: '#666666',
|
15715
|
+
},
|
15716
|
+
white: {
|
15717
|
+
backgroundColor: '#f3f4f6',
|
15718
|
+
color: '#FFFFFF',
|
15719
|
+
},
|
15720
|
+
};
|
15721
|
+
|
15663
15722
|
/* src/components-flex/button-text/ButtonText.svelte generated by Svelte v3.53.1 */
|
15664
15723
|
|
15665
15724
|
function add_css$6(target) {
|
15666
|
-
append_styles(target, "svelte-
|
15725
|
+
append_styles(target, "svelte-30fvi7", ".flex-button-text:hover{background-color:var(--hover-bg-color)}.flex-button-text-icon.svelte-30fvi7{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
|
15667
15726
|
}
|
15668
15727
|
|
15669
|
-
// (
|
15728
|
+
// (54:2) {#if props.isIcon && props.iconVariant}
|
15670
15729
|
function create_if_block$3(ctx) {
|
15671
15730
|
let div;
|
15672
15731
|
let icon;
|
@@ -15676,7 +15735,9 @@ function create_if_block$3(ctx) {
|
|
15676
15735
|
props: {
|
15677
15736
|
props: {
|
15678
15737
|
variant: /*props*/ ctx[0].iconVariant,
|
15679
|
-
color: /*
|
15738
|
+
color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
|
15739
|
+
width: '1em',
|
15740
|
+
height: '1em'
|
15680
15741
|
}
|
15681
15742
|
}
|
15682
15743
|
});
|
@@ -15695,7 +15756,7 @@ function create_if_block$3(ctx) {
|
|
15695
15756
|
this.h();
|
15696
15757
|
},
|
15697
15758
|
h() {
|
15698
|
-
attr(div, "class", "flex-button-text-icon svelte-
|
15759
|
+
attr(div, "class", "flex-button-text-icon svelte-30fvi7");
|
15699
15760
|
},
|
15700
15761
|
m(target, anchor) {
|
15701
15762
|
insert_hydration(target, div, anchor);
|
@@ -15707,7 +15768,9 @@ function create_if_block$3(ctx) {
|
|
15707
15768
|
|
15708
15769
|
if (dirty & /*props*/ 1) icon_changes.props = {
|
15709
15770
|
variant: /*props*/ ctx[0].iconVariant,
|
15710
|
-
color: /*
|
15771
|
+
color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
|
15772
|
+
width: '1em',
|
15773
|
+
height: '1em'
|
15711
15774
|
};
|
15712
15775
|
|
15713
15776
|
icon.$set(icon_changes);
|
@@ -15728,7 +15791,7 @@ function create_if_block$3(ctx) {
|
|
15728
15791
|
};
|
15729
15792
|
}
|
15730
15793
|
|
15731
|
-
// (
|
15794
|
+
// (46:0) <Clickable className="flex-button-text" {layerId} {style} onClick={props.onClick} eventName={props.eventName} eventValue={props.eventValue} >
|
15732
15795
|
function create_default_slot$2(ctx) {
|
15733
15796
|
let t0;
|
15734
15797
|
let span;
|
@@ -15808,7 +15871,7 @@ function create_fragment$7(ctx) {
|
|
15808
15871
|
|
15809
15872
|
clickable = new Clickable({
|
15810
15873
|
props: {
|
15811
|
-
className: "
|
15874
|
+
className: "flex-button-text",
|
15812
15875
|
layerId: /*layerId*/ ctx[1],
|
15813
15876
|
style: /*style*/ ctx[2],
|
15814
15877
|
onClick: /*props*/ ctx[0].onClick,
|
@@ -15838,7 +15901,7 @@ function create_fragment$7(ctx) {
|
|
15838
15901
|
if (dirty & /*props*/ 1) clickable_changes.eventName = /*props*/ ctx[0].eventName;
|
15839
15902
|
if (dirty & /*props*/ 1) clickable_changes.eventValue = /*props*/ ctx[0].eventValue;
|
15840
15903
|
|
15841
|
-
if (dirty & /*$$scope, props*/
|
15904
|
+
if (dirty & /*$$scope, props*/ 513) {
|
15842
15905
|
clickable_changes.$$scope = { dirty, ctx };
|
15843
15906
|
}
|
15844
15907
|
|
@@ -15860,67 +15923,15 @@ function create_fragment$7(ctx) {
|
|
15860
15923
|
}
|
15861
15924
|
|
15862
15925
|
function instance$7($$self, $$props, $$invalidate) {
|
15926
|
+
let variables;
|
15863
15927
|
let style;
|
15864
15928
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
15865
15929
|
let { eventName = '' } = $$props;
|
15866
15930
|
let { eventValue = undefined } = $$props;
|
15867
15931
|
let { props = {} } = $$props;
|
15868
15932
|
let { layerId = '' } = $$props;
|
15869
|
-
|
15870
|
-
const
|
15871
|
-
size: {
|
15872
|
-
extra_small: {
|
15873
|
-
fontSize: '12px',
|
15874
|
-
lineHeight: 1.5,
|
15875
|
-
borderRadius: '4px'
|
15876
|
-
},
|
15877
|
-
small: {
|
15878
|
-
fontSize: '13px',
|
15879
|
-
lineHeight: 1.5,
|
15880
|
-
borderRadius: '4px'
|
15881
|
-
},
|
15882
|
-
medium: {
|
15883
|
-
fontSize: '14px',
|
15884
|
-
lineHeight: 1.5,
|
15885
|
-
borderRadius: '4px'
|
15886
|
-
},
|
15887
|
-
large: {
|
15888
|
-
fontSize: '14px',
|
15889
|
-
lineHeight: 1.5,
|
15890
|
-
borderRadius: '4px'
|
15891
|
-
},
|
15892
|
-
extra_large: {
|
15893
|
-
fontSize: '17px',
|
15894
|
-
lineHeight: 1.5,
|
15895
|
-
borderRadius: '4px'
|
15896
|
-
}
|
15897
|
-
},
|
15898
|
-
color: {
|
15899
|
-
theme: {
|
15900
|
-
color: 'rgba(18,160,160,1)',
|
15901
|
-
fontWeight: 'bold'
|
15902
|
-
},
|
15903
|
-
default: { color: '#00100ea1', fontWeight: 'bold' }, // 'bg-action-default hover:bg-action-default-hover text-default'
|
15904
|
-
alert: {
|
15905
|
-
color: 'rgb(242,83,32,1)',
|
15906
|
-
fontWeight: 'bold'
|
15907
|
-
}, // 'bg-negative hover:bg-negative-hover text-primitive-white font-bold'
|
15908
|
-
|
15909
|
-
},
|
15910
|
-
wrap: {
|
15911
|
-
nowrap: { whiteSpace: 'nowrap' },
|
15912
|
-
wrap: { whiteSpace: 'pre-wrap' }
|
15913
|
-
}
|
15914
|
-
};
|
15915
|
-
|
15916
|
-
const getCustomColor = () => {
|
15917
|
-
return {
|
15918
|
-
color: VARIANTS.color[props.color ?? 'default'].color,
|
15919
|
-
fontWeight: props.fontWeight
|
15920
|
-
? props.fontWeight
|
15921
|
-
: VARIANTS.color[props.color ?? 'default'].fontWeight
|
15922
|
-
};
|
15923
|
-
};
|
15933
|
+
const buttonThemeStyle = BUTTON_TEXT_THEME_STYLES[props.theme ?? 'default'];
|
15934
|
+
const buttonSizeStyle = BUTTON_TEXT_SIZE_STYLES[props.size ?? 'medium'];
|
15924
15935
|
|
15925
15936
|
$$self.$$set = $$props => {
|
15926
15937
|
if ('onClick' in $$props) $$invalidate(4, onClick = $$props.onClick);
|
@@ -15932,26 +15943,49 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
15932
15943
|
|
15933
15944
|
$$self.$$.update = () => {
|
15934
15945
|
if ($$self.$$.dirty & /*props*/ 1) {
|
15946
|
+
$$invalidate(7, variables = {
|
15947
|
+
'--hover-bg-color': props.backgroundColor ?? buttonThemeStyle.backgroundColor
|
15948
|
+
});
|
15949
|
+
}
|
15950
|
+
|
15951
|
+
if ($$self.$$.dirty & /*props, variables*/ 129) {
|
15935
15952
|
$$invalidate(2, style = objToStyle({
|
15936
15953
|
display: 'inline-flex',
|
15937
15954
|
gap: '0.65em',
|
15938
15955
|
alignItems: 'center',
|
15939
15956
|
justifyContent: 'center',
|
15957
|
+
outline: 0,
|
15940
15958
|
border: 0,
|
15941
|
-
transition: 'color 0.12s',
|
15959
|
+
transition: 'background-color 0.12s, color 0.12s',
|
15942
15960
|
width: props.width,
|
15943
|
-
|
15944
|
-
|
15961
|
+
height: props.height ?? buttonSizeStyle.height,
|
15962
|
+
paddingLeft: props.paddingLeft ?? buttonSizeStyle.paddingLeft,
|
15963
|
+
paddingRight: props.paddingRight ?? buttonSizeStyle.paddingRight,
|
15964
|
+
fontSize: props.fontSize ?? buttonSizeStyle.fontSize,
|
15965
|
+
color: props.color ?? buttonThemeStyle.color,
|
15966
|
+
fontWeight: props.fontWeight ?? 'bold',
|
15967
|
+
cursor: 'pointer',
|
15968
|
+
...BUTTON_WRAP_STYLES[props.wrap ?? buttonPropsDefault.wrap],
|
15969
|
+
...BUTTON_ROUND_STYLES[props.round ?? buttonPropsDefault.round],
|
15945
15970
|
...props.iconAngle
|
15946
15971
|
? { flexDirection: props.iconAngle }
|
15947
15972
|
: {},
|
15948
|
-
...
|
15949
|
-
...
|
15973
|
+
...toCssCommon(props),
|
15974
|
+
...variables
|
15950
15975
|
}));
|
15951
15976
|
}
|
15952
15977
|
};
|
15953
15978
|
|
15954
|
-
return [
|
15979
|
+
return [
|
15980
|
+
props,
|
15981
|
+
layerId,
|
15982
|
+
style,
|
15983
|
+
buttonThemeStyle,
|
15984
|
+
onClick,
|
15985
|
+
eventName,
|
15986
|
+
eventValue,
|
15987
|
+
variables
|
15988
|
+
];
|
15955
15989
|
}
|
15956
15990
|
|
15957
15991
|
class ButtonText extends SvelteComponent {
|
@@ -15976,6 +16010,23 @@ class ButtonText extends SvelteComponent {
|
|
15976
16010
|
}
|
15977
16011
|
}
|
15978
16012
|
|
16013
|
+
const BUTTON_TEXT_SIZE = {
|
16014
|
+
small: 'Small',
|
16015
|
+
medium: 'Medium',
|
16016
|
+
large: 'Large',
|
16017
|
+
};
|
16018
|
+
const BUTTON_TEXT_THEME = {
|
16019
|
+
default: 'デフォルト',
|
16020
|
+
link: 'Link',
|
16021
|
+
brand: 'Brand',
|
16022
|
+
success: 'Success',
|
16023
|
+
warning: 'Warning',
|
16024
|
+
alert: 'Danger',
|
16025
|
+
info: 'Info',
|
16026
|
+
gray: 'Gray',
|
16027
|
+
white: 'White',
|
16028
|
+
};
|
16029
|
+
|
15979
16030
|
const CLOSE_BUTTON_PLACEMENT = {
|
15980
16031
|
topRight: 'topRight',
|
15981
16032
|
topLeft: 'topLeft',
|
@@ -18023,4 +18074,4 @@ const ROUND_STYLES = {
|
|
18023
18074
|
},
|
18024
18075
|
};
|
18025
18076
|
|
18026
|
-
export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_THEME, BUTTON_THEME_STYLES, BUTTON_WRAP_STYLES, BackgroundSizes, Box, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Slider as FlexSlider, Text as FlexText, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_STYLES, SHADOW_VARIANT, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|
18077
|
+
export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME, BUTTON_TEXT_THEME_STYLES, BUTTON_THEME, BUTTON_THEME_STYLES, BUTTON_WRAP_STYLES, BackgroundSizes, Box, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Slider as FlexSlider, Text as FlexText, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_STYLES, SHADOW_VARIANT, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|
package/dist/index.es.d.ts
CHANGED
@@ -2459,12 +2459,18 @@ declare const BUTTON_ICON_ANGLE: {
|
|
2459
2459
|
};
|
2460
2460
|
type ButtonProps = CommonProps & ClickableProps & ShadowProps & BorderProps & {
|
2461
2461
|
label?: string;
|
2462
|
+
// size
|
2462
2463
|
size?: keyof typeof BUTTON_SIZE;
|
2463
2464
|
height?: Properties["height"];
|
2464
2465
|
paddingLeft?: Properties["paddingLeft"];
|
2465
2466
|
paddingRight?: Properties["paddingRight"];
|
2466
2467
|
fontSize?: Properties["fontSize"];
|
2468
|
+
// theme
|
2467
2469
|
theme?: keyof typeof BUTTON_THEME;
|
2470
|
+
fontWeight?: Properties["fontWeight"];
|
2471
|
+
color?: Properties["color"];
|
2472
|
+
backgroundColor?: Properties["backgroundColor"];
|
2473
|
+
// others
|
2468
2474
|
round?: keyof typeof BUTTON_ROUND;
|
2469
2475
|
isLink?: boolean;
|
2470
2476
|
isIcon?: boolean;
|
@@ -2474,9 +2480,6 @@ type ButtonProps = CommonProps & ClickableProps & ShadowProps & BorderProps & {
|
|
2474
2480
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2475
2481
|
width?: Properties["width"];
|
2476
2482
|
wrap?: "wrap" | "nowrap";
|
2477
|
-
fontWeight?: Properties["fontWeight"];
|
2478
|
-
color?: Properties["color"];
|
2479
|
-
backgroundColor?: Properties["backgroundColor"];
|
2480
2483
|
};
|
2481
2484
|
declare const buttonPropsDefault: ButtonProps;
|
2482
2485
|
declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
|
@@ -2505,20 +2508,51 @@ declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
|
|
2505
2508
|
declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
|
2506
2509
|
declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
|
2507
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
|
+
};
|
2508
2527
|
type ButtonTextProps = CommonProps & ClickableProps & {
|
2509
2528
|
label?: string;
|
2510
|
-
size
|
2511
|
-
|
2512
|
-
|
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
|
2513
2541
|
isIcon?: boolean;
|
2514
|
-
linkUrl?: string;
|
2515
|
-
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2516
2542
|
iconVariant?: string;
|
2543
|
+
iconColor?: Properties["color"];
|
2517
2544
|
iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
|
2545
|
+
// link
|
2546
|
+
isLink?: boolean;
|
2547
|
+
linkUrl?: string;
|
2548
|
+
linkTarget?: keyof typeof BUTTON_LINK_TARGET;
|
2549
|
+
// others
|
2518
2550
|
width?: Properties["width"];
|
2551
|
+
round?: keyof typeof BUTTON_ROUND;
|
2519
2552
|
wrap?: "wrap" | "nowrap";
|
2520
|
-
fontWeight?: Properties["fontWeight"];
|
2521
2553
|
};
|
2554
|
+
declare const BUTTON_TEXT_SIZE_STYLES: PropStyles<ButtonTextProps, "size">;
|
2555
|
+
declare const BUTTON_TEXT_THEME_STYLES: PropStyles<ButtonTextProps, "theme">;
|
2522
2556
|
declare const CLOSE_BUTTON_PLACEMENT: {
|
2523
2557
|
readonly topRight: "topRight";
|
2524
2558
|
readonly topLeft: "topLeft";
|
@@ -2749,7 +2783,7 @@ declare const TEXT_VARIANTS: {
|
|
2749
2783
|
};
|
2750
2784
|
declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
|
2751
2785
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
2752
|
-
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 };
|
2753
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 };
|
2754
2788
|
export { default as State } from './components/State.svelte';
|
2755
2789
|
export { default as StateItem } from './components/StateItem.svelte';
|
package/dist/index.es.js
CHANGED
@@ -13919,7 +13919,7 @@ const BUTTON_THEME_STYLES = {
|
|
13919
13919
|
},
|
13920
13920
|
transparent: {
|
13921
13921
|
backgroundColor: 'rgba(255, 255, 255, 0)',
|
13922
|
-
color: '
|
13922
|
+
color: 'rgba(0, 16, 14, 1)',
|
13923
13923
|
fontWeight: 'bold',
|
13924
13924
|
},
|
13925
13925
|
};
|
@@ -14533,13 +14533,72 @@ class ButtonOutlined extends SvelteComponent {
|
|
14533
14533
|
}
|
14534
14534
|
}
|
14535
14535
|
|
14536
|
+
const BUTTON_TEXT_SIZE_STYLES = {
|
14537
|
+
small: {
|
14538
|
+
height: '32px',
|
14539
|
+
paddingLeft: '16px',
|
14540
|
+
paddingRight: '16px',
|
14541
|
+
fontSize: '12px',
|
14542
|
+
},
|
14543
|
+
medium: {
|
14544
|
+
height: '40px',
|
14545
|
+
paddingLeft: '24px',
|
14546
|
+
paddingRight: '24px',
|
14547
|
+
fontSize: '14px',
|
14548
|
+
},
|
14549
|
+
large: {
|
14550
|
+
height: '48px',
|
14551
|
+
paddingLeft: '32px',
|
14552
|
+
paddingRight: '32px',
|
14553
|
+
fontSize: '16px',
|
14554
|
+
},
|
14555
|
+
};
|
14556
|
+
const BUTTON_TEXT_THEME_STYLES = {
|
14557
|
+
default: {
|
14558
|
+
backgroundColor: '#f3f4f6',
|
14559
|
+
color: 'rgba(0, 16, 14, 1)',
|
14560
|
+
},
|
14561
|
+
link: {
|
14562
|
+
backgroundColor: '#f3f4f6',
|
14563
|
+
color: '#1558d6',
|
14564
|
+
},
|
14565
|
+
brand: {
|
14566
|
+
backgroundColor: '#f3f4f6',
|
14567
|
+
color: 'rgba(18,160,160,1)',
|
14568
|
+
},
|
14569
|
+
success: {
|
14570
|
+
backgroundColor: '#f3f4f6',
|
14571
|
+
color: '#10b981',
|
14572
|
+
},
|
14573
|
+
warning: {
|
14574
|
+
backgroundColor: '#f3f4f6',
|
14575
|
+
color: '#fbbf24',
|
14576
|
+
},
|
14577
|
+
alert: {
|
14578
|
+
backgroundColor: '#f3f4f6',
|
14579
|
+
color: '#ef4444',
|
14580
|
+
},
|
14581
|
+
info: {
|
14582
|
+
backgroundColor: '#f3f4f6',
|
14583
|
+
color: '#0ea5e9',
|
14584
|
+
},
|
14585
|
+
gray: {
|
14586
|
+
backgroundColor: '#0ea5e9',
|
14587
|
+
color: '#666666',
|
14588
|
+
},
|
14589
|
+
white: {
|
14590
|
+
backgroundColor: '#f3f4f6',
|
14591
|
+
color: '#FFFFFF',
|
14592
|
+
},
|
14593
|
+
};
|
14594
|
+
|
14536
14595
|
/* src/components-flex/button-text/ButtonText.svelte generated by Svelte v3.53.1 */
|
14537
14596
|
|
14538
14597
|
function add_css$6(target) {
|
14539
|
-
append_styles(target, "svelte-
|
14598
|
+
append_styles(target, "svelte-30fvi7", ".flex-button-text:hover{background-color:var(--hover-bg-color)}.flex-button-text-icon.svelte-30fvi7{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
|
14540
14599
|
}
|
14541
14600
|
|
14542
|
-
// (
|
14601
|
+
// (54:2) {#if props.isIcon && props.iconVariant}
|
14543
14602
|
function create_if_block$3(ctx) {
|
14544
14603
|
let div;
|
14545
14604
|
let icon;
|
@@ -14549,7 +14608,9 @@ function create_if_block$3(ctx) {
|
|
14549
14608
|
props: {
|
14550
14609
|
props: {
|
14551
14610
|
variant: /*props*/ ctx[0].iconVariant,
|
14552
|
-
color: /*
|
14611
|
+
color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
|
14612
|
+
width: '1em',
|
14613
|
+
height: '1em'
|
14553
14614
|
}
|
14554
14615
|
}
|
14555
14616
|
});
|
@@ -14558,7 +14619,7 @@ function create_if_block$3(ctx) {
|
|
14558
14619
|
c() {
|
14559
14620
|
div = element("div");
|
14560
14621
|
create_component(icon.$$.fragment);
|
14561
|
-
attr(div, "class", "flex-button-text-icon svelte-
|
14622
|
+
attr(div, "class", "flex-button-text-icon svelte-30fvi7");
|
14562
14623
|
},
|
14563
14624
|
m(target, anchor) {
|
14564
14625
|
insert(target, div, anchor);
|
@@ -14570,7 +14631,9 @@ function create_if_block$3(ctx) {
|
|
14570
14631
|
|
14571
14632
|
if (dirty & /*props*/ 1) icon_changes.props = {
|
14572
14633
|
variant: /*props*/ ctx[0].iconVariant,
|
14573
|
-
color: /*
|
14634
|
+
color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
|
14635
|
+
width: '1em',
|
14636
|
+
height: '1em'
|
14574
14637
|
};
|
14575
14638
|
|
14576
14639
|
icon.$set(icon_changes);
|
@@ -14591,7 +14654,7 @@ function create_if_block$3(ctx) {
|
|
14591
14654
|
};
|
14592
14655
|
}
|
14593
14656
|
|
14594
|
-
// (
|
14657
|
+
// (46:0) <Clickable className="flex-button-text" {layerId} {style} onClick={props.onClick} eventName={props.eventName} eventValue={props.eventValue} >
|
14595
14658
|
function create_default_slot$2(ctx) {
|
14596
14659
|
let t0;
|
14597
14660
|
let span;
|
@@ -14663,7 +14726,7 @@ function create_fragment$7(ctx) {
|
|
14663
14726
|
|
14664
14727
|
clickable = new Clickable({
|
14665
14728
|
props: {
|
14666
|
-
className: "
|
14729
|
+
className: "flex-button-text",
|
14667
14730
|
layerId: /*layerId*/ ctx[1],
|
14668
14731
|
style: /*style*/ ctx[2],
|
14669
14732
|
onClick: /*props*/ ctx[0].onClick,
|
@@ -14690,7 +14753,7 @@ function create_fragment$7(ctx) {
|
|
14690
14753
|
if (dirty & /*props*/ 1) clickable_changes.eventName = /*props*/ ctx[0].eventName;
|
14691
14754
|
if (dirty & /*props*/ 1) clickable_changes.eventValue = /*props*/ ctx[0].eventValue;
|
14692
14755
|
|
14693
|
-
if (dirty & /*$$scope, props*/
|
14756
|
+
if (dirty & /*$$scope, props*/ 513) {
|
14694
14757
|
clickable_changes.$$scope = { dirty, ctx };
|
14695
14758
|
}
|
14696
14759
|
|
@@ -14712,67 +14775,15 @@ function create_fragment$7(ctx) {
|
|
14712
14775
|
}
|
14713
14776
|
|
14714
14777
|
function instance$7($$self, $$props, $$invalidate) {
|
14778
|
+
let variables;
|
14715
14779
|
let style;
|
14716
14780
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
14717
14781
|
let { eventName = '' } = $$props;
|
14718
14782
|
let { eventValue = undefined } = $$props;
|
14719
14783
|
let { props = {} } = $$props;
|
14720
14784
|
let { layerId = '' } = $$props;
|
14721
|
-
|
14722
|
-
const
|
14723
|
-
size: {
|
14724
|
-
extra_small: {
|
14725
|
-
fontSize: '12px',
|
14726
|
-
lineHeight: 1.5,
|
14727
|
-
borderRadius: '4px'
|
14728
|
-
},
|
14729
|
-
small: {
|
14730
|
-
fontSize: '13px',
|
14731
|
-
lineHeight: 1.5,
|
14732
|
-
borderRadius: '4px'
|
14733
|
-
},
|
14734
|
-
medium: {
|
14735
|
-
fontSize: '14px',
|
14736
|
-
lineHeight: 1.5,
|
14737
|
-
borderRadius: '4px'
|
14738
|
-
},
|
14739
|
-
large: {
|
14740
|
-
fontSize: '14px',
|
14741
|
-
lineHeight: 1.5,
|
14742
|
-
borderRadius: '4px'
|
14743
|
-
},
|
14744
|
-
extra_large: {
|
14745
|
-
fontSize: '17px',
|
14746
|
-
lineHeight: 1.5,
|
14747
|
-
borderRadius: '4px'
|
14748
|
-
}
|
14749
|
-
},
|
14750
|
-
color: {
|
14751
|
-
theme: {
|
14752
|
-
color: 'rgba(18,160,160,1)',
|
14753
|
-
fontWeight: 'bold'
|
14754
|
-
},
|
14755
|
-
default: { color: '#00100ea1', fontWeight: 'bold' }, // 'bg-action-default hover:bg-action-default-hover text-default'
|
14756
|
-
alert: {
|
14757
|
-
color: 'rgb(242,83,32,1)',
|
14758
|
-
fontWeight: 'bold'
|
14759
|
-
}, // 'bg-negative hover:bg-negative-hover text-primitive-white font-bold'
|
14760
|
-
|
14761
|
-
},
|
14762
|
-
wrap: {
|
14763
|
-
nowrap: { whiteSpace: 'nowrap' },
|
14764
|
-
wrap: { whiteSpace: 'pre-wrap' }
|
14765
|
-
}
|
14766
|
-
};
|
14767
|
-
|
14768
|
-
const getCustomColor = () => {
|
14769
|
-
return {
|
14770
|
-
color: VARIANTS.color[props.color ?? 'default'].color,
|
14771
|
-
fontWeight: props.fontWeight
|
14772
|
-
? props.fontWeight
|
14773
|
-
: VARIANTS.color[props.color ?? 'default'].fontWeight
|
14774
|
-
};
|
14775
|
-
};
|
14785
|
+
const buttonThemeStyle = BUTTON_TEXT_THEME_STYLES[props.theme ?? 'default'];
|
14786
|
+
const buttonSizeStyle = BUTTON_TEXT_SIZE_STYLES[props.size ?? 'medium'];
|
14776
14787
|
|
14777
14788
|
$$self.$$set = $$props => {
|
14778
14789
|
if ('onClick' in $$props) $$invalidate(4, onClick = $$props.onClick);
|
@@ -14784,26 +14795,49 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
14784
14795
|
|
14785
14796
|
$$self.$$.update = () => {
|
14786
14797
|
if ($$self.$$.dirty & /*props*/ 1) {
|
14798
|
+
$$invalidate(7, variables = {
|
14799
|
+
'--hover-bg-color': props.backgroundColor ?? buttonThemeStyle.backgroundColor
|
14800
|
+
});
|
14801
|
+
}
|
14802
|
+
|
14803
|
+
if ($$self.$$.dirty & /*props, variables*/ 129) {
|
14787
14804
|
$$invalidate(2, style = objToStyle({
|
14788
14805
|
display: 'inline-flex',
|
14789
14806
|
gap: '0.65em',
|
14790
14807
|
alignItems: 'center',
|
14791
14808
|
justifyContent: 'center',
|
14809
|
+
outline: 0,
|
14792
14810
|
border: 0,
|
14793
|
-
transition: 'color 0.12s',
|
14811
|
+
transition: 'background-color 0.12s, color 0.12s',
|
14794
14812
|
width: props.width,
|
14795
|
-
|
14796
|
-
|
14813
|
+
height: props.height ?? buttonSizeStyle.height,
|
14814
|
+
paddingLeft: props.paddingLeft ?? buttonSizeStyle.paddingLeft,
|
14815
|
+
paddingRight: props.paddingRight ?? buttonSizeStyle.paddingRight,
|
14816
|
+
fontSize: props.fontSize ?? buttonSizeStyle.fontSize,
|
14817
|
+
color: props.color ?? buttonThemeStyle.color,
|
14818
|
+
fontWeight: props.fontWeight ?? 'bold',
|
14819
|
+
cursor: 'pointer',
|
14820
|
+
...BUTTON_WRAP_STYLES[props.wrap ?? buttonPropsDefault.wrap],
|
14821
|
+
...BUTTON_ROUND_STYLES[props.round ?? buttonPropsDefault.round],
|
14797
14822
|
...props.iconAngle
|
14798
14823
|
? { flexDirection: props.iconAngle }
|
14799
14824
|
: {},
|
14800
|
-
...
|
14801
|
-
...
|
14825
|
+
...toCssCommon(props),
|
14826
|
+
...variables
|
14802
14827
|
}));
|
14803
14828
|
}
|
14804
14829
|
};
|
14805
14830
|
|
14806
|
-
return [
|
14831
|
+
return [
|
14832
|
+
props,
|
14833
|
+
layerId,
|
14834
|
+
style,
|
14835
|
+
buttonThemeStyle,
|
14836
|
+
onClick,
|
14837
|
+
eventName,
|
14838
|
+
eventValue,
|
14839
|
+
variables
|
14840
|
+
];
|
14807
14841
|
}
|
14808
14842
|
|
14809
14843
|
class ButtonText extends SvelteComponent {
|
@@ -14828,6 +14862,23 @@ class ButtonText extends SvelteComponent {
|
|
14828
14862
|
}
|
14829
14863
|
}
|
14830
14864
|
|
14865
|
+
const BUTTON_TEXT_SIZE = {
|
14866
|
+
small: 'Small',
|
14867
|
+
medium: 'Medium',
|
14868
|
+
large: 'Large',
|
14869
|
+
};
|
14870
|
+
const BUTTON_TEXT_THEME = {
|
14871
|
+
default: 'デフォルト',
|
14872
|
+
link: 'Link',
|
14873
|
+
brand: 'Brand',
|
14874
|
+
success: 'Success',
|
14875
|
+
warning: 'Warning',
|
14876
|
+
alert: 'Danger',
|
14877
|
+
info: 'Info',
|
14878
|
+
gray: 'Gray',
|
14879
|
+
white: 'White',
|
14880
|
+
};
|
14881
|
+
|
14831
14882
|
const CLOSE_BUTTON_PLACEMENT = {
|
14832
14883
|
topRight: 'topRight',
|
14833
14884
|
topLeft: 'topLeft',
|
@@ -16754,4 +16805,4 @@ const ROUND_STYLES = {
|
|
16754
16805
|
},
|
16755
16806
|
};
|
16756
16807
|
|
16757
|
-
export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_THEME, BUTTON_THEME_STYLES, BUTTON_WRAP_STYLES, BackgroundSizes, Box, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Slider as FlexSlider, Text as FlexText, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_STYLES, SHADOW_VARIANT, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|
16808
|
+
export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME, BUTTON_TEXT_THEME_STYLES, BUTTON_THEME, BUTTON_THEME_STYLES, BUTTON_WRAP_STYLES, BackgroundSizes, Box, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Slider as FlexSlider, Text as FlexText, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_STYLES, SHADOW_VARIANT, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|