@ikas/storefront 0.0.1
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/build/__generated__/global-types.d.ts +343 -0
- package/build/api/apollo.d.ts +10 -0
- package/build/api/brand/__generated__/listProductBrand.d.ts +30 -0
- package/build/api/brand/index.d.ts +15 -0
- package/build/api/cart/__generated__/getCart.d.ts +67 -0
- package/build/api/cart/__generated__/saveItemToCart.d.ts +65 -0
- package/build/api/cart/index.d.ts +5 -0
- package/build/api/category/__generated__/listCategory.d.ts +34 -0
- package/build/api/category/index.d.ts +15 -0
- package/build/api/checkout/__generated__/checkStocks.d.ts +18 -0
- package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +22 -0
- package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +10 -0
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +206 -0
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +17 -0
- package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +23 -0
- package/build/api/checkout/__generated__/saveCheckout.d.ts +11 -0
- package/build/api/checkout/index.d.ts +19 -0
- package/build/api/city/__generated__/listCity.d.ts +14 -0
- package/build/api/city/index.d.ts +4 -0
- package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +3 -0
- package/build/api/country/__generated__/listCountry.d.ts +16 -0
- package/build/api/country/index.d.ts +5 -0
- package/build/api/customer/__generated__/checkCustomerEmail.d.ts +10 -0
- package/build/api/customer/__generated__/customerForgotPassword.d.ts +6 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +68 -0
- package/build/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
- package/build/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +216 -0
- package/build/api/customer/__generated__/getMyCustomer.d.ts +58 -0
- package/build/api/customer/__generated__/listOrderTransactions.d.ts +53 -0
- package/build/api/customer/__generated__/registerCustomer.d.ts +70 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +61 -0
- package/build/api/customer/index.d.ts +28 -0
- package/build/api/district/__generated__/listDistrict.d.ts +13 -0
- package/build/api/district/index.d.ts +4 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +17 -0
- package/build/api/html-meta-data/index.d.ts +4 -0
- package/build/api/index.d.ts +17 -0
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +13 -0
- package/build/api/merchant/index.d.ts +4 -0
- package/build/api/product/__generated__/listProduct.d.ts +91 -0
- package/build/api/product/index.d.ts +15 -0
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +26 -0
- package/build/api/product-attribute/index.d.ts +4 -0
- package/build/api/product-stock-location/__generated__/listProductStockLocation.d.ts +13 -0
- package/build/api/product-stock-location/index.d.ts +4 -0
- package/build/api/state/__generated__/listState.d.ts +13 -0
- package/build/api/state/index.d.ts +4 -0
- package/build/api/stock-location/__generated__/listStockLocation.d.ts +7 -0
- package/build/api/stock-location/index.d.ts +4 -0
- package/build/api/storefront/__generated__/getStorefront.d.ts +23 -0
- package/build/api/storefront/index.d.ts +4 -0
- package/build/api/theme/index.d.ts +4 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +27 -0
- package/build/api/variant-type/index.d.ts +4 -0
- package/build/components/checkout/components/address-form/index.d.ts +12 -0
- package/build/components/checkout/components/address-form/model.d.ts +76 -0
- package/build/components/checkout/components/arrow-left.d.ts +6 -0
- package/build/components/checkout/components/breadcrumbs/index.d.ts +7 -0
- package/build/components/checkout/components/button/index.d.ts +8 -0
- package/build/components/checkout/components/cart-summary/arrow-down.d.ts +6 -0
- package/build/components/checkout/components/cart-summary/arrow-right.d.ts +6 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +8 -0
- package/build/components/checkout/components/cart-summary/index.d.ts +8 -0
- package/build/components/checkout/components/cart-summary/shopping-cart.d.ts +6 -0
- package/build/components/checkout/components/checkbox/check.d.ts +6 -0
- package/build/components/checkout/components/checkbox/index.d.ts +8 -0
- package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
- package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
- package/build/components/checkout/components/cross.d.ts +6 -0
- package/build/components/checkout/components/error-container/index.d.ts +6 -0
- package/build/components/checkout/components/error-container/no-shipping-error/index.d.ts +6 -0
- package/build/components/checkout/components/error-container/payment-error/index.d.ts +6 -0
- package/build/components/checkout/components/error-container/stock-error/index.d.ts +8 -0
- package/build/components/checkout/components/error-container/unknown-error/index.d.ts +6 -0
- package/build/components/checkout/components/expandable-list/index.d.ts +13 -0
- package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
- package/build/components/checkout/components/form-item/index.d.ts +3 -0
- package/build/components/checkout/components/form-item/model.d.ts +34 -0
- package/build/components/checkout/components/info-box/index.d.ts +8 -0
- package/build/components/checkout/components/policy-modal/index.d.ts +8 -0
- package/build/components/checkout/components/step-action-buttons/index.d.ts +10 -0
- package/build/components/checkout/components/text-button/index.d.ts +7 -0
- package/build/components/checkout/components/toggle/index.d.ts +7 -0
- package/build/components/checkout/index.d.ts +10 -0
- package/build/components/checkout/model.d.ts +101 -0
- package/build/components/checkout/steps/step-info/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
- package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
- package/build/components/checkout/steps/step-success/index.d.ts +7 -0
- package/build/components/error/index.d.ts +5 -0
- package/build/components/gtm/functions.d.ts +164 -0
- package/build/components/gtm/index.d.ts +7 -0
- package/build/components/hoc/ThemeComponent.d.ts +9 -0
- package/build/components/hoc/ThemeComponentEditor.d.ts +9 -0
- package/build/components/index.d.ts +6 -0
- package/build/components/page/head.d.ts +7 -0
- package/build/components/page/index.d.ts +9 -0
- package/build/components/page-editor/index.d.ts +2 -0
- package/build/components/page-editor/model.d.ts +59 -0
- package/build/index.d.ts +7 -0
- package/build/index.es.js +23583 -0
- package/build/index.js +23655 -0
- package/build/models/data/brand/index.d.ts +10 -0
- package/build/models/data/cart/index.d.ts +30 -0
- package/build/models/data/category/index.d.ts +11 -0
- package/build/models/data/checkout/index.d.ts +87 -0
- package/build/models/data/city/index.d.ts +4 -0
- package/build/models/data/country/index.d.ts +6 -0
- package/build/models/data/customer/address/index.d.ts +44 -0
- package/build/models/data/customer/index.d.ts +19 -0
- package/build/models/data/district/index.d.ts +4 -0
- package/build/models/data/html-meta-data/index.d.ts +15 -0
- package/build/models/data/image/index.d.ts +7 -0
- package/build/models/data/index.d.ts +25 -0
- package/build/models/data/installment-info/index.d.ts +30 -0
- package/build/models/data/merchant-settings/index.d.ts +8 -0
- package/build/models/data/order/address/index.d.ts +41 -0
- package/build/models/data/order/adjustment/index.d.ts +16 -0
- package/build/models/data/order/index.d.ts +109 -0
- package/build/models/data/order/line-item/discount/index.d.ts +11 -0
- package/build/models/data/order/line-item/index.d.ts +19 -0
- package/build/models/data/order/line-item/variant/index.d.ts +25 -0
- package/build/models/data/order/shipping-line/index.d.ts +7 -0
- package/build/models/data/order-transaction/index.d.ts +72 -0
- package/build/models/data/payment-gateway/index.d.ts +20 -0
- package/build/models/data/product/attribute-value/index.d.ts +6 -0
- package/build/models/data/product/index.d.ts +29 -0
- package/build/models/data/product/variant/index.d.ts +16 -0
- package/build/models/data/product/variant/price/index.d.ts +8 -0
- package/build/models/data/product/variant-type/index.d.ts +6 -0
- package/build/models/data/product-attribute/index.d.ts +17 -0
- package/build/models/data/product-attribute/product-attribute-option/index.d.ts +5 -0
- package/build/models/data/state/index.d.ts +5 -0
- package/build/models/data/storefront/index.d.ts +12 -0
- package/build/models/data/storefront/stockfront-location/index.d.ts +5 -0
- package/build/models/data/storefront/stockfront-route/index.d.ts +5 -0
- package/build/models/data/storefront/storefront-domain/index.d.ts +7 -0
- package/build/models/data/storefront/storefront-region/index.d.ts +18 -0
- package/build/models/data/variant-type/index.d.ts +14 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +11 -0
- package/build/models/index.d.ts +3 -0
- package/build/models/theme/component/index.d.ts +10 -0
- package/build/models/theme/component/prop/index.d.ts +19 -0
- package/build/models/theme/component/prop/value/index.d.ts +14 -0
- package/build/models/theme/index.d.ts +10 -0
- package/build/models/theme/page/component/index.d.ts +6 -0
- package/build/models/theme/page/component/prop-value/brand-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/brand.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/link.d.ts +19 -0
- package/build/models/theme/page/component/prop-value/product-detail.d.ts +6 -0
- package/build/models/theme/page/component/prop-value/product-list.d.ts +15 -0
- package/build/models/theme/page/index.d.ts +26 -0
- package/build/models/theme/theme.d.ts +10 -0
- package/build/models/ui/brand-list/index.d.ts +58 -0
- package/build/models/ui/index.d.ts +6 -0
- package/build/models/ui/navigation-link/index.d.ts +7 -0
- package/build/models/ui/product-detail/index.d.ts +13 -0
- package/build/models/ui/product-list/filter.d.ts +18 -0
- package/build/models/ui/product-list/index.d.ts +76 -0
- package/build/pages/[slug]/[secondSlug].d.ts +11 -0
- package/build/pages/[slug]/index.d.ts +12 -0
- package/build/pages/account/addresses.d.ts +10 -0
- package/build/pages/account/forgot-password.d.ts +10 -0
- package/build/pages/account/index.d.ts +10 -0
- package/build/pages/account/login.d.ts +10 -0
- package/build/pages/account/orders/[id].d.ts +10 -0
- package/build/pages/account/orders/index.d.ts +10 -0
- package/build/pages/account/recover-password.d.ts +10 -0
- package/build/pages/account/register.d.ts +10 -0
- package/build/pages/api/getComponentDirs.d.ts +3 -0
- package/build/pages/api/getTheme.d.ts +3 -0
- package/build/pages/api/updateTheme.d.ts +10 -0
- package/build/pages/api/uploadTheme.d.ts +3 -0
- package/build/pages/checkout/[id].d.ts +11 -0
- package/build/pages/editor.d.ts +5 -0
- package/build/pages/home.d.ts +10 -0
- package/build/pages/index.d.ts +14 -0
- package/build/store/base.d.ts +7 -0
- package/build/store/cart.d.ts +25 -0
- package/build/store/customer.d.ts +32 -0
- package/build/store/index.d.ts +1 -0
- package/build/storefront/index.d.ts +9 -0
- package/build/utils/currency.d.ts +1 -0
- package/build/utils/helper.d.ts +4 -0
- package/build/utils/index.d.ts +3 -0
- package/build/utils/providers/page-data.d.ts +35 -0
- package/build/utils/providers/prop-value/brand-list.d.ts +7 -0
- package/build/utils/providers/prop-value/brand.d.ts +8 -0
- package/build/utils/providers/prop-value/index.d.ts +3 -0
- package/build/utils/providers/prop-value/link.d.ts +9 -0
- package/build/utils/providers/prop-value/product-detail.d.ts +8 -0
- package/build/utils/providers/prop-value/product-list.d.ts +11 -0
- package/package.json +118 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCheckout } from "../../models/index";
|
|
2
|
+
import { CheckoutStep } from "../checkout/model";
|
|
3
|
+
export declare function GTMPageView(url: string): {
|
|
4
|
+
event: string;
|
|
5
|
+
page: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function GTMProductView(productDetail: IkasProductDetail): {
|
|
8
|
+
event: string;
|
|
9
|
+
ecommerce: {
|
|
10
|
+
items: {
|
|
11
|
+
item_name: string;
|
|
12
|
+
item_id: string;
|
|
13
|
+
price: number;
|
|
14
|
+
item_brand: string;
|
|
15
|
+
item_category: string;
|
|
16
|
+
item_category_2: string;
|
|
17
|
+
item_category_3: string;
|
|
18
|
+
item_category_4: string;
|
|
19
|
+
item_variant: string;
|
|
20
|
+
item_list_name: string;
|
|
21
|
+
item_list_id: string;
|
|
22
|
+
index: number;
|
|
23
|
+
quantity: number;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare function GTMAddToCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): {
|
|
28
|
+
event: string;
|
|
29
|
+
ecommerce: {
|
|
30
|
+
items: ({
|
|
31
|
+
item_name: string;
|
|
32
|
+
item_id: string;
|
|
33
|
+
price: number;
|
|
34
|
+
item_brand: string;
|
|
35
|
+
item_category: string;
|
|
36
|
+
item_category_2: string;
|
|
37
|
+
item_category_3: string;
|
|
38
|
+
item_category_4: string;
|
|
39
|
+
item_variant: string;
|
|
40
|
+
item_list_name: string;
|
|
41
|
+
item_list_id: string;
|
|
42
|
+
index: number;
|
|
43
|
+
quantity: number;
|
|
44
|
+
} | {
|
|
45
|
+
item_name: string;
|
|
46
|
+
item_id: string;
|
|
47
|
+
price: string;
|
|
48
|
+
item_brand: string;
|
|
49
|
+
item_category: string;
|
|
50
|
+
item_category_2: string;
|
|
51
|
+
item_category_3: string;
|
|
52
|
+
item_category_4: string;
|
|
53
|
+
item_variant: string;
|
|
54
|
+
item_list_name: string;
|
|
55
|
+
item_list_id: string;
|
|
56
|
+
index: number;
|
|
57
|
+
quantity: number;
|
|
58
|
+
})[];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare function GTMRemoveFromCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): {
|
|
62
|
+
event: string;
|
|
63
|
+
ecommerce: {
|
|
64
|
+
items: ({
|
|
65
|
+
item_name: string;
|
|
66
|
+
item_id: string;
|
|
67
|
+
price: number;
|
|
68
|
+
item_brand: string;
|
|
69
|
+
item_category: string;
|
|
70
|
+
item_category_2: string;
|
|
71
|
+
item_category_3: string;
|
|
72
|
+
item_category_4: string;
|
|
73
|
+
item_variant: string;
|
|
74
|
+
item_list_name: string;
|
|
75
|
+
item_list_id: string;
|
|
76
|
+
index: number;
|
|
77
|
+
quantity: number;
|
|
78
|
+
} | {
|
|
79
|
+
item_name: string;
|
|
80
|
+
item_id: string;
|
|
81
|
+
price: string;
|
|
82
|
+
item_brand: string;
|
|
83
|
+
item_category: string;
|
|
84
|
+
item_category_2: string;
|
|
85
|
+
item_category_3: string;
|
|
86
|
+
item_category_4: string;
|
|
87
|
+
item_variant: string;
|
|
88
|
+
item_list_name: string;
|
|
89
|
+
item_list_id: string;
|
|
90
|
+
index: number;
|
|
91
|
+
quantity: number;
|
|
92
|
+
})[];
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export declare function GTMBeginCheckout(checkout: IkasCheckout): {
|
|
96
|
+
event: string;
|
|
97
|
+
ecommerce: {
|
|
98
|
+
items: {
|
|
99
|
+
item_name: string;
|
|
100
|
+
item_id: string;
|
|
101
|
+
price: string;
|
|
102
|
+
item_brand: string;
|
|
103
|
+
item_category: string;
|
|
104
|
+
item_category_2: string;
|
|
105
|
+
item_category_3: string;
|
|
106
|
+
item_category_4: string;
|
|
107
|
+
item_variant: string;
|
|
108
|
+
item_list_name: string;
|
|
109
|
+
item_list_id: string;
|
|
110
|
+
index: number;
|
|
111
|
+
quantity: number;
|
|
112
|
+
}[];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export declare function GTMPurchase(checkout: IkasCheckout, orderId: string): {
|
|
116
|
+
event: string;
|
|
117
|
+
ecommerce: {
|
|
118
|
+
purchase: {
|
|
119
|
+
transaction_id: string;
|
|
120
|
+
affiliation: string;
|
|
121
|
+
value: string;
|
|
122
|
+
tax: string;
|
|
123
|
+
shipping: string;
|
|
124
|
+
currency: string;
|
|
125
|
+
coupon: string;
|
|
126
|
+
items: {
|
|
127
|
+
item_name: string;
|
|
128
|
+
item_id: string;
|
|
129
|
+
price: string;
|
|
130
|
+
item_brand: string;
|
|
131
|
+
item_category: string;
|
|
132
|
+
item_category_2: string;
|
|
133
|
+
item_category_3: string;
|
|
134
|
+
item_category_4: string;
|
|
135
|
+
item_variant: string;
|
|
136
|
+
item_list_name: string;
|
|
137
|
+
item_list_id: string;
|
|
138
|
+
index: number;
|
|
139
|
+
quantity: number;
|
|
140
|
+
}[];
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
export declare function GTMCheckoutStep(checkout: IkasCheckout, step: CheckoutStep): {
|
|
145
|
+
event: string;
|
|
146
|
+
ecommerce: {
|
|
147
|
+
items: {
|
|
148
|
+
item_name: string;
|
|
149
|
+
item_id: string;
|
|
150
|
+
price: string;
|
|
151
|
+
item_brand: string;
|
|
152
|
+
item_category: string;
|
|
153
|
+
item_category_2: string;
|
|
154
|
+
item_category_3: string;
|
|
155
|
+
item_category_4: string;
|
|
156
|
+
item_variant: string;
|
|
157
|
+
item_list_name: string;
|
|
158
|
+
item_list_id: string;
|
|
159
|
+
index: number;
|
|
160
|
+
quantity: number;
|
|
161
|
+
}[];
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
export declare function GTMDisableHTML(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { IkasThemePageComponent } from "../../models/index";
|
|
3
|
+
declare type Props = {
|
|
4
|
+
propValues: any;
|
|
5
|
+
pageComponent: IkasThemePageComponent;
|
|
6
|
+
index: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const ThemeComponent: React.FC<Props>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import PageViewModel from "../page-editor/model";
|
|
3
|
+
import { IkasThemePageComponent } from "../../models/index";
|
|
4
|
+
declare type Props = {
|
|
5
|
+
vm: PageViewModel;
|
|
6
|
+
pageComponent: IkasThemePageComponent;
|
|
7
|
+
};
|
|
8
|
+
export declare const ThemeEditorComponent: React.FC<Props>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { IkasThemePage } from "../../models/index";
|
|
3
|
+
import { IkasPageComponentPropValue } from "../../utils/index";
|
|
4
|
+
declare type Props = {
|
|
5
|
+
propValues: IkasPageComponentPropValue[];
|
|
6
|
+
page?: IkasThemePage;
|
|
7
|
+
};
|
|
8
|
+
export declare const IkasPage: React.FC<Props>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { NextRouter } from "next/router";
|
|
2
|
+
import { IkasThemePage, IkasThemePageComponent, IkasTheme, IkasThemeComponent } from "../../models/index";
|
|
3
|
+
import { IkasPageDataProvider } from "../../utils/index";
|
|
4
|
+
export default class PageViewModel {
|
|
5
|
+
theme?: IkasTheme | null;
|
|
6
|
+
page?: IkasThemePage | null;
|
|
7
|
+
selectedPageComponentId?: string | null;
|
|
8
|
+
hoveredPageComponentId?: string | null;
|
|
9
|
+
componentRefs: any;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
pageParams: Record<string, any>;
|
|
12
|
+
queryParams: Record<string, any>;
|
|
13
|
+
apiKey?: string | null;
|
|
14
|
+
pageDataProvider?: IkasPageDataProvider | null;
|
|
15
|
+
router: NextRouter;
|
|
16
|
+
constructor(router: NextRouter);
|
|
17
|
+
get selectedPageComponent(): IkasThemePageComponent;
|
|
18
|
+
get selectedComponent(): IkasThemeComponent;
|
|
19
|
+
startMessaging: () => void;
|
|
20
|
+
onMessage: (event: MessageEvent) => Promise<void>;
|
|
21
|
+
onClick: (id: string) => void;
|
|
22
|
+
onMouseOver: (id: string) => void;
|
|
23
|
+
onMouseLeave: (id: string) => void;
|
|
24
|
+
sendMessage: (type: BridgeMessageType, data?: any) => void;
|
|
25
|
+
getComponentPropValues: (pageComponent: IkasThemePageComponent) => any;
|
|
26
|
+
getPagePropValues: () => Promise<void>;
|
|
27
|
+
setComponentRef: (element: React.ElementType, component: IkasThemePageComponent) => void;
|
|
28
|
+
isScrolledIntoView: (el: HTMLElement) => boolean;
|
|
29
|
+
handleUpdateFrameData: (data: any) => Promise<void>;
|
|
30
|
+
handleUpdatePropValue: (data: any) => Promise<void>;
|
|
31
|
+
handleUpdatePageParams: (data: any) => Promise<void>;
|
|
32
|
+
handleUpdatePageComponentOrder: (data: any) => Promise<void>;
|
|
33
|
+
handleAddNewComponent: (data: any) => void;
|
|
34
|
+
handleDeleteComponent: (data: any) => void;
|
|
35
|
+
handleUpdateComponent: (data: any) => void;
|
|
36
|
+
handleAddNewPageComponent: (data: any) => Promise<void>;
|
|
37
|
+
handleDeletePageComponent: (data: any) => void;
|
|
38
|
+
handleSetSelectedComponent: (data: any) => void;
|
|
39
|
+
handleSetHoveredComponent: (data: any) => void;
|
|
40
|
+
handleScrollToComponent: (data: any) => void;
|
|
41
|
+
}
|
|
42
|
+
export declare enum BridgeMessageType {
|
|
43
|
+
FRAME_DID_LOAD = "FRAME_DID_LOAD",
|
|
44
|
+
UPDATE_FRAME_DATA = "UPDATE_FRAME_DATA",
|
|
45
|
+
UPDATE_PROP_VALUE = "UPDATE_PROP_VALUE",
|
|
46
|
+
UPDATE_PAGE_PARAMS = "UPDATE_PAGE_PARAMS",
|
|
47
|
+
UPDATE_PAGE_COMPONENT_ORDER = "UPDATE_PAGE_COMPONENT_ORDER",
|
|
48
|
+
ADD_NEW_COMPONENT = "ADD_NEW_COMPONENT",
|
|
49
|
+
DELETE_COMPONENT = "DELETE_COMPONENT",
|
|
50
|
+
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
|
51
|
+
ADD_NEW_PAGE_COMPONENT = "ADD_NEW_PAGE_COMPONENT",
|
|
52
|
+
DELETE_PAGE_COMPONENT = "DELETE_PAGE_COMPONENT",
|
|
53
|
+
COMPONENT_MOUSE_OVER = "COMPONENT_MOUSE_OVER",
|
|
54
|
+
COMPONENT_MOUSE_LEAVE = "COMPONENT_MOUSE_LEAVE",
|
|
55
|
+
COMPONENT_CLICK = "COMPONENT_CLICK",
|
|
56
|
+
SET_SELECTED_COMPONENT = "SET_SELECTED_COMPONENT",
|
|
57
|
+
SET_HOVERED_COMPONENT = "SET_HOVERED_COMPONENT",
|
|
58
|
+
SCROLL_TO_COMPONENT = "SCROLL_TO_COMPONENT"
|
|
59
|
+
}
|
package/build/index.d.ts
ADDED