@flamingo-stack/openframe-frontend-core 0.0.248 → 0.0.250
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/{chunk-AGU44B7B.js → chunk-2FCXJTOV.js} +55 -357
- package/dist/chunk-2FCXJTOV.js.map +1 -0
- package/dist/{chunk-RV2PYHCJ.js → chunk-4HHYUEMD.js} +3 -3
- package/dist/{chunk-UECRKCKH.js → chunk-4RDJZIHW.js} +115 -279
- package/dist/chunk-4RDJZIHW.js.map +1 -0
- package/dist/chunk-6JINAOI7.cjs +311 -0
- package/dist/chunk-6JINAOI7.cjs.map +1 -0
- package/dist/chunk-6LK4VEXE.cjs +4514 -0
- package/dist/chunk-6LK4VEXE.cjs.map +1 -0
- package/dist/{chunk-OTFJKBDW.js → chunk-D2BC3NZ2.js} +5061 -9377
- package/dist/chunk-D2BC3NZ2.js.map +1 -0
- package/dist/chunk-DAAFVOTL.cjs +172 -0
- package/dist/chunk-DAAFVOTL.cjs.map +1 -0
- package/dist/{chunk-672QV33W.js → chunk-DZJ53RX6.js} +167 -16
- package/dist/chunk-DZJ53RX6.js.map +1 -0
- package/dist/{chunk-27VVOBDB.cjs → chunk-ELF4OOHC.cjs} +16 -180
- package/dist/chunk-ELF4OOHC.cjs.map +1 -0
- package/dist/chunk-LKI3YCAX.js +4514 -0
- package/dist/chunk-LKI3YCAX.js.map +1 -0
- package/dist/{chunk-2Q5GVNXP.cjs → chunk-LZL6P7SN.cjs} +12 -12
- package/dist/{chunk-2Q5GVNXP.cjs.map → chunk-LZL6P7SN.cjs.map} +1 -1
- package/dist/chunk-M2OCXTNT.js +311 -0
- package/dist/chunk-M2OCXTNT.js.map +1 -0
- package/dist/{chunk-PMYD4WKR.cjs → chunk-NCXHTQH2.cjs} +1677 -5993
- package/dist/chunk-NCXHTQH2.cjs.map +1 -0
- package/dist/{chunk-QHYCWQBH.cjs → chunk-PDKBCCCD.cjs} +166 -15
- package/dist/chunk-PDKBCCCD.cjs.map +1 -0
- package/dist/{chunk-OZKPUBKX.cjs → chunk-PDYT7T6K.cjs} +38 -33
- package/dist/chunk-PDYT7T6K.cjs.map +1 -0
- package/dist/{chunk-PJT6RRSP.js → chunk-PSG7H4KG.js} +7 -5
- package/dist/{chunk-PJT6RRSP.js.map → chunk-PSG7H4KG.js.map} +1 -1
- package/dist/{chunk-NFUXCXYN.js → chunk-SGEO3W3F.js} +11 -6
- package/dist/chunk-SGEO3W3F.js.map +1 -0
- package/dist/{chunk-GRTZ23GL.cjs → chunk-TU26IZPO.cjs} +16 -318
- package/dist/chunk-TU26IZPO.cjs.map +1 -0
- package/dist/{chunk-4VSPLMB6.cjs → chunk-UMH4RR2F.cjs} +34 -32
- package/dist/chunk-UMH4RR2F.cjs.map +1 -0
- package/dist/chunk-ZXZJSTNV.js +172 -0
- package/dist/chunk-ZXZJSTNV.js.map +1 -0
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +21 -7
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +63 -49
- package/dist/components/chat/utils/history-merge.d.ts +92 -0
- package/dist/components/chat/utils/history-merge.d.ts.map +1 -0
- package/dist/components/chat/utils/index.d.ts +1 -0
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -8
- package/dist/components/contact/index.cjs.map +1 -1
- package/dist/components/contact/index.js +10 -7
- package/dist/components/features/index.cjs +11 -7
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +26 -22
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/index.cjs +121 -108
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +144 -131
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +10 -7
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.js +9 -6
- package/dist/components/onboarding-guides/index.cjs +43 -53
- package/dist/components/onboarding-guides/index.cjs.map +1 -1
- package/dist/components/onboarding-guides/index.js +25 -35
- package/dist/components/onboarding-guides/index.js.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +11 -11
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +11 -8
- package/dist/components/related-content/index.cjs.map +1 -1
- package/dist/components/related-content/index.js +10 -7
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +96 -93
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +21 -18
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +52 -50
- package/dist/components/ui/file-manager/index.cjs.map +1 -1
- package/dist/components/ui/file-manager/index.js +6 -4
- package/dist/components/ui/file-manager/index.js.map +1 -1
- package/dist/components/ui/index.cjs +26 -11
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +112 -97
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +5 -5
- package/dist/hooks/index.cjs +6 -4
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +8 -6
- package/dist/index.cjs +27 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +167 -151
- package/package.json +1 -1
- package/src/components/chat/__tests__/chat-message-list.test.tsx +92 -0
- package/src/components/chat/chat-message-list.tsx +74 -49
- package/src/components/chat/utils/__tests__/history-merge.test.ts +339 -0
- package/src/components/chat/utils/history-merge.ts +255 -0
- package/src/components/chat/utils/index.ts +12 -0
- package/src/components/features/policy-configuration-panel.tsx +1 -0
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +28 -33
- package/src/components/related-content/related-content-section.tsx +6 -2
- package/dist/chunk-27VVOBDB.cjs.map +0 -1
- package/dist/chunk-4VSPLMB6.cjs.map +0 -1
- package/dist/chunk-672QV33W.js.map +0 -1
- package/dist/chunk-AGU44B7B.js.map +0 -1
- package/dist/chunk-GRTZ23GL.cjs.map +0 -1
- package/dist/chunk-NFUXCXYN.js.map +0 -1
- package/dist/chunk-OTFJKBDW.js.map +0 -1
- package/dist/chunk-OZKPUBKX.cjs.map +0 -1
- package/dist/chunk-PMYD4WKR.cjs.map +0 -1
- package/dist/chunk-QHYCWQBH.cjs.map +0 -1
- package/dist/chunk-QWYJETDL.cjs +0 -162
- package/dist/chunk-QWYJETDL.cjs.map +0 -1
- package/dist/chunk-UECRKCKH.js.map +0 -1
- package/dist/chunk-WTTLEGEO.js +0 -162
- package/dist/chunk-WTTLEGEO.js.map +0 -1
- /package/dist/{chunk-RV2PYHCJ.js.map → chunk-4HHYUEMD.js.map} +0 -0
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
var _chunk27APPAJNcjs = require('./chunk-27APPAJN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunkOZ3GH6OQcjs = require('./chunk-OZ3GH6OQ.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkDAAFVOTLcjs = require('./chunk-DAAFVOTL.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
7
13
|
|
|
8
14
|
|
|
9
15
|
var _chunkG7UE6RKVcjs = require('./chunk-G7UE6RKV.cjs');
|
|
@@ -27,26 +33,8 @@ var _chunkFIG2RKZFcjs = require('./chunk-FIG2RKZF.cjs');
|
|
|
27
33
|
|
|
28
34
|
var _chunkC6ASEPZLcjs = require('./chunk-C6ASEPZL.cjs');
|
|
29
35
|
|
|
30
|
-
|
|
31
|
-
var _chunkOZ3GH6OQcjs = require('./chunk-OZ3GH6OQ.cjs');
|
|
32
|
-
|
|
33
|
-
// src/hooks/ui/use-debounce.ts
|
|
34
|
-
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
35
|
-
function useDebounce(value, delay = 500) {
|
|
36
|
-
const [debouncedValue, setDebouncedValue] = _react.useState.call(void 0, value);
|
|
37
|
-
_react.useEffect.call(void 0, () => {
|
|
38
|
-
const timer = setTimeout(() => {
|
|
39
|
-
setDebouncedValue(value);
|
|
40
|
-
}, delay);
|
|
41
|
-
return () => {
|
|
42
|
-
clearTimeout(timer);
|
|
43
|
-
};
|
|
44
|
-
}, [value, delay]);
|
|
45
|
-
return debouncedValue;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
36
|
// src/hooks/ui/use-local-storage.ts
|
|
49
|
-
|
|
37
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
50
38
|
function useLocalStorage(key, initialValue) {
|
|
51
39
|
const [storedValue, setStoredValue] = _react.useState.call(void 0, () => {
|
|
52
40
|
try {
|
|
@@ -666,7 +654,7 @@ function useSearch(config) {
|
|
|
666
654
|
const [results, setResults] = _react.useState.call(void 0, []);
|
|
667
655
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, false);
|
|
668
656
|
const [error, setError] = _react.useState.call(void 0, null);
|
|
669
|
-
const debouncedQuery = useDebounce(query, debounceMs);
|
|
657
|
+
const debouncedQuery = _chunkDAAFVOTLcjs.useDebounce.call(void 0, query, debounceMs);
|
|
670
658
|
const clearResults = _react.useCallback.call(void 0, () => {
|
|
671
659
|
setResults([]);
|
|
672
660
|
setError(null);
|
|
@@ -706,84 +694,6 @@ function useSearch(config) {
|
|
|
706
694
|
return { query, setQuery, results, isLoading, error, clearResults };
|
|
707
695
|
}
|
|
708
696
|
|
|
709
|
-
// src/hooks/ui/use-auto-limit-tags.ts
|
|
710
|
-
|
|
711
|
-
function useAutoLimitTags({
|
|
712
|
-
count,
|
|
713
|
-
limitTags = "auto",
|
|
714
|
-
placeholder = "",
|
|
715
|
-
reserveInputWidth = true
|
|
716
|
-
}) {
|
|
717
|
-
const middleRef = _react.useRef.call(void 0, null);
|
|
718
|
-
const measureRef = _react.useRef.call(void 0, null);
|
|
719
|
-
const textMeasureRef = _react.useRef.call(void 0, null);
|
|
720
|
-
const badgeRef = _react.useRef.call(void 0, null);
|
|
721
|
-
const inputRef = _react.useRef.call(void 0, null);
|
|
722
|
-
const [visibleCount, setVisibleCount] = _react.useState.call(void 0, count);
|
|
723
|
-
const recalculate = _react.useCallback.call(void 0, () => {
|
|
724
|
-
if (limitTags !== "auto") {
|
|
725
|
-
setVisibleCount(Math.min(limitTags, count));
|
|
726
|
-
return;
|
|
727
|
-
}
|
|
728
|
-
const middle = middleRef.current;
|
|
729
|
-
const measure = measureRef.current;
|
|
730
|
-
if (!middle || !measure) {
|
|
731
|
-
setVisibleCount(count);
|
|
732
|
-
return;
|
|
733
|
-
}
|
|
734
|
-
if (count === 0) {
|
|
735
|
-
setVisibleCount(0);
|
|
736
|
-
return;
|
|
737
|
-
}
|
|
738
|
-
const cs = getComputedStyle(middle);
|
|
739
|
-
const padL = parseFloat(cs.paddingLeft) || 0;
|
|
740
|
-
const padR = parseFloat(cs.paddingRight) || 0;
|
|
741
|
-
const gap = parseFloat(cs.gap) || 0;
|
|
742
|
-
const middleW = middle.clientWidth;
|
|
743
|
-
let inputReservedW = 0;
|
|
744
|
-
let trailingGap = 0;
|
|
745
|
-
if (reserveInputWidth) {
|
|
746
|
-
const textW = _nullishCoalesce(_optionalChain([textMeasureRef, 'access', _2 => _2.current, 'optionalAccess', _3 => _3.offsetWidth]), () => ( 60));
|
|
747
|
-
const inputMinW = inputRef.current ? parseFloat(getComputedStyle(inputRef.current).minWidth) || 60 : 60;
|
|
748
|
-
inputReservedW = Math.max(textW + 8, inputMinW);
|
|
749
|
-
trailingGap = gap;
|
|
750
|
-
}
|
|
751
|
-
const available = middleW - padL - padR - inputReservedW - trailingGap;
|
|
752
|
-
const tagEls = Array.from(measure.children);
|
|
753
|
-
const widths = tagEls.map((el) => el.offsetWidth);
|
|
754
|
-
let total = 0;
|
|
755
|
-
for (let i = 0; i < widths.length; i++) {
|
|
756
|
-
total += widths[i] + (i > 0 ? gap : 0);
|
|
757
|
-
}
|
|
758
|
-
if (total <= available) {
|
|
759
|
-
setVisibleCount(count);
|
|
760
|
-
return;
|
|
761
|
-
}
|
|
762
|
-
const badgeW = _nullishCoalesce(_optionalChain([badgeRef, 'access', _4 => _4.current, 'optionalAccess', _5 => _5.offsetWidth]), () => ( 40));
|
|
763
|
-
const spaceWithBadge = available - badgeW - gap;
|
|
764
|
-
let used = 0;
|
|
765
|
-
let fitCount = 0;
|
|
766
|
-
for (let i = 0; i < widths.length; i++) {
|
|
767
|
-
const need = widths[i] + (i > 0 ? gap : 0);
|
|
768
|
-
if (used + need > spaceWithBadge) break;
|
|
769
|
-
used += need;
|
|
770
|
-
fitCount++;
|
|
771
|
-
}
|
|
772
|
-
setVisibleCount(Math.max(0, fitCount));
|
|
773
|
-
}, [count, limitTags, placeholder, reserveInputWidth]);
|
|
774
|
-
_react.useEffect.call(void 0, () => {
|
|
775
|
-
recalculate();
|
|
776
|
-
}, [recalculate]);
|
|
777
|
-
_react.useEffect.call(void 0, () => {
|
|
778
|
-
const el = middleRef.current;
|
|
779
|
-
if (!el) return;
|
|
780
|
-
const ro = new ResizeObserver(recalculate);
|
|
781
|
-
ro.observe(el);
|
|
782
|
-
return () => ro.disconnect();
|
|
783
|
-
}, [recalculate]);
|
|
784
|
-
return { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef };
|
|
785
|
-
}
|
|
786
|
-
|
|
787
697
|
// src/hooks/platform/use-platform-config.ts
|
|
788
698
|
|
|
789
699
|
|
|
@@ -1085,7 +995,7 @@ var toolIconMap = {
|
|
|
1085
995
|
[ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.OsqueryLogoGreyIcon, { size, className }),
|
|
1086
996
|
[ToolTypeValues.SYSTEM]: () => null
|
|
1087
997
|
};
|
|
1088
|
-
var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access',
|
|
998
|
+
var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access', _2 => _2[toolType], 'optionalCall', _3 => _3(size, className)]), () => ( null)) });
|
|
1089
999
|
ToolIcon.displayName = "ToolIcon";
|
|
1090
1000
|
|
|
1091
1001
|
// src/components/ui/toaster.tsx
|
|
@@ -1204,11 +1114,11 @@ function CommandApprovalToast({
|
|
|
1204
1114
|
}) {
|
|
1205
1115
|
const [expanded, setExpanded] = React.useState(defaultExpanded);
|
|
1206
1116
|
const handleApprove = () => {
|
|
1207
|
-
_optionalChain([onApprove, 'optionalCall',
|
|
1117
|
+
_optionalChain([onApprove, 'optionalCall', _4 => _4()]);
|
|
1208
1118
|
_sonner.toast.dismiss(id);
|
|
1209
1119
|
};
|
|
1210
1120
|
const handleReject = () => {
|
|
1211
|
-
_optionalChain([onReject, 'optionalCall',
|
|
1121
|
+
_optionalChain([onReject, 'optionalCall', _5 => _5()]);
|
|
1212
1122
|
_sonner.toast.dismiss(id);
|
|
1213
1123
|
};
|
|
1214
1124
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2062,7 +1972,7 @@ function setNestedValue(obj, path, value) {
|
|
|
2062
1972
|
}
|
|
2063
1973
|
function getNestedValue(obj, path) {
|
|
2064
1974
|
return path.split(".").reduce((current, key) => {
|
|
2065
|
-
return _optionalChain([current, 'optionalAccess',
|
|
1975
|
+
return _optionalChain([current, 'optionalAccess', _6 => _6[key]]);
|
|
2066
1976
|
}, obj);
|
|
2067
1977
|
}
|
|
2068
1978
|
function mergeVariables(currentVariables, updates, schema) {
|
|
@@ -2795,64 +2705,6 @@ function useNatsClient(clientOptions, options = {}) {
|
|
|
2795
2705
|
};
|
|
2796
2706
|
}
|
|
2797
2707
|
|
|
2798
|
-
// src/hooks/use-near-viewport.ts
|
|
2799
|
-
|
|
2800
|
-
var observers = /* @__PURE__ */ new Map();
|
|
2801
|
-
var subscribers = /* @__PURE__ */ new WeakMap();
|
|
2802
|
-
function getObserverFor(rootMargin) {
|
|
2803
|
-
const existing = observers.get(rootMargin);
|
|
2804
|
-
if (existing) return existing;
|
|
2805
|
-
const io = new IntersectionObserver(
|
|
2806
|
-
(entries) => {
|
|
2807
|
-
entries.forEach((entry) => {
|
|
2808
|
-
if (!entry.isIntersecting) return;
|
|
2809
|
-
const cb = subscribers.get(entry.target);
|
|
2810
|
-
if (cb) {
|
|
2811
|
-
cb();
|
|
2812
|
-
io.unobserve(entry.target);
|
|
2813
|
-
subscribers.delete(entry.target);
|
|
2814
|
-
}
|
|
2815
|
-
});
|
|
2816
|
-
},
|
|
2817
|
-
{ rootMargin }
|
|
2818
|
-
);
|
|
2819
|
-
observers.set(rootMargin, io);
|
|
2820
|
-
return io;
|
|
2821
|
-
}
|
|
2822
|
-
function useNearViewport(rootMargin = "500px") {
|
|
2823
|
-
const [isNear, setIsNear] = _react.useState.call(void 0, false);
|
|
2824
|
-
const elRef = _react.useRef.call(void 0, null);
|
|
2825
|
-
const ref = _react.useCallback.call(void 0,
|
|
2826
|
-
(node) => {
|
|
2827
|
-
const prev = elRef.current;
|
|
2828
|
-
if (prev) {
|
|
2829
|
-
const stillOurs = subscribers.get(prev);
|
|
2830
|
-
if (stillOurs) {
|
|
2831
|
-
subscribers.delete(prev);
|
|
2832
|
-
_optionalChain([observers, 'access', _11 => _11.get, 'call', _12 => _12(rootMargin), 'optionalAccess', _13 => _13.unobserve, 'call', _14 => _14(prev)]);
|
|
2833
|
-
}
|
|
2834
|
-
}
|
|
2835
|
-
elRef.current = node;
|
|
2836
|
-
if (!node) return;
|
|
2837
|
-
const cb = () => setIsNear(true);
|
|
2838
|
-
subscribers.set(node, cb);
|
|
2839
|
-
getObserverFor(rootMargin).observe(node);
|
|
2840
|
-
},
|
|
2841
|
-
[rootMargin]
|
|
2842
|
-
);
|
|
2843
|
-
_react.useEffect.call(void 0, () => {
|
|
2844
|
-
return () => {
|
|
2845
|
-
const el = elRef.current;
|
|
2846
|
-
if (!el) return;
|
|
2847
|
-
if (subscribers.get(el)) {
|
|
2848
|
-
subscribers.delete(el);
|
|
2849
|
-
_optionalChain([observers, 'access', _15 => _15.get, 'call', _16 => _16(rootMargin), 'optionalAccess', _17 => _17.unobserve, 'call', _18 => _18(el)]);
|
|
2850
|
-
}
|
|
2851
|
-
};
|
|
2852
|
-
}, [rootMargin]);
|
|
2853
|
-
return { ref, isNear };
|
|
2854
|
-
}
|
|
2855
|
-
|
|
2856
2708
|
// src/hooks/use-access-code-integration.ts
|
|
2857
2709
|
|
|
2858
2710
|
|
|
@@ -2955,18 +2807,6 @@ function useAccessCodeIntegration() {
|
|
|
2955
2807
|
};
|
|
2956
2808
|
}
|
|
2957
2809
|
|
|
2958
|
-
// src/hooks/use-og-placeholder.ts
|
|
2959
|
-
|
|
2960
|
-
function useOgPlaceholder(buildUrl, title, siteName = "", enabled = true, aspect = "wide") {
|
|
2961
|
-
return _react.useMemo.call(void 0, () => {
|
|
2962
|
-
if (!enabled || !title) return null;
|
|
2963
|
-
const options = {};
|
|
2964
|
-
if (siteName) options.site = siteName;
|
|
2965
|
-
if (aspect === "square") options.aspect = "square";
|
|
2966
|
-
return buildUrl(title, options);
|
|
2967
|
-
}, [buildUrl, title, siteName, enabled, aspect]);
|
|
2968
|
-
}
|
|
2969
|
-
|
|
2970
2810
|
// src/hooks/use-humanity-signals.ts
|
|
2971
2811
|
|
|
2972
2812
|
|
|
@@ -2988,7 +2828,7 @@ function evaluateHumanitySignals(body, opts) {
|
|
|
2988
2828
|
if (elapsedMs !== null && elapsedMs < opts.minFillMs) return { ok: false, reason: "too_fast" };
|
|
2989
2829
|
return { ok: true };
|
|
2990
2830
|
}
|
|
2991
|
-
var splitCsvEnv = (s) => _nullishCoalesce(_optionalChain([s, 'optionalAccess',
|
|
2831
|
+
var splitCsvEnv = (s) => _nullishCoalesce(_optionalChain([s, 'optionalAccess', _7 => _7.split, 'call', _8 => _8(","), 'access', _9 => _9.map, 'call', _10 => _10((t) => t.trim()), 'access', _11 => _11.filter, 'call', _12 => _12(Boolean)]), () => ( []));
|
|
2992
2832
|
|
|
2993
2833
|
// src/hooks/use-humanity-signals.ts
|
|
2994
2834
|
function useHumanitySignals() {
|
|
@@ -2996,7 +2836,7 @@ function useHumanitySignals() {
|
|
|
2996
2836
|
const mountedAt = _react.useRef.call(void 0, typeof performance !== "undefined" ? performance.now() : 0);
|
|
2997
2837
|
const getSignals = _react.useCallback.call(void 0,
|
|
2998
2838
|
() => ({
|
|
2999
|
-
[HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access',
|
|
2839
|
+
[HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _13 => _13.current, 'optionalAccess', _14 => _14.value]), () => ( "")),
|
|
3000
2840
|
[ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - mountedAt.current) : 0
|
|
3001
2841
|
}),
|
|
3002
2842
|
[]
|
|
@@ -3098,9 +2938,5 @@ function useHumanitySignals() {
|
|
|
3098
2938
|
|
|
3099
2939
|
|
|
3100
2940
|
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
exports.useAutoLimitTags = useAutoLimitTags; exports.useDebounce = useDebounce; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useOnboardingState = useOnboardingState; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useSearch = useSearch; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useNearViewport = useNearViewport; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.useOgPlaceholder = useOgPlaceholder; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.extractHumanitySignals = extractHumanitySignals; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.useHumanitySignals = useHumanitySignals;
|
|
3106
|
-
//# sourceMappingURL=chunk-27VVOBDB.cjs.map
|
|
2941
|
+
exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useOnboardingState = useOnboardingState; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useSearch = useSearch; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.extractHumanitySignals = extractHumanitySignals; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.useHumanitySignals = useHumanitySignals;
|
|
2942
|
+
//# sourceMappingURL=chunk-ELF4OOHC.cjs.map
|