@plaidev/karte-action-sdk 1.1.102 → 1.1.103-27909115.90a8e84c

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.
@@ -21,7 +21,7 @@ declare const PropTypes: readonly [
21
21
  "ModalPlacement",
22
22
  "OnClick"
23
23
  ];
24
- type PropType = typeof PropTypes[number];
24
+ type PropType = (typeof PropTypes)[number];
25
25
  type Code = string;
26
26
  declare const MediaQueries: {
27
27
  [key: string]: string;
@@ -31,7 +31,7 @@ declare const Directions: readonly [
31
31
  "row",
32
32
  "column"
33
33
  ];
34
- type Direction = typeof Directions[number];
34
+ type Direction = (typeof Directions)[number];
35
35
  declare const AnimationStyles: readonly [
36
36
  "none",
37
37
  "fade",
@@ -41,7 +41,7 @@ declare const AnimationStyles: readonly [
41
41
  "slide-left",
42
42
  "slide-right"
43
43
  ];
44
- type AnimationStyle = typeof AnimationStyles[number];
44
+ type AnimationStyle = (typeof AnimationStyles)[number];
45
45
  declare const ModalPositions: readonly [
46
46
  "top-left",
47
47
  "top-center",
@@ -54,7 +54,7 @@ declare const ModalPositions: readonly [
54
54
  "bottom-right",
55
55
  "none"
56
56
  ];
57
- type ModalPosition = typeof ModalPositions[number];
57
+ type ModalPosition = (typeof ModalPositions)[number];
58
58
  type ModalMargin = {
59
59
  left?: string;
60
60
  right?: string;
@@ -68,6 +68,17 @@ type ModalPlacement<M = ModalMargin> = {
68
68
  backgroundClick?: OnClickOperation;
69
69
  };
70
70
  declare const DefaultModalPlacement: Required<ModalPlacement<Required<ModalMargin>>>;
71
+ declare const Elasticities: readonly [
72
+ "none",
73
+ "vertical",
74
+ "horizontal"
75
+ ];
76
+ type Elasticity = (typeof Elasticities)[number];
77
+ declare const ElasticityStyle: {
78
+ none: string;
79
+ vertical: string;
80
+ horizontal: string;
81
+ };
71
82
  type OperationArgumentTypes = {
72
83
  StringKeyword: string;
73
84
  BooleanKeyword: boolean;
@@ -153,7 +164,7 @@ declare const LengthUnits: readonly [
153
164
  "fr",
154
165
  "%"
155
166
  ];
156
- type LengthUnit = typeof LengthUnits[number];
167
+ type LengthUnit = (typeof LengthUnits)[number];
157
168
  type Length = `${number}${LengthUnit}` | "auto";
158
169
  type Color = `#${string}` | `rgba(${string})`;
159
170
  declare const Justifies: readonly [
@@ -161,19 +172,19 @@ declare const Justifies: readonly [
161
172
  "center",
162
173
  "flex-end"
163
174
  ];
164
- type Justify = typeof Justifies[number];
175
+ type Justify = (typeof Justifies)[number];
165
176
  declare const Alignments: readonly [
166
177
  "flex-start",
167
178
  "center",
168
179
  "flex-end"
169
180
  ];
170
- type Alignment = typeof Alignments[number];
181
+ type Alignment = (typeof Alignments)[number];
171
182
  declare const ObjectFits: readonly [
172
183
  "fill",
173
184
  "contain",
174
185
  "cover"
175
186
  ];
176
- type ObjectFit = typeof ObjectFits[number];
187
+ type ObjectFit = (typeof ObjectFits)[number];
177
188
  type ClipPath = string;
178
189
  declare const Repeats: readonly [
179
190
  "repeat",
@@ -181,17 +192,24 @@ declare const Repeats: readonly [
181
192
  "round",
182
193
  "no-repeat"
183
194
  ];
184
- type Repeat = typeof Repeats[number];
195
+ type Repeat = (typeof Repeats)[number];
185
196
  declare const BackgroundSizes: readonly [
186
197
  "cover",
187
198
  "contain",
188
199
  "auto"
189
200
  ];
190
- type BackgroundSize = typeof BackgroundSizes[number];
191
- declare const Cursors: string[];
192
- type Cursor = typeof Cursors[number];
193
- declare const Overflows: string[];
194
- type Overflow = typeof Overflows[number];
201
+ type BackgroundSize = (typeof BackgroundSizes)[number];
202
+ declare const Cursors: readonly [
203
+ "default",
204
+ "pointer"
205
+ ];
206
+ type Cursor = (typeof Cursors)[number];
207
+ declare const Overflows: readonly [
208
+ "visible",
209
+ "auto",
210
+ "hidden"
211
+ ];
212
+ type Overflow = (typeof Overflows)[number];
195
213
  type Border = string;
196
214
  type BorderStyle = string;
197
215
  type BorderWidth = `${number}px`;
@@ -953,7 +971,7 @@ declare namespace widget {
953
971
  "ModalPlacement",
954
972
  "OnClick"
955
973
  ];
956
- type PropType = typeof PropTypes[number];
974
+ type PropType = (typeof PropTypes)[number];
957
975
  type Code = string;
958
976
  const MediaQueries: {
959
977
  [key: string]: string;
@@ -963,7 +981,7 @@ declare namespace widget {
963
981
  "row",
964
982
  "column"
965
983
  ];
966
- type Direction = typeof Directions[number];
984
+ type Direction = (typeof Directions)[number];
967
985
  const AnimationStyles: readonly [
968
986
  "none",
969
987
  "fade",
@@ -973,7 +991,7 @@ declare namespace widget {
973
991
  "slide-left",
974
992
  "slide-right"
975
993
  ];
976
- type AnimationStyle = typeof AnimationStyles[number];
994
+ type AnimationStyle = (typeof AnimationStyles)[number];
977
995
  const ModalPositions: readonly [
978
996
  "top-left",
979
997
  "top-center",
@@ -986,7 +1004,7 @@ declare namespace widget {
986
1004
  "bottom-right",
987
1005
  "none"
988
1006
  ];
989
- type ModalPosition = typeof ModalPositions[number];
1007
+ type ModalPosition = (typeof ModalPositions)[number];
990
1008
  type ModalMargin = {
991
1009
  left?: string;
992
1010
  right?: string;
@@ -1000,6 +1018,17 @@ declare namespace widget {
1000
1018
  backgroundClick?: OnClickOperation;
1001
1019
  };
1002
1020
  const DefaultModalPlacement: Required<ModalPlacement<Required<ModalMargin>>>;
1021
+ const Elasticities: readonly [
1022
+ "none",
1023
+ "vertical",
1024
+ "horizontal"
1025
+ ];
1026
+ type Elasticity = (typeof Elasticities)[number];
1027
+ const ElasticityStyle: {
1028
+ none: string;
1029
+ vertical: string;
1030
+ horizontal: string;
1031
+ };
1003
1032
  type OperationArgumentTypes = {
1004
1033
  StringKeyword: string;
1005
1034
  BooleanKeyword: boolean;
@@ -1085,7 +1114,7 @@ declare namespace widget {
1085
1114
  "fr",
1086
1115
  "%"
1087
1116
  ];
1088
- type LengthUnit = typeof LengthUnits[number];
1117
+ type LengthUnit = (typeof LengthUnits)[number];
1089
1118
  type Length = `${number}${LengthUnit}` | "auto";
1090
1119
  type Color = `#${string}` | `rgba(${string})`;
1091
1120
  const Justifies: readonly [
@@ -1093,19 +1122,19 @@ declare namespace widget {
1093
1122
  "center",
1094
1123
  "flex-end"
1095
1124
  ];
1096
- type Justify = typeof Justifies[number];
1125
+ type Justify = (typeof Justifies)[number];
1097
1126
  const Alignments: readonly [
1098
1127
  "flex-start",
1099
1128
  "center",
1100
1129
  "flex-end"
1101
1130
  ];
1102
- type Alignment = typeof Alignments[number];
1131
+ type Alignment = (typeof Alignments)[number];
1103
1132
  const ObjectFits: readonly [
1104
1133
  "fill",
1105
1134
  "contain",
1106
1135
  "cover"
1107
1136
  ];
1108
- type ObjectFit = typeof ObjectFits[number];
1137
+ type ObjectFit = (typeof ObjectFits)[number];
1109
1138
  type ClipPath = string;
1110
1139
  const Repeats: readonly [
1111
1140
  "repeat",
@@ -1113,17 +1142,24 @@ declare namespace widget {
1113
1142
  "round",
1114
1143
  "no-repeat"
1115
1144
  ];
1116
- type Repeat = typeof Repeats[number];
1145
+ type Repeat = (typeof Repeats)[number];
1117
1146
  const BackgroundSizes: readonly [
1118
1147
  "cover",
1119
1148
  "contain",
1120
1149
  "auto"
1121
1150
  ];
1122
- type BackgroundSize = typeof BackgroundSizes[number];
1123
- const Cursors: string[];
1124
- type Cursor = typeof Cursors[number];
1125
- const Overflows: string[];
1126
- type Overflow = typeof Overflows[number];
1151
+ type BackgroundSize = (typeof BackgroundSizes)[number];
1152
+ const Cursors: readonly [
1153
+ "default",
1154
+ "pointer"
1155
+ ];
1156
+ type Cursor = (typeof Cursors)[number];
1157
+ const Overflows: readonly [
1158
+ "visible",
1159
+ "auto",
1160
+ "hidden"
1161
+ ];
1162
+ type Overflow = (typeof Overflows)[number];
1127
1163
  type Border = string;
1128
1164
  type BorderStyle = string;
1129
1165
  type BorderWidth = `${number}px`;
@@ -1847,7 +1883,7 @@ declare namespace widget {
1847
1883
  */
1848
1884
  export { showAction as show, closeAction as hide };
1849
1885
  }
1850
- export { CloseTrigger, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, actionId, ACTION_SHOW_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_CHANGE_STATE_EVENT, handleState, initialize, finalize, send_event, none, moveTo, linkTo, closeApp, runScript, execOnClickOperation, haveFunction, customAnimation, loadGlobalScript, applyGlobalCss, loadGlobalStyle, hashCode, setAutoStart, Store, getStoreState, SystemConfig, ActionEventHandler, ActionSetting, CustomVariables, actionSetting, getActionSetting, setActionSetting, resetActionSetting, system, getSystem, setSystem, state, setState, getState, states, addState, getStates, opened, isOpened, setOpened, closed, isClosed, setClosed, maximumZindex, setMaximumZindex, internalHandlers, getInternalHandlers, setInternalHandlers, updateInternalHandlers, customHandlers, getCustomHandlers, setCustomHandlers, updateCustomHandlers, destroyed, isDestroyed, setDestroyed, stopped, isStopped, setStopped, customVariables, getCustomVariables, setCustomVariables, updateCustomVariables, NOOP, isPreview, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getTransform, getMarginStyle, ScrollDirection, OnScrollContext, OnScrollFunction, onScroll, onTime, hasSuffix, toBr, randStr, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirection, ListContext, hideOnScroll, hideOnTime, showOnScroll, showOnTime, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
1886
+ export { CloseTrigger, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, actionId, ACTION_SHOW_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_CHANGE_STATE_EVENT, handleState, initialize, finalize, send_event, none, moveTo, linkTo, closeApp, runScript, execOnClickOperation, haveFunction, customAnimation, loadGlobalScript, applyGlobalCss, loadGlobalStyle, hashCode, setAutoStart, Store, getStoreState, SystemConfig, ActionEventHandler, ActionSetting, CustomVariables, actionSetting, getActionSetting, setActionSetting, resetActionSetting, system, getSystem, setSystem, state, setState, getState, states, addState, getStates, opened, isOpened, setOpened, closed, isClosed, setClosed, maximumZindex, setMaximumZindex, internalHandlers, getInternalHandlers, setInternalHandlers, updateInternalHandlers, customHandlers, getCustomHandlers, setCustomHandlers, updateCustomHandlers, destroyed, isDestroyed, setDestroyed, stopped, isStopped, setStopped, customVariables, getCustomVariables, setCustomVariables, updateCustomVariables, NOOP, isPreview, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getTransform, getMarginStyle, ScrollDirection, OnScrollContext, OnScrollFunction, onScroll, onTime, hasSuffix, toBr, randStr, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirection, ListContext, hideOnScroll, hideOnTime, showOnScroll, showOnTime, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
1851
1887
  export { default as State } from './components/State.svelte';
1852
1888
  export { default as StateItem } from './components/StateItem.svelte';
1853
1889
  export { default as Modal } from './components/Modal.svelte';
@@ -1862,6 +1898,10 @@ export { default as ImageElement } from './components/ImageElement.svelte';
1862
1898
  export { default as List } from './components/List.svelte';
1863
1899
  export { default as ListItem } from './components/ListItem.svelte';
1864
1900
  export { default as EmbedElement } from './components/EmbedElement.svelte';
1901
+ export { default as Form } from './components/Form.svelte';
1902
+ export { default as FormTextarea } from './components/FormTextarea.svelte';
1903
+ export { default as FormButton } from './components/FormButton.svelte';
1904
+ export { default as FormRadioButtons } from './components/FormRadioButtons.svelte';
1865
1905
  export { default as TextBlock } from './components/TextBlock.svelte';
1866
1906
  export { default as TextButtonBlock } from './components/TextButtonBlock.svelte';
1867
1907
  export { default as ImageBlock } from './components/ImageBlock.svelte';