@designcrowd/fe-shared-lib 1.4.7-jj-1 → 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.
package/package.json
CHANGED
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
:is-publishing="isPublishing"
|
|
41
41
|
:is-design-com="isDesignCom"
|
|
42
42
|
:brand-page-type="brandPageType"
|
|
43
|
+
@on-slug-changed="onSlugChanged"
|
|
44
|
+
@internal-publish-brand-page="onInternalPublishBrandPage"
|
|
43
45
|
>
|
|
44
46
|
<template #recommended>
|
|
45
47
|
<slot name="recommended" />
|
|
@@ -58,6 +60,11 @@
|
|
|
58
60
|
:is-publishing="isPublishing"
|
|
59
61
|
:is-design-com="isDesignCom"
|
|
60
62
|
:brand-page-type="brandPageType"
|
|
63
|
+
@close-modal="onCloseModal"
|
|
64
|
+
@on-slug-changed="onSlugChanged"
|
|
65
|
+
@radio-button-changed="onRadioButtonChanged"
|
|
66
|
+
@on-select-domain="onSelectDomain"
|
|
67
|
+
@internal-publish-brand-page="onInternalPublishBrandPage"
|
|
61
68
|
/>
|
|
62
69
|
<!-- <InitialPublishView
|
|
63
70
|
v-if="isNotPublished || isSlugEditMode"
|
|
@@ -89,10 +96,10 @@
|
|
|
89
96
|
:has-purchased-domain="hasPurchasedDomains"
|
|
90
97
|
:show-upsell-rotation-container="showUpsellRotationContainer"
|
|
91
98
|
:user-currency="userCurrency"
|
|
92
|
-
@copy-url-clicked="
|
|
93
|
-
@on-brand-page-url-click="
|
|
99
|
+
@copy-url-clicked="onCopyUrlClick"
|
|
100
|
+
@on-brand-page-url-click="onBrandPageUrlClick"
|
|
94
101
|
@on-view-more-domains="onViewMore"
|
|
95
|
-
@on-buy-now-clicked="
|
|
102
|
+
@on-buy-now-clicked="onBuyNowClick"
|
|
96
103
|
@on-search-text-changed="onSearchTextChanged"
|
|
97
104
|
/>
|
|
98
105
|
</template>
|
|
@@ -378,6 +385,27 @@ export default {
|
|
|
378
385
|
onSellDomainNameListCloseModal() {
|
|
379
386
|
this.$emit('on-hide-domain-modal');
|
|
380
387
|
},
|
|
388
|
+
onSlugChanged(e) {
|
|
389
|
+
this.$emit('on-slug-changed', e);
|
|
390
|
+
},
|
|
391
|
+
onInternalPublishBrandPage(slug, customdomain) {
|
|
392
|
+
this.$emit('internal-publish-brand-page', slug, customdomain);
|
|
393
|
+
},
|
|
394
|
+
onRadioButtonChanged(domain) {
|
|
395
|
+
this.$emit('radio-button-changed', domain);
|
|
396
|
+
},
|
|
397
|
+
onSelectDomain(newVal) {
|
|
398
|
+
this.$emit('on-select-domain', newVal);
|
|
399
|
+
},
|
|
400
|
+
onCopyUrlClick(newVal) {
|
|
401
|
+
this.$emit('copy-url-clicked', newVal);
|
|
402
|
+
},
|
|
403
|
+
onBrandPageUrlClick(newVal) {
|
|
404
|
+
this.$emit('on-brand-page-url-click', newVal);
|
|
405
|
+
},
|
|
406
|
+
onBuyNow(newVal) {
|
|
407
|
+
this.$emit('on-buy-now-clicked', newVal);
|
|
408
|
+
},
|
|
381
409
|
async searchDomainName(isUserTriggered) {
|
|
382
410
|
this.isLoading = true;
|
|
383
411
|
let searchSlug = '';
|