@plaidev/karte-action-sdk 1.1.270-29419384.246a50882 → 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 +168 -102
  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 +168 -102
  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 +157 -94
  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 +157 -94
  32. package/dist/svelte5/index.front2.es.js +157 -94
  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 +1 -1
  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
@@ -58,6 +58,9 @@ const NOOP = (_args) => {};
58
58
  /** @internal */
59
59
  const isPreview = () => isInFrame();
60
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
+ };
61
64
  const isOnSite = () => typeof document !== "undefined" ? (document?.querySelector("#preview")?.getAttribute("data-on-site") ?? "true") === "true" : true;
62
65
  const isInFrame = () => window && window.self !== window.top;
63
66
  /** @internal */
@@ -1147,6 +1150,33 @@ function setDestroyed(on$1) {
1147
1150
  *
1148
1151
  * @internal
1149
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
+ */
1150
1180
  const variables = writable({});
1151
1181
  /**
1152
1182
  * 変数の一覧を取得する
@@ -2363,6 +2393,93 @@ async function loadGlobalStyle(href) {
2363
2393
  });
2364
2394
  }
2365
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
+
2366
2483
  //#endregion
2367
2484
  //#region src/action.ts
2368
2485
  /**
@@ -2407,6 +2524,7 @@ function create(App, options) {
2407
2524
  publish: options.publish,
2408
2525
  data
2409
2526
  };
2527
+ const destroyPreview = initPreview();
2410
2528
  const handleDestroy = () => {
2411
2529
  const { onDestroyHandlers } = getInternalHandlers();
2412
2530
  onDestroyHandlers?.forEach((h$1) => {
@@ -2415,6 +2533,7 @@ function create(App, options) {
2415
2533
  });
2416
2534
  const { onDestroyHandlers: onDestroyWidgetHandlers } = getWidgetHandlers();
2417
2535
  if (onDestroyWidgetHandlers) onDestroyWidgetHandlers.forEach((h$1) => h$1(actionProps));
2536
+ destroyPreview();
2418
2537
  };
2419
2538
  setSystem({
2420
2539
  apiKey: data.api_key || null,
@@ -3400,19 +3519,17 @@ function createComponentRawCss(layerId, define) {
3400
3519
  return define(gen).join("\n");
3401
3520
  }
3402
3521
  function toResponsiveSelector(responsiveSetting, body) {
3403
- const { mediaQueryCondition, userAgentCondition } = responsiveSetting;
3404
- if (mediaQueryCondition) {
3405
- 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;
3406
3526
  const prefix = `@media screen and`;
3407
- if (raw) return `${prefix} (${raw}) {\n${body}\n}`;
3408
3527
  const orientationStyle = orientation ? ` and (orientation: ${orientation})` : "";
3409
- if (range) {
3410
- if (range.min && range.max) return `${prefix} (min-width: ${range.min}px)${orientationStyle} and (max-width: ${range.max}) {\n${body}\n}`;
3411
- else if (range.max) return `${prefix} (max-width: ${range.max}px)${orientationStyle} {\n${body}\n}`;
3412
- else if (range.min) return `${prefix} (min-width: ${range.min}px)${orientationStyle} {\n${body}\n}`;
3413
- }
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}`;
3414
3531
  return "";
3415
- } else if (userAgentCondition) return "";
3532
+ }
3416
3533
  return "";
3417
3534
  }
3418
3535
  function toStyleTag(css) {
@@ -3457,7 +3574,9 @@ function State($$anchor, $$props) {
3457
3574
  $.push($$props, false);
3458
3575
  let customBrandKit = $.prop($$props, "customBrandKit", 8, void 0);
3459
3576
  let globalCssCode = $.prop($$props, "globalCssCode", 8, void 0);
3577
+ let breakpoints$1 = $.prop($$props, "breakpoints", 24, () => []);
3460
3578
  setContext("brandKit", getBrandKit(customBrandKit()));
3579
+ setBreakpoints(breakpoints$1());
3461
3580
  $.init();
3462
3581
  var fragment = root$55();
3463
3582
  var node = $.first_child(fragment);
@@ -3528,57 +3647,25 @@ const ROUND_VARIANT = {
3528
3647
  };
3529
3648
 
3530
3649
  //#endregion
3531
- //#region src/components-flex/responsive.ts
3532
- const USER_AGENT_VARIANT = {
3533
- smartphone: { regex: /iPhone|Android.*Mobile/i },
3534
- tablet: { regex: /iPad|Android(?!.*Mobile)/i },
3535
- pc: { regex: /Windows NT|Macintosh|Linux x86_64/i },
3536
- windows: { regex: /Windows NT/i },
3537
- mac: { regex: /Macintosh|Mac OS X/i },
3538
- ios: { regex: /iPhone|iPad|iPod/i },
3539
- android: { regex: /Android/i },
3540
- safari: { regex: /Safari/i },
3541
- chrome: { regex: /Chrome|CriOS/i },
3542
- firefox: { regex: /Firefox/i },
3543
- ios_webview: { regex: /iPhone|iPad|iPod/i },
3544
- android_webview: { regex: /; wv\)/i }
3545
- };
3650
+ //#region src/components-flex/responsiveProp.ts
3546
3651
  const isMatchMediaQueryCondition = (condition) => {
3547
- const { raw, range, orientation } = condition;
3652
+ const { minWidth, maxWidth, orientation } = condition;
3548
3653
  if (orientation) return window.matchMedia(`(orientation: ${condition.orientation})`).matches;
3549
- if (range) {
3550
- const { min, max } = range;
3551
- if (typeof min === "number" && typeof max === "number") return window.matchMedia(`(min-width: ${min}px) and (max-width: ${max}px)`).matches;
3552
- else if (typeof min === "number") return window.matchMedia(`(min-width: ${min}px)`).matches;
3553
- else if (typeof max === "number") return window.matchMedia(`(max-width: ${max}px)`).matches;
3554
- }
3555
- 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;
3556
3657
  return false;
3557
3658
  };
3558
- const isMatchUserAgentCondition = (condition) => {
3559
- const { variants, regex } = condition;
3560
- if (variants) return variants.some((variant) => {
3561
- const regex$1 = USER_AGENT_VARIANT[variant]?.regex;
3562
- if (!regex$1) return false;
3563
- return new RegExp(regex$1).test(navigator.userAgent);
3564
- });
3565
- else if (regex) return new RegExp(regex).test(navigator.userAgent);
3566
- return false;
3567
- };
3568
- const isMatchResponsiveSetting = (setting) => {
3569
- const { mediaQueryCondition, userAgentCondition } = setting;
3570
- if (mediaQueryCondition) return isMatchMediaQueryCondition(mediaQueryCondition);
3571
- else if (userAgentCondition) return isMatchUserAgentCondition(userAgentCondition);
3572
- else return false;
3573
- };
3574
3659
  function useResponsiveProps(props) {
3575
3660
  return readable(props, (set) => {
3576
3661
  if (!props.responsiveSettings) {
3577
3662
  set(props);
3578
3663
  return () => {};
3579
3664
  }
3665
+ const breakpoints$1 = getBreakpoints();
3580
3666
  const update = () => {
3581
- 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);
3582
3669
  if (matchedSetting) set(Object.assign({}, props, matchedSetting.props ?? {}));
3583
3670
  else set(props);
3584
3671
  };
@@ -4179,11 +4266,7 @@ var Avatar_css_default = (layerId, props) => {
4179
4266
  appearance: "none"
4180
4267
  }),
4181
4268
  toDynamicStyle$3(layerId, props),
4182
- ...props.responsiveSettings?.map((v) => {
4183
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$3(layerId, v.props));
4184
- else if (v.userAgentCondition) return "";
4185
- return "";
4186
- }) ?? [],
4269
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$3(layerId, v.props))) ?? [],
4187
4270
  props.customizeCss
4188
4271
  ]);
4189
4272
  };
@@ -4819,14 +4902,10 @@ var Icon_css_default = (layerId, props, _brandKit) => {
4819
4902
  style("&[aria-disabled=\"true\"]:hover", { opacity: "0.24" }),
4820
4903
  style("&[aria-hidden=\"true\"]", { display: "none" }),
4821
4904
  toDynamicStyle$2(layerId, props),
4822
- ...props.responsiveSettings?.map((v) => {
4823
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$2(layerId, {
4824
- variant: v.props.variant ?? props.variant,
4825
- ...v.props
4826
- }));
4827
- else if (v.userAgentCondition) return "";
4828
- return "";
4829
- }) ?? [],
4905
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$2(layerId, {
4906
+ variant: v.props.variant ?? props.variant,
4907
+ ...v.props
4908
+ }))) ?? [],
4830
4909
  props.customizeCss
4831
4910
  ]);
4832
4911
  };
@@ -5090,11 +5169,7 @@ var Button_css_default = (layerId, props, brandKit) => {
5090
5169
  marginRight: "-0.2em"
5091
5170
  }),
5092
5171
  toDynamicStyle$1(layerId, props, brandKit),
5093
- ...props.responsiveSettings?.map((v) => {
5094
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$1(layerId, v.props, brandKit));
5095
- else if (v.userAgentCondition) return "";
5096
- return "";
5097
- }) ?? [],
5172
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$1(layerId, v.props, brandKit))) ?? [],
5098
5173
  props.customizeCss
5099
5174
  ]);
5100
5175
  };
@@ -6002,11 +6077,7 @@ var Layout_css_default = (layerId, props, brandKit) => {
6002
6077
  style("&[data-clickable=\"true\"]", { cursor: "pointer" }),
6003
6078
  style("&[data-clickable=\"true\"]:hover", { opacity: .8 }),
6004
6079
  toDynamicStyle$4(props),
6005
- ...props.responsiveSettings?.map((v) => {
6006
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$4(v.props));
6007
- else if (v.userAgentCondition) return "";
6008
- return "";
6009
- }) ?? [],
6080
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$4(v.props))) ?? [],
6010
6081
  props.customizeCss
6011
6082
  ]);
6012
6083
  };
@@ -6489,14 +6560,10 @@ var Text_css_default = (layerId, props, brandKit) => {
6489
6560
  wordBreak: "break-all"
6490
6561
  }),
6491
6562
  toDynamicStyle$4(props),
6492
- ...props.responsiveSettings?.map((v) => {
6493
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$4({
6494
- ...v.props,
6495
- content: v.props.content ?? props.content
6496
- }));
6497
- else if (v.userAgentCondition) return "";
6498
- return "";
6499
- }) ?? [],
6563
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$4({
6564
+ ...v.props,
6565
+ content: v.props.content ?? props.content
6566
+ }))) ?? [],
6500
6567
  props.customizeCss
6501
6568
  ]);
6502
6569
  };
@@ -6694,14 +6761,10 @@ var TextLink_css_default = (layerId, props, brandKit) => {
6694
6761
  style("&[aria-disabled=\"true\"]:hover", { opacity: "0.24" }),
6695
6762
  style("&[aria-hidden=\"true\"]", { display: "none" }),
6696
6763
  toDynamicStyle(layerId, props, brandKit),
6697
- ...props.responsiveSettings?.map((v) => {
6698
- if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle(layerId, {
6699
- ...v.props,
6700
- label: v.props.label ?? props.label
6701
- }, brandKit));
6702
- else if (v.userAgentCondition) return "";
6703
- return "";
6704
- }) ?? [],
6764
+ ...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle(layerId, {
6765
+ ...v.props,
6766
+ label: v.props.label ?? props.label
6767
+ }, brandKit))) ?? [],
6705
6768
  props.customizeCss
6706
6769
  ]);
6707
6770
  };
@@ -7807,7 +7870,7 @@ var root$3 = $.template(`<!> <!>`, 1);
7807
7870
  function ClipCopy($$anchor, $$props) {
7808
7871
  $.push($$props, false);
7809
7872
  const [$$stores, $$cleanup] = $.setup_stores();
7810
- const $responsiveProps = () => $.store_get(responsiveProps, "$responsiveProps", $$stores);
7873
+ const $responsiveSettings = () => $.store_get(responsiveSettings, "$responsiveSettings", $$stores);
7811
7874
  const rProps = $.mutable_state();
7812
7875
  let props = $.prop($$props, "props", 24, () => ({}));
7813
7876
  let layerId = $.prop($$props, "layerId", 24, () => crypto.randomUUID());
@@ -7815,7 +7878,7 @@ function ClipCopy($$anchor, $$props) {
7815
7878
  let buttonElement = $.mutable_state();
7816
7879
  let showTooltip = $.mutable_state(false);
7817
7880
  const cssCode = ClipCopy_css_default(layerId(), props());
7818
- const responsiveProps = useResponsiveProps(props());
7881
+ const responsiveSettings = useResponsiveProps(props());
7819
7882
  const handleClick = async (e) => {
7820
7883
  e.preventDefault();
7821
7884
  const targetText = $.get(rProps).content ?? $.get(buttonElement)?.innerText ?? "";
@@ -7832,8 +7895,8 @@ function ClipCopy($$anchor, $$props) {
7832
7895
  console.warn(e$1);
7833
7896
  }
7834
7897
  };
7835
- $.legacy_pre_effect(() => $responsiveProps(), () => {
7836
- $.set(rProps, $responsiveProps());
7898
+ $.legacy_pre_effect(() => $responsiveSettings(), () => {
7899
+ $.set(rProps, $responsiveSettings());
7837
7900
  });
7838
7901
  $.legacy_pre_effect_reset();
7839
7902
  $.init();
@@ -9136,4 +9199,4 @@ const flexComponentSchemes = {
9136
9199
  };
9137
9200
 
9138
9201
  //#endregion
9139
- 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 };