@plaidev/karte-action-sdk 1.1.207-28216182.2d812378 → 1.1.208-28223127.8251d5b4

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.
@@ -1,5 +1,4 @@
1
1
  import { SvelteComponentDev } from "svelte/internal";
2
- import { Writable } from "svelte/store";
3
2
  import { Writable as Writable_ } from "svelte/store";
4
3
  import { onMount as onMountSvelte } from "svelte";
5
4
  import { onDestroy as onDestorySvelte } from "svelte";
@@ -742,6 +741,8 @@ declare const ElasticityStyle: {
742
741
  horizontal: string;
743
742
  };
744
743
  /** @internal */
744
+ declare const DefaultElasticity: Elasticity;
745
+ /** @internal */
745
746
  declare const TextDirections: readonly [
746
747
  "horizontal",
747
748
  "vertical"
@@ -1198,6 +1199,18 @@ declare const DefaultFormButtonColor: {
1198
1199
  readonly main: "#2aab9f";
1199
1200
  readonly sub: "#fff";
1200
1201
  };
1202
+ /** @internal */
1203
+ type ModalStyle = {
1204
+ placement?: ModalPlacement;
1205
+ elasticity?: Elasticity;
1206
+ };
1207
+ /** @internal */
1208
+ type ModalBreakPoint = {
1209
+ PC: ModalStyle;
1210
+ SP: ModalStyle;
1211
+ };
1212
+ /** @internal */
1213
+ declare const DefaultModalBreakPoint: ModalBreakPoint;
1201
1214
  /**
1202
1215
  * スクロール方向
1203
1216
  *
@@ -1388,7 +1401,9 @@ declare function applyCss(css: string): Promise<HTMLStyleElement>;
1388
1401
  */
1389
1402
  declare function loadStyle(href: string): Promise<void>;
1390
1403
  // @internal
1391
- declare function getCssVariables<Props extends ModalProps$1, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
1404
+ declare function getCssVariables(data: {
1405
+ [key: string]: string | number;
1406
+ }): string;
1392
1407
  /**
1393
1408
  * アクションのルートの DOM 要素を取得する
1394
1409
  *
@@ -1951,7 +1966,9 @@ declare namespace widget {
1951
1966
  */
1952
1967
  function loadStyle(href: string): Promise<void>;
1953
1968
  // @internal
1954
- function getCssVariables<Props extends ModalProps, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
1969
+ function getCssVariables(data: {
1970
+ [key: string]: string | number;
1971
+ }): string;
1955
1972
  /**
1956
1973
  * アクションのルートの DOM 要素を取得する
1957
1974
  *
@@ -2232,7 +2249,7 @@ declare const afterUpdate: typeof afterUpdateSvelte;
2232
2249
  declare const tick: typeof tickSvelte;
2233
2250
  // @internal
2234
2251
  declare const LAYOUT_COMPONENT_NAMES: string[];
2235
- 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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, 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, showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES };
2252
+ 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, 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, showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES };
2236
2253
  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 };
2237
2254
  export { default as State } from './components/State.svelte';
2238
2255
  export { default as StateItem } from './components/StateItem.svelte';