@plaidev/karte-action-sdk 1.1.264-29046374.a006e69f → 1.1.264-29051600.c90abff9
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 +8 -2
- package/dist/hydrate/index.es.js +105 -83
- package/dist/index.es.d.ts +8 -2
- package/dist/index.es.js +105 -83
- package/dist/svelte5/hydrate/index.es.d.ts +8 -2
- package/dist/svelte5/hydrate/index.es.js +118 -97
- package/dist/svelte5/index.es.d.ts +8 -2
- package/dist/svelte5/index.es.js +118 -97
- package/dist/svelte5/index.front2.es.js +118 -97
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
@@ -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;
|
@@ -2797,7 +2800,10 @@ type TextLinkProps = CommonProps & ClickableProps & LinkProps & FontFamilyProps
|
|
2797
2800
|
};
|
2798
2801
|
declare const TEXT_LINK_SIZE_STYLES: PropStyles<TextLinkProps, "size">;
|
2799
2802
|
declare const getTextLinkThemeStyles: (customBrandKit?: Partial<BrandKit>) => BrandableStyles<TextLinkProps>;
|
2800
|
-
type
|
2803
|
+
type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & {
|
2804
|
+
width?: Properties["width"];
|
2805
|
+
};
|
2806
|
+
type ListProps = CommonProps & ActionTableProps & {
|
2801
2807
|
gap?: Properties["gap"];
|
2802
2808
|
borderWidth?: Properties["borderTopWidth"];
|
2803
2809
|
borderStyle?: Properties["borderTopStyle"];
|
@@ -2893,7 +2899,7 @@ type CodeProps = CommonProps & {
|
|
2893
2899
|
rawScript?: string;
|
2894
2900
|
};
|
2895
2901
|
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 };
|
2902
|
+
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, 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
2903
|
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
2904
|
export { default as State } from './components/State.svelte';
|
2899
2905
|
export { default as StateItem } from './components/StateItem.svelte';
|
package/dist/index.es.js
CHANGED
@@ -15823,7 +15823,7 @@ function get_each_context$1(ctx, list, i) {
|
|
15823
15823
|
return child_ctx;
|
15824
15824
|
}
|
15825
15825
|
|
15826
|
-
// (
|
15826
|
+
// (174:4) {#each indicators ?? [] as indicator, i}
|
15827
15827
|
function create_each_block$1(ctx) {
|
15828
15828
|
let button;
|
15829
15829
|
let i_1;
|
@@ -16093,8 +16093,6 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
16093
16093
|
};
|
16094
16094
|
|
16095
16095
|
const handleClick = e => {
|
16096
|
-
console.log('handleClick', isDragging);
|
16097
|
-
|
16098
16096
|
if (isDragging) {
|
16099
16097
|
e.preventDefault();
|
16100
16098
|
e.stopPropagation();
|
@@ -16119,6 +16117,7 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
16119
16117
|
$$invalidate(13, movedX = null);
|
16120
16118
|
document.removeEventListener('touchmove', handleTouchmove);
|
16121
16119
|
document.removeEventListener('touchend', handleTouchend);
|
16120
|
+
document.removeEventListener('click', handleClick);
|
16122
16121
|
};
|
16123
16122
|
|
16124
16123
|
const handleTouchstart = e => {
|
@@ -16138,8 +16137,6 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
16138
16137
|
};
|
16139
16138
|
|
16140
16139
|
const handleMouseup = e => {
|
16141
|
-
console.log('handleMouseup');
|
16142
|
-
|
16143
16140
|
if (movedX >= 32) {
|
16144
16141
|
toNext();
|
16145
16142
|
} else if (movedX <= -32) {
|
@@ -17267,7 +17264,7 @@ function add_css$9(target) {
|
|
17267
17264
|
append_styles(target, "svelte-45ue06", "*{box-sizing:border-box}.modal.svelte-45ue06{position:fixed;z-index:2147483647;display:flex}.modal.svelte-45ue06 > .button{flex:auto;display:flex}@media screen and (min-width: 641px){.modal-bp.svelte-45ue06{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc);margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-45ue06{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp);margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
|
17268
17265
|
}
|
17269
17266
|
|
17270
|
-
// (
|
17267
|
+
// (237:0) {:else}
|
17271
17268
|
function create_else_block(ctx) {
|
17272
17269
|
let backgroundoverlay;
|
17273
17270
|
let current;
|
@@ -17279,7 +17276,7 @@ function create_else_block(ctx) {
|
|
17279
17276
|
});
|
17280
17277
|
|
17281
17278
|
backgroundoverlay.$on("click", function () {
|
17282
|
-
if (is_function(/*backgroundClick*/ ctx[
|
17279
|
+
if (is_function(/*backgroundClick*/ ctx[13])) /*backgroundClick*/ ctx[13].apply(this, arguments);
|
17283
17280
|
});
|
17284
17281
|
|
17285
17282
|
return {
|
@@ -17311,7 +17308,7 @@ function create_else_block(ctx) {
|
|
17311
17308
|
};
|
17312
17309
|
}
|
17313
17310
|
|
17314
|
-
// (
|
17311
|
+
// (226:24)
|
17315
17312
|
function create_if_block_2(ctx) {
|
17316
17313
|
let backgroundoverlay0;
|
17317
17314
|
let t;
|
@@ -17326,7 +17323,7 @@ function create_if_block_2(ctx) {
|
|
17326
17323
|
});
|
17327
17324
|
|
17328
17325
|
backgroundoverlay0.$on("click", function () {
|
17329
|
-
if (is_function(/*backgroundClickPC*/ ctx[
|
17326
|
+
if (is_function(/*backgroundClickPC*/ ctx[12])) /*backgroundClickPC*/ ctx[12].apply(this, arguments);
|
17330
17327
|
});
|
17331
17328
|
|
17332
17329
|
backgroundoverlay1 = new BackgroundOverlay({
|
@@ -17337,7 +17334,7 @@ function create_if_block_2(ctx) {
|
|
17337
17334
|
});
|
17338
17335
|
|
17339
17336
|
backgroundoverlay1.$on("click", function () {
|
17340
|
-
if (is_function(/*backgroundClickSP*/ ctx[
|
17337
|
+
if (is_function(/*backgroundClickSP*/ ctx[11])) /*backgroundClickSP*/ ctx[11].apply(this, arguments);
|
17341
17338
|
});
|
17342
17339
|
|
17343
17340
|
return {
|
@@ -17380,7 +17377,7 @@ function create_if_block_2(ctx) {
|
|
17380
17377
|
};
|
17381
17378
|
}
|
17382
17379
|
|
17383
|
-
// (
|
17380
|
+
// (224:0) {#if isPreview()}
|
17384
17381
|
function create_if_block_1$1(ctx) {
|
17385
17382
|
return {
|
17386
17383
|
c: noop,
|
@@ -17392,14 +17389,15 @@ function create_if_block_1$1(ctx) {
|
|
17392
17389
|
};
|
17393
17390
|
}
|
17394
17391
|
|
17395
|
-
// (
|
17392
|
+
// (240:0) {#if visible}
|
17396
17393
|
function create_if_block$3(ctx) {
|
17397
17394
|
let div;
|
17398
17395
|
let div_class_value;
|
17396
|
+
let div_style_value;
|
17399
17397
|
let div_intro;
|
17400
17398
|
let current;
|
17401
|
-
const default_slot_template = /*#slots*/ ctx[
|
17402
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
17399
|
+
const default_slot_template = /*#slots*/ ctx[26].default;
|
17400
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
|
17403
17401
|
|
17404
17402
|
return {
|
17405
17403
|
c() {
|
@@ -17409,7 +17407,7 @@ function create_if_block$3(ctx) {
|
|
17409
17407
|
attr(div, "role", "dialog");
|
17410
17408
|
attr(div, "aria-modal", "true");
|
17411
17409
|
attr(div, "data-layer-id", /*layerId*/ ctx[2]);
|
17412
|
-
attr(div, "style", Array.from(/*modalStyles*/ ctx[
|
17410
|
+
attr(div, "style", div_style_value = [Array.from(/*modalStyles*/ ctx[14]).join(';'), /*style*/ ctx[9]].join(' '));
|
17413
17411
|
},
|
17414
17412
|
m(target, anchor) {
|
17415
17413
|
insert(target, div, anchor);
|
@@ -17418,22 +17416,22 @@ function create_if_block$3(ctx) {
|
|
17418
17416
|
default_slot.m(div, null);
|
17419
17417
|
}
|
17420
17418
|
|
17421
|
-
/*div_binding*/ ctx[
|
17419
|
+
/*div_binding*/ ctx[27](div);
|
17422
17420
|
current = true;
|
17423
17421
|
},
|
17424
17422
|
p(new_ctx, dirty) {
|
17425
17423
|
ctx = new_ctx;
|
17426
17424
|
|
17427
17425
|
if (default_slot) {
|
17428
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
17426
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 33554432)) {
|
17429
17427
|
update_slot_base(
|
17430
17428
|
default_slot,
|
17431
17429
|
default_slot_template,
|
17432
17430
|
ctx,
|
17433
|
-
/*$$scope*/ ctx[
|
17431
|
+
/*$$scope*/ ctx[25],
|
17434
17432
|
!current
|
17435
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
17436
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
17433
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[25])
|
17434
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),
|
17437
17435
|
null
|
17438
17436
|
);
|
17439
17437
|
}
|
@@ -17446,6 +17444,10 @@ function create_if_block$3(ctx) {
|
|
17446
17444
|
if (!current || dirty & /*layerId*/ 4) {
|
17447
17445
|
attr(div, "data-layer-id", /*layerId*/ ctx[2]);
|
17448
17446
|
}
|
17447
|
+
|
17448
|
+
if (!current || dirty & /*style*/ 512 && div_style_value !== (div_style_value = [Array.from(/*modalStyles*/ ctx[14]).join(';'), /*style*/ ctx[9]].join(' '))) {
|
17449
|
+
attr(div, "style", div_style_value);
|
17450
|
+
}
|
17449
17451
|
},
|
17450
17452
|
i(local) {
|
17451
17453
|
if (current) return;
|
@@ -17471,7 +17473,7 @@ function create_if_block$3(ctx) {
|
|
17471
17473
|
d(detaching) {
|
17472
17474
|
if (detaching) detach(div);
|
17473
17475
|
if (default_slot) default_slot.d(detaching);
|
17474
|
-
/*div_binding*/ ctx[
|
17476
|
+
/*div_binding*/ ctx[27](null);
|
17475
17477
|
}
|
17476
17478
|
};
|
17477
17479
|
}
|
@@ -17515,7 +17517,7 @@ function create_fragment$d(ctx) {
|
|
17515
17517
|
|
17516
17518
|
if (!mounted) {
|
17517
17519
|
dispose = listen(window, "keydown", function () {
|
17518
|
-
if (is_function(/*handle_keydown*/ ctx[
|
17520
|
+
if (is_function(/*handle_keydown*/ ctx[10])) /*handle_keydown*/ ctx[10].apply(this, arguments);
|
17519
17521
|
});
|
17520
17522
|
|
17521
17523
|
mounted = true;
|
@@ -17601,12 +17603,14 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17601
17603
|
let backgroundClickSP;
|
17602
17604
|
let handle_keydown;
|
17603
17605
|
let visible;
|
17606
|
+
let style;
|
17604
17607
|
let { $$slots: slots = {}, $$scope } = $$props;
|
17605
17608
|
let { useBreakPoint = false } = $$props;
|
17606
17609
|
let { placement } = $$props;
|
17607
17610
|
let { breakPoint } = $$props;
|
17608
17611
|
let { elasticity } = $$props;
|
17609
17612
|
let { animation = 'none' } = $$props;
|
17613
|
+
let { props = {} } = $$props;
|
17610
17614
|
let { closeEventName = '' } = $$props;
|
17611
17615
|
let { closeEventValue = null } = $$props;
|
17612
17616
|
let { layerId = '' } = $$props;
|
@@ -17643,19 +17647,20 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17643
17647
|
|
17644
17648
|
$$self.$$set = $$props => {
|
17645
17649
|
if ('useBreakPoint' in $$props) $$invalidate(0, useBreakPoint = $$props.useBreakPoint);
|
17646
|
-
if ('placement' in $$props) $$invalidate(
|
17647
|
-
if ('breakPoint' in $$props) $$invalidate(
|
17648
|
-
if ('elasticity' in $$props) $$invalidate(
|
17650
|
+
if ('placement' in $$props) $$invalidate(15, placement = $$props.placement);
|
17651
|
+
if ('breakPoint' in $$props) $$invalidate(16, breakPoint = $$props.breakPoint);
|
17652
|
+
if ('elasticity' in $$props) $$invalidate(17, elasticity = $$props.elasticity);
|
17649
17653
|
if ('animation' in $$props) $$invalidate(1, animation = $$props.animation);
|
17650
|
-
if ('
|
17651
|
-
if ('
|
17654
|
+
if ('props' in $$props) $$invalidate(18, props = $$props.props);
|
17655
|
+
if ('closeEventName' in $$props) $$invalidate(19, closeEventName = $$props.closeEventName);
|
17656
|
+
if ('closeEventValue' in $$props) $$invalidate(20, closeEventValue = $$props.closeEventValue);
|
17652
17657
|
if ('layerId' in $$props) $$invalidate(2, layerId = $$props.layerId);
|
17653
|
-
if ('$$scope' in $$props) $$invalidate(
|
17658
|
+
if ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);
|
17654
17659
|
};
|
17655
17660
|
|
17656
17661
|
$$self.$$.update = () => {
|
17657
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue*/
|
17658
|
-
$$invalidate(
|
17662
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue*/ 1572864) {
|
17663
|
+
$$invalidate(24, close = () => {
|
17659
17664
|
const onClose = { operation: 'closeApp', args: ['button'] };
|
17660
17665
|
|
17661
17666
|
if (closeEventName) {
|
@@ -17666,7 +17671,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17666
17671
|
});
|
17667
17672
|
}
|
17668
17673
|
|
17669
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/
|
17674
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 98305) {
|
17670
17675
|
{
|
17671
17676
|
if (isExistBackgroundOverlayValue) {
|
17672
17677
|
$$invalidate(4, backgroundOverlay = placement.backgroundOverlay);
|
@@ -17681,30 +17686,30 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17681
17686
|
}
|
17682
17687
|
}
|
17683
17688
|
|
17684
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/
|
17689
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 98305) {
|
17685
17690
|
{
|
17686
17691
|
if (placement && placement.backgroundClick) {
|
17687
|
-
$$invalidate(
|
17692
|
+
$$invalidate(21, backgroundClickFunction = placement.backgroundClick);
|
17688
17693
|
}
|
17689
17694
|
|
17690
17695
|
if (useBreakPoint) {
|
17691
17696
|
const pc = breakPoint?.PC?.placement?.backgroundClick;
|
17692
17697
|
|
17693
17698
|
if (pc) {
|
17694
|
-
$$invalidate(
|
17699
|
+
$$invalidate(22, backgroundClickFunctionPC = pc);
|
17695
17700
|
}
|
17696
17701
|
|
17697
17702
|
const sp = breakPoint?.SP?.placement?.backgroundClick;
|
17698
17703
|
|
17699
17704
|
if (sp) {
|
17700
|
-
$$invalidate(
|
17705
|
+
$$invalidate(23, backgroundClickFunctionSP = sp);
|
17701
17706
|
}
|
17702
17707
|
}
|
17703
17708
|
}
|
17704
17709
|
}
|
17705
17710
|
|
17706
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
17707
|
-
$$invalidate(
|
17711
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 3670016) {
|
17712
|
+
$$invalidate(13, backgroundClick = () => {
|
17708
17713
|
if (closeEventName) {
|
17709
17714
|
send_event(closeEventName, closeEventValue);
|
17710
17715
|
}
|
@@ -17713,8 +17718,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17713
17718
|
});
|
17714
17719
|
}
|
17715
17720
|
|
17716
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/
|
17717
|
-
$$invalidate(
|
17721
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 5767168) {
|
17722
|
+
$$invalidate(12, backgroundClickPC = () => {
|
17718
17723
|
if (closeEventName) {
|
17719
17724
|
send_event(closeEventName, closeEventValue);
|
17720
17725
|
}
|
@@ -17723,8 +17728,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17723
17728
|
});
|
17724
17729
|
}
|
17725
17730
|
|
17726
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/
|
17727
|
-
$$invalidate(
|
17731
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 9961472) {
|
17732
|
+
$$invalidate(11, backgroundClickSP = () => {
|
17728
17733
|
if (closeEventName) {
|
17729
17734
|
send_event(closeEventName, closeEventValue);
|
17730
17735
|
}
|
@@ -17733,7 +17738,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17733
17738
|
});
|
17734
17739
|
}
|
17735
17740
|
|
17736
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/
|
17741
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/ 98313) {
|
17737
17742
|
// 表示位置のスタイルとアニメーションの動きを設定
|
17738
17743
|
{
|
17739
17744
|
// 表示位置のスタイルの設定
|
@@ -17781,7 +17786,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17781
17786
|
}
|
17782
17787
|
}
|
17783
17788
|
|
17784
|
-
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/
|
17789
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 98305) {
|
17785
17790
|
// 表示位置の調整のスタイルを設定
|
17786
17791
|
{
|
17787
17792
|
let margin = DefaultModalPlacement.margin;
|
@@ -17813,7 +17818,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17813
17818
|
}
|
17814
17819
|
}
|
17815
17820
|
|
17816
|
-
if ($$self.$$.dirty & /*elasticity, useBreakPoint, breakPoint*/
|
17821
|
+
if ($$self.$$.dirty & /*elasticity, useBreakPoint, breakPoint*/ 196609) {
|
17817
17822
|
// 拡大方法のスタイルを設定
|
17818
17823
|
{
|
17819
17824
|
let elasticStyle = ElasticityStyle[elasticity];
|
@@ -17839,8 +17844,20 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17839
17844
|
}
|
17840
17845
|
}
|
17841
17846
|
|
17842
|
-
if ($$self.$$.dirty & /*close*/
|
17843
|
-
$$invalidate(
|
17847
|
+
if ($$self.$$.dirty & /*close*/ 16777216) {
|
17848
|
+
$$invalidate(10, handle_keydown = handleKeydown({ Escape: close }));
|
17849
|
+
}
|
17850
|
+
|
17851
|
+
if ($$self.$$.dirty & /*props*/ 262144) {
|
17852
|
+
$$invalidate(9, style = objToStyle({
|
17853
|
+
width: props.width,
|
17854
|
+
...toCssOverflow(props),
|
17855
|
+
...toCssShadow(props),
|
17856
|
+
...toCssRadius(props),
|
17857
|
+
...toCssBackgroundImage(props),
|
17858
|
+
...toCssBackgroundColor(props),
|
17859
|
+
...toCssBorder(props)
|
17860
|
+
}));
|
17844
17861
|
}
|
17845
17862
|
};
|
17846
17863
|
|
@@ -17859,6 +17876,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17859
17876
|
backgroundOverlaySP,
|
17860
17877
|
modal,
|
17861
17878
|
visible,
|
17879
|
+
style,
|
17862
17880
|
handle_keydown,
|
17863
17881
|
backgroundClickSP,
|
17864
17882
|
backgroundClickPC,
|
@@ -17867,6 +17885,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
17867
17885
|
placement,
|
17868
17886
|
breakPoint,
|
17869
17887
|
elasticity,
|
17888
|
+
props,
|
17870
17889
|
closeEventName,
|
17871
17890
|
closeEventValue,
|
17872
17891
|
backgroundClickFunction,
|
@@ -17891,12 +17910,13 @@ class Modal extends SvelteComponent {
|
|
17891
17910
|
safe_not_equal,
|
17892
17911
|
{
|
17893
17912
|
useBreakPoint: 0,
|
17894
|
-
placement:
|
17895
|
-
breakPoint:
|
17896
|
-
elasticity:
|
17913
|
+
placement: 15,
|
17914
|
+
breakPoint: 16,
|
17915
|
+
elasticity: 17,
|
17897
17916
|
animation: 1,
|
17898
|
-
|
17899
|
-
|
17917
|
+
props: 18,
|
17918
|
+
closeEventName: 19,
|
17919
|
+
closeEventValue: 20,
|
17900
17920
|
layerId: 2
|
17901
17921
|
},
|
17902
17922
|
add_css$9
|
@@ -18005,8 +18025,8 @@ function add_css$7(target) {
|
|
18005
18025
|
function create_fragment$b(ctx) {
|
18006
18026
|
let ul;
|
18007
18027
|
let current;
|
18008
|
-
const default_slot_template = /*#slots*/ ctx[
|
18009
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
18028
|
+
const default_slot_template = /*#slots*/ ctx[6].default;
|
18029
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[5], null);
|
18010
18030
|
|
18011
18031
|
return {
|
18012
18032
|
c() {
|
@@ -18027,15 +18047,15 @@ function create_fragment$b(ctx) {
|
|
18027
18047
|
},
|
18028
18048
|
p(ctx, [dirty]) {
|
18029
18049
|
if (default_slot) {
|
18030
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
18050
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 32)) {
|
18031
18051
|
update_slot_base(
|
18032
18052
|
default_slot,
|
18033
18053
|
default_slot_template,
|
18034
18054
|
ctx,
|
18035
|
-
/*$$scope*/ ctx[
|
18055
|
+
/*$$scope*/ ctx[5],
|
18036
18056
|
!current
|
18037
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
18038
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
18057
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[5])
|
18058
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[5], dirty, null),
|
18039
18059
|
null
|
18040
18060
|
);
|
18041
18061
|
}
|
@@ -18067,11 +18087,16 @@ function create_fragment$b(ctx) {
|
|
18067
18087
|
|
18068
18088
|
function instance$b($$self, $$props, $$invalidate) {
|
18069
18089
|
let variables;
|
18090
|
+
let actionTableData;
|
18070
18091
|
let style;
|
18071
18092
|
let { $$slots: slots = {}, $$scope } = $$props;
|
18072
18093
|
let { layerId } = $$props;
|
18073
18094
|
let { props } = $$props;
|
18074
18095
|
useInjectCustomizeCss(props);
|
18096
|
+
const vars = getVariables();
|
18097
|
+
console.log(vars);
|
18098
|
+
console.log(props.actionTableKey);
|
18099
|
+
console.log(vars[props.actionTableKey]);
|
18075
18100
|
|
18076
18101
|
setContext(LIST_ITEM_CONTEXT_KEY, {
|
18077
18102
|
paddingTop: props.itemPaddingTop,
|
@@ -18088,7 +18113,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
18088
18113
|
$$self.$$set = $$props => {
|
18089
18114
|
if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
|
18090
18115
|
if ('props' in $$props) $$invalidate(2, props = $$props.props);
|
18091
|
-
if ('$$scope' in $$props) $$invalidate(
|
18116
|
+
if ('$$scope' in $$props) $$invalidate(5, $$scope = $$props.$$scope);
|
18092
18117
|
};
|
18093
18118
|
|
18094
18119
|
$$self.$$.update = () => {
|
@@ -18104,6 +18129,12 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
18104
18129
|
});
|
18105
18130
|
}
|
18106
18131
|
|
18132
|
+
if ($$self.$$.dirty & /*props*/ 4) {
|
18133
|
+
$$invalidate(4, actionTableData = vars[props.actionTableKey]);
|
18134
|
+
}
|
18135
|
+
|
18136
|
+
if ($$self.$$.dirty & /*actionTableData*/ 16) ;
|
18137
|
+
|
18107
18138
|
if ($$self.$$.dirty & /*props, variables*/ 12) {
|
18108
18139
|
$$invalidate(1, style = objToStyle({
|
18109
18140
|
width: props.width ?? '100%',
|
@@ -18112,7 +18143,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
18112
18143
|
}
|
18113
18144
|
};
|
18114
18145
|
|
18115
|
-
return [layerId, style, props, variables, $$scope, slots];
|
18146
|
+
return [layerId, style, props, variables, actionTableData, $$scope, slots];
|
18116
18147
|
}
|
18117
18148
|
|
18118
18149
|
class List extends SvelteComponent {
|
@@ -18128,14 +18159,14 @@ function add_css$6(target) {
|
|
18128
18159
|
append_styles(target, "svelte-1223veg", ".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)}");
|
18129
18160
|
}
|
18130
18161
|
|
18131
|
-
// (
|
18162
|
+
// (30:2) <svelte:element {...attributes} this={element} class="list-item-inner" style={innerStyle} on:click={handleClick} >
|
18132
18163
|
function create_dynamic_element$1(ctx) {
|
18133
18164
|
let svelte_element;
|
18134
18165
|
let current;
|
18135
18166
|
let mounted;
|
18136
18167
|
let dispose;
|
18137
|
-
const default_slot_template = /*#slots*/ ctx[
|
18138
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
18168
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
18169
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
18139
18170
|
|
18140
18171
|
let svelte_element_levels = [
|
18141
18172
|
/*attributes*/ ctx[3],
|
@@ -18178,15 +18209,15 @@ function create_dynamic_element$1(ctx) {
|
|
18178
18209
|
},
|
18179
18210
|
p(ctx, dirty) {
|
18180
18211
|
if (default_slot) {
|
18181
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
18212
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
18182
18213
|
update_slot_base(
|
18183
18214
|
default_slot,
|
18184
18215
|
default_slot_template,
|
18185
18216
|
ctx,
|
18186
|
-
/*$$scope*/ ctx[
|
18217
|
+
/*$$scope*/ ctx[9],
|
18187
18218
|
!current
|
18188
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
18189
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
18219
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
18220
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
18190
18221
|
null
|
18191
18222
|
);
|
18192
18223
|
}
|
@@ -18295,6 +18326,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
18295
18326
|
let { $$slots: slots = {}, $$scope } = $$props;
|
18296
18327
|
let { layerId } = $$props;
|
18297
18328
|
let { props } = $$props;
|
18329
|
+
let { item } = $$props;
|
18298
18330
|
useInjectCustomizeCss(props);
|
18299
18331
|
const { attributes, element, handleClick } = useClickable(props);
|
18300
18332
|
const context = getContext(LIST_ITEM_CONTEXT_KEY) || {};
|
@@ -18302,16 +18334,17 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
18302
18334
|
$$self.$$set = $$props => {
|
18303
18335
|
if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
|
18304
18336
|
if ('props' in $$props) $$invalidate(6, props = $$props.props);
|
18305
|
-
if ('
|
18337
|
+
if ('item' in $$props) $$invalidate(7, item = $$props.item);
|
18338
|
+
if ('$$scope' in $$props) $$invalidate(9, $$scope = $$props.$$scope);
|
18306
18339
|
};
|
18307
18340
|
|
18308
18341
|
$$self.$$.update = () => {
|
18309
|
-
if ($$self.$$.dirty & /*variables*/
|
18342
|
+
if ($$self.$$.dirty & /*variables*/ 256) {
|
18310
18343
|
$$invalidate(2, style = objToStyle(variables));
|
18311
18344
|
}
|
18312
18345
|
};
|
18313
18346
|
|
18314
|
-
$$invalidate(
|
18347
|
+
$$invalidate(8, variables = {
|
18315
18348
|
...context.borderTopWidth
|
18316
18349
|
? {
|
18317
18350
|
'--list-item-border-width': context.borderTopWidth ?? '0',
|
@@ -18337,6 +18370,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
18337
18370
|
element,
|
18338
18371
|
handleClick,
|
18339
18372
|
props,
|
18373
|
+
item,
|
18340
18374
|
variables,
|
18341
18375
|
$$scope,
|
18342
18376
|
slots
|
@@ -18346,7 +18380,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
18346
18380
|
class ListItem extends SvelteComponent {
|
18347
18381
|
constructor(options) {
|
18348
18382
|
super();
|
18349
|
-
init(this, options, instance$a, create_fragment$a, safe_not_equal, { layerId: 0, props: 6 }, add_css$6);
|
18383
|
+
init(this, options, instance$a, create_fragment$a, safe_not_equal, { layerId: 0, props: 6, item: 7 }, add_css$6);
|
18350
18384
|
}
|
18351
18385
|
}
|
18352
18386
|
|
@@ -18506,7 +18540,7 @@ function add_css$4(target) {
|
|
18506
18540
|
append_styles(target, "svelte-1blzs1a", ".multi-column-item.svelte-1blzs1a{margin:0;width:100%;padding-top:0;padding-bottom:0;padding-left:var(--multi-column-item-padding);padding-right:var(--multi-column-item-padding)}.multi-column-item-inner.svelte-1blzs1a{display:flex;flex-direction:column;align-items:center;gap:var(--multi-column-item-gap);width:100%;text-decoration:none;color:inherit;padding-top:var(--multi-column-item-padding-top);padding-left:var(--multi-column-item-padding-left);padding-right:var(--multi-column-item-padding-right);padding-bottom:var(--multi-column-item-padding-bottom)}.multi-column-item-inner.svelte-1blzs1a:hover{opacity:0.8}.multi-column-item.svelte-1blzs1a:not(:first-child){border-left-width:var(--multi-column-item-border-width);border-left-style:var(--multi-column-item-border-style);border-left-color:var(--multi-column-item-border-color)}");
|
18507
18541
|
}
|
18508
18542
|
|
18509
|
-
// (
|
18543
|
+
// (28:2) <svelte:element {...attributes} this={element} class="multi-column-item-inner" on:click={handleClick} >
|
18510
18544
|
function create_dynamic_element(ctx) {
|
18511
18545
|
let svelte_element;
|
18512
18546
|
let current;
|
@@ -18665,7 +18699,6 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
18665
18699
|
useInjectCustomizeCss(props);
|
18666
18700
|
const { attributes, element, handleClick } = useClickable(props);
|
18667
18701
|
const context = getContext(MULTI_COLUMN_ITEM_CONTEXT_KEY) || {};
|
18668
|
-
console.log(context);
|
18669
18702
|
|
18670
18703
|
$$self.$$set = $$props => {
|
18671
18704
|
if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
|
@@ -18983,12 +19016,6 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
18983
19016
|
let timeLimit = props.timeLimit ? new Date(props.timeLimit) : new Date();
|
18984
19017
|
|
18985
19018
|
function onEachSecond() {
|
18986
|
-
console.log({
|
18987
|
-
timeLimit: timeLimit.getTime(),
|
18988
|
-
now: new Date().getTime(),
|
18989
|
-
calced: calcRemainingTime(timeLimit.getTime())
|
18990
|
-
});
|
18991
|
-
|
18992
19019
|
const _remainingTime = calcRemainingTime(timeLimit.getTime());
|
18993
19020
|
|
18994
19021
|
if (_remainingTime > 0) {
|
@@ -19000,8 +19027,6 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
19000
19027
|
execOnClickOperation(props.onEnd);
|
19001
19028
|
}
|
19002
19029
|
}
|
19003
|
-
|
19004
|
-
console.log(remainingTime);
|
19005
19030
|
}
|
19006
19031
|
|
19007
19032
|
onMount$1(() => {
|
@@ -19166,9 +19191,7 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
19166
19191
|
let { layerId = '' } = $$props;
|
19167
19192
|
let countdownStore = getContext('countdownStore');
|
19168
19193
|
component_subscribe($$self, countdownStore, value => $$invalidate(5, $countdownStore = value));
|
19169
|
-
console.log(countdownStore);
|
19170
19194
|
let { style } = useText(props);
|
19171
|
-
console.log(value);
|
19172
19195
|
|
19173
19196
|
$$self.$$set = $$props => {
|
19174
19197
|
if ('props' in $$props) $$invalidate(4, props = $$props.props);
|
@@ -19312,7 +19335,6 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
19312
19335
|
const handleClick = e => {
|
19313
19336
|
e.preventDefault();
|
19314
19337
|
const targetText = props.content ?? buttonElement?.innerText ?? '';
|
19315
|
-
console.log(targetText);
|
19316
19338
|
navigator.clipboard.writeText(targetText);
|
19317
19339
|
send_event('_click_copy', { text: targetText });
|
19318
19340
|
|