@vendure/admin-ui 2.0.0-next.2 → 2.0.0-next.21
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/catalog/catalog.module.d.ts +15 -11
- package/catalog/components/assign-to-channel-dialog/assign-to-channel-dialog.component.d.ts +22 -0
- package/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component.d.ts +41 -0
- package/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.graphql.d.ts +4 -0
- package/catalog/components/collection-contents/collection-contents.component.d.ts +10 -2
- package/catalog/components/collection-detail/collection-detail.component.d.ts +13 -4
- package/catalog/components/collection-list/collection-list-bulk-actions.d.ts +6 -0
- package/catalog/components/collection-list/collection-list.component.d.ts +9 -5
- package/catalog/components/collection-tree/array-to-tree.d.ts +1 -1
- package/catalog/components/collection-tree/collection-tree-node.component.d.ts +14 -6
- package/catalog/components/collection-tree/collection-tree.component.d.ts +4 -1
- package/catalog/components/facet-list/facet-list-bulk-actions.d.ts +5 -0
- package/catalog/components/facet-list/facet-list.component.d.ts +2 -1
- package/catalog/components/generate-product-variants/generate-product-variants.component.d.ts +3 -3
- package/catalog/components/option-value-input/option-value-input.component.d.ts +21 -9
- package/catalog/components/product-detail/product-detail.component.d.ts +1 -1
- package/catalog/components/product-list/product-list-bulk-actions.d.ts +6 -0
- package/catalog/components/product-list/product-list.component.d.ts +4 -2
- package/catalog/components/product-variants-editor/product-variants-editor.component.d.ts +22 -12
- package/catalog/components/product-variants-list/product-variants-list.component.d.ts +1 -0
- package/catalog/public_api.d.ts +6 -1
- package/core/common/component-registry-types.d.ts +1 -1
- package/core/common/generated-types.d.ts +3184 -195
- package/core/common/utilities/bulk-action-utils.d.ts +19 -0
- package/core/common/utilities/configurable-operation-utils.d.ts +7 -2
- package/core/common/utilities/selection-manager.d.ts +30 -0
- package/core/common/version.d.ts +1 -1
- package/core/components/app-shell/app-shell.component.d.ts +1 -0
- package/core/data/definitions/collection-definitions.d.ts +4 -0
- package/core/data/definitions/facet-definitions.d.ts +3 -0
- package/core/data/definitions/order-definitions.d.ts +14 -0
- package/core/data/definitions/product-definitions.d.ts +2 -0
- package/core/data/providers/collection-data.service.d.ts +7 -0
- package/core/data/providers/facet-data.service.d.ts +3 -0
- package/core/data/providers/order-data.service.d.ts +18 -0
- package/core/data/providers/product-data.service.d.ts +2 -0
- package/core/providers/bulk-action-registry/bulk-action-registry.service.d.ts +9 -0
- package/core/providers/bulk-action-registry/bulk-action-types.d.ts +149 -0
- package/core/providers/bulk-action-registry/register-bulk-action.d.ts +53 -0
- package/core/providers/local-storage/local-storage.service.d.ts +1 -0
- package/core/providers/modal/modal.types.d.ts +2 -0
- package/core/providers/nav-builder/nav-builder-types.d.ts +1 -0
- package/core/public_api.d.ts +24 -1
- package/core/shared/components/asset-gallery/asset-gallery.component.d.ts +27 -3
- package/core/shared/components/bulk-action-menu/bulk-action-menu.component.d.ts +32 -0
- package/core/shared/components/configurable-input/configurable-input.component.d.ts +8 -3
- package/core/shared/components/custom-field-control/custom-field-control.component.d.ts +6 -2
- package/core/shared/components/data-table/data-table.component.d.ts +29 -7
- package/core/shared/components/dropdown/dropdown-menu.component.d.ts +2 -1
- package/core/shared/components/facet-value-selector/facet-value-selector.component.d.ts +3 -2
- package/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.d.ts +38 -0
- package/{catalog → core/shared}/components/product-search-input/product-search-input.component.d.ts +1 -1
- package/core/shared/components/radio-card/radio-card-fieldset.component.d.ts +24 -0
- package/core/shared/components/radio-card/radio-card.component.d.ts +22 -0
- package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.d.ts +31 -0
- package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.d.ts +34 -0
- package/core/shared/components/rich-text-editor/prosemirror/custom-nodes.d.ts +4 -0
- package/core/shared/components/rich-text-editor/prosemirror/inputrules.d.ts +5 -5
- package/core/shared/components/rich-text-editor/prosemirror/menu/links.d.ts +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.d.ts +12 -0
- package/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.d.ts +9 -0
- package/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.d.ts +14 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.d.ts +7 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/link-select-plugin.d.ts +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.d.ts +7 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.d.ts +13 -0
- package/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.d.ts +7 -3
- package/core/shared/components/rich-text-editor/prosemirror/types.d.ts +0 -2
- package/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.d.ts +21 -0
- package/core/shared/components/rich-text-editor/rich-text-editor.component.d.ts +6 -2
- package/core/shared/components/select-toggle/select-toggle.component.d.ts +2 -1
- package/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.d.ts +30 -0
- package/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.d.ts +22 -0
- package/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.d.ts +5 -17
- package/core/shared/dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component.d.ts +28 -0
- package/core/shared/dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component.d.ts +2 -0
- package/core/shared/dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component.d.ts +23 -0
- package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +5 -1
- package/core/shared/dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component.d.ts +6 -3
- package/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.d.ts +10 -2
- package/core/shared/pipes/custom-field-description.pipe.d.ts +11 -0
- package/core/shared/pipes/custom-field-label.pipe.d.ts +4 -10
- package/core/shared/shared.module.d.ts +68 -57
- package/customer/components/customer-group-list/customer-group-list.component.d.ts +6 -4
- package/customer/components/customer-group-member-list/customer-group-member-list.component.d.ts +11 -4
- package/esm2020/catalog/catalog.module.mjs +31 -10
- package/esm2020/catalog/components/apply-facet-dialog/apply-facet-dialog.component.mjs +1 -1
- package/esm2020/catalog/components/assets/assets.component.mjs +2 -2
- package/esm2020/catalog/components/assign-products-to-channel-dialog/assign-products-to-channel-dialog.component.mjs +4 -1
- package/esm2020/catalog/components/assign-to-channel-dialog/assign-to-channel-dialog.component.mjs +50 -0
- package/esm2020/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component.mjs +84 -0
- package/esm2020/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.graphql.mjs +69 -0
- package/esm2020/catalog/components/collection-contents/collection-contents.component.mjs +61 -13
- package/esm2020/catalog/components/collection-detail/collection-detail.component.mjs +70 -32
- package/esm2020/catalog/components/collection-list/collection-list-bulk-actions.mjs +143 -0
- package/esm2020/catalog/components/collection-list/collection-list.component.mjs +46 -12
- package/esm2020/catalog/components/collection-tree/array-to-tree.mjs +3 -3
- package/esm2020/catalog/components/collection-tree/collection-tree-node.component.mjs +36 -10
- package/esm2020/catalog/components/collection-tree/collection-tree.component.mjs +9 -4
- package/esm2020/catalog/components/facet-detail/facet-detail.component.mjs +3 -3
- package/esm2020/catalog/components/facet-list/facet-list-bulk-actions.mjs +202 -0
- package/esm2020/catalog/components/facet-list/facet-list.component.mjs +14 -5
- package/esm2020/catalog/components/generate-product-variants/generate-product-variants.component.mjs +12 -4
- package/esm2020/catalog/components/option-value-input/option-value-input.component.mjs +70 -11
- package/esm2020/catalog/components/product-detail/product-detail.component.mjs +36 -24
- package/esm2020/catalog/components/product-list/product-list-bulk-actions.mjs +168 -0
- package/esm2020/catalog/components/product-list/product-list.component.mjs +13 -9
- package/esm2020/catalog/components/product-variants-editor/product-variants-editor.component.mjs +130 -19
- package/esm2020/catalog/components/product-variants-list/product-variants-list.component.mjs +9 -3
- package/esm2020/catalog/providers/routing/collection-resolver.mjs +2 -1
- package/esm2020/catalog/public_api.mjs +7 -2
- package/esm2020/core/app.component.module.mjs +1 -1
- package/esm2020/core/common/base-detail.component.mjs +1 -1
- package/esm2020/core/common/component-registry-types.mjs +1 -1
- package/esm2020/core/common/deactivate-aware.mjs +1 -1
- package/esm2020/core/common/generated-types.mjs +31 -1
- package/esm2020/core/common/introspection-result.mjs +296 -189
- package/esm2020/core/common/utilities/bulk-action-utils.mjs +35 -0
- package/esm2020/core/common/utilities/configurable-operation-utils.mjs +37 -10
- package/esm2020/core/common/utilities/selection-manager.mjs +96 -0
- package/esm2020/core/common/version.mjs +2 -2
- package/esm2020/core/components/app-shell/app-shell.component.mjs +6 -5
- package/esm2020/core/components/breadcrumb/breadcrumb.component.mjs +2 -2
- package/esm2020/core/components/channel-switcher/channel-switcher.component.mjs +1 -1
- package/esm2020/core/components/main-nav/main-nav.component.mjs +3 -3
- package/esm2020/core/components/user-menu/user-menu.component.mjs +1 -1
- package/esm2020/core/core.module.mjs +1 -1
- package/esm2020/core/data/definitions/collection-definitions.mjs +47 -1
- package/esm2020/core/data/definitions/facet-definitions.mjs +31 -1
- package/esm2020/core/data/definitions/order-definitions.mjs +583 -455
- package/esm2020/core/data/definitions/product-definitions.mjs +23 -1
- package/esm2020/core/data/definitions/shared-definitions.mjs +29 -28
- package/esm2020/core/data/providers/collection-data.service.mjs +20 -2
- package/esm2020/core/data/providers/customer-data.service.mjs +6 -1
- package/esm2020/core/data/providers/facet-data.service.mjs +18 -2
- package/esm2020/core/data/providers/order-data.service.mjs +43 -2
- package/esm2020/core/data/providers/product-data.service.mjs +10 -2
- package/esm2020/core/data/providers/promotion-data.service.mjs +1 -1
- package/esm2020/core/data/utils/remove-readonly-custom-fields.mjs +8 -1
- package/esm2020/core/providers/bulk-action-registry/bulk-action-registry.service.mjs +28 -0
- package/esm2020/core/providers/bulk-action-registry/bulk-action-types.mjs +2 -0
- package/esm2020/core/providers/bulk-action-registry/register-bulk-action.mjs +63 -0
- package/esm2020/core/providers/dashboard-widget/dashboard-widget.service.mjs +1 -4
- package/esm2020/core/providers/local-storage/local-storage.service.mjs +1 -1
- package/esm2020/core/providers/modal/modal.service.mjs +2 -1
- package/esm2020/core/providers/modal/modal.types.mjs +1 -1
- package/esm2020/core/providers/nav-builder/nav-builder-types.mjs +1 -1
- package/esm2020/core/public_api.mjs +25 -2
- package/esm2020/core/shared/components/action-bar/action-bar.component.mjs +7 -15
- package/esm2020/core/shared/components/address-form/address-form.component.mjs +3 -3
- package/esm2020/core/shared/components/asset-gallery/asset-gallery.component.mjs +34 -51
- package/esm2020/core/shared/components/asset-preview/asset-preview.component.mjs +4 -4
- package/esm2020/core/shared/components/asset-preview-links/asset-preview-links.component.mjs +1 -1
- package/esm2020/core/shared/components/bulk-action-menu/bulk-action-menu.component.mjs +97 -0
- package/esm2020/core/shared/components/configurable-input/configurable-input.component.mjs +22 -10
- package/esm2020/core/shared/components/custom-field-control/custom-field-control.component.mjs +18 -10
- package/esm2020/core/shared/components/data-table/data-table.component.mjs +64 -14
- package/esm2020/core/shared/components/datetime-picker/datetime-picker.component.mjs +1 -1
- package/esm2020/core/shared/components/dropdown/dropdown-menu.component.mjs +26 -23
- package/esm2020/core/shared/components/dropdown/dropdown-trigger.directive.mjs +1 -1
- package/esm2020/core/shared/components/entity-info/entity-info.component.mjs +1 -1
- package/esm2020/core/shared/components/facet-value-selector/facet-value-selector.component.mjs +13 -6
- package/esm2020/core/shared/components/formatted-address/formatted-address.component.mjs +3 -3
- package/esm2020/core/shared/components/help-tooltip/help-tooltip.component.mjs +2 -2
- package/esm2020/core/shared/components/history-entry-detail/history-entry-detail.component.mjs +1 -1
- package/esm2020/core/shared/components/language-selector/language-selector.component.mjs +3 -3
- package/esm2020/core/shared/components/object-tree/object-tree.component.mjs +1 -1
- package/esm2020/core/shared/components/order-state-label/order-state-label.component.mjs +2 -1
- package/esm2020/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.mjs +135 -0
- package/esm2020/core/shared/components/product-search-input/product-search-input.component.mjs +108 -0
- package/esm2020/core/shared/components/product-variant-selector/product-variant-selector.component.mjs +2 -2
- package/esm2020/core/shared/components/radio-card/radio-card-fieldset.component.mjs +54 -0
- package/esm2020/core/shared/components/radio-card/radio-card.component.mjs +53 -0
- package/esm2020/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.mjs +3 -3
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.mjs +136 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.mjs +46 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/custom-nodes.mjs +57 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/links.mjs +4 -4
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.mjs +22 -1
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.mjs +12 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu.mjs +73 -18
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.mjs +16 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.mjs +100 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.mjs +96 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.mjs +166 -0
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.mjs +47 -18
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/types.mjs +1 -1
- package/esm2020/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.mjs +59 -0
- package/esm2020/core/shared/components/rich-text-editor/rich-text-editor.component.mjs +22 -10
- package/esm2020/core/shared/components/select-toggle/select-toggle.component.mjs +6 -3
- package/esm2020/core/shared/components/simple-dialog/simple-dialog.component.mjs +3 -3
- package/esm2020/core/shared/components/ui-extension-point/ui-extension-point.component.mjs +1 -1
- package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.mjs +57 -0
- package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.mjs +63 -0
- package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.mjs +48 -83
- package/esm2020/core/shared/dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component.mjs +45 -0
- package/esm2020/core/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.mjs +3 -3
- package/esm2020/core/shared/dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component.mjs +12 -3
- package/esm2020/core/shared/dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component.mjs +48 -0
- package/esm2020/core/shared/dynamic-form-inputs/register-dynamic-input-components.mjs +7 -1
- package/esm2020/core/shared/dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component.mjs +11 -9
- package/esm2020/core/shared/dynamic-form-inputs/relation-form-input/generic/relation-generic-input.component.mjs +1 -1
- package/esm2020/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.mjs +21 -11
- package/esm2020/core/shared/pipes/custom-field-description.pipe.mjs +30 -0
- package/esm2020/core/shared/pipes/custom-field-label.pipe.mjs +7 -19
- package/esm2020/core/shared/pipes/locale-currency.pipe.mjs +10 -2
- package/esm2020/core/shared/pipes/state-i18n-token.pipe.mjs +2 -1
- package/esm2020/core/shared/shared.module.mjs +49 -5
- package/esm2020/customer/components/address-card/address-card.component.mjs +1 -1
- package/esm2020/customer/components/customer-detail/customer-detail.component.mjs +1 -1
- package/esm2020/customer/components/customer-group-list/customer-group-list.component.mjs +33 -18
- package/esm2020/customer/components/customer-group-member-list/customer-group-member-list.component.mjs +3 -3
- package/esm2020/customer/components/customer-history/customer-history.component.mjs +1 -1
- package/esm2020/customer/components/customer-list/customer-list.component.mjs +3 -3
- package/esm2020/dashboard/components/dashboard/dashboard.component.mjs +2 -2
- package/esm2020/dashboard/components/dashboard-widget/dashboard-widget.component.mjs +2 -2
- package/esm2020/dashboard/dashboard.module.mjs +6 -2
- package/esm2020/dashboard/widgets/latest-orders-widget/latest-orders-widget.component.mjs +1 -1
- package/esm2020/dashboard/widgets/order-summary-widget/order-summary-widget.component.mjs +2 -2
- package/esm2020/login/components/login/login.component.mjs +3 -3
- package/esm2020/marketing/components/promotion-detail/promotion-detail.component.mjs +3 -3
- package/esm2020/marketing/components/promotion-list/promotion-list.component.mjs +1 -1
- package/esm2020/order/components/cancel-order-dialog/cancel-order-dialog.component.mjs +1 -1
- package/esm2020/order/components/coupon-code-selector/coupon-code-selector.component.mjs +42 -0
- package/esm2020/order/components/draft-order-detail/draft-order-detail.component.mjs +187 -0
- package/esm2020/order/components/draft-order-variant-selector/draft-order-variant-selector.component.mjs +59 -0
- package/esm2020/order/components/fulfill-order-dialog/fulfill-order-dialog.component.mjs +7 -3
- package/esm2020/order/components/fulfillment-card/fulfillment-card.component.mjs +1 -1
- package/esm2020/order/components/fulfillment-detail/fulfillment-detail.component.mjs +8 -17
- package/esm2020/order/components/line-fulfillment/line-fulfillment.component.mjs +8 -22
- package/esm2020/order/components/order-custom-fields-card/order-custom-fields-card.component.mjs +30 -6
- package/esm2020/order/components/order-detail/order-detail.component.mjs +80 -40
- package/esm2020/order/components/order-editor/order-editor.component.mjs +15 -14
- package/esm2020/order/components/order-edits-preview-dialog/order-edits-preview-dialog.component.mjs +1 -1
- package/esm2020/order/components/order-history/order-history.component.mjs +1 -1
- package/esm2020/order/components/order-list/order-list.component.mjs +40 -17
- package/esm2020/order/components/order-payment-card/order-payment-card.component.mjs +3 -3
- package/esm2020/order/components/order-table/order-table.component.mjs +29 -6
- package/esm2020/order/components/refund-order-dialog/refund-order-dialog.component.mjs +2 -2
- package/esm2020/order/components/select-address-dialog/select-address-dialog.component.mjs +89 -0
- package/esm2020/order/components/select-address-dialog/select-address-dialog.graphql.mjs +14 -0
- package/esm2020/order/components/select-customer-dialog/select-customer-dialog.component.mjs +59 -0
- package/esm2020/order/components/select-shipping-method-dialog/select-shipping-method-dialog.component.mjs +31 -0
- package/esm2020/order/order.module.mjs +20 -2
- package/esm2020/order/order.routes.mjs +23 -4
- package/esm2020/order/providers/routing/order-resolver.mjs +29 -11
- package/esm2020/order/providers/routing/order.guard.mjs +37 -0
- package/esm2020/order/public_api.mjs +9 -1
- package/esm2020/settings/components/administrator-list/administrator-list.component.mjs +1 -1
- package/esm2020/settings/components/channel-list/channel-list.component.mjs +1 -1
- package/esm2020/settings/components/country-list/country-list.component.mjs +3 -3
- package/esm2020/settings/components/payment-method-detail/payment-method-detail.component.mjs +1 -1
- package/esm2020/settings/components/payment-method-list/payment-method-list.component.mjs +1 -1
- package/esm2020/settings/components/permission-grid/permission-grid.component.mjs +1 -1
- package/esm2020/settings/components/profile/profile.component.mjs +3 -3
- package/esm2020/settings/components/role-list/role-list.component.mjs +1 -1
- package/esm2020/settings/components/shipping-method-detail/shipping-method-detail.component.mjs +4 -2
- package/esm2020/settings/components/shipping-method-list/shipping-method-list.component.mjs +1 -1
- package/esm2020/settings/components/tax-category-list/tax-category-list.component.mjs +1 -1
- package/esm2020/settings/components/tax-rate-list/tax-rate-list.component.mjs +1 -1
- package/esm2020/settings/components/zone-detail-dialog/zone-detail-dialog.component.mjs +2 -2
- package/esm2020/settings/components/zone-list/zone-list.component.mjs +3 -3
- package/esm2020/settings/components/zone-member-list/zone-member-list.component.mjs +3 -3
- package/esm2020/system/components/health-check/health-check.component.mjs +2 -2
- package/esm2020/system/components/job-list/job-list.component.mjs +1 -1
- package/fesm2015/vendure-admin-ui-catalog.mjs +1206 -228
- package/fesm2015/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-core.mjs +9451 -7332
- package/fesm2015/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-customer.mjs +36 -23
- package/fesm2015/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-dashboard.mjs +11 -7
- package/fesm2015/vendure-admin-ui-dashboard.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-login.mjs +2 -2
- package/fesm2015/vendure-admin-ui-login.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-marketing.mjs +3 -3
- package/fesm2015/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-order.mjs +1184 -599
- package/fesm2015/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-settings.mjs +21 -19
- package/fesm2015/vendure-admin-ui-settings.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-system.mjs +3 -3
- package/fesm2020/vendure-admin-ui-catalog.mjs +1190 -230
- package/fesm2020/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-core.mjs +9539 -7437
- package/fesm2020/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-customer.mjs +36 -23
- package/fesm2020/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-dashboard.mjs +11 -7
- package/fesm2020/vendure-admin-ui-dashboard.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-login.mjs +2 -2
- package/fesm2020/vendure-admin-ui-login.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-marketing.mjs +3 -3
- package/fesm2020/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-order.mjs +1194 -614
- package/fesm2020/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-settings.mjs +21 -19
- package/fesm2020/vendure-admin-ui-settings.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-system.mjs +3 -3
- package/order/components/coupon-code-selector/coupon-code-selector.component.d.ts +21 -0
- package/order/components/draft-order-detail/draft-order-detail.component.d.ts +52 -0
- package/order/components/draft-order-variant-selector/draft-order-variant-selector.component.d.ts +24 -0
- package/order/components/order-custom-fields-card/order-custom-fields-card.component.d.ts +4 -2
- package/order/components/order-editor/order-editor.component.d.ts +1 -6
- package/order/components/order-list/order-list.component.d.ts +2 -0
- package/order/components/order-table/order-table.component.d.ts +12 -2
- package/order/components/select-address-dialog/select-address-dialog.component.d.ts +27 -0
- package/order/components/select-address-dialog/select-address-dialog.graphql.d.ts +1 -0
- package/order/components/select-customer-dialog/select-customer-dialog.component.d.ts +25 -0
- package/order/components/select-shipping-method-dialog/select-shipping-method-dialog.component.d.ts +19 -0
- package/order/order.module.d.ts +9 -3
- package/order/providers/routing/order-resolver.d.ts +8 -3
- package/order/providers/routing/order.guard.d.ts +12 -0
- package/order/public_api.d.ts +8 -0
- package/package.json +13 -12
- package/settings/components/zone-member-list/zone-member-list.component.d.ts +3 -1
- package/static/i18n-messages/cs.json +50 -3
- package/static/i18n-messages/de.json +53 -3
- package/static/i18n-messages/en.json +55 -8
- package/static/i18n-messages/es.json +50 -3
- package/static/i18n-messages/fr.json +50 -3
- package/static/i18n-messages/it.json +50 -3
- package/static/i18n-messages/pl.json +50 -3
- package/static/i18n-messages/pt_BR.json +50 -3
- package/static/i18n-messages/pt_PT.json +50 -3
- package/static/i18n-messages/ru.json +50 -3
- package/static/i18n-messages/uk.json +50 -3
- package/static/i18n-messages/zh_Hans.json +50 -3
- package/static/i18n-messages/zh_Hant.json +50 -3
- package/static/styles/_variables.scss +4 -0
- package/static/styles/global/_forms.scss +8 -7
- package/static/styles/global/_overrides.scss +11 -1
- package/static/styles/global/_sass-overrides.scss +3 -0
- package/static/styles/global/_utilities.scss +14 -0
- package/static/styles/styles.scss +1 -0
- package/static/styles/theme/default.scss +13 -1
- package/static/styles/ui-extension-theme.scss +1 -0
- package/static/theme.min.css +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/menu/images.d.ts +0 -4
- package/esm2020/catalog/components/product-search-input/product-search-input.component.mjs +0 -107
- package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/images.mjs +0 -36
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BulkActionRegistryService } from '@vendure/admin-ui/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import * as i1 from "./components/product-list/product-list.component";
|
|
3
4
|
import * as i2 from "./components/product-detail/product-detail.component";
|
|
@@ -15,18 +16,21 @@ import * as i13 from "./components/collection-tree/collection-tree.component";
|
|
|
15
16
|
import * as i14 from "./components/collection-tree/collection-tree-node.component";
|
|
16
17
|
import * as i15 from "./components/collection-contents/collection-contents.component";
|
|
17
18
|
import * as i16 from "./components/product-variants-table/product-variants-table.component";
|
|
18
|
-
import * as i17 from "./components/
|
|
19
|
-
import * as i18 from "./components/option-
|
|
20
|
-
import * as i19 from "./components/
|
|
21
|
-
import * as i20 from "./components/
|
|
22
|
-
import * as i21 from "./components/
|
|
23
|
-
import * as i22 from "./components/
|
|
24
|
-
import * as i23 from "./components/
|
|
25
|
-
import * as i24 from "./components/
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "@
|
|
19
|
+
import * as i17 from "./components/option-value-input/option-value-input.component";
|
|
20
|
+
import * as i18 from "./components/update-product-option-dialog/update-product-option-dialog.component";
|
|
21
|
+
import * as i19 from "./components/product-variants-editor/product-variants-editor.component";
|
|
22
|
+
import * as i20 from "./components/assign-products-to-channel-dialog/assign-products-to-channel-dialog.component";
|
|
23
|
+
import * as i21 from "./components/asset-detail/asset-detail.component";
|
|
24
|
+
import * as i22 from "./components/confirm-variant-deletion-dialog/confirm-variant-deletion-dialog.component";
|
|
25
|
+
import * as i23 from "./components/product-options-editor/product-options-editor.component";
|
|
26
|
+
import * as i24 from "./components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component";
|
|
27
|
+
import * as i25 from "./components/assign-to-channel-dialog/assign-to-channel-dialog.component";
|
|
28
|
+
import * as i26 from "@vendure/admin-ui/core";
|
|
29
|
+
import * as i27 from "@angular/router";
|
|
28
30
|
export declare class CatalogModule {
|
|
31
|
+
private bulkActionRegistryService;
|
|
32
|
+
constructor(bulkActionRegistryService: BulkActionRegistryService);
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ProductVariantsListComponent, typeof i7.ApplyFacetDialogComponent, typeof i8.AssetListComponent, typeof i9.AssetsComponent, typeof i10.VariantPriceDetailComponent, typeof i11.CollectionListComponent, typeof i12.CollectionDetailComponent, typeof i13.CollectionTreeComponent, typeof i14.CollectionTreeNodeComponent, typeof i15.CollectionContentsComponent, typeof i16.ProductVariantsTableComponent, typeof i17.
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ProductVariantsListComponent, typeof i7.ApplyFacetDialogComponent, typeof i8.AssetListComponent, typeof i9.AssetsComponent, typeof i10.VariantPriceDetailComponent, typeof i11.CollectionListComponent, typeof i12.CollectionDetailComponent, typeof i13.CollectionTreeComponent, typeof i14.CollectionTreeNodeComponent, typeof i15.CollectionContentsComponent, typeof i16.ProductVariantsTableComponent, typeof i17.OptionValueInputComponent, typeof i18.UpdateProductOptionDialogComponent, typeof i19.ProductVariantsEditorComponent, typeof i20.AssignProductsToChannelDialogComponent, typeof i21.AssetDetailComponent, typeof i22.ConfirmVariantDeletionDialogComponent, typeof i23.ProductOptionsEditorComponent, typeof i24.BulkAddFacetValuesDialogComponent, typeof i25.AssignToChannelDialogComponent], [typeof i26.SharedModule, typeof i27.RouterModule], [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ProductVariantsListComponent, typeof i7.ApplyFacetDialogComponent, typeof i8.AssetListComponent, typeof i9.AssetsComponent, typeof i10.VariantPriceDetailComponent, typeof i11.CollectionListComponent, typeof i12.CollectionDetailComponent, typeof i13.CollectionTreeComponent, typeof i14.CollectionTreeNodeComponent, typeof i15.CollectionContentsComponent, typeof i16.ProductVariantsTableComponent, typeof i17.OptionValueInputComponent, typeof i18.UpdateProductOptionDialogComponent, typeof i19.ProductVariantsEditorComponent, typeof i20.AssignProductsToChannelDialogComponent, typeof i21.AssetDetailComponent, typeof i22.ConfirmVariantDeletionDialogComponent, typeof i23.ProductOptionsEditorComponent, typeof i24.BulkAddFacetValuesDialogComponent, typeof i25.AssignToChannelDialogComponent]>;
|
|
31
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<CatalogModule>;
|
|
32
36
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DataService, Dialog, GetChannelsQuery, NotificationService } from '@vendure/admin-ui/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
declare type Channel = GetChannelsQuery['channels'][number];
|
|
6
|
+
export declare class AssignToChannelDialogComponent implements OnInit, Dialog<Channel> {
|
|
7
|
+
private dataService;
|
|
8
|
+
private notificationService;
|
|
9
|
+
selectedChannel: Channel | null | undefined;
|
|
10
|
+
currentChannel: Channel;
|
|
11
|
+
availableChannels: Channel[];
|
|
12
|
+
resolveWith: (result?: Channel) => void;
|
|
13
|
+
selectedChannelIdControl: FormControl;
|
|
14
|
+
constructor(dataService: DataService, notificationService: NotificationService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
selectChannel(channelIds: string[]): void;
|
|
17
|
+
assign(): void;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssignToChannelDialogComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssignToChannelDialogComponent, "vdr-assign-to-channel-dialog", never, {}, {}, never, never>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
package/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { DataService, Dialog, FacetWithValuesFragment } from '@vendure/admin-ui/core';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface ProductOrVariant {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
sku?: string;
|
|
9
|
+
facetValues: Array<{
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
code: string;
|
|
13
|
+
facet: Array<{
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
code: string;
|
|
17
|
+
}>;
|
|
18
|
+
}>;
|
|
19
|
+
}
|
|
20
|
+
export declare class BulkAddFacetValuesDialogComponent implements OnInit, OnDestroy, Dialog<FacetWithValuesFragment[]> {
|
|
21
|
+
private dataService;
|
|
22
|
+
private changeDetectorRef;
|
|
23
|
+
resolveWith: (result?: FacetWithValuesFragment[]) => void;
|
|
24
|
+
mode: 'product' | 'variant';
|
|
25
|
+
ids?: string[];
|
|
26
|
+
facets: FacetWithValuesFragment[];
|
|
27
|
+
state: 'loading' | 'ready' | 'saving';
|
|
28
|
+
selectedValues: FacetWithValuesFragment[];
|
|
29
|
+
items: ProductOrVariant[];
|
|
30
|
+
facetValuesRemoved: boolean;
|
|
31
|
+
private subscription;
|
|
32
|
+
constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
cancel(): void;
|
|
36
|
+
removeFacetValue(item: ProductOrVariant, facetValueId: string): void;
|
|
37
|
+
addFacetValues(): Subscription;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkAddFacetValuesDialogComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BulkAddFacetValuesDialogComponent, "vdr-bulk-add-facet-values-dialog", never, {}, {}, never, never>;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
package/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.graphql.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const GET_PRODUCTS_WITH_FACET_VALUES_BY_IDS: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
2
|
+
export declare const GET_VARIANTS_WITH_FACET_VALUES_BY_IDS: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
3
|
+
export declare const UPDATE_PRODUCTS_BULK: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
4
|
+
export declare const UPDATE_VARIANTS_BULK: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { DataService, GetCollectionContentsQuery } from '@vendure/admin-ui/core';
|
|
4
|
+
import { ConfigurableOperationInput, DataService, GetCollectionContentsQuery } from '@vendure/admin-ui/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class CollectionContentsComponent implements OnInit, OnChanges, OnDestroy {
|
|
@@ -9,13 +9,21 @@ export declare class CollectionContentsComponent implements OnInit, OnChanges, O
|
|
|
9
9
|
private router;
|
|
10
10
|
private dataService;
|
|
11
11
|
collectionId: string;
|
|
12
|
+
parentId: string;
|
|
13
|
+
inheritFilters: boolean;
|
|
14
|
+
updatedFilters: ConfigurableOperationInput[] | undefined;
|
|
15
|
+
previewUpdatedFilters: boolean;
|
|
12
16
|
headerTemplate: TemplateRef<any>;
|
|
13
17
|
contents$: Observable<NonNullable<GetCollectionContentsQuery['collection']>['productVariants']['items']>;
|
|
14
18
|
contentsTotalItems$: Observable<number>;
|
|
15
19
|
contentsItemsPerPage$: Observable<number>;
|
|
16
20
|
contentsCurrentPage$: Observable<number>;
|
|
17
21
|
filterTermControl: FormControl;
|
|
22
|
+
isLoading: boolean;
|
|
18
23
|
private collectionIdChange$;
|
|
24
|
+
private parentIdChange$;
|
|
25
|
+
private filterChanges$;
|
|
26
|
+
private inheritFiltersChanges$;
|
|
19
27
|
private refresh$;
|
|
20
28
|
private destroy$;
|
|
21
29
|
constructor(route: ActivatedRoute, router: Router, dataService: DataService);
|
|
@@ -27,5 +35,5 @@ export declare class CollectionContentsComponent implements OnInit, OnChanges, O
|
|
|
27
35
|
refresh(): void;
|
|
28
36
|
private setParam;
|
|
29
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionContentsComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionContentsComponent, "vdr-collection-contents", never, { "collectionId": "collectionId"; }, {}, ["headerTemplate"], never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionContentsComponent, "vdr-collection-contents", never, { "collectionId": "collectionId"; "parentId": "parentId"; "inheritFilters": "inheritFilters"; "updatedFilters": "updatedFilters"; "previewUpdatedFilters": "previewUpdatedFilters"; }, {}, ["headerTemplate"], never>;
|
|
31
39
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { Asset, BaseDetailComponent, CollectionFragment, ConfigurableOperation, ConfigurableOperationDefinition, CustomFieldConfig, DataService, LanguageCode, ModalService, NotificationService, Permission, ServerConfigService } from '@vendure/admin-ui/core';
|
|
4
|
+
import { Asset, BaseDetailComponent, CollectionFragment, ConfigurableOperation, ConfigurableOperationDefinition, ConfigurableOperationInput, CustomFieldConfig, DataService, LanguageCode, LocalStorageService, ModalService, NotificationService, Permission, ServerConfigService } from '@vendure/admin-ui/core';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
5
6
|
import { CollectionContentsComponent } from '../collection-contents/collection-contents.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CollectionDetailComponent extends BaseDetailComponent<CollectionFragment> implements OnInit, OnDestroy {
|
|
@@ -10,6 +11,7 @@ export declare class CollectionDetailComponent extends BaseDetailComponent<Colle
|
|
|
10
11
|
private formBuilder;
|
|
11
12
|
private notificationService;
|
|
12
13
|
private modalService;
|
|
14
|
+
private localStorageService;
|
|
13
15
|
customFields: CustomFieldConfig[];
|
|
14
16
|
detailForm: FormGroup;
|
|
15
17
|
assetChanges: {
|
|
@@ -18,22 +20,29 @@ export declare class CollectionDetailComponent extends BaseDetailComponent<Colle
|
|
|
18
20
|
};
|
|
19
21
|
filters: ConfigurableOperation[];
|
|
20
22
|
allFilters: ConfigurableOperationDefinition[];
|
|
23
|
+
updatedFilters$: Observable<ConfigurableOperationInput[]>;
|
|
24
|
+
inheritFilters$: Observable<boolean>;
|
|
25
|
+
livePreview: boolean;
|
|
26
|
+
parentId$: Observable<string | undefined>;
|
|
21
27
|
readonly updatePermission: Permission[];
|
|
28
|
+
private filterRemoved$;
|
|
22
29
|
contentsComponent: CollectionContentsComponent;
|
|
23
|
-
constructor(router: Router, route: ActivatedRoute, serverConfigService: ServerConfigService, changeDetector: ChangeDetectorRef, dataService: DataService, formBuilder: FormBuilder, notificationService: NotificationService, modalService: ModalService);
|
|
30
|
+
constructor(router: Router, route: ActivatedRoute, serverConfigService: ServerConfigService, changeDetector: ChangeDetectorRef, dataService: DataService, formBuilder: FormBuilder, notificationService: NotificationService, modalService: ModalService, localStorageService: LocalStorageService);
|
|
24
31
|
ngOnInit(): void;
|
|
25
32
|
ngOnDestroy(): void;
|
|
26
|
-
getFilterDefinition(
|
|
33
|
+
getFilterDefinition(_filter: ConfigurableOperation): ConfigurableOperationDefinition | undefined;
|
|
27
34
|
assetsChanged(): boolean;
|
|
28
35
|
/**
|
|
29
36
|
* If creating a new Collection, automatically generate the slug based on the collection name.
|
|
30
37
|
*/
|
|
31
38
|
updateSlug(nameValue: string): void;
|
|
32
39
|
addFilter(collectionFilter: ConfigurableOperation): void;
|
|
33
|
-
removeFilter(
|
|
40
|
+
removeFilter(index: number): void;
|
|
34
41
|
create(): void;
|
|
35
42
|
save(): void;
|
|
36
43
|
canDeactivate(): boolean;
|
|
44
|
+
toggleLivePreview(): void;
|
|
45
|
+
trackByFn(index: number, item: ConfigurableOperation): string;
|
|
37
46
|
/**
|
|
38
47
|
* Sets the values of the form on changes to the category or current language.
|
|
39
48
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BulkAction } from '@vendure/admin-ui/core';
|
|
2
|
+
import { CollectionPartial } from '../collection-tree/collection-tree.types';
|
|
3
|
+
import { CollectionListComponent } from './collection-list.component';
|
|
4
|
+
export declare const deleteCollectionsBulkAction: BulkAction<CollectionPartial, CollectionListComponent>;
|
|
5
|
+
export declare const assignCollectionsToChannelBulkAction: BulkAction<CollectionPartial, CollectionListComponent>;
|
|
6
|
+
export declare const removeCollectionsFromChannelBulkAction: BulkAction<CollectionPartial, CollectionListComponent>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { DataService, GetCollectionListQuery, ItemOf, LanguageCode, ModalService, NotificationService, ServerConfigService } from '@vendure/admin-ui/core';
|
|
4
|
+
import { DataService, GetCollectionListQuery, ItemOf, LanguageCode, ModalService, NotificationService, SelectionManager, ServerConfigService } from '@vendure/admin-ui/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { RearrangeEvent } from '../collection-tree/collection-tree.types';
|
|
6
|
+
import { CollectionPartial, RearrangeEvent } from '../collection-tree/collection-tree.types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class CollectionListComponent implements OnInit, OnDestroy {
|
|
9
9
|
private dataService;
|
|
@@ -12,6 +12,7 @@ export declare class CollectionListComponent implements OnInit, OnDestroy {
|
|
|
12
12
|
private router;
|
|
13
13
|
private route;
|
|
14
14
|
private serverConfigService;
|
|
15
|
+
private changeDetectorRef;
|
|
15
16
|
filterTermControl: FormControl;
|
|
16
17
|
activeCollectionId$: Observable<string | null>;
|
|
17
18
|
activeCollectionTitle$: Observable<string>;
|
|
@@ -19,16 +20,19 @@ export declare class CollectionListComponent implements OnInit, OnDestroy {
|
|
|
19
20
|
availableLanguages$: Observable<LanguageCode[]>;
|
|
20
21
|
contentLanguage$: Observable<LanguageCode>;
|
|
21
22
|
expandAll: boolean;
|
|
23
|
+
expandedIds: string[];
|
|
24
|
+
selectionManager: SelectionManager<CollectionPartial>;
|
|
22
25
|
private queryResult;
|
|
23
26
|
private destroy$;
|
|
24
|
-
constructor(dataService: DataService, notificationService: NotificationService, modalService: ModalService, router: Router, route: ActivatedRoute, serverConfigService: ServerConfigService);
|
|
27
|
+
constructor(dataService: DataService, notificationService: NotificationService, modalService: ModalService, router: Router, route: ActivatedRoute, serverConfigService: ServerConfigService, changeDetectorRef: ChangeDetectorRef);
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
ngOnDestroy(): void;
|
|
30
|
+
toggleExpandAll(): void;
|
|
27
31
|
onRearrange(event: RearrangeEvent): void;
|
|
28
32
|
deleteCollection(id: string): void;
|
|
29
33
|
closeContents(): void;
|
|
30
34
|
setLanguage(code: LanguageCode): void;
|
|
31
|
-
|
|
35
|
+
refresh(): void;
|
|
32
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionListComponent, never>;
|
|
33
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionListComponent, "vdr-collection-list", never, {}, {}, never, never>;
|
|
34
38
|
}
|
|
@@ -16,4 +16,4 @@ export declare type RootNode<T extends HasParent> = {
|
|
|
16
16
|
* Builds a tree from an array of nodes which have a parent.
|
|
17
17
|
* Based on https://stackoverflow.com/a/31247960/772859, modified to preserve ordering.
|
|
18
18
|
*/
|
|
19
|
-
export declare function arrayToTree<T extends HasParent>(nodes: T[], currentState?: RootNode<T
|
|
19
|
+
export declare function arrayToTree<T extends HasParent>(nodes: T[], currentState?: RootNode<T>, expandedIds?: string[]): RootNode<T>;
|
|
@@ -1,36 +1,44 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
-
import {
|
|
2
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { DataService, SelectionManager } from '@vendure/admin-ui/core';
|
|
4
5
|
import { Observable } from 'rxjs';
|
|
5
6
|
import { RootNode, TreeNode } from './array-to-tree';
|
|
6
7
|
import { CollectionTreeService } from './collection-tree.service';
|
|
7
8
|
import { CollectionPartial } from './collection-tree.types';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class CollectionTreeNodeComponent implements OnInit, OnChanges {
|
|
10
|
+
export declare class CollectionTreeNodeComponent implements OnInit, OnChanges, OnDestroy {
|
|
10
11
|
private parent;
|
|
11
12
|
private dataService;
|
|
12
13
|
private collectionTreeService;
|
|
14
|
+
private router;
|
|
15
|
+
private route;
|
|
16
|
+
private changeDetectorRef;
|
|
13
17
|
depth: number;
|
|
14
18
|
parentName: string;
|
|
15
19
|
collectionTree: TreeNode<CollectionPartial>;
|
|
16
20
|
activeCollectionId: string;
|
|
17
21
|
expandAll: boolean;
|
|
22
|
+
selectionManager: SelectionManager<CollectionPartial>;
|
|
18
23
|
hasUpdatePermission$: Observable<boolean>;
|
|
19
24
|
hasDeletePermission$: Observable<boolean>;
|
|
20
25
|
moveListItems: Array<{
|
|
21
26
|
path: string;
|
|
22
27
|
id: string;
|
|
23
28
|
}>;
|
|
24
|
-
|
|
29
|
+
private subscription;
|
|
30
|
+
constructor(parent: CollectionTreeNodeComponent, dataService: DataService, collectionTreeService: CollectionTreeService, router: Router, route: ActivatedRoute, changeDetectorRef: ChangeDetectorRef);
|
|
25
31
|
ngOnInit(): void;
|
|
26
32
|
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
27
34
|
trackByFn(index: number, item: CollectionPartial): string;
|
|
35
|
+
toggleExpanded(collection: TreeNode<CollectionPartial>): void;
|
|
28
36
|
getMoveListItems(collection: CollectionPartial): void;
|
|
29
37
|
move(collection: CollectionPartial, parentId: string): void;
|
|
30
38
|
moveUp(collection: CollectionPartial, currentIndex: number): void;
|
|
31
39
|
moveDown(collection: CollectionPartial, currentIndex: number): void;
|
|
32
40
|
drop(event: CdkDragDrop<CollectionPartial | RootNode<CollectionPartial>>): void;
|
|
33
41
|
delete(id: string): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionTreeNodeComponent, [{ optional: true; skipSelf: true; }, null, null]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionTreeNodeComponent, "vdr-collection-tree-node", never, { "collectionTree": "collectionTree"; "activeCollectionId": "activeCollectionId"; "expandAll": "expandAll"; }, {}, never, never>;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionTreeNodeComponent, [{ optional: true; skipSelf: true; }, null, null, null, null, null]>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionTreeNodeComponent, "vdr-collection-tree-node", never, { "collectionTree": "collectionTree"; "activeCollectionId": "activeCollectionId"; "expandAll": "expandAll"; "selectionManager": "selectionManager"; }, {}, never, never>;
|
|
36
44
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SelectionManager } from '@vendure/admin-ui/core';
|
|
2
3
|
import { RootNode } from './array-to-tree';
|
|
3
4
|
import { CollectionTreeService } from './collection-tree.service';
|
|
4
5
|
import { CollectionPartial, RearrangeEvent } from './collection-tree.types';
|
|
@@ -8,6 +9,8 @@ export declare class CollectionTreeComponent implements OnInit, OnChanges {
|
|
|
8
9
|
collections: CollectionPartial[];
|
|
9
10
|
activeCollectionId: string;
|
|
10
11
|
expandAll: boolean;
|
|
12
|
+
expandedIds: string[];
|
|
13
|
+
selectionManager: SelectionManager<CollectionPartial>;
|
|
11
14
|
rearrange: EventEmitter<RearrangeEvent>;
|
|
12
15
|
deleteCollection: EventEmitter<string>;
|
|
13
16
|
collectionTree: RootNode<CollectionPartial>;
|
|
@@ -15,5 +18,5 @@ export declare class CollectionTreeComponent implements OnInit, OnChanges {
|
|
|
15
18
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
19
|
ngOnInit(): void;
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionTreeComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionTreeComponent, "vdr-collection-tree", never, { "collections": "collections"; "activeCollectionId": "activeCollectionId"; "expandAll": "expandAll"; }, { "rearrange": "rearrange"; "deleteCollection": "deleteCollection"; }, never, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionTreeComponent, "vdr-collection-tree", never, { "collections": "collections"; "activeCollectionId": "activeCollectionId"; "expandAll": "expandAll"; "expandedIds": "expandedIds"; "selectionManager": "selectionManager"; }, { "rearrange": "rearrange"; "deleteCollection": "deleteCollection"; }, never, never>;
|
|
19
22
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BulkAction, GetFacetListQuery, ItemOf } from '@vendure/admin-ui/core';
|
|
2
|
+
import { FacetListComponent } from './facet-list.component';
|
|
3
|
+
export declare const deleteFacetsBulkAction: BulkAction<ItemOf<GetFacetListQuery, 'facets'>, FacetListComponent>;
|
|
4
|
+
export declare const assignFacetsToChannelBulkAction: BulkAction<ItemOf<GetFacetListQuery, 'facets'>, FacetListComponent>;
|
|
5
|
+
export declare const removeFacetsFromChannelBulkAction: BulkAction<ItemOf<GetFacetListQuery, 'facets'>, FacetListComponent>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { BaseListComponent, DataService, GetFacetListQuery, ItemOf, LanguageCode, ModalService, NotificationService, ServerConfigService } from '@vendure/admin-ui/core';
|
|
4
|
+
import { BaseListComponent, DataService, GetFacetListQuery, ItemOf, LanguageCode, ModalService, NotificationService, SelectionManager, ServerConfigService } from '@vendure/admin-ui/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FacetListComponent extends BaseListComponent<GetFacetListQuery, ItemOf<GetFacetListQuery, 'facets'>> implements OnInit {
|
|
@@ -16,6 +16,7 @@ export declare class FacetListComponent extends BaseListComponent<GetFacetListQu
|
|
|
16
16
|
displayLimit: {
|
|
17
17
|
[id: string]: number;
|
|
18
18
|
};
|
|
19
|
+
selectionManager: SelectionManager<ItemOf<GetFacetListQuery, 'facets'>>;
|
|
19
20
|
constructor(dataService: DataService, modalService: ModalService, notificationService: NotificationService, serverConfigService: ServerConfigService, router: Router, route: ActivatedRoute);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
toggleDisplayLimit(facet: ItemOf<GetFacetListQuery, 'facets'>): void;
|
package/catalog/components/generate-product-variants/generate-product-variants.component.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { CurrencyCode } from '@vendure/admin-ui/core';
|
|
3
|
-
import { DataService } from '@vendure/admin-ui/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { CurrencyCode, DataService } from '@vendure/admin-ui/core';
|
|
4
3
|
import { OptionValueInputComponent } from '../option-value-input/option-value-input.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare type CreateVariantValues = {
|
|
@@ -20,6 +19,7 @@ export declare type CreateProductVariantsConfig = {
|
|
|
20
19
|
export declare class GenerateProductVariantsComponent implements OnInit {
|
|
21
20
|
private dataService;
|
|
22
21
|
variantsChange: EventEmitter<CreateProductVariantsConfig>;
|
|
22
|
+
groupNameInputs: QueryList<ElementRef>;
|
|
23
23
|
optionGroups: Array<{
|
|
24
24
|
name: string;
|
|
25
25
|
values: Array<{
|
|
@@ -1,36 +1,48 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, Provider } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Provider, QueryList } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare const OPTION_VALUE_INPUT_VALUE_ACCESSOR: Provider;
|
|
5
|
+
interface Option {
|
|
6
|
+
id?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
locked: boolean;
|
|
9
|
+
}
|
|
5
10
|
export declare class OptionValueInputComponent implements ControlValueAccessor {
|
|
6
11
|
private changeDetector;
|
|
7
12
|
groupName: string;
|
|
8
13
|
textArea: ElementRef<HTMLTextAreaElement>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
nameInputs: QueryList<ElementRef>;
|
|
15
|
+
options: Option[];
|
|
16
|
+
add: EventEmitter<Option>;
|
|
17
|
+
remove: EventEmitter<Option>;
|
|
18
|
+
edit: EventEmitter<{
|
|
19
|
+
index: number;
|
|
20
|
+
option: Option;
|
|
12
21
|
}>;
|
|
13
22
|
disabled: boolean;
|
|
14
23
|
input: string;
|
|
15
24
|
isFocussed: boolean;
|
|
16
25
|
lastSelected: boolean;
|
|
26
|
+
formValue: Option[];
|
|
27
|
+
editingIndex: number;
|
|
17
28
|
onChangeFn: (value: any) => void;
|
|
18
29
|
onTouchFn: (value: any) => void;
|
|
30
|
+
get optionValues(): Option[];
|
|
19
31
|
constructor(changeDetector: ChangeDetectorRef);
|
|
20
32
|
registerOnChange(fn: any): void;
|
|
21
33
|
registerOnTouched(fn: any): void;
|
|
22
34
|
setDisabledState(isDisabled: boolean): void;
|
|
23
35
|
writeValue(obj: any): void;
|
|
24
36
|
focus(): void;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}): void;
|
|
37
|
+
editName(index: number, event: MouseEvent): void;
|
|
38
|
+
updateOption(index: number, event: InputEvent): void;
|
|
39
|
+
removeOption(option: Option): void;
|
|
29
40
|
handleKey(event: KeyboardEvent): void;
|
|
30
41
|
handleBlur(): void;
|
|
31
42
|
private addOptionValue;
|
|
32
43
|
private parseInputIntoOptions;
|
|
33
44
|
private removeLastOption;
|
|
34
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionValueInputComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionValueInputComponent, "vdr-option-value-input", never, { "groupName": "groupName"; }, {}, never, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionValueInputComponent, "vdr-option-value-input", never, { "groupName": "groupName"; "options": "options"; "disabled": "disabled"; }, { "add": "add"; "remove": "remove"; "edit": "edit"; }, never, never>;
|
|
36
47
|
}
|
|
48
|
+
export {};
|
|
@@ -57,7 +57,7 @@ export declare class ProductDetailComponent extends BaseDetailComponent<NonNulla
|
|
|
57
57
|
assignToChannel(): void;
|
|
58
58
|
removeFromChannel(channelId: string): void;
|
|
59
59
|
assignVariantToChannel(variant: ProductVariantFragment): import("rxjs").Subscription;
|
|
60
|
-
removeVariantFromChannel({ channelId, variant }: {
|
|
60
|
+
removeVariantFromChannel({ channelId, variant, }: {
|
|
61
61
|
channelId: string;
|
|
62
62
|
variant: ProductVariantFragment;
|
|
63
63
|
}): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BulkAction } from '@vendure/admin-ui/core';
|
|
2
|
+
import { ProductListComponent, SearchItem } from './product-list.component';
|
|
3
|
+
export declare const deleteProductsBulkAction: BulkAction<SearchItem, ProductListComponent>;
|
|
4
|
+
export declare const assignProductsToChannelBulkAction: BulkAction<SearchItem, ProductListComponent>;
|
|
5
|
+
export declare const removeProductsFromChannelBulkAction: BulkAction<SearchItem, ProductListComponent>;
|
|
6
|
+
export declare const assignFacetValuesToProductsBulkAction: BulkAction<SearchItem, ProductListComponent>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { BaseListComponent, DataService, ItemOf, JobQueueService, LanguageCode, ModalService, NotificationService, SearchProductsQuery, SearchProductsQueryVariables, ServerConfigService } from '@vendure/admin-ui/core';
|
|
3
|
+
import { BaseListComponent, DataService, ItemOf, JobQueueService, LanguageCode, ModalService, NotificationService, SearchProductsQuery, SearchProductsQueryVariables, SelectionManager, ServerConfigService } from '@vendure/admin-ui/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare
|
|
6
|
+
export declare type SearchItem = ItemOf<SearchProductsQuery, 'search'>;
|
|
7
|
+
export declare class ProductListComponent extends BaseListComponent<SearchProductsQuery, SearchItem, SearchProductsQueryVariables> implements OnInit, AfterViewInit {
|
|
7
8
|
private dataService;
|
|
8
9
|
private modalService;
|
|
9
10
|
private notificationService;
|
|
@@ -17,6 +18,7 @@ export declare class ProductListComponent extends BaseListComponent<SearchProduc
|
|
|
17
18
|
availableLanguages$: Observable<LanguageCode[]>;
|
|
18
19
|
contentLanguage$: Observable<LanguageCode>;
|
|
19
20
|
pendingSearchIndexUpdates: number;
|
|
21
|
+
selectionManager: SelectionManager<SearchItem>;
|
|
20
22
|
private productSearchInput;
|
|
21
23
|
constructor(dataService: DataService, modalService: ModalService, notificationService: NotificationService, jobQueueService: JobQueueService, serverConfigService: ServerConfigService, router: Router, route: ActivatedRoute);
|
|
22
24
|
ngOnInit(): void;
|
|
@@ -17,6 +17,17 @@ export declare class GeneratedVariant {
|
|
|
17
17
|
stock: number;
|
|
18
18
|
constructor(config: Partial<GeneratedVariant>);
|
|
19
19
|
}
|
|
20
|
+
interface OptionGroupUiModel {
|
|
21
|
+
id?: string;
|
|
22
|
+
isNew: boolean;
|
|
23
|
+
name: string;
|
|
24
|
+
locked: boolean;
|
|
25
|
+
values: Array<{
|
|
26
|
+
id?: string;
|
|
27
|
+
name: string;
|
|
28
|
+
locked: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
20
31
|
export declare class ProductVariantsEditorComponent implements OnInit, DeactivateAware {
|
|
21
32
|
private route;
|
|
22
33
|
private dataService;
|
|
@@ -24,17 +35,9 @@ export declare class ProductVariantsEditorComponent implements OnInit, Deactivat
|
|
|
24
35
|
private notificationService;
|
|
25
36
|
private modalService;
|
|
26
37
|
formValueChanged: boolean;
|
|
38
|
+
optionsChanged: boolean;
|
|
27
39
|
generatedVariants: GeneratedVariant[];
|
|
28
|
-
optionGroups:
|
|
29
|
-
id?: string;
|
|
30
|
-
isNew: boolean;
|
|
31
|
-
name: string;
|
|
32
|
-
values: Array<{
|
|
33
|
-
id?: string;
|
|
34
|
-
name: string;
|
|
35
|
-
locked: boolean;
|
|
36
|
-
}>;
|
|
37
|
-
}>;
|
|
40
|
+
optionGroups: OptionGroupUiModel[];
|
|
38
41
|
product: NonNullable<GetProductVariantOptionsQuery['product']>;
|
|
39
42
|
currencyCode: CurrencyCode;
|
|
40
43
|
private languageCode;
|
|
@@ -44,14 +47,20 @@ export declare class ProductVariantsEditorComponent implements OnInit, Deactivat
|
|
|
44
47
|
canDeactivate(): boolean;
|
|
45
48
|
getVariantsToAdd(): GeneratedVariant[];
|
|
46
49
|
getVariantName(variant: GeneratedVariant): string;
|
|
47
|
-
|
|
50
|
+
addOptionGroup(): void;
|
|
51
|
+
removeOptionGroup(optionGroup: OptionGroupUiModel): void;
|
|
52
|
+
addOption(index: number, optionName: string): void;
|
|
53
|
+
removeOption(index: number, { id, name }: {
|
|
54
|
+
id?: string;
|
|
55
|
+
name: string;
|
|
56
|
+
}): void;
|
|
48
57
|
generateVariants(): void;
|
|
49
58
|
/**
|
|
50
59
|
* Returns one of the existing variants to base the newly-generated variant's
|
|
51
60
|
* details off.
|
|
52
61
|
*/
|
|
53
62
|
private getVariantPrototype;
|
|
54
|
-
deleteVariant(id: string): void;
|
|
63
|
+
deleteVariant(id: string, options: GeneratedVariant['options']): void;
|
|
55
64
|
save(): void;
|
|
56
65
|
private checkUniqueSkus;
|
|
57
66
|
private confirmDeletionOfObsoleteVariants;
|
|
@@ -70,3 +79,4 @@ export declare class ProductVariantsEditorComponent implements OnInit, Deactivat
|
|
|
70
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductVariantsEditorComponent, never>;
|
|
71
80
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductVariantsEditorComponent, "vdr-product-variants-editor", never, {}, {}, never, never>;
|
|
72
81
|
}
|
|
82
|
+
export {};
|
|
@@ -51,6 +51,7 @@ export declare class ProductVariantsListComponent implements OnChanges, OnInit,
|
|
|
51
51
|
trackById(index: number, item: ProductVariantFragment): string;
|
|
52
52
|
inventoryIsNotTracked(formGroup: FormGroup): boolean;
|
|
53
53
|
getTaxCategoryName(group: FormGroup): string;
|
|
54
|
+
getStockOnHandMinValue(variant: FormGroup): any;
|
|
54
55
|
getSaleableStockLevel(variant: ProductVariantFragment): number;
|
|
55
56
|
areAllSelected(): boolean;
|
|
56
57
|
onAssetChange(variantId: string, event: AssetChange): void;
|
package/catalog/public_api.d.ts
CHANGED
|
@@ -5,8 +5,12 @@ export * from './components/asset-detail/asset-detail.component';
|
|
|
5
5
|
export * from './components/asset-list/asset-list.component';
|
|
6
6
|
export * from './components/assets/assets.component';
|
|
7
7
|
export * from './components/assign-products-to-channel-dialog/assign-products-to-channel-dialog.component';
|
|
8
|
+
export * from './components/assign-to-channel-dialog/assign-to-channel-dialog.component';
|
|
9
|
+
export * from './components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component';
|
|
10
|
+
export * from './components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.graphql';
|
|
8
11
|
export * from './components/collection-contents/collection-contents.component';
|
|
9
12
|
export * from './components/collection-detail/collection-detail.component';
|
|
13
|
+
export * from './components/collection-list/collection-list-bulk-actions';
|
|
10
14
|
export * from './components/collection-list/collection-list.component';
|
|
11
15
|
export * from './components/collection-tree/array-to-tree';
|
|
12
16
|
export * from './components/collection-tree/collection-tree-node.component';
|
|
@@ -15,14 +19,15 @@ export * from './components/collection-tree/collection-tree.service';
|
|
|
15
19
|
export * from './components/collection-tree/collection-tree.types';
|
|
16
20
|
export * from './components/confirm-variant-deletion-dialog/confirm-variant-deletion-dialog.component';
|
|
17
21
|
export * from './components/facet-detail/facet-detail.component';
|
|
22
|
+
export * from './components/facet-list/facet-list-bulk-actions';
|
|
18
23
|
export * from './components/facet-list/facet-list.component';
|
|
19
24
|
export * from './components/generate-product-variants/generate-product-variants.component';
|
|
20
25
|
export * from './components/option-value-input/option-value-input.component';
|
|
21
26
|
export * from './components/product-detail/product-detail.component';
|
|
22
27
|
export * from './components/product-detail/product-detail.types';
|
|
28
|
+
export * from './components/product-list/product-list-bulk-actions';
|
|
23
29
|
export * from './components/product-list/product-list.component';
|
|
24
30
|
export * from './components/product-options-editor/product-options-editor.component';
|
|
25
|
-
export * from './components/product-search-input/product-search-input.component';
|
|
26
31
|
export * from './components/product-variants-editor/product-variants-editor.component';
|
|
27
32
|
export * from './components/product-variants-list/product-variants-list.component';
|
|
28
33
|
export * from './components/product-variants-table/product-variants-table.component';
|
|
@@ -52,5 +52,5 @@ export declare type ActionBarLocationId = 'administrator-detail' | 'administrato
|
|
|
52
52
|
*
|
|
53
53
|
* @docsCategory custom-detail-components
|
|
54
54
|
*/
|
|
55
|
-
export declare type CustomDetailComponentLocationId = 'administrator-detail' | 'channel-detail' | 'collection-detail' | 'country-detail' | 'customer-detail' | 'facet-detail' | 'global-settings-detail' | 'order-detail' | 'payment-method-detail' | 'product-detail' | 'promotion-detail' | 'shipping-method-detail' | 'tax-category-detail' | 'tax-rate-detail';
|
|
55
|
+
export declare type CustomDetailComponentLocationId = 'administrator-profile' | 'administrator-detail' | 'channel-detail' | 'collection-detail' | 'country-detail' | 'customer-detail' | 'facet-detail' | 'global-settings-detail' | 'order-detail' | 'payment-method-detail' | 'product-detail' | 'promotion-detail' | 'shipping-method-detail' | 'tax-category-detail' | 'tax-rate-detail';
|
|
56
56
|
export declare type UIExtensionLocationId = ActionBarLocationId | CustomDetailComponentLocationId;
|