@microsoft/teams.cards 0.2.13 → 2.0.0-preview.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +40 -40
  2. package/dist/actions/index.d.mts +2 -24
  3. package/dist/actions/index.d.ts +2 -24
  4. package/dist/actions/index.js +0 -28
  5. package/dist/actions/index.mjs +0 -4
  6. package/dist/actions/submit/collab-stage.d.mts +2 -3
  7. package/dist/actions/submit/collab-stage.d.ts +2 -3
  8. package/dist/actions/submit/collab-stage.js +2 -2
  9. package/dist/actions/submit/collab-stage.js.map +1 -1
  10. package/dist/actions/submit/collab-stage.mjs +1 -1
  11. package/dist/actions/submit/collab-stage.mjs.map +1 -1
  12. package/dist/actions/submit/im-back.d.mts +2 -3
  13. package/dist/actions/submit/im-back.d.ts +2 -3
  14. package/dist/actions/submit/im-back.js +2 -2
  15. package/dist/actions/submit/im-back.js.map +1 -1
  16. package/dist/actions/submit/im-back.mjs +1 -1
  17. package/dist/actions/submit/im-back.mjs.map +1 -1
  18. package/dist/actions/submit/index.d.mts +2 -3
  19. package/dist/actions/submit/index.d.ts +2 -3
  20. package/dist/actions/submit/index.js +0 -7
  21. package/dist/actions/submit/index.mjs +0 -1
  22. package/dist/actions/submit/invoke.d.mts +2 -3
  23. package/dist/actions/submit/invoke.d.ts +2 -3
  24. package/dist/actions/submit/invoke.js +2 -2
  25. package/dist/actions/submit/invoke.js.map +1 -1
  26. package/dist/actions/submit/invoke.mjs +1 -1
  27. package/dist/actions/submit/invoke.mjs.map +1 -1
  28. package/dist/actions/submit/message-back.d.mts +2 -3
  29. package/dist/actions/submit/message-back.d.ts +2 -3
  30. package/dist/actions/submit/message-back.js +2 -2
  31. package/dist/actions/submit/message-back.js.map +1 -1
  32. package/dist/actions/submit/message-back.mjs +1 -1
  33. package/dist/actions/submit/message-back.mjs.map +1 -1
  34. package/dist/actions/submit/ms-teams-data.d.mts +15 -0
  35. package/dist/actions/submit/ms-teams-data.d.ts +15 -0
  36. package/dist/actions/submit/ms-teams-data.js +4 -0
  37. package/dist/actions/submit/ms-teams-data.js.map +1 -0
  38. package/dist/actions/submit/ms-teams-data.mjs +3 -0
  39. package/dist/actions/submit/ms-teams-data.mjs.map +1 -0
  40. package/dist/actions/submit/sign-in.d.mts +2 -3
  41. package/dist/actions/submit/sign-in.d.ts +2 -3
  42. package/dist/actions/submit/sign-in.js +2 -2
  43. package/dist/actions/submit/sign-in.js.map +1 -1
  44. package/dist/actions/submit/sign-in.mjs +1 -1
  45. package/dist/actions/submit/sign-in.mjs.map +1 -1
  46. package/dist/actions/submit/task-fetch.d.mts +2 -3
  47. package/dist/actions/submit/task-fetch.d.ts +2 -3
  48. package/dist/actions/submit/task-fetch.js +3 -3
  49. package/dist/actions/submit/task-fetch.js.map +1 -1
  50. package/dist/actions/submit/task-fetch.mjs +2 -2
  51. package/dist/actions/submit/task-fetch.mjs.map +1 -1
  52. package/dist/common/index.d.mts +0 -14
  53. package/dist/common/index.d.ts +0 -14
  54. package/dist/common/index.js +0 -70
  55. package/dist/common/index.mjs +0 -10
  56. package/dist/core.d.mts +10707 -0
  57. package/dist/core.d.ts +10707 -0
  58. package/dist/core.js +8718 -0
  59. package/dist/core.js.map +1 -0
  60. package/dist/core.mjs +8574 -0
  61. package/dist/core.mjs.map +1 -0
  62. package/dist/index.d.mts +3 -25
  63. package/dist/index.d.ts +3 -25
  64. package/dist/index.js +5 -47
  65. package/dist/index.mjs +1 -7
  66. package/package.json +3 -4
  67. package/dist/actions/base.d.mts +0 -89
  68. package/dist/actions/base.d.ts +0 -89
  69. package/dist/actions/base.js +0 -90
  70. package/dist/actions/base.js.map +0 -1
  71. package/dist/actions/base.mjs +0 -88
  72. package/dist/actions/base.mjs.map +0 -1
  73. package/dist/actions/execute.d.mts +0 -47
  74. package/dist/actions/execute.d.ts +0 -47
  75. package/dist/actions/execute.js +0 -43
  76. package/dist/actions/execute.js.map +0 -1
  77. package/dist/actions/execute.mjs +0 -41
  78. package/dist/actions/execute.mjs.map +0 -1
  79. package/dist/actions/open-url.d.mts +0 -28
  80. package/dist/actions/open-url.d.ts +0 -28
  81. package/dist/actions/open-url.js +0 -28
  82. package/dist/actions/open-url.js.map +0 -1
  83. package/dist/actions/open-url.mjs +0 -26
  84. package/dist/actions/open-url.mjs.map +0 -1
  85. package/dist/actions/show-card.d.mts +0 -31
  86. package/dist/actions/show-card.d.ts +0 -31
  87. package/dist/actions/show-card.js +0 -28
  88. package/dist/actions/show-card.js.map +0 -1
  89. package/dist/actions/show-card.mjs +0 -26
  90. package/dist/actions/show-card.mjs.map +0 -1
  91. package/dist/actions/submit/submit.d.mts +0 -51
  92. package/dist/actions/submit/submit.d.ts +0 -51
  93. package/dist/actions/submit/submit.js +0 -45
  94. package/dist/actions/submit/submit.js.map +0 -1
  95. package/dist/actions/submit/submit.mjs +0 -43
  96. package/dist/actions/submit/submit.mjs.map +0 -1
  97. package/dist/actions/toggle-visibility.d.mts +0 -29
  98. package/dist/actions/toggle-visibility.d.ts +0 -29
  99. package/dist/actions/toggle-visibility.js +0 -29
  100. package/dist/actions/toggle-visibility.js.map +0 -1
  101. package/dist/actions/toggle-visibility.mjs +0 -27
  102. package/dist/actions/toggle-visibility.mjs.map +0 -1
  103. package/dist/base.d.mts +0 -31
  104. package/dist/base.d.ts +0 -31
  105. package/dist/base.js +0 -105
  106. package/dist/base.js.map +0 -1
  107. package/dist/base.mjs +0 -103
  108. package/dist/base.mjs.map +0 -1
  109. package/dist/card.d.mts +0 -31
  110. package/dist/card.d.ts +0 -31
  111. package/dist/card.js +0 -117
  112. package/dist/card.js.map +0 -1
  113. package/dist/card.mjs +0 -114
  114. package/dist/card.mjs.map +0 -1
  115. package/dist/charts/color.d.mts +0 -3
  116. package/dist/charts/color.d.ts +0 -3
  117. package/dist/charts/color.js +0 -4
  118. package/dist/charts/color.js.map +0 -1
  119. package/dist/charts/color.mjs +0 -3
  120. package/dist/charts/color.mjs.map +0 -1
  121. package/dist/charts/donut.d.mts +0 -2288
  122. package/dist/charts/donut.d.ts +0 -2288
  123. package/dist/charts/donut.js +0 -79
  124. package/dist/charts/donut.js.map +0 -1
  125. package/dist/charts/donut.mjs +0 -76
  126. package/dist/charts/donut.mjs.map +0 -1
  127. package/dist/charts/index.d.mts +0 -31
  128. package/dist/charts/index.d.ts +0 -31
  129. package/dist/charts/index.js +0 -28
  130. package/dist/charts/index.js.map +0 -1
  131. package/dist/charts/index.mjs +0 -5
  132. package/dist/charts/index.mjs.map +0 -1
  133. package/dist/charts/line.d.mts +0 -31
  134. package/dist/charts/line.d.ts +0 -31
  135. package/dist/charts/line.js +0 -97
  136. package/dist/charts/line.js.map +0 -1
  137. package/dist/charts/line.mjs +0 -93
  138. package/dist/charts/line.mjs.map +0 -1
  139. package/dist/common/associated-inputs.d.mts +0 -3
  140. package/dist/common/associated-inputs.d.ts +0 -3
  141. package/dist/common/associated-inputs.js +0 -4
  142. package/dist/common/associated-inputs.js.map +0 -1
  143. package/dist/common/associated-inputs.mjs +0 -3
  144. package/dist/common/associated-inputs.mjs.map +0 -1
  145. package/dist/common/auth/auth-card-button.d.mts +0 -50
  146. package/dist/common/auth/auth-card-button.d.ts +0 -50
  147. package/dist/common/auth/auth-card-button.js +0 -45
  148. package/dist/common/auth/auth-card-button.js.map +0 -1
  149. package/dist/common/auth/auth-card-button.mjs +0 -43
  150. package/dist/common/auth/auth-card-button.mjs.map +0 -1
  151. package/dist/common/auth/auth.d.mts +0 -52
  152. package/dist/common/auth/auth.d.ts +0 -52
  153. package/dist/common/auth/auth.js +0 -46
  154. package/dist/common/auth/auth.js.map +0 -1
  155. package/dist/common/auth/auth.mjs +0 -44
  156. package/dist/common/auth/auth.mjs.map +0 -1
  157. package/dist/common/auth/index.d.mts +0 -3
  158. package/dist/common/auth/index.d.ts +0 -3
  159. package/dist/common/auth/index.js +0 -28
  160. package/dist/common/auth/index.js.map +0 -1
  161. package/dist/common/auth/index.mjs +0 -5
  162. package/dist/common/auth/index.mjs.map +0 -1
  163. package/dist/common/auth/token-exchange-resource.d.mts +0 -37
  164. package/dist/common/auth/token-exchange-resource.d.ts +0 -37
  165. package/dist/common/auth/token-exchange-resource.js +0 -25
  166. package/dist/common/auth/token-exchange-resource.js.map +0 -1
  167. package/dist/common/auth/token-exchange-resource.mjs +0 -23
  168. package/dist/common/auth/token-exchange-resource.mjs.map +0 -1
  169. package/dist/common/color.d.mts +0 -3
  170. package/dist/common/color.d.ts +0 -3
  171. package/dist/common/color.js +0 -4
  172. package/dist/common/color.js.map +0 -1
  173. package/dist/common/color.mjs +0 -3
  174. package/dist/common/color.mjs.map +0 -1
  175. package/dist/common/font.d.mts +0 -5
  176. package/dist/common/font.d.ts +0 -5
  177. package/dist/common/font.js +0 -4
  178. package/dist/common/font.js.map +0 -1
  179. package/dist/common/font.mjs +0 -3
  180. package/dist/common/font.mjs.map +0 -1
  181. package/dist/common/horizontal-alignment.d.mts +0 -6
  182. package/dist/common/horizontal-alignment.d.ts +0 -6
  183. package/dist/common/horizontal-alignment.js +0 -4
  184. package/dist/common/horizontal-alignment.js.map +0 -1
  185. package/dist/common/horizontal-alignment.mjs +0 -3
  186. package/dist/common/horizontal-alignment.mjs.map +0 -1
  187. package/dist/common/refresh.d.mts +0 -23
  188. package/dist/common/refresh.d.ts +0 -23
  189. package/dist/common/refresh.js +0 -4
  190. package/dist/common/refresh.js.map +0 -1
  191. package/dist/common/refresh.mjs +0 -3
  192. package/dist/common/refresh.mjs.map +0 -1
  193. package/dist/common/spacing.d.mts +0 -6
  194. package/dist/common/spacing.d.ts +0 -6
  195. package/dist/common/spacing.js +0 -4
  196. package/dist/common/spacing.js.map +0 -1
  197. package/dist/common/spacing.mjs +0 -3
  198. package/dist/common/spacing.mjs.map +0 -1
  199. package/dist/common/target-element.d.mts +0 -16
  200. package/dist/common/target-element.d.ts +0 -16
  201. package/dist/common/target-element.js +0 -4
  202. package/dist/common/target-element.js.map +0 -1
  203. package/dist/common/target-element.mjs +0 -3
  204. package/dist/common/target-element.mjs.map +0 -1
  205. package/dist/common/target-width.d.mts +0 -9
  206. package/dist/common/target-width.d.ts +0 -9
  207. package/dist/common/target-width.js +0 -4
  208. package/dist/common/target-width.js.map +0 -1
  209. package/dist/common/target-width.mjs +0 -3
  210. package/dist/common/target-width.mjs.map +0 -1
  211. package/dist/common/vertical-alignment.d.mts +0 -6
  212. package/dist/common/vertical-alignment.d.ts +0 -6
  213. package/dist/common/vertical-alignment.js +0 -4
  214. package/dist/common/vertical-alignment.js.map +0 -1
  215. package/dist/common/vertical-alignment.mjs +0 -3
  216. package/dist/common/vertical-alignment.mjs.map +0 -1
  217. package/dist/containers/action-set.d.mts +0 -31
  218. package/dist/containers/action-set.d.ts +0 -31
  219. package/dist/containers/action-set.js +0 -28
  220. package/dist/containers/action-set.js.map +0 -1
  221. package/dist/containers/action-set.mjs +0 -26
  222. package/dist/containers/action-set.mjs.map +0 -1
  223. package/dist/containers/base.d.mts +0 -31
  224. package/dist/containers/base.d.ts +0 -31
  225. package/dist/containers/base.js +0 -68
  226. package/dist/containers/base.js.map +0 -1
  227. package/dist/containers/base.mjs +0 -66
  228. package/dist/containers/base.mjs.map +0 -1
  229. package/dist/containers/carousel.d.mts +0 -31
  230. package/dist/containers/carousel.d.ts +0 -31
  231. package/dist/containers/carousel.js +0 -158
  232. package/dist/containers/carousel.js.map +0 -1
  233. package/dist/containers/carousel.mjs +0 -155
  234. package/dist/containers/carousel.mjs.map +0 -1
  235. package/dist/containers/column-set.d.mts +0 -31
  236. package/dist/containers/column-set.d.ts +0 -31
  237. package/dist/containers/column-set.js +0 -44
  238. package/dist/containers/column-set.js.map +0 -1
  239. package/dist/containers/column-set.mjs +0 -42
  240. package/dist/containers/column-set.mjs.map +0 -1
  241. package/dist/containers/column.d.mts +0 -31
  242. package/dist/containers/column.d.ts +0 -31
  243. package/dist/containers/column.js +0 -60
  244. package/dist/containers/column.js.map +0 -1
  245. package/dist/containers/column.mjs +0 -58
  246. package/dist/containers/column.mjs.map +0 -1
  247. package/dist/containers/container.d.mts +0 -31
  248. package/dist/containers/container.d.ts +0 -31
  249. package/dist/containers/container.js +0 -52
  250. package/dist/containers/container.js.map +0 -1
  251. package/dist/containers/container.mjs +0 -50
  252. package/dist/containers/container.mjs.map +0 -1
  253. package/dist/containers/fact-set.d.mts +0 -31
  254. package/dist/containers/fact-set.d.ts +0 -31
  255. package/dist/containers/fact-set.js +0 -43
  256. package/dist/containers/fact-set.js.map +0 -1
  257. package/dist/containers/fact-set.mjs +0 -40
  258. package/dist/containers/fact-set.mjs.map +0 -1
  259. package/dist/containers/image-set.d.mts +0 -31
  260. package/dist/containers/image-set.d.ts +0 -31
  261. package/dist/containers/image-set.js +0 -46
  262. package/dist/containers/image-set.js.map +0 -1
  263. package/dist/containers/image-set.mjs +0 -44
  264. package/dist/containers/image-set.mjs.map +0 -1
  265. package/dist/containers/index.d.mts +0 -31
  266. package/dist/containers/index.d.ts +0 -31
  267. package/dist/containers/index.js +0 -56
  268. package/dist/containers/index.js.map +0 -1
  269. package/dist/containers/index.mjs +0 -9
  270. package/dist/containers/index.mjs.map +0 -1
  271. package/dist/element.d.mts +0 -31
  272. package/dist/element.d.ts +0 -31
  273. package/dist/element.js +0 -4
  274. package/dist/element.js.map +0 -1
  275. package/dist/element.mjs +0 -3
  276. package/dist/element.mjs.map +0 -1
  277. package/dist/inputs/base.d.mts +0 -31
  278. package/dist/inputs/base.d.ts +0 -31
  279. package/dist/inputs/base.js +0 -63
  280. package/dist/inputs/base.js.map +0 -1
  281. package/dist/inputs/base.mjs +0 -61
  282. package/dist/inputs/base.mjs.map +0 -1
  283. package/dist/inputs/choice-set.d.mts +0 -31
  284. package/dist/inputs/choice-set.d.ts +0 -31
  285. package/dist/inputs/choice-set.js +0 -121
  286. package/dist/inputs/choice-set.js.map +0 -1
  287. package/dist/inputs/choice-set.mjs +0 -117
  288. package/dist/inputs/choice-set.mjs.map +0 -1
  289. package/dist/inputs/date.d.mts +0 -31
  290. package/dist/inputs/date.d.ts +0 -31
  291. package/dist/inputs/date.js +0 -52
  292. package/dist/inputs/date.js.map +0 -1
  293. package/dist/inputs/date.mjs +0 -50
  294. package/dist/inputs/date.mjs.map +0 -1
  295. package/dist/inputs/index.d.mts +0 -31
  296. package/dist/inputs/index.d.ts +0 -31
  297. package/dist/inputs/index.js +0 -49
  298. package/dist/inputs/index.js.map +0 -1
  299. package/dist/inputs/index.mjs +0 -8
  300. package/dist/inputs/index.mjs.map +0 -1
  301. package/dist/inputs/number.d.mts +0 -31
  302. package/dist/inputs/number.d.ts +0 -31
  303. package/dist/inputs/number.js +0 -52
  304. package/dist/inputs/number.js.map +0 -1
  305. package/dist/inputs/number.mjs +0 -50
  306. package/dist/inputs/number.mjs.map +0 -1
  307. package/dist/inputs/text.d.mts +0 -31
  308. package/dist/inputs/text.d.ts +0 -31
  309. package/dist/inputs/text.js +0 -76
  310. package/dist/inputs/text.js.map +0 -1
  311. package/dist/inputs/text.mjs +0 -74
  312. package/dist/inputs/text.mjs.map +0 -1
  313. package/dist/inputs/time.d.mts +0 -31
  314. package/dist/inputs/time.d.ts +0 -31
  315. package/dist/inputs/time.js +0 -52
  316. package/dist/inputs/time.js.map +0 -1
  317. package/dist/inputs/time.mjs +0 -50
  318. package/dist/inputs/time.mjs.map +0 -1
  319. package/dist/inputs/toggle.d.mts +0 -31
  320. package/dist/inputs/toggle.d.ts +0 -31
  321. package/dist/inputs/toggle.js +0 -57
  322. package/dist/inputs/toggle.js.map +0 -1
  323. package/dist/inputs/toggle.mjs +0 -55
  324. package/dist/inputs/toggle.mjs.map +0 -1
  325. package/dist/layouts/area-grid.d.mts +0 -133
  326. package/dist/layouts/area-grid.d.ts +0 -133
  327. package/dist/layouts/area-grid.js +0 -113
  328. package/dist/layouts/area-grid.js.map +0 -1
  329. package/dist/layouts/area-grid.mjs +0 -110
  330. package/dist/layouts/area-grid.mjs.map +0 -1
  331. package/dist/layouts/flow.d.mts +0 -119
  332. package/dist/layouts/flow.d.ts +0 -119
  333. package/dist/layouts/flow.js +0 -96
  334. package/dist/layouts/flow.js.map +0 -1
  335. package/dist/layouts/flow.mjs +0 -94
  336. package/dist/layouts/flow.mjs.map +0 -1
  337. package/dist/layouts/index.d.mts +0 -14
  338. package/dist/layouts/index.d.ts +0 -14
  339. package/dist/layouts/index.js +0 -28
  340. package/dist/layouts/index.js.map +0 -1
  341. package/dist/layouts/index.mjs +0 -5
  342. package/dist/layouts/index.mjs.map +0 -1
  343. package/dist/layouts/stack.d.mts +0 -28
  344. package/dist/layouts/stack.d.ts +0 -28
  345. package/dist/layouts/stack.js +0 -24
  346. package/dist/layouts/stack.js.map +0 -1
  347. package/dist/layouts/stack.mjs +0 -22
  348. package/dist/layouts/stack.mjs.map +0 -1
  349. package/dist/medias/background-image.d.mts +0 -56
  350. package/dist/medias/background-image.d.ts +0 -56
  351. package/dist/medias/background-image.js +0 -49
  352. package/dist/medias/background-image.js.map +0 -1
  353. package/dist/medias/background-image.mjs +0 -47
  354. package/dist/medias/background-image.mjs.map +0 -1
  355. package/dist/medias/badge.d.mts +0 -31
  356. package/dist/medias/badge.d.ts +0 -31
  357. package/dist/medias/badge.js +0 -84
  358. package/dist/medias/badge.js.map +0 -1
  359. package/dist/medias/badge.mjs +0 -82
  360. package/dist/medias/badge.mjs.map +0 -1
  361. package/dist/medias/code-block.d.mts +0 -31
  362. package/dist/medias/code-block.d.ts +0 -31
  363. package/dist/medias/code-block.js +0 -43
  364. package/dist/medias/code-block.js.map +0 -1
  365. package/dist/medias/code-block.mjs +0 -41
  366. package/dist/medias/code-block.mjs.map +0 -1
  367. package/dist/medias/icon.d.mts +0 -31
  368. package/dist/medias/icon.d.ts +0 -31
  369. package/dist/medias/icon.js +0 -56
  370. package/dist/medias/icon.js.map +0 -1
  371. package/dist/medias/icon.mjs +0 -54
  372. package/dist/medias/icon.mjs.map +0 -1
  373. package/dist/medias/image.d.mts +0 -31
  374. package/dist/medias/image.d.ts +0 -31
  375. package/dist/medias/image.js +0 -80
  376. package/dist/medias/image.js.map +0 -1
  377. package/dist/medias/image.mjs +0 -78
  378. package/dist/medias/image.mjs.map +0 -1
  379. package/dist/medias/index.d.mts +0 -31
  380. package/dist/medias/index.d.ts +0 -31
  381. package/dist/medias/index.js +0 -84
  382. package/dist/medias/index.js.map +0 -1
  383. package/dist/medias/index.mjs +0 -13
  384. package/dist/medias/index.mjs.map +0 -1
  385. package/dist/medias/media.d.mts +0 -31
  386. package/dist/medias/media.d.ts +0 -31
  387. package/dist/medias/media.js +0 -91
  388. package/dist/medias/media.js.map +0 -1
  389. package/dist/medias/media.mjs +0 -87
  390. package/dist/medias/media.mjs.map +0 -1
  391. package/dist/medias/progress-bar.d.mts +0 -31
  392. package/dist/medias/progress-bar.d.ts +0 -31
  393. package/dist/medias/progress-bar.js +0 -43
  394. package/dist/medias/progress-bar.js.map +0 -1
  395. package/dist/medias/progress-bar.mjs +0 -41
  396. package/dist/medias/progress-bar.mjs.map +0 -1
  397. package/dist/medias/progress-ring.d.mts +0 -31
  398. package/dist/medias/progress-ring.d.ts +0 -31
  399. package/dist/medias/progress-ring.js +0 -46
  400. package/dist/medias/progress-ring.js.map +0 -1
  401. package/dist/medias/progress-ring.mjs +0 -44
  402. package/dist/medias/progress-ring.mjs.map +0 -1
  403. package/dist/medias/rich-text-block.d.mts +0 -31
  404. package/dist/medias/rich-text-block.d.ts +0 -31
  405. package/dist/medias/rich-text-block.js +0 -33
  406. package/dist/medias/rich-text-block.js.map +0 -1
  407. package/dist/medias/rich-text-block.mjs +0 -31
  408. package/dist/medias/rich-text-block.mjs.map +0 -1
  409. package/dist/medias/text-block.d.mts +0 -31
  410. package/dist/medias/text-block.d.ts +0 -31
  411. package/dist/medias/text-block.js +0 -95
  412. package/dist/medias/text-block.js.map +0 -1
  413. package/dist/medias/text-block.mjs +0 -93
  414. package/dist/medias/text-block.mjs.map +0 -1
  415. package/dist/medias/text-run.d.mts +0 -31
  416. package/dist/medias/text-run.d.ts +0 -31
  417. package/dist/medias/text-run.js +0 -108
  418. package/dist/medias/text-run.js.map +0 -1
  419. package/dist/medias/text-run.mjs +0 -106
  420. package/dist/medias/text-run.mjs.map +0 -1
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
- var base = require('./base');
4
-
5
- class NumberInput extends base.InputElement {
6
- type;
7
- /**
8
- * Hint of maximum value (may be ignored by some clients).
9
- */
10
- max;
11
- /**
12
- * Hint of minimum value (may be ignored by some clients).
13
- */
14
- min;
15
- /**
16
- * Description of the input desired. Displayed when no selection has been made.
17
- */
18
- placeholder;
19
- /**
20
- * Initial value for this field.
21
- */
22
- value;
23
- constructor(options = {}) {
24
- super();
25
- this.type = "Input.Number";
26
- this.withOptions(options);
27
- }
28
- withOptions(value) {
29
- Object.assign(this, value);
30
- return this;
31
- }
32
- withMax(value) {
33
- this.max = value;
34
- return this;
35
- }
36
- withMin(value) {
37
- this.min = value;
38
- return this;
39
- }
40
- withPlaceholder(value) {
41
- this.placeholder = value;
42
- return this;
43
- }
44
- withValue(value) {
45
- this.value = value;
46
- return this;
47
- }
48
- }
49
-
50
- exports.NumberInput = NumberInput;
51
- //# sourceMappingURL=number.js.map
52
- //# sourceMappingURL=number.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/inputs/number.ts"],"names":["InputElement"],"mappings":";;;;AAkCO,MAAM,oBAAoBA,iBAAqC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA8B,GAAA,EAAI,EAAA;AAC5C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,cAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAA2B,EAAA;AACrC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"number.js","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Allows a user to enter a number.\n */\nexport interface INumberInput extends IInputElement {\n type: 'Input.Number';\n\n /**\n * Hint of maximum value (may be ignored by some clients).\n */\n max?: number;\n\n /**\n * Hint of minimum value (may be ignored by some clients).\n */\n min?: number;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * Initial value for this field.\n */\n value?: number;\n}\n\nexport type NumberInputOptions = Omit<INumberInput, 'type'>;\n\n/**\n * Allows a user to enter a number.\n */\nexport class NumberInput extends InputElement implements INumberInput {\n type: 'Input.Number';\n\n /**\n * Hint of maximum value (may be ignored by some clients).\n */\n max?: number;\n\n /**\n * Hint of minimum value (may be ignored by some clients).\n */\n min?: number;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * Initial value for this field.\n */\n value?: number;\n\n constructor(options: NumberInputOptions = {}) {\n super();\n this.type = 'Input.Number';\n this.withOptions(options);\n }\n\n withOptions(value: NumberInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMax(value: number) {\n this.max = value;\n return this;\n }\n\n withMin(value: number) {\n this.min = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withValue(value: number) {\n this.value = value;\n return this;\n }\n}\n"]}
@@ -1,50 +0,0 @@
1
- import { InputElement } from './base';
2
-
3
- class NumberInput extends InputElement {
4
- type;
5
- /**
6
- * Hint of maximum value (may be ignored by some clients).
7
- */
8
- max;
9
- /**
10
- * Hint of minimum value (may be ignored by some clients).
11
- */
12
- min;
13
- /**
14
- * Description of the input desired. Displayed when no selection has been made.
15
- */
16
- placeholder;
17
- /**
18
- * Initial value for this field.
19
- */
20
- value;
21
- constructor(options = {}) {
22
- super();
23
- this.type = "Input.Number";
24
- this.withOptions(options);
25
- }
26
- withOptions(value) {
27
- Object.assign(this, value);
28
- return this;
29
- }
30
- withMax(value) {
31
- this.max = value;
32
- return this;
33
- }
34
- withMin(value) {
35
- this.min = value;
36
- return this;
37
- }
38
- withPlaceholder(value) {
39
- this.placeholder = value;
40
- return this;
41
- }
42
- withValue(value) {
43
- this.value = value;
44
- return this;
45
- }
46
- }
47
-
48
- export { NumberInput };
49
- //# sourceMappingURL=number.mjs.map
50
- //# sourceMappingURL=number.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/inputs/number.ts"],"names":[],"mappings":";;AAkCO,MAAM,oBAAoB,YAAqC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA8B,GAAA,EAAI,EAAA;AAC5C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,cAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAA2B,EAAA;AACrC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"number.mjs","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Allows a user to enter a number.\n */\nexport interface INumberInput extends IInputElement {\n type: 'Input.Number';\n\n /**\n * Hint of maximum value (may be ignored by some clients).\n */\n max?: number;\n\n /**\n * Hint of minimum value (may be ignored by some clients).\n */\n min?: number;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * Initial value for this field.\n */\n value?: number;\n}\n\nexport type NumberInputOptions = Omit<INumberInput, 'type'>;\n\n/**\n * Allows a user to enter a number.\n */\nexport class NumberInput extends InputElement implements INumberInput {\n type: 'Input.Number';\n\n /**\n * Hint of maximum value (may be ignored by some clients).\n */\n max?: number;\n\n /**\n * Hint of minimum value (may be ignored by some clients).\n */\n min?: number;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * Initial value for this field.\n */\n value?: number;\n\n constructor(options: NumberInputOptions = {}) {\n super();\n this.type = 'Input.Number';\n this.withOptions(options);\n }\n\n withOptions(value: NumberInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMax(value: number) {\n this.max = value;\n return this;\n }\n\n withMin(value: number) {\n this.min = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withValue(value: number) {\n this.value = value;\n return this;\n }\n}\n"]}
@@ -1,31 +0,0 @@
1
- export { aJ as ITextInput, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle } from '../charts/donut.mjs';
2
- import '../actions/execute.mjs';
3
- import '../common/associated-inputs.mjs';
4
- import '../actions/base.mjs';
5
- import '../actions/open-url.mjs';
6
- import '../common/vertical-alignment.mjs';
7
- import '../common/refresh.mjs';
8
- import '../common/auth/auth.mjs';
9
- import '../common/auth/auth-card-button.mjs';
10
- import '../common/auth/token-exchange-resource.mjs';
11
- import '../common/horizontal-alignment.mjs';
12
- import '../common/spacing.mjs';
13
- import '../common/target-width.mjs';
14
- import '../charts/color.mjs';
15
- import '../layouts/index.mjs';
16
- import '../layouts/area-grid.mjs';
17
- import '../layouts/flow.mjs';
18
- import '../layouts/stack.mjs';
19
- import '../medias/background-image.mjs';
20
- import '../common/color.mjs';
21
- import '../common/font.mjs';
22
- import '../actions/submit/submit.mjs';
23
- import '../actions/submit/im-back.mjs';
24
- import '../actions/submit/invoke.mjs';
25
- import '../actions/submit/message-back.mjs';
26
- import '../actions/submit/sign-in.mjs';
27
- import '../actions/submit/task-fetch.mjs';
28
- import '../actions/submit/collab-stage.mjs';
29
- import '../common/tab-info.mjs';
30
- import '../actions/toggle-visibility.mjs';
31
- import '../common/target-element.mjs';
@@ -1,31 +0,0 @@
1
- export { aJ as ITextInput, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle } from '../charts/donut.js';
2
- import '../actions/execute.js';
3
- import '../common/associated-inputs.js';
4
- import '../actions/base.js';
5
- import '../actions/open-url.js';
6
- import '../common/vertical-alignment.js';
7
- import '../common/refresh.js';
8
- import '../common/auth/auth.js';
9
- import '../common/auth/auth-card-button.js';
10
- import '../common/auth/token-exchange-resource.js';
11
- import '../common/horizontal-alignment.js';
12
- import '../common/spacing.js';
13
- import '../common/target-width.js';
14
- import '../charts/color.js';
15
- import '../layouts/index.js';
16
- import '../layouts/area-grid.js';
17
- import '../layouts/flow.js';
18
- import '../layouts/stack.js';
19
- import '../medias/background-image.js';
20
- import '../common/color.js';
21
- import '../common/font.js';
22
- import '../actions/submit/submit.js';
23
- import '../actions/submit/im-back.js';
24
- import '../actions/submit/invoke.js';
25
- import '../actions/submit/message-back.js';
26
- import '../actions/submit/sign-in.js';
27
- import '../actions/submit/task-fetch.js';
28
- import '../actions/submit/collab-stage.js';
29
- import '../common/tab-info.js';
30
- import '../actions/toggle-visibility.js';
31
- import '../common/target-element.js';
@@ -1,76 +0,0 @@
1
- 'use strict';
2
-
3
- var base = require('./base');
4
-
5
- class TextInput extends base.InputElement {
6
- type;
7
- /**
8
- * If `true`, allow multiple lines of input.
9
- */
10
- isMultiline;
11
- /**
12
- * Hint of maximum length characters to collect (may be ignored by some clients).
13
- */
14
- maxLength;
15
- /**
16
- * Description of the input desired. Displayed when no text has been input.
17
- */
18
- placeholder;
19
- /**
20
- * Regular expression indicating the required format of this text input.
21
- */
22
- regex;
23
- /**
24
- * Style hint for text input.
25
- */
26
- style;
27
- /**
28
- * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).
29
- */
30
- inlineAction;
31
- /**
32
- * The initial value for this field.
33
- */
34
- value;
35
- constructor(options = {}) {
36
- super();
37
- this.type = "Input.Text";
38
- this.withOptions(options);
39
- }
40
- withOptions(value) {
41
- Object.assign(this, value);
42
- return this;
43
- }
44
- withMultiLine(value = true) {
45
- this.isMultiline = value;
46
- return this;
47
- }
48
- withMaxLength(value) {
49
- this.maxLength = value;
50
- return this;
51
- }
52
- withPlaceholder(value) {
53
- this.placeholder = value;
54
- return this;
55
- }
56
- withRegex(value) {
57
- this.regex = value;
58
- return this;
59
- }
60
- withStyle(value) {
61
- this.style = value;
62
- return this;
63
- }
64
- withInlineAction(value) {
65
- this.inlineAction = value;
66
- return this;
67
- }
68
- withValue(value) {
69
- this.value = value;
70
- return this;
71
- }
72
- }
73
-
74
- exports.TextInput = TextInput;
75
- //# sourceMappingURL=text.js.map
76
- //# sourceMappingURL=text.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/inputs/text.ts"],"names":["InputElement"],"mappings":";;;;AAwDO,MAAM,kBAAkBA,iBAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAA,CAAc,QAAQ,IAAM,EAAA;AAC1B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuB,EAAA;AAC/B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"text.js","sourcesContent":["import { Action } from '../actions';\r\n\r\nimport { IInputElement, InputElement } from './base';\r\n\r\n/**\r\n * Style hint for text input.\r\n */\r\nexport type TextInputStyle = 'text' | 'tel' | 'url' | 'email' | 'password';\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport interface ITextInput extends IInputElement {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n}\r\n\r\nexport type TextInputOptions = Omit<ITextInput, 'type'>;\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport class TextInput extends InputElement implements ITextInput {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n\r\n constructor(options: TextInputOptions = {}) {\r\n super();\r\n this.type = 'Input.Text';\r\n this.withOptions(options);\r\n }\r\n\r\n withOptions(value: TextInputOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withMultiLine(value = true) {\r\n this.isMultiline = value;\r\n return this;\r\n }\r\n\r\n withMaxLength(value: number) {\r\n this.maxLength = value;\r\n return this;\r\n }\r\n\r\n withPlaceholder(value: string) {\r\n this.placeholder = value;\r\n return this;\r\n }\r\n\r\n withRegex(value: string) {\r\n this.regex = value;\r\n return this;\r\n }\r\n\r\n withStyle(value: TextInputStyle) {\r\n this.style = value;\r\n return this;\r\n }\r\n\r\n withInlineAction(value: Action) {\r\n this.inlineAction = value;\r\n return this;\r\n }\r\n\r\n withValue(value: string) {\r\n this.value = value;\r\n return this;\r\n }\r\n}\r\n"]}
@@ -1,74 +0,0 @@
1
- import { InputElement } from './base';
2
-
3
- class TextInput extends InputElement {
4
- type;
5
- /**
6
- * If `true`, allow multiple lines of input.
7
- */
8
- isMultiline;
9
- /**
10
- * Hint of maximum length characters to collect (may be ignored by some clients).
11
- */
12
- maxLength;
13
- /**
14
- * Description of the input desired. Displayed when no text has been input.
15
- */
16
- placeholder;
17
- /**
18
- * Regular expression indicating the required format of this text input.
19
- */
20
- regex;
21
- /**
22
- * Style hint for text input.
23
- */
24
- style;
25
- /**
26
- * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).
27
- */
28
- inlineAction;
29
- /**
30
- * The initial value for this field.
31
- */
32
- value;
33
- constructor(options = {}) {
34
- super();
35
- this.type = "Input.Text";
36
- this.withOptions(options);
37
- }
38
- withOptions(value) {
39
- Object.assign(this, value);
40
- return this;
41
- }
42
- withMultiLine(value = true) {
43
- this.isMultiline = value;
44
- return this;
45
- }
46
- withMaxLength(value) {
47
- this.maxLength = value;
48
- return this;
49
- }
50
- withPlaceholder(value) {
51
- this.placeholder = value;
52
- return this;
53
- }
54
- withRegex(value) {
55
- this.regex = value;
56
- return this;
57
- }
58
- withStyle(value) {
59
- this.style = value;
60
- return this;
61
- }
62
- withInlineAction(value) {
63
- this.inlineAction = value;
64
- return this;
65
- }
66
- withValue(value) {
67
- this.value = value;
68
- return this;
69
- }
70
- }
71
-
72
- export { TextInput };
73
- //# sourceMappingURL=text.mjs.map
74
- //# sourceMappingURL=text.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/inputs/text.ts"],"names":[],"mappings":";;AAwDO,MAAM,kBAAkB,YAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAA,CAAc,QAAQ,IAAM,EAAA;AAC1B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuB,EAAA;AAC/B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"text.mjs","sourcesContent":["import { Action } from '../actions';\r\n\r\nimport { IInputElement, InputElement } from './base';\r\n\r\n/**\r\n * Style hint for text input.\r\n */\r\nexport type TextInputStyle = 'text' | 'tel' | 'url' | 'email' | 'password';\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport interface ITextInput extends IInputElement {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n}\r\n\r\nexport type TextInputOptions = Omit<ITextInput, 'type'>;\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport class TextInput extends InputElement implements ITextInput {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n\r\n constructor(options: TextInputOptions = {}) {\r\n super();\r\n this.type = 'Input.Text';\r\n this.withOptions(options);\r\n }\r\n\r\n withOptions(value: TextInputOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withMultiLine(value = true) {\r\n this.isMultiline = value;\r\n return this;\r\n }\r\n\r\n withMaxLength(value: number) {\r\n this.maxLength = value;\r\n return this;\r\n }\r\n\r\n withPlaceholder(value: string) {\r\n this.placeholder = value;\r\n return this;\r\n }\r\n\r\n withRegex(value: string) {\r\n this.regex = value;\r\n return this;\r\n }\r\n\r\n withStyle(value: TextInputStyle) {\r\n this.style = value;\r\n return this;\r\n }\r\n\r\n withInlineAction(value: Action) {\r\n this.inlineAction = value;\r\n return this;\r\n }\r\n\r\n withValue(value: string) {\r\n this.value = value;\r\n return this;\r\n }\r\n}\r\n"]}
@@ -1,31 +0,0 @@
1
- export { aM as ITimeInput, aO as TimeInput, aN as TimeInputOptions } from '../charts/donut.mjs';
2
- import '../actions/execute.mjs';
3
- import '../common/associated-inputs.mjs';
4
- import '../actions/base.mjs';
5
- import '../actions/open-url.mjs';
6
- import '../common/vertical-alignment.mjs';
7
- import '../common/refresh.mjs';
8
- import '../common/auth/auth.mjs';
9
- import '../common/auth/auth-card-button.mjs';
10
- import '../common/auth/token-exchange-resource.mjs';
11
- import '../common/horizontal-alignment.mjs';
12
- import '../common/spacing.mjs';
13
- import '../common/target-width.mjs';
14
- import '../charts/color.mjs';
15
- import '../layouts/index.mjs';
16
- import '../layouts/area-grid.mjs';
17
- import '../layouts/flow.mjs';
18
- import '../layouts/stack.mjs';
19
- import '../medias/background-image.mjs';
20
- import '../common/color.mjs';
21
- import '../common/font.mjs';
22
- import '../actions/submit/submit.mjs';
23
- import '../actions/submit/im-back.mjs';
24
- import '../actions/submit/invoke.mjs';
25
- import '../actions/submit/message-back.mjs';
26
- import '../actions/submit/sign-in.mjs';
27
- import '../actions/submit/task-fetch.mjs';
28
- import '../actions/submit/collab-stage.mjs';
29
- import '../common/tab-info.mjs';
30
- import '../actions/toggle-visibility.mjs';
31
- import '../common/target-element.mjs';
@@ -1,31 +0,0 @@
1
- export { aM as ITimeInput, aO as TimeInput, aN as TimeInputOptions } from '../charts/donut.js';
2
- import '../actions/execute.js';
3
- import '../common/associated-inputs.js';
4
- import '../actions/base.js';
5
- import '../actions/open-url.js';
6
- import '../common/vertical-alignment.js';
7
- import '../common/refresh.js';
8
- import '../common/auth/auth.js';
9
- import '../common/auth/auth-card-button.js';
10
- import '../common/auth/token-exchange-resource.js';
11
- import '../common/horizontal-alignment.js';
12
- import '../common/spacing.js';
13
- import '../common/target-width.js';
14
- import '../charts/color.js';
15
- import '../layouts/index.js';
16
- import '../layouts/area-grid.js';
17
- import '../layouts/flow.js';
18
- import '../layouts/stack.js';
19
- import '../medias/background-image.js';
20
- import '../common/color.js';
21
- import '../common/font.js';
22
- import '../actions/submit/submit.js';
23
- import '../actions/submit/im-back.js';
24
- import '../actions/submit/invoke.js';
25
- import '../actions/submit/message-back.js';
26
- import '../actions/submit/sign-in.js';
27
- import '../actions/submit/task-fetch.js';
28
- import '../actions/submit/collab-stage.js';
29
- import '../common/tab-info.js';
30
- import '../actions/toggle-visibility.js';
31
- import '../common/target-element.js';
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
- var base = require('./base');
4
-
5
- class TimeInput extends base.InputElement {
6
- type;
7
- /**
8
- * Hint of maximum value expressed in HH:MM (may be ignored by some clients).
9
- */
10
- max;
11
- /**
12
- * Hint of minimum value expressed in HH:MM (may be ignored by some clients).
13
- */
14
- min;
15
- /**
16
- * Description of the input desired. Displayed when no time has been selected.
17
- */
18
- placeholder;
19
- /**
20
- * The initial value for this field expressed in HH:MM.
21
- */
22
- value;
23
- constructor(options = {}) {
24
- super();
25
- this.type = "Input.Time";
26
- this.withOptions(options);
27
- }
28
- withOptions(value) {
29
- Object.assign(this, value);
30
- return this;
31
- }
32
- withMax(value) {
33
- this.max = value;
34
- return this;
35
- }
36
- withMin(value) {
37
- this.min = value;
38
- return this;
39
- }
40
- withPlaceholder(value) {
41
- this.placeholder = value;
42
- return this;
43
- }
44
- withValue(value) {
45
- this.value = value;
46
- return this;
47
- }
48
- }
49
-
50
- exports.TimeInput = TimeInput;
51
- //# sourceMappingURL=time.js.map
52
- //# sourceMappingURL=time.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/inputs/time.ts"],"names":["InputElement"],"mappings":";;;;AAkCO,MAAM,kBAAkBA,iBAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"time.js","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Lets a user select a time.\n */\nexport interface ITimeInput extends IInputElement {\n type: 'Input.Time';\n\n /**\n * Hint of maximum value expressed in HH:MM (may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in HH:MM (may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no time has been selected.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in HH:MM.\n */\n value?: string;\n}\n\nexport type TimeInputOptions = Omit<ITimeInput, 'type'>;\n\n/**\n * Lets a user select a time.\n */\nexport class TimeInput extends InputElement implements ITimeInput {\n type: 'Input.Time';\n\n /**\n * Hint of maximum value expressed in HH:MM (may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in HH:MM (may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no time has been selected.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in HH:MM.\n */\n value?: string;\n\n constructor(options: TimeInputOptions = {}) {\n super();\n this.type = 'Input.Time';\n this.withOptions(options);\n }\n\n withOptions(value: TimeInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMax(value: string) {\n this.max = value;\n return this;\n }\n\n withMin(value: string) {\n this.min = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n}\n"]}
@@ -1,50 +0,0 @@
1
- import { InputElement } from './base';
2
-
3
- class TimeInput extends InputElement {
4
- type;
5
- /**
6
- * Hint of maximum value expressed in HH:MM (may be ignored by some clients).
7
- */
8
- max;
9
- /**
10
- * Hint of minimum value expressed in HH:MM (may be ignored by some clients).
11
- */
12
- min;
13
- /**
14
- * Description of the input desired. Displayed when no time has been selected.
15
- */
16
- placeholder;
17
- /**
18
- * The initial value for this field expressed in HH:MM.
19
- */
20
- value;
21
- constructor(options = {}) {
22
- super();
23
- this.type = "Input.Time";
24
- this.withOptions(options);
25
- }
26
- withOptions(value) {
27
- Object.assign(this, value);
28
- return this;
29
- }
30
- withMax(value) {
31
- this.max = value;
32
- return this;
33
- }
34
- withMin(value) {
35
- this.min = value;
36
- return this;
37
- }
38
- withPlaceholder(value) {
39
- this.placeholder = value;
40
- return this;
41
- }
42
- withValue(value) {
43
- this.value = value;
44
- return this;
45
- }
46
- }
47
-
48
- export { TimeInput };
49
- //# sourceMappingURL=time.mjs.map
50
- //# sourceMappingURL=time.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/inputs/time.ts"],"names":[],"mappings":";;AAkCO,MAAM,kBAAkB,YAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"time.mjs","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Lets a user select a time.\n */\nexport interface ITimeInput extends IInputElement {\n type: 'Input.Time';\n\n /**\n * Hint of maximum value expressed in HH:MM (may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in HH:MM (may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no time has been selected.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in HH:MM.\n */\n value?: string;\n}\n\nexport type TimeInputOptions = Omit<ITimeInput, 'type'>;\n\n/**\n * Lets a user select a time.\n */\nexport class TimeInput extends InputElement implements ITimeInput {\n type: 'Input.Time';\n\n /**\n * Hint of maximum value expressed in HH:MM (may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in HH:MM (may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no time has been selected.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in HH:MM.\n */\n value?: string;\n\n constructor(options: TimeInputOptions = {}) {\n super();\n this.type = 'Input.Time';\n this.withOptions(options);\n }\n\n withOptions(value: TimeInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMax(value: string) {\n this.max = value;\n return this;\n }\n\n withMin(value: string) {\n this.min = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n}\n"]}
@@ -1,31 +0,0 @@
1
- export { aP as IToggleInput, aR as ToggleInput, aQ as ToggleInputOptions } from '../charts/donut.mjs';
2
- import '../actions/execute.mjs';
3
- import '../common/associated-inputs.mjs';
4
- import '../actions/base.mjs';
5
- import '../actions/open-url.mjs';
6
- import '../common/vertical-alignment.mjs';
7
- import '../common/refresh.mjs';
8
- import '../common/auth/auth.mjs';
9
- import '../common/auth/auth-card-button.mjs';
10
- import '../common/auth/token-exchange-resource.mjs';
11
- import '../common/horizontal-alignment.mjs';
12
- import '../common/spacing.mjs';
13
- import '../common/target-width.mjs';
14
- import '../charts/color.mjs';
15
- import '../layouts/index.mjs';
16
- import '../layouts/area-grid.mjs';
17
- import '../layouts/flow.mjs';
18
- import '../layouts/stack.mjs';
19
- import '../medias/background-image.mjs';
20
- import '../common/color.mjs';
21
- import '../common/font.mjs';
22
- import '../actions/submit/submit.mjs';
23
- import '../actions/submit/im-back.mjs';
24
- import '../actions/submit/invoke.mjs';
25
- import '../actions/submit/message-back.mjs';
26
- import '../actions/submit/sign-in.mjs';
27
- import '../actions/submit/task-fetch.mjs';
28
- import '../actions/submit/collab-stage.mjs';
29
- import '../common/tab-info.mjs';
30
- import '../actions/toggle-visibility.mjs';
31
- import '../common/target-element.mjs';
@@ -1,31 +0,0 @@
1
- export { aP as IToggleInput, aR as ToggleInput, aQ as ToggleInputOptions } from '../charts/donut.js';
2
- import '../actions/execute.js';
3
- import '../common/associated-inputs.js';
4
- import '../actions/base.js';
5
- import '../actions/open-url.js';
6
- import '../common/vertical-alignment.js';
7
- import '../common/refresh.js';
8
- import '../common/auth/auth.js';
9
- import '../common/auth/auth-card-button.js';
10
- import '../common/auth/token-exchange-resource.js';
11
- import '../common/horizontal-alignment.js';
12
- import '../common/spacing.js';
13
- import '../common/target-width.js';
14
- import '../charts/color.js';
15
- import '../layouts/index.js';
16
- import '../layouts/area-grid.js';
17
- import '../layouts/flow.js';
18
- import '../layouts/stack.js';
19
- import '../medias/background-image.js';
20
- import '../common/color.js';
21
- import '../common/font.js';
22
- import '../actions/submit/submit.js';
23
- import '../actions/submit/im-back.js';
24
- import '../actions/submit/invoke.js';
25
- import '../actions/submit/message-back.js';
26
- import '../actions/submit/sign-in.js';
27
- import '../actions/submit/task-fetch.js';
28
- import '../actions/submit/collab-stage.js';
29
- import '../common/tab-info.js';
30
- import '../actions/toggle-visibility.js';
31
- import '../common/target-element.js';
@@ -1,57 +0,0 @@
1
- 'use strict';
2
-
3
- var base = require('./base');
4
-
5
- class ToggleInput extends base.InputElement {
6
- type;
7
- /**
8
- * Title for the toggle
9
- */
10
- title;
11
- /**
12
- * The initial selected value. If you want the toggle to be initially on, set this to the value of valueOn‘s value.
13
- */
14
- value;
15
- /**
16
- * The value when toggle is off
17
- */
18
- valueOff;
19
- /**
20
- * The value when toggle is on
21
- */
22
- valueOn;
23
- /**
24
- * If `true`, allow text to wrap. Otherwise, text is clipped.
25
- */
26
- wrap;
27
- constructor(title, options = {}) {
28
- super();
29
- this.type = "Input.Toggle";
30
- this.title = title;
31
- this.withOptions(options);
32
- }
33
- withOptions(value) {
34
- Object.assign(this, value);
35
- return this;
36
- }
37
- withValue(value) {
38
- this.value = value;
39
- return this;
40
- }
41
- withValueOff(value) {
42
- this.valueOff = value;
43
- return this;
44
- }
45
- withValueOn(value) {
46
- this.valueOn = value;
47
- return this;
48
- }
49
- withWrap(value = true) {
50
- this.wrap = value;
51
- return this;
52
- }
53
- }
54
-
55
- exports.ToggleInput = ToggleInput;
56
- //# sourceMappingURL=toggle.js.map
57
- //# sourceMappingURL=toggle.js.map