@plaidev/karte-action-sdk 1.1.207 → 1.1.208-28223142.6bbd2434

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";
@@ -608,8 +607,6 @@ declare const variables: Store<{
608
607
  * 変数の一覧を取得する
609
608
  *
610
609
  * @returns 現在の変数の一覧
611
- *
612
- * @internal
613
610
  */
614
611
  declare function getVariables(): ActionVariables;
615
612
  /**
@@ -619,13 +616,10 @@ declare function getVariables(): ActionVariables;
619
616
  * 設定した変数は、ビジュアルエディタのテキストフォームなどで利用できます。
620
617
  *
621
618
  * @param vars - 変数
622
- *
623
- * @internal
624
619
  */
625
620
  declare function setVariables(vars: ActionVariables): ActionVariables;
626
621
  /**
627
622
  * 変数をリセットする
628
- *
629
623
  */
630
624
  declare function resetVariables(): void;
631
625
  /** @internal */
@@ -742,6 +736,8 @@ declare const ElasticityStyle: {
742
736
  horizontal: string;
743
737
  };
744
738
  /** @internal */
739
+ declare const DefaultElasticity: Elasticity;
740
+ /** @internal */
745
741
  declare const TextDirections: readonly [
746
742
  "horizontal",
747
743
  "vertical"
@@ -1198,6 +1194,18 @@ declare const DefaultFormButtonColor: {
1198
1194
  readonly main: "#2aab9f";
1199
1195
  readonly sub: "#fff";
1200
1196
  };
1197
+ /** @internal */
1198
+ type ModalStyle = {
1199
+ placement?: ModalPlacement;
1200
+ elasticity?: Elasticity;
1201
+ };
1202
+ /** @internal */
1203
+ type ModalBreakPoint = {
1204
+ PC: ModalStyle;
1205
+ SP: ModalStyle;
1206
+ };
1207
+ /** @internal */
1208
+ declare const DefaultModalBreakPoint: ModalBreakPoint;
1201
1209
  /**
1202
1210
  * スクロール方向
1203
1211
  *
@@ -1388,7 +1396,9 @@ declare function applyCss(css: string): Promise<HTMLStyleElement>;
1388
1396
  */
1389
1397
  declare function loadStyle(href: string): Promise<void>;
1390
1398
  // @internal
1391
- declare function getCssVariables<Props extends ModalProps$1, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
1399
+ declare function getCssVariables(data: {
1400
+ [key: string]: string | number;
1401
+ }): string;
1392
1402
  /**
1393
1403
  * アクションのルートの DOM 要素を取得する
1394
1404
  *
@@ -1951,7 +1961,9 @@ declare namespace widget {
1951
1961
  */
1952
1962
  function loadStyle(href: string): Promise<void>;
1953
1963
  // @internal
1954
- function getCssVariables<Props extends ModalProps, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
1964
+ function getCssVariables(data: {
1965
+ [key: string]: string | number;
1966
+ }): string;
1955
1967
  /**
1956
1968
  * アクションのルートの DOM 要素を取得する
1957
1969
  *
@@ -2232,7 +2244,7 @@ declare const afterUpdate: typeof afterUpdateSvelte;
2232
2244
  declare const tick: typeof tickSvelte;
2233
2245
  // @internal
2234
2246
  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 };
2247
+ 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
2248
  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
2249
  export { default as State } from './components/State.svelte';
2238
2250
  export { default as StateItem } from './components/StateItem.svelte';