@dialpad/dialtone-vue 2.205.0 → 2.205.4

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 (79) hide show
  1. package/dist/component-documentation.json +1 -1
  2. package/dist/lib/stack/stack-constants.cjs +1 -1
  3. package/dist/lib/stack/stack-constants.cjs.map +1 -1
  4. package/dist/lib/stack/stack-constants.js +8 -8
  5. package/dist/lib/stack/stack-constants.js.map +1 -1
  6. package/dist/lib/stack/stack.cjs.map +1 -1
  7. package/dist/lib/stack/stack.js +1 -1
  8. package/dist/lib/stack/stack.js.map +1 -1
  9. package/dist/lib/stack/utils.cjs +1 -1
  10. package/dist/lib/stack/utils.cjs.map +1 -1
  11. package/dist/lib/stack/utils.js +56 -44
  12. package/dist/lib/stack/utils.js.map +1 -1
  13. package/dist/lib/tab/tab-group.cjs +1 -1
  14. package/dist/lib/tab/tab-group.cjs.map +1 -1
  15. package/dist/lib/tab/tab-group.js +4 -4
  16. package/dist/lib/tab/tab-group.js.map +1 -1
  17. package/dist/localization/index.cjs +1 -1
  18. package/dist/localization/index.cjs.map +1 -1
  19. package/dist/localization/index.js +46 -42
  20. package/dist/localization/index.js.map +1 -1
  21. package/dist/types/common/sr_only_close_button.vue.d.ts +2 -3
  22. package/dist/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  23. package/dist/types/components/breadcrumbs/breadcrumbs.vue.d.ts +1 -2
  24. package/dist/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
  25. package/dist/types/components/button/button.vue.d.ts +1 -2
  26. package/dist/types/components/button/button.vue.d.ts.map +1 -1
  27. package/dist/types/components/chip/chip.vue.d.ts +2 -3
  28. package/dist/types/components/chip/chip.vue.d.ts.map +1 -1
  29. package/dist/types/components/datepicker/modules/calendar.vue.d.ts +1 -2
  30. package/dist/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
  31. package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts +1 -2
  32. package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
  33. package/dist/types/components/image_viewer/image_viewer.vue.d.ts +2 -3
  34. package/dist/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  35. package/dist/types/components/loader/loader.vue.d.ts +1 -2
  36. package/dist/types/components/loader/loader.vue.d.ts.map +1 -1
  37. package/dist/types/components/modal/modal.vue.d.ts +2 -3
  38. package/dist/types/components/modal/modal.vue.d.ts.map +1 -1
  39. package/dist/types/components/notice/notice_action.vue.d.ts +2 -3
  40. package/dist/types/components/notice/notice_action.vue.d.ts.map +1 -1
  41. package/dist/types/components/pagination/pagination.vue.d.ts +3 -4
  42. package/dist/types/components/pagination/pagination.vue.d.ts.map +1 -1
  43. package/dist/types/components/popover/popover_header_footer.vue.d.ts +2 -3
  44. package/dist/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  45. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -2
  46. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  47. package/dist/types/components/stack/stack_constants.d.ts.map +1 -1
  48. package/dist/types/components/stack/utils.d.ts.map +1 -1
  49. package/dist/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +2 -3
  50. package/dist/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  51. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +2 -3
  52. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  53. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +3 -4
  54. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  55. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +1 -2
  56. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  57. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +2 -3
  58. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
  59. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +14 -15
  60. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  61. package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +2 -3
  62. package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  63. package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +2 -3
  64. package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  65. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +5 -6
  66. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  67. package/dist/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +8 -9
  68. package/dist/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  69. package/dist/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +9 -10
  70. package/dist/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  71. package/dist/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -3
  72. package/dist/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  73. package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts +2 -3
  74. package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  75. package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts +1 -2
  76. package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  77. package/dist/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +2 -3
  78. package/dist/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  79. package/package.json +12 -7
@@ -1,15 +1,15 @@
1
- import { RawBundleSource as i, LocaleManager as f, useI18N as l } from "@dialpad/i18n-vue2";
2
- import d from "./en-US.js";
3
- import m from "./zh-CN.js";
4
- import g from "./nl-NL.js";
1
+ import { RawBundleSource as i, LocaleManager as u } from "@dialpad/i18n-vue2";
2
+ import f from "./en-US.js";
3
+ import d from "./zh-CN.js";
4
+ import m from "./nl-NL.js";
5
5
  import p from "./fr-FR.js";
6
- import S from "./de-DE.js";
7
- import w from "./it-IT.js";
8
- import N from "./ja-JP.js";
9
- import L from "./pt-BR.js";
10
- import R from "./ru-RU.js";
11
- import h from "./es-LA.js";
12
- const e = "dialtone", t = {
6
+ import g from "./de-DE.js";
7
+ import h from "./it-IT.js";
8
+ import S from "./ja-JP.js";
9
+ import w from "./pt-BR.js";
10
+ import N from "./ru-RU.js";
11
+ import L from "./es-LA.js";
12
+ const r = "dialtone", t = {
13
13
  ENGLISH: "en-US",
14
14
  CHINESE: "zh-CN",
15
15
  DUTCH: "nl-NL",
@@ -20,34 +20,38 @@ const e = "dialtone", t = {
20
20
  PORTUGUESE: "pt-BR",
21
21
  RUSSIAN: "ru-RU",
22
22
  SPANISH: "es-LA"
23
- }, n = "en-US", u = "user-locale";
23
+ }, l = "en-US", c = "user-locale";
24
24
  class o {
25
- constructor(r = null) {
25
+ /**
26
+ * @prop {import('@dialpad/i18n').UseI18N} i18n
27
+ * @private
28
+ */
29
+ constructor(e = null) {
26
30
  if (typeof o.instance == "object")
27
31
  return o.instance;
28
- this._locale = r || o.getPreferredLocale();
32
+ this._locale = e || o.getPreferredLocale();
29
33
  const a = new i({
30
34
  resources: i.builtResources([
31
- ["en-US", e, d],
32
- ["zh-CN", e, m],
33
- ["nl-NL", e, g],
34
- ["fr-FR", e, p],
35
- ["de-DE", e, S],
36
- ["it-IT", e, w],
37
- ["ja-JP", e, N],
38
- ["pt-BR", e, L],
39
- ["ru-RU", e, R],
40
- ["es-LA", e, h]
35
+ ["en-US", r, f],
36
+ ["zh-CN", r, d],
37
+ ["nl-NL", r, m],
38
+ ["fr-FR", r, p],
39
+ ["de-DE", r, g],
40
+ ["it-IT", r, h],
41
+ ["ja-JP", r, S],
42
+ ["pt-BR", r, w],
43
+ ["ru-RU", r, N],
44
+ ["es-LA", r, L]
41
45
  ])
42
- });
43
- return new f({
46
+ }), n = new u({
44
47
  bundleSource: a,
45
48
  allowedLocales: Object.values(t),
46
- fallbackLocale: n,
49
+ fallbackLocale: l,
47
50
  preferredLocale: this._locale,
48
- namespaces: [e]
49
- }).install(e), o.instance = this, typeof window < "u" && (window.onstorage = (c) => {
50
- c.key === u && (this.currentLocale = c.newValue);
51
+ namespaces: [r]
52
+ });
53
+ return this.i18n = n.useI18N(r), o.instance = this, typeof window < "u" && (window.onstorage = (s) => {
54
+ s.key === c && (this.currentLocale = s.newValue);
51
55
  }), this;
52
56
  }
53
57
  /**
@@ -56,9 +60,9 @@ class o {
56
60
  */
57
61
  static getPreferredLocale() {
58
62
  if (typeof window > "u" || !window.localStorage)
59
- return n;
60
- const r = window.localStorage.getItem(u), a = Object.values(t).find((s) => s.startsWith(navigator.language.slice(0, 2)));
61
- return r || a || n;
63
+ return l;
64
+ const e = window.localStorage.getItem(c), a = Object.values(t).find((n) => n.startsWith(navigator.language.slice(0, 2)));
65
+ return e || a || l;
62
66
  }
63
67
  static getAllowedLocales() {
64
68
  return t;
@@ -69,8 +73,8 @@ class o {
69
73
  * It’s used for simple text translations.
70
74
  * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#t
71
75
  */
72
- $t(...r) {
73
- return l(e).$t(...r);
76
+ $t(...e) {
77
+ return this.i18n.$t(...e);
74
78
  }
75
79
  /**
76
80
  * Passthrough function to the i18n $ta function including the dialtone namespace
@@ -78,17 +82,17 @@ class o {
78
82
  * aria-label, title, etc, rather than just a plain text. It’s useful for handling element attributes in the UI.
79
83
  * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#ta
80
84
  */
81
- $ta(...r) {
82
- return l(e).$ta(...r);
85
+ $ta(...e) {
86
+ return this.i18n.$ta(...e);
83
87
  }
84
88
  get currentLocale() {
85
89
  return this._locale;
86
90
  }
87
- set currentLocale(r) {
88
- if (r !== this._locale) {
89
- if (!Object.values(t).includes(r))
90
- throw new Error(`Locale ${r} is not allowed, please use one of the following: ${Object.values(t).join(", ")}`);
91
- this._locale = r, l(e).setI18N({ preferredLocale: r }, e);
91
+ set currentLocale(e) {
92
+ if (e !== this._locale) {
93
+ if (!Object.values(t).includes(e))
94
+ throw new Error(`Locale ${e} is not allowed, please use one of the following: ${Object.values(t).join(", ")}`);
95
+ this._locale = e, this.i18n.setI18N({ preferredLocale: e }, r);
92
96
  }
93
97
  }
94
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../localization/index.js"],"sourcesContent":["import { LocaleManager, RawBundleSource, useI18N } from '@dialpad/i18n-vue2';\n\nimport enUS from './en-US.ftl?raw';\nimport zhCN from './zh-CN.ftl?raw';\nimport nlNL from './nl-NL.ftl?raw';\nimport frFR from './fr-FR.ftl?raw';\nimport deDE from './de-DE.ftl?raw';\nimport itIT from './it-IT.ftl?raw';\nimport jaJP from './ja-JP.ftl?raw';\nimport ptBR from './pt-BR.ftl?raw';\nimport ruRU from './ru-RU.ftl?raw';\nimport esLA from './es-LA.ftl?raw';\n\nconst dialtoneNamespace = 'dialtone';\nconst allowedLocales = {\n ENGLISH: 'en-US',\n CHINESE: 'zh-CN',\n DUTCH: 'nl-NL',\n FRENCH: 'fr-FR',\n GERMAN: 'de-DE',\n ITALIAN: 'it-IT',\n JAPANESE: 'ja-JP',\n PORTUGUESE: 'pt-BR',\n RUSSIAN: 'ru-RU',\n SPANISH: 'es-LA',\n};\nconst fallbackLocale = 'en-US';\n/**\n * Default key name used by the LocaleManager to store the user's preferred locale in localStorage\n */\nconst localeManagerStorageKey = 'user-locale';\n\n/**\n * Dialtone localization class, follows the singleton pattern to make sure only one instance of the class is created.\n * Initializes the localeManager and looks for changes on the browser storage to update the current locale.\n * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#i18n-vue-3-compatible\n */\nexport class DialtoneLocalization {\n constructor (locale = null) {\n if (typeof DialtoneLocalization.instance === 'object') {\n return DialtoneLocalization.instance;\n }\n\n this._locale = locale || DialtoneLocalization.getPreferredLocale();\n\n const bundleSource = new RawBundleSource({\n resources: RawBundleSource.builtResources([\n ['en-US', dialtoneNamespace, enUS],\n ['zh-CN', dialtoneNamespace, zhCN],\n ['nl-NL', dialtoneNamespace, nlNL],\n ['fr-FR', dialtoneNamespace, frFR],\n ['de-DE', dialtoneNamespace, deDE],\n ['it-IT', dialtoneNamespace, itIT],\n ['ja-JP', dialtoneNamespace, jaJP],\n ['pt-BR', dialtoneNamespace, ptBR],\n ['ru-RU', dialtoneNamespace, ruRU],\n ['es-LA', dialtoneNamespace, esLA],\n ]),\n });\n\n const localeManager = new LocaleManager({\n bundleSource,\n allowedLocales: Object.values(allowedLocales),\n fallbackLocale,\n preferredLocale: this._locale,\n namespaces: [dialtoneNamespace],\n });\n\n localeManager.install(dialtoneNamespace);\n\n DialtoneLocalization.instance = this;\n\n if (typeof window !== 'undefined') {\n /**\n * @description\n * When the browser storage changes, update the current locale\n * @param event\n */\n window.onstorage = (event) => {\n if (event.key === localeManagerStorageKey) {\n this.currentLocale = event.newValue;\n }\n };\n }\n\n return this;\n }\n\n /**\n * Gets the preferred locale from user's locale stored in localStorage or the browser language\n * @returns { string }\n */\n static getPreferredLocale () {\n /**\n * Early return if we're not in the browser or if localStorage is not available\n */\n if (typeof window === 'undefined' || !window.localStorage) {\n return fallbackLocale;\n }\n\n const localStorageLanguage = window.localStorage.getItem(localeManagerStorageKey);\n\n // Get the first two letters of the navigator language and check if it's in the allowed locales\n const navigatorLanguage = Object.values(allowedLocales)\n .find(locale => locale.startsWith(navigator.language.slice(0, 2)));\n\n return localStorageLanguage || navigatorLanguage || fallbackLocale;\n }\n\n static getAllowedLocales () {\n return allowedLocales;\n }\n\n /**\n * Passthrough function to the i18n $t function including the dialtone namespace\n * Returns a translated string based on a key and optional variables.\n * It’s used for simple text translations.\n * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#t\n */\n $t (...args) {\n return useI18N(dialtoneNamespace).$t(...args);\n }\n\n /**\n * Passthrough function to the i18n $ta function including the dialtone namespace\n * Returns an object containing translated attributes to pass directly as props to components, it can contain\n * aria-label, title, etc, rather than just a plain text. It’s useful for handling element attributes in the UI.\n * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#ta\n */\n $ta (...args) {\n return useI18N(dialtoneNamespace).$ta(...args);\n }\n\n get currentLocale () {\n return this._locale;\n }\n\n set currentLocale (newLocale) {\n if (newLocale === this._locale) return;\n if (!Object.values(allowedLocales).includes(newLocale)) {\n throw new Error(`Locale ${newLocale} is not allowed, please use one of the following: ${Object.values(allowedLocales).join(', ')}`);\n }\n\n this._locale = newLocale;\n useI18N(dialtoneNamespace).setI18N({ preferredLocale: newLocale }, dialtoneNamespace);\n }\n}\n"],"names":["dialtoneNamespace","allowedLocales","fallbackLocale","localeManagerStorageKey","DialtoneLocalization","locale","bundleSource","RawBundleSource","enUS","zhCN","nlNL","frFR","deDE","itIT","jaJP","ptBR","ruRU","esLA","LocaleManager","event","localStorageLanguage","navigatorLanguage","args","useI18N","newLocale"],"mappings":";;;;;;;;;;;AAaA,MAAMA,IAAoB,YACpBC,IAAiB;AAAA,EACrB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,SAAS;AACX,GACMC,IAAiB,SAIjBC,IAA0B;AAOzB,MAAMC,EAAqB;AAAA,EAChC,YAAaC,IAAS,MAAM;AAC1B,QAAI,OAAOD,EAAqB,YAAa;AAC3C,aAAOA,EAAqB;AAG9B,SAAK,UAAUC,KAAUD,EAAqB,mBAAkB;AAEhE,UAAME,IAAe,IAAIC,EAAgB;AAAA,MACvC,WAAWA,EAAgB,eAAe;AAAA,QACxC,CAAC,SAASP,GAAmBQ,CAAI;AAAA,QACjC,CAAC,SAASR,GAAmBS,CAAI;AAAA,QACjC,CAAC,SAAST,GAAmBU,CAAI;AAAA,QACjC,CAAC,SAASV,GAAmBW,CAAI;AAAA,QACjC,CAAC,SAASX,GAAmBY,CAAI;AAAA,QACjC,CAAC,SAASZ,GAAmBa,CAAI;AAAA,QACjC,CAAC,SAASb,GAAmBc,CAAI;AAAA,QACjC,CAAC,SAASd,GAAmBe,CAAI;AAAA,QACjC,CAAC,SAASf,GAAmBgB,CAAI;AAAA,QACjC,CAAC,SAAShB,GAAmBiB,CAAI;AAAA,MACzC,CAAO;AAAA,IACP,CAAK;AAUD,WARsB,IAAIC,EAAc;AAAA,MACtC,cAAAZ;AAAA,MACA,gBAAgB,OAAO,OAAOL,CAAc;AAAA,MAC5C,gBAAAC;AAAA,MACA,iBAAiB,KAAK;AAAA,MACtB,YAAY,CAACF,CAAiB;AAAA,IACpC,CAAK,EAEa,QAAQA,CAAiB,GAEvCI,EAAqB,WAAW,MAE5B,OAAO,SAAW,QAMpB,OAAO,YAAY,CAACe,MAAU;AAC5B,MAAIA,EAAM,QAAQhB,MAChB,KAAK,gBAAgBgB,EAAM;AAAA,IAE/B,IAGK;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAO,qBAAsB;AAI3B,QAAI,OAAO,SAAW,OAAe,CAAC,OAAO;AAC3C,aAAOjB;AAGT,UAAMkB,IAAuB,OAAO,aAAa,QAAQjB,CAAuB,GAG1EkB,IAAoB,OAAO,OAAOpB,CAAc,EACnD,KAAK,CAAAI,MAAUA,EAAO,WAAW,UAAU,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC;AAEnE,WAAOe,KAAwBC,KAAqBnB;AAAA,EACtD;AAAA,EAEA,OAAO,oBAAqB;AAC1B,WAAOD;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAOqB,GAAM;AACX,WAAOC,EAAQvB,CAAiB,EAAE,GAAG,GAAGsB,CAAI;AAAA,EAC9C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,OAAQA,GAAM;AACZ,WAAOC,EAAQvB,CAAiB,EAAE,IAAI,GAAGsB,CAAI;AAAA,EAC/C;AAAA,EAEA,IAAI,gBAAiB;AACnB,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,IAAI,cAAeE,GAAW;AAC5B,QAAIA,MAAc,KAAK,SACvB;AAAA,UAAI,CAAC,OAAO,OAAOvB,CAAc,EAAE,SAASuB,CAAS;AACnD,cAAM,IAAI,MAAM,UAAUA,CAAS,qDAAqD,OAAO,OAAOvB,CAAc,EAAE,KAAK,IAAI,CAAC,EAAE;AAGpI,WAAK,UAAUuB,GACfD,EAAQvB,CAAiB,EAAE,QAAQ,EAAE,iBAAiBwB,EAAS,GAAIxB,CAAiB;AAAA;AAAA,EACtF;AACF;"}
1
+ {"version":3,"file":"index.js","sources":["../../localization/index.js"],"sourcesContent":["import { LocaleManager, RawBundleSource } from '@dialpad/i18n-vue2';\n\nimport enUS from './en-US.ftl?raw';\nimport zhCN from './zh-CN.ftl?raw';\nimport nlNL from './nl-NL.ftl?raw';\nimport frFR from './fr-FR.ftl?raw';\nimport deDE from './de-DE.ftl?raw';\nimport itIT from './it-IT.ftl?raw';\nimport jaJP from './ja-JP.ftl?raw';\nimport ptBR from './pt-BR.ftl?raw';\nimport ruRU from './ru-RU.ftl?raw';\nimport esLA from './es-LA.ftl?raw';\n\nconst dialtoneNamespace = 'dialtone';\nconst allowedLocales = {\n ENGLISH: 'en-US',\n CHINESE: 'zh-CN',\n DUTCH: 'nl-NL',\n FRENCH: 'fr-FR',\n GERMAN: 'de-DE',\n ITALIAN: 'it-IT',\n JAPANESE: 'ja-JP',\n PORTUGUESE: 'pt-BR',\n RUSSIAN: 'ru-RU',\n SPANISH: 'es-LA',\n};\nconst fallbackLocale = 'en-US';\n/**\n * Default key name used by the LocaleManager to store the user's preferred locale in localStorage\n */\nconst localeManagerStorageKey = 'user-locale';\n\n/**\n * Dialtone localization class, follows the singleton pattern to make sure only one instance of the class is created.\n * Initializes the localeManager and looks for changes on the browser storage to update the current locale.\n * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#i18n-vue-3-compatible\n */\nexport class DialtoneLocalization {\n /**\n * @prop {import('@dialpad/i18n').UseI18N} i18n\n * @private\n */\n constructor (locale = null) {\n if (typeof DialtoneLocalization.instance === 'object') {\n return DialtoneLocalization.instance;\n }\n\n this._locale = locale || DialtoneLocalization.getPreferredLocale();\n\n const bundleSource = new RawBundleSource({\n resources: RawBundleSource.builtResources([\n ['en-US', dialtoneNamespace, enUS],\n ['zh-CN', dialtoneNamespace, zhCN],\n ['nl-NL', dialtoneNamespace, nlNL],\n ['fr-FR', dialtoneNamespace, frFR],\n ['de-DE', dialtoneNamespace, deDE],\n ['it-IT', dialtoneNamespace, itIT],\n ['ja-JP', dialtoneNamespace, jaJP],\n ['pt-BR', dialtoneNamespace, ptBR],\n ['ru-RU', dialtoneNamespace, ruRU],\n ['es-LA', dialtoneNamespace, esLA],\n ]),\n });\n\n const localeManager = new LocaleManager({\n bundleSource,\n allowedLocales: Object.values(allowedLocales),\n fallbackLocale,\n preferredLocale: this._locale,\n namespaces: [dialtoneNamespace],\n });\n\n this.i18n = localeManager.useI18N(dialtoneNamespace);\n\n DialtoneLocalization.instance = this;\n\n if (typeof window !== 'undefined') {\n /**\n * @description\n * When the browser storage changes, update the current locale\n * @param event\n */\n window.onstorage = (event) => {\n if (event.key === localeManagerStorageKey) {\n this.currentLocale = event.newValue;\n }\n };\n }\n\n return this;\n }\n\n /**\n * Gets the preferred locale from user's locale stored in localStorage or the browser language\n * @returns { string }\n */\n static getPreferredLocale () {\n /**\n * Early return if we're not in the browser or if localStorage is not available\n */\n if (typeof window === 'undefined' || !window.localStorage) {\n return fallbackLocale;\n }\n\n const localStorageLanguage = window.localStorage.getItem(localeManagerStorageKey);\n\n // Get the first two letters of the navigator language and check if it's in the allowed locales\n const navigatorLanguage = Object.values(allowedLocales)\n .find(locale => locale.startsWith(navigator.language.slice(0, 2)));\n\n return localStorageLanguage || navigatorLanguage || fallbackLocale;\n }\n\n static getAllowedLocales () {\n return allowedLocales;\n }\n\n /**\n * Passthrough function to the i18n $t function including the dialtone namespace\n * Returns a translated string based on a key and optional variables.\n * It’s used for simple text translations.\n * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#t\n */\n $t (...args) {\n return this.i18n.$t(...args);\n }\n\n /**\n * Passthrough function to the i18n $ta function including the dialtone namespace\n * Returns an object containing translated attributes to pass directly as props to components, it can contain\n * aria-label, title, etc, rather than just a plain text. It’s useful for handling element attributes in the UI.\n * https://github.com/dialpad/goblin-client-tools/tree/main/packages/i18n#ta\n */\n $ta (...args) {\n return this.i18n.$ta(...args);\n }\n\n get currentLocale () {\n return this._locale;\n }\n\n set currentLocale (newLocale) {\n if (newLocale === this._locale) return;\n if (!Object.values(allowedLocales).includes(newLocale)) {\n throw new Error(`Locale ${newLocale} is not allowed, please use one of the following: ${Object.values(allowedLocales).join(', ')}`);\n }\n\n this._locale = newLocale;\n this.i18n.setI18N({ preferredLocale: newLocale }, dialtoneNamespace);\n }\n}\n"],"names":["dialtoneNamespace","allowedLocales","fallbackLocale","localeManagerStorageKey","DialtoneLocalization","locale","bundleSource","RawBundleSource","enUS","zhCN","nlNL","frFR","deDE","itIT","jaJP","ptBR","ruRU","esLA","localeManager","LocaleManager","event","localStorageLanguage","navigatorLanguage","args","newLocale"],"mappings":";;;;;;;;;;;AAaA,MAAMA,IAAoB,YACpBC,IAAiB;AAAA,EACrB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,SAAS;AACX,GACMC,IAAiB,SAIjBC,IAA0B;AAOzB,MAAMC,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA,EAKhC,YAAaC,IAAS,MAAM;AAC1B,QAAI,OAAOD,EAAqB,YAAa;AAC3C,aAAOA,EAAqB;AAG9B,SAAK,UAAUC,KAAUD,EAAqB,mBAAkB;AAEhE,UAAME,IAAe,IAAIC,EAAgB;AAAA,MACvC,WAAWA,EAAgB,eAAe;AAAA,QACxC,CAAC,SAASP,GAAmBQ,CAAI;AAAA,QACjC,CAAC,SAASR,GAAmBS,CAAI;AAAA,QACjC,CAAC,SAAST,GAAmBU,CAAI;AAAA,QACjC,CAAC,SAASV,GAAmBW,CAAI;AAAA,QACjC,CAAC,SAASX,GAAmBY,CAAI;AAAA,QACjC,CAAC,SAASZ,GAAmBa,CAAI;AAAA,QACjC,CAAC,SAASb,GAAmBc,CAAI;AAAA,QACjC,CAAC,SAASd,GAAmBe,CAAI;AAAA,QACjC,CAAC,SAASf,GAAmBgB,CAAI;AAAA,QACjC,CAAC,SAAShB,GAAmBiB,CAAI;AAAA,MACzC,CAAO;AAAA,IACP,CAAK,GAEKC,IAAgB,IAAIC,EAAc;AAAA,MACtC,cAAAb;AAAA,MACA,gBAAgB,OAAO,OAAOL,CAAc;AAAA,MAC5C,gBAAAC;AAAA,MACA,iBAAiB,KAAK;AAAA,MACtB,YAAY,CAACF,CAAiB;AAAA,IACpC,CAAK;AAED,gBAAK,OAAOkB,EAAc,QAAQlB,CAAiB,GAEnDI,EAAqB,WAAW,MAE5B,OAAO,SAAW,QAMpB,OAAO,YAAY,CAACgB,MAAU;AAC5B,MAAIA,EAAM,QAAQjB,MAChB,KAAK,gBAAgBiB,EAAM;AAAA,IAE/B,IAGK;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAO,qBAAsB;AAI3B,QAAI,OAAO,SAAW,OAAe,CAAC,OAAO;AAC3C,aAAOlB;AAGT,UAAMmB,IAAuB,OAAO,aAAa,QAAQlB,CAAuB,GAG1EmB,IAAoB,OAAO,OAAOrB,CAAc,EACnD,KAAK,CAAAI,MAAUA,EAAO,WAAW,UAAU,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC;AAEnE,WAAOgB,KAAwBC,KAAqBpB;AAAA,EACtD;AAAA,EAEA,OAAO,oBAAqB;AAC1B,WAAOD;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAOsB,GAAM;AACX,WAAO,KAAK,KAAK,GAAG,GAAGA,CAAI;AAAA,EAC7B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,OAAQA,GAAM;AACZ,WAAO,KAAK,KAAK,IAAI,GAAGA,CAAI;AAAA,EAC9B;AAAA,EAEA,IAAI,gBAAiB;AACnB,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,IAAI,cAAeC,GAAW;AAC5B,QAAIA,MAAc,KAAK,SACvB;AAAA,UAAI,CAAC,OAAO,OAAOvB,CAAc,EAAE,SAASuB,CAAS;AACnD,cAAM,IAAI,MAAM,UAAUA,CAAS,qDAAqD,OAAO,OAAOvB,CAAc,EAAE,KAAK,IAAI,CAAC,EAAE;AAGpI,WAAK,UAAUuB,GACf,KAAK,KAAK,QAAQ,EAAE,iBAAiBA,EAAS,GAAIxB,CAAiB;AAAA;AAAA,EACrE;AACF;"}
@@ -1,8 +1,7 @@
1
- import { DialtoneLocalization } from '../localization';
2
1
  declare const _default: import('vue').DefineComponent<{}, any, {
3
- i18n: DialtoneLocalization;
2
+ i18n: any;
4
3
  }, {
5
- closeButtonTitle(): string;
4
+ closeButtonTitle(): any;
6
5
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], string, Readonly<import('vue').ExtractPropTypes<{}>>, {}>;
7
6
  export default _default;
8
7
  //# sourceMappingURL=sr_only_close_button.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sr_only_close_button.vue.d.ts","sourceRoot":"","sources":["../../../common/sr_only_close_button.vue"],"names":[],"mappings":"AAaA;;;;;;;qCAmDqC,gBAAgB"}
1
+ {"version":3,"file":"sr_only_close_button.vue.d.ts","sourceRoot":"","sources":["../../../common/sr_only_close_button.vue"],"names":[],"mappings":"AAaA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  breadcrumbs: {
4
3
  type: ArrayConstructor;
@@ -15,7 +14,7 @@ declare const _default: import('vue').DefineComponent<{
15
14
  };
16
15
  }, {}, {
17
16
  BREADCRUMBS_INVERTED_MODIFIER: string;
18
- i18n: DialtoneLocalization;
17
+ i18n: any;
19
18
  }, {}, {
20
19
  getBreadcrumbItemKey(index: any): string;
21
20
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.vue.d.ts","sourceRoot":"","sources":["../../../../components/breadcrumbs/breadcrumbs.vue"],"names":[],"mappings":"AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA6FqC,gBAAgB"}
1
+ {"version":3,"file":"breadcrumbs.vue.d.ts","sourceRoot":"","sources":["../../../../components/breadcrumbs/breadcrumbs.vue"],"names":[],"mappings":"AAuBA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  circle: {
4
3
  type: BooleanConstructor;
@@ -74,7 +73,7 @@ declare const _default: import('vue').DefineComponent<{
74
73
  bottom: string;
75
74
  };
76
75
  isInFocus: boolean;
77
- i18n: DialtoneLocalization;
76
+ i18n: any;
78
77
  }, {
79
78
  buttonListeners(): Record<string, Function | Function[]>;
80
79
  computedAriaLive(): string;
@@ -1 +1 @@
1
- {"version":3,"file":"button.vue.d.ts","sourceRoot":"","sources":["../../../../components/button/button.vue"],"names":[],"mappings":"AA8CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA8XqC,gBAAgB"}
1
+ {"version":3,"file":"button.vue.d.ts","sourceRoot":"","sources":["../../../../components/button/button.vue"],"names":[],"mappings":"AA8CA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  disabled: {
4
3
  type: BooleanConstructor;
@@ -35,7 +34,7 @@ declare const _default: import('vue').DefineComponent<{
35
34
  };
36
35
  }, {}, {
37
36
  isActive: boolean;
38
- i18n: DialtoneLocalization;
37
+ i18n: any;
39
38
  }, {
40
39
  chipListeners(): {
41
40
  click: (event: any) => void;
@@ -43,7 +42,7 @@ declare const _default: import('vue').DefineComponent<{
43
42
  keyup: (event: any) => void;
44
43
  };
45
44
  closeButtonIconSize(): any;
46
- closeButtonTitle(): string;
45
+ closeButtonTitle(): any;
47
46
  }, {
48
47
  chipClasses(): any[];
49
48
  chipCloseButtonClasses(): any[];
@@ -1 +1 @@
1
- {"version":3,"file":"chip.vue.d.ts","sourceRoot":"","sources":["../../../../components/chip/chip.vue"],"names":[],"mappings":"AAyDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAuQqC,gBAAgB"}
1
+ {"version":3,"file":"chip.vue.d.ts","sourceRoot":"","sources":["../../../../components/chip/chip.vue"],"names":[],"mappings":"AAyDA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  calendarDays: {
4
3
  type: ArrayConstructor;
@@ -8,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
8
7
  selectedDay: null;
9
8
  focusDay: number;
10
9
  daysRef: never[];
11
- i18n: DialtoneLocalization;
10
+ i18n: any;
12
11
  }, {
13
12
  weekDays(): string[];
14
13
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.vue.d.ts","sourceRoot":"","sources":["../../../../../components/datepicker/modules/calendar.vue"],"names":[],"mappings":"AA2DA;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA2PqC,gBAAgB"}
1
+ {"version":3,"file":"calendar.vue.d.ts","sourceRoot":"","sources":["../../../../../components/datepicker/modules/calendar.vue"],"names":[],"mappings":"AA2DA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  selectedDate: {
4
3
  type: DateConstructor;
@@ -11,7 +10,7 @@ declare const _default: import('vue').DefineComponent<{
11
10
  focusPicker: number;
12
11
  focusRefs: never[];
13
12
  refNames: string[];
14
- i18n: DialtoneLocalization;
13
+ i18n: any;
15
14
  }, {
16
15
  calendarDays(): any[];
17
16
  formattedMonth(): (month: any) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"month-year-picker.vue.d.ts","sourceRoot":"","sources":["../../../../../components/datepicker/modules/month-year-picker.vue"],"names":[],"mappings":"AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA6WqC,gBAAgB"}
1
+ {"version":3,"file":"month-year-picker.vue.d.ts","sourceRoot":"","sources":["../../../../../components/datepicker/modules/month-year-picker.vue"],"names":[],"mappings":"AAkIA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  appendTo: {
4
3
  type: StringConstructor;
@@ -28,13 +27,13 @@ declare const _default: import('vue').DefineComponent<{
28
27
  }, {}, {
29
28
  showCloseButton: boolean;
30
29
  isOpen: boolean;
31
- i18n: DialtoneLocalization;
30
+ i18n: any;
32
31
  }, {
33
32
  modalListeners(): {
34
33
  click: (event: any) => void;
35
34
  keydown: (event: any) => void;
36
35
  };
37
- closeButtonTitle(): string;
36
+ closeButtonTitle(): any;
38
37
  }, {
39
38
  openModal(): void;
40
39
  close(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"image_viewer.vue.d.ts","sourceRoot":"","sources":["../../../../components/image_viewer/image_viewer.vue"],"names":[],"mappings":"AAuEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEA2QA,IAzJe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+JsB,gBAAgB"}
1
+ {"version":3,"file":"image_viewer.vue.d.ts","sourceRoot":"","sources":["../../../../components/image_viewer/image_viewer.vue"],"names":[],"mappings":"AAuEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEA2QA,IAzJe"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  ariaLabel: {
4
3
  type: StringConstructor;
@@ -10,7 +9,7 @@ declare const _default: import('vue').DefineComponent<{
10
9
  validator: (s: unknown) => boolean;
11
10
  };
12
11
  }, {}, {
13
- i18n: DialtoneLocalization;
12
+ i18n: any;
14
13
  }, {
15
14
  loaderText(): any;
16
15
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"loader.vue.d.ts","sourceRoot":"","sources":["../../../../components/loader/loader.vue"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAgEqC,gBAAgB"}
1
+ {"version":3,"file":"loader.vue.d.ts","sourceRoot":"","sources":["../../../../components/loader/loader.vue"],"names":[],"mappings":"AAaA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  copy: {
4
3
  type: StringConstructor;
@@ -113,7 +112,7 @@ declare const _default: import('vue').DefineComponent<{
113
112
  home: string;
114
113
  end: string;
115
114
  };
116
- i18n: DialtoneLocalization;
115
+ i18n: any;
117
116
  }, {
118
117
  modalListeners(): {
119
118
  click: (event: any) => void;
@@ -123,7 +122,7 @@ declare const _default: import('vue').DefineComponent<{
123
122
  open(): string;
124
123
  hasFooterSlot(): boolean;
125
124
  bannerKindClass(): never;
126
- closeButtonTitle(): string;
125
+ closeButtonTitle(): any;
127
126
  }, {
128
127
  close(): void;
129
128
  setFocusAfterTransition(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"modal.vue.d.ts","sourceRoot":"","sources":["../../../../components/modal/modal.vue"],"names":[],"mappings":"AAwHA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAwdA,IAlWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+WkC,gBAAgB"}
1
+ {"version":3,"file":"modal.vue.d.ts","sourceRoot":"","sources":["../../../../components/modal/modal.vue"],"names":[],"mappings":"AAwHA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAwdA,IAlWG"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  hideClose: {
4
3
  type: BooleanConstructor;
@@ -9,12 +8,12 @@ declare const _default: import('vue').DefineComponent<{
9
8
  default: boolean;
10
9
  };
11
10
  }, {}, {
12
- i18n: DialtoneLocalization;
11
+ i18n: any;
13
12
  }, {
14
13
  noticeActionListeners(): {
15
14
  click: (event: any) => void;
16
15
  };
17
- closeButtonTitle(): string;
16
+ closeButtonTitle(): any;
18
17
  }, {
19
18
  close(): void;
20
19
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], string, Readonly<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"notice_action.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice_action.vue"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAwHqC,gBAAgB"}
1
+ {"version":3,"file":"notice_action.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice_action.vue"],"names":[],"mappings":"AA8BA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  ariaLabel: {
4
3
  type: StringConstructor;
@@ -22,13 +21,13 @@ declare const _default: import('vue').DefineComponent<{
22
21
  };
23
22
  }, {}, {
24
23
  currentPage: any;
25
- i18n: DialtoneLocalization;
24
+ i18n: any;
26
25
  }, {
27
26
  isFirstPage(): boolean;
28
27
  isLastPage(): boolean;
29
28
  pages(): any[];
30
- prevAriaLabel(): string;
31
- nextAriaLabel(): string;
29
+ prevAriaLabel(): any;
30
+ nextAriaLabel(): any;
32
31
  pageNumberAriaLabel(): (page: any) => string;
33
32
  }, {
34
33
  range(from: any, to: any): any[];
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.vue.d.ts","sourceRoot":"","sources":["../../../../components/pagination/pagination.vue"],"names":[],"mappings":"AAiEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAqQqC,gBAAgB"}
1
+ {"version":3,"file":"pagination.vue.d.ts","sourceRoot":"","sources":["../../../../components/pagination/pagination.vue"],"names":[],"mappings":"AAiEA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  type: {
4
3
  type: StringConstructor;
@@ -13,9 +12,9 @@ declare const _default: import('vue').DefineComponent<{
13
12
  default: boolean;
14
13
  };
15
14
  }, {}, {
16
- i18n: DialtoneLocalization;
15
+ i18n: any;
17
16
  }, {
18
- closeButtonTitle(): string;
17
+ closeButtonTitle(): any;
19
18
  }, {
20
19
  focusCloseButton(): void;
21
20
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], string, Readonly<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"popover_header_footer.vue.d.ts","sourceRoot":"","sources":["../../../../components/popover/popover_header_footer.vue"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAoHqC,gBAAgB"}
1
+ {"version":3,"file":"popover_header_footer.vue.d.ts","sourceRoot":"","sources":["../../../../components/popover/popover_header_footer.vue"],"names":[],"mappings":"AA0CA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../localization';
2
1
  import { Extension } from '@tiptap/core';
3
2
  declare const _default: import('vue').DefineComponent<{
4
3
  value: {
@@ -125,7 +124,7 @@ declare const _default: import('vue').DefineComponent<{
125
124
  appendTo: () => any;
126
125
  placement: string;
127
126
  };
128
- i18n: DialtoneLocalization;
127
+ i18n: any;
129
128
  jsonToMarkdownConverter: {
130
129
  convertToMarkdown(doc: any): any;
131
130
  processNodeContent(node: any): any;
@@ -1 +1 @@
1
- {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAgwCqC,gBAAgB;0BA3C3B,cAAc"}
1
+ {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAqtC0B,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"stack_constants.d.ts","sourceRoot":"","sources":["../../../../components/stack/stack_constants.js"],"names":[],"mappings":"AAMA;;EAME;AAMF,8CAFU,MAAM,EAAE,CAEsD;AAOxE,2BAFU,MAAM,EAAE,CAEiH;AAOnI,6BAFU,MAAM,EAAE,CAE8D;AAOhF,+BAFU,MAAM,EAAE,CAEwE"}
1
+ {"version":3,"file":"stack_constants.d.ts","sourceRoot":"","sources":["../../../../components/stack/stack_constants.js"],"names":[],"mappings":"AAMA;;EAME;AAMF,8CAFU,MAAM,EAAE,CAEsD;AAOxE,2BAFU,MAAM,EAAE,CAEiH;AAOnI,6BAFU,MAAM,EAAE,CAE8D;AAQhF,+BAFU,MAAM,EAAE,CAEyH"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../components/stack/utils.js"],"names":[],"mappings":"AAwDA,wEAIC;AAkBD,gGAOC;AAED,4DAGC;AAED,gEAGC;AAED,oEAGC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../components/stack/utils.js"],"names":[],"mappings":"AAwDA,wEAIC;AA4BD,gGAOC;AAED,4DAGC;AAED,gEAGC;AAkBD,oEAIC"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  id: {
4
3
  type: StringConstructor;
@@ -64,11 +63,11 @@ declare const _default: import('vue').DefineComponent<{
64
63
  };
65
64
  }, {}, {
66
65
  open: boolean;
67
- i18n: DialtoneLocalization;
66
+ i18n: any;
68
67
  }, {
69
68
  showArrowButton(): any;
70
69
  isCompactMode(): boolean;
71
- arrowButtonLabel(): string;
70
+ arrowButtonLabel(): any;
72
71
  }, {
73
72
  arrowClick(ev: any): boolean;
74
73
  toggleOpen(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_dropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"names":[],"mappings":"AAqEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAyUqC,gBAAgB"}
1
+ {"version":3,"file":"callbar_button_with_dropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"names":[],"mappings":"AAqEA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  id: {
4
3
  type: StringConstructor;
@@ -80,12 +79,12 @@ declare const _default: import('vue').DefineComponent<{
80
79
  };
81
80
  }, {}, {
82
81
  open: boolean;
83
- i18n: DialtoneLocalization;
82
+ i18n: any;
84
83
  }, {
85
84
  showArrowButton(): any;
86
85
  isCompactMode(): boolean;
87
86
  showPopover(): boolean;
88
- arrowButtonLabel(): string;
87
+ arrowButtonLabel(): any;
89
88
  }, {
90
89
  arrowClick(ev: any): boolean;
91
90
  toggleOpen(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"names":[],"mappings":"AAiFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAiYqC,gBAAgB"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"names":[],"mappings":"AAiFA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  nodeType: {
4
3
  type: StringConstructor;
@@ -18,13 +17,13 @@ declare const _default: import('vue').DefineComponent<{
18
17
  };
19
18
  }, {}, {
20
19
  isOpen: boolean;
21
- i18n: DialtoneLocalization;
20
+ i18n: any;
22
21
  }, {
23
22
  nodeIcon(): any;
24
23
  nodeClass(): any;
25
24
  isGotoNode(): boolean;
26
- nodeAriaLabel(): string;
27
- menuButtonAriaLabel(): string;
25
+ nodeAriaLabel(): any;
26
+ menuButtonAriaLabel(): any;
28
27
  }, {
29
28
  openMenu(): void;
30
29
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], string, Readonly<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"ivr_node.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/cards/ivr_node/ivr_node.vue"],"names":[],"mappings":"AAsFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA2QqC,gBAAgB"}
1
+ {"version":3,"file":"ivr_node.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/cards/ivr_node/ivr_node.vue"],"names":[],"mappings":"AAsFA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  mediaList: any[];
4
3
  }, {}, {
@@ -6,7 +5,7 @@ declare const _default: import('vue').DefineComponent<{
6
5
  showRightArrow: boolean;
7
6
  showLeftArrow: boolean;
8
7
  isMounted: boolean;
9
- i18n: DialtoneLocalization;
8
+ i18n: any;
10
9
  }, {
11
10
  filteredMediaList(): any;
12
11
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"attachment_carousel.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/attachment_carousel/attachment_carousel.vue"],"names":[],"mappings":"AA0DA;;;;;;;;;;;;;;;;;;;;;;;qCAsLqC,gBAAgB"}
1
+ {"version":3,"file":"attachment_carousel.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/attachment_carousel/attachment_carousel.vue"],"names":[],"mappings":"AA0DA;"}
@@ -1,4 +1,3 @@
1
- import { DialtoneLocalization } from '../../../../localization';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  mediaItem: {
4
3
  type: ObjectConstructor;
@@ -9,9 +8,9 @@ declare const _default: import('vue').DefineComponent<{
9
8
  required: true;
10
9
  };
11
10
  }, {}, {
12
- i18n: DialtoneLocalization;
11
+ i18n: any;
13
12
  }, {
14
- closeButtonTitle(): string;
13
+ closeButtonTitle(): any;
15
14
  }, {
16
15
  removeMediaItem(index: any): void;
17
16
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "remove-media"[], string, Readonly<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"image_carousel.vue.d.ts","sourceRoot":"","sources":["../../../../../../recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue"],"names":[],"mappings":"AAyCA;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA0GqC,gBAAgB"}
1
+ {"version":3,"file":"image_carousel.vue.d.ts","sourceRoot":"","sources":["../../../../../../recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue"],"names":[],"mappings":"AAyCA;"}