@designcrowd/library.brand-page 5.12.17 → 5.12.18
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-SuRBYEOK.js → CreatedOnBrandCrowd-de-de-BEJZW9EU.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-nRsOUZ3P.js → CreatedOnBrandCrowd-en-us-DnqipZ0K.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-ClBEtWuB.js → CreatedOnBrandCrowd-es-es-DPH6Tvc7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-K4MC8Ylw.js → CreatedOnBrandCrowd-fr-fr-CwxOWdgN.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CVu8GWB4.js → CreatedOnBrandCrowd-pt-pt-HWDXi_vy.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CKGT_xy8.js → CreatedOnDcom-de-de-DeDtODBP.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-DwqjHxyq.js → CreatedOnDcom-en-us-CdgFJhDz.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BMx0XD9Y.js → CreatedOnDcom-es-es-Vt-agxSv.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-WgW2vbbI.js → CreatedOnDcom-fr-fr-CH_phXpq.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BZJmhI7K.js → CreatedOnDcom-pt-pt-BKuQlzwh.js} +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -5
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +0 -2
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +8 -1
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +0 -3
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +0 -5
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-CiOvr9QV.js → lib-DjMCRkcx.js} +369 -376
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -2
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -2
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -2
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -2
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -2
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +0 -2
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -2
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +0 -4
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +3 -12
- package/lib/src/shared/template-settings/store/template-settings-store.d.ts +0 -4
- package/lib/src/shared/template-settings/store/template-settings-store.js +0 -4
- package/package.json +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -1
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +8 -1
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +0 -7
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +3 -13
- package/src/shared/template-settings/store/template-settings-store.ts +0 -5
|
@@ -82,7 +82,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
eventButtonLocation?: string | undefined;
|
|
83
83
|
showPublishOptionModal?: boolean | undefined;
|
|
84
84
|
abTests: Record<string, string>;
|
|
85
|
-
logoBrandIndustry: string | undefined;
|
|
86
85
|
} & import("pinia").PiniaCustomStateProperties<import("../../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
87
86
|
isUserDraft: (state: {
|
|
88
87
|
availableTaxes: any[];
|
|
@@ -142,7 +141,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
142
141
|
eventButtonLocation?: string | undefined;
|
|
143
142
|
showPublishOptionModal?: boolean | undefined;
|
|
144
143
|
abTests: Record<string, string>;
|
|
145
|
-
logoBrandIndustry: string | undefined;
|
|
146
144
|
} & import("pinia").PiniaCustomStateProperties<import("../../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
147
145
|
}, {
|
|
148
146
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -247,7 +247,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
247
247
|
eventButtonLocation?: string | undefined;
|
|
248
248
|
showPublishOptionModal?: boolean | undefined;
|
|
249
249
|
abTests: Record<string, string>;
|
|
250
|
-
logoBrandIndustry: string | undefined;
|
|
251
250
|
} & import("pinia").PiniaCustomStateProperties<import("../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
252
251
|
isUserDraft: (state: {
|
|
253
252
|
availableTaxes: any[];
|
|
@@ -307,7 +306,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
307
306
|
eventButtonLocation?: string | undefined;
|
|
308
307
|
showPublishOptionModal?: boolean | undefined;
|
|
309
308
|
abTests: Record<string, string>;
|
|
310
|
-
logoBrandIndustry: string | undefined;
|
|
311
309
|
} & import("pinia").PiniaCustomStateProperties<import("../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
312
310
|
}, {
|
|
313
311
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -4504,7 +4504,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4504
4504
|
eventButtonLocation?: string | undefined;
|
|
4505
4505
|
showPublishOptionModal?: boolean | undefined;
|
|
4506
4506
|
abTests: Record<string, string>;
|
|
4507
|
-
logoBrandIndustry: string | undefined;
|
|
4508
4507
|
} & import("pinia").PiniaCustomStateProperties<import("../../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4509
4508
|
isUserDraft: (state: {
|
|
4510
4509
|
availableTaxes: any[];
|
|
@@ -4564,7 +4563,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4564
4563
|
eventButtonLocation?: string | undefined;
|
|
4565
4564
|
showPublishOptionModal?: boolean | undefined;
|
|
4566
4565
|
abTests: Record<string, string>;
|
|
4567
|
-
logoBrandIndustry: string | undefined;
|
|
4568
4566
|
} & import("pinia").PiniaCustomStateProperties<import("../../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4569
4567
|
}, {
|
|
4570
4568
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -3935,7 +3935,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3935
3935
|
eventButtonLocation?: string | undefined;
|
|
3936
3936
|
showPublishOptionModal?: boolean | undefined;
|
|
3937
3937
|
abTests: Record<string, string>;
|
|
3938
|
-
logoBrandIndustry: string | undefined;
|
|
3939
3938
|
} & import("pinia").PiniaCustomStateProperties<import("../../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
3940
3939
|
isUserDraft: (state: {
|
|
3941
3940
|
availableTaxes: any[];
|
|
@@ -3995,7 +3994,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3995
3994
|
eventButtonLocation?: string | undefined;
|
|
3996
3995
|
showPublishOptionModal?: boolean | undefined;
|
|
3997
3996
|
abTests: Record<string, string>;
|
|
3998
|
-
logoBrandIndustry: string | undefined;
|
|
3999
3997
|
} & import("pinia").PiniaCustomStateProperties<import("../../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4000
3998
|
}, {
|
|
4001
3999
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts
CHANGED
|
@@ -239,7 +239,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
239
239
|
eventButtonLocation?: string | undefined;
|
|
240
240
|
showPublishOptionModal?: boolean | undefined;
|
|
241
241
|
abTests: Record<string, string>;
|
|
242
|
-
logoBrandIndustry: string | undefined;
|
|
243
242
|
} & import("pinia").PiniaCustomStateProperties<import("../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
244
243
|
isUserDraft: (state: {
|
|
245
244
|
availableTaxes: any[];
|
|
@@ -299,7 +298,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
299
298
|
eventButtonLocation?: string | undefined;
|
|
300
299
|
showPublishOptionModal?: boolean | undefined;
|
|
301
300
|
abTests: Record<string, string>;
|
|
302
|
-
logoBrandIndustry: string | undefined;
|
|
303
301
|
} & import("pinia").PiniaCustomStateProperties<import("../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
304
302
|
}, {
|
|
305
303
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -75,7 +75,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
eventButtonLocation?: string | undefined;
|
|
76
76
|
showPublishOptionModal?: boolean | undefined;
|
|
77
77
|
abTests: Record<string, string>;
|
|
78
|
-
logoBrandIndustry: string | undefined;
|
|
79
78
|
} & import("pinia").PiniaCustomStateProperties<import("../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
80
79
|
isUserDraft: (state: {
|
|
81
80
|
availableTaxes: any[];
|
|
@@ -135,7 +134,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
134
|
eventButtonLocation?: string | undefined;
|
|
136
135
|
showPublishOptionModal?: boolean | undefined;
|
|
137
136
|
abTests: Record<string, string>;
|
|
138
|
-
logoBrandIndustry: string | undefined;
|
|
139
137
|
} & import("pinia").PiniaCustomStateProperties<import("../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
140
138
|
}, {
|
|
141
139
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -652,7 +652,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
652
652
|
eventButtonLocation?: string | undefined;
|
|
653
653
|
showPublishOptionModal?: boolean | undefined;
|
|
654
654
|
abTests: Record<string, string>;
|
|
655
|
-
logoBrandIndustry: string | undefined;
|
|
656
655
|
} & import("pinia").PiniaCustomStateProperties<import("../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
657
656
|
isUserDraft: (state: {
|
|
658
657
|
availableTaxes: any[];
|
|
@@ -712,7 +711,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
712
711
|
eventButtonLocation?: string | undefined;
|
|
713
712
|
showPublishOptionModal?: boolean | undefined;
|
|
714
713
|
abTests: Record<string, string>;
|
|
715
|
-
logoBrandIndustry: string | undefined;
|
|
716
714
|
} & import("pinia").PiniaCustomStateProperties<import("../../../brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
717
715
|
}, {
|
|
718
716
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -17,7 +17,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
17
|
displayName: string;
|
|
18
18
|
}>;
|
|
19
19
|
searchTerm: import("vue").ComputedRef<string | undefined>;
|
|
20
|
-
initialSearchTerm: import("vue").ComputedRef<string | undefined>;
|
|
21
20
|
selectedCategory: import("vue").ComputedRef<string | undefined>;
|
|
22
21
|
selectedTemplateId: import("vue").ComputedRef<string | false>;
|
|
23
22
|
templateCategories: import("vue").ComputedRef<{
|
|
@@ -512,9 +511,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
512
511
|
selectInitialTemplateCategory(payload: {
|
|
513
512
|
selectedCategory: string;
|
|
514
513
|
}): void;
|
|
515
|
-
setInitialSearchTerm(payload: {
|
|
516
|
-
initialSearchTerm: string;
|
|
517
|
-
}): void;
|
|
518
514
|
clearTemplates(): void;
|
|
519
515
|
getTemplateByTemplateId(id: string): TemplateSettingsTemplate | undefined;
|
|
520
516
|
}>;
|
|
@@ -27,7 +27,6 @@ export default defineComponent({
|
|
|
27
27
|
pageCount: computed(() => templateSettingsStore.pageCount),
|
|
28
28
|
selectedTab: computed(() => templateSettingsStore.selectedTab),
|
|
29
29
|
searchTerm: computed(() => templateSettingsStore.searchTerm),
|
|
30
|
-
initialSearchTerm: computed(() => templateSettingsStore.initialSearchTerm),
|
|
31
30
|
selectedCategory: computed(() => templateSettingsStore.selectedCategory),
|
|
32
31
|
selectedTemplateId: computed(() => brandpageMakerStore.selectedTemplateId),
|
|
33
32
|
templateCategories: computed(() => templateSettingsStore.templateCategories),
|
|
@@ -110,17 +109,9 @@ export default defineComponent({
|
|
|
110
109
|
async mounted() {
|
|
111
110
|
// load templates on mounted if it is not initialised
|
|
112
111
|
if (!this.pageCount) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
searchTerm: this.searchTextValue,
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
await this.templateSettingsStore.loadPageNo({
|
|
121
|
-
pageNo: TEMPLATE_FIRST_PAGE_NO,
|
|
122
|
-
});
|
|
123
|
-
}
|
|
112
|
+
await this.templateSettingsStore.loadPageNo({
|
|
113
|
+
pageNo: TEMPLATE_FIRST_PAGE_NO,
|
|
114
|
+
});
|
|
124
115
|
}
|
|
125
116
|
},
|
|
126
117
|
created() {
|
|
@@ -18,7 +18,6 @@ export interface TemplatesSettingState {
|
|
|
18
18
|
selectedCategory: string | undefined;
|
|
19
19
|
searchTerm: string | undefined;
|
|
20
20
|
tabsWithTranslations: SelectedTabType[];
|
|
21
|
-
initialSearchTerm: string | undefined;
|
|
22
21
|
}
|
|
23
22
|
export declare const useUiTemplateSettingsStore: import("pinia").StoreDefinition<"uiTemplateSettings", TemplatesSettingState, {}, {
|
|
24
23
|
_addTemplates({ templates }: {
|
|
@@ -68,9 +67,6 @@ export declare const useUiTemplateSettingsStore: import("pinia").StoreDefinition
|
|
|
68
67
|
selectInitialTemplateCategory(payload: {
|
|
69
68
|
selectedCategory: string;
|
|
70
69
|
}): void;
|
|
71
|
-
setInitialSearchTerm(payload: {
|
|
72
|
-
initialSearchTerm: string;
|
|
73
|
-
}): void;
|
|
74
70
|
clearTemplates(): void;
|
|
75
71
|
getTemplateByTemplateId(id: string): TemplateSettingsTemplate | undefined;
|
|
76
72
|
}>;
|
|
@@ -42,7 +42,6 @@ export const useUiTemplateSettingsStore = defineStore('uiTemplateSettings', {
|
|
|
42
42
|
displayName: templateSettingsTr(`headerAi`),
|
|
43
43
|
},
|
|
44
44
|
],
|
|
45
|
-
initialSearchTerm: undefined,
|
|
46
45
|
}),
|
|
47
46
|
actions: {
|
|
48
47
|
_addTemplates({ templates }) {
|
|
@@ -241,9 +240,6 @@ export const useUiTemplateSettingsStore = defineStore('uiTemplateSettings', {
|
|
|
241
240
|
});
|
|
242
241
|
}
|
|
243
242
|
},
|
|
244
|
-
setInitialSearchTerm(payload) {
|
|
245
|
-
this.initialSearchTerm = payload.initialSearchTerm;
|
|
246
|
-
},
|
|
247
243
|
clearTemplates() {
|
|
248
244
|
this.templates.splice(0);
|
|
249
245
|
this.pageNo = 0;
|
package/package.json
CHANGED
|
@@ -210,7 +210,14 @@ export const useRichTextEditor = (
|
|
|
210
210
|
content: model.value ?? '',
|
|
211
211
|
editable: !props.readOnly,
|
|
212
212
|
extensions: [
|
|
213
|
-
StarterKit
|
|
213
|
+
StarterKit.configure({
|
|
214
|
+
bulletList: false,
|
|
215
|
+
orderedList: false,
|
|
216
|
+
listItem: false,
|
|
217
|
+
horizontalRule: false,
|
|
218
|
+
codeBlock: false,
|
|
219
|
+
code: false,
|
|
220
|
+
}),
|
|
214
221
|
Underline,
|
|
215
222
|
TextStyle.configure({ mergeNestedSpanStyles: true }),
|
|
216
223
|
TextAlign.configure({
|
|
@@ -77,7 +77,6 @@ export interface BrandPageContainerState {
|
|
|
77
77
|
eventButtonLocation?: string;
|
|
78
78
|
showPublishOptionModal?: boolean; // select an option modal on publish
|
|
79
79
|
abTests: Record<string, string>;
|
|
80
|
-
logoBrandIndustry: string | undefined;
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
export type InitialisePayload = Omit<
|
|
@@ -143,7 +142,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
143
142
|
eventButtonLocation: undefined,
|
|
144
143
|
showPublishOptionModal: false,
|
|
145
144
|
abTests: {},
|
|
146
|
-
logoBrandIndustry: undefined,
|
|
147
145
|
};
|
|
148
146
|
},
|
|
149
147
|
actions: {
|
|
@@ -178,7 +176,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
181
|
-
const templateSettingsStore = useUiTemplateSettingsStore();
|
|
182
179
|
|
|
183
180
|
this.brandPageBaseUrl = payload.brandPageBaseUrl;
|
|
184
181
|
this.baseFabricRenderUrl = localisedRouteStore.baseFabricRenderDomain;
|
|
@@ -217,10 +214,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
217
214
|
|
|
218
215
|
const logoStore = useLogoStore();
|
|
219
216
|
|
|
220
|
-
templateSettingsStore.setInitialSearchTerm({
|
|
221
|
-
initialSearchTerm: payload.logoBrandIndustry ?? '',
|
|
222
|
-
});
|
|
223
|
-
|
|
224
217
|
logoStore.initialise({
|
|
225
218
|
logoTemplateAsset: payload.logoTemplateAsset,
|
|
226
219
|
logoDraftAssets: payload.logoDraftAssets || [],
|
|
@@ -44,9 +44,6 @@ export default defineComponent({
|
|
|
44
44
|
pageCount: computed(() => templateSettingsStore.pageCount),
|
|
45
45
|
selectedTab: computed(() => templateSettingsStore.selectedTab),
|
|
46
46
|
searchTerm: computed(() => templateSettingsStore.searchTerm),
|
|
47
|
-
initialSearchTerm: computed(
|
|
48
|
-
() => templateSettingsStore.initialSearchTerm,
|
|
49
|
-
),
|
|
50
47
|
selectedCategory: computed(() => templateSettingsStore.selectedCategory),
|
|
51
48
|
selectedTemplateId: computed(
|
|
52
49
|
() => brandpageMakerStore.selectedTemplateId,
|
|
@@ -160,16 +157,9 @@ export default defineComponent({
|
|
|
160
157
|
async mounted() {
|
|
161
158
|
// load templates on mounted if it is not initialised
|
|
162
159
|
if (!this.pageCount) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
searchTerm: this.searchTextValue,
|
|
167
|
-
});
|
|
168
|
-
} else {
|
|
169
|
-
await this.templateSettingsStore.loadPageNo({
|
|
170
|
-
pageNo: TEMPLATE_FIRST_PAGE_NO,
|
|
171
|
-
});
|
|
172
|
-
}
|
|
160
|
+
await this.templateSettingsStore.loadPageNo({
|
|
161
|
+
pageNo: TEMPLATE_FIRST_PAGE_NO,
|
|
162
|
+
});
|
|
173
163
|
}
|
|
174
164
|
},
|
|
175
165
|
created() {
|
|
@@ -53,7 +53,6 @@ export interface TemplatesSettingState {
|
|
|
53
53
|
selectedCategory: string | undefined;
|
|
54
54
|
searchTerm: string | undefined;
|
|
55
55
|
tabsWithTranslations: SelectedTabType[];
|
|
56
|
-
initialSearchTerm: string | undefined;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
export const useUiTemplateSettingsStore = defineStore('uiTemplateSettings', {
|
|
@@ -86,7 +85,6 @@ export const useUiTemplateSettingsStore = defineStore('uiTemplateSettings', {
|
|
|
86
85
|
displayName: templateSettingsTr(`headerAi`),
|
|
87
86
|
},
|
|
88
87
|
],
|
|
89
|
-
initialSearchTerm: undefined,
|
|
90
88
|
}),
|
|
91
89
|
actions: {
|
|
92
90
|
_addTemplates({ templates }: { templates: TemplateSettingsTemplate[] }) {
|
|
@@ -358,9 +356,6 @@ export const useUiTemplateSettingsStore = defineStore('uiTemplateSettings', {
|
|
|
358
356
|
});
|
|
359
357
|
}
|
|
360
358
|
},
|
|
361
|
-
setInitialSearchTerm(payload: { initialSearchTerm: string }) {
|
|
362
|
-
this.initialSearchTerm = payload.initialSearchTerm;
|
|
363
|
-
},
|
|
364
359
|
clearTemplates() {
|
|
365
360
|
this.templates.splice(0);
|
|
366
361
|
this.pageNo = 0;
|