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

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 (199) hide show
  1. package/.nyc_output/out.json +1 -0
  2. package/CHANGELOG.md +449 -0
  3. package/README.md +6 -7
  4. package/coverage/clover.xml +6 -0
  5. package/coverage/coverage-final.json +1 -0
  6. package/coverage/coverage-summary.json +2 -0
  7. package/coverage/lcov-report/base.css +224 -0
  8. package/coverage/lcov-report/block-navigation.js +87 -0
  9. package/coverage/lcov-report/favicon.png +0 -0
  10. package/coverage/lcov-report/index.html +101 -0
  11. package/coverage/lcov-report/prettify.css +1 -0
  12. package/coverage/lcov-report/prettify.js +2 -0
  13. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  14. package/coverage/lcov-report/sorter.js +196 -0
  15. package/coverage/lcov-report/src/generated/themes/Button.css.ts.html +109 -0
  16. package/coverage/lcov-report/src/generated/themes/index.html +116 -0
  17. package/coverage/lcov.info +0 -0
  18. package/cypress/specs/Button.cy.tsx +14 -0
  19. package/cypress/support/commands.ts +1 -0
  20. package/cypress/support/component.ts +3 -0
  21. package/cypress/tsconfig.json +44 -0
  22. package/cypress.config.js +10 -0
  23. package/dist/.tsbuildinfo +1 -0
  24. package/dist/Button.d.ts +119 -2
  25. package/dist/Button.js +241 -12
  26. package/dist/Button.js.map +1 -1
  27. package/dist/ButtonState.d.ts +67 -0
  28. package/dist/ButtonState.js +64 -0
  29. package/dist/ButtonState.js.map +1 -0
  30. package/dist/ButtonTemplate.d.ts +2 -0
  31. package/dist/ButtonTemplate.js +6 -0
  32. package/dist/ButtonTemplate.js.map +1 -0
  33. package/dist/PromptInput.d.ts +147 -0
  34. package/dist/PromptInput.js +225 -0
  35. package/dist/PromptInput.js.map +1 -0
  36. package/dist/PromptInputTemplate.d.ts +2 -0
  37. package/dist/PromptInputTemplate.js +12 -0
  38. package/dist/PromptInputTemplate.js.map +1 -0
  39. package/dist/bundle.esm.js +3 -1
  40. package/dist/bundle.esm.js.map +1 -1
  41. package/dist/bundle.scoped.config.d.ts +1 -0
  42. package/dist/bundle.scoped.config.js +3 -0
  43. package/dist/bundle.scoped.config.js.map +1 -0
  44. package/dist/bundle.scoped.esm.d.ts +2 -1
  45. package/dist/bundle.scoped.esm.js +2 -2
  46. package/dist/bundle.scoped.esm.js.map +1 -1
  47. package/dist/css/themes/Button.css +1 -0
  48. package/dist/css/themes/PromptInput.css +1 -0
  49. package/dist/custom-elements-internal.json +609 -1
  50. package/dist/custom-elements.json +536 -1
  51. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
  52. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
  53. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
  54. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
  55. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
  56. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
  57. package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
  58. package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
  59. package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
  60. package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
  61. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
  62. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
  63. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
  64. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
  65. package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
  66. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
  67. package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
  68. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
  69. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
  70. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
  71. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
  72. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
  73. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
  74. package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
  75. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
  76. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
  77. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
  78. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
  79. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
  80. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
  81. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
  82. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
  83. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
  84. package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
  85. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
  86. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
  87. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
  88. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
  89. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
  90. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
  91. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
  92. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
  93. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
  94. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
  95. package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
  96. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
  97. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
  98. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
  99. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
  100. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
  101. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  102. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  103. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  104. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  105. package/dist/generated/i18n/i18n-defaults.d.ts +4 -1
  106. package/dist/generated/i18n/i18n-defaults.js +3 -1
  107. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  108. package/dist/generated/json-imports/Themes-fetch.d.ts +1 -0
  109. package/dist/generated/json-imports/Themes-fetch.js +21 -0
  110. package/dist/generated/json-imports/Themes-fetch.js.map +1 -0
  111. package/dist/generated/json-imports/Themes.js.map +1 -1
  112. package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
  113. package/dist/generated/json-imports/i18n-fetch.js +118 -0
  114. package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
  115. package/dist/generated/json-imports/i18n.d.ts +1 -0
  116. package/dist/generated/json-imports/i18n.js +117 -1
  117. package/dist/generated/json-imports/i18n.js.map +1 -1
  118. package/dist/generated/themes/Button.css.d.ts +2 -3
  119. package/dist/generated/themes/Button.css.js +2 -2
  120. package/dist/generated/themes/Button.css.js.map +1 -1
  121. package/dist/generated/themes/PromptInput.css.d.ts +2 -0
  122. package/dist/generated/themes/PromptInput.css.js +8 -0
  123. package/dist/generated/themes/PromptInput.css.js.map +1 -0
  124. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +2 -3
  125. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -2
  126. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  127. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +2 -3
  128. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -2
  129. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  130. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +2 -3
  131. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -2
  132. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  133. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +2 -3
  134. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -2
  135. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  136. package/dist/vscode.html-custom-data.json +131 -1
  137. package/dist/web-types.json +315 -0
  138. package/package.json +11 -8
  139. package/src/ButtonTemplate.tsx +26 -0
  140. package/src/PromptInputTemplate.tsx +49 -0
  141. package/src/i18n/messagebundle.properties +6 -0
  142. package/src/i18n/messagebundle_ar.properties +4 -0
  143. package/src/i18n/messagebundle_bg.properties +4 -0
  144. package/src/i18n/messagebundle_ca.properties +4 -0
  145. package/src/i18n/messagebundle_cnr.properties +4 -0
  146. package/src/i18n/messagebundle_cs.properties +4 -0
  147. package/src/i18n/messagebundle_cy.properties +4 -0
  148. package/src/i18n/messagebundle_da.properties +4 -0
  149. package/src/i18n/messagebundle_de.properties +4 -0
  150. package/src/i18n/messagebundle_el.properties +4 -0
  151. package/src/i18n/messagebundle_en.properties +4 -0
  152. package/src/i18n/messagebundle_en_GB.properties +4 -0
  153. package/src/i18n/messagebundle_en_US_sappsd.properties +4 -0
  154. package/src/i18n/messagebundle_en_US_saprigi.properties +4 -0
  155. package/src/i18n/messagebundle_en_US_saptrc.properties +4 -0
  156. package/src/i18n/messagebundle_es.properties +4 -0
  157. package/src/i18n/messagebundle_es_MX.properties +4 -0
  158. package/src/i18n/messagebundle_et.properties +4 -0
  159. package/src/i18n/messagebundle_fi.properties +4 -0
  160. package/src/i18n/messagebundle_fr.properties +4 -0
  161. package/src/i18n/messagebundle_fr_CA.properties +4 -0
  162. package/src/i18n/messagebundle_hi.properties +4 -0
  163. package/src/i18n/messagebundle_hr.properties +4 -0
  164. package/src/i18n/messagebundle_hu.properties +4 -0
  165. package/src/i18n/messagebundle_id.properties +4 -0
  166. package/src/i18n/messagebundle_it.properties +4 -0
  167. package/src/i18n/messagebundle_iw.properties +4 -0
  168. package/src/i18n/messagebundle_ja.properties +4 -0
  169. package/src/i18n/messagebundle_kk.properties +4 -0
  170. package/src/i18n/messagebundle_ko.properties +4 -0
  171. package/src/i18n/messagebundle_lt.properties +4 -0
  172. package/src/i18n/messagebundle_lv.properties +4 -0
  173. package/src/i18n/messagebundle_mk.properties +4 -0
  174. package/src/i18n/messagebundle_ms.properties +4 -0
  175. package/src/i18n/messagebundle_nl.properties +4 -0
  176. package/src/i18n/messagebundle_no.properties +4 -0
  177. package/src/i18n/messagebundle_pl.properties +4 -0
  178. package/src/i18n/messagebundle_pt.properties +4 -0
  179. package/src/i18n/messagebundle_pt_PT.properties +4 -0
  180. package/src/i18n/messagebundle_ro.properties +4 -0
  181. package/src/i18n/messagebundle_ru.properties +4 -0
  182. package/src/i18n/messagebundle_sh.properties +4 -0
  183. package/src/i18n/messagebundle_sk.properties +4 -0
  184. package/src/i18n/messagebundle_sl.properties +4 -0
  185. package/src/i18n/messagebundle_sr.properties +4 -0
  186. package/src/i18n/messagebundle_sv.properties +4 -0
  187. package/src/i18n/messagebundle_th.properties +4 -0
  188. package/src/i18n/messagebundle_tr.properties +4 -0
  189. package/src/i18n/messagebundle_uk.properties +4 -0
  190. package/src/i18n/messagebundle_vi.properties +4 -0
  191. package/src/i18n/messagebundle_zh_CN.properties +4 -0
  192. package/src/i18n/messagebundle_zh_TW.properties +4 -0
  193. package/src/themes/Button.css +142 -0
  194. package/src/themes/PromptInput.css +30 -0
  195. package/tsconfig.json +55 -26
  196. package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
  197. package/dist/generated/templates/ButtonTemplate.lit.js +0 -5
  198. package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
  199. package/src/Button.hbs +0 -3
@@ -1,2 +1,8 @@
1
1
  #This is the resource bundle for the UI5 Web Components
2
2
  #__ldi.translation.uuid=96bea51a-d5e3-46f0-b1d1-514d97be02ec
3
+
4
+ #XTXT: Text for characters left
5
+ PROMPT_INPUT_CHARACTERS_LEFT={0} characters remaining
6
+
7
+ #XTXT: Text for characters over
8
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} characters over 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} символа
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} символа над ограничението
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caràcters restants
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=S''han excedit {0} caràcters
@@ -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} znaky zbývají
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} znaky přes limit
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} nod ar ôl
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} nod dros yr uchafswm
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} resterende tegn
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} tegn over grænsen
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} Zeichen verbleibend
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} Zeichen über 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} characters remaining
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} characters over limit
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} characters remaining
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} characters over 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}‌‌‌ characters remaining
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=‌‌‌​‌‍‍‍​‍‍​​​​‌‍​‍​‌‍​‌​​​‌​​‌​​‍‍​‌‌‌​‍​​​{0}‌‌‌ characters over limit
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=ApfX3Ybp+LpUZGYmQzr70w_{0} characters remaining
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=j5kNPkXE7zFJCcHSJi7nbg_{0} characters over limit
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} caracteres restantes
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caracteres excedidos
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT=Quedan {0} caracteres
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} caracteres por encima del límite
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} märki veel
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} märki üle limiidi
@@ -0,0 +1,4 @@
1
+
2
+ PROMPT_INPUT_CHARACTERS_LEFT={0} merkkiä jäljellä
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED={0} merkkiä yli rajan
@@ -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,142 @@
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
+ :host .ui5-ai-button-inner {
28
+ width: 100%;
29
+ }
30
+
31
+ /* Animated parts */
32
+
33
+ :host {
34
+ width: auto;
35
+ position: relative;
36
+ transition: width 0.18s cubic-bezier(0.67, 1, 0.95, 1.3) 0.12s;
37
+ }
38
+
39
+ :host(.ui5-ai-button-menu-to-button) .ui5-ai-button-inner::part(button),
40
+ :host(.ui5-ai-button-fade-out:not([icon-only])) .ui5-ai-button-inner::part(button) {
41
+ justify-content: flex-start;
42
+ }
43
+
44
+ :host([icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(textButton),
45
+ :host(.ui5-ai-button-menu-to-button[icon-only]) .ui5-ai-button-inner::part(textButton) {
46
+ min-width: var(--_ui5_button_base_min_width) !important;
47
+ max-width: var(--_ui5_button_base_min_width) !important;
48
+ }
49
+
50
+ :host(.ui5-ai-button-menu-to-button) .ui5-ai-button-inner::part(button),
51
+ :host(.ui5-ai-button-fade-out:not([icon-only])) .ui5-ai-button-inner::part(button) {
52
+ justify-content: flex-start;
53
+ }
54
+
55
+ :host([icon-only]) .ui5-ai-button-inner[_end-icon]:not([_end-icon=""])::part(button),
56
+ :host([icon-only]) .ui5-ai-button-inner[_hide-arrow-button]::part(button) {
57
+ justify-content: flex-start;
58
+ padding-inline-start: var(--_ui5_button_base_padding);
59
+ }
60
+
61
+ :host(.ui5-ai-button-fade-in[icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(button) {
62
+ max-width: var(--_ui5_button_base_min_width);
63
+ }
64
+
65
+ :host([icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(textButton),
66
+ :host(.ui5-ai-button-menu-to-button[icon-only]) .ui5-ai-button-inner::part(textButton) {
67
+ min-width: var(--_ui5_button_base_min_width);
68
+ max-width: var(--_ui5_button_base_min_width);
69
+ }
70
+
71
+ :host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) .ui5-ai-button-text,
72
+ :host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) ::part(endIcon),
73
+ :host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) ::part(arrowButton) {
74
+ opacity: 1;
75
+ transform: translateY(0);
76
+ }
77
+
78
+ :host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(endIcon),
79
+ :host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(arrowButton) {
80
+ display: none;
81
+ transform: translateY(0);
82
+ opacity: 0;
83
+ }
84
+
85
+ :host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(endIcon),
86
+ :host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(arrowButton) {
87
+ display: none;
88
+ transform: translateY(0);
89
+ opacity: 0;
90
+ }
91
+
92
+ /* Fade out phase */
93
+
94
+ :host(.ui5-ai-button-fade-out) .ui5-ai-button-text {
95
+ opacity: 0;
96
+ transform: translateY(-1rem);
97
+ transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
98
+ }
99
+
100
+ :host(.ui5-ai-button-fade-out) ::part(icon)
101
+ {
102
+ opacity: 0;
103
+ transform: translateY(-1rem);
104
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.10s ease-in-out 0s;
105
+ }
106
+
107
+ :host(.ui5-ai-button-fade-out) ::part(endIcon) {
108
+ opacity: 0;
109
+ transform: translateY(-1rem);
110
+ transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
111
+ }
112
+
113
+ /* Fade middle phase */
114
+
115
+ :host(.ui5-ai-button-fade-mid) .ui5-ai-button-text,
116
+ :host(.ui5-ai-button-fade-mid) ::part(icon),
117
+ :host(.ui5-ai-button-fade-mid) ::part(endIcon),
118
+ :host(.ui5-ai-button-fade-mid) ::part(arrowButton) {
119
+ opacity: 0;
120
+ transform: translateY(1rem);
121
+ transition: none;
122
+ }
123
+
124
+ /* Fade in phase */
125
+
126
+ :host(.ui5-ai-button-fade-in) .ui5-ai-button-text {
127
+ opacity: 1;
128
+ transform: translateY(0);
129
+ transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
130
+ }
131
+
132
+ :host(.ui5-ai-button-fade-in) ::part(icon) {
133
+ opacity: 1;
134
+ transform: translateY(0);
135
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.10s ease-in-out 0s;
136
+ }
137
+
138
+ :host(.ui5-ai-button-fade-in) ::part(endIcon) {
139
+ opacity: 1;
140
+ transform: translateY(0);
141
+ transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
142
+ }
@@ -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,57 @@
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
+ "composite": true,
11
+ "rootDir": "src",
12
+ "tsBuildInfoFile": "dist/.tsbuildinfo",
13
+ "module": "NodeNext",
14
+ "moduleResolution": "NodeNext",
15
+ "verbatimModuleSyntax": true,
16
+ "paths": {
17
+ "@ui5/webcomponents-base/dist/*": [
18
+ "../base/src/*"
19
+ ],
20
+ "@ui5/webcomponents-localization/dist/*": [
21
+ "../localization/src/*"
22
+ ],
23
+ "@ui5/webcomponents-theming/dist/*": [
24
+ "../theming/src/*"
25
+ ],
26
+ "@ui5/webcomponents-icons/dist/*": [
27
+ "../icons/src/*"
28
+ ],
29
+ "@ui5/webcomponents-icons-business-suite/dist/*": [
30
+ "../icons-business-suite/src/*"
31
+ ],
32
+ "@ui5/webcomponents-icons-tnt/dist/*": [
33
+ "../icons-tnt/src/*"
34
+ ]
35
+ },
36
+ },
37
+ "references": [
38
+ {
39
+ "path": "../base"
40
+ },
41
+ {
42
+ "path": "../localization"
43
+ },
44
+ {
45
+ "path": "../theming"
46
+ },
47
+ {
48
+ "path": "../icons"
49
+ },
50
+ {
51
+ "path": "../icons-business-suite"
52
+ },
53
+ {
54
+ "path": "../icons-tnt"
55
+ },
56
+ ]
28
57
  }
@@ -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>