@helpai/elements 0.34.0 → 0.35.0
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/elements-web-component.esm.js +1 -1
- package/elements-web-component.esm.js.map +2 -2
- package/elements.cjs.js +1 -1
- package/elements.cjs.js.map +2 -2
- package/elements.esm.js +1 -1
- package/elements.esm.js.map +2 -2
- package/elements.js +1 -1
- package/elements.js.map +2 -2
- package/index.d.ts +1 -1
- package/index.mjs +2 -0
- package/package.json +1 -1
- package/web-component.mjs +2 -0
package/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ interface ClientStorage {
|
|
|
40
40
|
* populated {@link Strings} map. UI components then read `strings.send` as a
|
|
41
41
|
* normal property access — no per-render lookup, no per-render allocation.
|
|
42
42
|
*/
|
|
43
|
-
type StringKey = "launcherOpen" | "panelTitle" | "composerPlaceholder" | "send" | "stop" | "attach" | "micStart" | "micStop" | "micUnsupported" | "expand" | "collapse" | "fullscreen" | "exitFullscreen" | "resizeHandle" | "scrollToBottom" | "popOut" | "close" | "moreActions" | "soundOn" | "soundOff" | "language" | "theme" | "themeAuto" | "themeLight" | "themeDark" | "textSize" | "textSizeSmall" | "textSizeNormal" | "textSizeLarge" | "history" | "historyTitle" | "historyEmpty" | "historyLoading" | "historyBack" | "historyContinue" | "conversationLoading" | "conversationClosed" | "startNewConversation" | "dateToday" | "dateYesterday" | "dateLastWeek" | "dateOlder" | "newConversation" | "dropZone" | "attachmentTooLarge" | "attachmentTooMany" | "attachmentMimeRejected" | "errorRetry" | "errorGeneric" | "errorRateLimited" | "loading" | "thinking" | "thoughts" | "usedTool" | "collapseSidebar" | "expandSidebar" | "formSubmit" | "formSkip" | "formSubmitted" | "formSkipped" | "formFillOut" | "formRequired" | "formInvalidEmail" | "formInvalidTel" | "formInvalidUrl" | "formInvalidNumber" | "formTooShort" | "formTooLong" | "formNumberTooSmall" | "formNumberTooLarge" | "formPatternMismatch" | "formChooseAtLeast" | "formChooseAtMost" | "formOther" | "formOtherPlaceholder" | "inputRequired" | "inputSubmit" | "inputSkip" | "inputSubmitted" | "approvalRequired" | "approve" | "reject" | "approved" | "rejected" | "approvalReason" | "stepNoLongerActive" | "tabHome" | "tabConversations" | "tabHelp" | "tabNews" | "modulesEmpty" | "moduleBack" | "contentLoading" | "homeGreeting" | "homeGreetingNamed" | "homeGreetingLead" | "homeSearchPlaceholder" | "homeContentTitle" | "helpTitle" | "helpSearchPlaceholder" | "helpEmpty" | "helpLoading" | "helpSearchEmpty" | "newsTitle" | "newsEmpty" | "newsLoading" | "newsBack" | "newsPublishedAt";
|
|
43
|
+
type StringKey = "launcherOpen" | "panelTitle" | "composerPlaceholder" | "send" | "stop" | "attach" | "micStart" | "micStop" | "micUnsupported" | "expand" | "collapse" | "fullscreen" | "exitFullscreen" | "resizeHandle" | "scrollToBottom" | "popOut" | "close" | "moreActions" | "soundOn" | "soundOff" | "language" | "theme" | "themeAuto" | "themeLight" | "themeDark" | "textSize" | "textSizeSmall" | "textSizeNormal" | "textSizeLarge" | "history" | "historyTitle" | "historyEmpty" | "historyLoading" | "historyBack" | "historyContinue" | "conversationLoading" | "conversationClosed" | "startNewConversation" | "dateToday" | "dateYesterday" | "dateLastWeek" | "dateOlder" | "newConversation" | "dropZone" | "attachmentTooLarge" | "attachmentTooMany" | "attachmentMimeRejected" | "errorRetry" | "errorGeneric" | "errorRateLimited" | "loading" | "thinking" | "thoughts" | "usedTool" | "collapseSidebar" | "expandSidebar" | "formSubmit" | "formSkip" | "formSubmitted" | "formSkipped" | "formFillOut" | "formRequired" | "formInvalidEmail" | "formInvalidTel" | "formInvalidUrl" | "formInvalidNumber" | "formTooShort" | "formTooLong" | "formNumberTooSmall" | "formNumberTooLarge" | "formPatternMismatch" | "formChooseAtLeast" | "formChooseAtMost" | "formOther" | "formOtherPlaceholder" | "inputRequired" | "inputSubmit" | "inputSkip" | "inputSubmitted" | "approvalRequired" | "approve" | "reject" | "approved" | "rejected" | "approvalReason" | "stepNoLongerActive" | "tabHome" | "tabConversations" | "tabHelp" | "tabNews" | "modulesEmpty" | "moduleBack" | "contentLoading" | "homeGreeting" | "homeGreetingNamed" | "homeGreetingLead" | "homeSearchPlaceholder" | "homeContentTitle" | "homeStatus" | "helpTitle" | "helpSearchPlaceholder" | "helpEmpty" | "helpLoading" | "helpSearchEmpty" | "newsTitle" | "newsEmpty" | "newsLoading" | "newsBack" | "newsPublishedAt";
|
|
44
44
|
/** A partial map for one locale — what overrides look like on the wire. */
|
|
45
45
|
type LocaleStrings = Partial<Record<StringKey, string>>;
|
|
46
46
|
/**
|
package/index.mjs
CHANGED
|
@@ -101,6 +101,7 @@ var STRINGS_EN = {
|
|
|
101
101
|
homeGreetingLead: "How can we help?",
|
|
102
102
|
homeSearchPlaceholder: "Search for help",
|
|
103
103
|
homeContentTitle: "Popular articles",
|
|
104
|
+
homeStatus: "Status",
|
|
104
105
|
helpTitle: "Help",
|
|
105
106
|
helpSearchPlaceholder: "Search for help",
|
|
106
107
|
helpEmpty: "No help articles yet",
|
|
@@ -213,6 +214,7 @@ var STRINGS_FR = {
|
|
|
213
214
|
homeGreetingLead: "Comment pouvons-nous vous aider ?",
|
|
214
215
|
homeSearchPlaceholder: "Rechercher de l'aide",
|
|
215
216
|
homeContentTitle: "Articles populaires",
|
|
217
|
+
homeStatus: "Statut",
|
|
216
218
|
helpTitle: "Aide",
|
|
217
219
|
helpSearchPlaceholder: "Rechercher de l'aide",
|
|
218
220
|
helpEmpty: "Aucun article d'aide pour le moment",
|
package/package.json
CHANGED
package/web-component.mjs
CHANGED
|
@@ -101,6 +101,7 @@ var STRINGS_EN = {
|
|
|
101
101
|
homeGreetingLead: "How can we help?",
|
|
102
102
|
homeSearchPlaceholder: "Search for help",
|
|
103
103
|
homeContentTitle: "Popular articles",
|
|
104
|
+
homeStatus: "Status",
|
|
104
105
|
helpTitle: "Help",
|
|
105
106
|
helpSearchPlaceholder: "Search for help",
|
|
106
107
|
helpEmpty: "No help articles yet",
|
|
@@ -213,6 +214,7 @@ var STRINGS_FR = {
|
|
|
213
214
|
homeGreetingLead: "Comment pouvons-nous vous aider ?",
|
|
214
215
|
homeSearchPlaceholder: "Rechercher de l'aide",
|
|
215
216
|
homeContentTitle: "Articles populaires",
|
|
217
|
+
homeStatus: "Statut",
|
|
216
218
|
helpTitle: "Aide",
|
|
217
219
|
helpSearchPlaceholder: "Rechercher de l'aide",
|
|
218
220
|
helpEmpty: "Aucun article d'aide pour le moment",
|