@opens/widget-ui 1.7.0 → 1.7.1

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-article-page.vue.d.ts","sourceRoot":"","sources":["../../src/components/pages/app-article-page.vue"],"names":[],"mappings":"AACA,cAAc,mHAAmH,CAAC;AAClI,OAAO,gIAAgI,CAAC;AACxI,OAAO,gHAAgH,CAAC;;AAExH,wBAA0F"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-service-page.vue.d.ts","sourceRoot":"","sources":["../../src/components/pages/app-service-page.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mHAAmH,CAAC;AAC1I,cAAc,mHAAmH,CAAC;AAClI,eAAe,SAAS,CAAC"}
@@ -3,5 +3,6 @@ import { WidgetLanguage } from '@opens/gateways/chat-config';
3
3
  * Picks the active widget language from the configured list.
4
4
  * - one language: always that language (preview can force a locale)
5
5
  * - many languages: match browser locale, then en-US → es-ES → pt-BR
6
+ * Short codes like `en` / `es` / `pt` are normalized by language prefix.
6
7
  */
7
- export declare const resolveWidgetLanguage: (languages?: readonly WidgetLanguage[], locale?: string) => WidgetLanguage;
8
+ export declare const resolveWidgetLanguage: (languages?: readonly string[], locale?: string) => WidgetLanguage;