@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
package/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { CodeJar } from 'codejar';
|
|
2
|
+
import { ValidatorFn } from '@angular/forms';
|
|
3
|
+
import { DefaultFormComponentId } from '@vendure/common/lib/shared-types';
|
|
5
4
|
import { FormInputComponent } from '../../../common/component-registry-types';
|
|
5
|
+
import { BaseCodeEditorFormInputComponent } from './base-code-editor-form-input.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare function jsonValidator(): ValidatorFn;
|
|
8
8
|
/**
|
|
@@ -13,23 +13,11 @@ export declare function jsonValidator(): ValidatorFn;
|
|
|
13
13
|
* @docsCategory custom-input-components
|
|
14
14
|
* @docsPage default-inputs
|
|
15
15
|
*/
|
|
16
|
-
export declare class JsonEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
|
|
17
|
-
|
|
16
|
+
export declare class JsonEditorFormInputComponent extends BaseCodeEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
|
|
17
|
+
protected changeDetector: ChangeDetectorRef;
|
|
18
18
|
static readonly id: DefaultFormComponentId;
|
|
19
|
-
readonly: boolean;
|
|
20
|
-
formControl: FormControl;
|
|
21
|
-
config: DefaultFormComponentConfig<'json-editor-form-input'>;
|
|
22
|
-
isValid: boolean;
|
|
23
|
-
errorMessage: string | undefined;
|
|
24
|
-
private editorElementRef;
|
|
25
|
-
jar: CodeJar;
|
|
26
19
|
constructor(changeDetector: ChangeDetectorRef);
|
|
27
|
-
get height(): string | undefined;
|
|
28
20
|
ngOnInit(): void;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
|
-
private getJsonError;
|
|
31
|
-
private getErrorPos;
|
|
32
|
-
private syntaxHighlight;
|
|
33
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonEditorFormInputComponent, never>;
|
|
34
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<JsonEditorFormInputComponent, "vdr-json-editor-form-input", never, {}, {}, never, never>;
|
|
35
23
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DefaultFormComponentConfig, DefaultFormComponentId } from '@vendure/common/lib/shared-types';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { FormInputComponent } from '../../../common/component-registry-types';
|
|
6
|
+
import { ConfigurableInputComponent } from '../../components/configurable-input/configurable-input.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @description
|
|
10
|
+
* A special input used to display the "Combination mode" AND/OR toggle.
|
|
11
|
+
*
|
|
12
|
+
* @docsCategory custom-input-components
|
|
13
|
+
* @docsPage default-inputs
|
|
14
|
+
*/
|
|
15
|
+
export declare class CombinationModeFormInputComponent implements FormInputComponent, OnInit {
|
|
16
|
+
private configurableInputComponent;
|
|
17
|
+
static readonly id: DefaultFormComponentId;
|
|
18
|
+
readonly: boolean;
|
|
19
|
+
formControl: FormControl;
|
|
20
|
+
config: DefaultFormComponentConfig<'combination-mode-form-input'>;
|
|
21
|
+
selectable$: Observable<boolean>;
|
|
22
|
+
constructor(configurableInputComponent: ConfigurableInputComponent);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
setCombinationModeAnd(): void;
|
|
25
|
+
setCombinationModeOr(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CombinationModeFormInputComponent, [{ optional: true; }]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CombinationModeFormInputComponent, "vdr-combination-mode-form-input", never, {}, {}, never, never>;
|
|
28
|
+
}
|
package/core/shared/dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import { FormInputComponent, InputComponentConfig } from '../../../common/component-registry-types';
|
|
6
6
|
import { FacetWithValuesFragment } from '../../../common/generated-types';
|
|
7
7
|
import { DataService } from '../../../data/providers/data.service';
|
|
8
|
+
import { FacetValueSeletorItem } from '../../components/facet-value-selector/facet-value-selector.component';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @description
|
|
@@ -24,6 +25,7 @@ export declare class FacetValueFormInputComponent implements FormInputComponent,
|
|
|
24
25
|
config: InputComponentConfig;
|
|
25
26
|
constructor(dataService: DataService);
|
|
26
27
|
ngOnInit(): void;
|
|
28
|
+
valueTransformFn: (values: FacetValueSeletorItem[]) => string | FacetValueSeletorItem[];
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FacetValueFormInputComponent, never>;
|
|
28
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<FacetValueFormInputComponent, "vdr-facet-value-form-input", never, {}, {}, never, never>;
|
|
29
31
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DefaultFormComponentConfig, DefaultFormComponentId } from '@vendure/common/lib/shared-types';
|
|
4
|
+
import { FormInputComponent } from '../../../common/component-registry-types';
|
|
5
|
+
import { DataService } from '../../../data/providers/data.service';
|
|
6
|
+
import { ModalService } from '../../../providers/modal/modal.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ProductMultiSelectorFormInputComponent implements OnInit, FormInputComponent {
|
|
9
|
+
private modalService;
|
|
10
|
+
private dataService;
|
|
11
|
+
private changeDetector;
|
|
12
|
+
config: DefaultFormComponentConfig<'product-multi-form-input'>;
|
|
13
|
+
formControl: FormControl;
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
mode: 'product' | 'variant';
|
|
16
|
+
readonly isListInput = true;
|
|
17
|
+
static readonly id: DefaultFormComponentId;
|
|
18
|
+
constructor(modalService: ModalService, dataService: DataService, changeDetector: ChangeDetectorRef);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
select(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductMultiSelectorFormInputComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductMultiSelectorFormInputComponent, "vdr-product-multi-selector-form-input", never, { "config": "config"; "formControl": "formControl"; "readonly": "readonly"; }, {}, never, never>;
|
|
23
|
+
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { FactoryProvider, Type } from '@angular/core';
|
|
2
2
|
import { FormInputComponent } from '../../common/component-registry-types';
|
|
3
3
|
import { CustomFieldControl, CustomFieldEntityName } from '../../providers/custom-field-component/custom-field-component.service';
|
|
4
|
+
import { HtmlEditorFormInputComponent } from './code-editor-form-input/html-editor-form-input.component';
|
|
4
5
|
import { JsonEditorFormInputComponent } from './code-editor-form-input/json-editor-form-input.component';
|
|
6
|
+
import { CombinationModeFormInputComponent } from './combination-mode-form-input/combination-mode-form-input.component';
|
|
5
7
|
import { CurrencyFormInputComponent } from './currency-form-input/currency-form-input.component';
|
|
6
8
|
import { CustomerGroupFormInputComponent } from './customer-group-form-input/customer-group-form-input.component';
|
|
7
9
|
import { FacetValueFormInputComponent } from './facet-value-form-input/facet-value-form-input.component';
|
|
8
10
|
import { PasswordFormInputComponent } from './password-form-input/password-form-input.component';
|
|
11
|
+
import { ProductMultiSelectorFormInputComponent } from './product-multi-selector-form-input/product-multi-selector-form-input.component';
|
|
9
12
|
import { ProductSelectorFormInputComponent } from './product-selector-form-input/product-selector-form-input.component';
|
|
10
|
-
|
|
13
|
+
import { SelectFormInputComponent } from './select-form-input/select-form-input.component';
|
|
14
|
+
export declare const defaultFormInputs: (typeof HtmlEditorFormInputComponent | typeof JsonEditorFormInputComponent | typeof CombinationModeFormInputComponent | typeof CurrencyFormInputComponent | typeof CustomerGroupFormInputComponent | typeof FacetValueFormInputComponent | typeof PasswordFormInputComponent | typeof ProductMultiSelectorFormInputComponent | typeof ProductSelectorFormInputComponent | typeof SelectFormInputComponent)[];
|
|
11
15
|
/**
|
|
12
16
|
* @description
|
|
13
17
|
* Registers a custom FormInputComponent which can be used to control the argument inputs
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DefaultFormComponentId } from '@vendure/common/lib/shared-types';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { FormInputComponent } from '../../../../common/component-registry-types';
|
|
4
6
|
import { GetAssetQuery, RelationCustomFieldConfig } from '../../../../common/generated-types';
|
|
5
7
|
import { DataService } from '../../../../data/providers/data.service';
|
|
6
8
|
import { ModalService } from '../../../../providers/modal/modal.service';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class RelationAssetInputComponent implements OnInit {
|
|
10
|
+
export declare class RelationAssetInputComponent implements FormInputComponent, OnInit {
|
|
9
11
|
private modalService;
|
|
10
12
|
private dataService;
|
|
13
|
+
static readonly id: DefaultFormComponentId;
|
|
11
14
|
readonly: boolean;
|
|
12
|
-
|
|
15
|
+
formControl: FormControl;
|
|
13
16
|
config: RelationCustomFieldConfig;
|
|
14
17
|
asset$: Observable<GetAssetQuery['asset'] | undefined>;
|
|
15
18
|
constructor(modalService: ModalService, dataService: DataService);
|
|
@@ -18,5 +21,5 @@ export declare class RelationAssetInputComponent implements OnInit {
|
|
|
18
21
|
remove(): void;
|
|
19
22
|
previewAsset(asset: NonNullable<GetAssetQuery['asset']>): void;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<RelationAssetInputComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RelationAssetInputComponent, "vdr-relation-asset-input", never, { "readonly": "readonly"; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RelationAssetInputComponent, "vdr-relation-asset-input", never, { "readonly": "readonly"; "formControl": "parentFormControl"; "config": "config"; }, {}, never, never>;
|
|
22
25
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
1
2
|
import { FormControl } from '@angular/forms';
|
|
2
3
|
import { DefaultFormComponentConfig, DefaultFormComponentId } from '@vendure/common/lib/shared-types';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
3
5
|
import { FormInputComponent } from '../../../common/component-registry-types';
|
|
4
|
-
import { CustomFieldConfigFragment } from '../../../common/generated-types';
|
|
6
|
+
import { CustomFieldConfigFragment, LanguageCode } from '../../../common/generated-types';
|
|
7
|
+
import { DataService } from '../../../data/providers/data.service';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
/**
|
|
7
10
|
* @description
|
|
@@ -11,12 +14,17 @@ import * as i0 from "@angular/core";
|
|
|
11
14
|
* @docsCategory custom-input-components
|
|
12
15
|
* @docsPage default-inputs
|
|
13
16
|
*/
|
|
14
|
-
export declare class SelectFormInputComponent implements FormInputComponent {
|
|
17
|
+
export declare class SelectFormInputComponent implements FormInputComponent, OnInit {
|
|
18
|
+
private dataService;
|
|
15
19
|
static readonly id: DefaultFormComponentId;
|
|
16
20
|
readonly: boolean;
|
|
17
21
|
formControl: FormControl;
|
|
18
22
|
config: DefaultFormComponentConfig<'select-form-input'> & CustomFieldConfigFragment;
|
|
23
|
+
uiLanguage$: Observable<LanguageCode>;
|
|
19
24
|
get options(): any;
|
|
25
|
+
constructor(dataService: DataService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
trackByFn(index: number, item: any): any;
|
|
20
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFormInputComponent, never>;
|
|
21
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFormInputComponent, "vdr-select-form-input", never, { "readonly": "readonly"; }, {}, never, never>;
|
|
22
30
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { CustomFieldConfig, LanguageCode } from '../../common/generated-types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Displays a localized description for a CustomField
|
|
6
|
+
*/
|
|
7
|
+
export declare class CustomFieldDescriptionPipe implements PipeTransform {
|
|
8
|
+
transform(value: CustomFieldConfig, uiLanguageCode: LanguageCode | null): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFieldDescriptionPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CustomFieldDescriptionPipe, "customFieldDescription">;
|
|
11
|
+
}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CustomFieldConfig, StringFieldOption } from '../../common/generated-types';
|
|
3
|
-
import { DataService } from '../../data/providers/data.service';
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { CustomFieldConfig, LanguageCode, StringFieldOption } from '../../common/generated-types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* Displays a localized label for a CustomField or StringFieldOption, falling back to the
|
|
7
6
|
* name/value if none are defined.
|
|
8
7
|
*/
|
|
9
|
-
export declare class CustomFieldLabelPipe implements PipeTransform
|
|
10
|
-
|
|
11
|
-
private readonly subscription;
|
|
12
|
-
private uiLanguageCode;
|
|
13
|
-
constructor(dataService: DataService);
|
|
14
|
-
transform(value: CustomFieldConfig | StringFieldOption): string;
|
|
15
|
-
ngOnDestroy(): void;
|
|
8
|
+
export declare class CustomFieldLabelPipe implements PipeTransform {
|
|
9
|
+
transform(value: CustomFieldConfig | StringFieldOption, uiLanguageCode: LanguageCode | null): string;
|
|
16
10
|
private isCustomFieldConfig;
|
|
17
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFieldLabelPipe, never>;
|
|
18
12
|
static ɵpipe: i0.ɵɵPipeDeclaration<CustomFieldLabelPipe, "customFieldLabel">;
|
|
@@ -61,64 +61,75 @@ import * as i56 from "./pipes/channel-label.pipe";
|
|
|
61
61
|
import * as i57 from "./directives/if-default-channel-active.directive";
|
|
62
62
|
import * as i58 from "./components/extension-host/extension-host.component";
|
|
63
63
|
import * as i59 from "./pipes/custom-field-label.pipe";
|
|
64
|
-
import * as i60 from "./
|
|
65
|
-
import * as i61 from "./
|
|
66
|
-
import * as i62 from "./
|
|
67
|
-
import * as i63 from "./components/rich-text-editor/
|
|
68
|
-
import * as i64 from "./
|
|
69
|
-
import * as i65 from "./pipes/
|
|
70
|
-
import * as i66 from "./
|
|
71
|
-
import * as i67 from "./components/
|
|
72
|
-
import * as i68 from "./components/
|
|
73
|
-
import * as i69 from "./components/
|
|
74
|
-
import * as i70 from "./
|
|
75
|
-
import * as i71 from "./
|
|
76
|
-
import * as i72 from "./
|
|
77
|
-
import * as i73 from "./components/
|
|
78
|
-
import * as i74 from "./
|
|
79
|
-
import * as i75 from "./
|
|
80
|
-
import * as i76 from "./
|
|
81
|
-
import * as i77 from "./pipes/locale-
|
|
82
|
-
import * as i78 from "./pipes/locale-
|
|
83
|
-
import * as i79 from "./pipes/locale-
|
|
84
|
-
import * as i80 from "./
|
|
85
|
-
import * as i81 from "./components/
|
|
86
|
-
import * as i82 from "./
|
|
87
|
-
import * as i83 from "./dynamic-form-inputs/relation-form-input/relation-
|
|
88
|
-
import * as i84 from "./
|
|
89
|
-
import * as i85 from "./components/
|
|
90
|
-
import * as i86 from "./components/
|
|
91
|
-
import * as i87 from "./components/
|
|
92
|
-
import * as i88 from "./components/
|
|
93
|
-
import * as i89 from "./
|
|
94
|
-
import * as i90 from "./
|
|
95
|
-
import * as i91 from "./
|
|
96
|
-
import * as i92 from "./
|
|
97
|
-
import * as i93 from "./
|
|
98
|
-
import * as i94 from "./
|
|
99
|
-
import * as i95 from "./
|
|
100
|
-
import * as i96 from "./
|
|
101
|
-
import * as i97 from "./dynamic-form-inputs/
|
|
102
|
-
import * as i98 from "./dynamic-form-inputs/
|
|
103
|
-
import * as i99 from "./dynamic-form-inputs/
|
|
104
|
-
import * as i100 from "./dynamic-form-inputs/
|
|
105
|
-
import * as i101 from "./dynamic-form-inputs/
|
|
106
|
-
import * as i102 from "./dynamic-form-inputs/
|
|
107
|
-
import * as i103 from "./dynamic-form-inputs/
|
|
108
|
-
import * as i104 from "./dynamic-form-inputs/
|
|
109
|
-
import * as i105 from "./dynamic-form-inputs/
|
|
110
|
-
import * as i106 from "./dynamic-form-inputs/
|
|
111
|
-
import * as i107 from "
|
|
112
|
-
import * as i108 from "
|
|
113
|
-
import * as i109 from "
|
|
114
|
-
import * as i110 from "
|
|
115
|
-
import * as i111 from "
|
|
116
|
-
import * as i112 from "
|
|
117
|
-
import * as i113 from "
|
|
118
|
-
import * as i114 from "
|
|
119
|
-
import * as i115 from "
|
|
64
|
+
import * as i60 from "./pipes/custom-field-description.pipe";
|
|
65
|
+
import * as i61 from "./components/focal-point-control/focal-point-control.component";
|
|
66
|
+
import * as i62 from "./pipes/asset-preview.pipe";
|
|
67
|
+
import * as i63 from "./components/rich-text-editor/link-dialog/link-dialog.component";
|
|
68
|
+
import * as i64 from "./components/rich-text-editor/external-image-dialog/external-image-dialog.component";
|
|
69
|
+
import * as i65 from "./pipes/time-ago.pipe";
|
|
70
|
+
import * as i66 from "./pipes/duration.pipe";
|
|
71
|
+
import * as i67 from "./components/empty-placeholder/empty-placeholder.component";
|
|
72
|
+
import * as i68 from "./components/timeline-entry/timeline-entry.component";
|
|
73
|
+
import * as i69 from "./components/history-entry-detail/history-entry-detail.component";
|
|
74
|
+
import * as i70 from "./components/edit-note-dialog/edit-note-dialog.component";
|
|
75
|
+
import * as i71 from "./dynamic-form-inputs/product-selector-form-input/product-selector-form-input.component";
|
|
76
|
+
import * as i72 from "./pipes/state-i18n-token.pipe";
|
|
77
|
+
import * as i73 from "./components/product-variant-selector/product-variant-selector.component";
|
|
78
|
+
import * as i74 from "./components/help-tooltip/help-tooltip.component";
|
|
79
|
+
import * as i75 from "./dynamic-form-inputs/customer-group-form-input/customer-group-form-input.component";
|
|
80
|
+
import * as i76 from "./components/address-form/address-form.component";
|
|
81
|
+
import * as i77 from "./pipes/locale-date.pipe";
|
|
82
|
+
import * as i78 from "./pipes/locale-currency.pipe";
|
|
83
|
+
import * as i79 from "./pipes/locale-language-name.pipe";
|
|
84
|
+
import * as i80 from "./pipes/locale-region-name.pipe";
|
|
85
|
+
import * as i81 from "./components/tag-selector/tag-selector.component";
|
|
86
|
+
import * as i82 from "./components/manage-tags-dialog/manage-tags-dialog.component";
|
|
87
|
+
import * as i83 from "./dynamic-form-inputs/relation-form-input/relation-selector-dialog/relation-selector-dialog.component";
|
|
88
|
+
import * as i84 from "./dynamic-form-inputs/relation-form-input/relation-card/relation-card.component";
|
|
89
|
+
import * as i85 from "./components/status-badge/status-badge.component";
|
|
90
|
+
import * as i86 from "./components/tabbed-custom-fields/tabbed-custom-fields.component";
|
|
91
|
+
import * as i87 from "./components/ui-extension-point/ui-extension-point.component";
|
|
92
|
+
import * as i88 from "./components/custom-detail-component-host/custom-detail-component-host.component";
|
|
93
|
+
import * as i89 from "./components/asset-preview-links/asset-preview-links.component";
|
|
94
|
+
import * as i90 from "./components/product-multi-selector-dialog/product-multi-selector-dialog.component";
|
|
95
|
+
import * as i91 from "./components/product-search-input/product-search-input.component";
|
|
96
|
+
import * as i92 from "./components/rich-text-editor/prosemirror/context-menu/context-menu.component";
|
|
97
|
+
import * as i93 from "./components/rich-text-editor/raw-html-dialog/raw-html-dialog.component";
|
|
98
|
+
import * as i94 from "./components/bulk-action-menu/bulk-action-menu.component";
|
|
99
|
+
import * as i95 from "./components/radio-card/radio-card.component";
|
|
100
|
+
import * as i96 from "./components/radio-card/radio-card-fieldset.component";
|
|
101
|
+
import * as i97 from "./dynamic-form-inputs/text-form-input/text-form-input.component";
|
|
102
|
+
import * as i98 from "./dynamic-form-inputs/password-form-input/password-form-input.component";
|
|
103
|
+
import * as i99 from "./dynamic-form-inputs/number-form-input/number-form-input.component";
|
|
104
|
+
import * as i100 from "./dynamic-form-inputs/date-form-input/date-form-input.component";
|
|
105
|
+
import * as i101 from "./dynamic-form-inputs/currency-form-input/currency-form-input.component";
|
|
106
|
+
import * as i102 from "./dynamic-form-inputs/boolean-form-input/boolean-form-input.component";
|
|
107
|
+
import * as i103 from "./dynamic-form-inputs/select-form-input/select-form-input.component";
|
|
108
|
+
import * as i104 from "./dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component";
|
|
109
|
+
import * as i105 from "./dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component";
|
|
110
|
+
import * as i106 from "./dynamic-form-inputs/relation-form-input/relation-form-input.component";
|
|
111
|
+
import * as i107 from "./dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component";
|
|
112
|
+
import * as i108 from "./dynamic-form-inputs/relation-form-input/product/relation-product-input.component";
|
|
113
|
+
import * as i109 from "./dynamic-form-inputs/relation-form-input/product-variant/relation-product-variant-input.component";
|
|
114
|
+
import * as i110 from "./dynamic-form-inputs/relation-form-input/customer/relation-customer-input.component";
|
|
115
|
+
import * as i111 from "./dynamic-form-inputs/relation-form-input/generic/relation-generic-input.component";
|
|
116
|
+
import * as i112 from "./dynamic-form-inputs/textarea-form-input/textarea-form-input.component";
|
|
117
|
+
import * as i113 from "./dynamic-form-inputs/rich-text-form-input/rich-text-form-input.component";
|
|
118
|
+
import * as i114 from "./dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component";
|
|
119
|
+
import * as i115 from "./dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component";
|
|
120
|
+
import * as i116 from "./dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component";
|
|
121
|
+
import * as i117 from "./dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component";
|
|
122
|
+
import * as i118 from "@clr/angular";
|
|
123
|
+
import * as i119 from "@angular/common";
|
|
124
|
+
import * as i120 from "@angular/forms";
|
|
125
|
+
import * as i121 from "@angular/router";
|
|
126
|
+
import * as i122 from "@ng-select/ng-select";
|
|
127
|
+
import * as i123 from "ngx-pagination";
|
|
128
|
+
import * as i124 from "@ngx-translate/core";
|
|
129
|
+
import * as i125 from "@angular/cdk/overlay";
|
|
130
|
+
import * as i126 from "@angular/cdk/drag-drop";
|
|
120
131
|
export declare class SharedModule {
|
|
121
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
122
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.
|
|
133
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.CustomFieldDescriptionPipe, typeof i61.FocalPointControlComponent, typeof i62.AssetPreviewPipe, typeof i63.LinkDialogComponent, typeof i64.ExternalImageDialogComponent, typeof i65.TimeAgoPipe, typeof i66.DurationPipe, typeof i67.EmptyPlaceholderComponent, typeof i68.TimelineEntryComponent, typeof i69.HistoryEntryDetailComponent, typeof i70.EditNoteDialogComponent, typeof i71.ProductSelectorFormInputComponent, typeof i72.StateI18nTokenPipe, typeof i73.ProductVariantSelectorComponent, typeof i74.HelpTooltipComponent, typeof i75.CustomerGroupFormInputComponent, typeof i76.AddressFormComponent, typeof i77.LocaleDatePipe, typeof i78.LocaleCurrencyPipe, typeof i79.LocaleLanguageNamePipe, typeof i80.LocaleRegionNamePipe, typeof i81.TagSelectorComponent, typeof i82.ManageTagsDialogComponent, typeof i83.RelationSelectorDialogComponent, typeof i84.RelationCardComponent, typeof i85.StatusBadgeComponent, typeof i86.TabbedCustomFieldsComponent, typeof i87.UiExtensionPointComponent, typeof i88.CustomDetailComponentHostComponent, typeof i89.AssetPreviewLinksComponent, typeof i90.ProductMultiSelectorDialogComponent, typeof i91.ProductSearchInputComponent, typeof i92.ContextMenuComponent, typeof i93.RawHtmlDialogComponent, typeof i94.BulkActionMenuComponent, typeof i95.RadioCardComponent, typeof i96.RadioCardFieldsetComponent, typeof i97.TextFormInputComponent, typeof i98.PasswordFormInputComponent, typeof i99.NumberFormInputComponent, typeof i100.DateFormInputComponent, typeof i101.CurrencyFormInputComponent, typeof i102.BooleanFormInputComponent, typeof i103.SelectFormInputComponent, typeof i104.FacetValueFormInputComponent, typeof i105.DynamicFormInputComponent, typeof i106.RelationFormInputComponent, typeof i107.RelationAssetInputComponent, typeof i108.RelationProductInputComponent, typeof i109.RelationProductVariantInputComponent, typeof i110.RelationCustomerInputComponent, typeof i84.RelationCardPreviewDirective, typeof i84.RelationCardDetailDirective, typeof i83.RelationSelectorDialogComponent, typeof i111.RelationGenericInputComponent, typeof i112.TextareaFormInputComponent, typeof i113.RichTextFormInputComponent, typeof i114.JsonEditorFormInputComponent, typeof i115.HtmlEditorFormInputComponent, typeof i116.ProductMultiSelectorFormInputComponent, typeof i117.CombinationModeFormInputComponent], [typeof i118.ClarityModule, typeof i119.CommonModule, typeof i120.FormsModule, typeof i120.ReactiveFormsModule, typeof i121.RouterModule, typeof i122.NgSelectModule, typeof i123.NgxPaginationModule, typeof i124.TranslateModule, typeof i125.OverlayModule, typeof i126.DragDropModule], [typeof i118.ClarityModule, typeof i119.CommonModule, typeof i120.FormsModule, typeof i120.ReactiveFormsModule, typeof i121.RouterModule, typeof i122.NgSelectModule, typeof i123.NgxPaginationModule, typeof i124.TranslateModule, typeof i125.OverlayModule, typeof i126.DragDropModule, typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.CustomFieldDescriptionPipe, typeof i61.FocalPointControlComponent, typeof i62.AssetPreviewPipe, typeof i63.LinkDialogComponent, typeof i64.ExternalImageDialogComponent, typeof i65.TimeAgoPipe, typeof i66.DurationPipe, typeof i67.EmptyPlaceholderComponent, typeof i68.TimelineEntryComponent, typeof i69.HistoryEntryDetailComponent, typeof i70.EditNoteDialogComponent, typeof i71.ProductSelectorFormInputComponent, typeof i72.StateI18nTokenPipe, typeof i73.ProductVariantSelectorComponent, typeof i74.HelpTooltipComponent, typeof i75.CustomerGroupFormInputComponent, typeof i76.AddressFormComponent, typeof i77.LocaleDatePipe, typeof i78.LocaleCurrencyPipe, typeof i79.LocaleLanguageNamePipe, typeof i80.LocaleRegionNamePipe, typeof i81.TagSelectorComponent, typeof i82.ManageTagsDialogComponent, typeof i83.RelationSelectorDialogComponent, typeof i84.RelationCardComponent, typeof i85.StatusBadgeComponent, typeof i86.TabbedCustomFieldsComponent, typeof i87.UiExtensionPointComponent, typeof i88.CustomDetailComponentHostComponent, typeof i89.AssetPreviewLinksComponent, typeof i90.ProductMultiSelectorDialogComponent, typeof i91.ProductSearchInputComponent, typeof i92.ContextMenuComponent, typeof i93.RawHtmlDialogComponent, typeof i94.BulkActionMenuComponent, typeof i95.RadioCardComponent, typeof i96.RadioCardFieldsetComponent, typeof i97.TextFormInputComponent, typeof i98.PasswordFormInputComponent, typeof i99.NumberFormInputComponent, typeof i100.DateFormInputComponent, typeof i101.CurrencyFormInputComponent, typeof i102.BooleanFormInputComponent, typeof i103.SelectFormInputComponent, typeof i104.FacetValueFormInputComponent, typeof i105.DynamicFormInputComponent, typeof i106.RelationFormInputComponent, typeof i107.RelationAssetInputComponent, typeof i108.RelationProductInputComponent, typeof i109.RelationProductVariantInputComponent, typeof i110.RelationCustomerInputComponent, typeof i84.RelationCardPreviewDirective, typeof i84.RelationCardDetailDirective, typeof i83.RelationSelectorDialogComponent, typeof i111.RelationGenericInputComponent, typeof i112.TextareaFormInputComponent, typeof i113.RichTextFormInputComponent, typeof i114.JsonEditorFormInputComponent, typeof i115.HtmlEditorFormInputComponent, typeof i116.ProductMultiSelectorFormInputComponent, typeof i117.CombinationModeFormInputComponent]>;
|
|
123
134
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
124
135
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
2
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { DataService, GetCustomerGroupsQuery, GetCustomerGroupWithCustomersQuery, ItemOf, ModalService, NotificationService } from '@vendure/admin-ui/core';
|
|
4
|
+
import { BaseListComponent, DataService, GetCustomerGroupsQuery, GetCustomerGroupWithCustomersQuery, ItemOf, ModalService, NotificationService } from '@vendure/admin-ui/core';
|
|
4
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
6
|
import { CustomerGroupMemberFetchParams } from '../customer-group-member-list/customer-group-member-list.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class CustomerGroupListComponent implements OnInit {
|
|
8
|
+
export declare class CustomerGroupListComponent extends BaseListComponent<GetCustomerGroupsQuery, GetCustomerGroupsQuery['customerGroups']['items'][number]> implements OnInit {
|
|
8
9
|
private dataService;
|
|
9
10
|
private notificationService;
|
|
10
11
|
private modalService;
|
|
11
12
|
route: ActivatedRoute;
|
|
12
|
-
|
|
13
|
+
protected router: Router;
|
|
14
|
+
searchTerm: FormControl;
|
|
13
15
|
activeGroup$: Observable<ItemOf<GetCustomerGroupsQuery, 'customerGroups'> | undefined>;
|
|
14
|
-
|
|
16
|
+
activeGroupId: string | undefined;
|
|
15
17
|
listIsEmpty$: Observable<boolean>;
|
|
16
18
|
members$: Observable<NonNullable<GetCustomerGroupWithCustomersQuery['customerGroup']>['customers']['items']>;
|
|
17
19
|
membersTotal$: Observable<number>;
|
package/customer/components/customer-group-member-list/customer-group-member-list.component.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Customer, DataService } from '@vendure/admin-ui/core';
|
|
5
|
-
import { ZoneMember } from '@vendure/admin-ui/settings';
|
|
6
5
|
import { Observable } from 'rxjs';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export interface CustomerGroupMemberFetchParams {
|
|
@@ -10,10 +9,11 @@ export interface CustomerGroupMemberFetchParams {
|
|
|
10
9
|
take: number;
|
|
11
10
|
filterTerm: string;
|
|
12
11
|
}
|
|
12
|
+
declare type CustomerGroupMember = Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'emailAddress'>;
|
|
13
13
|
export declare class CustomerGroupMemberListComponent implements OnInit, OnDestroy {
|
|
14
14
|
private router;
|
|
15
15
|
private dataService;
|
|
16
|
-
members:
|
|
16
|
+
members: CustomerGroupMember[];
|
|
17
17
|
totalItems: number;
|
|
18
18
|
route: ActivatedRoute;
|
|
19
19
|
selectedMemberIds: string[];
|
|
@@ -33,8 +33,15 @@ export declare class CustomerGroupMemberListComponent implements OnInit, OnDestr
|
|
|
33
33
|
private setParam;
|
|
34
34
|
areAllSelected(): boolean;
|
|
35
35
|
toggleSelectAll(): void;
|
|
36
|
-
toggleSelectMember(
|
|
37
|
-
|
|
36
|
+
toggleSelectMember({ item: member }: {
|
|
37
|
+
item: {
|
|
38
|
+
id: string;
|
|
39
|
+
};
|
|
40
|
+
}): void;
|
|
41
|
+
isMemberSelected: (member: {
|
|
42
|
+
id: string;
|
|
43
|
+
}) => boolean;
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerGroupMemberListComponent, never>;
|
|
39
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerGroupMemberListComponent, "vdr-customer-group-member-list", never, { "members": "members"; "totalItems": "totalItems"; "route": "route"; "selectedMemberIds": "selectedMemberIds"; }, { "selectionChange": "selectionChange"; "fetchParamsChange": "fetchParamsChange"; }, never, never>;
|
|
40
46
|
}
|
|
47
|
+
export {};
|