@flamingo-stack/openframe-frontend-core 0.0.813 → 0.0.815

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.
Files changed (80) hide show
  1. package/README.md +26 -5
  2. package/dist/build/export-map.json +1 -1
  3. package/dist/build/next-styles.cjs +170 -0
  4. package/dist/build/next-styles.d.ts +21 -0
  5. package/dist/build/style-sources.cjs +262 -0
  6. package/dist/build/style-sources.d.ts +12 -0
  7. package/dist/{chunk-OGHG6REG.cjs → chunk-3E4FIJAM.cjs} +9 -9
  8. package/dist/{chunk-G2AN67DP.cjs → chunk-3ELDGEM2.cjs} +53 -53
  9. package/dist/{chunk-FTGXZHLO.cjs → chunk-53JJLHJM.cjs} +7 -7
  10. package/dist/{chunk-GNGXHIBC.cjs → chunk-5TUR7O7H.cjs} +48 -48
  11. package/dist/{chunk-5M5JVVSL.cjs → chunk-633NTKO2.cjs} +6 -6
  12. package/dist/{chunk-5RBL7A2Y.cjs → chunk-7ERD34HQ.cjs} +539 -291
  13. package/dist/{chunk-GTOT4ZQV.cjs → chunk-7NYWHEQM.cjs} +2 -2
  14. package/dist/{chunk-PXR27MXW.cjs → chunk-EB7YAUER.cjs} +11 -11
  15. package/dist/{chunk-TOBROYSJ.cjs → chunk-EJCUAADF.cjs} +4 -4
  16. package/dist/{chunk-MBU45QUB.cjs → chunk-FUEK43FL.cjs} +109 -142
  17. package/dist/{chunk-JFA3VHXC.cjs → chunk-JH65CEO4.cjs} +19 -19
  18. package/dist/{chunk-2WD7XGWA.cjs → chunk-JOOZTRXQ.cjs} +4 -4
  19. package/dist/{chunk-MUH7X7ZA.cjs → chunk-L7W4455K.cjs} +3 -3
  20. package/dist/{chunk-XWCZSEW7.cjs → chunk-O6VWD2SB.cjs} +3 -3
  21. package/dist/{chunk-WKODIG3L.cjs → chunk-RYJJHSHV.cjs} +10 -10
  22. package/dist/{chunk-7BJ22OH2.cjs → chunk-SWBLTIN4.cjs} +32 -32
  23. package/dist/{chunk-5V3CNLCB.cjs → chunk-VDXI26G7.cjs} +22 -18
  24. package/dist/{chunk-EJQRX6S5.cjs → chunk-ZAWHRYJZ.cjs} +39 -39
  25. package/dist/{cloud-tenants-ODZVCP5X.cjs → cloud-tenants-SRTX2FZC.cjs} +4 -4
  26. package/dist/components/case-studies/index.cjs +16 -16
  27. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  28. package/dist/components/chat/chat-message-enhanced.js +8 -1
  29. package/dist/components/chat/embeddable-chat.d.ts +6 -0
  30. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  31. package/dist/components/chat/embeddable-chat.js +34 -2
  32. package/dist/components/chat/entity-cards/chat-card-disclosure.d.ts +93 -0
  33. package/dist/components/chat/entity-cards/chat-card-disclosure.d.ts.map +1 -0
  34. package/dist/components/chat/entity-cards/chat-card-disclosure.js +126 -0
  35. package/dist/components/chat/entity-cards/dispatch.d.ts +5 -0
  36. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  37. package/dist/components/chat/entity-cards/dispatch.js +82 -55
  38. package/dist/components/chat/entity-cards/index.d.ts +1 -0
  39. package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
  40. package/dist/components/chat/entity-cards/index.js +14 -0
  41. package/dist/components/chat/index.cjs +19 -3
  42. package/dist/components/chat/index.d.ts +1 -0
  43. package/dist/components/chat/index.d.ts.map +1 -1
  44. package/dist/components/chat/index.js +7 -0
  45. package/dist/components/chat/inline-app-link-chip.d.ts +35 -0
  46. package/dist/components/chat/inline-app-link-chip.d.ts.map +1 -0
  47. package/dist/components/chat/inline-app-link-chip.js +37 -0
  48. package/dist/components/chat/source-action-button.d.ts +15 -1
  49. package/dist/components/chat/source-action-button.d.ts.map +1 -1
  50. package/dist/components/chat/source-action-button.js +40 -2
  51. package/dist/components/contact/index.cjs +5 -5
  52. package/dist/components/docs/index.cjs +8 -8
  53. package/dist/components/embeds/index.cjs +5 -5
  54. package/dist/components/faq/index.cjs +6 -6
  55. package/dist/components/features/index.cjs +4 -4
  56. package/dist/components/help-center-pages/index.cjs +61 -61
  57. package/dist/components/index.cjs +56 -40
  58. package/dist/components/meeting-scheduler/index.cjs +29 -29
  59. package/dist/components/navigation/index.cjs +7 -7
  60. package/dist/components/onboarding-guides/index.cjs +6 -6
  61. package/dist/components/product-demo/index.cjs +13 -13
  62. package/dist/components/tickets/index.cjs +9 -9
  63. package/dist/components/ui/index.cjs +22 -6
  64. package/dist/{devices-GWBR7MJD.cjs → devices-DL4YU64N.cjs} +5 -5
  65. package/dist/{embeddable-chat-4RLUXHDH.cjs → embeddable-chat-YRKMPFDY.cjs} +95 -62
  66. package/dist/index.cjs +26 -10
  67. package/dist/{knowledge-ZNRITHW5.cjs → knowledge-VQW5JL2Z.cjs} +5 -5
  68. package/dist/{logs-QN5H5JT6.cjs → logs-IY3WBLMW.cjs} +12 -12
  69. package/dist/{policies-SCUYEYGJ.cjs → policies-IXWTWMJO.cjs} +8 -8
  70. package/dist/{scripts-BP7UTAG5.cjs → scripts-D5CLO5EG.cjs} +9 -9
  71. package/dist/{software-update-O4BQJCJ4.cjs → software-update-ULNP6CKJ.cjs} +7 -7
  72. package/package.json +17 -2
  73. package/src/components/chat/chat-message-enhanced.tsx +24 -1
  74. package/src/components/chat/embeddable-chat.tsx +67 -1
  75. package/src/components/chat/entity-cards/chat-card-disclosure.tsx +233 -0
  76. package/src/components/chat/entity-cards/dispatch.tsx +104 -63
  77. package/src/components/chat/entity-cards/index.ts +9 -0
  78. package/src/components/chat/index.ts +7 -1
  79. package/src/components/chat/inline-app-link-chip.tsx +79 -0
  80. package/src/components/chat/source-action-button.tsx +53 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk5V3CNLCBcjs = require('./chunk-5V3CNLCB.cjs');
4
+ var _chunkVDXI26G7cjs = require('./chunk-VDXI26G7.cjs');
5
5
 
6
6
 
7
7
  var _chunkZRDVFADQcjs = require('./chunk-ZRDVFADQ.cjs');
@@ -396,7 +396,7 @@ function useScrollSpy(sections, options = {}) {
396
396
  // src/components/navigation/multi-level-navigation.tsx
397
397
  var _lucidereact = require('lucide-react');
398
398
 
399
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunk5V3CNLCBcjs.DEFAULT_FOLDER_INDEX_FILE;
399
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkVDXI26G7cjs.DEFAULT_FOLDER_INDEX_FILE;
400
400
  var NAV_LIST_CLASS = "space-y-2";
401
401
  var NAV_ITEM_CLASS = "space-y-1";
402
402
  var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";
@@ -6,7 +6,7 @@ var _chunk7O7EX7HQcjs = require('./chunk-7O7EX7HQ.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunk5V3CNLCBcjs = require('./chunk-5V3CNLCB.cjs');
9
+ var _chunkVDXI26G7cjs = require('./chunk-VDXI26G7.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -172,31 +172,31 @@ CveLink.displayName = "CveLink";
172
172
  // src/components/platform/ShellTypeBadge.tsx
173
173
 
174
174
  var shellIconMap = {
175
- [_chunk5V3CNLCBcjs.ShellTypeValues.POWERSHELL]: {
175
+ [_chunkVDXI26G7cjs.ShellTypeValues.POWERSHELL]: {
176
176
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
177
177
  props: { size: 16, className: "text-ods-text-secondary" }
178
178
  },
179
- [_chunk5V3CNLCBcjs.ShellTypeValues.CMD]: {
179
+ [_chunkVDXI26G7cjs.ShellTypeValues.CMD]: {
180
180
  icon: _chunkUXUYT4WKcjs.CmdIcon,
181
181
  props: { size: 16, color: "var(--color-text-secondary)" }
182
182
  },
183
- [_chunk5V3CNLCBcjs.ShellTypeValues.BASH]: {
183
+ [_chunkVDXI26G7cjs.ShellTypeValues.BASH]: {
184
184
  icon: _chunk5OG5ZTNMcjs.BashIcon,
185
185
  props: { size: 16, color: "var(--color-text-secondary)" }
186
186
  },
187
- [_chunk5V3CNLCBcjs.ShellTypeValues.PYTHON]: {
187
+ [_chunkVDXI26G7cjs.ShellTypeValues.PYTHON]: {
188
188
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
189
189
  props: { size: 16, className: "text-ods-text-secondary" }
190
190
  },
191
- [_chunk5V3CNLCBcjs.ShellTypeValues.NUSHELL]: {
191
+ [_chunkVDXI26G7cjs.ShellTypeValues.NUSHELL]: {
192
192
  icon: _chunkG37H4CBTcjs.NushellIcon,
193
193
  props: { size: 16, color: "var(--color-text-secondary)" }
194
194
  },
195
- [_chunk5V3CNLCBcjs.ShellTypeValues.DENO]: {
195
+ [_chunkVDXI26G7cjs.ShellTypeValues.DENO]: {
196
196
  icon: _chunkHUL6SF5Acjs.DenoIcon,
197
197
  props: { size: 16, color: "var(--color-text-secondary)" }
198
198
  },
199
- [_chunk5V3CNLCBcjs.ShellTypeValues.SHELL]: {
199
+ [_chunkVDXI26G7cjs.ShellTypeValues.SHELL]: {
200
200
  icon: _chunk6RMATQNNcjs.ShellIcon,
201
201
  props: { size: 16, color: "var(--color-text-secondary)" }
202
202
  }
@@ -207,7 +207,7 @@ var defaultIconConfig = {
207
207
  };
208
208
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
209
209
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
210
- const label = _chunk5V3CNLCBcjs.getShellLabel.call(void 0, normalizedType);
210
+ const label = _chunkVDXI26G7cjs.getShellLabel.call(void 0, normalizedType);
211
211
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
212
212
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
213
213
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -223,7 +223,7 @@ function formatSupportedPlatforms(platforms) {
223
223
  if (!platforms || platforms.length === 0) {
224
224
  return "All Platforms";
225
225
  }
226
- return platforms.map((platform) => _chunk5V3CNLCBcjs.getOSLabel.call(void 0, platform)).join(", ");
226
+ return platforms.map((platform) => _chunkVDXI26G7cjs.getOSLabel.call(void 0, platform)).join(", ");
227
227
  }
228
228
  function InfoCell({ label, value, avatar, className }) {
229
229
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -253,7 +253,7 @@ var ScriptInfoSection = ({
253
253
  author,
254
254
  className
255
255
  }) => {
256
- const shellLabel = _chunk5V3CNLCBcjs.getShellLabel.call(void 0, shellType);
256
+ const shellLabel = _chunkVDXI26G7cjs.getShellLabel.call(void 0, shellType);
257
257
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
258
258
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -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 _chunk5V3CNLCBcjs = require('./chunk-5V3CNLCB.cjs');
4
+ var _chunkVDXI26G7cjs = require('./chunk-VDXI26G7.cjs');
5
5
 
6
6
 
7
- var _chunk5RBL7A2Ycjs = require('./chunk-5RBL7A2Y.cjs');
7
+ var _chunk7ERD34HQcjs = require('./chunk-7ERD34HQ.cjs');
8
8
 
9
9
 
10
10
  var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.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 = _chunk5RBL7A2Ycjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunk7ERD34HQcjs.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 = _chunk5V3CNLCBcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkVDXI26G7cjs.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),