@plaidev/karte-action-sdk 1.1.270-29410833.25c7eb841 → 1.1.270-29420750.2ec690591

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.
Files changed (46) hide show
  1. package/dist/components-flex/css.d.ts +2 -2
  2. package/dist/components-flex/props.d.ts +2 -2
  3. package/dist/components-flex/responsiveProp.d.ts +7 -0
  4. package/dist/hydrate/components-flex/css.d.ts +2 -2
  5. package/dist/hydrate/components-flex/props.d.ts +2 -2
  6. package/dist/hydrate/components-flex/responsiveProp.d.ts +7 -0
  7. package/dist/hydrate/index.d.ts +1 -0
  8. package/dist/hydrate/index.es.js +260 -204
  9. package/dist/hydrate/index.svelte5.d.ts +2 -1
  10. package/dist/hydrate/preview.d.ts +28 -0
  11. package/dist/hydrate/stores.d.ts +22 -1
  12. package/dist/hydrate/types.d.ts +13 -0
  13. package/dist/hydrate/utils.d.ts +1 -0
  14. package/dist/index.es.d.ts +1 -0
  15. package/dist/index.es.js +260 -204
  16. package/dist/preview.d.ts +28 -0
  17. package/dist/stores.d.ts +22 -1
  18. package/dist/svelte5/components-flex/css.d.ts +2 -2
  19. package/dist/svelte5/components-flex/props.d.ts +2 -2
  20. package/dist/svelte5/components-flex/responsiveProp.d.ts +7 -0
  21. package/dist/svelte5/hydrate/components-flex/css.d.ts +2 -2
  22. package/dist/svelte5/hydrate/components-flex/props.d.ts +2 -2
  23. package/dist/svelte5/hydrate/components-flex/responsiveProp.d.ts +7 -0
  24. package/dist/svelte5/hydrate/index.es.d.ts +2 -1
  25. package/dist/svelte5/hydrate/index.es.js +235 -186
  26. package/dist/svelte5/hydrate/preview.d.ts +28 -0
  27. package/dist/svelte5/hydrate/stores.d.ts +22 -1
  28. package/dist/svelte5/hydrate/types.d.ts +13 -0
  29. package/dist/svelte5/hydrate/utils.d.ts +1 -0
  30. package/dist/svelte5/index.es.d.ts +2 -1
  31. package/dist/svelte5/index.es.js +235 -186
  32. package/dist/svelte5/index.front2.es.js +236 -188
  33. package/dist/svelte5/index.svelte5.d.ts +2 -1
  34. package/dist/svelte5/preview.d.ts +28 -0
  35. package/dist/svelte5/stores.d.ts +22 -1
  36. package/dist/svelte5/types.d.ts +13 -0
  37. package/dist/svelte5/utils.d.ts +1 -0
  38. package/dist/templates.cjs.js +3 -2
  39. package/dist/templates.js +3 -2
  40. package/dist/types.d.ts +13 -0
  41. package/dist/utils.d.ts +1 -0
  42. package/package.json +2 -2
  43. package/dist/components-flex/responsive.d.ts +0 -26
  44. package/dist/hydrate/components-flex/responsive.d.ts +0 -26
  45. package/dist/svelte5/components-flex/responsive.d.ts +0 -26
  46. package/dist/svelte5/hydrate/components-flex/responsive.d.ts +0 -26
@@ -7,12 +7,17 @@ import { cubicOut, elasticOut, linear } from "svelte/easing";
7
7
 
8
8
  //#region rolldown:runtime
9
9
  var __defProp = Object.defineProperty;
10
- var __export = (all) => {
10
+ var __export = (all, symbols) => {
11
11
  let target = {};
12
- for (var name in all) __defProp(target, name, {
13
- get: all[name],
14
- enumerable: true
15
- });
12
+ for (var name in all) {
13
+ __defProp(target, name, {
14
+ get: all[name],
15
+ enumerable: true
16
+ });
17
+ }
18
+ if (symbols) {
19
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
20
+ }
16
21
  return target;
17
22
  };
18
23
 
@@ -53,6 +58,9 @@ const NOOP = (_args) => {};
53
58
  /** @internal */
54
59
  const isPreview = () => isInFrame();
55
60
  const isCanvasPreview = () => typeof document !== "undefined" ? (document?.querySelector("#preview")?.getAttribute("data-canvas-preview") ?? "false") === "true" : false;
61
+ const getPreviewId = () => {
62
+ return typeof document !== "undefined" ? document.documentElement.getAttribute("data-krt-preview-id") ?? "" : "";
63
+ };
56
64
  const isOnSite = () => typeof document !== "undefined" ? (document?.querySelector("#preview")?.getAttribute("data-on-site") ?? "true") === "true" : true;
57
65
  const isInFrame = () => window && window.self !== window.top;
58
66
  /** @internal */
@@ -191,17 +199,13 @@ function onScroll(rate, fn) {
191
199
  html.scrollHeight,
192
200
  html.clientHeight
193
201
  ]);
194
- const viewHeight = Math.min(...[html.clientHeight, body.clientHeight]);
195
- const scrollRate = (scrollTop + viewHeight) / pageHeight;
202
+ const scrollRate = (scrollTop + Math.min(...[html.clientHeight, body.clientHeight])) / pageHeight;
196
203
  contexts.forEach((ctx) => {
197
204
  ctx.scrollRate = scrollRate;
198
205
  ctx.deltaRate = ctx.scrollRate - ctx.previousRate;
199
206
  ctx.previousRate = ctx.scrollRate;
200
207
  ctx.scrollTop = scrollTop;
201
- if (canCall(ctx)) {
202
- const repeat = !!_fn(Object.assign({ direction: direction(ctx) }, ctx));
203
- updateStates(ctx, repeat);
204
- }
208
+ if (canCall(ctx)) updateStates(ctx, !!_fn(Object.assign({ direction: direction(ctx) }, ctx)));
205
209
  });
206
210
  };
207
211
  window.addEventListener("scroll", onScroll$1);
@@ -1146,6 +1150,33 @@ function setDestroyed(on$1) {
1146
1150
  *
1147
1151
  * @internal
1148
1152
  */
1153
+ const breakpoints = writable([]);
1154
+ /**
1155
+ * ブレイクポイントの一覧を取得する
1156
+ *
1157
+ * @returns 現在のブレイクポイントの一覧
1158
+ */
1159
+ function getBreakpoints() {
1160
+ return get(breakpoints);
1161
+ }
1162
+ /**
1163
+ * 変数を設定する
1164
+ *
1165
+ * @remarks
1166
+ * 設定したブレイクポイントは、ビジュアルエディタでブレイクポイントとして利用できます。
1167
+ *
1168
+ * @param values - ブレイクポイントの一覧
1169
+ */
1170
+ function setBreakpoints(values) {
1171
+ if (!get(breakpoints)) breakpoints.set([]);
1172
+ breakpoints.update(() => values);
1173
+ return getBreakpoints();
1174
+ }
1175
+ /**
1176
+ * Store to handle variables
1177
+ *
1178
+ * @internal
1179
+ */
1149
1180
  const variables = writable({});
1150
1181
  /**
1151
1182
  * 変数の一覧を取得する
@@ -1445,6 +1476,9 @@ function dispatchDestroyEvent() {
1445
1476
 
1446
1477
  //#endregion
1447
1478
  //#region src/display-logic.ts
1479
+ /**
1480
+ * モーダル(ポップアップ)のロジックを管理する
1481
+ */
1448
1482
  function doPresent({ direction, deltaRate }, downFn, upFn, condition = false) {
1449
1483
  if (direction === "down" && deltaRate > 0) downFn();
1450
1484
  else if (condition && direction === "up" && deltaRate < 0) upFn();
@@ -1578,6 +1612,9 @@ function checkAndDo(checkFn, fn, ...conditionFns) {
1578
1612
 
1579
1613
  //#endregion
1580
1614
  //#region src/collection.ts
1615
+ /**
1616
+ * アクションテーブルに関連するコードの管理
1617
+ */
1581
1618
  const DEFAULT_COLLECTION_ENDPOINT = "https://action-table.karte.io/collection";
1582
1619
  /**
1583
1620
  * アクションテーブルを管理するメソッドを取得する
@@ -1794,12 +1831,16 @@ function closeAction$1(trigger = "none") {
1794
1831
 
1795
1832
  //#endregion
1796
1833
  //#region src/modal.svelte5.tsx
1834
+ /**
1835
+ * モーダル(ポップアップ)に関連するコードの管理
1836
+ *
1837
+ * アクションのShow, Close, ChangeStateの状態はここで管理する。
1838
+ */
1797
1839
  /** @internal */
1798
1840
  const handleState = (event) => {
1799
1841
  if (event.detail.actionId === actionId || event.detail.actionId === ALL_ACTION_ID) {
1800
1842
  const nextState = event.detail.to;
1801
- const currentState = getState();
1802
- send_event("_message_state_changed", toStateChangedData(nextState, currentState));
1843
+ send_event("_message_state_changed", toStateChangedData(nextState, getState()));
1803
1844
  setState(event.detail.to, { disableInPreview: event.detail.disableInPreview });
1804
1845
  }
1805
1846
  };
@@ -2011,8 +2052,7 @@ function createModal(App, options = {
2011
2052
  return NOOP;
2012
2053
  };
2013
2054
  const handleClose = (event) => {
2014
- const trigger = event?.detail?.trigger ? event.detail.trigger : "none";
2015
- close$1(trigger);
2055
+ close$1(event?.detail?.trigger ? event.detail.trigger : "none");
2016
2056
  };
2017
2057
  const show$1 = async (trigger = "none") => {
2018
2058
  if (app) return;
@@ -2033,20 +2073,20 @@ function createModal(App, options = {
2033
2073
  setOpened(true);
2034
2074
  setClosed(false);
2035
2075
  if (app) return;
2036
- const props = {
2076
+ app = mount(App, {
2037
2077
  target: ensureActionRoot(isOnSite()),
2038
2078
  props: {
2039
2079
  send: options.send,
2040
2080
  publish: options.publish,
2041
2081
  data,
2042
- onShow: (props$1) => {
2082
+ onShow: (props) => {
2043
2083
  const { onShowHandlers } = getInternalHandlers();
2044
2084
  if (onShowHandlers) onShowHandlers.forEach((h$1) => {
2045
2085
  console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify({ name: "onShow" })}`);
2046
- h$1(props$1);
2086
+ h$1(props);
2047
2087
  });
2048
2088
  },
2049
- onChangeState: (props$1, newState) => {
2089
+ onChangeState: (props, newState) => {
2050
2090
  const { onChangeStateHandlers } = getInternalHandlers();
2051
2091
  if (onChangeStateHandlers) onChangeStateHandlers.forEach((h$1) => {
2052
2092
  const actionHookLog = {
@@ -2054,18 +2094,16 @@ function createModal(App, options = {
2054
2094
  values: { newState }
2055
2095
  };
2056
2096
  console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify(actionHookLog)}`);
2057
- h$1(props$1, newState);
2097
+ h$1(props, newState);
2058
2098
  });
2059
2099
  const { onChangeStateHandlers: onChangeWidgetStateHandlers } = getWidgetHandlers();
2060
- if (onChangeWidgetStateHandlers) onChangeStateHandlers.forEach((h$1) => h$1(props$1, newState));
2100
+ if (onChangeWidgetStateHandlers) onChangeStateHandlers.forEach((h$1) => h$1(props, newState));
2061
2101
  }
2062
2102
  }
2063
- };
2064
- app = mount(App, props);
2103
+ });
2065
2104
  };
2066
2105
  const handleShow = (event) => {
2067
- const trigger = event?.detail?.trigger ? event.detail.trigger : "none";
2068
- show$1(trigger);
2106
+ show$1(event?.detail?.trigger ? event.detail.trigger : "none");
2069
2107
  };
2070
2108
  const currying = (conditionFn, options$1) => (fn) => conditionFn(options$1.props, fn);
2071
2109
  const autoShow = () => {
@@ -2251,6 +2289,9 @@ function createFog({ color = "#000", opacity = "50%", zIndex = 999, onclick }) {
2251
2289
 
2252
2290
  //#endregion
2253
2291
  //#region src/script.ts
2292
+ /**
2293
+ * スクリプト接客が利用するコードの管理
2294
+ */
2254
2295
  /** @internal */
2255
2296
  async function runScript$1(options = {
2256
2297
  send: () => {},
@@ -2352,8 +2393,100 @@ async function loadGlobalStyle(href) {
2352
2393
  });
2353
2394
  }
2354
2395
 
2396
+ //#endregion
2397
+ //#region src/preview.ts
2398
+ /** @internal */
2399
+ const initPreview = () => {
2400
+ if (!isPreview()) return () => {};
2401
+ let root$56;
2402
+ let timer = null;
2403
+ const previewId = getPreviewId();
2404
+ const LAYER_ID_ATTR_KEY = "data-layer-id";
2405
+ const toInfo = (element) => {
2406
+ if (!element) return null;
2407
+ const rect = element.getBoundingClientRect();
2408
+ const styles = window.getComputedStyle(element);
2409
+ return {
2410
+ layerId: element.getAttribute(LAYER_ID_ATTR_KEY),
2411
+ top: rect.top,
2412
+ left: rect.left,
2413
+ width: rect.width,
2414
+ height: rect.height,
2415
+ direction: styles?.flexDirection === "row" || styles?.flexDirection === "row-reverse" ? "row" : "column",
2416
+ classNames: Array.from(element.classList.values()),
2417
+ styles: {
2418
+ direction: styles.flexDirection,
2419
+ opacity: styles.opacity,
2420
+ rowGap: styles.rowGap,
2421
+ columnGap: styles.columnGap,
2422
+ paddingLeft: styles.paddingLeft,
2423
+ paddingRight: styles.paddingRight,
2424
+ paddingTop: styles.paddingTop,
2425
+ paddingBottom: styles.paddingBottom,
2426
+ zIndex: styles.zIndex,
2427
+ position: styles.position,
2428
+ top: styles.top,
2429
+ left: styles.left,
2430
+ right: styles.right,
2431
+ bottom: styles.bottom
2432
+ }
2433
+ };
2434
+ };
2435
+ const w$1 = (w$2) => w$2.parent === w$2 ? w$2 : w$2.parent;
2436
+ const postUpdateLayers = () => {
2437
+ const layerElements = Array.from(root$56.querySelectorAll(`[${LAYER_ID_ATTR_KEY}]`)).map((el) => toInfo(el));
2438
+ if (layerElements.length === 0) return;
2439
+ w$1(window).postMessage({
2440
+ type: "KARTE-ACTION-PREVIEW-UPDATE-LAYERS",
2441
+ detail: {
2442
+ previewId,
2443
+ layerElements
2444
+ }
2445
+ }, "*");
2446
+ };
2447
+ const rootObserver = new MutationObserver(postUpdateLayers);
2448
+ const handleMessage = (e) => {
2449
+ console.log("message", e);
2450
+ const data = e.data;
2451
+ if (data.event_name === "OVERRIDE_LAYER_STYLE") {
2452
+ const { layerId = "", styles = [] } = data.detail || {};
2453
+ const layerElement = root$56.querySelector(`[${LAYER_ID_ATTR_KEY}="${layerId}"]`);
2454
+ if (!layerElement) return;
2455
+ styles.forEach(({ key, value }) => {
2456
+ layerElement.style.setProperty(key, value);
2457
+ });
2458
+ }
2459
+ };
2460
+ (() => {
2461
+ const init = () => {
2462
+ root$56 = getActionRoot();
2463
+ if (root$56) {
2464
+ rootObserver.observe(root$56, {
2465
+ childList: true,
2466
+ subtree: true,
2467
+ characterData: true,
2468
+ attributes: true
2469
+ });
2470
+ timer = setInterval(postUpdateLayers, 1e3);
2471
+ window.addEventListener("message", handleMessage);
2472
+ } else setTimeout(init, 30);
2473
+ };
2474
+ init();
2475
+ })();
2476
+ return () => {
2477
+ if (timer) clearInterval(timer);
2478
+ rootObserver.disconnect();
2479
+ window.removeEventListener("message", handleMessage);
2480
+ };
2481
+ };
2482
+
2355
2483
  //#endregion
2356
2484
  //#region src/action.ts
2485
+ /**
2486
+ * Edgeが起動するアクションに関連するコードを管理する
2487
+ *
2488
+ * アクションのCreate, Destroyの状態はここで管理する。
2489
+ */
2357
2490
  const emptyOptions = {
2358
2491
  send: () => {},
2359
2492
  publish: () => {},
@@ -2391,6 +2524,7 @@ function create(App, options) {
2391
2524
  publish: options.publish,
2392
2525
  data
2393
2526
  };
2527
+ const destroyPreview = initPreview();
2394
2528
  const handleDestroy = () => {
2395
2529
  const { onDestroyHandlers } = getInternalHandlers();
2396
2530
  onDestroyHandlers?.forEach((h$1) => {
@@ -2399,6 +2533,7 @@ function create(App, options) {
2399
2533
  });
2400
2534
  const { onDestroyHandlers: onDestroyWidgetHandlers } = getWidgetHandlers();
2401
2535
  if (onDestroyWidgetHandlers) onDestroyWidgetHandlers.forEach((h$1) => h$1(actionProps));
2536
+ destroyPreview();
2402
2537
  };
2403
2538
  setSystem({
2404
2539
  apiKey: data.api_key || null,
@@ -2554,8 +2689,7 @@ function formDataToEventValues$1(campaignId, formData$1) {
2554
2689
  }
2555
2690
  function formDataToIdentifyEventValues$1(formData$1) {
2556
2691
  return Object.fromEntries(Object.entries(formData$1).map(([name, dataItem]) => {
2557
- const value = dataItem.value;
2558
- return [name, value];
2692
+ return [name, dataItem.value];
2559
2693
  }));
2560
2694
  }
2561
2695
  /** @internal */
@@ -2676,6 +2810,9 @@ function sendAnswers() {
2676
2810
 
2677
2811
  //#endregion
2678
2812
  //#region src/widget.ts
2813
+ /**
2814
+ * エディタv1のWidget API 互換のインターフェース
2815
+ */
2679
2816
  var widget_exports = /* @__PURE__ */ __export({
2680
2817
  collection: () => collection$1,
2681
2818
  getState: () => getState$1,
@@ -3374,29 +3511,25 @@ const useBrandKit = () => {
3374
3511
  function createComponentRawCss(layerId, define) {
3375
3512
  const rootSelector = `[data-layer-id="${layerId}"]`;
3376
3513
  const gen = (selector, styles) => {
3377
- const childSelector = selector.startsWith("&") ? selector.slice(1) : ` ${selector}`;
3378
- const body = Object.entries(styles).map(([k, v]) => {
3514
+ return `${rootSelector}${selector.startsWith("&") ? selector.slice(1) : ` ${selector}`} {\n${Object.entries(styles).map(([k, v]) => {
3379
3515
  if (!v) return "";
3380
3516
  return `${k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}: ${v};`;
3381
- }).filter((v) => v !== "").join("\n");
3382
- return `${rootSelector}${childSelector} {\n${body}\n}`;
3517
+ }).filter((v) => v !== "").join("\n")}\n}`;
3383
3518
  };
3384
3519
  return define(gen).join("\n");
3385
3520
  }
3386
3521
  function toResponsiveSelector(responsiveSetting, body) {
3387
- const { mediaQueryCondition, userAgentCondition } = responsiveSetting;
3388
- if (mediaQueryCondition) {
3389
- const { raw, range, orientation } = mediaQueryCondition;
3522
+ const { breakpointId } = responsiveSetting;
3523
+ const breakpoint = getBreakpoints().find((v) => v.id === breakpointId);
3524
+ if (breakpoint && breakpoint.mediaQuery) {
3525
+ const { maxWidth, minWidth, orientation } = breakpoint.mediaQuery;
3390
3526
  const prefix = `@media screen and`;
3391
- if (raw) return `${prefix} (${raw}) {\n${body}\n}`;
3392
3527
  const orientationStyle = orientation ? ` and (orientation: ${orientation})` : "";
3393
- if (range) {
3394
- if (range.min && range.max) return `${prefix} (min-width: ${range.min}px)${orientationStyle} and (max-width: ${range.max}) {\n${body}\n}`;
3395
- else if (range.max) return `${prefix} (max-width: ${range.max}px)${orientationStyle} {\n${body}\n}`;
3396
- else if (range.min) return `${prefix} (min-width: ${range.min}px)${orientationStyle} {\n${body}\n}`;
3397
- }
3528
+ if (minWidth && maxWidth) return `${prefix} (min-width: ${minWidth}px)${orientationStyle} and (max-width: ${maxWidth}px) {\n${body}\n}`;
3529
+ else if (maxWidth) return `${prefix} (max-width: ${maxWidth}px)${orientationStyle} {\n${body}\n}`;
3530
+ else if (minWidth) return `${prefix} (min-width: ${minWidth}px)${orientationStyle} {\n${body}\n}`;
3398
3531
  return "";
3399
- } else if (userAgentCondition) return "";
3532
+ }
3400
3533
  return "";
3401
3534
  }
3402
3535
  function toStyleTag(css) {
@@ -3441,7 +3574,9 @@ function State($$anchor, $$props) {
3441
3574
  $.push($$props, false);
3442
3575
  let customBrandKit = $.prop($$props, "customBrandKit", 8, void 0);
3443
3576
  let globalCssCode = $.prop($$props, "globalCssCode", 8, void 0);
3577
+ let breakpoints$1 = $.prop($$props, "breakpoints", 24, () => []);
3444
3578
  setContext("brandKit", getBrandKit(customBrandKit()));
3579
+ setBreakpoints(breakpoints$1());
3445
3580
  $.init();
3446
3581
  var fragment = root$55();
3447
3582
  var node = $.first_child(fragment);
@@ -3512,57 +3647,25 @@ const ROUND_VARIANT = {
3512
3647
  };
3513
3648
 
3514
3649
  //#endregion
3515
- //#region src/components-flex/responsive.ts
3516
- const USER_AGENT_VARIANT = {
3517
- smartphone: { regex: /iPhone|Android.*Mobile/i },
3518
- tablet: { regex: /iPad|Android(?!.*Mobile)/i },
3519
- pc: { regex: /Windows NT|Macintosh|Linux x86_64/i },
3520
- windows: { regex: /Windows NT/i },
3521
- mac: { regex: /Macintosh|Mac OS X/i },
3522
- ios: { regex: /iPhone|iPad|iPod/i },
3523
- android: { regex: /Android/i },
3524
- safari: { regex: /Safari/i },
3525
- chrome: { regex: /Chrome|CriOS/i },
3526
- firefox: { regex: /Firefox/i },
3527
- ios_webview: { regex: /iPhone|iPad|iPod/i },
3528
- android_webview: { regex: /; wv\)/i }
3529
- };
3650
+ //#region src/components-flex/responsiveProp.ts
3530
3651
  const isMatchMediaQueryCondition = (condition) => {
3531
- const { raw, range, orientation } = condition;
3652
+ const { minWidth, maxWidth, orientation } = condition;
3532
3653
  if (orientation) return window.matchMedia(`(orientation: ${condition.orientation})`).matches;
3533
- if (range) {
3534
- const { min, max } = range;
3535
- if (typeof min === "number" && typeof max === "number") return window.matchMedia(`(min-width: ${min}px) and (max-width: ${max}px)`).matches;
3536
- else if (typeof min === "number") return window.matchMedia(`(min-width: ${min}px)`).matches;
3537
- else if (typeof max === "number") return window.matchMedia(`(max-width: ${max}px)`).matches;
3538
- }
3539
- if (raw) return window.matchMedia(raw).matches;
3654
+ if (typeof minWidth === "number" && typeof maxWidth === "number") return window.matchMedia(`(min-width: ${minWidth}px) and (max-width: ${maxWidth}px)`).matches;
3655
+ else if (typeof minWidth === "number") return window.matchMedia(`(min-width: ${minWidth}px)`).matches;
3656
+ else if (typeof maxWidth === "number") return window.matchMedia(`(max-width: ${maxWidth}px)`).matches;
3540
3657
  return false;
3541
3658
  };
3542
- const isMatchUserAgentCondition = (condition) => {
3543
- const { variants, regex } = condition;
3544
- if (variants) return variants.some((variant) => {
3545
- const regex$1 = USER_AGENT_VARIANT[variant]?.regex;
3546
- if (!regex$1) return false;
3547
- return new RegExp(regex$1).test(navigator.userAgent);
3548
- });
3549
- else if (regex) return new RegExp(regex).test(navigator.userAgent);
3550
- return false;
3551
- };
3552
- const isMatchResponsiveSetting = (setting) => {
3553
- const { mediaQueryCondition, userAgentCondition } = setting;
3554
- if (mediaQueryCondition) return isMatchMediaQueryCondition(mediaQueryCondition);
3555
- else if (userAgentCondition) return isMatchUserAgentCondition(userAgentCondition);
3556
- else return false;
3557
- };
3558
3659
  function useResponsiveProps(props) {
3559
3660
  return readable(props, (set) => {
3560
3661
  if (!props.responsiveSettings) {
3561
3662
  set(props);
3562
3663
  return () => {};
3563
3664
  }
3665
+ const breakpoints$1 = getBreakpoints();
3564
3666
  const update = () => {
3565
- const matchedSetting = [...props.responsiveSettings ?? []].reverse().find(isMatchResponsiveSetting);
3667
+ const breakpoint = breakpoints$1.find((v) => v.mediaQuery && isMatchMediaQueryCondition(v.mediaQuery));
3668
+ const matchedSetting = props.responsiveSettings.find((v) => v.breakpointId === breakpoint?.id);
3566
3669
  if (matchedSetting) set(Object.assign({}, props, matchedSetting.props ?? {}));
3567
3670
  else set(props);
3568
3671
  };
@@ -3578,10 +3681,12 @@ function useResponsiveProps(props) {
3578
3681
 
3579
3682
  //#endregion
3580
3683
  //#region src/functions.ts
3684
+ /**
3685
+ * モーダル(ポップアップ)のコンポーネントが利用するコードの管理
3686
+ */
3581
3687
  function _moveTo(to) {
3582
- const currentState = getState();
3583
3688
  dispatchActionEvent(ACTION_CHANGE_STATE_EVENT, { detail: {
3584
- from: currentState,
3689
+ from: getState(),
3585
3690
  to,
3586
3691
  actionId
3587
3692
  } });
@@ -3746,36 +3851,12 @@ const execOnClickOperation = (onClickOperation) => {
3746
3851
  function getAnimation(animation) {
3747
3852
  switch (animation.type) {
3748
3853
  case "fade": return `opacity: ${animation.progress}`;
3749
- case "bounce": {
3750
- const translateX = animation.x;
3751
- const translateY = animation.y;
3752
- return `transform: translate3d(${translateX}%, ${translateY}%, 0) scale(${animation.progress});`;
3753
- }
3754
- case "slide-down": {
3755
- const translateX = animation.x;
3756
- const translateY = animation.y - 100 * (1 - animation.progress);
3757
- return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
3758
- }
3759
- case "slide-up": {
3760
- const translateX = animation.x;
3761
- const translateY = animation.y + 100 * (1 - animation.progress);
3762
- return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
3763
- }
3764
- case "slide-left": {
3765
- const translateX = animation.x + 100 * (1 - animation.progress);
3766
- const translateY = animation.y;
3767
- return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
3768
- }
3769
- case "slide-right": {
3770
- const translateX = animation.x - 100 * (1 - animation.progress);
3771
- const translateY = animation.y;
3772
- return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
3773
- }
3774
- case "none": {
3775
- const translateX = animation.x;
3776
- const translateY = animation.y;
3777
- return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
3778
- }
3854
+ case "bounce": return `transform: translate3d(${animation.x}%, ${animation.y}%, 0) scale(${animation.progress});`;
3855
+ case "slide-down": return `transform: translate3d(${animation.x}%, ${animation.y - 100 * (1 - animation.progress)}%, 0);`;
3856
+ case "slide-up": return `transform: translate3d(${animation.x}%, ${animation.y + 100 * (1 - animation.progress)}%, 0);`;
3857
+ case "slide-left": return `transform: translate3d(${animation.x + 100 * (1 - animation.progress)}%, ${animation.y}%, 0);`;
3858
+ case "slide-right": return `transform: translate3d(${animation.x - 100 * (1 - animation.progress)}%, ${animation.y}%, 0);`;
3859
+ case "none": return `transform: translate3d(${animation.x}%, ${animation.y}%, 0);`;
3779
3860
  default:
3780
3861
  console.warn(`[action-sdk] invalid '${animation}', so we use 'transform: none' instead`);
3781
3862
  return "transform: none";
@@ -4185,11 +4266,7 @@ var Avatar_css_default = (layerId, props) => {
4185
4266
  appearance: "none"
4186
4267
  }),
4187
4268
  toDynamicStyle$3(layerId, props),
4188
- ...props.responsiveSettings?.map((v) => {
4189
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$3(layerId, v.props));
4190
- else if (v.userAgentCondition) return "";
4191
- return "";
4192
- }) ?? [],
4269
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$3(layerId, v.props))) ?? [],
4193
4270
  props.customizeCss
4194
4271
  ]);
4195
4272
  };
@@ -4825,14 +4902,10 @@ var Icon_css_default = (layerId, props, _brandKit) => {
4825
4902
  style("&[aria-disabled=\"true\"]:hover", { opacity: "0.24" }),
4826
4903
  style("&[aria-hidden=\"true\"]", { display: "none" }),
4827
4904
  toDynamicStyle$2(layerId, props),
4828
- ...props.responsiveSettings?.map((v) => {
4829
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$2(layerId, {
4830
- variant: v.props.variant ?? props.variant,
4831
- ...v.props
4832
- }));
4833
- else if (v.userAgentCondition) return "";
4834
- return "";
4835
- }) ?? [],
4905
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$2(layerId, {
4906
+ variant: v.props.variant ?? props.variant,
4907
+ ...v.props
4908
+ }))) ?? [],
4836
4909
  props.customizeCss
4837
4910
  ]);
4838
4911
  };
@@ -4904,8 +4977,7 @@ function Icon($$anchor, $$props) {
4904
4977
  //#region src/components-flex/styles.ts
4905
4978
  const getPropStyles = (callback$5) => {
4906
4979
  return (customBrandKit) => {
4907
- const brandKit = getBrandKit(customBrandKit);
4908
- return callback$5({ brandKit });
4980
+ return callback$5({ brandKit: getBrandKit(customBrandKit) });
4909
4981
  };
4910
4982
  };
4911
4983
 
@@ -5097,11 +5169,7 @@ var Button_css_default = (layerId, props, brandKit) => {
5097
5169
  marginRight: "-0.2em"
5098
5170
  }),
5099
5171
  toDynamicStyle$1(layerId, props, brandKit),
5100
- ...props.responsiveSettings?.map((v) => {
5101
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$1(layerId, v.props, brandKit));
5102
- else if (v.userAgentCondition) return "";
5103
- return "";
5104
- }) ?? [],
5172
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$1(layerId, v.props, brandKit))) ?? [],
5105
5173
  props.customizeCss
5106
5174
  ]);
5107
5175
  };
@@ -6009,11 +6077,7 @@ var Layout_css_default = (layerId, props, brandKit) => {
6009
6077
  style("&[data-clickable=\"true\"]", { cursor: "pointer" }),
6010
6078
  style("&[data-clickable=\"true\"]:hover", { opacity: .8 }),
6011
6079
  toDynamicStyle$4(props),
6012
- ...props.responsiveSettings?.map((v) => {
6013
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$4(v.props));
6014
- else if (v.userAgentCondition) return "";
6015
- return "";
6016
- }) ?? [],
6080
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$4(v.props))) ?? [],
6017
6081
  props.customizeCss
6018
6082
  ]);
6019
6083
  };
@@ -6496,14 +6560,10 @@ var Text_css_default = (layerId, props, brandKit) => {
6496
6560
  wordBreak: "break-all"
6497
6561
  }),
6498
6562
  toDynamicStyle$4(props),
6499
- ...props.responsiveSettings?.map((v) => {
6500
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$4({
6501
- ...v.props,
6502
- content: v.props.content ?? props.content
6503
- }));
6504
- else if (v.userAgentCondition) return "";
6505
- return "";
6506
- }) ?? [],
6563
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$4({
6564
+ ...v.props,
6565
+ content: v.props.content ?? props.content
6566
+ }))) ?? [],
6507
6567
  props.customizeCss
6508
6568
  ]);
6509
6569
  };
@@ -6701,14 +6761,10 @@ var TextLink_css_default = (layerId, props, brandKit) => {
6701
6761
  style("&[aria-disabled=\"true\"]:hover", { opacity: "0.24" }),
6702
6762
  style("&[aria-hidden=\"true\"]", { display: "none" }),
6703
6763
  toDynamicStyle(layerId, props, brandKit),
6704
- ...props.responsiveSettings?.map((v) => {
6705
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle(layerId, {
6706
- ...v.props,
6707
- label: v.props.label ?? props.label
6708
- }, brandKit));
6709
- else if (v.userAgentCondition) return "";
6710
- return "";
6711
- }) ?? [],
6764
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle(layerId, {
6765
+ ...v.props,
6766
+ label: v.props.label ?? props.label
6767
+ }, brandKit))) ?? [],
6712
6768
  props.customizeCss
6713
6769
  ]);
6714
6770
  };
@@ -7059,8 +7115,7 @@ function Modal($$anchor, $$props) {
7059
7115
  $.get(backgroundClickPC)?.apply(this, $$args);
7060
7116
  } }
7061
7117
  });
7062
- var node_2 = $.sibling(node_1, 2);
7063
- BackgroundOverlay(node_2, {
7118
+ BackgroundOverlay($.sibling(node_1, 2), {
7064
7119
  class: "background-bp-sp ",
7065
7120
  get zIndex() {
7066
7121
  return props().zIndex;
@@ -7596,15 +7651,11 @@ function CountDown($$anchor, $$props) {
7596
7651
  return limit - (/* @__PURE__ */ new Date()).getTime();
7597
7652
  }
7598
7653
  function formatTimeDiff(ms) {
7599
- const diffDay = Math.floor(ms / 1e3 / 60 / 60 / 24);
7600
- const diffHour = Math.floor(ms / 1e3 / 60 / 60) % 24;
7601
- const diffMin = Math.floor(ms / 1e3 / 60) % 60;
7602
- const diffSec = Math.floor(ms / 1e3) % 60;
7603
7654
  return {
7604
- day: diffDay,
7605
- hour: diffHour,
7606
- min: diffMin,
7607
- sec: diffSec
7655
+ day: Math.floor(ms / 1e3 / 60 / 60 / 24),
7656
+ hour: Math.floor(ms / 1e3 / 60 / 60) % 24,
7657
+ min: Math.floor(ms / 1e3 / 60) % 60,
7658
+ sec: Math.floor(ms / 1e3) % 60
7608
7659
  };
7609
7660
  }
7610
7661
  function onEachSecond() {
@@ -7696,24 +7747,22 @@ const useText = (props, layerId) => {
7696
7747
  fontWeight: getFontWeight()
7697
7748
  };
7698
7749
  };
7699
- const escapedHTML = props.content.replace(/&/g, "&lt;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;").replace(/\n/g, "<br />");
7700
- const style = objToStyle({
7701
- position: props?.position ?? "static",
7702
- textAlign: props.align,
7703
- width: props.width,
7704
- fontFamily: `"${fontFamily}"`,
7705
- color: getColor(),
7706
- ...getCssSize(),
7707
- ...toCssRadius(props),
7708
- ...toCssBackground(props),
7709
- ...toCssCommon(props),
7710
- ...toCssPosition(props),
7711
- ...toCssPadding(props),
7712
- ...toCssBorder(props)
7713
- });
7714
7750
  return {
7715
- escapedHTML,
7716
- style
7751
+ escapedHTML: props.content.replace(/&/g, "&lt;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;").replace(/\n/g, "<br />"),
7752
+ style: objToStyle({
7753
+ position: props?.position ?? "static",
7754
+ textAlign: props.align,
7755
+ width: props.width,
7756
+ fontFamily: `"${fontFamily}"`,
7757
+ color: getColor(),
7758
+ ...getCssSize(),
7759
+ ...toCssRadius(props),
7760
+ ...toCssBackground(props),
7761
+ ...toCssCommon(props),
7762
+ ...toCssPosition(props),
7763
+ ...toCssPadding(props),
7764
+ ...toCssBorder(props)
7765
+ })
7717
7766
  };
7718
7767
  };
7719
7768
 
@@ -7821,7 +7870,7 @@ var root$3 = $.template(`<!> <!>`, 1);
7821
7870
  function ClipCopy($$anchor, $$props) {
7822
7871
  $.push($$props, false);
7823
7872
  const [$$stores, $$cleanup] = $.setup_stores();
7824
- const $responsiveProps = () => $.store_get(responsiveProps, "$responsiveProps", $$stores);
7873
+ const $responsiveSettings = () => $.store_get(responsiveSettings, "$responsiveSettings", $$stores);
7825
7874
  const rProps = $.mutable_state();
7826
7875
  let props = $.prop($$props, "props", 24, () => ({}));
7827
7876
  let layerId = $.prop($$props, "layerId", 24, () => crypto.randomUUID());
@@ -7829,7 +7878,7 @@ function ClipCopy($$anchor, $$props) {
7829
7878
  let buttonElement = $.mutable_state();
7830
7879
  let showTooltip = $.mutable_state(false);
7831
7880
  const cssCode = ClipCopy_css_default(layerId(), props());
7832
- const responsiveProps = useResponsiveProps(props());
7881
+ const responsiveSettings = useResponsiveProps(props());
7833
7882
  const handleClick = async (e) => {
7834
7883
  e.preventDefault();
7835
7884
  const targetText = $.get(rProps).content ?? $.get(buttonElement)?.innerText ?? "";
@@ -7846,8 +7895,8 @@ function ClipCopy($$anchor, $$props) {
7846
7895
  console.warn(e$1);
7847
7896
  }
7848
7897
  };
7849
- $.legacy_pre_effect(() => $responsiveProps(), () => {
7850
- $.set(rProps, $responsiveProps());
7898
+ $.legacy_pre_effect(() => $responsiveSettings(), () => {
7899
+ $.set(rProps, $responsiveSettings());
7851
7900
  });
7852
7901
  $.legacy_pre_effect_reset();
7853
7902
  $.init();
@@ -9150,4 +9199,4 @@ const flexComponentSchemes = {
9150
9199
  };
9151
9200
 
9152
9201
  //#endregion
9153
- export { ACTION_HOOK_LABEL, ASPECT_VARIANT, ASPECT_VARIANTS, AVATAR_SHAPE, AVATAR_SIZE, AVATAR_SIZE_STYLES, Alignments, AnimationStyles, BACKGROUND_COLOR_VARIANT, BACKGROUND_COLOR_VARIANTS, BORDER_COLOR_VARIANT, BORDER_COLOR_VARIANTS, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME, BUTTON_THEME, BUTTON_VARIANT, BUTTON_WRAP_STYLES, BackgroundSizes, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, FONT_FAMILY_VARIANT, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, FORM_FIELD_LABEL_SIZE, FORM_FIELD_LABEL_THEME, FORM_FIELD_SIZE, FORM_FIELD_TYPE, FORM_FIELD_VARIANT, FORM_FIELD_VARIANT_FOR_CHECKER, FORM_IDENTIFY_FIELD_TYPE, FORM_INPUT_TYPE, FORM_VALIDATION_DEFAULT_ERROR_MESSAGES, FORM_VALIDATION_REGEX, FORM_VALIDATION_TYPE, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, ClipCopy as FlexClipCopy, CloseButton as FlexCloseButton, Code as FlexCode, CountDown as FlexCountDown, CountDownValue as FlexCountDownValue, FlexDirections, Embed as FlexEmbed, Form as FlexForm, FormBoolean as FlexFormBoolean, FormCheckboxes as FlexFormCheckboxes, FormField as FlexFormField, FormIdentifyField as FlexFormIdentifyField, FormInput as FlexFormInput, FormRadios as FlexFormRadios, FormSelect as FlexFormSelect, FormTextarea as FlexFormTextarea, Icon as FlexIcon, Image as FlexImage, Layout as FlexLayout, List as FlexList, ListItem as FlexListItem, Modal as FlexModal, MultiColumn as FlexMultiColumn, MultiColumnItem as FlexMultiColumnItem, RichText as FlexRichText, Slider as FlexSlider, SliderItem as FlexSliderItem, Text as FlexText, TextLink as FlexTextLink, Youtube as FlexYoutube, Fonts, FormIdentifyBooleanFields, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, ICON_SIZE, ICON_SIZE_STYLES, ICON_VARIANTS, IMAGE_ASPECT_VARIANTS, IMAGE_ROUND_SHAPE, IMAGE_ROUND_STYLES, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LIST_ITEM_CONTEXT_KEY, LengthUnits, ListBackgroundTypes, ListDirections, ListSeparatorTypes, MULTI_COLUMN_ITEM_CONTEXT_KEY, MediaQueries, ModalPositions, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_VARIANT, SHADOW_VARIANTS, SYSTEM_FONT, State, StateItem, TEXT_LINK_SIZE, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TEXT_STYLE, TEXT_THEME, TEXT_VARIANTS, TextDirections, USER_AGENT_VARIANT, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection, create, createApp, createFog, createProp, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, flexComponentSchemes, formData, formStore, formSubmittedIdentifyValues, formSubmittedValues, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getBrandKit, getButtonOutlinedThemeStyles, getButtonTextThemeStyles, getButtonThemeStyles, getCssVariables, getEventHandlers, getEvents, getFormErrors, getFormFieldSchema, getFormFieldState, getFormFieldValue, getFormValues, getLogs, getState, getStates, getSystem, getTextLinkThemeStyles, getTextThemeStyles, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onSubmitForm, onTime, registerFormField, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setFormFieldError, setFormFieldTouched, setFormFieldValue, setSetting, setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, unregisterFormField, useBrandKit, useResponsiveProps, validateFormField, variables, widget_exports as widget };
9202
+ export { ACTION_HOOK_LABEL, ASPECT_VARIANT, ASPECT_VARIANTS, AVATAR_SHAPE, AVATAR_SIZE, AVATAR_SIZE_STYLES, Alignments, AnimationStyles, BACKGROUND_COLOR_VARIANT, BACKGROUND_COLOR_VARIANTS, BORDER_COLOR_VARIANT, BORDER_COLOR_VARIANTS, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME, BUTTON_THEME, BUTTON_VARIANT, BUTTON_WRAP_STYLES, BackgroundSizes, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, FONT_FAMILY_VARIANT, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, FORM_FIELD_LABEL_SIZE, FORM_FIELD_LABEL_THEME, FORM_FIELD_SIZE, FORM_FIELD_TYPE, FORM_FIELD_VARIANT, FORM_FIELD_VARIANT_FOR_CHECKER, FORM_IDENTIFY_FIELD_TYPE, FORM_INPUT_TYPE, FORM_VALIDATION_DEFAULT_ERROR_MESSAGES, FORM_VALIDATION_REGEX, FORM_VALIDATION_TYPE, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, ClipCopy as FlexClipCopy, CloseButton as FlexCloseButton, Code as FlexCode, CountDown as FlexCountDown, CountDownValue as FlexCountDownValue, FlexDirections, Embed as FlexEmbed, Form as FlexForm, FormBoolean as FlexFormBoolean, FormCheckboxes as FlexFormCheckboxes, FormField as FlexFormField, FormIdentifyField as FlexFormIdentifyField, FormInput as FlexFormInput, FormRadios as FlexFormRadios, FormSelect as FlexFormSelect, FormTextarea as FlexFormTextarea, Icon as FlexIcon, Image as FlexImage, Layout as FlexLayout, List as FlexList, ListItem as FlexListItem, Modal as FlexModal, MultiColumn as FlexMultiColumn, MultiColumnItem as FlexMultiColumnItem, RichText as FlexRichText, Slider as FlexSlider, SliderItem as FlexSliderItem, Text as FlexText, TextLink as FlexTextLink, Youtube as FlexYoutube, Fonts, FormIdentifyBooleanFields, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, ICON_SIZE, ICON_SIZE_STYLES, ICON_VARIANTS, IMAGE_ASPECT_VARIANTS, IMAGE_ROUND_SHAPE, IMAGE_ROUND_STYLES, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LIST_ITEM_CONTEXT_KEY, LengthUnits, ListBackgroundTypes, ListDirections, ListSeparatorTypes, MULTI_COLUMN_ITEM_CONTEXT_KEY, MediaQueries, ModalPositions, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_VARIANT, SHADOW_VARIANTS, SYSTEM_FONT, State, StateItem, TEXT_LINK_SIZE, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TEXT_STYLE, TEXT_THEME, TEXT_VARIANTS, TextDirections, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection, create, createApp, createFog, createProp, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, flexComponentSchemes, formData, formStore, formSubmittedIdentifyValues, formSubmittedValues, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getBrandKit, getButtonOutlinedThemeStyles, getButtonTextThemeStyles, getButtonThemeStyles, getCssVariables, getEventHandlers, getEvents, getFormErrors, getFormFieldSchema, getFormFieldState, getFormFieldValue, getFormValues, getLogs, getState, getStates, getSystem, getTextLinkThemeStyles, getTextThemeStyles, getVariables, hideOnScroll, hideOnTime, initPreview, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onSubmitForm, onTime, registerFormField, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setFormFieldError, setFormFieldTouched, setFormFieldValue, setSetting, setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, unregisterFormField, useBrandKit, useResponsiveProps, validateFormField, variables, widget_exports as widget };