@designcrowd/fe-shared-lib 1.2.26-ast-upsell-3 → 1.2.26-ast-upsell-4
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
|
@@ -162,6 +162,8 @@ export const PublishedNoDomains = () => {
|
|
|
162
162
|
is-published
|
|
163
163
|
should-publish
|
|
164
164
|
:domains="domains"
|
|
165
|
+
show-upsell-rotation
|
|
166
|
+
:is-subsequent-publish="false"
|
|
165
167
|
brand-page-display-name='Website'
|
|
166
168
|
brand-page-slug='test-slug'
|
|
167
169
|
brand-page-base-url="https://brand.site"
|
|
@@ -420,6 +420,11 @@ export default {
|
|
|
420
420
|
required: true,
|
|
421
421
|
default: false,
|
|
422
422
|
},
|
|
423
|
+
isSubsequentPublish: {
|
|
424
|
+
type: Boolean,
|
|
425
|
+
required: true,
|
|
426
|
+
default: false,
|
|
427
|
+
},
|
|
423
428
|
},
|
|
424
429
|
emits: [
|
|
425
430
|
'close-modal',
|
|
@@ -519,7 +524,7 @@ export default {
|
|
|
519
524
|
: this.slugInputPlaceholderYourBusinessNameLabel;
|
|
520
525
|
},
|
|
521
526
|
showUpsellRotationContainer() {
|
|
522
|
-
if (this.
|
|
527
|
+
if (!this.isSubsequentPublish) {
|
|
523
528
|
return false;
|
|
524
529
|
}
|
|
525
530
|
return this.showUpsellRotation && !this.isCustomDomainActive && !this.hasPurchasedDomains;
|
|
@@ -7,10 +7,10 @@ const relativePathsToTranslationFiles = {
|
|
|
7
7
|
'en-US': () => import('./bundles/bundled-translations.json'),
|
|
8
8
|
'de-DE': () => import('./bundles/bundled-translations.de-DE.json'),
|
|
9
9
|
'fr-FR': () => import('./bundles/bundled-translations.fr-FR.json'),
|
|
10
|
-
'fr-CA': () => import('./bundles/bundled-translations.fr-CA.json'),
|
|
10
|
+
// 'fr-CA': () => import('./bundles/bundled-translations.fr-CA.json'),
|
|
11
11
|
'es-ES': () => import('./bundles/bundled-translations.es-ES.json'),
|
|
12
12
|
'pt-PT': () => import('./bundles/bundled-translations.pt-PT.json'),
|
|
13
|
-
'pt-BR': () => import('./bundles/bundled-translations.pt-BR.json'),
|
|
13
|
+
// 'pt-BR': () => import('./bundles/bundled-translations.pt-BR.json'),
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
const setSharedLibLocaleAsync = async (locale = 'en-US') => {
|