@vendure/admin-ui 3.1.0-next.2 → 3.1.0-next.4
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/components/collection-data-table/collection-data-table.component.d.ts +3 -5
- package/catalog/components/collection-detail/collection-detail.component.d.ts +1 -1
- package/catalog/components/collection-list/collection-list.component.d.ts +1 -0
- package/catalog/components/facet-detail/facet-detail.component.d.ts +1 -1
- package/catalog/components/facet-list/facet-list.component.d.ts +1 -0
- package/catalog/components/product-detail/product-detail.component.d.ts +1 -1
- package/catalog/components/product-list/product-list.component.d.ts +3 -1
- package/catalog/components/product-variant-list/product-variant-list.component.d.ts +1 -1
- package/core/common/base-list.component.d.ts +13 -0
- package/core/common/generated-types.d.ts +1188 -139
- package/core/common/utilities/custom-field-default-value.d.ts +1 -1
- package/core/common/version.d.ts +1 -1
- package/core/data/definitions/order-definitions.d.ts +2 -0
- package/core/data/definitions/settings-definitions.d.ts +1 -0
- package/core/data/providers/base-data.service.d.ts +19 -2
- package/core/data/providers/collection-data.service.d.ts +2 -2
- package/core/data/providers/data.service.d.ts +3 -3
- package/core/data/providers/order-data.service.d.ts +2 -0
- package/core/data/query-result.d.ts +60 -4
- package/core/data/utils/add-custom-fields.d.ts +1 -1
- package/core/providers/alerts/alerts.service.d.ts +3 -0
- package/core/providers/auth/auth.service.d.ts +3 -1
- package/core/providers/data-table/data-table-config.service.d.ts +12 -0
- package/core/public_api.d.ts +2 -0
- package/core/shared/components/asset-preview-links/asset-preview-links.component.d.ts +1 -0
- package/core/shared/components/assets/assets.component.d.ts +2 -1
- package/core/shared/components/data-table-2/data-table2.component.d.ts +5 -5
- package/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.d.ts +1 -0
- package/core/shared/components/data-table-filter-presets/filter-preset.service.d.ts +3 -4
- package/core/shared/components/facet-value-chip/facet-value-chip.component.d.ts +4 -2
- package/core/shared/components/product-variant-selector/product-variant-selector.component.d.ts +1 -1
- package/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.d.ts +21 -2
- package/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.d.ts +2 -1
- package/core/shared/dynamic-form-inputs/default-form-inputs.d.ts +2 -1
- package/core/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.d.ts +34 -0
- package/core/shared/shared.module.d.ts +12 -11
- package/customer/components/customer-detail/customer-detail.component.d.ts +1 -1
- package/customer/components/customer-group-detail/customer-group-detail.component.d.ts +1 -1
- package/customer/components/customer-group-list/customer-group-list.component.d.ts +2 -0
- package/customer/components/customer-list/customer-list.component.d.ts +1 -0
- package/esm2022/catalog/components/collection-contents/collection-contents.component.mjs +1 -1
- package/esm2022/catalog/components/collection-data-table/collection-data-table.component.mjs +10 -12
- package/esm2022/catalog/components/collection-detail/collection-detail.component.mjs +1 -1
- package/esm2022/catalog/components/collection-list/collection-list.component.mjs +4 -3
- package/esm2022/catalog/components/facet-list/facet-list.component.mjs +4 -3
- package/esm2022/catalog/components/move-collections-dialog/move-collections-dialog.component.mjs +1 -1
- package/esm2022/catalog/components/product-detail/product-detail.component.mjs +1 -1
- package/esm2022/catalog/components/product-list/product-list.component.mjs +5 -3
- package/esm2022/catalog/components/product-options-editor/product-options-editor.component.mjs +1 -1
- package/esm2022/catalog/components/product-variant-detail/product-variant-detail.component.mjs +1 -1
- package/esm2022/catalog/components/product-variant-list/product-variant-list.component.mjs +1 -1
- package/esm2022/catalog/components/product-variant-quick-jump/product-variant-quick-jump.component.mjs +2 -2
- package/esm2022/catalog/components/product-variants-editor/product-variants-editor.component.mjs +1 -1
- package/esm2022/core/common/base-list.component.mjs +20 -4
- package/esm2022/core/common/generated-types.mjs +17 -13
- package/esm2022/core/common/introspection-result.mjs +22 -1
- package/esm2022/core/common/utilities/custom-field-default-value.mjs +3 -1
- package/esm2022/core/common/version.mjs +2 -2
- package/esm2022/core/components/app-shell/app-shell.component.mjs +3 -3
- package/esm2022/core/data/data.module.mjs +3 -3
- package/esm2022/core/data/definitions/facet-definitions.mjs +2 -1
- package/esm2022/core/data/definitions/order-definitions.mjs +17 -1
- package/esm2022/core/data/definitions/settings-definitions.mjs +52 -1
- package/esm2022/core/data/providers/base-data.service.mjs +7 -8
- package/esm2022/core/data/providers/collection-data.service.mjs +3 -3
- package/esm2022/core/data/providers/data.service.mjs +5 -5
- package/esm2022/core/data/providers/order-data.service.mjs +8 -2
- package/esm2022/core/data/providers/product-data.service.mjs +4 -2
- package/esm2022/core/data/query-result.mjs +98 -10
- package/esm2022/core/data/utils/add-custom-fields.mjs +59 -30
- package/esm2022/core/providers/alerts/alerts.service.mjs +13 -3
- package/esm2022/core/providers/auth/auth.service.mjs +11 -7
- package/esm2022/core/providers/data-table/data-table-config.service.mjs +43 -0
- package/esm2022/core/providers/data-table/data-table-filter-collection.mjs +3 -2
- package/esm2022/core/providers/data-table/data-table-sort-collection.mjs +2 -1
- package/esm2022/core/public_api.mjs +3 -1
- package/esm2022/core/shared/components/asset-picker-dialog/asset-picker-dialog.component.mjs +1 -1
- package/esm2022/core/shared/components/asset-preview-links/asset-preview-links.component.mjs +3 -2
- package/esm2022/core/shared/components/assets/assets.component.mjs +10 -4
- package/esm2022/core/shared/components/card/card.component.mjs +1 -1
- package/esm2022/core/shared/components/currency-code-selector/currency-code-selector.component.mjs +1 -1
- package/esm2022/core/shared/components/data-table-2/data-table-custom-field-column.component.mjs +3 -3
- package/esm2022/core/shared/components/data-table-2/data-table2.component.mjs +44 -52
- package/esm2022/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.mjs +23 -3
- package/esm2022/core/shared/components/data-table-filter-presets/filter-preset.service.mjs +23 -35
- package/esm2022/core/shared/components/dropdown/dropdown-trigger.directive.mjs +1 -1
- package/esm2022/core/shared/components/facet-value-chip/facet-value-chip.component.mjs +8 -3
- package/esm2022/core/shared/components/help-tooltip/help-tooltip.component.mjs +1 -1
- package/esm2022/core/shared/components/language-code-selector/language-code-selector.component.mjs +1 -1
- package/esm2022/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.mjs +2 -2
- package/esm2022/core/shared/components/product-variant-selector/product-variant-selector.component.mjs +2 -2
- package/esm2022/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.mjs +78 -13
- package/esm2022/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.mjs +33 -1
- package/esm2022/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.mjs +3 -2
- package/esm2022/core/shared/components/tabbed-custom-fields/tabbed-custom-fields.component.mjs +2 -1
- package/esm2022/core/shared/directives/disabled.directive.mjs +1 -1
- package/esm2022/core/shared/dynamic-form-inputs/default-form-inputs.mjs +3 -1
- package/esm2022/core/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.mjs +9 -1
- package/esm2022/core/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.mjs +52 -0
- package/esm2022/core/shared/pipes/locale-base.pipe.mjs +2 -2
- package/esm2022/core/shared/pipes/state-i18n-token.pipe.mjs +1 -1
- package/esm2022/core/shared/shared.module.mjs +7 -3
- package/esm2022/customer/components/customer-detail/customer-detail.component.mjs +1 -1
- package/esm2022/customer/components/customer-group-list/customer-group-list.component.mjs +5 -3
- package/esm2022/customer/components/customer-group-member-list/customer-group-member-list.component.mjs +1 -1
- package/esm2022/customer/components/customer-list/customer-list.component.mjs +4 -3
- package/esm2022/dashboard/widgets/latest-orders-widget/latest-orders-widget.component.mjs +1 -1
- package/esm2022/dashboard/widgets/test-widget/test-widget.component.mjs +1 -1
- package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +4 -3
- package/esm2022/order/components/draft-order-detail/draft-order-detail.component.mjs +34 -3
- package/esm2022/order/components/order-data-table/order-data-table.component.mjs +1 -14
- package/esm2022/order/components/order-editor/order-editor.component.mjs +1 -1
- package/esm2022/order/components/order-list/order-list.component.mjs +4 -3
- package/esm2022/order/components/order-payment-card/order-payment-card.component.mjs +1 -1
- package/esm2022/order/components/order-state-select-dialog/order-state-select-dialog.component.mjs +1 -1
- package/esm2022/order/components/refund-order-dialog/refund-order-dialog.component.mjs +3 -3
- package/esm2022/order/order.routes.mjs +1 -2
- package/esm2022/settings/components/add-country-to-zone-dialog/add-country-to-zone-dialog.component.mjs +3 -3
- package/esm2022/settings/components/administrator-list/administrator-list.component.mjs +4 -3
- package/esm2022/settings/components/channel-list/channel-list.component.mjs +4 -3
- package/esm2022/settings/components/country-list/country-list.component.mjs +4 -3
- package/esm2022/settings/components/payment-method-list/payment-method-list.component.mjs +4 -3
- package/esm2022/settings/components/role-list/role-list.component.mjs +4 -3
- package/esm2022/settings/components/seller-list/seller-list.component.mjs +4 -3
- package/esm2022/settings/components/shipping-method-list/shipping-method-list.component.mjs +4 -3
- package/esm2022/settings/components/stock-location-list/stock-location-list.component.mjs +4 -3
- package/esm2022/settings/components/tax-category-list/tax-category-list.component.mjs +4 -3
- package/esm2022/settings/components/tax-rate-list/tax-rate-list.component.mjs +4 -3
- package/esm2022/settings/components/zone-list/zone-list.component.mjs +4 -3
- package/esm2022/settings/components/zone-member-list/zone-member-list.component.mjs +1 -1
- package/esm2022/system/components/job-list/job-list.component.mjs +1 -1
- package/esm2022/system/components/job-state-label/job-state-label.component.mjs +1 -1
- package/fesm2022/vendure-admin-ui-catalog.mjs +26 -24
- package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-core.mjs +750 -309
- package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-customer.mjs +9 -6
- package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-dashboard.mjs +1 -1
- package/fesm2022/vendure-admin-ui-dashboard.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-marketing.mjs +3 -2
- package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-order.mjs +38 -20
- package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-react.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-settings.mjs +36 -25
- package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-system.mjs +1 -1
- package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
- package/marketing/components/promotion-detail/promotion-detail.component.d.ts +1 -1
- package/marketing/components/promotion-list/promotion-list.component.d.ts +1 -0
- package/order/components/draft-order-detail/draft-order-detail.component.d.ts +1 -0
- package/order/components/order-data-table/order-data-table.component.d.ts +2 -3
- package/order/components/order-detail/order-detail.component.d.ts +1 -1
- package/order/components/order-list/order-list.component.d.ts +1 -0
- package/package.json +18 -18
- package/settings/components/admin-detail/admin-detail.component.d.ts +1 -1
- package/settings/components/administrator-list/administrator-list.component.d.ts +1 -0
- package/settings/components/channel-detail/channel-detail.component.d.ts +1 -1
- package/settings/components/channel-list/channel-list.component.d.ts +1 -0
- package/settings/components/country-detail/country-detail.component.d.ts +1 -1
- package/settings/components/country-list/country-list.component.d.ts +1 -0
- package/settings/components/global-settings/global-settings.component.d.ts +1 -1
- package/settings/components/payment-method-detail/payment-method-detail.component.d.ts +1 -1
- package/settings/components/payment-method-list/payment-method-list.component.d.ts +1 -0
- package/settings/components/profile/profile.component.d.ts +1 -1
- package/settings/components/role-list/role-list.component.d.ts +1 -0
- package/settings/components/seller-detail/seller-detail.component.d.ts +1 -1
- package/settings/components/seller-list/seller-list.component.d.ts +1 -0
- package/settings/components/shipping-method-detail/shipping-method-detail.component.d.ts +1 -1
- package/settings/components/shipping-method-list/shipping-method-list.component.d.ts +1 -0
- package/settings/components/stock-location-detail/stock-location-detail.component.d.ts +1 -1
- package/settings/components/stock-location-list/stock-location-list.component.d.ts +1 -0
- package/settings/components/tax-category-detail/tax-category-detail.component.d.ts +1 -1
- package/settings/components/tax-category-list/tax-category-list.component.d.ts +1 -0
- package/settings/components/tax-rate-detail/tax-rate-detail.component.d.ts +1 -1
- package/settings/components/tax-rate-list/tax-rate-list.component.d.ts +1 -0
- package/settings/components/zone-detail/zone-detail.component.d.ts +1 -1
- package/settings/components/zone-list/zone-list.component.d.ts +1 -0
- package/static/i18n-messages/en.json +6 -2
- package/static/i18n-messages/pt_PT.json +1 -0
- package/static/i18n-messages/sv.json +12 -12
- package/static/styles/component/prosemirror.scss +2 -0
|
@@ -3,4 +3,4 @@ import { CustomFieldConfig } from '../generated-types';
|
|
|
3
3
|
export declare function getCustomFieldsDefaults(customFieldConfig: CustomFieldConfig[]): {
|
|
4
4
|
[key: string]: ReturnType<typeof getDefaultValue>;
|
|
5
5
|
};
|
|
6
|
-
export declare function getDefaultValue(type: CustomFieldType, isNullable?: boolean):
|
|
6
|
+
export declare function getDefaultValue(type: CustomFieldType, isNullable?: boolean): {} | null;
|
package/core/common/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ADMIN_UI_VERSION = "3.1.0-next.
|
|
1
|
+
export declare const ADMIN_UI_VERSION = "3.1.0-next.4";
|
|
@@ -33,6 +33,8 @@ export declare const REMOVE_DRAFT_ORDER_LINE: import("apollo-angular").TypedDocu
|
|
|
33
33
|
export declare const SET_CUSTOMER_FOR_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
34
34
|
export declare const SET_SHIPPING_ADDRESS_FOR_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
35
35
|
export declare const SET_BILLING_ADDRESS_FOR_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
36
|
+
export declare const UNSET_SHIPPING_ADDRESS_FOR_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
37
|
+
export declare const UNSET_BILLING_ADDRESS_FOR_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
36
38
|
export declare const APPLY_COUPON_CODE_TO_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
37
39
|
export declare const REMOVE_COUPON_CODE_FROM_DRAFT_ORDER: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
38
40
|
export declare const DRAFT_ORDER_ELIGIBLE_SHIPPING_METHODS: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
@@ -56,6 +56,7 @@ export declare const INT_CUSTOM_FIELD_FRAGMENT: import("apollo-angular").TypedDo
|
|
|
56
56
|
export declare const FLOAT_CUSTOM_FIELD_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
57
57
|
export declare const DATE_TIME_CUSTOM_FIELD_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
58
58
|
export declare const RELATION_CUSTOM_FIELD_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
59
|
+
export declare const STRUCT_CUSTOM_FIELD_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
59
60
|
export declare const ALL_CUSTOM_FIELDS_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
60
61
|
export declare const GET_SERVER_CONFIG: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
61
62
|
export declare const JOB_INFO_FRAGMENT: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
@@ -6,6 +6,23 @@ import { Observable } from 'rxjs';
|
|
|
6
6
|
import { QueryResult } from '../query-result';
|
|
7
7
|
import { ServerConfigService } from '../server-config';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @description
|
|
11
|
+
* Additional options that can be passed to the `query` and `mutate` methods.
|
|
12
|
+
*
|
|
13
|
+
* @since 3.0.4
|
|
14
|
+
*/
|
|
15
|
+
export interface ExtendedQueryOptions {
|
|
16
|
+
/**
|
|
17
|
+
* @description
|
|
18
|
+
* An array of custom field names which should be included in the query or mutation
|
|
19
|
+
* return data. The automatic inclusion of custom fields is only supported for
|
|
20
|
+
* entities which are defined as Fragments in the DocumentNode.
|
|
21
|
+
*
|
|
22
|
+
* @since 3.0.4
|
|
23
|
+
*/
|
|
24
|
+
includeCustomFields?: string[];
|
|
25
|
+
}
|
|
9
26
|
export declare class BaseDataService {
|
|
10
27
|
private apollo;
|
|
11
28
|
private serverConfigService;
|
|
@@ -14,11 +31,11 @@ export declare class BaseDataService {
|
|
|
14
31
|
/**
|
|
15
32
|
* Performs a GraphQL watch query
|
|
16
33
|
*/
|
|
17
|
-
query<T, V extends Record<string, any> = Record<string, any>>(query: DocumentNode | TypedDocumentNode<T, V>, variables?: V, fetchPolicy?: WatchQueryFetchPolicy): QueryResult<T, V>;
|
|
34
|
+
query<T, V extends Record<string, any> = Record<string, any>>(query: DocumentNode | TypedDocumentNode<T, V>, variables?: V, fetchPolicy?: WatchQueryFetchPolicy, options?: ExtendedQueryOptions): QueryResult<T, V>;
|
|
18
35
|
/**
|
|
19
36
|
* Performs a GraphQL mutation
|
|
20
37
|
*/
|
|
21
|
-
mutate<T, V extends Record<string, any> = Record<string, any>>(mutation: DocumentNode | TypedDocumentNode<T, V>, variables?: V, update?: MutationUpdaterFn<T
|
|
38
|
+
mutate<T, V extends Record<string, any> = Record<string, any>>(mutation: DocumentNode | TypedDocumentNode<T, V>, variables?: V, update?: MutationUpdaterFn<T>, options?: ExtendedQueryOptions): Observable<T>;
|
|
22
39
|
private prepareCustomFields;
|
|
23
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDataService, never>;
|
|
24
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseDataService>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Codegen from '../../common/generated-types';
|
|
2
|
-
import { BaseDataService } from './base-data.service';
|
|
2
|
+
import { BaseDataService, ExtendedQueryOptions } from './base-data.service';
|
|
3
3
|
export declare class CollectionDataService {
|
|
4
4
|
private baseDataService;
|
|
5
5
|
constructor(baseDataService: BaseDataService);
|
|
@@ -16,7 +16,7 @@ export declare class CollectionDataService {
|
|
|
16
16
|
input: Codegen.PreviewCollectionVariantsInput;
|
|
17
17
|
options?: Codegen.InputMaybe<Codegen.ProductVariantListOptions> | undefined;
|
|
18
18
|
}>>;
|
|
19
|
-
getCollectionContents(id: string, take?: number, skip?: number, filterTerm?: string): import("@vendure/admin-ui/core").QueryResult<Codegen.GetCollectionContentsQuery, Codegen.Exact<{
|
|
19
|
+
getCollectionContents(id: string, take?: number, skip?: number, filterTerm?: string, options?: ExtendedQueryOptions): import("@vendure/admin-ui/core").QueryResult<Codegen.GetCollectionContentsQuery, Codegen.Exact<{
|
|
20
20
|
id: string;
|
|
21
21
|
options?: Codegen.InputMaybe<Codegen.ProductVariantListOptions> | undefined;
|
|
22
22
|
}>>;
|
|
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import { QueryResult } from '../query-result';
|
|
6
6
|
import { AdministratorDataService } from './administrator-data.service';
|
|
7
7
|
import { AuthDataService } from './auth-data.service';
|
|
8
|
-
import { BaseDataService } from './base-data.service';
|
|
8
|
+
import { BaseDataService, ExtendedQueryOptions } from './base-data.service';
|
|
9
9
|
import { ClientDataService } from './client-data.service';
|
|
10
10
|
import { CollectionDataService } from './collection-data.service';
|
|
11
11
|
import { CustomerDataService } from './customer-data.service';
|
|
@@ -61,7 +61,7 @@ export declare class DataService {
|
|
|
61
61
|
* ).mapSingle(data => data.product);
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
query<T, V extends Record<string, any> = Record<string, any>>(query: DocumentNode | TypedDocumentNode<T, V>, variables?: V, fetchPolicy?: WatchQueryFetchPolicy): QueryResult<T, V>;
|
|
64
|
+
query<T, V extends Record<string, any> = Record<string, any>>(query: DocumentNode | TypedDocumentNode<T, V>, variables?: V, fetchPolicy?: WatchQueryFetchPolicy, options?: ExtendedQueryOptions): QueryResult<T, V>;
|
|
65
65
|
/**
|
|
66
66
|
* @description
|
|
67
67
|
* Perform a GraphQL mutation.
|
|
@@ -79,7 +79,7 @@ export declare class DataService {
|
|
|
79
79
|
* );
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
mutate<T, V extends Record<string, any> = Record<string, any>>(mutation: DocumentNode | TypedDocumentNode<T, V>, variables?: V, update?: MutationUpdaterFn<T
|
|
82
|
+
mutate<T, V extends Record<string, any> = Record<string, any>>(mutation: DocumentNode | TypedDocumentNode<T, V>, variables?: V, update?: MutationUpdaterFn<T>, options?: ExtendedQueryOptions): Observable<T>;
|
|
83
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
84
84
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
85
85
|
}
|
|
@@ -39,6 +39,8 @@ export declare class OrderDataService {
|
|
|
39
39
|
}): import("rxjs").Observable<Codegen.SetCustomerForDraftOrderMutation>;
|
|
40
40
|
setDraftOrderShippingAddress(orderId: string, input: Codegen.CreateAddressInput): import("rxjs").Observable<Codegen.SetDraftOrderShippingAddressMutation>;
|
|
41
41
|
setDraftOrderBillingAddress(orderId: string, input: Codegen.CreateAddressInput): import("rxjs").Observable<Codegen.SetDraftOrderBillingAddressMutation>;
|
|
42
|
+
unsetDraftOrderShippingAddress(orderId: string): import("rxjs").Observable<Codegen.UnsetDraftOrderShippingAddressMutation>;
|
|
43
|
+
unsetDraftOrderBillingAddress(orderId: string): import("rxjs").Observable<Codegen.UnsetDraftOrderBillingAddressMutation>;
|
|
42
44
|
applyCouponCodeToDraftOrder(orderId: string, couponCode: string): import("rxjs").Observable<Codegen.ApplyCouponCodeToDraftOrderMutation>;
|
|
43
45
|
removeCouponCodeFromDraftOrder(orderId: string, couponCode: string): import("rxjs").Observable<Codegen.RemoveCouponCodeFromDraftOrderMutation>;
|
|
44
46
|
getDraftOrderEligibleShippingMethods(orderId: string): import("@vendure/admin-ui/core").QueryResult<Codegen.DraftOrderEligibleShippingMethodsQuery, Codegen.Exact<{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Apollo, QueryRef } from 'apollo-angular';
|
|
2
|
-
import { Observable
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CustomFieldConfig } from '../common/generated-types';
|
|
3
4
|
/**
|
|
4
5
|
* @description
|
|
5
6
|
* This class wraps the Apollo Angular QueryRef object and exposes some getters
|
|
@@ -11,14 +12,49 @@ import { Observable, Subject } from 'rxjs';
|
|
|
11
12
|
export declare class QueryResult<T, V extends Record<string, any> = Record<string, any>> {
|
|
12
13
|
private queryRef;
|
|
13
14
|
private apollo;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
private customFieldMap;
|
|
16
|
+
constructor(queryRef: QueryRef<T, V>, apollo: Apollo, customFieldMap: Map<string, CustomFieldConfig[]>);
|
|
17
|
+
/**
|
|
18
|
+
* Causes any subscriptions to the QueryRef to complete, via the use
|
|
19
|
+
* of the `takeUntil` operator.
|
|
20
|
+
*/
|
|
21
|
+
private completed$;
|
|
22
|
+
/**
|
|
23
|
+
* The subscription to the current QueryRef.valueChanges Observable.
|
|
24
|
+
* This is stored so that it can be unsubscribed from when the QueryRef
|
|
25
|
+
* changes.
|
|
26
|
+
*/
|
|
27
|
+
private valueChangesSubscription;
|
|
28
|
+
/**
|
|
29
|
+
* This Subject is used to emit new values from the QueryRef.valueChanges Observable.
|
|
30
|
+
* We use this rather than directly subscribing to the QueryRef.valueChanges Observable
|
|
31
|
+
* so that we are able to change the QueryRef and re-subscribe when necessary.
|
|
32
|
+
*/
|
|
33
|
+
private valueChangeSubject;
|
|
34
|
+
/**
|
|
35
|
+
* We keep track of the QueryRefs which have been subscribed to so that we can avoid
|
|
36
|
+
* re-subscribing to the same QueryRef multiple times.
|
|
37
|
+
*/
|
|
38
|
+
private queryRefSubscribed;
|
|
39
|
+
/**
|
|
40
|
+
* We store a reference to the last query so that we can compare it with the next query
|
|
41
|
+
* and avoid re-fetching the same query multiple times. This is applicable to the code
|
|
42
|
+
* paths that actually change the query, i.e. refetchOnCustomFieldsChange().
|
|
43
|
+
*/
|
|
44
|
+
private lastQuery;
|
|
17
45
|
/**
|
|
18
46
|
* @description
|
|
19
47
|
* Re-fetch this query whenever the active Channel changes.
|
|
20
48
|
*/
|
|
21
49
|
refetchOnChannelChange(): QueryResult<T, V>;
|
|
50
|
+
/**
|
|
51
|
+
* @description
|
|
52
|
+
* Re-fetch this query whenever the custom fields change, updating the query to include the
|
|
53
|
+
* specified custom fields.
|
|
54
|
+
*
|
|
55
|
+
* @since 3.0.4
|
|
56
|
+
*/
|
|
57
|
+
refetchOnCustomFieldsChange(customFieldsToInclude$: Observable<string[]>): QueryResult<T, V>;
|
|
22
58
|
/**
|
|
23
59
|
* @description
|
|
24
60
|
* Returns an Observable which emits a single result and then completes.
|
|
@@ -40,4 +76,24 @@ export declare class QueryResult<T, V extends Record<string, any> = Record<strin
|
|
|
40
76
|
* Returns a multiple-result Observable after applying the map function.
|
|
41
77
|
*/
|
|
42
78
|
mapStream<R>(mapFn: (item: T) => R): Observable<R>;
|
|
79
|
+
/**
|
|
80
|
+
* @description
|
|
81
|
+
* Signals to the internal Observable subscriptions that they should complete.
|
|
82
|
+
*/
|
|
83
|
+
destroy(): void;
|
|
84
|
+
/**
|
|
85
|
+
* @description
|
|
86
|
+
* Returns an Observable which emits the current value of the QueryRef.valueChanges Observable.
|
|
87
|
+
*
|
|
88
|
+
* We wrap the valueChanges Observable in a new Observable so that we can have a lazy
|
|
89
|
+
* evaluation of the valueChanges Observable. That is, we only fire the HTTP request when
|
|
90
|
+
* the returned Observable is subscribed to.
|
|
91
|
+
*/
|
|
92
|
+
private get currentQueryRefValueChanges();
|
|
93
|
+
/**
|
|
94
|
+
* @description
|
|
95
|
+
* Subscribes to the valueChanges Observable of the given QueryRef, and stores the subscription
|
|
96
|
+
* so that it can be unsubscribed from when the QueryRef changes.
|
|
97
|
+
*/
|
|
98
|
+
private subscribeToQueryRef;
|
|
43
99
|
}
|
|
@@ -4,4 +4,4 @@ import { CustomFieldConfig } from '../../common/generated-types';
|
|
|
4
4
|
* Given a GraphQL AST (DocumentNode), this function looks for fragment definitions and adds and configured
|
|
5
5
|
* custom fields to those fragments.
|
|
6
6
|
*/
|
|
7
|
-
export declare function addCustomFields(documentNode: DocumentNode, customFields: Map<string, CustomFieldConfig[]
|
|
7
|
+
export declare function addCustomFields(documentNode: DocumentNode, customFields: Map<string, CustomFieldConfig[]>, includeCustomFields?: string[]): DocumentNode;
|
|
@@ -127,9 +127,11 @@ export declare class Alert<T> {
|
|
|
127
127
|
activeAlert$: Observable<ActiveAlert | undefined>;
|
|
128
128
|
private hasRun$;
|
|
129
129
|
private data$;
|
|
130
|
+
private readonly subscription;
|
|
130
131
|
constructor(config: AlertConfig<T>, context: AlertContext);
|
|
131
132
|
get id(): string;
|
|
132
133
|
runCheck(): void;
|
|
134
|
+
destroy(): void;
|
|
133
135
|
}
|
|
134
136
|
export declare class AlertsService {
|
|
135
137
|
private permissionsService;
|
|
@@ -144,6 +146,7 @@ export declare class AlertsService {
|
|
|
144
146
|
configureAlert<T>(config: AlertConfig<T>): void;
|
|
145
147
|
hasSufficientPermissions(permissions?: Permission[]): Observable<boolean>;
|
|
146
148
|
refresh(id?: string): void;
|
|
149
|
+
clearAlerts(): void;
|
|
147
150
|
protected createContext(): AlertContext;
|
|
148
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertsService, never>;
|
|
149
152
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlertsService>;
|
|
@@ -4,6 +4,7 @@ import { DataService } from '../../data/providers/data.service';
|
|
|
4
4
|
import { ServerConfigService } from '../../data/server-config';
|
|
5
5
|
import { LocalStorageService } from '../local-storage/local-storage.service';
|
|
6
6
|
import { PermissionsService } from '../permissions/permissions.service';
|
|
7
|
+
import { AlertsService } from '../alerts/alerts.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* This service handles logic relating to authentication of the current user.
|
|
@@ -13,7 +14,8 @@ export declare class AuthService {
|
|
|
13
14
|
private dataService;
|
|
14
15
|
private serverConfigService;
|
|
15
16
|
private permissionsService;
|
|
16
|
-
|
|
17
|
+
private alertService;
|
|
18
|
+
constructor(localStorageService: LocalStorageService, dataService: DataService, serverConfigService: ServerConfigService, permissionsService: PermissionsService, alertService: AlertsService);
|
|
17
19
|
/**
|
|
18
20
|
* Attempts to log in via the REST login endpoint and updates the app
|
|
19
21
|
* state on success.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataTableConfig, LocalStorageService } from '../local-storage/local-storage.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DataTableConfigService {
|
|
4
|
+
private localStorageService;
|
|
5
|
+
constructor(localStorageService: LocalStorageService);
|
|
6
|
+
getConfig(): DataTableConfig;
|
|
7
|
+
getConfig(dataTableId: string): DataTableConfig[string];
|
|
8
|
+
setConfig(dataTableId: string, config: DataTableConfig[string]): void;
|
|
9
|
+
setConfig(dataTableConfig: DataTableConfig): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableConfigService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataTableConfigService>;
|
|
12
|
+
}
|
package/core/public_api.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ export * from './providers/custom-history-entry-component/history-entry-componen
|
|
|
105
105
|
export * from './providers/custom-history-entry-component/history-entry-component.service';
|
|
106
106
|
export * from './providers/dashboard-widget/dashboard-widget-types';
|
|
107
107
|
export * from './providers/dashboard-widget/dashboard-widget.service';
|
|
108
|
+
export * from './providers/data-table/data-table-config.service';
|
|
108
109
|
export * from './providers/data-table/data-table-filter-collection';
|
|
109
110
|
export * from './providers/data-table/data-table-filter';
|
|
110
111
|
export * from './providers/data-table/data-table-sort-collection';
|
|
@@ -288,6 +289,7 @@ export * from './shared/dynamic-form-inputs/relation-form-input/relation-form-in
|
|
|
288
289
|
export * from './shared/dynamic-form-inputs/relation-form-input/relation-selector-dialog/relation-selector-dialog.component';
|
|
289
290
|
export * from './shared/dynamic-form-inputs/rich-text-form-input/rich-text-form-input.component';
|
|
290
291
|
export * from './shared/dynamic-form-inputs/select-form-input/select-form-input.component';
|
|
292
|
+
export * from './shared/dynamic-form-inputs/struct-form-input/struct-form-input.component';
|
|
291
293
|
export * from './shared/dynamic-form-inputs/text-form-input/text-form-input.component';
|
|
292
294
|
export * from './shared/dynamic-form-inputs/textarea-form-input/textarea-form-input.component';
|
|
293
295
|
export * from './shared/pipes/asset-preview.pipe';
|
|
@@ -23,6 +23,7 @@ export declare class AssetsComponent {
|
|
|
23
23
|
change: EventEmitter<AssetChange>;
|
|
24
24
|
assets: Asset[];
|
|
25
25
|
updatePermissions: string | string[] | Permission | Permission[];
|
|
26
|
+
multiSelect: boolean;
|
|
26
27
|
constructor(modalService: ModalService, changeDetector: ChangeDetectorRef);
|
|
27
28
|
selectAssets(): void;
|
|
28
29
|
setAsFeatured(asset: Asset): void;
|
|
@@ -32,5 +33,5 @@ export declare class AssetsComponent {
|
|
|
32
33
|
private emitChangeEvent;
|
|
33
34
|
dropListDropped(event: CdkDragDrop<number>): void;
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsComponent, "vdr-assets", never, { "assetsSetter": { "alias": "assets"; "required": false; }; "featuredAsset": { "alias": "featuredAsset"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "updatePermissions": { "alias": "updatePermissions"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsComponent, "vdr-assets", never, { "assetsSetter": { "alias": "assets"; "required": false; }; "featuredAsset": { "alias": "featuredAsset"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "updatePermissions": { "alias": "updatePermissions"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
|
|
36
37
|
}
|
|
@@ -3,8 +3,8 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
3
3
|
import { Observable, Subject } from 'rxjs';
|
|
4
4
|
import { LanguageCode } from '../../../common/generated-types';
|
|
5
5
|
import { DataService } from '../../../data/providers/data.service';
|
|
6
|
+
import { DataTableConfigService } from '../../../providers/data-table/data-table-config.service';
|
|
6
7
|
import { DataTableFilterCollection } from '../../../providers/data-table/data-table-filter-collection';
|
|
7
|
-
import { DataTableConfig, LocalStorageService } from '../../../providers/local-storage/local-storage.service';
|
|
8
8
|
import { BulkActionMenuComponent } from '../bulk-action-menu/bulk-action-menu.component';
|
|
9
9
|
import { FilterPresetService } from '../data-table-filter-presets/filter-preset.service';
|
|
10
10
|
import { DataTable2ColumnComponent } from './data-table-column.component';
|
|
@@ -76,7 +76,6 @@ import * as i0 from "@angular/core";
|
|
|
76
76
|
*/
|
|
77
77
|
export declare class DataTable2Component<T> implements AfterContentInit, OnChanges, OnDestroy {
|
|
78
78
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
79
|
-
protected localStorageService: LocalStorageService;
|
|
80
79
|
protected dataService: DataService;
|
|
81
80
|
id: DataTableLocationId;
|
|
82
81
|
items: T[];
|
|
@@ -88,6 +87,7 @@ export declare class DataTable2Component<T> implements AfterContentInit, OnChang
|
|
|
88
87
|
activeIndex: number;
|
|
89
88
|
pageChange: EventEmitter<number>;
|
|
90
89
|
itemsPerPageChange: EventEmitter<number>;
|
|
90
|
+
visibleColumnsChange: EventEmitter<DataTable2ColumnComponent<T>[]>;
|
|
91
91
|
columns: QueryList<DataTable2ColumnComponent<T>>;
|
|
92
92
|
customFieldColumns: QueryList<DataTableCustomFieldColumnComponent<T>>;
|
|
93
93
|
searchComponent: DataTable2SearchComponent;
|
|
@@ -98,6 +98,7 @@ export declare class DataTable2Component<T> implements AfterContentInit, OnChang
|
|
|
98
98
|
route: ActivatedRoute;
|
|
99
99
|
filterPresetService: FilterPresetService;
|
|
100
100
|
dataTableCustomComponentService: DataTableCustomComponentService;
|
|
101
|
+
dataTableConfigService: DataTableConfigService;
|
|
101
102
|
protected customComponents: Map<string, {
|
|
102
103
|
config: DataTableComponentConfig;
|
|
103
104
|
injector: Injector;
|
|
@@ -109,7 +110,7 @@ export declare class DataTable2Component<T> implements AfterContentInit, OnChang
|
|
|
109
110
|
showSearchFilterRow: boolean;
|
|
110
111
|
protected uiLanguage$: Observable<LanguageCode>;
|
|
111
112
|
protected destroy$: Subject<void>;
|
|
112
|
-
constructor(changeDetectorRef: ChangeDetectorRef,
|
|
113
|
+
constructor(changeDetectorRef: ChangeDetectorRef, dataService: DataService);
|
|
113
114
|
get selectionManager(): import("@vendure/admin-ui/core").SelectionManager<any>;
|
|
114
115
|
get allColumns(): DataTable2ColumnComponent<T>[];
|
|
115
116
|
get visibleSortedColumns(): DataTable2ColumnComponent<T>[];
|
|
@@ -128,7 +129,6 @@ export declare class DataTable2Component<T> implements AfterContentInit, OnChang
|
|
|
128
129
|
trackByFn(index: number, item: any): any;
|
|
129
130
|
onToggleAllClick(): void;
|
|
130
131
|
onRowClick(item: T, event: MouseEvent): void;
|
|
131
|
-
protected getDataTableConfig(): DataTableConfig;
|
|
132
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTable2Component<any>, never>;
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTable2Component<any>, "vdr-data-table-2", never, { "id": { "alias": "id"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "emptyStateLabel": { "alias": "emptyStateLabel"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; }, ["searchComponent", "bulkActionMenuComponent", "customSearchTemplate", "columns", "customFieldColumns", "templateRefs"], ["vdr-bulk-action-menu"], false, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTable2Component<any>, "vdr-data-table-2", never, { "id": { "alias": "id"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "emptyStateLabel": { "alias": "emptyStateLabel"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; "visibleColumnsChange": "visibleColumnsChange"; }, ["searchComponent", "bulkActionMenuComponent", "customSearchTemplate", "columns", "customFieldColumns", "templateRefs"], ["vdr-bulk-action-menu"], false, never>;
|
|
134
134
|
}
|
package/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare class DataTableFilterPresetsComponent implements OnInit, OnDestro
|
|
|
21
21
|
private destroy$;
|
|
22
22
|
constructor(route: ActivatedRoute, filterPresetService: FilterPresetService, modalService: ModalService, changeDetectorRef: ChangeDetectorRef);
|
|
23
23
|
ngOnInit(): void;
|
|
24
|
+
getQueryParamsForPreset(preset: string, serializedActiveFilters: string): Record<string, string>;
|
|
24
25
|
ngOnDestroy(): void;
|
|
25
26
|
deleteFilterPreset(name: string): void;
|
|
26
27
|
renameFilterPreset(name: string): void;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import {
|
|
2
|
+
import { DataTableConfigService } from '../../../providers/data-table/data-table-config.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FilterPresetService {
|
|
5
|
-
private
|
|
5
|
+
private dataTableConfigService;
|
|
6
6
|
presetChanges$: Observable<Array<{
|
|
7
7
|
name: string;
|
|
8
8
|
value: string;
|
|
9
9
|
}>>;
|
|
10
10
|
private _presetChanges;
|
|
11
|
-
constructor(
|
|
12
|
-
protected getDataTableConfig(dataTableId: string): DataTableConfig;
|
|
11
|
+
constructor(dataTableConfigService: DataTableConfigService);
|
|
13
12
|
getFilterPresets(dataTableId: string): Array<{
|
|
14
13
|
name: string;
|
|
15
14
|
value: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FacetValueFragment } from '../../../common/generated-types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FacetValueChipComponent {
|
|
4
|
+
export declare class FacetValueChipComponent implements OnInit {
|
|
5
5
|
facetValue: FacetValueFragment;
|
|
6
6
|
removable: boolean;
|
|
7
7
|
displayFacetName: boolean;
|
|
8
8
|
remove: EventEmitter<void>;
|
|
9
|
+
formattedTitle: string;
|
|
10
|
+
ngOnInit(): void;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FacetValueChipComponent, never>;
|
|
10
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FacetValueChipComponent, "vdr-facet-value-chip", never, { "facetValue": { "alias": "facetValue"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "displayFacetName": { "alias": "displayFacetName"; "required": false; }; }, { "remove": "remove"; }, never, never, false, never>;
|
|
11
13
|
}
|
package/core/shared/components/product-variant-selector/product-variant-selector.component.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* @example
|
|
11
11
|
* ```HTML
|
|
12
12
|
* <vdr-product-variant-selector
|
|
13
|
-
* (productSelected)="selectResult($event)"></vdr-product-selector>
|
|
13
|
+
* (productSelected)="selectResult($event)"></vdr-product-variant-selector>
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* @docsCategory components
|
|
@@ -1,21 +1,40 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { Asset } from '../../../../common/generated-types';
|
|
4
|
+
import { ModalService } from '../../../../providers/modal/modal.service';
|
|
3
5
|
import { Dialog } from '../../../../providers/modal/modal.types';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export interface ExternalImageAttrs {
|
|
6
8
|
src: string;
|
|
7
9
|
title: string;
|
|
8
10
|
alt: string;
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
dataExternal: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ExternalAssetChange {
|
|
16
|
+
assets: Asset[];
|
|
9
17
|
}
|
|
10
18
|
export declare class ExternalImageDialogComponent implements OnInit, Dialog<ExternalImageAttrs> {
|
|
19
|
+
private modalService;
|
|
20
|
+
private changeDetector;
|
|
11
21
|
form: UntypedFormGroup;
|
|
22
|
+
assets: Asset[];
|
|
23
|
+
change: EventEmitter<ExternalAssetChange>;
|
|
12
24
|
resolveWith: (result?: ExternalImageAttrs) => void;
|
|
13
25
|
previewLoaded: boolean;
|
|
14
26
|
existing?: ExternalImageAttrs;
|
|
27
|
+
sizes: string[];
|
|
28
|
+
preset: string;
|
|
29
|
+
constructor(modalService: ModalService, changeDetector: ChangeDetectorRef);
|
|
15
30
|
ngOnInit(): void;
|
|
16
31
|
select(): void;
|
|
17
32
|
onImageLoad(event: Event): void;
|
|
18
33
|
onImageError(event: Event): void;
|
|
34
|
+
selectAssets(): void;
|
|
35
|
+
private emitChangeEvent;
|
|
36
|
+
onSizeSelect(size: string): void;
|
|
37
|
+
removeImage(): void;
|
|
19
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalImageDialogComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalImageDialogComponent, "vdr-external-image-dialog", never, {}, {}, never, never, false, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalImageDialogComponent, "vdr-external-image-dialog", never, {}, { "change": "change"; }, never, never, false, never>;
|
|
21
40
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { MenuItem } from 'prosemirror-menu';
|
|
2
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
+
import { NodeSpec, NodeType } from 'prosemirror-model';
|
|
3
3
|
import { Plugin } from 'prosemirror-state';
|
|
4
4
|
import { ModalService } from '../../../../../providers/modal/modal.service';
|
|
5
5
|
import { ContextMenuService } from '../context-menu/context-menu.service';
|
|
6
|
+
export declare const imageNode: NodeSpec;
|
|
6
7
|
export declare function insertImageItem(nodeType: NodeType, modalService: ModalService): MenuItem;
|
|
7
8
|
export declare const imageContextMenuPlugin: (contextMenuService: ContextMenuService, modalService: ModalService) => Plugin<any>;
|
|
@@ -10,9 +10,10 @@ import { ProductMultiSelectorFormInputComponent } from './product-multi-selector
|
|
|
10
10
|
import { ProductSelectorFormInputComponent } from './product-selector-form-input/product-selector-form-input.component';
|
|
11
11
|
import { RelationFormInputComponent } from './relation-form-input/relation-form-input.component';
|
|
12
12
|
import { SelectFormInputComponent } from './select-form-input/select-form-input.component';
|
|
13
|
+
import { StructFormInputComponent } from './struct-form-input/struct-form-input.component';
|
|
13
14
|
import { TextFormInputComponent } from './text-form-input/text-form-input.component';
|
|
14
15
|
import { TextareaFormInputComponent } from './textarea-form-input/textarea-form-input.component';
|
|
15
|
-
export declare const defaultFormInputs: (typeof HtmlEditorFormInputComponent | typeof JsonEditorFormInputComponent | typeof CombinationModeFormInputComponent | typeof CurrencyFormInputComponent | typeof CustomerGroupFormInputComponent | typeof DateFormInputComponent | typeof PasswordFormInputComponent | typeof ProductMultiSelectorFormInputComponent | typeof ProductSelectorFormInputComponent | typeof RelationFormInputComponent | typeof SelectFormInputComponent | typeof TextFormInputComponent | typeof TextareaFormInputComponent)[];
|
|
16
|
+
export declare const defaultFormInputs: (typeof HtmlEditorFormInputComponent | typeof JsonEditorFormInputComponent | typeof CombinationModeFormInputComponent | typeof CurrencyFormInputComponent | typeof CustomerGroupFormInputComponent | typeof DateFormInputComponent | typeof PasswordFormInputComponent | typeof ProductMultiSelectorFormInputComponent | typeof ProductSelectorFormInputComponent | typeof RelationFormInputComponent | typeof SelectFormInputComponent | typeof StructFormInputComponent | typeof TextFormInputComponent | typeof TextareaFormInputComponent)[];
|
|
16
17
|
/**
|
|
17
18
|
* Registers the default form input components.
|
|
18
19
|
*/
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup, UntypedFormControl } 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 { LanguageCode, StructCustomFieldFragment } from '../../../common/generated-types';
|
|
7
|
+
import { DataService } from '../../../data/providers/data.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @description
|
|
11
|
+
* A checkbox input. The default input component for `boolean` fields.
|
|
12
|
+
*
|
|
13
|
+
* @docsCategory custom-input-components
|
|
14
|
+
* @docsPage default-inputs
|
|
15
|
+
*/
|
|
16
|
+
export declare class StructFormInputComponent implements FormInputComponent, OnInit, OnDestroy {
|
|
17
|
+
private dataService;
|
|
18
|
+
static readonly id: DefaultFormComponentId;
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
formControl: UntypedFormControl;
|
|
21
|
+
config: DefaultFormComponentConfig<'struct-form-input'>;
|
|
22
|
+
uiLanguage$: Observable<LanguageCode>;
|
|
23
|
+
protected structFormGroup: FormGroup<{}>;
|
|
24
|
+
protected fields: Array<{
|
|
25
|
+
def: StructCustomFieldFragment['fields'][number];
|
|
26
|
+
formControl: FormControl;
|
|
27
|
+
}>;
|
|
28
|
+
private subscription;
|
|
29
|
+
constructor(dataService: DataService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StructFormInputComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StructFormInputComponent, "vdr-struct-form-input", never, {}, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -151,18 +151,19 @@ import * as i146 from "./dynamic-form-inputs/code-editor-form-input/json-editor-
|
|
|
151
151
|
import * as i147 from "./dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component";
|
|
152
152
|
import * as i148 from "./dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component";
|
|
153
153
|
import * as i149 from "./dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component";
|
|
154
|
-
import * as i150 from "
|
|
155
|
-
import * as i151 from "@angular
|
|
156
|
-
import * as i152 from "@angular/
|
|
157
|
-
import * as i153 from "@angular/
|
|
158
|
-
import * as i154 from "@
|
|
159
|
-
import * as i155 from "
|
|
160
|
-
import * as i156 from "
|
|
161
|
-
import * as i157 from "@
|
|
162
|
-
import * as i158 from "@angular/cdk/
|
|
163
|
-
import * as i159 from "@angular/cdk/
|
|
154
|
+
import * as i150 from "./dynamic-form-inputs/struct-form-input/struct-form-input.component";
|
|
155
|
+
import * as i151 from "@clr/angular";
|
|
156
|
+
import * as i152 from "@angular/common";
|
|
157
|
+
import * as i153 from "@angular/forms";
|
|
158
|
+
import * as i154 from "@angular/router";
|
|
159
|
+
import * as i155 from "@ng-select/ng-select";
|
|
160
|
+
import * as i156 from "ngx-pagination";
|
|
161
|
+
import * as i157 from "@ngx-translate/core";
|
|
162
|
+
import * as i158 from "@angular/cdk/overlay";
|
|
163
|
+
import * as i159 from "@angular/cdk/drag-drop";
|
|
164
|
+
import * as i160 from "@angular/cdk/a11y";
|
|
164
165
|
export declare class SharedModule {
|
|
165
166
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
166
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.ActionBarDropdownMenuComponent, typeof i3.AssetsComponent, typeof i4.AssetPreviewComponent, typeof i5.AssetPreviewDialogComponent, typeof i6.AssetSearchInputComponent, typeof i7.ConfigurableInputComponent, typeof i8.AffixedInputComponent, typeof i9.ChipComponent, typeof i10.CurrencyInputComponent, typeof i11.LocaleCurrencyNamePipe, typeof i12.CustomerLabelComponent, typeof i13.CustomFieldControlComponent, typeof i14.DataTableComponent, typeof i15.DataTableColumnComponent, typeof i16.FacetValueSelectorComponent, typeof i17.ItemsPerPageControlsComponent, typeof i18.PaginationControlsComponent, typeof i19.TableRowActionComponent, typeof i20.FacetValueChipComponent, typeof i21.FileSizePipe, typeof i22.FormFieldComponent, typeof i23.FormFieldControlDirective, typeof i24.FormItemComponent, typeof i25.ModalDialogComponent, typeof i26.PercentageSuffixInputComponent, typeof i27.DialogComponentOutletComponent, typeof i28.DialogButtonsDirective, typeof i29.DialogTitleDirective, typeof i30.SelectToggleComponent, typeof i31.LanguageSelectorComponent, typeof i32.RichTextEditorComponent, typeof i33.SimpleDialogComponent, typeof i34.TitleInputComponent, typeof i35.SentenceCasePipe, typeof i36.DropdownComponent, typeof i37.DropdownMenuComponent, typeof i38.SortPipe, typeof i39.DropdownTriggerDirective, typeof i40.DropdownItemDirective, typeof i41.OrderStateLabelComponent, typeof i42.FormattedAddressComponent, typeof i43.LabeledDataComponent, typeof i44.StringToColorPipe, typeof i45.ObjectTreeComponent, typeof i46.IfPermissionsDirective, typeof i47.IfMultichannelDirective, typeof i48.HasPermissionPipe, typeof i49.ActionBarItemsComponent, typeof i50.DisabledDirective, typeof i51.AssetFileInputComponent, typeof i52.AssetGalleryComponent, typeof i53.AssetPickerDialogComponent, typeof i54.EntityInfoComponent, typeof i55.DatetimePickerComponent, typeof i56.ChannelBadgeComponent, typeof i57.ChannelAssignmentControlComponent, typeof i58.ChannelLabelPipe, typeof i59.IfDefaultChannelActiveDirective, typeof i60.CustomFieldLabelPipe, typeof i61.CustomFieldDescriptionPipe, typeof i62.FocalPointControlComponent, typeof i63.AssetPreviewPipe, typeof i64.LinkDialogComponent, typeof i65.ExternalImageDialogComponent, typeof i66.TimeAgoPipe, typeof i67.DurationPipe, typeof i68.EmptyPlaceholderComponent, typeof i69.TimelineEntryComponent, typeof i70.HistoryEntryDetailComponent, typeof i71.EditNoteDialogComponent, typeof i72.ProductSelectorFormInputComponent, typeof i73.StateI18nTokenPipe, typeof i74.ProductVariantSelectorComponent, typeof i75.HelpTooltipComponent, typeof i76.CustomerGroupFormInputComponent, typeof i77.AddressFormComponent, typeof i78.LocaleDatePipe, typeof i79.LocaleCurrencyPipe, typeof i80.LocaleLanguageNamePipe, typeof i81.LocaleRegionNamePipe, typeof i82.TagSelectorComponent, typeof i83.ManageTagsDialogComponent, typeof i84.RelationSelectorDialogComponent, typeof i85.RelationCardComponent, typeof i86.StatusBadgeComponent, typeof i87.TabbedCustomFieldsComponent, typeof i88.UiExtensionPointComponent, typeof i89.CustomDetailComponentHostComponent, typeof i90.AssetPreviewLinksComponent, typeof i91.ProductMultiSelectorDialogComponent, typeof i92.ProductSearchInputComponent, typeof i93.ContextMenuComponent, typeof i94.RawHtmlDialogComponent, typeof i95.BulkActionMenuComponent, typeof i96.RadioCardComponent, typeof i97.RadioCardFieldsetComponent, typeof i98.DataTable2Component, typeof i99.DataTable2ColumnComponent, typeof i100.DataTableFiltersComponent, typeof i101.DataTableFilterLabelComponent, typeof i102.DataTableColumnPickerComponent, typeof i103.DataTable2SearchComponent, typeof i104.DataTableCustomFieldColumnComponent, typeof i105.SplitViewComponent, typeof i106.SplitViewLeftDirective, typeof i106.SplitViewRightDirective, typeof i107.PageComponent, typeof i108.CustomFilterComponentDirective, typeof i109.PageHeaderComponent, typeof i110.PageTitleComponent, typeof i111.PageHeaderDescriptionComponent, typeof i112.PageHeaderTabsComponent, typeof i113.PageBodyComponent, typeof i114.PageBlockComponent, typeof i115.PageEntityInfoComponent, typeof i116.LocalizedTextComponent, typeof i117.PageDetailLayoutComponent, typeof i118.PageDetailSidebarComponent, typeof i119.CardComponent, typeof i119.CardControlsDirective, typeof i120.ZoneSelectorComponent, typeof i121.ChartComponent, typeof i122.AssignToChannelDialogComponent, typeof i123.CurrencyCodeSelectorComponent, typeof i124.LanguageCodeSelectorComponent, typeof i125.DataTableFilterPresetsComponent, typeof i126.AddFilterPresetButtonComponent, typeof i127.RenameFilterPresetDialogComponent, typeof i128.DuplicateEntityDialogComponent, typeof i129.TextFormInputComponent, typeof i130.PasswordFormInputComponent, typeof i131.NumberFormInputComponent, typeof i132.DateFormInputComponent, typeof i133.CurrencyFormInputComponent, typeof i134.BooleanFormInputComponent, typeof i135.SelectFormInputComponent, typeof i136.FacetValueFormInputComponent, typeof i137.DynamicFormInputComponent, typeof i138.RelationFormInputComponent, typeof i139.RelationAssetInputComponent, typeof i140.RelationProductInputComponent, typeof i141.RelationProductVariantInputComponent, typeof i142.RelationCustomerInputComponent, typeof i85.RelationCardPreviewDirective, typeof i85.RelationCardDetailDirective, typeof i84.RelationSelectorDialogComponent, typeof i143.RelationGenericInputComponent, typeof i144.TextareaFormInputComponent, typeof i145.RichTextFormInputComponent, typeof i146.JsonEditorFormInputComponent, typeof i147.HtmlEditorFormInputComponent, typeof i148.ProductMultiSelectorFormInputComponent, typeof i149.CombinationModeFormInputComponent], [typeof i150.ClarityModule, typeof i151.CommonModule, typeof i152.FormsModule, typeof i152.ReactiveFormsModule, typeof i153.RouterModule, typeof i154.NgSelectModule, typeof i155.NgxPaginationModule, typeof i156.TranslateModule, typeof i157.OverlayModule, typeof i158.DragDropModule, typeof i159.A11yModule], [typeof i150.ClarityModule, typeof i151.CommonModule, typeof i152.FormsModule, typeof i152.ReactiveFormsModule, typeof i153.RouterModule, typeof i154.NgSelectModule, typeof i155.NgxPaginationModule, typeof i156.TranslateModule, typeof i157.OverlayModule, typeof i158.DragDropModule, typeof i159.A11yModule, typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.ActionBarDropdownMenuComponent, typeof i3.AssetsComponent, typeof i4.AssetPreviewComponent, typeof i5.AssetPreviewDialogComponent, typeof i6.AssetSearchInputComponent, typeof i7.ConfigurableInputComponent, typeof i8.AffixedInputComponent, typeof i9.ChipComponent, typeof i10.CurrencyInputComponent, typeof i11.LocaleCurrencyNamePipe, typeof i12.CustomerLabelComponent, typeof i13.CustomFieldControlComponent, typeof i14.DataTableComponent, typeof i15.DataTableColumnComponent, typeof i16.FacetValueSelectorComponent, typeof i17.ItemsPerPageControlsComponent, typeof i18.PaginationControlsComponent, typeof i19.TableRowActionComponent, typeof i20.FacetValueChipComponent, typeof i21.FileSizePipe, typeof i22.FormFieldComponent, typeof i23.FormFieldControlDirective, typeof i24.FormItemComponent, typeof i25.ModalDialogComponent, typeof i26.PercentageSuffixInputComponent, typeof i27.DialogComponentOutletComponent, typeof i28.DialogButtonsDirective, typeof i29.DialogTitleDirective, typeof i30.SelectToggleComponent, typeof i31.LanguageSelectorComponent, typeof i32.RichTextEditorComponent, typeof i33.SimpleDialogComponent, typeof i34.TitleInputComponent, typeof i35.SentenceCasePipe, typeof i36.DropdownComponent, typeof i37.DropdownMenuComponent, typeof i38.SortPipe, typeof i39.DropdownTriggerDirective, typeof i40.DropdownItemDirective, typeof i41.OrderStateLabelComponent, typeof i42.FormattedAddressComponent, typeof i43.LabeledDataComponent, typeof i44.StringToColorPipe, typeof i45.ObjectTreeComponent, typeof i46.IfPermissionsDirective, typeof i47.IfMultichannelDirective, typeof i48.HasPermissionPipe, typeof i49.ActionBarItemsComponent, typeof i50.DisabledDirective, typeof i51.AssetFileInputComponent, typeof i52.AssetGalleryComponent, typeof i53.AssetPickerDialogComponent, typeof i54.EntityInfoComponent, typeof i55.DatetimePickerComponent, typeof i56.ChannelBadgeComponent, typeof i57.ChannelAssignmentControlComponent, typeof i58.ChannelLabelPipe, typeof i59.IfDefaultChannelActiveDirective, typeof i60.CustomFieldLabelPipe, typeof i61.CustomFieldDescriptionPipe, typeof i62.FocalPointControlComponent, typeof i63.AssetPreviewPipe, typeof i64.LinkDialogComponent, typeof i65.ExternalImageDialogComponent, typeof i66.TimeAgoPipe, typeof i67.DurationPipe, typeof i68.EmptyPlaceholderComponent, typeof i69.TimelineEntryComponent, typeof i70.HistoryEntryDetailComponent, typeof i71.EditNoteDialogComponent, typeof i72.ProductSelectorFormInputComponent, typeof i73.StateI18nTokenPipe, typeof i74.ProductVariantSelectorComponent, typeof i75.HelpTooltipComponent, typeof i76.CustomerGroupFormInputComponent, typeof i77.AddressFormComponent, typeof i78.LocaleDatePipe, typeof i79.LocaleCurrencyPipe, typeof i80.LocaleLanguageNamePipe, typeof i81.LocaleRegionNamePipe, typeof i82.TagSelectorComponent, typeof i83.ManageTagsDialogComponent, typeof i84.RelationSelectorDialogComponent, typeof i85.RelationCardComponent, typeof i86.StatusBadgeComponent, typeof i87.TabbedCustomFieldsComponent, typeof i88.UiExtensionPointComponent, typeof i89.CustomDetailComponentHostComponent, typeof i90.AssetPreviewLinksComponent, typeof i91.ProductMultiSelectorDialogComponent, typeof i92.ProductSearchInputComponent, typeof i93.ContextMenuComponent, typeof i94.RawHtmlDialogComponent, typeof i95.BulkActionMenuComponent, typeof i96.RadioCardComponent, typeof i97.RadioCardFieldsetComponent, typeof i98.DataTable2Component, typeof i99.DataTable2ColumnComponent, typeof i100.DataTableFiltersComponent, typeof i101.DataTableFilterLabelComponent, typeof i102.DataTableColumnPickerComponent, typeof i103.DataTable2SearchComponent, typeof i104.DataTableCustomFieldColumnComponent, typeof i105.SplitViewComponent, typeof i106.SplitViewLeftDirective, typeof i106.SplitViewRightDirective, typeof i107.PageComponent, typeof i108.CustomFilterComponentDirective, typeof i109.PageHeaderComponent, typeof i110.PageTitleComponent, typeof i111.PageHeaderDescriptionComponent, typeof i112.PageHeaderTabsComponent, typeof i113.PageBodyComponent, typeof i114.PageBlockComponent, typeof i115.PageEntityInfoComponent, typeof i116.LocalizedTextComponent, typeof i117.PageDetailLayoutComponent, typeof i118.PageDetailSidebarComponent, typeof i119.CardComponent, typeof i119.CardControlsDirective, typeof i120.ZoneSelectorComponent, typeof i121.ChartComponent, typeof i122.AssignToChannelDialogComponent, typeof i123.CurrencyCodeSelectorComponent, typeof i124.LanguageCodeSelectorComponent, typeof i125.DataTableFilterPresetsComponent, typeof i126.AddFilterPresetButtonComponent, typeof i127.RenameFilterPresetDialogComponent, typeof i128.DuplicateEntityDialogComponent, typeof i129.TextFormInputComponent, typeof i130.PasswordFormInputComponent, typeof i131.NumberFormInputComponent, typeof i132.DateFormInputComponent, typeof i133.CurrencyFormInputComponent, typeof i134.BooleanFormInputComponent, typeof i135.SelectFormInputComponent, typeof i136.FacetValueFormInputComponent, typeof i137.DynamicFormInputComponent, typeof i138.RelationFormInputComponent, typeof i139.RelationAssetInputComponent, typeof i140.RelationProductInputComponent, typeof i141.RelationProductVariantInputComponent, typeof i142.RelationCustomerInputComponent, typeof i85.RelationCardPreviewDirective, typeof i85.RelationCardDetailDirective, typeof i84.RelationSelectorDialogComponent, typeof i143.RelationGenericInputComponent, typeof i144.TextareaFormInputComponent, typeof i145.RichTextFormInputComponent, typeof i146.JsonEditorFormInputComponent, typeof i147.HtmlEditorFormInputComponent, typeof i148.ProductMultiSelectorFormInputComponent, typeof i149.CombinationModeFormInputComponent]>;
|
|
167
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.ActionBarDropdownMenuComponent, typeof i3.AssetsComponent, typeof i4.AssetPreviewComponent, typeof i5.AssetPreviewDialogComponent, typeof i6.AssetSearchInputComponent, typeof i7.ConfigurableInputComponent, typeof i8.AffixedInputComponent, typeof i9.ChipComponent, typeof i10.CurrencyInputComponent, typeof i11.LocaleCurrencyNamePipe, typeof i12.CustomerLabelComponent, typeof i13.CustomFieldControlComponent, typeof i14.DataTableComponent, typeof i15.DataTableColumnComponent, typeof i16.FacetValueSelectorComponent, typeof i17.ItemsPerPageControlsComponent, typeof i18.PaginationControlsComponent, typeof i19.TableRowActionComponent, typeof i20.FacetValueChipComponent, typeof i21.FileSizePipe, typeof i22.FormFieldComponent, typeof i23.FormFieldControlDirective, typeof i24.FormItemComponent, typeof i25.ModalDialogComponent, typeof i26.PercentageSuffixInputComponent, typeof i27.DialogComponentOutletComponent, typeof i28.DialogButtonsDirective, typeof i29.DialogTitleDirective, typeof i30.SelectToggleComponent, typeof i31.LanguageSelectorComponent, typeof i32.RichTextEditorComponent, typeof i33.SimpleDialogComponent, typeof i34.TitleInputComponent, typeof i35.SentenceCasePipe, typeof i36.DropdownComponent, typeof i37.DropdownMenuComponent, typeof i38.SortPipe, typeof i39.DropdownTriggerDirective, typeof i40.DropdownItemDirective, typeof i41.OrderStateLabelComponent, typeof i42.FormattedAddressComponent, typeof i43.LabeledDataComponent, typeof i44.StringToColorPipe, typeof i45.ObjectTreeComponent, typeof i46.IfPermissionsDirective, typeof i47.IfMultichannelDirective, typeof i48.HasPermissionPipe, typeof i49.ActionBarItemsComponent, typeof i50.DisabledDirective, typeof i51.AssetFileInputComponent, typeof i52.AssetGalleryComponent, typeof i53.AssetPickerDialogComponent, typeof i54.EntityInfoComponent, typeof i55.DatetimePickerComponent, typeof i56.ChannelBadgeComponent, typeof i57.ChannelAssignmentControlComponent, typeof i58.ChannelLabelPipe, typeof i59.IfDefaultChannelActiveDirective, typeof i60.CustomFieldLabelPipe, typeof i61.CustomFieldDescriptionPipe, typeof i62.FocalPointControlComponent, typeof i63.AssetPreviewPipe, typeof i64.LinkDialogComponent, typeof i65.ExternalImageDialogComponent, typeof i66.TimeAgoPipe, typeof i67.DurationPipe, typeof i68.EmptyPlaceholderComponent, typeof i69.TimelineEntryComponent, typeof i70.HistoryEntryDetailComponent, typeof i71.EditNoteDialogComponent, typeof i72.ProductSelectorFormInputComponent, typeof i73.StateI18nTokenPipe, typeof i74.ProductVariantSelectorComponent, typeof i75.HelpTooltipComponent, typeof i76.CustomerGroupFormInputComponent, typeof i77.AddressFormComponent, typeof i78.LocaleDatePipe, typeof i79.LocaleCurrencyPipe, typeof i80.LocaleLanguageNamePipe, typeof i81.LocaleRegionNamePipe, typeof i82.TagSelectorComponent, typeof i83.ManageTagsDialogComponent, typeof i84.RelationSelectorDialogComponent, typeof i85.RelationCardComponent, typeof i86.StatusBadgeComponent, typeof i87.TabbedCustomFieldsComponent, typeof i88.UiExtensionPointComponent, typeof i89.CustomDetailComponentHostComponent, typeof i90.AssetPreviewLinksComponent, typeof i91.ProductMultiSelectorDialogComponent, typeof i92.ProductSearchInputComponent, typeof i93.ContextMenuComponent, typeof i94.RawHtmlDialogComponent, typeof i95.BulkActionMenuComponent, typeof i96.RadioCardComponent, typeof i97.RadioCardFieldsetComponent, typeof i98.DataTable2Component, typeof i99.DataTable2ColumnComponent, typeof i100.DataTableFiltersComponent, typeof i101.DataTableFilterLabelComponent, typeof i102.DataTableColumnPickerComponent, typeof i103.DataTable2SearchComponent, typeof i104.DataTableCustomFieldColumnComponent, typeof i105.SplitViewComponent, typeof i106.SplitViewLeftDirective, typeof i106.SplitViewRightDirective, typeof i107.PageComponent, typeof i108.CustomFilterComponentDirective, typeof i109.PageHeaderComponent, typeof i110.PageTitleComponent, typeof i111.PageHeaderDescriptionComponent, typeof i112.PageHeaderTabsComponent, typeof i113.PageBodyComponent, typeof i114.PageBlockComponent, typeof i115.PageEntityInfoComponent, typeof i116.LocalizedTextComponent, typeof i117.PageDetailLayoutComponent, typeof i118.PageDetailSidebarComponent, typeof i119.CardComponent, typeof i119.CardControlsDirective, typeof i120.ZoneSelectorComponent, typeof i121.ChartComponent, typeof i122.AssignToChannelDialogComponent, typeof i123.CurrencyCodeSelectorComponent, typeof i124.LanguageCodeSelectorComponent, typeof i125.DataTableFilterPresetsComponent, typeof i126.AddFilterPresetButtonComponent, typeof i127.RenameFilterPresetDialogComponent, typeof i128.DuplicateEntityDialogComponent, typeof i129.TextFormInputComponent, typeof i130.PasswordFormInputComponent, typeof i131.NumberFormInputComponent, typeof i132.DateFormInputComponent, typeof i133.CurrencyFormInputComponent, typeof i134.BooleanFormInputComponent, typeof i135.SelectFormInputComponent, typeof i136.FacetValueFormInputComponent, typeof i137.DynamicFormInputComponent, typeof i138.RelationFormInputComponent, typeof i139.RelationAssetInputComponent, typeof i140.RelationProductInputComponent, typeof i141.RelationProductVariantInputComponent, typeof i142.RelationCustomerInputComponent, typeof i85.RelationCardPreviewDirective, typeof i85.RelationCardDetailDirective, typeof i84.RelationSelectorDialogComponent, typeof i143.RelationGenericInputComponent, typeof i144.TextareaFormInputComponent, typeof i145.RichTextFormInputComponent, typeof i146.JsonEditorFormInputComponent, typeof i147.HtmlEditorFormInputComponent, typeof i148.ProductMultiSelectorFormInputComponent, typeof i149.CombinationModeFormInputComponent, typeof i150.StructFormInputComponent], [typeof i151.ClarityModule, typeof i152.CommonModule, typeof i153.FormsModule, typeof i153.ReactiveFormsModule, typeof i154.RouterModule, typeof i155.NgSelectModule, typeof i156.NgxPaginationModule, typeof i157.TranslateModule, typeof i158.OverlayModule, typeof i159.DragDropModule, typeof i160.A11yModule], [typeof i151.ClarityModule, typeof i152.CommonModule, typeof i153.FormsModule, typeof i153.ReactiveFormsModule, typeof i154.RouterModule, typeof i155.NgSelectModule, typeof i156.NgxPaginationModule, typeof i157.TranslateModule, typeof i158.OverlayModule, typeof i159.DragDropModule, typeof i160.A11yModule, typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.ActionBarDropdownMenuComponent, typeof i3.AssetsComponent, typeof i4.AssetPreviewComponent, typeof i5.AssetPreviewDialogComponent, typeof i6.AssetSearchInputComponent, typeof i7.ConfigurableInputComponent, typeof i8.AffixedInputComponent, typeof i9.ChipComponent, typeof i10.CurrencyInputComponent, typeof i11.LocaleCurrencyNamePipe, typeof i12.CustomerLabelComponent, typeof i13.CustomFieldControlComponent, typeof i14.DataTableComponent, typeof i15.DataTableColumnComponent, typeof i16.FacetValueSelectorComponent, typeof i17.ItemsPerPageControlsComponent, typeof i18.PaginationControlsComponent, typeof i19.TableRowActionComponent, typeof i20.FacetValueChipComponent, typeof i21.FileSizePipe, typeof i22.FormFieldComponent, typeof i23.FormFieldControlDirective, typeof i24.FormItemComponent, typeof i25.ModalDialogComponent, typeof i26.PercentageSuffixInputComponent, typeof i27.DialogComponentOutletComponent, typeof i28.DialogButtonsDirective, typeof i29.DialogTitleDirective, typeof i30.SelectToggleComponent, typeof i31.LanguageSelectorComponent, typeof i32.RichTextEditorComponent, typeof i33.SimpleDialogComponent, typeof i34.TitleInputComponent, typeof i35.SentenceCasePipe, typeof i36.DropdownComponent, typeof i37.DropdownMenuComponent, typeof i38.SortPipe, typeof i39.DropdownTriggerDirective, typeof i40.DropdownItemDirective, typeof i41.OrderStateLabelComponent, typeof i42.FormattedAddressComponent, typeof i43.LabeledDataComponent, typeof i44.StringToColorPipe, typeof i45.ObjectTreeComponent, typeof i46.IfPermissionsDirective, typeof i47.IfMultichannelDirective, typeof i48.HasPermissionPipe, typeof i49.ActionBarItemsComponent, typeof i50.DisabledDirective, typeof i51.AssetFileInputComponent, typeof i52.AssetGalleryComponent, typeof i53.AssetPickerDialogComponent, typeof i54.EntityInfoComponent, typeof i55.DatetimePickerComponent, typeof i56.ChannelBadgeComponent, typeof i57.ChannelAssignmentControlComponent, typeof i58.ChannelLabelPipe, typeof i59.IfDefaultChannelActiveDirective, typeof i60.CustomFieldLabelPipe, typeof i61.CustomFieldDescriptionPipe, typeof i62.FocalPointControlComponent, typeof i63.AssetPreviewPipe, typeof i64.LinkDialogComponent, typeof i65.ExternalImageDialogComponent, typeof i66.TimeAgoPipe, typeof i67.DurationPipe, typeof i68.EmptyPlaceholderComponent, typeof i69.TimelineEntryComponent, typeof i70.HistoryEntryDetailComponent, typeof i71.EditNoteDialogComponent, typeof i72.ProductSelectorFormInputComponent, typeof i73.StateI18nTokenPipe, typeof i74.ProductVariantSelectorComponent, typeof i75.HelpTooltipComponent, typeof i76.CustomerGroupFormInputComponent, typeof i77.AddressFormComponent, typeof i78.LocaleDatePipe, typeof i79.LocaleCurrencyPipe, typeof i80.LocaleLanguageNamePipe, typeof i81.LocaleRegionNamePipe, typeof i82.TagSelectorComponent, typeof i83.ManageTagsDialogComponent, typeof i84.RelationSelectorDialogComponent, typeof i85.RelationCardComponent, typeof i86.StatusBadgeComponent, typeof i87.TabbedCustomFieldsComponent, typeof i88.UiExtensionPointComponent, typeof i89.CustomDetailComponentHostComponent, typeof i90.AssetPreviewLinksComponent, typeof i91.ProductMultiSelectorDialogComponent, typeof i92.ProductSearchInputComponent, typeof i93.ContextMenuComponent, typeof i94.RawHtmlDialogComponent, typeof i95.BulkActionMenuComponent, typeof i96.RadioCardComponent, typeof i97.RadioCardFieldsetComponent, typeof i98.DataTable2Component, typeof i99.DataTable2ColumnComponent, typeof i100.DataTableFiltersComponent, typeof i101.DataTableFilterLabelComponent, typeof i102.DataTableColumnPickerComponent, typeof i103.DataTable2SearchComponent, typeof i104.DataTableCustomFieldColumnComponent, typeof i105.SplitViewComponent, typeof i106.SplitViewLeftDirective, typeof i106.SplitViewRightDirective, typeof i107.PageComponent, typeof i108.CustomFilterComponentDirective, typeof i109.PageHeaderComponent, typeof i110.PageTitleComponent, typeof i111.PageHeaderDescriptionComponent, typeof i112.PageHeaderTabsComponent, typeof i113.PageBodyComponent, typeof i114.PageBlockComponent, typeof i115.PageEntityInfoComponent, typeof i116.LocalizedTextComponent, typeof i117.PageDetailLayoutComponent, typeof i118.PageDetailSidebarComponent, typeof i119.CardComponent, typeof i119.CardControlsDirective, typeof i120.ZoneSelectorComponent, typeof i121.ChartComponent, typeof i122.AssignToChannelDialogComponent, typeof i123.CurrencyCodeSelectorComponent, typeof i124.LanguageCodeSelectorComponent, typeof i125.DataTableFilterPresetsComponent, typeof i126.AddFilterPresetButtonComponent, typeof i127.RenameFilterPresetDialogComponent, typeof i128.DuplicateEntityDialogComponent, typeof i129.TextFormInputComponent, typeof i130.PasswordFormInputComponent, typeof i131.NumberFormInputComponent, typeof i132.DateFormInputComponent, typeof i133.CurrencyFormInputComponent, typeof i134.BooleanFormInputComponent, typeof i135.SelectFormInputComponent, typeof i136.FacetValueFormInputComponent, typeof i137.DynamicFormInputComponent, typeof i138.RelationFormInputComponent, typeof i139.RelationAssetInputComponent, typeof i140.RelationProductInputComponent, typeof i141.RelationProductVariantInputComponent, typeof i142.RelationCustomerInputComponent, typeof i85.RelationCardPreviewDirective, typeof i85.RelationCardDetailDirective, typeof i84.RelationSelectorDialogComponent, typeof i143.RelationGenericInputComponent, typeof i144.TextareaFormInputComponent, typeof i145.RichTextFormInputComponent, typeof i146.JsonEditorFormInputComponent, typeof i147.HtmlEditorFormInputComponent, typeof i148.ProductMultiSelectorFormInputComponent, typeof i149.CombinationModeFormInputComponent, typeof i150.StructFormInputComponent]>;
|
|
167
168
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
168
169
|
}
|