@plaidev/karte-action-sdk 1.1.269-29160322.e3d433de → 1.1.269-29161921.5f4ecb39
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/action.d.ts +1 -0
- package/dist/actionEvent.d.ts +1 -0
- package/dist/collection.d.ts +39 -39
- package/dist/components/index.d.ts +1 -0
- package/dist/components-flex/avatar/types.d.ts +16 -15
- package/dist/components-flex/brand-kit.d.ts +11 -11
- package/dist/components-flex/button/types.d.ts +43 -40
- package/dist/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/components-flex/button-text/types.d.ts +27 -24
- package/dist/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/components-flex/close-button/types.d.ts +21 -21
- package/dist/components-flex/code/types.d.ts +3 -3
- package/dist/components-flex/count-down/types.d.ts +7 -7
- package/dist/components-flex/icon/types.d.ts +9 -9
- package/dist/components-flex/image/types.d.ts +18 -18
- package/dist/components-flex/layout/types.d.ts +9 -9
- package/dist/components-flex/list/types.d.ts +18 -18
- package/dist/components-flex/modal/types.d.ts +1 -1
- package/dist/components-flex/multi-column/types.d.ts +19 -19
- package/dist/components-flex/props.d.ts +56 -56
- package/dist/components-flex/schemas.d.ts +17 -17
- package/dist/components-flex/shared/types.d.ts +6 -6
- package/dist/components-flex/slider/types.d.ts +6 -6
- package/dist/components-flex/styles.d.ts +1 -1
- package/dist/components-flex/text/constants.d.ts +1 -1
- package/dist/components-flex/text/styles.d.ts +1 -1
- package/dist/components-flex/text/types.d.ts +32 -29
- package/dist/components-flex/text-link/types.d.ts +24 -21
- package/dist/components-flex/utils/color.d.ts +3 -3
- package/dist/components-flex/utils/parser.d.ts +2 -2
- package/dist/components-flex/variants.d.ts +26 -11
- package/dist/components-flex/youtube/types.d.ts +12 -11
- package/dist/constants.d.ts +3 -2
- package/dist/enhancedStopPropagation.d.ts +1 -1
- package/dist/form.d.ts +15 -15
- package/dist/functions.d.ts +11 -11
- package/dist/hooks/useClickable.d.ts +3 -3
- package/dist/hooks/useText.d.ts +2 -2
- package/dist/hydrate/action.d.ts +1 -0
- package/dist/hydrate/actionEvent.d.ts +1 -0
- package/dist/hydrate/collection.d.ts +39 -39
- package/dist/hydrate/components/index.d.ts +1 -0
- package/dist/hydrate/components-flex/avatar/types.d.ts +16 -15
- package/dist/hydrate/components-flex/brand-kit.d.ts +11 -11
- package/dist/hydrate/components-flex/button/types.d.ts +43 -40
- package/dist/hydrate/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/hydrate/components-flex/button-text/types.d.ts +27 -24
- package/dist/hydrate/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/hydrate/components-flex/close-button/types.d.ts +21 -21
- package/dist/hydrate/components-flex/code/types.d.ts +3 -3
- package/dist/hydrate/components-flex/count-down/types.d.ts +7 -7
- package/dist/hydrate/components-flex/icon/types.d.ts +9 -9
- package/dist/hydrate/components-flex/image/types.d.ts +18 -18
- package/dist/hydrate/components-flex/layout/types.d.ts +9 -9
- package/dist/hydrate/components-flex/list/types.d.ts +18 -18
- package/dist/hydrate/components-flex/modal/types.d.ts +1 -1
- package/dist/hydrate/components-flex/multi-column/types.d.ts +19 -19
- package/dist/hydrate/components-flex/props.d.ts +56 -56
- package/dist/hydrate/components-flex/schemas.d.ts +17 -17
- package/dist/hydrate/components-flex/shared/types.d.ts +6 -6
- package/dist/hydrate/components-flex/slider/types.d.ts +6 -6
- package/dist/hydrate/components-flex/styles.d.ts +1 -1
- package/dist/hydrate/components-flex/text/constants.d.ts +1 -1
- package/dist/hydrate/components-flex/text/styles.d.ts +1 -1
- package/dist/hydrate/components-flex/text/types.d.ts +32 -29
- package/dist/hydrate/components-flex/text-link/types.d.ts +24 -21
- package/dist/hydrate/components-flex/utils/color.d.ts +3 -3
- package/dist/hydrate/components-flex/utils/parser.d.ts +2 -2
- package/dist/hydrate/components-flex/variants.d.ts +26 -11
- package/dist/hydrate/components-flex/youtube/types.d.ts +12 -11
- package/dist/hydrate/constants.d.ts +3 -2
- package/dist/hydrate/enhancedStopPropagation.d.ts +1 -1
- package/dist/hydrate/form.d.ts +15 -15
- package/dist/hydrate/functions.d.ts +11 -11
- package/dist/hydrate/hooks/useClickable.d.ts +3 -3
- package/dist/hydrate/hooks/useText.d.ts +2 -2
- package/dist/hydrate/index.d.ts +7 -5
- package/dist/hydrate/index.es.js +416 -2692
- package/dist/hydrate/index.svelte5.d.ts +6 -5
- package/dist/hydrate/logger.d.ts +14 -14
- package/dist/hydrate/modal.d.ts +9 -7
- package/dist/hydrate/modal.svelte5.d.ts +9 -7
- package/dist/hydrate/prop.d.ts +127 -127
- package/dist/hydrate/stores.d.ts +16 -16
- package/dist/hydrate/types.d.ts +15 -14
- package/dist/hydrate/utils.d.ts +36 -36
- package/dist/hydrate/widget.d.ts +10 -10
- package/dist/icons.d.ts +7 -4
- package/dist/index.es.d.ts +7 -5
- package/dist/index.es.js +413 -2677
- package/dist/logger.d.ts +14 -14
- package/dist/modal.d.ts +9 -7
- package/dist/modal.svelte5.d.ts +9 -7
- package/dist/prop.d.ts +127 -127
- package/dist/stores.d.ts +16 -16
- package/dist/svelte5/action.d.ts +1 -0
- package/dist/svelte5/actionEvent.d.ts +1 -0
- package/dist/svelte5/collection.d.ts +39 -39
- package/dist/svelte5/components/index.d.ts +1 -0
- package/dist/svelte5/components-flex/avatar/types.d.ts +16 -15
- package/dist/svelte5/components-flex/brand-kit.d.ts +11 -11
- package/dist/svelte5/components-flex/button/types.d.ts +43 -40
- package/dist/svelte5/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/svelte5/components-flex/button-text/types.d.ts +27 -24
- package/dist/svelte5/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/svelte5/components-flex/close-button/types.d.ts +21 -21
- package/dist/svelte5/components-flex/code/types.d.ts +3 -3
- package/dist/svelte5/components-flex/count-down/types.d.ts +7 -7
- package/dist/svelte5/components-flex/icon/types.d.ts +9 -9
- package/dist/svelte5/components-flex/image/types.d.ts +18 -18
- package/dist/svelte5/components-flex/layout/types.d.ts +9 -9
- package/dist/svelte5/components-flex/list/types.d.ts +18 -18
- package/dist/svelte5/components-flex/modal/types.d.ts +1 -1
- package/dist/svelte5/components-flex/multi-column/types.d.ts +19 -19
- package/dist/svelte5/components-flex/props.d.ts +56 -56
- package/dist/svelte5/components-flex/schemas.d.ts +17 -17
- package/dist/svelte5/components-flex/shared/types.d.ts +6 -6
- package/dist/svelte5/components-flex/slider/types.d.ts +6 -6
- package/dist/svelte5/components-flex/styles.d.ts +1 -1
- package/dist/svelte5/components-flex/text/constants.d.ts +1 -1
- package/dist/svelte5/components-flex/text/styles.d.ts +1 -1
- package/dist/svelte5/components-flex/text/types.d.ts +32 -29
- package/dist/svelte5/components-flex/text-link/types.d.ts +24 -21
- package/dist/svelte5/components-flex/utils/color.d.ts +3 -3
- package/dist/svelte5/components-flex/utils/parser.d.ts +2 -2
- package/dist/svelte5/components-flex/variants.d.ts +26 -11
- package/dist/svelte5/components-flex/youtube/types.d.ts +12 -11
- package/dist/svelte5/constants.d.ts +3 -2
- package/dist/svelte5/form.d.ts +15 -15
- package/dist/svelte5/functions.d.ts +11 -11
- package/dist/svelte5/hooks/useClickable.d.ts +3 -3
- package/dist/svelte5/hooks/useText.d.ts +2 -2
- package/dist/svelte5/hydrate/action.d.ts +1 -0
- package/dist/svelte5/hydrate/actionEvent.d.ts +1 -0
- package/dist/svelte5/hydrate/collection.d.ts +39 -39
- package/dist/svelte5/hydrate/components/index.d.ts +1 -0
- package/dist/svelte5/hydrate/components-flex/avatar/types.d.ts +16 -15
- package/dist/svelte5/hydrate/components-flex/brand-kit.d.ts +11 -11
- package/dist/svelte5/hydrate/components-flex/button/types.d.ts +43 -40
- package/dist/svelte5/hydrate/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/svelte5/hydrate/components-flex/button-text/types.d.ts +27 -24
- package/dist/svelte5/hydrate/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/svelte5/hydrate/components-flex/close-button/types.d.ts +21 -21
- package/dist/svelte5/hydrate/components-flex/code/types.d.ts +3 -3
- package/dist/svelte5/hydrate/components-flex/count-down/types.d.ts +7 -7
- package/dist/svelte5/hydrate/components-flex/icon/types.d.ts +9 -9
- package/dist/svelte5/hydrate/components-flex/image/types.d.ts +18 -18
- package/dist/svelte5/hydrate/components-flex/layout/types.d.ts +9 -9
- package/dist/svelte5/hydrate/components-flex/list/types.d.ts +18 -18
- package/dist/svelte5/hydrate/components-flex/modal/types.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/multi-column/types.d.ts +19 -19
- package/dist/svelte5/hydrate/components-flex/props.d.ts +56 -56
- package/dist/svelte5/hydrate/components-flex/schemas.d.ts +17 -17
- package/dist/svelte5/hydrate/components-flex/shared/types.d.ts +6 -6
- package/dist/svelte5/hydrate/components-flex/slider/types.d.ts +6 -6
- package/dist/svelte5/hydrate/components-flex/styles.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/text/constants.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/text/styles.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/text/types.d.ts +32 -29
- package/dist/svelte5/hydrate/components-flex/text-link/types.d.ts +24 -21
- package/dist/svelte5/hydrate/components-flex/utils/color.d.ts +3 -3
- package/dist/svelte5/hydrate/components-flex/utils/parser.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/variants.d.ts +26 -11
- package/dist/svelte5/hydrate/components-flex/youtube/types.d.ts +12 -11
- package/dist/svelte5/hydrate/constants.d.ts +3 -2
- package/dist/svelte5/hydrate/form.d.ts +15 -15
- package/dist/svelte5/hydrate/functions.d.ts +11 -11
- package/dist/svelte5/hydrate/hooks/useClickable.d.ts +3 -3
- package/dist/svelte5/hydrate/hooks/useText.d.ts +2 -2
- package/dist/svelte5/hydrate/index.es.d.ts +6 -5
- package/dist/svelte5/hydrate/index.es.js +16 -20
- package/dist/svelte5/hydrate/logger.d.ts +14 -14
- package/dist/svelte5/hydrate/modal.d.ts +9 -7
- package/dist/svelte5/hydrate/modal.svelte5.d.ts +9 -7
- package/dist/svelte5/hydrate/prop.d.ts +127 -127
- package/dist/svelte5/hydrate/stores.d.ts +16 -16
- package/dist/svelte5/hydrate/types.d.ts +15 -14
- package/dist/svelte5/hydrate/utils.d.ts +36 -36
- package/dist/svelte5/hydrate/widget.d.ts +10 -10
- package/dist/svelte5/index.es.d.ts +6 -5
- package/dist/svelte5/index.es.js +16 -20
- package/dist/svelte5/index.front2.es.js +42 -46
- package/dist/svelte5/index.svelte5.d.ts +6 -5
- package/dist/svelte5/logger.d.ts +14 -14
- package/dist/svelte5/modal.d.ts +9 -7
- package/dist/svelte5/modal.svelte5.d.ts +9 -7
- package/dist/svelte5/prop.d.ts +127 -127
- package/dist/svelte5/stores.d.ts +16 -16
- package/dist/svelte5/types.d.ts +15 -14
- package/dist/svelte5/utils.d.ts +36 -36
- package/dist/svelte5/widget.d.ts +10 -10
- package/dist/templates.cjs.js +0 -1
- package/dist/templates.d.ts +5 -3
- package/dist/types.d.ts +15 -14
- package/dist/utils.d.ts +36 -36
- package/dist/widget.d.ts +10 -10
- package/package.json +3 -3
package/dist/hydrate/types.d.ts
CHANGED
@@ -15,7 +15,7 @@ export type ActionEventHandler = (...args: any[]) => any | Promise<any>;
|
|
15
15
|
* @public
|
16
16
|
*/
|
17
17
|
export type ActionVariables = {
|
18
|
-
[key: string]: any
|
18
|
+
[key: string]: any;
|
19
19
|
};
|
20
20
|
/**
|
21
21
|
* アクションの send 関数
|
@@ -35,9 +35,9 @@ export type PublishFunction = (topic: string, values?: any) => void;
|
|
35
35
|
* @public
|
36
36
|
*/
|
37
37
|
export type ActionSetting = {
|
38
|
-
send?: SendFunction
|
39
|
-
publish?: PublishFunction
|
40
|
-
initialState?: string
|
38
|
+
send?: SendFunction;
|
39
|
+
publish?: PublishFunction;
|
40
|
+
initialState?: string;
|
41
41
|
};
|
42
42
|
/**
|
43
43
|
* アクションのライフサイクル changeState で呼び出されるフック関数
|
@@ -144,7 +144,7 @@ export interface ActionOptions<
|
|
144
144
|
* @defaultValue `{}`
|
145
145
|
*/
|
146
146
|
karteTemplate?: {
|
147
|
-
[key: string]: any
|
147
|
+
[key: string]: any;
|
148
148
|
};
|
149
149
|
/**
|
150
150
|
* アクション実行時のコンテキスト
|
@@ -160,24 +160,25 @@ export type SystemConfig = {
|
|
160
160
|
/**
|
161
161
|
* API キー
|
162
162
|
*/
|
163
|
-
apiKey?: string
|
164
|
-
collection_endpoint?: string
|
163
|
+
apiKey?: string;
|
164
|
+
collection_endpoint?: string;
|
165
165
|
/**
|
166
166
|
* 接客ID
|
167
167
|
*/
|
168
|
-
campaignId?: string
|
169
|
-
shortenId?: string
|
168
|
+
campaignId?: string;
|
169
|
+
shortenId?: string;
|
170
170
|
};
|
171
171
|
/** @internal */
|
172
172
|
export type ActionHookLog = {
|
173
|
-
name: string
|
174
|
-
values?: any
|
173
|
+
name: string;
|
174
|
+
values?: any;
|
175
175
|
};
|
176
176
|
/**
|
177
177
|
* アクション実行時のコンテキスト
|
178
178
|
*/
|
179
179
|
export type ActionRunnerContext = {
|
180
|
-
api_key: string
|
181
|
-
|
182
|
-
|
180
|
+
api_key: string;
|
181
|
+
// TODO: edgejsのリリース状況によっては入ってこない可能性があるためoptionalにしているが、リリース完了後にrequiredに変更する
|
182
|
+
collection_endpoint?: string;
|
183
|
+
target?: "web" | "native";
|
183
184
|
};
|
package/dist/hydrate/utils.d.ts
CHANGED
@@ -10,49 +10,49 @@ export declare const isInFrame: () => boolean;
|
|
10
10
|
export declare const setPreviousFocus: () => void;
|
11
11
|
/** @internal */
|
12
12
|
export declare const handleKeydown: (handlers: {
|
13
|
-
[eventName: string]: (e: any) => void
|
13
|
+
[eventName: string]: (e: any) => void;
|
14
14
|
}) => (e: any) => void;
|
15
15
|
declare const TRANSFORM: {
|
16
16
|
readonly "top-center": {
|
17
|
-
readonly x: 50
|
18
|
-
readonly y: 0
|
19
|
-
}
|
17
|
+
readonly x: 50;
|
18
|
+
readonly y: 0;
|
19
|
+
};
|
20
20
|
readonly "top-left": {
|
21
|
-
readonly x: 0
|
22
|
-
readonly y: 0
|
23
|
-
}
|
21
|
+
readonly x: 0;
|
22
|
+
readonly y: 0;
|
23
|
+
};
|
24
24
|
readonly "top-right": {
|
25
|
-
readonly x: 0
|
26
|
-
readonly y: 0
|
27
|
-
}
|
25
|
+
readonly x: 0;
|
26
|
+
readonly y: 0;
|
27
|
+
};
|
28
28
|
readonly "center-left": {
|
29
|
-
readonly x: 0
|
30
|
-
readonly y: -50
|
31
|
-
}
|
29
|
+
readonly x: 0;
|
30
|
+
readonly y: -50;
|
31
|
+
};
|
32
32
|
readonly center: {
|
33
|
-
readonly x: -50
|
34
|
-
readonly y: -50
|
35
|
-
}
|
33
|
+
readonly x: -50;
|
34
|
+
readonly y: -50;
|
35
|
+
};
|
36
36
|
readonly "center-right": {
|
37
|
-
readonly x: 0
|
38
|
-
readonly y: -50
|
39
|
-
}
|
37
|
+
readonly x: 0;
|
38
|
+
readonly y: -50;
|
39
|
+
};
|
40
40
|
readonly "bottom-left": {
|
41
|
-
readonly x: 0
|
42
|
-
readonly y: 0
|
43
|
-
}
|
41
|
+
readonly x: 0;
|
42
|
+
readonly y: 0;
|
43
|
+
};
|
44
44
|
readonly "bottom-center": {
|
45
|
-
readonly x: -50
|
46
|
-
readonly y: 0
|
47
|
-
}
|
45
|
+
readonly x: -50;
|
46
|
+
readonly y: 0;
|
47
|
+
};
|
48
48
|
readonly "bottom-right": {
|
49
|
-
readonly x: 0
|
50
|
-
readonly y: 0
|
51
|
-
}
|
49
|
+
readonly x: 0;
|
50
|
+
readonly y: 0;
|
51
|
+
};
|
52
52
|
readonly none: {
|
53
|
-
readonly x: 0
|
54
|
-
readonly y: 0
|
55
|
-
}
|
53
|
+
readonly x: 0;
|
54
|
+
readonly y: 0;
|
55
|
+
};
|
56
56
|
};
|
57
57
|
/** @internal */
|
58
58
|
export declare const getPositionStyle: (position: ModalPosition) => string;
|
@@ -67,12 +67,12 @@ export declare const stringifyStyleObj: (styleObj: Record<string, string>) => st
|
|
67
67
|
/** @internal */
|
68
68
|
export declare const formatObjectKey: ({ obj, prefix, suffix }: {
|
69
69
|
obj: {
|
70
|
-
[key: string]: any
|
71
|
-
}
|
72
|
-
prefix?: string
|
73
|
-
suffix?: string
|
70
|
+
[key: string]: any;
|
71
|
+
};
|
72
|
+
prefix?: string;
|
73
|
+
suffix?: string;
|
74
74
|
}) => {
|
75
|
-
[key: string]: any
|
75
|
+
[key: string]: any;
|
76
76
|
};
|
77
77
|
/**
|
78
78
|
* スクロール方向
|
package/dist/hydrate/widget.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { showAction, closeAction } from "./modal.js";
|
2
2
|
import { collection as newCollection } from "./collection.js";
|
3
3
|
type ChangeValCallbackArg = {
|
4
|
-
newVal: any
|
5
|
-
oldVal: any
|
6
|
-
key: string
|
4
|
+
newVal: any;
|
5
|
+
oldVal: any;
|
6
|
+
key: string;
|
7
7
|
};
|
8
8
|
type ChangeValCallback = (arg: ChangeValCallbackArg) => void;
|
9
9
|
type EventCallback = (event: any) => void;
|
@@ -116,7 +116,7 @@ declare function getMemoryStore(key: string): any;
|
|
116
116
|
* @public
|
117
117
|
*/
|
118
118
|
declare function setLocalStore(key: string, value: any, options?: {
|
119
|
-
expire: number | boolean
|
119
|
+
expire: number | boolean;
|
120
120
|
}): void;
|
121
121
|
/**
|
122
122
|
* ページをまたぐ変数を取得設定する
|
@@ -130,13 +130,13 @@ declare function setLocalStore(key: string, value: any, options?: {
|
|
130
130
|
declare function getLocalStore(key: string): any | undefined;
|
131
131
|
export declare const storage: {
|
132
132
|
memory: {
|
133
|
-
store: typeof setMemoryStore
|
134
|
-
restore: typeof getMemoryStore
|
135
|
-
}
|
133
|
+
store: typeof setMemoryStore;
|
134
|
+
restore: typeof getMemoryStore;
|
135
|
+
};
|
136
136
|
local: {
|
137
|
-
store: typeof setLocalStore
|
138
|
-
restore: typeof getLocalStore
|
139
|
-
}
|
137
|
+
store: typeof setLocalStore;
|
138
|
+
restore: typeof getLocalStore;
|
139
|
+
};
|
140
140
|
};
|
141
141
|
/**
|
142
142
|
* アクションテーブルを操作するオブジェクト
|
package/dist/icons.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
// This file was generated by 'update-icons.ts'. Don't edit this file manually!!!!!
|
2
|
+
// for tree-shaking
|
1
3
|
export { default as ArrowDownSolid } from "./icons/solid/arrow-down.svg.js";
|
2
4
|
export { default as ArrowLeftSolid } from "./icons/solid/arrow-left.svg.js";
|
3
5
|
export { default as ArrowRightSolid } from "./icons/solid/arrow-right.svg.js";
|
@@ -20,9 +22,10 @@ export { default as UsersSolid } from "./icons/solid/users.svg.js";
|
|
20
22
|
export { default as WindowMaximizeSolid } from "./icons/solid/window-maximize.svg.js";
|
21
23
|
export { default as WindowMinimizeSolid } from "./icons/solid/window-minimize.svg.js";
|
22
24
|
export { default as XmarkSolid } from "./icons/solid/xmark.svg.js";
|
25
|
+
// @internal
|
23
26
|
export declare const ICONS: {
|
24
|
-
name: string
|
25
|
-
type: string
|
26
|
-
component: string
|
27
|
-
src: string
|
27
|
+
name: string;
|
28
|
+
type: string;
|
29
|
+
component: string;
|
30
|
+
src: string;
|
28
31
|
}[];
|
package/dist/index.es.d.ts
CHANGED
@@ -3,17 +3,18 @@ export { create, destroyAction, onCreate, onDestroy, showModal, destroy } from "
|
|
3
3
|
export { initialize, finalize } from "./actionEvent.js";
|
4
4
|
export { loadGlobalScript, loadGlobalStyle, applyGlobalCss } from "./script.js";
|
5
5
|
export { getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state } from "./stores.js";
|
6
|
-
export { SystemConfig, ActionVariables, ActionEventHandler, ActionProps, ActionOptions, ActionHook, ActionHookLog, ActionChangeStateHook, SendFunction, PublishFunction } from "./types.js";
|
6
|
+
export type { SystemConfig, ActionVariables, ActionEventHandler, ActionProps, ActionOptions, ActionHook, ActionHookLog, ActionChangeStateHook, SendFunction, PublishFunction } from "./types.js";
|
7
7
|
export { onScroll, onTime } from "./utils.js";
|
8
|
-
export { OnScrollContext, OnScrollFunction, ScrollDirection } from "./utils.js";
|
8
|
+
export type { OnScrollContext, OnScrollFunction, ScrollDirection } from "./utils.js";
|
9
9
|
export { getLogs, getEvents, logger, listenLogger } from "./logger.js";
|
10
|
-
export { LogLevel, Log, Event } from "./logger.js";
|
10
|
+
export type { LogLevel, Log, Event } from "./logger.js";
|
11
|
+
// 以下は互換性のため
|
11
12
|
export { hideOnScroll, hideOnTime, showOnScroll, showOnTime } from "./display-logic.js";
|
12
13
|
export * from "./prop.js";
|
13
14
|
export { showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog } from "./modal.js";
|
14
|
-
export { ActionCloseHook, ShowTrigger, CloseTrigger } from "./modal.js";
|
15
|
+
export type { ActionCloseHook, ShowTrigger, CloseTrigger } from "./modal.js";
|
15
16
|
export { collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable } from "./collection.js";
|
16
|
-
export { CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig } from "./collection.js";
|
17
|
+
export type { CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig } from "./collection.js";
|
17
18
|
export { addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers } from "./form.js";
|
18
19
|
export * as widget from "./widget.js";
|
19
20
|
export { onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES } from "./components/index.js";
|
@@ -44,6 +45,7 @@ export { default as Countdown } from "./components/Countdown.svelte.js";
|
|
44
45
|
export { default as Box } from "./components/Box.svelte.js";
|
45
46
|
export { default as IconElement } from "./components/IconElement.svelte.js";
|
46
47
|
export { default as CodeElement } from "./components/CodeElement.svelte.js";
|
48
|
+
// 以下は互換性のため
|
47
49
|
export { default as Flex } from "./components/Flex.svelte.js";
|
48
50
|
export { default as FlexItem } from "./components/FlexItem.svelte.js";
|
49
51
|
export { default as GridModalState } from "./components/GridModalState.svelte.js";
|