@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.
- package/dist/components-flex/css.d.ts +2 -2
- package/dist/components-flex/props.d.ts +2 -2
- package/dist/components-flex/responsiveProp.d.ts +7 -0
- package/dist/hydrate/components-flex/css.d.ts +2 -2
- package/dist/hydrate/components-flex/props.d.ts +2 -2
- package/dist/hydrate/components-flex/responsiveProp.d.ts +7 -0
- package/dist/hydrate/index.d.ts +1 -0
- package/dist/hydrate/index.es.js +260 -204
- package/dist/hydrate/index.svelte5.d.ts +2 -1
- package/dist/hydrate/preview.d.ts +28 -0
- package/dist/hydrate/stores.d.ts +22 -1
- package/dist/hydrate/types.d.ts +13 -0
- package/dist/hydrate/utils.d.ts +1 -0
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +260 -204
- package/dist/preview.d.ts +28 -0
- package/dist/stores.d.ts +22 -1
- package/dist/svelte5/components-flex/css.d.ts +2 -2
- package/dist/svelte5/components-flex/props.d.ts +2 -2
- package/dist/svelte5/components-flex/responsiveProp.d.ts +7 -0
- package/dist/svelte5/hydrate/components-flex/css.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/props.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/responsiveProp.d.ts +7 -0
- package/dist/svelte5/hydrate/index.es.d.ts +2 -1
- package/dist/svelte5/hydrate/index.es.js +235 -186
- package/dist/svelte5/hydrate/preview.d.ts +28 -0
- package/dist/svelte5/hydrate/stores.d.ts +22 -1
- package/dist/svelte5/hydrate/types.d.ts +13 -0
- package/dist/svelte5/hydrate/utils.d.ts +1 -0
- package/dist/svelte5/index.es.d.ts +2 -1
- package/dist/svelte5/index.es.js +235 -186
- package/dist/svelte5/index.front2.es.js +236 -188
- package/dist/svelte5/index.svelte5.d.ts +2 -1
- package/dist/svelte5/preview.d.ts +28 -0
- package/dist/svelte5/stores.d.ts +22 -1
- package/dist/svelte5/types.d.ts +13 -0
- package/dist/svelte5/utils.d.ts +1 -0
- package/dist/templates.cjs.js +3 -2
- package/dist/templates.js +3 -2
- package/dist/types.d.ts +13 -0
- package/dist/utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components-flex/responsive.d.ts +0 -26
- package/dist/hydrate/components-flex/responsive.d.ts +0 -26
- package/dist/svelte5/components-flex/responsive.d.ts +0 -26
- 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)
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
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
|
* 変数の一覧を取得する
|
|
@@ -1476,6 +1507,9 @@ function dispatchDestroyEvent() {
|
|
|
1476
1507
|
|
|
1477
1508
|
//#endregion
|
|
1478
1509
|
//#region src/display-logic.ts
|
|
1510
|
+
/**
|
|
1511
|
+
* モーダル(ポップアップ)のロジックを管理する
|
|
1512
|
+
*/
|
|
1479
1513
|
function doPresent({ direction, deltaRate }, downFn, upFn, condition = false) {
|
|
1480
1514
|
if (direction === "down" && deltaRate > 0) downFn();
|
|
1481
1515
|
else if (condition && direction === "up" && deltaRate < 0) upFn();
|
|
@@ -1609,6 +1643,9 @@ function checkAndDo(checkFn, fn, ...conditionFns) {
|
|
|
1609
1643
|
|
|
1610
1644
|
//#endregion
|
|
1611
1645
|
//#region src/collection.ts
|
|
1646
|
+
/**
|
|
1647
|
+
* アクションテーブルに関連するコードの管理
|
|
1648
|
+
*/
|
|
1612
1649
|
const DEFAULT_COLLECTION_ENDPOINT = "https://action-table.karte.io/collection";
|
|
1613
1650
|
/**
|
|
1614
1651
|
* アクションテーブルを管理するメソッドを取得する
|
|
@@ -1825,12 +1862,16 @@ function closeAction$1(trigger = "none") {
|
|
|
1825
1862
|
|
|
1826
1863
|
//#endregion
|
|
1827
1864
|
//#region src/modal.svelte5.tsx
|
|
1865
|
+
/**
|
|
1866
|
+
* モーダル(ポップアップ)に関連するコードの管理
|
|
1867
|
+
*
|
|
1868
|
+
* アクションのShow, Close, ChangeStateの状態はここで管理する。
|
|
1869
|
+
*/
|
|
1828
1870
|
/** @internal */
|
|
1829
1871
|
const handleState = (event) => {
|
|
1830
1872
|
if (event.detail.actionId === actionId || event.detail.actionId === ALL_ACTION_ID) {
|
|
1831
1873
|
const nextState = event.detail.to;
|
|
1832
|
-
|
|
1833
|
-
send_event("_message_state_changed", toStateChangedData(nextState, currentState));
|
|
1874
|
+
send_event("_message_state_changed", toStateChangedData(nextState, getState()));
|
|
1834
1875
|
setState(event.detail.to, { disableInPreview: event.detail.disableInPreview });
|
|
1835
1876
|
}
|
|
1836
1877
|
};
|
|
@@ -2042,8 +2083,7 @@ function createModal(App, options = {
|
|
|
2042
2083
|
return NOOP;
|
|
2043
2084
|
};
|
|
2044
2085
|
const handleClose = (event) => {
|
|
2045
|
-
|
|
2046
|
-
close$1(trigger);
|
|
2086
|
+
close$1(event?.detail?.trigger ? event.detail.trigger : "none");
|
|
2047
2087
|
};
|
|
2048
2088
|
const show$1 = async (trigger = "none") => {
|
|
2049
2089
|
if (app) return;
|
|
@@ -2064,20 +2104,20 @@ function createModal(App, options = {
|
|
|
2064
2104
|
setOpened(true);
|
|
2065
2105
|
setClosed(false);
|
|
2066
2106
|
if (app) return;
|
|
2067
|
-
|
|
2107
|
+
app = mount(App, {
|
|
2068
2108
|
target: ensureActionRoot(isOnSite()),
|
|
2069
2109
|
props: {
|
|
2070
2110
|
send: options.send,
|
|
2071
2111
|
publish: options.publish,
|
|
2072
2112
|
data,
|
|
2073
|
-
onShow: (props
|
|
2113
|
+
onShow: (props) => {
|
|
2074
2114
|
const { onShowHandlers } = getInternalHandlers();
|
|
2075
2115
|
if (onShowHandlers) onShowHandlers.forEach((h$1) => {
|
|
2076
2116
|
console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify({ name: "onShow" })}`);
|
|
2077
|
-
h$1(props
|
|
2117
|
+
h$1(props);
|
|
2078
2118
|
});
|
|
2079
2119
|
},
|
|
2080
|
-
onChangeState: (props
|
|
2120
|
+
onChangeState: (props, newState) => {
|
|
2081
2121
|
const { onChangeStateHandlers } = getInternalHandlers();
|
|
2082
2122
|
if (onChangeStateHandlers) onChangeStateHandlers.forEach((h$1) => {
|
|
2083
2123
|
const actionHookLog = {
|
|
@@ -2085,18 +2125,16 @@ function createModal(App, options = {
|
|
|
2085
2125
|
values: { newState }
|
|
2086
2126
|
};
|
|
2087
2127
|
console.info(`${ACTION_HOOK_LABEL}:${JSON.stringify(actionHookLog)}`);
|
|
2088
|
-
h$1(props
|
|
2128
|
+
h$1(props, newState);
|
|
2089
2129
|
});
|
|
2090
2130
|
const { onChangeStateHandlers: onChangeWidgetStateHandlers } = getWidgetHandlers();
|
|
2091
|
-
if (onChangeWidgetStateHandlers) onChangeStateHandlers.forEach((h$1) => h$1(props
|
|
2131
|
+
if (onChangeWidgetStateHandlers) onChangeStateHandlers.forEach((h$1) => h$1(props, newState));
|
|
2092
2132
|
}
|
|
2093
2133
|
}
|
|
2094
|
-
};
|
|
2095
|
-
app = mount(App, props);
|
|
2134
|
+
});
|
|
2096
2135
|
};
|
|
2097
2136
|
const handleShow = (event) => {
|
|
2098
|
-
|
|
2099
|
-
show$1(trigger);
|
|
2137
|
+
show$1(event?.detail?.trigger ? event.detail.trigger : "none");
|
|
2100
2138
|
};
|
|
2101
2139
|
const currying = (conditionFn, options$1) => (fn) => conditionFn(options$1.props, fn);
|
|
2102
2140
|
const autoShow = () => {
|
|
@@ -2282,6 +2320,9 @@ function createFog({ color = "#000", opacity = "50%", zIndex = 999, onclick }) {
|
|
|
2282
2320
|
|
|
2283
2321
|
//#endregion
|
|
2284
2322
|
//#region src/script.ts
|
|
2323
|
+
/**
|
|
2324
|
+
* スクリプト接客が利用するコードの管理
|
|
2325
|
+
*/
|
|
2285
2326
|
/** @internal */
|
|
2286
2327
|
async function runScript$1(options = {
|
|
2287
2328
|
send: () => {},
|
|
@@ -2383,8 +2424,100 @@ async function loadGlobalStyle(href) {
|
|
|
2383
2424
|
});
|
|
2384
2425
|
}
|
|
2385
2426
|
|
|
2427
|
+
//#endregion
|
|
2428
|
+
//#region src/preview.ts
|
|
2429
|
+
/** @internal */
|
|
2430
|
+
const initPreview = () => {
|
|
2431
|
+
if (!isPreview()) return () => {};
|
|
2432
|
+
let root$56;
|
|
2433
|
+
let timer = null;
|
|
2434
|
+
const previewId = getPreviewId();
|
|
2435
|
+
const LAYER_ID_ATTR_KEY = "data-layer-id";
|
|
2436
|
+
const toInfo = (element) => {
|
|
2437
|
+
if (!element) return null;
|
|
2438
|
+
const rect = element.getBoundingClientRect();
|
|
2439
|
+
const styles = window.getComputedStyle(element);
|
|
2440
|
+
return {
|
|
2441
|
+
layerId: element.getAttribute(LAYER_ID_ATTR_KEY),
|
|
2442
|
+
top: rect.top,
|
|
2443
|
+
left: rect.left,
|
|
2444
|
+
width: rect.width,
|
|
2445
|
+
height: rect.height,
|
|
2446
|
+
direction: styles?.flexDirection === "row" || styles?.flexDirection === "row-reverse" ? "row" : "column",
|
|
2447
|
+
classNames: Array.from(element.classList.values()),
|
|
2448
|
+
styles: {
|
|
2449
|
+
direction: styles.flexDirection,
|
|
2450
|
+
opacity: styles.opacity,
|
|
2451
|
+
rowGap: styles.rowGap,
|
|
2452
|
+
columnGap: styles.columnGap,
|
|
2453
|
+
paddingLeft: styles.paddingLeft,
|
|
2454
|
+
paddingRight: styles.paddingRight,
|
|
2455
|
+
paddingTop: styles.paddingTop,
|
|
2456
|
+
paddingBottom: styles.paddingBottom,
|
|
2457
|
+
zIndex: styles.zIndex,
|
|
2458
|
+
position: styles.position,
|
|
2459
|
+
top: styles.top,
|
|
2460
|
+
left: styles.left,
|
|
2461
|
+
right: styles.right,
|
|
2462
|
+
bottom: styles.bottom
|
|
2463
|
+
}
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
const w$1 = (w$2) => w$2.parent === w$2 ? w$2 : w$2.parent;
|
|
2467
|
+
const postUpdateLayers = () => {
|
|
2468
|
+
const layerElements = Array.from(root$56.querySelectorAll(`[${LAYER_ID_ATTR_KEY}]`)).map((el) => toInfo(el));
|
|
2469
|
+
if (layerElements.length === 0) return;
|
|
2470
|
+
w$1(window).postMessage({
|
|
2471
|
+
type: "KARTE-ACTION-PREVIEW-UPDATE-LAYERS",
|
|
2472
|
+
detail: {
|
|
2473
|
+
previewId,
|
|
2474
|
+
layerElements
|
|
2475
|
+
}
|
|
2476
|
+
}, "*");
|
|
2477
|
+
};
|
|
2478
|
+
const rootObserver = new MutationObserver(postUpdateLayers);
|
|
2479
|
+
const handleMessage = (e) => {
|
|
2480
|
+
console.log("message", e);
|
|
2481
|
+
const data = e.data;
|
|
2482
|
+
if (data.event_name === "OVERRIDE_LAYER_STYLE") {
|
|
2483
|
+
const { layerId = "", styles = [] } = data.detail || {};
|
|
2484
|
+
const layerElement = root$56.querySelector(`[${LAYER_ID_ATTR_KEY}="${layerId}"]`);
|
|
2485
|
+
if (!layerElement) return;
|
|
2486
|
+
styles.forEach(({ key, value }) => {
|
|
2487
|
+
layerElement.style.setProperty(key, value);
|
|
2488
|
+
});
|
|
2489
|
+
}
|
|
2490
|
+
};
|
|
2491
|
+
(() => {
|
|
2492
|
+
const init = () => {
|
|
2493
|
+
root$56 = getActionRoot();
|
|
2494
|
+
if (root$56) {
|
|
2495
|
+
rootObserver.observe(root$56, {
|
|
2496
|
+
childList: true,
|
|
2497
|
+
subtree: true,
|
|
2498
|
+
characterData: true,
|
|
2499
|
+
attributes: true
|
|
2500
|
+
});
|
|
2501
|
+
timer = setInterval(postUpdateLayers, 1e3);
|
|
2502
|
+
window.addEventListener("message", handleMessage);
|
|
2503
|
+
} else setTimeout(init, 30);
|
|
2504
|
+
};
|
|
2505
|
+
init();
|
|
2506
|
+
})();
|
|
2507
|
+
return () => {
|
|
2508
|
+
if (timer) clearInterval(timer);
|
|
2509
|
+
rootObserver.disconnect();
|
|
2510
|
+
window.removeEventListener("message", handleMessage);
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
|
|
2386
2514
|
//#endregion
|
|
2387
2515
|
//#region src/action.ts
|
|
2516
|
+
/**
|
|
2517
|
+
* Edgeが起動するアクションに関連するコードを管理する
|
|
2518
|
+
*
|
|
2519
|
+
* アクションのCreate, Destroyの状態はここで管理する。
|
|
2520
|
+
*/
|
|
2388
2521
|
const emptyOptions = {
|
|
2389
2522
|
send: () => {},
|
|
2390
2523
|
publish: () => {},
|
|
@@ -2422,6 +2555,7 @@ function create(App, options) {
|
|
|
2422
2555
|
publish: options.publish,
|
|
2423
2556
|
data
|
|
2424
2557
|
};
|
|
2558
|
+
const destroyPreview = initPreview();
|
|
2425
2559
|
const handleDestroy = () => {
|
|
2426
2560
|
const { onDestroyHandlers } = getInternalHandlers();
|
|
2427
2561
|
onDestroyHandlers?.forEach((h$1) => {
|
|
@@ -2430,6 +2564,7 @@ function create(App, options) {
|
|
|
2430
2564
|
});
|
|
2431
2565
|
const { onDestroyHandlers: onDestroyWidgetHandlers } = getWidgetHandlers();
|
|
2432
2566
|
if (onDestroyWidgetHandlers) onDestroyWidgetHandlers.forEach((h$1) => h$1(actionProps));
|
|
2567
|
+
destroyPreview();
|
|
2433
2568
|
};
|
|
2434
2569
|
setSystem({
|
|
2435
2570
|
apiKey: data.api_key || null,
|
|
@@ -2585,8 +2720,7 @@ function formDataToEventValues$1(campaignId, formData$1) {
|
|
|
2585
2720
|
}
|
|
2586
2721
|
function formDataToIdentifyEventValues$1(formData$1) {
|
|
2587
2722
|
return Object.fromEntries(Object.entries(formData$1).map(([name, dataItem]) => {
|
|
2588
|
-
|
|
2589
|
-
return [name, value];
|
|
2723
|
+
return [name, dataItem.value];
|
|
2590
2724
|
}));
|
|
2591
2725
|
}
|
|
2592
2726
|
/** @internal */
|
|
@@ -2707,6 +2841,9 @@ function sendAnswers() {
|
|
|
2707
2841
|
|
|
2708
2842
|
//#endregion
|
|
2709
2843
|
//#region src/widget.ts
|
|
2844
|
+
/**
|
|
2845
|
+
* エディタv1のWidget API 互換のインターフェース
|
|
2846
|
+
*/
|
|
2710
2847
|
var widget_exports = /* @__PURE__ */ __export({
|
|
2711
2848
|
collection: () => collection$1,
|
|
2712
2849
|
getState: () => getState$1,
|
|
@@ -3405,29 +3542,25 @@ const useBrandKit = () => {
|
|
|
3405
3542
|
function createComponentRawCss(layerId, define) {
|
|
3406
3543
|
const rootSelector = `[data-layer-id="${layerId}"]`;
|
|
3407
3544
|
const gen = (selector, styles) => {
|
|
3408
|
-
|
|
3409
|
-
const body = Object.entries(styles).map(([k, v]) => {
|
|
3545
|
+
return `${rootSelector}${selector.startsWith("&") ? selector.slice(1) : ` ${selector}`} {\n${Object.entries(styles).map(([k, v]) => {
|
|
3410
3546
|
if (!v) return "";
|
|
3411
3547
|
return `${k.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase())}: ${v};`;
|
|
3412
|
-
}).filter((v) => v !== "").join("\n")
|
|
3413
|
-
return `${rootSelector}${childSelector} {\n${body}\n}`;
|
|
3548
|
+
}).filter((v) => v !== "").join("\n")}\n}`;
|
|
3414
3549
|
};
|
|
3415
3550
|
return define(gen).join("\n");
|
|
3416
3551
|
}
|
|
3417
3552
|
function toResponsiveSelector(responsiveSetting, body) {
|
|
3418
|
-
const {
|
|
3419
|
-
|
|
3420
|
-
|
|
3553
|
+
const { breakpointId } = responsiveSetting;
|
|
3554
|
+
const breakpoint = getBreakpoints().find((v) => v.id === breakpointId);
|
|
3555
|
+
if (breakpoint && breakpoint.mediaQuery) {
|
|
3556
|
+
const { maxWidth, minWidth, orientation } = breakpoint.mediaQuery;
|
|
3421
3557
|
const prefix = `@media screen and`;
|
|
3422
|
-
if (raw) return `${prefix} (${raw}) {\n${body}\n}`;
|
|
3423
3558
|
const orientationStyle = orientation ? ` and (orientation: ${orientation})` : "";
|
|
3424
|
-
if (
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
else if (range.min) return `${prefix} (min-width: ${range.min}px)${orientationStyle} {\n${body}\n}`;
|
|
3428
|
-
}
|
|
3559
|
+
if (minWidth && maxWidth) return `${prefix} (min-width: ${minWidth}px)${orientationStyle} and (max-width: ${maxWidth}px) {\n${body}\n}`;
|
|
3560
|
+
else if (maxWidth) return `${prefix} (max-width: ${maxWidth}px)${orientationStyle} {\n${body}\n}`;
|
|
3561
|
+
else if (minWidth) return `${prefix} (min-width: ${minWidth}px)${orientationStyle} {\n${body}\n}`;
|
|
3429
3562
|
return "";
|
|
3430
|
-
}
|
|
3563
|
+
}
|
|
3431
3564
|
return "";
|
|
3432
3565
|
}
|
|
3433
3566
|
function toStyleTag(css) {
|
|
@@ -3472,7 +3605,9 @@ function State($$anchor, $$props) {
|
|
|
3472
3605
|
$.push($$props, false);
|
|
3473
3606
|
let customBrandKit = $.prop($$props, "customBrandKit", 8, void 0);
|
|
3474
3607
|
let globalCssCode = $.prop($$props, "globalCssCode", 8, void 0);
|
|
3608
|
+
let breakpoints$1 = $.prop($$props, "breakpoints", 24, () => []);
|
|
3475
3609
|
setContext("brandKit", getBrandKit(customBrandKit()));
|
|
3610
|
+
setBreakpoints(breakpoints$1());
|
|
3476
3611
|
$.init();
|
|
3477
3612
|
var fragment = root$55();
|
|
3478
3613
|
var node = $.first_child(fragment);
|
|
@@ -3543,57 +3678,25 @@ const ROUND_VARIANT = {
|
|
|
3543
3678
|
};
|
|
3544
3679
|
|
|
3545
3680
|
//#endregion
|
|
3546
|
-
//#region src/components-flex/
|
|
3547
|
-
const USER_AGENT_VARIANT = {
|
|
3548
|
-
smartphone: { regex: /iPhone|Android.*Mobile/i },
|
|
3549
|
-
tablet: { regex: /iPad|Android(?!.*Mobile)/i },
|
|
3550
|
-
pc: { regex: /Windows NT|Macintosh|Linux x86_64/i },
|
|
3551
|
-
windows: { regex: /Windows NT/i },
|
|
3552
|
-
mac: { regex: /Macintosh|Mac OS X/i },
|
|
3553
|
-
ios: { regex: /iPhone|iPad|iPod/i },
|
|
3554
|
-
android: { regex: /Android/i },
|
|
3555
|
-
safari: { regex: /Safari/i },
|
|
3556
|
-
chrome: { regex: /Chrome|CriOS/i },
|
|
3557
|
-
firefox: { regex: /Firefox/i },
|
|
3558
|
-
ios_webview: { regex: /iPhone|iPad|iPod/i },
|
|
3559
|
-
android_webview: { regex: /; wv\)/i }
|
|
3560
|
-
};
|
|
3681
|
+
//#region src/components-flex/responsiveProp.ts
|
|
3561
3682
|
const isMatchMediaQueryCondition = (condition) => {
|
|
3562
|
-
const {
|
|
3683
|
+
const { minWidth, maxWidth, orientation } = condition;
|
|
3563
3684
|
if (orientation) return window.matchMedia(`(orientation: ${condition.orientation})`).matches;
|
|
3564
|
-
if (
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
else if (typeof min === "number") return window.matchMedia(`(min-width: ${min}px)`).matches;
|
|
3568
|
-
else if (typeof max === "number") return window.matchMedia(`(max-width: ${max}px)`).matches;
|
|
3569
|
-
}
|
|
3570
|
-
if (raw) return window.matchMedia(raw).matches;
|
|
3685
|
+
if (typeof minWidth === "number" && typeof maxWidth === "number") return window.matchMedia(`(min-width: ${minWidth}px) and (max-width: ${maxWidth}px)`).matches;
|
|
3686
|
+
else if (typeof minWidth === "number") return window.matchMedia(`(min-width: ${minWidth}px)`).matches;
|
|
3687
|
+
else if (typeof maxWidth === "number") return window.matchMedia(`(max-width: ${maxWidth}px)`).matches;
|
|
3571
3688
|
return false;
|
|
3572
3689
|
};
|
|
3573
|
-
const isMatchUserAgentCondition = (condition) => {
|
|
3574
|
-
const { variants, regex } = condition;
|
|
3575
|
-
if (variants) return variants.some((variant) => {
|
|
3576
|
-
const regex$1 = USER_AGENT_VARIANT[variant]?.regex;
|
|
3577
|
-
if (!regex$1) return false;
|
|
3578
|
-
return new RegExp(regex$1).test(navigator.userAgent);
|
|
3579
|
-
});
|
|
3580
|
-
else if (regex) return new RegExp(regex).test(navigator.userAgent);
|
|
3581
|
-
return false;
|
|
3582
|
-
};
|
|
3583
|
-
const isMatchResponsiveSetting = (setting) => {
|
|
3584
|
-
const { mediaQueryCondition, userAgentCondition } = setting;
|
|
3585
|
-
if (mediaQueryCondition) return isMatchMediaQueryCondition(mediaQueryCondition);
|
|
3586
|
-
else if (userAgentCondition) return isMatchUserAgentCondition(userAgentCondition);
|
|
3587
|
-
else return false;
|
|
3588
|
-
};
|
|
3589
3690
|
function useResponsiveProps(props) {
|
|
3590
3691
|
return readable(props, (set) => {
|
|
3591
3692
|
if (!props.responsiveSettings) {
|
|
3592
3693
|
set(props);
|
|
3593
3694
|
return () => {};
|
|
3594
3695
|
}
|
|
3696
|
+
const breakpoints$1 = getBreakpoints();
|
|
3595
3697
|
const update = () => {
|
|
3596
|
-
const
|
|
3698
|
+
const breakpoint = breakpoints$1.find((v) => v.mediaQuery && isMatchMediaQueryCondition(v.mediaQuery));
|
|
3699
|
+
const matchedSetting = props.responsiveSettings.find((v) => v.breakpointId === breakpoint?.id);
|
|
3597
3700
|
if (matchedSetting) set(Object.assign({}, props, matchedSetting.props ?? {}));
|
|
3598
3701
|
else set(props);
|
|
3599
3702
|
};
|
|
@@ -3609,10 +3712,12 @@ function useResponsiveProps(props) {
|
|
|
3609
3712
|
|
|
3610
3713
|
//#endregion
|
|
3611
3714
|
//#region src/functions.ts
|
|
3715
|
+
/**
|
|
3716
|
+
* モーダル(ポップアップ)のコンポーネントが利用するコードの管理
|
|
3717
|
+
*/
|
|
3612
3718
|
function _moveTo(to) {
|
|
3613
|
-
const currentState = getState();
|
|
3614
3719
|
dispatchActionEvent(ACTION_CHANGE_STATE_EVENT, { detail: {
|
|
3615
|
-
from:
|
|
3720
|
+
from: getState(),
|
|
3616
3721
|
to,
|
|
3617
3722
|
actionId
|
|
3618
3723
|
} });
|
|
@@ -3777,36 +3882,12 @@ const execOnClickOperation = (onClickOperation) => {
|
|
|
3777
3882
|
function getAnimation(animation) {
|
|
3778
3883
|
switch (animation.type) {
|
|
3779
3884
|
case "fade": return `opacity: ${animation.progress}`;
|
|
3780
|
-
case "bounce": {
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
}
|
|
3785
|
-
case "
|
|
3786
|
-
const translateX = animation.x;
|
|
3787
|
-
const translateY = animation.y - 100 * (1 - animation.progress);
|
|
3788
|
-
return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
|
|
3789
|
-
}
|
|
3790
|
-
case "slide-up": {
|
|
3791
|
-
const translateX = animation.x;
|
|
3792
|
-
const translateY = animation.y + 100 * (1 - animation.progress);
|
|
3793
|
-
return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
|
|
3794
|
-
}
|
|
3795
|
-
case "slide-left": {
|
|
3796
|
-
const translateX = animation.x + 100 * (1 - animation.progress);
|
|
3797
|
-
const translateY = animation.y;
|
|
3798
|
-
return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
|
|
3799
|
-
}
|
|
3800
|
-
case "slide-right": {
|
|
3801
|
-
const translateX = animation.x - 100 * (1 - animation.progress);
|
|
3802
|
-
const translateY = animation.y;
|
|
3803
|
-
return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
|
|
3804
|
-
}
|
|
3805
|
-
case "none": {
|
|
3806
|
-
const translateX = animation.x;
|
|
3807
|
-
const translateY = animation.y;
|
|
3808
|
-
return `transform: translate3d(${translateX}%, ${translateY}%, 0);`;
|
|
3809
|
-
}
|
|
3885
|
+
case "bounce": return `transform: translate3d(${animation.x}%, ${animation.y}%, 0) scale(${animation.progress});`;
|
|
3886
|
+
case "slide-down": return `transform: translate3d(${animation.x}%, ${animation.y - 100 * (1 - animation.progress)}%, 0);`;
|
|
3887
|
+
case "slide-up": return `transform: translate3d(${animation.x}%, ${animation.y + 100 * (1 - animation.progress)}%, 0);`;
|
|
3888
|
+
case "slide-left": return `transform: translate3d(${animation.x + 100 * (1 - animation.progress)}%, ${animation.y}%, 0);`;
|
|
3889
|
+
case "slide-right": return `transform: translate3d(${animation.x - 100 * (1 - animation.progress)}%, ${animation.y}%, 0);`;
|
|
3890
|
+
case "none": return `transform: translate3d(${animation.x}%, ${animation.y}%, 0);`;
|
|
3810
3891
|
default:
|
|
3811
3892
|
console.warn(`[action-sdk] invalid '${animation}', so we use 'transform: none' instead`);
|
|
3812
3893
|
return "transform: none";
|
|
@@ -4216,11 +4297,7 @@ var Avatar_css_default = (layerId, props) => {
|
|
|
4216
4297
|
appearance: "none"
|
|
4217
4298
|
}),
|
|
4218
4299
|
toDynamicStyle$3(layerId, props),
|
|
4219
|
-
...props.responsiveSettings?.map((v) =>
|
|
4220
|
-
if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$3(layerId, v.props));
|
|
4221
|
-
else if (v.userAgentCondition) return "";
|
|
4222
|
-
return "";
|
|
4223
|
-
}) ?? [],
|
|
4300
|
+
...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$3(layerId, v.props))) ?? [],
|
|
4224
4301
|
props.customizeCss
|
|
4225
4302
|
]);
|
|
4226
4303
|
};
|
|
@@ -4856,14 +4933,10 @@ var Icon_css_default = (layerId, props, _brandKit) => {
|
|
|
4856
4933
|
style("&[aria-disabled=\"true\"]:hover", { opacity: "0.24" }),
|
|
4857
4934
|
style("&[aria-hidden=\"true\"]", { display: "none" }),
|
|
4858
4935
|
toDynamicStyle$2(layerId, props),
|
|
4859
|
-
...props.responsiveSettings?.map((v) => {
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
}));
|
|
4864
|
-
else if (v.userAgentCondition) return "";
|
|
4865
|
-
return "";
|
|
4866
|
-
}) ?? [],
|
|
4936
|
+
...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$2(layerId, {
|
|
4937
|
+
variant: v.props.variant ?? props.variant,
|
|
4938
|
+
...v.props
|
|
4939
|
+
}))) ?? [],
|
|
4867
4940
|
props.customizeCss
|
|
4868
4941
|
]);
|
|
4869
4942
|
};
|
|
@@ -4935,8 +5008,7 @@ function Icon($$anchor, $$props) {
|
|
|
4935
5008
|
//#region src/components-flex/styles.ts
|
|
4936
5009
|
const getPropStyles = (callback$5) => {
|
|
4937
5010
|
return (customBrandKit) => {
|
|
4938
|
-
|
|
4939
|
-
return callback$5({ brandKit });
|
|
5011
|
+
return callback$5({ brandKit: getBrandKit(customBrandKit) });
|
|
4940
5012
|
};
|
|
4941
5013
|
};
|
|
4942
5014
|
|
|
@@ -5128,11 +5200,7 @@ var Button_css_default = (layerId, props, brandKit) => {
|
|
|
5128
5200
|
marginRight: "-0.2em"
|
|
5129
5201
|
}),
|
|
5130
5202
|
toDynamicStyle$1(layerId, props, brandKit),
|
|
5131
|
-
...props.responsiveSettings?.map((v) =>
|
|
5132
|
-
if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$1(layerId, v.props, brandKit));
|
|
5133
|
-
else if (v.userAgentCondition) return "";
|
|
5134
|
-
return "";
|
|
5135
|
-
}) ?? [],
|
|
5203
|
+
...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$1(layerId, v.props, brandKit))) ?? [],
|
|
5136
5204
|
props.customizeCss
|
|
5137
5205
|
]);
|
|
5138
5206
|
};
|
|
@@ -6040,11 +6108,7 @@ var Layout_css_default = (layerId, props, brandKit) => {
|
|
|
6040
6108
|
style("&[data-clickable=\"true\"]", { cursor: "pointer" }),
|
|
6041
6109
|
style("&[data-clickable=\"true\"]:hover", { opacity: .8 }),
|
|
6042
6110
|
toDynamicStyle$4(props),
|
|
6043
|
-
...props.responsiveSettings?.map((v) =>
|
|
6044
|
-
if (v.mediaQueryCondition) return toResponsiveSelector(v, toDynamicStyle$4(v.props));
|
|
6045
|
-
else if (v.userAgentCondition) return "";
|
|
6046
|
-
return "";
|
|
6047
|
-
}) ?? [],
|
|
6111
|
+
...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$4(v.props))) ?? [],
|
|
6048
6112
|
props.customizeCss
|
|
6049
6113
|
]);
|
|
6050
6114
|
};
|
|
@@ -6527,14 +6591,10 @@ var Text_css_default = (layerId, props, brandKit) => {
|
|
|
6527
6591
|
wordBreak: "break-all"
|
|
6528
6592
|
}),
|
|
6529
6593
|
toDynamicStyle$4(props),
|
|
6530
|
-
...props.responsiveSettings?.map((v) => {
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
}));
|
|
6535
|
-
else if (v.userAgentCondition) return "";
|
|
6536
|
-
return "";
|
|
6537
|
-
}) ?? [],
|
|
6594
|
+
...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle$4({
|
|
6595
|
+
...v.props,
|
|
6596
|
+
content: v.props.content ?? props.content
|
|
6597
|
+
}))) ?? [],
|
|
6538
6598
|
props.customizeCss
|
|
6539
6599
|
]);
|
|
6540
6600
|
};
|
|
@@ -6732,14 +6792,10 @@ var TextLink_css_default = (layerId, props, brandKit) => {
|
|
|
6732
6792
|
style("&[aria-disabled=\"true\"]:hover", { opacity: "0.24" }),
|
|
6733
6793
|
style("&[aria-hidden=\"true\"]", { display: "none" }),
|
|
6734
6794
|
toDynamicStyle(layerId, props, brandKit),
|
|
6735
|
-
...props.responsiveSettings?.map((v) => {
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
}, brandKit));
|
|
6740
|
-
else if (v.userAgentCondition) return "";
|
|
6741
|
-
return "";
|
|
6742
|
-
}) ?? [],
|
|
6795
|
+
...props.responsiveSettings?.map((v) => toResponsiveSelector(v, toDynamicStyle(layerId, {
|
|
6796
|
+
...v.props,
|
|
6797
|
+
label: v.props.label ?? props.label
|
|
6798
|
+
}, brandKit))) ?? [],
|
|
6743
6799
|
props.customizeCss
|
|
6744
6800
|
]);
|
|
6745
6801
|
};
|
|
@@ -7090,8 +7146,7 @@ function Modal($$anchor, $$props) {
|
|
|
7090
7146
|
$.get(backgroundClickPC)?.apply(this, $$args);
|
|
7091
7147
|
} }
|
|
7092
7148
|
});
|
|
7093
|
-
|
|
7094
|
-
BackgroundOverlay(node_2, {
|
|
7149
|
+
BackgroundOverlay($.sibling(node_1, 2), {
|
|
7095
7150
|
class: "background-bp-sp ",
|
|
7096
7151
|
get zIndex() {
|
|
7097
7152
|
return props().zIndex;
|
|
@@ -7627,15 +7682,11 @@ function CountDown($$anchor, $$props) {
|
|
|
7627
7682
|
return limit - (/* @__PURE__ */ new Date()).getTime();
|
|
7628
7683
|
}
|
|
7629
7684
|
function formatTimeDiff(ms) {
|
|
7630
|
-
const diffDay = Math.floor(ms / 1e3 / 60 / 60 / 24);
|
|
7631
|
-
const diffHour = Math.floor(ms / 1e3 / 60 / 60) % 24;
|
|
7632
|
-
const diffMin = Math.floor(ms / 1e3 / 60) % 60;
|
|
7633
|
-
const diffSec = Math.floor(ms / 1e3) % 60;
|
|
7634
7685
|
return {
|
|
7635
|
-
day:
|
|
7636
|
-
hour:
|
|
7637
|
-
min:
|
|
7638
|
-
sec:
|
|
7686
|
+
day: Math.floor(ms / 1e3 / 60 / 60 / 24),
|
|
7687
|
+
hour: Math.floor(ms / 1e3 / 60 / 60) % 24,
|
|
7688
|
+
min: Math.floor(ms / 1e3 / 60) % 60,
|
|
7689
|
+
sec: Math.floor(ms / 1e3) % 60
|
|
7639
7690
|
};
|
|
7640
7691
|
}
|
|
7641
7692
|
function onEachSecond() {
|
|
@@ -7727,24 +7778,22 @@ const useText = (props, layerId) => {
|
|
|
7727
7778
|
fontWeight: getFontWeight()
|
|
7728
7779
|
};
|
|
7729
7780
|
};
|
|
7730
|
-
const escapedHTML = props.content.replace(/&/g, "<").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\n/g, "<br />");
|
|
7731
|
-
const style = objToStyle({
|
|
7732
|
-
position: props?.position ?? "static",
|
|
7733
|
-
textAlign: props.align,
|
|
7734
|
-
width: props.width,
|
|
7735
|
-
fontFamily: `"${fontFamily}"`,
|
|
7736
|
-
color: getColor(),
|
|
7737
|
-
...getCssSize(),
|
|
7738
|
-
...toCssRadius(props),
|
|
7739
|
-
...toCssBackground(props),
|
|
7740
|
-
...toCssCommon(props),
|
|
7741
|
-
...toCssPosition(props),
|
|
7742
|
-
...toCssPadding(props),
|
|
7743
|
-
...toCssBorder(props)
|
|
7744
|
-
});
|
|
7745
7781
|
return {
|
|
7746
|
-
escapedHTML,
|
|
7747
|
-
style
|
|
7782
|
+
escapedHTML: props.content.replace(/&/g, "<").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\n/g, "<br />"),
|
|
7783
|
+
style: objToStyle({
|
|
7784
|
+
position: props?.position ?? "static",
|
|
7785
|
+
textAlign: props.align,
|
|
7786
|
+
width: props.width,
|
|
7787
|
+
fontFamily: `"${fontFamily}"`,
|
|
7788
|
+
color: getColor(),
|
|
7789
|
+
...getCssSize(),
|
|
7790
|
+
...toCssRadius(props),
|
|
7791
|
+
...toCssBackground(props),
|
|
7792
|
+
...toCssCommon(props),
|
|
7793
|
+
...toCssPosition(props),
|
|
7794
|
+
...toCssPadding(props),
|
|
7795
|
+
...toCssBorder(props)
|
|
7796
|
+
})
|
|
7748
7797
|
};
|
|
7749
7798
|
};
|
|
7750
7799
|
|
|
@@ -7852,7 +7901,7 @@ var root$3 = $.template(`<!> <!>`, 1);
|
|
|
7852
7901
|
function ClipCopy($$anchor, $$props) {
|
|
7853
7902
|
$.push($$props, false);
|
|
7854
7903
|
const [$$stores, $$cleanup] = $.setup_stores();
|
|
7855
|
-
const $
|
|
7904
|
+
const $responsiveSettings = () => $.store_get(responsiveSettings, "$responsiveSettings", $$stores);
|
|
7856
7905
|
const rProps = $.mutable_state();
|
|
7857
7906
|
let props = $.prop($$props, "props", 24, () => ({}));
|
|
7858
7907
|
let layerId = $.prop($$props, "layerId", 24, () => crypto.randomUUID());
|
|
@@ -7860,7 +7909,7 @@ function ClipCopy($$anchor, $$props) {
|
|
|
7860
7909
|
let buttonElement = $.mutable_state();
|
|
7861
7910
|
let showTooltip = $.mutable_state(false);
|
|
7862
7911
|
const cssCode = ClipCopy_css_default(layerId(), props());
|
|
7863
|
-
const
|
|
7912
|
+
const responsiveSettings = useResponsiveProps(props());
|
|
7864
7913
|
const handleClick = async (e) => {
|
|
7865
7914
|
e.preventDefault();
|
|
7866
7915
|
const targetText = $.get(rProps).content ?? $.get(buttonElement)?.innerText ?? "";
|
|
@@ -7877,8 +7926,8 @@ function ClipCopy($$anchor, $$props) {
|
|
|
7877
7926
|
console.warn(e$1);
|
|
7878
7927
|
}
|
|
7879
7928
|
};
|
|
7880
|
-
$.legacy_pre_effect(() => $
|
|
7881
|
-
$.set(rProps, $
|
|
7929
|
+
$.legacy_pre_effect(() => $responsiveSettings(), () => {
|
|
7930
|
+
$.set(rProps, $responsiveSettings());
|
|
7882
7931
|
});
|
|
7883
7932
|
$.legacy_pre_effect_reset();
|
|
7884
7933
|
$.init();
|
|
@@ -9181,4 +9230,4 @@ const flexComponentSchemes = {
|
|
|
9181
9230
|
};
|
|
9182
9231
|
|
|
9183
9232
|
//#endregion
|
|
9184
|
-
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,
|
|
9233
|
+
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 };
|