@paperless/core 0.1.0-alpha.334 → 0.1.0-alpha.335

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 (464) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/{paperless/p-5477db13.entry.js → build/p-0065fc80.entry.js} +2 -2
  3. package/dist/build/{p-5477db13.entry.js.map → p-0065fc80.entry.js.map} +0 -0
  4. package/dist/build/{p-38f88fcb.entry.js → p-04fe2be7.entry.js} +2 -2
  5. package/dist/build/{p-38f88fcb.entry.js.map → p-04fe2be7.entry.js.map} +0 -0
  6. package/dist/build/{p-b5a51e04.entry.js → p-06c0c17c.entry.js} +2 -2
  7. package/dist/build/{p-b5a51e04.entry.js.map → p-06c0c17c.entry.js.map} +0 -0
  8. package/dist/build/p-11e2e81c.entry.js +2 -0
  9. package/dist/build/{p-fe6db098.entry.js.map → p-11e2e81c.entry.js.map} +1 -1
  10. package/dist/build/{p-f64106d1.entry.js → p-19c08855.entry.js} +2 -2
  11. package/dist/build/{p-f64106d1.entry.js.map → p-19c08855.entry.js.map} +0 -0
  12. package/dist/build/{p-26501e6f.entry.js → p-25ac3f10.entry.js} +2 -2
  13. package/dist/build/{p-26501e6f.entry.js.map → p-25ac3f10.entry.js.map} +0 -0
  14. package/dist/{paperless/p-91a42549.entry.js → build/p-32ce71f9.entry.js} +2 -2
  15. package/dist/build/{p-91a42549.entry.js.map → p-32ce71f9.entry.js.map} +0 -0
  16. package/dist/build/p-3a1fa184.entry.js +2 -0
  17. package/dist/{paperless/p-295ef188.entry.js.map → build/p-3a1fa184.entry.js.map} +1 -1
  18. package/dist/build/p-5ab56199.entry.js +2 -0
  19. package/dist/build/{p-5f8538e7.entry.js.map → p-5ab56199.entry.js.map} +1 -1
  20. package/dist/build/p-60b6c14b.entry.js +2 -0
  21. package/dist/build/{p-db4c03d8.entry.js.map → p-60b6c14b.entry.js.map} +1 -1
  22. package/dist/build/p-649b1a0a.entry.js +2 -0
  23. package/dist/build/{p-b54a9bb2.entry.js.map → p-649b1a0a.entry.js.map} +1 -1
  24. package/dist/build/{p-bcbb18e0.entry.js → p-6645532b.entry.js} +2 -2
  25. package/dist/build/{p-bcbb18e0.entry.js.map → p-6645532b.entry.js.map} +0 -0
  26. package/dist/build/{p-8c8f9caa.entry.js → p-6966b84f.entry.js} +2 -2
  27. package/dist/build/{p-8c8f9caa.entry.js.map → p-6966b84f.entry.js.map} +0 -0
  28. package/dist/build/p-69d43b9d.js +3 -0
  29. package/dist/build/p-69d43b9d.js.map +1 -0
  30. package/dist/build/p-6a5f5cc4.entry.js +2 -0
  31. package/dist/build/{p-c1ab6e47.entry.js.map → p-6a5f5cc4.entry.js.map} +1 -1
  32. package/dist/build/p-6a65767e.entry.js +2 -0
  33. package/dist/build/{p-9f4617e1.entry.js.map → p-6a65767e.entry.js.map} +1 -1
  34. package/dist/build/{p-142c9878.entry.js → p-71b442d7.entry.js} +2 -2
  35. package/dist/build/{p-142c9878.entry.js.map → p-71b442d7.entry.js.map} +0 -0
  36. package/dist/build/p-745b9852.entry.js +2 -0
  37. package/dist/build/{p-e6561000.entry.js.map → p-745b9852.entry.js.map} +1 -1
  38. package/dist/build/{p-2336d954.entry.js → p-7e654e16.entry.js} +2 -2
  39. package/dist/build/{p-2336d954.entry.js.map → p-7e654e16.entry.js.map} +0 -0
  40. package/dist/{paperless/p-df38fb1d.entry.js → build/p-9066d04f.entry.js} +2 -2
  41. package/dist/{paperless/p-df38fb1d.entry.js.map → build/p-9066d04f.entry.js.map} +1 -1
  42. package/dist/{paperless/p-d3d37d1d.entry.js → build/p-94cf7d35.entry.js} +2 -2
  43. package/dist/{paperless/p-d3d37d1d.entry.js.map → build/p-94cf7d35.entry.js.map} +1 -1
  44. package/dist/build/p-963d2b2a.entry.js +2 -0
  45. package/dist/build/{p-ef0622db.entry.js.map → p-963d2b2a.entry.js.map} +1 -1
  46. package/dist/build/{p-52d7d305.entry.js → p-966917a1.entry.js} +2 -2
  47. package/dist/build/{p-52d7d305.entry.js.map → p-966917a1.entry.js.map} +0 -0
  48. package/dist/build/p-97ea9ebe.entry.js +2 -0
  49. package/dist/build/{p-09a3626c.entry.js.map → p-97ea9ebe.entry.js.map} +1 -1
  50. package/dist/build/p-9dc6f147.entry.js +2 -0
  51. package/dist/build/{p-2e66e252.entry.js.map → p-9dc6f147.entry.js.map} +1 -1
  52. package/dist/build/p-9f88e06d.entry.js +2 -0
  53. package/dist/{paperless/p-fb277355.entry.js.map → build/p-9f88e06d.entry.js.map} +1 -1
  54. package/dist/build/p-a206e4cd.entry.js +2 -0
  55. package/dist/build/{p-8a471962.entry.js.map → p-a206e4cd.entry.js.map} +1 -1
  56. package/dist/{paperless/p-3fffdc43.entry.js → build/p-a5eb1757.entry.js} +2 -2
  57. package/dist/build/{p-3fffdc43.entry.js.map → p-a5eb1757.entry.js.map} +0 -0
  58. package/dist/build/p-a6576739.entry.js +2 -0
  59. package/dist/{paperless/p-05f976da.entry.js.map → build/p-a6576739.entry.js.map} +1 -1
  60. package/dist/build/p-ad5ba47b.entry.js +2 -0
  61. package/dist/build/{p-4539d855.entry.js.map → p-ad5ba47b.entry.js.map} +1 -1
  62. package/dist/build/p-b4121a02.entry.js +2 -0
  63. package/dist/{paperless/p-a5133564.entry.js.map → build/p-b4121a02.entry.js.map} +1 -1
  64. package/dist/build/p-b4616ed4.entry.js +2 -0
  65. package/dist/build/{p-d85a8835.entry.js.map → p-b4616ed4.entry.js.map} +1 -1
  66. package/dist/build/p-ba02ea5b.entry.js +2 -0
  67. package/dist/build/{p-c5a5a394.entry.js.map → p-ba02ea5b.entry.js.map} +1 -1
  68. package/dist/{paperless/p-0764d32f.entry.js → build/p-bf38e363.entry.js} +2 -2
  69. package/dist/build/{p-0764d32f.entry.js.map → p-bf38e363.entry.js.map} +0 -0
  70. package/dist/build/{p-5da19525.entry.js → p-c1e7b677.entry.js} +2 -2
  71. package/dist/build/{p-5da19525.entry.js.map → p-c1e7b677.entry.js.map} +0 -0
  72. package/dist/build/p-c770eac3.entry.js +2 -0
  73. package/dist/build/{p-62543956.entry.js.map → p-c770eac3.entry.js.map} +1 -1
  74. package/dist/build/p-d774205e.entry.js +2 -0
  75. package/dist/build/{p-90a0ba40.entry.js.map → p-d774205e.entry.js.map} +1 -1
  76. package/dist/{paperless/p-dcf862ac.entry.js → build/p-da62f3c0.entry.js} +2 -2
  77. package/dist/build/{p-dcf862ac.entry.js.map → p-da62f3c0.entry.js.map} +0 -0
  78. package/dist/build/{p-ce944a28.entry.js → p-eba0b0a5.entry.js} +2 -2
  79. package/dist/build/{p-ce944a28.entry.js.map → p-eba0b0a5.entry.js.map} +0 -0
  80. package/dist/build/p-eee779b4.entry.js +2 -0
  81. package/dist/build/{p-270f2589.entry.js.map → p-eee779b4.entry.js.map} +1 -1
  82. package/dist/build/paperless.esm.js +1 -1
  83. package/dist/cjs/{index-0a3162ce.js → index-19716b9c.js} +250 -3
  84. package/dist/cjs/index-19716b9c.js.map +1 -0
  85. package/dist/cjs/loader.cjs.js +1 -1
  86. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  87. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  88. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  89. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  90. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  91. package/dist/cjs/p-button_3.cjs.entry.js +4 -4
  92. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  93. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  94. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  95. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  96. package/dist/cjs/p-card-header.cjs.entry.js +1 -1
  97. package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
  98. package/dist/cjs/p-counter.cjs.entry.js +2 -2
  99. package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
  100. package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
  101. package/dist/cjs/p-divider.cjs.entry.js +2 -2
  102. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  103. package/dist/cjs/p-drawer-body_3.cjs.entry.js +1 -1
  104. package/dist/cjs/p-drawer.cjs.entry.js +1 -1
  105. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
  106. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  107. package/dist/cjs/p-dropdown_2.cjs.entry.js +3 -3
  108. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  109. package/dist/cjs/p-helper_3.cjs.entry.js +4 -4
  110. package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
  111. package/dist/cjs/p-illustration_6.cjs.entry.js +6 -6
  112. package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -1
  113. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  114. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
  115. package/dist/cjs/p-label_3.cjs.entry.js +4 -4
  116. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
  117. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  118. package/dist/cjs/p-modal-body_4.cjs.entry.js +5 -5
  119. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  120. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  121. package/dist/cjs/p-navbar.cjs.entry.js +2 -2
  122. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  123. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  124. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  125. package/dist/cjs/p-page-size-select_3.cjs.entry.js +3 -3
  126. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
  127. package/dist/cjs/p-profile.cjs.entry.js +2 -2
  128. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  129. package/dist/cjs/p-select.cjs.entry.js +2 -2
  130. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  131. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  132. package/dist/cjs/p-status.cjs.entry.js +2 -2
  133. package/dist/cjs/p-status.cjs.entry.js.map +1 -1
  134. package/dist/cjs/p-stepper-item_2.cjs.entry.js +3 -3
  135. package/dist/cjs/p-stepper-item_2.cjs.entry.js.map +1 -1
  136. package/dist/cjs/p-stepper.cjs.entry.js +2 -2
  137. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  138. package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
  139. package/dist/cjs/p-tab-group.cjs.entry.js.map +1 -1
  140. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  141. package/dist/cjs/p-table-column.cjs.entry.js +1 -1
  142. package/dist/cjs/p-table.cjs.entry.js +2 -2
  143. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  144. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  145. package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -1
  146. package/dist/cjs/p-toast.cjs.entry.js +2 -2
  147. package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
  148. package/dist/cjs/paperless.cjs.js +1 -1
  149. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  150. package/dist/collection/components/atoms/button/button.component.css +1 -1
  151. package/dist/collection/components/atoms/counter/counter.component.css +1 -1
  152. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  153. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  154. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  155. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  156. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  157. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  158. package/dist/collection/components/atoms/label/label.component.css +1 -1
  159. package/dist/collection/components/atoms/loader/loader.component.css +1 -1
  160. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
  161. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
  162. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
  163. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
  164. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  165. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
  166. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  167. package/dist/collection/components/atoms/status/status.component.css +1 -1
  168. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
  169. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
  170. package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -1
  171. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
  172. package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -1
  173. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  174. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
  175. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  176. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
  177. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  178. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  179. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  180. package/dist/collection/components/molecules/select/select.component.css +1 -1
  181. package/dist/collection/components/molecules/stepper/stepper.component.css +1 -1
  182. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
  183. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  184. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
  185. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
  186. package/dist/collection/components/molecules/toast/toast.component.css +1 -1
  187. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  188. package/dist/collection/components/organisms/table/table.component.css +1 -1
  189. package/dist/components/backdrop.component.js +1 -1
  190. package/dist/components/backdrop.component.js.map +1 -1
  191. package/dist/components/button.component.js +1 -1
  192. package/dist/components/button.component.js.map +1 -1
  193. package/dist/components/counter.component.js +1 -1
  194. package/dist/components/counter.component.js.map +1 -1
  195. package/dist/components/divider.component.js +1 -1
  196. package/dist/components/divider.component.js.map +1 -1
  197. package/dist/components/dropdown-menu-container.component.js +1 -1
  198. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  199. package/dist/components/dropdown-menu-item.component.js +1 -1
  200. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  201. package/dist/components/dropdown.component.js +1 -1
  202. package/dist/components/dropdown.component.js.map +1 -1
  203. package/dist/components/helper.component.js +1 -1
  204. package/dist/components/helper.component.js.map +1 -1
  205. package/dist/components/icon.component.js +1 -1
  206. package/dist/components/input-group.component.js +1 -1
  207. package/dist/components/input-group.component.js.map +1 -1
  208. package/dist/components/label.component.js +1 -1
  209. package/dist/components/label.component.js.map +1 -1
  210. package/dist/components/loader.component.js +1 -1
  211. package/dist/components/loader.component.js.map +1 -1
  212. package/dist/components/modal-body.component.js +1 -1
  213. package/dist/components/modal-body.component.js.map +1 -1
  214. package/dist/components/modal-container.component.js +1 -1
  215. package/dist/components/modal-container.component.js.map +1 -1
  216. package/dist/components/modal-footer.component.js +1 -1
  217. package/dist/components/modal-footer.component.js.map +1 -1
  218. package/dist/components/modal-header.component.js +1 -1
  219. package/dist/components/modal-header.component.js.map +1 -1
  220. package/dist/components/p-info-panel.js +1 -1
  221. package/dist/components/p-info-panel.js.map +1 -1
  222. package/dist/components/p-navbar.js +1 -1
  223. package/dist/components/p-navbar.js.map +1 -1
  224. package/dist/components/p-navigation-item.js +1 -1
  225. package/dist/components/p-navigation-item.js.map +1 -1
  226. package/dist/components/p-profile.js +1 -1
  227. package/dist/components/p-profile.js.map +1 -1
  228. package/dist/components/p-select.js +1 -1
  229. package/dist/components/p-select.js.map +1 -1
  230. package/dist/components/p-status.js +1 -1
  231. package/dist/components/p-status.js.map +1 -1
  232. package/dist/components/p-stepper.js +1 -1
  233. package/dist/components/p-stepper.js.map +1 -1
  234. package/dist/components/p-tab-group.js +1 -1
  235. package/dist/components/p-tab-group.js.map +1 -1
  236. package/dist/components/p-table.js +1 -1
  237. package/dist/components/p-table.js.map +1 -1
  238. package/dist/components/p-toast-container.js +1 -1
  239. package/dist/components/p-toast-container.js.map +1 -1
  240. package/dist/components/p-toast.js +1 -1
  241. package/dist/components/p-toast.js.map +1 -1
  242. package/dist/components/pagination-item.component.js +1 -1
  243. package/dist/components/pagination-item.component.js.map +1 -1
  244. package/dist/components/pagination.component.js +1 -1
  245. package/dist/components/pagination.component.js.map +1 -1
  246. package/dist/components/segment-container.component.js +1 -1
  247. package/dist/components/segment-container.component.js.map +1 -1
  248. package/dist/components/segment-item.component.js +1 -1
  249. package/dist/components/segment-item.component.js.map +1 -1
  250. package/dist/components/stepper-item.component.js +1 -1
  251. package/dist/components/stepper-item.component.js.map +1 -1
  252. package/dist/components/stepper-line.component.js +1 -1
  253. package/dist/components/stepper-line.component.js.map +1 -1
  254. package/dist/components/table-cell.component.js +1 -1
  255. package/dist/components/table-cell.component.js.map +1 -1
  256. package/dist/components/table-container.component.js +1 -1
  257. package/dist/components/table-container.component.js.map +1 -1
  258. package/dist/components/table-footer.component.js +1 -1
  259. package/dist/components/table-footer.component.js.map +1 -1
  260. package/dist/components/table-header.component.js +1 -1
  261. package/dist/components/table-header.component.js.map +1 -1
  262. package/dist/components/table-row.component.js +1 -1
  263. package/dist/components/table-row.component.js.map +1 -1
  264. package/dist/components/tooltip.component.js +1 -1
  265. package/dist/components/tooltip.component.js.map +1 -1
  266. package/dist/esm/{index-5b62da5c.js → index-8a4a3f2a.js} +250 -3
  267. package/dist/esm/index-8a4a3f2a.js.map +1 -0
  268. package/dist/esm/loader.js +2 -2
  269. package/dist/esm/p-accordion.entry.js +1 -1
  270. package/dist/esm/p-avatar-group.entry.js +1 -1
  271. package/dist/esm/p-avatar.entry.js +1 -1
  272. package/dist/esm/p-backdrop.entry.js +2 -2
  273. package/dist/esm/p-backdrop.entry.js.map +1 -1
  274. package/dist/esm/p-button_3.entry.js +4 -4
  275. package/dist/esm/p-button_3.entry.js.map +1 -1
  276. package/dist/esm/p-calendar.entry.js +1 -1
  277. package/dist/esm/p-card-body.entry.js +1 -1
  278. package/dist/esm/p-card-container.entry.js +1 -1
  279. package/dist/esm/p-card-header.entry.js +1 -1
  280. package/dist/esm/p-content-slider.entry.js +1 -1
  281. package/dist/esm/p-counter.entry.js +2 -2
  282. package/dist/esm/p-counter.entry.js.map +1 -1
  283. package/dist/esm/p-datepicker.entry.js +1 -1
  284. package/dist/esm/p-divider.entry.js +2 -2
  285. package/dist/esm/p-divider.entry.js.map +1 -1
  286. package/dist/esm/p-drawer-body_3.entry.js +1 -1
  287. package/dist/esm/p-drawer.entry.js +1 -1
  288. package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
  289. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  290. package/dist/esm/p-dropdown_2.entry.js +3 -3
  291. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  292. package/dist/esm/p-helper_3.entry.js +4 -4
  293. package/dist/esm/p-helper_3.entry.js.map +1 -1
  294. package/dist/esm/p-illustration_6.entry.js +6 -6
  295. package/dist/esm/p-illustration_6.entry.js.map +1 -1
  296. package/dist/esm/p-info-panel.entry.js +2 -2
  297. package/dist/esm/p-info-panel.entry.js.map +1 -1
  298. package/dist/esm/p-label_3.entry.js +4 -4
  299. package/dist/esm/p-label_3.entry.js.map +1 -1
  300. package/dist/esm/p-layout.entry.js +1 -1
  301. package/dist/esm/p-modal-body_4.entry.js +5 -5
  302. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  303. package/dist/esm/p-modal.entry.js +1 -1
  304. package/dist/esm/p-navbar.entry.js +2 -2
  305. package/dist/esm/p-navbar.entry.js.map +1 -1
  306. package/dist/esm/p-navigation-item.entry.js +2 -2
  307. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  308. package/dist/esm/p-page-size-select_3.entry.js +3 -3
  309. package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
  310. package/dist/esm/p-profile.entry.js +2 -2
  311. package/dist/esm/p-profile.entry.js.map +1 -1
  312. package/dist/esm/p-select.entry.js +2 -2
  313. package/dist/esm/p-select.entry.js.map +1 -1
  314. package/dist/esm/p-slider-indicator.entry.js +1 -1
  315. package/dist/esm/p-status.entry.js +2 -2
  316. package/dist/esm/p-status.entry.js.map +1 -1
  317. package/dist/esm/p-stepper-item_2.entry.js +3 -3
  318. package/dist/esm/p-stepper-item_2.entry.js.map +1 -1
  319. package/dist/esm/p-stepper.entry.js +2 -2
  320. package/dist/esm/p-stepper.entry.js.map +1 -1
  321. package/dist/esm/p-tab-group.entry.js +2 -2
  322. package/dist/esm/p-tab-group.entry.js.map +1 -1
  323. package/dist/esm/p-tab-item.entry.js +1 -1
  324. package/dist/esm/p-table-column.entry.js +1 -1
  325. package/dist/esm/p-table.entry.js +2 -2
  326. package/dist/esm/p-table.entry.js.map +1 -1
  327. package/dist/esm/p-toast-container.entry.js +2 -2
  328. package/dist/esm/p-toast-container.entry.js.map +1 -1
  329. package/dist/esm/p-toast.entry.js +2 -2
  330. package/dist/esm/p-toast.entry.js.map +1 -1
  331. package/dist/esm/paperless.js +2 -2
  332. package/dist/index.html +1 -1
  333. package/dist/{build/p-5477db13.entry.js → paperless/p-0065fc80.entry.js} +2 -2
  334. package/dist/paperless/{p-5477db13.entry.js.map → p-0065fc80.entry.js.map} +0 -0
  335. package/dist/paperless/{p-38f88fcb.entry.js → p-04fe2be7.entry.js} +2 -2
  336. package/dist/paperless/{p-38f88fcb.entry.js.map → p-04fe2be7.entry.js.map} +0 -0
  337. package/dist/paperless/{p-b5a51e04.entry.js → p-06c0c17c.entry.js} +2 -2
  338. package/dist/paperless/{p-b5a51e04.entry.js.map → p-06c0c17c.entry.js.map} +0 -0
  339. package/dist/paperless/p-11e2e81c.entry.js +2 -0
  340. package/dist/paperless/{p-fe6db098.entry.js.map → p-11e2e81c.entry.js.map} +1 -1
  341. package/dist/paperless/{p-f64106d1.entry.js → p-19c08855.entry.js} +2 -2
  342. package/dist/paperless/{p-f64106d1.entry.js.map → p-19c08855.entry.js.map} +0 -0
  343. package/dist/paperless/{p-26501e6f.entry.js → p-25ac3f10.entry.js} +2 -2
  344. package/dist/paperless/{p-26501e6f.entry.js.map → p-25ac3f10.entry.js.map} +0 -0
  345. package/dist/{build/p-91a42549.entry.js → paperless/p-32ce71f9.entry.js} +2 -2
  346. package/dist/paperless/{p-91a42549.entry.js.map → p-32ce71f9.entry.js.map} +0 -0
  347. package/dist/paperless/p-3a1fa184.entry.js +2 -0
  348. package/dist/{build/p-295ef188.entry.js.map → paperless/p-3a1fa184.entry.js.map} +1 -1
  349. package/dist/paperless/p-5ab56199.entry.js +2 -0
  350. package/dist/paperless/{p-5f8538e7.entry.js.map → p-5ab56199.entry.js.map} +1 -1
  351. package/dist/paperless/p-60b6c14b.entry.js +2 -0
  352. package/dist/paperless/{p-db4c03d8.entry.js.map → p-60b6c14b.entry.js.map} +1 -1
  353. package/dist/paperless/p-649b1a0a.entry.js +2 -0
  354. package/dist/paperless/{p-b54a9bb2.entry.js.map → p-649b1a0a.entry.js.map} +1 -1
  355. package/dist/paperless/{p-bcbb18e0.entry.js → p-6645532b.entry.js} +2 -2
  356. package/dist/paperless/{p-bcbb18e0.entry.js.map → p-6645532b.entry.js.map} +0 -0
  357. package/dist/paperless/{p-8c8f9caa.entry.js → p-6966b84f.entry.js} +2 -2
  358. package/dist/paperless/{p-8c8f9caa.entry.js.map → p-6966b84f.entry.js.map} +0 -0
  359. package/dist/paperless/p-69d43b9d.js +3 -0
  360. package/dist/paperless/p-69d43b9d.js.map +1 -0
  361. package/dist/paperless/p-6a5f5cc4.entry.js +2 -0
  362. package/dist/paperless/{p-c1ab6e47.entry.js.map → p-6a5f5cc4.entry.js.map} +1 -1
  363. package/dist/paperless/p-6a65767e.entry.js +2 -0
  364. package/dist/paperless/{p-9f4617e1.entry.js.map → p-6a65767e.entry.js.map} +1 -1
  365. package/dist/paperless/{p-142c9878.entry.js → p-71b442d7.entry.js} +2 -2
  366. package/dist/paperless/{p-142c9878.entry.js.map → p-71b442d7.entry.js.map} +0 -0
  367. package/dist/paperless/p-745b9852.entry.js +2 -0
  368. package/dist/paperless/{p-e6561000.entry.js.map → p-745b9852.entry.js.map} +1 -1
  369. package/dist/paperless/{p-2336d954.entry.js → p-7e654e16.entry.js} +2 -2
  370. package/dist/paperless/{p-2336d954.entry.js.map → p-7e654e16.entry.js.map} +0 -0
  371. package/dist/{build/p-df38fb1d.entry.js → paperless/p-9066d04f.entry.js} +2 -2
  372. package/dist/{build/p-df38fb1d.entry.js.map → paperless/p-9066d04f.entry.js.map} +1 -1
  373. package/dist/{build/p-d3d37d1d.entry.js → paperless/p-94cf7d35.entry.js} +2 -2
  374. package/dist/{build/p-d3d37d1d.entry.js.map → paperless/p-94cf7d35.entry.js.map} +1 -1
  375. package/dist/paperless/p-963d2b2a.entry.js +2 -0
  376. package/dist/paperless/{p-ef0622db.entry.js.map → p-963d2b2a.entry.js.map} +1 -1
  377. package/dist/paperless/{p-52d7d305.entry.js → p-966917a1.entry.js} +2 -2
  378. package/dist/paperless/{p-52d7d305.entry.js.map → p-966917a1.entry.js.map} +0 -0
  379. package/dist/paperless/p-97ea9ebe.entry.js +2 -0
  380. package/dist/paperless/{p-09a3626c.entry.js.map → p-97ea9ebe.entry.js.map} +1 -1
  381. package/dist/paperless/p-9dc6f147.entry.js +2 -0
  382. package/dist/paperless/{p-2e66e252.entry.js.map → p-9dc6f147.entry.js.map} +1 -1
  383. package/dist/paperless/p-9f88e06d.entry.js +2 -0
  384. package/dist/{build/p-fb277355.entry.js.map → paperless/p-9f88e06d.entry.js.map} +1 -1
  385. package/dist/paperless/p-a206e4cd.entry.js +2 -0
  386. package/dist/paperless/{p-8a471962.entry.js.map → p-a206e4cd.entry.js.map} +1 -1
  387. package/dist/{build/p-3fffdc43.entry.js → paperless/p-a5eb1757.entry.js} +2 -2
  388. package/dist/paperless/{p-3fffdc43.entry.js.map → p-a5eb1757.entry.js.map} +0 -0
  389. package/dist/paperless/p-a6576739.entry.js +2 -0
  390. package/dist/{build/p-05f976da.entry.js.map → paperless/p-a6576739.entry.js.map} +1 -1
  391. package/dist/paperless/p-ad5ba47b.entry.js +2 -0
  392. package/dist/paperless/{p-4539d855.entry.js.map → p-ad5ba47b.entry.js.map} +1 -1
  393. package/dist/paperless/p-b4121a02.entry.js +2 -0
  394. package/dist/{build/p-a5133564.entry.js.map → paperless/p-b4121a02.entry.js.map} +1 -1
  395. package/dist/paperless/p-b4616ed4.entry.js +2 -0
  396. package/dist/paperless/{p-d85a8835.entry.js.map → p-b4616ed4.entry.js.map} +1 -1
  397. package/dist/paperless/p-ba02ea5b.entry.js +2 -0
  398. package/dist/paperless/{p-c5a5a394.entry.js.map → p-ba02ea5b.entry.js.map} +1 -1
  399. package/dist/{build/p-0764d32f.entry.js → paperless/p-bf38e363.entry.js} +2 -2
  400. package/dist/paperless/{p-0764d32f.entry.js.map → p-bf38e363.entry.js.map} +0 -0
  401. package/dist/paperless/{p-5da19525.entry.js → p-c1e7b677.entry.js} +2 -2
  402. package/dist/paperless/{p-5da19525.entry.js.map → p-c1e7b677.entry.js.map} +0 -0
  403. package/dist/paperless/p-c770eac3.entry.js +2 -0
  404. package/dist/paperless/{p-62543956.entry.js.map → p-c770eac3.entry.js.map} +1 -1
  405. package/dist/paperless/p-d774205e.entry.js +2 -0
  406. package/dist/paperless/{p-90a0ba40.entry.js.map → p-d774205e.entry.js.map} +1 -1
  407. package/dist/{build/p-dcf862ac.entry.js → paperless/p-da62f3c0.entry.js} +2 -2
  408. package/dist/paperless/{p-dcf862ac.entry.js.map → p-da62f3c0.entry.js.map} +0 -0
  409. package/dist/paperless/{p-ce944a28.entry.js → p-eba0b0a5.entry.js} +2 -2
  410. package/dist/paperless/{p-ce944a28.entry.js.map → p-eba0b0a5.entry.js.map} +0 -0
  411. package/dist/paperless/p-eee779b4.entry.js +2 -0
  412. package/dist/paperless/{p-270f2589.entry.js.map → p-eee779b4.entry.js.map} +1 -1
  413. package/dist/paperless/paperless.esm.js +1 -1
  414. package/dist/sw.js +1 -1
  415. package/dist/sw.js.map +1 -1
  416. package/package.json +4 -4
  417. package/dist/build/p-05f976da.entry.js +0 -2
  418. package/dist/build/p-09a3626c.entry.js +0 -2
  419. package/dist/build/p-270f2589.entry.js +0 -2
  420. package/dist/build/p-295ef188.entry.js +0 -2
  421. package/dist/build/p-2e66e252.entry.js +0 -2
  422. package/dist/build/p-4539d855.entry.js +0 -2
  423. package/dist/build/p-5f8538e7.entry.js +0 -2
  424. package/dist/build/p-62543956.entry.js +0 -2
  425. package/dist/build/p-8a471962.entry.js +0 -2
  426. package/dist/build/p-90a0ba40.entry.js +0 -2
  427. package/dist/build/p-9f4617e1.entry.js +0 -2
  428. package/dist/build/p-a5133564.entry.js +0 -2
  429. package/dist/build/p-b54a9bb2.entry.js +0 -2
  430. package/dist/build/p-c1ab6e47.entry.js +0 -2
  431. package/dist/build/p-c432f3f6.js +0 -3
  432. package/dist/build/p-c432f3f6.js.map +0 -1
  433. package/dist/build/p-c5a5a394.entry.js +0 -2
  434. package/dist/build/p-d85a8835.entry.js +0 -2
  435. package/dist/build/p-db4c03d8.entry.js +0 -2
  436. package/dist/build/p-e6561000.entry.js +0 -2
  437. package/dist/build/p-ef0622db.entry.js +0 -2
  438. package/dist/build/p-fb277355.entry.js +0 -2
  439. package/dist/build/p-fe6db098.entry.js +0 -2
  440. package/dist/cjs/index-0a3162ce.js.map +0 -1
  441. package/dist/esm/index-5b62da5c.js.map +0 -1
  442. package/dist/paperless/p-05f976da.entry.js +0 -2
  443. package/dist/paperless/p-09a3626c.entry.js +0 -2
  444. package/dist/paperless/p-270f2589.entry.js +0 -2
  445. package/dist/paperless/p-295ef188.entry.js +0 -2
  446. package/dist/paperless/p-2e66e252.entry.js +0 -2
  447. package/dist/paperless/p-4539d855.entry.js +0 -2
  448. package/dist/paperless/p-5f8538e7.entry.js +0 -2
  449. package/dist/paperless/p-62543956.entry.js +0 -2
  450. package/dist/paperless/p-8a471962.entry.js +0 -2
  451. package/dist/paperless/p-90a0ba40.entry.js +0 -2
  452. package/dist/paperless/p-9f4617e1.entry.js +0 -2
  453. package/dist/paperless/p-a5133564.entry.js +0 -2
  454. package/dist/paperless/p-b54a9bb2.entry.js +0 -2
  455. package/dist/paperless/p-c1ab6e47.entry.js +0 -2
  456. package/dist/paperless/p-c432f3f6.js +0 -3
  457. package/dist/paperless/p-c432f3f6.js.map +0 -1
  458. package/dist/paperless/p-c5a5a394.entry.js +0 -2
  459. package/dist/paperless/p-d85a8835.entry.js +0 -2
  460. package/dist/paperless/p-db4c03d8.entry.js +0 -2
  461. package/dist/paperless/p-e6561000.entry.js +0 -2
  462. package/dist/paperless/p-ef0622db.entry.js +0 -2
  463. package/dist/paperless/p-fb277355.entry.js +0 -2
  464. package/dist/paperless/p-fe6db098.entry.js +0 -2
@@ -30,6 +30,13 @@ const uniqueTime = (key, measureText) => {
30
30
  };
31
31
  }
32
32
  };
33
+ const CONTENT_REF_ID = 'r';
34
+ const ORG_LOCATION_ID = 'o';
35
+ const SLOT_NODE_ID = 's';
36
+ const TEXT_NODE_ID = 't';
37
+ const HYDRATE_ID = 's-id';
38
+ const HYDRATED_STYLE_ID = 'sty-id';
39
+ const HYDRATE_CHILD_ID = 'c-id';
33
40
  const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
34
41
  /**
35
42
  * Default style mode id
@@ -211,6 +218,211 @@ const convertToPrivate = (node) => {
211
218
  vnode.$name$ = node.vname;
212
219
  return vnode;
213
220
  };
221
+ const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
222
+ const endHydrate = createTime('hydrateClient', tagName);
223
+ const shadowRoot = hostElm.shadowRoot;
224
+ const childRenderNodes = [];
225
+ const slotNodes = [];
226
+ const shadowRootNodes = shadowRoot ? [] : null;
227
+ const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
228
+ if (!plt.$orgLocNodes$) {
229
+ initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
230
+ }
231
+ hostElm[HYDRATE_ID] = hostId;
232
+ hostElm.removeAttribute(HYDRATE_ID);
233
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
234
+ childRenderNodes.map((c) => {
235
+ const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
236
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
237
+ const node = c.$elm$;
238
+ if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
239
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
240
+ }
241
+ if (!shadowRoot) {
242
+ node['s-hn'] = tagName;
243
+ if (orgLocationNode) {
244
+ node['s-ol'] = orgLocationNode;
245
+ node['s-ol']['s-nr'] = node;
246
+ }
247
+ }
248
+ plt.$orgLocNodes$.delete(orgLocationId);
249
+ });
250
+ if (shadowRoot) {
251
+ shadowRootNodes.map((shadowRootNode) => {
252
+ if (shadowRootNode) {
253
+ shadowRoot.appendChild(shadowRootNode);
254
+ }
255
+ });
256
+ }
257
+ endHydrate();
258
+ };
259
+ const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
260
+ let childNodeType;
261
+ let childIdSplt;
262
+ let childVNode;
263
+ let i;
264
+ if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
265
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
266
+ if (childNodeType) {
267
+ // got the node data from the element's attribute
268
+ // `${hostId}.${nodeId}.${depth}.${index}`
269
+ childIdSplt = childNodeType.split('.');
270
+ if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
271
+ childVNode = {
272
+ $flags$: 0,
273
+ $hostId$: childIdSplt[0],
274
+ $nodeId$: childIdSplt[1],
275
+ $depth$: childIdSplt[2],
276
+ $index$: childIdSplt[3],
277
+ $tag$: node.tagName.toLowerCase(),
278
+ $elm$: node,
279
+ $attrs$: null,
280
+ $children$: null,
281
+ $key$: null,
282
+ $name$: null,
283
+ $text$: null,
284
+ };
285
+ childRenderNodes.push(childVNode);
286
+ node.removeAttribute(HYDRATE_CHILD_ID);
287
+ // this is a new child vnode
288
+ // so ensure its parent vnode has the vchildren array
289
+ if (!parentVNode.$children$) {
290
+ parentVNode.$children$ = [];
291
+ }
292
+ // add our child vnode to a specific index of the vnode's children
293
+ parentVNode.$children$[childVNode.$index$] = childVNode;
294
+ // this is now the new parent vnode for all the next child checks
295
+ parentVNode = childVNode;
296
+ if (shadowRootNodes && childVNode.$depth$ === '0') {
297
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
298
+ }
299
+ }
300
+ }
301
+ // recursively drill down, end to start so we can remove nodes
302
+ for (i = node.childNodes.length - 1; i >= 0; i--) {
303
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
304
+ }
305
+ if (node.shadowRoot) {
306
+ // keep drilling down through the shadow root nodes
307
+ for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
308
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
309
+ }
310
+ }
311
+ }
312
+ else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
313
+ // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
314
+ childIdSplt = node.nodeValue.split('.');
315
+ if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
316
+ // comment node for either the host id or a 0 host id
317
+ childNodeType = childIdSplt[0];
318
+ childVNode = {
319
+ $flags$: 0,
320
+ $hostId$: childIdSplt[1],
321
+ $nodeId$: childIdSplt[2],
322
+ $depth$: childIdSplt[3],
323
+ $index$: childIdSplt[4],
324
+ $elm$: node,
325
+ $attrs$: null,
326
+ $children$: null,
327
+ $key$: null,
328
+ $name$: null,
329
+ $tag$: null,
330
+ $text$: null,
331
+ };
332
+ if (childNodeType === TEXT_NODE_ID) {
333
+ childVNode.$elm$ = node.nextSibling;
334
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
335
+ childVNode.$text$ = childVNode.$elm$.textContent;
336
+ childRenderNodes.push(childVNode);
337
+ // remove the text comment since it's no longer needed
338
+ node.remove();
339
+ if (!parentVNode.$children$) {
340
+ parentVNode.$children$ = [];
341
+ }
342
+ parentVNode.$children$[childVNode.$index$] = childVNode;
343
+ if (shadowRootNodes && childVNode.$depth$ === '0') {
344
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
345
+ }
346
+ }
347
+ }
348
+ else if (childVNode.$hostId$ === hostId) {
349
+ // this comment node is specifcally for this host id
350
+ if (childNodeType === SLOT_NODE_ID) {
351
+ // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
352
+ childVNode.$tag$ = 'slot';
353
+ if (childIdSplt[5]) {
354
+ node['s-sn'] = childVNode.$name$ = childIdSplt[5];
355
+ }
356
+ else {
357
+ node['s-sn'] = '';
358
+ }
359
+ node['s-sr'] = true;
360
+ if (shadowRootNodes) {
361
+ // browser support shadowRoot and this is a shadow dom component
362
+ // create an actual slot element
363
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
364
+ if (childVNode.$name$) {
365
+ // add the slot name attribute
366
+ childVNode.$elm$.setAttribute('name', childVNode.$name$);
367
+ }
368
+ // insert the new slot element before the slot comment
369
+ node.parentNode.insertBefore(childVNode.$elm$, node);
370
+ // remove the slot comment since it's not needed for shadow
371
+ node.remove();
372
+ if (childVNode.$depth$ === '0') {
373
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
374
+ }
375
+ }
376
+ slotNodes.push(childVNode);
377
+ if (!parentVNode.$children$) {
378
+ parentVNode.$children$ = [];
379
+ }
380
+ parentVNode.$children$[childVNode.$index$] = childVNode;
381
+ }
382
+ else if (childNodeType === CONTENT_REF_ID) {
383
+ // `${CONTENT_REF_ID}.${hostId}`;
384
+ if (shadowRootNodes) {
385
+ // remove the content ref comment since it's not needed for shadow
386
+ node.remove();
387
+ }
388
+ else {
389
+ hostElm['s-cr'] = node;
390
+ node['s-cn'] = true;
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ else if (parentVNode && parentVNode.$tag$ === 'style') {
397
+ const vnode = newVNode(null, node.textContent);
398
+ vnode.$elm$ = node;
399
+ vnode.$index$ = '0';
400
+ parentVNode.$children$ = [vnode];
401
+ }
402
+ };
403
+ const initializeDocumentHydrate = (node, orgLocNodes) => {
404
+ if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
405
+ let i = 0;
406
+ for (; i < node.childNodes.length; i++) {
407
+ initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
408
+ }
409
+ if (node.shadowRoot) {
410
+ for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
411
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
412
+ }
413
+ }
414
+ }
415
+ else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
416
+ const childIdSplt = node.nodeValue.split('.');
417
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
418
+ orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
419
+ node.nodeValue = '';
420
+ // useful to know if the original location is
421
+ // the root light-dom of a shadow dom component
422
+ node['s-en'] = childIdSplt[3];
423
+ }
424
+ }
425
+ };
214
426
  /**
215
427
  * Parse a new property value for a given property type.
216
428
  *
@@ -317,7 +529,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
317
529
  rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
318
530
  }
319
531
  if (!appliedStyles.has(scopeId)) {
320
- {
532
+ if (styleContainerNode.host &&
533
+ (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
534
+ // This is only happening on native shadow-dom, do not needs CSS var shim
535
+ styleElm.innerHTML = style;
536
+ }
537
+ else {
321
538
  // TODO(STENCIL-659): Remove code implementing the CSS variable shim
322
539
  {
323
540
  styleElm = doc.createElement('style');
@@ -362,6 +579,7 @@ const attachStyles = (hostRef) => {
362
579
  endAttachStyles();
363
580
  };
364
581
  const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
582
+ const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
365
583
  /**
366
584
  * Production setAccessor() function based on Preact by
367
585
  * Jason Miller (@developit)
@@ -1658,7 +1876,18 @@ const connectedCallback = (elm) => {
1658
1876
  if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1659
1877
  // first time this component has connected
1660
1878
  hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1879
+ let hostId;
1661
1880
  {
1881
+ hostId = elm.getAttribute(HYDRATE_ID);
1882
+ if (hostId) {
1883
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1884
+ const scopeId = addStyle(elm.shadowRoot, cmpMeta);
1885
+ elm.classList.remove(scopeId + '-h', scopeId + '-s');
1886
+ }
1887
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1888
+ }
1889
+ }
1890
+ if (!hostId) {
1662
1891
  // initUpdate
1663
1892
  // if the slot polyfill is required we'll need to put some nodes
1664
1893
  // in here to act as original content anchors as we move nodes around
@@ -1675,7 +1904,10 @@ const connectedCallback = (elm) => {
1675
1904
  while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1676
1905
  // climb up the ancestors looking for the first
1677
1906
  // component that hasn't finished its lifecycle update yet
1678
- if (ancestorComponent['s-p']) {
1907
+ if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
1908
+ ancestorComponent.hasAttribute('s-id') &&
1909
+ ancestorComponent['s-p']) ||
1910
+ ancestorComponent['s-p']) {
1679
1911
  // we found this components first ancestor component
1680
1912
  // keep a reference to this component's ancestor component
1681
1913
  attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
@@ -1743,10 +1975,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1743
1975
  const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1744
1976
  const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1745
1977
  const deferredConnectedCallbacks = [];
1978
+ const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1746
1979
  let appLoadFallback;
1747
1980
  let isBootstrapping = true;
1981
+ let i = 0;
1748
1982
  Object.assign(plt, options);
1749
1983
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1984
+ {
1985
+ // If the app is already hydrated there is not point to disable the
1986
+ // async queue. This will improve the first input delay
1987
+ plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
1988
+ }
1989
+ {
1990
+ for (; i < styles.length; i++) {
1991
+ registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
1992
+ }
1993
+ }
1750
1994
  lazyBundles.map((lazyBundle) => {
1751
1995
  lazyBundle[1].map((compactMeta) => {
1752
1996
  const cmpMeta = {
@@ -2101,6 +2345,9 @@ const plt = {
2101
2345
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2102
2346
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
2103
2347
  };
2348
+ const supportsShadow =
2349
+ // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2350
+ true;
2104
2351
  const promiseResolve = (v) => Promise.resolve(v);
2105
2352
  const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2106
2353
  try {
@@ -2156,4 +2403,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2156
2403
 
2157
2404
  export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2158
2405
 
2159
- //# sourceMappingURL=index-5b62da5c.js.map
2406
+ //# sourceMappingURL=index-8a4a3f2a.js.map