@ui5/webcomponents-ai 0.0.0-d473b9686 → 0.0.0-f42e7c18c

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 (162) hide show
  1. package/CHANGELOG.md +309 -0
  2. package/README.md +5 -7
  3. package/dist/Button.d.ts +108 -2
  4. package/dist/Button.js +203 -11
  5. package/dist/Button.js.map +1 -1
  6. package/dist/ButtonState.d.ts +60 -0
  7. package/dist/ButtonState.js +51 -0
  8. package/dist/ButtonState.js.map +1 -0
  9. package/dist/ButtonTemplate.d.ts +2 -0
  10. package/dist/ButtonTemplate.js +6 -0
  11. package/dist/ButtonTemplate.js.map +1 -0
  12. package/dist/PromptInput.d.ts +154 -0
  13. package/dist/PromptInput.js +235 -0
  14. package/dist/PromptInput.js.map +1 -0
  15. package/dist/PromptInputTemplate.d.ts +2 -0
  16. package/dist/PromptInputTemplate.js +12 -0
  17. package/dist/PromptInputTemplate.js.map +1 -0
  18. package/dist/bundle.esm.js +3 -1
  19. package/dist/bundle.esm.js.map +1 -1
  20. package/dist/bundle.scoped.config.d.ts +1 -0
  21. package/dist/bundle.scoped.config.js +3 -0
  22. package/dist/bundle.scoped.config.js.map +1 -0
  23. package/dist/bundle.scoped.esm.d.ts +2 -1
  24. package/dist/bundle.scoped.esm.js +2 -2
  25. package/dist/bundle.scoped.esm.js.map +1 -1
  26. package/dist/css/themes/Button.css +1 -0
  27. package/dist/css/themes/PromptInput.css +1 -0
  28. package/dist/custom-elements-internal.json +557 -1
  29. package/dist/custom-elements.json +491 -1
  30. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
  31. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
  32. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
  33. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
  34. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
  35. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
  36. package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
  37. package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
  38. package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
  39. package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
  40. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
  41. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
  42. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
  43. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
  44. package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
  45. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
  46. package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
  47. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
  48. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
  49. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
  50. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
  51. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
  52. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
  53. package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
  54. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
  55. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
  56. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
  57. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
  58. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
  59. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
  60. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
  61. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
  62. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
  63. package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
  64. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
  65. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
  66. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
  67. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
  68. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
  69. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
  70. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
  71. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
  72. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
  73. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
  74. package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
  75. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
  76. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
  77. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
  78. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
  79. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
  80. package/dist/generated/i18n/i18n-defaults.d.ts +4 -1
  81. package/dist/generated/i18n/i18n-defaults.js +3 -1
  82. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  83. package/dist/generated/json-imports/Themes-fetch.d.ts +1 -0
  84. package/dist/generated/json-imports/Themes-fetch.js +21 -0
  85. package/dist/generated/json-imports/Themes-fetch.js.map +1 -0
  86. package/dist/generated/json-imports/Themes.js.map +1 -1
  87. package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
  88. package/dist/generated/json-imports/i18n-fetch.js +118 -0
  89. package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
  90. package/dist/generated/json-imports/i18n.d.ts +1 -0
  91. package/dist/generated/json-imports/i18n.js +117 -1
  92. package/dist/generated/json-imports/i18n.js.map +1 -1
  93. package/dist/generated/themes/Button.css.js +2 -1
  94. package/dist/generated/themes/Button.css.js.map +1 -1
  95. package/dist/generated/themes/PromptInput.css.d.ts +3 -0
  96. package/dist/generated/themes/PromptInput.css.js +9 -0
  97. package/dist/generated/themes/PromptInput.css.js.map +1 -0
  98. package/dist/tsconfig.tsbuildinfo +1 -0
  99. package/dist/vscode.html-custom-data.json +121 -1
  100. package/dist/web-types.json +287 -0
  101. package/package.json +7 -7
  102. package/src/ButtonTemplate.tsx +24 -0
  103. package/src/PromptInputTemplate.tsx +49 -0
  104. package/src/i18n/messagebundle.properties +6 -0
  105. package/src/i18n/messagebundle_ar.properties +4 -0
  106. package/src/i18n/messagebundle_bg.properties +4 -0
  107. package/src/i18n/messagebundle_ca.properties +4 -0
  108. package/src/i18n/messagebundle_cnr.properties +4 -0
  109. package/src/i18n/messagebundle_cs.properties +4 -0
  110. package/src/i18n/messagebundle_cy.properties +4 -0
  111. package/src/i18n/messagebundle_da.properties +4 -0
  112. package/src/i18n/messagebundle_de.properties +4 -0
  113. package/src/i18n/messagebundle_el.properties +4 -0
  114. package/src/i18n/messagebundle_en.properties +4 -0
  115. package/src/i18n/messagebundle_en_GB.properties +4 -0
  116. package/src/i18n/messagebundle_en_US_sappsd.properties +4 -0
  117. package/src/i18n/messagebundle_en_US_saprigi.properties +4 -0
  118. package/src/i18n/messagebundle_en_US_saptrc.properties +4 -0
  119. package/src/i18n/messagebundle_es.properties +4 -0
  120. package/src/i18n/messagebundle_es_MX.properties +4 -0
  121. package/src/i18n/messagebundle_et.properties +4 -0
  122. package/src/i18n/messagebundle_fi.properties +4 -0
  123. package/src/i18n/messagebundle_fr.properties +4 -0
  124. package/src/i18n/messagebundle_fr_CA.properties +4 -0
  125. package/src/i18n/messagebundle_hi.properties +4 -0
  126. package/src/i18n/messagebundle_hr.properties +4 -0
  127. package/src/i18n/messagebundle_hu.properties +4 -0
  128. package/src/i18n/messagebundle_id.properties +4 -0
  129. package/src/i18n/messagebundle_it.properties +4 -0
  130. package/src/i18n/messagebundle_iw.properties +4 -0
  131. package/src/i18n/messagebundle_ja.properties +4 -0
  132. package/src/i18n/messagebundle_kk.properties +4 -0
  133. package/src/i18n/messagebundle_ko.properties +4 -0
  134. package/src/i18n/messagebundle_lt.properties +4 -0
  135. package/src/i18n/messagebundle_lv.properties +4 -0
  136. package/src/i18n/messagebundle_mk.properties +4 -0
  137. package/src/i18n/messagebundle_ms.properties +4 -0
  138. package/src/i18n/messagebundle_nl.properties +4 -0
  139. package/src/i18n/messagebundle_no.properties +4 -0
  140. package/src/i18n/messagebundle_pl.properties +4 -0
  141. package/src/i18n/messagebundle_pt.properties +4 -0
  142. package/src/i18n/messagebundle_pt_PT.properties +4 -0
  143. package/src/i18n/messagebundle_ro.properties +4 -0
  144. package/src/i18n/messagebundle_ru.properties +4 -0
  145. package/src/i18n/messagebundle_sh.properties +4 -0
  146. package/src/i18n/messagebundle_sk.properties +4 -0
  147. package/src/i18n/messagebundle_sl.properties +4 -0
  148. package/src/i18n/messagebundle_sr.properties +4 -0
  149. package/src/i18n/messagebundle_sv.properties +4 -0
  150. package/src/i18n/messagebundle_th.properties +4 -0
  151. package/src/i18n/messagebundle_tr.properties +4 -0
  152. package/src/i18n/messagebundle_uk.properties +4 -0
  153. package/src/i18n/messagebundle_vi.properties +4 -0
  154. package/src/i18n/messagebundle_zh_CN.properties +4 -0
  155. package/src/i18n/messagebundle_zh_TW.properties +4 -0
  156. package/src/themes/Button.css +88 -0
  157. package/src/themes/PromptInput.css +30 -0
  158. package/tsconfig.json +36 -26
  159. package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
  160. package/dist/generated/templates/ButtonTemplate.lit.js +0 -5
  161. package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
  162. package/src/Button.hbs +0 -3
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caractères restants
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caractères en trop
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caractères restants
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caractères en trop
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} शेष वर्ण
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} सीमा से अधिक वर्ण
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} znakova preostalo
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} znakova prekoračeno
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} karaktert írhat még
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} karakterrel túllépve
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} karakter tersisa
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} karakter melebihi batas
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caratteri rimanenti
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caratteri oltre il limite
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} תווים נותרו
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=חריגה של {0} תווים
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=残り {0} 文字です
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=上限を {0} 文字超過しています
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} таңба қалды
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} таңбаға асып кетті
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0}자 남음
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0}자 한도 초과
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=Liko simbolių: {0}
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=Viršytas simbolių skaičius: {0}
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=Atlikušas {0} rakstzīmes
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} rakstzīmes pārsniedz limitu
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} преостанати знаци
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} знаци над границата
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} aksara yang tinggal
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} aksara melebihi had
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} tekens over
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} tekens boven limiet
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} tegn gjenstår
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} tegn over grensen
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=Pozostała następująca liczba znaków: {0}
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=Przekroczono o następującą liczbę znaków: {0}
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caracteres restantes
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caracteres acima do limite
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} carateres restantes
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} carateres acima do limite
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caractere rămase
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caractere peste limită
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=Осталось символов: {0}
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=Символов свыше лимита: {0}
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} znakova preostaje
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} znakova prekoračeno
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} znakov zostáva
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} znakov nad limit
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=Na voljo je še toliko znakov: {0}
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=Preseženo za toliko znakov: {0}
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} знакова преостаје
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} знакова прекорачено
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} tecken kvar
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} tecken för mycket
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=เหลืออีก {0} อักขระ
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=เกินมา {0} อักขระ
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} karakter kaldı
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} karakter aşıldı
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} символів залишилось
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} символів поза лімітом
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=còn lại {0} ký tự
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} ký tự quá giới hạn
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=剩余 {0} 个字符
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=超过限制 {0} 个字符
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=剩下 {0} 個字元
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=超過 {0} 個字元
@@ -0,0 +1,88 @@
1
+ :host {
2
+ display: inline-block;
3
+ }
4
+
5
+ :host([disabled]) {
6
+ pointer-events: none;
7
+ }
8
+
9
+ .ui5-ai-button-text {
10
+ display: inline-block;
11
+ }
12
+
13
+ :host([icon-only]) .ui5-ai-button-text {
14
+ min-width: 0;
15
+ margin-inline-start: 0;
16
+ }
17
+
18
+ .ui5-ai-button-hidden {
19
+ position: absolute;
20
+ top: -10000px;
21
+ left: -10000px;
22
+ visibility: hidden;
23
+ display: block;
24
+ width: fit-content;
25
+ }
26
+
27
+ /* Animated parts */
28
+
29
+ :host [ui5-button]:not(.ui5-ai-button-hidden) {
30
+ width: auto;
31
+ position: relative;
32
+ transition: width 0.18s cubic-bezier(0.67, 1, 0.95, 1.3) 0.12s;
33
+ }
34
+
35
+ :host ::part(icon) {
36
+ opacity: 1;
37
+ transform: translateY(0);
38
+ }
39
+
40
+ :host(:not([fade-out]):not([fade-mid]):not([fade-in])) .ui5-ai-button-text,
41
+ :host(:not([fade-out]):not([fade-mid]):not([fade-in])) ::part(endIcon) {
42
+ opacity: 1;
43
+ transform: translateY(0);
44
+ }
45
+
46
+ /* Fade out */
47
+
48
+ :host([fade-out]:not([fade-mid])) ::part(icon) {
49
+ opacity: 0;
50
+ transform: translateY(-1rem);
51
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.10s ease-in-out 0s;
52
+ }
53
+
54
+ :host([fade-out]:not([fade-mid])) .ui5-ai-button-text,
55
+ :host([fade-out]:not([fade-mid])) ::part(endIcon) {
56
+ opacity: 0;
57
+ transform: translateY(-1rem);
58
+ transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
59
+ }
60
+
61
+ /* Fade mid */
62
+
63
+ :host([fade-mid]) ::part(icon) {
64
+ opacity: 0;
65
+ transform: translateY(1rem);
66
+ }
67
+
68
+ :host([fade-mid]) .ui5-ai-button-text,
69
+ :host([fade-mid]) ::part(endIcon) {
70
+ opacity: 0;
71
+ transform: translateY(1rem);
72
+ transition: none;
73
+ }
74
+
75
+ /* Fade in */
76
+
77
+ :host([fade-in]) ::part(icon) {
78
+ opacity: 1;
79
+ transform: translateY(0);
80
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.10s ease-in-out 0s;
81
+ }
82
+
83
+ :host([fade-in]) .ui5-ai-button-text,
84
+ :host([fade-in]) ::part(endIcon) {
85
+ opacity: 1;
86
+ transform: translateY(0);
87
+ transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
88
+ }
@@ -0,0 +1,30 @@
1
+ .ai-prompt-input-button {
2
+ margin-left: .5rem;
3
+ margin-top: 3px;
4
+ }
5
+
6
+ .ai-prompt-input-wrapper {
7
+ display: flex;
8
+ flex-direction: column;
9
+ width: 270px;
10
+ }
11
+
12
+ .ai-prompt-input-form-wrapper {
13
+ display: flex;
14
+ flex: 1;
15
+ }
16
+
17
+ .ai-prompt-input-counter {
18
+ font-size: .75rem;
19
+ align-self: flex-end;
20
+ }
21
+
22
+ #input {
23
+ width: 100%;
24
+ }
25
+
26
+ .ai-prompt-inner-input-wrapper {
27
+ display: flex;
28
+ flex-direction: column;
29
+ flex: 1;
30
+ }
package/tsconfig.json CHANGED
@@ -1,28 +1,38 @@
1
1
  {
2
- "include": ["src/**/*", "global.d.ts"],
3
- "compilerOptions": {
4
- "target": "ES2021",
5
- "lib": ["DOM", "DOM.Iterable", "ES2023"],
6
- // Generate d.ts files
7
- "declaration": true,
8
- "outDir": "dist",
9
- "skipLibCheck": true,
10
- "sourceMap": true,
11
- "inlineSources": true,
12
- "strict": true,
13
- "moduleResolution": "node",
14
- "experimentalDecorators": true,
15
- "importsNotUsedAsValues": "preserve",
16
- "ignoreDeprecations": "5.0",
17
- "paths": {
18
- "@ui5/webcomponents-base/dist/*": ["../base/src/*"],
19
- "@ui5/webcomponents/dist/*": ["../main/src/*"],
20
- "@ui5/webcomponents-theming/dist/*": ["../theming/src/*"],
21
- },
22
- },
23
- "references": [
24
- { "path": "../base" },
25
- { "path": "../main" },
26
- { "path": "../theming" },
27
- ]
2
+ "extends": "@ui5/webcomponents-tools/tsconfig.json",
3
+ "include": [
4
+ "src/**/*",
5
+ "global.d.ts"
6
+ ],
7
+ "compilerOptions": {
8
+ "outDir": "dist",
9
+ "experimentalDecorators": true,
10
+ "verbatimModuleSyntax": true,
11
+ "module": "NodeNext",
12
+ "moduleResolution": "NodeNext",
13
+ "jsx": "react-jsx",
14
+ "jsxImportSource": "@ui5/webcomponents-base",
15
+ "paths": {
16
+ "@ui5/webcomponents-base/dist/*": [
17
+ "../base/src/*"
18
+ ],
19
+ "@ui5/webcomponents/dist/*": [
20
+ "../main/src/*"
21
+ ],
22
+ "@ui5/webcomponents-theming/dist/*": [
23
+ "../theming/src/*"
24
+ ],
25
+ },
26
+ },
27
+ "references": [
28
+ {
29
+ "path": "../base"
30
+ },
31
+ {
32
+ "path": "../main"
33
+ },
34
+ {
35
+ "path": "../theming"
36
+ },
37
+ ]
28
38
  }
@@ -1,4 +0,0 @@
1
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
- import type Button from "../../Button.js";
3
- declare function block0(this: Button, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult;
4
- export default block0;
@@ -1,5 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- function block0(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-button", tags, suffix)} icon="${ifDefined(this.icon)}" end-icon="${ifDefined(this.endIcon)}"><slot></slot></${scopeTag("ui5-button", tags, suffix)}>` : html `<ui5-button icon="${ifDefined(this.icon)}" end-icon="${ifDefined(this.endIcon)}"><slot></slot></ui5-button>`; }
4
- export default block0;
5
- //# sourceMappingURL=ButtonTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/ButtonTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAmC,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,UAAU,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,qBAAqB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAA,CAAC;AAGnZ,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type Button from \"../../Button.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} icon=\"${ifDefined(this.icon)}\" end-icon=\"${ifDefined(this.endIcon)}\"><slot></slot></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button icon=\"${ifDefined(this.icon)}\" end-icon=\"${ifDefined(this.endIcon)}\"><slot></slot></ui5-button>`;}\n\n\nexport default block0;"]}
package/src/Button.hbs DELETED
@@ -1,3 +0,0 @@
1
- <ui5-button icon="{{icon}}" end-icon="{{endIcon}}">
2
- <slot></slot>
3
- </ui5-button>