@storecraft/dashboard 1.0.34 → 1.0.36
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/lib/src/index.js +34719 -62337
- package/dist/lib/src/index.umd.cjs +459 -573
- package/dist/lib/src/src/apps/gallery/gallery-image-grid.d.ts +14 -0
- package/dist/lib/src/src/apps/gallery/gallery-page.d.ts +2 -0
- package/dist/lib/src/{apps → src/apps}/gallery/gallery-searchbar.d.ts +8 -7
- package/dist/lib/src/src/apps/gallery/gallery-select.d.ts +9 -0
- package/dist/lib/src/src/apps/gallery/gallery.d.ts +29 -0
- package/dist/lib/src/src/apps/gallery/image-header.d.ts +9 -0
- package/dist/lib/src/src/apps/gallery/image-page.d.ts +16 -0
- package/dist/lib/src/src/apps/gallery/utils.d.ts +2 -0
- package/dist/lib/src/src/apps/index.d.ts +2 -0
- package/dist/lib/src/src/comps/action-bar.d.ts +8 -0
- package/dist/lib/src/src/comps/air-date-picker.d.ts +6 -0
- package/dist/lib/src/src/comps/asset-favicon.d.ts +1 -0
- package/dist/lib/src/src/comps/attributes.d.ts +23 -0
- package/dist/lib/src/src/comps/base-chart-view.d.ts +31 -0
- package/dist/lib/src/src/comps/bulk-tag-products-in-collection.d.ts +9 -0
- package/dist/lib/src/src/comps/capsule.d.ts +8 -0
- package/dist/lib/src/src/comps/capsules-view.d.ts +10 -0
- package/dist/lib/src/src/comps/chart.demo.tsx.d.ts +2 -0
- package/dist/lib/src/src/comps/client-only.d.ts +3 -0
- package/dist/lib/src/src/comps/collection-actions.d.ts +21 -0
- package/dist/lib/src/src/comps/collection-products.d.ts +26 -0
- package/dist/lib/src/src/comps/common-button.d.ts +78 -0
- package/dist/lib/src/src/comps/common-fields.d.ts +83 -0
- package/dist/lib/src/src/comps/common-table-fields.d.ts +18 -0
- package/dist/lib/src/src/comps/common-ui.d.ts +97 -0
- package/dist/lib/src/{comps → src/comps}/copyable-view.d.ts +5 -2
- package/dist/lib/src/src/comps/customer-orders.d.ts +5 -0
- package/dist/lib/src/src/comps/dark-mode.d.ts +2 -0
- package/dist/lib/src/src/comps/discount-details.d.ts +54 -0
- package/dist/lib/src/src/comps/discount-filters.d.ts +60 -0
- package/dist/lib/src/src/comps/discount-performance.d.ts +5 -0
- package/dist/lib/src/src/comps/discounts-quick-search-actions.d.ts +2 -0
- package/dist/lib/src/src/comps/discounts-table-code.d.ts +8 -0
- package/dist/lib/src/src/comps/discounts-table-type.d.ts +6 -0
- package/dist/lib/src/src/comps/document-actions.d.ts +10 -0
- package/dist/lib/src/src/comps/document-details.d.ts +7 -0
- package/dist/lib/src/src/comps/document-title.d.ts +7 -0
- package/dist/lib/src/src/comps/drawer.d.ts +6 -0
- package/dist/lib/src/src/comps/error-message.d.ts +18 -0
- package/dist/lib/src/{comps → src/comps}/fields-view.d.ts +24 -27
- package/dist/lib/src/src/comps/gradient-text.d.ts +1 -0
- package/dist/lib/src/src/comps/home-header.d.ts +10 -0
- package/dist/lib/src/src/comps/home-invite-action-card.d.ts +7 -0
- package/dist/lib/src/src/comps/home-performace.d.ts +19 -0
- package/dist/lib/src/src/comps/home-sales-chart.d.ts +8 -0
- package/dist/lib/src/src/comps/home-stat-card.d.ts +10 -0
- package/dist/lib/src/src/comps/home-time-frame.d.ts +10 -0
- package/dist/lib/src/{comps → src/comps}/image-editor.d.ts +9 -42
- package/dist/lib/src/src/comps/img.d.ts +11 -0
- package/dist/lib/src/src/comps/json.d.ts +8 -0
- package/dist/lib/src/src/comps/lazy-carousel.d.ts +9 -0
- package/dist/lib/src/src/comps/loading-image.d.ts +3 -0
- package/dist/lib/src/src/comps/login-connect.d.ts +3 -0
- package/dist/lib/src/{comps → src/comps}/login-content.d.ts +1 -1
- package/dist/lib/src/src/comps/login-copyright.d.ts +3 -0
- package/dist/lib/src/src/comps/login-form.d.ts +16 -0
- package/dist/lib/src/{comps → src/comps}/login-latest-updates.d.ts +3 -6
- package/dist/lib/src/src/comps/login-marquee.d.ts +3 -0
- package/dist/lib/src/src/comps/logo-text.d.ts +4 -0
- package/dist/lib/src/src/comps/logo.d.ts +8 -0
- package/dist/lib/src/{comps → src/comps}/markdown-card.d.ts +2 -2
- package/dist/lib/src/src/comps/md-editor.d.ts +8 -0
- package/dist/lib/src/src/comps/md-view.d.ts +5 -0
- package/dist/lib/src/{comps → src/comps}/media.d.ts +13 -37
- package/dist/lib/src/{comps → src/comps}/modal.d.ts +4 -5
- package/dist/lib/src/src/comps/notifications-button.d.ts +11 -0
- package/dist/lib/src/{comps → src/comps}/notifications.d.ts +6 -5
- package/dist/lib/src/src/comps/order-coupon-info.d.ts +5 -0
- package/dist/lib/src/src/comps/order-delivery-method.d.ts +5 -0
- package/dist/lib/src/src/comps/order-line-items.d.ts +12 -0
- package/dist/lib/src/src/comps/order-payment-gateway.d.ts +16 -0
- package/dist/lib/src/src/comps/order-price.d.ts +12 -0
- package/dist/lib/src/src/comps/orders-quick-search-actions.d.ts +4 -0
- package/dist/lib/src/src/comps/overlay.d.ts +11 -0
- package/dist/lib/src/src/comps/portal-creator.d.ts +12 -0
- package/dist/lib/src/src/comps/product-discounts.d.ts +15 -0
- package/dist/lib/src/src/comps/product-related-products.d.ts +10 -0
- package/dist/lib/src/src/comps/products-variants.d.ts +26 -0
- package/dist/lib/src/src/comps/quick-search-browser.d.ts +26 -0
- package/dist/lib/src/src/comps/resource-browse.d.ts +30 -0
- package/dist/lib/src/src/comps/resource-onboard-svg.d.ts +2 -0
- package/dist/lib/src/src/comps/resource-title.d.ts +7 -0
- package/dist/lib/src/{comps → src/comps}/resource-view.d.ts +2 -2
- package/dist/lib/src/src/comps/secret-view.d.ts +4 -0
- package/dist/lib/src/src/comps/select-resource.d.ts +80 -0
- package/dist/lib/src/src/comps/settings-api-keys.d.ts +12 -0
- package/dist/lib/src/src/comps/settings-change-password.d.ts +1 -0
- package/dist/lib/src/src/comps/show-if.d.ts +14 -0
- package/dist/lib/src/src/comps/side-menu.d.ts +22 -0
- package/dist/lib/src/src/comps/splitter-view.d.ts +1 -0
- package/dist/lib/src/src/comps/storefront-products.d.ts +11 -0
- package/dist/lib/src/src/comps/symbols.d.ts +4 -0
- package/dist/lib/src/{comps → src/comps}/table-schema-view.d.ts +11 -10
- package/dist/lib/src/src/comps/tag-values.d.ts +5 -0
- package/dist/lib/src/src/comps/tags-edit.d.ts +12 -0
- package/dist/lib/src/src/comps/template-example-input.d.ts +5 -0
- package/dist/lib/src/src/comps/template-template.d.ts +18 -0
- package/dist/lib/src/src/comps/transition.d.ts +32 -0
- package/dist/lib/src/{hooks → src/hooks}/create-media-query-hook.d.ts +3 -3
- package/dist/lib/src/src/hooks/use-collections-actions.d.ts +48 -0
- package/dist/lib/src/src/hooks/use-document-actions.d.ts +64 -0
- package/dist/lib/src/src/hooks/use-interval.d.ts +8 -0
- package/dist/lib/src/src/hooks/use-keyboard-match.d.ts +5 -0
- package/dist/lib/src/src/hooks/use-media-query.d.ts +1 -0
- package/dist/lib/src/src/hooks/use-mounted.d.ts +1 -0
- package/dist/lib/src/src/hooks/use-navigate-with-state.d.ts +18 -0
- package/dist/lib/src/src/hooks/use-on-click-outside.d.ts +5 -0
- package/dist/lib/src/{hooks → src/hooks}/use-preferences.d.ts +4 -4
- package/dist/lib/src/src/hooks/use-scroll-delta.d.ts +13 -0
- package/dist/lib/src/src/hooks/use-toggle.d.ts +5 -0
- package/dist/lib/src/{hooks → src/hooks}/use-trigger.d.ts +2 -2
- package/dist/lib/src/src/hooks/utils.browser.d.ts +11 -0
- package/dist/lib/src/src/index.d.ts +13 -0
- package/dist/lib/src/src/layout.d.ts +9 -0
- package/dist/lib/src/src/login.d.ts +5 -0
- package/dist/lib/src/src/pages/collection.d.ts +17 -0
- package/dist/lib/src/src/pages/collections.d.ts +2 -0
- package/dist/lib/src/src/pages/customer.d.ts +17 -0
- package/dist/lib/src/src/pages/customers.d.ts +4 -0
- package/dist/lib/src/src/pages/discount.d.ts +18 -0
- package/dist/lib/src/src/pages/discounts.d.ts +2 -0
- package/dist/lib/src/src/pages/extension.d.ts +14 -0
- package/dist/lib/src/src/pages/extensions.d.ts +8 -0
- package/dist/lib/src/src/pages/home.d.ts +2 -0
- package/dist/lib/src/src/pages/index.d.ts +33 -0
- package/dist/lib/src/src/pages/order.d.ts +24 -0
- package/dist/lib/src/src/pages/orders.d.ts +2 -0
- package/dist/lib/src/src/pages/payment-gateway.d.ts +14 -0
- package/dist/lib/src/src/pages/payment-gateways.d.ts +8 -0
- package/dist/lib/src/src/pages/post.d.ts +18 -0
- package/dist/lib/src/src/pages/posts.d.ts +2 -0
- package/dist/lib/src/src/pages/product.d.ts +30 -0
- package/dist/lib/src/src/pages/products.d.ts +2 -0
- package/dist/lib/src/src/pages/settings.d.ts +2 -0
- package/dist/lib/src/src/pages/shipping-method.d.ts +18 -0
- package/dist/lib/src/src/pages/shipping-methods.d.ts +2 -0
- package/dist/lib/src/src/pages/storefront.d.ts +18 -0
- package/dist/lib/src/src/pages/storefronts.d.ts +2 -0
- package/dist/lib/src/src/pages/tag.d.ts +17 -0
- package/dist/lib/src/src/pages/tags.d.ts +2 -0
- package/dist/lib/src/src/pages/template.d.ts +13 -0
- package/dist/lib/src/src/pages/templates.d.ts +2 -0
- package/dist/lib/src/src/routes.d.ts +1 -0
- package/dist/lib/src/src/screens.d.ts +10 -0
- package/dist/lib/src/src/utils/index.d.ts +7 -0
- package/dist/lib/src/src/utils/time.d.ts +7 -0
- package/dist/website/assets/index-BjGWqHuK.js +685 -0
- package/dist/website/assets/style-BJD2VYZP.css +1 -0
- package/dist/website/index.html +2 -2
- package/package.json +29 -24
- package/dist/lib/src/apps/gallery/gallery-image-grid.d.ts +0 -30
- package/dist/lib/src/apps/gallery/gallery-page.d.ts +0 -2
- package/dist/lib/src/apps/gallery/gallery-select.d.ts +0 -7
- package/dist/lib/src/apps/gallery/gallery.d.ts +0 -56
- package/dist/lib/src/apps/gallery/image-header.d.ts +0 -18
- package/dist/lib/src/apps/gallery/image-page.d.ts +0 -16
- package/dist/lib/src/apps/gallery/index.d.ts +0 -1
- package/dist/lib/src/apps/gallery/utils.d.ts +0 -2
- package/dist/lib/src/apps/index.d.ts +0 -2
- package/dist/lib/src/comps/action-bar.d.ts +0 -25
- package/dist/lib/src/comps/asset-favicon.d.ts +0 -1
- package/dist/lib/src/comps/attributes.d.ts +0 -16
- package/dist/lib/src/comps/base-chart-view.d.ts +0 -20
- package/dist/lib/src/comps/bulk-tag-products-in-collection.d.ts +0 -5
- package/dist/lib/src/comps/capsule.d.ts +0 -8
- package/dist/lib/src/comps/capsules-view.d.ts +0 -27
- package/dist/lib/src/comps/client-only.d.ts +0 -11
- package/dist/lib/src/comps/collection-actions.d.ts +0 -35
- package/dist/lib/src/comps/collection-products.d.ts +0 -33
- package/dist/lib/src/comps/common-button.d.ts +0 -77
- package/dist/lib/src/comps/common-fields.d.ts +0 -61
- package/dist/lib/src/comps/common-table-fields.d.ts +0 -18
- package/dist/lib/src/comps/common-ui.d.ts +0 -101
- package/dist/lib/src/comps/customer-orders.d.ts +0 -13
- package/dist/lib/src/comps/dark-mode.d.ts +0 -5
- package/dist/lib/src/comps/discount-details.d.ts +0 -60
- package/dist/lib/src/comps/discount-filters.d.ts +0 -83
- package/dist/lib/src/comps/discount-performance.d.ts +0 -13
- package/dist/lib/src/comps/discounts-quick-search-actions.d.ts +0 -6
- package/dist/lib/src/comps/discounts-table-code.d.ts +0 -12
- package/dist/lib/src/comps/discounts-table-type.d.ts +0 -9
- package/dist/lib/src/comps/document-actions.d.ts +0 -11
- package/dist/lib/src/comps/document-details.d.ts +0 -20
- package/dist/lib/src/comps/document-title.d.ts +0 -20
- package/dist/lib/src/comps/drawer.d.ts +0 -18
- package/dist/lib/src/comps/error-message.d.ts +0 -29
- package/dist/lib/src/comps/gradient-text.d.ts +0 -1
- package/dist/lib/src/comps/home-header.d.ts +0 -24
- package/dist/lib/src/comps/home-invite-action-card.d.ts +0 -17
- package/dist/lib/src/comps/home-performace.d.ts +0 -33
- package/dist/lib/src/comps/home-sales-chart.d.ts +0 -20
- package/dist/lib/src/comps/home-stat-card.d.ts +0 -25
- package/dist/lib/src/comps/home-time-frame.d.ts +0 -21
- package/dist/lib/src/comps/img.d.ts +0 -11
- package/dist/lib/src/comps/json.d.ts +0 -14
- package/dist/lib/src/comps/lazy-carousel.d.ts +0 -20
- package/dist/lib/src/comps/login-connect.d.ts +0 -4
- package/dist/lib/src/comps/login-copyright.d.ts +0 -7
- package/dist/lib/src/comps/login-form.d.ts +0 -45
- package/dist/lib/src/comps/login-marquee.d.ts +0 -4
- package/dist/lib/src/comps/logo-text.d.ts +0 -2
- package/dist/lib/src/comps/logo.d.ts +0 -8
- package/dist/lib/src/comps/md-editor.d.ts +0 -20
- package/dist/lib/src/comps/md-view.d.ts +0 -16
- package/dist/lib/src/comps/notifications-button.d.ts +0 -28
- package/dist/lib/src/comps/order-coupon-info.d.ts +0 -12
- package/dist/lib/src/comps/order-delivery-method.d.ts +0 -11
- package/dist/lib/src/comps/order-line-items.d.ts +0 -19
- package/dist/lib/src/comps/order-payment-gateway.d.ts +0 -27
- package/dist/lib/src/comps/order-price.d.ts +0 -21
- package/dist/lib/src/comps/orders-quick-search-actions.d.ts +0 -9
- package/dist/lib/src/comps/overlay.d.ts +0 -19
- package/dist/lib/src/comps/portal-creator.d.ts +0 -6
- package/dist/lib/src/comps/product-discounts.d.ts +0 -22
- package/dist/lib/src/comps/product-related-products.d.ts +0 -10
- package/dist/lib/src/comps/products-variants-test.d.ts +0 -1
- package/dist/lib/src/comps/products-variants.d.ts +0 -38
- package/dist/lib/src/comps/quick-search-browser.d.ts +0 -32
- package/dist/lib/src/comps/resource-browse.d.ts +0 -51
- package/dist/lib/src/comps/resource-onboard-svg.d.ts +0 -2
- package/dist/lib/src/comps/resource-title.d.ts +0 -7
- package/dist/lib/src/comps/secret-view.d.ts +0 -9
- package/dist/lib/src/comps/select-resource.d.ts +0 -88
- package/dist/lib/src/comps/settings-api-keys.d.ts +0 -2
- package/dist/lib/src/comps/settings-change-password.d.ts +0 -2
- package/dist/lib/src/comps/settings-storage.d.ts +0 -15
- package/dist/lib/src/comps/show-if.d.ts +0 -25
- package/dist/lib/src/comps/side-menu.d.ts +0 -50
- package/dist/lib/src/comps/splitter-view.d.ts +0 -1
- package/dist/lib/src/comps/storefront-products.d.ts +0 -12
- package/dist/lib/src/comps/symbols.d.ts +0 -4
- package/dist/lib/src/comps/tag-values.d.ts +0 -9
- package/dist/lib/src/comps/tags-edit.d.ts +0 -13
- package/dist/lib/src/comps/template-example-input.d.ts +0 -3
- package/dist/lib/src/comps/template-template.d.ts +0 -6
- package/dist/lib/src/comps/transition.d.ts +0 -51
- package/dist/lib/src/hooks/use-collections-actions.d.ts +0 -43
- package/dist/lib/src/hooks/use-document-actions.d.ts +0 -37
- package/dist/lib/src/hooks/use-interval.d.ts +0 -13
- package/dist/lib/src/hooks/use-keyboard-match.d.ts +0 -6
- package/dist/lib/src/hooks/use-media-query.d.ts +0 -3
- package/dist/lib/src/hooks/use-mounted.d.ts +0 -1
- package/dist/lib/src/hooks/use-navigate-with-state.d.ts +0 -26
- package/dist/lib/src/hooks/use-on-click-outside.d.ts +0 -7
- package/dist/lib/src/hooks/use-scroll-delta.d.ts +0 -4
- package/dist/lib/src/hooks/use-toggle.d.ts +0 -7
- package/dist/lib/src/hooks/utils.browser.d.ts +0 -7
- package/dist/lib/src/index.cjs +0 -800
- package/dist/lib/src/index.d.ts +0 -6
- package/dist/lib/src/layout.d.ts +0 -18
- package/dist/lib/src/login.d.ts +0 -17
- package/dist/lib/src/pages/collection.d.ts +0 -15
- package/dist/lib/src/pages/collections.d.ts +0 -2
- package/dist/lib/src/pages/customer.d.ts +0 -15
- package/dist/lib/src/pages/customers.d.ts +0 -3
- package/dist/lib/src/pages/discount.d.ts +0 -15
- package/dist/lib/src/pages/discounts.d.ts +0 -2
- package/dist/lib/src/pages/extension.d.ts +0 -13
- package/dist/lib/src/pages/extensions.d.ts +0 -16
- package/dist/lib/src/pages/home.d.ts +0 -2
- package/dist/lib/src/pages/index.d.ts +0 -36
- package/dist/lib/src/pages/order.d.ts +0 -21
- package/dist/lib/src/pages/orders.d.ts +0 -2
- package/dist/lib/src/pages/payment-gateway.d.ts +0 -13
- package/dist/lib/src/pages/payment-gateways.d.ts +0 -16
- package/dist/lib/src/pages/post.d.ts +0 -15
- package/dist/lib/src/pages/posts.d.ts +0 -2
- package/dist/lib/src/pages/product.d.ts +0 -22
- package/dist/lib/src/pages/products.d.ts +0 -2
- package/dist/lib/src/pages/settings.d.ts +0 -4
- package/dist/lib/src/pages/shipping-method.d.ts +0 -15
- package/dist/lib/src/pages/shipping-methods.d.ts +0 -2
- package/dist/lib/src/pages/storefront.d.ts +0 -15
- package/dist/lib/src/pages/storefronts.d.ts +0 -2
- package/dist/lib/src/pages/tag.d.ts +0 -15
- package/dist/lib/src/pages/tags.d.ts +0 -2
- package/dist/lib/src/pages/template.d.ts +0 -15
- package/dist/lib/src/pages/templates.d.ts +0 -2
- package/dist/lib/src/routes.d.ts +0 -1
- package/dist/lib/src/utils/index.d.ts +0 -7
- package/dist/lib/src/utils/time.d.ts +0 -7
- package/dist/website/assets/index-DxEM6N8c.js +0 -813
- package/dist/website/assets/style-DkU0t4eA.css +0 -1
- /package/dist/lib/src/{auto-mount.d.ts → src/auto-mount.d.ts} +0 -0
- /package/dist/lib/src/{hooks → src/hooks}/use-dark-mode.d.ts +0 -0
package/dist/lib/src/index.d.ts
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
export function mountStorecraftDashboard(el: HTMLElement, is_backend_endpoint_editable?: boolean): () => void;
|
3
|
-
export function Dashboard({ is_backend_endpoint_editable }: DashboardParams): React.JSX.Element;
|
4
|
-
export type DashboardParams = {
|
5
|
-
is_backend_endpoint_editable?: boolean;
|
6
|
-
};
|
package/dist/lib/src/layout.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
export const MainPortal: {
|
3
|
-
Portal: React.FC<{}>;
|
4
|
-
PortalChild: React.FC<{
|
5
|
-
children?: React.ReactNode;
|
6
|
-
}>;
|
7
|
-
};
|
8
|
-
export default Layout;
|
9
|
-
export type LayoutParams = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
10
|
-
/**
|
11
|
-
*
|
12
|
-
* @typedef {React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>
|
13
|
-
* } LayoutParams
|
14
|
-
*
|
15
|
-
* @param {LayoutParams} params
|
16
|
-
*
|
17
|
-
*/
|
18
|
-
declare function Layout({ children, className, ...rest }: LayoutParams): React.JSX.Element;
|
package/dist/lib/src/login.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
export default Login;
|
3
|
-
export type LoginParams = {
|
4
|
-
trigger: () => void;
|
5
|
-
is_backend_endpoint_editable?: boolean;
|
6
|
-
};
|
7
|
-
/**
|
8
|
-
*
|
9
|
-
* @typedef {object} LoginParams
|
10
|
-
* @prop {() => void} trigger
|
11
|
-
* @prop {boolean} [is_backend_endpoint_editable=true]
|
12
|
-
*
|
13
|
-
*
|
14
|
-
* @param {LoginParams} params
|
15
|
-
*
|
16
|
-
*/
|
17
|
-
declare function Login({ is_backend_endpoint_editable }: LoginParams): React.JSX.Element;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `collection`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').CollectionType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `collection` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `tag`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').CustomerType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `tag` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `tag`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').DiscountType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `tag` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
declare function _default({}: {}): import("react").JSX.Element;
|
2
|
-
export default _default;
|
3
|
-
/**
|
4
|
-
* Intrinsic state of `tag`
|
5
|
-
*/
|
6
|
-
export type State = {
|
7
|
-
data: import('@storecraft/core/api').TagType;
|
8
|
-
hasChanged: boolean;
|
9
|
-
};
|
10
|
-
/**
|
11
|
-
* Public `tag` context
|
12
|
-
*/
|
13
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export function SpanWithLogo({ value, children, className, context, extra, ...rest }: SpanWithLogoParams): import("react").JSX.Element;
|
2
|
-
declare function _default({}: {}): import("react").JSX.Element;
|
3
|
-
export default _default;
|
4
|
-
export type ExtensionItemGet = import('@storecraft/core/api').ExtensionItemGet;
|
5
|
-
/**
|
6
|
-
* This is used in `TableSchemaView`
|
7
|
-
*/
|
8
|
-
export type InternalSpanWithLogoParams = {
|
9
|
-
className?: string;
|
10
|
-
extra?: string;
|
11
|
-
children?: React.ReactNode;
|
12
|
-
};
|
13
|
-
/**
|
14
|
-
* This is used in `TableSchemaView`
|
15
|
-
*/
|
16
|
-
export type SpanWithLogoParams = import('../comps/table-schema-view.jsx').TableSchemaViewComponentParams<string, ExtensionItemGet> & InternalSpanWithLogoParams & React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>;
|
@@ -1,36 +0,0 @@
|
|
1
|
-
export { default as Home } from './home.jsx';
|
2
|
-
export { default as Orders } from './orders.jsx';
|
3
|
-
export { default as Order } from './order.jsx';
|
4
|
-
export { default as Customers } from './customers.jsx';
|
5
|
-
export { default as Customer } from './customer.jsx';
|
6
|
-
export { default as Tags } from './tags.jsx';
|
7
|
-
export { default as Tag } from './tag.jsx';
|
8
|
-
export { default as Templates } from './templates.jsx';
|
9
|
-
export { default as Template } from './template.jsx';
|
10
|
-
export { default as Products } from './products.jsx';
|
11
|
-
export { default as Product } from './product.jsx';
|
12
|
-
export { default as Collections } from './collections.jsx';
|
13
|
-
export { default as Collection } from './collection.jsx';
|
14
|
-
export { default as Discounts } from './discounts.jsx';
|
15
|
-
export { default as Discount } from './discount.jsx';
|
16
|
-
export { default as ShippingMethods } from './shipping-methods.jsx';
|
17
|
-
export { default as ShippingMethod } from './shipping-method.jsx';
|
18
|
-
export { default as Storefronts } from './storefronts.jsx';
|
19
|
-
export { default as Storefront } from './storefront.jsx';
|
20
|
-
export { default as Posts } from './posts.jsx';
|
21
|
-
export { default as Post } from './post.jsx';
|
22
|
-
export { default as PaymentGateways } from './payment-gateways.jsx';
|
23
|
-
export { default as PaymentGateway } from './payment-gateway.jsx';
|
24
|
-
export { default as Extensions } from './extensions.jsx';
|
25
|
-
export { default as Extension } from './extension.jsx';
|
26
|
-
export { default as Settings } from './settings.jsx';
|
27
|
-
export type BaseDocumentState<T extends unknown = any> = {
|
28
|
-
hasChanged?: boolean;
|
29
|
-
data?: T;
|
30
|
-
};
|
31
|
-
export type BaseDocumentContext<State extends BaseDocumentState = any> = {
|
32
|
-
/**
|
33
|
-
* Get the values of the `fields-view` tree
|
34
|
-
*/
|
35
|
-
getState?: () => State;
|
36
|
-
};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `order`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').OrderData;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Inner `order` context
|
14
|
-
*/
|
15
|
-
export type InnerContext = {
|
16
|
-
create_checkout: (gateay: string) => Promise<any>;
|
17
|
-
};
|
18
|
-
/**
|
19
|
-
* Public `order` context
|
20
|
-
*/
|
21
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State> & InnerContext;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
declare function _default({}: {}): import("react").JSX.Element;
|
2
|
-
export default _default;
|
3
|
-
/**
|
4
|
-
* Intrinsic state of `tag`
|
5
|
-
*/
|
6
|
-
export type State = {
|
7
|
-
data: import('@storecraft/core/api').TagType;
|
8
|
-
hasChanged: boolean;
|
9
|
-
};
|
10
|
-
/**
|
11
|
-
* Public `tag` context
|
12
|
-
*/
|
13
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export function SpanWithLogo({ value, children, className, context, extra, ...rest }: SpanWithLogoParams): import("react").JSX.Element;
|
2
|
-
declare function _default({}: {}): import("react").JSX.Element;
|
3
|
-
export default _default;
|
4
|
-
export type PaymentGatewayItemGet = import('@storecraft/core/api').PaymentGatewayItemGet;
|
5
|
-
/**
|
6
|
-
* This is used in `TableSchemaView`
|
7
|
-
*/
|
8
|
-
export type InternalSpanWithLogoParams = {
|
9
|
-
className?: string;
|
10
|
-
extra?: string;
|
11
|
-
children?: React.ReactNode;
|
12
|
-
};
|
13
|
-
/**
|
14
|
-
* This is used in `TableSchemaView`
|
15
|
-
*/
|
16
|
-
export type SpanWithLogoParams = import('../comps/table-schema-view.jsx').TableSchemaViewComponentParams<string, PaymentGatewayItemGet> & InternalSpanWithLogoParams & React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `post`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').PostType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `post` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `product`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').ProductType | import('@storecraft/core/api').VariantType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Inner `product` context
|
14
|
-
*/
|
15
|
-
export type InnerProductContext = {
|
16
|
-
removeVariant: (product_variant_handle: string) => Promise<void>;
|
17
|
-
preCreateVariant: () => Promise<void>;
|
18
|
-
};
|
19
|
-
/**
|
20
|
-
* Public `product` context
|
21
|
-
*/
|
22
|
-
export type Context = InnerProductContext & import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `shipping`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').ShippingMethodType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `shipping` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `post`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').StorefrontType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `post` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `tag`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').TagType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `tag` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare function _default({ mode, ...rest }: {
|
2
|
-
mode: import('../hooks/use-document-actions.js').DocumentActionsMode;
|
3
|
-
}): import("react").JSX.Element;
|
4
|
-
export default _default;
|
5
|
-
/**
|
6
|
-
* Intrinsic state of `tag`
|
7
|
-
*/
|
8
|
-
export type State = {
|
9
|
-
data: import('@storecraft/core/api').TagType;
|
10
|
-
hasChanged: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* Public `tag` context
|
14
|
-
*/
|
15
|
-
export type Context = import('./index.jsx').BaseDocumentContext<State>;
|
package/dist/lib/src/routes.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default function Main(props: any): import("react").JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export function to_slug(val: string): string;
|
2
|
-
export function capFirstLetter(v: string): string;
|
3
|
-
export function read_clipboard(): Promise<string>;
|
4
|
-
export function write_clipboard(text: string): Promise<void>;
|
5
|
-
export function hasTouchScreen(): boolean;
|
6
|
-
export function encode(o: object): string;
|
7
|
-
export function decode(c: string): any;
|