@leavittsoftware/web 8.7.0 → 8.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/package.json +2 -2
  2. package/leavitt/api-service/HttpError.d.ts +0 -11
  3. package/leavitt/api-service/HttpError.js +0 -2
  4. package/leavitt/api-service/HttpError.js.map +0 -1
  5. package/leavitt/api-service/api-service.d.ts +0 -52
  6. package/leavitt/api-service/api-service.js +0 -369
  7. package/leavitt/api-service/api-service.js.map +0 -1
  8. package/leavitt/api-service/authenticated-token-provider.d.ts +0 -5
  9. package/leavitt/api-service/authenticated-token-provider.js +0 -7
  10. package/leavitt/api-service/authenticated-token-provider.js.map +0 -1
  11. package/leavitt/api-service/bearer-token-provider.d.ts +0 -4
  12. package/leavitt/api-service/bearer-token-provider.js +0 -2
  13. package/leavitt/api-service/bearer-token-provider.js.map +0 -1
  14. package/leavitt/api-service/blob-response.d.ts +0 -8
  15. package/leavitt/api-service/blob-response.js +0 -8
  16. package/leavitt/api-service/blob-response.js.map +0 -1
  17. package/leavitt/api-service/no-authentication-token-provider.d.ts +0 -5
  18. package/leavitt/api-service/no-authentication-token-provider.js +0 -6
  19. package/leavitt/api-service/no-authentication-token-provider.js.map +0 -1
  20. package/leavitt/api-service/object-to-form-data.d.ts +0 -9
  21. package/leavitt/api-service/object-to-form-data.js +0 -42
  22. package/leavitt/api-service/object-to-form-data.js.map +0 -1
  23. package/leavitt/api-service/object-to-form-data.test.d.ts +0 -2
  24. package/leavitt/api-service/object-to-form-data.test.js +0 -229
  25. package/leavitt/api-service/object-to-form-data.test.js.map +0 -1
  26. package/leavitt/api-service/odata-dto.d.ts +0 -6
  27. package/leavitt/api-service/odata-dto.js +0 -7
  28. package/leavitt/api-service/odata-dto.js.map +0 -1
  29. package/leavitt/api-service/odata-model-info.d.ts +0 -5
  30. package/leavitt/api-service/odata-model-info.js +0 -7
  31. package/leavitt/api-service/odata-model-info.js.map +0 -1
  32. package/leavitt/api-service/odata-response.d.ts +0 -15
  33. package/leavitt/api-service/odata-response.js +0 -50
  34. package/leavitt/api-service/odata-response.js.map +0 -1
  35. package/leavitt/api-service/status-codes.d.ts +0 -2
  36. package/leavitt/api-service/status-codes.js +0 -44
  37. package/leavitt/api-service/status-codes.js.map +0 -1
  38. package/leavitt/app/app-logo.d.ts +0 -12
  39. package/leavitt/app/app-logo.js +0 -142
  40. package/leavitt/app/app-logo.js.map +0 -1
  41. package/leavitt/app/app-main-content-container.d.ts +0 -10
  42. package/leavitt/app/app-main-content-container.js +0 -65
  43. package/leavitt/app/app-main-content-container.js.map +0 -1
  44. package/leavitt/app/app-navigation-footer.d.ts +0 -18
  45. package/leavitt/app/app-navigation-footer.js +0 -142
  46. package/leavitt/app/app-navigation-footer.js.map +0 -1
  47. package/leavitt/app/app-navigation-header.d.ts +0 -22
  48. package/leavitt/app/app-navigation-header.js +0 -239
  49. package/leavitt/app/app-navigation-header.js.map +0 -1
  50. package/leavitt/app/app-width-limiter.d.ts +0 -7
  51. package/leavitt/app/app-width-limiter.js +0 -39
  52. package/leavitt/app/app-width-limiter.js.map +0 -1
  53. package/leavitt/app/contexts/main-menu-position-context.d.ts +0 -4
  54. package/leavitt/app/contexts/main-menu-position-context.js +0 -3
  55. package/leavitt/app/contexts/main-menu-position-context.js.map +0 -1
  56. package/leavitt/company-select/company-select.d.ts +0 -53
  57. package/leavitt/company-select/company-select.js +0 -181
  58. package/leavitt/company-select/company-select.js.map +0 -1
  59. package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.d.ts +0 -394
  60. package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js +0 -233
  61. package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js.map +0 -1
  62. package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.d.ts +0 -397
  63. package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js +0 -244
  64. package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js.map +0 -1
  65. package/leavitt/email-history-viewer/email-history-viewer-filled.d.ts +0 -408
  66. package/leavitt/email-history-viewer/email-history-viewer-filled.js +0 -381
  67. package/leavitt/email-history-viewer/email-history-viewer-filled.js.map +0 -1
  68. package/leavitt/email-history-viewer/email-history-viewer.d.ts +0 -412
  69. package/leavitt/email-history-viewer/email-history-viewer.js +0 -373
  70. package/leavitt/email-history-viewer/email-history-viewer.js.map +0 -1
  71. package/leavitt/email-history-viewer/view-email-template-info-dialog.d.ts +0 -386
  72. package/leavitt/email-history-viewer/view-email-template-info-dialog.js +0 -154
  73. package/leavitt/email-history-viewer/view-email-template-info-dialog.js.map +0 -1
  74. package/leavitt/email-history-viewer/view-sent-email-dialog.d.ts +0 -388
  75. package/leavitt/email-history-viewer/view-sent-email-dialog.js +0 -145
  76. package/leavitt/email-history-viewer/view-sent-email-dialog.js.map +0 -1
  77. package/leavitt/error-page/error-page.d.ts +0 -24
  78. package/leavitt/error-page/error-page.js +0 -185
  79. package/leavitt/error-page/error-page.js.map +0 -1
  80. package/leavitt/file-explorer/add-folder-modal.d.ts +0 -390
  81. package/leavitt/file-explorer/add-folder-modal.js +0 -135
  82. package/leavitt/file-explorer/add-folder-modal.js.map +0 -1
  83. package/leavitt/file-explorer/events/file-explorer-events.d.ts +0 -4
  84. package/leavitt/file-explorer/events/file-explorer-events.js +0 -5
  85. package/leavitt/file-explorer/events/file-explorer-events.js.map +0 -1
  86. package/leavitt/file-explorer/file-explorer-error.d.ts +0 -7
  87. package/leavitt/file-explorer/file-explorer-error.js +0 -38
  88. package/leavitt/file-explorer/file-explorer-error.js.map +0 -1
  89. package/leavitt/file-explorer/file-explorer-image.d.ts +0 -9
  90. package/leavitt/file-explorer/file-explorer-image.js +0 -54
  91. package/leavitt/file-explorer/file-explorer-image.js.map +0 -1
  92. package/leavitt/file-explorer/file-explorer-no-files.d.ts +0 -7
  93. package/leavitt/file-explorer/file-explorer-no-files.js +0 -38
  94. package/leavitt/file-explorer/file-explorer-no-files.js.map +0 -1
  95. package/leavitt/file-explorer/file-explorer-no-permission.d.ts +0 -7
  96. package/leavitt/file-explorer/file-explorer-no-permission.js +0 -38
  97. package/leavitt/file-explorer/file-explorer-no-permission.js.map +0 -1
  98. package/leavitt/file-explorer/file-explorer.d.ts +0 -446
  99. package/leavitt/file-explorer/file-explorer.js +0 -889
  100. package/leavitt/file-explorer/file-explorer.js.map +0 -1
  101. package/leavitt/file-explorer/file-list-item.d.ts +0 -16
  102. package/leavitt/file-explorer/file-list-item.js +0 -300
  103. package/leavitt/file-explorer/file-list-item.js.map +0 -1
  104. package/leavitt/file-explorer/file-modal.d.ts +0 -393
  105. package/leavitt/file-explorer/file-modal.js +0 -323
  106. package/leavitt/file-explorer/file-modal.js.map +0 -1
  107. package/leavitt/file-explorer/folder-list-item.d.ts +0 -15
  108. package/leavitt/file-explorer/folder-list-item.js +0 -210
  109. package/leavitt/file-explorer/folder-list-item.js.map +0 -1
  110. package/leavitt/file-explorer/folder-modal.d.ts +0 -391
  111. package/leavitt/file-explorer/folder-modal.js +0 -226
  112. package/leavitt/file-explorer/folder-modal.js.map +0 -1
  113. package/leavitt/file-explorer/helpers/file-types.d.ts +0 -2
  114. package/leavitt/file-explorer/helpers/file-types.js +0 -19
  115. package/leavitt/file-explorer/helpers/file-types.js.map +0 -1
  116. package/leavitt/file-explorer/helpers/format-bytes.d.ts +0 -2
  117. package/leavitt/file-explorer/helpers/format-bytes.js +0 -8
  118. package/leavitt/file-explorer/helpers/format-bytes.js.map +0 -1
  119. package/leavitt/person-company-select/person-company-select.d.ts +0 -43
  120. package/leavitt/person-company-select/person-company-select.js +0 -198
  121. package/leavitt/person-company-select/person-company-select.js.map +0 -1
  122. package/leavitt/person-group-select/people-group-icons.d.ts +0 -5
  123. package/leavitt/person-group-select/people-group-icons.js +0 -87
  124. package/leavitt/person-group-select/people-group-icons.js.map +0 -1
  125. package/leavitt/person-group-select/person-group-select.d.ts +0 -43
  126. package/leavitt/person-group-select/person-group-select.js +0 -207
  127. package/leavitt/person-group-select/person-group-select.js.map +0 -1
  128. package/leavitt/person-select/person-select.d.ts +0 -46
  129. package/leavitt/person-select/person-select.js +0 -203
  130. package/leavitt/person-select/person-select.js.map +0 -1
  131. package/leavitt/profile-picture/profile-picture-menu.d.ts +0 -48
  132. package/leavitt/profile-picture/profile-picture-menu.js +0 -248
  133. package/leavitt/profile-picture/profile-picture-menu.js.map +0 -1
  134. package/leavitt/profile-picture/profile-picture.d.ts +0 -44
  135. package/leavitt/profile-picture/profile-picture.js +0 -208
  136. package/leavitt/profile-picture/profile-picture.js.map +0 -1
  137. package/leavitt/service-worker-notifier/service-worker-notifier.d.ts +0 -14
  138. package/leavitt/service-worker-notifier/service-worker-notifier.js +0 -180
  139. package/leavitt/service-worker-notifier/service-worker-notifier.js.map +0 -1
  140. package/leavitt/theme/theme-preference-event.d.ts +0 -4
  141. package/leavitt/theme/theme-preference-event.js +0 -5
  142. package/leavitt/theme/theme-preference-event.js.map +0 -1
  143. package/leavitt/theme/theme-preference.d.ts +0 -8
  144. package/leavitt/theme/theme-preference.js +0 -26
  145. package/leavitt/theme/theme-preference.js.map +0 -1
  146. package/leavitt/user-feedback/provide-feedback-dialog.d.ts +0 -386
  147. package/leavitt/user-feedback/provide-feedback-dialog.js +0 -150
  148. package/leavitt/user-feedback/provide-feedback-dialog.js.map +0 -1
  149. package/leavitt/user-feedback/report-a-problem-dialog.d.ts +0 -388
  150. package/leavitt/user-feedback/report-a-problem-dialog.js +0 -170
  151. package/leavitt/user-feedback/report-a-problem-dialog.js.map +0 -1
  152. package/leavitt/user-feedback/user-feedback.d.ts +0 -390
  153. package/leavitt/user-feedback/user-feedback.js +0 -222
  154. package/leavitt/user-feedback/user-feedback.js.map +0 -1
  155. package/leavitt/user-manager/LssJwtToken.d.ts +0 -24
  156. package/leavitt/user-manager/LssJwtToken.js +0 -2
  157. package/leavitt/user-manager/LssJwtToken.js.map +0 -1
  158. package/leavitt/user-manager/auth-zero-lg-access-token.d.ts +0 -15
  159. package/leavitt/user-manager/auth-zero-lg-access-token.js +0 -2
  160. package/leavitt/user-manager/auth-zero-lg-access-token.js.map +0 -1
  161. package/leavitt/user-manager/auth-zero-lg-identity-token.d.ts +0 -24
  162. package/leavitt/user-manager/auth-zero-lg-identity-token.js +0 -2
  163. package/leavitt/user-manager/auth-zero-lg-identity-token.js.map +0 -1
  164. package/leavitt/user-manager/auth-zero-lg-identity.d.ts +0 -24
  165. package/leavitt/user-manager/auth-zero-lg-identity.js +0 -2
  166. package/leavitt/user-manager/auth-zero-lg-identity.js.map +0 -1
  167. package/leavitt/user-manager/auth-zero-lg-user-manager.d.ts +0 -18
  168. package/leavitt/user-manager/auth-zero-lg-user-manager.js +0 -382
  169. package/leavitt/user-manager/auth-zero-lg-user-manager.js.map +0 -1
  170. package/leavitt/user-manager/user-manager-events.d.ts +0 -5
  171. package/leavitt/user-manager/user-manager-events.js +0 -7
  172. package/leavitt/user-manager/user-manager-events.js.map +0 -1
  173. package/leavitt/user-manager/user-manager.d.ts +0 -47
  174. package/leavitt/user-manager/user-manager.js +0 -443
  175. package/leavitt/user-manager/user-manager.js.map +0 -1
  176. package/titanium/access-denied-page/access-denied-page.d.ts +0 -16
  177. package/titanium/access-denied-page/access-denied-page.js +0 -359
  178. package/titanium/access-denied-page/access-denied-page.js.map +0 -1
  179. package/titanium/address-input/address-input.d.ts +0 -31
  180. package/titanium/address-input/address-input.js +0 -104
  181. package/titanium/address-input/address-input.js.map +0 -1
  182. package/titanium/address-input/google-address-input.d.ts +0 -35
  183. package/titanium/address-input/google-address-input.js +0 -242
  184. package/titanium/address-input/google-address-input.js.map +0 -1
  185. package/titanium/address-input/manual-address-dialog.d.ts +0 -39
  186. package/titanium/address-input/manual-address-dialog.js +0 -350
  187. package/titanium/address-input/manual-address-dialog.js.map +0 -1
  188. package/titanium/address-input/types/address-input-address.d.ts +0 -17
  189. package/titanium/address-input/types/address-input-address.js +0 -2
  190. package/titanium/address-input/types/address-input-address.js.map +0 -1
  191. package/titanium/address-input/utils/address-to-string.d.ts +0 -3
  192. package/titanium/address-input/utils/address-to-string.js +0 -26
  193. package/titanium/address-input/utils/address-to-string.js.map +0 -1
  194. package/titanium/address-input/utils/place-result-to-address.d.ts +0 -3
  195. package/titanium/address-input/utils/place-result-to-address.js +0 -46
  196. package/titanium/address-input/utils/place-result-to-address.js.map +0 -1
  197. package/titanium/address-input/utils/validate-street.d.ts +0 -2
  198. package/titanium/address-input/utils/validate-street.js +0 -8
  199. package/titanium/address-input/utils/validate-street.js.map +0 -1
  200. package/titanium/card/card.d.ts +0 -24
  201. package/titanium/card/card.js +0 -188
  202. package/titanium/card/card.js.map +0 -1
  203. package/titanium/chip/chip.d.ts +0 -57
  204. package/titanium/chip/chip.js +0 -289
  205. package/titanium/chip/chip.js.map +0 -1
  206. package/titanium/chip-multi-select/chip-multi-select.d.ts +0 -71
  207. package/titanium/chip-multi-select/chip-multi-select.js +0 -228
  208. package/titanium/chip-multi-select/chip-multi-select.js.map +0 -1
  209. package/titanium/circle-loading-indicator/circle-loading-indicator.d.ts +0 -19
  210. package/titanium/circle-loading-indicator/circle-loading-indicator.js +0 -122
  211. package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +0 -1
  212. package/titanium/collapsible-container/collapsible-container.d.ts +0 -12
  213. package/titanium/collapsible-container/collapsible-container.js +0 -115
  214. package/titanium/collapsible-container/collapsible-container.js.map +0 -1
  215. package/titanium/confirm-dialog/confirm-dialog-open-event.d.ts +0 -10
  216. package/titanium/confirm-dialog/confirm-dialog-open-event.js +0 -12
  217. package/titanium/confirm-dialog/confirm-dialog-open-event.js.map +0 -1
  218. package/titanium/confirm-dialog/confirm-dialog.d.ts +0 -25
  219. package/titanium/confirm-dialog/confirm-dialog.js +0 -104
  220. package/titanium/confirm-dialog/confirm-dialog.js.map +0 -1
  221. package/titanium/confirmation-dialog/confirmation-dialog.d.ts +0 -19
  222. package/titanium/confirmation-dialog/confirmation-dialog.js +0 -124
  223. package/titanium/confirmation-dialog/confirmation-dialog.js.map +0 -1
  224. package/titanium/data-table/data-table-action-bar.d.ts +0 -11
  225. package/titanium/data-table/data-table-action-bar.js +0 -216
  226. package/titanium/data-table/data-table-action-bar.js.map +0 -1
  227. package/titanium/data-table/data-table-content-styles.d.ts +0 -2
  228. package/titanium/data-table/data-table-content-styles.js +0 -48
  229. package/titanium/data-table/data-table-content-styles.js.map +0 -1
  230. package/titanium/data-table/data-table-core-reorder-dialog.d.ts +0 -391
  231. package/titanium/data-table/data-table-core-reorder-dialog.js +0 -170
  232. package/titanium/data-table/data-table-core-reorder-dialog.js.map +0 -1
  233. package/titanium/data-table/data-table-core-reorder-item.d.ts +0 -15
  234. package/titanium/data-table/data-table-core-reorder-item.js +0 -154
  235. package/titanium/data-table/data-table-core-reorder-item.js.map +0 -1
  236. package/titanium/data-table/data-table-core-settings-choose-columns-dialog.d.ts +0 -22
  237. package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js +0 -164
  238. package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +0 -1
  239. package/titanium/data-table/data-table-core-settings-choose-columns-item.d.ts +0 -14
  240. package/titanium/data-table/data-table-core-settings-choose-columns-item.js +0 -96
  241. package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +0 -1
  242. package/titanium/data-table/data-table-core-settings-sort-dialog.d.ts +0 -22
  243. package/titanium/data-table/data-table-core-settings-sort-dialog.js +0 -231
  244. package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +0 -1
  245. package/titanium/data-table/data-table-core-settings-sort-item.d.ts +0 -17
  246. package/titanium/data-table/data-table-core-settings-sort-item.js +0 -171
  247. package/titanium/data-table/data-table-core-settings-sort-item.js.map +0 -1
  248. package/titanium/data-table/data-table-core.d.ts +0 -458
  249. package/titanium/data-table/data-table-core.js +0 -745
  250. package/titanium/data-table/data-table-core.js.map +0 -1
  251. package/titanium/data-table/data-table-header.d.ts +0 -68
  252. package/titanium/data-table/data-table-header.js +0 -295
  253. package/titanium/data-table/data-table-header.js.map +0 -1
  254. package/titanium/data-table/data-table-item.d.ts +0 -99
  255. package/titanium/data-table/data-table-item.js +0 -561
  256. package/titanium/data-table/data-table-item.js.map +0 -1
  257. package/titanium/data-table/data-table.d.ts +0 -127
  258. package/titanium/data-table/data-table.js +0 -688
  259. package/titanium/data-table/data-table.js.map +0 -1
  260. package/titanium/data-table/draggable-item-base.d.ts +0 -30
  261. package/titanium/data-table/draggable-item-base.js +0 -324
  262. package/titanium/data-table/draggable-item-base.js.map +0 -1
  263. package/titanium/data-table/filter-controller.d.ts +0 -24
  264. package/titanium/data-table/filter-controller.js +0 -122
  265. package/titanium/data-table/filter-controller.js.map +0 -1
  266. package/titanium/data-table/filter.d.ts +0 -8
  267. package/titanium/data-table/filter.js +0 -11
  268. package/titanium/data-table/filter.js.map +0 -1
  269. package/titanium/data-table/page-control.d.ts +0 -59
  270. package/titanium/data-table/page-control.js +0 -236
  271. package/titanium/data-table/page-control.js.map +0 -1
  272. package/titanium/date-input/date-input.d.ts +0 -149
  273. package/titanium/date-input/date-input.js +0 -548
  274. package/titanium/date-input/date-input.js.map +0 -1
  275. package/titanium/date-range-selector/date-range-change-event.d.ts +0 -8
  276. package/titanium/date-range-selector/date-range-change-event.js +0 -10
  277. package/titanium/date-range-selector/date-range-change-event.js.map +0 -1
  278. package/titanium/date-range-selector/date-range-selector.d.ts +0 -71
  279. package/titanium/date-range-selector/date-range-selector.js +0 -479
  280. package/titanium/date-range-selector/date-range-selector.js.map +0 -1
  281. package/titanium/date-range-selector/types/date-range-key.d.ts +0 -2
  282. package/titanium/date-range-selector/types/date-range-key.js +0 -2
  283. package/titanium/date-range-selector/types/date-range-key.js.map +0 -1
  284. package/titanium/date-range-selector/types/date-range-option.d.ts +0 -8
  285. package/titanium/date-range-selector/types/date-range-option.js +0 -2
  286. package/titanium/date-range-selector/types/date-range-option.js.map +0 -1
  287. package/titanium/date-range-selector/types/date-ranges.d.ts +0 -4
  288. package/titanium/date-range-selector/types/date-ranges.js +0 -133
  289. package/titanium/date-range-selector/types/date-ranges.js.map +0 -1
  290. package/titanium/date-range-selector/types/range-label.d.ts +0 -5
  291. package/titanium/date-range-selector/types/range-label.js +0 -25
  292. package/titanium/date-range-selector/types/range-label.js.map +0 -1
  293. package/titanium/drawer/drawer.d.ts +0 -52
  294. package/titanium/drawer/drawer.js +0 -423
  295. package/titanium/drawer/drawer.js.map +0 -1
  296. package/titanium/duration-input/duration-input.d.ts +0 -31
  297. package/titanium/duration-input/duration-input.js +0 -126
  298. package/titanium/duration-input/duration-input.js.map +0 -1
  299. package/titanium/duration-input/filled-duration-input.d.ts +0 -31
  300. package/titanium/duration-input/filled-duration-input.js +0 -123
  301. package/titanium/duration-input/filled-duration-input.js.map +0 -1
  302. package/titanium/duration-input/human-interval.d.ts +0 -19
  303. package/titanium/duration-input/human-interval.js +0 -73
  304. package/titanium/duration-input/human-interval.js.map +0 -1
  305. package/titanium/duration-input/outlined-duration-input.d.ts +0 -30
  306. package/titanium/duration-input/outlined-duration-input.js +0 -109
  307. package/titanium/duration-input/outlined-duration-input.js.map +0 -1
  308. package/titanium/error-page/error-page.d.ts +0 -16
  309. package/titanium/error-page/error-page.js +0 -95
  310. package/titanium/error-page/error-page.js.map +0 -1
  311. package/titanium/event-bus/event-bus.d.ts +0 -10
  312. package/titanium/event-bus/event-bus.js +0 -52
  313. package/titanium/event-bus/event-bus.js.map +0 -1
  314. package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.d.ts +0 -168
  315. package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js +0 -373
  316. package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js.map +0 -1
  317. package/titanium/full-page-loading-indicator/full-page-loading-indicator.d.ts +0 -17
  318. package/titanium/full-page-loading-indicator/full-page-loading-indicator.js +0 -121
  319. package/titanium/full-page-loading-indicator/full-page-loading-indicator.js.map +0 -1
  320. package/titanium/hacks/dialog-navigation-hack.d.ts +0 -8
  321. package/titanium/hacks/dialog-navigation-hack.js +0 -22
  322. package/titanium/hacks/dialog-navigation-hack.js.map +0 -1
  323. package/titanium/hacks/dialog-overflow-hacks.d.ts +0 -4
  324. package/titanium/hacks/dialog-overflow-hacks.js +0 -21
  325. package/titanium/hacks/dialog-overflow-hacks.js.map +0 -1
  326. package/titanium/hacks/dialog-zindex-hack.d.ts +0 -11
  327. package/titanium/hacks/dialog-zindex-hack.js +0 -20
  328. package/titanium/hacks/dialog-zindex-hack.js.map +0 -1
  329. package/titanium/hacks/report-validity-if-error.d.ts +0 -4
  330. package/titanium/hacks/report-validity-if-error.js +0 -6
  331. package/titanium/hacks/report-validity-if-error.js.map +0 -1
  332. package/titanium/header/header.d.ts +0 -39
  333. package/titanium/header/header.js +0 -167
  334. package/titanium/header/header.js.map +0 -1
  335. package/titanium/helpers/address/country-abbr-to-titlecase.d.ts +0 -5
  336. package/titanium/helpers/address/country-abbr-to-titlecase.js +0 -243
  337. package/titanium/helpers/address/country-abbr-to-titlecase.js.map +0 -1
  338. package/titanium/helpers/address/format-address.d.ts +0 -22
  339. package/titanium/helpers/address/format-address.js +0 -33
  340. package/titanium/helpers/address/format-address.js.map +0 -1
  341. package/titanium/helpers/address/get-country-name.d.ts +0 -2
  342. package/titanium/helpers/address/get-country-name.js +0 -12
  343. package/titanium/helpers/address/get-country-name.js.map +0 -1
  344. package/titanium/helpers/address/states-abbr-to-titlecase.d.ts +0 -9
  345. package/titanium/helpers/address/states-abbr-to-titlecase.js +0 -117
  346. package/titanium/helpers/address/states-abbr-to-titlecase.js.map +0 -1
  347. package/titanium/helpers/csv/convert-array-to-csv.d.ts +0 -2
  348. package/titanium/helpers/csv/convert-array-to-csv.js +0 -35
  349. package/titanium/helpers/csv/convert-array-to-csv.js.map +0 -1
  350. package/titanium/helpers/csv/flatten-object.d.ts +0 -2
  351. package/titanium/helpers/csv/flatten-object.js +0 -64
  352. package/titanium/helpers/csv/flatten-object.js.map +0 -1
  353. package/titanium/helpers/csv/start-csv-download.d.ts +0 -2
  354. package/titanium/helpers/csv/start-csv-download.js +0 -11
  355. package/titanium/helpers/csv/start-csv-download.js.map +0 -1
  356. package/titanium/helpers/debouncer.d.ts +0 -13
  357. package/titanium/helpers/debouncer.js +0 -33
  358. package/titanium/helpers/debouncer.js.map +0 -1
  359. package/titanium/helpers/delay.d.ts +0 -2
  360. package/titanium/helpers/delay.js +0 -6
  361. package/titanium/helpers/delay.js.map +0 -1
  362. package/titanium/helpers/escape-term.d.ts +0 -2
  363. package/titanium/helpers/escape-term.js +0 -2
  364. package/titanium/helpers/escape-term.js.map +0 -1
  365. package/titanium/helpers/find-scrollable-parent.d.ts +0 -2
  366. package/titanium/helpers/find-scrollable-parent.js +0 -13
  367. package/titanium/helpers/find-scrollable-parent.js.map +0 -1
  368. package/titanium/helpers/get-cdn-Inline-url.d.ts +0 -4
  369. package/titanium/helpers/get-cdn-Inline-url.js +0 -27
  370. package/titanium/helpers/get-cdn-Inline-url.js.map +0 -1
  371. package/titanium/helpers/get-cdn-download-url.d.ts +0 -3
  372. package/titanium/helpers/get-cdn-download-url.js +0 -12
  373. package/titanium/helpers/get-cdn-download-url.js.map +0 -1
  374. package/titanium/helpers/get-company-logo-url.d.ts +0 -3
  375. package/titanium/helpers/get-company-logo-url.js +0 -6
  376. package/titanium/helpers/get-company-logo-url.js.map +0 -1
  377. package/titanium/helpers/get-company-mark-url.d.ts +0 -3
  378. package/titanium/helpers/get-company-mark-url.js +0 -6
  379. package/titanium/helpers/get-company-mark-url.js.map +0 -1
  380. package/titanium/helpers/get-search-token.d.ts +0 -2
  381. package/titanium/helpers/get-search-token.js +0 -17
  382. package/titanium/helpers/get-search-token.js.map +0 -1
  383. package/titanium/helpers/group-by.d.ts +0 -2
  384. package/titanium/helpers/group-by.js +0 -7
  385. package/titanium/helpers/group-by.js.map +0 -1
  386. package/titanium/helpers/helpers.d.ts +0 -15
  387. package/titanium/helpers/helpers.js +0 -15
  388. package/titanium/helpers/helpers.js.map +0 -1
  389. package/titanium/helpers/install-media-query-watcher.d.ts +0 -2
  390. package/titanium/helpers/install-media-query-watcher.js +0 -6
  391. package/titanium/helpers/install-media-query-watcher.js.map +0 -1
  392. package/titanium/helpers/is-development.d.ts +0 -3
  393. package/titanium/helpers/is-development.js +0 -12
  394. package/titanium/helpers/is-development.js.map +0 -1
  395. package/titanium/helpers/join.d.ts +0 -2
  396. package/titanium/helpers/join.js +0 -5
  397. package/titanium/helpers/join.js.map +0 -1
  398. package/titanium/helpers/load-while.d.ts +0 -374
  399. package/titanium/helpers/load-while.js +0 -28
  400. package/titanium/helpers/load-while.js.map +0 -1
  401. package/titanium/helpers/middle-ellipsis.d.ts +0 -2
  402. package/titanium/helpers/middle-ellipsis.js +0 -7
  403. package/titanium/helpers/middle-ellipsis.js.map +0 -1
  404. package/titanium/helpers/not-null-or-undefined.d.ts +0 -2
  405. package/titanium/helpers/not-null-or-undefined.js +0 -4
  406. package/titanium/helpers/not-null-or-undefined.js.map +0 -1
  407. package/titanium/helpers/not-null.d.ts +0 -2
  408. package/titanium/helpers/not-null.js +0 -4
  409. package/titanium/helpers/not-null.js.map +0 -1
  410. package/titanium/helpers/not-undefined.d.ts +0 -2
  411. package/titanium/helpers/not-undefined.js +0 -4
  412. package/titanium/helpers/not-undefined.js.map +0 -1
  413. package/titanium/helpers/pending-state-catcher.d.ts +0 -416
  414. package/titanium/helpers/pending-state-catcher.js +0 -88
  415. package/titanium/helpers/pending-state-catcher.js.map +0 -1
  416. package/titanium/helpers/phone-numbers/format-phone-number-dashes.d.ts +0 -2
  417. package/titanium/helpers/phone-numbers/format-phone-number-dashes.js +0 -9
  418. package/titanium/helpers/phone-numbers/format-phone-number-dashes.js.map +0 -1
  419. package/titanium/helpers/phone-numbers/format-phone-number-dots.d.ts +0 -2
  420. package/titanium/helpers/phone-numbers/format-phone-number-dots.js +0 -9
  421. package/titanium/helpers/phone-numbers/format-phone-number-dots.js.map +0 -1
  422. package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.d.ts +0 -2
  423. package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.js +0 -9
  424. package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.js.map +0 -1
  425. package/titanium/helpers/phone-numbers/format-phone-number.d.ts +0 -2
  426. package/titanium/helpers/phone-numbers/format-phone-number.js +0 -9
  427. package/titanium/helpers/phone-numbers/format-phone-number.js.map +0 -1
  428. package/titanium/helpers/phone-numbers/phone-mask.d.ts +0 -2
  429. package/titanium/helpers/phone-numbers/phone-mask.js +0 -5
  430. package/titanium/helpers/phone-numbers/phone-mask.js.map +0 -1
  431. package/titanium/helpers/phone-numbers/try-format-phone-number.d.ts +0 -2
  432. package/titanium/helpers/phone-numbers/try-format-phone-number.js +0 -9
  433. package/titanium/helpers/phone-numbers/try-format-phone-number.js.map +0 -1
  434. package/titanium/icon-picker/icon-picker.d.ts +0 -37
  435. package/titanium/icon-picker/icon-picker.js +0 -160
  436. package/titanium/icon-picker/icon-picker.js.map +0 -1
  437. package/titanium/icon-picker/material-symbols.d.ts +0 -3
  438. package/titanium/icon-picker/material-symbols.js +0 -3297
  439. package/titanium/icon-picker/material-symbols.js.map +0 -1
  440. package/titanium/input-validator/filled-input-validator.d.ts +0 -20
  441. package/titanium/input-validator/filled-input-validator.js +0 -48
  442. package/titanium/input-validator/filled-input-validator.js.map +0 -1
  443. package/titanium/input-validator/input-validator.d.ts +0 -20
  444. package/titanium/input-validator/input-validator.js +0 -48
  445. package/titanium/input-validator/input-validator.js.map +0 -1
  446. package/titanium/input-validator/outlined-input-validator.d.ts +0 -20
  447. package/titanium/input-validator/outlined-input-validator.js +0 -48
  448. package/titanium/input-validator/outlined-input-validator.js.map +0 -1
  449. package/titanium/profile-picture-stack/profile-picture-stack.d.ts +0 -51
  450. package/titanium/profile-picture-stack/profile-picture-stack.js +0 -212
  451. package/titanium/profile-picture-stack/profile-picture-stack.js.map +0 -1
  452. package/titanium/search-input/filled-search-input.d.ts +0 -15
  453. package/titanium/search-input/filled-search-input.js +0 -111
  454. package/titanium/search-input/filled-search-input.js.map +0 -1
  455. package/titanium/search-input/search-input.d.ts +0 -29
  456. package/titanium/search-input/search-input.js +0 -123
  457. package/titanium/search-input/search-input.js.map +0 -1
  458. package/titanium/service-worker-notifier/service-worker-notifier.d.ts +0 -9
  459. package/titanium/service-worker-notifier/service-worker-notifier.js +0 -58
  460. package/titanium/service-worker-notifier/service-worker-notifier.js.map +0 -1
  461. package/titanium/show-hide/show-hide.d.ts +0 -41
  462. package/titanium/show-hide/show-hide.js +0 -171
  463. package/titanium/show-hide/show-hide.js.map +0 -1
  464. package/titanium/single-select-base/single-select-base.d.ts +0 -514
  465. package/titanium/single-select-base/single-select-base.js +0 -549
  466. package/titanium/single-select-base/single-select-base.js.map +0 -1
  467. package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +0 -422
  468. package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +0 -467
  469. package/titanium/smart-attachment-input/crop-and-save-image-dialog.js.map +0 -1
  470. package/titanium/smart-attachment-input/cropper-styles.d.ts +0 -3
  471. package/titanium/smart-attachment-input/cropper-styles.js +0 -318
  472. package/titanium/smart-attachment-input/cropper-styles.js.map +0 -1
  473. package/titanium/smart-attachment-input/image-formats.d.ts +0 -5
  474. package/titanium/smart-attachment-input/image-formats.js +0 -37
  475. package/titanium/smart-attachment-input/image-formats.js.map +0 -1
  476. package/titanium/smart-attachment-input/image-preview-dialog.d.ts +0 -21
  477. package/titanium/smart-attachment-input/image-preview-dialog.js +0 -96
  478. package/titanium/smart-attachment-input/image-preview-dialog.js.map +0 -1
  479. package/titanium/smart-attachment-input/images/duck-loader.gif +0 -0
  480. package/titanium/smart-attachment-input/images/icon-other-bg.png +0 -0
  481. package/titanium/smart-attachment-input/images/icon-other.png +0 -0
  482. package/titanium/smart-attachment-input/images/icon-pdf-bg.png +0 -0
  483. package/titanium/smart-attachment-input/images/icon-pdf.png +0 -0
  484. package/titanium/smart-attachment-input/smart-attachment-input.d.ts +0 -133
  485. package/titanium/smart-attachment-input/smart-attachment-input.js +0 -497
  486. package/titanium/smart-attachment-input/smart-attachment-input.js.map +0 -1
  487. package/titanium/smart-attachment-input/type/smart-attachment.d.ts +0 -7
  488. package/titanium/smart-attachment-input/type/smart-attachment.js +0 -2
  489. package/titanium/smart-attachment-input/type/smart-attachment.js.map +0 -1
  490. package/titanium/snackbar/show-snackbar-event.d.ts +0 -9
  491. package/titanium/snackbar/show-snackbar-event.js +0 -9
  492. package/titanium/snackbar/show-snackbar-event.js.map +0 -1
  493. package/titanium/snackbar/snackbar-stack.d.ts +0 -24
  494. package/titanium/snackbar/snackbar-stack.js +0 -99
  495. package/titanium/snackbar/snackbar-stack.js.map +0 -1
  496. package/titanium/snackbar/snackbars/http-error-snackbar.d.ts +0 -28
  497. package/titanium/snackbar/snackbars/http-error-snackbar.js +0 -155
  498. package/titanium/snackbar/snackbars/http-error-snackbar.js.map +0 -1
  499. package/titanium/snackbar/snackbars/simple-snackbar.d.ts +0 -27
  500. package/titanium/snackbar/snackbars/simple-snackbar.js +0 -140
  501. package/titanium/snackbar/snackbars/simple-snackbar.js.map +0 -1
  502. package/titanium/snackbar/types/snackbar-options.d.ts +0 -9
  503. package/titanium/snackbar/types/snackbar-options.js +0 -2
  504. package/titanium/snackbar/types/snackbar-options.js.map +0 -1
  505. package/titanium/styles/a.d.ts +0 -2
  506. package/titanium/styles/a.js +0 -18
  507. package/titanium/styles/a.js.map +0 -1
  508. package/titanium/styles/data-row.d.ts +0 -2
  509. package/titanium/styles/data-row.js +0 -61
  510. package/titanium/styles/data-row.js.map +0 -1
  511. package/titanium/styles/ellipsis.d.ts +0 -2
  512. package/titanium/styles/ellipsis.js +0 -9
  513. package/titanium/styles/ellipsis.js.map +0 -1
  514. package/titanium/styles/h1.d.ts +0 -2
  515. package/titanium/styles/h1.js +0 -17
  516. package/titanium/styles/h1.js.map +0 -1
  517. package/titanium/styles/h2.d.ts +0 -2
  518. package/titanium/styles/h2.js +0 -17
  519. package/titanium/styles/h2.js.map +0 -1
  520. package/titanium/styles/h3.d.ts +0 -2
  521. package/titanium/styles/h3.js +0 -17
  522. package/titanium/styles/h3.js.map +0 -1
  523. package/titanium/styles/h4.d.ts +0 -2
  524. package/titanium/styles/h4.js +0 -17
  525. package/titanium/styles/h4.js.map +0 -1
  526. package/titanium/styles/h5.d.ts +0 -2
  527. package/titanium/styles/h5.js +0 -19
  528. package/titanium/styles/h5.js.map +0 -1
  529. package/titanium/styles/nice-badge.d.ts +0 -2
  530. package/titanium/styles/nice-badge.js +0 -53
  531. package/titanium/styles/nice-badge.js.map +0 -1
  532. package/titanium/styles/p.d.ts +0 -2
  533. package/titanium/styles/p.js +0 -17
  534. package/titanium/styles/p.js.map +0 -1
  535. package/titanium/styles/styles.d.ts +0 -17
  536. package/titanium/styles/styles.js +0 -17
  537. package/titanium/styles/styles.js.map +0 -1
  538. package/titanium/toolbar/toolbar.d.ts +0 -24
  539. package/titanium/toolbar/toolbar.js +0 -100
  540. package/titanium/toolbar/toolbar.js.map +0 -1
  541. package/titanium/types/any-function.d.ts +0 -5
  542. package/titanium/types/any-function.js +0 -5
  543. package/titanium/types/any-function.js.map +0 -1
  544. package/titanium/types/dom-event.d.ts +0 -4
  545. package/titanium/types/dom-event.js +0 -2
  546. package/titanium/types/dom-event.js.map +0 -1
  547. package/titanium/types/identifier-interface.d.ts +0 -4
  548. package/titanium/types/identifier-interface.js +0 -2
  549. package/titanium/types/identifier-interface.js.map +0 -1
  550. package/titanium/types/pending-state-event.d.ts +0 -7
  551. package/titanium/types/pending-state-event.js +0 -7
  552. package/titanium/types/pending-state-event.js.map +0 -1
  553. package/titanium/types/string-map.d.ts +0 -7
  554. package/titanium/types/string-map.js +0 -5
  555. package/titanium/types/string-map.js.map +0 -1
  556. package/titanium/youtube-input/youtube-input.d.ts +0 -19
  557. package/titanium/youtube-input/youtube-input.js +0 -68
  558. package/titanium/youtube-input/youtube-input.js.map +0 -1
@@ -1,548 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { LitElement, css } from 'lit';
3
- import { customElement, property, query, queryAssignedElements, state } from 'lit/decorators.js';
4
- import { live } from 'lit/directives/live.js';
5
- import { redispatchEvent } from '@material/web/internal/events/redispatch-event';
6
- import { stringConverter } from '@material/web/internal/controller/string-converter';
7
- import '@material/web/field/outlined-field';
8
- import '@material/web/field/filled-field';
9
- import '@material/web/icon/icon';
10
- import '@material/web/iconbutton/icon-button';
11
- import { html, literal } from 'lit/static-html.js';
12
- /**
13
- * A date input the works in Firefox, Safari and Chrome
14
- *
15
- * @element titanium-date-input
16
- *
17
- */
18
- let TitaniumDateInput = class TitaniumDateInput extends LitElement {
19
- constructor() {
20
- super();
21
- this.onInvalid = (invalidEvent) => {
22
- if (this.isCheckingValidity || this.isReportingValidity) {
23
- return;
24
- }
25
- this.showErrorMessage(false, invalidEvent);
26
- };
27
- this.#disabled_accessor_storage = false;
28
- this.#error_accessor_storage = false;
29
- this.#errorText_accessor_storage = '';
30
- this.#noAsterisk_accessor_storage = false;
31
- this.#label_accessor_storage = '';
32
- this.#filled_accessor_storage = false;
33
- this.#required_accessor_storage = false;
34
- this.#value_accessor_storage = '';
35
- this.#prefixText_accessor_storage = '';
36
- this.#suffixText_accessor_storage = '';
37
- this.#hasLeadingIcon_accessor_storage = false;
38
- this.#hasTrailingIcon_accessor_storage = false;
39
- this.#max_accessor_storage = '';
40
- this.#maxLength_accessor_storage = -1;
41
- this.#min_accessor_storage = '';
42
- this.#supportingText_accessor_storage = '';
43
- this.#placeholder_accessor_storage = '';
44
- this.#type_accessor_storage = 'date';
45
- this.#dirty_accessor_storage = false;
46
- this.#focused_accessor_storage = false;
47
- this.#nativeError_accessor_storage = false;
48
- this.#nativeErrorText_accessor_storage = '';
49
- this.#autocomplete_accessor_storage = '';
50
- this.isCheckingValidity = false;
51
- this.isReportingValidity = false;
52
- // Needed for Safari, see https://bugs.webkit.org/show_bug.cgi?id=261432
53
- // Replace with this[internals].validity.customError when resolved.
54
- this.hasCustomValidityError = false;
55
- this.internals_ = this.attachInternals();
56
- }
57
- static { this.formAssociated = true; }
58
- attributeChangedCallback(attribute, newValue, oldValue) {
59
- if (attribute === 'value' && this.dirty) {
60
- // After user input, changing the value attribute no longer updates the
61
- // text field's value (until reset). This matches native <input> behavior.
62
- return;
63
- }
64
- super.attributeChangedCallback(attribute, newValue, oldValue);
65
- }
66
- connectedCallback() {
67
- super.connectedCallback();
68
- // Handles the case where the user submits the form and native validation
69
- // error pops up. We want the error styles to show.
70
- this.addEventListener('invalid', this.onInvalid);
71
- }
72
- disconnectedCallback() {
73
- super.disconnectedCallback();
74
- this.removeEventListener('invalid', this.onInvalid);
75
- }
76
- #disabled_accessor_storage;
77
- /**
78
- * Whether or not the input should be disabled
79
- */
80
- get disabled() { return this.#disabled_accessor_storage; }
81
- set disabled(value) { this.#disabled_accessor_storage = value; }
82
- #error_accessor_storage;
83
- /**
84
- * Gets or sets whether or not the text field is in a visually invalid state.
85
- *
86
- * This error state overrides the error state controlled by
87
- * `reportValidity()`.
88
- */
89
- get error() { return this.#error_accessor_storage; }
90
- set error(value) { this.#error_accessor_storage = value; }
91
- #errorText_accessor_storage;
92
- /**
93
- * The error message that replaces supporting text when `error` is true. If
94
- * `errorText` is an empty string, then the supporting text will continue to
95
- * show.
96
- *
97
- * This error message overrides the error message displayed by
98
- * `reportValidity()`.
99
- */
100
- get errorText() { return this.#errorText_accessor_storage; }
101
- set errorText(value) { this.#errorText_accessor_storage = value; }
102
- #noAsterisk_accessor_storage;
103
- /**
104
- * Whether or not to show an asterisk next to the label.
105
- */
106
- get noAsterisk() { return this.#noAsterisk_accessor_storage; }
107
- set noAsterisk(value) { this.#noAsterisk_accessor_storage = value; }
108
- #label_accessor_storage;
109
- get label() { return this.#label_accessor_storage; }
110
- set label(value) { this.#label_accessor_storage = value; }
111
- #filled_accessor_storage;
112
- /**
113
- * Swaps out outlined text field for a filled text field.
114
- */
115
- get filled() { return this.#filled_accessor_storage; }
116
- set filled(value) { this.#filled_accessor_storage = value; }
117
- #required_accessor_storage;
118
- get required() { return this.#required_accessor_storage; }
119
- set required(value) { this.#required_accessor_storage = value; }
120
- #value_accessor_storage;
121
- /**
122
- * The current value of the text field. It is always a string.
123
- */
124
- get value() { return this.#value_accessor_storage; }
125
- set value(value) { this.#value_accessor_storage = value; }
126
- #prefixText_accessor_storage;
127
- /**
128
- * An optional prefix to display before the input value.
129
- */
130
- get prefixText() { return this.#prefixText_accessor_storage; }
131
- set prefixText(value) { this.#prefixText_accessor_storage = value; }
132
- #suffixText_accessor_storage;
133
- /**
134
- * An optional suffix to display after the input value.
135
- */
136
- get suffixText() { return this.#suffixText_accessor_storage; }
137
- set suffixText(value) { this.#suffixText_accessor_storage = value; }
138
- #hasLeadingIcon_accessor_storage;
139
- /**
140
- * Whether or not the text field has a leading icon. Used for SSR.
141
- */
142
- get hasLeadingIcon() { return this.#hasLeadingIcon_accessor_storage; }
143
- set hasLeadingIcon(value) { this.#hasLeadingIcon_accessor_storage = value; }
144
- #hasTrailingIcon_accessor_storage;
145
- /**
146
- * Whether or not the text field has a trailing icon. Used for SSR.
147
- */
148
- get hasTrailingIcon() { return this.#hasTrailingIcon_accessor_storage; }
149
- set hasTrailingIcon(value) { this.#hasTrailingIcon_accessor_storage = value; }
150
- #max_accessor_storage;
151
- /**
152
- * Defines the greatest value in the range of permitted values.
153
- *
154
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
155
- */
156
- get max() { return this.#max_accessor_storage; }
157
- set max(value) { this.#max_accessor_storage = value; }
158
- #maxLength_accessor_storage;
159
- /**
160
- * The maximum number of characters a user can enter into the text field. Set
161
- * to -1 for none.
162
- *
163
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
164
- */
165
- get maxLength() { return this.#maxLength_accessor_storage; }
166
- set maxLength(value) { this.#maxLength_accessor_storage = value; }
167
- #min_accessor_storage;
168
- /**
169
- * Defines the most negative value in the range of permitted values.
170
- *
171
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
172
- */
173
- get min() { return this.#min_accessor_storage; }
174
- set min(value) { this.#min_accessor_storage = value; }
175
- #supportingText_accessor_storage;
176
- /**
177
- * Conveys additional information below the text field, such as how it should
178
- * be used.
179
- */
180
- get supportingText() { return this.#supportingText_accessor_storage; }
181
- set supportingText(value) { this.#supportingText_accessor_storage = value; }
182
- #placeholder_accessor_storage;
183
- get placeholder() { return this.#placeholder_accessor_storage; }
184
- set placeholder(value) { this.#placeholder_accessor_storage = value; }
185
- #type_accessor_storage;
186
- get type() { return this.#type_accessor_storage; }
187
- set type(value) { this.#type_accessor_storage = value; }
188
- #dirty_accessor_storage;
189
- /**
190
- * Returns true when the text field has been interacted with. Native
191
- * validation errors only display in response to user interactions.
192
- */
193
- get dirty() { return this.#dirty_accessor_storage; }
194
- set dirty(value) { this.#dirty_accessor_storage = value; }
195
- #focused_accessor_storage;
196
- get focused() { return this.#focused_accessor_storage; }
197
- set focused(value) { this.#focused_accessor_storage = value; }
198
- #nativeError_accessor_storage;
199
- /**
200
- * Whether or not a native error has been reported via `reportValidity()`.
201
- */
202
- get nativeError() { return this.#nativeError_accessor_storage; }
203
- set nativeError(value) { this.#nativeError_accessor_storage = value; }
204
- #nativeErrorText_accessor_storage;
205
- /**
206
- * The validation message displayed from a native error via
207
- * `reportValidity()`.
208
- */
209
- get nativeErrorText() { return this.#nativeErrorText_accessor_storage; }
210
- set nativeErrorText(value) { this.#nativeErrorText_accessor_storage = value; }
211
- #autocomplete_accessor_storage;
212
- /**
213
- * Describes what, if any, type of autocomplete functionality the input
214
- * should provide.
215
- *
216
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
217
- */
218
- get autocomplete() { return this.#autocomplete_accessor_storage; }
219
- set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
220
- #input_accessor_storage;
221
- get input() { return this.#input_accessor_storage; }
222
- set input(value) { this.#input_accessor_storage = value; }
223
- #leadingIcons_accessor_storage;
224
- get leadingIcons() { return this.#leadingIcons_accessor_storage; }
225
- set leadingIcons(value) { this.#leadingIcons_accessor_storage = value; }
226
- #trailingIcons_accessor_storage;
227
- get trailingIcons() { return this.#trailingIcons_accessor_storage; }
228
- set trailingIcons(value) { this.#trailingIcons_accessor_storage = value; }
229
- checkValidity() {
230
- this.isCheckingValidity = true;
231
- this.syncValidity();
232
- const isValid = this.internals_.checkValidity();
233
- this.isCheckingValidity = false;
234
- return isValid;
235
- }
236
- reportValidity() {
237
- this.isReportingValidity = true;
238
- let invalidEvent;
239
- this.addEventListener('invalid', (event) => {
240
- invalidEvent = event;
241
- }, { once: true });
242
- const valid = this.checkValidity();
243
- this.showErrorMessage(valid, invalidEvent);
244
- this.isReportingValidity = false;
245
- return valid;
246
- }
247
- get validationMessage() {
248
- this.syncValidity();
249
- return this.internals_.validationMessage;
250
- }
251
- /**
252
- * Returns a `ValidityState` object that represents the validity states of the
253
- * text field.
254
- *
255
- * https://developer.mozilla.org/en-US/docs/Web/API/ValidityState
256
- */
257
- get validity() {
258
- this.syncValidity();
259
- return this.internals_.validity;
260
- }
261
- syncValidity() {
262
- // Sync the internal <input>'s validity and the host's ElementInternals
263
- // validity. We do this to re-use native `<input>` validation messages.
264
- const input = this.input;
265
- if (this.hasCustomValidityError) {
266
- input.setCustomValidity(this.internals_.validationMessage);
267
- }
268
- else {
269
- input.setCustomValidity('');
270
- }
271
- this.internals_.setValidity(input.validity, input.validationMessage, this.input);
272
- }
273
- handleIconChange() {
274
- this.hasLeadingIcon = this.leadingIcons.length > 0;
275
- this.hasTrailingIcon = this.trailingIcons.length > 0;
276
- }
277
- getErrorText() {
278
- return this.error ? this.errorText : this.nativeErrorText;
279
- }
280
- showErrorMessage(valid, invalidEvent) {
281
- if (invalidEvent?.defaultPrevented) {
282
- return valid;
283
- }
284
- const prevMessage = this.getErrorText();
285
- this.nativeError = !valid;
286
- this.nativeErrorText = this.validationMessage;
287
- if (prevMessage === this.getErrorText()) {
288
- this.shadowRoot?.querySelector(this.filled ? 'md-filled-field' : 'md-outlined-field')?.reannounceError();
289
- }
290
- return valid;
291
- }
292
- /**
293
- * Selects all the text in the text field.
294
- *
295
- * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select
296
- */
297
- select() {
298
- this.input.select();
299
- }
300
- setCustomValidity(error) {
301
- this.hasCustomValidityError = !!error;
302
- this.internals_.setValidity({ customError: !!error }, error, this.input);
303
- }
304
- reset() {
305
- this.dirty = false;
306
- this.value = this.getAttribute('value') ?? '';
307
- this.nativeError = false;
308
- this.nativeErrorText = '';
309
- this.error = false;
310
- }
311
- static { this.styles = css `
312
- :host {
313
- display: block;
314
- }
315
-
316
- :host([filled]) {
317
- --md-filled-field-container-shape: 16px;
318
-
319
- --md-filled-field-active-indicator-height: 0;
320
- --md-filled-field-error-active-indicator-height: 0;
321
- --md-filled-field-hover-active-indicator-height: 0;
322
- --md-filled-field-focus-active-indicator-height: 0;
323
- --md-filled-field-disabled-active-indicator-height: 0;
324
-
325
- --md-filled-field-label-text-populated-line-height: 14px;
326
- }
327
-
328
- :host(:not([filled])) {
329
- --md-outlined-field-top-space: 15px;
330
- --md-outlined-field-bottom-space: 15px;
331
- }
332
-
333
- md-outlined-field,
334
- md-filled-field {
335
- width: 100%;
336
- }
337
-
338
- input::-webkit-calendar-picker-indicator {
339
- display: none;
340
- -webkit-appearance: none;
341
- }
342
-
343
- md-icon-button {
344
- margin-right: 8px;
345
- }
346
-
347
- /* Safari Only */
348
- _::-webkit-full-page-media,
349
- _:future,
350
- input {
351
- padding-top: 14px;
352
- padding-bottom: 7px;
353
- }
354
-
355
- :host([filled]) _::-webkit-full-page-media,
356
- :host([filled]) _:future,
357
- :host([filled]) input {
358
- padding-top: 21px;
359
- padding-bottom: 0;
360
- }
361
-
362
- _::-webkit-full-page-media,
363
- _:future,
364
- md-icon-button[open-picker] {
365
- display: none;
366
- }
367
-
368
- @supports (-webkit-touch-callout: none) {
369
- /* CSS specific to iOS devices */
370
- input::-webkit-date-and-time-value {
371
- text-align: left;
372
- }
373
-
374
- input {
375
- min-width: 100px;
376
- padding-bottom: 10px;
377
- padding-top: 16px;
378
- height: 30px;
379
- }
380
-
381
- :host([filled]) input {
382
- padding-bottom: 3px;
383
- padding-top: 23px;
384
- }
385
- }
386
-
387
- /* FireFox specific hacks! */
388
- @-moz-document url-prefix() {
389
- input {
390
- min-width: 186px;
391
- }
392
-
393
- input[type='datetime-local'] {
394
- min-width: 285px;
395
- }
396
-
397
- md-icon-button[open-picker] {
398
- display: none;
399
- }
400
-
401
- :host([filled]) {
402
- --md-filled-field-label-text-populated-line-height: 16px;
403
- }
404
-
405
- :host(:not([filled])) {
406
- --md-outlined-field-top-space: 16px;
407
- --md-outlined-field-bottom-space: 16px;
408
- }
409
- }
410
- `; }
411
- render() {
412
- /* eslint-disable lit/binding-positions, lit/no-invalid-html */
413
- return html `
414
- <${this.filled ? literal `md-filled-field` : literal `md-outlined-field`}
415
- ?disabled=${this.disabled}
416
- ?error=${this.error || this.nativeError}
417
- error-text=${this.getErrorText()}
418
- ?focused=${this.focused}
419
- ?has-end=${this.hasTrailingIcon}
420
- ?has-start=${this.hasLeadingIcon}
421
- label=${this.label}
422
- ?populated=${!!this.value}
423
- ?required=${this.required}
424
- supporting-text=${this.supportingText}
425
- ?no-asterisk=${this.noAsterisk}
426
- >
427
- <span class="icon leading" slot="start">
428
- <slot name="leading-icon" @slotchange=${this.handleIconChange}></slot>
429
- </span>
430
- <input
431
- type=${this.type}
432
- ?disabled=${this.disabled}
433
- aria-describedby="description"
434
- aria-invalid=${this.error || this.nativeError}
435
- aria-label=${this.label}
436
- placeholder=${this.placeholder || ''}
437
- ?required=${this.required}
438
- .value=${live(this.value)}
439
- @change=${(e) => redispatchEvent(this, e)}
440
- @focusin=${() => (this.focused = true)}
441
- @focusout=${() => (this.focused = false)}
442
- .autocomplete=${this.autocomplete}
443
- max=${this.max}
444
- min=${this.min}
445
- @blur=${(e) => redispatchEvent(this, e)}
446
- @input=${(event) => {
447
- this.dirty = true;
448
- this.value = event.target.value;
449
- // Sync validity so that clients can check validity on input.
450
- this.syncValidity();
451
- }}
452
- @select=${(e) => redispatchEvent(this, e)}
453
- />
454
- <span class="icon trailing" slot="end">
455
- <slot name="trailing-icon" @slotchange=${this.handleIconChange}>
456
- <md-icon-button open-picker @click=${() => this.input?.showPicker()}>
457
- <md-icon>calendar_today</md-icon>
458
- </md-icon-button>
459
- </slot>
460
- </span>
461
- </${this.filled ? literal `md-filled-field` : literal `md-outlined-field`}>
462
- `;
463
- /* eslint-enable lit/binding-positions, lit/no-invalid-html */
464
- }
465
- };
466
- __decorate([
467
- property({ type: Boolean, reflect: true })
468
- ], TitaniumDateInput.prototype, "disabled", null);
469
- __decorate([
470
- property({ type: Boolean, reflect: true })
471
- ], TitaniumDateInput.prototype, "error", null);
472
- __decorate([
473
- property({ attribute: 'error-text' })
474
- ], TitaniumDateInput.prototype, "errorText", null);
475
- __decorate([
476
- property({ type: Boolean, attribute: 'no-asterisk' })
477
- ], TitaniumDateInput.prototype, "noAsterisk", null);
478
- __decorate([
479
- property()
480
- ], TitaniumDateInput.prototype, "label", null);
481
- __decorate([
482
- property({ type: Boolean, attribute: 'filled' })
483
- ], TitaniumDateInput.prototype, "filled", null);
484
- __decorate([
485
- property({ type: Boolean, reflect: true })
486
- ], TitaniumDateInput.prototype, "required", null);
487
- __decorate([
488
- property()
489
- ], TitaniumDateInput.prototype, "value", null);
490
- __decorate([
491
- property({ attribute: 'prefix-text' })
492
- ], TitaniumDateInput.prototype, "prefixText", null);
493
- __decorate([
494
- property({ attribute: 'suffix-text' })
495
- ], TitaniumDateInput.prototype, "suffixText", null);
496
- __decorate([
497
- property({ type: Boolean, attribute: 'has-leading-icon' })
498
- ], TitaniumDateInput.prototype, "hasLeadingIcon", null);
499
- __decorate([
500
- property({ type: Boolean, attribute: 'has-trailing-icon' })
501
- ], TitaniumDateInput.prototype, "hasTrailingIcon", null);
502
- __decorate([
503
- property()
504
- ], TitaniumDateInput.prototype, "max", null);
505
- __decorate([
506
- property({ type: Number })
507
- ], TitaniumDateInput.prototype, "maxLength", null);
508
- __decorate([
509
- property()
510
- ], TitaniumDateInput.prototype, "min", null);
511
- __decorate([
512
- property({ attribute: 'supporting-text' })
513
- ], TitaniumDateInput.prototype, "supportingText", null);
514
- __decorate([
515
- property({ reflect: true, converter: stringConverter })
516
- ], TitaniumDateInput.prototype, "placeholder", null);
517
- __decorate([
518
- property({ reflect: true })
519
- ], TitaniumDateInput.prototype, "type", null);
520
- __decorate([
521
- state()
522
- ], TitaniumDateInput.prototype, "dirty", null);
523
- __decorate([
524
- state()
525
- ], TitaniumDateInput.prototype, "focused", null);
526
- __decorate([
527
- state()
528
- ], TitaniumDateInput.prototype, "nativeError", null);
529
- __decorate([
530
- state()
531
- ], TitaniumDateInput.prototype, "nativeErrorText", null);
532
- __decorate([
533
- property({ reflect: true, type: String })
534
- ], TitaniumDateInput.prototype, "autocomplete", null);
535
- __decorate([
536
- query('input')
537
- ], TitaniumDateInput.prototype, "input", null);
538
- __decorate([
539
- queryAssignedElements({ slot: 'leading-icon' })
540
- ], TitaniumDateInput.prototype, "leadingIcons", null);
541
- __decorate([
542
- queryAssignedElements({ slot: 'trailing-icon' })
543
- ], TitaniumDateInput.prototype, "trailingIcons", null);
544
- TitaniumDateInput = __decorate([
545
- customElement('titanium-date-input')
546
- ], TitaniumDateInput);
547
- export { TitaniumDateInput };
548
- //# sourceMappingURL=date-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-input.js","sourceRoot":"","sources":["date-input.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEjF,OAAO,EAAE,eAAe,EAAE,MAAM,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,OAAO,EAAE,IAAI,EAAE,CAAC;6CAAmD;AAKrD;IAAzB,KAAK,EAAE;8CAAgC;AACd;IAAzB,KAAK,EAAE;gDAAkC;AAIhB;IAAzB,KAAK,EAAE;oDAAsC;AAKpB;IAAzB,KAAK,EAAE;wDAAuC;AAQK;IAAnD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qDAA4B;AAErC;IAAhC,KAAK,CAAC,OAAO,CAAC;8CAA0C;AAES;IAAjE,qBAAqB,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;qDAA2C;AACxB;IAAlE,qBAAqB,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;sDAA4C;AA/JlF,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CA0a7B"}
@@ -1,8 +0,0 @@
1
- export declare class DateRangeChangedEvent extends Event {
2
- range: string;
3
- startDate: string;
4
- endDate: string;
5
- static eventType: string;
6
- constructor(range: string, startDate: string, endDate: string, eventInitDict?: EventInit);
7
- }
8
- //# sourceMappingURL=date-range-change-event.d.ts.map
@@ -1,10 +0,0 @@
1
- export class DateRangeChangedEvent extends Event {
2
- static { this.eventType = 'date-range-changed'; }
3
- constructor(range, startDate, endDate, eventInitDict) {
4
- super(DateRangeChangedEvent.eventType, { bubbles: false, composed: true, ...eventInitDict });
5
- this.range = range;
6
- this.startDate = startDate;
7
- this.endDate = endDate;
8
- }
9
- }
10
- //# sourceMappingURL=date-range-change-event.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-range-change-event.js","sourceRoot":"","sources":["date-range-change-event.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,qBAAsB,SAAQ,KAAK;aACvC,cAAS,GAAG,oBAAoB,CAAC;IAExC,YACS,KAAa,EACb,SAAiB,EACjB,OAAe,EACtB,aAAyB;QAEzB,KAAK,CAAC,qBAAqB,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;QALtF,UAAK,GAAL,KAAK,CAAQ;QACb,cAAS,GAAT,SAAS,CAAQ;QACjB,YAAO,GAAP,OAAO,CAAQ;IAIxB,CAAC"}
@@ -1,71 +0,0 @@
1
- import '@material/web/icon/icon';
2
- import '@material/web/field/outlined-field';
3
- import '@material/web/field/filled-field';
4
- import '@material/web/menu/menu';
5
- import '@material/web/button/text-button';
6
- import '@material/web/list/list';
7
- import '@material/web/list/list-item';
8
- import '../date-input/date-input';
9
- import { LitElement } from 'lit';
10
- import { DateRangeOption } from './types/date-range-option';
11
- /**
12
- * Date range selector that allows selection from a list of pre-defined ranges or a custom range
13
- *
14
- * @element titanium-date-range-selector
15
- *
16
- * @fires date-range-changed - Fired when a range selection is made or cleared or the start or end date are changed to a valid combination
17
- *
18
- */
19
- export declare class TitaniumDateRangeSelector extends LitElement {
20
- #private;
21
- /**
22
- * The selected selected range.
23
- */
24
- accessor range: string;
25
- /**
26
- // * The selected start date.
27
- // */
28
- accessor startDate: string;
29
- accessor endDate: string;
30
- /**
31
- * Sets floating label value.
32
- */
33
- accessor label: string;
34
- /**
35
- * Type of date inputs
36
- */
37
- accessor type: 'date' | 'datetime-local';
38
- /**
39
- * Whether or not the input should be disabled
40
- */
41
- accessor disabled: boolean;
42
- /**
43
- * Whether or not the input should be filled
44
- */
45
- accessor filled: boolean;
46
- /**
47
- * Override default ranges with custom options. Needs to contain, at least, 'allTime'.
48
- */
49
- accessor customDateRanges: Map<string, DateRangeOption> | null;
50
- /**
51
- * Conveys additional information below the text field, such as how it should
52
- * be used.
53
- */
54
- accessor supportingText: string;
55
- accessor positioning: 'absolute' | 'fixed' | 'document' | 'popover';
56
- private accessor menu;
57
- private accessor list;
58
- private accessor proposedRange;
59
- private accessor proposedStartDate;
60
- private accessor proposedEndDate;
61
- protected accessor open: boolean;
62
- private accessor focused;
63
- updated(changedProps: any): Promise<void>;
64
- /**
65
- * resets the validity of the start and end date inputs
66
- */
67
- reset(): Promise<void>;
68
- static styles: import("lit").CSSResult;
69
- render(): import("lit-html").TemplateResult;
70
- }
71
- //# sourceMappingURL=date-range-selector.d.ts.map