@inkeep/cxkit-primitives 0.0.0-dev-20250221234142
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/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/atoms/api/analytics/conversation.cjs +1 -0
- package/dist/atoms/api/analytics/conversation.d.cts +3 -0
- package/dist/atoms/api/analytics/conversation.d.ts +3 -0
- package/dist/atoms/api/analytics/conversation.js +37 -0
- package/dist/atoms/api/analytics/events.cjs +1 -0
- package/dist/atoms/api/analytics/events.d.cts +2 -0
- package/dist/atoms/api/analytics/events.d.ts +2 -0
- package/dist/atoms/api/analytics/events.js +30 -0
- package/dist/atoms/api/analytics/feedback.cjs +1 -0
- package/dist/atoms/api/analytics/feedback.d.cts +11 -0
- package/dist/atoms/api/analytics/feedback.d.ts +11 -0
- package/dist/atoms/api/analytics/feedback.js +26 -0
- package/dist/atoms/avatars/ai.cjs +1 -0
- package/dist/atoms/avatars/ai.d.cts +3 -0
- package/dist/atoms/avatars/ai.d.ts +3 -0
- package/dist/atoms/avatars/ai.js +88 -0
- package/dist/atoms/avatars/user.cjs +1 -0
- package/dist/atoms/avatars/user.d.cts +3 -0
- package/dist/atoms/avatars/user.d.ts +3 -0
- package/dist/atoms/avatars/user.js +27 -0
- package/dist/atoms/codeblock/index.cjs +1 -0
- package/dist/atoms/codeblock/index.d.cts +10 -0
- package/dist/atoms/codeblock/index.d.ts +10 -0
- package/dist/atoms/codeblock/index.js +40 -0
- package/dist/atoms/custom-styles.cjs +1 -0
- package/dist/atoms/custom-styles.d.cts +5 -0
- package/dist/atoms/custom-styles.d.ts +5 -0
- package/dist/atoms/custom-styles.js +57 -0
- package/dist/atoms/dialog.cjs +1 -0
- package/dist/atoms/dialog.d.cts +68 -0
- package/dist/atoms/dialog.d.ts +68 -0
- package/dist/atoms/dialog.js +185 -0
- package/dist/atoms/icons/built-in-icon-renderer.cjs +1 -0
- package/dist/atoms/icons/built-in-icon-renderer.d.cts +6 -0
- package/dist/atoms/icons/built-in-icon-renderer.d.ts +6 -0
- package/dist/atoms/icons/built-in-icon-renderer.js +49 -0
- package/dist/atoms/icons/built-in-icons.cjs +1 -0
- package/dist/atoms/icons/built-in-icons.d.cts +72 -0
- package/dist/atoms/icons/built-in-icons.d.ts +72 -0
- package/dist/atoms/icons/built-in-icons.js +79 -0
- package/dist/atoms/icons/checkbox-icon.cjs +1 -0
- package/dist/atoms/icons/checkbox-icon.d.cts +1 -0
- package/dist/atoms/icons/checkbox-icon.d.ts +1 -0
- package/dist/atoms/icons/checkbox-icon.js +24 -0
- package/dist/atoms/icons/custom-icon.cjs +1 -0
- package/dist/atoms/icons/custom-icon.d.cts +6 -0
- package/dist/atoms/icons/custom-icon.d.ts +6 -0
- package/dist/atoms/icons/custom-icon.js +19 -0
- package/dist/atoms/icons/index.cjs +1 -0
- package/dist/atoms/icons/index.d.cts +2 -0
- package/dist/atoms/icons/index.d.ts +2 -0
- package/dist/atoms/icons/index.js +6 -0
- package/dist/atoms/icons/inkeep-default-icons.cjs +1 -0
- package/dist/atoms/icons/inkeep-default-icons.d.cts +2 -0
- package/dist/atoms/icons/inkeep-default-icons.d.ts +2 -0
- package/dist/atoms/icons/inkeep-default-icons.js +23 -0
- package/dist/atoms/link.cjs +1 -0
- package/dist/atoms/link.d.cts +14 -0
- package/dist/atoms/link.d.ts +14 -0
- package/dist/atoms/link.js +35 -0
- package/dist/atoms/markdown/components.cjs +1 -0
- package/dist/atoms/markdown/components.d.cts +27 -0
- package/dist/atoms/markdown/components.d.ts +27 -0
- package/dist/atoms/markdown/components.js +64 -0
- package/dist/atoms/markdown/index.cjs +1 -0
- package/dist/atoms/markdown/index.d.cts +15 -0
- package/dist/atoms/markdown/index.d.ts +15 -0
- package/dist/atoms/markdown/index.js +79 -0
- package/dist/atoms/markdown/rehype-inline-code-property.cjs +1 -0
- package/dist/atoms/markdown/rehype-inline-code-property.d.cts +1 -0
- package/dist/atoms/markdown/rehype-inline-code-property.d.ts +1 -0
- package/dist/atoms/markdown/rehype-inline-code-property.js +12 -0
- package/dist/atoms/portal-with-theme.cjs +1 -0
- package/dist/atoms/portal-with-theme.d.cts +2 -0
- package/dist/atoms/portal-with-theme.d.ts +2 -0
- package/dist/atoms/portal-with-theme.js +12 -0
- package/dist/atoms/portal.cjs +1 -0
- package/dist/atoms/portal.d.cts +8 -0
- package/dist/atoms/portal.d.ts +8 -0
- package/dist/atoms/portal.js +19 -0
- package/dist/atoms/shadow/context.cjs +2 -0
- package/dist/atoms/shadow/context.d.cts +14 -0
- package/dist/atoms/shadow/context.d.ts +14 -0
- package/dist/atoms/shadow/context.js +55 -0
- package/dist/atoms/shadow/create.cjs +1 -0
- package/dist/atoms/shadow/create.d.cts +8 -0
- package/dist/atoms/shadow/create.d.ts +8 -0
- package/dist/atoms/shadow/create.js +56 -0
- package/dist/atoms/shadow/index.d.cts +1 -0
- package/dist/atoms/shadow/index.d.ts +1 -0
- package/dist/atoms/shadow/root.cjs +1 -0
- package/dist/atoms/shadow/root.d.cts +5 -0
- package/dist/atoms/shadow/root.d.ts +5 -0
- package/dist/atoms/shadow/root.js +22 -0
- package/dist/atoms/shadow/use-ensured-forwarded-ref.cjs +1 -0
- package/dist/atoms/shadow/use-ensured-forwarded-ref.d.cts +2 -0
- package/dist/atoms/shadow/use-ensured-forwarded-ref.d.ts +2 -0
- package/dist/atoms/shadow/use-ensured-forwarded-ref.js +11 -0
- package/dist/atoms/shadow/utils.cjs +1 -0
- package/dist/atoms/shadow/utils.d.cts +9 -0
- package/dist/atoms/shadow/utils.d.ts +9 -0
- package/dist/atoms/shadow/utils.js +16 -0
- package/dist/components/chat-button.cjs +1 -0
- package/dist/components/chat-button.d.cts +11 -0
- package/dist/components/chat-button.d.ts +11 -0
- package/dist/components/chat-button.js +42 -0
- package/dist/components/embedded-chat/chat-provider.cjs +1 -0
- package/dist/components/embedded-chat/chat-provider.d.cts +19 -0
- package/dist/components/embedded-chat/chat-provider.d.ts +19 -0
- package/dist/components/embedded-chat/chat-provider.js +22 -0
- package/dist/components/embedded-chat/use-captcha.cjs +1 -0
- package/dist/components/embedded-chat/use-captcha.d.cts +13 -0
- package/dist/components/embedded-chat/use-captcha.d.ts +13 -0
- package/dist/components/embedded-chat/use-captcha.js +56 -0
- package/dist/components/embedded-chat/use-chat-action.cjs +1 -0
- package/dist/components/embedded-chat/use-chat-action.d.cts +9 -0
- package/dist/components/embedded-chat/use-chat-action.d.ts +9 -0
- package/dist/components/embedded-chat/use-chat-action.js +26 -0
- package/dist/components/embedded-chat/use-inkeep-chat.cjs +4 -0
- package/dist/components/embedded-chat/use-inkeep-chat.d.cts +25 -0
- package/dist/components/embedded-chat/use-inkeep-chat.d.ts +25 -0
- package/dist/components/embedded-chat/use-inkeep-chat.js +227 -0
- package/dist/components/embedded-chat.cjs +17 -0
- package/dist/components/embedded-chat.d.cts +415 -0
- package/dist/components/embedded-chat.d.ts +415 -0
- package/dist/components/embedded-chat.js +1840 -0
- package/dist/components/embedded-search/search-provider.cjs +1 -0
- package/dist/components/embedded-search/search-provider.d.cts +21 -0
- package/dist/components/embedded-search/search-provider.d.ts +21 -0
- package/dist/components/embedded-search/search-provider.js +19 -0
- package/dist/components/embedded-search/search-query.graphql.cjs +82 -0
- package/dist/components/embedded-search/search-query.graphql.js +86 -0
- package/dist/components/embedded-search/transform-results.cjs +1 -0
- package/dist/components/embedded-search/transform-results.d.cts +3 -0
- package/dist/components/embedded-search/transform-results.d.ts +3 -0
- package/dist/components/embedded-search/transform-results.js +113 -0
- package/dist/components/embedded-search/use-inkeep-search.cjs +1 -0
- package/dist/components/embedded-search/use-inkeep-search.d.cts +21 -0
- package/dist/components/embedded-search/use-inkeep-search.d.ts +21 -0
- package/dist/components/embedded-search/use-inkeep-search.js +137 -0
- package/dist/components/embedded-search.cjs +1 -0
- package/dist/components/embedded-search.d.cts +229 -0
- package/dist/components/embedded-search.d.ts +229 -0
- package/dist/components/embedded-search.js +390 -0
- package/dist/components/factory.cjs +1 -0
- package/dist/components/factory.d.cts +19 -0
- package/dist/components/factory.d.ts +19 -0
- package/dist/components/factory.js +39 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +11 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.js +31 -0
- package/dist/components/intelligent-form/actions/context-model-response.cjs +9 -0
- package/dist/components/intelligent-form/actions/context-model-response.d.cts +10 -0
- package/dist/components/intelligent-form/actions/context-model-response.d.ts +10 -0
- package/dist/components/intelligent-form/actions/context-model-response.js +36 -0
- package/dist/components/intelligent-form/actions/escalation-schema.cjs +1 -0
- package/dist/components/intelligent-form/actions/escalation-schema.d.cts +2 -0
- package/dist/components/intelligent-form/actions/escalation-schema.d.ts +2 -0
- package/dist/components/intelligent-form/actions/escalation-schema.js +48 -0
- package/dist/components/intelligent-form/actions/qa-model-messages.cjs +27 -0
- package/dist/components/intelligent-form/actions/qa-model-messages.d.cts +2 -0
- package/dist/components/intelligent-form/actions/qa-model-messages.d.ts +2 -0
- package/dist/components/intelligent-form/actions/qa-model-messages.js +45 -0
- package/dist/components/intelligent-form/actions/qa-model-response.cjs +1 -0
- package/dist/components/intelligent-form/actions/qa-model-response.d.cts +14 -0
- package/dist/components/intelligent-form/actions/qa-model-response.d.ts +14 -0
- package/dist/components/intelligent-form/actions/qa-model-response.js +46 -0
- package/dist/components/intelligent-form/intelligent-form-provider.cjs +1 -0
- package/dist/components/intelligent-form/intelligent-form-provider.d.cts +29 -0
- package/dist/components/intelligent-form/intelligent-form-provider.d.ts +29 -0
- package/dist/components/intelligent-form/intelligent-form-provider.js +23 -0
- package/dist/components/intelligent-form/use-inkeep-intelligent-form.cjs +1 -0
- package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.cts +30 -0
- package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.ts +30 -0
- package/dist/components/intelligent-form/use-inkeep-intelligent-form.js +157 -0
- package/dist/components/intelligent-form.cjs +1 -0
- package/dist/components/intelligent-form.d.cts +135 -0
- package/dist/components/intelligent-form.d.ts +135 -0
- package/dist/components/intelligent-form.js +568 -0
- package/dist/components/modal/modal-provider.cjs +1 -0
- package/dist/components/modal/modal-provider.d.cts +13 -0
- package/dist/components/modal/modal-provider.d.ts +13 -0
- package/dist/components/modal/modal-provider.js +8 -0
- package/dist/components/modal/use-inkeep-modal.cjs +1 -0
- package/dist/components/modal/use-inkeep-modal.d.cts +8 -0
- package/dist/components/modal/use-inkeep-modal.d.ts +8 -0
- package/dist/components/modal/use-inkeep-modal.js +30 -0
- package/dist/components/modal.cjs +1 -0
- package/dist/components/modal.d.cts +18 -0
- package/dist/components/modal.d.ts +18 -0
- package/dist/components/modal.js +40 -0
- package/dist/components/searchbar.cjs +1 -0
- package/dist/components/searchbar.d.cts +23 -0
- package/dist/components/searchbar.d.ts +23 -0
- package/dist/components/searchbar.js +54 -0
- package/dist/components/tagline-logo-icon.cjs +1 -0
- package/dist/components/tagline-logo-icon.d.cts +1 -0
- package/dist/components/tagline-logo-icon.d.ts +1 -0
- package/dist/components/tagline-logo-icon.js +34 -0
- package/dist/hooks/index.cjs +1 -0
- package/dist/hooks/index.d.cts +12 -0
- package/dist/hooks/index.d.ts +12 -0
- package/dist/hooks/index.js +27 -0
- package/dist/hooks/use-boolean.cjs +1 -0
- package/dist/hooks/use-boolean.d.cts +10 -0
- package/dist/hooks/use-boolean.d.ts +10 -0
- package/dist/hooks/use-boolean.js +17 -0
- package/dist/hooks/use-browser-storage.cjs +1 -0
- package/dist/hooks/use-browser-storage.d.cts +17 -0
- package/dist/hooks/use-browser-storage.d.ts +17 -0
- package/dist/hooks/use-browser-storage.js +88 -0
- package/dist/hooks/use-component-classnames.cjs +1 -0
- package/dist/hooks/use-component-classnames.d.cts +6 -0
- package/dist/hooks/use-component-classnames.d.ts +6 -0
- package/dist/hooks/use-component-classnames.js +14 -0
- package/dist/hooks/use-container-size.cjs +1 -0
- package/dist/hooks/use-container-size.d.cts +5 -0
- package/dist/hooks/use-container-size.d.ts +5 -0
- package/dist/hooks/use-container-size.js +18 -0
- package/dist/hooks/use-copy-to-clipboard.cjs +1 -0
- package/dist/hooks/use-copy-to-clipboard.d.cts +3 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts +3 -0
- package/dist/hooks/use-copy-to-clipboard.js +19 -0
- package/dist/hooks/use-instant-update.cjs +1 -0
- package/dist/hooks/use-instant-update.d.cts +17 -0
- package/dist/hooks/use-instant-update.d.ts +17 -0
- package/dist/hooks/use-instant-update.js +16 -0
- package/dist/hooks/use-is-mounted.cjs +1 -0
- package/dist/hooks/use-is-mounted.d.cts +1 -0
- package/dist/hooks/use-is-mounted.d.ts +1 -0
- package/dist/hooks/use-is-mounted.js +11 -0
- package/dist/hooks/use-media-query.cjs +1 -0
- package/dist/hooks/use-media-query.d.cts +1 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-media-query.js +14 -0
- package/dist/hooks/use-resize-observer.cjs +1 -0
- package/dist/hooks/use-resize-observer.d.cts +12 -0
- package/dist/hooks/use-resize-observer.d.ts +12 -0
- package/dist/hooks/use-resize-observer.js +32 -0
- package/dist/hooks/use-scroll-to-bottom.cjs +1 -0
- package/dist/hooks/use-scroll-to-bottom.d.cts +13 -0
- package/dist/hooks/use-scroll-to-bottom.d.ts +13 -0
- package/dist/hooks/use-scroll-to-bottom.js +52 -0
- package/dist/hooks/use-scrolling-fades.cjs +1 -0
- package/dist/hooks/use-scrolling-fades.d.cts +2 -0
- package/dist/hooks/use-scrolling-fades.d.ts +2 -0
- package/dist/hooks/use-scrolling-fades.js +18 -0
- package/dist/hooks/use-settle-action.cjs +1 -0
- package/dist/hooks/use-settle-action.d.cts +3 -0
- package/dist/hooks/use-settle-action.d.ts +3 -0
- package/dist/hooks/use-settle-action.js +11 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +152 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.js +92 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.js +8 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js +8 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js +128 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconBase.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconBase.js +109 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconContext.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconContext.js +13 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.js +68 -0
- package/dist/providers/attachment-item-provider.cjs +1 -0
- package/dist/providers/attachment-item-provider.d.cts +9 -0
- package/dist/providers/attachment-item-provider.d.ts +9 -0
- package/dist/providers/attachment-item-provider.js +13 -0
- package/dist/providers/attachments-bar-provider.cjs +1 -0
- package/dist/providers/attachments-bar-provider.d.cts +30 -0
- package/dist/providers/attachments-bar-provider.d.ts +30 -0
- package/dist/providers/attachments-bar-provider.js +64 -0
- package/dist/providers/base-events-provider.cjs +1 -0
- package/dist/providers/base-events-provider.d.cts +8 -0
- package/dist/providers/base-events-provider.d.ts +8 -0
- package/dist/providers/base-events-provider.js +39 -0
- package/dist/providers/chat-events-provider.cjs +1 -0
- package/dist/providers/chat-events-provider.d.cts +12 -0
- package/dist/providers/chat-events-provider.d.ts +12 -0
- package/dist/providers/chat-events-provider.js +66 -0
- package/dist/providers/chat-form-provider.cjs +1 -0
- package/dist/providers/chat-form-provider.d.cts +23 -0
- package/dist/providers/chat-form-provider.d.ts +23 -0
- package/dist/providers/chat-form-provider.js +66 -0
- package/dist/providers/config-provider.cjs +1 -0
- package/dist/providers/config-provider.d.cts +24 -0
- package/dist/providers/config-provider.d.ts +24 -0
- package/dist/providers/config-provider.js +37 -0
- package/dist/providers/conversation-provider.cjs +1 -0
- package/dist/providers/conversation-provider.d.cts +12 -0
- package/dist/providers/conversation-provider.d.ts +12 -0
- package/dist/providers/conversation-provider.js +49 -0
- package/dist/providers/feedback-item-provider.cjs +1 -0
- package/dist/providers/feedback-item-provider.d.cts +10 -0
- package/dist/providers/feedback-item-provider.d.ts +10 -0
- package/dist/providers/feedback-item-provider.js +16 -0
- package/dist/providers/feedback-provider.cjs +1 -0
- package/dist/providers/feedback-provider.d.cts +19 -0
- package/dist/providers/feedback-provider.d.ts +19 -0
- package/dist/providers/feedback-provider.js +82 -0
- package/dist/providers/form-field-provider.cjs +1 -0
- package/dist/providers/form-field-provider.d.cts +15 -0
- package/dist/providers/form-field-provider.d.ts +15 -0
- package/dist/providers/form-field-provider.js +17 -0
- package/dist/providers/help-menu-provider.cjs +1 -0
- package/dist/providers/help-menu-provider.d.cts +11 -0
- package/dist/providers/help-menu-provider.d.ts +11 -0
- package/dist/providers/help-menu-provider.js +19 -0
- package/dist/providers/index.cjs +1 -0
- package/dist/providers/index.d.cts +19 -0
- package/dist/providers/index.d.ts +19 -0
- package/dist/providers/index.js +63 -0
- package/dist/providers/intelligent-form-field-provider.cjs +1 -0
- package/dist/providers/intelligent-form-field-provider.d.cts +15 -0
- package/dist/providers/intelligent-form-field-provider.d.ts +15 -0
- package/dist/providers/intelligent-form-field-provider.js +19 -0
- package/dist/providers/markdown-provider.cjs +1 -0
- package/dist/providers/markdown-provider.d.cts +9 -0
- package/dist/providers/markdown-provider.d.ts +9 -0
- package/dist/providers/markdown-provider.js +8 -0
- package/dist/providers/message-attachments-provider.cjs +1 -0
- package/dist/providers/message-attachments-provider.d.cts +13 -0
- package/dist/providers/message-attachments-provider.d.ts +13 -0
- package/dist/providers/message-attachments-provider.js +27 -0
- package/dist/providers/message-provider.cjs +1 -0
- package/dist/providers/message-provider.d.cts +10 -0
- package/dist/providers/message-provider.d.ts +10 -0
- package/dist/providers/message-provider.js +14 -0
- package/dist/providers/root-provider.cjs +1 -0
- package/dist/providers/root-provider.d.cts +8 -0
- package/dist/providers/root-provider.d.ts +8 -0
- package/dist/providers/root-provider.js +21 -0
- package/dist/providers/search-events-provider.cjs +1 -0
- package/dist/providers/search-events-provider.d.cts +11 -0
- package/dist/providers/search-events-provider.d.ts +11 -0
- package/dist/providers/search-events-provider.js +18 -0
- package/dist/providers/source-item-provider.cjs +1 -0
- package/dist/providers/source-item-provider.d.cts +12 -0
- package/dist/providers/source-item-provider.d.ts +12 -0
- package/dist/providers/source-item-provider.js +13 -0
- package/dist/providers/theme-provider.cjs +1 -0
- package/dist/providers/theme-provider.d.cts +3 -0
- package/dist/providers/theme-provider.d.ts +3 -0
- package/dist/providers/theme-provider.js +65 -0
- package/dist/providers/user-provider.cjs +1 -0
- package/dist/providers/user-provider.d.cts +13 -0
- package/dist/providers/user-provider.d.ts +13 -0
- package/dist/providers/user-provider.js +34 -0
- package/dist/providers/widget-provider.cjs +1 -0
- package/dist/providers/widget-provider.d.cts +9 -0
- package/dist/providers/widget-provider.d.ts +9 -0
- package/dist/providers/widget-provider.js +8 -0
- package/dist/utils/component-ids.cjs +1 -0
- package/dist/utils/component-ids.d.cts +632 -0
- package/dist/utils/component-ids.d.ts +632 -0
- package/dist/utils/component-ids.js +340 -0
- package/dist/utils/compose-event-handlers.cjs +1 -0
- package/dist/utils/compose-event-handlers.d.cts +3 -0
- package/dist/utils/compose-event-handlers.d.ts +3 -0
- package/dist/utils/compose-event-handlers.js +10 -0
- package/dist/utils/compose-refs.cjs +1 -0
- package/dist/utils/compose-refs.d.cts +5 -0
- package/dist/utils/compose-refs.d.ts +5 -0
- package/dist/utils/compose-refs.js +30 -0
- package/dist/utils/default-settings.cjs +1 -0
- package/dist/utils/default-settings.d.cts +244 -0
- package/dist/utils/default-settings.d.ts +244 -0
- package/dist/utils/default-settings.js +75 -0
- package/dist/utils/form.cjs +1 -0
- package/dist/utils/form.d.cts +3 -0
- package/dist/utils/form.d.ts +3 -0
- package/dist/utils/form.js +17 -0
- package/dist/utils/generate-uid.cjs +1 -0
- package/dist/utils/generate-uid.d.cts +2 -0
- package/dist/utils/generate-uid.d.ts +2 -0
- package/dist/utils/generate-uid.js +14 -0
- package/dist/utils/get-message-metadata.cjs +10 -0
- package/dist/utils/get-message-metadata.d.cts +8 -0
- package/dist/utils/get-message-metadata.d.ts +8 -0
- package/dist/utils/get-message-metadata.js +142 -0
- package/dist/utils/graphql-client.cjs +1 -0
- package/dist/utils/graphql-client.d.cts +8 -0
- package/dist/utils/graphql-client.d.ts +8 -0
- package/dist/utils/graphql-client.js +23 -0
- package/dist/utils/highlight-emphasis.cjs +1 -0
- package/dist/utils/highlight-emphasis.d.cts +4 -0
- package/dist/utils/highlight-emphasis.d.ts +4 -0
- package/dist/utils/highlight-emphasis.js +15 -0
- package/dist/utils/merge-props.cjs +1 -0
- package/dist/utils/merge-props.d.cts +7 -0
- package/dist/utils/merge-props.d.ts +7 -0
- package/dist/utils/merge-props.js +41 -0
- package/dist/utils/misc.cjs +1 -0
- package/dist/utils/misc.d.cts +13 -0
- package/dist/utils/misc.d.ts +13 -0
- package/dist/utils/misc.js +36 -0
- package/dist/utils/reset-query-params.cjs +1 -0
- package/dist/utils/reset-query-params.d.cts +1 -0
- package/dist/utils/reset-query-params.d.ts +1 -0
- package/dist/utils/reset-query-params.js +13 -0
- package/dist/utils/tools/links-schema.cjs +1 -0
- package/dist/utils/tools/links-schema.d.cts +64 -0
- package/dist/utils/tools/links-schema.d.ts +64 -0
- package/dist/utils/tools/links-schema.js +85 -0
- package/dist/utils/transform-source/breadcrumbs.cjs +1 -0
- package/dist/utils/transform-source/breadcrumbs.d.cts +2 -0
- package/dist/utils/transform-source/breadcrumbs.d.ts +2 -0
- package/dist/utils/transform-source/breadcrumbs.js +16 -0
- package/dist/utils/transform-source/common-words/long.cjs +1 -0
- package/dist/utils/transform-source/common-words/long.d.cts +1 -0
- package/dist/utils/transform-source/common-words/long.d.ts +1 -0
- package/dist/utils/transform-source/common-words/long.js +69 -0
- package/dist/utils/transform-source/common-words/lowercase.cjs +1 -0
- package/dist/utils/transform-source/common-words/lowercase.d.cts +1 -0
- package/dist/utils/transform-source/common-words/lowercase.d.ts +1 -0
- package/dist/utils/transform-source/common-words/lowercase.js +48 -0
- package/dist/utils/transform-source/common-words/short.cjs +1 -0
- package/dist/utils/transform-source/common-words/short.d.cts +1 -0
- package/dist/utils/transform-source/common-words/short.d.ts +1 -0
- package/dist/utils/transform-source/common-words/short.js +141 -0
- package/dist/utils/transform-source/description.cjs +1 -0
- package/dist/utils/transform-source/description.d.cts +2 -0
- package/dist/utils/transform-source/description.d.ts +2 -0
- package/dist/utils/transform-source/description.js +10 -0
- package/dist/utils/transform-source/icon.cjs +1 -0
- package/dist/utils/transform-source/icon.d.cts +2 -0
- package/dist/utils/transform-source/icon.d.ts +2 -0
- package/dist/utils/transform-source/icon.js +9 -0
- package/dist/utils/transform-source/index.cjs +1 -0
- package/dist/utils/transform-source/index.d.cts +2 -0
- package/dist/utils/transform-source/index.d.ts +2 -0
- package/dist/utils/transform-source/index.js +21 -0
- package/dist/utils/transform-source/tabs.cjs +1 -0
- package/dist/utils/transform-source/tabs.d.cts +2 -0
- package/dist/utils/transform-source/tabs.d.ts +2 -0
- package/dist/utils/transform-source/tabs.js +13 -0
- package/dist/utils/transform-source/title.cjs +1 -0
- package/dist/utils/transform-source/title.d.cts +2 -0
- package/dist/utils/transform-source/title.d.ts +2 -0
- package/dist/utils/transform-source/title.js +12 -0
- package/dist/utils/transform-source/utils/description-without-title.cjs +1 -0
- package/dist/utils/transform-source/utils/description-without-title.d.cts +11 -0
- package/dist/utils/transform-source/utils/description-without-title.d.ts +11 -0
- package/dist/utils/transform-source/utils/description-without-title.js +12 -0
- package/dist/utils/transform-source/utils/index.cjs +1 -0
- package/dist/utils/transform-source/utils/index.d.cts +6 -0
- package/dist/utils/transform-source/utils/index.d.ts +6 -0
- package/dist/utils/transform-source/utils/index.js +16 -0
- package/dist/utils/transform-source/utils/misc.cjs +1 -0
- package/dist/utils/transform-source/utils/misc.d.cts +2 -0
- package/dist/utils/transform-source/utils/misc.d.ts +2 -0
- package/dist/utils/transform-source/utils/misc.js +15 -0
- package/dist/utils/transform-source/utils/standardize-common-words.cjs +1 -0
- package/dist/utils/transform-source/utils/standardize-common-words.d.cts +1 -0
- package/dist/utils/transform-source/utils/standardize-common-words.d.ts +1 -0
- package/dist/utils/transform-source/utils/standardize-common-words.js +26 -0
- package/dist/utils/transform-source/utils/standardize-organization-display-name.cjs +1 -0
- package/dist/utils/transform-source/utils/standardize-organization-display-name.d.cts +8 -0
- package/dist/utils/transform-source/utils/standardize-organization-display-name.d.ts +8 -0
- package/dist/utils/transform-source/utils/standardize-organization-display-name.js +10 -0
- package/dist/utils/transform-source/utils/standardize-suffixes.cjs +1 -0
- package/dist/utils/transform-source/utils/standardize-suffixes.d.cts +5 -0
- package/dist/utils/transform-source/utils/standardize-suffixes.d.ts +5 -0
- package/dist/utils/transform-source/utils/standardize-suffixes.js +16 -0
- package/dist/utils/transform-source/utils/strip-branding-keywords.cjs +1 -0
- package/dist/utils/transform-source/utils/strip-branding-keywords.d.cts +17 -0
- package/dist/utils/transform-source/utils/strip-branding-keywords.d.ts +17 -0
- package/dist/utils/transform-source/utils/strip-branding-keywords.js +14 -0
- package/package.json +111 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { callAll as r, isString as o } from "./misc.js";
|
|
3
|
+
const c = (...n) => n.map((e) => e?.trim?.()).filter(Boolean).join(" "), l = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g, s = (n) => {
|
|
4
|
+
const e = {};
|
|
5
|
+
let i;
|
|
6
|
+
for (; i = l.exec(n); )
|
|
7
|
+
e[i[1]] = i[2];
|
|
8
|
+
return e;
|
|
9
|
+
}, f = (n, e) => {
|
|
10
|
+
if (o(n)) {
|
|
11
|
+
if (o(e)) return `${n};${e}`;
|
|
12
|
+
n = s(n);
|
|
13
|
+
} else o(e) && (e = s(e));
|
|
14
|
+
return Object.assign({}, n ?? {}, e ?? {});
|
|
15
|
+
};
|
|
16
|
+
function p(...n) {
|
|
17
|
+
let e = {};
|
|
18
|
+
for (let i of n) {
|
|
19
|
+
for (let t in e) {
|
|
20
|
+
if (t.startsWith("on") && typeof e[t] == "function" && typeof i[t] == "function") {
|
|
21
|
+
e[t] = r(i[t], e[t]);
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
if (t === "className" || t === "class") {
|
|
25
|
+
e[t] = c(e[t], i[t]);
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
if (t === "style") {
|
|
29
|
+
e[t] = f(e[t], i[t]);
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
e[t] = i[t] !== void 0 ? i[t] : e[t];
|
|
33
|
+
}
|
|
34
|
+
for (let t in i)
|
|
35
|
+
e[t] === void 0 && (e[t] = i[t]);
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
p as mergeProps
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=t=>{try{return JSON.parse(t)}catch{return t}},a=(...t)=>(...e)=>{for(const n of t)n?.(...e)},s=t=>typeof t=="string";function c(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z][a-z])/g,"$1-$2").replace(/__/g,"__").toLowerCase()}const i=t=>t?"":void 0;function l(t){const e=t.split(" "),n=e[0]??"",r=e.length>1?e[e.length-1]:"";return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}function f(t,e){return typeof t=="function"?t(e):t}const g=t=>typeof t.content=="string"?t.content:t.content[0].text;exports.callAll=a;exports.dataAttr=i;exports.getInitials=l;exports.getMessageContent=g;exports.isString=s;exports.maybeRender=f;exports.parseIfJson=o;exports.toKebabCase=c;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Message } from '@inkeep/cxkit-types';
|
|
2
|
+
export declare const parseIfJson: (value: string) => any;
|
|
3
|
+
export declare const callAll: <T extends (...a: any[]) => void>(...fns: (T | undefined)[]) => (...a: Parameters<T>) => void;
|
|
4
|
+
export declare const isString: (v: any) => v is string;
|
|
5
|
+
/**
|
|
6
|
+
* Converts camelCase or PascalCase strings to kebab-case.
|
|
7
|
+
*/
|
|
8
|
+
export declare function toKebabCase(input: string): string;
|
|
9
|
+
export type Booleanish = boolean | 'true' | 'false';
|
|
10
|
+
export declare const dataAttr: (guard: boolean | undefined) => Booleanish;
|
|
11
|
+
export declare function getInitials(name: string): string;
|
|
12
|
+
export declare function maybeRender<T>(children: ((param: T) => React.ReactNode) | React.ReactNode, param: T): React.ReactNode;
|
|
13
|
+
export declare const getMessageContent: (message: Message) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Message } from '@inkeep/cxkit-types';
|
|
2
|
+
export declare const parseIfJson: (value: string) => any;
|
|
3
|
+
export declare const callAll: <T extends (...a: any[]) => void>(...fns: (T | undefined)[]) => (...a: Parameters<T>) => void;
|
|
4
|
+
export declare const isString: (v: any) => v is string;
|
|
5
|
+
/**
|
|
6
|
+
* Converts camelCase or PascalCase strings to kebab-case.
|
|
7
|
+
*/
|
|
8
|
+
export declare function toKebabCase(input: string): string;
|
|
9
|
+
export type Booleanish = boolean | 'true' | 'false';
|
|
10
|
+
export declare const dataAttr: (guard: boolean | undefined) => Booleanish;
|
|
11
|
+
export declare function getInitials(name: string): string;
|
|
12
|
+
export declare function maybeRender<T>(children: ((param: T) => React.ReactNode) | React.ReactNode, param: T): React.ReactNode;
|
|
13
|
+
export declare const getMessageContent: (message: Message) => string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const o = (t) => {
|
|
3
|
+
try {
|
|
4
|
+
return JSON.parse(t);
|
|
5
|
+
} catch {
|
|
6
|
+
return t;
|
|
7
|
+
}
|
|
8
|
+
}, c = (
|
|
9
|
+
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
10
|
+
(...t) => (...n) => {
|
|
11
|
+
for (const e of t)
|
|
12
|
+
e?.(...n);
|
|
13
|
+
}
|
|
14
|
+
), a = (t) => typeof t == "string";
|
|
15
|
+
function s(t) {
|
|
16
|
+
return t.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([A-Z])([A-Z][a-z])/g, "$1-$2").replace(/__/g, "__").toLowerCase();
|
|
17
|
+
}
|
|
18
|
+
const f = (t) => t ? "" : void 0;
|
|
19
|
+
function i(t) {
|
|
20
|
+
const n = t.split(" "), e = n[0] ?? "", r = n.length > 1 ? n[n.length - 1] : "";
|
|
21
|
+
return e && r ? `${e.charAt(0)}${r.charAt(0)}` : e.charAt(0);
|
|
22
|
+
}
|
|
23
|
+
function u(t, n) {
|
|
24
|
+
return typeof t == "function" ? t(n) : t;
|
|
25
|
+
}
|
|
26
|
+
const l = (t) => typeof t.content == "string" ? t.content : t.content[0].text;
|
|
27
|
+
export {
|
|
28
|
+
c as callAll,
|
|
29
|
+
f as dataAttr,
|
|
30
|
+
i as getInitials,
|
|
31
|
+
l as getMessageContent,
|
|
32
|
+
a as isString,
|
|
33
|
+
u as maybeRender,
|
|
34
|
+
o as parseIfJson,
|
|
35
|
+
s as toKebabCase
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../providers/conversation-provider.cjs"),a=()=>{const e=typeof window>"u"?new URL(""):new URL(window.location.href),r=new URLSearchParams(e.search);if(r.has(t.SHARE_QUERY_PARAM)){r.delete(t.SHARE_QUERY_PARAM);const n=r.toString(),o=n?`${e.origin}${e.pathname}?${n}`:`${e.origin}${e.pathname}`;typeof window<"u"&&window.history.pushState({},"",o)}};exports.resetQueryParams=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const resetQueryParams: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const resetQueryParams: () => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { SHARE_QUERY_PARAM as t } from "../providers/conversation-provider.js";
|
|
3
|
+
const i = () => {
|
|
4
|
+
const e = typeof window > "u" ? new URL("") : new URL(window.location.href), n = new URLSearchParams(e.search);
|
|
5
|
+
if (n.has(t)) {
|
|
6
|
+
n.delete(t);
|
|
7
|
+
const r = n.toString(), o = r ? `${e.origin}${e.pathname}?${r}` : `${e.origin}${e.pathname}`;
|
|
8
|
+
typeof window < "u" && window.history.pushState({}, "", o);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
i as resetQueryParams
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["documentation","site","discourse_post","github_issue","github_discussion","stackoverflow_question","discord_forum_post","discord_message","custom_question_answer"],t={type:"object",properties:{links:{anyOf:[{type:"array",items:{type:"object",properties:{label:{type:["string","null"]},url:{type:"string"},title:{type:["string","null"]},description:{type:["string","null"]},type:{anyOf:[{anyOf:[{type:"string",enum:e},{type:"string"}]},{type:"null"}]},breadcrumbs:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]}},required:["url"],additionalProperties:!0}},{type:"null"}]},text:{type:"string"}},required:["text"],additionalProperties:!1,$schema:"http://json-schema.org/draft-07/schema#"};exports.linksSchema=t;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const linksSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
links: {
|
|
5
|
+
anyOf: ({
|
|
6
|
+
type: string;
|
|
7
|
+
items: {
|
|
8
|
+
type: string;
|
|
9
|
+
properties: {
|
|
10
|
+
label: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
13
|
+
url: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: string[];
|
|
18
|
+
};
|
|
19
|
+
description: {
|
|
20
|
+
type: string[];
|
|
21
|
+
};
|
|
22
|
+
type: {
|
|
23
|
+
anyOf: ({
|
|
24
|
+
anyOf: ({
|
|
25
|
+
type: string;
|
|
26
|
+
enum: string[];
|
|
27
|
+
} | {
|
|
28
|
+
type: string;
|
|
29
|
+
enum?: undefined;
|
|
30
|
+
})[];
|
|
31
|
+
type?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
type: string;
|
|
34
|
+
anyOf?: undefined;
|
|
35
|
+
})[];
|
|
36
|
+
};
|
|
37
|
+
breadcrumbs: {
|
|
38
|
+
anyOf: ({
|
|
39
|
+
type: string;
|
|
40
|
+
items: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
type: string;
|
|
45
|
+
items?: undefined;
|
|
46
|
+
})[];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
required: string[];
|
|
50
|
+
additionalProperties: boolean;
|
|
51
|
+
};
|
|
52
|
+
} | {
|
|
53
|
+
type: string;
|
|
54
|
+
items?: undefined;
|
|
55
|
+
})[];
|
|
56
|
+
};
|
|
57
|
+
text: {
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
required: string[];
|
|
62
|
+
additionalProperties: boolean;
|
|
63
|
+
$schema: string;
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const linksSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
links: {
|
|
5
|
+
anyOf: ({
|
|
6
|
+
type: string;
|
|
7
|
+
items: {
|
|
8
|
+
type: string;
|
|
9
|
+
properties: {
|
|
10
|
+
label: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
13
|
+
url: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: string[];
|
|
18
|
+
};
|
|
19
|
+
description: {
|
|
20
|
+
type: string[];
|
|
21
|
+
};
|
|
22
|
+
type: {
|
|
23
|
+
anyOf: ({
|
|
24
|
+
anyOf: ({
|
|
25
|
+
type: string;
|
|
26
|
+
enum: string[];
|
|
27
|
+
} | {
|
|
28
|
+
type: string;
|
|
29
|
+
enum?: undefined;
|
|
30
|
+
})[];
|
|
31
|
+
type?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
type: string;
|
|
34
|
+
anyOf?: undefined;
|
|
35
|
+
})[];
|
|
36
|
+
};
|
|
37
|
+
breadcrumbs: {
|
|
38
|
+
anyOf: ({
|
|
39
|
+
type: string;
|
|
40
|
+
items: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
type: string;
|
|
45
|
+
items?: undefined;
|
|
46
|
+
})[];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
required: string[];
|
|
50
|
+
additionalProperties: boolean;
|
|
51
|
+
};
|
|
52
|
+
} | {
|
|
53
|
+
type: string;
|
|
54
|
+
items?: undefined;
|
|
55
|
+
})[];
|
|
56
|
+
};
|
|
57
|
+
text: {
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
required: string[];
|
|
62
|
+
additionalProperties: boolean;
|
|
63
|
+
$schema: string;
|
|
64
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e = [
|
|
3
|
+
"documentation",
|
|
4
|
+
"site",
|
|
5
|
+
"discourse_post",
|
|
6
|
+
"github_issue",
|
|
7
|
+
"github_discussion",
|
|
8
|
+
"stackoverflow_question",
|
|
9
|
+
"discord_forum_post",
|
|
10
|
+
"discord_message",
|
|
11
|
+
"custom_question_answer"
|
|
12
|
+
], t = {
|
|
13
|
+
type: "object",
|
|
14
|
+
properties: {
|
|
15
|
+
links: {
|
|
16
|
+
anyOf: [
|
|
17
|
+
{
|
|
18
|
+
type: "array",
|
|
19
|
+
items: {
|
|
20
|
+
type: "object",
|
|
21
|
+
properties: {
|
|
22
|
+
label: {
|
|
23
|
+
type: ["string", "null"]
|
|
24
|
+
},
|
|
25
|
+
url: {
|
|
26
|
+
type: "string"
|
|
27
|
+
},
|
|
28
|
+
title: {
|
|
29
|
+
type: ["string", "null"]
|
|
30
|
+
},
|
|
31
|
+
description: {
|
|
32
|
+
type: ["string", "null"]
|
|
33
|
+
},
|
|
34
|
+
type: {
|
|
35
|
+
anyOf: [
|
|
36
|
+
{
|
|
37
|
+
anyOf: [
|
|
38
|
+
{
|
|
39
|
+
type: "string",
|
|
40
|
+
enum: e
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: "string"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "null"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
breadcrumbs: {
|
|
53
|
+
anyOf: [
|
|
54
|
+
{
|
|
55
|
+
type: "array",
|
|
56
|
+
items: {
|
|
57
|
+
type: "string"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: "null"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
required: ["url"],
|
|
67
|
+
additionalProperties: !0
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
type: "null"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
text: {
|
|
76
|
+
type: "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
required: ["text"],
|
|
80
|
+
additionalProperties: !1,
|
|
81
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
82
|
+
};
|
|
83
|
+
export {
|
|
84
|
+
t as linksSchema
|
|
85
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./utils/standardize-organization-display-name.cjs"),s=require("./utils/strip-branding-keywords.cjs"),o=require("./utils/standardize-suffixes.cjs"),d=require("./utils/standardize-common-words.cjs"),u=(a,t)=>{if(a.type!=="documentation")return[];const e=t?.organizationDisplayName;return a.breadcrumbs?.map(n=>{let r=n;return e&&(r=i.standardizeOrganizationDisplayName(n,e),r=s.stripBrandingKeywords(r,e)),r=o.standardizeSuffixes(r),r=d.transformCommonWords(r),r})??[]};exports.getBreadcrumbs=u;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { standardizeOrganizationDisplayName as n } from "./utils/standardize-organization-display-name.js";
|
|
3
|
+
import { stripBrandingKeywords as e } from "./utils/strip-branding-keywords.js";
|
|
4
|
+
import { standardizeSuffixes as m } from "./utils/standardize-suffixes.js";
|
|
5
|
+
import { transformCommonWords as s } from "./utils/standardize-common-words.js";
|
|
6
|
+
const c = (o, i) => {
|
|
7
|
+
if (o.type !== "documentation") return [];
|
|
8
|
+
const t = i?.organizationDisplayName;
|
|
9
|
+
return o.breadcrumbs?.map((a) => {
|
|
10
|
+
let r = a;
|
|
11
|
+
return t && (r = n(a, t), r = e(r, t)), r = m(r), r = s(r), r;
|
|
12
|
+
}) ?? [];
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
c as getBreadcrumbs
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=["BaaS","SaaS","PaaS","IaaS","HTML","JSON","HTTPS","HTTP","SMTP","DBMS","RDBMS","REST","SOAP","MVVM","VoIP","RFID","WYSIWYG","WLAN","OIDC","SAML","LDAP","IPSec","OAuth","OpenID","SFTP","IMAP","RTSP","DHCP","XMPP","SNMP","ICMP","IGMP","RARP","PPTP","L2TP","IPv4","IPv6","TOTP","HMAC","TFTP","CORS","CSRF","DDOS","YAML","MQTT","AMQP","HDLC","EDIFACT","DICOM","MATLAB","UNIX","HDMI","WiFi","WPA2","DDoS","ipadOS","watchOS","macOS","JavaScript","TypeScript","SSO","IDP","RBAC"];exports.long=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const long: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const long: string[];
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const P = [
|
|
3
|
+
"BaaS",
|
|
4
|
+
"SaaS",
|
|
5
|
+
"PaaS",
|
|
6
|
+
"IaaS",
|
|
7
|
+
"HTML",
|
|
8
|
+
"JSON",
|
|
9
|
+
"HTTPS",
|
|
10
|
+
"HTTP",
|
|
11
|
+
"SMTP",
|
|
12
|
+
"DBMS",
|
|
13
|
+
"RDBMS",
|
|
14
|
+
"REST",
|
|
15
|
+
"SOAP",
|
|
16
|
+
"MVVM",
|
|
17
|
+
"VoIP",
|
|
18
|
+
"RFID",
|
|
19
|
+
"WYSIWYG",
|
|
20
|
+
"WLAN",
|
|
21
|
+
"OIDC",
|
|
22
|
+
"SAML",
|
|
23
|
+
"LDAP",
|
|
24
|
+
"IPSec",
|
|
25
|
+
"OAuth",
|
|
26
|
+
"OpenID",
|
|
27
|
+
"SFTP",
|
|
28
|
+
"IMAP",
|
|
29
|
+
"RTSP",
|
|
30
|
+
"DHCP",
|
|
31
|
+
"XMPP",
|
|
32
|
+
"SNMP",
|
|
33
|
+
"ICMP",
|
|
34
|
+
"IGMP",
|
|
35
|
+
"RARP",
|
|
36
|
+
"PPTP",
|
|
37
|
+
"L2TP",
|
|
38
|
+
"IPv4",
|
|
39
|
+
"IPv6",
|
|
40
|
+
"TOTP",
|
|
41
|
+
"HMAC",
|
|
42
|
+
"TFTP",
|
|
43
|
+
"CORS",
|
|
44
|
+
"CSRF",
|
|
45
|
+
"DDOS",
|
|
46
|
+
"YAML",
|
|
47
|
+
"MQTT",
|
|
48
|
+
"AMQP",
|
|
49
|
+
"HDLC",
|
|
50
|
+
"EDIFACT",
|
|
51
|
+
"DICOM",
|
|
52
|
+
"MATLAB",
|
|
53
|
+
"UNIX",
|
|
54
|
+
"HDMI",
|
|
55
|
+
"WiFi",
|
|
56
|
+
"WPA2",
|
|
57
|
+
"DDoS",
|
|
58
|
+
"ipadOS",
|
|
59
|
+
"watchOS",
|
|
60
|
+
"macOS",
|
|
61
|
+
"JavaScript",
|
|
62
|
+
"TypeScript",
|
|
63
|
+
"SSO",
|
|
64
|
+
"IDP",
|
|
65
|
+
"RBAC"
|
|
66
|
+
];
|
|
67
|
+
export {
|
|
68
|
+
P as long
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["a","an","the","and","as","but","or","nor","at","by","in","of","on","per","to","up","via","vs","with","is","it","for","are","not","out","off","yet","so","be","if","has","its","we","our","any","all","how","her","his","their","was","were"];exports.lowercase=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const lowercase: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const lowercase: string[];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e = [
|
|
3
|
+
"a",
|
|
4
|
+
"an",
|
|
5
|
+
"the",
|
|
6
|
+
"and",
|
|
7
|
+
"as",
|
|
8
|
+
"but",
|
|
9
|
+
"or",
|
|
10
|
+
"nor",
|
|
11
|
+
"at",
|
|
12
|
+
"by",
|
|
13
|
+
"in",
|
|
14
|
+
"of",
|
|
15
|
+
"on",
|
|
16
|
+
"per",
|
|
17
|
+
"to",
|
|
18
|
+
"up",
|
|
19
|
+
"via",
|
|
20
|
+
"vs",
|
|
21
|
+
"with",
|
|
22
|
+
"is",
|
|
23
|
+
"it",
|
|
24
|
+
"for",
|
|
25
|
+
"are",
|
|
26
|
+
"not",
|
|
27
|
+
"out",
|
|
28
|
+
"off",
|
|
29
|
+
"yet",
|
|
30
|
+
"so",
|
|
31
|
+
"be",
|
|
32
|
+
"if",
|
|
33
|
+
"has",
|
|
34
|
+
"its",
|
|
35
|
+
"we",
|
|
36
|
+
"our",
|
|
37
|
+
"any",
|
|
38
|
+
"all",
|
|
39
|
+
"how",
|
|
40
|
+
"her",
|
|
41
|
+
"his",
|
|
42
|
+
"their",
|
|
43
|
+
"was",
|
|
44
|
+
"were"
|
|
45
|
+
];
|
|
46
|
+
export {
|
|
47
|
+
e as lowercase
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=["API","AWS","GCP","SQL","CSS","JS","JDK","SDK","JRE","IDE","XML","GUI","CLI","AI","ML","DL","IoT","TCP","UDP","IP","FTP","RAM","ROM","SSD","HDD","VPS","VPN","OS","UI","UX","DB","OOP","CRM","ERP","POS","CAD","BI","CMS","SEO","SEM","PPC","B2B","B2C","SMB","ROI","KPI","CTA","CPC","CPM","CDN","MVC","FAQ","LMS","RPA","QA","QC","CRO","SVN","GIT","DOM","DNS","ISP","URL","URN","URI","SIP","NFC","LTE","OSI","RAS","DRM","DOS","WWW","LAN","WAN","SAN","NAS","NLP","OCR","IBM","HP","SAP","JWT","SSH","SSL","TLS","POP","NTP","BGP","ARP","2FA","MFA","RDP","VNC","SCP","PKI","XSS","DoS","CSV","HL7","SOP","PHP","JSP","NET","VBA","iOS","GNU","CPU","GPU","NIC","USB","VGA","AES","RSA","DES","ECC","WEP","WPA","IDS","IPS","PM","HR","TCO","BPM","SLA","SOW","AR","VR","XR","3D","2D","4D","iOS","OpenAPI","SSO"];exports.short=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const short: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const short: string[];
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const S = [
|
|
3
|
+
"API",
|
|
4
|
+
"AWS",
|
|
5
|
+
"GCP",
|
|
6
|
+
"SQL",
|
|
7
|
+
"CSS",
|
|
8
|
+
"JS",
|
|
9
|
+
"JDK",
|
|
10
|
+
"SDK",
|
|
11
|
+
"JRE",
|
|
12
|
+
"IDE",
|
|
13
|
+
"XML",
|
|
14
|
+
"GUI",
|
|
15
|
+
"CLI",
|
|
16
|
+
"AI",
|
|
17
|
+
"ML",
|
|
18
|
+
"DL",
|
|
19
|
+
"IoT",
|
|
20
|
+
"TCP",
|
|
21
|
+
"UDP",
|
|
22
|
+
"IP",
|
|
23
|
+
"FTP",
|
|
24
|
+
"RAM",
|
|
25
|
+
"ROM",
|
|
26
|
+
"SSD",
|
|
27
|
+
"HDD",
|
|
28
|
+
"VPS",
|
|
29
|
+
"VPN",
|
|
30
|
+
"OS",
|
|
31
|
+
"UI",
|
|
32
|
+
"UX",
|
|
33
|
+
"DB",
|
|
34
|
+
"OOP",
|
|
35
|
+
"CRM",
|
|
36
|
+
"ERP",
|
|
37
|
+
"POS",
|
|
38
|
+
"CAD",
|
|
39
|
+
"BI",
|
|
40
|
+
"CMS",
|
|
41
|
+
"SEO",
|
|
42
|
+
"SEM",
|
|
43
|
+
"PPC",
|
|
44
|
+
"B2B",
|
|
45
|
+
"B2C",
|
|
46
|
+
"SMB",
|
|
47
|
+
"ROI",
|
|
48
|
+
"KPI",
|
|
49
|
+
"CTA",
|
|
50
|
+
"CPC",
|
|
51
|
+
"CPM",
|
|
52
|
+
"CDN",
|
|
53
|
+
"MVC",
|
|
54
|
+
"FAQ",
|
|
55
|
+
"LMS",
|
|
56
|
+
"RPA",
|
|
57
|
+
"QA",
|
|
58
|
+
"QC",
|
|
59
|
+
"CRO",
|
|
60
|
+
"SVN",
|
|
61
|
+
"GIT",
|
|
62
|
+
"DOM",
|
|
63
|
+
"DNS",
|
|
64
|
+
"ISP",
|
|
65
|
+
"URL",
|
|
66
|
+
"URN",
|
|
67
|
+
"URI",
|
|
68
|
+
"SIP",
|
|
69
|
+
"NFC",
|
|
70
|
+
"LTE",
|
|
71
|
+
"OSI",
|
|
72
|
+
"RAS",
|
|
73
|
+
"DRM",
|
|
74
|
+
"DOS",
|
|
75
|
+
"WWW",
|
|
76
|
+
"LAN",
|
|
77
|
+
"WAN",
|
|
78
|
+
"SAN",
|
|
79
|
+
"NAS",
|
|
80
|
+
"NLP",
|
|
81
|
+
"OCR",
|
|
82
|
+
"IBM",
|
|
83
|
+
"HP",
|
|
84
|
+
"SAP",
|
|
85
|
+
"JWT",
|
|
86
|
+
"SSH",
|
|
87
|
+
"SSL",
|
|
88
|
+
"TLS",
|
|
89
|
+
"POP",
|
|
90
|
+
"NTP",
|
|
91
|
+
"BGP",
|
|
92
|
+
"ARP",
|
|
93
|
+
"2FA",
|
|
94
|
+
"MFA",
|
|
95
|
+
"RDP",
|
|
96
|
+
"VNC",
|
|
97
|
+
"SCP",
|
|
98
|
+
"PKI",
|
|
99
|
+
"XSS",
|
|
100
|
+
"DoS",
|
|
101
|
+
"CSV",
|
|
102
|
+
"HL7",
|
|
103
|
+
"SOP",
|
|
104
|
+
"PHP",
|
|
105
|
+
"JSP",
|
|
106
|
+
"NET",
|
|
107
|
+
"VBA",
|
|
108
|
+
"iOS",
|
|
109
|
+
"GNU",
|
|
110
|
+
"CPU",
|
|
111
|
+
"GPU",
|
|
112
|
+
"NIC",
|
|
113
|
+
"USB",
|
|
114
|
+
"VGA",
|
|
115
|
+
"AES",
|
|
116
|
+
"RSA",
|
|
117
|
+
"DES",
|
|
118
|
+
"ECC",
|
|
119
|
+
"WEP",
|
|
120
|
+
"WPA",
|
|
121
|
+
"IDS",
|
|
122
|
+
"IPS",
|
|
123
|
+
"PM",
|
|
124
|
+
"HR",
|
|
125
|
+
"TCO",
|
|
126
|
+
"BPM",
|
|
127
|
+
"SLA",
|
|
128
|
+
"SOW",
|
|
129
|
+
"AR",
|
|
130
|
+
"VR",
|
|
131
|
+
"XR",
|
|
132
|
+
"3D",
|
|
133
|
+
"2D",
|
|
134
|
+
"4D",
|
|
135
|
+
"iOS",
|
|
136
|
+
"OpenAPI",
|
|
137
|
+
"SSO"
|
|
138
|
+
];
|
|
139
|
+
export {
|
|
140
|
+
S as short
|
|
141
|
+
};
|