@leavittsoftware/web 8.6.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 -51
  294. package/titanium/drawer/drawer.js +0 -415
  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,111 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import '@material/web/textfield/filled-text-field';
3
- import '@material/web/icon/icon';
4
- import '@material/web/iconbutton/icon-button';
5
- import { redispatchEvent } from '@material/web/internal/events/redispatch-event';
6
- import { LitElement, html, css } from 'lit';
7
- import { customElement, property, query } from 'lit/decorators.js';
8
- let TitaniumFilledSearchInput = class TitaniumFilledSearchInput extends LitElement {
9
- #value_accessor_storage = '';
10
- get value() { return this.#value_accessor_storage; }
11
- set value(value) { this.#value_accessor_storage = value; }
12
- #placeholder_accessor_storage = 'Search';
13
- get placeholder() { return this.#placeholder_accessor_storage; }
14
- set placeholder(value) { this.#placeholder_accessor_storage = value; }
15
- #autocomplete_accessor_storage = 'off';
16
- get autocomplete() { return this.#autocomplete_accessor_storage; }
17
- set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
18
- #spellcheck_accessor_storage = false;
19
- get spellcheck() { return this.#spellcheck_accessor_storage; }
20
- set spellcheck(value) { this.#spellcheck_accessor_storage = value; }
21
- #disabled_accessor_storage = false;
22
- get disabled() { return this.#disabled_accessor_storage; }
23
- set disabled(value) { this.#disabled_accessor_storage = value; }
24
- #textField_accessor_storage;
25
- get textField() { return this.#textField_accessor_storage; }
26
- set textField(value) { this.#textField_accessor_storage = value; }
27
- static { this.styles = css `
28
- :host {
29
- display: block;
30
- max-width: 640px;
31
- width: 100%;
32
-
33
- --md-filled-text-field-container-color: var(--md-sys-color-surface-container-high);
34
- --md-filled-text-field-container-shape: 24px;
35
- --md-filled-field-container-shape: 24px;
36
-
37
- --md-filled-text-field-active-indicator-height: 0;
38
- --md-filled-text-field-error-active-indicator-height: 0;
39
- --md-filled-text-field-hover-active-indicator-height: 0;
40
- --md-filled-text-field-focus-active-indicator-height: 0;
41
- --md-filled-text-field-disabled-active-indicator-height: 0;
42
-
43
- --md-filled-text-field-bottom-space: 12px;
44
- --md-filled-text-field-top-space: 12px;
45
- }
46
-
47
- md-filled-text-field {
48
- width: 100%;
49
- }
50
-
51
- [hidden] {
52
- display: none !important;
53
- }
54
- `; }
55
- render() {
56
- return html `
57
- <md-filled-text-field
58
- type="search"
59
- .autocomplete=${this.autocomplete}
60
- .spellcheck=${this.spellcheck}
61
- .disabled=${this.disabled}
62
- .value=${this.value}
63
- placeholder=${this.placeholder}
64
- @input=${(e) => {
65
- this.value = e.target.value;
66
- this.dispatchEvent(new Event('input', { composed: true }));
67
- }}
68
- @blur=${(e) => redispatchEvent(this, e)}
69
- @focus=${(e) => redispatchEvent(this, e)}
70
- @change=${(e) => redispatchEvent(this, e)}
71
- @invalid=${(e) => redispatchEvent(this, e)}
72
- >
73
- <md-icon slot="leading-icon">search</md-icon>
74
- <md-icon-button
75
- slot="trailing-icon"
76
- ?hidden=${!this.value}
77
- @click=${() => {
78
- this.value = '';
79
- this.textField?.focus?.();
80
- this.dispatchEvent(new Event('input', { composed: true }));
81
- }}
82
- >
83
- <md-icon>close</md-icon>
84
- </md-icon-button>
85
- </md-filled-text-field>
86
- `;
87
- }
88
- };
89
- __decorate([
90
- property({ type: String })
91
- ], TitaniumFilledSearchInput.prototype, "value", null);
92
- __decorate([
93
- property({ type: String })
94
- ], TitaniumFilledSearchInput.prototype, "placeholder", null);
95
- __decorate([
96
- property({ type: String })
97
- ], TitaniumFilledSearchInput.prototype, "autocomplete", null);
98
- __decorate([
99
- property({ type: Boolean })
100
- ], TitaniumFilledSearchInput.prototype, "spellcheck", null);
101
- __decorate([
102
- property({ type: Boolean })
103
- ], TitaniumFilledSearchInput.prototype, "disabled", null);
104
- __decorate([
105
- query('md-filled-text-field')
106
- ], TitaniumFilledSearchInput.prototype, "textField", null);
107
- TitaniumFilledSearchInput = __decorate([
108
- customElement('titanium-filled-search-input')
109
- ], TitaniumFilledSearchInput);
110
- export default TitaniumFilledSearchInput;
111
- //# sourceMappingURL=filled-search-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filled-search-input.js","sourceRoot":"","sources":["filled-search-input.ts"],"names":[],"mappings":";AAAA,OAAO,2CAA2C,CAAC;AACnD,OAAO,yBAAyB,CAAC;AACjC,OAAO,sCAA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O,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC;iBAC9B,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC;kBAC9B,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC;mBAC9B,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC;;;;;oBAK9B,CAAC,IAAI,CAAC,KAAK;mBACZ,GAAG,EAAE;YACZ,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;YAChB,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC;YAC1B,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAC7D,CAAC;;;;;KAKN,CAAC;IACJ,CAAC;;AArEoC;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sDAA6B;AACnB;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4DAAyC;AAC/B;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6DAAuC;AAC5B;IAArC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2DAAsC;AAC5B;IAArC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yDAAoC;AAEhB;IAA/C,KAAK,CAAC,sBAAsB,CAAC;0DAA+C;AAP1D,yBAAyB;IAD7C,aAAa,CAAC,8BAA8B,CAAC;GACzB,yBAAyB,CAuE7C;eAvEoB,yBAAyB"}
@@ -1,29 +0,0 @@
1
- import { PropertyValues } from 'lit';
2
- import '@material/web/iconbutton/icon-button';
3
- import '@material/web/icon/icon';
4
- import { ExtendableOutlinedTextField } from '../extendable-outlined-text-field/extendable-outlined-text-field';
5
- /**
6
- * A styled input with built-in search and clear icons. .
7
- *
8
- * @element titanium-search-input
9
- *
10
- * @cssprop {Length} --titanium-search-input-expanded-width - Width when input expands
11
- *
12
- */
13
- export declare class TitaniumSearchInput extends ExtendableOutlinedTextField {
14
- /**
15
- * Whether or not the input should hide the clear button
16
- */
17
- accessor hideClearButton: boolean;
18
- /**
19
- * Whether the input should prevent collapse.
20
- */
21
- accessor preventCollapse: boolean;
22
- protected accessor hasValue: boolean;
23
- accessor autocomplete: string;
24
- accessor spellcheck: boolean;
25
- updated(changedProps: PropertyValues<this>): Promise<void>;
26
- static styles: import("lit").CSSResult;
27
- protected renderMainSlot(): import("lit-html").TemplateResult<1>;
28
- }
29
- //# sourceMappingURL=search-input.d.ts.map
@@ -1,123 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { css, html, nothing } from 'lit';
3
- import { property, customElement } from 'lit/decorators.js';
4
- import '@material/web/iconbutton/icon-button';
5
- import '@material/web/icon/icon';
6
- import { ExtendableOutlinedTextField } from '../extendable-outlined-text-field/extendable-outlined-text-field';
7
- /**
8
- * A styled input with built-in search and clear icons. .
9
- *
10
- * @element titanium-search-input
11
- *
12
- * @cssprop {Length} --titanium-search-input-expanded-width - Width when input expands
13
- *
14
- */
15
- let TitaniumSearchInput = class TitaniumSearchInput extends ExtendableOutlinedTextField {
16
- #hideClearButton_accessor_storage = false;
17
- /**
18
- * Whether or not the input should hide the clear button
19
- */
20
- get hideClearButton() { return this.#hideClearButton_accessor_storage; }
21
- set hideClearButton(value) { this.#hideClearButton_accessor_storage = value; }
22
- #preventCollapse_accessor_storage = false;
23
- /**
24
- * Whether the input should prevent collapse.
25
- */
26
- get preventCollapse() { return this.#preventCollapse_accessor_storage; }
27
- set preventCollapse(value) { this.#preventCollapse_accessor_storage = value; }
28
- #hasValue_accessor_storage = true;
29
- get hasValue() { return this.#hasValue_accessor_storage; }
30
- set hasValue(value) { this.#hasValue_accessor_storage = value; }
31
- #autocomplete_accessor_storage = 'off';
32
- get autocomplete() { return this.#autocomplete_accessor_storage; }
33
- set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
34
- #spellcheck_accessor_storage = false;
35
- get spellcheck() { return this.#spellcheck_accessor_storage; }
36
- set spellcheck(value) { this.#spellcheck_accessor_storage = value; }
37
- async updated(changedProps) {
38
- if (changedProps.has('value')) {
39
- this.hasValue = !!this.value;
40
- }
41
- }
42
- static { this.styles = css `
43
- :host {
44
- display: block;
45
- cursor: pointer;
46
- overflow: hidden;
47
- }
48
-
49
- md-outlined-text-field {
50
- width: 48px;
51
- --md-outlined-field-outline-width: 0;
52
- --md-outlined-field-hover-outline-width: 0;
53
- --md-outlined-field-disabled-outline-width: 0;
54
-
55
- -webkit-transition: width 250ms 0ms cubic-bezier(0.4, 0, 0.2, 1); /* Safari */
56
- transition: width 250ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
57
- --md-outlined-text-field-bottom-space: 11px;
58
- --md-outlined-text-field-top-space: 11px;
59
- }
60
-
61
- :host([has-value]) md-icon-button[search],
62
- :host([prevent-collapse]) md-icon-button[search],
63
- md-outlined-text-field:focus-within md-icon-button[search] {
64
- pointer-events: none;
65
- }
66
-
67
- :host([has-value]) md-outlined-text-field,
68
- :host([prevent-collapse]) md-outlined-text-field,
69
- md-outlined-text-field:focus-within {
70
- --md-outlined-field-outline-width: initial;
71
- --md-outlined-field-disabled-outline-width: initial;
72
- --md-outlined-field-hover-outline-width: initial;
73
- --md-outlined-text-field-container-shape: initial;
74
-
75
- width: var(--titanium-search-input-expanded-width, 258px);
76
- }
77
- `; }
78
- renderMainSlot() {
79
- return html `
80
- <slot></slot>
81
- <md-icon-button search ?disabled=${this.disabled} @click=${() => this.focus()} @focus=${() => this.focus()} slot="leading-icon">
82
- <md-icon search>search</md-icon></md-icon-button
83
- >
84
-
85
- ${!this.hasValue
86
- ? nothing
87
- : html `<md-icon-button
88
- slot="trailing-icon"
89
- ?disabled=${!this.value || this.disabled}
90
- @click=${() => {
91
- if (this.disabled) {
92
- return;
93
- }
94
- this.input.focus();
95
- this.value = '';
96
- this.dispatchEvent(new Event('input'));
97
- }}
98
- >
99
- <md-icon>close</md-icon></md-icon-button
100
- >`}
101
- `;
102
- }
103
- };
104
- __decorate([
105
- property({ type: Boolean, attribute: 'hide-clear-button' })
106
- ], TitaniumSearchInput.prototype, "hideClearButton", null);
107
- __decorate([
108
- property({ type: Boolean, reflect: true, attribute: 'prevent-collapse' })
109
- ], TitaniumSearchInput.prototype, "preventCollapse", null);
110
- __decorate([
111
- property({ type: Boolean, reflect: true, attribute: 'has-value' })
112
- ], TitaniumSearchInput.prototype, "hasValue", null);
113
- __decorate([
114
- property({ reflect: true, type: String })
115
- ], TitaniumSearchInput.prototype, "autocomplete", null);
116
- __decorate([
117
- property({ reflect: true, type: Boolean })
118
- ], TitaniumSearchInput.prototype, "spellcheck", null);
119
- TitaniumSearchInput = __decorate([
120
- customElement('titanium-search-input')
121
- ], TitaniumSearchInput);
122
- export { TitaniumSearchInput };
123
- //# sourceMappingURL=search-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"search-input.js","sourceRoot":"","sources":["search-input.ts"],"names":[],"mappings":";AAAA,OAAO,EAAkB,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAE/G;;;;;;;GAOG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,2BAA2B;IAII,oCAA2B,KAAK,CAAC;IAHvG;;OAEG;IACmE,IAAA,eAAe,qDAAkB;IAAjC,IAAA,eAAe,2DAAkB;IAKnB,oCAA2B,KAAK,CAAC;IAHrH;;OAEG;IACiF,IAAA,eAAe,qDAAkB;IAAjC,IAAA,eAAe,2D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AE,CAAC;0DAA2C;AAKnB;IAAnF,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;0DAA2C;AAE9B;IAAtF,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;mDAA6C;AAE5D;IAAnD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uDAAuC;AAE5B;IAApD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qDAAsC;AAftE,mBAAmB;IAD/B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,mBAAmB,CAqF/B"}
@@ -1,9 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class TitanuimServiceWorkerNotifier extends LitElement {
3
- #private;
4
- accessor notificationsStatus: string;
5
- accessor scriptUrl: string;
6
- connectedCallback(): Promise<void>;
7
- render(): import("lit-html").TemplateResult<1>;
8
- }
9
- //# sourceMappingURL=service-worker-notifier.d.ts.map
@@ -1,58 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { html, LitElement } from 'lit';
3
- import { property, customElement } from 'lit/decorators.js';
4
- import { ShowSnackbarEvent } from '../../titanium/snackbar/show-snackbar-event';
5
- let TitanuimServiceWorkerNotifier = class TitanuimServiceWorkerNotifier extends LitElement {
6
- #notificationsStatus_accessor_storage;
7
- get notificationsStatus() { return this.#notificationsStatus_accessor_storage; }
8
- set notificationsStatus(value) { this.#notificationsStatus_accessor_storage = value; }
9
- #scriptUrl_accessor_storage = 'service-worker.js';
10
- get scriptUrl() { return this.#scriptUrl_accessor_storage; }
11
- set scriptUrl(value) { this.#scriptUrl_accessor_storage = value; }
12
- #newWorker;
13
- #refreshing = false;
14
- async connectedCallback() {
15
- if ('serviceWorker' in navigator) {
16
- const reg = await navigator.serviceWorker.getRegistration();
17
- if (reg) {
18
- reg.addEventListener('updatefound', () => {
19
- this.#newWorker = reg.installing;
20
- this.#newWorker?.addEventListener('statechange', () => {
21
- if (this.#newWorker?.state === 'installed' && navigator.serviceWorker.controller) {
22
- this.#showUpdatedSnackbar();
23
- }
24
- });
25
- });
26
- if (reg.waiting && navigator.serviceWorker.controller) {
27
- this.#newWorker = reg.waiting;
28
- this.#showUpdatedSnackbar();
29
- }
30
- }
31
- navigator.serviceWorker.addEventListener('controllerchange', () => {
32
- if (this.#refreshing) {
33
- return;
34
- }
35
- window.location.reload();
36
- this.#refreshing = true;
37
- });
38
- }
39
- }
40
- async #showUpdatedSnackbar() {
41
- await this.dispatchEvent(new ShowSnackbarEvent('Site has been updated', { actionText: 'RELOAD' }));
42
- this.#newWorker?.postMessage({ type: 'SKIP_WAITING' });
43
- }
44
- render() {
45
- return html ``;
46
- }
47
- };
48
- __decorate([
49
- property({ type: String })
50
- ], TitanuimServiceWorkerNotifier.prototype, "notificationsStatus", null);
51
- __decorate([
52
- property({ type: String })
53
- ], TitanuimServiceWorkerNotifier.prototype, "scriptUrl", null);
54
- TitanuimServiceWorkerNotifier = __decorate([
55
- customElement('titanium-service-worker-notifier')
56
- ], TitanuimServiceWorkerNotifier);
57
- export { TitanuimServiceWorkerNotifier };
58
- //# sourceMappingURL=service-worker-notifier.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service-worker-notifier.js","sourceRoot":"","sources":["service-worker-notifier.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAGzE,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,UAAU;IACtB,sCAA4B;IAA5B,IAAA,mBAAmB,yDAAS;IAA5B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AM,IAAI,CAAC,aAAa,CAAC,IAAI,iBAAiB,CAAC,uBAAuB,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;QACnG,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IACzD,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA,EAAE,CAAC;IAChB,CAAC;CACF,CAAA;AA3CsC;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wEAAsC;AAC5B;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8DAAkD;AAFlE,6BAA6B;IADzC,aAAa,CAAC,kCAAkC,CAAC;GACrC,6BAA6B,CA4CzC"}
@@ -1,41 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import '@material/web/button/outlined-button';
3
- import '@material/web/button/filled-button';
4
- /**
5
- * Titanium Show Hide
6
- *
7
- * @element titanium-show-hide
8
- *
9
- * @slot - main slot for content. Please note that component is assuming that the slotted content is not deeply nested.
10
- * Please place your items directly in the titanium-show-hide element default slot for this component to function properly.
11
- *
12
- * @slot [button] - slot for button to show/hide content. If you do not provide a button slot the component will create a default button.
13
- *
14
- * @cssprop [--titanium-show-hide-flex-direction=column] - flex direction for the parent of the slotted in content
15
- * @cssprop [--titanium-show-hide-flex-wrap=wrap] - flex wrap for the parent of the slotted in content
16
- * @cssprop [--titanium-show-hide-gap=8px] - flex direction of the for the parent of the slotted in content
17
- */
18
- export default class TitaniumShowHide extends LitElement {
19
- #private;
20
- /**
21
- * This will be the height of the content you want visible when collapsed.
22
- * An example would be if you have a list of items where each item is 20px in height
23
- * and you want to show only the first 2 items pass in 48px (height of 2 items + gap).
24
- */
25
- accessor collapseHeight: number;
26
- accessor disableFade: boolean;
27
- accessor collapsed: boolean;
28
- protected accessor hasHiddenItems: boolean;
29
- accessor hiddenItemCount: number;
30
- /**
31
- * Swaps out outlined button for a filled button when true
32
- */
33
- accessor filled: boolean;
34
- protected accessor itemsContainer: HTMLElement;
35
- protected accessor collapsedContainer: HTMLElement;
36
- updated(changedProps: PropertyValues<this>): void;
37
- firstUpdated(): void;
38
- static styles: import("lit").CSSResult[];
39
- render(): import("lit-html").TemplateResult;
40
- }
41
- //# sourceMappingURL=show-hide.d.ts.map
@@ -1,171 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { css, LitElement } from 'lit';
3
- import { literal, html } from 'lit/static-html.js';
4
- import { customElement, property, query } from 'lit/decorators.js';
5
- import '@material/web/button/outlined-button';
6
- import '@material/web/button/filled-button';
7
- /**
8
- * Titanium Show Hide
9
- *
10
- * @element titanium-show-hide
11
- *
12
- * @slot - main slot for content. Please note that component is assuming that the slotted content is not deeply nested.
13
- * Please place your items directly in the titanium-show-hide element default slot for this component to function properly.
14
- *
15
- * @slot [button] - slot for button to show/hide content. If you do not provide a button slot the component will create a default button.
16
- *
17
- * @cssprop [--titanium-show-hide-flex-direction=column] - flex direction for the parent of the slotted in content
18
- * @cssprop [--titanium-show-hide-flex-wrap=wrap] - flex wrap for the parent of the slotted in content
19
- * @cssprop [--titanium-show-hide-gap=8px] - flex direction of the for the parent of the slotted in content
20
- */
21
- let TitaniumShowHide = class TitaniumShowHide extends LitElement {
22
- #collapseHeight_accessor_storage = 120;
23
- /**
24
- * This will be the height of the content you want visible when collapsed.
25
- * An example would be if you have a list of items where each item is 20px in height
26
- * and you want to show only the first 2 items pass in 48px (height of 2 items + gap).
27
- */
28
- get collapseHeight() { return this.#collapseHeight_accessor_storage; }
29
- set collapseHeight(value) { this.#collapseHeight_accessor_storage = value; }
30
- #disableFade_accessor_storage = false;
31
- get disableFade() { return this.#disableFade_accessor_storage; }
32
- set disableFade(value) { this.#disableFade_accessor_storage = value; }
33
- #collapsed_accessor_storage = true;
34
- get collapsed() { return this.#collapsed_accessor_storage; }
35
- set collapsed(value) { this.#collapsed_accessor_storage = value; }
36
- #hasHiddenItems_accessor_storage = false;
37
- get hasHiddenItems() { return this.#hasHiddenItems_accessor_storage; }
38
- set hasHiddenItems(value) { this.#hasHiddenItems_accessor_storage = value; }
39
- #hiddenItemCount_accessor_storage = 0;
40
- get hiddenItemCount() { return this.#hiddenItemCount_accessor_storage; }
41
- set hiddenItemCount(value) { this.#hiddenItemCount_accessor_storage = value; }
42
- #filled_accessor_storage = false;
43
- /**
44
- * Swaps out outlined button for a filled button when true
45
- */
46
- get filled() { return this.#filled_accessor_storage; }
47
- set filled(value) { this.#filled_accessor_storage = value; }
48
- #itemsContainer_accessor_storage;
49
- get itemsContainer() { return this.#itemsContainer_accessor_storage; }
50
- set itemsContainer(value) { this.#itemsContainer_accessor_storage = value; }
51
- #collapsedContainer_accessor_storage;
52
- get collapsedContainer() { return this.#collapsedContainer_accessor_storage; }
53
- set collapsedContainer(value) { this.#collapsedContainer_accessor_storage = value; }
54
- updated(changedProps) {
55
- if (changedProps.has('collapsed')) {
56
- this.dispatchEvent(new Event('collapsed-changed'));
57
- }
58
- if (changedProps.has('hiddenItemCount')) {
59
- this.dispatchEvent(new Event('hidden-item-count-changed'));
60
- }
61
- }
62
- firstUpdated() {
63
- const resizeObserver = new ResizeObserver(() => {
64
- // Look at the reserved space in the container and see how many items we can show without exceeding the collapse height.
65
- // We then display the count of the remaining hidden items on the button
66
- const items = this.itemsContainer.children?.[0]?.assignedElements();
67
- this.hiddenItemCount = items.filter((o) => !this.#isWithin(this.collapsedContainer, o)).length;
68
- this.hasHiddenItems = !!this.hiddenItemCount;
69
- });
70
- resizeObserver.observe(this.itemsContainer);
71
- }
72
- #isWithin(container, element) {
73
- const containerRect = container.getBoundingClientRect();
74
- const elementRect = element.getBoundingClientRect();
75
- return (elementRect.top >= containerRect.top &&
76
- elementRect.bottom <= containerRect.top + this.collapseHeight &&
77
- elementRect.left >= containerRect.left &&
78
- elementRect.right <= containerRect.right);
79
- }
80
- static { this.styles = [
81
- css `
82
- :host {
83
- display: flex;
84
- flex-direction: column;
85
- }
86
-
87
- items-container,
88
- collapsed-box {
89
- display: block;
90
- }
91
-
92
- :host([collapsed]) collapsed-box {
93
- overflow: hidden;
94
- }
95
-
96
- :host([collapsed][has-hidden-items]:not([disable-fade])) collapsed-box {
97
- -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
98
- mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
99
- }
100
-
101
- items-container {
102
- display: flex;
103
- flex-direction: var(--titanium-show-hide-flex-direction, column);
104
- flex-wrap: var(--titanium-show-hide-flex-wrap, wrap);
105
- gap: var(--titanium-show-hide-gap, 8px);
106
- }
107
-
108
- md-outlined-button,
109
- md-filled-button {
110
- max-width: 160px;
111
- width: 100%;
112
- margin-top: 12px;
113
- align-self: center;
114
- }
115
-
116
- [hidden] {
117
- display: none;
118
- }
119
- `,
120
- ]; }
121
- render() {
122
- /* eslint-disable lit/binding-positions, lit/no-invalid-html */
123
- return html `
124
- <style>
125
- :host([collapsed]) collapsed-box {
126
- max-height: ${this.collapseHeight}px;
127
- }
128
- </style>
129
- <collapsed-box>
130
- <items-container part="items-container">
131
- <slot></slot>
132
- </items-container>
133
- </collapsed-box>
134
- <slot name="button" @click=${() => (this.collapsed = !this.collapsed)} ?hidden=${!this.hasHiddenItems}>
135
- <${this.filled ? literal `md-filled-button` : literal `md-outlined-button`} part="button">
136
- ${this.collapsed ? `Show more (${this.hiddenItemCount})` : 'Show less'}
137
- </${this.filled ? literal `md-filled-button` : literal `md-outlined-button`}>
138
- </slot>
139
- `;
140
- /* eslint-enable lit/binding-positions, lit/no-invalid-html */
141
- }
142
- };
143
- __decorate([
144
- property({ type: Number, attribute: 'collapse-height' })
145
- ], TitaniumShowHide.prototype, "collapseHeight", null);
146
- __decorate([
147
- property({ type: Boolean, reflect: true, attribute: 'disable-fade' })
148
- ], TitaniumShowHide.prototype, "disableFade", null);
149
- __decorate([
150
- property({ type: Boolean, reflect: true, attribute: 'collapsed' })
151
- ], TitaniumShowHide.prototype, "collapsed", null);
152
- __decorate([
153
- property({ type: Boolean, reflect: true, attribute: 'has-hidden-items' })
154
- ], TitaniumShowHide.prototype, "hasHiddenItems", null);
155
- __decorate([
156
- property({ type: Number })
157
- ], TitaniumShowHide.prototype, "hiddenItemCount", null);
158
- __decorate([
159
- property({ type: Boolean, attribute: 'filled' })
160
- ], TitaniumShowHide.prototype, "filled", null);
161
- __decorate([
162
- query('items-container')
163
- ], TitaniumShowHide.prototype, "itemsContainer", null);
164
- __decorate([
165
- query('collapsed-box')
166
- ], TitaniumShowHide.prototype, "collapsedContainer", null);
167
- TitaniumShowHide = __decorate([
168
- customElement('titanium-show-hide')
169
- ], TitaniumShowHide);
170
- export default TitaniumShowHide;
171
- //# sourceMappingURL=show-hide.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"show-hide.js","sourceRoot":"","sources":["show-hide.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,sCAAsC,CAAC;AAC9C,OAAO,oCAAoC,CAAC;AAE5C;;;;;;;;;;;;;GAaG;AAEY,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAMa,mCAAyB,GAAG,CAAC;IALhG;;;;OAIG;IACgE,IAAA,cAAc,oDAAe;IAA7B,IAAA,cAAc,0DAAe;IAChB,gCAAuB,KAAK,CAAC;IAA7B,IAAA,WAAW,iDAAkB;IAA7B,IAAA,WAAW,uDAAkB;IAChC,8BAAqB,IAAI,CAAC;IAA1B,IAAA,SAAS,+CAAiB;IAA1B,IAAA,SAAS,qDAAiB;IACT,mCAA0B,KAAK,CAAC;IAAhC,IAAA,cAAc,oDAAkB;IAAhC,IAAA,cAAc,0DAAkB;IACzF,oCAA0B,CAA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