@toototech/webbuilder-plugins 0.1.0
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/LICENSE +1 -0
- package/README.md +3 -0
- package/dist/basic/cssScope.d.ts +3 -0
- package/dist/basic/index.d.ts +81 -0
- package/dist/basic/injectStyle.d.ts +20 -0
- package/dist/basic/plugin.d.ts +19 -0
- package/dist/basic/publisher.d.ts +4 -0
- package/dist/basic/registries/interactive/accordion/index.d.ts +3 -0
- package/dist/basic/registries/interactive/backButton/index.d.ts +3 -0
- package/dist/basic/registries/interactive/button/index.d.ts +10 -0
- package/dist/basic/registries/interactive/countUp/index.d.ts +9 -0
- package/dist/basic/registries/interactive/customCode/index.d.ts +3 -0
- package/dist/basic/registries/interactive/index.d.ts +2 -0
- package/dist/basic/registries/interactive/inquiryForm/index.d.ts +3 -0
- package/dist/basic/registries/interactive/klaviyoSubscribe/index.d.ts +3 -0
- package/dist/basic/registries/interactive/popup/index.d.ts +5 -0
- package/dist/basic/registries/interactive/salesmartlyChatButton/index.d.ts +10 -0
- package/dist/basic/registries/interactive/search/index.d.ts +10 -0
- package/dist/basic/registries/interactive/socialShare/index.d.ts +33 -0
- package/dist/basic/registries/interactive/tabs/index.d.ts +3 -0
- package/dist/basic/registries/layout/container/index.d.ts +19 -0
- package/dist/basic/registries/layout/divider/index.d.ts +7 -0
- package/dist/basic/registries/layout/grid/index.d.ts +11 -0
- package/dist/basic/registries/layout/index.d.ts +2 -0
- package/dist/basic/registries/layout/layoutBase/index.d.ts +10 -0
- package/dist/basic/registries/layout/section/index.d.ts +3 -0
- package/dist/basic/registries/layout/sectionGridBlock/index.d.ts +3 -0
- package/dist/basic/registries/layout/spacer/index.d.ts +7 -0
- package/dist/basic/registries/media/banner/index.d.ts +11 -0
- package/dist/basic/registries/media/carousel/index.d.ts +6 -0
- package/dist/basic/registries/media/flipbook/index.d.ts +5 -0
- package/dist/basic/registries/media/icon/index.d.ts +3 -0
- package/dist/basic/registries/media/image/index.d.ts +3 -0
- package/dist/basic/registries/media/index.d.ts +2 -0
- package/dist/basic/registries/media/industryTabs/index.d.ts +3 -0
- package/dist/basic/registries/media/marquee/index.d.ts +4 -0
- package/dist/basic/registries/media/ourSolutions/helpers.d.ts +289 -0
- package/dist/basic/registries/media/ourSolutions/index.d.ts +4 -0
- package/dist/basic/registries/media/ourSolutions/script.d.ts +1 -0
- package/dist/basic/registries/media/ourSolutions/style.d.ts +1 -0
- package/dist/basic/registries/media/pdfViewer/index.d.ts +3 -0
- package/dist/basic/registries/media/productCategories/index.d.ts +4 -0
- package/dist/basic/registries/media/tabMediaGallery/index.d.ts +3 -0
- package/dist/basic/registries/media/video/index.d.ts +12 -0
- package/dist/basic/registries/navigation/footer/index.d.ts +10 -0
- package/dist/basic/registries/navigation/index.d.ts +2 -0
- package/dist/basic/registries/navigation/languageSwitcher/index.d.ts +6 -0
- package/dist/basic/registries/navigation/logo/index.d.ts +9 -0
- package/dist/basic/registries/navigation/navbar/constants.d.ts +38 -0
- package/dist/basic/registries/navigation/navbar/factories.d.ts +848 -0
- package/dist/basic/registries/navigation/navbar/helpers.d.ts +12 -0
- package/dist/basic/registries/navigation/navbar/index.d.ts +4 -0
- package/dist/basic/registries/navigation/navbar/registerMegaTypes.d.ts +2 -0
- package/dist/basic/registries/navigation/navbar/registerMenuTypes.d.ts +2 -0
- package/dist/basic/registries/navigation/navbar/registerRootTypes.d.ts +2 -0
- package/dist/basic/registries/navigation/navbar/script.d.ts +1 -0
- package/dist/basic/registries/navigation/navbar/style.d.ts +1 -0
- package/dist/basic/registries/navigation/socialLinks/index.d.ts +3 -0
- package/dist/basic/registries/section/allApplications/index.d.ts +3 -0
- package/dist/basic/registries/section/cardCarouselSection/index.d.ts +3 -0
- package/dist/basic/registries/section/caseSpotlight/index.d.ts +3 -0
- package/dist/basic/registries/section/companyScale/index.d.ts +3 -0
- package/dist/basic/registries/section/customizationGrid/index.d.ts +3 -0
- package/dist/basic/registries/section/factoryMap/index.d.ts +3 -0
- package/dist/basic/registries/section/focaHistoryTimeline/index.d.ts +3 -0
- package/dist/basic/registries/section/historyTimeline/index.d.ts +3 -0
- package/dist/basic/registries/section/homeBannerCarousel/index.d.ts +4 -0
- package/dist/basic/registries/section/hotspotShowcase/index.d.ts +30 -0
- package/dist/basic/registries/section/index.d.ts +2 -0
- package/dist/basic/registries/section/map/index.d.ts +4 -0
- package/dist/basic/registries/section/milestoneCardStrip/index.d.ts +3 -0
- package/dist/basic/registries/section/moreCardCarousel/index.d.ts +3 -0
- package/dist/basic/registries/section/ourAdvantages/index.d.ts +4 -0
- package/dist/basic/registries/section/overviewSplit/index.d.ts +3 -0
- package/dist/basic/registries/section/processTimeline/index.d.ts +3 -0
- package/dist/basic/registries/section/productCardStrip/index.d.ts +3 -0
- package/dist/basic/registries/section/resourceSection/index.d.ts +6 -0
- package/dist/basic/registries/section/responsiveHeroCarousel/index.d.ts +4 -0
- package/dist/basic/registries/section/serviceIconGrid/index.d.ts +4 -0
- package/dist/basic/registries/section/servicesCarousel/index.d.ts +4 -0
- package/dist/basic/registries/section/servicesShowcase/index.d.ts +4 -0
- package/dist/basic/registries/section/servicesThb/index.d.ts +4 -0
- package/dist/basic/registries/section/solutionList/index.d.ts +4 -0
- package/dist/basic/registries/section/staticPinMap/index.d.ts +4 -0
- package/dist/basic/registries/section/statsCards/index.d.ts +3 -0
- package/dist/basic/registries/section/swiperRuntime.d.ts +3 -0
- package/dist/basic/registries/shared/sharedTraits.d.ts +37 -0
- package/dist/basic/registries/types.d.ts +5 -0
- package/dist/basic/registries/typography/heading/index.d.ts +8 -0
- package/dist/basic/registries/typography/index.d.ts +2 -0
- package/dist/basic/registries/typography/textEditor/index.d.ts +6 -0
- package/dist/basic/registryManifest.d.ts +9 -0
- package/dist/basic/styleHelpers.d.ts +29 -0
- package/dist/basic/svgIcon.d.ts +11 -0
- package/dist/basic/traitBridge.d.ts +20 -0
- package/dist/basic/traitFactory.d.ts +106 -0
- package/dist/basic.js +1146 -0
- package/dist/cms/cmsFactory.d.ts +164 -0
- package/dist/cms/dynamicRenderPipeline.d.ts +12 -0
- package/dist/cms/index.d.ts +31 -0
- package/dist/cms/plugin.d.ts +12 -0
- package/dist/cms/publisher.d.ts +7 -0
- package/dist/cms/registries/dynamic/cms/constants.d.ts +16 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/bindings.d.ts +78 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/breadcrumbBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/conditionalBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/datetimeBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/htmlBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/imageBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/linkBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/seoBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/textBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/blocks/tocBlock.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/constants.d.ts +19 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/helpers.d.ts +52 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/registerBlock.d.ts +57 -0
- package/dist/cms/registries/dynamic/cms/dynamicField/styles.d.ts +7 -0
- package/dist/cms/registries/dynamic/cms/media/previewMediaTrait.d.ts +7 -0
- package/dist/cms/registries/dynamic/cms/menu/siteMenuAttrs.d.ts +11 -0
- package/dist/cms/registries/dynamic/cms/menuTree/menuTreeAttrs.d.ts +8 -0
- package/dist/cms/registries/dynamic/cms/post/styles.d.ts +6 -0
- package/dist/cms/registries/dynamic/cms/product/detail.styles.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/product/detailV2.styles.d.ts +1 -0
- package/dist/cms/registries/dynamic/cms/product/previewProductTrait.d.ts +6 -0
- package/dist/cms/registries/dynamic/cms/product/styles.d.ts +6 -0
- package/dist/cms/registries/dynamic/dataProvider.d.ts +45 -0
- package/dist/cms/registries/dynamic/loopGrid/paginationStyles.d.ts +5 -0
- package/dist/cms/registries/dynamic/loopGrid/preview.d.ts +16 -0
- package/dist/cms/registries/dynamic/loopGrid/publisher.d.ts +3 -0
- package/dist/cms/registries/dynamic/loopGrid/types.d.ts +97 -0
- package/dist/cms/registries/navigation/navbarThb/index.d.ts +3 -0
- package/dist/cms/registries/navigation/navbarThb/script.d.ts +1 -0
- package/dist/cms/registries/navigation/navbarThb/style.d.ts +1 -0
- package/dist/cms.js +4535 -0
- package/dist/global-settings/components/FontFamilySelect.vue.d.ts +29 -0
- package/dist/global-settings/components/FontManagerPanel.vue.d.ts +37 -0
- package/dist/global-settings/index.d.ts +8 -0
- package/dist/global-settings/plugin.d.ts +3 -0
- package/dist/global-settings/publisher.d.ts +15 -0
- package/dist/global-settings/runtime/canvasInjection.d.ts +13 -0
- package/dist/global-settings/runtime/panelDraftSave.d.ts +17 -0
- package/dist/global-settings/runtime/settingsSource.d.ts +4 -0
- package/dist/global-settings/useFontManager.d.ts +38 -0
- package/dist/global-settings/useGoogleFonts.d.ts +20 -0
- package/dist/global-settings/vue.d.ts +1 -0
- package/dist/global-settings.js +66 -0
- package/dist/i18n/I18nPanel.vue.d.ts +23 -0
- package/dist/i18n/i18n.d.ts +25 -0
- package/dist/i18n/index.d.ts +7 -0
- package/dist/i18n/languageOrder.d.ts +9 -0
- package/dist/i18n/plugin.d.ts +21 -0
- package/dist/i18n/types.d.ts +101 -0
- package/dist/i18n/useWebBuilderI18n.d.ts +164 -0
- package/dist/i18n/vue.d.ts +1 -0
- package/dist/i18n-BYR3l48y.js +959 -0
- package/dist/i18n.js +929 -0
- package/dist/index-CxJlLwvG.js +35378 -0
- package/dist/index-DWfJ4PBm.js +5724 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +12 -0
- package/dist/layout-template/components/LayoutPanel.vue.d.ts +37 -0
- package/dist/layout-template/components/TemplateRulesPanel.vue.d.ts +41 -0
- package/dist/layout-template/config/layoutSharedResources.d.ts +9 -0
- package/dist/layout-template/config/templateSharedResources.d.ts +28 -0
- package/dist/layout-template/index.d.ts +9 -0
- package/dist/layout-template/plugin.d.ts +13 -0
- package/dist/layout-template/runtime/storageAdapter.d.ts +49 -0
- package/dist/layout-template/utils/layoutProjectData.d.ts +15 -0
- package/dist/layout-template/utils/layoutRulePages.d.ts +19 -0
- package/dist/layout-template/utils/layoutSettings.d.ts +45 -0
- package/dist/layout-template/utils/templateRules.d.ts +52 -0
- package/dist/layout-template/vue.d.ts +2 -0
- package/dist/layout-template.js +435 -0
- package/dist/layoutSettings-D4SYUMri.js +252 -0
- package/dist/plugin-BPA8qlaC.js +40 -0
- package/dist/plugin-C0PrxrIe.js +228 -0
- package/dist/plugin-DQshk1sY.js +361 -0
- package/dist/plugin-DebyCjXx.js +191 -0
- package/dist/plugin-Dr6TOtyH.js +73 -0
- package/dist/publisher/index.d.ts +5 -0
- package/dist/publisher/publisherAssets.d.ts +9 -0
- package/dist/publisher/publisherComponents.d.ts +7 -0
- package/dist/publisher/publisherPlugins.d.ts +12 -0
- package/dist/publisher-C6VWXq8u.js +25 -0
- package/dist/publisher.js +1711 -0
- package/dist/solar-BsElUqfQ.js +29843 -0
- package/dist/style.css +1181 -0
- package/dist/templateSharedResources-D1u7eFIs.js +89 -0
- package/dist/types-DNbok59z.js +2359 -0
- package/dist/useFontManager-CdrLq1eG.js +336 -0
- package/dist/vue.d.ts +3 -0
- package/dist/vue.js +2171 -0
- package/package.json +77 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import type { Editor } from 'grapesjs';
|
|
2
|
+
export declare const WB_OUR_SOLUTIONS_TYPE = "wb-our-solutions";
|
|
3
|
+
export declare const WB_OUR_SOLUTIONS_ITEM_TYPE = "wb-our-solutions-item";
|
|
4
|
+
type SolutionItem = {
|
|
5
|
+
title: string;
|
|
6
|
+
image: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
linkText?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function getOurSolutionsSlideTraits(): any[];
|
|
11
|
+
export declare function findChildByClass(model: any, className: string | string[]): any;
|
|
12
|
+
export declare function buildSolutionSlideContent(item: SolutionItem): ({
|
|
13
|
+
tagName: string;
|
|
14
|
+
type: string;
|
|
15
|
+
selectable: boolean;
|
|
16
|
+
layerable: boolean;
|
|
17
|
+
droppable: boolean;
|
|
18
|
+
attributes: {
|
|
19
|
+
class: string;
|
|
20
|
+
src: string;
|
|
21
|
+
alt: string;
|
|
22
|
+
};
|
|
23
|
+
components?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
tagName: string;
|
|
26
|
+
selectable: boolean;
|
|
27
|
+
layerable: boolean;
|
|
28
|
+
droppable: boolean;
|
|
29
|
+
attributes: {
|
|
30
|
+
class: string;
|
|
31
|
+
src?: undefined;
|
|
32
|
+
alt?: undefined;
|
|
33
|
+
};
|
|
34
|
+
components: ({
|
|
35
|
+
tagName: string;
|
|
36
|
+
type: string;
|
|
37
|
+
selectable: boolean;
|
|
38
|
+
layerable: boolean;
|
|
39
|
+
droppable: boolean;
|
|
40
|
+
attributes: {
|
|
41
|
+
class: string;
|
|
42
|
+
href?: undefined;
|
|
43
|
+
};
|
|
44
|
+
components: string;
|
|
45
|
+
} | {
|
|
46
|
+
tagName: string;
|
|
47
|
+
selectable: boolean;
|
|
48
|
+
layerable: boolean;
|
|
49
|
+
droppable: boolean;
|
|
50
|
+
attributes: {
|
|
51
|
+
class: string;
|
|
52
|
+
href: string;
|
|
53
|
+
};
|
|
54
|
+
components: string;
|
|
55
|
+
type?: undefined;
|
|
56
|
+
})[];
|
|
57
|
+
type?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
export declare function buildSolutionSlideDef(item: SolutionItem): {
|
|
60
|
+
type: string;
|
|
61
|
+
tagName: string;
|
|
62
|
+
selectable: boolean;
|
|
63
|
+
layerable: boolean;
|
|
64
|
+
droppable: boolean;
|
|
65
|
+
osTitle: string;
|
|
66
|
+
osImageSrc: string;
|
|
67
|
+
osHref: string;
|
|
68
|
+
osLinkText: string;
|
|
69
|
+
attributes: {
|
|
70
|
+
class: string;
|
|
71
|
+
'data-title': string;
|
|
72
|
+
'data-link-href': string;
|
|
73
|
+
'data-link-text': string;
|
|
74
|
+
};
|
|
75
|
+
components: ({
|
|
76
|
+
tagName: string;
|
|
77
|
+
type: string;
|
|
78
|
+
selectable: boolean;
|
|
79
|
+
layerable: boolean;
|
|
80
|
+
droppable: boolean;
|
|
81
|
+
attributes: {
|
|
82
|
+
class: string;
|
|
83
|
+
src: string;
|
|
84
|
+
alt: string;
|
|
85
|
+
};
|
|
86
|
+
components?: undefined;
|
|
87
|
+
} | {
|
|
88
|
+
tagName: string;
|
|
89
|
+
selectable: boolean;
|
|
90
|
+
layerable: boolean;
|
|
91
|
+
droppable: boolean;
|
|
92
|
+
attributes: {
|
|
93
|
+
class: string;
|
|
94
|
+
src?: undefined;
|
|
95
|
+
alt?: undefined;
|
|
96
|
+
};
|
|
97
|
+
components: ({
|
|
98
|
+
tagName: string;
|
|
99
|
+
type: string;
|
|
100
|
+
selectable: boolean;
|
|
101
|
+
layerable: boolean;
|
|
102
|
+
droppable: boolean;
|
|
103
|
+
attributes: {
|
|
104
|
+
class: string;
|
|
105
|
+
href?: undefined;
|
|
106
|
+
};
|
|
107
|
+
components: string;
|
|
108
|
+
} | {
|
|
109
|
+
tagName: string;
|
|
110
|
+
selectable: boolean;
|
|
111
|
+
layerable: boolean;
|
|
112
|
+
droppable: boolean;
|
|
113
|
+
attributes: {
|
|
114
|
+
class: string;
|
|
115
|
+
href: string;
|
|
116
|
+
};
|
|
117
|
+
components: string;
|
|
118
|
+
type?: undefined;
|
|
119
|
+
})[];
|
|
120
|
+
type?: undefined;
|
|
121
|
+
})[];
|
|
122
|
+
};
|
|
123
|
+
export declare function buildOurSolutionsTree(): {
|
|
124
|
+
tagName: string;
|
|
125
|
+
selectable: boolean;
|
|
126
|
+
layerable: boolean;
|
|
127
|
+
droppable: boolean;
|
|
128
|
+
attributes: {
|
|
129
|
+
class: string;
|
|
130
|
+
};
|
|
131
|
+
components: ({
|
|
132
|
+
tagName: string;
|
|
133
|
+
type: string;
|
|
134
|
+
selectable: boolean;
|
|
135
|
+
layerable: boolean;
|
|
136
|
+
droppable: boolean;
|
|
137
|
+
attributes: {
|
|
138
|
+
class: string;
|
|
139
|
+
};
|
|
140
|
+
components: string;
|
|
141
|
+
} | {
|
|
142
|
+
tagName: string;
|
|
143
|
+
selectable: boolean;
|
|
144
|
+
layerable: boolean;
|
|
145
|
+
droppable: boolean;
|
|
146
|
+
attributes: {
|
|
147
|
+
class: string;
|
|
148
|
+
};
|
|
149
|
+
components: {
|
|
150
|
+
tagName: string;
|
|
151
|
+
selectable: boolean;
|
|
152
|
+
layerable: boolean;
|
|
153
|
+
droppable: boolean;
|
|
154
|
+
attributes: {
|
|
155
|
+
class: string;
|
|
156
|
+
href: string;
|
|
157
|
+
};
|
|
158
|
+
components: string;
|
|
159
|
+
}[];
|
|
160
|
+
type?: undefined;
|
|
161
|
+
} | {
|
|
162
|
+
tagName: string;
|
|
163
|
+
selectable: boolean;
|
|
164
|
+
layerable: boolean;
|
|
165
|
+
droppable: boolean;
|
|
166
|
+
attributes: {
|
|
167
|
+
class: string;
|
|
168
|
+
};
|
|
169
|
+
components: ({
|
|
170
|
+
tagName: string;
|
|
171
|
+
selectable: boolean;
|
|
172
|
+
layerable: boolean;
|
|
173
|
+
droppable: boolean;
|
|
174
|
+
attributes: {
|
|
175
|
+
class: string;
|
|
176
|
+
};
|
|
177
|
+
components: {
|
|
178
|
+
tagName: string;
|
|
179
|
+
selectable: boolean;
|
|
180
|
+
layerable: boolean;
|
|
181
|
+
droppable: boolean;
|
|
182
|
+
attributes: {
|
|
183
|
+
class: string;
|
|
184
|
+
};
|
|
185
|
+
components: {
|
|
186
|
+
type: string;
|
|
187
|
+
tagName: string;
|
|
188
|
+
selectable: boolean;
|
|
189
|
+
layerable: boolean;
|
|
190
|
+
droppable: boolean;
|
|
191
|
+
osTitle: string;
|
|
192
|
+
osImageSrc: string;
|
|
193
|
+
osHref: string;
|
|
194
|
+
osLinkText: string;
|
|
195
|
+
attributes: {
|
|
196
|
+
class: string;
|
|
197
|
+
'data-title': string;
|
|
198
|
+
'data-link-href': string;
|
|
199
|
+
'data-link-text': string;
|
|
200
|
+
};
|
|
201
|
+
components: ({
|
|
202
|
+
tagName: string;
|
|
203
|
+
type: string;
|
|
204
|
+
selectable: boolean;
|
|
205
|
+
layerable: boolean;
|
|
206
|
+
droppable: boolean;
|
|
207
|
+
attributes: {
|
|
208
|
+
class: string;
|
|
209
|
+
src: string;
|
|
210
|
+
alt: string;
|
|
211
|
+
};
|
|
212
|
+
components?: undefined;
|
|
213
|
+
} | {
|
|
214
|
+
tagName: string;
|
|
215
|
+
selectable: boolean;
|
|
216
|
+
layerable: boolean;
|
|
217
|
+
droppable: boolean;
|
|
218
|
+
attributes: {
|
|
219
|
+
class: string;
|
|
220
|
+
src?: undefined;
|
|
221
|
+
alt?: undefined;
|
|
222
|
+
};
|
|
223
|
+
components: ({
|
|
224
|
+
tagName: string;
|
|
225
|
+
type: string;
|
|
226
|
+
selectable: boolean;
|
|
227
|
+
layerable: boolean;
|
|
228
|
+
droppable: boolean;
|
|
229
|
+
attributes: {
|
|
230
|
+
class: string;
|
|
231
|
+
href?: undefined;
|
|
232
|
+
};
|
|
233
|
+
components: string;
|
|
234
|
+
} | {
|
|
235
|
+
tagName: string;
|
|
236
|
+
selectable: boolean;
|
|
237
|
+
layerable: boolean;
|
|
238
|
+
droppable: boolean;
|
|
239
|
+
attributes: {
|
|
240
|
+
class: string;
|
|
241
|
+
href: string;
|
|
242
|
+
};
|
|
243
|
+
components: string;
|
|
244
|
+
type?: undefined;
|
|
245
|
+
})[];
|
|
246
|
+
type?: undefined;
|
|
247
|
+
})[];
|
|
248
|
+
}[];
|
|
249
|
+
}[];
|
|
250
|
+
} | {
|
|
251
|
+
tagName: string;
|
|
252
|
+
selectable: boolean;
|
|
253
|
+
layerable: boolean;
|
|
254
|
+
droppable: boolean;
|
|
255
|
+
attributes: {
|
|
256
|
+
class: string;
|
|
257
|
+
};
|
|
258
|
+
components: {
|
|
259
|
+
tagName: string;
|
|
260
|
+
selectable: boolean;
|
|
261
|
+
layerable: boolean;
|
|
262
|
+
droppable: boolean;
|
|
263
|
+
attributes: {
|
|
264
|
+
class: string;
|
|
265
|
+
};
|
|
266
|
+
components: string;
|
|
267
|
+
}[];
|
|
268
|
+
} | {
|
|
269
|
+
tagName: string;
|
|
270
|
+
selectable: boolean;
|
|
271
|
+
layerable: boolean;
|
|
272
|
+
droppable: boolean;
|
|
273
|
+
attributes: {
|
|
274
|
+
class: string;
|
|
275
|
+
};
|
|
276
|
+
components?: undefined;
|
|
277
|
+
})[];
|
|
278
|
+
type?: undefined;
|
|
279
|
+
})[];
|
|
280
|
+
}[];
|
|
281
|
+
export declare function resolveRoot(editor: Editor, traitCtx?: any): any;
|
|
282
|
+
export declare function writeText(component: any, value: string): void;
|
|
283
|
+
export declare function getSlides(root: any): any[];
|
|
284
|
+
export declare function syncRootContent(model: any): void;
|
|
285
|
+
export declare function syncSolutionItem(model: any): void;
|
|
286
|
+
export declare function addSolutionItem(root: any): void;
|
|
287
|
+
export declare function removeSolutionItem(root: any, index: number): void;
|
|
288
|
+
export declare function getOurSolutionsSlideRoot(component: any): any;
|
|
289
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function makeOurSolutionsScript(): (this: HTMLElement) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SOLUTIONS_CSS = "\n .wb-our-solutions {\n background: #f7f8fa;\n padding: 64px 0 80px;\n overflow: hidden;\n --swiper-pagination-bullet-width: 44px;\n --swiper-pagination-bullet-height: 2px;\n --swiper-pagination-bullet-border-radius: 0;\n --swiper-pagination-bullet-horizontal-gap: 0;\n --swiper-pagination-color: #000;\n }\n .wb-our-solutions__container {\n max-width: 1352px;\n margin: 0 auto;\n padding: 0 20px;\n box-sizing: border-box;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas:\n \"title actions\"\n \"carousel carousel\";\n align-items: center;\n column-gap: 24px;\n row-gap: 40px;\n }\n .wb-our-solutions__title {\n grid-area: title;\n margin: 0;\n font-size: 48px;\n line-height: 1.2;\n font-weight: 600;\n color: #000a11;\n }\n .wb-our-solutions__actions {\n grid-area: actions;\n display: flex;\n gap: 16px;\n justify-self: end;\n }\n .wb-our-solutions__btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 12px 28px;\n font-size: 16px;\n font-weight: 500;\n color: #000a11;\n text-decoration: none;\n transition: opacity 0.3s ease;\n }\n .wb-our-solutions__btn:hover {\n opacity: 0.85;\n }\n .wb-our-solutions__btn--primary {\n background: #ffd200;\n border: none;\n }\n .wb-our-solutions__btn--outline {\n color: #003152;\n border: 1px solid #003152;\n }\n .wb-our-solutions__carousel-wrap {\n grid-area: carousel;\n position: relative;\n min-width: 0;\n padding-bottom: 48px;\n }\n .wb-our-solutions__swiper.swiper {\n overflow: visible;\n }\n .wb-our-solutions__slide.swiper-slide {\n position: relative;\n overflow: hidden;\n aspect-ratio: 800 / 528;\n width: 800px;\n }\n .wb-our-solutions__slide-img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n }\n .wb-our-solutions__slide-overlay {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n padding: 32px;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n gap: 24px;\n }\n .wb-our-solutions__slide-title {\n margin: 0;\n max-width: 320px;\n font-size: 28px;\n line-height: 1.4;\n font-weight: 500;\n color: #ffffff;\n }\n .wb-our-solutions__slide-link {\n align-self: flex-end;\n flex-shrink: 0;\n font-size: 14px;\n color: #ffffff;\n text-decoration: none;\n border-bottom: 1px solid rgba(255, 255, 255, 0.6);\n padding-bottom: 2px;\n }\n .wb-our-solutions__slide-link:hover {\n border-color: #ffffff;\n }\n .wb-our-solutions__pagination {\n text-align: center;\n }\n .wb-our-solutions__nav-prev,\n .wb-our-solutions__nav-next {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 10;\n width: 48px;\n height: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #768389;\n cursor: pointer;\n transition: color 0.3s ease;\n font-size: 40px;\n }\n .wb-our-solutions__nav-prev { left: -56px; }\n .wb-our-solutions__nav-next { right: -56px; }\n .wb-our-solutions__nav-icon {\n width: 32px;\n height: 32px;\n }\n .wb-our-solutions__nav-icon .icon {\n width: 1em;\n height: 1em;\n }\n @media (max-width: 767px) {\n .wb-our-solutions {\n padding: 40px 0 56px;\n --swiper-pagination-bullet-width: 32px;\n }\n .wb-our-solutions__container {\n grid-template-columns: 1fr;\n grid-template-areas:\n \"title\"\n \"carousel\"\n \"actions\";\n row-gap: 24px;\n }\n .wb-our-solutions__title {\n font-size: 28px;\n }\n .wb-our-solutions__actions {\n width: 100%;\n gap: 12px;\n justify-self: stretch;\n justify-content: center;\n }\n .wb-our-solutions__btn {\n padding: 10px 20px;\n font-size: 14px;\n }\n .wb-our-solutions__slide.swiper-slide {\n width: 100%;\n }\n .wb-our-solutions__slide-overlay {\n padding: 20px;\n }\n .wb-our-solutions__slide-title {\n font-size: 20px;\n }\n .wb-our-solutions__carousel-wrap {\n padding-bottom: 32px;\n }\n .wb-our-solutions__nav-prev,\n .wb-our-solutions__nav-next {\n color: #ffffff;\n width: auto;\n height: auto;\n font-size: 24px;\n margin-top: -16px;\n }\n .wb-our-solutions__nav-prev { left: 8px; }\n .wb-our-solutions__nav-next { right: 8px; }\n .wb-our-solutions__pagination {\n margin-top: 24px;\n }\n }\n";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Editor } from 'grapesjs';
|
|
2
|
+
export declare const WB_PRODUCT_CATEGORIES_TYPE = "wb-product-categories";
|
|
3
|
+
export declare const WB_PRODUCT_CATEGORY_ITEM_TYPE = "wb-product-category-item";
|
|
4
|
+
export declare function registerProductCategoriesComponent(editor: Editor): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* video.ts — Video Modal Player 组件
|
|
3
|
+
*
|
|
4
|
+
* 封面图 + 播放按钮,点击后弹窗播放视频。
|
|
5
|
+
* 支持从素材库选取封面图和本地视频。
|
|
6
|
+
* 支持外部视频链接(YouTube embed / 其他 iframe URL)。
|
|
7
|
+
*
|
|
8
|
+
* Traits: 视频来源(本地/外部)、视频 URL、封面图、播放图标样式、播放图标大小
|
|
9
|
+
*/
|
|
10
|
+
import type { Editor } from 'grapesjs';
|
|
11
|
+
export declare const WB_VIDEO_TYPE = "wb-video";
|
|
12
|
+
export declare function registerVideoComponent(editor: Editor): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* footer.ts — Footer block component
|
|
3
|
+
*
|
|
4
|
+
* Structure: Logo top → Contact + Nav columns → Bottom bar
|
|
5
|
+
* Uses native CSS with hover animations and mobile-responsive layout.
|
|
6
|
+
*/
|
|
7
|
+
import type { Editor } from 'grapesjs';
|
|
8
|
+
export declare function registerFooter(editor: Editor): void;
|
|
9
|
+
export declare const WB_FOOTER_TYPE = "footer-section";
|
|
10
|
+
export declare function registerFooterComponent(editor: import('grapesjs').Editor): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Editor } from 'grapesjs';
|
|
2
|
+
export declare const WB_LANGUAGE_SWITCHER_TYPE = "wb-language-switcher";
|
|
3
|
+
export declare function createLanguageSwitcherBlockContent(): {
|
|
4
|
+
type: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function registerLanguageSwitcherComponent(editor: Editor): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* logo.ts — Logo block
|
|
3
|
+
*
|
|
4
|
+
* An <a> wrapping an <img>. Traits: href (default "/") and target.
|
|
5
|
+
*/
|
|
6
|
+
import type { Editor } from 'grapesjs';
|
|
7
|
+
export declare function registerLogo(editor: Editor): void;
|
|
8
|
+
export declare const WB_LOGO_TYPE = "logo-brand";
|
|
9
|
+
export declare function registerLogoComponent(editor: import('grapesjs').Editor): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const TYPE_NAVBAR = "navbar";
|
|
2
|
+
export declare const TYPE_NAVBAR_MENU = "navbar-menu";
|
|
3
|
+
export declare const TYPE_NAVBAR_LINK = "navbar-link";
|
|
4
|
+
export declare const TYPE_NAV_GROUP = "nav-group";
|
|
5
|
+
export declare const TYPE_DROPDOWN = "nav-dropdown";
|
|
6
|
+
export declare const TYPE_DROPDOWN_ITEM = "nav-dropdown-item";
|
|
7
|
+
export declare const TYPE_MEGA = "nav-mega";
|
|
8
|
+
export declare const TYPE_MEGA_INNER = "nav-mega-inner";
|
|
9
|
+
export declare const TYPE_MEGA_COL = "nav-mega-col";
|
|
10
|
+
export declare const TYPE_MEGA_ITEM = "nav-mega-item";
|
|
11
|
+
export declare const TYPE_MEGA_LEFT = "nav-mega-left";
|
|
12
|
+
export declare const TYPE_MEGA_RIGHT = "nav-mega-right";
|
|
13
|
+
export declare const TYPE_NAVBAR_LEFT = "navbar-left-slot";
|
|
14
|
+
export declare const TYPE_NAVBAR_CENTER = "navbar-center-slot";
|
|
15
|
+
export declare const TYPE_NAVBAR_RIGHT = "navbar-right-slot";
|
|
16
|
+
export type NavGroupMenuType = 'dropdown' | 'mega';
|
|
17
|
+
export declare const ICON = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\"\n stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\n style=\"width:24px;height:24px;\">\n <rect x=\"2\" y=\"4\" width=\"20\" height=\"6\" rx=\"1.5\"/>\n <line x1=\"5\" y1=\"7\" x2=\"8\" y2=\"7\" stroke-width=\"2\"/>\n <line x1=\"10\" y1=\"7\" x2=\"13\" y2=\"7\"/>\n <line x1=\"15\" y1=\"7\" x2=\"17\" y2=\"7\"/>\n <rect x=\"18\" y=\"5.5\" width=\"4\" height=\"3\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/>\n <line x1=\"2\" y1=\"15\" x2=\"22\" y2=\"15\"/>\n <line x1=\"2\" y1=\"19\" x2=\"16\" y2=\"19\"/>\n</svg>";
|
|
18
|
+
export declare const NAV_GROUP_CHEVRON = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\"\n stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\n width=\"12\" height=\"12\"><polyline points=\"6 9 12 15 18 9\"/></svg>";
|
|
19
|
+
export declare const LINK_TARGET_OPTIONS: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}[];
|
|
23
|
+
export declare const NAV_GROUP_TYPE_OPTIONS: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}[];
|
|
27
|
+
export declare const NAVBAR_DRAWER_SIDE_OPTIONS: {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
}[];
|
|
31
|
+
export declare const NAVBAR_MENU_ALIGN_OPTIONS: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const NAVBAR_MODE_OPTIONS: {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
}[];
|