@plaidev/karte-action-sdk 1.1.156 → 1.1.157-28011607.f788fa7c

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.
@@ -1,6 +1,12 @@
1
+ import { Writable } from "svelte/store";
1
2
  import { get as get_ } from "svelte/store";
2
3
  import { Writable as Writable_ } from "svelte/store";
3
4
  import { SvelteComponentDev } from "svelte/internal";
5
+ import { onMount as onMountSvelte } from "svelte";
6
+ import { onDestroy as onDestorySvelte } from "svelte";
7
+ import { beforeUpdate as beforeUpdateSvelte } from "svelte";
8
+ import { afterUpdate as afterUpdateSvelte } from "svelte";
9
+ import { tick as tickSvelte } from "svelte";
4
10
  /** @internal */
5
11
  declare const PropTypes: readonly [
6
12
  "BooleanKeyword",
@@ -676,6 +682,151 @@ interface FormData {
676
682
  * @internal
677
683
  */
678
684
  declare const formData: Writable_<FormData>;
685
+ type ActionTableResult = number | string | boolean | Date | null | undefined;
686
+ type ActionTableQueryParam = string | number | boolean | Date;
687
+ type ActionTableQueryParams = {
688
+ [key: string]: ActionTableQueryParam | ActionTableQueryParam[];
689
+ };
690
+ /**
691
+ * アクションテーブルの設定情報
692
+ *
693
+ * @public
694
+ */
695
+ type CollectionConfig = {
696
+ /**
697
+ * APIキー
698
+ */
699
+ api_key: string;
700
+ /**
701
+ * テーブル名
702
+ */
703
+ table: string;
704
+ /**
705
+ * エンドポイント
706
+ */
707
+ endpoint?: string;
708
+ };
709
+ /**
710
+ * アクションテーブルを管理するメソッドを取得する
711
+ *
712
+ * @param config - 設定情報
713
+ *
714
+ * @returns メソッドを返します
715
+ *
716
+ * @public
717
+ */
718
+ declare function collection(config: CollectionConfig): {
719
+ get(key: string | Array<string>, cb: (err: Error | null, items?: ActionTableResult | Array<ActionTableResult>) => void): void;
720
+ getByQuery(query_name: string, params: ActionTableQueryParams, options: {
721
+ ignore_fields?: string[];
722
+ } | null | undefined, cb: (err: Error | null, items?: Array<ActionTableResult>) => void): void;
723
+ set(key: string, value: string, cb: (err: Error | null) => void): void;
724
+ };
725
+ /** @internal */
726
+ type VariableQuery = {
727
+ resolver: string;
728
+ name: string;
729
+ query: any;
730
+ preview_value?: any;
731
+ };
732
+ /** @internal */
733
+ type ActionTableRowRequestConfig = VariableQuery & {
734
+ resolver: "action-table-row";
735
+ query: {
736
+ table_name: string;
737
+ key: string;
738
+ default_value?: ActionTableResult;
739
+ };
740
+ preview_value?: ActionTableResult;
741
+ };
742
+ /** @internal */
743
+ type ActionTableRowsRequestConfig = VariableQuery & {
744
+ resolver: "action-table-rows";
745
+ query: {
746
+ table_name: string;
747
+ key: Array<string>;
748
+ default_value?: Array<ActionTableResult>;
749
+ };
750
+ preview_value?: Array<ActionTableResult>;
751
+ };
752
+ /** @internal */
753
+ type ActionTableQueryRequestConfig = VariableQuery & {
754
+ resolver: "action-table-query";
755
+ query: {
756
+ table_name: string;
757
+ query_name: string;
758
+ params?: ActionTableQueryParams;
759
+ default_value?: Array<ActionTableResult>;
760
+ };
761
+ preview_value?: Array<ActionTableResult>;
762
+ };
763
+ /** @internal */
764
+ type ActionTableRequestConfig = ActionTableRowRequestConfig | ActionTableRowsRequestConfig | ActionTableQueryRequestConfig;
765
+ /** @internal */
766
+ declare const loadActionTableRow: (config: ActionTableRowRequestConfig, api_key: string, endpoint?: string) => Promise<unknown>;
767
+ /** @internal */
768
+ declare const loadActionTableRows: (config: ActionTableRowsRequestConfig, api_key: string, endpoint?: string) => Promise<unknown>;
769
+ /** @internal */
770
+ declare const loadActionTableQuery: (config: ActionTableQueryRequestConfig, api_key: string, endpoint?: string) => Promise<unknown>;
771
+ declare const loadActionTable: (config: Array<VariableQuery>, api_key: string, endpoint?: string) => Promise<{
772
+ [key: string]: any;
773
+ }>;
774
+ /**
775
+ * プロパティ
776
+ *
777
+ * @internal
778
+ */
779
+ interface Props {
780
+ /**
781
+ * 全ての条件を満たしたら表示するかどうか
782
+ */
783
+ show_and_condition?: boolean;
784
+ /**
785
+ * スクロール率による表示を有効化するかどうか
786
+ */
787
+ show_on_scroll?: boolean;
788
+ /**
789
+ * 表示するスクロール率
790
+ */
791
+ show_on_scroll_rate?: number;
792
+ /**
793
+ * 条件を満たした時に再表示するかどうか
794
+ */
795
+ show_on_scroll_reenter?: boolean;
796
+ /**
797
+ * 時間による表示を有効化するかどうか
798
+ */
799
+ show_on_time?: boolean;
800
+ /**
801
+ * 表示する秒数
802
+ */
803
+ show_on_time_count?: number;
804
+ /**
805
+ * 全ての条件を満たしたら非表示するかどうか
806
+ */
807
+ hide_and_condition?: boolean;
808
+ /**
809
+ * スクロール率で非表示を有効化するかどうか
810
+ */
811
+ hide_on_scroll?: boolean;
812
+ /**
813
+ * 非表示にするスクロール率
814
+ */
815
+ hide_on_scroll_rate?: number;
816
+ /**
817
+ * 条件を満たした時に表示するかどうか
818
+ */
819
+ hide_on_scroll_releave?: boolean;
820
+ /**
821
+ * 時間による非表示を有効化するかどうか
822
+ */
823
+ hide_on_time?: boolean;
824
+ /**
825
+ * 非表示にする秒数
826
+ */
827
+ hide_on_time_count?: number;
828
+ }
829
+ type _Props = Props;
679
830
  /**
680
831
  * 閉じるアクショントリガー
681
832
  *
@@ -738,6 +889,8 @@ declare function applyGlobalCss(css: string): Promise<any>;
738
889
  * @public
739
890
  */
740
891
  declare function loadGlobalStyle(href: string): Promise<any>;
892
+ // @internal
893
+ declare function getCssVariables<Props extends _Props, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
741
894
  /**
742
895
  * スクロール方向
743
896
  *
@@ -850,62 +1003,7 @@ declare const logger: {
850
1003
  * @internal
851
1004
  */
852
1005
  declare function listenLogger(): () => void;
853
- /**
854
- * プロパティ
855
- *
856
- * @internal
857
- */
858
- interface Props {
859
- /**
860
- * 全ての条件を満たしたら表示するかどうか
861
- */
862
- show_and_condition?: boolean;
863
- /**
864
- * スクロール率による表示を有効化するかどうか
865
- */
866
- show_on_scroll?: boolean;
867
- /**
868
- * 表示するスクロール率
869
- */
870
- show_on_scroll_rate?: number;
871
- /**
872
- * 条件を満たした時に再表示するかどうか
873
- */
874
- show_on_scroll_reenter?: boolean;
875
- /**
876
- * 時間による表示を有効化するかどうか
877
- */
878
- show_on_time?: boolean;
879
- /**
880
- * 表示する秒数
881
- */
882
- show_on_time_count?: number;
883
- /**
884
- * 全ての条件を満たしたら非表示するかどうか
885
- */
886
- hide_and_condition?: boolean;
887
- /**
888
- * スクロール率で非表示を有効化するかどうか
889
- */
890
- hide_on_scroll?: boolean;
891
- /**
892
- * 非表示にするスクロール率
893
- */
894
- hide_on_scroll_rate?: number;
895
- /**
896
- * 条件を満たした時に表示するかどうか
897
- */
898
- hide_on_scroll_releave?: boolean;
899
- /**
900
- * 時間による非表示を有効化するかどうか
901
- */
902
- hide_on_time?: boolean;
903
- /**
904
- * 非表示にする秒数
905
- */
906
- hide_on_time_count?: number;
907
- }
908
- type _Props = Props;
1006
+ type _Props$0 = Props;
909
1007
  /**
910
1008
  * スクロールに応じてアクションを非表示にするトリガー関数
911
1009
  *
@@ -922,7 +1020,7 @@ type _Props = Props;
922
1020
  *
923
1021
  * @internal
924
1022
  */
925
- declare function hideOnScroll<Props extends Pick<_Props, "hide_on_scroll" | "hide_on_scroll_rate" | "show_on_scroll_reenter">>(props: Props, hide?: Function, show?: Function): (() => void) | null;
1023
+ declare function hideOnScroll<Props extends Pick<_Props$0, "hide_on_scroll" | "hide_on_scroll_rate" | "show_on_scroll_reenter">>(props: Props, hide?: Function, show?: Function): (() => void) | null;
926
1024
  /**
927
1025
  * 時間に応じてアクションを非表示にするトリガー関数
928
1026
  *
@@ -937,7 +1035,7 @@ declare function hideOnScroll<Props extends Pick<_Props, "hide_on_scroll" | "hid
937
1035
  *
938
1036
  * @internal
939
1037
  */
940
- declare function hideOnTime<Props extends Pick<_Props, "hide_on_time" | "hide_on_time_count">>(props: Props, hide?: Function): (() => void) | null;
1038
+ declare function hideOnTime<Props extends Pick<_Props$0, "hide_on_time" | "hide_on_time_count">>(props: Props, hide?: Function): (() => void) | null;
941
1039
  /**
942
1040
  * スクロールに応じてアクションを表示するトリガー関数
943
1041
  *
@@ -954,7 +1052,7 @@ declare function hideOnTime<Props extends Pick<_Props, "hide_on_time" | "hide_on
954
1052
  *
955
1053
  * @internal
956
1054
  */
957
- declare function showOnScroll<Props extends Pick<_Props, "show_on_scroll" | "show_on_scroll_rate" | "hide_on_scroll_releave">>(props: Props, show?: Function, hide?: Function): (() => void) | null;
1055
+ declare function showOnScroll<Props extends Pick<_Props$0, "show_on_scroll" | "show_on_scroll_rate" | "hide_on_scroll_releave">>(props: Props, show?: Function, hide?: Function): (() => void) | null;
958
1056
  /**
959
1057
  * 時間に応じてアクションを表示するトリガー関数
960
1058
  *
@@ -969,97 +1067,8 @@ declare function showOnScroll<Props extends Pick<_Props, "show_on_scroll" | "sho
969
1067
  *
970
1068
  * @internal
971
1069
  */
972
- declare function showOnTime<Props extends Pick<_Props, "show_on_time" | "show_on_time_count">>(props: Props, show?: Function): (() => void) | null;
973
- type ActionTableResult = number | string | boolean | Date | null | undefined;
974
- type ActionTableQueryParam = string | number | boolean | Date;
975
- type ActionTableQueryParams = {
976
- [key: string]: ActionTableQueryParam | ActionTableQueryParam[];
977
- };
978
- /**
979
- * アクションテーブルの設定情報
980
- *
981
- * @public
982
- */
983
- type CollectionConfig = {
984
- /**
985
- * APIキー
986
- */
987
- api_key: string;
988
- /**
989
- * テーブル名
990
- */
991
- table: string;
992
- /**
993
- * エンドポイント
994
- */
995
- endpoint?: string;
996
- };
997
- /**
998
- * アクションテーブルを管理するメソッドを取得する
999
- *
1000
- * @param config - 設定情報
1001
- *
1002
- * @returns メソッドを返します
1003
- *
1004
- * @public
1005
- */
1006
- declare function collection(config: CollectionConfig): {
1007
- get(key: string | Array<string>, cb: (err: Error | null, items?: ActionTableResult | Array<ActionTableResult>) => void): void;
1008
- getByQuery(query_name: string, params: ActionTableQueryParams, options: {
1009
- ignore_fields?: string[];
1010
- } | null | undefined, cb: (err: Error | null, items?: Array<ActionTableResult>) => void): void;
1011
- set(key: string, value: string, cb: (err: Error | null) => void): void;
1012
- };
1013
- /** @internal */
1014
- type VariableQuery = {
1015
- resolver: string;
1016
- name: string;
1017
- query: any;
1018
- preview_value?: any;
1019
- };
1020
- /** @internal */
1021
- type ActionTableRowRequestConfig = VariableQuery & {
1022
- resolver: "action-table-row";
1023
- query: {
1024
- table_name: string;
1025
- key: string;
1026
- default_value?: ActionTableResult;
1027
- };
1028
- preview_value?: ActionTableResult;
1029
- };
1030
- /** @internal */
1031
- type ActionTableRowsRequestConfig = VariableQuery & {
1032
- resolver: "action-table-rows";
1033
- query: {
1034
- table_name: string;
1035
- key: Array<string>;
1036
- default_value?: Array<ActionTableResult>;
1037
- };
1038
- preview_value?: Array<ActionTableResult>;
1039
- };
1040
- /** @internal */
1041
- type ActionTableQueryRequestConfig = VariableQuery & {
1042
- resolver: "action-table-query";
1043
- query: {
1044
- table_name: string;
1045
- query_name: string;
1046
- params?: ActionTableQueryParams;
1047
- default_value?: Array<ActionTableResult>;
1048
- };
1049
- preview_value?: Array<ActionTableResult>;
1050
- };
1051
- /** @internal */
1052
- type ActionTableRequestConfig = ActionTableRowRequestConfig | ActionTableRowsRequestConfig | ActionTableQueryRequestConfig;
1053
- /** @internal */
1054
- declare const loadActionTableRow: (config: ActionTableRowRequestConfig, api_key: string, endpoint?: string) => Promise<unknown>;
1055
- /** @internal */
1056
- declare const loadActionTableRows: (config: ActionTableRowsRequestConfig, api_key: string, endpoint?: string) => Promise<unknown>;
1057
- /** @internal */
1058
- declare const loadActionTableQuery: (config: ActionTableQueryRequestConfig, api_key: string, endpoint?: string) => Promise<unknown>;
1059
- declare const loadActionTable: (config: Array<VariableQuery>, api_key: string, endpoint?: string) => Promise<{
1060
- [key: string]: any;
1061
- }>;
1062
- type _Props$0 = Props;
1070
+ declare function showOnTime<Props extends Pick<_Props$0, "show_on_time" | "show_on_time_count">>(props: Props, show?: Function): (() => void) | null;
1071
+ type _Props$1 = Props;
1063
1072
  /** @internal */
1064
1073
  declare const ACTION_HOOK_LABEL = "__ACTION_HOOK__";
1065
1074
  /** @internal */
@@ -1074,7 +1083,7 @@ type ActionHookLog = {
1074
1083
  *
1075
1084
  * @public
1076
1085
  */
1077
- type ActionHook<Props extends _Props$0, Variables> = (props: ActionProps<Props, Variables & ActionVariables>) => void | Promise<void>;
1086
+ type ActionHook<Props extends _Props$1, Variables> = (props: ActionProps<Props, Variables & ActionVariables>) => void | Promise<void>;
1078
1087
  /**
1079
1088
  * アクションが作成 (create) される前にフックする関数
1080
1089
  *
@@ -1082,7 +1091,7 @@ type ActionHook<Props extends _Props$0, Variables> = (props: ActionProps<Props,
1082
1091
  *
1083
1092
  * @public
1084
1093
  */
1085
- declare function onCreate<Props extends _Props$0, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
1094
+ declare function onCreate<Props extends _Props$1, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
1086
1095
  /**
1087
1096
  * アクションが表示 (show) された後にフックする関数
1088
1097
  *
@@ -1090,7 +1099,7 @@ declare function onCreate<Props extends _Props$0, Variables>(fn: ActionHook<Prop
1090
1099
  *
1091
1100
  * @public
1092
1101
  */
1093
- declare function onShow<Props extends _Props$0, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
1102
+ declare function onShow<Props extends _Props$1, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
1094
1103
  /**
1095
1104
  * アクションのライフサイクル close で呼び出されるフックする関数
1096
1105
  *
@@ -1099,7 +1108,7 @@ declare function onShow<Props extends _Props$0, Variables>(fn: ActionHook<Props,
1099
1108
  *
1100
1109
  * @public
1101
1110
  */
1102
- type ActionCloseHook<Props extends _Props$0, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], trigger: CloseTrigger) => void | Promise<void>;
1111
+ type ActionCloseHook<Props extends _Props$1, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], trigger: CloseTrigger) => void | Promise<void>;
1103
1112
  /**
1104
1113
  * アクションがクローズ (close) される前にフックする関数
1105
1114
  *
@@ -1107,7 +1116,7 @@ type ActionCloseHook<Props extends _Props$0, Variables> = (props: Parameters<Act
1107
1116
  *
1108
1117
  * @public
1109
1118
  */
1110
- declare function onClose<Props extends _Props$0, Variables>(fn: ActionCloseHook<Props, Variables & ActionVariables>): void;
1119
+ declare function onClose<Props extends _Props$1, Variables>(fn: ActionCloseHook<Props, Variables & ActionVariables>): void;
1111
1120
  /**
1112
1121
  * アクションが破棄 (destroy) される前にフックする関数
1113
1122
  *
@@ -1115,7 +1124,7 @@ declare function onClose<Props extends _Props$0, Variables>(fn: ActionCloseHook<
1115
1124
  *
1116
1125
  * @public
1117
1126
  */
1118
- declare function onDestroy<Props extends _Props$0, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
1127
+ declare function onDestroy<Props extends _Props$1, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
1119
1128
  /**
1120
1129
  * アクションのライフサイクル changeState で呼び出されるフック関数
1121
1130
  *
@@ -1124,7 +1133,7 @@ declare function onDestroy<Props extends _Props$0, Variables>(fn: ActionHook<Pro
1124
1133
  *
1125
1134
  * @public
1126
1135
  */
1127
- type ActionChangeStateHook<Props extends _Props$0, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], newState: string) => void | Promise<void>;
1136
+ type ActionChangeStateHook<Props extends _Props$1, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], newState: string) => void | Promise<void>;
1128
1137
  /**
1129
1138
  * アクションのステートが変更された (changeState) 後にフックする関数
1130
1139
  *
@@ -1132,7 +1141,7 @@ type ActionChangeStateHook<Props extends _Props$0, Variables> = (props: Paramete
1132
1141
  *
1133
1142
  * @public
1134
1143
  */
1135
- declare function onChangeState<Props extends _Props$0, Variables>(fn: ActionChangeStateHook<Props, Variables & ActionVariables>): void;
1144
+ declare function onChangeState<Props extends _Props$1, Variables>(fn: ActionChangeStateHook<Props, Variables & ActionVariables>): void;
1136
1145
  /**
1137
1146
  * アクションの send 関数
1138
1147
  *
@@ -1225,7 +1234,7 @@ interface ActionOptions<Props, Variables, VariablesQuery> {
1225
1234
  *
1226
1235
  * @public
1227
1236
  */
1228
- declare function create<Props extends _Props$0, Variables, VariablesQuery extends Array<VariableQuery>>(App: typeof SvelteComponentDev, options?: ActionOptions<Props, Variables & ActionVariables, VariablesQuery>): () => void;
1237
+ declare function create<Props extends _Props$1, Variables, VariablesQuery extends Array<VariableQuery>>(App: typeof SvelteComponentDev, options?: ActionOptions<Props, Variables & ActionVariables, VariablesQuery>): () => void;
1229
1238
  /**
1230
1239
  * アクションの破棄する
1231
1240
  *
@@ -2134,240 +2143,104 @@ declare namespace widget {
2134
2143
  * @internal
2135
2144
  */
2136
2145
  const eventHandlers: Store<{
2137
- [key: string]: ActionEventHandler;
2138
- }>;
2139
- /**
2140
- * イベントハンドラーの一覧を取得する
2141
- *
2142
- * @returns 現在のイベントハンドラー
2143
- *
2144
- * @public
2145
- */
2146
- function getEventHandlers(): {
2147
- [key: string]: ActionEventHandler;
2148
- };
2149
- /**
2150
- * イベントハンドラーを登録する
2151
- *
2152
- * @remarks
2153
- * 登録したイベントハンドラーは、ビジュアルエディタでアクション本体とのテキストボタンのクリック時の動作で利用できます。
2154
- *
2155
- * @param handlers - 登録するイベントハンドラー
2156
- *
2157
- * @public
2158
- */
2159
- function setEventHandlers(handlers: {
2160
- [key: string]: ActionEventHandler;
2161
- }): {
2162
- [key: string]: ActionEventHandler;
2163
- };
2164
- /**
2165
- * イベントハンドラーをリセットする
2166
- *
2167
- */
2168
- function resetEventHandlers(): void;
2169
- /**
2170
- * Store to handle destruction of action
2171
- *
2172
- * @internal
2173
- */
2174
- const destroyed: Store<boolean>;
2175
- /**
2176
- * {@link isDestroyed} function to check if action is destroyed.
2177
- *
2178
- * @returns Flag if action is destoryed / true: Destroyed, false: Not Destroyed
2179
- *
2180
- * @internal
2181
- */
2182
- function isDestroyed(): boolean;
2183
- /**
2184
- * {@link setDestroyed} function to set if action is destroyed.
2185
- *
2186
- * @internal
2187
- */
2188
- function setDestroyed(on: boolean): void;
2189
- /**
2190
- * Store to handle variables
2191
- *
2192
- * @internal
2193
- */
2194
- const variables: Store<{
2195
- [key: string]: any;
2196
- }>;
2197
- /**
2198
- * 変数の一覧を取得する
2199
- *
2200
- * @returns 現在の変数の一覧
2201
- *
2202
- * @internal
2203
- */
2204
- function getVariables(): ActionVariables;
2205
- /**
2206
- * 変数を設定する
2207
- *
2208
- * @remarks
2209
- * 設定した変数は、ビジュアルエディタのテキストフォームなどで利用できます。
2210
- *
2211
- * @param vars - 変数
2212
- *
2213
- * @internal
2214
- */
2215
- function setVariables(vars: ActionVariables): ActionVariables;
2216
- /**
2217
- * 変数をリセットする
2218
- *
2219
- */
2220
- function resetVariables(): void;
2221
- /** @internal */
2222
- interface FormData {
2223
- [name: string]: {
2224
- statePath: string;
2225
- value: any;
2226
- isValid: boolean;
2227
- };
2228
- }
2229
- /**
2230
- * Store for form data
2231
- *
2232
- * @internal
2233
- */
2234
- const formData: Writable_<FormData>;
2235
- /**
2236
- * 表示アクショントリガー
2237
- *
2238
- * @internal
2239
- */
2240
- type ShowTrigger = "custom" | "auto" | "none";
2241
- /**
2242
- * 閉じるアクショントリガー
2243
- *
2244
- * @public
2245
- */
2246
- type CloseTrigger = "button" | "overlay" | "auto" | "none";
2247
- /** @internal */
2248
- const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
2249
- /** @internal */
2250
- const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
2251
- // prettier-ignore
2252
- /** @internal */
2253
- const actionId: string;
2254
- /** @internal */
2255
- const ACTION_SHOW_EVENT: string;
2256
- /** @internal */
2257
- const ACTION_CLOSE_EVENT: string;
2258
- /** @internal */
2259
- const ACTION_DESTROY_EVENT: string;
2260
- /** @internal */
2261
- const ACTION_CHANGE_STATE_EVENT: string;
2262
- /** @internal */
2263
- const handleState: (event: any) => void;
2264
- /** @internal */
2265
- const initialize: (setting?: ActionSetting) => () => void;
2266
- /** @internal */
2267
- const finalize: () => void;
2268
- /** @internal */
2269
- const send_event: (event_name: string, values?: any) => void;
2270
- /** @internal */
2271
- const none: () => () => void; // eslint-disable-next @typescript-eslint/no-empty-function
2272
- /** @internal */
2273
- const moveTo: (to: string) => () => void;
2274
- /** @internal */
2275
- const linkTo: (to: string, targetBlank?: boolean) => () => void;
2276
- /** @internal */
2277
- const closeApp: (trigger: CloseTrigger) => () => void;
2278
- /** @internal */
2279
- const runScript: (handlerName: string) => () => void;
2280
- /** @internal */
2281
- const submitForm: (to: string) => () => void;
2282
- /** @internal */
2283
- const execOnClickOperation: (onClickOperation: OnClickOperation) => void;
2284
- /** @internal */
2285
- const haveFunction: (onClickOperation: OnClickOperation) => boolean;
2286
- /**
2287
- * An option for svelte custom animation
2288
- */
2289
- interface CustomAnimationOptions {
2290
- /**
2291
- * A Transform value in percent of target element
2292
- */
2293
- transform: [
2294
- number,
2295
- number
2296
- ];
2297
- /**
2298
- * A style of animation(e.g. fade, slide-in)
2299
- */
2300
- animationStyle: AnimationStyle;
2301
- /**
2302
- * A waiting time in milliseconds before starting animation
2303
- *
2304
- * @defaultValue 0
2305
- */
2306
- delay?: number;
2307
- /**
2308
- * A total duration time in milliseconds of the animation
2309
- *
2310
- * @defaultValue 1000
2311
- */
2312
- duration?: number;
2313
- }
2146
+ [key: string]: ActionEventHandler;
2147
+ }>;
2314
2148
  /**
2315
- * The function to activate svelte animation.
2316
- *
2317
- * @param node - A target node of animation. This argument is passed by svelte, by default.
2318
- * @param customAnimationOptions - A custom animation option object
2149
+ * イベントハンドラーの一覧を取得する
2319
2150
  *
2320
- * @see {@link https://svelte.dev/docs#template-syntax-element-directives-transition-fn-custom-transition-functions| Custom transition functions} for detail documentation
2151
+ * @returns 現在のイベントハンドラー
2321
2152
  *
2322
- * @internal
2153
+ * @public
2323
2154
  */
2324
- function customAnimation(node: Element, { transform, animationStyle, delay, duration }: CustomAnimationOptions): {
2325
- delay?: undefined;
2326
- duration?: undefined;
2327
- easing?: undefined;
2328
- css?: undefined;
2329
- } | {
2330
- delay: number;
2331
- duration: number;
2332
- easing: (t: any) => any;
2333
- css: (progress: number) => string;
2155
+ function getEventHandlers(): {
2156
+ [key: string]: ActionEventHandler;
2334
2157
  };
2335
2158
  /**
2336
- * ES Modules に対応していない JavaScript をページに読み込む
2159
+ * イベントハンドラーを登録する
2337
2160
  *
2338
- * @param src - JavaScript ファイルのリンク URL
2161
+ * @remarks
2162
+ * 登録したイベントハンドラーは、ビジュアルエディタでアクション本体とのテキストボタンのクリック時の動作で利用できます。
2163
+ *
2164
+ * @param handlers - 登録するイベントハンドラー
2339
2165
  *
2340
2166
  * @public
2341
2167
  */
2342
- function loadGlobalScript(src: string): Promise<any>;
2168
+ function setEventHandlers(handlers: {
2169
+ [key: string]: ActionEventHandler;
2170
+ }): {
2171
+ [key: string]: ActionEventHandler;
2172
+ };
2343
2173
  /**
2344
- * グローバル CSS をページに適用する
2174
+ * イベントハンドラーをリセットする
2345
2175
  *
2346
- * @param css - CSS
2176
+ */
2177
+ function resetEventHandlers(): void;
2178
+ /**
2179
+ * Store to handle destruction of action
2347
2180
  *
2348
- * @public
2181
+ * @internal
2349
2182
  */
2350
- function applyGlobalCss(css: string): Promise<any>;
2183
+ const destroyed: Store<boolean>;
2351
2184
  /**
2352
- * style ファイルをページに読み込む
2185
+ * {@link isDestroyed} function to check if action is destroyed.
2353
2186
  *
2354
- * @param href - style ファイルのリンク URL
2187
+ * @returns Flag if action is destoryed / true: Destroyed, false: Not Destroyed
2355
2188
  *
2356
- * @public
2189
+ * @internal
2357
2190
  */
2358
- function loadGlobalStyle(href: string): Promise<any>;
2191
+ function isDestroyed(): boolean;
2359
2192
  /**
2360
- * {@link hashCode} generate hash with FNV-1a hash
2193
+ * {@link setDestroyed} function to set if action is destroyed.
2361
2194
  *
2362
- * @param s - Inputed string
2195
+ * @internal
2196
+ */
2197
+ function setDestroyed(on: boolean): void;
2198
+ /**
2199
+ * Store to handle variables
2363
2200
  *
2364
- * @returns Hashed string
2201
+ * @internal
2202
+ */
2203
+ const variables: Store<{
2204
+ [key: string]: any;
2205
+ }>;
2206
+ /**
2207
+ * 変数の一覧を取得する
2365
2208
  *
2366
- * @see https://stackoverflow.com/a/22429679
2209
+ * @returns 現在の変数の一覧
2367
2210
  *
2368
2211
  * @internal
2369
2212
  */
2370
- function hashCode(s: string): string;
2213
+ function getVariables(): ActionVariables;
2214
+ /**
2215
+ * 変数を設定する
2216
+ *
2217
+ * @remarks
2218
+ * 設定した変数は、ビジュアルエディタのテキストフォームなどで利用できます。
2219
+ *
2220
+ * @param vars - 変数
2221
+ *
2222
+ * @internal
2223
+ */
2224
+ function setVariables(vars: ActionVariables): ActionVariables;
2225
+ /**
2226
+ * 変数をリセットする
2227
+ *
2228
+ */
2229
+ function resetVariables(): void;
2230
+ /** @internal */
2231
+ interface FormData {
2232
+ [name: string]: {
2233
+ statePath: string;
2234
+ value: any;
2235
+ isValid: boolean;
2236
+ };
2237
+ }
2238
+ /**
2239
+ * Store for form data
2240
+ *
2241
+ * @internal
2242
+ */
2243
+ const formData: Writable_<FormData>;
2371
2244
  type ActionTableResult = number | string | boolean | Date | null | undefined;
2372
2245
  type ActionTableQueryParam = string | number | boolean | Date;
2373
2246
  type ActionTableQueryParams = {
@@ -2513,6 +2386,145 @@ declare namespace widget {
2513
2386
  hide_on_time_count?: number;
2514
2387
  }
2515
2388
  type _Props = Props;
2389
+ /**
2390
+ * 表示アクショントリガー
2391
+ *
2392
+ * @internal
2393
+ */
2394
+ type ShowTrigger = "custom" | "auto" | "none";
2395
+ /**
2396
+ * 閉じるアクショントリガー
2397
+ *
2398
+ * @public
2399
+ */
2400
+ type CloseTrigger = "button" | "overlay" | "auto" | "none";
2401
+ /** @internal */
2402
+ const ALL_ACTION_ID = "KARTE_ALL_ACTION_ID";
2403
+ /** @internal */
2404
+ const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
2405
+ // prettier-ignore
2406
+ /** @internal */
2407
+ const actionId: string;
2408
+ /** @internal */
2409
+ const ACTION_SHOW_EVENT: string;
2410
+ /** @internal */
2411
+ const ACTION_CLOSE_EVENT: string;
2412
+ /** @internal */
2413
+ const ACTION_DESTROY_EVENT: string;
2414
+ /** @internal */
2415
+ const ACTION_CHANGE_STATE_EVENT: string;
2416
+ /** @internal */
2417
+ const handleState: (event: any) => void;
2418
+ /** @internal */
2419
+ const initialize: (setting?: ActionSetting) => () => void;
2420
+ /** @internal */
2421
+ const finalize: () => void;
2422
+ /** @internal */
2423
+ const send_event: (event_name: string, values?: any) => void;
2424
+ /** @internal */
2425
+ const none: () => () => void; // eslint-disable-next @typescript-eslint/no-empty-function
2426
+ /** @internal */
2427
+ const moveTo: (to: string) => () => void;
2428
+ /** @internal */
2429
+ const linkTo: (to: string, targetBlank?: boolean) => () => void;
2430
+ /** @internal */
2431
+ const closeApp: (trigger: CloseTrigger) => () => void;
2432
+ /** @internal */
2433
+ const runScript: (handlerName: string) => () => void;
2434
+ /** @internal */
2435
+ const submitForm: (to: string) => () => void;
2436
+ /** @internal */
2437
+ const execOnClickOperation: (onClickOperation: OnClickOperation) => void;
2438
+ /** @internal */
2439
+ const haveFunction: (onClickOperation: OnClickOperation) => boolean;
2440
+ /**
2441
+ * An option for svelte custom animation
2442
+ */
2443
+ interface CustomAnimationOptions {
2444
+ /**
2445
+ * A Transform value in percent of target element
2446
+ */
2447
+ transform: [
2448
+ number,
2449
+ number
2450
+ ];
2451
+ /**
2452
+ * A style of animation(e.g. fade, slide-in)
2453
+ */
2454
+ animationStyle: AnimationStyle;
2455
+ /**
2456
+ * A waiting time in milliseconds before starting animation
2457
+ *
2458
+ * @defaultValue 0
2459
+ */
2460
+ delay?: number;
2461
+ /**
2462
+ * A total duration time in milliseconds of the animation
2463
+ *
2464
+ * @defaultValue 1000
2465
+ */
2466
+ duration?: number;
2467
+ }
2468
+ /**
2469
+ * The function to activate svelte animation.
2470
+ *
2471
+ * @param node - A target node of animation. This argument is passed by svelte, by default.
2472
+ * @param customAnimationOptions - A custom animation option object
2473
+ *
2474
+ * @see {@link https://svelte.dev/docs#template-syntax-element-directives-transition-fn-custom-transition-functions| Custom transition functions} for detail documentation
2475
+ *
2476
+ * @internal
2477
+ */
2478
+ function customAnimation(node: Element, { transform, animationStyle, delay, duration }: CustomAnimationOptions): {
2479
+ delay?: undefined;
2480
+ duration?: undefined;
2481
+ easing?: undefined;
2482
+ css?: undefined;
2483
+ } | {
2484
+ delay: number;
2485
+ duration: number;
2486
+ easing: (t: any) => any;
2487
+ css: (progress: number) => string;
2488
+ };
2489
+ /**
2490
+ * ES Modules に対応していない JavaScript をページに読み込む
2491
+ *
2492
+ * @param src - JavaScript ファイルのリンク URL
2493
+ *
2494
+ * @public
2495
+ */
2496
+ function loadGlobalScript(src: string): Promise<any>;
2497
+ /**
2498
+ * グローバル CSS をページに適用する
2499
+ *
2500
+ * @param css - CSS
2501
+ *
2502
+ * @public
2503
+ */
2504
+ function applyGlobalCss(css: string): Promise<any>;
2505
+ /**
2506
+ * style ファイルをページに読み込む
2507
+ *
2508
+ * @param href - style ファイルのリンク URL
2509
+ *
2510
+ * @public
2511
+ */
2512
+ function loadGlobalStyle(href: string): Promise<any>;
2513
+ /**
2514
+ * {@link hashCode} generate hash with FNV-1a hash
2515
+ *
2516
+ * @param s - Inputed string
2517
+ *
2518
+ * @returns Hashed string
2519
+ *
2520
+ * @see https://stackoverflow.com/a/22429679
2521
+ *
2522
+ * @internal
2523
+ */
2524
+ function hashCode(s: string): string;
2525
+ // @internal
2526
+ function getCssVariables<Props extends _Props, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
2527
+ type _Props$0 = Props;
2516
2528
  /** @internal */
2517
2529
  const ACTION_HOOK_LABEL = "__ACTION_HOOK__";
2518
2530
  /** @internal */
@@ -2527,7 +2539,7 @@ declare namespace widget {
2527
2539
  *
2528
2540
  * @public
2529
2541
  */
2530
- type ActionHook<Props extends _Props, Variables> = (props: ActionProps<Props, Variables & ActionVariables>) => void | Promise<void>;
2542
+ type ActionHook<Props extends _Props$0, Variables> = (props: ActionProps<Props, Variables & ActionVariables>) => void | Promise<void>;
2531
2543
  /**
2532
2544
  * アクションが作成 (create) される前にフックする関数
2533
2545
  *
@@ -2535,7 +2547,7 @@ declare namespace widget {
2535
2547
  *
2536
2548
  * @public
2537
2549
  */
2538
- function onCreate<Props extends _Props, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
2550
+ function onCreate<Props extends _Props$0, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
2539
2551
  /**
2540
2552
  * アクションが表示 (show) された後にフックする関数
2541
2553
  *
@@ -2543,7 +2555,7 @@ declare namespace widget {
2543
2555
  *
2544
2556
  * @public
2545
2557
  */
2546
- function onShow<Props extends _Props, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
2558
+ function onShow<Props extends _Props$0, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
2547
2559
  /**
2548
2560
  * アクションのライフサイクル close で呼び出されるフックする関数
2549
2561
  *
@@ -2552,7 +2564,7 @@ declare namespace widget {
2552
2564
  *
2553
2565
  * @public
2554
2566
  */
2555
- type ActionCloseHook<Props extends _Props, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], trigger: CloseTrigger) => void | Promise<void>;
2567
+ type ActionCloseHook<Props extends _Props$0, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], trigger: CloseTrigger) => void | Promise<void>;
2556
2568
  /**
2557
2569
  * アクションがクローズ (close) される前にフックする関数
2558
2570
  *
@@ -2560,7 +2572,7 @@ declare namespace widget {
2560
2572
  *
2561
2573
  * @public
2562
2574
  */
2563
- function onClose<Props extends _Props, Variables>(fn: ActionCloseHook<Props, Variables & ActionVariables>): void;
2575
+ function onClose<Props extends _Props$0, Variables>(fn: ActionCloseHook<Props, Variables & ActionVariables>): void;
2564
2576
  /**
2565
2577
  * アクションが破棄 (destroy) される前にフックする関数
2566
2578
  *
@@ -2568,7 +2580,7 @@ declare namespace widget {
2568
2580
  *
2569
2581
  * @public
2570
2582
  */
2571
- function onDestroy<Props extends _Props, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
2583
+ function onDestroy<Props extends _Props$0, Variables>(fn: ActionHook<Props, Variables & ActionVariables>): void;
2572
2584
  /**
2573
2585
  * アクションのライフサイクル changeState で呼び出されるフック関数
2574
2586
  *
@@ -2577,7 +2589,7 @@ declare namespace widget {
2577
2589
  *
2578
2590
  * @public
2579
2591
  */
2580
- type ActionChangeStateHook<Props extends _Props, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], newState: string) => void | Promise<void>;
2592
+ type ActionChangeStateHook<Props extends _Props$0, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], newState: string) => void | Promise<void>;
2581
2593
  /**
2582
2594
  * アクションのステートが変更された (changeState) 後にフックする関数
2583
2595
  *
@@ -2585,7 +2597,7 @@ declare namespace widget {
2585
2597
  *
2586
2598
  * @public
2587
2599
  */
2588
- function onChangeState<Props extends _Props, Variables>(fn: ActionChangeStateHook<Props, Variables & ActionVariables>): void;
2600
+ function onChangeState<Props extends _Props$0, Variables>(fn: ActionChangeStateHook<Props, Variables & ActionVariables>): void;
2589
2601
  /**
2590
2602
  * アクションの send 関数
2591
2603
  *
@@ -2678,7 +2690,7 @@ declare namespace widget {
2678
2690
  *
2679
2691
  * @public
2680
2692
  */
2681
- function create<Props extends _Props, Variables, VariablesQuery extends Array<VariableQuery>>(App: typeof SvelteComponentDev, options?: ActionOptions<Props, Variables & ActionVariables, VariablesQuery>): () => void;
2693
+ function create<Props extends _Props$0, Variables, VariablesQuery extends Array<VariableQuery>>(App: typeof SvelteComponentDev, options?: ActionOptions<Props, Variables & ActionVariables, VariablesQuery>): () => void;
2682
2694
  /**
2683
2695
  * Dispatch the event to destroy KARTE action
2684
2696
  *
@@ -3005,9 +3017,40 @@ declare namespace widget {
3005
3017
  */
3006
3018
  export { showAction as show, closeAction as hide };
3007
3019
  }
3008
- export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, onScroll, onTime, getLogs, getEvents, logger, listenLogger, 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, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, Fonts, Justifies, Justify, Alignments, Alignment, FlexDirections, FlexDirection, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, BoxShadow, Style, TransitState, WritingModes, WritingMode, DateTime, Icon, ListSeparatorTypes, EdgePosition, DefaultEdgePosition, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, ListDirection, ListContext, SlideButtonIcon, SlideButtonText, SlideButton, DefaultSlideButton, SlideButtonPosition, SlideNavigationButton, DefaultSlideNavigationButton, FormInputName, FormButtonColor, DefaultFormButtonColor, create, showAction, closeAction, destroyAction, loadStyle, applyCss, getActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, ACTION_HOOK_LABEL, showModal, ensureModalRoot, show, close, destroy, createApp, createFog, KARTE_MODAL_ROOT, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget };
3020
+ /**
3021
+ * エレメントをマウントしたときに実行される関数の登録
3022
+ *
3023
+ * @param fn - マウントしたときに実行される関数
3024
+ */
3025
+ declare const onMount: typeof onMountSvelte;
3026
+ /**
3027
+ * エレメントを破棄したときに実行される関数の登録
3028
+ *
3029
+ * @param fn - マウントしたときに実行される関数
3030
+ */
3031
+ declare const onDestory: typeof onDestorySvelte;
3032
+ /**
3033
+ * エレメントを更新する前に実行される関数の登録
3034
+ *
3035
+ * @param fn - マウントしたときに実行される関数
3036
+ */
3037
+ declare const beforeUpdate: typeof beforeUpdateSvelte;
3038
+ /**
3039
+ * エレメントを更新した後に実行される関数の登録
3040
+ *
3041
+ * @param fn - マウントしたときに実行される関数
3042
+ */
3043
+ declare const afterUpdate: typeof afterUpdateSvelte;
3044
+ /**
3045
+ * エレメントのライフサイクルを進める
3046
+ *
3047
+ * @returns Promise<void>
3048
+ */
3049
+ declare const tick: typeof tickSvelte;
3050
+ // @internal
3051
+ declare const LAYOUT_COMPONENT_NAMES: string[];
3052
+ export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, getCssVariables, initialize, finalize, getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, onScroll, onTime, getLogs, getEvents, logger, listenLogger, 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, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, Fonts, Justifies, Justify, Alignments, Alignment, FlexDirections, FlexDirection, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, BoxShadow, Style, TransitState, WritingModes, WritingMode, DateTime, Icon, ListSeparatorTypes, EdgePosition, DefaultEdgePosition, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, ListDirection, ListContext, SlideButtonIcon, SlideButtonText, SlideButton, DefaultSlideButton, SlideButtonPosition, SlideNavigationButton, DefaultSlideNavigationButton, FormInputName, FormButtonColor, DefaultFormButtonColor, create, showAction, closeAction, destroyAction, loadStyle, applyCss, getActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, ACTION_HOOK_LABEL, showModal, ensureModalRoot, show, close, destroy, createApp, createFog, KARTE_MODAL_ROOT, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES };
3009
3053
  export type { CloseTrigger, ActionVariables, ActionEventHandler, SystemConfig, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionProps, ActionOptions, ActionHook, ActionCloseHook, ActionChangeStateHook, SendFunction, ActionHookLog, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
3010
- export { onMount } from "svelte";
3011
3054
  export { default as State } from './components/State.svelte';
3012
3055
  export { default as StateItem } from './components/StateItem.svelte';
3013
3056
  export { default as Modal } from './components/Modal.svelte';
@@ -3032,6 +3075,7 @@ export { default as SlideItem } from './components/SlideItem.svelte';
3032
3075
  export { default as Countdown } from './components/Countdown.svelte';
3033
3076
  export { default as Box } from './components/Box.svelte';
3034
3077
  export { default as IconElement } from './components/IconElement.svelte';
3078
+ export { default as CustomElement } from './components/CustomElement.svelte';
3035
3079
  export { default as Flex } from './components/Flex.svelte';
3036
3080
  export { default as FlexItem } from './components/FlexItem.svelte';
3037
3081
  export { default as GridModalState } from './components/GridModalState.svelte';