mdui 2.0.6 → 2.1.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.
Files changed (164) hide show
  1. package/components/dialog/index.js +3 -0
  2. package/components/select/index.d.ts +18 -0
  3. package/components/select/index.js +38 -2
  4. package/components/text-field/index.d.ts +2 -0
  5. package/components/text-field/index.js +26 -3
  6. package/custom-elements.json +95 -0
  7. package/functions/alert.d.ts +2 -0
  8. package/functions/alert.js +19 -4
  9. package/functions/confirm.d.ts +4 -0
  10. package/functions/confirm.js +33 -6
  11. package/functions/getLocale.d.ts +6 -0
  12. package/functions/getLocale.js +11 -0
  13. package/functions/getTheme.d.ts +1 -1
  14. package/functions/loadLocale.d.ts +6 -0
  15. package/functions/loadLocale.js +8 -0
  16. package/functions/prompt.d.ts +4 -0
  17. package/functions/prompt.js +35 -8
  18. package/functions/removeColorScheme.js +1 -1
  19. package/functions/setColorScheme.d.ts +1 -1
  20. package/functions/setColorScheme.js +1 -1
  21. package/functions/setLocale.d.ts +6 -0
  22. package/functions/setLocale.js +11 -0
  23. package/functions/setTheme.d.ts +1 -1
  24. package/internal/localeCodes.d.ts +13 -0
  25. package/internal/localeCodes.js +144 -0
  26. package/internal/localize.d.ts +32 -0
  27. package/internal/localize.js +55 -0
  28. package/locales/ar-eg.d.ts +8 -0
  29. package/locales/ar-eg.js +12 -0
  30. package/locales/az-az.d.ts +8 -0
  31. package/locales/az-az.js +12 -0
  32. package/locales/be-by.d.ts +8 -0
  33. package/locales/be-by.js +12 -0
  34. package/locales/bg-bg.d.ts +8 -0
  35. package/locales/bg-bg.js +12 -0
  36. package/locales/bn-bd.d.ts +8 -0
  37. package/locales/bn-bd.js +12 -0
  38. package/locales/ca-es.d.ts +8 -0
  39. package/locales/ca-es.js +12 -0
  40. package/locales/cs-cz.d.ts +8 -0
  41. package/locales/cs-cz.js +12 -0
  42. package/locales/da-dk.d.ts +8 -0
  43. package/locales/da-dk.js +12 -0
  44. package/locales/de-de.d.ts +8 -0
  45. package/locales/de-de.js +12 -0
  46. package/locales/el-gr.d.ts +8 -0
  47. package/locales/el-gr.js +12 -0
  48. package/locales/en-gb.d.ts +8 -0
  49. package/locales/en-gb.js +12 -0
  50. package/locales/es-es.d.ts +8 -0
  51. package/locales/es-es.js +12 -0
  52. package/locales/et-ee.d.ts +8 -0
  53. package/locales/et-ee.js +12 -0
  54. package/locales/fa-ir.d.ts +8 -0
  55. package/locales/fa-ir.js +12 -0
  56. package/locales/fi-fi.d.ts +8 -0
  57. package/locales/fi-fi.js +12 -0
  58. package/locales/fr-be.d.ts +8 -0
  59. package/locales/fr-be.js +12 -0
  60. package/locales/fr-ca.d.ts +8 -0
  61. package/locales/fr-ca.js +12 -0
  62. package/locales/fr-fr.d.ts +8 -0
  63. package/locales/fr-fr.js +12 -0
  64. package/locales/ga-ie.d.ts +8 -0
  65. package/locales/ga-ie.js +12 -0
  66. package/locales/gl-es.d.ts +8 -0
  67. package/locales/gl-es.js +12 -0
  68. package/locales/he-il.d.ts +8 -0
  69. package/locales/he-il.js +12 -0
  70. package/locales/hi-in.d.ts +8 -0
  71. package/locales/hi-in.js +12 -0
  72. package/locales/hr-hr.d.ts +8 -0
  73. package/locales/hr-hr.js +12 -0
  74. package/locales/hu-hu.d.ts +8 -0
  75. package/locales/hu-hu.js +12 -0
  76. package/locales/hy-am.d.ts +8 -0
  77. package/locales/hy-am.js +12 -0
  78. package/locales/id-id.d.ts +8 -0
  79. package/locales/id-id.js +12 -0
  80. package/locales/is-is.d.ts +8 -0
  81. package/locales/is-is.js +12 -0
  82. package/locales/it-it.d.ts +8 -0
  83. package/locales/it-it.js +12 -0
  84. package/locales/ja-jp.d.ts +8 -0
  85. package/locales/ja-jp.js +12 -0
  86. package/locales/ka-ge.d.ts +8 -0
  87. package/locales/ka-ge.js +12 -0
  88. package/locales/kk-kz.d.ts +8 -0
  89. package/locales/kk-kz.js +12 -0
  90. package/locales/km-kh.d.ts +8 -0
  91. package/locales/km-kh.js +12 -0
  92. package/locales/kmr-iq.d.ts +8 -0
  93. package/locales/kmr-iq.js +12 -0
  94. package/locales/kn-in.d.ts +8 -0
  95. package/locales/kn-in.js +12 -0
  96. package/locales/ko-kr.d.ts +8 -0
  97. package/locales/ko-kr.js +12 -0
  98. package/locales/lt-lt.d.ts +8 -0
  99. package/locales/lt-lt.js +12 -0
  100. package/locales/lv-lv.d.ts +8 -0
  101. package/locales/lv-lv.js +12 -0
  102. package/locales/mk-mk.d.ts +8 -0
  103. package/locales/mk-mk.js +12 -0
  104. package/locales/ml-in.d.ts +8 -0
  105. package/locales/ml-in.js +12 -0
  106. package/locales/mn-mn.d.ts +8 -0
  107. package/locales/mn-mn.js +12 -0
  108. package/locales/ms-my.d.ts +8 -0
  109. package/locales/ms-my.js +12 -0
  110. package/locales/nb-no.d.ts +8 -0
  111. package/locales/nb-no.js +12 -0
  112. package/locales/ne-np.d.ts +8 -0
  113. package/locales/ne-np.js +12 -0
  114. package/locales/nl-be.d.ts +8 -0
  115. package/locales/nl-be.js +12 -0
  116. package/locales/nl-nl.d.ts +8 -0
  117. package/locales/nl-nl.js +12 -0
  118. package/locales/pl-pl.d.ts +8 -0
  119. package/locales/pl-pl.js +12 -0
  120. package/locales/pt-br.d.ts +8 -0
  121. package/locales/pt-br.js +12 -0
  122. package/locales/pt-pt.d.ts +8 -0
  123. package/locales/pt-pt.js +12 -0
  124. package/locales/ro-ro.d.ts +8 -0
  125. package/locales/ro-ro.js +12 -0
  126. package/locales/ru-ru.d.ts +8 -0
  127. package/locales/ru-ru.js +12 -0
  128. package/locales/sk-sk.d.ts +8 -0
  129. package/locales/sk-sk.js +12 -0
  130. package/locales/sl-si.d.ts +8 -0
  131. package/locales/sl-si.js +12 -0
  132. package/locales/sr-rs.d.ts +8 -0
  133. package/locales/sr-rs.js +12 -0
  134. package/locales/sv-se.d.ts +8 -0
  135. package/locales/sv-se.js +12 -0
  136. package/locales/ta-in.d.ts +8 -0
  137. package/locales/ta-in.js +12 -0
  138. package/locales/th-th.d.ts +8 -0
  139. package/locales/th-th.js +12 -0
  140. package/locales/tr-tr.d.ts +8 -0
  141. package/locales/tr-tr.js +12 -0
  142. package/locales/uk-ua.d.ts +8 -0
  143. package/locales/uk-ua.js +12 -0
  144. package/locales/ur-pk.d.ts +8 -0
  145. package/locales/ur-pk.js +12 -0
  146. package/locales/vi-vn.d.ts +8 -0
  147. package/locales/vi-vn.js +12 -0
  148. package/locales/zh-cn.d.ts +8 -0
  149. package/locales/zh-cn.js +12 -0
  150. package/locales/zh-hk.d.ts +8 -0
  151. package/locales/zh-hk.js +12 -0
  152. package/locales/zh-tw.d.ts +8 -0
  153. package/locales/zh-tw.js +12 -0
  154. package/mdui.d.ts +5 -0
  155. package/mdui.esm.js +8 -8
  156. package/mdui.global.js +6 -6
  157. package/mdui.js +3 -0
  158. package/package.json +9 -6
  159. package/web-types.en.json +91 -1
  160. package/web-types.zh-cn.json +91 -1
  161. /package/{functions/utils → internal}/colorScheme.d.ts +0 -0
  162. /package/{functions/utils → internal}/colorScheme.js +0 -0
  163. /package/{functions/utils → internal}/theme.d.ts +0 -0
  164. /package/{functions/utils → internal}/theme.js +0 -0
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Graag overeenkomen met het gevraagde formaat.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Annuleren`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Annuleren`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Proszę dopasować wymagany format.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Anuluj`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Anuluj`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Por favor, corresponda ao formato solicitado.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Cancelar`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Cancelar`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Por favor, corresponda ao formato solicitado.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Cancelar`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Cancelar`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Vă rugăm să respectați formatul solicitat.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Anulare`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Anulare`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Пожалуйста, соответствуйте запрашиваемому формату.`,
7
+ 'functions.alert.confirmText': `ОК`,
8
+ 'functions.confirm.cancelText': `Отмена`,
9
+ 'functions.confirm.confirmText': `ОК`,
10
+ 'functions.prompt.cancelText': `Отмена`,
11
+ 'functions.prompt.confirmText': `ОК`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Prosím, zodpovedajte požadovaný formát.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Zrušiť`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Zrušiť`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Prosimo, ujemite zahtevani format.`,
7
+ 'functions.alert.confirmText': `V redu`,
8
+ 'functions.confirm.cancelText': `Prekliči`,
9
+ 'functions.confirm.confirmText': `V redu`,
10
+ 'functions.prompt.cancelText': `Prekliči`,
11
+ 'functions.prompt.confirmText': `V redu`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Molimo vas, prilagodite zahtevani format.`,
7
+ 'functions.alert.confirmText': `U redu`,
8
+ 'functions.confirm.cancelText': `Otkaži`,
9
+ 'functions.confirm.confirmText': `U redu`,
10
+ 'functions.prompt.cancelText': `Otkaži`,
11
+ 'functions.prompt.confirmText': `U redu`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Vänligen matcha det efterfrågade formatet.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Avbryt`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Avbryt`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `தயவுசெய்து கேள்விக்கான வடிவமைப்பு பொருத்தமாக உள்ளது.`,
7
+ 'functions.alert.confirmText': `சரி`,
8
+ 'functions.confirm.cancelText': `ரத்து`,
9
+ 'functions.confirm.confirmText': `சரி`,
10
+ 'functions.prompt.cancelText': `ரத்து`,
11
+ 'functions.prompt.confirmText': `சரி`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `โปรดตรงตามรูปแบบที่ร้องขอ`,
7
+ 'functions.alert.confirmText': `ตกลง`,
8
+ 'functions.confirm.cancelText': `ยกเลิก`,
9
+ 'functions.confirm.confirmText': `ตกลง`,
10
+ 'functions.prompt.cancelText': `ยกเลิก`,
11
+ 'functions.prompt.confirmText': `ตกลง`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Lütfen istenilen formata uyun.`,
7
+ 'functions.alert.confirmText': `Tamam`,
8
+ 'functions.confirm.cancelText': `İptal`,
9
+ 'functions.confirm.confirmText': `Tamam`,
10
+ 'functions.prompt.cancelText': `İptal`,
11
+ 'functions.prompt.confirmText': `Tamam`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Будь ласка, відповідайте вимогам формату.`,
7
+ 'functions.alert.confirmText': `ОК`,
8
+ 'functions.confirm.cancelText': `Скасувати`,
9
+ 'functions.confirm.confirmText': `ОК`,
10
+ 'functions.prompt.cancelText': `Скасувати`,
11
+ 'functions.prompt.confirmText': `ОК`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `براہ کرم درخواست شدہ فارمیٹ میں موافق ہوں۔`,
7
+ 'functions.alert.confirmText': `ٹھیک ہے`,
8
+ 'functions.confirm.cancelText': `منسوخ کریں`,
9
+ 'functions.confirm.confirmText': `ٹھیک ہے`,
10
+ 'functions.prompt.cancelText': `منسوخ کریں`,
11
+ 'functions.prompt.confirmText': `ٹھیک ہے`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `Vui lòng phù hợp với định dạng yêu cầu.`,
7
+ 'functions.alert.confirmText': `Đồng ý`,
8
+ 'functions.confirm.cancelText': `Hủy`,
9
+ 'functions.confirm.confirmText': `Đồng ý`,
10
+ 'functions.prompt.cancelText': `Hủy`,
11
+ 'functions.prompt.confirmText': `Đồng ý`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `请与所请求的格式保持一致。`,
7
+ 'functions.alert.confirmText': `确定`,
8
+ 'functions.confirm.cancelText': `取消`,
9
+ 'functions.confirm.confirmText': `确定`,
10
+ 'functions.prompt.cancelText': `取消`,
11
+ 'functions.prompt.confirmText': `确定`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `請符合要求的格式。`,
7
+ 'functions.alert.confirmText': `確定`,
8
+ 'functions.confirm.cancelText': `取消`,
9
+ 'functions.confirm.confirmText': `確定`,
10
+ 'functions.prompt.cancelText': `取消`,
11
+ 'functions.prompt.confirmText': `確定`,
12
+ };
@@ -0,0 +1,8 @@
1
+ export declare const templates: {
2
+ 'components.textField.patternError': string;
3
+ 'functions.alert.confirmText': string;
4
+ 'functions.confirm.cancelText': string;
5
+ 'functions.confirm.confirmText': string;
6
+ 'functions.prompt.cancelText': string;
7
+ 'functions.prompt.confirmText': string;
8
+ };
@@ -0,0 +1,12 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize
3
+ /* eslint-disable no-irregular-whitespace */
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ export const templates = {
6
+ 'components.textField.patternError': `請符合要求的格式。`,
7
+ 'functions.alert.confirmText': `確定`,
8
+ 'functions.confirm.cancelText': `取消`,
9
+ 'functions.confirm.confirmText': `確定`,
10
+ 'functions.prompt.cancelText': `取消`,
11
+ 'functions.prompt.confirmText': `確定`,
12
+ };
package/mdui.d.ts CHANGED
@@ -51,11 +51,16 @@ export * from './functions/breakpoint.js';
51
51
  export * from './functions/confirm.js';
52
52
  export * from './functions/dialog.js';
53
53
  export * from './functions/getColorFromImage.js';
54
+ export * from './functions/getLocale.js';
54
55
  export * from './functions/getTheme.js';
56
+ export * from './functions/loadLocale.js';
55
57
  export * from './functions/observeResize.js';
56
58
  export * from './functions/prompt.js';
57
59
  export * from './functions/removeColorScheme.js';
58
60
  export * from './functions/setColorScheme.js';
61
+ export * from './functions/setLocale.js';
59
62
  export * from './functions/setTheme.js';
60
63
  export * from './functions/snackbar.js';
61
64
  export * from './functions/throttle.js';
65
+ export type { LocaleCode, LocaleTargetCode } from './internal/localize.js';
66
+ export type { LocaleModule, LocaleStatusEventDetail } from '@lit/localize';