solid-panes 5.0.0 → 5.1.0-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 (408) hide show
  1. package/README.md +84 -2
  2. package/dist/RDFXMLPane2.cjs.js.map +1 -1
  3. package/dist/_virtual/~icons/lucide/cake.cjs.js +2 -0
  4. package/dist/_virtual/~icons/lucide/cake.cjs.js.map +1 -0
  5. package/dist/_virtual/~icons/lucide/cake.esm.js +11 -0
  6. package/dist/_virtual/~icons/lucide/cake.esm.js.map +1 -0
  7. package/dist/_virtual/~icons/lucide/camera.cjs.js +2 -0
  8. package/dist/_virtual/~icons/lucide/camera.cjs.js.map +1 -0
  9. package/dist/_virtual/~icons/lucide/camera.esm.js +11 -0
  10. package/dist/_virtual/~icons/lucide/camera.esm.js.map +1 -0
  11. package/dist/_virtual/~icons/lucide/circle-user-round.cjs.js +2 -0
  12. package/dist/_virtual/~icons/lucide/circle-user-round.cjs.js.map +1 -0
  13. package/dist/_virtual/~icons/lucide/circle-user-round.esm.js +11 -0
  14. package/dist/_virtual/~icons/lucide/circle-user-round.esm.js.map +1 -0
  15. package/dist/_virtual/~icons/lucide/mail.cjs.js +2 -0
  16. package/dist/_virtual/~icons/lucide/mail.cjs.js.map +1 -0
  17. package/dist/_virtual/~icons/lucide/mail.esm.js +11 -0
  18. package/dist/_virtual/~icons/lucide/mail.esm.js.map +1 -0
  19. package/dist/_virtual/~icons/lucide/map-pin.cjs.js +2 -0
  20. package/dist/_virtual/~icons/lucide/map-pin.cjs.js.map +1 -0
  21. package/dist/_virtual/~icons/lucide/map-pin.esm.js +11 -0
  22. package/dist/_virtual/~icons/lucide/map-pin.esm.js.map +1 -0
  23. package/dist/_virtual/~icons/lucide/phone.cjs.js +2 -0
  24. package/dist/_virtual/~icons/lucide/phone.cjs.js.map +1 -0
  25. package/dist/_virtual/~icons/lucide/phone.esm.js +11 -0
  26. package/dist/_virtual/~icons/lucide/phone.esm.js.map +1 -0
  27. package/dist/_virtual/~icons/lucide/user-round-plus.cjs.js +2 -0
  28. package/dist/_virtual/~icons/lucide/user-round-plus.cjs.js.map +1 -0
  29. package/dist/_virtual/~icons/lucide/user-round-plus.esm.js +11 -0
  30. package/dist/_virtual/~icons/lucide/user-round-plus.esm.js.map +1 -0
  31. package/dist/_virtual/~icons/lucide/x.cjs.js +2 -0
  32. package/dist/_virtual/~icons/lucide/x.cjs.js.map +1 -0
  33. package/dist/_virtual/~icons/lucide/x.esm.js +11 -0
  34. package/dist/_virtual/~icons/lucide/x.esm.js.map +1 -0
  35. package/dist/audio/audioPane.cjs.js +1 -1
  36. package/dist/audio/audioPane.cjs.js.map +1 -1
  37. package/dist/audio/audioPane.esm.js +1 -5
  38. package/dist/audio/audioPane.esm.js.map +1 -1
  39. package/dist/classInstancePane.cjs.js.map +1 -1
  40. package/dist/components/editor-card/EditorCard.cjs.js +1 -1
  41. package/dist/components/editor-card/EditorCard.cjs.js.map +1 -1
  42. package/dist/components/editor-card/EditorCard.esm.js +4 -7
  43. package/dist/components/editor-card/EditorCard.esm.js.map +1 -1
  44. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +1 -1
  45. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -1
  46. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +2 -2
  47. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +1 -1
  48. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
  49. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +2 -2
  50. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +1 -1
  51. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -1
  52. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +2 -2
  53. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +5 -5
  54. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +1 -1
  55. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +1 -1
  56. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +97 -96
  57. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +1 -1
  58. package/dist/components/header/Header.cjs.js +1 -1
  59. package/dist/components/header/Header.cjs.js.map +1 -1
  60. package/dist/components/header/Header.esm.js +2 -2
  61. package/dist/components/header/Header.styles.cjs.js +1 -1
  62. package/dist/components/header/Header.styles.cjs.js.map +1 -1
  63. package/dist/components/header/Header.styles.esm.js +1 -1
  64. package/dist/components/header/Header.styles.esm.js.map +1 -1
  65. package/dist/components/navbar/Navbar.cjs.js +1 -1
  66. package/dist/components/navbar/Navbar.cjs.js.map +1 -1
  67. package/dist/components/navbar/Navbar.d.ts +2 -0
  68. package/dist/components/navbar/Navbar.d.ts.map +1 -1
  69. package/dist/components/navbar/Navbar.esm.js +2 -2
  70. package/dist/components/navbar/Navbar.esm.js.map +1 -1
  71. package/dist/components/navbar/Navbar.styles.cjs.js +1 -1
  72. package/dist/components/navbar/Navbar.styles.cjs.js.map +1 -1
  73. package/dist/components/navbar/Navbar.styles.esm.js +1 -1
  74. package/dist/components/navbar/Navbar.styles.esm.js.map +1 -1
  75. package/dist/components/profile-heading/ProfileHeading.cjs.js +95 -0
  76. package/dist/components/profile-heading/ProfileHeading.cjs.js.map +1 -0
  77. package/dist/components/profile-heading/ProfileHeading.d.ts +45 -0
  78. package/dist/components/profile-heading/ProfileHeading.d.ts.map +1 -0
  79. package/dist/components/profile-heading/ProfileHeading.esm.js +480 -0
  80. package/dist/components/profile-heading/ProfileHeading.esm.js.map +1 -0
  81. package/dist/components/profile-heading/ProfileHeading.styles.cjs.js +2 -0
  82. package/dist/components/profile-heading/ProfileHeading.styles.cjs.js.map +1 -0
  83. package/dist/components/profile-heading/ProfileHeading.styles.esm.js +7 -0
  84. package/dist/components/profile-heading/ProfileHeading.styles.esm.js.map +1 -0
  85. package/dist/components/profile-heading/editor/index.d.ts +3 -0
  86. package/dist/components/profile-heading/editor/index.d.ts.map +1 -0
  87. package/dist/components/profile-heading/editor/sections/contactInfo/types.d.ts +44 -0
  88. package/dist/components/profile-heading/editor/sections/contactInfo/types.d.ts.map +1 -0
  89. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js +297 -0
  90. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js.map +1 -0
  91. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.d.ts +5 -0
  92. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.d.ts.map +1 -0
  93. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js +642 -0
  94. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js.map +1 -0
  95. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.cjs.js +2 -0
  96. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.cjs.js.map +1 -0
  97. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.d.ts +4 -0
  98. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.d.ts.map +1 -0
  99. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js +16 -0
  100. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js.map +1 -0
  101. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.cjs.js +2 -0
  102. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.cjs.js.map +1 -0
  103. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.d.ts +5 -0
  104. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.d.ts.map +1 -0
  105. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js +76 -0
  106. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js.map +1 -0
  107. package/dist/components/profile-heading/editor/sections/heading/imagePreview.cjs.js +19 -0
  108. package/dist/components/profile-heading/editor/sections/heading/imagePreview.cjs.js.map +1 -0
  109. package/dist/components/profile-heading/editor/sections/heading/imagePreview.d.ts +2 -0
  110. package/dist/components/profile-heading/editor/sections/heading/imagePreview.d.ts.map +1 -0
  111. package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js +28 -0
  112. package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js.map +1 -0
  113. package/dist/components/profile-heading/editor/sections/heading/mutations.cjs.js +2 -0
  114. package/dist/components/profile-heading/editor/sections/heading/mutations.cjs.js.map +1 -0
  115. package/dist/components/profile-heading/editor/sections/heading/mutations.d.ts +4 -0
  116. package/dist/components/profile-heading/editor/sections/heading/mutations.d.ts.map +1 -0
  117. package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js +151 -0
  118. package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js.map +1 -0
  119. package/dist/components/profile-heading/editor/sections/heading/types.d.ts +34 -0
  120. package/dist/components/profile-heading/editor/sections/heading/types.d.ts.map +1 -0
  121. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.cjs.js +2 -0
  122. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.cjs.js.map +1 -0
  123. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.d.ts +7 -0
  124. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.d.ts.map +1 -0
  125. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js +20 -0
  126. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js.map +1 -0
  127. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.cjs.js +2 -0
  128. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.cjs.js.map +1 -0
  129. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.d.ts +3 -0
  130. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.d.ts.map +1 -0
  131. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js +11 -0
  132. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js.map +1 -0
  133. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.cjs.js +2 -0
  134. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.cjs.js.map +1 -0
  135. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.d.ts +20 -0
  136. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.d.ts.map +1 -0
  137. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js +1291 -0
  138. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js.map +1 -0
  139. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.cjs.js +2 -0
  140. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.cjs.js.map +1 -0
  141. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.d.ts +45 -0
  142. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.d.ts.map +1 -0
  143. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js +211 -0
  144. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js.map +1 -0
  145. package/dist/components/profile-heading/editor/sections/shared/rowState.cjs.js +2 -0
  146. package/dist/components/profile-heading/editor/sections/shared/rowState.cjs.js.map +1 -0
  147. package/dist/components/profile-heading/editor/sections/shared/rowState.d.ts +21 -0
  148. package/dist/components/profile-heading/editor/sections/shared/rowState.d.ts.map +1 -0
  149. package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js +18 -0
  150. package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js.map +1 -0
  151. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.cjs.js +2 -0
  152. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.cjs.js.map +1 -0
  153. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.d.ts +5 -0
  154. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.d.ts.map +1 -0
  155. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js +18 -0
  156. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js.map +1 -0
  157. package/dist/components/profile-heading/editor/sections/shared/types.d.ts +31 -0
  158. package/dist/components/profile-heading/editor/sections/shared/types.d.ts.map +1 -0
  159. package/dist/components/profile-heading/editor/textUtils.cjs.js +2 -0
  160. package/dist/components/profile-heading/editor/textUtils.cjs.js.map +1 -0
  161. package/dist/components/profile-heading/editor/textUtils.d.ts +6 -0
  162. package/dist/components/profile-heading/editor/textUtils.d.ts.map +1 -0
  163. package/dist/components/profile-heading/editor/textUtils.esm.js +26 -0
  164. package/dist/components/profile-heading/editor/textUtils.esm.js.map +1 -0
  165. package/dist/components/profile-heading/editor/texts/buttonTexts.d.ts +9 -0
  166. package/dist/components/profile-heading/editor/texts/buttonTexts.d.ts.map +1 -0
  167. package/dist/components/profile-heading/editor/texts/dialogTexts.cjs.js +2 -0
  168. package/dist/components/profile-heading/editor/texts/dialogTexts.cjs.js.map +1 -0
  169. package/dist/components/profile-heading/editor/texts/dialogTexts.d.ts +14 -0
  170. package/dist/components/profile-heading/editor/texts/dialogTexts.d.ts.map +1 -0
  171. package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js +6 -0
  172. package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js.map +1 -0
  173. package/dist/components/profile-heading/editor/texts/messageTexts.cjs.js +2 -0
  174. package/dist/components/profile-heading/editor/texts/messageTexts.cjs.js.map +1 -0
  175. package/dist/components/profile-heading/editor/texts/messageTexts.d.ts +42 -0
  176. package/dist/components/profile-heading/editor/texts/messageTexts.d.ts.map +1 -0
  177. package/dist/components/profile-heading/editor/texts/messageTexts.esm.js +6 -0
  178. package/dist/components/profile-heading/editor/texts/messageTexts.esm.js.map +1 -0
  179. package/dist/components/profile-heading/editor/texts/profileTexts.d.ts +14 -0
  180. package/dist/components/profile-heading/editor/texts/profileTexts.d.ts.map +1 -0
  181. package/dist/components/profile-heading/editor/texts/qrCodeTexts.d.ts +2 -0
  182. package/dist/components/profile-heading/editor/texts/qrCodeTexts.d.ts.map +1 -0
  183. package/dist/components/profile-heading/editor/texts.d.ts +6 -0
  184. package/dist/components/profile-heading/editor/texts.d.ts.map +1 -0
  185. package/dist/components/profile-heading/editor/ui/dialog.d.ts +41 -0
  186. package/dist/components/profile-heading/editor/ui/dialog.d.ts.map +1 -0
  187. package/dist/components/profile-heading/editor/ui/dialog2.cjs.js +17 -0
  188. package/dist/components/profile-heading/editor/ui/dialog2.cjs.js.map +1 -0
  189. package/dist/components/profile-heading/editor/ui/dialog2.esm.js +263 -0
  190. package/dist/components/profile-heading/editor/ui/dialog2.esm.js.map +1 -0
  191. package/dist/components/profile-heading/editor/ui/spinner.cjs.js +5 -0
  192. package/dist/components/profile-heading/editor/ui/spinner.cjs.js.map +1 -0
  193. package/dist/components/profile-heading/editor/ui/spinner.d.ts +3 -0
  194. package/dist/components/profile-heading/editor/ui/spinner.d.ts.map +1 -0
  195. package/dist/components/profile-heading/editor/ui/spinner.esm.js +12 -0
  196. package/dist/components/profile-heading/editor/ui/spinner.esm.js.map +1 -0
  197. package/dist/components/profile-heading/editor/utils/errorDisplay.cjs.js +2 -0
  198. package/dist/components/profile-heading/editor/utils/errorDisplay.cjs.js.map +1 -0
  199. package/dist/components/profile-heading/editor/utils/errorDisplay.d.ts +2 -0
  200. package/dist/components/profile-heading/editor/utils/errorDisplay.d.ts.map +1 -0
  201. package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js +18 -0
  202. package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js.map +1 -0
  203. package/dist/components/profile-heading/friendActions.cjs.js +2 -0
  204. package/dist/components/profile-heading/friendActions.cjs.js.map +1 -0
  205. package/dist/components/profile-heading/friendActions.d.ts +11 -0
  206. package/dist/components/profile-heading/friendActions.d.ts.map +1 -0
  207. package/dist/components/profile-heading/friendActions.esm.js +32 -0
  208. package/dist/components/profile-heading/friendActions.esm.js.map +1 -0
  209. package/dist/components/profile-heading/index.cjs.js +1 -0
  210. package/dist/components/profile-heading/index.d.ts +5 -0
  211. package/dist/components/profile-heading/index.d.ts.map +1 -0
  212. package/dist/components/profile-heading/index.esm.js +1 -0
  213. package/dist/components/profile-heading/profileHeadingData.cjs.js +2 -0
  214. package/dist/components/profile-heading/profileHeadingData.cjs.js.map +1 -0
  215. package/dist/components/profile-heading/profileHeadingData.d.ts +6 -0
  216. package/dist/components/profile-heading/profileHeadingData.d.ts.map +1 -0
  217. package/dist/components/profile-heading/profileHeadingData.esm.js +81 -0
  218. package/dist/components/profile-heading/profileHeadingData.esm.js.map +1 -0
  219. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +1 -1
  220. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -1
  221. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +2 -2
  222. package/dist/dashboard/basicPreferences.cjs.js.map +1 -1
  223. package/dist/dashboard/dashboardPane.cjs.js.map +1 -1
  224. package/dist/dashboard/homepage.cjs.js.map +1 -1
  225. package/dist/dataContentPane2.cjs.js.map +1 -1
  226. package/dist/defaultPane2.cjs.js.map +1 -1
  227. package/dist/dokieli/dokieliPane.cjs.js.map +1 -1
  228. package/dist/form/pane.cjs.js.map +1 -1
  229. package/dist/home/homePane.cjs.js.map +1 -1
  230. package/dist/humanReadablePane2.cjs.js.map +1 -1
  231. package/dist/icons/folder.cjs.js.map +1 -1
  232. package/dist/icons/friends.cjs.js.map +1 -1
  233. package/dist/icons/person.cjs.js.map +1 -1
  234. package/dist/imagePane2.cjs.js.map +1 -1
  235. package/dist/index.cjs.js +1 -1
  236. package/dist/index.cjs.js.map +1 -1
  237. package/dist/index.d.ts +2 -1
  238. package/dist/index.d.ts.map +1 -1
  239. package/dist/index.esm.js +15 -14
  240. package/dist/index.esm.js.map +1 -1
  241. package/dist/internal/internalPane2.cjs.js +1 -1
  242. package/dist/internal/internalPane2.cjs.js.map +1 -1
  243. package/dist/internal/internalPane2.esm.js +2 -5
  244. package/dist/internal/internalPane2.esm.js.map +1 -1
  245. package/dist/mainPage/header.cjs.js +1 -1
  246. package/dist/mainPage/header.cjs.js.map +1 -1
  247. package/dist/mainPage/header.d.ts +2 -2
  248. package/dist/mainPage/header.d.ts.map +1 -1
  249. package/dist/mainPage/header.esm.js +48 -44
  250. package/dist/mainPage/header.esm.js.map +1 -1
  251. package/dist/mainPage/index.cjs.js +1 -1
  252. package/dist/mainPage/index.cjs.js.map +1 -1
  253. package/dist/mainPage/index.d.ts.map +1 -1
  254. package/dist/mainPage/index.esm.js +27 -21
  255. package/dist/mainPage/index.esm.js.map +1 -1
  256. package/dist/mainPage/navbar.cjs.js +1 -1
  257. package/dist/mainPage/navbar.cjs.js.map +1 -1
  258. package/dist/mainPage/navbar.d.ts +3 -2
  259. package/dist/mainPage/navbar.d.ts.map +1 -1
  260. package/dist/mainPage/navbar.esm.js +77 -42
  261. package/dist/mainPage/navbar.esm.js.map +1 -1
  262. package/dist/mainPage/navigation.cjs.js +2 -0
  263. package/dist/mainPage/navigation.cjs.js.map +1 -0
  264. package/dist/mainPage/navigation.d.ts +6 -0
  265. package/dist/mainPage/navigation.d.ts.map +1 -0
  266. package/dist/mainPage/navigation.esm.js +22 -0
  267. package/dist/mainPage/navigation.esm.js.map +1 -0
  268. package/dist/mainPage/profileHeading.d.ts +5 -0
  269. package/dist/mainPage/profileHeading.d.ts.map +1 -0
  270. package/dist/mainPage/profileHeading2.cjs.js +2 -0
  271. package/dist/mainPage/profileHeading2.cjs.js.map +1 -0
  272. package/dist/mainPage/profileHeading2.esm.js +158 -0
  273. package/dist/mainPage/profileHeading2.esm.js.map +1 -0
  274. package/dist/n3Pane2.cjs.js.map +1 -1
  275. package/dist/navigation/browserEvents.cjs.js +2 -0
  276. package/dist/navigation/browserEvents.cjs.js.map +1 -0
  277. package/dist/navigation/browserEvents.d.ts +15 -0
  278. package/dist/navigation/browserEvents.d.ts.map +1 -0
  279. package/dist/navigation/browserEvents.esm.js +32 -0
  280. package/dist/navigation/browserEvents.esm.js.map +1 -0
  281. package/dist/navigation/chrome.cjs.js +2 -0
  282. package/dist/navigation/chrome.cjs.js.map +1 -0
  283. package/dist/navigation/chrome.d.ts +69 -0
  284. package/dist/navigation/chrome.d.ts.map +1 -0
  285. package/dist/navigation/chrome.esm.js +43 -0
  286. package/dist/navigation/chrome.esm.js.map +1 -0
  287. package/dist/navigation/controller.cjs.js +2 -0
  288. package/dist/navigation/controller.cjs.js.map +1 -0
  289. package/dist/navigation/controller.d.ts +51 -0
  290. package/dist/navigation/controller.d.ts.map +1 -0
  291. package/dist/navigation/controller.esm.js +45 -0
  292. package/dist/navigation/controller.esm.js.map +1 -0
  293. package/dist/navigation/events.cjs.js +2 -0
  294. package/dist/navigation/events.cjs.js.map +1 -0
  295. package/dist/navigation/events.d.ts +17 -0
  296. package/dist/navigation/events.d.ts.map +1 -0
  297. package/dist/navigation/events.esm.js +18 -0
  298. package/dist/navigation/events.esm.js.map +1 -0
  299. package/dist/navigation/navbarVisibility.cjs.js +2 -0
  300. package/dist/navigation/navbarVisibility.cjs.js.map +1 -0
  301. package/dist/navigation/navbarVisibility.d.ts +5 -0
  302. package/dist/navigation/navbarVisibility.d.ts.map +1 -0
  303. package/dist/navigation/navbarVisibility.esm.js +26 -0
  304. package/dist/navigation/navbarVisibility.esm.js.map +1 -0
  305. package/dist/navigation/options.cjs.js +2 -0
  306. package/dist/navigation/options.cjs.js.map +1 -0
  307. package/dist/navigation/options.d.ts +16 -0
  308. package/dist/navigation/options.d.ts.map +1 -0
  309. package/dist/navigation/options.esm.js +8 -0
  310. package/dist/navigation/options.esm.js.map +1 -0
  311. package/dist/navigation/podContext.cjs.js +2 -0
  312. package/dist/navigation/podContext.cjs.js.map +1 -0
  313. package/dist/navigation/podContext.d.ts +21 -0
  314. package/dist/navigation/podContext.d.ts.map +1 -0
  315. package/dist/navigation/podContext.esm.js +62 -0
  316. package/dist/navigation/podContext.esm.js.map +1 -0
  317. package/dist/navigation/state.cjs.js +2 -0
  318. package/dist/navigation/state.cjs.js.map +1 -0
  319. package/dist/navigation/state.d.ts +40 -0
  320. package/dist/navigation/state.d.ts.map +1 -0
  321. package/dist/navigation/state.esm.js +41 -0
  322. package/dist/navigation/state.esm.js.map +1 -0
  323. package/dist/outline/context.cjs.js.map +1 -1
  324. package/dist/outline/manager2.cjs.js +1 -1
  325. package/dist/outline/manager2.cjs.js.map +1 -1
  326. package/dist/outline/manager2.esm.js +387 -353
  327. package/dist/outline/manager2.esm.js.map +1 -1
  328. package/dist/outline/outlineIcons.cjs.js.map +1 -1
  329. package/dist/outline/propertyViews.cjs.js.map +1 -1
  330. package/dist/outline/queryByExample.cjs.js.map +1 -1
  331. package/dist/outline/userInput.cjs.js +1 -1
  332. package/dist/outline/userInput.cjs.js.map +1 -1
  333. package/dist/outline/userInput.esm.js +12 -13
  334. package/dist/outline/userInput.esm.js.map +1 -1
  335. package/dist/outline/viewAsImage.cjs.js.map +1 -1
  336. package/dist/outline/viewAsMbox.cjs.js.map +1 -1
  337. package/dist/pad/padPane2.cjs.js +1 -1
  338. package/dist/pad/padPane2.cjs.js.map +1 -1
  339. package/dist/pad/padPane2.esm.js +2 -6
  340. package/dist/pad/padPane2.esm.js.map +1 -1
  341. package/dist/playlist/playlistPane.cjs.js.map +1 -1
  342. package/dist/registerPanes.cjs.js.map +1 -1
  343. package/dist/schedule/schedulePane2.cjs.js +1 -1
  344. package/dist/schedule/schedulePane2.cjs.js.map +1 -1
  345. package/dist/schedule/schedulePane2.esm.js +1 -5
  346. package/dist/schedule/schedulePane2.esm.js.map +1 -1
  347. package/dist/sharing/sharingPane.cjs.js.map +1 -1
  348. package/dist/slideshow/slideshowPane.cjs.js.map +1 -1
  349. package/dist/social/editProfileDetails.cjs.js +1 -1
  350. package/dist/social/editProfileDetails.cjs.js.map +1 -1
  351. package/dist/social/editProfileDetails.esm.js +0 -2
  352. package/dist/social/editProfileDetails.esm.js.map +1 -1
  353. package/dist/social/icons.cjs.js +4 -4
  354. package/dist/social/icons.cjs.js.map +1 -1
  355. package/dist/social/icons.esm.js +5 -5
  356. package/dist/social/icons.esm.js.map +1 -1
  357. package/dist/social/socialPane.d.ts +0 -1
  358. package/dist/social/socialPane.d.ts.map +1 -1
  359. package/dist/social/socialPane2.cjs.js +3 -3
  360. package/dist/social/socialPane2.cjs.js.map +1 -1
  361. package/dist/social/socialPane2.esm.js +97 -154
  362. package/dist/social/socialPane2.esm.js.map +1 -1
  363. package/dist/social/socialSections.cjs.js +1 -1
  364. package/dist/social/socialSections.cjs.js.map +1 -1
  365. package/dist/social/socialSections.d.ts +2 -2
  366. package/dist/social/socialSections.d.ts.map +1 -1
  367. package/dist/social/socialSections.esm.js +62 -139
  368. package/dist/social/socialSections.esm.js.map +1 -1
  369. package/dist/social/triage.cjs.js.map +1 -1
  370. package/dist/tabbed/tabbedPane.cjs.js.map +1 -1
  371. package/dist/tableViewPane.cjs.js.map +1 -1
  372. package/dist/transaction/pane.cjs.js.map +1 -1
  373. package/dist/transaction/pane.esm.js +1 -1
  374. package/dist/transaction/pane.esm.js.map +1 -1
  375. package/dist/transaction/period.cjs.js.map +1 -1
  376. package/dist/trip/tripPane.cjs.js.map +1 -1
  377. package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +1 -1
  378. package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +1 -1
  379. package/dist/trustedApplications/trustedApplications.view.cjs.js.map +1 -1
  380. package/dist/types.d.ts +3 -0
  381. package/dist/types.d.ts.map +1 -0
  382. package/dist/ui/pane.cjs.js +1 -1
  383. package/dist/ui/pane.cjs.js.map +1 -1
  384. package/dist/ui/pane.esm.js +2 -5
  385. package/dist/ui/pane.esm.js.map +1 -1
  386. package/dist/utils/paneUtils.cjs.js +1 -1
  387. package/dist/utils/paneUtils.cjs.js.map +1 -1
  388. package/dist/utils/paneUtils.esm.js +4 -4
  389. package/dist/utils/paneUtils.esm.js.map +1 -1
  390. package/dist/utils/podUtils.cjs.js.map +1 -1
  391. package/dist/utils/viewerUtils.cjs.js +2 -0
  392. package/dist/utils/viewerUtils.cjs.js.map +1 -0
  393. package/dist/utils/viewerUtils.d.ts +5 -0
  394. package/dist/utils/viewerUtils.d.ts.map +1 -0
  395. package/dist/utils/viewerUtils.esm.js +13 -0
  396. package/dist/utils/viewerUtils.esm.js.map +1 -0
  397. package/dist/utils/webIdUtils.cjs.js +1 -1
  398. package/dist/utils/webIdUtils.cjs.js.map +1 -1
  399. package/dist/utils/webIdUtils.d.ts +1 -0
  400. package/dist/utils/webIdUtils.d.ts.map +1 -1
  401. package/dist/utils/webIdUtils.esm.js +23 -19
  402. package/dist/utils/webIdUtils.esm.js.map +1 -1
  403. package/dist/versionInfo.cjs.js +1 -1
  404. package/dist/versionInfo.cjs.js.map +1 -1
  405. package/dist/versionInfo.esm.js +11 -11
  406. package/dist/versionInfo.esm.js.map +1 -1
  407. package/dist/video/videoPane.cjs.js.map +1 -1
  408. package/package.json +7 -6
@@ -0,0 +1,642 @@
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`html[data-layout=mobile] .profile-edit-dialog__row{flex-direction:column;align-items:stretch;max-width:100%}html[data-layout=mobile] .profile-edit-dialog__row--equal>.profile-edit-dialog__field,html[data-layout=mobile] .profile-edit-dialog__row--equal>.profile-edit-dialog__field-type,html[data-layout=mobile] .profile-edit-dialog__field-type{flex:auto}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__field--dob{align-self:stretch;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob{flex-direction:column;align-items:stretch}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob>.profile-edit-dialog__field,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob>.profile-edit-dialog__field-type{flex:auto;width:100%;min-width:0;max-width:100%}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob{height:var(--solid-ui-clickable-area,42px);min-height:var(--solid-ui-clickable-area,42px);max-height:var(--solid-ui-clickable-area,42px);box-sizing:border-box;width:100%;min-width:0;max-width:100%;line-height:var(--line-height-base,1.5);display:block}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{text-align:center;white-space:nowrap}@media (hover:none) and (pointer:coarse){html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob{height:var(--solid-ui-clickable-area,42px);min-height:var(--solid-ui-clickable-area,42px);max-height:var(--solid-ui-clickable-area,42px);line-height:calc(var(--solid-ui-clickable-area,42px) - 2px);width:calc(100% - 24px);max-width:calc(100% - 24px);padding-block:0}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-calendar-picker-indicator{margin:0;padding:0}}html[data-layout=mobile] .profile__edit-form{--profile-edit-dialog-mobile-image-button-font-size:var(--solid-ui-font-size-md,1rem);--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem}html[data-layout=mobile] #profile-modal .modal label.profile-edit-dialog__field,html[data-layout=mobile] #profile-modal .modal label.profile-edit-dialog__field-type,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field>.label,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field-type>.label,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field-description{font-size:var(--solid-ui-font-size-sm,.875rem);line-height:1.5}html[data-layout=mobile] .profile-edit-dialog__field input,html[data-layout=mobile] .profile-edit-dialog__field-type input{font-size:var(--solid-ui-font-size-md,1rem)}html[data-layout=mobile] .profile-edit-dialog__field-type--contact-point{flex:auto;width:100%;max-width:100%}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{flex-direction:row;align-items:stretch}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{flex-flow:row;align-items:center;gap:12px;width:100%;max-width:100%}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo>header{flex:none;margin-bottom:0}html[data-layout=mobile] .profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5rem}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__image-frame--fallback .profile__hero-alt{justify-content:center;align-items:center;display:flex}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview{flex:auto;gap:5px;width:100%;min-width:0}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label{font-size:var(--profile-edit-dialog-mobile-image-label-font-size);line-height:1.25}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description{font-size:var(--profile-edit-dialog-mobile-image-description-font-size);line-height:1.4}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions{grid-template-columns:repeat(2,max-content);justify-content:start;align-items:stretch;gap:8px;width:100%;display:grid}@media (width<=576px){.profile-edit-dialog__row{flex-direction:column;align-items:stretch;max-width:100%}.profile__edit-form{--profile-edit-dialog-mobile-image-button-font-size:var(--solid-ui-font-size-md,1rem);--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem}.profile-edit-dialog__row--equal>.profile-edit-dialog__field,.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type,.profile-edit-dialog__field-type{flex:auto}.profile-edit-dialog__field input,.profile-edit-dialog__field-type input{font-size:var(--solid-ui-font-size-sm,.875rem)}.profile-edit-dialog__field-type--contact-point{flex:auto;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{flex-direction:row;align-items:stretch}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{flex-flow:row;align-items:center;gap:12px;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo>header{flex:none;margin-bottom:0}.profile__edit-form.profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5rem}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__image-frame--fallback .profile__hero-alt{justify-content:center;align-items:center;display:flex}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview{flex:auto;gap:5px;width:100%;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label{font-size:var(--profile-edit-dialog-mobile-image-label-font-size);line-height:var(--line-height-tight,1.25)}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description{font-size:var(--profile-edit-dialog-mobile-image-description-font-size);line-height:var(--line-height-base,1.4)}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions{grid-template-columns:repeat(2,max-content);justify-content:start;align-items:stretch;gap:8px;width:100%;display:grid}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-button{width:auto;min-width:0}}.profile__edit-form{--profile-edit-dialog-row-max-width:544px;--profile-edit-dialog-muted-text:var(--solid-ui-color-gray-600,#4a5565);--profile-edit-dialog-quiet-text:var(--solid-ui-color-gray-700,#364153);--profile-edit-dialog-mobile-image-button-font-size:.75rem;--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem;--profile-edit-dialog-mobile-image-button-padding:6.6px 12px 7px 14px;width:100%}.profile-edit-dialog__section,.profile-edit-dialog__section--education{flex-direction:column;gap:12px;display:flex}.profile-edit{flex-direction:column;gap:25px;display:flex}.profile-edit-dialog__section h4{margin:0}.profile-edit-dialog__section fieldset{width:100%;border:0;gap:15px;min-inline-size:0;margin:0;padding:0;display:grid}.profile-edit-dialog__field-description{color:var(--profile-edit-dialog-muted-text);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:400;line-height:1.5}.profile-edit-dialog__row{max-width:var(--profile-edit-dialog-row-max-width);align-items:flex-start;gap:15px;display:flex}.profile-edit-dialog__row--heading-photo{gap:10px}.profile-edit-dialog__row--full{width:100%;max-width:100%}.profile-edit-dialog__field,.profile-edit-dialog__field-type{margin:0;display:block}.profile-edit-dialog__field-type{width:100%}.profile-edit-dialog__field{min-width:0}.profile-edit-dialog__field--stack{display:grid}.profile-edit-dialog__field--stack>small{text-align:right;justify-self:end;width:100%;display:block}.profile-edit-dialog__field--full{width:100%;max-width:100%!important}.profile-edit-dialog__field--row-width{width:100%;max-width:544px}.profile-edit-dialog__login-message{font-size:var(--solid-ui-font-size-xs,.75rem);color:var(--solid-ui-color-error,#b00020);margin:0}.profile-edit-dialog__section+.profile-edit-dialog__login-message,.profile__edit-form--projects .profile-edit-dialog__login-message{margin-top:15px}.profile-edit-dialog__actions{flex:none;justify-content:flex-end;align-items:center;display:flex}.profile-edit-dialog__actions--edge{margin-left:auto}.profile-edit-dialog__input-wrap{width:100%;position:relative}.profile-edit-dialog__input--with-action{box-sizing:border-box;width:100%;padding-right:120px}.profile-edit-dialog__image-preview{display:grid}.profile-edit-dialog__image-preview-header{margin-bottom:0}.profile-edit-dialog__image-preview-actions{align-items:center;gap:12px;display:flex}.profile-edit-dialog__image-preview-label{color:var(--gray-900,#101828);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:600}.profile-edit-dialog__image-preview-description{color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:400}.profile-edit-dialog__image-preview-label,.profile-edit-dialog__image-preview-description{margin:0}.profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5.625rem}.profile-edit-dialog__image-frame{width:var(--profile-edit-dialog-avatar-size,5.625rem);height:var(--profile-edit-dialog-avatar-size,5.625rem);vertical-align:top;font-size:0;line-height:0;display:inline-block;position:relative;overflow:visible}.profile-edit-dialog__image-frame>solid-ui-photo-capture{pointer-events:none;display:block;position:absolute;inset:0}.profile-edit-dialog__image-frame>solid-ui-photo-capture>*{pointer-events:auto}.profile__image-frame{width:var(--profile-edit-dialog-avatar-size,5.625rem);height:var(--profile-edit-dialog-avatar-size,5.625rem);border:1px solid var(--solid-ui-color-primary,#7c4dff);background:var(--solid-ui-color-slate-50,#f8fafc);box-sizing:border-box;border-radius:10px;margin:0;padding:0;display:block;position:relative;overflow:hidden}.profile__image-frame--fallback{border:1px dashed var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-slate-50,#f8fafc)}.profile__hero,.profile__hero-alt{box-sizing:border-box;border-radius:10px;width:100%;height:100%;display:block}.profile__hero{object-fit:cover;object-position:center;background:var(--color-surface-placeholder,var(--gray-300,#d1d5dc)) 50% / cover no-repeat}.profile__hero-alt{background:var(--solid-ui-color-slate-50,#f8fafc);justify-content:center;align-items:center;display:none}.profile__image-frame--fallback .profile__hero-alt{display:flex}.profile__hero-icon{box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:100%;padding:1.125rem;display:flex}.profile__hero-icon icon-lucide-circle-user-round,.profile__hero-alt icon-lucide-circle-user-round{color:#d9e1f2;width:1.75rem;height:1.75rem;display:block}.profile-edit-dialog__image-camera-button{z-index:1;border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);width:1.75rem;min-width:1.75rem;height:1.75rem;min-height:1.75rem;color:var(--solid-ui-color-gray-700,#364153);cursor:pointer;box-sizing:border-box;border-radius:7px;justify-content:center;align-items:center;padding:0;line-height:0;transition:none;display:inline-flex;position:absolute;bottom:5px;right:5px;box-shadow:0 2px 6px #0f172a1f}.profile-edit-dialog__image-camera-button:hover,.profile-edit-dialog__image-camera-button:focus-visible,.profile-edit-dialog__image-camera-button:active{border-color:var(--solid-ui-color-slate-200,#e2e8f0);background:color-mix(in srgb, var(--solid-ui-color-primary,#7c4dff) 12%, #fff);width:1.75rem;min-width:1.75rem;height:1.75rem;min-height:1.75rem;color:var(--solid-ui-color-primary,#7c4dff);padding:0;transform:none;box-shadow:0 2px 6px #0f172a1f}.profile-edit-dialog__image-camera-button icon-lucide-camera{vertical-align:middle;flex-shrink:0;width:.875rem;height:.875rem;margin:.05rem;display:block}.profile-edit-dialog__image-camera-capture-row{justify-content:center;width:100%;display:flex}.profile-edit-dialog__image-camera-capture-frame{box-sizing:border-box;border:1px solid var(--solid-color-gray-200,#e5e7eb);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:fit-content;max-width:100%;margin:6px auto 12px;padding:10px;display:flex;position:relative}.profile-edit-dialog__image-camera-capture-frame[hidden]{display:none}.profile-edit-dialog__paste-button{white-space:nowrap;z-index:1;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.profile-edit-dialog__paste-icon{width:.875rem;height:.875rem;stroke:var(--solid-ui-color-primary,#7c4dff);fill:var(--solid-ui-color-primary,#7c4dff)}.profile-edit-dialog__paste-icon svg{display:block;transform:translate(1px,1px)}solid-ui-button.profile-edit-dialog__drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}solid-ui-button.profile-edit-dialog__drag-handle:active{cursor:grabbing}.profile-edit-dialog__row--drop-target{outline:1px dashed var(--solid-ui-color-gray-400,#99a1af);outline-offset:2px}.profile-edit-dialog__field input,.profile-edit-dialog__field select,.profile-edit-dialog__field-type input,.profile-edit-dialog__field-type select{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px);height:var(--solid-ui-clickable-area,42px);border:1px solid var(--solid-ui-color-gray-400,#99a1af);background:var(--solid-ui-color-white,#fff);color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);border-radius:5px;margin-block-start:0;padding:10px;font-weight:500}.profile-edit-dialog__field input[type=date],.profile-edit-dialog__field-type input[type=date]{min-width:0}.profile-edit-dialog__field textarea,.profile-edit-dialog__field-type textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px)}.profile-edit-dialog__textarea{color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);border:1px solid var(--solid-ui-color-gray-400,#99a1af);background:var(--solid-ui-color-white,#fff);resize:vertical;border-radius:5px;height:auto;font-weight:500;line-height:1.6;min-height:160px!important}.profile__edit-form--heading{flex-direction:column;gap:12px;display:flex}.profile-edit-dialog__bio-field-container{width:100%;max-width:var(--profile-edit-dialog-row-max-width);box-sizing:border-box;flex-direction:column;align-items:flex-start;gap:12px;margin:0;padding:0;display:flex}.profile-edit-dialog__row--language{margin-left:0}.profile-edit-dialog__row--language>.profile-edit-dialog__field--language-name{flex:1 1 0;min-width:0}.profile-edit-dialog__field-type--language-proficiency,.profile-edit-dialog__field-type--language-proficiency[hidden]{display:none!important}.profile-edit-dialog__actions--language{margin-left:0}.profile-edit-dialog__row--social{width:100%;max-width:100%;margin-left:-10px}.profile-edit-dialog__field--social-type{flex:0 0 96px;width:96px;max-width:96px}.profile-edit-dialog__field--social-url{flex:auto;min-width:0}.profile-edit-dialog__row--project{width:100%;max-width:100%}.profile-edit-dialog__row--resume-entry-header{border-bottom:1px solid var(--solid-ui-color-gray-400,#99a1af);align-items:center}.profile-edit-dialog__row--resume-entry-header>.profile-edit-dialog__entry-heading{margin:0}.profile-edit-dialog__entry-heading{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-sm,.875rem);margin:0;font-weight:500}.profile-edit-dialog__section--education .profile-edit-dialog__section-heading{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);margin:0;font-weight:500}.profile-edit-dialog__row--equal>.profile-edit-dialog__field,.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type{flex:1 1 0;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-row{margin-bottom:-12.5px}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-row:has(>[hidden]){display:none}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-frame{margin-top:3px;margin-bottom:6px}.profile__edit-form--resume .profile-edit-dialog__field,.profile__edit-form--resume .profile-edit-dialog__field-type:not(.hidden),.profile__edit-form--contact-info .profile-edit-dialog__field,.profile__edit-form--contact-info .profile-edit-dialog__field-type:not(.hidden){flex-direction:column;flex:1 0 0;align-items:flex-start;gap:5px;display:flex}.profile__edit-form--resume .profile-edit-dialog__row{width:100%;max-width:100%}.profile__edit-form--resume .profile-edit-dialog__section fieldset>.profile-edit-dialog__field{max-width:100%}.profile__edit-form--resume .profile-edit-dialog__field>input,.profile__edit-form--resume .profile-edit-dialog__field>solid-ui-select,.profile__edit-form--resume .profile-edit-dialog__field>solid-ui-combobox,.profile__edit-form--resume .profile-edit-dialog__field>textarea,.profile__edit-form--resume .profile-edit-dialog__field-type>input,.profile__edit-form--resume .profile-edit-dialog__field-type>solid-ui-select,.profile__edit-form--resume .profile-edit-dialog__field-type>textarea,.profile__edit-form--contact-info .profile-edit-dialog__field>input,.profile__edit-form--contact-info .profile-edit-dialog__field>solid-ui-select,.profile__edit-form--contact-info .profile-edit-dialog__field>textarea,.profile__edit-form--contact-info .profile-edit-dialog__field-type>input,.profile__edit-form--contact-info .profile-edit-dialog__field-type>solid-ui-select,.profile__edit-form--contact-info .profile-edit-dialog__field-type>textarea{align-self:stretch}.profile-edit-dialog__field>solid-ui-combobox,.profile-edit-dialog__field-type>solid-ui-combobox{box-sizing:border-box;align-self:stretch;width:100%;min-width:0;max-width:100%;display:block}.profile__edit-form solid-ui-combobox{background:var(--solid-ui-color-white,#fff);color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:500;line-height:calc(var(--solid-ui-clickable-area,42px) - 22px);border-radius:5px}.profile-edit-dialog__field--resume-location{flex:1 0 0;width:auto;max-width:none}.profile-edit-dialog__row--resume-dates{width:100%;max-width:100%}.profile-edit-dialog__field--date-group{flex:1 1 0;min-width:0}.profile-edit-dialog__date-pair{align-items:center;gap:15px;width:100%;display:flex}.profile-edit-dialog__date-pair>solid-ui-select{flex:1 1 0;min-width:0}.profile-edit-dialog__resume-date-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__resume-date-select--disabled{pointer-events:none;opacity:var(--opacity-input-disabled,.75)}.profile-edit-dialog__bio-field-container>small{text-align:right;align-self:flex-end}.profile-edit-dialog--heading .profile-edit-dialog__row,.profile-edit-dialog--heading .profile-edit-dialog__field--row-width{width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{border-bottom:1px solid var(--solid-ui-color-slate-200,#e2e8f0);padding-bottom:20px}.profile-edit-dialog--heading .profile-edit{gap:12.5px}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{gap:10px;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point>.profile-edit-dialog__field{flex:1 1 0;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__field-type--contact-point{padding-top:calc(var(--solid-ui-font-size-sm,.875rem) * 1.5)}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point>.profile-edit-dialog__field>.label{width:100%;display:block}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}.profile-edit-dialog__row--address-header{max-width:var(--profile-edit-dialog-row-max-width);align-items:flex-end}.profile-edit-dialog__row--inline-end{justify-content:flex-end;max-width:100%}.profile-edit-dialog__checkbox-label{cursor:var(--profile-interactive-cursor,pointer);align-items:center;gap:12px;margin-left:auto;display:inline-flex}.profile-edit-dialog__checkbox-input{width:var(--icon-xxs,1rem);height:var(--icon-xxs,1rem);accent-color:var(--solid-ui-color-primary,#7c4dff);cursor:var(--profile-interactive-cursor,pointer);flex:none;margin:0}.profile-edit-dialog__checkbox-input:focus-visible{outline:var(--focus-indicator-width,2px) solid var(--solid-ui-color-primary,#7c4dff);outline-offset:2px}.profile-edit-dialog__checkbox-input:disabled{opacity:var(--opacity-disabled,.5)}.profile-edit-dialog__section fieldset>.profile-edit-dialog__field{max-width:var(--profile-edit-dialog-row-max-width)}.profile-edit-dialog__field-type--wide{flex:auto;width:100%;min-width:0;max-width:100%}.profile-edit-dialog__field-type--contact-point{flex:none;align-self:flex-start;width:auto;max-width:none}.profile-edit-dialog__social-account-select{box-sizing:border-box;contain:inline-size;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__resume-organization-type-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__bio-field-container textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px)}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { openInputDialog as e } from "../../ui/dialog2.esm.js";
2
+ import { Image as t } from "./imagePreview.esm.js";
3
+
4
+ import "../../texts/dialogTexts.esm.js";
5
+ import { ownerLoginRequiredDialogMessageText as n } from "../../texts/messageTexts.esm.js";
6
+ import { processHeadingMutations as r } from "./mutations.esm.js";
7
+ import { combinePhoneValue as i, splitPhoneValue as a } from "../shared/phoneCountries.esm.js";
8
+ import { hasNonEmptyText as o, sanitizeTextValue as s, toText as c, toTypeLabel as l } from "../../textUtils.esm.js";
9
+ import { normalizeEmailTypeForEdit as u, normalizePhoneTypeForEdit as d, toSavedHeadingEmailType as f, toSavedHeadingPhoneType as p } from "../shared/contactTypeUtils.esm.js";
10
+ import { applyRowFieldChange as m, applyRowSelectChange as h, summarizeRowOps as g } from "../shared/rowState.esm.js";
11
+ import "../../../../../_virtual/~icons/lucide/camera.esm.js";
12
+ import { sanitizeAddressFieldValue as _, sanitizeBasicInputFieldValue as v, sanitizeEmailValue as y, sanitizePhoneLocalValue as b } from "../shared/sanitizeUtils.esm.js";
13
+ import { toStorageDateISO as x } from "./dateHelpers.esm.js";
14
+ import { invalidateResolvedPhotoDisplaySrc as S, resolvePhotoDisplaySrc as C, uploadPhotoFile as w } from "./imageHelpers.esm.js";
15
+ import "solid-ui/components/button";
16
+ import { html as T, render as E } from "lit-html";
17
+ import "solid-ui/components/combobox";
18
+ import "solid-ui/components/combobox-option";
19
+ import "solid-ui/components/photo-capture";
20
+ //#region src/components/profile-heading/editor/sections/heading/HeadingEditDialog.ts
21
+ var D = [
22
+ {
23
+ label: "Mobile",
24
+ value: "Mobile"
25
+ },
26
+ {
27
+ label: "Home",
28
+ value: "Home"
29
+ },
30
+ {
31
+ label: "Work",
32
+ value: "Work"
33
+ }
34
+ ], O = [{
35
+ label: "Personal",
36
+ value: "Personal"
37
+ }, {
38
+ label: "Office",
39
+ value: "Office"
40
+ }], k = [
41
+ {
42
+ label: "He/Him",
43
+ value: "He/Him"
44
+ },
45
+ {
46
+ label: "She/Her",
47
+ value: "She/Her"
48
+ },
49
+ {
50
+ label: "They/Them",
51
+ value: "They/Them"
52
+ }
53
+ ];
54
+ function A(e) {
55
+ return "value" in e;
56
+ }
57
+ function j(e) {
58
+ return "streetAddress" in e;
59
+ }
60
+ function M(e) {
61
+ return "name" in e;
62
+ }
63
+ function N(e, t) {
64
+ return t.some((t) => t.value === e) ? e : t[0]?.value || "";
65
+ }
66
+ function P(e) {
67
+ return e === "phone" ? D : O;
68
+ }
69
+ function F(e, t) {
70
+ return {
71
+ ...e,
72
+ type: N(e.type || "", P(t))
73
+ };
74
+ }
75
+ function I(e) {
76
+ return A(e) ? o(e.value) : j(e) ? [
77
+ e.streetAddress,
78
+ e.locality,
79
+ e.region,
80
+ e.postalCode,
81
+ e.countryName
82
+ ].some(o) : M(e) ? [
83
+ e.name,
84
+ e.nickname,
85
+ e.imageSrc,
86
+ e.location,
87
+ e.pronouns,
88
+ e.dateOfBirth
89
+ ].some(o) : !1;
90
+ }
91
+ function L(e) {
92
+ let t = s(e || "").toLowerCase().replace(/\s+/g, "");
93
+ return t ? t === "he" || t === "he/him" ? "He/Him" : t === "she" || t === "she/her" ? "She/Her" : t === "they" || t === "they/them" ? "They/Them" : e || "" : "";
94
+ }
95
+ function R(e) {
96
+ let t = {
97
+ name: s(c(e.name)),
98
+ nickname: s(c(e.nickname || "")),
99
+ imageSrc: s(c(e.imageSrc || "")),
100
+ location: s(c(e.location || "")),
101
+ pronouns: L(c(e.pronouns || "")),
102
+ dateOfBirth: s(c(e.dateOfBirth || "")),
103
+ entryNode: c(e.entryNode),
104
+ status: c(e.entryNode) ? "existing" : "new"
105
+ }, n = e.primaryEmail, r = e.primaryPhone, i = e.primaryAddress, a = !u(n?.type), o = !d(r?.type), f = u(n?.type), p = d(r?.type), m = {
106
+ value: y(c(n?.valueNode).replace(/^mailto:/i, "")),
107
+ type: f,
108
+ entryNode: c(n?.entryNode),
109
+ status: c(n?.entryNode) ? "existing" : "new"
110
+ }, h = {
111
+ value: s(c(r?.valueNode || r?.entryNode || "").replace(/^tel:/i, "")),
112
+ type: p,
113
+ entryNode: c(r?.entryNode || ""),
114
+ status: c(r?.entryNode || "") ? "existing" : "new"
115
+ }, g = {
116
+ streetAddress: _(c(i?.streetAddress)),
117
+ locality: _(c(i?.locality)),
118
+ region: _(c(i?.region)),
119
+ postalCode: _(c(i?.postalCode)),
120
+ countryName: _(c(i?.countryName)),
121
+ type: l(i?.type),
122
+ entryNode: c(i?.entryNode),
123
+ status: c(i?.entryNode) ? "existing" : "new"
124
+ };
125
+ return {
126
+ basicInfo: t || {
127
+ name: "",
128
+ nickname: "",
129
+ imageSrc: "",
130
+ location: "",
131
+ pronouns: "",
132
+ dateOfBirth: "",
133
+ entryNode: "",
134
+ status: "new"
135
+ },
136
+ email: m || {
137
+ value: "",
138
+ type: "",
139
+ entryNode: "",
140
+ status: "new"
141
+ },
142
+ phone: h || {
143
+ value: "",
144
+ type: "",
145
+ entryNode: "",
146
+ status: "new"
147
+ },
148
+ address: g || {
149
+ streetAddress: "",
150
+ locality: "",
151
+ region: "",
152
+ postalCode: "",
153
+ countryName: "",
154
+ type: "",
155
+ entryNode: "",
156
+ status: "new"
157
+ },
158
+ emailTypeWasMissing: a,
159
+ phoneTypeWasMissing: o,
160
+ imagePreviewSrc: "",
161
+ clearImagePreview: () => void 0
162
+ };
163
+ }
164
+ function z(e, t) {
165
+ if (e.clearImagePreview(), typeof URL.createObjectURL != "function") {
166
+ e.imagePreviewSrc = "", e.clearImagePreview = () => void 0;
167
+ return;
168
+ }
169
+ let n = URL.createObjectURL(t);
170
+ e.imagePreviewSrc = n, e.clearImagePreview = () => {
171
+ URL.revokeObjectURL(n), e.imagePreviewSrc = "", e.clearImagePreview = () => void 0;
172
+ };
173
+ }
174
+ function B(e, t) {
175
+ e.clearImagePreview(), t && (e.imagePreviewSrc = t, e.clearImagePreview = () => {
176
+ e.imagePreviewSrc = "", e.clearImagePreview = () => void 0;
177
+ });
178
+ }
179
+ function V(e) {
180
+ let t = (e) => ({
181
+ ...F(e, "email"),
182
+ type: f(F(e, "email").type)
183
+ });
184
+ return {
185
+ create: e.create.map(t),
186
+ update: e.update.map(t),
187
+ remove: e.remove.map(t)
188
+ };
189
+ }
190
+ function H(e) {
191
+ let t = (e) => ({
192
+ ...F(e, "phone"),
193
+ type: p(F(e, "phone").type)
194
+ });
195
+ return {
196
+ create: e.create.map(t),
197
+ update: e.update.map(t),
198
+ remove: e.remove.map(t)
199
+ };
200
+ }
201
+ function U(e, t, n) {
202
+ let r = g([e], I);
203
+ return n && e.entryNode && e.status === "existing" && I(e) && r.create.length === 0 && r.update.length === 0 && r.remove.length === 0 ? {
204
+ create: r.create,
205
+ update: [F({
206
+ ...e,
207
+ status: "modified"
208
+ }, t)],
209
+ remove: r.remove
210
+ } : r;
211
+ }
212
+ function W({ phone: e }) {
213
+ let t = "Mobile Number", n = "Phone Type 1", r = "phone-value", o = a(e?.value || ""), s = o.dialCode;
214
+ return T`
215
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal profile-edit-dialog__row--contact-point">
216
+ <div class="profile-edit-dialog__field">
217
+ <label aria-label=${t} class="label">
218
+ ${t}
219
+ <input
220
+ class="input"
221
+ type="tel"
222
+ name=${r}
223
+ .value=${o.localNumber}
224
+ required
225
+ data-contact-field="value"
226
+ data-entry-node=${e?.entryNode || ""}
227
+ data-row-status=${e?.status || "n/a"}
228
+ placeholder=${t}
229
+ autocomplete="tel-national"
230
+ inputmode="tel"
231
+ @input=${(t) => {
232
+ let n = t.target, r = b(n.value);
233
+ e && m(e, "value", i(s, r), I);
234
+ }}
235
+ />
236
+ </label>
237
+ </div>
238
+ <label aria-label=${n} class="label profile-edit-dialog__field-type profile-edit-dialog__field-type--contact-point">
239
+ <solid-ui-combobox
240
+ select-only
241
+ class="profile-edit-dialog__type-select"
242
+ id=${`phone-type-select-${r}`}
243
+ aria-label=${n}
244
+ .value=${N(e?.type || "", D)}
245
+ @change=${(t) => {
246
+ let n = t;
247
+ if (!n.detail.option) return;
248
+ let r = String(n.detail.option.value);
249
+ e && h(e, "type", r);
250
+ }}
251
+ >
252
+ ${D.map((e) => T`<solid-ui-combobox-option value=${e.value}>${e.label}</solid-ui-combobox-option>`)}
253
+ </solid-ui-combobox>
254
+ </label>
255
+ </div>
256
+ `;
257
+ }
258
+ function G({ email: e }) {
259
+ let t = "Email", n = "Email Type", r = "email-value";
260
+ return T`
261
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal profile-edit-dialog__row--contact-point">
262
+ <label aria-label=${t} class="label profile-edit-dialog__field">
263
+ ${t}
264
+ <input
265
+ class="input"
266
+ type="email"
267
+ name=${r}
268
+ .value=${e?.value || ""}
269
+ required
270
+ data-contact-field="value"
271
+ data-entry-node=${e?.entryNode || ""}
272
+ data-row-status=${e?.status || "n/a"}
273
+ placeholder="Email Address"
274
+ autocomplete="email"
275
+ inputmode="email"
276
+ @input=${(t) => {
277
+ let n = t.target, r = y(n.value);
278
+ e && m(e, "value", r, I);
279
+ }}
280
+ />
281
+ </label>
282
+ <label aria-label=${n} class="label profile-edit-dialog__field-type profile-edit-dialog__field-type--contact-point">
283
+ <solid-ui-combobox
284
+ select-only
285
+ class="profile-edit-dialog__type-select"
286
+ id=${`email-type-select-${r}`}
287
+ aria-label=${n}
288
+ .value=${N(e?.type || "", O)}
289
+ @change=${(t) => {
290
+ let n = t;
291
+ if (!n.detail.option) return;
292
+ let r = String(n.detail.option.value);
293
+ e && h(e, "type", r);
294
+ }}
295
+ >
296
+ ${O.map((e) => T`<solid-ui-combobox-option value=${e.value}>${e.label}</solid-ui-combobox-option>`)}
297
+ </solid-ui-combobox>
298
+ </label>
299
+ </div>
300
+ `;
301
+ }
302
+ function K({ address: e }) {
303
+ let t = "Address", n = (t) => (n) => {
304
+ let r = n.target, i = _(r.value);
305
+ e && m(e, t, i, I);
306
+ };
307
+ return T`
308
+ <label aria-label=${`${t} Street`} class="label profile-edit-dialog__field profile-edit-dialog__field--row-width">
309
+ Street Address
310
+ <input
311
+ class="input"
312
+ type="text"
313
+ name=${"address-street"}
314
+ .value=${e?.streetAddress || ""}
315
+ required
316
+ data-contact-field="streetAddress"
317
+ data-entry-node=${e?.entryNode || ""}
318
+ data-row-status=${e?.status || "n/a"}
319
+ placeholder="Street Address"
320
+ autocomplete="street-address"
321
+ inputmode="text"
322
+ @change=${n("streetAddress")}
323
+ />
324
+ </label>
325
+
326
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal profile-edit-dialog__row--full">
327
+ <label aria-label=${`${t} Locality`} class="label profile-edit-dialog__field">
328
+ Locality
329
+ <input
330
+ class="input"
331
+ type="text"
332
+ name=${"address-locality"}
333
+ .value=${e?.locality || ""}
334
+ data-contact-field="locality"
335
+ data-entry-node=${e?.entryNode || ""}
336
+ data-row-status=${e?.status || "n/a"}
337
+ placeholder="City / Locality"
338
+ autocomplete="address-level2"
339
+ inputmode="text"
340
+ @change=${n("locality")}
341
+ />
342
+ </label>
343
+ <label aria-label=${`${t} Postal Code`} class="label profile-edit-dialog__field">
344
+ Postal Code
345
+ <input
346
+ class="input"
347
+ type="text"
348
+ name=${"address-postal"}
349
+ .value=${e?.postalCode || ""}
350
+ data-contact-field="postalCode"
351
+ data-entry-node=${e?.entryNode || ""}
352
+ data-row-status=${e?.status || "n/a"}
353
+ placeholder="Postal Code"
354
+ autocomplete="postal-code"
355
+ inputmode="text"
356
+ @change=${n("postalCode")}
357
+ />
358
+ </label>
359
+ </div>
360
+
361
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal profile-edit-dialog__row--full">
362
+ <label aria-label=${`${t} Region`} class="label profile-edit-dialog__field">
363
+ Region
364
+ <input
365
+ class="input"
366
+ type="text"
367
+ name=${"address-region"}
368
+ .value=${e?.region || ""}
369
+ data-contact-field="region"
370
+ data-entry-node=${e?.entryNode || ""}
371
+ data-row-status=${e?.status || "n/a"}
372
+ placeholder="State / Region"
373
+ inputmode="text"
374
+ @change=${n("region")}
375
+ />
376
+ </label>
377
+ <label aria-label=${`${t} Country`} class="label profile-edit-dialog__field">
378
+ Country
379
+ <input
380
+ class="input"
381
+ type="text"
382
+ name=${"address-country"}
383
+ .value=${e?.countryName || ""}
384
+ data-contact-field="countryName"
385
+ data-entry-node=${e?.entryNode || ""}
386
+ data-row-status=${e?.status || "n/a"}
387
+ placeholder="Country"
388
+ autocomplete="country-name"
389
+ inputmode="text"
390
+ @change=${n("countryName")}
391
+ />
392
+ </label>
393
+ </div>
394
+ `;
395
+ }
396
+ function q(e, n) {
397
+ let { basicInfo: r, phone: i, email: a, imagePreviewSrc: o } = e, s = "Full Name", c = "Nickname", l = "Pronouns", u = (e) => (t) => {
398
+ let n = t.target, i = v(n.value);
399
+ r && m(r, e, i, I);
400
+ };
401
+ return T`
402
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--heading-photo">
403
+ <header class="profile-edit-dialog__image-preview-header" aria-label="Profile Image">
404
+ <div class="profile-edit-dialog__image-frame">
405
+ ${t(o || r.imageSrc, r.name)}
406
+ <solid-ui-photo-capture
407
+ capture-label="Take Photo"
408
+ confirm-label="Use Photo"
409
+ retake-label="Retake"
410
+ cancel-label="Close camera"
411
+ file-name-prefix="camera"
412
+ facing-mode="user"
413
+ @input=${async (t) => {
414
+ let i = t.target.value;
415
+ if (i && r) try {
416
+ e.pendingImageFile = i, z(e, i), r.status = r.entryNode ? "modified" : "new", n();
417
+ } catch (e) {
418
+ console.error("Profile camera upload failed", e);
419
+ }
420
+ }}
421
+ >
422
+ <button
423
+ slot="trigger"
424
+ type="button"
425
+ class="profile-edit-dialog__image-camera-button"
426
+ aria-label="Take a photo"
427
+ title="Take a photo"
428
+ >
429
+ <icon-lucide-camera aria-hidden="true"></icon-lucide-camera>
430
+ </button>
431
+ </solid-ui-photo-capture>
432
+ </div>
433
+ </header>
434
+
435
+ <div class="profile-edit-dialog__image-preview" aria-label="Profile Photo Preview">
436
+ <p class="profile-edit-dialog__image-preview-label">${"Profile Photo"}</p>
437
+ <p class="profile-edit-dialog__image-preview-description">${"Recommended: Square JPG, PNG. Max 2MB."}</p>
438
+
439
+ <div class="profile-edit-dialog__image-preview-actions">
440
+ <solid-ui-button
441
+ variant="secondary"
442
+ class="profile-edit-dialog__image-button profile-edit-dialog__image-upload-button"
443
+ aria-label="Upload new profile photo"
444
+ title="Upload"
445
+ @click=${async (t) => {
446
+ let i = t.currentTarget?.ownerDocument || document, a = i.createElement("input");
447
+ a.type = "file", a.accept = "image/*", a.hidden = !0;
448
+ let o = () => {
449
+ a.remove();
450
+ };
451
+ a.addEventListener("change", async () => {
452
+ let t = a.files?.[0];
453
+ if (o(), t && r) try {
454
+ e.pendingImageFile = t, z(e, t), r.status = r.entryNode ? "modified" : "new", n();
455
+ } catch (e) {
456
+ console.error("Profile image upload failed", e);
457
+ }
458
+ }, { once: !0 }), i.body.appendChild(a), a.click();
459
+ }}
460
+ >
461
+ Upload
462
+ </solid-ui-button>
463
+ <solid-ui-button
464
+ variant="secondary"
465
+ class="profile-edit-dialog__image-button profile-edit-dialog__image-remove-button"
466
+ aria-label="Delete profile photo"
467
+ title="Remove"
468
+ @click=${async () => {
469
+ r && (e.pendingImageFile = null, e.clearImagePreview(), m(r, "imageSrc", "", I), n());
470
+ }}
471
+ >
472
+ Remove
473
+ </solid-ui-button>
474
+ </div>
475
+ </div>
476
+ </div>
477
+ <div class="profile-edit-dialog__image-camera-capture-row">
478
+ <div class="profile-edit-dialog__image-camera-capture-frame" hidden></div>
479
+ </div>
480
+ <div class="profile-edit">
481
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal">
482
+ <label aria-label=${s} class="label profile-edit-dialog__field">
483
+ ${s}
484
+ <input
485
+ class="input"
486
+ type="text"
487
+ name="name"
488
+ .value=${r?.name || ""}
489
+ required
490
+ data-contact-field="name"
491
+ data-entry-node=${r?.entryNode || ""}
492
+ data-row-status=${r?.status || "n/a"}
493
+ placeholder="Full Name"
494
+ autocomplete="name"
495
+ inputmode="text"
496
+ @change=${u("name")}
497
+ />
498
+ </label>
499
+ <label aria-label=${c} class="label profile-edit-dialog__field">
500
+ ${c}
501
+ <input
502
+ class="input"
503
+ type="text"
504
+ name="nickname"
505
+ .value=${r?.nickname || ""}
506
+ data-contact-field="nickname"
507
+ data-entry-node=${r?.entryNode || ""}
508
+ data-row-status=${r?.status || "n/a"}
509
+ placeholder="Nickname"
510
+ autocomplete="nickname"
511
+ inputmode="text"
512
+ @change=${u("nickname")}
513
+ />
514
+ </label>
515
+ </div>
516
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal profile-edit-dialog__row--heading-dob">
517
+ <div class="profile-edit-dialog__field-type profile-edit-dialog__field--stack">
518
+ <label aria-label=${l} class="label">
519
+ ${l}
520
+ </label>
521
+ <solid-ui-combobox
522
+ select-only
523
+ class="profile-edit-dialog__type-select"
524
+ name="pronouns"
525
+ data-heading-basic-field="pronouns"
526
+ aria-label=${l}
527
+ .value=${L(r?.pronouns || "")}
528
+ @change=${(e) => {
529
+ let t = e;
530
+ if (!t.detail.option) return;
531
+ let n = L(String(t.detail.option.value));
532
+ r && m(r, "pronouns", n, I);
533
+ }}
534
+ >
535
+ ${k.map((e) => T`<solid-ui-combobox-option value=${e.value}>${e.label}</solid-ui-combobox-option>`)}
536
+ </solid-ui-combobox>
537
+ </div>
538
+ <div class="profile-edit-dialog__field profile-edit-dialog__field--stack">
539
+ <label aria-label=${"DOB"} class="label">
540
+ ${"DOB"}
541
+ </label>
542
+ <input
543
+ class="input profile-edit-dialog__input--dob"
544
+ type="date"
545
+ name="dateOfBirth"
546
+ .value=${x(r?.dateOfBirth || "")}
547
+ data-contact-field="dateOfBirth"
548
+ data-entry-node=${r?.entryNode || ""}
549
+ data-row-status=${r?.status || "n/a"}
550
+ autocomplete="off"
551
+ data-lpignore="true"
552
+ data-1p-ignore="true"
553
+ data-bwignore="true"
554
+ @change=${(e) => {
555
+ let t = e.target, n = v(t.value);
556
+ r && m(r, "dateOfBirth", x(n), I);
557
+ }}
558
+ />
559
+ </div>
560
+ </div>
561
+ <div class="profile-edit-dialog__row profile-edit-dialog__row--equal">
562
+ <div class="profile-edit-dialog__field profile-edit-dialog__field--full">
563
+ ${W({ phone: i })}
564
+ </div>
565
+ <div class="profile-edit-dialog__field profile-edit-dialog__field--full">
566
+ ${G({ email: a })}
567
+ </div>
568
+ </div>
569
+ </div>
570
+ `;
571
+ }
572
+ function J(e, t, r) {
573
+ E(T`
574
+ ${q(t, () => J(e, t, r))}
575
+ ${K({ address: t.address })}
576
+ ${r === "owner" ? null : T`<p class="profile-edit-dialog__login-message">${n}</p>`}
577
+ `, e);
578
+ }
579
+ function Y(e, t) {
580
+ let n = document.createElement("form");
581
+ n.classList.add("profile__edit-form", "profile__edit-form--heading", "profile-edit-dialog--heading"), n.autocomplete = "off", n.setAttribute("data-lpignore", "true"), n.setAttribute("data-1p-ignore", "true"), n.setAttribute("data-bwignore", "true");
582
+ let r = R(e);
583
+ return J(n, r, t), {
584
+ form: n,
585
+ formState: r
586
+ };
587
+ }
588
+ function X(e) {
589
+ return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);
590
+ }
591
+ function Z(e) {
592
+ return /^\d+$/.test(e);
593
+ }
594
+ function Q(e) {
595
+ if (!o(e.basicInfo.name)) return "Full Name is required.";
596
+ let { localNumber: t } = a(e.phone?.value || "");
597
+ return I(e.phone) && !Z(t) ? "Phone Number 1 should contain only numbers." : I(e.email) && !X(e.email?.value || "") ? "Email address must be a valid email address." : null;
598
+ }
599
+ async function $(t, n, i, a, o, l) {
600
+ let u = document, d = s(c(a.imageSrc || "")), { form: f, formState: p } = Y(a, o);
601
+ if (p.basicInfo.imageSrc) {
602
+ let e = await C(n, p.basicInfo.imageSrc);
603
+ e && e !== p.basicInfo.imageSrc && (B(p, e), J(f, p, o));
604
+ }
605
+ await e({
606
+ title: "Edit Heading",
607
+ dom: u,
608
+ form: f,
609
+ headerAction: { type: "none" },
610
+ submitLabel: "Save Changes",
611
+ cancelLabel: "Cancel",
612
+ shouldCloseWithoutSave: () => {
613
+ let e = g([p.basicInfo], I), t = U(p.phone, "phone", p.phoneTypeWasMissing), n = U(p.email, "email", p.emailTypeWasMissing), r = g([p.address], I);
614
+ return e.create.length === 0 && e.update.length === 0 && e.remove.length === 0 && t.create.length === 0 && t.update.length === 0 && t.remove.length === 0 && n.create.length === 0 && n.update.length === 0 && n.remove.length === 0 && r.create.length === 0 && r.update.length === 0 && r.remove.length === 0;
615
+ },
616
+ validate: () => o === "owner" ? Q(p) : "You need to log in as the profile owner to save contact updates.",
617
+ onSave: async () => {
618
+ if (p.pendingImageFile) {
619
+ let e = await w(n, i, p.pendingImageFile);
620
+ m(p.basicInfo, "imageSrc", e, I);
621
+ }
622
+ let e = U(p.phone, "phone", p.phoneTypeWasMissing), t = U(p.email, "email", p.emailTypeWasMissing), a = {
623
+ basicOps: g([p.basicInfo], I),
624
+ phoneOps: H(e),
625
+ emailOps: V(t),
626
+ addressOps: g([p.address], I)
627
+ };
628
+ await r(n, i, a);
629
+ let o = s(p.basicInfo.imageSrc || "");
630
+ if (d && d !== o) try {
631
+ S(d);
632
+ } catch (e) {
633
+ console.warn("Failed to invalidate resolved photo cache", e);
634
+ }
635
+ },
636
+ formatSaveError: (e) => e instanceof Error ? e.message : "Unable to save your heading information."
637
+ }) && l && await l();
638
+ }
639
+ //#endregion
640
+ export { $ as createHeadingEditDialog };
641
+
642
+ //# sourceMappingURL=HeadingEditDialog.esm.js.map