@ui5/webcomponents-ai 0.0.0-9261ac932

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 (195) hide show
  1. package/.env.production +1 -0
  2. package/.env.testing +4 -0
  3. package/.npsrc.json +3 -0
  4. package/CHANGELOG.md +216 -0
  5. package/README.md +37 -0
  6. package/dist/Assets.d.ts +3 -0
  7. package/dist/Assets.js +6 -0
  8. package/dist/Assets.js.map +1 -0
  9. package/dist/Button.d.ts +114 -0
  10. package/dist/Button.js +233 -0
  11. package/dist/Button.js.map +1 -0
  12. package/dist/ButtonState.d.ts +60 -0
  13. package/dist/ButtonState.js +51 -0
  14. package/dist/ButtonState.js.map +1 -0
  15. package/dist/PromptInput.d.ts +150 -0
  16. package/dist/PromptInput.js +236 -0
  17. package/dist/PromptInput.js.map +1 -0
  18. package/dist/bundle.esm.d.ts +3 -0
  19. package/dist/bundle.esm.js +9 -0
  20. package/dist/bundle.esm.js.map +1 -0
  21. package/dist/bundle.scoped.config.d.ts +1 -0
  22. package/dist/bundle.scoped.config.js +3 -0
  23. package/dist/bundle.scoped.config.js.map +1 -0
  24. package/dist/bundle.scoped.esm.d.ts +2 -0
  25. package/dist/bundle.scoped.esm.js +3 -0
  26. package/dist/bundle.scoped.esm.js.map +1 -0
  27. package/dist/css/themes/Button.css +1 -0
  28. package/dist/css/themes/PromptInput.css +1 -0
  29. package/dist/css/themes/sap_horizon/parameters-bundle.css +0 -0
  30. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +0 -0
  31. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +0 -0
  32. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +0 -0
  33. package/dist/custom-elements-internal.json +583 -0
  34. package/dist/custom-elements.json +517 -0
  35. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
  36. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
  37. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
  38. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
  39. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
  40. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
  41. package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
  42. package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
  43. package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
  44. package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
  45. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
  46. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
  47. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
  48. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
  49. package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
  50. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
  51. package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
  52. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
  53. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
  54. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
  55. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
  56. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
  57. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
  58. package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
  59. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
  60. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
  61. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
  62. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
  63. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
  64. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
  65. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
  66. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
  67. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
  68. package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
  69. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
  70. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
  71. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
  72. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
  73. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
  74. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
  75. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
  76. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
  77. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
  78. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
  79. package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
  80. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
  81. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
  82. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
  83. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
  84. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
  85. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -0
  86. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -0
  87. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -0
  88. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -0
  89. package/dist/generated/i18n/i18n-defaults.d.ts +4 -0
  90. package/dist/generated/i18n/i18n-defaults.js +4 -0
  91. package/dist/generated/i18n/i18n-defaults.js.map +1 -0
  92. package/dist/generated/json-imports/Themes-fetch.d.ts +1 -0
  93. package/dist/generated/json-imports/Themes-fetch.js +21 -0
  94. package/dist/generated/json-imports/Themes-fetch.js.map +1 -0
  95. package/dist/generated/json-imports/Themes.d.ts +1 -0
  96. package/dist/generated/json-imports/Themes.js +21 -0
  97. package/dist/generated/json-imports/Themes.js.map +1 -0
  98. package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
  99. package/dist/generated/json-imports/i18n-fetch.js +118 -0
  100. package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
  101. package/dist/generated/json-imports/i18n.d.ts +1 -0
  102. package/dist/generated/json-imports/i18n.js +118 -0
  103. package/dist/generated/json-imports/i18n.js.map +1 -0
  104. package/dist/generated/templates/ButtonTemplate.lit.d.ts +4 -0
  105. package/dist/generated/templates/ButtonTemplate.lit.js +6 -0
  106. package/dist/generated/templates/ButtonTemplate.lit.js.map +1 -0
  107. package/dist/generated/templates/PromptInputTemplate.lit.d.ts +4 -0
  108. package/dist/generated/templates/PromptInputTemplate.lit.js +8 -0
  109. package/dist/generated/templates/PromptInputTemplate.lit.js.map +1 -0
  110. package/dist/generated/themes/Button.css.d.ts +3 -0
  111. package/dist/generated/themes/Button.css.js +9 -0
  112. package/dist/generated/themes/Button.css.js.map +1 -0
  113. package/dist/generated/themes/PromptInput.css.d.ts +3 -0
  114. package/dist/generated/themes/PromptInput.css.js +9 -0
  115. package/dist/generated/themes/PromptInput.css.js.map +1 -0
  116. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +3 -0
  117. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +3 -0
  118. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -0
  119. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +3 -0
  120. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -0
  121. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -0
  122. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +3 -0
  123. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -0
  124. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -0
  125. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +3 -0
  126. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -0
  127. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -0
  128. package/dist/tsconfig.tsbuildinfo +1 -0
  129. package/dist/vscode.html-custom-data.json +124 -0
  130. package/dist/web-types.json +287 -0
  131. package/jsconfig.json +11 -0
  132. package/package-scripts.cjs +15 -0
  133. package/package.json +57 -0
  134. package/src/Button.hbs +17 -0
  135. package/src/PromptInput.hbs +36 -0
  136. package/src/i18n/messagebundle.properties +8 -0
  137. package/src/i18n/messagebundle_ar.properties +4 -0
  138. package/src/i18n/messagebundle_bg.properties +4 -0
  139. package/src/i18n/messagebundle_ca.properties +4 -0
  140. package/src/i18n/messagebundle_cnr.properties +4 -0
  141. package/src/i18n/messagebundle_cs.properties +4 -0
  142. package/src/i18n/messagebundle_cy.properties +4 -0
  143. package/src/i18n/messagebundle_da.properties +4 -0
  144. package/src/i18n/messagebundle_de.properties +4 -0
  145. package/src/i18n/messagebundle_el.properties +4 -0
  146. package/src/i18n/messagebundle_en.properties +4 -0
  147. package/src/i18n/messagebundle_en_GB.properties +4 -0
  148. package/src/i18n/messagebundle_en_US_sappsd.properties +4 -0
  149. package/src/i18n/messagebundle_en_US_saprigi.properties +4 -0
  150. package/src/i18n/messagebundle_en_US_saptrc.properties +4 -0
  151. package/src/i18n/messagebundle_es.properties +4 -0
  152. package/src/i18n/messagebundle_es_MX.properties +4 -0
  153. package/src/i18n/messagebundle_et.properties +4 -0
  154. package/src/i18n/messagebundle_fi.properties +4 -0
  155. package/src/i18n/messagebundle_fr.properties +4 -0
  156. package/src/i18n/messagebundle_fr_CA.properties +4 -0
  157. package/src/i18n/messagebundle_hi.properties +4 -0
  158. package/src/i18n/messagebundle_hr.properties +4 -0
  159. package/src/i18n/messagebundle_hu.properties +4 -0
  160. package/src/i18n/messagebundle_id.properties +4 -0
  161. package/src/i18n/messagebundle_it.properties +4 -0
  162. package/src/i18n/messagebundle_iw.properties +4 -0
  163. package/src/i18n/messagebundle_ja.properties +4 -0
  164. package/src/i18n/messagebundle_kk.properties +4 -0
  165. package/src/i18n/messagebundle_ko.properties +4 -0
  166. package/src/i18n/messagebundle_lt.properties +4 -0
  167. package/src/i18n/messagebundle_lv.properties +4 -0
  168. package/src/i18n/messagebundle_mk.properties +4 -0
  169. package/src/i18n/messagebundle_ms.properties +4 -0
  170. package/src/i18n/messagebundle_nl.properties +4 -0
  171. package/src/i18n/messagebundle_no.properties +4 -0
  172. package/src/i18n/messagebundle_pl.properties +4 -0
  173. package/src/i18n/messagebundle_pt.properties +4 -0
  174. package/src/i18n/messagebundle_pt_PT.properties +4 -0
  175. package/src/i18n/messagebundle_ro.properties +4 -0
  176. package/src/i18n/messagebundle_ru.properties +4 -0
  177. package/src/i18n/messagebundle_sh.properties +4 -0
  178. package/src/i18n/messagebundle_sk.properties +4 -0
  179. package/src/i18n/messagebundle_sl.properties +4 -0
  180. package/src/i18n/messagebundle_sr.properties +4 -0
  181. package/src/i18n/messagebundle_sv.properties +4 -0
  182. package/src/i18n/messagebundle_th.properties +4 -0
  183. package/src/i18n/messagebundle_tr.properties +4 -0
  184. package/src/i18n/messagebundle_uk.properties +4 -0
  185. package/src/i18n/messagebundle_vi.properties +4 -0
  186. package/src/i18n/messagebundle_zh_CN.properties +4 -0
  187. package/src/i18n/messagebundle_zh_TW.properties +4 -0
  188. package/src/themes/Button.css +88 -0
  189. package/src/themes/PromptInput.css +30 -0
  190. package/src/themes/base/Button-parameters.css +2 -0
  191. package/src/themes/sap_horizon/parameters-bundle.css +1 -0
  192. package/src/themes/sap_horizon_dark/parameters-bundle.css +1 -0
  193. package/src/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
  194. package/src/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
  195. package/tsconfig.json +36 -0
@@ -0,0 +1,36 @@
1
+ <div class="ai-prompt-input-wrapper">
2
+ {{#if label}}
3
+ <ui5-label for="input">{{label}}</ui5-label>
4
+ {{/if}}
5
+
6
+ <div class="ai-prompt-input-form-wrapper">
7
+ <div class="ai-prompt-inner-input-wrapper">
8
+ <ui5-input
9
+ id="input"
10
+ .value="{{value}}"
11
+ placeholder="{{placeholder}}"
12
+ value-state="{{valueState}}"
13
+ ?show-clear-icon={{showClearIcon}}
14
+ ?disabled="{{disabled}}"
15
+ ?readonly="{{readonly}}"
16
+ ?show-suggestions="{{showSuggestions}}"
17
+ @keydown="{{_onkeydown}}"
18
+ @ui5-input="{{_onInnerInput}}"
19
+ @ui5-change="{{_onInnerChange}}"
20
+ @ui5-type-ahead="{{_onTypeAhead}}"
21
+ >
22
+ {{!-- suggestions --}}
23
+ <slot></slot>
24
+
25
+ {{#if valueStateMessage.length}}
26
+ <slot name="valueStateMessage" slot="valueStateMessage"></slot>
27
+ {{/if}}
28
+ </ui5-input>
29
+
30
+ {{#if showExceededText}}
31
+ <ui5-label class="ai-prompt-input-counter">{{_exceededText}}</ui5-label>
32
+ {{/if}}
33
+ </div>
34
+ <ui5-button ?disabled={{_submitButtonDisabled}} class="ai-prompt-input-button" design="Emphasized" icon="paper-plane" @click="{{_onButtonClick}}"></ui5-button>
35
+ </div>
36
+ </div>
@@ -0,0 +1,8 @@
1
+ #This is the resource bundle for the UI5 Web Components
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=6PVdksQU16mGDfLHCB3D7g_{0} characters remaining
3
+
4
+ PROMPT_INPUT_CHARACTERS_EXCEEDED=BH/EJSWUGaLLgpsIfqSJNA_{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,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
+ }
@@ -0,0 +1,2 @@
1
+ :root {
2
+ }
@@ -0,0 +1 @@
1
+ @import "../base/Button-parameters.css";
@@ -0,0 +1 @@
1
+ @import "../base/Button-parameters.css";
@@ -0,0 +1 @@
1
+ @import "../base/Button-parameters.css";
@@ -0,0 +1 @@
1
+ @import "../base/Button-parameters.css";
package/tsconfig.json ADDED
@@ -0,0 +1,36 @@
1
+ {
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
+ "paths": {
14
+ "@ui5/webcomponents-base/dist/*": [
15
+ "../base/src/*"
16
+ ],
17
+ "@ui5/webcomponents/dist/*": [
18
+ "../main/src/*"
19
+ ],
20
+ "@ui5/webcomponents-theming/dist/*": [
21
+ "../theming/src/*"
22
+ ],
23
+ },
24
+ },
25
+ "references": [
26
+ {
27
+ "path": "../base"
28
+ },
29
+ {
30
+ "path": "../main"
31
+ },
32
+ {
33
+ "path": "../theming"
34
+ },
35
+ ]
36
+ }