@plaidev/karte-action-sdk 1.1.108-27919045.307401fb → 1.1.108-27919072.89513d87
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 +33 -7
- package/dist/hydrate/index.es.js +4 -1
- package/dist/index.es.d.ts +33 -7
- package/dist/index.es.js +4 -1
- package/package.json +1 -1
|
@@ -230,7 +230,12 @@ declare const WritingModes: readonly [
|
|
|
230
230
|
"vertical-lr"
|
|
231
231
|
];
|
|
232
232
|
type WritingMode = (typeof WritingModes)[number];
|
|
233
|
-
|
|
233
|
+
declare const ListSeparatorTypes: readonly [
|
|
234
|
+
"none",
|
|
235
|
+
"border",
|
|
236
|
+
"gap"
|
|
237
|
+
];
|
|
238
|
+
type ListSeparatorType = (typeof ListSeparatorTypes)[number];
|
|
234
239
|
interface BaseListSeparator {
|
|
235
240
|
type: ListSeparatorType;
|
|
236
241
|
}
|
|
@@ -252,7 +257,11 @@ declare const DefaultListSeparatorNone: Required<ListSeparatorNone>;
|
|
|
252
257
|
declare const DefaultListSeparatorBorder: Required<ListSeparatorBorder>;
|
|
253
258
|
declare const DefaultListSeparatorGap: Required<ListSeparatorGap>;
|
|
254
259
|
declare const DefaultListSeparator: Required<ListSeparatorBorder>;
|
|
255
|
-
|
|
260
|
+
declare const ListBackgroundTypes: readonly [
|
|
261
|
+
"none",
|
|
262
|
+
"stripe"
|
|
263
|
+
];
|
|
264
|
+
type ListBackgroundType = (typeof ListBackgroundTypes)[number];
|
|
256
265
|
interface BaseListBackground {
|
|
257
266
|
type: ListBackgroundType;
|
|
258
267
|
}
|
|
@@ -268,7 +277,11 @@ type ListBackground = ListBackgroundNone | ListBackgroundStripe;
|
|
|
268
277
|
declare const DefaultListBackgroundNone: Required<ListBackgroundNone>;
|
|
269
278
|
declare const DefaultListBackgroundStripe: Required<ListBackgroundStripe>;
|
|
270
279
|
declare const DefaultListBackground: Required<ListBackgroundNone>;
|
|
271
|
-
|
|
280
|
+
declare const ListDirections: readonly [
|
|
281
|
+
"vertical",
|
|
282
|
+
"horizontal"
|
|
283
|
+
];
|
|
284
|
+
type ListDirection = (typeof ListDirections)[number];
|
|
272
285
|
type ListContext = {
|
|
273
286
|
separator: ListSeparator;
|
|
274
287
|
background: ListBackground;
|
|
@@ -1171,7 +1184,12 @@ declare namespace widget {
|
|
|
1171
1184
|
"vertical-lr"
|
|
1172
1185
|
];
|
|
1173
1186
|
type WritingMode = (typeof WritingModes)[number];
|
|
1174
|
-
|
|
1187
|
+
const ListSeparatorTypes: readonly [
|
|
1188
|
+
"none",
|
|
1189
|
+
"border",
|
|
1190
|
+
"gap"
|
|
1191
|
+
];
|
|
1192
|
+
type ListSeparatorType = (typeof ListSeparatorTypes)[number];
|
|
1175
1193
|
interface BaseListSeparator {
|
|
1176
1194
|
type: ListSeparatorType;
|
|
1177
1195
|
}
|
|
@@ -1193,7 +1211,11 @@ declare namespace widget {
|
|
|
1193
1211
|
const DefaultListSeparatorBorder: Required<ListSeparatorBorder>;
|
|
1194
1212
|
const DefaultListSeparatorGap: Required<ListSeparatorGap>;
|
|
1195
1213
|
const DefaultListSeparator: Required<ListSeparatorBorder>;
|
|
1196
|
-
|
|
1214
|
+
const ListBackgroundTypes: readonly [
|
|
1215
|
+
"none",
|
|
1216
|
+
"stripe"
|
|
1217
|
+
];
|
|
1218
|
+
type ListBackgroundType = (typeof ListBackgroundTypes)[number];
|
|
1197
1219
|
interface BaseListBackground {
|
|
1198
1220
|
type: ListBackgroundType;
|
|
1199
1221
|
}
|
|
@@ -1209,7 +1231,11 @@ declare namespace widget {
|
|
|
1209
1231
|
const DefaultListBackgroundNone: Required<ListBackgroundNone>;
|
|
1210
1232
|
const DefaultListBackgroundStripe: Required<ListBackgroundStripe>;
|
|
1211
1233
|
const DefaultListBackground: Required<ListBackgroundNone>;
|
|
1212
|
-
|
|
1234
|
+
const ListDirections: readonly [
|
|
1235
|
+
"vertical",
|
|
1236
|
+
"horizontal"
|
|
1237
|
+
];
|
|
1238
|
+
type ListDirection = (typeof ListDirections)[number];
|
|
1213
1239
|
type ListContext = {
|
|
1214
1240
|
separator: ListSeparator;
|
|
1215
1241
|
background: ListBackground;
|
|
@@ -1865,7 +1891,7 @@ declare namespace widget {
|
|
|
1865
1891
|
*/
|
|
1866
1892
|
export { showAction as show, closeAction as hide };
|
|
1867
1893
|
}
|
|
1868
|
-
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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, 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 };
|
|
1894
|
+
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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, ListSeparatorTypes, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, 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 };
|
|
1869
1895
|
export { default as State } from './components/State.svelte';
|
|
1870
1896
|
export { default as StateItem } from './components/StateItem.svelte';
|
|
1871
1897
|
export { default as Modal } from './components/Modal.svelte';
|
package/dist/hydrate/index.es.js
CHANGED
|
@@ -745,6 +745,7 @@ const BackgroundSizes = ['cover', 'contain', 'auto'];
|
|
|
745
745
|
const Cursors = ['default', 'pointer'];
|
|
746
746
|
const Overflows = ['visible', 'auto', 'hidden'];
|
|
747
747
|
const WritingModes = ['horizontal-tb', 'vertical-lr'];
|
|
748
|
+
const ListSeparatorTypes = ['none', 'border', 'gap'];
|
|
748
749
|
const DefaultListSeparatorNone = {
|
|
749
750
|
type: 'none',
|
|
750
751
|
};
|
|
@@ -759,6 +760,7 @@ const DefaultListSeparatorGap = {
|
|
|
759
760
|
gap: '8px',
|
|
760
761
|
};
|
|
761
762
|
const DefaultListSeparator = DefaultListSeparatorBorder;
|
|
763
|
+
const ListBackgroundTypes = ['none', 'stripe'];
|
|
762
764
|
const DefaultListBackgroundNone = {
|
|
763
765
|
type: 'none',
|
|
764
766
|
};
|
|
@@ -768,6 +770,7 @@ const DefaultListBackgroundStripe = {
|
|
|
768
770
|
background2: '#fff',
|
|
769
771
|
};
|
|
770
772
|
const DefaultListBackground = DefaultListBackgroundNone;
|
|
773
|
+
const ListDirections = ['vertical', 'horizontal'];
|
|
771
774
|
|
|
772
775
|
function doPresent({ direction, deltaRate }, downFn, upFn, condition = false) {
|
|
773
776
|
if (direction === 'down' && deltaRate > 0) {
|
|
@@ -5815,4 +5818,4 @@ class ImageBlock extends SvelteComponent {
|
|
|
5815
5818
|
}
|
|
5816
5819
|
}
|
|
5817
5820
|
|
|
5818
|
-
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListItem, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|
|
5821
|
+
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|
package/dist/index.es.d.ts
CHANGED
|
@@ -230,7 +230,12 @@ declare const WritingModes: readonly [
|
|
|
230
230
|
"vertical-lr"
|
|
231
231
|
];
|
|
232
232
|
type WritingMode = (typeof WritingModes)[number];
|
|
233
|
-
|
|
233
|
+
declare const ListSeparatorTypes: readonly [
|
|
234
|
+
"none",
|
|
235
|
+
"border",
|
|
236
|
+
"gap"
|
|
237
|
+
];
|
|
238
|
+
type ListSeparatorType = (typeof ListSeparatorTypes)[number];
|
|
234
239
|
interface BaseListSeparator {
|
|
235
240
|
type: ListSeparatorType;
|
|
236
241
|
}
|
|
@@ -252,7 +257,11 @@ declare const DefaultListSeparatorNone: Required<ListSeparatorNone>;
|
|
|
252
257
|
declare const DefaultListSeparatorBorder: Required<ListSeparatorBorder>;
|
|
253
258
|
declare const DefaultListSeparatorGap: Required<ListSeparatorGap>;
|
|
254
259
|
declare const DefaultListSeparator: Required<ListSeparatorBorder>;
|
|
255
|
-
|
|
260
|
+
declare const ListBackgroundTypes: readonly [
|
|
261
|
+
"none",
|
|
262
|
+
"stripe"
|
|
263
|
+
];
|
|
264
|
+
type ListBackgroundType = (typeof ListBackgroundTypes)[number];
|
|
256
265
|
interface BaseListBackground {
|
|
257
266
|
type: ListBackgroundType;
|
|
258
267
|
}
|
|
@@ -268,7 +277,11 @@ type ListBackground = ListBackgroundNone | ListBackgroundStripe;
|
|
|
268
277
|
declare const DefaultListBackgroundNone: Required<ListBackgroundNone>;
|
|
269
278
|
declare const DefaultListBackgroundStripe: Required<ListBackgroundStripe>;
|
|
270
279
|
declare const DefaultListBackground: Required<ListBackgroundNone>;
|
|
271
|
-
|
|
280
|
+
declare const ListDirections: readonly [
|
|
281
|
+
"vertical",
|
|
282
|
+
"horizontal"
|
|
283
|
+
];
|
|
284
|
+
type ListDirection = (typeof ListDirections)[number];
|
|
272
285
|
type ListContext = {
|
|
273
286
|
separator: ListSeparator;
|
|
274
287
|
background: ListBackground;
|
|
@@ -1171,7 +1184,12 @@ declare namespace widget {
|
|
|
1171
1184
|
"vertical-lr"
|
|
1172
1185
|
];
|
|
1173
1186
|
type WritingMode = (typeof WritingModes)[number];
|
|
1174
|
-
|
|
1187
|
+
const ListSeparatorTypes: readonly [
|
|
1188
|
+
"none",
|
|
1189
|
+
"border",
|
|
1190
|
+
"gap"
|
|
1191
|
+
];
|
|
1192
|
+
type ListSeparatorType = (typeof ListSeparatorTypes)[number];
|
|
1175
1193
|
interface BaseListSeparator {
|
|
1176
1194
|
type: ListSeparatorType;
|
|
1177
1195
|
}
|
|
@@ -1193,7 +1211,11 @@ declare namespace widget {
|
|
|
1193
1211
|
const DefaultListSeparatorBorder: Required<ListSeparatorBorder>;
|
|
1194
1212
|
const DefaultListSeparatorGap: Required<ListSeparatorGap>;
|
|
1195
1213
|
const DefaultListSeparator: Required<ListSeparatorBorder>;
|
|
1196
|
-
|
|
1214
|
+
const ListBackgroundTypes: readonly [
|
|
1215
|
+
"none",
|
|
1216
|
+
"stripe"
|
|
1217
|
+
];
|
|
1218
|
+
type ListBackgroundType = (typeof ListBackgroundTypes)[number];
|
|
1197
1219
|
interface BaseListBackground {
|
|
1198
1220
|
type: ListBackgroundType;
|
|
1199
1221
|
}
|
|
@@ -1209,7 +1231,11 @@ declare namespace widget {
|
|
|
1209
1231
|
const DefaultListBackgroundNone: Required<ListBackgroundNone>;
|
|
1210
1232
|
const DefaultListBackgroundStripe: Required<ListBackgroundStripe>;
|
|
1211
1233
|
const DefaultListBackground: Required<ListBackgroundNone>;
|
|
1212
|
-
|
|
1234
|
+
const ListDirections: readonly [
|
|
1235
|
+
"vertical",
|
|
1236
|
+
"horizontal"
|
|
1237
|
+
];
|
|
1238
|
+
type ListDirection = (typeof ListDirections)[number];
|
|
1213
1239
|
type ListContext = {
|
|
1214
1240
|
separator: ListSeparator;
|
|
1215
1241
|
background: ListBackground;
|
|
@@ -1865,7 +1891,7 @@ declare namespace widget {
|
|
|
1865
1891
|
*/
|
|
1866
1892
|
export { showAction as show, closeAction as hide };
|
|
1867
1893
|
}
|
|
1868
|
-
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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, 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 };
|
|
1894
|
+
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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, ListSeparatorTypes, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, 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 };
|
|
1869
1895
|
export { default as State } from './components/State.svelte';
|
|
1870
1896
|
export { default as StateItem } from './components/StateItem.svelte';
|
|
1871
1897
|
export { default as Modal } from './components/Modal.svelte';
|
package/dist/index.es.js
CHANGED
|
@@ -797,6 +797,7 @@ const BackgroundSizes = ['cover', 'contain', 'auto'];
|
|
|
797
797
|
const Cursors = ['default', 'pointer'];
|
|
798
798
|
const Overflows = ['visible', 'auto', 'hidden'];
|
|
799
799
|
const WritingModes = ['horizontal-tb', 'vertical-lr'];
|
|
800
|
+
const ListSeparatorTypes = ['none', 'border', 'gap'];
|
|
800
801
|
const DefaultListSeparatorNone = {
|
|
801
802
|
type: 'none',
|
|
802
803
|
};
|
|
@@ -811,6 +812,7 @@ const DefaultListSeparatorGap = {
|
|
|
811
812
|
gap: '8px',
|
|
812
813
|
};
|
|
813
814
|
const DefaultListSeparator = DefaultListSeparatorBorder;
|
|
815
|
+
const ListBackgroundTypes = ['none', 'stripe'];
|
|
814
816
|
const DefaultListBackgroundNone = {
|
|
815
817
|
type: 'none',
|
|
816
818
|
};
|
|
@@ -820,6 +822,7 @@ const DefaultListBackgroundStripe = {
|
|
|
820
822
|
background2: '#fff',
|
|
821
823
|
};
|
|
822
824
|
const DefaultListBackground = DefaultListBackgroundNone;
|
|
825
|
+
const ListDirections = ['vertical', 'horizontal'];
|
|
823
826
|
|
|
824
827
|
function doPresent({ direction, deltaRate }, downFn, upFn, condition = false) {
|
|
825
828
|
if (direction === 'down' && deltaRate > 0) {
|
|
@@ -5555,4 +5558,4 @@ class ImageBlock extends SvelteComponent {
|
|
|
5555
5558
|
}
|
|
5556
5559
|
}
|
|
5557
5560
|
|
|
5558
|
-
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListItem, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|
|
5561
|
+
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|