@getblock/common 0.1.77

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.
Files changed (38) hide show
  1. package/README.md +16 -0
  2. package/dist/cn.d600ca34.js +35 -0
  3. package/dist/en.101a7f88.js +35 -0
  4. package/dist/getblock-common.es.ts +4845 -0
  5. package/dist/getblock-common.umd.ts +5 -0
  6. package/dist/index.d.ts +1 -0
  7. package/dist/src/components/announcement/Announcement.vue.d.ts +63 -0
  8. package/dist/src/components/announcement/locales/cn.d.ts +5 -0
  9. package/dist/src/components/announcement/locales/en.d.ts +5 -0
  10. package/dist/src/components/blackFridayAnnouncement/BlackFridayAnnouncement.vue.d.ts +77 -0
  11. package/dist/src/components/blackFridayAnnouncement/locales/cn.d.ts +6 -0
  12. package/dist/src/components/blackFridayAnnouncement/locales/en.d.ts +6 -0
  13. package/dist/src/components/contactForm/locales/cn.d.ts +2 -0
  14. package/dist/src/components/contactForm/locales/en.d.ts +2 -0
  15. package/dist/src/components/contactForm/staticData/nodes.d.ts +6 -0
  16. package/dist/src/components/contactForm/type/shared.d.ts +56 -0
  17. package/dist/src/components/contactForm/utils/useTexts.d.ts +36 -0
  18. package/dist/src/components/contactModal/locales/cn.d.ts +31 -0
  19. package/dist/src/components/contactModal/locales/en.d.ts +31 -0
  20. package/dist/src/components/cookie/Cookie.vue.d.ts +284 -0
  21. package/dist/src/components/cookie/locales/cn.d.ts +42 -0
  22. package/dist/src/components/cookie/locales/en.d.ts +42 -0
  23. package/dist/src/components/enterpriseModal/locales/cn.d.ts +33 -0
  24. package/dist/src/components/enterpriseModal/locales/en.d.ts +33 -0
  25. package/dist/src/components/enterpriseModal/utils/utils.d.ts +2 -0
  26. package/dist/src/components/footer/locales/cn.d.ts +66 -0
  27. package/dist/src/components/footer/locales/en.d.ts +66 -0
  28. package/dist/src/components/index.d.ts +10 -0
  29. package/dist/src/components/infoModal/InfoModal.vue.d.ts +66 -0
  30. package/dist/src/components/navbar/Navbar.vue.d.ts +324 -0
  31. package/dist/src/components/optionalAnnouncement/OptionalAnnouncement.vue.d.ts +25 -0
  32. package/dist/src/components/optionalAnnouncement/locales/cn.d.ts +5 -0
  33. package/dist/src/components/optionalAnnouncement/locales/en.d.ts +5 -0
  34. package/dist/src/constants/pathNames.d.ts +27 -0
  35. package/dist/src/vite-env.d.ts +9 -0
  36. package/dist/style.css +1 -0
  37. package/dist/vite.svg +1 -0
  38. package/package.json +77 -0
@@ -0,0 +1,66 @@
1
+ declare const _default: {
2
+ product: {
3
+ title: string;
4
+ 'shared-nodes': string;
5
+ 'dedicated-nodes': string;
6
+ 'node-cluster': string;
7
+ tracker: string;
8
+ pricing: string;
9
+ 'enterprise-solutions': string;
10
+ faucet: string;
11
+ sla: string;
12
+ };
13
+ chains: {
14
+ title: string;
15
+ eth: string;
16
+ bsc: string;
17
+ matic: string;
18
+ sol: string;
19
+ base: string;
20
+ arb: string;
21
+ trx: string;
22
+ avax: string;
23
+ op: string;
24
+ };
25
+ explorers: {
26
+ title: string;
27
+ 'blockchain-explorer': string;
28
+ 'blockchain-explorer-docs': string;
29
+ 'blockchain-explorer-partners': string;
30
+ };
31
+ 'for-developers': {
32
+ title: string;
33
+ documentation: string;
34
+ 'nodes-methods': string;
35
+ 'get-started': string;
36
+ guides: string;
37
+ status: string;
38
+ };
39
+ company: {
40
+ title: string;
41
+ about: string;
42
+ blog: string;
43
+ contact: string;
44
+ faq: string;
45
+ careers: string;
46
+ };
47
+ partnerships: {
48
+ title: string;
49
+ marketplace: string;
50
+ 'media-kit': string;
51
+ 'affiliate-program': string;
52
+ 'ambassadors-program': string;
53
+ 'near-startup-program': string;
54
+ };
55
+ 'legal-documents': {
56
+ title: string;
57
+ 'terms-of-service': string;
58
+ 'privacy-policy': string;
59
+ 'cookie-policy': string;
60
+ 'subscription-policy': string;
61
+ 'affiliate-policy': string;
62
+ 'ambassador-program-terms-of-service': string;
63
+ };
64
+ 'all-rights-reserved': string;
65
+ };
66
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export { default as GetBlockUIContactModal } from './contactModal/ContactModal.vue';
2
+ export { default as GetBlockUICookie } from './cookie/Cookie.vue';
3
+ export { default as GetBlockUIFooter } from './footer/Footer.vue';
4
+ export { default as GetBlockUINavbar } from './navbar/Navbar.vue';
5
+ export { default as GetBlockUIAnnouncement } from './announcement/Announcement.vue';
6
+ export { default as GetBlockUIOptionalAnnouncement } from './optionalAnnouncement/OptionalAnnouncement.vue';
7
+ export { default as GetBlockUiContactForm } from '../components/contactForm/ContactForm.vue';
8
+ export { default as GetBlockUIBlackFridayAnnouncement } from '../components/blackFridayAnnouncement/BlackFridayAnnouncement.vue';
9
+ export { default as GetBlockUIInfoModal } from '../components/infoModal/InfoModal.vue';
10
+ export { default as GetBlockUIEnterpriseModal } from '../components/enterpriseModal/EnterpriseModal.vue';
@@ -0,0 +1,66 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ type: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ default: string;
6
+ };
7
+ title: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ description: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ duration: {
16
+ type: NumberConstructor;
17
+ required: false;
18
+ default: number;
19
+ };
20
+ isOpen: {
21
+ type: BooleanConstructor;
22
+ required: true;
23
+ };
24
+ }>, {
25
+ emit: (event: "update:isOpen", ...args: any[]) => void;
26
+ props: any;
27
+ progress: import("vue").Ref<number, number>;
28
+ interval: import("vue").Ref<any, any>;
29
+ isMouseDown: import("vue").Ref<boolean, boolean>;
30
+ initialY: import("vue").Ref<any, any>;
31
+ panRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
+ initialHeight: import("vue").Ref<number, number>;
33
+ closeModal: () => Promise<void>;
34
+ onDragStart: (event: TouchEvent) => void;
35
+ onMouseMove: (event: TouchEvent) => void;
36
+ onDragEnd: (event: TouchEvent) => void;
37
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:isOpen"[], "update:isOpen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
+ type: {
39
+ type: StringConstructor;
40
+ required: false;
41
+ default: string;
42
+ };
43
+ title: {
44
+ type: StringConstructor;
45
+ required: true;
46
+ };
47
+ description: {
48
+ type: StringConstructor;
49
+ required: true;
50
+ };
51
+ duration: {
52
+ type: NumberConstructor;
53
+ required: false;
54
+ default: number;
55
+ };
56
+ isOpen: {
57
+ type: BooleanConstructor;
58
+ required: true;
59
+ };
60
+ }>> & Readonly<{
61
+ "onUpdate:isOpen"?: ((...args: any[]) => any) | undefined;
62
+ }>, {
63
+ type: string;
64
+ duration: number;
65
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
66
+ export default _sfc_main;
@@ -0,0 +1,324 @@
1
+ /// <reference types="vite/client" />
2
+ interface Language {
3
+ code: string;
4
+ fullCode: string;
5
+ name: string;
6
+ }
7
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ locale: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ showLanguageSetting: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ }>, {
17
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
18
+ locale: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ showLanguageSetting: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ }>> & Readonly<{
27
+ "onOpen-contact-modal"?: ((...args: any[]) => any) | undefined;
28
+ "onAccount-button-pressed"?: ((...args: any[]) => any) | undefined;
29
+ "onUpdate-language"?: ((...args: any[]) => any) | undefined;
30
+ }> & {}>;
31
+ emit: (event: "open-contact-modal" | "account-button-pressed" | "update-language", ...args: any[]) => void;
32
+ navigationItems: import("vue").Ref<{
33
+ key: string;
34
+ open: boolean;
35
+ items: ({
36
+ key: string;
37
+ path: string;
38
+ beta?: undefined;
39
+ } | {
40
+ key: string;
41
+ path: string;
42
+ beta: boolean;
43
+ })[];
44
+ }[], {
45
+ key: string;
46
+ open: boolean;
47
+ items: ({
48
+ key: string;
49
+ path: string;
50
+ beta?: undefined;
51
+ } | {
52
+ key: string;
53
+ path: string;
54
+ beta: boolean;
55
+ })[];
56
+ }[] | {
57
+ key: string;
58
+ open: boolean;
59
+ items: ({
60
+ key: string;
61
+ path: string;
62
+ beta?: undefined;
63
+ } | {
64
+ key: string;
65
+ path: string;
66
+ beta: boolean;
67
+ })[];
68
+ }[]>;
69
+ languages: import("vue").Ref<{
70
+ code: string;
71
+ fullCode: string;
72
+ name: string;
73
+ }[], Language[] | {
74
+ code: string;
75
+ fullCode: string;
76
+ name: string;
77
+ }[]>;
78
+ announcementHeight: import("vue").Ref<number, number>;
79
+ openMobileMenu: import("vue").Ref<boolean, boolean>;
80
+ openMobileLanguage: import("vue").Ref<boolean, boolean>;
81
+ scrollY: import("vue").Ref<number, number>;
82
+ openContactModal: () => void;
83
+ getCurrentPageInfo: () => {
84
+ url: string;
85
+ path: string;
86
+ };
87
+ currentUrl: import("vue").ComputedRef<string>;
88
+ onAccountClick: () => void;
89
+ changeCurrentLanguage: (lang: Language) => void;
90
+ onScroll: () => void;
91
+ onResize: () => void;
92
+ localePath: (link: string) => string;
93
+ changeLanguageDisplay: () => void;
94
+ changeMenuDisplay: (item: {
95
+ key: string;
96
+ }) => void;
97
+ navbarHeight: number;
98
+ navbarMenuHeight: import("vue").ComputedRef<number>;
99
+ text: import("vue").ComputedRef<{
100
+ contact: string;
101
+ dashboard: string;
102
+ settings: string;
103
+ language: string;
104
+ pricing: {
105
+ title: string;
106
+ items: {
107
+ pricing: {
108
+ title: string;
109
+ text: string;
110
+ };
111
+ };
112
+ };
113
+ developers: {
114
+ title: string;
115
+ items: {
116
+ documentation: {
117
+ title: string;
118
+ text: string;
119
+ };
120
+ 'get-started': {
121
+ title: string;
122
+ text: string;
123
+ };
124
+ guides: {
125
+ title: string;
126
+ text: string;
127
+ };
128
+ 'nodes-methods': {
129
+ title: string;
130
+ text: string;
131
+ };
132
+ 'explorer-api': {
133
+ title: string;
134
+ text: string;
135
+ };
136
+ faucet: {
137
+ title: string;
138
+ text: string;
139
+ };
140
+ };
141
+ banner: {
142
+ title: string;
143
+ text: string;
144
+ };
145
+ };
146
+ company: {
147
+ title: string;
148
+ items: {
149
+ 'about-us': {
150
+ title: string;
151
+ text: string;
152
+ };
153
+ faq: {
154
+ title: string;
155
+ text: string;
156
+ };
157
+ contact: {
158
+ title: string;
159
+ text: string;
160
+ };
161
+ blog: {
162
+ title: string;
163
+ text: string;
164
+ };
165
+ 'use-cases': {
166
+ title: string;
167
+ text: string;
168
+ };
169
+ 'affiliate-program': {
170
+ title: string;
171
+ text: string;
172
+ };
173
+ };
174
+ banner: {
175
+ title: string;
176
+ text: string;
177
+ };
178
+ };
179
+ products: {
180
+ title: string;
181
+ items: {
182
+ 'rpc-service': {
183
+ title: string;
184
+ text: string;
185
+ };
186
+ enterprise: {
187
+ title: string;
188
+ text: string;
189
+ };
190
+ 'dedicated-nodes': {
191
+ title: string;
192
+ text: string;
193
+ };
194
+ 'nodes-cluster': {
195
+ title: string;
196
+ text: string;
197
+ };
198
+ appchain: {
199
+ title: string;
200
+ text: string;
201
+ };
202
+ };
203
+ banner: {
204
+ title: string;
205
+ text: string;
206
+ };
207
+ };
208
+ }>;
209
+ accountLink: import("vue").ComputedRef<string>;
210
+ readonly GetBlockUIButton: import("vue").DefineComponent<{
211
+ disabled: {
212
+ type: BooleanConstructor;
213
+ default: boolean;
214
+ };
215
+ mainType: {
216
+ type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
217
+ default: string;
218
+ validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
219
+ };
220
+ colorType: {
221
+ type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
222
+ default: string;
223
+ validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
224
+ };
225
+ sizeType: {
226
+ type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
227
+ default: string;
228
+ validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
229
+ };
230
+ iconButton: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
234
+ }, {
235
+ props: any;
236
+ classObject: import("vue").ComputedRef<object>;
237
+ readonly button: CSSModuleClasses;
238
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
239
+ disabled: {
240
+ type: BooleanConstructor;
241
+ default: boolean;
242
+ };
243
+ mainType: {
244
+ type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps>;
245
+ default: string;
246
+ validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps) => boolean;
247
+ };
248
+ colorType: {
249
+ type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps>;
250
+ default: string;
251
+ validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps) => boolean;
252
+ };
253
+ sizeType: {
254
+ type: import("vue").PropType<import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps>;
255
+ default: string;
256
+ validator: (value: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps) => boolean;
257
+ };
258
+ iconButton: {
259
+ type: BooleanConstructor;
260
+ default: boolean;
261
+ };
262
+ }>>, {
263
+ colorType: import("@getblock/core/dist/components/button/Button.types").ButtonColorTypeProps;
264
+ sizeType: import("@getblock/core/dist/components/button/Button.types").ButtonSizeTypeProps;
265
+ disabled: boolean;
266
+ mainType: import("@getblock/core/dist/components/button/Button.types").ButtonMainTypeProps;
267
+ iconButton: boolean;
268
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
269
+ readonly GetBlockUIIcon: import("vue").DefineComponent<{
270
+ iconName: {
271
+ type: StringConstructor;
272
+ required: true;
273
+ };
274
+ colorType: {
275
+ type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
276
+ default: string;
277
+ validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
278
+ };
279
+ sizeType: {
280
+ type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
281
+ default: string;
282
+ validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
283
+ };
284
+ }, {
285
+ props: any;
286
+ imgSize: import("vue").ComputedRef<number>;
287
+ classObject: import("vue").ComputedRef<object>;
288
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
289
+ iconName: {
290
+ type: StringConstructor;
291
+ required: true;
292
+ };
293
+ colorType: {
294
+ type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps>;
295
+ default: string;
296
+ validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps) => boolean;
297
+ };
298
+ sizeType: {
299
+ type: import("vue").PropType<import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps>;
300
+ default: string;
301
+ validator: (value: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps) => boolean;
302
+ };
303
+ }>>, {
304
+ colorType: import("@getblock/core/dist/components/icon/Icon.types").IconColorTypeProps;
305
+ sizeType: import("@getblock/core/dist/components/icon/Icon.types").IconSizeTypeProps;
306
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
307
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open-contact-modal" | "account-button-pressed" | "update-language")[], "open-contact-modal" | "account-button-pressed" | "update-language", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
308
+ locale: {
309
+ type: StringConstructor;
310
+ default: string;
311
+ };
312
+ showLanguageSetting: {
313
+ type: BooleanConstructor;
314
+ default: boolean;
315
+ };
316
+ }>> & Readonly<{
317
+ "onOpen-contact-modal"?: ((...args: any[]) => any) | undefined;
318
+ "onAccount-button-pressed"?: ((...args: any[]) => any) | undefined;
319
+ "onUpdate-language"?: ((...args: any[]) => any) | undefined;
320
+ }>, {
321
+ locale: string;
322
+ showLanguageSetting: boolean;
323
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
324
+ export default _sfc_main;
@@ -0,0 +1,25 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ locale: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }>, {
7
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ locale: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ }>> & Readonly<{}> & {}>;
13
+ text: import("vue").ComputedRef<{
14
+ text: string;
15
+ button: string;
16
+ }>;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ locale: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }>> & Readonly<{}>, {
23
+ locale: string;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
+ export default _sfc_main;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ text: string;
3
+ button: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ text: string;
3
+ button: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,27 @@
1
+ export declare const pathNames: {
2
+ blog: string;
3
+ '/': string;
4
+ appchain: string;
5
+ marketplace: string;
6
+ explorers: string;
7
+ nodes: string;
8
+ faucet: string;
9
+ 'affiliate-program': string;
10
+ 'ambassadors-program': string;
11
+ 'enterprise-api': string;
12
+ 'node-clusters': string;
13
+ 'dedicated-nodes': string;
14
+ tracker: string;
15
+ about: string;
16
+ faq: string;
17
+ contact: string;
18
+ 'case-studies': string;
19
+ sla: string;
20
+ 'terms-of-service': string;
21
+ 'privacy-policy': string;
22
+ 'cookie-policy': string;
23
+ 'subscription-policy': string;
24
+ 'refund-policy': string;
25
+ 'media-kit': string;
26
+ 'near-startup-program': string;
27
+ };
@@ -0,0 +1,9 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ declare module '*.vue' {
4
+ import type { DefineComponent } from 'vue';
5
+ const component: DefineComponent<{}, {}, any>;
6
+ export default component;
7
+ }
8
+
9
+ declare module '*.md';