@designcrowd/fe-shared-lib 1.4.7-ast-generate-ai-3 → 1.4.7-jj-2

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 (155) hide show
  1. package/.storybook-static/assets/Auth-CV5AmoX8.css +1 -0
  2. package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +490 -0
  3. package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +73 -0
  4. package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
  5. package/.storybook-static/assets/Button-DtVlr_q3.js +1 -0
  6. package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +1 -0
  7. package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +503 -0
  8. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
  9. package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +1 -0
  10. package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +761 -0
  11. package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +199 -0
  12. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
  13. package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +203 -0
  14. package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +88 -0
  15. package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +39 -0
  16. package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +73 -0
  17. package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +32 -0
  18. package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +159 -0
  19. package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +1 -0
  20. package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +1 -0
  21. package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +1 -0
  22. package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +64 -0
  23. package/.storybook-static/assets/HelloBar-z54fob0q.js +1 -0
  24. package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +342 -0
  25. package/.storybook-static/assets/Icon-8mZGP41G.js +144 -0
  26. package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +126 -0
  27. package/.storybook-static/assets/Icon.stories-D6ECVMta.js +751 -0
  28. package/.storybook-static/assets/Loader-D61Ki9P1.js +1 -0
  29. package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +1 -0
  30. package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +1 -0
  31. package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +36 -0
  32. package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
  33. package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +71 -0
  34. package/.storybook-static/assets/Modal-BQrpXSGA.js +1 -0
  35. package/.storybook-static/assets/Modal-BvVMN71n.css +1 -0
  36. package/.storybook-static/assets/Modal.stories-BycF7YL6.js +345 -0
  37. package/.storybook-static/assets/Notice.stories-BufkrC1b.js +222 -0
  38. package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
  39. package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +64 -0
  40. package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +1 -0
  41. package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +126 -0
  42. package/.storybook-static/assets/Picture-Cq76CaoK.js +1 -0
  43. package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +119 -0
  44. package/.storybook-static/assets/Pill-BsMeJhV9.js +1 -0
  45. package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +18 -0
  46. package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
  47. package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +41 -0
  48. package/.storybook-static/assets/Price-DKOwLeD0.js +1 -0
  49. package/.storybook-static/assets/Price.stories-DlqrNUWI.js +221 -0
  50. package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +1 -0
  51. package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +273 -0
  52. package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +12 -0
  53. package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
  54. package/.storybook-static/assets/Select.stories-BWINGxdY.js +108 -0
  55. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
  56. package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +1 -0
  57. package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +1 -0
  58. package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +71 -0
  59. package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +1 -0
  60. package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +1 -0
  61. package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +1 -0
  62. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +37 -0
  63. package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +36 -0
  64. package/.storybook-static/assets/SignIn-DNYeJu86.css +1 -0
  65. package/.storybook-static/assets/SignIn-Dt8OJr0J.js +1 -0
  66. package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
  67. package/.storybook-static/assets/Slider.stories-08DN2SFB.js +141 -0
  68. package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
  69. package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +45 -0
  70. package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +47 -0
  71. package/.storybook-static/assets/TextCopyField-B04vTGbG.js +1 -0
  72. package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +47 -0
  73. package/.storybook-static/assets/TextInput-JK1M0hv6.js +1 -0
  74. package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +233 -0
  75. package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +207 -0
  76. package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +161 -0
  77. package/.storybook-static/assets/Tooltip-DcSbUh5f.js +1 -0
  78. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
  79. package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +953 -0
  80. package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +9 -0
  81. package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +194 -0
  82. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
  83. package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +24 -0
  84. package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +55 -0
  85. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +79 -0
  86. package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
  87. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
  88. package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
  89. package/.storybook-static/assets/axe-nGVJxRof.js +30 -0
  90. package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +1 -0
  91. package/.storybook-static/assets/bundled-translations-BZ57czTo.js +1 -0
  92. package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +1 -0
  93. package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +1 -0
  94. package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +1 -0
  95. package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +1 -0
  96. package/.storybook-static/assets/carousel-CMMZ5MZ-.css +1 -0
  97. package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +374 -0
  98. package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
  99. package/.storybook-static/assets/iframe-C86bI_2U.js +1126 -0
  100. package/.storybook-static/assets/index-Bw-gCGc_.js +6 -0
  101. package/.storybook-static/assets/index-DhkYCT1V.js +29 -0
  102. package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
  103. package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
  104. package/.storybook-static/css/tailwind-brandCrowd.css +2404 -0
  105. package/.storybook-static/css/tailwind-brandPage.css +2088 -0
  106. package/.storybook-static/css/tailwind-crazyDomains.css +2404 -0
  107. package/.storybook-static/css/tailwind-designCom.css +2404 -0
  108. package/.storybook-static/css/tailwind-designCrowd.css +2404 -0
  109. package/.storybook-static/favicon.svg +1 -0
  110. package/.storybook-static/iframe.html +694 -0
  111. package/.storybook-static/index.html +156 -0
  112. package/.storybook-static/index.json +1 -0
  113. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  114. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  115. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  116. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  117. package/.storybook-static/project.json +1 -0
  118. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
  119. package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
  120. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
  121. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
  122. package/.storybook-static/sb-common-assets/favicon.svg +1 -0
  123. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  124. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  125. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  126. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  127. package/.storybook-static/sb-manager/globals-module-info.js +797 -0
  128. package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
  129. package/.storybook-static/sb-manager/globals.js +34 -0
  130. package/.storybook-static/sb-manager/runtime.js +13002 -0
  131. package/dist/css/tailwind-brandCrowd.css +3 -80
  132. package/dist/css/tailwind-brandPage.css +3 -76
  133. package/dist/css/tailwind-crazyDomains.css +3 -80
  134. package/dist/css/tailwind-designCom.css +3 -80
  135. package/dist/css/tailwind-designCrowd.css +3 -80
  136. package/package.json +1 -1
  137. package/public/css/tailwind-brandCrowd.css +0 -3
  138. package/public/css/tailwind-brandPage.css +0 -3
  139. package/public/css/tailwind-crazyDomains.css +0 -3
  140. package/public/css/tailwind-designCom.css +0 -3
  141. package/public/css/tailwind-designCrowd.css +0 -3
  142. package/src/atoms/components/Icon/Icon.stories.js +0 -2
  143. package/src/atoms/components/Icon/Icon.vue +0 -4
  144. package/src/atoms/components/SparkleIcon/SparkleIcon.stories.js +2 -2
  145. package/src/atoms/components/SparkleIcon/SparkleIcon.vue +36 -28
  146. package/src/atoms/components/SparkleIcon/assets/sparkle.svg +1 -1
  147. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +0 -29
  148. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +101 -297
  149. package/src/experiences/components/PublishBrandPageModal/views/InitialPublishView.vue +323 -0
  150. package/src/experiences/components/PublishBrandPageModal/views/PublishWhenHasDomainsView.vue +271 -0
  151. package/src/experiences/components/PublishBrandPageModal/views/PublishWhenNoDomainsView.vue +168 -0
  152. package/src/experiences/components/PublishBrandPageModal/views/PublishedView.vue +149 -0
  153. package/src/atoms/components/Icon/icons/send.vue +0 -12
  154. package/src/atoms/components/Icon/icons/stop.vue +0 -5
  155. package/src/atoms/components/SparkleIcon/sparkle-paths.ts +0 -53
@@ -0,0 +1,168 @@
1
+ <template>
2
+ <div :class="{ 'tw-mb-8': true }">
3
+ <div class="tw-mt-4">
4
+ <PublishBrandPageCard
5
+ :img-url="iconUrl"
6
+ :title="freePublishCardTitleLabel"
7
+ :description="freePublishCardDescriptionLabel"
8
+ :is-design-com="isDesignCom"
9
+ :has-search-button="false"
10
+ >
11
+ <template #slug>
12
+ <div class="tw-flex tw-flex-col md:tw-flex-row tw-justify-between">
13
+ <div class="tw-grow md:tw-mr-2">
14
+ <TextInput
15
+ v-model="internalSlug"
16
+ element-classes="tw-mb-0 !tw-rounded-l-none tw-text-md"
17
+ :prefix-text="`${brandPageBaseUrlWithoutHttps}/`"
18
+ :error="!!slugValidationError"
19
+ :disabled="isInputEnabled"
20
+ :placeholder="getPlaceHolder"
21
+ data-test-brand-page-slug-input
22
+ :attrs="{ 'data-test-set-url-text-field': '' }"
23
+ @input="onSlugChanged"
24
+ />
25
+ <div v-if="slugErrorMessage" class="tw-mt-2 tw-text-sm tw-text-left tw-text-error-500 tw-font-normal">
26
+ {{ slugErrorMessage }}
27
+ </div>
28
+ </div>
29
+ <Button
30
+ :label="publishLabel"
31
+ :disabled="isPublishingDisabled"
32
+ class="tw-flex tw-items-center tw-justify-center tw-mt-2 md:tw-mt-0 tw-font-bold tw-transition-colors tw-duration-300"
33
+ data-test-brand-page-publish-button
34
+ variant="primary"
35
+ size="small-medium"
36
+ :full-width="isMobile"
37
+ :class="{
38
+ 'tw-uppercase': !isDesignCom,
39
+ }"
40
+ @on-click="onPublish"
41
+ />
42
+ </div>
43
+ </template>
44
+ </PublishBrandPageCard>
45
+ </div>
46
+ <div class="tw-mt-4">
47
+ <slot name="recommended" />
48
+ </div>
49
+ </div>
50
+ </template>
51
+ <script>
52
+ import PublishBrandPageCard from '../PublishBrandPageCard.vue';
53
+ import TextInput from '../../../../atoms/components/TextInput/TextInput.vue';
54
+ import Button from '../../../../atoms/components/Button/Button.vue';
55
+ import mediaQueryMixin from '../../../mixins/mediaQueryMixin';
56
+ import { publishBrandPageModalTr } from '../../../../useSharedLibTranslate';
57
+
58
+ const DCOM_IMG_FREE = 'https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/dcom-free-url.svg';
59
+ const BC_IMG_FREE = 'https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/bc-free-url.svg';
60
+
61
+ export default {
62
+ components: {
63
+ TextInput,
64
+ Button,
65
+ PublishBrandPageCard,
66
+ },
67
+ mixins: [mediaQueryMixin],
68
+ props: {
69
+ brandPageBaseUrl: {
70
+ type: String,
71
+ required: true,
72
+ default: undefined,
73
+ },
74
+ brandPageSlug: {
75
+ type: String,
76
+ required: true,
77
+ default: undefined,
78
+ },
79
+ slugValidationError: {
80
+ type: String,
81
+ required: true,
82
+ default: undefined,
83
+ },
84
+ errorMessage: {
85
+ type: String,
86
+ required: false,
87
+ default: undefined,
88
+ },
89
+ publishErrorMessage: {
90
+ type: String,
91
+ required: false,
92
+ default: undefined,
93
+ },
94
+ isPublishing: {
95
+ type: Boolean,
96
+ required: true,
97
+ default: false,
98
+ },
99
+ isDesignCom: {
100
+ type: Boolean,
101
+ required: true,
102
+ default: false,
103
+ },
104
+ brandPageType: {
105
+ type: String,
106
+ required: true,
107
+ default: '',
108
+ },
109
+ },
110
+ emits: ['internal-publish-brand-page', 'on-slug-changed'],
111
+ setup() {
112
+ return {
113
+ publishBrandPageModalTr,
114
+ freePublishCardTitleLabel: publishBrandPageModalTr('freePublishCardTitleLabel'),
115
+ freePublishCardDescriptionLabel: publishBrandPageModalTr('freePublishCardDescriptionLabel'),
116
+ slugInputPlaceholderYourNameLabel: publishBrandPageModalTr('slugInputPlaceholderYourNameLabel'),
117
+ slugInputPlaceholderYourBusinessNameLabel: publishBrandPageModalTr('slugInputPlaceholderYourBusinessNameLabel'),
118
+ publishLabel: publishBrandPageModalTr('publishLabel'),
119
+ };
120
+ },
121
+ data() {
122
+ return {
123
+ internalSlug: this.brandPageSlug,
124
+ };
125
+ },
126
+ computed: {
127
+ brandPageBaseUrlWithoutHttps() {
128
+ return this.brandPageBaseUrl.replace('https://', '');
129
+ },
130
+ allowPublish() {
131
+ return this.internalSlug && !this.slugValidationError;
132
+ },
133
+ slugErrorMessage() {
134
+ return this.slugValidationError ? this.slugValidationError : this.publishErrorMessage;
135
+ },
136
+ iconUrl() {
137
+ return this.isDesignCom ? DCOM_IMG_FREE : BC_IMG_FREE;
138
+ },
139
+ isInputEnabled() {
140
+ return this.isPublishing;
141
+ },
142
+ isPublishingDisabled() {
143
+ return !this.allowPublish || this.isPublishing;
144
+ },
145
+ getPlaceHolder() {
146
+ return this.brandPageType === 'brandContact'
147
+ ? this.slugInputPlaceholderYourNameLabel
148
+ : this.slugInputPlaceholderYourBusinessNameLabel;
149
+ },
150
+ },
151
+ watch: {
152
+ brandPageSlug(slug) {
153
+ this.internalSlug = slug;
154
+ },
155
+ },
156
+ mounted() {
157
+ this.internalSlug = this.brandPageSlug;
158
+ },
159
+ methods: {
160
+ onSlugChanged(e) {
161
+ this.$emit('on-slug-changed', e);
162
+ },
163
+ onPublish() {
164
+ this.$emit('internal-publish-brand-page', this.internalSlug);
165
+ },
166
+ },
167
+ };
168
+ </script>
@@ -0,0 +1,149 @@
1
+ <template>
2
+ <div class="tw-font-sans">
3
+ <div v-if="!showUpsellRotationContainer" class="tw-mb-6 tw-text-left">
4
+ <div class="tw-mb-6">
5
+ <SellDomainNameSearchWithResults
6
+ :is-design-com="isDesignCom"
7
+ :initial-search-term="searchText"
8
+ :currency="userCurrency"
9
+ :display-result-limit="4"
10
+ :domain-search-location="sitePublishedModal"
11
+ show-view-more-button
12
+ @on-change-search="onSearchTextChanged"
13
+ @on-buy-now-click="onBuyNowClick"
14
+ @on-view-more="onViewMore"
15
+ />
16
+ </div>
17
+ </div>
18
+ <div class="tw-px-4 tw-text-center" :class="{ 'lg:tw-px-20': hasPurchasedDomains }">
19
+ <TextCopyField
20
+ button-variant="secondary"
21
+ :text="brandPageUrl"
22
+ :default-copy-button-text="copyLabel"
23
+ :copied-button-text="copySuccessLabel"
24
+ data-test-brand-page-copy-input
25
+ @on-click="onCopyUrlClick"
26
+ />
27
+ <Button
28
+ :label="viewMyWebsiteLabel"
29
+ :variant="isDesignCom ? 'primary' : 'primary-with-icon'"
30
+ icon="chevron-right-wide"
31
+ size="medium"
32
+ icon-view-box="0 0 24 24"
33
+ class="tw-my-4"
34
+ target="_blank"
35
+ rel="noopener noreferrer"
36
+ :url="brandPageUrl"
37
+ :full-width="isMobile"
38
+ @on-click="onBrandPageUrlClick"
39
+ />
40
+ </div>
41
+ <div v-if="showUpsellRotationContainer" class="tw-border-t tw-border-solid tw-border-grayscale-500 tw-p-5">
42
+ <slot name="upsellContainer" />
43
+ </div>
44
+ </div>
45
+ </template>
46
+ <script>
47
+ import Button from '../../../../atoms/components/Button/Button.vue';
48
+ import TextCopyField from '../../../../atoms/components/TextCopyField/TextCopyField.vue';
49
+
50
+ import SellDomainNameSearchWithResults from '../../SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue';
51
+ import { sitePublishedModal } from '../../../constants/event-constants';
52
+ import mediaQueryMixin from '../../../mixins/mediaQueryMixin';
53
+ import { publishBrandPageModalTr } from '../../../../useSharedLibTranslate';
54
+
55
+ export default {
56
+ components: {
57
+ Button,
58
+ TextCopyField,
59
+ SellDomainNameSearchWithResults,
60
+ },
61
+ mixins: [mediaQueryMixin],
62
+ props: {
63
+ brandPageUrl: {
64
+ type: String,
65
+ required: true,
66
+ default: undefined,
67
+ },
68
+ isDesignCom: {
69
+ type: Boolean,
70
+ required: true,
71
+ default: false,
72
+ },
73
+ showUpsellRotation: {
74
+ type: Boolean,
75
+ required: true,
76
+ default: false,
77
+ },
78
+ isSubsequentPublish: {
79
+ type: Boolean,
80
+ required: true,
81
+ default: false,
82
+ },
83
+ searchText: {
84
+ type: String,
85
+ required: false,
86
+ default: '',
87
+ },
88
+ brandPageDisplayName: {
89
+ type: String,
90
+ required: true,
91
+ default: undefined,
92
+ },
93
+ hasPurchasedDomains: {
94
+ type: Boolean,
95
+ required: true,
96
+ default: false,
97
+ },
98
+ showUpsellRotationContainer: {
99
+ type: Boolean,
100
+ required: true,
101
+ default: false,
102
+ },
103
+ userCurrency: {
104
+ type: String,
105
+ required: true,
106
+ default: undefined,
107
+ },
108
+ },
109
+ emits: [
110
+ 'copy-url-clicked',
111
+ 'on-brand-page-url-click',
112
+ 'on-view-more-domains',
113
+ 'on-buy-now-clicked',
114
+ 'on-search-text-changed',
115
+ ],
116
+ setup() {
117
+ return {
118
+ sitePublishedModal,
119
+ publishBrandPageModalTr,
120
+ copyLabel: publishBrandPageModalTr('copyLabel'),
121
+ copySuccessLabel: publishBrandPageModalTr('copySuccessLabel'),
122
+ };
123
+ },
124
+ computed: {
125
+ viewMyWebsiteLabel() {
126
+ return this.publishBrandPageModalTr('viewMyWebsiteLabel', {
127
+ brandPageDisplayName: this.brandPageDisplayName,
128
+ });
129
+ },
130
+ },
131
+ methods: {
132
+ onCopyUrlClick() {
133
+ this.$emit('copy-url-clicked');
134
+ },
135
+ onBrandPageUrlClick() {
136
+ this.$emit('on-brand-page-url-click');
137
+ },
138
+ onViewMore() {
139
+ this.$emit('on-view-more-domains');
140
+ },
141
+ onSearchTextChanged(val) {
142
+ this.$emit('on-search-text-changed', val);
143
+ },
144
+ onBuyNowClick() {
145
+ this.$emit('on-buy-now-clicked');
146
+ },
147
+ },
148
+ };
149
+ </script>
@@ -1,12 +0,0 @@
1
- <template>
2
- <g clip-path="url(#clip0_3927_472)">
3
- <path
4
- d="M10.34 15.818L7.22803 8.837L0.228027 5.731L14.514 0.744002C14.526 0.740002 14.537 0.738002 14.548 0.733002L15.783 0.302002L15.351 1.535C15.347 1.545 15.343 1.557 15.34 1.567L10.34 15.818ZM3.69403 5.874L7.57003 7.595L12.31 2.864L3.69403 5.874ZM10.197 12.36L13.215 3.766L8.47303 8.496L10.197 12.36Z"
5
- />
6
- </g>
7
- <defs>
8
- <clipPath id="clip0_3927_472">
9
- <rect width="16" height="16" fill="white" />
10
- </clipPath>
11
- </defs>
12
- </template>
@@ -1,5 +0,0 @@
1
- <template>
2
- <path
3
- d="M11.9286 3C12.2262 3 12.4792 3.10417 12.6875 3.3125C12.8958 3.52083 13 3.77381 13 4.07143V11.9286C13 12.2262 12.8958 12.4792 12.6875 12.6875C12.4792 12.8958 12.2262 13 11.9286 13H4.07143C3.77381 13 3.52083 12.8958 3.3125 12.6875C3.10417 12.4792 3 12.2262 3 11.9286V4.07143C3 3.77381 3.10417 3.52083 3.3125 3.3125C3.52083 3.10417 3.77381 3 4.07143 3H11.9286Z"
4
- />
5
- </template>
@@ -1,53 +0,0 @@
1
- // SVG path data for sparkle icon animation frames
2
- // Each frame contains 3 paths representing the sparkle star shapes
3
-
4
- export const SPARKLE_PATHS = [
5
- // Frame 1
6
- [
7
- 'M12.5 10C12.5 9.80469 12.4121 9.6582 12.2363 9.56055L8.95508 7.91992L7.28516 4.60938C7.20703 4.45312 7.07031 4.375 6.875 4.375C6.67969 4.375 6.54297 4.45312 6.46484 4.60938L4.79492 7.91992L1.51367 9.56055C1.33789 9.6582 1.25 9.80469 1.25 10C1.25 10.1953 1.33789 10.332 1.51367 10.4102L4.79492 12.0508L6.46484 15.3613C6.54297 15.5371 6.67969 15.625 6.875 15.625C7.07031 15.625 7.20703 15.5371 7.28516 15.3613L8.95508 12.0508L12.2363 10.4102C12.4121 10.332 12.5 10.1953 12.5 10Z',
8
- 'M11.5625 5.3125C11.5625 5.3776 11.5885 5.42318 11.6406 5.44922L12.8125 5.9375L13.3008 7.10938C13.3268 7.16146 13.3724 7.1875 13.4375 7.1875C13.5026 7.1875 13.5482 7.16146 13.5742 7.10938L14.0625 5.9375L15.2344 5.44922C15.2865 5.42318 15.3125 5.3776 15.3125 5.3125C15.3125 5.2474 15.2865 5.20182 15.2344 5.17578L14.0625 4.6875L13.5742 3.51562C13.5482 3.46354 13.5026 3.4375 13.4375 3.4375C13.3724 3.4375 13.3268 3.46354 13.3008 3.51562L12.8125 4.6875L11.6406 5.17578C11.5885 5.20182 11.5625 5.2474 11.5625 5.3125Z',
9
- 'M15.3125 14.6875C15.3125 14.6224 15.2865 14.5768 15.2344 14.5508L14.0625 14.0625L13.5742 12.8906C13.5482 12.8385 13.5026 12.8125 13.4375 12.8125C13.3724 12.8125 13.3268 12.8385 13.3008 12.8906L12.8125 14.0625L11.6406 14.5508C11.5885 14.5768 11.5625 14.6224 11.5625 14.6875C11.5625 14.7526 11.5885 14.7982 11.6406 14.8242L12.8125 15.3125L13.3008 16.4844C13.3268 16.5365 13.3724 16.5625 13.4375 16.5625C13.5026 16.5625 13.5482 16.5365 13.5742 16.4844L14.0625 15.3125L15.2344 14.8242C15.2865 14.7982 15.3125 14.7526 15.3125 14.6875Z',
10
- ],
11
- // Frame 2
12
- [
13
- 'M13.125 10C13.125 9.78299 13.0273 9.62023 12.832 9.51172L9.1862 7.6888L7.33073 4.01042C7.24392 3.83681 7.09201 3.75 6.875 3.75C6.65799 3.75 6.50608 3.83681 6.41927 4.01042L4.5638 7.6888L0.917969 9.51172C0.722656 9.62023 0.625 9.78299 0.625 10C0.625 10.217 0.722656 10.3689 0.917969 10.4557L4.5638 12.2786L6.41927 15.957C6.50608 16.1523 6.65799 16.25 6.875 16.25C7.09201 16.25 7.24392 16.1523 7.33073 15.957L9.1862 12.2786L12.832 10.4557C13.0273 10.3689 13.125 10.217 13.125 10Z',
14
- 'M12.5 5.3125C12.5 5.34505 12.513 5.36784 12.5391 5.38086L13.125 5.625L13.3691 6.21094C13.3822 6.23698 13.4049 6.25 13.4375 6.25C13.4701 6.25 13.4928 6.23698 13.5059 6.21094L13.75 5.625L14.3359 5.38086C14.362 5.36784 14.375 5.34505 14.375 5.3125C14.375 5.27995 14.362 5.25716 14.3359 5.24414L13.75 5L13.5059 4.41406C13.4928 4.38802 13.4701 4.375 13.4375 4.375C13.4049 4.375 13.3822 4.38802 13.3691 4.41406L13.125 5L12.5391 5.24414C12.513 5.25716 12.5 5.27995 12.5 5.3125Z',
15
- 'M14.375 14.6875C14.375 14.6549 14.362 14.6322 14.3359 14.6191L13.75 14.375L13.5059 13.7891C13.4928 13.763 13.4701 13.75 13.4375 13.75C13.4049 13.75 13.3822 13.763 13.3691 13.7891L13.125 14.375L12.5391 14.6191C12.513 14.6322 12.5 14.6549 12.5 14.6875C12.5 14.7201 12.513 14.7428 12.5391 14.7559L13.125 15L13.3691 15.5859C13.3822 15.612 13.4049 15.625 13.4375 15.625C13.4701 15.625 13.4928 15.612 13.5059 15.5859L13.75 15L14.3359 14.7559C14.362 14.7428 14.375 14.7201 14.375 14.6875Z',
16
- ],
17
- // Frame 3
18
- [
19
- 'M12.5 10C12.5 9.80469 12.4121 9.6582 12.2363 9.56055L8.95508 7.91992L7.28516 4.60938C7.20703 4.45312 7.07031 4.375 6.875 4.375C6.67969 4.375 6.54297 4.45312 6.46484 4.60938L4.79492 7.91992L1.51367 9.56055C1.33789 9.6582 1.25 9.80469 1.25 10C1.25 10.1953 1.33789 10.332 1.51367 10.4102L4.79492 12.0508L6.46484 15.3613C6.54297 15.5371 6.67969 15.625 6.875 15.625C7.07031 15.625 7.20703 15.5371 7.28516 15.3613L8.95508 12.0508L12.2363 10.4102C12.4121 10.332 12.5 10.1953 12.5 10Z',
20
- 'M11.5625 5.3125C11.5625 5.3776 11.5885 5.42318 11.6406 5.44922L12.8125 5.9375L13.3008 7.10938C13.3268 7.16146 13.3724 7.1875 13.4375 7.1875C13.5026 7.1875 13.5482 7.16146 13.5742 7.10938L14.0625 5.9375L15.2344 5.44922C15.2865 5.42318 15.3125 5.3776 15.3125 5.3125C15.3125 5.2474 15.2865 5.20182 15.2344 5.17578L14.0625 4.6875L13.5742 3.51562C13.5482 3.46354 13.5026 3.4375 13.4375 3.4375C13.3724 3.4375 13.3268 3.46354 13.3008 3.51562L12.8125 4.6875L11.6406 5.17578C11.5885 5.20182 11.5625 5.2474 11.5625 5.3125Z',
21
- 'M15.3125 14.6875C15.3125 14.6224 15.2865 14.5768 15.2344 14.5508L14.0625 14.0625L13.5742 12.8906C13.5482 12.8385 13.5026 12.8125 13.4375 12.8125C13.3724 12.8125 13.3268 12.8385 13.3008 12.8906L12.8125 14.0625L11.6406 14.5508C11.5885 14.5768 11.5625 14.6224 11.5625 14.6875C11.5625 14.7526 11.5885 14.7982 11.6406 14.8242L12.8125 15.3125L13.3008 16.4844C13.3268 16.5365 13.3724 16.5625 13.4375 16.5625C13.5026 16.5625 13.5482 16.5365 13.5742 16.4844L14.0625 15.3125L15.2344 14.8242C15.2865 14.7982 15.3125 14.7526 15.3125 14.6875Z',
22
- ],
23
- // Frame 4
24
- [
25
- 'M11.5625 10C11.5625 9.83724 11.4893 9.71517 11.3428 9.63379L8.6084 8.2666L7.2168 5.50781C7.15169 5.3776 7.03776 5.3125 6.875 5.3125C6.71224 5.3125 6.59831 5.3776 6.5332 5.50781L5.1416 8.2666L2.40723 9.63379C2.26074 9.71517 2.1875 9.83724 2.1875 10C2.1875 10.1628 2.26074 10.2767 2.40723 10.3418L5.1416 11.709L6.5332 14.4678C6.59831 14.6143 6.71224 14.6875 6.875 14.6875C7.03776 14.6875 7.15169 14.6143 7.2168 14.4678L8.6084 11.709L11.3428 10.3418C11.4893 10.2767 11.5625 10.1628 11.5625 10Z',
26
- 'M10.625 5.3125C10.625 5.41016 10.6641 5.47852 10.7422 5.51758L12.5 6.25L13.2324 8.00781C13.2715 8.08594 13.3398 8.125 13.4375 8.125C13.5352 8.125 13.6035 8.08594 13.6426 8.00781L14.375 6.25L16.1328 5.51758C16.2109 5.47852 16.25 5.41016 16.25 5.3125C16.25 5.21484 16.2109 5.14648 16.1328 5.10742L14.375 4.375L13.6426 2.61719C13.6035 2.53906 13.5352 2.5 13.4375 2.5C13.3398 2.5 13.2715 2.53906 13.2324 2.61719L12.5 4.375L10.7422 5.10742C10.6641 5.14648 10.625 5.21484 10.625 5.3125Z',
27
- 'M16.25 14.6875C16.25 14.5898 16.2109 14.5215 16.1328 14.4824L14.375 13.75L13.6426 11.9922C13.6035 11.9141 13.5352 11.875 13.4375 11.875C13.3398 11.875 13.2715 11.9141 13.2324 11.9922L12.5 13.75L10.7422 14.4824C10.6641 14.5215 10.625 14.5898 10.625 14.6875C10.625 14.7852 10.6641 14.8535 10.7422 14.8926L12.5 15.625L13.2324 17.3828C13.2715 17.4609 13.3398 17.5 13.4375 17.5C13.5352 17.5 13.6035 17.4609 13.6426 17.3828L14.375 15.625L16.1328 14.8926C16.2109 14.8535 16.25 14.7852 16.25 14.6875Z',
28
- ],
29
- // Frame 5
30
- [
31
- 'M10 10C10 9.89149 9.95117 9.81011 9.85352 9.75586L8.0306 8.8444L7.10286 7.00521C7.05946 6.9184 6.98351 6.875 6.875 6.875C6.76649 6.875 6.69054 6.9184 6.64714 7.00521L5.7194 8.8444L3.89648 9.75586C3.79883 9.81011 3.75 9.89149 3.75 10C3.75 10.1085 3.79883 10.1845 3.89648 10.2279L5.7194 11.1393L6.64714 12.9785C6.69054 13.0762 6.76649 13.125 6.875 13.125C6.98351 13.125 7.05946 13.0762 7.10286 12.9785L8.0306 11.1393L9.85352 10.2279C9.95117 10.1845 10 10.1085 10 10Z',
32
- 'M10 5.3125C10 5.43186 10.0477 5.51541 10.1432 5.56315L12.2917 6.45833L13.1868 8.60677C13.2346 8.70226 13.3181 8.75 13.4375 8.75C13.5569 8.75 13.6404 8.70226 13.6882 8.60677L14.5833 6.45833L16.7318 5.56315C16.8273 5.51541 16.875 5.43186 16.875 5.3125C16.875 5.19314 16.8273 5.10959 16.7318 5.06185L14.5833 4.16667L13.6882 2.01823C13.6404 1.92274 13.5569 1.875 13.4375 1.875C13.3181 1.875 13.2346 1.92274 13.1868 2.01823L12.2917 4.16667L10.1432 5.06185C10.0477 5.10959 10 5.19314 10 5.3125Z',
33
- 'M16.875 14.6875C16.875 14.5681 16.8273 14.4846 16.7318 14.4368L14.5833 13.5417L13.6882 11.3932C13.6404 11.2977 13.5569 11.25 13.4375 11.25C13.3181 11.25 13.2346 11.2977 13.1868 11.3932L12.2917 13.5417L10.1432 14.4368C10.0477 14.4846 10 14.5681 10 14.6875C10 14.8069 10.0477 14.8904 10.1432 14.9382L12.2917 15.8333L13.1868 17.9818C13.2346 18.0773 13.3181 18.125 13.4375 18.125C13.5569 18.125 13.6404 18.0773 13.6882 17.9818L14.5833 15.8333L16.7318 14.9382C16.8273 14.8904 16.875 14.8069 16.875 14.6875Z',
34
- ],
35
- // Frame 6
36
- [
37
- 'M9.0625 10C9.0625 9.92405 9.02832 9.86708 8.95996 9.8291L7.68392 9.19108L7.03451 7.90365C7.00412 7.84288 6.95095 7.8125 6.875 7.8125C6.79905 7.8125 6.74588 7.84288 6.71549 7.90365L6.06608 9.19108L4.79004 9.8291C4.72168 9.86708 4.6875 9.92405 4.6875 10C4.6875 10.076 4.72168 10.1291 4.79004 10.1595L6.06608 10.7975L6.71549 12.085C6.74588 12.1533 6.95095 12.1875 6.875 12.1875C6.95095 12.1875 7.00412 12.1533 7.03451 12.085L7.68392 10.7975L8.95996 10.1595C9.02832 10.1291 9.0625 10.076 9.0625 10Z',
38
- 'M9.0625 5.3125C9.0625 5.46441 9.12326 5.57075 9.24479 5.63151L11.9792 6.77083L13.1185 9.50521C13.1793 9.62674 13.2856 9.6875 13.4375 9.6875C13.5894 9.6875 13.6957 9.62674 13.7565 9.50521L14.8958 6.77083L17.6302 5.63151C17.7517 5.57075 17.8125 5.46441 17.8125 5.3125C17.8125 5.16059 17.7517 5.05425 17.6302 4.99349L14.8958 3.85417L13.7565 1.11979C13.6957 0.998264 13.5894 0.9375 13.4375 0.9375C13.2856 0.9375 13.1793 0.998264 13.1185 1.11979L11.9792 3.85417L9.24479 4.99349C9.12326 5.05425 9.0625 5.16059 9.0625 5.3125Z',
39
- 'M17.8125 14.6875C17.8125 14.5356 17.7517 14.4293 17.6302 14.3685L14.8958 13.2292L13.7565 10.4948C13.6957 10.3733 13.5894 10.3125 13.4375 10.3125C13.2856 10.3125 13.1793 10.3733 13.1185 10.4948L11.9792 13.2292L9.24479 14.3685C9.12326 14.4293 9.0625 14.5356 9.0625 14.6875C9.0625 14.8394 9.12326 14.9457 9.24479 15.0065L11.9792 16.1458L13.1185 18.8802C13.1793 19.0017 13.2856 19.0625 13.4375 19.0625C13.5894 19.0625 13.6957 19.0017 13.7565 18.8802L14.8958 16.1458L17.6302 15.0065C17.7517 14.9457 17.8125 14.8394 17.8125 14.6875Z',
40
- ],
41
- // Frame 7
42
- [
43
- 'M10 10C10 9.89149 9.95117 9.81011 9.85352 9.75586L8.0306 8.8444L7.10286 7.00521C7.05946 6.9184 6.98351 6.875 6.875 6.875C6.76649 6.875 6.69054 6.9184 6.64714 7.00521L5.7194 8.8444L3.89648 9.75586C3.79883 9.81011 3.75 9.89149 3.75 10C3.75 10.1085 3.79883 10.1845 3.89648 10.2279L5.7194 11.1393L6.64714 12.9785C6.69054 13.0762 6.76649 13.125 6.875 13.125C6.98351 13.125 7.05946 13.0762 7.10286 12.9785L8.0306 11.1393L9.85352 10.2279C9.95117 10.1845 10 10.1085 10 10Z',
44
- 'M10 5.3125C10 5.43186 10.0477 5.51541 10.1432 5.56315L12.2917 6.45833L13.1868 8.60677C13.2346 8.70226 13.3181 8.75 13.4375 8.75C13.5569 8.75 13.6404 8.70226 13.6882 8.60677L14.5833 6.45833L16.7318 5.56315C16.8273 5.51541 16.875 5.43186 16.875 5.3125C16.875 5.19314 16.8273 5.10959 16.7318 5.06185L14.5833 4.16667L13.6882 2.01823C13.6404 1.92274 13.5569 1.875 13.4375 1.875C13.3181 1.875 13.2346 1.92274 13.1868 2.01823L12.2917 4.16667L10.1432 5.06185C10.0477 5.10959 10 5.19314 10 5.3125Z',
45
- 'M16.875 14.6875C16.875 14.5681 16.8273 14.4846 16.7318 14.4368L14.5833 13.5417L13.6882 11.3932C13.6404 11.2977 13.5569 11.25 13.4375 11.25C13.3181 11.25 13.2346 11.2977 13.1868 11.3932L12.2917 13.5417L10.1432 14.4368C10.0477 14.4846 10 14.5681 10 14.6875C10 14.8069 10.0477 14.8904 10.1432 14.9382L12.2917 15.8333L13.1868 17.9818C13.2346 18.0773 13.3181 18.125 13.4375 18.125C13.5569 18.125 13.6404 18.0773 13.6882 17.9818L14.5833 15.8333L16.7318 14.9382C16.8273 14.8904 16.875 14.8069 16.875 14.6875Z',
46
- ],
47
- // Frame 8
48
- [
49
- 'M11.5625 10C11.5625 9.83724 11.4893 9.71517 11.3428 9.63379L8.6084 8.2666L7.2168 5.50781C7.15169 5.3776 7.03776 5.3125 6.875 5.3125C6.71224 5.3125 6.59831 5.3776 6.5332 5.50781L5.1416 8.2666L2.40723 9.63379C2.26074 9.71517 2.1875 9.83724 2.1875 10C2.1875 10.1628 2.26074 10.2767 2.40723 10.3418L5.1416 11.709L6.5332 14.4678C6.59831 14.6143 6.71224 14.6875 6.875 14.6875C7.03776 14.6875 7.15169 14.6143 7.2168 14.4678L8.6084 11.709L11.3428 10.3418C11.4893 10.2767 11.5625 10.1628 11.5625 10Z',
50
- 'M10.625 5.3125C10.625 5.41016 10.6641 5.47852 10.7422 5.51758L12.5 6.25L13.2324 8.00781C13.2715 8.08594 13.3398 8.125 13.4375 8.125C13.5352 8.125 13.6035 8.08594 13.6426 8.00781L14.375 6.25L16.1328 5.51758C16.2109 5.47852 16.25 5.41016 16.25 5.3125C16.25 5.21484 16.2109 5.14648 16.1328 5.10742L14.375 4.375L13.6426 2.61719C13.6035 2.53906 13.5352 2.5 13.4375 2.5C13.3398 2.5 13.2715 2.53906 13.2324 2.61719L12.5 4.375L10.7422 5.10742C10.6641 5.14648 10.625 5.21484 10.625 5.3125Z',
51
- 'M16.25 14.6875C16.25 14.5898 16.2109 14.5215 16.1328 14.4824L14.375 13.75L13.6426 11.9922C13.6035 11.9141 13.5352 11.875 13.4375 11.875C13.3398 11.875 13.2715 11.9141 13.2324 11.9922L12.5 13.75L10.7422 14.4824C10.6641 14.5215 10.625 14.5898 10.625 14.6875C10.625 14.7852 10.6641 14.8535 10.7422 14.8926L12.5 15.625L13.2324 17.3828C13.2715 17.4609 13.3398 17.5 13.4375 17.5C13.5352 17.5 13.6035 17.4609 13.6426 17.3828L14.375 15.625L16.1328 14.8926C16.2109 14.8535 16.25 14.7852 16.25 14.6875Z',
52
- ],
53
- ] as const;