@plaidev/karte-action-sdk 1.1.264-29046374.a006e69f → 1.1.264-29052187.465265af
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 +13 -5
- package/dist/hydrate/index.es.js +135 -97
- package/dist/index.es.d.ts +13 -5
- package/dist/index.es.js +135 -97
- package/dist/svelte5/hydrate/index.es.d.ts +13 -5
- package/dist/svelte5/hydrate/index.es.js +144 -110
- package/dist/svelte5/index.es.d.ts +13 -5
- package/dist/svelte5/index.es.js +144 -110
- package/dist/svelte5/index.front2.es.js +144 -109
- package/package.json +1 -1
@@ -2460,6 +2460,9 @@ type CustomizeCssProps = {
|
|
2460
2460
|
type BrandStyleProps = {
|
2461
2461
|
customBrandKit?: Partial<BrandKit>;
|
2462
2462
|
};
|
2463
|
+
type ActionTableProps = {
|
2464
|
+
actionTableKey?: string;
|
2465
|
+
};
|
2463
2466
|
type CommonProps = MetaProps & PositionProps & CustomizeCssProps & BrandStyleProps;
|
2464
2467
|
type ClickableProps = {
|
2465
2468
|
onClick?: OnClickOperation;
|
@@ -2654,9 +2657,9 @@ type IconProps = CommonProps & ClickableProps & {
|
|
2654
2657
|
};
|
2655
2658
|
declare const ICON_SIZE_STYLES: PropStyles<IconProps, "size">;
|
2656
2659
|
declare const IMAGE_ROUND_SHAPE: {
|
2657
|
-
readonly circle: "\
|
2660
|
+
readonly circle: "\u30E9\u30A6\u30F3\u30C9 / \u30DF\u30C7\u30A3\u30A2\u30E0";
|
2661
|
+
readonly rounded: "\u30E9\u30A6\u30F3\u30C9 / \u30B9\u30E2\u30FC\u30EB";
|
2658
2662
|
readonly square: "\u30B9\u30AF\u30A8\u30A2";
|
2659
|
-
readonly rounded: "\u30E9\u30A6\u30F3\u30C9";
|
2660
2663
|
};
|
2661
2664
|
declare const IMAGE_ASPECT_VARIANTS: {
|
2662
2665
|
"1/1": string;
|
@@ -2670,12 +2673,14 @@ declare const IMAGE_ASPECT_VARIANTS: {
|
|
2670
2673
|
"3/4": string;
|
2671
2674
|
"9/16": string;
|
2672
2675
|
};
|
2673
|
-
type ImageProps = CommonProps & ClickableProps & AspectProps & BorderProps & {
|
2676
|
+
type ImageProps = CommonProps & ClickableProps & AspectProps & RadiusProps & BorderProps & {
|
2674
2677
|
image?: string;
|
2675
2678
|
width?: Properties["width"];
|
2679
|
+
height?: Properties["height"];
|
2676
2680
|
alt?: string;
|
2677
2681
|
shape?: keyof typeof IMAGE_ROUND_SHAPE;
|
2678
2682
|
};
|
2683
|
+
declare const IMAGE_ROUND_STYLES: PropStyles<ImageProps, "shape">;
|
2679
2684
|
declare const LAYOUT_DISPLAY_TYPE: readonly [
|
2680
2685
|
"inline-flex",
|
2681
2686
|
"flex",
|
@@ -2797,7 +2802,10 @@ type TextLinkProps = CommonProps & ClickableProps & LinkProps & FontFamilyProps
|
|
2797
2802
|
};
|
2798
2803
|
declare const TEXT_LINK_SIZE_STYLES: PropStyles<TextLinkProps, "size">;
|
2799
2804
|
declare const getTextLinkThemeStyles: (customBrandKit?: Partial<BrandKit>) => BrandableStyles<TextLinkProps>;
|
2800
|
-
type
|
2805
|
+
type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & {
|
2806
|
+
width?: Properties["width"];
|
2807
|
+
};
|
2808
|
+
type ListProps = CommonProps & ActionTableProps & {
|
2801
2809
|
gap?: Properties["gap"];
|
2802
2810
|
borderWidth?: Properties["borderTopWidth"];
|
2803
2811
|
borderStyle?: Properties["borderTopStyle"];
|
@@ -2893,7 +2901,7 @@ type CodeProps = CommonProps & {
|
|
2893
2901
|
rawScript?: string;
|
2894
2902
|
};
|
2895
2903
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
2896
|
-
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, ROUND_VARIANT, PositionProps, MetaProps, CustomizeCssProps, BrandStyleProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, WithIconProps, LinkProps, AspectProps, FontFamilyProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, avatarPropsDefault, AVATAR_SIZE_STYLES, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANT, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, getButtonThemeStyles, BUTTON_SIZE_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, getButtonOutlinedThemeStyles, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, getButtonTextThemeStyles, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ICON_SIZE_STYLES, IMAGE_ROUND_SHAPE, IMAGE_ASPECT_VARIANTS, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, SliderItemProps, LAYER_TEXT_SIZE, TEXT_THEME, TEXT_STYLE, LayerTextProps, getTextThemeStyles, TEXT_VARIANTS, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, getTextLinkThemeStyles, ListProps, ListItemProps, LIST_ITEM_CONTEXT_KEY, ListItemContext, MultiColumnProps, MultiColumnItemProps, MULTI_COLUMN_ITEM_CONTEXT_KEY, MultiColumnItemContext, YoutubeProps, CountDownProps, CountDownValueType, CountDownValueProps, CountDownValues, ClipboardProps, CodeProps, BrandKit, getBrandKit, useBrandKit, ROUND_STYLES, VariantStyles, VariantDefinition, VariantDefinitionGroup, ASPECT_VARIANT, AspectVariantCode, ASPECT_VARIANTS, FontVariantMeta, FONT_FAMILY_VARIANT, FontFamilyVariantCode, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, SHADOW_VARIANT, ShadowVariantCode, SHADOW_VARIANTS };
|
2904
|
+
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, ROUND_VARIANT, PositionProps, MetaProps, CustomizeCssProps, BrandStyleProps, ActionTableProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, WithIconProps, LinkProps, AspectProps, FontFamilyProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, avatarPropsDefault, AVATAR_SIZE_STYLES, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANT, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, getButtonThemeStyles, BUTTON_SIZE_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, getButtonOutlinedThemeStyles, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, getButtonTextThemeStyles, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ICON_SIZE_STYLES, IMAGE_ROUND_SHAPE, IMAGE_ASPECT_VARIANTS, ImageProps, IMAGE_ROUND_STYLES, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, SliderItemProps, LAYER_TEXT_SIZE, TEXT_THEME, TEXT_STYLE, LayerTextProps, getTextThemeStyles, TEXT_VARIANTS, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, getTextLinkThemeStyles, FrameModalProps, ListProps, ListItemProps, LIST_ITEM_CONTEXT_KEY, ListItemContext, MultiColumnProps, MultiColumnItemProps, MULTI_COLUMN_ITEM_CONTEXT_KEY, MultiColumnItemContext, YoutubeProps, CountDownProps, CountDownValueType, CountDownValueProps, CountDownValues, ClipboardProps, CodeProps, BrandKit, getBrandKit, useBrandKit, ROUND_STYLES, VariantStyles, VariantDefinition, VariantDefinitionGroup, ASPECT_VARIANT, AspectVariantCode, ASPECT_VARIANTS, FontVariantMeta, FONT_FAMILY_VARIANT, FontFamilyVariantCode, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, SHADOW_VARIANT, ShadowVariantCode, SHADOW_VARIANTS };
|
2897
2905
|
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 };
|
2898
2906
|
export { default as State } from './components-flex/state/State.svelte';
|
2899
2907
|
export { default as StateItem } from './components-flex/state/StateItem.svelte';
|
@@ -5063,6 +5063,27 @@ const ICON_SIZE_STYLES = {
|
|
5063
5063
|
},
|
5064
5064
|
};
|
5065
5065
|
|
5066
|
+
const IMAGE_ROUND_STYLES = {
|
5067
|
+
square: {
|
5068
|
+
borderTopLeftRadius: 0,
|
5069
|
+
borderTopRightRadius: 0,
|
5070
|
+
borderBottomLeftRadius: 0,
|
5071
|
+
borderBottomRightRadius: 0,
|
5072
|
+
},
|
5073
|
+
rounded: {
|
5074
|
+
borderTopLeftRadius: '0.4em',
|
5075
|
+
borderTopRightRadius: '0.4em',
|
5076
|
+
borderBottomLeftRadius: '0.4em',
|
5077
|
+
borderBottomRightRadius: '0.4em',
|
5078
|
+
},
|
5079
|
+
circle: {
|
5080
|
+
borderTopLeftRadius: '0.8em',
|
5081
|
+
borderTopRightRadius: '0.8em',
|
5082
|
+
borderBottomLeftRadius: '0.8em',
|
5083
|
+
borderBottomRightRadius: '0.8em',
|
5084
|
+
},
|
5085
|
+
};
|
5086
|
+
|
5066
5087
|
var root_1$2 = $.template(`<img class="image-img svelte-gzaieg">`);
|
5067
5088
|
|
5068
5089
|
const $$css$f = {
|
@@ -5081,15 +5102,6 @@ function Image($$anchor, $$props) {
|
|
5081
5102
|
useInjectCustomizeCss(props());
|
5082
5103
|
|
5083
5104
|
const { attributes, element, handleClick } = useClickable(props());
|
5084
|
-
|
5085
|
-
const VARIANTS = {
|
5086
|
-
shape: {
|
5087
|
-
circle: { borderRadius: '0.8em' },
|
5088
|
-
square: { borderRadius: 'none' },
|
5089
|
-
rounded: { borderRadius: '0.4em' }
|
5090
|
-
}
|
5091
|
-
};
|
5092
|
-
|
5093
5105
|
const aspectVariantStyles = ASPECT_VARIANT[props().aspectVariant]?.getProps();
|
5094
5106
|
|
5095
5107
|
$.legacy_pre_effect(
|
@@ -5099,8 +5111,9 @@ function Image($$anchor, $$props) {
|
|
5099
5111
|
),
|
5100
5112
|
() => {
|
5101
5113
|
$.set(style, objToStyle({
|
5102
|
-
...
|
5114
|
+
...props().borderTopLeftRadius ? toCssRadius(props()) : IMAGE_ROUND_STYLES[props().shape ?? 'square'],
|
5103
5115
|
width: props().width ?? '100%',
|
5116
|
+
height: props().height ?? 'auto',
|
5104
5117
|
aspectRatio: props().aspect ?? aspectVariantStyles?.aspect,
|
5105
5118
|
...toCssCommon(props()),
|
5106
5119
|
...toCssBorder(props())
|
@@ -5146,9 +5159,9 @@ function Image($$anchor, $$props) {
|
|
5146
5159
|
}
|
5147
5160
|
|
5148
5161
|
const IMAGE_ROUND_SHAPE = {
|
5149
|
-
circle: '
|
5162
|
+
circle: 'ラウンド / ミディアム',
|
5163
|
+
rounded: 'ラウンド / スモール',
|
5150
5164
|
square: 'スクエア',
|
5151
|
-
rounded: 'ラウンド',
|
5152
5165
|
};
|
5153
5166
|
const IMAGE_ASPECT_VARIANTS = {
|
5154
5167
|
'1/1': '1 : 1',
|
@@ -5326,8 +5339,6 @@ function Slider($$anchor, $$props) {
|
|
5326
5339
|
};
|
5327
5340
|
|
5328
5341
|
const handleClick = (e) => {
|
5329
|
-
console.log('handleClick', isDragging);
|
5330
|
-
|
5331
5342
|
if (isDragging) {
|
5332
5343
|
e.preventDefault();
|
5333
5344
|
e.stopPropagation();
|
@@ -5352,6 +5363,7 @@ function Slider($$anchor, $$props) {
|
|
5352
5363
|
$.set(movedX, null);
|
5353
5364
|
document.removeEventListener('touchmove', handleTouchmove);
|
5354
5365
|
document.removeEventListener('touchend', handleTouchend);
|
5366
|
+
document.removeEventListener('click', handleClick);
|
5355
5367
|
};
|
5356
5368
|
|
5357
5369
|
const handleTouchstart = (e) => {
|
@@ -5371,8 +5383,6 @@ function Slider($$anchor, $$props) {
|
|
5371
5383
|
};
|
5372
5384
|
|
5373
5385
|
const handleMouseup = (e) => {
|
5374
|
-
console.log('handleMouseup');
|
5375
|
-
|
5376
5386
|
if ($.get(movedX) >= 32) {
|
5377
5387
|
toNext();
|
5378
5388
|
} else if ($.get(movedX) <= -32) {
|
@@ -6125,11 +6135,13 @@ function Modal($$anchor, $$props) {
|
|
6125
6135
|
const backgroundClickSP = $.mutable_state();
|
6126
6136
|
const handle_keydown = $.mutable_state();
|
6127
6137
|
const visible = $.mutable_state();
|
6138
|
+
const style = $.mutable_state();
|
6128
6139
|
let useBreakPoint = $.prop($$props, 'useBreakPoint', 8, false);
|
6129
6140
|
let placement = $.prop($$props, 'placement', 8);
|
6130
6141
|
let breakPoint = $.prop($$props, 'breakPoint', 8);
|
6131
6142
|
let elasticity = $.prop($$props, 'elasticity', 8);
|
6132
6143
|
let animation = $.prop($$props, 'animation', 8, 'none');
|
6144
|
+
let props = $.prop($$props, 'props', 24, () => ({}));
|
6133
6145
|
let closeEventName = $.prop($$props, 'closeEventName', 8, '');
|
6134
6146
|
let closeEventValue = $.prop($$props, 'closeEventValue', 8, null);
|
6135
6147
|
let layerId = $.prop($$props, 'layerId', 8, '');
|
@@ -6378,6 +6390,24 @@ function Modal($$anchor, $$props) {
|
|
6378
6390
|
$.set(visible, false);
|
6379
6391
|
});
|
6380
6392
|
|
6393
|
+
$.legacy_pre_effect(
|
6394
|
+
() => (
|
6395
|
+
$.deep_read_state(props()),
|
6396
|
+
toCssBorder
|
6397
|
+
),
|
6398
|
+
() => {
|
6399
|
+
$.set(style, objToStyle({
|
6400
|
+
width: props().width,
|
6401
|
+
...toCssOverflow(props()),
|
6402
|
+
...toCssShadow(props()),
|
6403
|
+
...toCssRadius(props()),
|
6404
|
+
...toCssBackgroundImage(props()),
|
6405
|
+
...toCssBackgroundColor(props()),
|
6406
|
+
...toCssBorder(props())
|
6407
|
+
}));
|
6408
|
+
}
|
6409
|
+
);
|
6410
|
+
|
6381
6411
|
$.legacy_pre_effect_reset();
|
6382
6412
|
$.init();
|
6383
6413
|
|
@@ -6419,7 +6449,10 @@ function Modal($$anchor, $$props) {
|
|
6419
6449
|
'modal',
|
6420
6450
|
useBreakPoint() ? 'modal-bp' : ''
|
6421
6451
|
].join(' ')),
|
6422
|
-
() =>
|
6452
|
+
() => [
|
6453
|
+
Array.from(modalStyles).join(';'),
|
6454
|
+
$.get(style)
|
6455
|
+
].join(' ')
|
6423
6456
|
],
|
6424
6457
|
$.derived_safe_equal
|
6425
6458
|
);
|
@@ -6508,95 +6541,23 @@ function Code($$anchor, $$props) {
|
|
6508
6541
|
|
6509
6542
|
const LIST_ITEM_CONTEXT_KEY = 'ListItemContext';
|
6510
6543
|
|
6511
|
-
var root$7 = $.template(`<
|
6544
|
+
var root$7 = $.template(`<li class="list-item svelte-1223veg"><!></li>`);
|
6512
6545
|
|
6513
6546
|
const $$css$6 = {
|
6514
|
-
hash: 'svelte-v2vy6p',
|
6515
|
-
code: '.list.svelte-v2vy6p {padding:0;margin:0;list-style:none;display:flex;flex-direction:column;--border-width: 0;--border-style: solit;--border-color: rgba(255, 255, 255, 0);border-top-width:var(--border-width);border-top-style:var(--border-style);border-top-color:var(--border-color);border-bottom-width:var(--border-width);border-bottom-style:var(--border-style);border-bottom-color:var(--border-color);}'
|
6516
|
-
};
|
6517
|
-
|
6518
|
-
function List($$anchor, $$props) {
|
6519
|
-
$.push($$props, false);
|
6520
|
-
$.append_styles($$anchor, $$css$6);
|
6521
|
-
|
6522
|
-
const variables = $.mutable_state();
|
6523
|
-
const style = $.mutable_state();
|
6524
|
-
let layerId = $.prop($$props, 'layerId', 8);
|
6525
|
-
let props = $.prop($$props, 'props', 8);
|
6526
|
-
|
6527
|
-
useInjectCustomizeCss(props());
|
6528
|
-
|
6529
|
-
setContext(LIST_ITEM_CONTEXT_KEY, {
|
6530
|
-
paddingTop: props().itemPaddingTop,
|
6531
|
-
paddingLeft: props().itemPaddingLeft,
|
6532
|
-
paddingRight: props().itemPaddingRight,
|
6533
|
-
paddingBottom: props().itemPaddingBottom,
|
6534
|
-
height: props().itemHeight,
|
6535
|
-
borderTopWidth: props().borderWidth,
|
6536
|
-
borderTopColor: props().borderColor,
|
6537
|
-
borderTopStyle: props().borderStyle,
|
6538
|
-
gap: props().itemGap
|
6539
|
-
});
|
6540
|
-
|
6541
|
-
$.legacy_pre_effect(() => ($.deep_read_state(props())), () => {
|
6542
|
-
$.set(variables, {
|
6543
|
-
...props().borderWidth
|
6544
|
-
? {
|
6545
|
-
'--border-width': props().borderWidth,
|
6546
|
-
'--border-color': props().borderColor,
|
6547
|
-
'--border-style': props().borderStyle ?? 'solid'
|
6548
|
-
}
|
6549
|
-
: {}
|
6550
|
-
});
|
6551
|
-
});
|
6552
|
-
|
6553
|
-
$.legacy_pre_effect(
|
6554
|
-
() => (
|
6555
|
-
$.deep_read_state(props()),
|
6556
|
-
$.get(variables)
|
6557
|
-
),
|
6558
|
-
() => {
|
6559
|
-
$.set(style, objToStyle({
|
6560
|
-
width: props().width ?? '100%',
|
6561
|
-
...$.get(variables)
|
6562
|
-
}));
|
6563
|
-
}
|
6564
|
-
);
|
6565
|
-
|
6566
|
-
$.legacy_pre_effect_reset();
|
6567
|
-
$.init();
|
6568
|
-
|
6569
|
-
var ul = root$7();
|
6570
|
-
var node = $.child(ul);
|
6571
|
-
|
6572
|
-
$.slot(node, $$props, 'default', {}, null);
|
6573
|
-
$.reset(ul);
|
6574
|
-
|
6575
|
-
$.template_effect(() => {
|
6576
|
-
$.set_attribute(ul, 'data-layer-id', layerId());
|
6577
|
-
$.set_style(ul, $.get(style));
|
6578
|
-
});
|
6579
|
-
|
6580
|
-
$.append($$anchor, ul);
|
6581
|
-
$.pop();
|
6582
|
-
}
|
6583
|
-
|
6584
|
-
var root$6 = $.template(`<li class="list-item svelte-1223veg"><!></li>`);
|
6585
|
-
|
6586
|
-
const $$css$5 = {
|
6587
6547
|
hash: 'svelte-1223veg',
|
6588
6548
|
code: '.list-item.svelte-1223veg {margin:0;padding:0;}.list-item-inner.svelte-1223veg {display:flex;align-items:center;width:100%;text-decoration:none;color:inherit;}.list-item-inner.svelte-1223veg:hover {opacity:0.8;}.list-item.svelte-1223veg:not(:first-child) {border-top-width:var(--list-item-border-width);border-top-style:var(--list-item-border-style);border-top-color:var(--list-item-border-color);}'
|
6589
6549
|
};
|
6590
6550
|
|
6591
6551
|
function ListItem($$anchor, $$props) {
|
6592
6552
|
$.push($$props, false);
|
6593
|
-
$.append_styles($$anchor, $$css$
|
6553
|
+
$.append_styles($$anchor, $$css$6);
|
6594
6554
|
|
6595
6555
|
const variables = $.mutable_state();
|
6596
6556
|
const style = $.mutable_state();
|
6597
6557
|
const innerStyle = $.mutable_state();
|
6598
6558
|
let layerId = $.prop($$props, 'layerId', 8);
|
6599
6559
|
let props = $.prop($$props, 'props', 8);
|
6560
|
+
$.prop($$props, 'item', 8);
|
6600
6561
|
|
6601
6562
|
useInjectCustomizeCss(props());
|
6602
6563
|
|
@@ -6632,7 +6593,7 @@ function ListItem($$anchor, $$props) {
|
|
6632
6593
|
$.legacy_pre_effect_reset();
|
6633
6594
|
$.init();
|
6634
6595
|
|
6635
|
-
var li = root$
|
6596
|
+
var li = root$7();
|
6636
6597
|
var node = $.child(li);
|
6637
6598
|
|
6638
6599
|
$.element(node, () => element, false, ($$element, $$anchor) => {
|
@@ -6669,6 +6630,95 @@ function ListItem($$anchor, $$props) {
|
|
6669
6630
|
$.pop();
|
6670
6631
|
}
|
6671
6632
|
|
6633
|
+
var root$6 = $.template(`<ul class="list svelte-v2vy6p"><!></ul>`);
|
6634
|
+
|
6635
|
+
const $$css$5 = {
|
6636
|
+
hash: 'svelte-v2vy6p',
|
6637
|
+
code: '.list.svelte-v2vy6p {padding:0;margin:0;list-style:none;display:flex;flex-direction:column;--border-width: 0;--border-style: solit;--border-color: rgba(255, 255, 255, 0);border-top-width:var(--border-width);border-top-style:var(--border-style);border-top-color:var(--border-color);border-bottom-width:var(--border-width);border-bottom-style:var(--border-style);border-bottom-color:var(--border-color);}'
|
6638
|
+
};
|
6639
|
+
|
6640
|
+
function List($$anchor, $$props) {
|
6641
|
+
$.push($$props, false);
|
6642
|
+
$.append_styles($$anchor, $$css$5);
|
6643
|
+
|
6644
|
+
const variables = $.mutable_state();
|
6645
|
+
const actionTableData = $.mutable_state();
|
6646
|
+
const items = $.mutable_state();
|
6647
|
+
const style = $.mutable_state();
|
6648
|
+
let layerId = $.prop($$props, 'layerId', 8);
|
6649
|
+
let props = $.prop($$props, 'props', 8);
|
6650
|
+
|
6651
|
+
useInjectCustomizeCss(props());
|
6652
|
+
|
6653
|
+
const vars = getVariables();
|
6654
|
+
|
6655
|
+
console.log(vars);
|
6656
|
+
console.log(props().actionTableKey);
|
6657
|
+
console.log(vars[props().actionTableKey]);
|
6658
|
+
|
6659
|
+
setContext(LIST_ITEM_CONTEXT_KEY, {
|
6660
|
+
paddingTop: props().itemPaddingTop,
|
6661
|
+
paddingLeft: props().itemPaddingLeft,
|
6662
|
+
paddingRight: props().itemPaddingRight,
|
6663
|
+
paddingBottom: props().itemPaddingBottom,
|
6664
|
+
height: props().itemHeight,
|
6665
|
+
borderTopWidth: props().borderWidth,
|
6666
|
+
borderTopColor: props().borderColor,
|
6667
|
+
borderTopStyle: props().borderStyle,
|
6668
|
+
gap: props().itemGap
|
6669
|
+
});
|
6670
|
+
|
6671
|
+
$.legacy_pre_effect(() => ($.deep_read_state(props())), () => {
|
6672
|
+
$.set(variables, {
|
6673
|
+
...props().borderWidth
|
6674
|
+
? {
|
6675
|
+
'--border-width': props().borderWidth,
|
6676
|
+
'--border-color': props().borderColor,
|
6677
|
+
'--border-style': props().borderStyle ?? 'solid'
|
6678
|
+
}
|
6679
|
+
: {}
|
6680
|
+
});
|
6681
|
+
});
|
6682
|
+
|
6683
|
+
$.legacy_pre_effect(() => ($.deep_read_state(props())), () => {
|
6684
|
+
$.set(actionTableData, vars[props().actionTableKey]);
|
6685
|
+
});
|
6686
|
+
|
6687
|
+
$.legacy_pre_effect(() => ($.get(actionTableData)), () => {
|
6688
|
+
$.set(items, Array.isArray($.get(actionTableData)) ? $.get(actionTableData) : null);
|
6689
|
+
});
|
6690
|
+
|
6691
|
+
$.legacy_pre_effect(
|
6692
|
+
() => (
|
6693
|
+
$.deep_read_state(props()),
|
6694
|
+
$.get(variables)
|
6695
|
+
),
|
6696
|
+
() => {
|
6697
|
+
$.set(style, objToStyle({
|
6698
|
+
width: props().width ?? '100%',
|
6699
|
+
...$.get(variables)
|
6700
|
+
}));
|
6701
|
+
}
|
6702
|
+
);
|
6703
|
+
|
6704
|
+
$.legacy_pre_effect_reset();
|
6705
|
+
$.init();
|
6706
|
+
|
6707
|
+
var ul = root$6();
|
6708
|
+
var node = $.child(ul);
|
6709
|
+
|
6710
|
+
$.slot(node, $$props, 'default', {}, null);
|
6711
|
+
$.reset(ul);
|
6712
|
+
|
6713
|
+
$.template_effect(() => {
|
6714
|
+
$.set_attribute(ul, 'data-layer-id', layerId());
|
6715
|
+
$.set_style(ul, $.get(style));
|
6716
|
+
});
|
6717
|
+
|
6718
|
+
$.append($$anchor, ul);
|
6719
|
+
$.pop();
|
6720
|
+
}
|
6721
|
+
|
6672
6722
|
const MULTI_COLUMN_ITEM_CONTEXT_KEY = 'MultiColumnItemContext';
|
6673
6723
|
|
6674
6724
|
function splitNumberAndUnit(value) {
|
@@ -6790,8 +6840,6 @@ function MultiColumnItem($$anchor, $$props) {
|
|
6790
6840
|
const { attributes, element, handleClick } = useClickable(props());
|
6791
6841
|
const context = getContext(MULTI_COLUMN_ITEM_CONTEXT_KEY) || {};
|
6792
6842
|
|
6793
|
-
console.log(context);
|
6794
|
-
|
6795
6843
|
$.legacy_pre_effect(() => {}, () => {
|
6796
6844
|
$.set(variables, {
|
6797
6845
|
'--multi-column-item-padding-top': context.paddingTop ?? '0',
|
@@ -7025,12 +7073,6 @@ function CountDown($$anchor, $$props) {
|
|
7025
7073
|
}
|
7026
7074
|
|
7027
7075
|
function onEachSecond() {
|
7028
|
-
console.log({
|
7029
|
-
timeLimit: timeLimit.getTime(),
|
7030
|
-
now: new Date().getTime(),
|
7031
|
-
calced: calcRemainingTime(timeLimit.getTime())
|
7032
|
-
});
|
7033
|
-
|
7034
7076
|
const _remainingTime = calcRemainingTime(timeLimit.getTime());
|
7035
7077
|
|
7036
7078
|
if (_remainingTime > 0) {
|
@@ -7042,8 +7084,6 @@ function CountDown($$anchor, $$props) {
|
|
7042
7084
|
execOnClickOperation(props().onEnd);
|
7043
7085
|
}
|
7044
7086
|
}
|
7045
|
-
|
7046
|
-
console.log($.get(remainingTime));
|
7047
7087
|
}
|
7048
7088
|
|
7049
7089
|
onMount$1(() => {
|
@@ -7194,13 +7234,8 @@ function CountDownValue($$anchor, $$props) {
|
|
7194
7234
|
let props = $.prop($$props, 'props', 24, () => ({}));
|
7195
7235
|
let layerId = $.prop($$props, 'layerId', 8, '');
|
7196
7236
|
let countdownStore = getContext('countdownStore');
|
7197
|
-
|
7198
|
-
console.log(countdownStore);
|
7199
|
-
|
7200
7237
|
let { style } = useText(props());
|
7201
7238
|
|
7202
|
-
console.log($.get(value));
|
7203
|
-
|
7204
7239
|
$.legacy_pre_effect(
|
7205
7240
|
() => (
|
7206
7241
|
$countdownStore(),
|
@@ -7275,7 +7310,6 @@ function ClipCopy($$anchor, $$props) {
|
|
7275
7310
|
|
7276
7311
|
const targetText = props().content ?? $.get(buttonElement)?.innerText ?? '';
|
7277
7312
|
|
7278
|
-
console.log(targetText);
|
7279
7313
|
navigator.clipboard.writeText(targetText);
|
7280
7314
|
send_event('_click_copy', { text: targetText });
|
7281
7315
|
|
@@ -7356,4 +7390,4 @@ const ROUND_STYLES = {
|
|
7356
7390
|
},
|
7357
7391
|
};
|
7358
7392
|
|
7359
|
-
export { ACTION_HOOK_LABEL, ASPECT_VARIANT, ASPECT_VARIANTS, AVATAR_SHAPE, AVATAR_SIZE, AVATAR_SIZE_STYLES, 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_THEME, BUTTON_VARIANT, BUTTON_WRAP_STYLES, BackgroundSizes, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, FONT_FAMILY_VARIANT, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, ClipCopy as FlexClipCopy, CloseButton as FlexCloseButton, Code as FlexCode, CountDown as FlexCountDown, CountDownValue as FlexCountDownValue, FlexDirections, Icon as FlexIcon, Image as FlexImage, Layout as FlexLayout, List as FlexList, ListItem as FlexListItem, Modal as FlexModal, MultiColumn as FlexMultiColumn, MultiColumnItem as FlexMultiColumnItem, RichText as FlexRichText, Slider as FlexSlider, SliderItem as FlexSliderItem, Text as FlexText, TextLink as FlexTextLink, Youtube as FlexYoutube, Fonts, FormIdentifyBooleanFields, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, ICON_SIZE, ICON_SIZE_STYLES, ICON_VARIANTS, IMAGE_ASPECT_VARIANTS, IMAGE_ROUND_SHAPE, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LIST_ITEM_CONTEXT_KEY, LengthUnits, ListBackgroundTypes, ListDirections, ListSeparatorTypes, MULTI_COLUMN_ITEM_CONTEXT_KEY, MediaQueries, ModalPositions, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_VARIANT, SHADOW_VARIANTS, SYSTEM_FONT, State, StateItem, TEXT_LINK_SIZE, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TEXT_STYLE, TEXT_THEME, TEXT_VARIANTS, TextDirections, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, avatarPropsDefault, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getBrandKit, getButtonOutlinedThemeStyles, getButtonTextThemeStyles, getButtonThemeStyles, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getTextLinkThemeStyles, getTextThemeStyles, 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, useBrandKit, variables, widget };
|
7393
|
+
export { ACTION_HOOK_LABEL, ASPECT_VARIANT, ASPECT_VARIANTS, AVATAR_SHAPE, AVATAR_SIZE, AVATAR_SIZE_STYLES, 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_THEME, BUTTON_VARIANT, BUTTON_WRAP_STYLES, BackgroundSizes, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, FONT_FAMILY_VARIANT, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, ClipCopy as FlexClipCopy, CloseButton as FlexCloseButton, Code as FlexCode, CountDown as FlexCountDown, CountDownValue as FlexCountDownValue, FlexDirections, Icon as FlexIcon, Image as FlexImage, Layout as FlexLayout, List as FlexList, ListItem as FlexListItem, Modal as FlexModal, MultiColumn as FlexMultiColumn, MultiColumnItem as FlexMultiColumnItem, RichText as FlexRichText, Slider as FlexSlider, SliderItem as FlexSliderItem, Text as FlexText, TextLink as FlexTextLink, Youtube as FlexYoutube, Fonts, FormIdentifyBooleanFields, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, ICON_SIZE, ICON_SIZE_STYLES, ICON_VARIANTS, IMAGE_ASPECT_VARIANTS, IMAGE_ROUND_SHAPE, IMAGE_ROUND_STYLES, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LIST_ITEM_CONTEXT_KEY, LengthUnits, ListBackgroundTypes, ListDirections, ListSeparatorTypes, MULTI_COLUMN_ITEM_CONTEXT_KEY, MediaQueries, ModalPositions, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_VARIANT, SHADOW_VARIANTS, SYSTEM_FONT, State, StateItem, TEXT_LINK_SIZE, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TEXT_STYLE, TEXT_THEME, TEXT_VARIANTS, TextDirections, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, avatarPropsDefault, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getBrandKit, getButtonOutlinedThemeStyles, getButtonTextThemeStyles, getButtonThemeStyles, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getTextLinkThemeStyles, getTextThemeStyles, 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, useBrandKit, variables, widget };
|
@@ -2460,6 +2460,9 @@ type CustomizeCssProps = {
|
|
2460
2460
|
type BrandStyleProps = {
|
2461
2461
|
customBrandKit?: Partial<BrandKit>;
|
2462
2462
|
};
|
2463
|
+
type ActionTableProps = {
|
2464
|
+
actionTableKey?: string;
|
2465
|
+
};
|
2463
2466
|
type CommonProps = MetaProps & PositionProps & CustomizeCssProps & BrandStyleProps;
|
2464
2467
|
type ClickableProps = {
|
2465
2468
|
onClick?: OnClickOperation;
|
@@ -2654,9 +2657,9 @@ type IconProps = CommonProps & ClickableProps & {
|
|
2654
2657
|
};
|
2655
2658
|
declare const ICON_SIZE_STYLES: PropStyles<IconProps, "size">;
|
2656
2659
|
declare const IMAGE_ROUND_SHAPE: {
|
2657
|
-
readonly circle: "\
|
2660
|
+
readonly circle: "\u30E9\u30A6\u30F3\u30C9 / \u30DF\u30C7\u30A3\u30A2\u30E0";
|
2661
|
+
readonly rounded: "\u30E9\u30A6\u30F3\u30C9 / \u30B9\u30E2\u30FC\u30EB";
|
2658
2662
|
readonly square: "\u30B9\u30AF\u30A8\u30A2";
|
2659
|
-
readonly rounded: "\u30E9\u30A6\u30F3\u30C9";
|
2660
2663
|
};
|
2661
2664
|
declare const IMAGE_ASPECT_VARIANTS: {
|
2662
2665
|
"1/1": string;
|
@@ -2670,12 +2673,14 @@ declare const IMAGE_ASPECT_VARIANTS: {
|
|
2670
2673
|
"3/4": string;
|
2671
2674
|
"9/16": string;
|
2672
2675
|
};
|
2673
|
-
type ImageProps = CommonProps & ClickableProps & AspectProps & BorderProps & {
|
2676
|
+
type ImageProps = CommonProps & ClickableProps & AspectProps & RadiusProps & BorderProps & {
|
2674
2677
|
image?: string;
|
2675
2678
|
width?: Properties["width"];
|
2679
|
+
height?: Properties["height"];
|
2676
2680
|
alt?: string;
|
2677
2681
|
shape?: keyof typeof IMAGE_ROUND_SHAPE;
|
2678
2682
|
};
|
2683
|
+
declare const IMAGE_ROUND_STYLES: PropStyles<ImageProps, "shape">;
|
2679
2684
|
declare const LAYOUT_DISPLAY_TYPE: readonly [
|
2680
2685
|
"inline-flex",
|
2681
2686
|
"flex",
|
@@ -2797,7 +2802,10 @@ type TextLinkProps = CommonProps & ClickableProps & LinkProps & FontFamilyProps
|
|
2797
2802
|
};
|
2798
2803
|
declare const TEXT_LINK_SIZE_STYLES: PropStyles<TextLinkProps, "size">;
|
2799
2804
|
declare const getTextLinkThemeStyles: (customBrandKit?: Partial<BrandKit>) => BrandableStyles<TextLinkProps>;
|
2800
|
-
type
|
2805
|
+
type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & {
|
2806
|
+
width?: Properties["width"];
|
2807
|
+
};
|
2808
|
+
type ListProps = CommonProps & ActionTableProps & {
|
2801
2809
|
gap?: Properties["gap"];
|
2802
2810
|
borderWidth?: Properties["borderTopWidth"];
|
2803
2811
|
borderStyle?: Properties["borderTopStyle"];
|
@@ -2893,7 +2901,7 @@ type CodeProps = CommonProps & {
|
|
2893
2901
|
rawScript?: string;
|
2894
2902
|
};
|
2895
2903
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
2896
|
-
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, ROUND_VARIANT, PositionProps, MetaProps, CustomizeCssProps, BrandStyleProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, WithIconProps, LinkProps, AspectProps, FontFamilyProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, avatarPropsDefault, AVATAR_SIZE_STYLES, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANT, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, getButtonThemeStyles, BUTTON_SIZE_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, getButtonOutlinedThemeStyles, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, getButtonTextThemeStyles, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ICON_SIZE_STYLES, IMAGE_ROUND_SHAPE, IMAGE_ASPECT_VARIANTS, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, SliderItemProps, LAYER_TEXT_SIZE, TEXT_THEME, TEXT_STYLE, LayerTextProps, getTextThemeStyles, TEXT_VARIANTS, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, getTextLinkThemeStyles, ListProps, ListItemProps, LIST_ITEM_CONTEXT_KEY, ListItemContext, MultiColumnProps, MultiColumnItemProps, MULTI_COLUMN_ITEM_CONTEXT_KEY, MultiColumnItemContext, YoutubeProps, CountDownProps, CountDownValueType, CountDownValueProps, CountDownValues, ClipboardProps, CodeProps, BrandKit, getBrandKit, useBrandKit, ROUND_STYLES, VariantStyles, VariantDefinition, VariantDefinitionGroup, ASPECT_VARIANT, AspectVariantCode, ASPECT_VARIANTS, FontVariantMeta, FONT_FAMILY_VARIANT, FontFamilyVariantCode, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, SHADOW_VARIANT, ShadowVariantCode, SHADOW_VARIANTS };
|
2904
|
+
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, ROUND_VARIANT, PositionProps, MetaProps, CustomizeCssProps, BrandStyleProps, ActionTableProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, WithIconProps, LinkProps, AspectProps, FontFamilyProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, avatarPropsDefault, AVATAR_SIZE_STYLES, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANT, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, getButtonThemeStyles, BUTTON_SIZE_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, getButtonOutlinedThemeStyles, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, getButtonTextThemeStyles, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ICON_SIZE_STYLES, IMAGE_ROUND_SHAPE, IMAGE_ASPECT_VARIANTS, ImageProps, IMAGE_ROUND_STYLES, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, SliderItemProps, LAYER_TEXT_SIZE, TEXT_THEME, TEXT_STYLE, LayerTextProps, getTextThemeStyles, TEXT_VARIANTS, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, getTextLinkThemeStyles, FrameModalProps, ListProps, ListItemProps, LIST_ITEM_CONTEXT_KEY, ListItemContext, MultiColumnProps, MultiColumnItemProps, MULTI_COLUMN_ITEM_CONTEXT_KEY, MultiColumnItemContext, YoutubeProps, CountDownProps, CountDownValueType, CountDownValueProps, CountDownValues, ClipboardProps, CodeProps, BrandKit, getBrandKit, useBrandKit, ROUND_STYLES, VariantStyles, VariantDefinition, VariantDefinitionGroup, ASPECT_VARIANT, AspectVariantCode, ASPECT_VARIANTS, FontVariantMeta, FONT_FAMILY_VARIANT, FontFamilyVariantCode, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, SHADOW_VARIANT, ShadowVariantCode, SHADOW_VARIANTS };
|
2897
2905
|
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 };
|
2898
2906
|
export { default as State } from './components-flex/state/State.svelte';
|
2899
2907
|
export { default as StateItem } from './components-flex/state/StateItem.svelte';
|