@eshal-bot/chat-widget 0.1.62 → 0.1.64
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/chat-widget.js
CHANGED
|
@@ -91865,6 +91865,9 @@
|
|
|
91865
91865
|
fontSize: 11,
|
|
91866
91866
|
fill: labelColor
|
|
91867
91867
|
},
|
|
91868
|
+
angle: 0,
|
|
91869
|
+
textAnchor: "middle",
|
|
91870
|
+
interval: 0,
|
|
91868
91871
|
label: props.xAxisLabel ? {
|
|
91869
91872
|
value: props.xAxisLabel,
|
|
91870
91873
|
position: 'insideBottom',
|
|
@@ -92143,6 +92146,9 @@
|
|
|
92143
92146
|
fontSize: 11,
|
|
92144
92147
|
fill: labelColor
|
|
92145
92148
|
},
|
|
92149
|
+
angle: 0,
|
|
92150
|
+
textAnchor: "middle",
|
|
92151
|
+
interval: 0,
|
|
92146
92152
|
label: props.xAxisLabel ? {
|
|
92147
92153
|
value: props.xAxisLabel,
|
|
92148
92154
|
position: 'insideBottom',
|
|
@@ -92713,10 +92719,12 @@
|
|
|
92713
92719
|
|
|
92714
92720
|
// ISO date / datetime prefix — matches the typical SQL output the
|
|
92715
92721
|
// agent's tools produce when GROUP BY-ing by month
|
|
92716
|
-
// (`DATE_TRUNC('month', col)` → `YYYY-MM-DD`)
|
|
92717
|
-
// below so a chart of monthly
|
|
92718
|
-
//
|
|
92719
|
-
|
|
92722
|
+
// (`DATE_TRUNC('month', col)` → `YYYY-MM-DD`, or `to_char(..,'YYYY-MM')`
|
|
92723
|
+
// → `YYYY-MM`). Used by formatAxisTick below so a chart of monthly
|
|
92724
|
+
// expenses shows "Jan '26" / "Feb '26" horizontally instead of
|
|
92725
|
+
// "2026 01 01" or "2026 01" slanted (EV-1187 follow-up + 2026-06-24
|
|
92726
|
+
// day-less variant fix).
|
|
92727
|
+
const ISO_DATE_RE = /^(\d{4})-(\d{2})(?:-\d{2})?(?:[T\s]|$)/;
|
|
92720
92728
|
function formatIsoDateAsMonthTick(value) {
|
|
92721
92729
|
if (typeof value !== 'string') return null;
|
|
92722
92730
|
const m = value.match(ISO_DATE_RE);
|
|
@@ -96219,7 +96227,18 @@
|
|
|
96219
96227
|
copyChat: "Copy Chat",
|
|
96220
96228
|
startChat: "Start Chat",
|
|
96221
96229
|
startingVoiceSession: "Starting voice session...",
|
|
96222
|
-
allowMicAccess: "Allow microphone access"
|
|
96230
|
+
allowMicAccess: "Allow microphone access",
|
|
96231
|
+
// Onboarding-form validation messages. These are the English fallback for
|
|
96232
|
+
// every locale (translate() falls back to EN[key]); without them the form
|
|
96233
|
+
// rendered the raw key strings ("emailInvalid", etc.). `fieldRequiredSuffix`
|
|
96234
|
+
// is appended after a field label: `${label} ${fieldRequiredSuffix}`.
|
|
96235
|
+
emailRequired: "Please enter your email address",
|
|
96236
|
+
nameRequired: "Please enter your name",
|
|
96237
|
+
phoneRequired: "Please enter your phone number",
|
|
96238
|
+
fieldRequiredSuffix: "is required",
|
|
96239
|
+
emailInvalid: "Please enter a valid email address",
|
|
96240
|
+
nameInvalid: "Please enter a valid name",
|
|
96241
|
+
phoneInvalid: "Please enter a valid phone number"
|
|
96223
96242
|
};
|
|
96224
96243
|
const DICTIONARIES = {
|
|
96225
96244
|
en: EN,
|