@designcrowd/library.brand-page 6.0.6-undo-2 → 6.0.6-undo-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/lib/src/{CreatedOnBrandCrowd-de-de-BSFTp6yl.js → CreatedOnBrandCrowd-de-de-BqD7lX6T.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-rPQrOY1L.js → CreatedOnBrandCrowd-en-us-BXFZ-Vv_.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-awd8-QFa.js → CreatedOnBrandCrowd-es-es-qTAVOIsd.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CwJ4J7Ow.js → CreatedOnBrandCrowd-fr-ca-LVZ7sAKH.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CwJ4J7Ow.js → CreatedOnBrandCrowd-fr-fr-LVZ7sAKH.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-BXYfTLlD.js → CreatedOnBrandCrowd-pt-br-TSeJN2wb.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-BXYfTLlD.js → CreatedOnBrandCrowd-pt-pt-TSeJN2wb.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-kX6u1lNK.js → CreatedOnDcom-de-de-BLLcDw_4.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Bkq5sgFs.js → CreatedOnDcom-en-us-BVdWxcIs.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-zCAC9ujj.js → CreatedOnDcom-es-es-BZRzR4GZ.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-BYz6Wzg5.js → CreatedOnDcom-fr-ca-B97f7ekB.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CN-wAaSH.js → CreatedOnDcom-fr-fr-CNWS12Rb.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-BrK4Ngg-.js → CreatedOnDcom-pt-br-CsASsHeV.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-AfI_g7xJ.js → CreatedOnDcom-pt-pt-CsYqjPls.js} +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +5 -5
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +6 -6
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +23 -13
- package/lib/src/brand-page-maker/stores/history/history-store.d.ts +1 -1
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-BYFWAvIq.js → lib-BNqCRgBN.js} +15895 -15862
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.js +29 -0
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +6 -6
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +5 -5
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +5 -5
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +5 -5
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +5 -5
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -67
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.js +4 -6
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -0
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +19 -0
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/models.d.ts +11 -0
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +5 -5
- package/lib/src/shared/content-settings/store/content-settings-store.js +39 -5
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +5 -5
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +5 -5
- package/package.json +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +24 -15
- package/src/shared/content-settings/components/GenericTextInput.mixin.test.ts +119 -0
- package/src/shared/content-settings/components/GenericTextInput.mixin.ts +34 -0
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +10 -5
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.ts +4 -7
- package/src/shared/content-settings/components/text-field/TextField.vue +2 -1
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.test.ts +149 -0
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +26 -0
- package/src/shared/content-settings/components/textarea-field/TextareaField.vue +2 -1
- package/src/shared/content-settings/models.ts +11 -0
- package/src/shared/content-settings/store/content-settings-store.test.ts +137 -0
- package/src/shared/content-settings/store/content-settings-store.ts +45 -0
|
@@ -84,6 +84,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
84
|
isDirty: boolean;
|
|
85
85
|
emitChangeDebounce: DebounceHandle | undefined;
|
|
86
86
|
lengthError: boolean;
|
|
87
|
+
burstIsHydration: boolean | undefined;
|
|
88
|
+
pendingWriteIsHydration: boolean;
|
|
87
89
|
}, {
|
|
88
90
|
errorMessage(): string | undefined;
|
|
89
91
|
isErrorVisible(): boolean;
|
|
@@ -96,6 +98,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
98
|
}, {
|
|
97
99
|
onFocus(): void;
|
|
98
100
|
onBlur(): void;
|
|
101
|
+
onRteModelValue(newVal: string, meta?: {
|
|
102
|
+
isHydration?: boolean;
|
|
103
|
+
}): void;
|
|
99
104
|
emitChange(): void;
|
|
100
105
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
106
|
attrs: {
|
|
@@ -99,6 +99,13 @@ export default defineComponent({
|
|
|
99
99
|
isDirty: false,
|
|
100
100
|
emitChangeDebounce: undefined,
|
|
101
101
|
lengthError: false,
|
|
102
|
+
// Whether every write in the current debounce burst was an RTE
|
|
103
|
+
// hydration write-back (see UpdateItemValuePayload.isHydrationWrite).
|
|
104
|
+
// undefined = no burst pending; any user write downgrades it to false.
|
|
105
|
+
burstIsHydration: undefined,
|
|
106
|
+
// One-shot channel from onRteModelValue into the `text` setter for
|
|
107
|
+
// the write currently being applied.
|
|
108
|
+
pendingWriteIsHydration: false,
|
|
102
109
|
};
|
|
103
110
|
},
|
|
104
111
|
computed: {
|
|
@@ -128,6 +135,13 @@ export default defineComponent({
|
|
|
128
135
|
return unescapeContentText(this.value);
|
|
129
136
|
},
|
|
130
137
|
set(newVal) {
|
|
138
|
+
// A burst is hydration only if EVERY write in it is hydration —
|
|
139
|
+
// one real keystroke downgrades the whole burst to a user edit
|
|
140
|
+
// (the canonicalisation then rides inside that legitimate entry).
|
|
141
|
+
const writeIsHydration = this.pendingWriteIsHydration;
|
|
142
|
+
this.pendingWriteIsHydration = false;
|
|
143
|
+
this.burstIsHydration =
|
|
144
|
+
this.burstIsHydration !== false && writeIsHydration;
|
|
131
145
|
if (newVal === false) {
|
|
132
146
|
this._value = false;
|
|
133
147
|
}
|
|
@@ -162,11 +176,15 @@ export default defineComponent({
|
|
|
162
176
|
this._oldValue = this._value || '';
|
|
163
177
|
this._value = false;
|
|
164
178
|
}
|
|
179
|
+
// Toggling is a user action — downgrade any pending hydration burst
|
|
180
|
+
// so this emit commits as a normal entry.
|
|
181
|
+
this.burstIsHydration = false;
|
|
165
182
|
this.emitChange();
|
|
166
183
|
},
|
|
167
184
|
showRichTextEditor(newVal) {
|
|
168
185
|
if (!newVal && this._value && typeof this._value === 'string') {
|
|
169
186
|
this._value = encodeContentText(this._value);
|
|
187
|
+
this.burstIsHydration = false;
|
|
170
188
|
this.emitChange();
|
|
171
189
|
}
|
|
172
190
|
},
|
|
@@ -186,11 +204,22 @@ export default defineComponent({
|
|
|
186
204
|
onBlur() {
|
|
187
205
|
this.isDirty = false;
|
|
188
206
|
},
|
|
207
|
+
// RTE branch handler: receives the hydration meta the RichTextEditor
|
|
208
|
+
// attaches to its update:modelValue emits (a plain v-model binding
|
|
209
|
+
// would drop the second argument), records it for the `text` setter,
|
|
210
|
+
// then applies the write.
|
|
211
|
+
onRteModelValue(newVal, meta) {
|
|
212
|
+
this.pendingWriteIsHydration = meta?.isHydration === true;
|
|
213
|
+
this.text = newVal;
|
|
214
|
+
},
|
|
189
215
|
emitChange() {
|
|
216
|
+
const isHydrationWrite = this.burstIsHydration === true;
|
|
217
|
+
this.burstIsHydration = undefined;
|
|
190
218
|
this.$emit('update:modelValue', {
|
|
191
219
|
id: this.id,
|
|
192
220
|
name: this.name,
|
|
193
221
|
value: this._value,
|
|
222
|
+
...(isHydrationWrite ? { isHydrationWrite: true } : {}),
|
|
194
223
|
});
|
|
195
224
|
},
|
|
196
225
|
},
|
package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts
CHANGED
|
@@ -549,15 +549,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
549
549
|
pushMode(item: import("../../store").ContentSettingsModeStackItem): void;
|
|
550
550
|
resetMode(): void;
|
|
551
551
|
updateItemValue(payload: import("../../models").UpdateItemValuePayload<unknown>): void;
|
|
552
|
-
updateMultipleItemValues({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
553
|
-
updateTextStyleType({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
554
|
-
updateTextStyles({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
552
|
+
updateMultipleItemValues({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
553
|
+
updateTextStyleType({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
554
|
+
updateTextStyles({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
555
555
|
getTextStyles({ id, name }: {
|
|
556
556
|
id: string;
|
|
557
557
|
name: string;
|
|
558
558
|
}): unknown;
|
|
559
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
560
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
559
|
+
updateTextItemTextStyleType({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
560
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
561
561
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
562
562
|
activeCategoryTab: ItemCategory;
|
|
563
563
|
}): void;
|
|
@@ -924,7 +924,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
924
924
|
reset: () => void;
|
|
925
925
|
getCurrentSizeBytes: () => number;
|
|
926
926
|
getCurrentEntryCount: () => number;
|
|
927
|
-
}, "reset" | "
|
|
927
|
+
}, "reset" | "captureBaseline" | "capture" | "captureTemplateSwitch" | "captureAiChangeset" | "mergeNextMutation" | "undo" | "redo" | "getCurrentSizeBytes" | "getCurrentEntryCount">>;
|
|
928
928
|
externalEditor: import("@tiptap/vue-3").Editor;
|
|
929
929
|
}, {
|
|
930
930
|
categoryTabs: CategoryTab[];
|
|
@@ -399,15 +399,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
399
399
|
pushMode(item: import("../../store").ContentSettingsModeStackItem): void;
|
|
400
400
|
resetMode(): void;
|
|
401
401
|
updateItemValue(payload: import("../../models").UpdateItemValuePayload<unknown>): void;
|
|
402
|
-
updateMultipleItemValues({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
403
|
-
updateTextStyleType({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
404
|
-
updateTextStyles({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
402
|
+
updateMultipleItemValues({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
403
|
+
updateTextStyleType({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
404
|
+
updateTextStyles({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
405
405
|
getTextStyles({ id, name }: {
|
|
406
406
|
id: string;
|
|
407
407
|
name: string;
|
|
408
408
|
}): unknown;
|
|
409
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
410
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
409
|
+
updateTextItemTextStyleType({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
410
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
411
411
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
412
412
|
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
413
413
|
}): void;
|
|
@@ -385,15 +385,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
385
385
|
pushMode(item: import("../../store").ContentSettingsModeStackItem): void;
|
|
386
386
|
resetMode(): void;
|
|
387
387
|
updateItemValue(payload: UpdateItemValuePayload<unknown>): void;
|
|
388
|
-
updateMultipleItemValues({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
389
|
-
updateTextStyleType({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
390
|
-
updateTextStyles({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
388
|
+
updateMultipleItemValues({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
389
|
+
updateTextStyleType({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
390
|
+
updateTextStyles({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
391
391
|
getTextStyles({ id, name }: {
|
|
392
392
|
id: string;
|
|
393
393
|
name: string;
|
|
394
394
|
}): unknown;
|
|
395
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
396
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
395
|
+
updateTextItemTextStyleType({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
396
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
397
397
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
398
398
|
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
399
399
|
}): void;
|
|
@@ -427,15 +427,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
427
427
|
pushMode(item: import("../../store").ContentSettingsModeStackItem): void;
|
|
428
428
|
resetMode(): void;
|
|
429
429
|
updateItemValue(payload: UpdateItemValuePayload<unknown>): void;
|
|
430
|
-
updateMultipleItemValues({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
431
|
-
updateTextStyleType({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
432
|
-
updateTextStyles({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
430
|
+
updateMultipleItemValues({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
431
|
+
updateTextStyleType({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
432
|
+
updateTextStyles({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
433
433
|
getTextStyles({ id, name }: {
|
|
434
434
|
id: string;
|
|
435
435
|
name: string;
|
|
436
436
|
}): unknown;
|
|
437
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
438
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
437
|
+
updateTextItemTextStyleType({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
438
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
439
439
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
440
440
|
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
441
441
|
}): void;
|
|
@@ -81,6 +81,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
81
81
|
isDirty: boolean;
|
|
82
82
|
emitChangeDebounce: import("lodash.debounce").DebounceHandle | undefined;
|
|
83
83
|
lengthError: boolean;
|
|
84
|
+
burstIsHydration: boolean | undefined;
|
|
85
|
+
pendingWriteIsHydration: boolean;
|
|
84
86
|
}, {
|
|
85
87
|
errorMessage(): string | undefined;
|
|
86
88
|
isErrorVisible(): boolean;
|
|
@@ -93,6 +95,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
93
95
|
}, {
|
|
94
96
|
onFocus(): void;
|
|
95
97
|
onBlur(): void;
|
|
98
|
+
onRteModelValue(newVal: string, meta?: {
|
|
99
|
+
isHydration?: boolean;
|
|
100
|
+
}): void;
|
|
96
101
|
emitChange(): void;
|
|
97
102
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
103
|
attrs: {
|
|
@@ -378,15 +378,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
378
378
|
pushMode(item: import("../../store").ContentSettingsModeStackItem): void;
|
|
379
379
|
resetMode(): void;
|
|
380
380
|
updateItemValue(payload: UpdateItemValuePayload<unknown>): void;
|
|
381
|
-
updateMultipleItemValues({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
382
|
-
updateTextStyleType({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
383
|
-
updateTextStyles({ id, name, value, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
381
|
+
updateMultipleItemValues({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
382
|
+
updateTextStyleType({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
383
|
+
updateTextStyles({ id, name, value, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
384
384
|
getTextStyles({ id, name }: {
|
|
385
385
|
id: string;
|
|
386
386
|
name: string;
|
|
387
387
|
}): unknown;
|
|
388
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
389
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
388
|
+
updateTextItemTextStyleType({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
389
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, isHydrationWrite, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
390
390
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
391
391
|
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
392
392
|
}): void;
|
|
@@ -483,73 +483,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
483
483
|
collapseAllSections(): void;
|
|
484
484
|
setPreviousSelectedDisplayStyle(viewport: string, displayStyle: string): void;
|
|
485
485
|
}>;
|
|
486
|
-
historyStore: import("pinia").Store<"history", Pick<{
|
|
487
|
-
entries: import("vue").ShallowRef<import("@brand-page-maker/stores/history/history-store").HistoryEntry[], import("@brand-page-maker/stores/history/history-store").HistoryEntry[]>;
|
|
488
|
-
currentIndex: import("vue").Ref<number, number>;
|
|
489
|
-
isApplyingSnapshot: import("vue").Ref<boolean, boolean>;
|
|
490
|
-
snapshotAppliedToken: import("vue").Ref<number, number>;
|
|
491
|
-
baselineCaptured: import("vue").Ref<boolean, boolean>;
|
|
492
|
-
canUndo: import("vue").ComputedRef<boolean>;
|
|
493
|
-
canRedo: import("vue").ComputedRef<boolean>;
|
|
494
|
-
captureBaseline: () => void;
|
|
495
|
-
capture: (args: {
|
|
496
|
-
source: import("@brand-page-maker/stores/history/history-store").HistoryEntry["source"];
|
|
497
|
-
actor: import("@brand-page-maker/stores/history/history-store").HistoryEntry["actor"];
|
|
498
|
-
label?: string;
|
|
499
|
-
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
500
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
501
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
502
|
-
mergeNextMutation: () => void;
|
|
503
|
-
undo: () => Promise<void>;
|
|
504
|
-
redo: () => Promise<void>;
|
|
505
|
-
reset: () => void;
|
|
506
|
-
getCurrentSizeBytes: () => number;
|
|
507
|
-
getCurrentEntryCount: () => number;
|
|
508
|
-
}, "entries" | "currentIndex" | "isApplyingSnapshot" | "snapshotAppliedToken" | "baselineCaptured">, Pick<{
|
|
509
|
-
entries: import("vue").ShallowRef<import("@brand-page-maker/stores/history/history-store").HistoryEntry[], import("@brand-page-maker/stores/history/history-store").HistoryEntry[]>;
|
|
510
|
-
currentIndex: import("vue").Ref<number, number>;
|
|
511
|
-
isApplyingSnapshot: import("vue").Ref<boolean, boolean>;
|
|
512
|
-
snapshotAppliedToken: import("vue").Ref<number, number>;
|
|
513
|
-
baselineCaptured: import("vue").Ref<boolean, boolean>;
|
|
514
|
-
canUndo: import("vue").ComputedRef<boolean>;
|
|
515
|
-
canRedo: import("vue").ComputedRef<boolean>;
|
|
516
|
-
captureBaseline: () => void;
|
|
517
|
-
capture: (args: {
|
|
518
|
-
source: import("@brand-page-maker/stores/history/history-store").HistoryEntry["source"];
|
|
519
|
-
actor: import("@brand-page-maker/stores/history/history-store").HistoryEntry["actor"];
|
|
520
|
-
label?: string;
|
|
521
|
-
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
522
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
523
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
524
|
-
mergeNextMutation: () => void;
|
|
525
|
-
undo: () => Promise<void>;
|
|
526
|
-
redo: () => Promise<void>;
|
|
527
|
-
reset: () => void;
|
|
528
|
-
getCurrentSizeBytes: () => number;
|
|
529
|
-
getCurrentEntryCount: () => number;
|
|
530
|
-
}, "canUndo" | "canRedo">, Pick<{
|
|
531
|
-
entries: import("vue").ShallowRef<import("@brand-page-maker/stores/history/history-store").HistoryEntry[], import("@brand-page-maker/stores/history/history-store").HistoryEntry[]>;
|
|
532
|
-
currentIndex: import("vue").Ref<number, number>;
|
|
533
|
-
isApplyingSnapshot: import("vue").Ref<boolean, boolean>;
|
|
534
|
-
snapshotAppliedToken: import("vue").Ref<number, number>;
|
|
535
|
-
baselineCaptured: import("vue").Ref<boolean, boolean>;
|
|
536
|
-
canUndo: import("vue").ComputedRef<boolean>;
|
|
537
|
-
canRedo: import("vue").ComputedRef<boolean>;
|
|
538
|
-
captureBaseline: () => void;
|
|
539
|
-
capture: (args: {
|
|
540
|
-
source: import("@brand-page-maker/stores/history/history-store").HistoryEntry["source"];
|
|
541
|
-
actor: import("@brand-page-maker/stores/history/history-store").HistoryEntry["actor"];
|
|
542
|
-
label?: string;
|
|
543
|
-
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
544
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
545
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
546
|
-
mergeNextMutation: () => void;
|
|
547
|
-
undo: () => Promise<void>;
|
|
548
|
-
redo: () => Promise<void>;
|
|
549
|
-
reset: () => void;
|
|
550
|
-
getCurrentSizeBytes: () => number;
|
|
551
|
-
getCurrentEntryCount: () => number;
|
|
552
|
-
}, "reset" | "undo" | "redo" | "captureBaseline" | "capture" | "captureTemplateSwitch" | "captureAiChangeset" | "mergeNextMutation" | "getCurrentSizeBytes" | "getCurrentEntryCount">>;
|
|
553
486
|
}, {
|
|
554
487
|
selectedPaymentConfig: BrandPagePaymentConfig | undefined;
|
|
555
488
|
isCurrencyUpdating: boolean;
|
package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.js
CHANGED
|
@@ -4,7 +4,6 @@ import { useShopConfigStore } from '@shared/ecommerce-settings/store/shop-settin
|
|
|
4
4
|
import { paymentConfigTr } from '@src/composables/useTranslate';
|
|
5
5
|
import brandPageClient from '../../../../clients/brand-page-client';
|
|
6
6
|
import { useUiPageSettingsStore } from '@shared/page-settings/store';
|
|
7
|
-
import { useHistoryStore } from '@brand-page-maker/stores/history/history-store';
|
|
8
7
|
export default defineComponent({
|
|
9
8
|
props: {
|
|
10
9
|
id: {
|
|
@@ -30,7 +29,6 @@ export default defineComponent({
|
|
|
30
29
|
const uiPageSettingsStore = useUiPageSettingsStore();
|
|
31
30
|
const eventManagerStore = useEventManagerStore();
|
|
32
31
|
const shopConfigStore = useShopConfigStore();
|
|
33
|
-
const historyStore = useHistoryStore();
|
|
34
32
|
return {
|
|
35
33
|
brandPageToken: computed(() => brandPageContainerStore.brandPageToken),
|
|
36
34
|
isPaymentConfigSetupVisible: computed(() => !brandPageContainerStore.isPrePurchase),
|
|
@@ -38,7 +36,6 @@ export default defineComponent({
|
|
|
38
36
|
eventManagerStore,
|
|
39
37
|
shopConfigStore,
|
|
40
38
|
uiPageSettingsStore,
|
|
41
|
-
historyStore,
|
|
42
39
|
};
|
|
43
40
|
},
|
|
44
41
|
emits: ['update:modelValue'],
|
|
@@ -97,14 +94,15 @@ export default defineComponent({
|
|
|
97
94
|
...this.value,
|
|
98
95
|
paymentConfig: this.shopConfigStore.paymentConfig,
|
|
99
96
|
};
|
|
97
|
+
// Lazy paymentConfig hydration — a hydration write, not a user edit.
|
|
98
|
+
// The flag makes the content-settings store fold it into the current
|
|
99
|
+
// undo head at write time (see UpdateItemValuePayload.isHydrationWrite).
|
|
100
100
|
const payload = {
|
|
101
101
|
id: this.id,
|
|
102
102
|
name: this.name,
|
|
103
103
|
value,
|
|
104
|
+
isHydrationWrite: true,
|
|
104
105
|
};
|
|
105
|
-
// Lazy paymentConfig hydration — fold into current head instead
|
|
106
|
-
// of pushing a phantom entry.
|
|
107
|
-
this.historyStore.mergeNextMutation();
|
|
108
106
|
this.$emit('update:modelValue', payload);
|
|
109
107
|
}
|
|
110
108
|
},
|
|
@@ -81,6 +81,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
81
81
|
isDirty: boolean;
|
|
82
82
|
emitChangeDebounce: import("lodash.debounce").DebounceHandle | undefined;
|
|
83
83
|
lengthError: boolean;
|
|
84
|
+
burstIsHydration: boolean | undefined;
|
|
85
|
+
pendingWriteIsHydration: boolean;
|
|
84
86
|
}, {
|
|
85
87
|
errorMessage(): string | undefined;
|
|
86
88
|
isErrorVisible(): boolean;
|
|
@@ -93,6 +95,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
93
95
|
}, {
|
|
94
96
|
onFocus(): void;
|
|
95
97
|
onBlur(): void;
|
|
98
|
+
onRteModelValue(newVal: string, meta?: {
|
|
99
|
+
isHydration?: boolean;
|
|
100
|
+
}): void;
|
|
96
101
|
emitChange(): void;
|
|
97
102
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
103
|
attrs: {
|
|
@@ -81,6 +81,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
81
81
|
isDirty: boolean;
|
|
82
82
|
emitChangeDebounce: import("lodash.debounce").DebounceHandle | undefined;
|
|
83
83
|
lengthError: boolean;
|
|
84
|
+
burstIsHydration: boolean | undefined;
|
|
85
|
+
pendingWriteIsHydration: boolean;
|
|
84
86
|
}, {
|
|
85
87
|
errorMessage(): string | undefined;
|
|
86
88
|
isErrorVisible(): boolean;
|
|
@@ -93,6 +95,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
93
95
|
}, {
|
|
94
96
|
onFocus(): void;
|
|
95
97
|
onBlur(): void;
|
|
98
|
+
onRteModelValue(newVal: string, meta?: {
|
|
99
|
+
isHydration?: boolean;
|
|
100
|
+
}): void;
|
|
96
101
|
emitChange(): void;
|
|
97
102
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
103
|
attrs: {
|
package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
textEmptyErrorMessage: any;
|
|
54
54
|
textMaxLengthErrorMessage: any;
|
|
55
55
|
isInternalWatchEnabled: boolean;
|
|
56
|
+
burstIsHydration: boolean | undefined;
|
|
56
57
|
}, {}, {
|
|
57
58
|
onDelete(index: number): void;
|
|
58
59
|
onAddNewItem(): void;
|
|
@@ -64,6 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
65
|
id: string;
|
|
65
66
|
name: string;
|
|
66
67
|
value: string;
|
|
68
|
+
isHydrationWrite?: boolean;
|
|
67
69
|
}, index: number): void;
|
|
68
70
|
setTextStyleOption(payload: {
|
|
69
71
|
id: string;
|
|
@@ -66,6 +66,11 @@ export default defineComponent({
|
|
|
66
66
|
textEmptyErrorMessage: TEXT_EMPTY(),
|
|
67
67
|
textMaxLengthErrorMessage: MAX_LENGTH_ERROR_MESSAGE(),
|
|
68
68
|
isInternalWatchEnabled: true,
|
|
69
|
+
// Second burst layer on top of GenericTextInput's (this field re-wraps
|
|
70
|
+
// per-item TextareaField payloads into one textItems array payload
|
|
71
|
+
// behind its own debounce). Hydration only if EVERY write in the burst
|
|
72
|
+
// was hydration; any user action downgrades it. undefined = no burst.
|
|
73
|
+
burstIsHydration: undefined,
|
|
69
74
|
}),
|
|
70
75
|
async created() {
|
|
71
76
|
this.options = cloneDeep(this.value);
|
|
@@ -77,6 +82,8 @@ export default defineComponent({
|
|
|
77
82
|
methods: {
|
|
78
83
|
onDelete(index) {
|
|
79
84
|
this.options = this.options.filter((_o, i) => i !== index);
|
|
85
|
+
// Deleting is a user action — downgrade any pending hydration burst.
|
|
86
|
+
this.burstIsHydration = false;
|
|
80
87
|
if (this.changeDebounce) {
|
|
81
88
|
this.changeDebounce();
|
|
82
89
|
}
|
|
@@ -86,6 +93,7 @@ export default defineComponent({
|
|
|
86
93
|
this.addOption();
|
|
87
94
|
},
|
|
88
95
|
addOption() {
|
|
96
|
+
this.burstIsHydration = false;
|
|
89
97
|
this.options.push({
|
|
90
98
|
text: '',
|
|
91
99
|
textStyle: {
|
|
@@ -107,14 +115,19 @@ export default defineComponent({
|
|
|
107
115
|
return decodeHtmlEntities(text);
|
|
108
116
|
},
|
|
109
117
|
emitChange() {
|
|
118
|
+
const isHydrationWrite = this.burstIsHydration === true;
|
|
119
|
+
this.burstIsHydration = undefined;
|
|
110
120
|
const payload = {
|
|
111
121
|
id: this.id,
|
|
112
122
|
name: this.name,
|
|
113
123
|
value: this.options,
|
|
124
|
+
...(isHydrationWrite ? { isHydrationWrite: true } : {}),
|
|
114
125
|
};
|
|
115
126
|
this.$emit('update:model-value', payload);
|
|
116
127
|
},
|
|
117
128
|
onItemsChange(items) {
|
|
129
|
+
// Reordering is a user action — downgrade any pending hydration burst.
|
|
130
|
+
this.burstIsHydration = false;
|
|
118
131
|
const payload = {
|
|
119
132
|
id: this.id,
|
|
120
133
|
name: this.name,
|
|
@@ -128,11 +141,17 @@ export default defineComponent({
|
|
|
128
141
|
this.$emit('update:model-value', payload);
|
|
129
142
|
},
|
|
130
143
|
onTextAreaTextChange(payload, index) {
|
|
144
|
+
// Carry the hydration flag from the per-item TextareaField burst into
|
|
145
|
+
// this field's own burst (AND rule — one user write downgrades it).
|
|
146
|
+
this.burstIsHydration =
|
|
147
|
+
this.burstIsHydration !== false && payload.isHydrationWrite === true;
|
|
131
148
|
this.options[index].text = payload.value;
|
|
132
149
|
this.isModified[index] = true;
|
|
133
150
|
},
|
|
134
151
|
setTextStyleOption(payload, index) {
|
|
135
152
|
this.options[index].textStyle = payload.value;
|
|
153
|
+
// Style edits are user actions — downgrade any pending hydration burst.
|
|
154
|
+
this.burstIsHydration = false;
|
|
136
155
|
this.emitChange();
|
|
137
156
|
},
|
|
138
157
|
onBlurOverride(value, index) {
|
|
@@ -95,6 +95,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
95
95
|
isDirty: boolean;
|
|
96
96
|
emitChangeDebounce: import("lodash.debounce").DebounceHandle | undefined;
|
|
97
97
|
lengthError: boolean;
|
|
98
|
+
burstIsHydration: boolean | undefined;
|
|
99
|
+
pendingWriteIsHydration: boolean;
|
|
98
100
|
}, {
|
|
99
101
|
errorMessage(): string | undefined;
|
|
100
102
|
isErrorVisible(): boolean;
|
|
@@ -107,6 +109,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
107
109
|
}, {
|
|
108
110
|
onFocus(): void;
|
|
109
111
|
onBlur(): void;
|
|
112
|
+
onRteModelValue(newVal: string, meta?: {
|
|
113
|
+
isHydration?: boolean;
|
|
114
|
+
}): void;
|
|
110
115
|
emitChange(): void;
|
|
111
116
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
117
|
attrs: {
|
|
@@ -88,6 +88,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, Record<string, any
|
|
|
88
88
|
isDirty: boolean;
|
|
89
89
|
emitChangeDebounce: import("lodash.debounce").DebounceHandle | undefined;
|
|
90
90
|
lengthError: boolean;
|
|
91
|
+
burstIsHydration: boolean | undefined;
|
|
92
|
+
pendingWriteIsHydration: boolean;
|
|
91
93
|
}, {
|
|
92
94
|
errorMessage(): string | undefined;
|
|
93
95
|
isErrorVisible(): boolean;
|
|
@@ -100,6 +102,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, Record<string, any
|
|
|
100
102
|
}, {
|
|
101
103
|
onFocus(): void;
|
|
102
104
|
onBlur(): void;
|
|
105
|
+
onRteModelValue(newVal: string, meta?: {
|
|
106
|
+
isHydration?: boolean;
|
|
107
|
+
}): void;
|
|
103
108
|
emitChange(): void;
|
|
104
109
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
110
|
attrs: {
|
package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, Record<string, any
|
|
|
84
84
|
isDirty: boolean;
|
|
85
85
|
emitChangeDebounce: import("lodash.debounce").DebounceHandle | undefined;
|
|
86
86
|
lengthError: boolean;
|
|
87
|
+
burstIsHydration: boolean | undefined;
|
|
88
|
+
pendingWriteIsHydration: boolean;
|
|
87
89
|
}, {
|
|
88
90
|
errorMessage(): string | undefined;
|
|
89
91
|
isErrorVisible(): boolean;
|
|
@@ -96,6 +98,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, Record<string, any
|
|
|
96
98
|
}, {
|
|
97
99
|
onFocus(): void;
|
|
98
100
|
onBlur(): void;
|
|
101
|
+
onRteModelValue(newVal: string, meta?: {
|
|
102
|
+
isHydration?: boolean;
|
|
103
|
+
}): void;
|
|
99
104
|
emitChange(): void;
|
|
100
105
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-toggle-state-change")[], "update:modelValue" | "on-toggle-state-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
106
|
attrs: {
|
|
@@ -88,12 +88,23 @@ export interface UpdateItemValuePayload<T> {
|
|
|
88
88
|
name: string;
|
|
89
89
|
value: T;
|
|
90
90
|
multipleValues?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Marks this write as a hydration write-back (e.g. the RTE rewriting the
|
|
93
|
+
* model into canonical HTML on mount) rather than a user edit. The
|
|
94
|
+
* content-settings store arms the undo history's merge flag synchronously
|
|
95
|
+
* before applying a flagged write, so it folds into the current history
|
|
96
|
+
* head instead of pushing a phantom entry (BP-5810). The flag travels
|
|
97
|
+
* with the value so it survives the debounced field → store hops.
|
|
98
|
+
*/
|
|
99
|
+
isHydrationWrite?: boolean;
|
|
91
100
|
}
|
|
92
101
|
export interface UpdateMultipleItemValuesPayload<T extends object> {
|
|
93
102
|
id: string;
|
|
94
103
|
name: string;
|
|
95
104
|
value: T;
|
|
96
105
|
index?: number;
|
|
106
|
+
/** See UpdateItemValuePayload.isHydrationWrite. */
|
|
107
|
+
isHydrationWrite?: boolean;
|
|
97
108
|
}
|
|
98
109
|
export interface ValidateItemPayload {
|
|
99
110
|
id: string;
|
|
@@ -393,15 +393,15 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
393
393
|
pushMode(item: ContentSettingsModeStackItem): void;
|
|
394
394
|
resetMode(): void;
|
|
395
395
|
updateItemValue(payload: UpdateItemValuePayload<unknown>): void;
|
|
396
|
-
updateMultipleItemValues({ id, name, value, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
397
|
-
updateTextStyleType({ id, name, value, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
398
|
-
updateTextStyles({ id, name, value, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
396
|
+
updateMultipleItemValues({ id, name, value, isHydrationWrite, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
397
|
+
updateTextStyleType({ id, name, value, isHydrationWrite, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
398
|
+
updateTextStyles({ id, name, value, isHydrationWrite, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
399
399
|
getTextStyles({ id, name }: {
|
|
400
400
|
id: string;
|
|
401
401
|
name: string;
|
|
402
402
|
}): unknown;
|
|
403
|
-
updateTextItemTextStyleType({ id, name, value, index, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
404
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
403
|
+
updateTextItemTextStyleType({ id, name, value, index, isHydrationWrite, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
404
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, isHydrationWrite, }: UpdateMultipleItemValuesPayload<any>): void;
|
|
405
405
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
406
406
|
activeCategoryTab: ItemCategory;
|
|
407
407
|
}): void;
|