@designcrowd/fe-shared-lib 1.5.33 → 1.5.35

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 (782) hide show
  1. package/.claude/settings.local.json +9 -0
  2. package/.eslintrc.js +36 -36
  3. package/.github/workflows/auto-merge.yml +52 -52
  4. package/.github/workflows/claude.yml +72 -72
  5. package/.prettierrc.js +7 -7
  6. package/.storybook/main.ts +36 -36
  7. package/.storybook/preview-head-master.html +4 -4
  8. package/.storybook/preview-head-publish-master.html +4 -4
  9. package/.storybook/preview-head-publish.html +9 -9
  10. package/.storybook/preview-head.html +9 -9
  11. package/.storybook/preview.js +53 -53
  12. package/.storybook-static/css/.keepme +0 -0
  13. package/CLAUDE.md +94 -94
  14. package/Dockerfile +43 -43
  15. package/README.md +103 -103
  16. package/buildspec.yml +47 -47
  17. package/dist/css/tailwind-brandCrowd.css +505 -496
  18. package/dist/css/tailwind-brandPage.css +423 -414
  19. package/dist/css/tailwind-crazyDomains.css +505 -496
  20. package/dist/css/tailwind-designCom.css +505 -496
  21. package/dist/css/tailwind-designCrowd.css +505 -496
  22. package/docs/plans/DY-957-plan-phase-2-fe-shared-lib.md +382 -0
  23. package/index.cjs +16 -16
  24. package/index.js +62 -61
  25. package/nodemon.translation.json +6 -6
  26. package/npmrc +0 -0
  27. package/package.json +115 -115
  28. package/postcss.config.js +5 -5
  29. package/public/css/.keepme +0 -0
  30. package/public/css/tailwind-brandCrowd.css +2497 -0
  31. package/public/css/tailwind-brandPage.css +2197 -0
  32. package/public/css/tailwind-crazyDomains.css +2497 -0
  33. package/public/css/tailwind-designCom.css +2497 -0
  34. package/public/css/tailwind-designCrowd.css +2497 -0
  35. package/src/atoms/components/AiPoweredLoader/AiPoweredLoader.stories.js +364 -364
  36. package/src/atoms/components/AiPoweredLoader/AiPoweredLoader.vue +296 -296
  37. package/src/atoms/components/Button/Button.vue +341 -341
  38. package/src/atoms/components/Button/ButtonVariant.mixin.vue +126 -126
  39. package/src/atoms/components/Button/Buttons.stories.js +828 -828
  40. package/src/atoms/components/Button/ButtonsCrazyDomains.stories.js +117 -117
  41. package/src/atoms/components/Button/variants/ButtonAi.vue +63 -63
  42. package/src/atoms/components/Button/variants/ButtonDarkModePill.vue +52 -52
  43. package/src/atoms/components/Button/variants/ButtonFlat.vue +65 -65
  44. package/src/atoms/components/Button/variants/ButtonGray.vue +64 -64
  45. package/src/atoms/components/Button/variants/ButtonInfo.vue +51 -51
  46. package/src/atoms/components/Button/variants/ButtonInfoFilled.vue +63 -63
  47. package/src/atoms/components/Button/variants/ButtonNoBorder.vue +65 -65
  48. package/src/atoms/components/Button/variants/ButtonOutline.vue +62 -62
  49. package/src/atoms/components/Button/variants/ButtonOutlineNoHover.vue +62 -62
  50. package/src/atoms/components/Button/variants/ButtonOutlinePrimary.vue +53 -53
  51. package/src/atoms/components/Button/variants/ButtonOutlineSuccess.vue +54 -54
  52. package/src/atoms/components/Button/variants/ButtonPill.vue +52 -52
  53. package/src/atoms/components/Button/variants/ButtonPrimary.vue +69 -69
  54. package/src/atoms/components/Button/variants/ButtonPrimaryWithIcon.vue +68 -68
  55. package/src/atoms/components/Button/variants/ButtonSecondary.vue +51 -51
  56. package/src/atoms/components/Button/variants/ButtonSuccess.vue +55 -55
  57. package/src/atoms/components/Button/variants/ButtonWarning.vue +65 -65
  58. package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsOutline.vue +58 -58
  59. package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsPrimary.vue +38 -38
  60. package/src/atoms/components/ButtonGroup/ButtonGroup.stories.js +575 -575
  61. package/src/atoms/components/ButtonGroup/ButtonGroup.vue +200 -200
  62. package/src/atoms/components/Carousel/Carousel.fixtures.js +53 -53
  63. package/src/atoms/components/Carousel/Carousel.vue +352 -352
  64. package/src/atoms/components/Carousel/carousel.stories.js +530 -530
  65. package/src/atoms/components/Checkbox/Checkbox.mixin.js +57 -57
  66. package/src/atoms/components/Checkbox/Checkbox.stories.js +340 -340
  67. package/src/atoms/components/Checkbox/Checkbox.vue +84 -84
  68. package/src/atoms/components/Checktile/Checktile.stories.js +79 -79
  69. package/src/atoms/components/Checktile/Checktile.vue +73 -73
  70. package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.mixin.js +38 -38
  71. package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js +53 -53
  72. package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.vue +33 -33
  73. package/src/atoms/components/ColorPicker/ColorPicker.stories.js +89 -89
  74. package/src/atoms/components/ColorPicker/ColorPicker.vue +95 -95
  75. package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.stories.js +41 -41
  76. package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.vue +71 -71
  77. package/src/atoms/components/Dropdown/Dropdown.stories.js +140 -140
  78. package/src/atoms/components/Dropdown/Dropdown.vue +123 -123
  79. package/src/atoms/components/Dropdown/DropdownItem.vue +33 -33
  80. package/src/atoms/components/FormControl/FormControl.mixin.js +136 -136
  81. package/src/atoms/components/HelloBar/HelloBar.stories.js +195 -195
  82. package/src/atoms/components/HelloBar/HelloBar.vue +156 -156
  83. package/src/atoms/components/Icon/Icon.stories.js +408 -408
  84. package/src/atoms/components/Icon/Icon.vue +924 -924
  85. package/src/atoms/components/Icon/icons/about.vue +0 -0
  86. package/src/atoms/components/Icon/icons/add-page.vue +6 -6
  87. package/src/atoms/components/Icon/icons/ai.vue +6 -6
  88. package/src/atoms/components/Icon/icons/annotate-heart.vue +7 -7
  89. package/src/atoms/components/Icon/icons/arrow-down.vue +6 -6
  90. package/src/atoms/components/Icon/icons/arrow-left.vue +7 -7
  91. package/src/atoms/components/Icon/icons/arrow-right.vue +7 -7
  92. package/src/atoms/components/Icon/icons/arrow-top-right.vue +6 -6
  93. package/src/atoms/components/Icon/icons/arrow-up-underline.vue +7 -7
  94. package/src/atoms/components/Icon/icons/arrow-up.vue +7 -7
  95. package/src/atoms/components/Icon/icons/attach.vue +6 -6
  96. package/src/atoms/components/Icon/icons/auth-facebook-white.vue +17 -17
  97. package/src/atoms/components/Icon/icons/auth-facebook.vue +24 -24
  98. package/src/atoms/components/Icon/icons/auth-google.vue +32 -32
  99. package/src/atoms/components/Icon/icons/award.vue +7 -7
  100. package/src/atoms/components/Icon/icons/background.vue +7 -7
  101. package/src/atoms/components/Icon/icons/badge.vue +7 -7
  102. package/src/atoms/components/Icon/icons/ban.vue +0 -0
  103. package/src/atoms/components/Icon/icons/banner-centered.vue +6 -6
  104. package/src/atoms/components/Icon/icons/banner-left.vue +6 -6
  105. package/src/atoms/components/Icon/icons/banner.vue +7 -7
  106. package/src/atoms/components/Icon/icons/bc-mast.vue +7 -7
  107. package/src/atoms/components/Icon/icons/bezier-curve-outline.vue +7 -7
  108. package/src/atoms/components/Icon/icons/bezier-curve.vue +7 -7
  109. package/src/atoms/components/Icon/icons/briefcase.vue +7 -7
  110. package/src/atoms/components/Icon/icons/browser.vue +7 -7
  111. package/src/atoms/components/Icon/icons/brush.vue +6 -6
  112. package/src/atoms/components/Icon/icons/business-card-filled.vue +5 -5
  113. package/src/atoms/components/Icon/icons/business.vue +6 -6
  114. package/src/atoms/components/Icon/icons/button-justified.vue +0 -0
  115. package/src/atoms/components/Icon/icons/button.vue +0 -0
  116. package/src/atoms/components/Icon/icons/buttons/button-arrow-left.vue +0 -0
  117. package/src/atoms/components/Icon/icons/buttons/button-arrow-right.vue +0 -0
  118. package/src/atoms/components/Icon/icons/buttons/button-arrow.vue +0 -0
  119. package/src/atoms/components/Icon/icons/buttons/button-brushstroke-left.vue +0 -0
  120. package/src/atoms/components/Icon/icons/buttons/button-brushstroke-right.vue +0 -0
  121. package/src/atoms/components/Icon/icons/buttons/button-brushstroke.vue +0 -0
  122. package/src/atoms/components/Icon/icons/buttons/button-dashed-oval.vue +0 -0
  123. package/src/atoms/components/Icon/icons/buttons/button-dashed-rectangle.vue +0 -0
  124. package/src/atoms/components/Icon/icons/buttons/button-dashed-rounded.vue +0 -0
  125. package/src/atoms/components/Icon/icons/buttons/button-doubleline-oval.vue +0 -0
  126. package/src/atoms/components/Icon/icons/buttons/button-doubleline-rectangle.vue +0 -0
  127. package/src/atoms/components/Icon/icons/buttons/button-doubleline-rounded.vue +0 -0
  128. package/src/atoms/components/Icon/icons/buttons/button-paper-bottom.vue +0 -0
  129. package/src/atoms/components/Icon/icons/buttons/button-paper-top.vue +0 -0
  130. package/src/atoms/components/Icon/icons/buttons/button-paper.vue +0 -0
  131. package/src/atoms/components/Icon/icons/buttons/button-softshadow-oval.vue +0 -0
  132. package/src/atoms/components/Icon/icons/buttons/button-softshadow-rectangle.vue +0 -0
  133. package/src/atoms/components/Icon/icons/buttons/button-softshadow-rounded.vue +0 -0
  134. package/src/atoms/components/Icon/icons/calculator.vue +3 -3
  135. package/src/atoms/components/Icon/icons/calendar.vue +5 -5
  136. package/src/atoms/components/Icon/icons/callout-error.vue +6 -6
  137. package/src/atoms/components/Icon/icons/callout-info.vue +6 -6
  138. package/src/atoms/components/Icon/icons/callout-success.vue +8 -8
  139. package/src/atoms/components/Icon/icons/callout-warning.vue +6 -6
  140. package/src/atoms/components/Icon/icons/cap.vue +22 -22
  141. package/src/atoms/components/Icon/icons/card-vertical.vue +7 -7
  142. package/src/atoms/components/Icon/icons/card.vue +9 -9
  143. package/src/atoms/components/Icon/icons/cart-empty.vue +9 -9
  144. package/src/atoms/components/Icon/icons/check-thin.vue +7 -7
  145. package/src/atoms/components/Icon/icons/check.vue +3 -3
  146. package/src/atoms/components/Icon/icons/chevron-down.vue +7 -7
  147. package/src/atoms/components/Icon/icons/chevron-left.vue +7 -7
  148. package/src/atoms/components/Icon/icons/chevron-right-wide.vue +3 -3
  149. package/src/atoms/components/Icon/icons/chevron-right.vue +3 -3
  150. package/src/atoms/components/Icon/icons/chevron-up.vue +7 -7
  151. package/src/atoms/components/Icon/icons/clipboard-check.vue +6 -6
  152. package/src/atoms/components/Icon/icons/close.vue +6 -6
  153. package/src/atoms/components/Icon/icons/column-1.vue +0 -0
  154. package/src/atoms/components/Icon/icons/column-2.vue +0 -0
  155. package/src/atoms/components/Icon/icons/column-3.vue +0 -0
  156. package/src/atoms/components/Icon/icons/column-4.vue +0 -0
  157. package/src/atoms/components/Icon/icons/community.vue +5 -5
  158. package/src/atoms/components/Icon/icons/contact-message.vue +10 -10
  159. package/src/atoms/components/Icon/icons/content.vue +7 -7
  160. package/src/atoms/components/Icon/icons/copy.vue +10 -10
  161. package/src/atoms/components/Icon/icons/crazy-domains/filter.vue +6 -6
  162. package/src/atoms/components/Icon/icons/crazy-domains/globe.vue +6 -6
  163. package/src/atoms/components/Icon/icons/crazy-domains/home.vue +6 -6
  164. package/src/atoms/components/Icon/icons/crazy-domains/social-facebook.vue +6 -6
  165. package/src/atoms/components/Icon/icons/crazy-domains/social-google.vue +6 -6
  166. package/src/atoms/components/Icon/icons/crazy-domains/social-instagram.vue +6 -6
  167. package/src/atoms/components/Icon/icons/crazy-domains/social-twitter.vue +6 -6
  168. package/src/atoms/components/Icon/icons/crazy-domains/social-youtube.vue +6 -6
  169. package/src/atoms/components/Icon/icons/crop.vue +6 -6
  170. package/src/atoms/components/Icon/icons/crown-alt.vue +5 -5
  171. package/src/atoms/components/Icon/icons/crown.vue +6 -6
  172. package/src/atoms/components/Icon/icons/delete.vue +8 -8
  173. package/src/atoms/components/Icon/icons/designs.vue +6 -6
  174. package/src/atoms/components/Icon/icons/desktop.vue +7 -7
  175. package/src/atoms/components/Icon/icons/digital-business-card-filled.vue +8 -8
  176. package/src/atoms/components/Icon/icons/divider-thick.vue +0 -0
  177. package/src/atoms/components/Icon/icons/divider-thin.vue +0 -0
  178. package/src/atoms/components/Icon/icons/divider.vue +0 -0
  179. package/src/atoms/components/Icon/icons/donate.vue +6 -6
  180. package/src/atoms/components/Icon/icons/download.vue +5 -5
  181. package/src/atoms/components/Icon/icons/duplicate.vue +6 -6
  182. package/src/atoms/components/Icon/icons/edit-line.vue +10 -10
  183. package/src/atoms/components/Icon/icons/edit.vue +6 -6
  184. package/src/atoms/components/Icon/icons/ellipsis.vue +6 -6
  185. package/src/atoms/components/Icon/icons/envelope-email.vue +9 -9
  186. package/src/atoms/components/Icon/icons/error.vue +8 -8
  187. package/src/atoms/components/Icon/icons/eye-crossed.vue +7 -7
  188. package/src/atoms/components/Icon/icons/eye-open.vue +11 -11
  189. package/src/atoms/components/Icon/icons/fees.vue +6 -6
  190. package/src/atoms/components/Icon/icons/file-empty.vue +7 -7
  191. package/src/atoms/components/Icon/icons/file.vue +7 -7
  192. package/src/atoms/components/Icon/icons/filter.vue +7 -7
  193. package/src/atoms/components/Icon/icons/filters.vue +6 -6
  194. package/src/atoms/components/Icon/icons/flag.vue +6 -6
  195. package/src/atoms/components/Icon/icons/flip-horizontal.vue +7 -7
  196. package/src/atoms/components/Icon/icons/flip-vertical.vue +7 -7
  197. package/src/atoms/components/Icon/icons/folder.vue +6 -6
  198. package/src/atoms/components/Icon/icons/font.vue +7 -7
  199. package/src/atoms/components/Icon/icons/footer-centered.vue +7 -7
  200. package/src/atoms/components/Icon/icons/footer-left.vue +7 -7
  201. package/src/atoms/components/Icon/icons/form-message.vue +6 -6
  202. package/src/atoms/components/Icon/icons/form.vue +5 -5
  203. package/src/atoms/components/Icon/icons/fullscreen-exit.vue +5 -5
  204. package/src/atoms/components/Icon/icons/fullscreen.vue +5 -5
  205. package/src/atoms/components/Icon/icons/globe.vue +6 -6
  206. package/src/atoms/components/Icon/icons/godaddy/logo.vue +5 -5
  207. package/src/atoms/components/Icon/icons/group.vue +6 -6
  208. package/src/atoms/components/Icon/icons/hamburger-1.vue +0 -0
  209. package/src/atoms/components/Icon/icons/hamburger-2.vue +0 -0
  210. package/src/atoms/components/Icon/icons/hamburger-3.vue +0 -0
  211. package/src/atoms/components/Icon/icons/hamburger-4.vue +0 -0
  212. package/src/atoms/components/Icon/icons/hamburger.vue +7 -7
  213. package/src/atoms/components/Icon/icons/headphones.vue +7 -7
  214. package/src/atoms/components/Icon/icons/home-outline.vue +6 -6
  215. package/src/atoms/components/Icon/icons/home.vue +7 -7
  216. package/src/atoms/components/Icon/icons/icon-style-circle-bg.vue +22 -22
  217. package/src/atoms/components/Icon/icons/icon-style-no-bg.vue +16 -16
  218. package/src/atoms/components/Icon/icons/icon-style-square-bg.vue +22 -22
  219. package/src/atoms/components/Icon/icons/image-gallery-carousel.vue +7 -7
  220. package/src/atoms/components/Icon/icons/image-gallery-grid.vue +7 -7
  221. package/src/atoms/components/Icon/icons/image-gallery-masonry.vue +6 -6
  222. package/src/atoms/components/Icon/icons/image.vue +7 -7
  223. package/src/atoms/components/Icon/icons/images-gallery.vue +5 -5
  224. package/src/atoms/components/Icon/icons/images.vue +7 -7
  225. package/src/atoms/components/Icon/icons/info.vue +9 -9
  226. package/src/atoms/components/Icon/icons/jobs.vue +8 -8
  227. package/src/atoms/components/Icon/icons/layer-bring-front.vue +6 -6
  228. package/src/atoms/components/Icon/icons/layer-send-back.vue +6 -6
  229. package/src/atoms/components/Icon/icons/layer.vue +6 -6
  230. package/src/atoms/components/Icon/icons/layout/display-style-about-1.vue +20 -20
  231. package/src/atoms/components/Icon/icons/layout/display-style-about-2.vue +20 -20
  232. package/src/atoms/components/Icon/icons/layout/display-style-about-3.vue +20 -20
  233. package/src/atoms/components/Icon/icons/layout/display-style-about-4.vue +32 -32
  234. package/src/atoms/components/Icon/icons/layout/display-style-about-5.vue +27 -27
  235. package/src/atoms/components/Icon/icons/layout/display-style-about-6.vue +27 -27
  236. package/src/atoms/components/Icon/icons/layout/display-style-banner-1.vue +20 -20
  237. package/src/atoms/components/Icon/icons/layout/display-style-banner-2.vue +20 -20
  238. package/src/atoms/components/Icon/icons/layout/display-style-banner-3.vue +20 -20
  239. package/src/atoms/components/Icon/icons/layout/display-style-banner-4.vue +20 -20
  240. package/src/atoms/components/Icon/icons/layout/display-style-banner-5.vue +20 -20
  241. package/src/atoms/components/Icon/icons/layout/display-style-banner-6.vue +27 -27
  242. package/src/atoms/components/Icon/icons/layout/display-style-banner-7.vue +27 -27
  243. package/src/atoms/components/Icon/icons/layout/display-style-banner-8.vue +20 -20
  244. package/src/atoms/components/Icon/icons/layout/display-style-banner-9.vue +20 -20
  245. package/src/atoms/components/Icon/icons/layout/display-style-contact-1.vue +24 -24
  246. package/src/atoms/components/Icon/icons/layout/display-style-contact-2.vue +24 -24
  247. package/src/atoms/components/Icon/icons/layout/display-style-contact-4.vue +24 -24
  248. package/src/atoms/components/Icon/icons/layout/display-style-contact-5.vue +39 -39
  249. package/src/atoms/components/Icon/icons/layout/display-style-contact-6.vue +39 -39
  250. package/src/atoms/components/Icon/icons/layout/display-style-images-1.vue +0 -0
  251. package/src/atoms/components/Icon/icons/layout/display-style-images-2.vue +0 -0
  252. package/src/atoms/components/Icon/icons/layout/display-style-images-3.vue +0 -0
  253. package/src/atoms/components/Icon/icons/layout/display-style-images-4.vue +0 -0
  254. package/src/atoms/components/Icon/icons/layout/display-style-images-5.vue +0 -0
  255. package/src/atoms/components/Icon/icons/layout/display-style-images-6.vue +0 -0
  256. package/src/atoms/components/Icon/icons/layout/footer/display-style-1.vue +7 -7
  257. package/src/atoms/components/Icon/icons/layout/footer/display-style-2.vue +16 -16
  258. package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-1.vue +17 -17
  259. package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-2.vue +17 -17
  260. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-1.vue +17 -17
  261. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-2.vue +17 -17
  262. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-3.vue +13 -13
  263. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-4.vue +13 -13
  264. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-5.vue +17 -17
  265. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-6.vue +17 -17
  266. package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-1.vue +16 -16
  267. package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-2.vue +16 -16
  268. package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-3.vue +16 -16
  269. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-1.vue +17 -17
  270. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-2.vue +17 -17
  271. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-3.vue +17 -17
  272. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-4.vue +21 -21
  273. package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-1.vue +17 -17
  274. package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-2.vue +17 -17
  275. package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-1.vue +16 -16
  276. package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-2.vue +16 -16
  277. package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-3.vue +16 -16
  278. package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-normal.vue +7 -7
  279. package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-small.vue +7 -7
  280. package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-small-text-center-normal.vue +7 -7
  281. package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-bottom.vue +11 -11
  282. package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-circle.vue +10 -10
  283. package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-top.vue +11 -11
  284. package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-center-normal.vue +7 -7
  285. package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-justify-normal.vue +7 -7
  286. package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-left-normal.vue +7 -7
  287. package/src/atoms/components/Icon/icons/layout/layout-icon-left-small-text-left-normal.vue +7 -7
  288. package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-center-normal.vue +7 -7
  289. package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-justify-normal.vue +7 -7
  290. package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-right-normal.vue +7 -7
  291. package/src/atoms/components/Icon/icons/layout/layout-icon-right-small-text-right-normal.vue +7 -7
  292. package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-normal.vue +7 -7
  293. package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-small.vue +7 -7
  294. package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-justify-normal.vue +7 -7
  295. package/src/atoms/components/Icon/icons/layout/layout-icon-top-small-text-center-normal.vue +7 -7
  296. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-1.vue +16 -16
  297. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-2.vue +10 -10
  298. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-3.vue +10 -10
  299. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-4.vue +23 -23
  300. package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-1.vue +16 -16
  301. package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-2.vue +7 -7
  302. package/src/atoms/components/Icon/icons/letterhead-filled.vue +5 -5
  303. package/src/atoms/components/Icon/icons/lightning.vue +7 -7
  304. package/src/atoms/components/Icon/icons/link-in-bio-filled.vue +8 -8
  305. package/src/atoms/components/Icon/icons/link.vue +6 -6
  306. package/src/atoms/components/Icon/icons/location.vue +6 -6
  307. package/src/atoms/components/Icon/icons/lock.vue +6 -6
  308. package/src/atoms/components/Icon/icons/logo.vue +7 -7
  309. package/src/atoms/components/Icon/icons/mac-command.vue +7 -7
  310. package/src/atoms/components/Icon/icons/maker/align-center.vue +7 -7
  311. package/src/atoms/components/Icon/icons/maker/align-justify.vue +7 -7
  312. package/src/atoms/components/Icon/icons/maker/align-left.vue +7 -7
  313. package/src/atoms/components/Icon/icons/maker/align-right.vue +7 -7
  314. package/src/atoms/components/Icon/icons/maker/animate.vue +7 -7
  315. package/src/atoms/components/Icon/icons/maker/bold.vue +7 -7
  316. package/src/atoms/components/Icon/icons/maker/custom-landscape.vue +5 -5
  317. package/src/atoms/components/Icon/icons/maker/email-symbol.vue +5 -5
  318. package/src/atoms/components/Icon/icons/maker/email.vue +5 -5
  319. package/src/atoms/components/Icon/icons/maker/eraser.vue +5 -5
  320. package/src/atoms/components/Icon/icons/maker/etsy.vue +5 -5
  321. package/src/atoms/components/Icon/icons/maker/facebook.vue +5 -5
  322. package/src/atoms/components/Icon/icons/maker/favicon.vue +7 -7
  323. package/src/atoms/components/Icon/icons/maker/flyer.vue +7 -7
  324. package/src/atoms/components/Icon/icons/maker/gift-certificate.vue +5 -5
  325. package/src/atoms/components/Icon/icons/maker/globe.vue +5 -5
  326. package/src/atoms/components/Icon/icons/maker/image.vue +7 -7
  327. package/src/atoms/components/Icon/icons/maker/instagram.vue +7 -7
  328. package/src/atoms/components/Icon/icons/maker/invitation.vue +5 -5
  329. package/src/atoms/components/Icon/icons/maker/invoice.vue +5 -5
  330. package/src/atoms/components/Icon/icons/maker/italic.vue +7 -7
  331. package/src/atoms/components/Icon/icons/maker/link.vue +7 -7
  332. package/src/atoms/components/Icon/icons/maker/linkedin.vue +7 -7
  333. package/src/atoms/components/Icon/icons/maker/menu.vue +5 -5
  334. package/src/atoms/components/Icon/icons/maker/pause.vue +5 -5
  335. package/src/atoms/components/Icon/icons/maker/phone.vue +5 -5
  336. package/src/atoms/components/Icon/icons/maker/pinterest.vue +5 -5
  337. package/src/atoms/components/Icon/icons/maker/play.vue +5 -5
  338. package/src/atoms/components/Icon/icons/maker/postcard.vue +5 -5
  339. package/src/atoms/components/Icon/icons/maker/poster.vue +7 -7
  340. package/src/atoms/components/Icon/icons/maker/profile.vue +5 -5
  341. package/src/atoms/components/Icon/icons/maker/qrcode.vue +5 -5
  342. package/src/atoms/components/Icon/icons/maker/snapchat.vue +5 -5
  343. package/src/atoms/components/Icon/icons/maker/soundcloud.vue +7 -7
  344. package/src/atoms/components/Icon/icons/maker/spacing.vue +18 -18
  345. package/src/atoms/components/Icon/icons/maker/strikethrough.vue +7 -7
  346. package/src/atoms/components/Icon/icons/maker/t-shirt.vue +32 -32
  347. package/src/atoms/components/Icon/icons/maker/text-background-color.vue +12 -12
  348. package/src/atoms/components/Icon/icons/maker/text-color.vue +14 -14
  349. package/src/atoms/components/Icon/icons/maker/text.vue +7 -7
  350. package/src/atoms/components/Icon/icons/maker/thankyou-card.vue +5 -5
  351. package/src/atoms/components/Icon/icons/maker/tiktok.vue +5 -5
  352. package/src/atoms/components/Icon/icons/maker/tumblr.vue +5 -5
  353. package/src/atoms/components/Icon/icons/maker/twitch.vue +7 -7
  354. package/src/atoms/components/Icon/icons/maker/twitter.vue +5 -5
  355. package/src/atoms/components/Icon/icons/maker/underline.vue +7 -7
  356. package/src/atoms/components/Icon/icons/maker/uppercase.vue +14 -14
  357. package/src/atoms/components/Icon/icons/maker/video.vue +5 -5
  358. package/src/atoms/components/Icon/icons/maker/whatsapp.vue +7 -7
  359. package/src/atoms/components/Icon/icons/maker/youtube.vue +5 -5
  360. package/src/atoms/components/Icon/icons/maker/zoom.vue +5 -5
  361. package/src/atoms/components/Icon/icons/map.vue +6 -6
  362. package/src/atoms/components/Icon/icons/media.vue +3 -3
  363. package/src/atoms/components/Icon/icons/message.vue +6 -6
  364. package/src/atoms/components/Icon/icons/minus-circle-light.vue +7 -7
  365. package/src/atoms/components/Icon/icons/minus.vue +3 -3
  366. package/src/atoms/components/Icon/icons/mobile.vue +5 -5
  367. package/src/atoms/components/Icon/icons/mug.vue +29 -29
  368. package/src/atoms/components/Icon/icons/opacity.vue +6 -6
  369. package/src/atoms/components/Icon/icons/other.vue +7 -7
  370. package/src/atoms/components/Icon/icons/page-blank.vue +6 -6
  371. package/src/atoms/components/Icon/icons/page-buttons.vue +8 -8
  372. package/src/atoms/components/Icon/icons/page-hamburger.vue +9 -9
  373. package/src/atoms/components/Icon/icons/page-tabs.vue +9 -9
  374. package/src/atoms/components/Icon/icons/pages.vue +6 -6
  375. package/src/atoms/components/Icon/icons/palette-outline.vue +7 -7
  376. package/src/atoms/components/Icon/icons/palette.vue +6 -6
  377. package/src/atoms/components/Icon/icons/pause.vue +5 -5
  378. package/src/atoms/components/Icon/icons/payment.vue +8 -8
  379. package/src/atoms/components/Icon/icons/payments-featured.vue +6 -6
  380. package/src/atoms/components/Icon/icons/payments-textonly.vue +8 -8
  381. package/src/atoms/components/Icon/icons/payments-thumbnail.vue +9 -9
  382. package/src/atoms/components/Icon/icons/pen-outline.vue +7 -7
  383. package/src/atoms/components/Icon/icons/pen-sparkle.vue +17 -17
  384. package/src/atoms/components/Icon/icons/pen-tool.vue +7 -7
  385. package/src/atoms/components/Icon/icons/pen.vue +7 -7
  386. package/src/atoms/components/Icon/icons/phone.vue +6 -6
  387. package/src/atoms/components/Icon/icons/plus-circle-light.vue +8 -8
  388. package/src/atoms/components/Icon/icons/plus-circle.vue +7 -7
  389. package/src/atoms/components/Icon/icons/plus.vue +3 -3
  390. package/src/atoms/components/Icon/icons/poll.vue +3 -3
  391. package/src/atoms/components/Icon/icons/portfolio.vue +10 -10
  392. package/src/atoms/components/Icon/icons/premium-content.vue +8 -8
  393. package/src/atoms/components/Icon/icons/preview.vue +6 -6
  394. package/src/atoms/components/Icon/icons/printing.vue +6 -6
  395. package/src/atoms/components/Icon/icons/processing.vue +5 -5
  396. package/src/atoms/components/Icon/icons/question-alt.vue +20 -20
  397. package/src/atoms/components/Icon/icons/question.vue +11 -11
  398. package/src/atoms/components/Icon/icons/quote.vue +0 -0
  399. package/src/atoms/components/Icon/icons/ratio-1-1.vue +3 -3
  400. package/src/atoms/components/Icon/icons/ratio-16-9.vue +1 -1
  401. package/src/atoms/components/Icon/icons/ratio-2-3.vue +3 -3
  402. package/src/atoms/components/Icon/icons/ratio-3-2.vue +3 -3
  403. package/src/atoms/components/Icon/icons/ratio-3-4.vue +3 -3
  404. package/src/atoms/components/Icon/icons/ratio-4-3.vue +3 -3
  405. package/src/atoms/components/Icon/icons/ratio-9-16.vue +3 -3
  406. package/src/atoms/components/Icon/icons/ratio-circle.vue +8 -8
  407. package/src/atoms/components/Icon/icons/ratio-original.vue +11 -11
  408. package/src/atoms/components/Icon/icons/redo.vue +6 -6
  409. package/src/atoms/components/Icon/icons/reload.vue +6 -6
  410. package/src/atoms/components/Icon/icons/reorderable.vue +5 -5
  411. package/src/atoms/components/Icon/icons/request-payment.vue +6 -6
  412. package/src/atoms/components/Icon/icons/reset.vue +6 -6
  413. package/src/atoms/components/Icon/icons/resize.vue +6 -6
  414. package/src/atoms/components/Icon/icons/search.vue +11 -11
  415. package/src/atoms/components/Icon/icons/secure.vue +7 -7
  416. package/src/atoms/components/Icon/icons/send.vue +12 -12
  417. package/src/atoms/components/Icon/icons/services.vue +7 -7
  418. package/src/atoms/components/Icon/icons/settings.vue +7 -7
  419. package/src/atoms/components/Icon/icons/shape.vue +5 -5
  420. package/src/atoms/components/Icon/icons/share.vue +9 -9
  421. package/src/atoms/components/Icon/icons/shield-tick.vue +6 -6
  422. package/src/atoms/components/Icon/icons/shop.vue +5 -5
  423. package/src/atoms/components/Icon/icons/sms.vue +5 -5
  424. package/src/atoms/components/Icon/icons/social-facebook-color.vue +9 -9
  425. package/src/atoms/components/Icon/icons/social-facebook.vue +5 -5
  426. package/src/atoms/components/Icon/icons/social-google.vue +5 -5
  427. package/src/atoms/components/Icon/icons/social-instagram-color.vue +24 -24
  428. package/src/atoms/components/Icon/icons/social-linkedin-color.vue +9 -9
  429. package/src/atoms/components/Icon/icons/social-share.vue +7 -7
  430. package/src/atoms/components/Icon/icons/social-twitter-color.vue +9 -9
  431. package/src/atoms/components/Icon/icons/sparkle-square.vue +22 -22
  432. package/src/atoms/components/Icon/icons/star-filled.vue +6 -6
  433. package/src/atoms/components/Icon/icons/star-hollow.vue +6 -6
  434. package/src/atoms/components/Icon/icons/sticker.vue +28 -28
  435. package/src/atoms/components/Icon/icons/stop.vue +5 -5
  436. package/src/atoms/components/Icon/icons/styles.vue +5 -5
  437. package/src/atoms/components/Icon/icons/submit.vue +5 -5
  438. package/src/atoms/components/Icon/icons/templates.vue +7 -7
  439. package/src/atoms/components/Icon/icons/testimonial-big-image.vue +0 -0
  440. package/src/atoms/components/Icon/icons/testimonial-centered.vue +0 -0
  441. package/src/atoms/components/Icon/icons/testimonial-columns.vue +0 -0
  442. package/src/atoms/components/Icon/icons/text-image-center.vue +6 -6
  443. package/src/atoms/components/Icon/icons/text-image-justified.vue +7 -7
  444. package/src/atoms/components/Icon/icons/text-image-left.vue +9 -9
  445. package/src/atoms/components/Icon/icons/text-image-only.vue +5 -5
  446. package/src/atoms/components/Icon/icons/text-image-right.vue +9 -9
  447. package/src/atoms/components/Icon/icons/text-image.vue +13 -13
  448. package/src/atoms/components/Icon/icons/time.vue +8 -8
  449. package/src/atoms/components/Icon/icons/tooltip-bottom.vue +5 -5
  450. package/src/atoms/components/Icon/icons/tooltip-left.vue +5 -5
  451. package/src/atoms/components/Icon/icons/tooltip-right.vue +5 -5
  452. package/src/atoms/components/Icon/icons/tooltip-top.vue +5 -5
  453. package/src/atoms/components/Icon/icons/undo.vue +6 -6
  454. package/src/atoms/components/Icon/icons/upgrade-alt.vue +7 -7
  455. package/src/atoms/components/Icon/icons/upgrade.vue +9 -9
  456. package/src/atoms/components/Icon/icons/upload-arrow.vue +5 -5
  457. package/src/atoms/components/Icon/icons/upload.vue +5 -5
  458. package/src/atoms/components/Icon/icons/user-accounts.vue +5 -5
  459. package/src/atoms/components/Icon/icons/user-headset.vue +50 -50
  460. package/src/atoms/components/Icon/icons/volume-muted.vue +5 -5
  461. package/src/atoms/components/Icon/icons/volume.vue +5 -5
  462. package/src/atoms/components/Icon/icons/watchlist-filled.vue +14 -14
  463. package/src/atoms/components/Icon/icons/watchlist-hollow-alt.vue +14 -14
  464. package/src/atoms/components/Icon/icons/watchlist-hollow.vue +6 -6
  465. package/src/atoms/components/Icon/icons/website-filled.vue +5 -5
  466. package/src/atoms/components/Icon/icons/website.vue +6 -6
  467. package/src/atoms/components/Icon/icons/websites/upgrade-to-add-page.vue +50 -50
  468. package/src/atoms/components/Icon/icons/websites/upgrade-to-contact-form.vue +82 -82
  469. package/src/atoms/components/Icon/icons/websites/upgrade-to-google-ad.vue +92 -92
  470. package/src/atoms/components/Icon/icons/websites/upgrade-to-maps.vue +40 -40
  471. package/src/atoms/components/Icon/icons/websites/upgrade-to-publish.vue +107 -107
  472. package/src/atoms/components/Icon/icons/websites/upgrade-to-remove-watermark.vue +74 -74
  473. package/src/atoms/components/Icon/icons/websites/upgrade-to-videos.vue +16 -16
  474. package/src/atoms/components/Icon/icons/wholesale.vue +6 -6
  475. package/src/atoms/components/Icon/icons/zoom-in.vue +5 -5
  476. package/src/atoms/components/Icon/icons/zoom-out.vue +5 -5
  477. package/src/atoms/components/Icon/icons/zoom.vue +11 -11
  478. package/src/atoms/components/Loader/Loader.vue +15 -15
  479. package/src/atoms/components/Masonry/Masonry.stories.js +48 -48
  480. package/src/atoms/components/Masonry/Masonry.vue +48 -48
  481. package/src/atoms/components/Masonry/fixtures.js +589 -589
  482. package/src/atoms/components/Modal/HashRouteModal.stories.js +68 -68
  483. package/src/atoms/components/Modal/HashRouteModal.vue +120 -120
  484. package/src/atoms/components/Modal/Modal.stories.js +293 -293
  485. package/src/atoms/components/Modal/Modal.vue +263 -263
  486. package/src/atoms/components/Notice/Notice.stories.js +174 -174
  487. package/src/atoms/components/Notice/Notice.vue +71 -71
  488. package/src/atoms/components/NumberStepper/NumberStepper.stories.js +55 -55
  489. package/src/atoms/components/NumberStepper/NumberStepper.vue +340 -340
  490. package/src/atoms/components/Picture/Picture.stories.js +90 -90
  491. package/src/atoms/components/Picture/Picture.vue +84 -84
  492. package/src/atoms/components/Picture/picture.fixtures.js +35 -35
  493. package/src/atoms/components/Pill/Pill.stories.js +20 -20
  494. package/src/atoms/components/Pill/Pill.vue +8 -8
  495. package/src/atoms/components/PillBar/PillBar.fixtures.js +941 -941
  496. package/src/atoms/components/PillBar/PillBar.stories.js +39 -39
  497. package/src/atoms/components/PillBar/PillBar.vue +62 -62
  498. package/src/atoms/components/Price/Price.fixtures.js +85 -85
  499. package/src/atoms/components/Price/Price.stories.js +313 -313
  500. package/src/atoms/components/Price/Price.vue +135 -135
  501. package/src/atoms/components/Price/i18n/price.de-DE.json +5 -5
  502. package/src/atoms/components/Price/i18n/price.es-ES.json +5 -5
  503. package/src/atoms/components/Price/i18n/price.fr-CA.json +5 -5
  504. package/src/atoms/components/Price/i18n/price.fr-FR.json +5 -5
  505. package/src/atoms/components/Price/i18n/price.json +5 -5
  506. package/src/atoms/components/Price/i18n/price.pt-BR.json +5 -5
  507. package/src/atoms/components/Price/i18n/price.pt-PT.json +5 -5
  508. package/src/atoms/components/PromoCard/PromoCard.stories.ts +263 -263
  509. package/src/atoms/components/PromoCard/PromoCard.vue +83 -83
  510. package/src/atoms/components/SearchBar/SearchBar.stories.js +21 -21
  511. package/src/atoms/components/SearchBar/SearchBar.vue +51 -51
  512. package/src/atoms/components/Select/Select.stories.js +142 -142
  513. package/src/atoms/components/Select/Select.vue +619 -619
  514. package/src/atoms/components/Select/pointerMixin.js +99 -99
  515. package/src/atoms/components/Select/selectMixin.js +356 -356
  516. package/src/atoms/components/Slider/Slider.stories.js +0 -0
  517. package/src/atoms/components/Slider/Slider.vue +0 -0
  518. package/src/atoms/components/SparkleIcon/SparkleIcon.stories.js +386 -386
  519. package/src/atoms/components/SparkleIcon/SparkleIcon.vue +136 -136
  520. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-01.svg +5 -5
  521. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-02.svg +5 -5
  522. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-03.svg +5 -5
  523. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-04.svg +5 -5
  524. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-05.svg +5 -5
  525. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-06.svg +5 -5
  526. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-07.svg +5 -5
  527. package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-08.svg +5 -5
  528. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-01.svg +5 -5
  529. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-02.svg +14 -14
  530. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-03.svg +14 -14
  531. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-04.svg +14 -14
  532. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-05.svg +14 -14
  533. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-06.svg +14 -14
  534. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-07.svg +14 -14
  535. package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-08.svg +14 -14
  536. package/src/atoms/components/SparkleIcon/assets/sparkle.svg +3 -3
  537. package/src/atoms/components/SparkleIcon/index.ts +3 -3
  538. package/src/atoms/components/SparkleIcon/sparkle-paths.ts +54 -54
  539. package/src/atoms/components/SparkleIcon/sparkle-with-spinner-paths.ts +61 -61
  540. package/src/atoms/components/StarRating/StarRating.stories.js +50 -50
  541. package/src/atoms/components/StarRating/StarRating.vue +84 -84
  542. package/src/atoms/components/TabMenu/TabMenu.stories.js +54 -54
  543. package/src/atoms/components/TabMenu/TabMenu.vue +44 -44
  544. package/src/atoms/components/TextCopyField/TextCopyField.stories.js +68 -68
  545. package/src/atoms/components/TextCopyField/TextCopyField.vue +75 -75
  546. package/src/atoms/components/TextInput/TextInput.stories.js +232 -232
  547. package/src/atoms/components/TextInput/TextInput.vue +161 -161
  548. package/src/atoms/components/Textarea/Textarea.stories.js +209 -209
  549. package/src/atoms/components/Textarea/Textarea.vue +112 -112
  550. package/src/atoms/components/Toggle/Toggle.stories.js +176 -176
  551. package/src/atoms/components/Toggle/Toggle.vue +69 -69
  552. package/src/atoms/components/Tooltip/Tooltip.stories.js +493 -493
  553. package/src/atoms/components/Tooltip/Tooltip.vue +196 -196
  554. package/src/atoms/components/design-com/Icon/Icon.stories.js +94 -94
  555. package/src/atoms/components/design-com/Icon/Icon.vue +181 -181
  556. package/src/atoms/components/design-com/Icon/icons/ai.vue +5 -5
  557. package/src/atoms/components/design-com/Icon/icons/annotate-heart.vue +0 -0
  558. package/src/atoms/components/design-com/Icon/icons/award.vue +7 -7
  559. package/src/atoms/components/design-com/Icon/icons/badge.vue +7 -7
  560. package/src/atoms/components/design-com/Icon/icons/bezier-curve.vue +0 -0
  561. package/src/atoms/components/design-com/Icon/icons/briefcase.vue +6 -6
  562. package/src/atoms/components/design-com/Icon/icons/browser.vue +7 -7
  563. package/src/atoms/components/design-com/Icon/icons/bulb.vue +7 -7
  564. package/src/atoms/components/design-com/Icon/icons/card-vertical.vue +8 -8
  565. package/src/atoms/components/design-com/Icon/icons/card.vue +6 -6
  566. package/src/atoms/components/design-com/Icon/icons/check-circle-light.vue +7 -7
  567. package/src/atoms/components/design-com/Icon/icons/chevron-down.vue +7 -7
  568. package/src/atoms/components/design-com/Icon/icons/chevron-left.vue +7 -7
  569. package/src/atoms/components/design-com/Icon/icons/chevron-right.vue +3 -3
  570. package/src/atoms/components/design-com/Icon/icons/chevron-up.vue +7 -7
  571. package/src/atoms/components/design-com/Icon/icons/diamond.vue +7 -7
  572. package/src/atoms/components/design-com/Icon/icons/download.vue +7 -7
  573. package/src/atoms/components/design-com/Icon/icons/file-empty.vue +7 -7
  574. package/src/atoms/components/design-com/Icon/icons/file.vue +7 -7
  575. package/src/atoms/components/design-com/Icon/icons/filter.vue +7 -7
  576. package/src/atoms/components/design-com/Icon/icons/folder.vue +5 -5
  577. package/src/atoms/components/design-com/Icon/icons/font.vue +7 -7
  578. package/src/atoms/components/design-com/Icon/icons/headphones.vue +7 -7
  579. package/src/atoms/components/design-com/Icon/icons/heart.vue +7 -7
  580. package/src/atoms/components/design-com/Icon/icons/image.vue +7 -7
  581. package/src/atoms/components/design-com/Icon/icons/lightning.vue +7 -7
  582. package/src/atoms/components/design-com/Icon/icons/logo.vue +7 -7
  583. package/src/atoms/components/design-com/Icon/icons/minus-circle-light.vue +7 -7
  584. package/src/atoms/components/design-com/Icon/icons/palette.vue +0 -0
  585. package/src/atoms/components/design-com/Icon/icons/pen-outline.vue +0 -0
  586. package/src/atoms/components/design-com/Icon/icons/pen-sparkle.vue +0 -0
  587. package/src/atoms/components/design-com/Icon/icons/pen.vue +0 -0
  588. package/src/atoms/components/design-com/Icon/icons/plus-circle-light.vue +8 -8
  589. package/src/atoms/components/design-com/Icon/icons/printing.vue +5 -5
  590. package/src/atoms/components/design-com/Icon/icons/question-circle-filled.vue +7 -7
  591. package/src/atoms/components/design-com/Icon/icons/search.vue +7 -7
  592. package/src/atoms/components/design-com/Icon/icons/shield-tick.vue +5 -5
  593. package/src/atoms/components/design-com/Icon/icons/sparkle-square.vue +0 -0
  594. package/src/atoms/components/design-com/Icon/icons/star-filled.vue +6 -6
  595. package/src/atoms/components/design-com/Icon/icons/star-hollow.vue +6 -6
  596. package/src/atoms/components/design-com/Icon/icons/text.vue +0 -0
  597. package/src/atoms/components/design-com/Icon/icons/users.vue +7 -7
  598. package/src/atoms/constants/constants.ts +6 -6
  599. package/src/atoms/mixin/hash-router-mixin.js +68 -68
  600. package/src/atoms/thirdparty-components/VueMasonryWall/VueMasonryWall.vue +280 -280
  601. package/src/atoms/thirdparty-components/VueMasonryWall/maxBy.js +50 -50
  602. package/src/bundleTranslation.js +86 -86
  603. package/src/bundles/bundled-translations.de-DE.json +3 -1
  604. package/src/bundles/bundled-translations.es-ES.json +3 -1
  605. package/src/bundles/bundled-translations.fr-CA.json +3 -1
  606. package/src/bundles/bundled-translations.fr-FR.json +3 -1
  607. package/src/bundles/bundled-translations.json +3 -1
  608. package/src/bundles/bundled-translations.pt-BR.json +3 -1
  609. package/src/bundles/bundled-translations.pt-PT.json +3 -1
  610. package/src/css/tailwind.css +3 -3
  611. package/src/experiences/clients/brand-crowd-api.client.js +142 -124
  612. package/src/experiences/clients/brand-page-api.client.js +62 -62
  613. package/src/experiences/components/AuthFlow/Auth.fixtures.js +4 -4
  614. package/src/experiences/components/AuthFlow/Auth.stories.js +345 -345
  615. package/src/experiences/components/AuthFlow/AuthCrazyDomains.stories.js +60 -60
  616. package/src/experiences/components/AuthFlow/AuthLegal.vue +108 -108
  617. package/src/experiences/components/AuthFlow/AuthModal.vue +39 -39
  618. package/src/experiences/components/AuthFlow/ForgotPassword.vue +222 -222
  619. package/src/experiences/components/AuthFlow/ForgotPasswordModal.vue +68 -68
  620. package/src/experiences/components/AuthFlow/ResetPassword.vue +179 -179
  621. package/src/experiences/components/AuthFlow/ResetPasswordModal.vue +64 -64
  622. package/src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue +56 -56
  623. package/src/experiences/components/AuthFlow/SignIn.vue +472 -472
  624. package/src/experiences/components/AuthFlow/SignUp.vue +278 -278
  625. package/src/experiences/components/AuthFlow/SignUpModal.vue +90 -90
  626. package/src/experiences/components/AuthFlow/SocialSignIn.vue +177 -177
  627. package/src/experiences/components/AuthFlow/SocialSignInButton.vue +74 -74
  628. package/src/experiences/components/AuthFlow/SubmissionButton.vue +56 -56
  629. package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +118 -118
  630. package/src/experiences/components/PaymentConfigList/PaymentConfigDeleteConfigModal.vue +108 -108
  631. package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +175 -175
  632. package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +234 -234
  633. package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +136 -136
  634. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.de-DE.json +11 -11
  635. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.es-ES.json +11 -11
  636. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-CA.json +11 -11
  637. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-FR.json +11 -11
  638. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.json +11 -11
  639. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-BR.json +11 -11
  640. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-PT.json +11 -11
  641. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +119 -119
  642. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +262 -262
  643. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +0 -0
  644. package/src/experiences/components/PublishBrandPageModal/__fixtures__/data.js +25 -25
  645. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +26 -26
  646. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +26 -26
  647. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-CA.json +26 -26
  648. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +26 -26
  649. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +26 -26
  650. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-BR.json +26 -26
  651. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +26 -26
  652. package/src/experiences/components/PublishBrandPageModal/views/PublishWhenHasDomainsView.vue +0 -0
  653. package/src/experiences/components/PublishBrandPageModal/views/PublishWhenNoDomainsView.vue +0 -0
  654. package/src/experiences/components/PublishBrandPageModal/views/PublishedView.vue +0 -0
  655. package/src/experiences/components/PublishBrandPageModal/views/SetUrlView.vue +0 -0
  656. package/src/experiences/components/SellDomainNameList/SellDomainNameList.fixtures.js +32 -32
  657. package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +157 -157
  658. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +7 -7
  659. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +7 -7
  660. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-CA.json +7 -7
  661. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +7 -7
  662. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +7 -7
  663. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-BR.json +7 -7
  664. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +7 -7
  665. package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.stories.js +74 -74
  666. package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +128 -128
  667. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +5 -5
  668. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +5 -5
  669. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-CA.json +5 -5
  670. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +5 -5
  671. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +5 -5
  672. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-BR.json +5 -5
  673. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +5 -5
  674. package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +222 -222
  675. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +5 -5
  676. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +5 -5
  677. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-CA.json +5 -5
  678. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +5 -5
  679. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +5 -5
  680. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-BR.json +5 -5
  681. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +5 -5
  682. package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +0 -0
  683. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +7 -7
  684. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +7 -7
  685. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-CA.json +7 -7
  686. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +7 -7
  687. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +7 -7
  688. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-BR.json +7 -7
  689. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +7 -7
  690. package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +167 -167
  691. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +5 -5
  692. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +5 -5
  693. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-CA.json +5 -5
  694. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +5 -5
  695. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +5 -5
  696. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-BR.json +5 -5
  697. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +5 -5
  698. package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.stories.js +38 -38
  699. package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +223 -223
  700. package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.stories.js +40 -40
  701. package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +155 -155
  702. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +7 -7
  703. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +7 -7
  704. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-CA.json +7 -7
  705. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +7 -7
  706. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +7 -7
  707. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-BR.json +7 -7
  708. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +7 -7
  709. package/src/experiences/components/SideNavigationPanel/MenuCta.vue +62 -62
  710. package/src/experiences/components/SideNavigationPanel/MenuItem.vue +40 -40
  711. package/src/experiences/components/SideNavigationPanel/SideNavigationPanel.stories.js +219 -219
  712. package/src/experiences/components/SideNavigationPanel/SideNavigationPanel.vue +48 -48
  713. package/src/experiences/components/SideNavigationPanel/types.ts +7 -7
  714. package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js +254 -205
  715. package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue +163 -135
  716. package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js +59 -59
  717. package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.vue +285 -285
  718. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js +37 -37
  719. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +338 -338
  720. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +146 -146
  721. package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +473 -473
  722. package/src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.stories.js +65 -0
  723. package/src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.vue +156 -0
  724. package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +103 -103
  725. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +75 -75
  726. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +55 -55
  727. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadModal.vue +38 -38
  728. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +109 -109
  729. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadingLoader.vue +39 -39
  730. package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +363 -311
  731. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.de-DE.json +37 -34
  732. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.es-ES.json +37 -34
  733. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-CA.json +37 -34
  734. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-FR.json +37 -34
  735. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json +37 -35
  736. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-BR.json +37 -34
  737. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-PT.json +37 -34
  738. package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.stories.js +82 -82
  739. package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +211 -211
  740. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.de-DE.json +8 -8
  741. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.es-ES.json +8 -8
  742. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.fr-CA.json +8 -8
  743. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.fr-FR.json +8 -8
  744. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.json +8 -8
  745. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.pt-BR.json +8 -8
  746. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.pt-PT.json +8 -8
  747. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.stories.js +181 -181
  748. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +203 -203
  749. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.de-DE.json +42 -42
  750. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.es-ES.json +42 -42
  751. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-CA.json +42 -42
  752. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-FR.json +42 -42
  753. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.json +42 -42
  754. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-BR.json +42 -42
  755. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-PT.json +42 -42
  756. package/src/experiences/constants/api.js +9 -8
  757. package/src/experiences/constants/error-constants.js +5 -5
  758. package/src/experiences/constants/event-constants.js +18 -18
  759. package/src/experiences/constants/partner-dictionary-constants.js +27 -27
  760. package/src/experiences/constants/rego-source-constants.js +3 -3
  761. package/src/experiences/constants/sell-domain-name-constants.js +4 -4
  762. package/src/experiences/helpers/email-validator.js +5 -5
  763. package/src/experiences/helpers/hex-diff.js +116 -116
  764. package/src/experiences/helpers/tracking.js +5 -5
  765. package/src/experiences/mixins/mediaQueryMixin.js +31 -31
  766. package/src/experiences/mixins/themeMixin.js +22 -22
  767. package/src/experiences/models/websiteContextualModel.ts +11 -11
  768. package/src/themes/base.js +20 -20
  769. package/src/themes/bc.js +95 -95
  770. package/src/themes/bp.js +21 -21
  771. package/src/themes/cd.js +94 -94
  772. package/src/themes/dc.js +84 -84
  773. package/src/themes/dcom.js +106 -106
  774. package/src/themes/themes.js +16 -16
  775. package/src/useSharedLibTranslate.js +131 -131
  776. package/src/viewports.js +51 -51
  777. package/storybook-static/favicon.ico +0 -0
  778. package/stylelint.config.js +19 -19
  779. package/tailwind.build.js +83 -83
  780. package/tailwind.config.js +36 -36
  781. package/tailwind.themes.js +59 -59
  782. package/vite.config.ts +37 -37
@@ -1,472 +1,472 @@
1
- <template>
2
- <div :class="{ 'tw-mx-2 sm:tw-mx-8': !isModal }">
3
- <div v-if="helloBar" class="tw-text-left tw-mt-2 tw-mb-2">
4
- <HelloBar :label="helloBar.label" :description="helloBar.description" :variant="helloBar.variant">
5
- <template #cta>
6
- <Button
7
- v-if="recommendedActionLink"
8
- variant="secondary"
9
- size="small"
10
- :label="resetPasswordButtonLabel"
11
- class="tw-hidden sm:tw-inline"
12
- :url="getRedirectToRecommendedActionUrl"
13
- />
14
- <Button
15
- v-if="recommendedActionLink"
16
- variant="secondary"
17
- size="medium"
18
- :label="resetPasswordButtonLabel"
19
- :full-width="true"
20
- class="sm:tw-hidden tw-mt-2"
21
- :url="getRedirectToRecommendedActionUrl"
22
- />
23
- </template>
24
- </HelloBar>
25
- </div>
26
- <div
27
- class="lg:tw-flex tw-items-start tw-justify-center"
28
- :class="{ 'tw-px-2 tw-pb-8': isModal, 'tw-py-8': !isModal }"
29
- >
30
- <div
31
- class="lg:tw-max-w-xl tw-flex tw-items-center tw-justify-center tw-flex-col tw-text-center tw-h-auto"
32
- :class="[
33
- formBackgroundClass,
34
- {
35
- 'tw-border tw-border-solid tw-border-grayscale-400': !isModal,
36
- },
37
- ]"
38
- >
39
- <div
40
- class="tw-w-full"
41
- :class="{
42
- 'tw-p-4 md:tw-p-8': !isModal,
43
- }"
44
- >
45
- <h2
46
- v-if="title"
47
- class="tw-text-center tw-text-4xl tw-font-bold"
48
- :class="{
49
- 'tw-mb-6': !description,
50
- 'tw-mb-2': description,
51
- }"
52
- >
53
- {{ title }}
54
- </h2>
55
- <p v-if="description && !resetPasswordDescription" class="tw-text-center tw-mb-6 tw-text-grayscale-600 tw-mt-0">
56
- {{ description }}
57
- </p>
58
- <p v-if="resetPasswordDescription" class="tw-text-center tw-mb-6 tw-font-semibold tw-text-info-500 tw-mt-0">
59
- {{ resetPasswordDescription }}
60
- </p>
61
- <div class="tw-flex tw-flex-col">
62
- <div>
63
- <form id="signin" :action="getSignInAction" method="post" @submit="validate">
64
- <input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
65
- <label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
66
- <input
67
- v-model="aUserName"
68
- name="userName"
69
- type="text"
70
- data-test-email-input
71
- aria-required="true"
72
- :aria-invalid="!!userNameError"
73
- autocomplete="email"
74
- :placeholder="emailPlaceholderLabel"
75
- class="email-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
76
- :class="{ 'tw-border-error-500': !!userNameError }"
77
- />
78
- <p v-if="!!userNameError" class="tw-text-error-500 tw-text-sm tw-text-left tw-mb-4">
79
- {{ userNameError }}
80
- </p>
81
- <label v-if="capturePassword" for="password" class="tw-sr-only"> {{ passwordPlaceholderLabel }} </label>
82
- <input
83
- v-if="capturePassword"
84
- v-model="password"
85
- name="password"
86
- type="password"
87
- data-test-password-input
88
- aria-required="true"
89
- :aria-invalid="!!passwordError"
90
- autocomplete="current-password"
91
- :placeholder="passwordPlaceholderLabel"
92
- class="password-input tw-h-12 tw-mb-4 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
93
- :class="{ 'tw-border-error-500': !!passwordError }"
94
- />
95
- <p v-if="capturePassword && !!passwordError" class="tw-text-error-500 tw-text-sm tw-text-left tw-mb-4">
96
- {{ passwordError }}
97
- </p>
98
- <p v-if="capturePassword || resetPasswordDescription" class="tw-w-full tw-text-left tw-mb-4">
99
- <a class="tw-text-info-500 tw-cursor-pointer hover:tw-underline" @click="forgotPasswordClick()">
100
- {{ forgotPasswordLabel }}
101
- </a>
102
- </p>
103
- <SubmissionButton
104
- v-if="!resetPasswordDescription"
105
- data-test-login-button
106
- variant="primary"
107
- size="medium"
108
- :label="submissionButtonLabel"
109
- :label-size="submissionButtonLabelSize"
110
- :is-loading="emailLoading"
111
- :disabled="emailLoading"
112
- >
113
- </SubmissionButton>
114
- </form>
115
- <AuthLegal
116
- :terms-of-use-url="termsOfUseUrl"
117
- :privacy-policy-url="privacyPolicyUrl"
118
- :theme="theme"
119
- :available-themes="availableThemes"
120
- :is-design-com="isDesignCom"
121
- :terms-and-conditions="termsAndConditions"
122
- :terms-and-conditions-content-key-path="termsAndConditionsContentKeyPath"
123
- />
124
- </div>
125
-
126
- <div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
127
- <div class="tw-w-full tw-inline-flex tw-items-center tw-mb-4">
128
- <div
129
- class="tw-grow tw-h-0 tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-px-4"
130
- ></div>
131
- <span class="tw-px-4"> {{ orLabel }} </span>
132
- <div
133
- class="tw-grow tw-h-0 tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-px-4"
134
- ></div>
135
- </div>
136
- </div>
137
- <div>
138
- <SocialSignIn
139
- :login-with-google-url="loginWithGoogleUrl"
140
- :login-with-facebook-url="loginWithFacebookUrl"
141
- :anti-forgery-token="antiForgeryToken"
142
- :pre-facebook-login-hook="preFacebookLoginHook"
143
- :pre-google-login-hook="preGoogleLoginHook"
144
- :disabled="isLoading"
145
- :facebook-loading="facebookLoading"
146
- :google-loading="googleLoading"
147
- :login-with-google-label="loginWithGoogleLabel"
148
- :login-with-facebook-label="loginWithFacebookLabel"
149
- />
150
- </div>
151
- </div>
152
- </div>
153
- <div
154
- v-if="isModal === false && !!signUpText && !!signUpUrl"
155
- class="tw-order-last tw-w-full tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-text-center tw-pt-6 tw-pb-8 tw-text-grayscale-600"
156
- >
157
- <p>
158
- {{ getSignUpText }}
159
- <a :href="signUpUrl" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }">{{
160
- signUpLabel
161
- }}</a>
162
- </p>
163
- </div>
164
- </div>
165
- </div>
166
- </div>
167
- </template>
168
- <script>
169
- import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
170
- import Button from '../../../atoms/components/Button/Button.vue';
171
- import SubmissionButton from './SubmissionButton.vue';
172
- import AuthLegal from './AuthLegal.vue';
173
- import themeMixin from '../../mixins/themeMixin';
174
- import { SIGN_IN } from '../../constants/partner-dictionary-constants';
175
- import isValidEmail from '../../helpers/email-validator';
176
- import SocialSignIn from './SocialSignIn.vue';
177
- import { getCurrentLocale } from '../../../useSharedLibTranslate';
178
-
179
- export default {
180
- components: {
181
- HelloBar,
182
- Button,
183
- SocialSignIn,
184
- SubmissionButton,
185
- AuthLegal,
186
- },
187
- mixins: [themeMixin],
188
- props: {
189
- title: {
190
- type: String,
191
- required: false,
192
- default: undefined,
193
- },
194
- description: {
195
- type: String,
196
- required: false,
197
- default: undefined,
198
- },
199
- formBackgroundClass: {
200
- type: String,
201
- required: false,
202
- default: undefined,
203
- },
204
- signUpText: {
205
- type: String,
206
- required: false,
207
- default: undefined,
208
- },
209
- signUpUrl: {
210
- type: String,
211
- required: false,
212
- default: undefined,
213
- },
214
- forgotPasswordUrl: {
215
- type: String,
216
- required: true,
217
- },
218
- loginWithGoogleUrl: {
219
- type: String,
220
- required: false,
221
- default: undefined,
222
- },
223
- loginWithFacebookUrl: {
224
- type: String,
225
- required: false,
226
- default: undefined,
227
- },
228
- termsOfUseUrl: {
229
- type: String,
230
- required: true,
231
- },
232
- privacyPolicyUrl: {
233
- type: String,
234
- required: true,
235
- },
236
- antiForgeryToken: {
237
- type: String,
238
- required: true,
239
- },
240
- helloBar: {
241
- type: Object,
242
- required: false,
243
- default: undefined,
244
- },
245
- recommendedActionLink: {
246
- type: String,
247
- default: undefined,
248
- },
249
- initialUserName: {
250
- type: String,
251
- required: false,
252
- default: undefined,
253
- },
254
- isModal: {
255
- type: Boolean,
256
- required: false,
257
- default: false,
258
- },
259
- capturePassword: {
260
- type: Boolean,
261
- default: true,
262
- },
263
- resetPasswordDescription: {
264
- type: String,
265
- default: undefined,
266
- },
267
- emailLoading: {
268
- type: Boolean,
269
- required: false,
270
- default: false,
271
- },
272
- facebookLoading: {
273
- type: Boolean,
274
- required: false,
275
- default: false,
276
- },
277
- googleLoading: {
278
- type: Boolean,
279
- required: false,
280
- default: false,
281
- },
282
- onForgotPassword: {
283
- type: Function,
284
- required: false,
285
- default: undefined,
286
- },
287
- submissionButtonLabel: {
288
- type: String,
289
- required: false,
290
- default: 'Continue',
291
- },
292
- isDesignCom: {
293
- type: Boolean,
294
- default: false,
295
- },
296
- // hooks
297
- preFacebookLoginHook: {
298
- type: Function,
299
- required: false,
300
- default: undefined,
301
- },
302
- preGoogleLoginHook: {
303
- type: Function,
304
- required: false,
305
- default: undefined,
306
- },
307
- termsAndConditions: {
308
- type: Object,
309
- required: false,
310
- default: undefined,
311
- },
312
- termsAndConditionsContentKeyPath: {
313
- type: String,
314
- required: false,
315
- default: undefined,
316
- },
317
- signInContent: {
318
- type: Object,
319
- required: false,
320
- default: () => {},
321
- },
322
- },
323
- data() {
324
- return {
325
- aUserName: this.initialUserName,
326
- password: undefined,
327
- userNameError: undefined,
328
- passwordError: undefined,
329
- loginWithGoogleLabel: this.signInContent.loginWithGoogleLabel,
330
- loginWithFacebookLabel: this.signInContent.loginWithFacebookLabel,
331
- invalidUsernameErrorLabel: this.signInContent.invalidUsernameErrorLabel ?? 'Please enter a valid email address',
332
- missingPasswordErrorLabel: this.signInContent.missingPasswordErrorLabel ?? 'Please enter a password',
333
- emailLabel: this.signInContent.emailLabel ?? 'Email',
334
- emailPlaceholderLabel: this.signInContent.emailPlaceholderLabel ?? 'Email Address',
335
- passwordPlaceholderLabel: this.signInContent.passwordPlaceholderLabel ?? 'Password',
336
- forgotPasswordLabel: this.signInContent.forgotPasswordLabel ?? 'Forgot Password?',
337
- resetPasswordButtonLabel: this.signInContent.resetPasswordButtonLabel ?? 'RESET PASSWORD',
338
- orLabel: this.signInContent.orLabel ?? 'or',
339
- signUpLabel: this.signInContent.signUpLabel ?? 'Sign Up',
340
- };
341
- },
342
- computed: {
343
- isLoading() {
344
- return this.emailLoading || this.facebookLoading || this.googleLoading;
345
- },
346
- currentLocale() {
347
- return getCurrentLocale();
348
- },
349
- submissionButtonLabelLowercase() {
350
- return this.submissionButtonLabel.toLowerCase();
351
- },
352
- getForgotPasswordUrl() {
353
- if (typeof window === 'undefined') {
354
- return null;
355
- }
356
-
357
- const url = new URL(`https://${window.location.host}${this.forgotPasswordUrl}`);
358
-
359
- if (this.aUserName) {
360
- url.searchParams.set('email', this.aUserName);
361
- }
362
- return url;
363
- },
364
- getRedirectToRecommendedActionUrl() {
365
- if (typeof window === 'undefined') {
366
- return null;
367
- }
368
-
369
- const url = new URL(`https://${window.location.host}${this.recommendedActionLink}`);
370
- if (this.aUserName) {
371
- url.searchParams.set('email', this.aUserName);
372
- }
373
- return url?.toString();
374
- },
375
- submissionButtonLabelSize() {
376
- return this.submissionButtonLabel === 'LOGIN' ? 'smaller' : 'medium';
377
- },
378
- getSignUpText() {
379
- if (this.isPartnerTheme) {
380
- return SIGN_IN.SIGN_UP_TEXT[this.theme];
381
- }
382
- return this.signUpText;
383
- },
384
- getSignInAction() {
385
- const params = new URLSearchParams();
386
-
387
- params.set('locale', this.currentLocale);
388
-
389
- if (this.$route?.query) {
390
- Object.entries(this.$route.query).forEach(([key, value]) => {
391
- if (key !== 'locale' && value != null) {
392
- const paramValue = Array.isArray(value) ? value[0] : value;
393
- params.set(key, paramValue);
394
- }
395
- });
396
- }
397
-
398
- return `/identity/account/signin?${params.toString()}`;
399
- },
400
- },
401
- watch: {
402
- capturePassword() {
403
- this.clearErrorMessages();
404
- },
405
- initialUserName(newValue) {
406
- if (newValue && newValue !== this.aUserName) {
407
- this.aUserName = newValue;
408
- }
409
- }
410
- },
411
- methods: {
412
- validate(e) {
413
- this.clearErrorMessages();
414
- if (!this.aUserName || !isValidEmail(this.aUserName)) {
415
- this.userNameError = this.invalidUsernameErrorLabel;
416
- e.preventDefault();
417
- return false;
418
- }
419
-
420
- if (this.capturePassword && !this.password) {
421
- this.passwordError = this.missingPasswordErrorLabel;
422
- e.preventDefault();
423
- return false;
424
- }
425
-
426
- if (this.aUserName && this.isModal) {
427
- e.preventDefault();
428
-
429
- if (this.capturePassword && this.password) {
430
- this.$emit('sign-in-request-submitted', this.aUserName, this.password);
431
- } else {
432
- this.$emit('sign-in-request-submitted', this.aUserName);
433
- }
434
-
435
- return true;
436
- }
437
-
438
- if (this.aUserName && this.password) {
439
- return true;
440
- }
441
-
442
- e.preventDefault();
443
- return false;
444
- },
445
- forgotPasswordClick() {
446
- if (this.onForgotPassword) {
447
- this.onForgotPassword(this.aUserName);
448
- return;
449
- }
450
- window.location.href = this.getForgotPasswordUrl;
451
- },
452
- clearErrorMessages() {
453
- this.userNameError = undefined;
454
- this.passwordError = undefined;
455
- },
456
- },
457
- };
458
- </script>
459
- <style scoped>
460
- .email-input {
461
- background-image: url(https://dcstatic.com/images/icons/forms/forms-email-58207f9a5c.svg);
462
- background-position: top 50% left 0.5rem;
463
- }
464
- .password-input {
465
- background-image: url(https://dcstatic.com/images/icons/forms/forms-password-ff538cd5e4.svg);
466
- background-position: top 50% left 0.5rem;
467
- }
468
-
469
- .tw-pl-10-important {
470
- padding-left: 2.5rem !important;
471
- }
472
- </style>
1
+ <template>
2
+ <div :class="{ 'tw-mx-2 sm:tw-mx-8': !isModal }">
3
+ <div v-if="helloBar" class="tw-text-left tw-mt-2 tw-mb-2">
4
+ <HelloBar :label="helloBar.label" :description="helloBar.description" :variant="helloBar.variant">
5
+ <template #cta>
6
+ <Button
7
+ v-if="recommendedActionLink"
8
+ variant="secondary"
9
+ size="small"
10
+ :label="resetPasswordButtonLabel"
11
+ class="tw-hidden sm:tw-inline"
12
+ :url="getRedirectToRecommendedActionUrl"
13
+ />
14
+ <Button
15
+ v-if="recommendedActionLink"
16
+ variant="secondary"
17
+ size="medium"
18
+ :label="resetPasswordButtonLabel"
19
+ :full-width="true"
20
+ class="sm:tw-hidden tw-mt-2"
21
+ :url="getRedirectToRecommendedActionUrl"
22
+ />
23
+ </template>
24
+ </HelloBar>
25
+ </div>
26
+ <div
27
+ class="lg:tw-flex tw-items-start tw-justify-center"
28
+ :class="{ 'tw-px-2 tw-pb-8': isModal, 'tw-py-8': !isModal }"
29
+ >
30
+ <div
31
+ class="lg:tw-max-w-xl tw-flex tw-items-center tw-justify-center tw-flex-col tw-text-center tw-h-auto"
32
+ :class="[
33
+ formBackgroundClass,
34
+ {
35
+ 'tw-border tw-border-solid tw-border-grayscale-400': !isModal,
36
+ },
37
+ ]"
38
+ >
39
+ <div
40
+ class="tw-w-full"
41
+ :class="{
42
+ 'tw-p-4 md:tw-p-8': !isModal,
43
+ }"
44
+ >
45
+ <h2
46
+ v-if="title"
47
+ class="tw-text-center tw-text-4xl tw-font-bold"
48
+ :class="{
49
+ 'tw-mb-6': !description,
50
+ 'tw-mb-2': description,
51
+ }"
52
+ >
53
+ {{ title }}
54
+ </h2>
55
+ <p v-if="description && !resetPasswordDescription" class="tw-text-center tw-mb-6 tw-text-grayscale-600 tw-mt-0">
56
+ {{ description }}
57
+ </p>
58
+ <p v-if="resetPasswordDescription" class="tw-text-center tw-mb-6 tw-font-semibold tw-text-info-500 tw-mt-0">
59
+ {{ resetPasswordDescription }}
60
+ </p>
61
+ <div class="tw-flex tw-flex-col">
62
+ <div>
63
+ <form id="signin" :action="getSignInAction" method="post" @submit="validate">
64
+ <input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
65
+ <label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
66
+ <input
67
+ v-model="aUserName"
68
+ name="userName"
69
+ type="text"
70
+ data-test-email-input
71
+ aria-required="true"
72
+ :aria-invalid="!!userNameError"
73
+ autocomplete="email"
74
+ :placeholder="emailPlaceholderLabel"
75
+ class="email-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
76
+ :class="{ 'tw-border-error-500': !!userNameError }"
77
+ />
78
+ <p v-if="!!userNameError" class="tw-text-error-500 tw-text-sm tw-text-left tw-mb-4">
79
+ {{ userNameError }}
80
+ </p>
81
+ <label v-if="capturePassword" for="password" class="tw-sr-only"> {{ passwordPlaceholderLabel }} </label>
82
+ <input
83
+ v-if="capturePassword"
84
+ v-model="password"
85
+ name="password"
86
+ type="password"
87
+ data-test-password-input
88
+ aria-required="true"
89
+ :aria-invalid="!!passwordError"
90
+ autocomplete="current-password"
91
+ :placeholder="passwordPlaceholderLabel"
92
+ class="password-input tw-h-12 tw-mb-4 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
93
+ :class="{ 'tw-border-error-500': !!passwordError }"
94
+ />
95
+ <p v-if="capturePassword && !!passwordError" class="tw-text-error-500 tw-text-sm tw-text-left tw-mb-4">
96
+ {{ passwordError }}
97
+ </p>
98
+ <p v-if="capturePassword || resetPasswordDescription" class="tw-w-full tw-text-left tw-mb-4">
99
+ <a class="tw-text-info-500 tw-cursor-pointer hover:tw-underline" @click="forgotPasswordClick()">
100
+ {{ forgotPasswordLabel }}
101
+ </a>
102
+ </p>
103
+ <SubmissionButton
104
+ v-if="!resetPasswordDescription"
105
+ data-test-login-button
106
+ variant="primary"
107
+ size="medium"
108
+ :label="submissionButtonLabel"
109
+ :label-size="submissionButtonLabelSize"
110
+ :is-loading="emailLoading"
111
+ :disabled="emailLoading"
112
+ >
113
+ </SubmissionButton>
114
+ </form>
115
+ <AuthLegal
116
+ :terms-of-use-url="termsOfUseUrl"
117
+ :privacy-policy-url="privacyPolicyUrl"
118
+ :theme="theme"
119
+ :available-themes="availableThemes"
120
+ :is-design-com="isDesignCom"
121
+ :terms-and-conditions="termsAndConditions"
122
+ :terms-and-conditions-content-key-path="termsAndConditionsContentKeyPath"
123
+ />
124
+ </div>
125
+
126
+ <div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
127
+ <div class="tw-w-full tw-inline-flex tw-items-center tw-mb-4">
128
+ <div
129
+ class="tw-grow tw-h-0 tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-px-4"
130
+ ></div>
131
+ <span class="tw-px-4"> {{ orLabel }} </span>
132
+ <div
133
+ class="tw-grow tw-h-0 tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-px-4"
134
+ ></div>
135
+ </div>
136
+ </div>
137
+ <div>
138
+ <SocialSignIn
139
+ :login-with-google-url="loginWithGoogleUrl"
140
+ :login-with-facebook-url="loginWithFacebookUrl"
141
+ :anti-forgery-token="antiForgeryToken"
142
+ :pre-facebook-login-hook="preFacebookLoginHook"
143
+ :pre-google-login-hook="preGoogleLoginHook"
144
+ :disabled="isLoading"
145
+ :facebook-loading="facebookLoading"
146
+ :google-loading="googleLoading"
147
+ :login-with-google-label="loginWithGoogleLabel"
148
+ :login-with-facebook-label="loginWithFacebookLabel"
149
+ />
150
+ </div>
151
+ </div>
152
+ </div>
153
+ <div
154
+ v-if="isModal === false && !!signUpText && !!signUpUrl"
155
+ class="tw-order-last tw-w-full tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-text-center tw-pt-6 tw-pb-8 tw-text-grayscale-600"
156
+ >
157
+ <p>
158
+ {{ getSignUpText }}
159
+ <a :href="signUpUrl" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }">{{
160
+ signUpLabel
161
+ }}</a>
162
+ </p>
163
+ </div>
164
+ </div>
165
+ </div>
166
+ </div>
167
+ </template>
168
+ <script>
169
+ import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
170
+ import Button from '../../../atoms/components/Button/Button.vue';
171
+ import SubmissionButton from './SubmissionButton.vue';
172
+ import AuthLegal from './AuthLegal.vue';
173
+ import themeMixin from '../../mixins/themeMixin';
174
+ import { SIGN_IN } from '../../constants/partner-dictionary-constants';
175
+ import isValidEmail from '../../helpers/email-validator';
176
+ import SocialSignIn from './SocialSignIn.vue';
177
+ import { getCurrentLocale } from '../../../useSharedLibTranslate';
178
+
179
+ export default {
180
+ components: {
181
+ HelloBar,
182
+ Button,
183
+ SocialSignIn,
184
+ SubmissionButton,
185
+ AuthLegal,
186
+ },
187
+ mixins: [themeMixin],
188
+ props: {
189
+ title: {
190
+ type: String,
191
+ required: false,
192
+ default: undefined,
193
+ },
194
+ description: {
195
+ type: String,
196
+ required: false,
197
+ default: undefined,
198
+ },
199
+ formBackgroundClass: {
200
+ type: String,
201
+ required: false,
202
+ default: undefined,
203
+ },
204
+ signUpText: {
205
+ type: String,
206
+ required: false,
207
+ default: undefined,
208
+ },
209
+ signUpUrl: {
210
+ type: String,
211
+ required: false,
212
+ default: undefined,
213
+ },
214
+ forgotPasswordUrl: {
215
+ type: String,
216
+ required: true,
217
+ },
218
+ loginWithGoogleUrl: {
219
+ type: String,
220
+ required: false,
221
+ default: undefined,
222
+ },
223
+ loginWithFacebookUrl: {
224
+ type: String,
225
+ required: false,
226
+ default: undefined,
227
+ },
228
+ termsOfUseUrl: {
229
+ type: String,
230
+ required: true,
231
+ },
232
+ privacyPolicyUrl: {
233
+ type: String,
234
+ required: true,
235
+ },
236
+ antiForgeryToken: {
237
+ type: String,
238
+ required: true,
239
+ },
240
+ helloBar: {
241
+ type: Object,
242
+ required: false,
243
+ default: undefined,
244
+ },
245
+ recommendedActionLink: {
246
+ type: String,
247
+ default: undefined,
248
+ },
249
+ initialUserName: {
250
+ type: String,
251
+ required: false,
252
+ default: undefined,
253
+ },
254
+ isModal: {
255
+ type: Boolean,
256
+ required: false,
257
+ default: false,
258
+ },
259
+ capturePassword: {
260
+ type: Boolean,
261
+ default: true,
262
+ },
263
+ resetPasswordDescription: {
264
+ type: String,
265
+ default: undefined,
266
+ },
267
+ emailLoading: {
268
+ type: Boolean,
269
+ required: false,
270
+ default: false,
271
+ },
272
+ facebookLoading: {
273
+ type: Boolean,
274
+ required: false,
275
+ default: false,
276
+ },
277
+ googleLoading: {
278
+ type: Boolean,
279
+ required: false,
280
+ default: false,
281
+ },
282
+ onForgotPassword: {
283
+ type: Function,
284
+ required: false,
285
+ default: undefined,
286
+ },
287
+ submissionButtonLabel: {
288
+ type: String,
289
+ required: false,
290
+ default: 'Continue',
291
+ },
292
+ isDesignCom: {
293
+ type: Boolean,
294
+ default: false,
295
+ },
296
+ // hooks
297
+ preFacebookLoginHook: {
298
+ type: Function,
299
+ required: false,
300
+ default: undefined,
301
+ },
302
+ preGoogleLoginHook: {
303
+ type: Function,
304
+ required: false,
305
+ default: undefined,
306
+ },
307
+ termsAndConditions: {
308
+ type: Object,
309
+ required: false,
310
+ default: undefined,
311
+ },
312
+ termsAndConditionsContentKeyPath: {
313
+ type: String,
314
+ required: false,
315
+ default: undefined,
316
+ },
317
+ signInContent: {
318
+ type: Object,
319
+ required: false,
320
+ default: () => {},
321
+ },
322
+ },
323
+ data() {
324
+ return {
325
+ aUserName: this.initialUserName,
326
+ password: undefined,
327
+ userNameError: undefined,
328
+ passwordError: undefined,
329
+ loginWithGoogleLabel: this.signInContent.loginWithGoogleLabel,
330
+ loginWithFacebookLabel: this.signInContent.loginWithFacebookLabel,
331
+ invalidUsernameErrorLabel: this.signInContent.invalidUsernameErrorLabel ?? 'Please enter a valid email address',
332
+ missingPasswordErrorLabel: this.signInContent.missingPasswordErrorLabel ?? 'Please enter a password',
333
+ emailLabel: this.signInContent.emailLabel ?? 'Email',
334
+ emailPlaceholderLabel: this.signInContent.emailPlaceholderLabel ?? 'Email Address',
335
+ passwordPlaceholderLabel: this.signInContent.passwordPlaceholderLabel ?? 'Password',
336
+ forgotPasswordLabel: this.signInContent.forgotPasswordLabel ?? 'Forgot Password?',
337
+ resetPasswordButtonLabel: this.signInContent.resetPasswordButtonLabel ?? 'RESET PASSWORD',
338
+ orLabel: this.signInContent.orLabel ?? 'or',
339
+ signUpLabel: this.signInContent.signUpLabel ?? 'Sign Up',
340
+ };
341
+ },
342
+ computed: {
343
+ isLoading() {
344
+ return this.emailLoading || this.facebookLoading || this.googleLoading;
345
+ },
346
+ currentLocale() {
347
+ return getCurrentLocale();
348
+ },
349
+ submissionButtonLabelLowercase() {
350
+ return this.submissionButtonLabel.toLowerCase();
351
+ },
352
+ getForgotPasswordUrl() {
353
+ if (typeof window === 'undefined') {
354
+ return null;
355
+ }
356
+
357
+ const url = new URL(`https://${window.location.host}${this.forgotPasswordUrl}`);
358
+
359
+ if (this.aUserName) {
360
+ url.searchParams.set('email', this.aUserName);
361
+ }
362
+ return url;
363
+ },
364
+ getRedirectToRecommendedActionUrl() {
365
+ if (typeof window === 'undefined') {
366
+ return null;
367
+ }
368
+
369
+ const url = new URL(`https://${window.location.host}${this.recommendedActionLink}`);
370
+ if (this.aUserName) {
371
+ url.searchParams.set('email', this.aUserName);
372
+ }
373
+ return url?.toString();
374
+ },
375
+ submissionButtonLabelSize() {
376
+ return this.submissionButtonLabel === 'LOGIN' ? 'smaller' : 'medium';
377
+ },
378
+ getSignUpText() {
379
+ if (this.isPartnerTheme) {
380
+ return SIGN_IN.SIGN_UP_TEXT[this.theme];
381
+ }
382
+ return this.signUpText;
383
+ },
384
+ getSignInAction() {
385
+ const params = new URLSearchParams();
386
+
387
+ params.set('locale', this.currentLocale);
388
+
389
+ if (this.$route?.query) {
390
+ Object.entries(this.$route.query).forEach(([key, value]) => {
391
+ if (key !== 'locale' && value != null) {
392
+ const paramValue = Array.isArray(value) ? value[0] : value;
393
+ params.set(key, paramValue);
394
+ }
395
+ });
396
+ }
397
+
398
+ return `/identity/account/signin?${params.toString()}`;
399
+ },
400
+ },
401
+ watch: {
402
+ capturePassword() {
403
+ this.clearErrorMessages();
404
+ },
405
+ initialUserName(newValue) {
406
+ if (newValue && newValue !== this.aUserName) {
407
+ this.aUserName = newValue;
408
+ }
409
+ }
410
+ },
411
+ methods: {
412
+ validate(e) {
413
+ this.clearErrorMessages();
414
+ if (!this.aUserName || !isValidEmail(this.aUserName)) {
415
+ this.userNameError = this.invalidUsernameErrorLabel;
416
+ e.preventDefault();
417
+ return false;
418
+ }
419
+
420
+ if (this.capturePassword && !this.password) {
421
+ this.passwordError = this.missingPasswordErrorLabel;
422
+ e.preventDefault();
423
+ return false;
424
+ }
425
+
426
+ if (this.aUserName && this.isModal) {
427
+ e.preventDefault();
428
+
429
+ if (this.capturePassword && this.password) {
430
+ this.$emit('sign-in-request-submitted', this.aUserName, this.password);
431
+ } else {
432
+ this.$emit('sign-in-request-submitted', this.aUserName);
433
+ }
434
+
435
+ return true;
436
+ }
437
+
438
+ if (this.aUserName && this.password) {
439
+ return true;
440
+ }
441
+
442
+ e.preventDefault();
443
+ return false;
444
+ },
445
+ forgotPasswordClick() {
446
+ if (this.onForgotPassword) {
447
+ this.onForgotPassword(this.aUserName);
448
+ return;
449
+ }
450
+ window.location.href = this.getForgotPasswordUrl;
451
+ },
452
+ clearErrorMessages() {
453
+ this.userNameError = undefined;
454
+ this.passwordError = undefined;
455
+ },
456
+ },
457
+ };
458
+ </script>
459
+ <style scoped>
460
+ .email-input {
461
+ background-image: url(https://dcstatic.com/images/icons/forms/forms-email-58207f9a5c.svg);
462
+ background-position: top 50% left 0.5rem;
463
+ }
464
+ .password-input {
465
+ background-image: url(https://dcstatic.com/images/icons/forms/forms-password-ff538cd5e4.svg);
466
+ background-position: top 50% left 0.5rem;
467
+ }
468
+
469
+ .tw-pl-10-important {
470
+ padding-left: 2.5rem !important;
471
+ }
472
+ </style>