mdui 2.0.6 → 2.1.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.
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 +7 -4
  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,144 @@
1
+ // Do not modify this file by hand!
2
+ // Re-generate this file by running lit-localize.
3
+ /**
4
+ * The locale code that templates in this source code are written in.
5
+ */
6
+ export const sourceLocale = `en-us`;
7
+ /**
8
+ * The other locale codes that this application is localized into. Sorted
9
+ * lexicographically.
10
+ */
11
+ export const targetLocales = [
12
+ `ar-eg`,
13
+ `az-az`,
14
+ `be-by`,
15
+ `bg-bg`,
16
+ `bn-bd`,
17
+ `ca-es`,
18
+ `cs-cz`,
19
+ `da-dk`,
20
+ `de-de`,
21
+ `el-gr`,
22
+ `en-gb`,
23
+ `es-es`,
24
+ `et-ee`,
25
+ `fa-ir`,
26
+ `fi-fi`,
27
+ `fr-be`,
28
+ `fr-ca`,
29
+ `fr-fr`,
30
+ `ga-ie`,
31
+ `gl-es`,
32
+ `he-il`,
33
+ `hi-in`,
34
+ `hr-hr`,
35
+ `hu-hu`,
36
+ `hy-am`,
37
+ `id-id`,
38
+ `is-is`,
39
+ `it-it`,
40
+ `ja-jp`,
41
+ `ka-ge`,
42
+ `kk-kz`,
43
+ `km-kh`,
44
+ `kmr-iq`,
45
+ `kn-in`,
46
+ `ko-kr`,
47
+ `lt-lt`,
48
+ `lv-lv`,
49
+ `mk-mk`,
50
+ `ml-in`,
51
+ `mn-mn`,
52
+ `ms-my`,
53
+ `nb-no`,
54
+ `ne-np`,
55
+ `nl-be`,
56
+ `nl-nl`,
57
+ `pl-pl`,
58
+ `pt-br`,
59
+ `pt-pt`,
60
+ `ro-ro`,
61
+ `ru-ru`,
62
+ `sk-sk`,
63
+ `sl-si`,
64
+ `sr-rs`,
65
+ `sv-se`,
66
+ `ta-in`,
67
+ `th-th`,
68
+ `tr-tr`,
69
+ `uk-ua`,
70
+ `ur-pk`,
71
+ `vi-vn`,
72
+ `zh-cn`,
73
+ `zh-hk`,
74
+ `zh-tw`,
75
+ ];
76
+ /**
77
+ * All valid project locale codes. Sorted lexicographically.
78
+ */
79
+ export const allLocales = [
80
+ `ar-eg`,
81
+ `az-az`,
82
+ `be-by`,
83
+ `bg-bg`,
84
+ `bn-bd`,
85
+ `ca-es`,
86
+ `cs-cz`,
87
+ `da-dk`,
88
+ `de-de`,
89
+ `el-gr`,
90
+ `en-gb`,
91
+ `en-us`,
92
+ `es-es`,
93
+ `et-ee`,
94
+ `fa-ir`,
95
+ `fi-fi`,
96
+ `fr-be`,
97
+ `fr-ca`,
98
+ `fr-fr`,
99
+ `ga-ie`,
100
+ `gl-es`,
101
+ `he-il`,
102
+ `hi-in`,
103
+ `hr-hr`,
104
+ `hu-hu`,
105
+ `hy-am`,
106
+ `id-id`,
107
+ `is-is`,
108
+ `it-it`,
109
+ `ja-jp`,
110
+ `ka-ge`,
111
+ `kk-kz`,
112
+ `km-kh`,
113
+ `kmr-iq`,
114
+ `kn-in`,
115
+ `ko-kr`,
116
+ `lt-lt`,
117
+ `lv-lv`,
118
+ `mk-mk`,
119
+ `ml-in`,
120
+ `mn-mn`,
121
+ `ms-my`,
122
+ `nb-no`,
123
+ `ne-np`,
124
+ `nl-be`,
125
+ `nl-nl`,
126
+ `pl-pl`,
127
+ `pt-br`,
128
+ `pt-pt`,
129
+ `ro-ro`,
130
+ `ru-ru`,
131
+ `sk-sk`,
132
+ `sl-si`,
133
+ `sr-rs`,
134
+ `sv-se`,
135
+ `ta-in`,
136
+ `th-th`,
137
+ `tr-tr`,
138
+ `uk-ua`,
139
+ `ur-pk`,
140
+ `vi-vn`,
141
+ `zh-cn`,
142
+ `zh-hk`,
143
+ `zh-tw`,
144
+ ];
@@ -0,0 +1,32 @@
1
+ import { targetLocales } from './localeCodes.js';
2
+ import type { allLocales } from './localeCodes.js';
3
+ import type { LocaleModule, LocaleStatusEventDetail } from '@lit/localize';
4
+ export type LocaleTargetCode = (typeof targetLocales)[number];
5
+ export type LocaleCode = (typeof allLocales)[number];
6
+ export type LoadFunc = (locale: LocaleTargetCode) => Promise<LocaleModule>;
7
+ export type GetLocal = () => LocaleCode;
8
+ export type SetLocal = (locale: LocaleCode) => Promise<void>;
9
+ declare global {
10
+ interface WindowEventMap {
11
+ 'mdui-localize-status': CustomEvent<LocaleStatusEventDetail>;
12
+ }
13
+ }
14
+ export declare const uninitializedError = "You must call `loadLocale` first to set up the localized template.";
15
+ export declare let getLocale: GetLocal | undefined;
16
+ export declare let setLocale: SetLocal | undefined;
17
+ /**
18
+ * 初始化 localization
19
+ * @param loadFunc
20
+ */
21
+ export declare const initializeLocalize: (loadFunc: LoadFunc) => void;
22
+ /**
23
+ * 监听 localize ready 事件
24
+ * @param target
25
+ * @param callback
26
+ */
27
+ export declare const onLocaleReady: (target: HTMLElement, callback: () => void) => void;
28
+ /**
29
+ * 取消监听 localize ready 事件
30
+ * @param target
31
+ */
32
+ export declare const offLocaleReady: (target: HTMLElement) => void;
@@ -0,0 +1,55 @@
1
+ import { configureLocalization, LOCALE_STATUS_EVENT } from '@lit/localize';
2
+ import { getWindow } from 'ssr-window';
3
+ import { sourceLocale, targetLocales } from './localeCodes.js';
4
+ export const uninitializedError = 'You must call `loadLocale` first to set up the localized template.';
5
+ export let getLocale;
6
+ export let setLocale;
7
+ /**
8
+ * 初始化 localization
9
+ * @param loadFunc
10
+ */
11
+ export const initializeLocalize = (loadFunc) => {
12
+ const window = getWindow();
13
+ const result = configureLocalization({
14
+ sourceLocale,
15
+ targetLocales,
16
+ loadLocale: loadFunc,
17
+ });
18
+ getLocale = result.getLocale;
19
+ setLocale = result.setLocale;
20
+ window.addEventListener(LOCALE_STATUS_EVENT, (event) => {
21
+ window.dispatchEvent(new CustomEvent('mdui-localize-status', {
22
+ detail: event.detail,
23
+ }));
24
+ });
25
+ };
26
+ let listeningLitLocalizeStatus = false;
27
+ const localeReadyCallbacksMap = new Map();
28
+ /**
29
+ * 监听 localize ready 事件
30
+ * @param target
31
+ * @param callback
32
+ */
33
+ export const onLocaleReady = (target, callback) => {
34
+ if (!listeningLitLocalizeStatus) {
35
+ listeningLitLocalizeStatus = true;
36
+ const window = getWindow();
37
+ window.addEventListener(LOCALE_STATUS_EVENT, (event) => {
38
+ if (event.detail.status === 'ready') {
39
+ localeReadyCallbacksMap.forEach((callbacks) => {
40
+ callbacks.forEach((cb) => cb());
41
+ });
42
+ }
43
+ });
44
+ }
45
+ const callbacks = localeReadyCallbacksMap.get(target) || [];
46
+ callbacks.push(callback);
47
+ localeReadyCallbacksMap.set(target, callbacks);
48
+ };
49
+ /**
50
+ * 取消监听 localize ready 事件
51
+ * @param target
52
+ */
53
+ export const offLocaleReady = (target) => {
54
+ localeReadyCallbacksMap.delete(target);
55
+ };
@@ -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': `Zəhmət olmasa, tələb olunan formatla uyğun gəlin.`,
7
+ 'functions.alert.confirmText': `Oldu`,
8
+ 'functions.confirm.cancelText': `Ləğv et`,
9
+ 'functions.confirm.confirmText': `Oldu`,
10
+ 'functions.prompt.cancelText': `Ləğv et`,
11
+ 'functions.prompt.confirmText': `Oldu`,
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
+ };
@@ -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': `Si us plau, compleix el format sol·licitat.`,
7
+ 'functions.alert.confirmText': `D'acord`,
8
+ 'functions.confirm.cancelText': `Cancel·lar`,
9
+ 'functions.confirm.confirmText': `D'acord`,
10
+ 'functions.prompt.cancelText': `Cancel·lar`,
11
+ 'functions.prompt.confirmText': `D'acord`,
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, zadejte požadovaný formát.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Zrušit`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Zrušit`,
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': `Venligst match den ønskede form.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Annuller`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Annuller`,
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': `Bitte passen Sie das angeforderte Format an.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Abbrechen`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Abbrechen`,
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': `Please match the requested format.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Cancel`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Cancel`,
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, cumpla con el formato solicitado.`,
7
+ 'functions.alert.confirmText': `Aceptar`,
8
+ 'functions.confirm.cancelText': `Cancelar`,
9
+ 'functions.confirm.confirmText': `Aceptar`,
10
+ 'functions.prompt.cancelText': `Cancelar`,
11
+ 'functions.prompt.confirmText': `Aceptar`,
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': `Palun vastake nõutud formaadiga.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Loobu`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Loobu`,
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': `Ole hyvä ja vastaa pyydettyä muotoa.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Peruuta`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Peruuta`,
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': `Veuillez respecter le format demandé.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Annuler`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Annuler`,
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': `Veuillez respecter le format demandé.`,
7
+ 'functions.alert.confirmText': `D'accord`,
8
+ 'functions.confirm.cancelText': `Annuler`,
9
+ 'functions.confirm.confirmText': `D'accord`,
10
+ 'functions.prompt.cancelText': `Annuler`,
11
+ 'functions.prompt.confirmText': `D'accord`,
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': `Veuillez respecter le format demandé.`,
7
+ 'functions.alert.confirmText': `OK`,
8
+ 'functions.confirm.cancelText': `Annuler`,
9
+ 'functions.confirm.confirmText': `OK`,
10
+ 'functions.prompt.cancelText': `Annuler`,
11
+ 'functions.prompt.confirmText': `OK`,
12
+ };