@plaidev/karte-action-sdk 1.1.115 → 1.1.116-27927874.783c1fe4
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 +242 -2
- package/dist/hydrate/index.es.js +61 -23
- package/dist/index.es.d.ts +242 -2
- package/dist/index.es.js +57 -23
- package/package.json +1 -1
@@ -486,6 +486,18 @@ type ActionSetting = {
|
|
486
486
|
type CustomVariables = {
|
487
487
|
[key: string]: any;
|
488
488
|
};
|
489
|
+
/**
|
490
|
+
* Store to handle action setting
|
491
|
+
*/
|
492
|
+
declare const actionSetting: Store<ActionSetting>;
|
493
|
+
/**
|
494
|
+
* {@link getActionSetting} function to get action setting.
|
495
|
+
*
|
496
|
+
* @returns Current action setting
|
497
|
+
*
|
498
|
+
* @internal
|
499
|
+
*/
|
500
|
+
declare function getActionSetting(): ActionSetting;
|
489
501
|
/**
|
490
502
|
* アクション設定を更新する
|
491
503
|
*
|
@@ -499,6 +511,16 @@ type CustomVariables = {
|
|
499
511
|
* @public
|
500
512
|
*/
|
501
513
|
declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
514
|
+
/**
|
515
|
+
* {@link resetActionSetting} function to reset action setting
|
516
|
+
*
|
517
|
+
* @internal
|
518
|
+
*/
|
519
|
+
declare function resetActionSetting(): void;
|
520
|
+
/**
|
521
|
+
* Store to read KARTE system config
|
522
|
+
*/
|
523
|
+
declare const system: Store<SystemConfig>;
|
502
524
|
/**
|
503
525
|
* KARTE の設定を取得する
|
504
526
|
*
|
@@ -511,6 +533,12 @@ declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
|
511
533
|
* @public
|
512
534
|
*/
|
513
535
|
declare function getSystem(): SystemConfig;
|
536
|
+
/**
|
537
|
+
* {@link setSystem} function to set KARTE system config.
|
538
|
+
*
|
539
|
+
* @internal
|
540
|
+
*/
|
541
|
+
declare function setSystem(config: SystemConfig): void;
|
514
542
|
/**
|
515
543
|
* Store to handle current state ID
|
516
544
|
*
|
@@ -540,6 +568,20 @@ declare function setState(stateId: string, force?: boolean): void;
|
|
540
568
|
* @public
|
541
569
|
*/
|
542
570
|
declare function getState(): string;
|
571
|
+
/**
|
572
|
+
* Store to handle all state IDs
|
573
|
+
*
|
574
|
+
* @internal
|
575
|
+
*/
|
576
|
+
declare const states: Store<string[]>;
|
577
|
+
/**
|
578
|
+
* {@link getStates} function to add new state ID to list of state IDs.
|
579
|
+
*
|
580
|
+
* @param stateId - New state ID
|
581
|
+
*
|
582
|
+
* @internal
|
583
|
+
*/
|
584
|
+
declare function addState(stateId: string): void;
|
543
585
|
/**
|
544
586
|
* ステートID一覧を取得する
|
545
587
|
*
|
@@ -565,6 +607,12 @@ declare const opened: Store<boolean>;
|
|
565
607
|
* @public
|
566
608
|
*/
|
567
609
|
declare function isOpened(): boolean;
|
610
|
+
/**
|
611
|
+
* {@link setOpened} function to set if action is opened.
|
612
|
+
*
|
613
|
+
* @internal
|
614
|
+
*/
|
615
|
+
declare function setOpened(on: boolean): void;
|
568
616
|
/**
|
569
617
|
* Store to handle visibility of action
|
570
618
|
*
|
@@ -591,6 +639,56 @@ declare function isClosed(): boolean;
|
|
591
639
|
* @internal
|
592
640
|
*/
|
593
641
|
declare function setClosed(on: boolean): void;
|
642
|
+
/**
|
643
|
+
* Store to handle max z-index for grid items
|
644
|
+
*
|
645
|
+
* @internal
|
646
|
+
*/
|
647
|
+
declare const maximumZindex: Store<number>;
|
648
|
+
/**
|
649
|
+
* Set maximum z-index.
|
650
|
+
*
|
651
|
+
* @internal
|
652
|
+
*/
|
653
|
+
declare const setMaximumZindex: (zindex?: number) => void;
|
654
|
+
/**
|
655
|
+
* Store to handle internal event handlers
|
656
|
+
*
|
657
|
+
* @internal
|
658
|
+
*/
|
659
|
+
declare const internalHandlers: Store<{
|
660
|
+
[key: string]: ActionEventHandler[];
|
661
|
+
}>;
|
662
|
+
/**
|
663
|
+
* {@link getInternalHandlers} function to get internal event handlers.
|
664
|
+
*
|
665
|
+
* @returns Current internal handlers
|
666
|
+
*
|
667
|
+
* @internal
|
668
|
+
*/
|
669
|
+
declare function getInternalHandlers(): {
|
670
|
+
[key: string]: ActionEventHandler[];
|
671
|
+
};
|
672
|
+
/**
|
673
|
+
* {@link setInternalHandlers} function to set internal event handlers.
|
674
|
+
*
|
675
|
+
* @internal
|
676
|
+
*/
|
677
|
+
declare function setInternalHandlers(handlers: {
|
678
|
+
[key: string]: ActionEventHandler[];
|
679
|
+
}): void;
|
680
|
+
/**
|
681
|
+
* {@link updateInternalHandlers} function to update internal event handlers.
|
682
|
+
*
|
683
|
+
* @param handlers - Updated internal event handlers
|
684
|
+
*
|
685
|
+
* @returns New internal handlers
|
686
|
+
*/
|
687
|
+
declare function updateInternalHandlers(handlers: {
|
688
|
+
[key: string]: ActionEventHandler[];
|
689
|
+
}): {
|
690
|
+
[key: string]: ActionEventHandler[];
|
691
|
+
};
|
594
692
|
/**
|
595
693
|
* Store to handle custom event handlers
|
596
694
|
*
|
@@ -644,12 +742,38 @@ declare function updateCustomHandlers(handlers: {
|
|
644
742
|
* @internal
|
645
743
|
*/
|
646
744
|
declare const destroyed: Store<boolean>;
|
745
|
+
/**
|
746
|
+
* {@link isDestroyed} function to check if action is destroyed.
|
747
|
+
*
|
748
|
+
* @returns Flag if action is destoryed / true: Destroyed, false: Not Destroyed
|
749
|
+
*
|
750
|
+
* @internal
|
751
|
+
*/
|
752
|
+
declare function isDestroyed(): boolean;
|
753
|
+
/**
|
754
|
+
* {@link setDestroyed} function to set if action is destroyed.
|
755
|
+
*
|
756
|
+
* @internal
|
757
|
+
*/
|
758
|
+
declare function setDestroyed(on: boolean): void;
|
647
759
|
/**
|
648
760
|
* Store to handle stopping action
|
649
761
|
*
|
650
762
|
* @internal
|
651
763
|
*/
|
652
764
|
declare const stopped: Store<boolean>;
|
765
|
+
/**
|
766
|
+
* {@link isStopped} function to check if action is stopped.
|
767
|
+
*
|
768
|
+
* @returns Flag if action is stopped / true: Stopped, false: Not stopped
|
769
|
+
*/
|
770
|
+
declare function isStopped(): boolean;
|
771
|
+
/**
|
772
|
+
* {@link setStopped} function to set if action is stopped.
|
773
|
+
*
|
774
|
+
* @internal
|
775
|
+
*/
|
776
|
+
declare function setStopped(on: boolean): void;
|
653
777
|
/**
|
654
778
|
* Store to handle custom variables
|
655
779
|
*
|
@@ -708,9 +832,41 @@ declare const formData: Writable_<FormData>;
|
|
708
832
|
*/
|
709
833
|
type CloseTrigger = "button" | "overlay" | "auto" | "none";
|
710
834
|
/** @internal */
|
835
|
+
declare const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
|
836
|
+
/** @internal */
|
837
|
+
declare const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
838
|
+
/** @internal */
|
839
|
+
declare const actionId: string;
|
840
|
+
/** @internal */
|
841
|
+
declare const ACTION_SHOW_EVENT: string;
|
842
|
+
/** @internal */
|
843
|
+
declare const ACTION_CLOSE_EVENT: string;
|
844
|
+
/** @internal */
|
845
|
+
declare const ACTION_DESTROY_EVENT: string;
|
846
|
+
/** @internal */
|
847
|
+
declare const ACTION_CHANGE_STATE_EVENT: string;
|
848
|
+
/** @internal */
|
849
|
+
declare const handleState: (event: any) => void;
|
850
|
+
/** @internal */
|
711
851
|
declare const initialize: (setting?: ActionSetting) => () => void;
|
712
852
|
/** @internal */
|
713
853
|
declare const finalize: () => void;
|
854
|
+
/** @internal */
|
855
|
+
declare const send_event: (event_name: string, values?: any) => void;
|
856
|
+
/** @internal */
|
857
|
+
declare const none: () => () => void; // eslint-disable-next @typescript-eslint/no-empty-function
|
858
|
+
/** @internal */
|
859
|
+
declare const moveTo: (to: string) => () => void;
|
860
|
+
/** @internal */
|
861
|
+
declare const linkTo: (to: string, targetBlank?: boolean) => () => void;
|
862
|
+
/** @internal */
|
863
|
+
declare const closeApp: (trigger: CloseTrigger) => () => void;
|
864
|
+
/** @internal */
|
865
|
+
declare const runScript: (handlerName: string) => () => void;
|
866
|
+
/** @internal */
|
867
|
+
declare const execOnClickOperation: (onClickOperation: OnClickOperation) => void;
|
868
|
+
/** @internal */
|
869
|
+
declare const haveFunction: (onClickOperation: OnClickOperation) => boolean;
|
714
870
|
/**
|
715
871
|
* An option for svelte custom animation
|
716
872
|
*/
|
@@ -739,6 +895,27 @@ interface CustomAnimationOptions {
|
|
739
895
|
*/
|
740
896
|
duration?: number;
|
741
897
|
}
|
898
|
+
/**
|
899
|
+
* The function to activate svelte animation.
|
900
|
+
*
|
901
|
+
* @param node - A target node of animation. This argument is passed by svelte, by default.
|
902
|
+
* @param customAnimationOptions - A custom animation option object
|
903
|
+
*
|
904
|
+
* @see {@link https://svelte.dev/docs#template-syntax-element-directives-transition-fn-custom-transition-functions| Custom transition functions} for detail documentation
|
905
|
+
*
|
906
|
+
* @internal
|
907
|
+
*/
|
908
|
+
declare function customAnimation(node: Element, { transform, animationStyle, delay, duration }: CustomAnimationOptions): {
|
909
|
+
delay?: undefined;
|
910
|
+
duration?: undefined;
|
911
|
+
easing?: undefined;
|
912
|
+
css?: undefined;
|
913
|
+
} | {
|
914
|
+
delay: number;
|
915
|
+
duration: number;
|
916
|
+
easing: (t: any) => any;
|
917
|
+
css: (progress: number) => string;
|
918
|
+
};
|
742
919
|
/**
|
743
920
|
* ES Modules に対応していない JavaScript をページに読み込む
|
744
921
|
*
|
@@ -763,6 +940,18 @@ declare function applyGlobalCss(css: string): Promise<any>;
|
|
763
940
|
* @public
|
764
941
|
*/
|
765
942
|
declare function loadGlobalStyle(href: string): Promise<any>;
|
943
|
+
/**
|
944
|
+
* {@link hashCode} generate hash with FNV-1a hash
|
945
|
+
*
|
946
|
+
* @param s - Inputed string
|
947
|
+
*
|
948
|
+
* @returns Hashed string
|
949
|
+
*
|
950
|
+
* @see https://stackoverflow.com/a/22429679
|
951
|
+
*
|
952
|
+
* @internal
|
953
|
+
*/
|
954
|
+
declare function hashCode(s: string): string;
|
766
955
|
/**
|
767
956
|
* {@link setAutoStart} function to set auto start flag.
|
768
957
|
*
|
@@ -773,6 +962,27 @@ declare function loadGlobalStyle(href: string): Promise<any>;
|
|
773
962
|
* @internal
|
774
963
|
*/
|
775
964
|
declare const setAutoStart: (on?: boolean) => void;
|
965
|
+
/** @internal */
|
966
|
+
declare const NOOP: Function; // eslint-disable-line @typescript-eslint/no-unused-vars
|
967
|
+
/** @internal */
|
968
|
+
declare const isPreview: () => boolean;
|
969
|
+
/** @internal */
|
970
|
+
declare const handleFocus: (node: HTMLElement | null) => (e: any) => void;
|
971
|
+
/** @internal */
|
972
|
+
declare const setPreviousFocus: () => void;
|
973
|
+
/** @internal */
|
974
|
+
declare const handleKeydown: (handlers: {
|
975
|
+
[eventName: string]: (e: any) => void;
|
976
|
+
}) => (e: any) => void;
|
977
|
+
/** @internal */
|
978
|
+
declare const getPositionStyle: (position: ModalPosition) => string;
|
979
|
+
/** @internal */
|
980
|
+
declare const getTransform: (position: ModalPosition) => [
|
981
|
+
number,
|
982
|
+
number
|
983
|
+
];
|
984
|
+
/** @internal */
|
985
|
+
declare const getMarginStyle: (margin: ModalMargin) => string;
|
776
986
|
/**
|
777
987
|
* スクロール方向
|
778
988
|
*
|
@@ -843,6 +1053,12 @@ declare function onScroll(rate: number | number[], fn: OnScrollFunction): () =>
|
|
843
1053
|
* @public
|
844
1054
|
*/
|
845
1055
|
declare function onTime(time: number, fn: Function): () => void;
|
1056
|
+
/** @internal */
|
1057
|
+
declare function hasSuffix<Suffix extends "px" | "em" | "rem" | "%" | "fr" | "vw" | "vh" | "">(value: string, suffix: Suffix): value is `${number}${Suffix}`;
|
1058
|
+
/** @internal */
|
1059
|
+
declare function toBr(text: string): string;
|
1060
|
+
/** @internal */
|
1061
|
+
declare function randStr(digit?: number): string;
|
846
1062
|
/**
|
847
1063
|
* プロパティ
|
848
1064
|
*
|
@@ -1101,6 +1317,12 @@ interface ActionOptions<Props, Variables> {
|
|
1101
1317
|
* @public
|
1102
1318
|
*/
|
1103
1319
|
declare function create<Props extends _Props$0, Variables>(App: typeof SvelteComponentDev, options?: ActionOptions<Props, Variables & CustomVariables>): () => void;
|
1320
|
+
/**
|
1321
|
+
* Dispatch the event to destroy KARTE action
|
1322
|
+
*
|
1323
|
+
* @internal
|
1324
|
+
*/
|
1325
|
+
declare function dispatchDestroyEvent(): void;
|
1104
1326
|
/**
|
1105
1327
|
* アクションの破棄する
|
1106
1328
|
*
|
@@ -1122,7 +1344,15 @@ declare function showAction(): void;
|
|
1122
1344
|
*/
|
1123
1345
|
declare function closeAction(trigger?: CloseTrigger): void;
|
1124
1346
|
/** @internal */
|
1347
|
+
declare const KARTE_ACTION_ROOT = "karte-action-root";
|
1348
|
+
/** @internal */
|
1349
|
+
declare const KARTE_ACTION_RID = "karte-action-rid";
|
1350
|
+
/** @internal */
|
1351
|
+
declare const KARTE_ACTION_SHORTEN_ID = "karte-action-id";
|
1352
|
+
/** @internal */
|
1125
1353
|
declare function ensureActionRoot(useShadow?: boolean): ShadowRoot | HTMLElement;
|
1354
|
+
/** @internal */
|
1355
|
+
declare const h: (type: string, props: any, ...children: Array<any>) => HTMLElement;
|
1126
1356
|
/**
|
1127
1357
|
* create a fog element
|
1128
1358
|
*
|
@@ -1141,6 +1371,8 @@ declare function createFog({ color, opacity, zIndex, onclick }: {
|
|
1141
1371
|
};
|
1142
1372
|
/** @internal */
|
1143
1373
|
type EmbedLogic = "replace" | "append" | "prepend" | "after" | "before";
|
1374
|
+
/** @internal */
|
1375
|
+
declare function embed(target: HTMLElement, replace: HTMLElement, embed_method: EmbedLogic): void;
|
1144
1376
|
/**
|
1145
1377
|
* アクションの Shadow Root の Element を取得する
|
1146
1378
|
*
|
@@ -1177,6 +1409,14 @@ declare function loadStyle(href: string): Promise<void>;
|
|
1177
1409
|
* @internal
|
1178
1410
|
*/
|
1179
1411
|
declare const showModal: typeof create;
|
1412
|
+
/**
|
1413
|
+
* 非推奨です
|
1414
|
+
*
|
1415
|
+
* @deprecated 非推奨
|
1416
|
+
*
|
1417
|
+
* @internal
|
1418
|
+
*/
|
1419
|
+
type ModalOptions<Props, Variables> = ActionOptions<Props, Variables>;
|
1180
1420
|
/**
|
1181
1421
|
* 非推奨です
|
1182
1422
|
*
|
@@ -2759,8 +2999,8 @@ declare namespace widget {
|
|
2759
2999
|
*/
|
2760
3000
|
export { showAction as show, closeAction as hide };
|
2761
3001
|
}
|
2762
|
-
export {
|
2763
|
-
export type {
|
3002
|
+
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, FormData, formData, NOOP, isPreview, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getTransform, getMarginStyle, ScrollDirection, OnScrollContext, OnScrollFunction, onScroll, onTime, hasSuffix, toBr, randStr, 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, FormOperationOptions, FormOperation, 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, SliderButtonIcon, SliderButtonText, SliderButton, DefaultSliderButton, SliderButtonPosition, SliderNavigationButton, DefaultSliderNavigationButton, ActionHook, onCreate, onShow, ActionCloseHook, onClose, onDestroy, ActionChangeStateHook, onChangeState, SendFunction, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
|
3003
|
+
export type { CollectionConfig };
|
2764
3004
|
export { default as State } from './components/State.svelte';
|
2765
3005
|
export { default as StateItem } from './components/StateItem.svelte';
|
2766
3006
|
export { default as Modal } from './components/Modal.svelte';
|
package/dist/hydrate/index.es.js
CHANGED
@@ -193,6 +193,14 @@ function onTime(time, fn) {
|
|
193
193
|
function hasSuffix(value, suffix) {
|
194
194
|
return new RegExp(`[0-9]${suffix}$`).test(value);
|
195
195
|
}
|
196
|
+
/** @internal */
|
197
|
+
function toBr(text) {
|
198
|
+
return text.replace(/\r?\n/g, '<br>');
|
199
|
+
}
|
200
|
+
/** @internal */
|
201
|
+
function randStr(digit = 8) {
|
202
|
+
return Math.random().toString(32).substring(digit);
|
203
|
+
}
|
196
204
|
|
197
205
|
/**
|
198
206
|
* get store state value
|
@@ -424,6 +432,14 @@ const internalHandlers = writable({});
|
|
424
432
|
function getInternalHandlers() {
|
425
433
|
return get(internalHandlers);
|
426
434
|
}
|
435
|
+
/**
|
436
|
+
* {@link setInternalHandlers} function to set internal event handlers.
|
437
|
+
*
|
438
|
+
* @internal
|
439
|
+
*/
|
440
|
+
function setInternalHandlers(handlers) {
|
441
|
+
internalHandlers.set(handlers);
|
442
|
+
}
|
427
443
|
/**
|
428
444
|
* {@link updateInternalHandlers} function to update internal event handlers.
|
429
445
|
*
|
@@ -626,6 +642,8 @@ const send_event = (event_name, values) => {
|
|
626
642
|
setting?.send?.(event_name, values);
|
627
643
|
};
|
628
644
|
/** @internal */
|
645
|
+
const none = () => () => { }; // eslint-disable-next @typescript-eslint/no-empty-function
|
646
|
+
/** @internal */
|
629
647
|
const moveTo = (to) => () => {
|
630
648
|
send_event('_message_state_changed', { state: to });
|
631
649
|
window.dispatchEvent(new CustomEvent(ACTION_CHANGE_STATE_EVENT, { detail: { to, actionId } }));
|
@@ -1415,6 +1433,26 @@ function createFog({ color = '#000', opacity = '50%', zIndex = 999, onclick, })
|
|
1415
1433
|
root.appendChild(fog);
|
1416
1434
|
return { fog, close };
|
1417
1435
|
}
|
1436
|
+
/** @internal */
|
1437
|
+
function embed(target, replace, embed_method) {
|
1438
|
+
if (embed_method == 'replace') {
|
1439
|
+
if (target.parentNode) {
|
1440
|
+
target.parentNode.replaceChild(replace, target);
|
1441
|
+
}
|
1442
|
+
}
|
1443
|
+
else if (embed_method == 'append') {
|
1444
|
+
target.append(replace);
|
1445
|
+
}
|
1446
|
+
else if (embed_method == 'prepend') {
|
1447
|
+
target.prepend(replace);
|
1448
|
+
}
|
1449
|
+
else if (embed_method == 'after') {
|
1450
|
+
target.after(replace);
|
1451
|
+
}
|
1452
|
+
else if (embed_method == 'before') {
|
1453
|
+
target.before(replace);
|
1454
|
+
}
|
1455
|
+
}
|
1418
1456
|
/**
|
1419
1457
|
* アクションの Shadow Root の Element を取得する
|
1420
1458
|
*
|
@@ -4613,7 +4651,7 @@ class ListItem extends SvelteComponent {
|
|
4613
4651
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
4614
4652
|
|
4615
4653
|
function add_css$b(target) {
|
4616
|
-
append_styles(target, "svelte-
|
4654
|
+
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4617
4655
|
}
|
4618
4656
|
|
4619
4657
|
function create_fragment$c(ctx) {
|
@@ -4631,7 +4669,7 @@ function create_fragment$c(ctx) {
|
|
4631
4669
|
this.h();
|
4632
4670
|
},
|
4633
4671
|
h() {
|
4634
|
-
attr(div, "class", "embed svelte-
|
4672
|
+
attr(div, "class", "embed svelte-17rkg8u");
|
4635
4673
|
attr(div, "style", /*_style*/ ctx[1]);
|
4636
4674
|
},
|
4637
4675
|
m(target, anchor) {
|
@@ -4654,7 +4692,7 @@ function create_fragment$c(ctx) {
|
|
4654
4692
|
|
4655
4693
|
function instance$c($$self, $$props, $$invalidate) {
|
4656
4694
|
let { code } = $$props;
|
4657
|
-
let { _style =
|
4695
|
+
let { _style = "" } = $$props;
|
4658
4696
|
|
4659
4697
|
$$self.$$set = $$props => {
|
4660
4698
|
if ('code' in $$props) $$invalidate(0, code = $$props.code);
|
@@ -4674,7 +4712,7 @@ class EmbedElement extends SvelteComponent {
|
|
4674
4712
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
4675
4713
|
|
4676
4714
|
function add_css$a(target) {
|
4677
|
-
append_styles(target, "svelte-
|
4715
|
+
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4678
4716
|
}
|
4679
4717
|
|
4680
4718
|
function create_fragment$b(ctx) {
|
@@ -4697,7 +4735,7 @@ function create_fragment$b(ctx) {
|
|
4697
4735
|
},
|
4698
4736
|
h() {
|
4699
4737
|
attr(div0, "class", "karte-player");
|
4700
|
-
attr(div1, "class", "embed svelte-
|
4738
|
+
attr(div1, "class", "embed svelte-17rkg8u");
|
4701
4739
|
attr(div1, "style", /*_style*/ ctx[0]);
|
4702
4740
|
},
|
4703
4741
|
m(target, anchor) {
|
@@ -4722,8 +4760,8 @@ function create_fragment$b(ctx) {
|
|
4722
4760
|
function instance$b($$self, $$props, $$invalidate) {
|
4723
4761
|
let $system;
|
4724
4762
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4725
|
-
let { videoId } = $$props;
|
4726
|
-
let { sendEvent } = $$props;
|
4763
|
+
let { videoId = "sSgN-L4DU0c" } = $$props;
|
4764
|
+
let { sendEvent = true } = $$props;
|
4727
4765
|
let { autoplay = false } = $$props;
|
4728
4766
|
let { loop = false } = $$props;
|
4729
4767
|
let { mute = false } = $$props;
|
@@ -4917,7 +4955,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
4917
4955
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
4918
4956
|
|
4919
4957
|
function add_css$9(target) {
|
4920
|
-
append_styles(target, "svelte-
|
4958
|
+
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4921
4959
|
}
|
4922
4960
|
|
4923
4961
|
function create_fragment$a(ctx) {
|
@@ -4940,7 +4978,7 @@ function create_fragment$a(ctx) {
|
|
4940
4978
|
},
|
4941
4979
|
h() {
|
4942
4980
|
attr(div0, "class", "karte-player");
|
4943
|
-
attr(div1, "class", "embed svelte-
|
4981
|
+
attr(div1, "class", "embed svelte-17rkg8u");
|
4944
4982
|
attr(div1, "style", /*_style*/ ctx[0]);
|
4945
4983
|
},
|
4946
4984
|
m(target, anchor) {
|
@@ -4965,18 +5003,18 @@ function create_fragment$a(ctx) {
|
|
4965
5003
|
function instance$a($$self, $$props, $$invalidate) {
|
4966
5004
|
let $system;
|
4967
5005
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4968
|
-
let { videoId } = $$props;
|
4969
|
-
let { sendEvent } = $$props;
|
5006
|
+
let { videoId = "201239468" } = $$props;
|
5007
|
+
let { sendEvent = true } = $$props;
|
4970
5008
|
let { autoplay = false } = $$props;
|
4971
5009
|
let { loop = false } = $$props;
|
4972
5010
|
let { mute = false } = $$props;
|
4973
|
-
let { _style =
|
5011
|
+
let { _style = "" } = $$props;
|
4974
5012
|
|
4975
5013
|
// @ts-ignore
|
4976
5014
|
if (!window.Vimeo) {
|
4977
|
-
const tag = document.createElement(
|
4978
|
-
tag.src =
|
4979
|
-
const firstScriptTag = document.getElementsByTagName(
|
5015
|
+
const tag = document.createElement("script");
|
5016
|
+
tag.src = "https://player.vimeo.com/api/player.js";
|
5017
|
+
const firstScriptTag = document.getElementsByTagName("script")[0];
|
4980
5018
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
4981
5019
|
}
|
4982
5020
|
|
@@ -5009,7 +5047,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
5009
5047
|
const playSeconds = Math.round((currentDate - startDate) / 1000);
|
5010
5048
|
totalPlaySeconds += playSeconds;
|
5011
5049
|
|
5012
|
-
sendMovieEvent(
|
5050
|
+
sendMovieEvent("_movie_playtime", {
|
5013
5051
|
seconds: playSeconds,
|
5014
5052
|
total_seconds: totalPlaySeconds
|
5015
5053
|
});
|
@@ -5026,7 +5064,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
5026
5064
|
|
5027
5065
|
if (!alreadyPlay) {
|
5028
5066
|
alreadyPlay = true;
|
5029
|
-
sendMovieEvent(
|
5067
|
+
sendMovieEvent("_movie_play");
|
5030
5068
|
}
|
5031
5069
|
}
|
5032
5070
|
|
@@ -5036,7 +5074,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
5036
5074
|
}
|
5037
5075
|
|
5038
5076
|
function onFinish() {
|
5039
|
-
sendMovieEvent(
|
5077
|
+
sendMovieEvent("_movie_finish");
|
5040
5078
|
sendPlaytime();
|
5041
5079
|
startDate = null;
|
5042
5080
|
}
|
@@ -5051,9 +5089,9 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
5051
5089
|
// @ts-ignore
|
5052
5090
|
player = new window.Vimeo.Player(domRef, playerOptions);
|
5053
5091
|
|
5054
|
-
player.on(
|
5055
|
-
player.on(
|
5056
|
-
player.on(
|
5092
|
+
player.on("play", onStart);
|
5093
|
+
player.on("pause", onPause);
|
5094
|
+
player.on("ended", onFinish);
|
5057
5095
|
onPlayerReady();
|
5058
5096
|
}
|
5059
5097
|
|
@@ -5075,7 +5113,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
5075
5113
|
}
|
5076
5114
|
});
|
5077
5115
|
|
5078
|
-
window.addEventListener(
|
5116
|
+
window.addEventListener("beforeunload", () => {
|
5079
5117
|
sendPlaytime();
|
5080
5118
|
});
|
5081
5119
|
|
@@ -7422,4 +7460,4 @@ class ImageBlock extends SvelteComponent {
|
|
7422
7460
|
}
|
7423
7461
|
}
|
7424
7462
|
|
7425
|
-
export { Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSliderButton, DefaultSliderNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormCheckBoxes, FormOperationOptions, FormRadioButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slider, SliderItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyed, ensureModalRoot, finalize, formData, getActionShadowRoot, getCustomHandlers, getCustomVariables, getState$1 as getState, getStates, getStoreState, getSystem, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, loadGlobalScript, loadGlobalStyle, loadStyle, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setState$1 as setState, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, widget };
|
7463
|
+
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, DefaultSliderButton, DefaultSliderNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormCheckBoxes, FormOperationOptions, FormRadioButtons, FormSelect, 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, Slider, SliderItem, 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, formData, 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
@@ -486,6 +486,18 @@ type ActionSetting = {
|
|
486
486
|
type CustomVariables = {
|
487
487
|
[key: string]: any;
|
488
488
|
};
|
489
|
+
/**
|
490
|
+
* Store to handle action setting
|
491
|
+
*/
|
492
|
+
declare const actionSetting: Store<ActionSetting>;
|
493
|
+
/**
|
494
|
+
* {@link getActionSetting} function to get action setting.
|
495
|
+
*
|
496
|
+
* @returns Current action setting
|
497
|
+
*
|
498
|
+
* @internal
|
499
|
+
*/
|
500
|
+
declare function getActionSetting(): ActionSetting;
|
489
501
|
/**
|
490
502
|
* アクション設定を更新する
|
491
503
|
*
|
@@ -499,6 +511,16 @@ type CustomVariables = {
|
|
499
511
|
* @public
|
500
512
|
*/
|
501
513
|
declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
514
|
+
/**
|
515
|
+
* {@link resetActionSetting} function to reset action setting
|
516
|
+
*
|
517
|
+
* @internal
|
518
|
+
*/
|
519
|
+
declare function resetActionSetting(): void;
|
520
|
+
/**
|
521
|
+
* Store to read KARTE system config
|
522
|
+
*/
|
523
|
+
declare const system: Store<SystemConfig>;
|
502
524
|
/**
|
503
525
|
* KARTE の設定を取得する
|
504
526
|
*
|
@@ -511,6 +533,12 @@ declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
|
511
533
|
* @public
|
512
534
|
*/
|
513
535
|
declare function getSystem(): SystemConfig;
|
536
|
+
/**
|
537
|
+
* {@link setSystem} function to set KARTE system config.
|
538
|
+
*
|
539
|
+
* @internal
|
540
|
+
*/
|
541
|
+
declare function setSystem(config: SystemConfig): void;
|
514
542
|
/**
|
515
543
|
* Store to handle current state ID
|
516
544
|
*
|
@@ -540,6 +568,20 @@ declare function setState(stateId: string, force?: boolean): void;
|
|
540
568
|
* @public
|
541
569
|
*/
|
542
570
|
declare function getState(): string;
|
571
|
+
/**
|
572
|
+
* Store to handle all state IDs
|
573
|
+
*
|
574
|
+
* @internal
|
575
|
+
*/
|
576
|
+
declare const states: Store<string[]>;
|
577
|
+
/**
|
578
|
+
* {@link getStates} function to add new state ID to list of state IDs.
|
579
|
+
*
|
580
|
+
* @param stateId - New state ID
|
581
|
+
*
|
582
|
+
* @internal
|
583
|
+
*/
|
584
|
+
declare function addState(stateId: string): void;
|
543
585
|
/**
|
544
586
|
* ステートID一覧を取得する
|
545
587
|
*
|
@@ -565,6 +607,12 @@ declare const opened: Store<boolean>;
|
|
565
607
|
* @public
|
566
608
|
*/
|
567
609
|
declare function isOpened(): boolean;
|
610
|
+
/**
|
611
|
+
* {@link setOpened} function to set if action is opened.
|
612
|
+
*
|
613
|
+
* @internal
|
614
|
+
*/
|
615
|
+
declare function setOpened(on: boolean): void;
|
568
616
|
/**
|
569
617
|
* Store to handle visibility of action
|
570
618
|
*
|
@@ -591,6 +639,56 @@ declare function isClosed(): boolean;
|
|
591
639
|
* @internal
|
592
640
|
*/
|
593
641
|
declare function setClosed(on: boolean): void;
|
642
|
+
/**
|
643
|
+
* Store to handle max z-index for grid items
|
644
|
+
*
|
645
|
+
* @internal
|
646
|
+
*/
|
647
|
+
declare const maximumZindex: Store<number>;
|
648
|
+
/**
|
649
|
+
* Set maximum z-index.
|
650
|
+
*
|
651
|
+
* @internal
|
652
|
+
*/
|
653
|
+
declare const setMaximumZindex: (zindex?: number) => void;
|
654
|
+
/**
|
655
|
+
* Store to handle internal event handlers
|
656
|
+
*
|
657
|
+
* @internal
|
658
|
+
*/
|
659
|
+
declare const internalHandlers: Store<{
|
660
|
+
[key: string]: ActionEventHandler[];
|
661
|
+
}>;
|
662
|
+
/**
|
663
|
+
* {@link getInternalHandlers} function to get internal event handlers.
|
664
|
+
*
|
665
|
+
* @returns Current internal handlers
|
666
|
+
*
|
667
|
+
* @internal
|
668
|
+
*/
|
669
|
+
declare function getInternalHandlers(): {
|
670
|
+
[key: string]: ActionEventHandler[];
|
671
|
+
};
|
672
|
+
/**
|
673
|
+
* {@link setInternalHandlers} function to set internal event handlers.
|
674
|
+
*
|
675
|
+
* @internal
|
676
|
+
*/
|
677
|
+
declare function setInternalHandlers(handlers: {
|
678
|
+
[key: string]: ActionEventHandler[];
|
679
|
+
}): void;
|
680
|
+
/**
|
681
|
+
* {@link updateInternalHandlers} function to update internal event handlers.
|
682
|
+
*
|
683
|
+
* @param handlers - Updated internal event handlers
|
684
|
+
*
|
685
|
+
* @returns New internal handlers
|
686
|
+
*/
|
687
|
+
declare function updateInternalHandlers(handlers: {
|
688
|
+
[key: string]: ActionEventHandler[];
|
689
|
+
}): {
|
690
|
+
[key: string]: ActionEventHandler[];
|
691
|
+
};
|
594
692
|
/**
|
595
693
|
* Store to handle custom event handlers
|
596
694
|
*
|
@@ -644,12 +742,38 @@ declare function updateCustomHandlers(handlers: {
|
|
644
742
|
* @internal
|
645
743
|
*/
|
646
744
|
declare const destroyed: Store<boolean>;
|
745
|
+
/**
|
746
|
+
* {@link isDestroyed} function to check if action is destroyed.
|
747
|
+
*
|
748
|
+
* @returns Flag if action is destoryed / true: Destroyed, false: Not Destroyed
|
749
|
+
*
|
750
|
+
* @internal
|
751
|
+
*/
|
752
|
+
declare function isDestroyed(): boolean;
|
753
|
+
/**
|
754
|
+
* {@link setDestroyed} function to set if action is destroyed.
|
755
|
+
*
|
756
|
+
* @internal
|
757
|
+
*/
|
758
|
+
declare function setDestroyed(on: boolean): void;
|
647
759
|
/**
|
648
760
|
* Store to handle stopping action
|
649
761
|
*
|
650
762
|
* @internal
|
651
763
|
*/
|
652
764
|
declare const stopped: Store<boolean>;
|
765
|
+
/**
|
766
|
+
* {@link isStopped} function to check if action is stopped.
|
767
|
+
*
|
768
|
+
* @returns Flag if action is stopped / true: Stopped, false: Not stopped
|
769
|
+
*/
|
770
|
+
declare function isStopped(): boolean;
|
771
|
+
/**
|
772
|
+
* {@link setStopped} function to set if action is stopped.
|
773
|
+
*
|
774
|
+
* @internal
|
775
|
+
*/
|
776
|
+
declare function setStopped(on: boolean): void;
|
653
777
|
/**
|
654
778
|
* Store to handle custom variables
|
655
779
|
*
|
@@ -708,9 +832,41 @@ declare const formData: Writable_<FormData>;
|
|
708
832
|
*/
|
709
833
|
type CloseTrigger = "button" | "overlay" | "auto" | "none";
|
710
834
|
/** @internal */
|
835
|
+
declare const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
|
836
|
+
/** @internal */
|
837
|
+
declare const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
838
|
+
/** @internal */
|
839
|
+
declare const actionId: string;
|
840
|
+
/** @internal */
|
841
|
+
declare const ACTION_SHOW_EVENT: string;
|
842
|
+
/** @internal */
|
843
|
+
declare const ACTION_CLOSE_EVENT: string;
|
844
|
+
/** @internal */
|
845
|
+
declare const ACTION_DESTROY_EVENT: string;
|
846
|
+
/** @internal */
|
847
|
+
declare const ACTION_CHANGE_STATE_EVENT: string;
|
848
|
+
/** @internal */
|
849
|
+
declare const handleState: (event: any) => void;
|
850
|
+
/** @internal */
|
711
851
|
declare const initialize: (setting?: ActionSetting) => () => void;
|
712
852
|
/** @internal */
|
713
853
|
declare const finalize: () => void;
|
854
|
+
/** @internal */
|
855
|
+
declare const send_event: (event_name: string, values?: any) => void;
|
856
|
+
/** @internal */
|
857
|
+
declare const none: () => () => void; // eslint-disable-next @typescript-eslint/no-empty-function
|
858
|
+
/** @internal */
|
859
|
+
declare const moveTo: (to: string) => () => void;
|
860
|
+
/** @internal */
|
861
|
+
declare const linkTo: (to: string, targetBlank?: boolean) => () => void;
|
862
|
+
/** @internal */
|
863
|
+
declare const closeApp: (trigger: CloseTrigger) => () => void;
|
864
|
+
/** @internal */
|
865
|
+
declare const runScript: (handlerName: string) => () => void;
|
866
|
+
/** @internal */
|
867
|
+
declare const execOnClickOperation: (onClickOperation: OnClickOperation) => void;
|
868
|
+
/** @internal */
|
869
|
+
declare const haveFunction: (onClickOperation: OnClickOperation) => boolean;
|
714
870
|
/**
|
715
871
|
* An option for svelte custom animation
|
716
872
|
*/
|
@@ -739,6 +895,27 @@ interface CustomAnimationOptions {
|
|
739
895
|
*/
|
740
896
|
duration?: number;
|
741
897
|
}
|
898
|
+
/**
|
899
|
+
* The function to activate svelte animation.
|
900
|
+
*
|
901
|
+
* @param node - A target node of animation. This argument is passed by svelte, by default.
|
902
|
+
* @param customAnimationOptions - A custom animation option object
|
903
|
+
*
|
904
|
+
* @see {@link https://svelte.dev/docs#template-syntax-element-directives-transition-fn-custom-transition-functions| Custom transition functions} for detail documentation
|
905
|
+
*
|
906
|
+
* @internal
|
907
|
+
*/
|
908
|
+
declare function customAnimation(node: Element, { transform, animationStyle, delay, duration }: CustomAnimationOptions): {
|
909
|
+
delay?: undefined;
|
910
|
+
duration?: undefined;
|
911
|
+
easing?: undefined;
|
912
|
+
css?: undefined;
|
913
|
+
} | {
|
914
|
+
delay: number;
|
915
|
+
duration: number;
|
916
|
+
easing: (t: any) => any;
|
917
|
+
css: (progress: number) => string;
|
918
|
+
};
|
742
919
|
/**
|
743
920
|
* ES Modules に対応していない JavaScript をページに読み込む
|
744
921
|
*
|
@@ -763,6 +940,18 @@ declare function applyGlobalCss(css: string): Promise<any>;
|
|
763
940
|
* @public
|
764
941
|
*/
|
765
942
|
declare function loadGlobalStyle(href: string): Promise<any>;
|
943
|
+
/**
|
944
|
+
* {@link hashCode} generate hash with FNV-1a hash
|
945
|
+
*
|
946
|
+
* @param s - Inputed string
|
947
|
+
*
|
948
|
+
* @returns Hashed string
|
949
|
+
*
|
950
|
+
* @see https://stackoverflow.com/a/22429679
|
951
|
+
*
|
952
|
+
* @internal
|
953
|
+
*/
|
954
|
+
declare function hashCode(s: string): string;
|
766
955
|
/**
|
767
956
|
* {@link setAutoStart} function to set auto start flag.
|
768
957
|
*
|
@@ -773,6 +962,27 @@ declare function loadGlobalStyle(href: string): Promise<any>;
|
|
773
962
|
* @internal
|
774
963
|
*/
|
775
964
|
declare const setAutoStart: (on?: boolean) => void;
|
965
|
+
/** @internal */
|
966
|
+
declare const NOOP: Function; // eslint-disable-line @typescript-eslint/no-unused-vars
|
967
|
+
/** @internal */
|
968
|
+
declare const isPreview: () => boolean;
|
969
|
+
/** @internal */
|
970
|
+
declare const handleFocus: (node: HTMLElement | null) => (e: any) => void;
|
971
|
+
/** @internal */
|
972
|
+
declare const setPreviousFocus: () => void;
|
973
|
+
/** @internal */
|
974
|
+
declare const handleKeydown: (handlers: {
|
975
|
+
[eventName: string]: (e: any) => void;
|
976
|
+
}) => (e: any) => void;
|
977
|
+
/** @internal */
|
978
|
+
declare const getPositionStyle: (position: ModalPosition) => string;
|
979
|
+
/** @internal */
|
980
|
+
declare const getTransform: (position: ModalPosition) => [
|
981
|
+
number,
|
982
|
+
number
|
983
|
+
];
|
984
|
+
/** @internal */
|
985
|
+
declare const getMarginStyle: (margin: ModalMargin) => string;
|
776
986
|
/**
|
777
987
|
* スクロール方向
|
778
988
|
*
|
@@ -843,6 +1053,12 @@ declare function onScroll(rate: number | number[], fn: OnScrollFunction): () =>
|
|
843
1053
|
* @public
|
844
1054
|
*/
|
845
1055
|
declare function onTime(time: number, fn: Function): () => void;
|
1056
|
+
/** @internal */
|
1057
|
+
declare function hasSuffix<Suffix extends "px" | "em" | "rem" | "%" | "fr" | "vw" | "vh" | "">(value: string, suffix: Suffix): value is `${number}${Suffix}`;
|
1058
|
+
/** @internal */
|
1059
|
+
declare function toBr(text: string): string;
|
1060
|
+
/** @internal */
|
1061
|
+
declare function randStr(digit?: number): string;
|
846
1062
|
/**
|
847
1063
|
* プロパティ
|
848
1064
|
*
|
@@ -1101,6 +1317,12 @@ interface ActionOptions<Props, Variables> {
|
|
1101
1317
|
* @public
|
1102
1318
|
*/
|
1103
1319
|
declare function create<Props extends _Props$0, Variables>(App: typeof SvelteComponentDev, options?: ActionOptions<Props, Variables & CustomVariables>): () => void;
|
1320
|
+
/**
|
1321
|
+
* Dispatch the event to destroy KARTE action
|
1322
|
+
*
|
1323
|
+
* @internal
|
1324
|
+
*/
|
1325
|
+
declare function dispatchDestroyEvent(): void;
|
1104
1326
|
/**
|
1105
1327
|
* アクションの破棄する
|
1106
1328
|
*
|
@@ -1122,7 +1344,15 @@ declare function showAction(): void;
|
|
1122
1344
|
*/
|
1123
1345
|
declare function closeAction(trigger?: CloseTrigger): void;
|
1124
1346
|
/** @internal */
|
1347
|
+
declare const KARTE_ACTION_ROOT = "karte-action-root";
|
1348
|
+
/** @internal */
|
1349
|
+
declare const KARTE_ACTION_RID = "karte-action-rid";
|
1350
|
+
/** @internal */
|
1351
|
+
declare const KARTE_ACTION_SHORTEN_ID = "karte-action-id";
|
1352
|
+
/** @internal */
|
1125
1353
|
declare function ensureActionRoot(useShadow?: boolean): ShadowRoot | HTMLElement;
|
1354
|
+
/** @internal */
|
1355
|
+
declare const h: (type: string, props: any, ...children: Array<any>) => HTMLElement;
|
1126
1356
|
/**
|
1127
1357
|
* create a fog element
|
1128
1358
|
*
|
@@ -1141,6 +1371,8 @@ declare function createFog({ color, opacity, zIndex, onclick }: {
|
|
1141
1371
|
};
|
1142
1372
|
/** @internal */
|
1143
1373
|
type EmbedLogic = "replace" | "append" | "prepend" | "after" | "before";
|
1374
|
+
/** @internal */
|
1375
|
+
declare function embed(target: HTMLElement, replace: HTMLElement, embed_method: EmbedLogic): void;
|
1144
1376
|
/**
|
1145
1377
|
* アクションの Shadow Root の Element を取得する
|
1146
1378
|
*
|
@@ -1177,6 +1409,14 @@ declare function loadStyle(href: string): Promise<void>;
|
|
1177
1409
|
* @internal
|
1178
1410
|
*/
|
1179
1411
|
declare const showModal: typeof create;
|
1412
|
+
/**
|
1413
|
+
* 非推奨です
|
1414
|
+
*
|
1415
|
+
* @deprecated 非推奨
|
1416
|
+
*
|
1417
|
+
* @internal
|
1418
|
+
*/
|
1419
|
+
type ModalOptions<Props, Variables> = ActionOptions<Props, Variables>;
|
1180
1420
|
/**
|
1181
1421
|
* 非推奨です
|
1182
1422
|
*
|
@@ -2759,8 +2999,8 @@ declare namespace widget {
|
|
2759
2999
|
*/
|
2760
3000
|
export { showAction as show, closeAction as hide };
|
2761
3001
|
}
|
2762
|
-
export {
|
2763
|
-
export type {
|
3002
|
+
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, FormData, formData, NOOP, isPreview, handleFocus, setPreviousFocus, handleKeydown, getPositionStyle, getTransform, getMarginStyle, ScrollDirection, OnScrollContext, OnScrollFunction, onScroll, onTime, hasSuffix, toBr, randStr, 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, FormOperationOptions, FormOperation, 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, SliderButtonIcon, SliderButtonText, SliderButton, DefaultSliderButton, SliderButtonPosition, SliderNavigationButton, DefaultSliderNavigationButton, ActionHook, onCreate, onShow, ActionCloseHook, onClose, onDestroy, ActionChangeStateHook, onChangeState, SendFunction, ActionProps, ActionOptions, create, dispatchDestroyEvent, destroy, showAction, closeAction, KARTE_ACTION_ROOT, KARTE_ACTION_RID, KARTE_ACTION_SHORTEN_ID, ensureActionRoot, h, createFog, EmbedLogic, embed, getActionShadowRoot, applyCss, loadStyle, showModal, ModalOptions, KARTE_MODAL_ROOT, ensureModalRoot, show, close, AppOptions, App, createApp, collection, widget };
|
3003
|
+
export type { CollectionConfig };
|
2764
3004
|
export { default as State } from './components/State.svelte';
|
2765
3005
|
export { default as StateItem } from './components/StateItem.svelte';
|
2766
3006
|
export { default as Modal } from './components/Modal.svelte';
|
package/dist/index.es.js
CHANGED
@@ -194,6 +194,10 @@ function hasSuffix(value, suffix) {
|
|
194
194
|
return new RegExp(`[0-9]${suffix}$`).test(value);
|
195
195
|
}
|
196
196
|
/** @internal */
|
197
|
+
function toBr(text) {
|
198
|
+
return text.replace(/\r?\n/g, '<br>');
|
199
|
+
}
|
200
|
+
/** @internal */
|
197
201
|
function randStr(digit = 8) {
|
198
202
|
return Math.random().toString(32).substring(digit);
|
199
203
|
}
|
@@ -428,6 +432,14 @@ const internalHandlers = writable({});
|
|
428
432
|
function getInternalHandlers() {
|
429
433
|
return get(internalHandlers);
|
430
434
|
}
|
435
|
+
/**
|
436
|
+
* {@link setInternalHandlers} function to set internal event handlers.
|
437
|
+
*
|
438
|
+
* @internal
|
439
|
+
*/
|
440
|
+
function setInternalHandlers(handlers) {
|
441
|
+
internalHandlers.set(handlers);
|
442
|
+
}
|
431
443
|
/**
|
432
444
|
* {@link updateInternalHandlers} function to update internal event handlers.
|
433
445
|
*
|
@@ -630,6 +642,8 @@ const send_event = (event_name, values) => {
|
|
630
642
|
setting?.send?.(event_name, values);
|
631
643
|
};
|
632
644
|
/** @internal */
|
645
|
+
const none = () => () => { }; // eslint-disable-next @typescript-eslint/no-empty-function
|
646
|
+
/** @internal */
|
633
647
|
const moveTo = (to) => () => {
|
634
648
|
send_event('_message_state_changed', { state: to });
|
635
649
|
window.dispatchEvent(new CustomEvent(ACTION_CHANGE_STATE_EVENT, { detail: { to, actionId } }));
|
@@ -1535,6 +1549,26 @@ function createFog({ color = '#000', opacity = '50%', zIndex = 999, onclick, })
|
|
1535
1549
|
root.appendChild(fog);
|
1536
1550
|
return { fog, close };
|
1537
1551
|
}
|
1552
|
+
/** @internal */
|
1553
|
+
function embed(target, replace, embed_method) {
|
1554
|
+
if (embed_method == 'replace') {
|
1555
|
+
if (target.parentNode) {
|
1556
|
+
target.parentNode.replaceChild(replace, target);
|
1557
|
+
}
|
1558
|
+
}
|
1559
|
+
else if (embed_method == 'append') {
|
1560
|
+
target.append(replace);
|
1561
|
+
}
|
1562
|
+
else if (embed_method == 'prepend') {
|
1563
|
+
target.prepend(replace);
|
1564
|
+
}
|
1565
|
+
else if (embed_method == 'after') {
|
1566
|
+
target.after(replace);
|
1567
|
+
}
|
1568
|
+
else if (embed_method == 'before') {
|
1569
|
+
target.before(replace);
|
1570
|
+
}
|
1571
|
+
}
|
1538
1572
|
/**
|
1539
1573
|
* アクションの Shadow Root の Element を取得する
|
1540
1574
|
*
|
@@ -4497,7 +4531,7 @@ class ListItem extends SvelteComponent {
|
|
4497
4531
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
4498
4532
|
|
4499
4533
|
function add_css$b(target) {
|
4500
|
-
append_styles(target, "svelte-
|
4534
|
+
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4501
4535
|
}
|
4502
4536
|
|
4503
4537
|
function create_fragment$c(ctx) {
|
@@ -4506,7 +4540,7 @@ function create_fragment$c(ctx) {
|
|
4506
4540
|
return {
|
4507
4541
|
c() {
|
4508
4542
|
div = element("div");
|
4509
|
-
attr(div, "class", "embed svelte-
|
4543
|
+
attr(div, "class", "embed svelte-17rkg8u");
|
4510
4544
|
attr(div, "style", /*_style*/ ctx[1]);
|
4511
4545
|
},
|
4512
4546
|
m(target, anchor) {
|
@@ -4529,7 +4563,7 @@ function create_fragment$c(ctx) {
|
|
4529
4563
|
|
4530
4564
|
function instance$c($$self, $$props, $$invalidate) {
|
4531
4565
|
let { code } = $$props;
|
4532
|
-
let { _style =
|
4566
|
+
let { _style = "" } = $$props;
|
4533
4567
|
|
4534
4568
|
$$self.$$set = $$props => {
|
4535
4569
|
if ('code' in $$props) $$invalidate(0, code = $$props.code);
|
@@ -4549,7 +4583,7 @@ class EmbedElement extends SvelteComponent {
|
|
4549
4583
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
4550
4584
|
|
4551
4585
|
function add_css$a(target) {
|
4552
|
-
append_styles(target, "svelte-
|
4586
|
+
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4553
4587
|
}
|
4554
4588
|
|
4555
4589
|
function create_fragment$b(ctx) {
|
@@ -4561,7 +4595,7 @@ function create_fragment$b(ctx) {
|
|
4561
4595
|
div1 = element("div");
|
4562
4596
|
div0 = element("div");
|
4563
4597
|
attr(div0, "class", "karte-player");
|
4564
|
-
attr(div1, "class", "embed svelte-
|
4598
|
+
attr(div1, "class", "embed svelte-17rkg8u");
|
4565
4599
|
attr(div1, "style", /*_style*/ ctx[0]);
|
4566
4600
|
},
|
4567
4601
|
m(target, anchor) {
|
@@ -4586,8 +4620,8 @@ function create_fragment$b(ctx) {
|
|
4586
4620
|
function instance$b($$self, $$props, $$invalidate) {
|
4587
4621
|
let $system;
|
4588
4622
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4589
|
-
let { videoId } = $$props;
|
4590
|
-
let { sendEvent } = $$props;
|
4623
|
+
let { videoId = "sSgN-L4DU0c" } = $$props;
|
4624
|
+
let { sendEvent = true } = $$props;
|
4591
4625
|
let { autoplay = false } = $$props;
|
4592
4626
|
let { loop = false } = $$props;
|
4593
4627
|
let { mute = false } = $$props;
|
@@ -4781,7 +4815,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
4781
4815
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
4782
4816
|
|
4783
4817
|
function add_css$9(target) {
|
4784
|
-
append_styles(target, "svelte-
|
4818
|
+
append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4785
4819
|
}
|
4786
4820
|
|
4787
4821
|
function create_fragment$a(ctx) {
|
@@ -4793,7 +4827,7 @@ function create_fragment$a(ctx) {
|
|
4793
4827
|
div1 = element("div");
|
4794
4828
|
div0 = element("div");
|
4795
4829
|
attr(div0, "class", "karte-player");
|
4796
|
-
attr(div1, "class", "embed svelte-
|
4830
|
+
attr(div1, "class", "embed svelte-17rkg8u");
|
4797
4831
|
attr(div1, "style", /*_style*/ ctx[0]);
|
4798
4832
|
},
|
4799
4833
|
m(target, anchor) {
|
@@ -4818,18 +4852,18 @@ function create_fragment$a(ctx) {
|
|
4818
4852
|
function instance$a($$self, $$props, $$invalidate) {
|
4819
4853
|
let $system;
|
4820
4854
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
4821
|
-
let { videoId } = $$props;
|
4822
|
-
let { sendEvent } = $$props;
|
4855
|
+
let { videoId = "201239468" } = $$props;
|
4856
|
+
let { sendEvent = true } = $$props;
|
4823
4857
|
let { autoplay = false } = $$props;
|
4824
4858
|
let { loop = false } = $$props;
|
4825
4859
|
let { mute = false } = $$props;
|
4826
|
-
let { _style =
|
4860
|
+
let { _style = "" } = $$props;
|
4827
4861
|
|
4828
4862
|
// @ts-ignore
|
4829
4863
|
if (!window.Vimeo) {
|
4830
|
-
const tag = document.createElement(
|
4831
|
-
tag.src =
|
4832
|
-
const firstScriptTag = document.getElementsByTagName(
|
4864
|
+
const tag = document.createElement("script");
|
4865
|
+
tag.src = "https://player.vimeo.com/api/player.js";
|
4866
|
+
const firstScriptTag = document.getElementsByTagName("script")[0];
|
4833
4867
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
4834
4868
|
}
|
4835
4869
|
|
@@ -4862,7 +4896,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
4862
4896
|
const playSeconds = Math.round((currentDate - startDate) / 1000);
|
4863
4897
|
totalPlaySeconds += playSeconds;
|
4864
4898
|
|
4865
|
-
sendMovieEvent(
|
4899
|
+
sendMovieEvent("_movie_playtime", {
|
4866
4900
|
seconds: playSeconds,
|
4867
4901
|
total_seconds: totalPlaySeconds
|
4868
4902
|
});
|
@@ -4879,7 +4913,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
4879
4913
|
|
4880
4914
|
if (!alreadyPlay) {
|
4881
4915
|
alreadyPlay = true;
|
4882
|
-
sendMovieEvent(
|
4916
|
+
sendMovieEvent("_movie_play");
|
4883
4917
|
}
|
4884
4918
|
}
|
4885
4919
|
|
@@ -4889,7 +4923,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
4889
4923
|
}
|
4890
4924
|
|
4891
4925
|
function onFinish() {
|
4892
|
-
sendMovieEvent(
|
4926
|
+
sendMovieEvent("_movie_finish");
|
4893
4927
|
sendPlaytime();
|
4894
4928
|
startDate = null;
|
4895
4929
|
}
|
@@ -4904,9 +4938,9 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
4904
4938
|
// @ts-ignore
|
4905
4939
|
player = new window.Vimeo.Player(domRef, playerOptions);
|
4906
4940
|
|
4907
|
-
player.on(
|
4908
|
-
player.on(
|
4909
|
-
player.on(
|
4941
|
+
player.on("play", onStart);
|
4942
|
+
player.on("pause", onPause);
|
4943
|
+
player.on("ended", onFinish);
|
4910
4944
|
onPlayerReady();
|
4911
4945
|
}
|
4912
4946
|
|
@@ -4928,7 +4962,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
4928
4962
|
}
|
4929
4963
|
});
|
4930
4964
|
|
4931
|
-
window.addEventListener(
|
4965
|
+
window.addEventListener("beforeunload", () => {
|
4932
4966
|
sendPlaytime();
|
4933
4967
|
});
|
4934
4968
|
|
@@ -7044,4 +7078,4 @@ class ImageBlock extends SvelteComponent {
|
|
7044
7078
|
}
|
7045
7079
|
}
|
7046
7080
|
|
7047
|
-
export { Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSliderButton, DefaultSliderNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormCheckBoxes, FormOperationOptions, FormRadioButtons, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slider, SliderItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyed, ensureModalRoot, finalize, formData, getActionShadowRoot, getCustomHandlers, getCustomVariables, getState$1 as getState, getStates, getStoreState, getSystem, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, loadGlobalScript, loadGlobalStyle, loadStyle, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setState$1 as setState, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, widget };
|
7081
|
+
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, DefaultSliderButton, DefaultSliderNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, FormButton, FormCheckBoxes, FormOperationOptions, FormRadioButtons, FormSelect, 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, Slider, SliderItem, 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, formData, 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 };
|