@plaidev/karte-action-sdk 1.1.129 → 1.1.130-27958202.2eba0943
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.d.ts +331 -109
- package/dist/hydrate/index.es.js +193 -65
- package/dist/index.es.d.ts +331 -109
- package/dist/index.es.js +193 -65
- package/dist/templates.cjs.js +6 -13
- package/dist/templates.js +6 -13
- package/package.json +1 -1
@@ -503,11 +503,11 @@ type ActionSetting = {
|
|
503
503
|
autoStart?: boolean;
|
504
504
|
};
|
505
505
|
/**
|
506
|
-
*
|
506
|
+
* 変数
|
507
507
|
*
|
508
508
|
* @public
|
509
509
|
*/
|
510
|
-
type
|
510
|
+
type ActionVariables = {
|
511
511
|
[key: string]: any;
|
512
512
|
};
|
513
513
|
/**
|
@@ -522,7 +522,7 @@ type CustomVariables = {
|
|
522
522
|
*
|
523
523
|
* @public
|
524
524
|
*/
|
525
|
-
declare function
|
525
|
+
declare function setSetting(setting: ActionSetting): ActionSetting;
|
526
526
|
/**
|
527
527
|
* KARTE の設定を取得する
|
528
528
|
*
|
@@ -618,48 +618,48 @@ declare function isClosed(): boolean;
|
|
618
618
|
*/
|
619
619
|
declare function setClosed(on: boolean): void;
|
620
620
|
/**
|
621
|
-
* Store to handle
|
621
|
+
* Store to handle event handlers
|
622
622
|
*
|
623
623
|
* This is used internally.
|
624
624
|
*
|
625
625
|
* @internal
|
626
626
|
*/
|
627
|
-
declare const
|
627
|
+
declare const eventHandlers: Store<{
|
628
628
|
[key: string]: ActionEventHandler;
|
629
629
|
}>;
|
630
630
|
/**
|
631
|
-
*
|
631
|
+
* イベントハンドラーの一覧を取得する
|
632
632
|
*
|
633
|
-
* @returns
|
633
|
+
* @returns 現在のイベントハンドラー
|
634
634
|
*
|
635
635
|
* @public
|
636
636
|
*/
|
637
|
-
declare function
|
637
|
+
declare function getEventHandlers(): {
|
638
638
|
[key: string]: ActionEventHandler;
|
639
639
|
};
|
640
640
|
/**
|
641
|
-
*
|
641
|
+
* イベントハンドラーを登録する
|
642
642
|
*
|
643
643
|
* @remarks
|
644
|
-
*
|
644
|
+
* 登録したイベントハンドラーは、ビジュアルエディタでアクション本体とのテキストボタンのクリック時の動作で利用できます。
|
645
645
|
*
|
646
|
-
* @param handlers -
|
646
|
+
* @param handlers - 登録するイベントハンドラー
|
647
647
|
*
|
648
648
|
* @public
|
649
649
|
*/
|
650
|
-
declare function
|
650
|
+
declare function setEventHandlers(handlers: {
|
651
651
|
[key: string]: ActionEventHandler;
|
652
652
|
}): void;
|
653
653
|
/**
|
654
|
-
*
|
654
|
+
* イベントハンドラーを更新する
|
655
655
|
*
|
656
|
-
* @param handlers -
|
656
|
+
* @param handlers - 対象となるイベントハンドラー
|
657
657
|
*
|
658
|
-
* @returns
|
658
|
+
* @returns 新しいイベントハンドラーを返します。
|
659
659
|
*
|
660
660
|
* @public
|
661
661
|
*/
|
662
|
-
declare function
|
662
|
+
declare function updateEventHandlers(handlers: {
|
663
663
|
[key: string]: ActionEventHandler;
|
664
664
|
}): {
|
665
665
|
[key: string]: ActionEventHandler;
|
@@ -677,42 +677,42 @@ declare const destroyed: Store<boolean>;
|
|
677
677
|
*/
|
678
678
|
declare const stopped: Store<boolean>;
|
679
679
|
/**
|
680
|
-
* Store to handle
|
680
|
+
* Store to handle variables
|
681
681
|
*
|
682
682
|
* @internal
|
683
683
|
*/
|
684
|
-
declare const
|
684
|
+
declare const variables: Store<{
|
685
685
|
[key: string]: any;
|
686
686
|
}>;
|
687
687
|
/**
|
688
|
-
*
|
688
|
+
* 変数の一覧を取得する
|
689
689
|
*
|
690
|
-
* @returns
|
690
|
+
* @returns 現在の変数の一覧
|
691
691
|
*
|
692
|
-
* @
|
692
|
+
* @internal
|
693
693
|
*/
|
694
|
-
declare function
|
694
|
+
declare function getVariables(): ActionVariables;
|
695
695
|
/**
|
696
|
-
*
|
696
|
+
* 変数を設定する
|
697
697
|
*
|
698
698
|
* @remarks
|
699
699
|
* 設定した変数は、ビジュアルエディタのテキストフォームなどで利用できます。
|
700
700
|
*
|
701
|
-
* @param
|
701
|
+
* @param vars - 変数
|
702
702
|
*
|
703
|
-
* @
|
703
|
+
* @internal
|
704
704
|
*/
|
705
|
-
declare function
|
705
|
+
declare function setVariables(vars: ActionVariables): void;
|
706
706
|
/**
|
707
|
-
*
|
707
|
+
* 変数を更新する
|
708
708
|
*
|
709
|
-
* @param variables -
|
709
|
+
* @param variables - 更新する変数
|
710
710
|
*
|
711
|
-
* @returns
|
711
|
+
* @returns 新しい変数を返します。
|
712
712
|
*
|
713
|
-
* @
|
713
|
+
* @internal
|
714
714
|
*/
|
715
|
-
declare function
|
715
|
+
declare function updateVariables(vars: ActionVariables): ActionVariables;
|
716
716
|
/** @internal */
|
717
717
|
interface FormData {
|
718
718
|
[name: string]: {
|
@@ -727,6 +727,101 @@ interface FormData {
|
|
727
727
|
* @internal
|
728
728
|
*/
|
729
729
|
declare const formData: Writable_<FormData>;
|
730
|
+
// -------- The following codes are deprecated --------
|
731
|
+
/**
|
732
|
+
* 非推奨
|
733
|
+
*
|
734
|
+
* @deprecated 非推奨
|
735
|
+
*
|
736
|
+
* @internal
|
737
|
+
*/
|
738
|
+
type CustomVariables = {
|
739
|
+
[key: string]: any;
|
740
|
+
};
|
741
|
+
/**
|
742
|
+
* 非推奨
|
743
|
+
*
|
744
|
+
* @deprecated 非推奨
|
745
|
+
*
|
746
|
+
* @internal
|
747
|
+
*/
|
748
|
+
declare const customHandlers: Store<{
|
749
|
+
[key: string]: ActionEventHandler;
|
750
|
+
}>;
|
751
|
+
/**
|
752
|
+
* 非推奨
|
753
|
+
*
|
754
|
+
* @deprecated 非推奨
|
755
|
+
*
|
756
|
+
* @internal
|
757
|
+
*/
|
758
|
+
declare function getCustomHandlers(): {
|
759
|
+
[key: string]: ActionEventHandler;
|
760
|
+
};
|
761
|
+
/**
|
762
|
+
* 非推奨
|
763
|
+
*
|
764
|
+
* @deprecated 非推奨
|
765
|
+
*
|
766
|
+
* @internal
|
767
|
+
*/
|
768
|
+
declare function setCustomHandlers(handlers: {
|
769
|
+
[key: string]: ActionEventHandler;
|
770
|
+
}): void;
|
771
|
+
/**
|
772
|
+
* 非推奨
|
773
|
+
*
|
774
|
+
* @deprecated 非推奨
|
775
|
+
*
|
776
|
+
* @internal
|
777
|
+
*/
|
778
|
+
declare function updateCustomHandlers(handlers: {
|
779
|
+
[key: string]: ActionEventHandler;
|
780
|
+
}): {
|
781
|
+
[key: string]: ActionEventHandler;
|
782
|
+
};
|
783
|
+
/**
|
784
|
+
* 非推奨
|
785
|
+
*
|
786
|
+
* @deprecated 非推奨
|
787
|
+
*
|
788
|
+
* @internal
|
789
|
+
*/
|
790
|
+
declare const customVariables: Store<{
|
791
|
+
[key: string]: any;
|
792
|
+
}>;
|
793
|
+
/**
|
794
|
+
* 非推奨
|
795
|
+
*
|
796
|
+
* @deprecated 非推奨
|
797
|
+
*
|
798
|
+
* @internal
|
799
|
+
*/
|
800
|
+
declare function getCustomVariables(): CustomVariables;
|
801
|
+
/**
|
802
|
+
* 非推奨
|
803
|
+
*
|
804
|
+
* @deprecated 非推奨
|
805
|
+
*
|
806
|
+
* @internal
|
807
|
+
*/
|
808
|
+
declare function setCustomVariables(variables: CustomVariables): void;
|
809
|
+
/**
|
810
|
+
* 非推奨
|
811
|
+
*
|
812
|
+
* @deprecated 非推奨
|
813
|
+
*
|
814
|
+
* @internal
|
815
|
+
*/
|
816
|
+
declare function updateCustomVariables(variables: CustomVariables): CustomVariables;
|
817
|
+
/**
|
818
|
+
* 非推奨
|
819
|
+
*
|
820
|
+
* @deprecated 非推奨
|
821
|
+
*
|
822
|
+
* @internal
|
823
|
+
*/
|
824
|
+
declare function setActionSetting(setting: ActionSetting): ActionSetting;
|
730
825
|
/**
|
731
826
|
* 閉じるアクショントリガー
|
732
827
|
*
|
@@ -1263,7 +1358,7 @@ declare function create<Props extends _Props$0, Variables, VariablesQuery extend
|
|
1263
1358
|
*
|
1264
1359
|
* @public
|
1265
1360
|
*/
|
1266
|
-
declare function
|
1361
|
+
declare function destroyAction(): void;
|
1267
1362
|
/**
|
1268
1363
|
* アクションを表示する
|
1269
1364
|
*
|
@@ -1281,7 +1376,7 @@ declare function closeAction(trigger?: CloseTrigger): void;
|
|
1281
1376
|
/** @internal */
|
1282
1377
|
declare function ensureActionRoot(useShadow?: boolean): ShadowRoot | HTMLElement;
|
1283
1378
|
/**
|
1284
|
-
*
|
1379
|
+
* 非推奨
|
1285
1380
|
*
|
1286
1381
|
* @deprecated 非推奨
|
1287
1382
|
*
|
@@ -1299,14 +1394,13 @@ declare function createFog({ color, opacity, zIndex, onclick }: {
|
|
1299
1394
|
/** @internal */
|
1300
1395
|
type EmbedLogic = "replace" | "append" | "prepend" | "after" | "before";
|
1301
1396
|
/**
|
1302
|
-
*
|
1397
|
+
* アクションのルートの DOM 要素を取得する
|
1303
1398
|
*
|
1304
|
-
* @returns
|
1305
|
-
* アクションが Shadow Root を持つ場合は Shadow Root の Element 返します。ない場合は `null` を返します
|
1399
|
+
* @returns アクションがルートの DOM 要素 を持つ場合は DOM 要素を返します。ない場合は `null` を返します
|
1306
1400
|
*
|
1307
1401
|
* @public
|
1308
1402
|
*/
|
1309
|
-
declare function
|
1403
|
+
declare function getActionRoot(): ShadowRoot | null;
|
1310
1404
|
/**
|
1311
1405
|
* アクションに CSS を適用する
|
1312
1406
|
*
|
@@ -1327,7 +1421,7 @@ declare function applyCss(css: string): Promise<HTMLStyleElement>;
|
|
1327
1421
|
declare function loadStyle(href: string): Promise<void>;
|
1328
1422
|
// -------- The following codes are deprecated --------
|
1329
1423
|
/**
|
1330
|
-
*
|
1424
|
+
* 非推奨
|
1331
1425
|
*
|
1332
1426
|
* @deprecated 非推奨
|
1333
1427
|
*
|
@@ -1335,7 +1429,7 @@ declare function loadStyle(href: string): Promise<void>;
|
|
1335
1429
|
*/
|
1336
1430
|
declare const showModal: typeof create;
|
1337
1431
|
/**
|
1338
|
-
*
|
1432
|
+
* 非推奨
|
1339
1433
|
*
|
1340
1434
|
* @deprecated 非推奨
|
1341
1435
|
*
|
@@ -1343,7 +1437,7 @@ declare const showModal: typeof create;
|
|
1343
1437
|
*/
|
1344
1438
|
declare const KARTE_MODAL_ROOT = "karte-modal-root";
|
1345
1439
|
/**
|
1346
|
-
*
|
1440
|
+
* 非推奨
|
1347
1441
|
*
|
1348
1442
|
* @deprecated 非推奨
|
1349
1443
|
*
|
@@ -1351,7 +1445,7 @@ declare const KARTE_MODAL_ROOT = "karte-modal-root";
|
|
1351
1445
|
*/
|
1352
1446
|
declare const ensureModalRoot: typeof ensureActionRoot;
|
1353
1447
|
/**
|
1354
|
-
*
|
1448
|
+
* 非推奨
|
1355
1449
|
*
|
1356
1450
|
* @deprecated 非推奨
|
1357
1451
|
*
|
@@ -1359,7 +1453,7 @@ declare const ensureModalRoot: typeof ensureActionRoot;
|
|
1359
1453
|
*/
|
1360
1454
|
declare const show: typeof showAction;
|
1361
1455
|
/**
|
1362
|
-
*
|
1456
|
+
* 非推奨
|
1363
1457
|
*
|
1364
1458
|
* @deprecated 非推奨
|
1365
1459
|
*
|
@@ -1367,7 +1461,7 @@ declare const show: typeof showAction;
|
|
1367
1461
|
*/
|
1368
1462
|
declare const close: typeof closeAction;
|
1369
1463
|
/**
|
1370
|
-
*
|
1464
|
+
* 非推奨
|
1371
1465
|
*
|
1372
1466
|
* @deprecated 非推奨
|
1373
1467
|
*
|
@@ -1375,9 +1469,7 @@ declare const close: typeof closeAction;
|
|
1375
1469
|
*/
|
1376
1470
|
type AppOptions<Props, Variables, VariablesQuery> = ActionOptions<Props, Variables, VariablesQuery>;
|
1377
1471
|
/**
|
1378
|
-
*
|
1379
|
-
*
|
1380
|
-
* @remarks Currently, svelte component is supported only.
|
1472
|
+
* 非推奨
|
1381
1473
|
*
|
1382
1474
|
* @deprecated 非推奨
|
1383
1475
|
*
|
@@ -1394,18 +1486,29 @@ interface App {
|
|
1394
1486
|
show: () => void;
|
1395
1487
|
}
|
1396
1488
|
/**
|
1397
|
-
*
|
1489
|
+
* 非推奨
|
1398
1490
|
*
|
1399
|
-
* @
|
1400
|
-
* @param options - An {@link AppOptions | options}
|
1491
|
+
* @deprecated 非推奨
|
1401
1492
|
*
|
1402
|
-
* @
|
1493
|
+
* @internal
|
1494
|
+
*/
|
1495
|
+
declare function createApp<Props, Variables, VariablesQuery>(App: typeof SvelteComponentDev, options?: AppOptions<Props, Variables, VariablesQuery>): App;
|
1496
|
+
/**
|
1497
|
+
* 非推奨
|
1403
1498
|
*
|
1404
1499
|
* @deprecated 非推奨
|
1405
1500
|
*
|
1406
1501
|
* @internal
|
1407
1502
|
*/
|
1408
|
-
declare function
|
1503
|
+
declare function getActionShadowRoot(): ShadowRoot | null;
|
1504
|
+
/**
|
1505
|
+
* 非推奨
|
1506
|
+
*
|
1507
|
+
* @deprecated 非推奨
|
1508
|
+
*
|
1509
|
+
* @internal
|
1510
|
+
*/
|
1511
|
+
declare function destroy(): void;
|
1409
1512
|
declare namespace widget {
|
1410
1513
|
/** @internal */
|
1411
1514
|
const PropTypes: readonly [
|
@@ -1909,11 +2012,11 @@ declare namespace widget {
|
|
1909
2012
|
autoStart?: boolean;
|
1910
2013
|
};
|
1911
2014
|
/**
|
1912
|
-
*
|
2015
|
+
* 変数
|
1913
2016
|
*
|
1914
2017
|
* @public
|
1915
2018
|
*/
|
1916
|
-
type
|
2019
|
+
type ActionVariables = {
|
1917
2020
|
[key: string]: any;
|
1918
2021
|
};
|
1919
2022
|
/**
|
@@ -1923,13 +2026,13 @@ declare namespace widget {
|
|
1923
2026
|
*/
|
1924
2027
|
const actionSetting: Store<ActionSetting>;
|
1925
2028
|
/**
|
1926
|
-
* {@link
|
2029
|
+
* {@link getSetting} function to get action setting.
|
1927
2030
|
*
|
1928
2031
|
* @returns Current action setting
|
1929
2032
|
*
|
1930
2033
|
* @internal
|
1931
2034
|
*/
|
1932
|
-
function
|
2035
|
+
function getSetting(): ActionSetting;
|
1933
2036
|
/**
|
1934
2037
|
* アクション設定を更新する
|
1935
2038
|
*
|
@@ -1942,13 +2045,13 @@ declare namespace widget {
|
|
1942
2045
|
*
|
1943
2046
|
* @public
|
1944
2047
|
*/
|
1945
|
-
function
|
2048
|
+
function setSetting(setting: ActionSetting): ActionSetting;
|
1946
2049
|
/**
|
1947
|
-
* {@link
|
2050
|
+
* {@link resetSetting} function to reset action setting
|
1948
2051
|
*
|
1949
2052
|
* @internal
|
1950
2053
|
*/
|
1951
|
-
function
|
2054
|
+
function resetSetting(): void;
|
1952
2055
|
/**
|
1953
2056
|
* Store to read KARTE system config
|
1954
2057
|
*
|
@@ -2156,48 +2259,48 @@ declare namespace widget {
|
|
2156
2259
|
[key: string]: ActionEventHandler[];
|
2157
2260
|
}): void;
|
2158
2261
|
/**
|
2159
|
-
* Store to handle
|
2262
|
+
* Store to handle event handlers
|
2160
2263
|
*
|
2161
2264
|
* This is used internally.
|
2162
2265
|
*
|
2163
2266
|
* @internal
|
2164
2267
|
*/
|
2165
|
-
const
|
2268
|
+
const eventHandlers: Store<{
|
2166
2269
|
[key: string]: ActionEventHandler;
|
2167
2270
|
}>;
|
2168
2271
|
/**
|
2169
|
-
*
|
2272
|
+
* イベントハンドラーの一覧を取得する
|
2170
2273
|
*
|
2171
|
-
* @returns
|
2274
|
+
* @returns 現在のイベントハンドラー
|
2172
2275
|
*
|
2173
2276
|
* @public
|
2174
2277
|
*/
|
2175
|
-
function
|
2278
|
+
function getEventHandlers(): {
|
2176
2279
|
[key: string]: ActionEventHandler;
|
2177
2280
|
};
|
2178
2281
|
/**
|
2179
|
-
*
|
2282
|
+
* イベントハンドラーを登録する
|
2180
2283
|
*
|
2181
2284
|
* @remarks
|
2182
|
-
*
|
2285
|
+
* 登録したイベントハンドラーは、ビジュアルエディタでアクション本体とのテキストボタンのクリック時の動作で利用できます。
|
2183
2286
|
*
|
2184
|
-
* @param handlers -
|
2287
|
+
* @param handlers - 登録するイベントハンドラー
|
2185
2288
|
*
|
2186
2289
|
* @public
|
2187
2290
|
*/
|
2188
|
-
function
|
2291
|
+
function setEventHandlers(handlers: {
|
2189
2292
|
[key: string]: ActionEventHandler;
|
2190
2293
|
}): void;
|
2191
2294
|
/**
|
2192
|
-
*
|
2295
|
+
* イベントハンドラーを更新する
|
2193
2296
|
*
|
2194
|
-
* @param handlers -
|
2297
|
+
* @param handlers - 対象となるイベントハンドラー
|
2195
2298
|
*
|
2196
|
-
* @returns
|
2299
|
+
* @returns 新しいイベントハンドラーを返します。
|
2197
2300
|
*
|
2198
2301
|
* @public
|
2199
2302
|
*/
|
2200
|
-
function
|
2303
|
+
function updateEventHandlers(handlers: {
|
2201
2304
|
[key: string]: ActionEventHandler;
|
2202
2305
|
}): {
|
2203
2306
|
[key: string]: ActionEventHandler;
|
@@ -2241,42 +2344,42 @@ declare namespace widget {
|
|
2241
2344
|
*/
|
2242
2345
|
function setStopped(on: boolean): void;
|
2243
2346
|
/**
|
2244
|
-
* Store to handle
|
2347
|
+
* Store to handle variables
|
2245
2348
|
*
|
2246
2349
|
* @internal
|
2247
2350
|
*/
|
2248
|
-
const
|
2351
|
+
const variables: Store<{
|
2249
2352
|
[key: string]: any;
|
2250
2353
|
}>;
|
2251
2354
|
/**
|
2252
|
-
*
|
2355
|
+
* 変数の一覧を取得する
|
2253
2356
|
*
|
2254
|
-
* @returns
|
2357
|
+
* @returns 現在の変数の一覧
|
2255
2358
|
*
|
2256
|
-
* @
|
2359
|
+
* @internal
|
2257
2360
|
*/
|
2258
|
-
function
|
2361
|
+
function getVariables(): ActionVariables;
|
2259
2362
|
/**
|
2260
|
-
*
|
2363
|
+
* 変数を設定する
|
2261
2364
|
*
|
2262
2365
|
* @remarks
|
2263
2366
|
* 設定した変数は、ビジュアルエディタのテキストフォームなどで利用できます。
|
2264
2367
|
*
|
2265
|
-
* @param
|
2368
|
+
* @param vars - 変数
|
2266
2369
|
*
|
2267
|
-
* @
|
2370
|
+
* @internal
|
2268
2371
|
*/
|
2269
|
-
function
|
2372
|
+
function setVariables(vars: ActionVariables): void;
|
2270
2373
|
/**
|
2271
|
-
*
|
2374
|
+
* 変数を更新する
|
2272
2375
|
*
|
2273
|
-
* @param variables -
|
2376
|
+
* @param variables - 更新する変数
|
2274
2377
|
*
|
2275
|
-
* @returns
|
2378
|
+
* @returns 新しい変数を返します。
|
2276
2379
|
*
|
2277
|
-
* @
|
2380
|
+
* @internal
|
2278
2381
|
*/
|
2279
|
-
function
|
2382
|
+
function updateVariables(vars: ActionVariables): ActionVariables;
|
2280
2383
|
/** @internal */
|
2281
2384
|
interface FormData {
|
2282
2385
|
[name: string]: {
|
@@ -2291,6 +2394,117 @@ declare namespace widget {
|
|
2291
2394
|
* @internal
|
2292
2395
|
*/
|
2293
2396
|
const formData: Writable_<FormData>;
|
2397
|
+
// -------- The following codes are deprecated --------
|
2398
|
+
/**
|
2399
|
+
* 非推奨
|
2400
|
+
*
|
2401
|
+
* @deprecated 非推奨
|
2402
|
+
*
|
2403
|
+
* @internal
|
2404
|
+
*/
|
2405
|
+
type CustomVariables = {
|
2406
|
+
[key: string]: any;
|
2407
|
+
};
|
2408
|
+
/**
|
2409
|
+
* 非推奨
|
2410
|
+
*
|
2411
|
+
* @deprecated 非推奨
|
2412
|
+
*
|
2413
|
+
* @internal
|
2414
|
+
*/
|
2415
|
+
const customHandlers: Store<{
|
2416
|
+
[key: string]: ActionEventHandler;
|
2417
|
+
}>;
|
2418
|
+
/**
|
2419
|
+
* 非推奨
|
2420
|
+
*
|
2421
|
+
* @deprecated 非推奨
|
2422
|
+
*
|
2423
|
+
* @internal
|
2424
|
+
*/
|
2425
|
+
function getCustomHandlers(): {
|
2426
|
+
[key: string]: ActionEventHandler;
|
2427
|
+
};
|
2428
|
+
/**
|
2429
|
+
* 非推奨
|
2430
|
+
*
|
2431
|
+
* @deprecated 非推奨
|
2432
|
+
*
|
2433
|
+
* @internal
|
2434
|
+
*/
|
2435
|
+
function setCustomHandlers(handlers: {
|
2436
|
+
[key: string]: ActionEventHandler;
|
2437
|
+
}): void;
|
2438
|
+
/**
|
2439
|
+
* 非推奨
|
2440
|
+
*
|
2441
|
+
* @deprecated 非推奨
|
2442
|
+
*
|
2443
|
+
* @internal
|
2444
|
+
*/
|
2445
|
+
function updateCustomHandlers(handlers: {
|
2446
|
+
[key: string]: ActionEventHandler;
|
2447
|
+
}): {
|
2448
|
+
[key: string]: ActionEventHandler;
|
2449
|
+
};
|
2450
|
+
/**
|
2451
|
+
* 非推奨
|
2452
|
+
*
|
2453
|
+
* @deprecated 非推奨
|
2454
|
+
*
|
2455
|
+
* @internal
|
2456
|
+
*/
|
2457
|
+
const customVariables: Store<{
|
2458
|
+
[key: string]: any;
|
2459
|
+
}>;
|
2460
|
+
/**
|
2461
|
+
* 非推奨
|
2462
|
+
*
|
2463
|
+
* @deprecated 非推奨
|
2464
|
+
*
|
2465
|
+
* @internal
|
2466
|
+
*/
|
2467
|
+
function getCustomVariables(): CustomVariables;
|
2468
|
+
/**
|
2469
|
+
* 非推奨
|
2470
|
+
*
|
2471
|
+
* @deprecated 非推奨
|
2472
|
+
*
|
2473
|
+
* @internal
|
2474
|
+
*/
|
2475
|
+
function setCustomVariables(variables: CustomVariables): void;
|
2476
|
+
/**
|
2477
|
+
* 非推奨
|
2478
|
+
*
|
2479
|
+
* @deprecated 非推奨
|
2480
|
+
*
|
2481
|
+
* @internal
|
2482
|
+
*/
|
2483
|
+
function updateCustomVariables(variables: CustomVariables): CustomVariables;
|
2484
|
+
/**
|
2485
|
+
* 非推奨
|
2486
|
+
*
|
2487
|
+
* @deprecated 非推奨
|
2488
|
+
*
|
2489
|
+
* @internal
|
2490
|
+
*/
|
2491
|
+
function getActionSetting(): ActionSetting;
|
2492
|
+
/**
|
2493
|
+
* 非推奨
|
2494
|
+
*
|
2495
|
+
* @deprecated 非推奨
|
2496
|
+
*
|
2497
|
+
* @internal
|
2498
|
+
*/
|
2499
|
+
function setActionSetting(setting: ActionSetting): ActionSetting;
|
2500
|
+
/**
|
2501
|
+
* 非推奨
|
2502
|
+
*
|
2503
|
+
* @deprecated 非推奨
|
2504
|
+
*
|
2505
|
+
* @internal
|
2506
|
+
*/
|
2507
|
+
function resetActionSetting(): void;
|
2294
2508
|
/**
|
2295
2509
|
* 閉じるアクショントリガー
|
2296
2510
|
*
|
@@ -2724,7 +2938,7 @@ declare namespace widget {
|
|
2724
2938
|
*
|
2725
2939
|
* @public
|
2726
2940
|
*/
|
2727
|
-
function
|
2941
|
+
function destroyAction(): void;
|
2728
2942
|
/**
|
2729
2943
|
* アクションを表示する
|
2730
2944
|
*
|
@@ -2750,7 +2964,7 @@ declare namespace widget {
|
|
2750
2964
|
/** @internal */
|
2751
2965
|
const h: (type: string, props: any, ...children: Array<any>) => HTMLElement;
|
2752
2966
|
/**
|
2753
|
-
*
|
2967
|
+
* 非推奨
|
2754
2968
|
*
|
2755
2969
|
* @deprecated 非推奨
|
2756
2970
|
*
|
@@ -2770,14 +2984,13 @@ declare namespace widget {
|
|
2770
2984
|
/** @internal */
|
2771
2985
|
function embed(target: HTMLElement, replace: HTMLElement, embed_method: EmbedLogic): void;
|
2772
2986
|
/**
|
2773
|
-
*
|
2987
|
+
* アクションのルートの DOM 要素を取得する
|
2774
2988
|
*
|
2775
|
-
* @returns
|
2776
|
-
* アクションが Shadow Root を持つ場合は Shadow Root の Element 返します。ない場合は `null` を返します
|
2989
|
+
* @returns アクションがルートの DOM 要素 を持つ場合は DOM 要素を返します。ない場合は `null` を返します
|
2777
2990
|
*
|
2778
2991
|
* @public
|
2779
2992
|
*/
|
2780
|
-
function
|
2993
|
+
function getActionRoot(): ShadowRoot | null;
|
2781
2994
|
/**
|
2782
2995
|
* アクションに CSS を適用する
|
2783
2996
|
*
|
@@ -2798,7 +3011,7 @@ declare namespace widget {
|
|
2798
3011
|
function loadStyle(href: string): Promise<void>;
|
2799
3012
|
// -------- The following codes are deprecated --------
|
2800
3013
|
/**
|
2801
|
-
*
|
3014
|
+
* 非推奨
|
2802
3015
|
*
|
2803
3016
|
* @deprecated 非推奨
|
2804
3017
|
*
|
@@ -2806,7 +3019,7 @@ declare namespace widget {
|
|
2806
3019
|
*/
|
2807
3020
|
const showModal: typeof create;
|
2808
3021
|
/**
|
2809
|
-
*
|
3022
|
+
* 非推奨
|
2810
3023
|
*
|
2811
3024
|
* @deprecated 非推奨
|
2812
3025
|
*
|
@@ -2814,7 +3027,7 @@ declare namespace widget {
|
|
2814
3027
|
*/
|
2815
3028
|
type ModalOptions<Props, Variables, VariablesQuery> = ActionOptions<Props, Variables, VariablesQuery>;
|
2816
3029
|
/**
|
2817
|
-
*
|
3030
|
+
* 非推奨
|
2818
3031
|
*
|
2819
3032
|
* @deprecated 非推奨
|
2820
3033
|
*
|
@@ -2822,7 +3035,7 @@ declare namespace widget {
|
|
2822
3035
|
*/
|
2823
3036
|
const KARTE_MODAL_ROOT = "karte-modal-root";
|
2824
3037
|
/**
|
2825
|
-
*
|
3038
|
+
* 非推奨
|
2826
3039
|
*
|
2827
3040
|
* @deprecated 非推奨
|
2828
3041
|
*
|
@@ -2830,7 +3043,7 @@ declare namespace widget {
|
|
2830
3043
|
*/
|
2831
3044
|
const ensureModalRoot: typeof ensureActionRoot;
|
2832
3045
|
/**
|
2833
|
-
*
|
3046
|
+
* 非推奨
|
2834
3047
|
*
|
2835
3048
|
* @deprecated 非推奨
|
2836
3049
|
*
|
@@ -2838,7 +3051,7 @@ declare namespace widget {
|
|
2838
3051
|
*/
|
2839
3052
|
const show: typeof showAction;
|
2840
3053
|
/**
|
2841
|
-
*
|
3054
|
+
* 非推奨
|
2842
3055
|
*
|
2843
3056
|
* @deprecated 非推奨
|
2844
3057
|
*
|
@@ -2846,7 +3059,7 @@ declare namespace widget {
|
|
2846
3059
|
*/
|
2847
3060
|
const close: typeof closeAction;
|
2848
3061
|
/**
|
2849
|
-
*
|
3062
|
+
* 非推奨
|
2850
3063
|
*
|
2851
3064
|
* @deprecated 非推奨
|
2852
3065
|
*
|
@@ -2854,9 +3067,7 @@ declare namespace widget {
|
|
2854
3067
|
*/
|
2855
3068
|
type AppOptions<Props, Variables, VariablesQuery> = ActionOptions<Props, Variables, VariablesQuery>;
|
2856
3069
|
/**
|
2857
|
-
*
|
2858
|
-
*
|
2859
|
-
* @remarks Currently, svelte component is supported only.
|
3070
|
+
* 非推奨
|
2860
3071
|
*
|
2861
3072
|
* @deprecated 非推奨
|
2862
3073
|
*
|
@@ -2873,18 +3084,29 @@ declare namespace widget {
|
|
2873
3084
|
show: () => void;
|
2874
3085
|
}
|
2875
3086
|
/**
|
2876
|
-
*
|
3087
|
+
* 非推奨
|
2877
3088
|
*
|
2878
|
-
* @
|
2879
|
-
* @param options - An {@link AppOptions | options}
|
3089
|
+
* @deprecated 非推奨
|
2880
3090
|
*
|
2881
|
-
* @
|
3091
|
+
* @internal
|
3092
|
+
*/
|
3093
|
+
function createApp<Props, Variables, VariablesQuery>(App: typeof SvelteComponentDev, options?: AppOptions<Props, Variables, VariablesQuery>): App;
|
3094
|
+
/**
|
3095
|
+
* 非推奨
|
2882
3096
|
*
|
2883
3097
|
* @deprecated 非推奨
|
2884
3098
|
*
|
2885
3099
|
* @internal
|
2886
3100
|
*/
|
2887
|
-
function
|
3101
|
+
function getActionShadowRoot(): ShadowRoot | null;
|
3102
|
+
/**
|
3103
|
+
* 非推奨
|
3104
|
+
*
|
3105
|
+
* @deprecated 非推奨
|
3106
|
+
*
|
3107
|
+
* @internal
|
3108
|
+
*/
|
3109
|
+
function destroy(): void;
|
2888
3110
|
// @ts-ignore
|
2889
3111
|
type ChangeValCallback = ({ newVal, oldVal, key }: {
|
2890
3112
|
newVal: any;
|
@@ -3031,8 +3253,8 @@ declare namespace widget {
|
|
3031
3253
|
*/
|
3032
3254
|
export { showAction as show, closeAction as hide };
|
3033
3255
|
}
|
3034
|
-
export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, setAutoStart, getState, setState, getStates, isOpened,
|
3035
|
-
export type { CloseTrigger,
|
3256
|
+
export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, setAutoStart, getState, setState, getStates, isOpened, getVariables, setVariables, updateVariables, getEventHandlers, setEventHandlers, updateEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, opened, closed, destroyed, stopped, isClosed, setClosed, getStoreState, getCustomVariables, setCustomVariables, updateCustomVariables, getCustomHandlers, setCustomHandlers, updateCustomHandlers, setActionSetting, customHandlers, customVariables, 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, Justifies, Justify, Alignments, Alignment, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, Style, StateName, WritingModes, WritingMode, 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, FormButtonStyle, DefaultFormButtonStyle, FormSelectStyle, DefaultFormSelectStyle, FormRatingButtonType, FormRatingButtonTypes, DefaultFormRatingButtonType, create, showAction, closeAction, destroyAction, loadStyle, applyCss, getActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, showModal, ensureModalRoot, show, close, destroy, createApp, createFog, KARTE_MODAL_ROOT, ACTION_HOOK_LABEL, getActionShadowRoot, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget };
|
3257
|
+
export type { CloseTrigger, ActionVariables, ActionEventHandler, SystemConfig, CustomVariables, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionProps, ActionOptions, ActionHook, ActionCloseHook, ActionChangeStateHook, SendFunction, ActionHookLog, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
|
3036
3258
|
export { default as State } from './components/State.svelte';
|
3037
3259
|
export { default as StateItem } from './components/StateItem.svelte';
|
3038
3260
|
export { default as Modal } from './components/Modal.svelte';
|