@crediblemark/build 0.25.4 → 0.25.6
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/README.md +85 -0
- package/bin/credbuild.js +524 -0
- package/dist/{ObjectField-JYRSRCWB.css → ArrayField-PAJW74AC.css} +325 -324
- package/dist/ArrayField-PGZLQW7G.mjs +19 -0
- package/dist/{Editor-IPG4RO2L.mjs → Editor-OFA3KX3N.mjs} +8 -8
- package/dist/{Editor-CVT4RKSU.css → Editor-Y342RWPN.css} +7 -7
- package/dist/ObjectField-N7ES6H3B.mjs +19 -0
- package/dist/{ArrayField-JRN7ZFM7.css → ObjectField-WACQHQ4N.css} +320 -319
- package/dist/{Render-I6PZ5MEA.mjs → Render-5WYR4VZX.mjs} +1 -1
- package/dist/{Render-DOE2LXKX.css → Render-HVM2KISU.css} +1 -1
- package/dist/{chunk-W57TTDB2.mjs → chunk-4NZUDTR6.mjs} +1 -1
- package/dist/{chunk-ISXFLTBM.mjs → chunk-H6RPI3T6.mjs} +1 -1
- package/dist/{chunk-2RLA42JA.mjs → chunk-HIE6KXP6.mjs} +2 -2
- package/dist/{chunk-MZIV4ZKR.mjs → chunk-JX7LICWE.mjs} +2 -2
- package/dist/{chunk-NYIULQV4.mjs → chunk-KAOWYQIB.mjs} +12 -12
- package/dist/{chunk-F2M5GHDX.mjs → chunk-MZXW5F5R.mjs} +3 -3
- package/dist/{chunk-QMMMJ4RO.mjs → chunk-QHJGER7I.mjs} +5 -5
- package/dist/{chunk-PWRZZUWM.mjs → chunk-RUJOMPX6.mjs} +1 -1
- package/dist/{chunk-UNMCNIJ3.mjs → chunk-SLKHXT3Q.mjs} +1 -1
- package/dist/{chunk-3Q7JODIK.mjs → chunk-STIUFJT2.mjs} +12 -12
- package/dist/{chunk-FQKSRGRK.mjs → chunk-W7LED3JG.mjs} +74 -40
- package/dist/{chunk-NYBTD3FJ.mjs → chunk-WSTUSWZT.mjs} +2 -2
- package/dist/{chunk-RBWVOMMW.mjs → chunk-XAD7XPP2.mjs} +4 -4
- package/dist/{full-A2JX3OI2.mjs → full-ECZCK3RE.mjs} +5 -5
- package/dist/{full-C7RVGAUA.css → full-PLJRDIMB.css} +6 -6
- package/dist/index.css +210 -276
- package/dist/index.js +131 -97
- package/dist/index.mjs +13 -13
- package/dist/{loaded-Y7SRBM7R.mjs → loaded-3MKTRGL5.mjs} +2 -2
- package/dist/{loaded-2FUW3WCF.mjs → loaded-5D7VRSXM.mjs} +2 -2
- package/dist/{loaded-4FAPBCAU.css → loaded-FY2TCG5Y.css} +1 -1
- package/dist/{loaded-6L45JULO.mjs → loaded-NRHNHJPM.mjs} +2 -2
- package/dist/no-external.css +115 -110
- package/dist/no-external.js +131 -97
- package/dist/no-external.mjs +13 -13
- package/dist/rsc.css +1 -1
- package/dist/rsc.js +4 -4
- package/dist/rsc.mjs +2 -2
- package/package.json +5 -1
- package/dist/ArrayField-HI4LZRUN.mjs +0 -19
- package/dist/ObjectField-CHMT4KPZ.mjs +0 -19
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenu
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WSTUSWZT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DragIcon,
|
|
6
6
|
collisionStore,
|
|
7
7
|
createDynamicCollisionDetector,
|
|
8
8
|
setDeep,
|
|
9
9
|
useSensors
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QHJGER7I.mjs";
|
|
11
11
|
import {
|
|
12
12
|
AutoFieldPrivate,
|
|
13
13
|
Button,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
fieldContextStore,
|
|
17
17
|
useContextStore,
|
|
18
18
|
useSafeId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
20
20
|
import {
|
|
21
21
|
RichTextRenderFallback,
|
|
22
22
|
SlotRender,
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
getSlotTransform,
|
|
26
26
|
useRichtextProps,
|
|
27
27
|
useSlots
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HIE6KXP6.mjs";
|
|
29
29
|
import {
|
|
30
30
|
ActionBar,
|
|
31
31
|
IconButton,
|
|
32
32
|
Loader
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-STIUFJT2.mjs";
|
|
34
34
|
import {
|
|
35
35
|
Box,
|
|
36
36
|
ChartColumn,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
useRegisterHistorySlice,
|
|
88
88
|
useRegisterPermissionsSlice,
|
|
89
89
|
useResetAutoZoom
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
91
91
|
import {
|
|
92
92
|
getItem,
|
|
93
93
|
insert,
|
|
@@ -533,7 +533,7 @@ var ColorPickerField = ({ value, onChange }) => {
|
|
|
533
533
|
] });
|
|
534
534
|
};
|
|
535
535
|
|
|
536
|
-
// css-module:/
|
|
536
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Drawer/styles.module.css#css-module
|
|
537
537
|
var styles_module_default = { "Drawer": "_Drawer_1bd7y_1", "Drawer-draggable": "_Drawer-draggable_1bd7y_7", "Drawer-draggableBg": "_Drawer-draggableBg_1bd7y_11", "DrawerItem-draggable": "_DrawerItem-draggable_1bd7y_21", "DrawerItem--disabled": "_DrawerItem--disabled_1bd7y_34", "DrawerItem": "_DrawerItem_1bd7y_21", "Drawer--isDraggingFrom": "_Drawer--isDraggingFrom_1bd7y_43", "DrawerItem-default": "_DrawerItem-default_1bd7y_44", "DrawerItem-name": "_DrawerItem-name_1bd7y_61" };
|
|
538
538
|
|
|
539
539
|
// components/Drawer/index.tsx
|
|
@@ -774,7 +774,7 @@ import {
|
|
|
774
774
|
useTransition
|
|
775
775
|
} from "react";
|
|
776
776
|
|
|
777
|
-
// css-module:/
|
|
777
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/DraggableComponent/styles.module.css#css-module
|
|
778
778
|
var styles_module_default2 = { "DraggableComponent": "_DraggableComponent_yrtpz_1", "DraggableComponent-overlayWrapper": "_DraggableComponent-overlayWrapper_yrtpz_12", "DraggableComponent-overlay": "_DraggableComponent-overlay_yrtpz_12", "DraggableComponent-loadingOverlay": "_DraggableComponent-loadingOverlay_yrtpz_34", "DraggableComponent--hover": "_DraggableComponent--hover_yrtpz_50", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_yrtpz_57", "DraggableComponent-actionsOverlay": "_DraggableComponent-actionsOverlay_yrtpz_71", "DraggableComponent-actions": "_DraggableComponent-actions_yrtpz_71" };
|
|
779
779
|
|
|
780
780
|
// components/DraggableComponent/index.tsx
|
|
@@ -1492,7 +1492,7 @@ var DraggableComponent = ({
|
|
|
1492
1492
|
] });
|
|
1493
1493
|
};
|
|
1494
1494
|
|
|
1495
|
-
// css-module:/
|
|
1495
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/DropZone/styles.module.css#css-module
|
|
1496
1496
|
var styles_module_default3 = { "DropZone": "_DropZone_1vmgt_1", "DropZone--hasChildren": "_DropZone--hasChildren_1vmgt_11", "DropZone--isAreaSelected": "_DropZone--isAreaSelected_1vmgt_24", "DropZone--hoveringOverArea": "_DropZone--hoveringOverArea_1vmgt_25", "DropZone--isRootZone": "_DropZone--isRootZone_1vmgt_25", "DropZone--isDestination": "_DropZone--isDestination_1vmgt_35", "DropZone-item": "_DropZone-item_1vmgt_47", "DropZone-hitbox": "_DropZone-hitbox_1vmgt_51", "DropZone--isEnabled": "_DropZone--isEnabled_1vmgt_59", "DropZone--isAnimating": "_DropZone--isAnimating_1vmgt_68" };
|
|
1497
1497
|
|
|
1498
1498
|
// components/DropZone/index.tsx
|
|
@@ -1757,7 +1757,7 @@ function useFieldTransformsTracked(config, item, transforms, readOnly, forceRead
|
|
|
1757
1757
|
// components/InlineTextField/index.tsx
|
|
1758
1758
|
import { memo, useEffect as useEffect6, useRef as useRef5, useState as useState6 } from "react";
|
|
1759
1759
|
|
|
1760
|
-
// css-module:/
|
|
1760
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/InlineTextField/styles.module.css#css-module
|
|
1761
1761
|
var styles_module_default4 = { "InlineTextField": "_InlineTextField_104qp_1" };
|
|
1762
1762
|
|
|
1763
1763
|
// lib/get-selector-for-id.ts
|
|
@@ -1926,12 +1926,12 @@ import {
|
|
|
1926
1926
|
} from "react";
|
|
1927
1927
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1928
1928
|
var Editor = lazy(
|
|
1929
|
-
() => import("./Editor-
|
|
1929
|
+
() => import("./Editor-OFA3KX3N.mjs").then((m) => ({
|
|
1930
1930
|
default: m.Editor
|
|
1931
1931
|
}))
|
|
1932
1932
|
);
|
|
1933
1933
|
var RichTextRender = lazy(
|
|
1934
|
-
() => import("./Render-
|
|
1934
|
+
() => import("./Render-5WYR4VZX.mjs").then((m) => ({
|
|
1935
1935
|
default: m.RichTextRender
|
|
1936
1936
|
}))
|
|
1937
1937
|
);
|
|
@@ -2199,12 +2199,13 @@ var VirtualizedDropZone = ({
|
|
|
2199
2199
|
},
|
|
2200
2200
|
[pinnedIndexes]
|
|
2201
2201
|
);
|
|
2202
|
+
const activeOverscan = draggedItemId ? 12 : ROOT_ZONE_VIRTUALIZATION_OVERSCAN;
|
|
2202
2203
|
const virtualizer = useVirtualizer({
|
|
2203
2204
|
count: contentIds.length,
|
|
2204
2205
|
getItemKey: (index) => contentIds[index],
|
|
2205
2206
|
estimateSize: (index) => getEstimatedItemHeight(contentIds[index]),
|
|
2206
2207
|
getScrollElement: () => iframeWindow ?? null,
|
|
2207
|
-
overscan:
|
|
2208
|
+
overscan: activeOverscan,
|
|
2208
2209
|
observeElementRect: (instance, cb) => iframeWindow ? observeWindowRect(instance, cb) : observeElementRect(instance, cb),
|
|
2209
2210
|
observeElementOffset: (instance, cb) => iframeWindow ? observeWindowOffset(instance, cb) : observeElementOffset(instance, cb),
|
|
2210
2211
|
scrollToFn: (offset, options, instance) => iframeWindow ? windowScroll(offset, options, instance) : elementScroll(offset, options, instance),
|
|
@@ -2220,31 +2221,62 @@ var VirtualizedDropZone = ({
|
|
|
2220
2221
|
zoneStore.getState().unregisterRootVirtualizer(zoneCompound);
|
|
2221
2222
|
};
|
|
2222
2223
|
}, [resolveIndex, virtualizer, zoneCompound, zoneStore]);
|
|
2224
|
+
const observersRef = useRef7(/* @__PURE__ */ new Map());
|
|
2223
2225
|
const getMeasureRef = useCallback9((componentId) => {
|
|
2224
2226
|
const cachedRef = measureRefsRef.current.get(componentId);
|
|
2225
2227
|
if (cachedRef) {
|
|
2226
2228
|
return cachedRef;
|
|
2227
2229
|
}
|
|
2228
2230
|
const measureRef = (element) => {
|
|
2231
|
+
const existingObserver = observersRef.current.get(componentId);
|
|
2232
|
+
if (existingObserver) {
|
|
2233
|
+
existingObserver.disconnect();
|
|
2234
|
+
observersRef.current.delete(componentId);
|
|
2235
|
+
}
|
|
2229
2236
|
if (!element) {
|
|
2230
2237
|
return;
|
|
2231
2238
|
}
|
|
2232
|
-
const
|
|
2233
|
-
if (
|
|
2234
|
-
cacheMeasuredItemHeight(componentId,
|
|
2239
|
+
const initialHeight = Math.ceil(element.getBoundingClientRect().height);
|
|
2240
|
+
if (initialHeight > 0) {
|
|
2241
|
+
cacheMeasuredItemHeight(componentId, initialHeight);
|
|
2235
2242
|
}
|
|
2243
|
+
const observer = new ResizeObserver((entries) => {
|
|
2244
|
+
for (const entry of entries) {
|
|
2245
|
+
const height = Math.ceil(element.getBoundingClientRect().height);
|
|
2246
|
+
if (height > 0) {
|
|
2247
|
+
const cachedHeight = getEstimatedItemHeight(componentId);
|
|
2248
|
+
if (height !== cachedHeight) {
|
|
2249
|
+
cacheMeasuredItemHeight(componentId, height);
|
|
2250
|
+
virtualizer.measure();
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
});
|
|
2255
|
+
observer.observe(element);
|
|
2256
|
+
observersRef.current.set(componentId, observer);
|
|
2236
2257
|
};
|
|
2237
2258
|
measureRefsRef.current.set(componentId, measureRef);
|
|
2238
2259
|
return measureRef;
|
|
2239
|
-
}, []);
|
|
2260
|
+
}, [virtualizer]);
|
|
2240
2261
|
useEffect8(() => {
|
|
2241
2262
|
const validIds = new Set(contentIds);
|
|
2242
2263
|
Array.from(measureRefsRef.current.keys()).forEach((componentId) => {
|
|
2243
2264
|
if (!validIds.has(componentId)) {
|
|
2244
2265
|
measureRefsRef.current.delete(componentId);
|
|
2266
|
+
const observer = observersRef.current.get(componentId);
|
|
2267
|
+
if (observer) {
|
|
2268
|
+
observer.disconnect();
|
|
2269
|
+
observersRef.current.delete(componentId);
|
|
2270
|
+
}
|
|
2245
2271
|
}
|
|
2246
2272
|
});
|
|
2247
2273
|
}, [contentIds]);
|
|
2274
|
+
useEffect8(() => {
|
|
2275
|
+
return () => {
|
|
2276
|
+
observersRef.current.forEach((observer) => observer.disconnect());
|
|
2277
|
+
observersRef.current.clear();
|
|
2278
|
+
};
|
|
2279
|
+
}, []);
|
|
2248
2280
|
const virtualItems = virtualizer.getVirtualItems();
|
|
2249
2281
|
const totalSize = virtualizer.getTotalSize();
|
|
2250
2282
|
const renderedItems = useMemo5(() => {
|
|
@@ -2965,7 +2997,7 @@ function useGetCredBuild() {
|
|
|
2965
2997
|
// lib/use-component-list.tsx
|
|
2966
2998
|
import { useEffect as useEffect12, useState as useState8 } from "react";
|
|
2967
2999
|
|
|
2968
|
-
// css-module:/
|
|
3000
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ComponentList/styles.module.css#css-module
|
|
2969
3001
|
var styles_module_default5 = { "ComponentList": "_ComponentList_10tqo_1", "ComponentList--isExpanded": "_ComponentList--isExpanded_10tqo_5", "ComponentList-content": "_ComponentList-content_10tqo_9", "ComponentList-title": "_ComponentList-title_10tqo_17", "ComponentList-titleIcon": "_ComponentList-titleIcon_10tqo_53" };
|
|
2970
3002
|
|
|
2971
3003
|
// components/ComponentList/index.tsx
|
|
@@ -3139,8 +3171,8 @@ var useComponentList = () => {
|
|
|
3139
3171
|
// components/CredBuild/components/Components/index.tsx
|
|
3140
3172
|
import { useMemo as useMemo8, useState as useState9 } from "react";
|
|
3141
3173
|
|
|
3142
|
-
// css-module:/
|
|
3143
|
-
var styles_module_default6 = { "CredBuildComponents": "
|
|
3174
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Components/styles.module.css#css-module
|
|
3175
|
+
var styles_module_default6 = { "CredBuildComponents": "_CredBuildComponents_1a9p4_1", "CredBuildComponents-searchContainer": "_CredBuildComponents-searchContainer_1a9p4_7", "CredBuildComponents-searchWrapper": "_CredBuildComponents-searchWrapper_1a9p4_16", "CredBuildComponents-searchInput": "_CredBuildComponents-searchInput_1a9p4_23", "CredBuildComponents-searchIcon": "_CredBuildComponents-searchIcon_1a9p4_42", "CredBuildComponents-clearButton": "_CredBuildComponents-clearButton_1a9p4_54", "CredBuildComponents-listContainer": "_CredBuildComponents-listContainer_1a9p4_74", "CredBuildComponents-noResults": "_CredBuildComponents-noResults_1a9p4_79" };
|
|
3144
3176
|
|
|
3145
3177
|
// components/CredBuild/components/Components/index.tsx
|
|
3146
3178
|
import { jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -3168,7 +3200,7 @@ var Components = () => {
|
|
|
3168
3200
|
}, [searchTerm, config.components]);
|
|
3169
3201
|
return /* @__PURE__ */ jsxs8(Wrapper, { className: getClassName6(), children: [
|
|
3170
3202
|
/* @__PURE__ */ jsx17("div", { className: getClassName6("searchContainer"), children: /* @__PURE__ */ jsxs8("div", { className: getClassName6("searchWrapper"), children: [
|
|
3171
|
-
/* @__PURE__ */ jsx17(Search, { size: 14, className: getClassName6("searchIcon") }),
|
|
3203
|
+
/* @__PURE__ */ jsx17(Search, { size: 14, className: getClassName6("searchIcon"), "aria-hidden": "true" }),
|
|
3172
3204
|
/* @__PURE__ */ jsx17(
|
|
3173
3205
|
"input",
|
|
3174
3206
|
{
|
|
@@ -3176,7 +3208,8 @@ var Components = () => {
|
|
|
3176
3208
|
className: getClassName6("searchInput"),
|
|
3177
3209
|
placeholder: "Search blocks...",
|
|
3178
3210
|
value: searchTerm,
|
|
3179
|
-
onChange: (e) => setSearchTerm(e.target.value)
|
|
3211
|
+
onChange: (e) => setSearchTerm(e.target.value),
|
|
3212
|
+
"aria-label": "Search blocks"
|
|
3180
3213
|
}
|
|
3181
3214
|
),
|
|
3182
3215
|
searchTerm && /* @__PURE__ */ jsx17(
|
|
@@ -3186,7 +3219,8 @@ var Components = () => {
|
|
|
3186
3219
|
className: getClassName6("clearButton"),
|
|
3187
3220
|
onClick: () => setSearchTerm(""),
|
|
3188
3221
|
title: "Clear search",
|
|
3189
|
-
|
|
3222
|
+
"aria-label": "Clear search",
|
|
3223
|
+
children: /* @__PURE__ */ jsx17(X, { size: 12, "aria-hidden": "true" })
|
|
3190
3224
|
}
|
|
3191
3225
|
)
|
|
3192
3226
|
] }) }),
|
|
@@ -3232,7 +3266,7 @@ var Components = () => {
|
|
|
3232
3266
|
] });
|
|
3233
3267
|
};
|
|
3234
3268
|
|
|
3235
|
-
// css-module:/
|
|
3269
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/plugins/blocks/styles.module.css#css-module
|
|
3236
3270
|
var styles_module_default7 = { "BlocksPlugin": "_BlocksPlugin_1ey1i_1" };
|
|
3237
3271
|
|
|
3238
3272
|
// plugins/blocks/index.tsx
|
|
@@ -3245,7 +3279,7 @@ var blocksPlugin = () => ({
|
|
|
3245
3279
|
icon: /* @__PURE__ */ jsx18(Shapes, {})
|
|
3246
3280
|
});
|
|
3247
3281
|
|
|
3248
|
-
// css-module:/
|
|
3282
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/LayerTree/styles.module.css#css-module
|
|
3249
3283
|
var styles_module_default8 = { "LayerTree": "_LayerTree_nus40_1", "LayerTree-zoneTitle": "_LayerTree-zoneTitle_nus40_11", "LayerTree-helper": "_LayerTree-helper_nus40_17", "Layer": "_Layer_nus40_1", "Layer-inner": "_Layer-inner_nus40_29", "Layer--containsZone": "_Layer--containsZone_nus40_35", "Layer-clickable": "_Layer-clickable_nus40_39", "Layer--isSelected": "_Layer--isSelected_nus40_58", "Layer-chevron": "_Layer-chevron_nus40_79", "Layer--childIsSelected": "_Layer--childIsSelected_nus40_80", "Layer-zones": "_Layer-zones_nus40_84", "Layer-title": "_Layer-title_nus40_98", "Layer-name": "_Layer-name_nus40_107", "Layer-icon": "_Layer-icon_nus40_113", "Layer-zoneIcon": "_Layer-zoneIcon_nus40_118" };
|
|
3250
3284
|
|
|
3251
3285
|
// components/LayerTree/index.tsx
|
|
@@ -3666,7 +3700,7 @@ var Outline = memo7(() => {
|
|
|
3666
3700
|
) });
|
|
3667
3701
|
});
|
|
3668
3702
|
|
|
3669
|
-
// css-module:/
|
|
3703
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/plugins/outline/styles.module.css#css-module
|
|
3670
3704
|
var styles_module_default9 = { "OutlinePlugin": "_OutlinePlugin_q92j6_1" };
|
|
3671
3705
|
|
|
3672
3706
|
// plugins/outline/index.tsx
|
|
@@ -3679,7 +3713,7 @@ var outlinePlugin = () => ({
|
|
|
3679
3713
|
icon: /* @__PURE__ */ jsx21(List, {})
|
|
3680
3714
|
});
|
|
3681
3715
|
|
|
3682
|
-
// css-module:/
|
|
3716
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Breadcrumbs/styles.module.css#css-module
|
|
3683
3717
|
var styles_module_default10 = { "Breadcrumbs": "_Breadcrumbs_1e0gb_1", "Breadcrumbs-breadcrumbLabel": "_Breadcrumbs-breadcrumbLabel_1e0gb_7", "Breadcrumbs-breadcrumb": "_Breadcrumbs-breadcrumb_1e0gb_7" };
|
|
3684
3718
|
|
|
3685
3719
|
// lib/use-breadcrumbs.ts
|
|
@@ -3744,7 +3778,7 @@ var Breadcrumbs = ({
|
|
|
3744
3778
|
] });
|
|
3745
3779
|
};
|
|
3746
3780
|
|
|
3747
|
-
// css-module:/
|
|
3781
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Fields/styles.module.css#css-module
|
|
3748
3782
|
var styles_module_default11 = { "CredBuildFields": "_CredBuildFields_53gu7_1", "CredBuildFields--isLoading": "_CredBuildFields--isLoading_53gu7_6", "CredBuildFields-loadingOverlay": "_CredBuildFields-loadingOverlay_53gu7_10", "CredBuildFields-loadingOverlayInner": "_CredBuildFields-loadingOverlayInner_53gu7_25", "CredBuildFields-field": "_CredBuildFields-field_53gu7_32", "CredBuildFields--wrapFields": "_CredBuildFields--wrapFields_53gu7_36" };
|
|
3749
3783
|
|
|
3750
3784
|
// components/CredBuild/components/Fields/index.tsx
|
|
@@ -3900,7 +3934,7 @@ var FieldsInternal = ({ wrapFields = true }) => {
|
|
|
3900
3934
|
};
|
|
3901
3935
|
var Fields = memo8(FieldsInternal);
|
|
3902
3936
|
|
|
3903
|
-
// css-module:/
|
|
3937
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/plugins/fields/styles.module.css#css-module
|
|
3904
3938
|
var styles_module_default12 = { "FieldsPlugin": "_FieldsPlugin_6as57_1", "FieldsPlugin-header": "_FieldsPlugin-header_6as57_7" };
|
|
3905
3939
|
|
|
3906
3940
|
// plugins/fields/index.tsx
|
|
@@ -4236,7 +4270,7 @@ function AutoFrame({
|
|
|
4236
4270
|
AutoFrame.displayName = "AutoFrame";
|
|
4237
4271
|
var AutoFrame_default = AutoFrame;
|
|
4238
4272
|
|
|
4239
|
-
// css-module:/
|
|
4273
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Preview/styles.module.css#css-module
|
|
4240
4274
|
var styles_module_default13 = { "CredBuildPreview": "_CredBuildPreview_1z08a_1", "CredBuildPreview-frame": "_CredBuildPreview-frame_1z08a_6" };
|
|
4241
4275
|
|
|
4242
4276
|
// lib/bubble-pointer-event.ts
|
|
@@ -4464,7 +4498,7 @@ function PropsProvider(props) {
|
|
|
4464
4498
|
}
|
|
4465
4499
|
var usePropsContext = () => useContext10(propsContext);
|
|
4466
4500
|
|
|
4467
|
-
// css-module:/
|
|
4501
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Layout/styles.module.css#css-module
|
|
4468
4502
|
var styles_module_default14 = { "CredBuildLayout": "_CredBuildLayout_14aaz_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_14aaz_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_14aaz_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_14aaz_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_14aaz_37", "CredBuildLayout-item": "_CredBuildLayout-item_14aaz_43", "CredBuildLayout-header": "_CredBuildLayout-header_14aaz_49", "CredBuildLayout-left": "_CredBuildLayout-left_14aaz_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_14aaz_67", "CredBuildLayout-right": "_CredBuildLayout-right_14aaz_75", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_14aaz_92", "CredBuildPluginTab": "_CredBuildPluginTab_14aaz_107", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_14aaz_114", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_14aaz_118", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_14aaz_134" };
|
|
4469
4503
|
|
|
4470
4504
|
// lib/use-inject-css.ts
|
|
@@ -5278,7 +5312,7 @@ var DragDropContext = ({
|
|
|
5278
5312
|
// components/CredBuild/components/Header/index.tsx
|
|
5279
5313
|
import { memo as memo9, useCallback as useCallback17, useMemo as useMemo18, useState as useState14 } from "react";
|
|
5280
5314
|
|
|
5281
|
-
// css-module:/
|
|
5315
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/MenuBar/styles.module.css#css-module
|
|
5282
5316
|
var styles_module_default15 = { "MenuBar": "_MenuBar_1m2ld_1", "MenuBar--menuOpen": "_MenuBar--menuOpen_1m2ld_14", "MenuBar-inner": "_MenuBar-inner_1m2ld_29", "MenuBar-history": "_MenuBar-history_1m2ld_45" };
|
|
5283
5317
|
|
|
5284
5318
|
// components/MenuBar/index.tsx
|
|
@@ -5338,7 +5372,7 @@ function MenuBar({
|
|
|
5338
5372
|
// components/ViewportControls/index.tsx
|
|
5339
5373
|
import { useEffect as useEffect18, useMemo as useMemo16, useState as useState13 } from "react";
|
|
5340
5374
|
|
|
5341
|
-
// css-module:/
|
|
5375
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ViewportControls/styles.module.css#css-module
|
|
5342
5376
|
var styles_module_default16 = { "ViewportControls": "_ViewportControls_gefvg_1", "ViewportControls--fullScreen": "_ViewportControls--fullScreen_gefvg_5", "ViewportControls-toggleButton": "_ViewportControls-toggleButton_gefvg_14", "ViewportControls--isExpanded": "_ViewportControls--isExpanded_gefvg_38", "ViewportControls-actions": "_ViewportControls-actions_gefvg_42", "ViewportControls-actionsInner": "_ViewportControls-actionsInner_gefvg_46", "ViewportControls-divider": "_ViewportControls-divider_gefvg_76", "ViewportControls-zoomSelect": "_ViewportControls-zoomSelect_gefvg_83", "ViewportControls-zoom": "_ViewportControls-zoom_gefvg_83", "ViewportButton-inner": "_ViewportButton-inner_gefvg_114", "ViewportButton--isActive": "_ViewportButton--isActive_gefvg_122" };
|
|
5343
5377
|
|
|
5344
5378
|
// components/ViewportControls/index.tsx
|
|
@@ -5537,7 +5571,7 @@ var useCanvasFrame = () => {
|
|
|
5537
5571
|
return context;
|
|
5538
5572
|
};
|
|
5539
5573
|
|
|
5540
|
-
// css-module:/
|
|
5574
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Header/styles.module.css#css-module
|
|
5541
5575
|
var styles_module_default17 = { "CredBuildHeader": "_CredBuildHeader_qzv5u_1", "CredBuildHeader-inner": "_CredBuildHeader-inner_qzv5u_20", "CredBuildHeader-viewportTools": "_CredBuildHeader-viewportTools_qzv5u_28", "CredBuildHeader-leftActions": "_CredBuildHeader-leftActions_qzv5u_35", "CredBuildHeader-toggle": "_CredBuildHeader-toggle_qzv5u_41", "CredBuildHeader-leftSideBarToggle": "_CredBuildHeader-leftSideBarToggle_qzv5u_47", "CredBuildHeader-rightSideBarToggle": "_CredBuildHeader-rightSideBarToggle_qzv5u_48", "CredBuildHeader-title": "_CredBuildHeader-title_qzv5u_52", "CredBuildHeader-path": "_CredBuildHeader-path_qzv5u_57", "CredBuildHeader-tools": "_CredBuildHeader-tools_qzv5u_68", "CredBuildHeader-menuButton": "_CredBuildHeader-menuButton_qzv5u_75" };
|
|
5542
5576
|
|
|
5543
5577
|
// components/CredBuild/components/Header/index.tsx
|
|
@@ -5812,8 +5846,8 @@ var HeaderInner = ({
|
|
|
5812
5846
|
};
|
|
5813
5847
|
var Header = memo9(HeaderInner);
|
|
5814
5848
|
|
|
5815
|
-
// css-module:/
|
|
5816
|
-
var styles_module_default18 = { "SidebarSection": "
|
|
5849
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/SidebarSection/styles.module.css#css-module
|
|
5850
|
+
var styles_module_default18 = { "SidebarSection": "_SidebarSection_bv89x_1", "SidebarSection-title": "_SidebarSection-title_bv89x_12", "SidebarSection--noBorderTop": "_SidebarSection--noBorderTop_bv89x_37", "SidebarSection-content": "_SidebarSection-content_bv89x_41", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_bv89x_50", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_bv89x_79", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_bv89x_50", "SidebarSection-heading": "_SidebarSection-heading_bv89x_91", "SidebarSection-loadingOverlay": "_SidebarSection-loadingOverlay_bv89x_95" };
|
|
5817
5851
|
|
|
5818
5852
|
// components/SidebarSection/index.tsx
|
|
5819
5853
|
import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
@@ -5845,7 +5879,7 @@ import {
|
|
|
5845
5879
|
useState as useState15
|
|
5846
5880
|
} from "react";
|
|
5847
5881
|
|
|
5848
|
-
// css-module:/
|
|
5882
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Canvas/styles.module.css#css-module
|
|
5849
5883
|
var styles_module_default19 = { "CredBuildCanvas": "_CredBuildCanvas_1ivia_1", "CredBuildCanvas--fullScreen": "_CredBuildCanvas--fullScreen_1ivia_22", "CredBuildCanvas-inner": "_CredBuildCanvas-inner_1ivia_33", "CredBuildCanvas-root": "_CredBuildCanvas-root_1ivia_42", "CredBuildCanvas--ready": "_CredBuildCanvas--ready_1ivia_67", "CredBuildCanvas-loader": "_CredBuildCanvas-loader_1ivia_72", "CredBuildCanvas--showLoader": "_CredBuildCanvas--showLoader_1ivia_82" };
|
|
5850
5884
|
|
|
5851
5885
|
// components/CredBuild/components/Canvas/index.tsx
|
|
@@ -6148,7 +6182,7 @@ function useSidebarResize(position, dispatch) {
|
|
|
6148
6182
|
// components/CredBuild/components/ResizeHandle/index.tsx
|
|
6149
6183
|
import { useCallback as useCallback20, useRef as useRef16 } from "react";
|
|
6150
6184
|
|
|
6151
|
-
// css-module:/
|
|
6185
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/ResizeHandle/styles.module.css#css-module
|
|
6152
6186
|
var styles_module_default20 = { "ResizeHandle": "_ResizeHandle_144bf_2", "ResizeHandle--left": "_ResizeHandle--left_144bf_16", "ResizeHandle--right": "_ResizeHandle--right_144bf_20" };
|
|
6153
6187
|
|
|
6154
6188
|
// components/CredBuild/components/ResizeHandle/index.tsx
|
|
@@ -6219,7 +6253,7 @@ var ResizeHandle = ({
|
|
|
6219
6253
|
);
|
|
6220
6254
|
};
|
|
6221
6255
|
|
|
6222
|
-
// css-module:/
|
|
6256
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Sidebar/styles.module.css#css-module
|
|
6223
6257
|
var styles_module_default21 = { "Sidebar": "_Sidebar_1kcif_1", "Sidebar--isVisible": "_Sidebar--isVisible_1kcif_13", "Sidebar--left": "_Sidebar--left_1kcif_17", "Sidebar--right": "_Sidebar--right_1kcif_29", "Sidebar-resizeHandle": "_Sidebar-resizeHandle_1kcif_42" };
|
|
6224
6258
|
|
|
6225
6259
|
// components/CredBuild/components/Sidebar/index.tsx
|
|
@@ -6312,7 +6346,7 @@ var useDeleteHotkeys = () => {
|
|
|
6312
6346
|
useHotkey({ backspace: true }, deleteSelectedComponent);
|
|
6313
6347
|
};
|
|
6314
6348
|
|
|
6315
|
-
// css-module:/
|
|
6349
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/CredBuild/components/Nav/styles.module.css#css-module
|
|
6316
6350
|
var styles_module_default22 = { "Nav": "_Nav_wbh7e_1", "Nav-list": "_Nav-list_wbh7e_9", "CredBuildHeader-path": "_CredBuildHeader-path_wbh7e_20", "NavItem": "_NavItem_wbh7e_38", "NavItem-link": "_NavItem-link_wbh7e_43", "NavItem-linkIcon": "_NavItem-linkIcon_wbh7e_64", "NavItem--active": "_NavItem--active_wbh7e_77", "NavItem--mobileOnly": "_NavItem--mobileOnly_wbh7e_90", "NavItem--desktopOnly": "_NavItem--desktopOnly_wbh7e_95" };
|
|
6317
6351
|
|
|
6318
6352
|
// components/CredBuild/components/Nav/index.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-STIUFJT2.mjs";
|
|
4
4
|
|
|
5
5
|
// components/RichTextMenu/index.tsx
|
|
6
6
|
import { lazy, Suspense } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
var LoadedRichTextMenuFull = lazy(
|
|
9
|
-
() => import("./full-
|
|
9
|
+
() => import("./full-ECZCK3RE.mjs").then((m) => ({
|
|
10
10
|
default: m.LoadedRichTextMenuFull
|
|
11
11
|
}))
|
|
12
12
|
);
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
getDeep,
|
|
4
4
|
useFieldStoreApi,
|
|
5
5
|
useNestedFieldContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChevronDown,
|
|
9
9
|
ChevronUp,
|
|
10
10
|
LayoutTemplate,
|
|
11
11
|
useAppStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
13
13
|
import {
|
|
14
14
|
get_class_name_factory_default
|
|
15
15
|
} from "./chunk-BFHV72KK.mjs";
|
|
16
16
|
|
|
17
|
-
// css-module:/
|
|
18
|
-
var styles_module_default = { "ObjectField": "
|
|
17
|
+
// css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/fields/ObjectField/styles.module.css#css-module
|
|
18
|
+
var styles_module_default = { "ObjectField": "_ObjectField_12pvo_1", "ObjectField--isOpen": "_ObjectField--isOpen_12pvo_10", "ObjectField-content": "_ObjectField-content_12pvo_14", "ObjectField-fieldset": "_ObjectField-fieldset_12pvo_18", "ObjectField-header": "_ObjectField-header_12pvo_30", "ObjectField-headerIcon": "_ObjectField-headerIcon_12pvo_53" };
|
|
19
19
|
|
|
20
20
|
// components/AutoField/fields/ObjectField/index.tsx
|
|
21
21
|
import { useState } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-STIUFJT2.mjs";
|
|
4
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
5
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
6
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
7
|
+
import "./chunk-MZXW5F5R.mjs";
|
|
8
8
|
import "./chunk-64A37UUC.mjs";
|
|
9
9
|
import "./chunk-SMAWAXVX.mjs";
|
|
10
10
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/
|
|
1
|
+
/* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
2
2
|
._RichTextMenu_193iw_1 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
border-left: 0.5px solid var(--credbuild-color-grey-05);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
/* css-module:/
|
|
43
|
+
/* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
|
|
44
44
|
._IconButton_1a0fz_1 {
|
|
45
45
|
align-items: center;
|
|
46
46
|
background: transparent;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
color: var(--credbuild-color-grey-07);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
/* css-module:/
|
|
88
|
+
/* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Loader/styles.module.css/#css-module-data */
|
|
89
89
|
@keyframes _loader-animation_nacdm_1 {
|
|
90
90
|
0% {
|
|
91
91
|
transform: rotate(0deg) scale(1);
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
animation-fill-mode: both;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/* css-module:/
|
|
110
|
+
/* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ActionBar/styles.module.css/#css-module-data */
|
|
111
111
|
._ActionBar_ze0ci_1 {
|
|
112
112
|
align-items: center;
|
|
113
113
|
cursor: default;
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
height: 100%;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
/* css-module:/
|
|
205
|
+
/* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
206
206
|
._Control_1aveu_1 .lucide {
|
|
207
207
|
height: 18px;
|
|
208
208
|
width: 18px;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
width: 16px;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
/* css-module:/
|
|
215
|
+
/* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Select/styles.module.css/#css-module-data */
|
|
216
216
|
._Select_16son_1 {
|
|
217
217
|
position: relative;
|
|
218
218
|
z-index: 1;
|