@flamingo-stack/openframe-frontend-core 0.0.745 → 0.0.748
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/build/export-map.json +1 -1
- package/dist/{chunk-7PQOZLVP.cjs → chunk-46EIXJFC.cjs} +20 -20
- package/dist/{chunk-FNIFUCXU.cjs → chunk-4AZHFLOM.cjs} +5 -5
- package/dist/{chunk-YJRMCFX3.cjs → chunk-4MGZYY6U.cjs} +7 -7
- package/dist/{chunk-QES5NV4T.cjs → chunk-6XP6RNFD.cjs} +1040 -1010
- package/dist/{chunk-75BF7YJR.cjs → chunk-7Y3VMMJB.cjs} +13 -13
- package/dist/{chunk-GAGNKWOC.cjs → chunk-BBM2ICOY.cjs} +2 -2
- package/dist/{chunk-DJO7YMT3.cjs → chunk-BBTSJYTR.cjs} +232 -227
- package/dist/{chunk-4N7KGOBS.cjs → chunk-BEC43GHL.cjs} +3 -3
- package/dist/{chunk-NFINQ7IZ.cjs → chunk-D4XZL27V.cjs} +6 -6
- package/dist/{chunk-PM5ELQBL.cjs → chunk-EH3LOWGY.cjs} +32 -32
- package/dist/{chunk-7KHQHYXL.cjs → chunk-G2ELX3DG.cjs} +18 -18
- package/dist/{chunk-M4FKV2U5.cjs → chunk-GE4PCDNZ.cjs} +12 -12
- package/dist/{chunk-GEEKJ7SH.cjs → chunk-H34A2765.cjs} +74 -74
- package/dist/{chunk-URVIPSAJ.cjs → chunk-HNLI4OU5.cjs} +14 -14
- package/dist/{chunk-ABLUMGCI.cjs → chunk-JHQNUWFM.cjs} +83 -33
- package/dist/{chunk-3LX5AGZO.cjs → chunk-JNBOQ7F2.cjs} +24 -24
- package/dist/{chunk-RIGSZEXS.cjs → chunk-JOPFX3PJ.cjs} +90 -90
- package/dist/{chunk-UY6A6TEY.cjs → chunk-L2IQESTQ.cjs} +2 -2
- package/dist/{chunk-HVR7DPAY.cjs → chunk-OZUJYBQ2.cjs} +4 -4
- package/dist/{chunk-LJ46XYYP.cjs → chunk-P7KTAXXE.cjs} +41 -27
- package/dist/{chunk-OWGLRE74.cjs → chunk-PSIKUDUV.cjs} +8 -8
- package/dist/{chunk-4A6OF4HI.cjs → chunk-PSSGIZXZ.cjs} +44 -44
- package/dist/{chunk-YIOWV7LS.cjs → chunk-QPSQ5WLG.cjs} +2 -2
- package/dist/{chunk-GQ2TRIOV.cjs → chunk-TRXCQADV.cjs} +35 -35
- package/dist/{chunk-U2O5YQRP.cjs → chunk-U6XWGK53.cjs} +33 -33
- package/dist/{chunk-HMSCUL4R.cjs → chunk-UNR74CAC.cjs} +4 -4
- package/dist/{chunk-JGZEHBBD.cjs → chunk-YIRX6C7V.cjs} +10 -10
- package/dist/{chunk-6IQDQQ56.cjs → chunk-YKJQM2O6.cjs} +38 -38
- package/dist/{chunk-5TCIRWHL.cjs → chunk-YRULLK7N.cjs} +5 -5
- package/dist/{chunk-GOTEXQZN.cjs → chunk-ZNUSYMH7.cjs} +80 -80
- package/dist/{cloud-tenants-DECPWIYQ.cjs → cloud-tenants-V5727B7F.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +31 -29
- package/dist/components/case-studies/share-experience-section.d.ts.map +1 -1
- package/dist/components/case-studies/share-experience-section.js +6 -5
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +116 -116
- package/dist/components/index.cjs +121 -125
- package/dist/components/layout/page-heading.d.ts +16 -0
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +16 -2
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/filter-checkbox-item.d.ts +8 -2
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +14 -4
- package/dist/components/ui/index.cjs +15 -13
- package/dist/components/ui/layout-hold.d.ts +4 -3
- package/dist/components/ui/layout-hold.d.ts.map +1 -1
- package/dist/components/ui/layout-hold.js +29 -9
- package/dist/components/unified-filter-logic.js +1 -1
- package/dist/components/vendor-tag.d.ts +12 -0
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +50 -47
- package/dist/{devices-HJKDRWQX.cjs → devices-WWMXIIHI.cjs} +14 -14
- package/dist/{embeddable-chat-3SKFBO2P.cjs → embeddable-chat-IJHCGQ24.cjs} +80 -80
- package/dist/index.cjs +22 -18
- package/dist/{knowledge-NH2CGY2C.cjs → knowledge-JZP4RIXB.cjs} +14 -14
- package/dist/{logs-KZYIDYQK.cjs → logs-WIRYFNUC.cjs} +21 -21
- package/dist/{policies-UAVTPIKM.cjs → policies-X7OJYA7G.cjs} +17 -17
- package/dist/{remote-session-N4PJB5FW.cjs → remote-session-IYT4LWJC.cjs} +7 -7
- package/dist/{scripts-FRPY43KU.cjs → scripts-GRMT2NGW.cjs} +20 -20
- package/dist/{software-update-AEJJNLX5.cjs → software-update-G3QOB7RT.cjs} +17 -17
- package/dist/{tickets-board-O753S4ZB.cjs → tickets-board-4MT6ZB4F.cjs} +8 -8
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +2 -3
- package/dist/utils/index.cjs +123 -72
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +8 -6
- package/dist/utils/markdown-to-plain.d.ts.map +1 -1
- package/dist/utils/markdown-to-plain.js +12 -7
- package/dist/utils/vendor-classification.d.ts +43 -17
- package/dist/utils/vendor-classification.d.ts.map +1 -1
- package/dist/utils/vendor-classification.js +73 -22
- package/package.json +7 -2
- package/src/components/case-studies/share-experience-section.tsx +9 -6
- package/src/components/layout/page-heading.tsx +52 -11
- package/src/components/ui/filter-checkbox-item.tsx +21 -5
- package/src/components/ui/layout-hold.tsx +38 -10
- package/src/components/unified-filter-logic.tsx +1 -1
- package/src/components/vendor-tag.tsx +73 -69
- package/src/utils/format.ts +2 -3
- package/src/utils/index.ts +7 -5
- package/src/utils/markdown-to-plain.ts +25 -16
- package/src/utils/vendor-classification.ts +113 -34
- package/dist/utils/format-text-stub.d.ts +0 -5
- package/dist/utils/format-text-stub.d.ts.map +0 -1
- package/dist/utils/format-text-stub.js +0 -20
- package/src/utils/format-text-stub.ts +0 -17
|
@@ -5,12 +5,12 @@ var _chunk4FWURR3Wcjs = require('./chunk-4FWURR3W.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkZNUSYMH7cjs = require('./chunk-ZNUSYMH7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkBBTSJYTRcjs = require('./chunk-BBTSJYTR.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkYIRX6C7Vcjs = require('./chunk-YIRX6C7V.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkP7KTAXXEcjs = require('./chunk-P7KTAXXE.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
@@ -57,7 +57,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
57
57
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
|
-
id:
|
|
60
|
+
id: _chunkBBTSJYTRcjs.faqItemAnchor.call(void 0, item.id),
|
|
61
61
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
62
62
|
children: [
|
|
63
63
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -110,14 +110,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
110
110
|
|
|
111
111
|
var PICK_ROOT_MARGIN = "600px";
|
|
112
112
|
function faqAskCardShown(assistant) {
|
|
113
|
-
return
|
|
113
|
+
return _chunkZNUSYMH7cjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
114
114
|
}
|
|
115
115
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
116
116
|
const { ref, inView } = _chunkCSJO7ZGNcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
117
117
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
118
118
|
if (inView && !reached) setReached(true);
|
|
119
119
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
120
|
-
|
|
120
|
+
_chunkZNUSYMH7cjs.AssistantAskPrompts,
|
|
121
121
|
{
|
|
122
122
|
variant: "card",
|
|
123
123
|
topic,
|
|
@@ -170,7 +170,7 @@ function pageFaqProps(faq) {
|
|
|
170
170
|
}
|
|
171
171
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
172
172
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
173
|
-
return
|
|
173
|
+
return _chunkYIRX6C7Vcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
174
174
|
apiBaseUrl,
|
|
175
175
|
entityType,
|
|
176
176
|
entityId,
|
|
@@ -191,7 +191,7 @@ function groupFaqsBySection(faqs) {
|
|
|
191
191
|
}
|
|
192
192
|
let group = byName.get(name);
|
|
193
193
|
if (!group) {
|
|
194
|
-
group = { section: name, slug:
|
|
194
|
+
group = { section: name, slug: _chunkBBTSJYTRcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
195
195
|
byName.set(name, group);
|
|
196
196
|
}
|
|
197
197
|
group.items.push(item);
|
|
@@ -246,7 +246,7 @@ function GroupedFaqList({
|
|
|
246
246
|
}, [slugKey]);
|
|
247
247
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
248
248
|
_react.useEffect.call(void 0, () => {
|
|
249
|
-
const refresh = () => setHashTarget(
|
|
249
|
+
const refresh = () => setHashTarget(_chunkBBTSJYTRcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
250
250
|
refresh();
|
|
251
251
|
window.addEventListener("hashchange", refresh);
|
|
252
252
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -296,7 +296,7 @@ function GroupedFaqList({
|
|
|
296
296
|
const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
|
|
297
297
|
const key = groupKey(group);
|
|
298
298
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
|
|
299
|
-
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className:
|
|
299
|
+
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkP7KTAXXEcjs.SECTION_HEADING_CLASS, children: group.section }),
|
|
300
300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
301
301
|
FaqAccordion,
|
|
302
302
|
{
|
|
@@ -355,11 +355,11 @@ function FaqSection({
|
|
|
355
355
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
356
356
|
[initialFaqs]
|
|
357
357
|
);
|
|
358
|
-
const { data, dataUrl, isLoading, error } =
|
|
358
|
+
const { data, dataUrl, isLoading, error } = _chunkYIRX6C7Vcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
359
359
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
|
|
360
360
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
361
361
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
362
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
362
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkP7KTAXXEcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
363
363
|
const headingNode = showTopic && topic ? (
|
|
364
364
|
// The host's heading may arrive from a server component, still streaming: React cannot check such a
|
|
365
365
|
// node when it sits in a list of siblings and warns about a missing key. So it is the ONLY child of its
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkP7KTAXXEcjs = require('./chunk-P7KTAXXE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -45,7 +45,7 @@ function PaginationControl({
|
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
const handleClick = (event) => {
|
|
48
|
-
if (
|
|
48
|
+
if (_chunkP7KTAXXEcjs.isModifierClick.call(void 0, event)) return;
|
|
49
49
|
event.preventDefault();
|
|
50
50
|
onPageChange(page);
|
|
51
51
|
};
|