@designcrowd/library.brand-page 5.17.25-undo-18 → 5.17.25-undo-20
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/lib/src/{CreatedOnBrandCrowd-de-de-CBDi9mm7.js → CreatedOnBrandCrowd-de-de-PinGDThm.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DmYTrPGS.js → CreatedOnBrandCrowd-en-us-6aceIwqS.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-CTS46dMT.js → CreatedOnBrandCrowd-es-es-DTzIsJed.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CR5a9MI7.js → CreatedOnBrandCrowd-fr-ca-cSFLvrYN.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CR5a9MI7.js → CreatedOnBrandCrowd-fr-fr-cSFLvrYN.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-rYxhXB9n.js → CreatedOnBrandCrowd-pt-br-BvXzFDKD.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-rYxhXB9n.js → CreatedOnBrandCrowd-pt-pt-BvXzFDKD.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-D7ux7LvX.js → CreatedOnDcom-de-de-LXznZsLj.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CgxnIdbw.js → CreatedOnDcom-en-us-imNcf-wp.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CrmM6DV3.js → CreatedOnDcom-es-es-Ctv-wdHl.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-C7THZHWN.js → CreatedOnDcom-fr-ca-d4QQHFO4.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-BfngdllS.js → CreatedOnDcom-fr-fr-D4lHkR1B.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-Chk85LOQ.js → CreatedOnDcom-pt-br-QkKzkd58.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-D-OsPtCB.js → CreatedOnDcom-pt-pt-BoS8BmQr.js} +1 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +0 -6
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +0 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +7 -12
- package/lib/src/css/library.brand-page-brandCrowd.min.css +2 -2
- package/lib/src/css/library.brand-page-brandPage.min.css +2 -2
- package/lib/src/css/library.brand-page-designCom.min.css +2 -2
- package/lib/src/css/library.brand-page-preview.min.css +2 -2
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-BquHX4Ed.js → lib-DSJYPqqV.js} +410 -374
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +0 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +2 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +10 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -1
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +18 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -1
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -1
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -1
- package/package.json +1 -1
- package/src/brand-page-maker/components/quick-link-bar/RedoButton.test.ts +30 -0
- package/src/brand-page-maker/components/quick-link-bar/RedoButton.vue +6 -1
- package/src/brand-page-maker/components/quick-link-bar/UndoButton.test.ts +30 -0
- package/src/brand-page-maker/components/quick-link-bar/UndoButton.vue +6 -1
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +0 -6
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +7 -13
- package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +14 -1
- package/src/shared/logo-settings/store/editable-logo-store.ts +36 -0
|
@@ -103,7 +103,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
103
103
|
description?: string | undefined;
|
|
104
104
|
isPublished?: boolean | undefined;
|
|
105
105
|
noDescription?: boolean | undefined;
|
|
106
|
-
resetHistory?: boolean | undefined;
|
|
107
106
|
}): Promise<void>;
|
|
108
107
|
hideChangeTemplateConfirmModal(): void;
|
|
109
108
|
onBackgroundChanged(): void;
|
|
@@ -148,7 +148,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
148
148
|
description?: string | undefined;
|
|
149
149
|
isPublished?: boolean | undefined;
|
|
150
150
|
noDescription?: boolean | undefined;
|
|
151
|
-
resetHistory?: boolean | undefined;
|
|
152
151
|
}): Promise<void>;
|
|
153
152
|
hideChangeTemplateConfirmModal(): void;
|
|
154
153
|
onBackgroundChanged(): void;
|
|
@@ -92,7 +92,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
92
92
|
description?: string | undefined;
|
|
93
93
|
isPublished?: boolean | undefined;
|
|
94
94
|
noDescription?: boolean | undefined;
|
|
95
|
-
resetHistory?: boolean | undefined;
|
|
96
95
|
}): Promise<void>;
|
|
97
96
|
hideChangeTemplateConfirmModal(): void;
|
|
98
97
|
onBackgroundChanged(): void;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -598,7 +598,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
598
598
|
description?: string | undefined;
|
|
599
599
|
isPublished?: boolean | undefined;
|
|
600
600
|
noDescription?: boolean | undefined;
|
|
601
|
-
resetHistory?: boolean | undefined;
|
|
602
601
|
}): Promise<void>;
|
|
603
602
|
hideChangeTemplateConfirmModal(): void;
|
|
604
603
|
onBackgroundChanged(): void;
|
|
@@ -98,7 +98,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
98
98
|
description?: string | undefined;
|
|
99
99
|
isPublished?: boolean | undefined;
|
|
100
100
|
noDescription?: boolean | undefined;
|
|
101
|
-
resetHistory?: boolean | undefined;
|
|
102
101
|
}): Promise<void>;
|
|
103
102
|
hideChangeTemplateConfirmModal(): void;
|
|
104
103
|
onBackgroundChanged(): void;
|
|
@@ -404,7 +404,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
404
404
|
description?: string | undefined;
|
|
405
405
|
isPublished?: boolean | undefined;
|
|
406
406
|
noDescription?: boolean | undefined;
|
|
407
|
-
resetHistory?: boolean | undefined;
|
|
408
407
|
}): Promise<void>;
|
|
409
408
|
hideChangeTemplateConfirmModal(): void;
|
|
410
409
|
onBackgroundChanged(): void;
|
|
@@ -405,7 +405,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
405
405
|
description?: string | undefined;
|
|
406
406
|
isPublished?: boolean | undefined;
|
|
407
407
|
noDescription?: boolean | undefined;
|
|
408
|
-
resetHistory?: boolean | undefined;
|
|
409
408
|
}): Promise<void>;
|
|
410
409
|
hideChangeTemplateConfirmModal(): void;
|
|
411
410
|
onBackgroundChanged(): void;
|
|
@@ -108,7 +108,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
description?: string | undefined;
|
|
109
109
|
isPublished?: boolean | undefined;
|
|
110
110
|
noDescription?: boolean | undefined;
|
|
111
|
-
resetHistory?: boolean | undefined;
|
|
112
111
|
}): Promise<void>;
|
|
113
112
|
hideChangeTemplateConfirmModal(): void;
|
|
114
113
|
onBackgroundChanged(): void;
|
|
@@ -456,7 +456,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
456
456
|
description?: string | undefined;
|
|
457
457
|
isPublished?: boolean | undefined;
|
|
458
458
|
noDescription?: boolean | undefined;
|
|
459
|
-
resetHistory?: boolean | undefined;
|
|
460
459
|
}): Promise<void>;
|
|
461
460
|
hideChangeTemplateConfirmModal(): void;
|
|
462
461
|
onBackgroundChanged(): void;
|
|
@@ -795,12 +795,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
795
795
|
try {
|
|
796
796
|
await brandPageMakerStore.enqueueSaveSuccessMessage({
|
|
797
797
|
isPublished: this.isPublished,
|
|
798
|
-
// Top-level Save Progress / Publish flow → re-baseline undo
|
|
799
|
-
// history per PRD §3. Settings-only callers of
|
|
800
|
-
// enqueueSaveSuccessMessage (updateBrandPage,
|
|
801
|
-
// updateSensitiveContent, saveTemplate) don't set this flag
|
|
802
|
-
// and so leave the user's undo stack alone.
|
|
803
|
-
resetHistory: true,
|
|
804
798
|
});
|
|
805
799
|
}
|
|
806
800
|
finally {
|
|
@@ -173,7 +173,6 @@ export declare const useBrandPageMakerStore: import("pinia").StoreDefinition<"br
|
|
|
173
173
|
description?: string;
|
|
174
174
|
isPublished?: boolean;
|
|
175
175
|
noDescription?: boolean;
|
|
176
|
-
resetHistory?: boolean;
|
|
177
176
|
}): Promise<void>;
|
|
178
177
|
hideChangeTemplateConfirmModal(): void;
|
|
179
178
|
onBackgroundChanged(): void;
|
|
@@ -387,20 +387,15 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
387
387
|
description: payload.noDescription ? '' : description,
|
|
388
388
|
},
|
|
389
389
|
});
|
|
390
|
-
//
|
|
391
|
-
//
|
|
392
|
-
//
|
|
393
|
-
//
|
|
394
|
-
//
|
|
395
|
-
//
|
|
396
|
-
// saves (updateBrandPage / updateSensitiveContent) and admin
|
|
397
|
-
// saveTemplate funnel through here too but DON'T set the flag,
|
|
398
|
-
// so their success toasts don't disturb the user's undo stack.
|
|
390
|
+
// Any successful save re-baselines the undo stack so a user can't
|
|
391
|
+
// undo back past the persisted state. This covers Save Progress /
|
|
392
|
+
// Publish AND settings-only saves (updateBrandPage,
|
|
393
|
+
// updateSensitiveContent, admin saveTemplate) — settings-tab
|
|
394
|
+
// actions persist the metadata, so allowing undo to roll them
|
|
395
|
+
// back would let the local stack drift from what's saved.
|
|
399
396
|
// reset() no-ops in non-undo-redo sessions (no baseline = nothing
|
|
400
397
|
// to clear).
|
|
401
|
-
|
|
402
|
-
useHistoryStore().reset();
|
|
403
|
-
}
|
|
398
|
+
useHistoryStore().reset();
|
|
404
399
|
},
|
|
405
400
|
hideChangeTemplateConfirmModal() {
|
|
406
401
|
this.setIsChangeTemplateConfirmModalVisible({
|
|
@@ -9161,12 +9161,12 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9161
9161
|
background-attachment: scroll !important;
|
|
9162
9162
|
}
|
|
9163
9163
|
|
|
9164
|
-
.c-undo-button-tooltip[data-v-
|
|
9164
|
+
.c-undo-button-tooltip[data-v-10e293db] .shared-tooltip__body {
|
|
9165
9165
|
width: auto;
|
|
9166
9166
|
padding: 4px 8px;
|
|
9167
9167
|
}
|
|
9168
9168
|
|
|
9169
|
-
.c-redo-button-tooltip[data-v-
|
|
9169
|
+
.c-redo-button-tooltip[data-v-384a6580] .shared-tooltip__body {
|
|
9170
9170
|
width: auto;
|
|
9171
9171
|
padding: 4px 8px;
|
|
9172
9172
|
}
|
|
@@ -9478,12 +9478,12 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9478
9478
|
background-attachment: scroll !important;
|
|
9479
9479
|
}
|
|
9480
9480
|
|
|
9481
|
-
.c-undo-button-tooltip[data-v-
|
|
9481
|
+
.c-undo-button-tooltip[data-v-10e293db] .shared-tooltip__body {
|
|
9482
9482
|
width: auto;
|
|
9483
9483
|
padding: 4px 8px;
|
|
9484
9484
|
}
|
|
9485
9485
|
|
|
9486
|
-
.c-redo-button-tooltip[data-v-
|
|
9486
|
+
.c-redo-button-tooltip[data-v-384a6580] .shared-tooltip__body {
|
|
9487
9487
|
width: auto;
|
|
9488
9488
|
padding: 4px 8px;
|
|
9489
9489
|
}
|
|
@@ -9191,12 +9191,12 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9191
9191
|
background-attachment: scroll !important;
|
|
9192
9192
|
}
|
|
9193
9193
|
|
|
9194
|
-
.c-undo-button-tooltip[data-v-
|
|
9194
|
+
.c-undo-button-tooltip[data-v-10e293db] .shared-tooltip__body {
|
|
9195
9195
|
width: auto;
|
|
9196
9196
|
padding: 4px 8px;
|
|
9197
9197
|
}
|
|
9198
9198
|
|
|
9199
|
-
.c-redo-button-tooltip[data-v-
|
|
9199
|
+
.c-redo-button-tooltip[data-v-384a6580] .shared-tooltip__body {
|
|
9200
9200
|
width: auto;
|
|
9201
9201
|
padding: 4px 8px;
|
|
9202
9202
|
}
|
|
@@ -8889,12 +8889,12 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
8889
8889
|
background-attachment: scroll !important;
|
|
8890
8890
|
}
|
|
8891
8891
|
|
|
8892
|
-
.bp .c-undo-button-tooltip[data-v-
|
|
8892
|
+
.bp .c-undo-button-tooltip[data-v-10e293db] .shared-tooltip__body {
|
|
8893
8893
|
width: auto;
|
|
8894
8894
|
padding: 4px 8px;
|
|
8895
8895
|
}
|
|
8896
8896
|
|
|
8897
|
-
.bp .c-redo-button-tooltip[data-v-
|
|
8897
|
+
.bp .c-redo-button-tooltip[data-v-384a6580] .shared-tooltip__body {
|
|
8898
8898
|
width: auto;
|
|
8899
8899
|
padding: 4px 8px;
|
|
8900
8900
|
}
|
package/lib/src/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as E, a as T, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-
|
|
1
|
+
import { A as E, a as T, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-DSJYPqqV.js";
|
|
2
2
|
import { createPinia as wE, setActivePinia as ZE } from "pinia";
|
|
3
3
|
export {
|
|
4
4
|
E as ABOUT_SECTION_SETTINGS_CONFIG,
|