@flamingo-stack/openframe-frontend-core 0.0.699 → 0.0.700
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-HVY6MU33.cjs → chunk-2CSYUMNM.cjs} +2 -2
- package/dist/{chunk-Q2QS562J.cjs → chunk-4H5Q6MQG.cjs} +44 -44
- package/dist/{chunk-ERC2PVUG.cjs → chunk-65YVUYWJ.cjs} +32 -32
- package/dist/{chunk-SUXB6YSP.js → chunk-6JG75WVO.js} +4 -4
- package/dist/{chunk-Z6R7GE5L.js → chunk-6JPQDYYY.js} +261 -232
- package/dist/{chunk-SCUPTMLG.cjs → chunk-7ZDTAABP.cjs} +7 -7
- package/dist/{chunk-UDJPRMLP.js → chunk-A5ZGKBN2.js} +1 -1
- package/dist/{chunk-U473T27Y.js → chunk-B7M6QEEM.js} +1 -1
- package/dist/{chunk-GRTLCRZA.cjs → chunk-BPS7JQCI.cjs} +2 -2
- package/dist/{chunk-YJNJINXN.cjs → chunk-BQ34PIFC.cjs} +3 -3
- package/dist/{chunk-GZLE67PF.cjs → chunk-BRQY2HKD.cjs} +24 -24
- package/dist/{chunk-4CZC5NFR.js → chunk-BZYMGI4L.js} +1 -1
- package/dist/{chunk-SNFL3B73.js → chunk-CUPJCGLB.js} +2 -2
- package/dist/{chunk-5RYXQ4TX.cjs → chunk-DG2I57UM.cjs} +21 -21
- package/dist/{chunk-WYLVP5OC.js → chunk-DJLZXJYB.js} +1 -1
- package/dist/{chunk-WTR2GHID.js → chunk-EONNPRAW.js} +2 -2
- package/dist/{chunk-36S7W4AD.js → chunk-GD4JALTR.js} +2 -2
- package/dist/{chunk-UM44DDPC.cjs → chunk-GFXZMFDX.cjs} +9 -9
- package/dist/{chunk-6THYLHRF.js → chunk-JPVDJB27.js} +4 -4
- package/dist/{chunk-6ARCZ2VH.js → chunk-MFORWVGD.js} +5 -5
- package/dist/{chunk-Z4W4XDDZ.js → chunk-N7DPIH57.js} +1 -1
- package/dist/{chunk-SWXXLZLZ.js → chunk-N7HMUQRV.js} +1 -1
- package/dist/{chunk-JN7IKMMJ.cjs → chunk-NIT257DV.cjs} +4 -4
- package/dist/{chunk-KXRUQCHZ.js → chunk-PNWIVND4.js} +3 -3
- package/dist/{chunk-EKPOIGYI.cjs → chunk-QDIX2ZRL.cjs} +313 -313
- package/dist/{chunk-ANOZ7Z4A.cjs → chunk-QPNR4N7N.cjs} +20 -20
- package/dist/{chunk-QTLRRPDO.cjs → chunk-QZGFJBG5.cjs} +70 -70
- package/dist/{chunk-2MVAILI4.cjs → chunk-RTGPIHVO.cjs} +334 -305
- package/dist/{chunk-LGEGOCU7.js → chunk-S4ADN25W.js} +2 -2
- package/dist/{chunk-IAMMZHYE.js → chunk-V5QNDOEL.js} +4 -4
- package/dist/{chunk-K7SNFTIX.cjs → chunk-YBC346FY.cjs} +12 -12
- package/dist/{chunk-RD3WWENS.cjs → chunk-ZSPHOHOW.cjs} +9 -9
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/entity-cards/dispatch.d.ts +50 -1
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +6 -2
- package/dist/components/chat/index.js +5 -1
- package/dist/components/chat/utils/card-destination.d.ts +48 -0
- package/dist/components/chat/utils/card-destination.d.ts.map +1 -0
- package/dist/components/chat/utils/index.d.ts +2 -1
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/chat/utils/resolve-fetched-card-href.d.ts +10 -0
- package/dist/components/chat/utils/resolve-fetched-card-href.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +45 -41
- package/dist/components/index.js +17 -13
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +7 -3
- package/dist/components/ui/index.js +6 -2
- package/dist/index.cjs +11 -7
- package/dist/index.js +10 -6
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +29 -73
- package/src/components/chat/utils/card-destination.ts +103 -0
- package/src/components/chat/utils/index.ts +13 -1
- package/src/components/chat/utils/resolve-fetched-card-href.ts +17 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRTGPIHVOcjs = require('./chunk-RTGPIHVO.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkMDBHZBW7cjs = require('./chunk-MDBHZBW7.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkRTGPIHVOcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkQDIX2ZRLcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useOptionalTicketLive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S4ADN25W.js";
|
|
5
5
|
import {
|
|
6
6
|
AppLayoutDrawerContainerContext,
|
|
7
7
|
AppLayoutDrawerCoordinationContext,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
UnreadDot,
|
|
14
14
|
buildTicketOpenHref,
|
|
15
15
|
useOptionalNotifications
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-B7M6QEEM.js";
|
|
17
17
|
import {
|
|
18
18
|
useFocusTrap,
|
|
19
19
|
useLocalStorage
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
OVERLAY_BACKDROP_CLASS,
|
|
23
23
|
useIsHydrated
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6JPQDYYY.js";
|
|
25
25
|
import {
|
|
26
26
|
useHeaderHeight,
|
|
27
27
|
useLgUp,
|