@getblock/common 0.2.1 → 0.2.2
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/dist/getblock-common.es.ts +2797 -2087
- package/dist/getblock-common.umd.ts +3 -3
- package/dist/src/components/index.d.ts +1 -2
- package/dist/src/components/navbar/NavbarMegaMenu.vue.d.ts +294 -0
- package/dist/src/components/navbar/NavbarMegaMenuMobile.vue.d.ts +157 -0
- package/dist/src/components/navbar/navbarMegaMenuData.d.ts +30 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/blackFridayAnnouncement/BlackFridayAnnouncement.vue.d.ts +0 -77
- package/dist/src/components/blackFridayAnnouncement/locales/cn.d.ts +0 -6
- package/dist/src/components/blackFridayAnnouncement/locales/en.d.ts +0 -6
- package/dist/src/components/optionalAnnouncement/OptionalAnnouncement.vue.d.ts +0 -25
- package/dist/src/components/optionalAnnouncement/locales/cn.d.ts +0 -5
- package/dist/src/components/optionalAnnouncement/locales/en.d.ts +0 -5
|
@@ -2,11 +2,10 @@ export { default as GetBlockUIContactModal } from './contactModal/ContactModal.v
|
|
|
2
2
|
export { default as GetBlockUICookie } from './cookie/Cookie.vue';
|
|
3
3
|
export { default as GetBlockUIFooter } from './footer/Footer.vue';
|
|
4
4
|
export { default as GetBlockUINavbar } from './navbar/Navbar.vue';
|
|
5
|
+
export { default as GetBlockUIMegaNavbar } from './navbar/NavbarMegaMenu.vue';
|
|
5
6
|
export { default as GetBlockUIAnnouncement } from './announcement/Announcement.vue';
|
|
6
|
-
export { default as GetBlockUIOptionalAnnouncement } from './optionalAnnouncement/OptionalAnnouncement.vue';
|
|
7
7
|
export { default as GetBlockUIHeaderBanner } from './headerBanner/HeaderBanner.vue';
|
|
8
8
|
export { default as GetBlockUiContactForm } from '../components/contactForm/ContactForm.vue';
|
|
9
9
|
export { default as GetBlockUiContactFormNew } from '../components/contactFormNew/ContactFormNew.vue';
|
|
10
|
-
export { default as GetBlockUIBlackFridayAnnouncement } from '../components/blackFridayAnnouncement/BlackFridayAnnouncement.vue';
|
|
11
10
|
export { default as GetBlockUIInfoModal } from '../components/infoModal/InfoModal.vue';
|
|
12
11
|
export { default as GetBlockUIEnterpriseModal } from '../components/enterpriseModal/EnterpriseModal.vue';
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
locale: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: false;
|
|
6
|
+
};
|
|
7
|
+
}>, {
|
|
8
|
+
emit: (event: "open-contact-modal" | "update-language", ...args: any[]) => void;
|
|
9
|
+
activePanel: import("vue").Ref<string, string>;
|
|
10
|
+
burgerOpen: import("vue").Ref<boolean, boolean>;
|
|
11
|
+
openPanels: import("vue").Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
12
|
+
openSubPanels: import("vue").Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
13
|
+
activeNav: import("vue").Ref<string | null, string | null>;
|
|
14
|
+
_navCloseTimer: number | null;
|
|
15
|
+
openNav: (id: string) => void;
|
|
16
|
+
scheduleNavClose: () => void;
|
|
17
|
+
cancelNavClose: () => void;
|
|
18
|
+
setActivePanel: (panel: string) => void;
|
|
19
|
+
toggleMobilePanel: (id: string) => void;
|
|
20
|
+
toggleMobileSubPanel: (id: string) => void;
|
|
21
|
+
openDrawer: () => void;
|
|
22
|
+
closeDrawer: () => void;
|
|
23
|
+
toggleDrawer: () => void;
|
|
24
|
+
onResize: () => void;
|
|
25
|
+
readonly GetBlockUIButton: import("vue").DefineComponent<{
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
mainType: {
|
|
31
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
|
|
32
|
+
default: string;
|
|
33
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
|
|
34
|
+
};
|
|
35
|
+
colorType: {
|
|
36
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
|
|
39
|
+
};
|
|
40
|
+
sizeType: {
|
|
41
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
|
|
42
|
+
default: string;
|
|
43
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
|
|
44
|
+
};
|
|
45
|
+
iconButton: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
props: any;
|
|
51
|
+
classObject: import("vue").ComputedRef<object>;
|
|
52
|
+
readonly button: CSSModuleClasses;
|
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
disabled: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
mainType: {
|
|
59
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
|
|
60
|
+
default: string;
|
|
61
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
|
|
62
|
+
};
|
|
63
|
+
colorType: {
|
|
64
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
|
|
65
|
+
default: string;
|
|
66
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
|
|
67
|
+
};
|
|
68
|
+
sizeType: {
|
|
69
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
|
|
70
|
+
default: string;
|
|
71
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
|
|
72
|
+
};
|
|
73
|
+
iconButton: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
}>>, {
|
|
78
|
+
colorType: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps;
|
|
79
|
+
sizeType: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
mainType: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps;
|
|
82
|
+
iconButton: boolean;
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
|
+
readonly GetBlockUIIcon: import("vue").DefineComponent<{
|
|
85
|
+
iconName: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
colorType: {
|
|
90
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
|
|
91
|
+
default: string;
|
|
92
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
|
|
93
|
+
};
|
|
94
|
+
sizeType: {
|
|
95
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
|
|
96
|
+
default: string;
|
|
97
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
props: any;
|
|
101
|
+
imgSize: import("vue").ComputedRef<number>;
|
|
102
|
+
classObject: import("vue").ComputedRef<object>;
|
|
103
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
104
|
+
iconName: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
colorType: {
|
|
109
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
|
|
110
|
+
default: string;
|
|
111
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
|
|
112
|
+
};
|
|
113
|
+
sizeType: {
|
|
114
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
|
|
115
|
+
default: string;
|
|
116
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
117
|
+
};
|
|
118
|
+
}>>, {
|
|
119
|
+
colorType: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps;
|
|
120
|
+
sizeType: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps;
|
|
121
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
|
+
NavbarMegaMenuMobile: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
123
|
+
burgerOpen: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
required: true;
|
|
126
|
+
};
|
|
127
|
+
openPanels: {
|
|
128
|
+
type: SetConstructor;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
openSubPanels: {
|
|
132
|
+
type: SetConstructor;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
mobileProductSections: {
|
|
136
|
+
type: ArrayConstructor;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
|
+
devItems: {
|
|
140
|
+
type: ArrayConstructor;
|
|
141
|
+
required: true;
|
|
142
|
+
};
|
|
143
|
+
companyItems: {
|
|
144
|
+
type: ArrayConstructor;
|
|
145
|
+
required: true;
|
|
146
|
+
};
|
|
147
|
+
}>, {
|
|
148
|
+
emit: (event: "open-contact-modal" | "close-drawer" | "toggle-panel" | "toggle-sub-panel", ...args: any[]) => void;
|
|
149
|
+
readonly GetBlockUIButton: import("vue").DefineComponent<{
|
|
150
|
+
disabled: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
mainType: {
|
|
155
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
|
|
156
|
+
default: string;
|
|
157
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
|
|
158
|
+
};
|
|
159
|
+
colorType: {
|
|
160
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
|
|
161
|
+
default: string;
|
|
162
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
|
|
163
|
+
};
|
|
164
|
+
sizeType: {
|
|
165
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
|
|
166
|
+
default: string;
|
|
167
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
|
|
168
|
+
};
|
|
169
|
+
iconButton: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
props: any;
|
|
175
|
+
classObject: import("vue").ComputedRef<object>;
|
|
176
|
+
readonly button: CSSModuleClasses;
|
|
177
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
178
|
+
disabled: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
|
+
mainType: {
|
|
183
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
|
|
184
|
+
default: string;
|
|
185
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
|
|
186
|
+
};
|
|
187
|
+
colorType: {
|
|
188
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
|
|
189
|
+
default: string;
|
|
190
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
|
|
191
|
+
};
|
|
192
|
+
sizeType: {
|
|
193
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
|
|
194
|
+
default: string;
|
|
195
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
|
|
196
|
+
};
|
|
197
|
+
iconButton: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
}>>, {
|
|
202
|
+
colorType: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps;
|
|
203
|
+
sizeType: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps;
|
|
204
|
+
disabled: boolean;
|
|
205
|
+
mainType: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps;
|
|
206
|
+
iconButton: boolean;
|
|
207
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
208
|
+
readonly GetBlockUIIcon: import("vue").DefineComponent<{
|
|
209
|
+
iconName: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
required: true;
|
|
212
|
+
};
|
|
213
|
+
colorType: {
|
|
214
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
|
|
215
|
+
default: string;
|
|
216
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
|
|
217
|
+
};
|
|
218
|
+
sizeType: {
|
|
219
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
|
|
220
|
+
default: string;
|
|
221
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
props: any;
|
|
225
|
+
imgSize: import("vue").ComputedRef<number>;
|
|
226
|
+
classObject: import("vue").ComputedRef<object>;
|
|
227
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
228
|
+
iconName: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
required: true;
|
|
231
|
+
};
|
|
232
|
+
colorType: {
|
|
233
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
|
|
234
|
+
default: string;
|
|
235
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
|
|
236
|
+
};
|
|
237
|
+
sizeType: {
|
|
238
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
|
|
239
|
+
default: string;
|
|
240
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
241
|
+
};
|
|
242
|
+
}>>, {
|
|
243
|
+
colorType: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps;
|
|
244
|
+
sizeType: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps;
|
|
245
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
246
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open-contact-modal" | "close-drawer" | "toggle-panel" | "toggle-sub-panel")[], "open-contact-modal" | "close-drawer" | "toggle-panel" | "toggle-sub-panel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
247
|
+
burgerOpen: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
required: true;
|
|
250
|
+
};
|
|
251
|
+
openPanels: {
|
|
252
|
+
type: SetConstructor;
|
|
253
|
+
required: true;
|
|
254
|
+
};
|
|
255
|
+
openSubPanels: {
|
|
256
|
+
type: SetConstructor;
|
|
257
|
+
required: true;
|
|
258
|
+
};
|
|
259
|
+
mobileProductSections: {
|
|
260
|
+
type: ArrayConstructor;
|
|
261
|
+
required: true;
|
|
262
|
+
};
|
|
263
|
+
devItems: {
|
|
264
|
+
type: ArrayConstructor;
|
|
265
|
+
required: true;
|
|
266
|
+
};
|
|
267
|
+
companyItems: {
|
|
268
|
+
type: ArrayConstructor;
|
|
269
|
+
required: true;
|
|
270
|
+
};
|
|
271
|
+
}>> & Readonly<{
|
|
272
|
+
"onOpen-contact-modal"?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
"onClose-drawer"?: ((...args: any[]) => any) | undefined;
|
|
274
|
+
"onToggle-panel"?: ((...args: any[]) => any) | undefined;
|
|
275
|
+
"onToggle-sub-panel"?: ((...args: any[]) => any) | undefined;
|
|
276
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
277
|
+
readonly sidebarCategories: import("./navbarMegaMenuData").SidebarCategory[];
|
|
278
|
+
readonly infraItems: import("./navbarMegaMenuData").NavItem[];
|
|
279
|
+
readonly riskItems: import("./navbarMegaMenuData").NavItem[];
|
|
280
|
+
readonly chainItems: import("./navbarMegaMenuData").NavItem[];
|
|
281
|
+
readonly paymentsItems: import("./navbarMegaMenuData").PaymentNavItem[];
|
|
282
|
+
readonly devItems: import("./navbarMegaMenuData").NavItem[];
|
|
283
|
+
readonly companyItems: import("./navbarMegaMenuData").NavItem[];
|
|
284
|
+
readonly mobileProductSections: import("./navbarMegaMenuData").MobileProductSection[];
|
|
285
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open-contact-modal" | "update-language")[], "open-contact-modal" | "update-language", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
286
|
+
locale: {
|
|
287
|
+
type: StringConstructor;
|
|
288
|
+
required: false;
|
|
289
|
+
};
|
|
290
|
+
}>> & Readonly<{
|
|
291
|
+
"onOpen-contact-modal"?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
"onUpdate-language"?: ((...args: any[]) => any) | undefined;
|
|
293
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
294
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
burgerOpen: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
openPanels: {
|
|
8
|
+
type: SetConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
openSubPanels: {
|
|
12
|
+
type: SetConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
mobileProductSections: {
|
|
16
|
+
type: ArrayConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
devItems: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
companyItems: {
|
|
24
|
+
type: ArrayConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
emit: (event: "open-contact-modal" | "close-drawer" | "toggle-panel" | "toggle-sub-panel", ...args: any[]) => void;
|
|
29
|
+
readonly GetBlockUIButton: import("vue").DefineComponent<{
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
mainType: {
|
|
35
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
|
|
38
|
+
};
|
|
39
|
+
colorType: {
|
|
40
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
|
|
41
|
+
default: string;
|
|
42
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
|
|
43
|
+
};
|
|
44
|
+
sizeType: {
|
|
45
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
|
|
46
|
+
default: string;
|
|
47
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
|
|
48
|
+
};
|
|
49
|
+
iconButton: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}, {
|
|
54
|
+
props: any;
|
|
55
|
+
classObject: import("vue").ComputedRef<object>;
|
|
56
|
+
readonly button: CSSModuleClasses;
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
disabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
mainType: {
|
|
63
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
|
|
64
|
+
default: string;
|
|
65
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
|
|
66
|
+
};
|
|
67
|
+
colorType: {
|
|
68
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
|
|
69
|
+
default: string;
|
|
70
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
|
|
71
|
+
};
|
|
72
|
+
sizeType: {
|
|
73
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
|
|
74
|
+
default: string;
|
|
75
|
+
validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
|
|
76
|
+
};
|
|
77
|
+
iconButton: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>>, {
|
|
82
|
+
colorType: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps;
|
|
83
|
+
sizeType: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
mainType: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps;
|
|
86
|
+
iconButton: boolean;
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
readonly GetBlockUIIcon: import("vue").DefineComponent<{
|
|
89
|
+
iconName: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
colorType: {
|
|
94
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
|
|
95
|
+
default: string;
|
|
96
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
|
|
97
|
+
};
|
|
98
|
+
sizeType: {
|
|
99
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
|
|
100
|
+
default: string;
|
|
101
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
102
|
+
};
|
|
103
|
+
}, {
|
|
104
|
+
props: any;
|
|
105
|
+
imgSize: import("vue").ComputedRef<number>;
|
|
106
|
+
classObject: import("vue").ComputedRef<object>;
|
|
107
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
+
iconName: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
colorType: {
|
|
113
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
|
|
114
|
+
default: string;
|
|
115
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
|
|
116
|
+
};
|
|
117
|
+
sizeType: {
|
|
118
|
+
type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
|
|
119
|
+
default: string;
|
|
120
|
+
validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
121
|
+
};
|
|
122
|
+
}>>, {
|
|
123
|
+
colorType: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps;
|
|
124
|
+
sizeType: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps;
|
|
125
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open-contact-modal" | "close-drawer" | "toggle-panel" | "toggle-sub-panel")[], "open-contact-modal" | "close-drawer" | "toggle-panel" | "toggle-sub-panel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
burgerOpen: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
openPanels: {
|
|
132
|
+
type: SetConstructor;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
openSubPanels: {
|
|
136
|
+
type: SetConstructor;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
|
+
mobileProductSections: {
|
|
140
|
+
type: ArrayConstructor;
|
|
141
|
+
required: true;
|
|
142
|
+
};
|
|
143
|
+
devItems: {
|
|
144
|
+
type: ArrayConstructor;
|
|
145
|
+
required: true;
|
|
146
|
+
};
|
|
147
|
+
companyItems: {
|
|
148
|
+
type: ArrayConstructor;
|
|
149
|
+
required: true;
|
|
150
|
+
};
|
|
151
|
+
}>> & Readonly<{
|
|
152
|
+
"onOpen-contact-modal"?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
"onClose-drawer"?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
"onToggle-panel"?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
"onToggle-sub-panel"?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
157
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface NavItem {
|
|
2
|
+
href: string;
|
|
3
|
+
title: string;
|
|
4
|
+
desc: string;
|
|
5
|
+
iconHtml: string;
|
|
6
|
+
external?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface PaymentNavItem {
|
|
9
|
+
href: string;
|
|
10
|
+
title: string;
|
|
11
|
+
iconHtml: string;
|
|
12
|
+
soon: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface SidebarCategory {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
desc: string;
|
|
18
|
+
iconHtml: string;
|
|
19
|
+
}
|
|
20
|
+
export interface MobileProductSection extends SidebarCategory {
|
|
21
|
+
items: NavItem[];
|
|
22
|
+
}
|
|
23
|
+
export declare const sidebarCategories: SidebarCategory[];
|
|
24
|
+
export declare const infraItems: NavItem[];
|
|
25
|
+
export declare const riskItems: NavItem[];
|
|
26
|
+
export declare const chainItems: NavItem[];
|
|
27
|
+
export declare const paymentsItems: PaymentNavItem[];
|
|
28
|
+
export declare const devItems: NavItem[];
|
|
29
|
+
export declare const companyItems: NavItem[];
|
|
30
|
+
export declare const mobileProductSections: MobileProductSection[];
|