@plaidev/karte-action-sdk 1.1.139 → 1.1.140-27968620.92b2388a

Sign up to get free protection for your applications and to get access to all the features.
@@ -306,6 +306,8 @@ type WritingMode = (typeof WritingModes)[number];
306
306
  /** @internal */
307
307
  type DateTime = string;
308
308
  /** @internal */
309
+ type Icon = string;
310
+ /** @internal */
309
311
  declare const ListSeparatorTypes: readonly [
310
312
  "none",
311
313
  "border",
@@ -454,14 +456,6 @@ declare const DefaultFormButtonColor: {
454
456
  };
455
457
  /** @internal */
456
458
  type Store<T> = Writable_<T>; // Wrap svelte tools
457
- /**
458
- * get store state value
459
- *
460
- * @deprecated 非推奨
461
- *
462
- * @internal
463
- */
464
- declare const getStoreState: typeof get_;
465
459
  /**
466
460
  * KARTE のシステム設定情報
467
461
  *
@@ -569,12 +563,6 @@ declare function getState(): string;
569
563
  * @public
570
564
  */
571
565
  declare function getStates(): string[];
572
- /**
573
- * Store to handle visibility of action
574
- *
575
- * @internal
576
- */
577
- declare const opened: Store<boolean>;
578
566
  /**
579
567
  * アクションの表示・非表示の状態を取得する
580
568
  *
@@ -583,32 +571,6 @@ declare const opened: Store<boolean>;
583
571
  * @public
584
572
  */
585
573
  declare function isOpened(): boolean;
586
- /**
587
- * Store to handle visibility of action
588
- *
589
- * @deprecated 非推奨
590
- *
591
- * @internal
592
- */
593
- declare const closed: Store<boolean>; // deprecated
594
- /**
595
- * {@link isClosed} function to check if action is clsoed.
596
- *
597
- * @returns Flag if action is closed / true: Closed, false: Not closed
598
- *
599
- * @deprecated 非推奨
600
- *
601
- * @internal
602
- */
603
- declare function isClosed(): boolean;
604
- /**
605
- * {@link setClosed} function to set if action is closed.
606
- *
607
- * @deprecated 非推奨
608
- *
609
- * @internal
610
- */
611
- declare function setClosed(on: boolean): void;
612
574
  /**
613
575
  * Store to handle event handlers
614
576
  *
@@ -645,17 +607,10 @@ declare function setEventHandlers(handlers: {
645
607
  [key: string]: ActionEventHandler;
646
608
  };
647
609
  /**
648
- * Store to handle destruction of action
610
+ * イベントハンドラーをリセットする
649
611
  *
650
- * @internal
651
- */
652
- declare const destroyed: Store<boolean>;
653
- /**
654
- * Store to handle stopping action
655
- *
656
- * @internal
657
612
  */
658
- declare const stopped: Store<boolean>;
613
+ declare function resetEventHandlers(): void;
659
614
  /**
660
615
  * Store to handle variables
661
616
  *
@@ -683,6 +638,11 @@ declare function getVariables(): ActionVariables;
683
638
  * @internal
684
639
  */
685
640
  declare function setVariables(vars: ActionVariables): ActionVariables;
641
+ /**
642
+ * 変数をリセットする
643
+ *
644
+ */
645
+ declare function resetVariables(): void;
686
646
  /** @internal */
687
647
  interface FormData {
688
648
  [name: string]: {
@@ -697,101 +657,6 @@ interface FormData {
697
657
  * @internal
698
658
  */
699
659
  declare const formData: Writable_<FormData>;
700
- // -------- The following codes are deprecated --------
701
- /**
702
- * 非推奨
703
- *
704
- * @deprecated 非推奨
705
- *
706
- * @internal
707
- */
708
- type CustomVariables = {
709
- [key: string]: any;
710
- };
711
- /**
712
- * 非推奨
713
- *
714
- * @deprecated 非推奨
715
- *
716
- * @internal
717
- */
718
- declare const customHandlers: Store<{
719
- [key: string]: ActionEventHandler;
720
- }>;
721
- /**
722
- * 非推奨
723
- *
724
- * @deprecated 非推奨
725
- *
726
- * @internal
727
- */
728
- declare function getCustomHandlers(): {
729
- [key: string]: ActionEventHandler;
730
- };
731
- /**
732
- * 非推奨
733
- *
734
- * @deprecated 非推奨
735
- *
736
- * @internal
737
- */
738
- declare function setCustomHandlers(handlers: {
739
- [key: string]: ActionEventHandler;
740
- }): void;
741
- /**
742
- * 非推奨
743
- *
744
- * @deprecated 非推奨
745
- *
746
- * @internal
747
- */
748
- declare function updateCustomHandlers(handlers: {
749
- [key: string]: ActionEventHandler;
750
- }): {
751
- [key: string]: ActionEventHandler;
752
- };
753
- /**
754
- * 非推奨
755
- *
756
- * @deprecated 非推奨
757
- *
758
- * @internal
759
- */
760
- declare const customVariables: Store<{
761
- [key: string]: any;
762
- }>;
763
- /**
764
- * 非推奨
765
- *
766
- * @deprecated 非推奨
767
- *
768
- * @internal
769
- */
770
- declare function getCustomVariables(): CustomVariables;
771
- /**
772
- * 非推奨
773
- *
774
- * @deprecated 非推奨
775
- *
776
- * @internal
777
- */
778
- declare function setCustomVariables(variables: CustomVariables): void;
779
- /**
780
- * 非推奨
781
- *
782
- * @deprecated 非推奨
783
- *
784
- * @internal
785
- */
786
- declare function updateCustomVariables(variables: CustomVariables): CustomVariables;
787
- /**
788
- * 非推奨
789
- *
790
- * @deprecated 非推奨
791
- *
792
- * @internal
793
- */
794
- declare function setActionSetting(setting: ActionSetting): ActionSetting;
795
660
  /**
796
661
  * 閉じるアクショントリガー
797
662
  *
@@ -1476,14 +1341,6 @@ interface App {
1476
1341
  * @internal
1477
1342
  */
1478
1343
  declare function createApp<Props, Variables, VariablesQuery>(App: typeof SvelteComponentDev, options?: AppOptions<Props, Variables, VariablesQuery>): App;
1479
- /**
1480
- * 非推奨
1481
- *
1482
- * @deprecated 非推奨
1483
- *
1484
- * @internal
1485
- */
1486
- declare function getActionShadowRoot(): ShadowRoot | null;
1487
1344
  /**
1488
1345
  * 非推奨
1489
1346
  *
@@ -1798,6 +1655,8 @@ declare namespace widget {
1798
1655
  /** @internal */
1799
1656
  type DateTime = string;
1800
1657
  /** @internal */
1658
+ type Icon = string;
1659
+ /** @internal */
1801
1660
  const ListSeparatorTypes: readonly [
1802
1661
  "none",
1803
1662
  "border",
@@ -2258,6 +2117,11 @@ declare namespace widget {
2258
2117
  }): {
2259
2118
  [key: string]: ActionEventHandler;
2260
2119
  };
2120
+ /**
2121
+ * イベントハンドラーをリセットする
2122
+ *
2123
+ */
2124
+ function resetEventHandlers(): void;
2261
2125
  /**
2262
2126
  * Store to handle destruction of action
2263
2127
  *
@@ -2323,6 +2187,11 @@ declare namespace widget {
2323
2187
  * @internal
2324
2188
  */
2325
2189
  function setVariables(vars: ActionVariables): ActionVariables;
2190
+ /**
2191
+ * 変数をリセットする
2192
+ *
2193
+ */
2194
+ function resetVariables(): void;
2326
2195
  /** @internal */
2327
2196
  interface FormData {
2328
2197
  [name: string]: {
@@ -2337,117 +2206,6 @@ declare namespace widget {
2337
2206
  * @internal
2338
2207
  */
2339
2208
  const formData: Writable_<FormData>;
2340
- // -------- The following codes are deprecated --------
2341
- /**
2342
- * 非推奨
2343
- *
2344
- * @deprecated 非推奨
2345
- *
2346
- * @internal
2347
- */
2348
- type CustomVariables = {
2349
- [key: string]: any;
2350
- };
2351
- /**
2352
- * 非推奨
2353
- *
2354
- * @deprecated 非推奨
2355
- *
2356
- * @internal
2357
- */
2358
- const customHandlers: Store<{
2359
- [key: string]: ActionEventHandler;
2360
- }>;
2361
- /**
2362
- * 非推奨
2363
- *
2364
- * @deprecated 非推奨
2365
- *
2366
- * @internal
2367
- */
2368
- function getCustomHandlers(): {
2369
- [key: string]: ActionEventHandler;
2370
- };
2371
- /**
2372
- * 非推奨
2373
- *
2374
- * @deprecated 非推奨
2375
- *
2376
- * @internal
2377
- */
2378
- function setCustomHandlers(handlers: {
2379
- [key: string]: ActionEventHandler;
2380
- }): void;
2381
- /**
2382
- * 非推奨
2383
- *
2384
- * @deprecated 非推奨
2385
- *
2386
- * @internal
2387
- */
2388
- function updateCustomHandlers(handlers: {
2389
- [key: string]: ActionEventHandler;
2390
- }): {
2391
- [key: string]: ActionEventHandler;
2392
- };
2393
- /**
2394
- * 非推奨
2395
- *
2396
- * @deprecated 非推奨
2397
- *
2398
- * @internal
2399
- */
2400
- const customVariables: Store<{
2401
- [key: string]: any;
2402
- }>;
2403
- /**
2404
- * 非推奨
2405
- *
2406
- * @deprecated 非推奨
2407
- *
2408
- * @internal
2409
- */
2410
- function getCustomVariables(): CustomVariables;
2411
- /**
2412
- * 非推奨
2413
- *
2414
- * @deprecated 非推奨
2415
- *
2416
- * @internal
2417
- */
2418
- function setCustomVariables(variables: CustomVariables): void;
2419
- /**
2420
- * 非推奨
2421
- *
2422
- * @deprecated 非推奨
2423
- *
2424
- * @internal
2425
- */
2426
- function updateCustomVariables(variables: CustomVariables): CustomVariables;
2427
- /**
2428
- * 非推奨
2429
- *
2430
- * @deprecated 非推奨
2431
- *
2432
- * @internal
2433
- */
2434
- function getActionSetting(): ActionSetting;
2435
- /**
2436
- * 非推奨
2437
- *
2438
- * @deprecated 非推奨
2439
- *
2440
- * @internal
2441
- */
2442
- function setActionSetting(setting: ActionSetting): ActionSetting;
2443
- /**
2444
- * 非推奨
2445
- *
2446
- * @deprecated 非推奨
2447
- *
2448
- * @internal
2449
- */
2450
- function resetActionSetting(): void;
2451
2209
  /**
2452
2210
  * 閉じるアクショントリガー
2453
2211
  *
@@ -3209,8 +2967,8 @@ declare namespace widget {
3209
2967
  */
3210
2968
  export { showAction as show, closeAction as hide };
3211
2969
  }
3212
- export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, setAutoStart, getState, setState, getStates, isOpened, getVariables, setVariables, getEventHandlers, setEventHandlers, 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, FontWeight, 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, 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, showModal, ensureModalRoot, show, close, destroy, createApp, createFog, KARTE_MODAL_ROOT, ACTION_HOOK_LABEL, getActionShadowRoot, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget };
3213
- 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 };
2970
+ export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, setAutoStart, 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, 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 };
2971
+ export type { CloseTrigger, ActionVariables, ActionEventHandler, SystemConfig, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionProps, ActionOptions, ActionHook, ActionCloseHook, ActionChangeStateHook, SendFunction, ActionHookLog, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
3214
2972
  export { default as State } from './components/State.svelte';
3215
2973
  export { default as StateItem } from './components/StateItem.svelte';
3216
2974
  export { default as Modal } from './components/Modal.svelte';
@@ -3232,10 +2990,12 @@ export { default as FormRadioButtons } from './components/FormRadioButtons.svelt
3232
2990
  export { default as FormSelect } from './components/FormSelect.svelte';
3233
2991
  export { default as FormCheckBoxes } from './components/FormCheckBoxes.svelte';
3234
2992
  export { default as FormRatingButtonsNumber } from './components/FormRatingButtonsNumber.svelte';
2993
+ export { default as FormRatingButtonsFace } from './components/FormRatingButtonsFace.svelte';
3235
2994
  export { default as Slide } from './components/Slide.svelte';
3236
2995
  export { default as SlideItem } from './components/SlideItem.svelte';
3237
2996
  export { default as Countdown } from './components/Countdown.svelte';
3238
2997
  export { default as Box } from './components/Box.svelte';
2998
+ export { default as IconElement } from './components/IconElement.svelte';
3239
2999
  export { default as TextBlock } from './components/TextBlock.svelte';
3240
3000
  export { default as TextButtonBlock } from './components/TextButtonBlock.svelte';
3241
3001
  export { default as ImageBlock } from './components/ImageBlock.svelte';