@plaidev/karte-action-sdk 1.1.269-29152886.93a696e2 → 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
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare function dataAttrStopPropagation<K extends keyof WindowEventMap>(eventName: K): {
|
2
|
-
[key: string]: boolean
|
2
|
+
[key: string]: boolean;
|
3
3
|
};
|
4
4
|
type EventHandler<K extends keyof WindowEventMap> = (event: WindowEventMap[K]) => void;
|
5
5
|
export declare function checkStopPropagation<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void): EventHandler<K>;
|
package/dist/form.d.ts
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
import type { FormData } from "./stores.js";
|
2
2
|
import type { Readable, Writable } from "svelte/store";
|
3
3
|
type AnswerValue = {
|
4
|
-
choices: string[]
|
4
|
+
choices: string[];
|
5
5
|
} | {
|
6
|
-
free_answer: string
|
6
|
+
free_answer: string;
|
7
7
|
};
|
8
8
|
type InputValue = any;
|
9
9
|
type RegisterInputFuncArg<T extends InputValue> = {
|
10
|
-
name: string
|
11
|
-
statePath: string
|
12
|
-
validator?: (value: T) => boolean
|
13
|
-
initialValue: T
|
10
|
+
name: string;
|
11
|
+
statePath: string;
|
12
|
+
validator?: (value: T) => boolean;
|
13
|
+
initialValue: T;
|
14
14
|
};
|
15
15
|
type RegisterInputFunc = {
|
16
16
|
<T extends InputValue>(arg: RegisterInputFuncArg<T>): {
|
17
|
-
value: Writable<T
|
18
|
-
isValid: Readable<boolean
|
19
|
-
}
|
17
|
+
value: Writable<T>;
|
18
|
+
isValid: Readable<boolean>;
|
19
|
+
};
|
20
20
|
};
|
21
21
|
/** @internal */
|
22
22
|
export declare function createInputRegisterer(formData: Writable<FormData>): RegisterInputFunc;
|
@@ -30,8 +30,8 @@ export declare function deleteValues(statePath: string): void;
|
|
30
30
|
export declare const getValuesAreValidReadable: (statePath: string) => Readable<boolean>;
|
31
31
|
/** @internal */
|
32
32
|
export declare function submit(): {
|
33
|
-
values?: any
|
34
|
-
identifyValues?: any
|
33
|
+
values?: any;
|
34
|
+
identifyValues?: any;
|
35
35
|
};
|
36
36
|
/**
|
37
37
|
* 選択式のアンケート回答を追加する
|
@@ -42,8 +42,8 @@ export declare function submit(): {
|
|
42
42
|
* @public
|
43
43
|
*/
|
44
44
|
export declare function addChoiceAnswer(questionId: string, choices: string[], validation?: {
|
45
|
-
isValid: boolean
|
46
|
-
statePath: string
|
45
|
+
isValid: boolean;
|
46
|
+
statePath: string;
|
47
47
|
}): void;
|
48
48
|
/**
|
49
49
|
* 自由記述式のアンケート回答を追加する
|
@@ -54,8 +54,8 @@ export declare function addChoiceAnswer(questionId: string, choices: string[], v
|
|
54
54
|
* @public
|
55
55
|
*/
|
56
56
|
export declare function addFreeAnswer(questionId: string, freeAnswer: string, validation?: {
|
57
|
-
isValid: boolean
|
58
|
-
statePath: string
|
57
|
+
isValid: boolean;
|
58
|
+
statePath: string;
|
59
59
|
}): void;
|
60
60
|
/**
|
61
61
|
* 回答済の回答を削除
|
package/dist/functions.d.ts
CHANGED
@@ -26,9 +26,9 @@ interface CustomAnimationOptions {
|
|
26
26
|
* A Transform value in percent of target element
|
27
27
|
*/
|
28
28
|
transforms: Array<{
|
29
|
-
query: string | null
|
30
|
-
x: number
|
31
|
-
y: number
|
29
|
+
query: string | null;
|
30
|
+
x: number;
|
31
|
+
y: number;
|
32
32
|
}>;
|
33
33
|
/**
|
34
34
|
* A style of animation(e.g. fade, slide-in)
|
@@ -58,14 +58,14 @@ interface CustomAnimationOptions {
|
|
58
58
|
* @internal
|
59
59
|
*/
|
60
60
|
export declare function customAnimation(node: Element, { transforms, animationStyle, delay, duration }: CustomAnimationOptions): {
|
61
|
-
delay?: undefined
|
62
|
-
duration?: undefined
|
63
|
-
easing?: undefined
|
64
|
-
css?: undefined
|
61
|
+
delay?: undefined;
|
62
|
+
duration?: undefined;
|
63
|
+
easing?: undefined;
|
64
|
+
css?: undefined;
|
65
65
|
} | {
|
66
|
-
delay: number
|
67
|
-
duration: number
|
68
|
-
easing: (t: any) => any
|
69
|
-
css: (progress: number) => string
|
66
|
+
delay: number;
|
67
|
+
duration: number;
|
68
|
+
easing: (t: any) => any;
|
69
|
+
css: (progress: number) => string;
|
70
70
|
};
|
71
71
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { ClickableProps } from "../components-flex/props.js";
|
2
2
|
declare const useClickable: ({ eventValue, eventName, onClick, element }: ClickableProps) => {
|
3
|
-
element: string
|
4
|
-
attributes: Record<string, any
|
5
|
-
handleClick: (e: MouseEvent) => void
|
3
|
+
element: string;
|
4
|
+
attributes: Record<string, any>;
|
5
|
+
handleClick: (e: MouseEvent) => void;
|
6
6
|
};
|
7
7
|
export default useClickable;
|
package/dist/hooks/useText.d.ts
CHANGED
package/dist/hydrate/action.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
type ActionTableResult = number | string | boolean | Date | null | undefined;
|
2
2
|
type ActionTableQueryParam = string | number | boolean | Date;
|
3
3
|
type ActionTableQueryParams = {
|
4
|
-
[key: string]: ActionTableQueryParam | ActionTableQueryParam[]
|
4
|
+
[key: string]: ActionTableQueryParam | ActionTableQueryParam[];
|
5
5
|
};
|
6
6
|
/**
|
7
7
|
* アクションテーブルの設定情報
|
@@ -11,9 +11,9 @@ type ActionTableQueryParams = {
|
|
11
11
|
* @param endpoint - エンドポイント / 指定がない場合はデフォルトのエンドポイントを使用します。検証用途以外での通常利用では指定なしで大丈夫です。
|
12
12
|
*/
|
13
13
|
export type CollectionConfig = {
|
14
|
-
api_key: string
|
15
|
-
table: string
|
16
|
-
collection_endpoint?: string
|
14
|
+
api_key: string;
|
15
|
+
table: string;
|
16
|
+
collection_endpoint?: string;
|
17
17
|
};
|
18
18
|
/**
|
19
19
|
* アクションテーブルを管理するメソッドを取得する
|
@@ -33,7 +33,7 @@ export declare function collection(config: CollectionConfig): {
|
|
33
33
|
*
|
34
34
|
* @public
|
35
35
|
*/
|
36
|
-
get(key: string | Array<string>, cb: (err: Error | null, items?: ActionTableResult | Array<ActionTableResult>) => void): void
|
36
|
+
get(key: string | Array<string>, cb: (err: Error | null, items?: ActionTableResult | Array<ActionTableResult>) => void): void;
|
37
37
|
/**
|
38
38
|
* クエリーを指定して、アクションテーブルから行を取得する
|
39
39
|
* なお、クエリーは事前に管理画面で設定しておく必要があります。
|
@@ -45,76 +45,76 @@ export declare function collection(config: CollectionConfig): {
|
|
45
45
|
* @public
|
46
46
|
*/
|
47
47
|
getByQuery(query_name: string, params: ActionTableQueryParams, options: {
|
48
|
-
ignore_fields?: string[]
|
49
|
-
} | null | undefined, cb: (err: Error | null, items?: Array<ActionTableResult>) => void): void
|
48
|
+
ignore_fields?: string[];
|
49
|
+
} | null | undefined, cb: (err: Error | null, items?: Array<ActionTableResult>) => void): void;
|
50
50
|
/** @internal */
|
51
|
-
set(key: string, value: string, cb: (err: Error | null) => void): void
|
51
|
+
set(key: string, value: string, cb: (err: Error | null) => void): void;
|
52
52
|
};
|
53
53
|
/** @internal */
|
54
54
|
export type VariableQuery = {
|
55
|
-
resolver: string
|
56
|
-
name: string
|
57
|
-
query: any
|
58
|
-
preview_value?: any
|
55
|
+
resolver: string;
|
56
|
+
name: string;
|
57
|
+
query: any;
|
58
|
+
preview_value?: any;
|
59
59
|
};
|
60
60
|
/** @internal */
|
61
61
|
export type ActionTableRowRequestConfig = VariableQuery & {
|
62
|
-
resolver: "action-table-row"
|
62
|
+
resolver: "action-table-row";
|
63
63
|
query: {
|
64
|
-
table_name: string
|
65
|
-
key: string
|
66
|
-
default_value?: ActionTableResult
|
67
|
-
}
|
68
|
-
preview_value?: ActionTableResult
|
64
|
+
table_name: string;
|
65
|
+
key: string;
|
66
|
+
default_value?: ActionTableResult;
|
67
|
+
};
|
68
|
+
preview_value?: ActionTableResult;
|
69
69
|
};
|
70
70
|
/** @internal */
|
71
71
|
export type ActionTableRowsRequestConfig = VariableQuery & {
|
72
|
-
resolver: "action-table-rows"
|
72
|
+
resolver: "action-table-rows";
|
73
73
|
query: {
|
74
|
-
table_name: string
|
75
|
-
keys: Array<string
|
76
|
-
default_value?: Array<ActionTableResult
|
77
|
-
}
|
78
|
-
preview_value?: Array<ActionTableResult
|
74
|
+
table_name: string;
|
75
|
+
keys: Array<string>;
|
76
|
+
default_value?: Array<ActionTableResult>;
|
77
|
+
};
|
78
|
+
preview_value?: Array<ActionTableResult>;
|
79
79
|
};
|
80
80
|
/** @internal */
|
81
81
|
export type ActionTableQueryRequestConfig = VariableQuery & {
|
82
|
-
resolver: "action-table-query"
|
82
|
+
resolver: "action-table-query";
|
83
83
|
query: {
|
84
|
-
table_name: string
|
85
|
-
query_name: string
|
84
|
+
table_name: string;
|
85
|
+
query_name: string;
|
86
86
|
params?: {
|
87
|
-
[key: string]: string
|
88
|
-
}
|
89
|
-
default_value?: Array<ActionTableResult
|
90
|
-
}
|
91
|
-
preview_value?: Array<ActionTableResult
|
87
|
+
[key: string]: string;
|
88
|
+
};
|
89
|
+
default_value?: Array<ActionTableResult>;
|
90
|
+
};
|
91
|
+
preview_value?: Array<ActionTableResult>;
|
92
92
|
};
|
93
93
|
/** @internal */
|
94
94
|
export type ActionTableRequestConfig = ActionTableRowRequestConfig | ActionTableRowsRequestConfig | ActionTableQueryRequestConfig;
|
95
95
|
/** @internal */
|
96
96
|
export declare const loadActionTableRow: (config: ActionTableRowRequestConfig, data: {
|
97
|
-
[key: string]: any
|
97
|
+
[key: string]: any;
|
98
98
|
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
99
99
|
/** @internal */
|
100
100
|
export declare const loadActionTableRows: (config: ActionTableRowsRequestConfig, data: {
|
101
|
-
[key: string]: any
|
101
|
+
[key: string]: any;
|
102
102
|
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
103
103
|
/** @internal */
|
104
104
|
export declare const loadActionTableQuery: (config: ActionTableQueryRequestConfig, data: {
|
105
|
-
[key: string]: any
|
105
|
+
[key: string]: any;
|
106
106
|
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
107
107
|
/** @internal */
|
108
108
|
export declare const loadActionTable: (config: Array<VariableQuery>, data: {
|
109
|
-
[key: string]: any
|
109
|
+
[key: string]: any;
|
110
110
|
}, api_key: string, collection_endpoint?: string) => Promise<{
|
111
|
-
[key: string]: any
|
111
|
+
[key: string]: any;
|
112
112
|
}>;
|
113
113
|
/** @internal */
|
114
114
|
export declare function setupActionTable(localVariablesQuery: Array<VariableQuery>, data: {
|
115
|
-
[key: string]: any
|
115
|
+
[key: string]: any;
|
116
116
|
}, apiKey: string, collection_endpoint: string): Promise<{
|
117
|
-
success: boolean
|
117
|
+
success: boolean;
|
118
118
|
}>;
|
119
119
|
/** @internal */
|
120
120
|
export declare function initActionTable(localVariablesQuery: Array<VariableQuery> | undefined): void;
|
@@ -1,24 +1,25 @@
|
|
1
1
|
import type { BorderProps, ClickableProps, CommonProps, PaddingProps } from "../props.js";
|
2
2
|
import type { Properties } from "csstype";
|
3
3
|
export declare const AVATAR_SIZE: {
|
4
|
-
readonly extra_small: "XS(48 x 48)"
|
5
|
-
readonly small: "S(64 x 64)"
|
6
|
-
readonly medium: "M(88 x 88)"
|
7
|
-
readonly large: "L(108 x 108)"
|
8
|
-
readonly extra_large: "XL(128 x 128)"
|
4
|
+
readonly extra_small: "XS(48 x 48)";
|
5
|
+
readonly small: "S(64 x 64)";
|
6
|
+
readonly medium: "M(88 x 88)";
|
7
|
+
readonly large: "L(108 x 108)";
|
8
|
+
readonly extra_large: "XL(128 x 128)";
|
9
9
|
};
|
10
10
|
export declare const AVATAR_SHAPE: {
|
11
|
-
readonly circle: "サークル"
|
12
|
-
readonly square: "スクエア"
|
13
|
-
readonly rounded: "ラウンド"
|
11
|
+
readonly circle: "サークル";
|
12
|
+
readonly square: "スクエア";
|
13
|
+
readonly rounded: "ラウンド";
|
14
14
|
};
|
15
15
|
export type AvatarProps = CommonProps & ClickableProps & PaddingProps & BorderProps & {
|
16
|
-
size
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
16
|
+
// size
|
17
|
+
size?: keyof typeof AVATAR_SIZE | number;
|
18
|
+
width?: Properties["width"];
|
19
|
+
height?: Properties["height"];
|
20
|
+
shape?: keyof typeof AVATAR_SHAPE;
|
21
|
+
image?: string;
|
22
|
+
caption?: string;
|
23
|
+
alt?: string;
|
23
24
|
};
|
24
25
|
export declare const avatarPropsDefault: AvatarProps;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
export type BrandKit = {
|
2
|
-
font_family: string
|
3
|
-
color_text_primary: string
|
4
|
-
color_text_secondary: string
|
5
|
-
color_brand: string
|
6
|
-
color_link: string
|
7
|
-
color_danger: string
|
8
|
-
color_success: string
|
9
|
-
color_info: string
|
10
|
-
color_warning: string
|
11
|
-
color_white: string
|
2
|
+
font_family: string;
|
3
|
+
color_text_primary: string;
|
4
|
+
color_text_secondary: string;
|
5
|
+
color_brand: string;
|
6
|
+
color_link: string;
|
7
|
+
color_danger: string;
|
8
|
+
color_success: string;
|
9
|
+
color_info: string;
|
10
|
+
color_warning: string;
|
11
|
+
color_white: string;
|
12
12
|
};
|
13
13
|
export declare const getBrandKit: (customBrandKit?: Partial<BrandKit>) => BrandKit;
|
14
14
|
export declare const useBrandKit: () => {
|
15
|
-
brandKit: BrandKit
|
15
|
+
brandKit: BrandKit;
|
16
16
|
};
|
@@ -1,57 +1,60 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
2
|
import type { BorderProps, ClickableProps, CommonProps, LinkProps, ShadowProps, WithIconProps, RadiusProps } from "../props.js";
|
3
3
|
export declare const BUTTON_SIZE: {
|
4
|
-
readonly extra_small: "エクストラ スモール"
|
5
|
-
readonly small: "スモール"
|
6
|
-
readonly medium: "ミディアム"
|
7
|
-
readonly large: "ラージ"
|
8
|
-
readonly extra_large: "エクストラ ラージ"
|
4
|
+
readonly extra_small: "エクストラ スモール";
|
5
|
+
readonly small: "スモール";
|
6
|
+
readonly medium: "ミディアム";
|
7
|
+
readonly large: "ラージ";
|
8
|
+
readonly extra_large: "エクストラ ラージ";
|
9
9
|
};
|
10
10
|
export declare const BUTTON_THEME: {
|
11
|
-
readonly default: "ノーマル / ブランド"
|
12
|
-
readonly general: "ノーマル / ジェネラル"
|
13
|
-
readonly danger: "ノーマル / アラート"
|
14
|
-
readonly white: "ノーマル / ホワイト"
|
15
|
-
readonly default_outline: "アウトライン / ブランド"
|
16
|
-
readonly general_outline: "アウトライン / ジェネラル"
|
17
|
-
readonly danger_outline: "アウトライン / アラート"
|
18
|
-
readonly default_text: "テキスト / ブランド"
|
19
|
-
readonly general_text: "テキスト / ジェネラル"
|
20
|
-
readonly danger_text: "テキスト / アラート"
|
11
|
+
readonly default: "ノーマル / ブランド";
|
12
|
+
readonly general: "ノーマル / ジェネラル";
|
13
|
+
readonly danger: "ノーマル / アラート";
|
14
|
+
readonly white: "ノーマル / ホワイト";
|
15
|
+
readonly default_outline: "アウトライン / ブランド";
|
16
|
+
readonly general_outline: "アウトライン / ジェネラル";
|
17
|
+
readonly danger_outline: "アウトライン / アラート";
|
18
|
+
readonly default_text: "テキスト / ブランド";
|
19
|
+
readonly general_text: "テキスト / ジェネラル";
|
20
|
+
readonly danger_text: "テキスト / アラート";
|
21
21
|
};
|
22
22
|
export declare const BUTTON_VARIANT: {
|
23
|
-
readonly normal: "ノーマル"
|
24
|
-
readonly outline: "アウトライン"
|
25
|
-
readonly text: "テキスト"
|
23
|
+
readonly normal: "ノーマル";
|
24
|
+
readonly outline: "アウトライン";
|
25
|
+
readonly text: "テキスト";
|
26
26
|
};
|
27
27
|
export declare const BUTTON_ROUND: {
|
28
|
-
readonly default: "デフォルト"
|
29
|
-
readonly none: "なし"
|
30
|
-
readonly fulled: "円形"
|
28
|
+
readonly default: "デフォルト";
|
29
|
+
readonly none: "なし";
|
30
|
+
readonly fulled: "円形";
|
31
31
|
};
|
32
32
|
export declare const BUTTON_LINK_TARGET: {
|
33
|
-
readonly _self: "画面内遷移"
|
34
|
-
readonly _blank: "別タブで開く"
|
33
|
+
readonly _self: "画面内遷移";
|
34
|
+
readonly _blank: "別タブで開く";
|
35
35
|
};
|
36
36
|
export declare const BUTTON_ICON_ANGLE: {
|
37
|
-
readonly row: "左側"
|
38
|
-
readonly "row-reverse": "右側"
|
37
|
+
readonly row: "左側";
|
38
|
+
readonly "row-reverse": "右側";
|
39
39
|
};
|
40
40
|
export type ButtonProps = CommonProps & ClickableProps & ShadowProps & LinkProps & WithIconProps & RadiusProps & BorderProps & {
|
41
|
-
label?: string
|
42
|
-
size
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
41
|
+
label?: string;
|
42
|
+
// size
|
43
|
+
size?: keyof typeof BUTTON_SIZE | string;
|
44
|
+
height?: Properties["height"];
|
45
|
+
paddingLeft?: Properties["paddingLeft"];
|
46
|
+
paddingRight?: Properties["paddingRight"];
|
47
|
+
fontSize?: Properties["fontSize"];
|
48
|
+
// theme
|
49
|
+
theme?: keyof typeof BUTTON_THEME | string;
|
50
|
+
variant?: keyof typeof BUTTON_VARIANT | string;
|
51
|
+
color?: Properties["color"];
|
52
|
+
backgroundColor?: Properties["backgroundColor"];
|
53
|
+
borderColor?: Properties["borderColor"];
|
54
|
+
// others
|
55
|
+
fontWeight?: Properties["fontWeight"];
|
56
|
+
round?: keyof typeof BUTTON_ROUND;
|
57
|
+
width?: Properties["width"];
|
58
|
+
wrap?: "wrap" | "nowrap";
|
56
59
|
};
|
57
60
|
export declare const buttonPropsDefault: ButtonProps;
|
@@ -2,19 +2,22 @@ import type { Properties } from "csstype";
|
|
2
2
|
import type { BorderProps, ClickableProps, CommonProps, LinkProps, ShadowProps, WithIconProps } from "../props.js";
|
3
3
|
import type { BUTTON_THEME, BUTTON_ROUND, BUTTON_SIZE } from "../button/types.js";
|
4
4
|
export type ButtonOutlinedProps = CommonProps & ClickableProps & ShadowProps & WithIconProps & LinkProps & BorderProps & {
|
5
|
-
label?: string
|
6
|
-
size
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
5
|
+
label?: string;
|
6
|
+
// size
|
7
|
+
size?: keyof typeof BUTTON_SIZE;
|
8
|
+
height?: Properties["height"];
|
9
|
+
paddingLeft?: Properties["paddingLeft"];
|
10
|
+
paddingRight?: Properties["paddingRight"];
|
11
|
+
fontSize?: Properties["fontSize"];
|
12
|
+
// theme
|
13
|
+
theme?: keyof typeof BUTTON_THEME;
|
14
|
+
color?: Properties["color"];
|
15
|
+
backgroundColor?: Properties["backgroundColor"];
|
16
|
+
borderColor?: Properties["backgroundColor"];
|
17
|
+
// others
|
18
|
+
width?: Properties["width"];
|
19
|
+
round?: keyof typeof BUTTON_ROUND;
|
20
|
+
fontWeight?: Properties["fontWeight"];
|
21
|
+
wrap?: "wrap" | "nowrap";
|
19
22
|
};
|
20
23
|
export declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
|
@@ -2,32 +2,35 @@ import type { Properties } from "csstype";
|
|
2
2
|
import type { ClickableProps, CommonProps, LinkProps, WithIconProps } from "../props.js";
|
3
3
|
import type { BUTTON_ROUND } from "../button/types.js";
|
4
4
|
export declare const BUTTON_TEXT_SIZE: {
|
5
|
-
readonly small: "Small"
|
6
|
-
readonly medium: "Medium"
|
7
|
-
readonly large: "Large"
|
5
|
+
readonly small: "Small";
|
6
|
+
readonly medium: "Medium";
|
7
|
+
readonly large: "Large";
|
8
8
|
};
|
9
9
|
export declare const BUTTON_TEXT_THEME: {
|
10
|
-
readonly default: "Default"
|
11
|
-
readonly link: "Link"
|
12
|
-
readonly general: "General"
|
13
|
-
readonly success: "Success"
|
14
|
-
readonly warning: "Warning"
|
15
|
-
readonly danger: "Danger"
|
16
|
-
readonly info: "Info"
|
17
|
-
readonly white: "White"
|
10
|
+
readonly default: "Default";
|
11
|
+
readonly link: "Link";
|
12
|
+
readonly general: "General";
|
13
|
+
readonly success: "Success";
|
14
|
+
readonly warning: "Warning";
|
15
|
+
readonly danger: "Danger";
|
16
|
+
readonly info: "Info";
|
17
|
+
readonly white: "White";
|
18
18
|
};
|
19
19
|
export type ButtonTextProps = CommonProps & ClickableProps & LinkProps & WithIconProps & {
|
20
|
-
label?: string
|
21
|
-
size
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
20
|
+
label?: string;
|
21
|
+
// size
|
22
|
+
size?: keyof typeof BUTTON_TEXT_SIZE;
|
23
|
+
height?: Properties["height"];
|
24
|
+
paddingLeft?: Properties["paddingLeft"];
|
25
|
+
paddingRight?: Properties["paddingRight"];
|
26
|
+
fontSize?: Properties["fontSize"];
|
27
|
+
// theme
|
28
|
+
theme?: keyof typeof BUTTON_TEXT_THEME;
|
29
|
+
color?: Properties["color"];
|
30
|
+
backgroundColor?: Properties["backgroundColor"];
|
31
|
+
// others
|
32
|
+
fontWeight?: Properties["fontWeight"];
|
33
|
+
width?: Properties["width"];
|
34
|
+
round?: keyof typeof BUTTON_ROUND;
|
35
|
+
wrap?: "wrap" | "nowrap";
|
33
36
|
};
|
@@ -2,31 +2,31 @@ import type { BorderProps, ClickableProps, CommonProps, BackgroundColorProps, Co
|
|
2
2
|
import type { Properties } from "csstype";
|
3
3
|
import type { TEXT_THEME } from "../text/types.js";
|
4
4
|
export declare const CLOSE_BUTTON_PLACEMENT: {
|
5
|
-
readonly topRight: "topRight"
|
6
|
-
readonly topLeft: "topLeft"
|
7
|
-
readonly bottomRight: "bottomRight"
|
8
|
-
readonly bottomLeft: "bottomLeft"
|
5
|
+
readonly topRight: "topRight";
|
6
|
+
readonly topLeft: "topLeft";
|
7
|
+
readonly bottomRight: "bottomRight";
|
8
|
+
readonly bottomLeft: "bottomLeft";
|
9
9
|
};
|
10
10
|
export declare const CLOSE_BUTTON_ROUND: {
|
11
|
-
readonly default: "デフォルト"
|
12
|
-
readonly none: "なし"
|
13
|
-
readonly fulled: "円形"
|
11
|
+
readonly default: "デフォルト";
|
12
|
+
readonly none: "なし";
|
13
|
+
readonly fulled: "円形";
|
14
14
|
};
|
15
15
|
export declare const CLOSE_BUTTON_LABEL_PLACEMENT: {
|
16
|
-
readonly right: "right"
|
17
|
-
readonly left: "left"
|
16
|
+
readonly right: "right";
|
17
|
+
readonly left: "left";
|
18
18
|
};
|
19
19
|
export type CloseButtonProps = CommonProps & BackgroundColorProps & ClickableProps & ColorProps & PaddingProps & BorderProps & {
|
20
|
-
size?: number
|
21
|
-
placement?: keyof typeof CLOSE_BUTTON_PLACEMENT
|
22
|
-
round?: keyof typeof CLOSE_BUTTON_ROUND
|
23
|
-
bordered?: boolean
|
24
|
-
label?: string
|
25
|
-
labelColor?: Properties["color"]
|
26
|
-
labelColorVariant?: keyof typeof TEXT_THEME
|
27
|
-
labelPlacement?: keyof typeof CLOSE_BUTTON_LABEL_PLACEMENT
|
28
|
-
top?: Properties["top"]
|
29
|
-
right?: Properties["right"]
|
30
|
-
left?: Properties["left"]
|
31
|
-
bottom?: Properties["bottom"]
|
20
|
+
size?: number;
|
21
|
+
placement?: keyof typeof CLOSE_BUTTON_PLACEMENT;
|
22
|
+
round?: keyof typeof CLOSE_BUTTON_ROUND;
|
23
|
+
bordered?: boolean;
|
24
|
+
label?: string;
|
25
|
+
labelColor?: Properties["color"];
|
26
|
+
labelColorVariant?: keyof typeof TEXT_THEME;
|
27
|
+
labelPlacement?: keyof typeof CLOSE_BUTTON_LABEL_PLACEMENT;
|
28
|
+
top?: Properties["top"];
|
29
|
+
right?: Properties["right"];
|
30
|
+
left?: Properties["left"];
|
31
|
+
bottom?: Properties["bottom"];
|
32
32
|
};
|