@vendure/admin-ui 2.1.0-next.4 → 2.1.0-next.6

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.
Files changed (164) hide show
  1. package/catalog/catalog.module.d.ts +3 -5
  2. package/catalog/components/facet-detail/facet-detail.component.d.ts +32 -21
  3. package/catalog/components/product-list/product-list.component.d.ts +1 -1
  4. package/catalog/components/product-variant-list/product-variant-list-bulk-actions.d.ts +1 -2
  5. package/catalog/components/product-variant-list/product-variant-list.component.d.ts +1 -1
  6. package/catalog/providers/product-detail/product-detail.service.d.ts +1 -1
  7. package/catalog/public_api.d.ts +0 -3
  8. package/core/common/base-detail.component.d.ts +2 -2
  9. package/core/common/base-entity-resolver.d.ts +1 -1
  10. package/core/common/generated-types.d.ts +142 -125
  11. package/core/common/version.d.ts +1 -1
  12. package/core/components/base-nav/base-nav.component.d.ts +4 -2
  13. package/core/data/providers/data.service.d.ts +3 -3
  14. package/core/data/query-result.d.ts +1 -1
  15. package/core/extension/add-action-bar-item.d.ts +8 -15
  16. package/core/extension/add-nav-menu-item.d.ts +15 -23
  17. package/core/extension/register-bulk-action.d.ts +24 -28
  18. package/core/extension/register-custom-detail-component.d.ts +45 -0
  19. package/core/extension/register-data-table-component.d.ts +3 -2
  20. package/core/extension/register-form-input-component.d.ts +14 -13
  21. package/core/extension/register-history-entry-component.d.ts +55 -0
  22. package/core/extension/register-page-tab.d.ts +23 -0
  23. package/core/extension/register-route-component.d.ts +48 -2
  24. package/core/providers/bulk-action-registry/bulk-action-types.d.ts +2 -2
  25. package/core/providers/modal/modal.service.d.ts +1 -1
  26. package/core/providers/modal/modal.types.d.ts +3 -3
  27. package/core/providers/nav-builder/nav-builder-types.d.ts +29 -4
  28. package/core/providers/nav-builder/nav-builder.service.d.ts +3 -2
  29. package/core/providers/notification/notification.service.d.ts +4 -4
  30. package/core/providers/page/page.service.d.ts +1 -23
  31. package/core/public_api.d.ts +1 -0
  32. package/core/shared/components/action-bar-items/action-bar-items.component.d.ts +8 -3
  33. package/core/shared/components/asset-gallery/asset-gallery.component.d.ts +2 -1
  34. package/core/shared/components/asset-picker-dialog/asset-picker-dialog.component.d.ts +1 -1
  35. package/core/shared/components/asset-preview/asset-preview.component.d.ts +9 -1
  36. package/core/shared/components/asset-preview-dialog/asset-preview-dialog.component.d.ts +2 -0
  37. package/core/shared/components/data-table-2/data-table2.component.d.ts +1 -1
  38. package/core/shared/components/extension-host/host-external-frame.d.ts +1 -1
  39. package/core/shared/components/facet-value-selector/facet-value-selector.component.d.ts +1 -1
  40. package/core/shared/pipes/duration.pipe.d.ts +1 -1
  41. package/core/shared/pipes/file-size.pipe.d.ts +1 -1
  42. package/esm2022/catalog/catalog.module.mjs +30 -39
  43. package/esm2022/catalog/catalog.routes.mjs +15 -26
  44. package/esm2022/catalog/components/asset-detail/asset-detail.component.mjs +1 -1
  45. package/esm2022/catalog/components/asset-list/asset-list.component.mjs +1 -1
  46. package/esm2022/catalog/components/assets/assets.component.mjs +2 -2
  47. package/esm2022/catalog/components/collection-contents/collection-contents.component.mjs +3 -3
  48. package/esm2022/catalog/components/facet-detail/facet-detail.component.mjs +71 -46
  49. package/esm2022/catalog/components/product-variant-list/product-variant-list-bulk-actions.mjs +1 -1
  50. package/esm2022/catalog/components/product-variant-list/product-variant-list.component.mjs +3 -3
  51. package/esm2022/catalog/components/product-variant-quick-jump/product-variant-quick-jump.component.mjs +2 -2
  52. package/esm2022/catalog/public_api.mjs +1 -4
  53. package/esm2022/core/common/base-detail.component.mjs +3 -3
  54. package/esm2022/core/common/base-entity-resolver.mjs +3 -3
  55. package/esm2022/core/common/generated-types.mjs +27 -27
  56. package/esm2022/core/common/utilities/custom-field-default-value.mjs +3 -3
  57. package/esm2022/core/common/version.mjs +2 -2
  58. package/esm2022/core/components/base-nav/base-nav.component.mjs +27 -8
  59. package/esm2022/core/data/definitions/order-definitions.mjs +2 -1
  60. package/esm2022/core/data/providers/data.service.mjs +4 -4
  61. package/esm2022/core/data/query-result.mjs +2 -2
  62. package/esm2022/core/extension/add-action-bar-item.mjs +9 -16
  63. package/esm2022/core/extension/add-nav-menu-item.mjs +16 -24
  64. package/esm2022/core/extension/register-bulk-action.mjs +25 -29
  65. package/esm2022/core/extension/register-custom-detail-component.mjs +46 -1
  66. package/esm2022/core/extension/register-data-table-component.mjs +4 -3
  67. package/esm2022/core/extension/register-form-input-component.mjs +15 -14
  68. package/esm2022/core/extension/register-history-entry-component.mjs +56 -1
  69. package/esm2022/core/extension/register-page-tab.mjs +36 -0
  70. package/esm2022/core/extension/register-route-component.mjs +44 -3
  71. package/esm2022/core/providers/bulk-action-registry/bulk-action-types.mjs +1 -1
  72. package/esm2022/core/providers/modal/modal.service.mjs +2 -2
  73. package/esm2022/core/providers/modal/modal.types.mjs +1 -1
  74. package/esm2022/core/providers/nav-builder/nav-builder-types.mjs +1 -1
  75. package/esm2022/core/providers/nav-builder/nav-builder.service.mjs +3 -3
  76. package/esm2022/core/providers/notification/notification.service.mjs +3 -3
  77. package/esm2022/core/providers/page/page.service.mjs +2 -36
  78. package/esm2022/core/public_api.mjs +2 -1
  79. package/esm2022/core/shared/components/action-bar/action-bar.component.mjs +2 -2
  80. package/esm2022/core/shared/components/action-bar-items/action-bar-items.component.mjs +32 -15
  81. package/esm2022/core/shared/components/asset-gallery/asset-gallery.component.mjs +8 -5
  82. package/esm2022/core/shared/components/asset-picker-dialog/asset-picker-dialog.component.mjs +4 -4
  83. package/esm2022/core/shared/components/asset-preview/asset-preview.component.mjs +36 -3
  84. package/esm2022/core/shared/components/asset-preview-dialog/asset-preview-dialog.component.mjs +4 -3
  85. package/esm2022/core/shared/components/data-table-2/data-table2.component.mjs +2 -2
  86. package/esm2022/core/shared/components/extension-host/host-external-frame.mjs +2 -2
  87. package/esm2022/core/shared/components/facet-value-selector/facet-value-selector.component.mjs +2 -2
  88. package/esm2022/core/shared/components/form-field/form-field.component.mjs +2 -2
  89. package/esm2022/core/shared/components/page-detail-layout/page-detail-layout.component.mjs +2 -2
  90. package/esm2022/core/shared/pipes/duration.pipe.mjs +2 -2
  91. package/esm2022/core/shared/pipes/file-size.pipe.mjs +2 -2
  92. package/esm2022/order/components/fulfill-order-dialog/fulfill-order-dialog.component.mjs +2 -2
  93. package/esm2022/order/components/order-data-table/order-data-table.component.mjs +2 -2
  94. package/esm2022/order/components/order-editor/order-editor.component.mjs +2 -2
  95. package/esm2022/order/components/order-table/order-table.component.mjs +3 -3
  96. package/esm2022/react/components/react-custom-column.component.mjs +3 -3
  97. package/esm2022/react/components/react-custom-detail.component.mjs +3 -3
  98. package/esm2022/react/components/react-form-input.component.mjs +3 -3
  99. package/esm2022/react/components/react-route.component.mjs +3 -3
  100. package/esm2022/react/public_api.mjs +7 -1
  101. package/esm2022/react/react-components/ActionBar.mjs +26 -0
  102. package/esm2022/react/react-components/CdsIcon.mjs +30 -0
  103. package/esm2022/react/react-components/FormField.mjs +28 -0
  104. package/esm2022/react/react-components/PageBlock.mjs +24 -0
  105. package/esm2022/react/react-components/PageDetailLayout.mjs +26 -0
  106. package/esm2022/react/react-hooks/use-detail-component-data.mjs +1 -1
  107. package/esm2022/react/react-hooks/use-route-params.mjs +39 -0
  108. package/esm2022/react/register-react-data-table-component.mjs +3 -1
  109. package/esm2022/react/register-react-route-component.mjs +1 -1
  110. package/esm2022/settings/components/stock-location-detail/stock-location-detail.component.mjs +137 -0
  111. package/esm2022/settings/components/stock-location-list/stock-location-list-bulk-actions.mjs +68 -0
  112. package/esm2022/{catalog → settings}/components/stock-location-list/stock-location-list.component.mjs +1 -1
  113. package/esm2022/settings/components/tax-category-list/tax-category-list-bulk-actions.mjs +1 -1
  114. package/esm2022/settings/public_api.mjs +4 -1
  115. package/esm2022/settings/settings.module.mjs +37 -3
  116. package/esm2022/settings/settings.routes.mjs +19 -1
  117. package/esm2022/system/components/job-list/job-list.component.mjs +13 -15
  118. package/esm2022/system/components/job-state-label/job-state-label.component.mjs +1 -1
  119. package/fesm2022/vendure-admin-ui-catalog.mjs +118 -379
  120. package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
  121. package/fesm2022/vendure-admin-ui-core.mjs +394 -197
  122. package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
  123. package/fesm2022/vendure-admin-ui-order.mjs +8 -8
  124. package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
  125. package/fesm2022/vendure-admin-ui-react.mjs +178 -11
  126. package/fesm2022/vendure-admin-ui-react.mjs.map +1 -1
  127. package/fesm2022/vendure-admin-ui-settings.mjs +320 -3
  128. package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
  129. package/fesm2022/vendure-admin-ui-system.mjs +12 -14
  130. package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
  131. package/package.json +13 -13
  132. package/react/public_api.d.ts +6 -0
  133. package/react/react-components/ActionBar.d.ts +23 -0
  134. package/react/react-components/CdsIcon.d.ts +45 -0
  135. package/react/react-components/FormField.d.ts +27 -0
  136. package/react/react-components/PageBlock.d.ts +21 -0
  137. package/react/react-components/PageDetailLayout.d.ts +23 -0
  138. package/react/react-hooks/use-detail-component-data.d.ts +2 -2
  139. package/react/react-hooks/use-route-params.d.ts +22 -0
  140. package/react/register-react-data-table-component.d.ts +2 -0
  141. package/react/register-react-route-component.d.ts +6 -0
  142. package/{catalog → settings}/components/stock-location-list/stock-location-list.component.d.ts +1 -1
  143. package/settings/public_api.d.ts +3 -0
  144. package/settings/settings.module.d.ts +5 -3
  145. package/static/i18n-messages/ar.json +11 -5
  146. package/static/i18n-messages/cs.json +14 -8
  147. package/static/i18n-messages/de.json +11 -5
  148. package/static/i18n-messages/en.json +11 -5
  149. package/static/i18n-messages/es.json +11 -5
  150. package/static/i18n-messages/fr.json +12 -6
  151. package/static/i18n-messages/he.json +11 -5
  152. package/static/i18n-messages/it.json +11 -5
  153. package/static/i18n-messages/pl.json +11 -5
  154. package/static/i18n-messages/pt_BR.json +11 -5
  155. package/static/i18n-messages/pt_PT.json +18 -12
  156. package/static/i18n-messages/ru.json +11 -5
  157. package/static/i18n-messages/uk.json +15 -9
  158. package/static/i18n-messages/zh_Hans.json +14 -8
  159. package/static/i18n-messages/zh_Hant.json +14 -8
  160. package/system/components/job-list/job-list.component.d.ts +6 -8
  161. package/esm2022/catalog/components/stock-location-detail/stock-location-detail.component.mjs +0 -137
  162. package/esm2022/catalog/components/stock-location-list/stock-location-list-bulk-actions.mjs +0 -68
  163. /package/{catalog → settings}/components/stock-location-detail/stock-location-detail.component.d.ts +0 -0
  164. /package/{catalog → settings}/components/stock-location-list/stock-location-list-bulk-actions.d.ts +0 -0
@@ -31,15 +31,13 @@ import * as i28 from "./components/product-variant-detail/product-variant-detail
31
31
  import * as i29 from "./components/create-product-variant-dialog/create-product-variant-dialog.component";
32
32
  import * as i30 from "./components/create-product-option-group-dialog/create-product-option-group-dialog.component";
33
33
  import * as i31 from "./components/product-variant-quick-jump/product-variant-quick-jump.component";
34
- import * as i32 from "./components/stock-location-list/stock-location-list.component";
35
- import * as i33 from "./components/stock-location-detail/stock-location-detail.component";
36
- import * as i34 from "@vendure/admin-ui/core";
37
- import * as i35 from "@angular/router";
34
+ import * as i32 from "@vendure/admin-ui/core";
35
+ import * as i33 from "@angular/router";
38
36
  export declare class CatalogModule {
39
37
  private bulkActionRegistryService;
40
38
  private pageService;
41
39
  constructor(bulkActionRegistryService: BulkActionRegistryService, pageService: PageService);
42
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ApplyFacetDialogComponent, typeof i7.AssetListComponent, typeof i8.AssetsComponent, typeof i9.VariantPriceDetailComponent, typeof i10.CollectionListComponent, typeof i11.CollectionDetailComponent, typeof i12.CollectionTreeComponent, typeof i13.CollectionTreeNodeComponent, typeof i14.CollectionContentsComponent, typeof i15.ProductVariantsTableComponent, typeof i16.OptionValueInputComponent, typeof i17.UpdateProductOptionDialogComponent, typeof i18.ProductVariantsEditorComponent, typeof i19.AssignProductsToChannelDialogComponent, typeof i20.AssetDetailComponent, typeof i21.ConfirmVariantDeletionDialogComponent, typeof i22.ProductOptionsEditorComponent, typeof i23.BulkAddFacetValuesDialogComponent, typeof i24.CollectionDataTableComponent, typeof i25.CollectionBreadcrumbPipe, typeof i26.MoveCollectionsDialogComponent, typeof i27.ProductVariantListComponent, typeof i2.ProductDetailComponent, typeof i28.ProductVariantDetailComponent, typeof i29.CreateProductVariantDialogComponent, typeof i30.CreateProductOptionGroupDialogComponent, typeof i31.ProductVariantQuickJumpComponent, typeof i32.StockLocationListComponent, typeof i33.StockLocationDetailComponent], [typeof i34.SharedModule, typeof i35.RouterModule], [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ApplyFacetDialogComponent, typeof i7.AssetListComponent, typeof i8.AssetsComponent, typeof i9.VariantPriceDetailComponent, typeof i10.CollectionListComponent, typeof i11.CollectionDetailComponent, typeof i12.CollectionTreeComponent, typeof i13.CollectionTreeNodeComponent, typeof i14.CollectionContentsComponent, typeof i15.ProductVariantsTableComponent, typeof i16.OptionValueInputComponent, typeof i17.UpdateProductOptionDialogComponent, typeof i18.ProductVariantsEditorComponent, typeof i19.AssignProductsToChannelDialogComponent, typeof i20.AssetDetailComponent, typeof i21.ConfirmVariantDeletionDialogComponent, typeof i22.ProductOptionsEditorComponent, typeof i23.BulkAddFacetValuesDialogComponent, typeof i24.CollectionDataTableComponent, typeof i25.CollectionBreadcrumbPipe, typeof i26.MoveCollectionsDialogComponent, typeof i27.ProductVariantListComponent, typeof i2.ProductDetailComponent, typeof i28.ProductVariantDetailComponent, typeof i29.CreateProductVariantDialogComponent, typeof i30.CreateProductOptionGroupDialogComponent, typeof i31.ProductVariantQuickJumpComponent, typeof i32.StockLocationListComponent]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ApplyFacetDialogComponent, typeof i7.AssetListComponent, typeof i8.AssetsComponent, typeof i9.VariantPriceDetailComponent, typeof i10.CollectionListComponent, typeof i11.CollectionDetailComponent, typeof i12.CollectionTreeComponent, typeof i13.CollectionTreeNodeComponent, typeof i14.CollectionContentsComponent, typeof i15.ProductVariantsTableComponent, typeof i16.OptionValueInputComponent, typeof i17.UpdateProductOptionDialogComponent, typeof i18.ProductVariantsEditorComponent, typeof i19.AssignProductsToChannelDialogComponent, typeof i20.AssetDetailComponent, typeof i21.ConfirmVariantDeletionDialogComponent, typeof i22.ProductOptionsEditorComponent, typeof i23.BulkAddFacetValuesDialogComponent, typeof i24.CollectionDataTableComponent, typeof i25.CollectionBreadcrumbPipe, typeof i26.MoveCollectionsDialogComponent, typeof i27.ProductVariantListComponent, typeof i2.ProductDetailComponent, typeof i28.ProductVariantDetailComponent, typeof i29.CreateProductVariantDialogComponent, typeof i30.CreateProductOptionGroupDialogComponent, typeof i31.ProductVariantQuickJumpComponent], [typeof i32.SharedModule, typeof i33.RouterModule], [typeof i1.ProductListComponent, typeof i2.ProductDetailComponent, typeof i3.FacetListComponent, typeof i4.FacetDetailComponent, typeof i5.GenerateProductVariantsComponent, typeof i6.ApplyFacetDialogComponent, typeof i7.AssetListComponent, typeof i8.AssetsComponent, typeof i9.VariantPriceDetailComponent, typeof i10.CollectionListComponent, typeof i11.CollectionDetailComponent, typeof i12.CollectionTreeComponent, typeof i13.CollectionTreeNodeComponent, typeof i14.CollectionContentsComponent, typeof i15.ProductVariantsTableComponent, typeof i16.OptionValueInputComponent, typeof i17.UpdateProductOptionDialogComponent, typeof i18.ProductVariantsEditorComponent, typeof i19.AssignProductsToChannelDialogComponent, typeof i20.AssetDetailComponent, typeof i21.ConfirmVariantDeletionDialogComponent, typeof i22.ProductOptionsEditorComponent, typeof i23.BulkAddFacetValuesDialogComponent, typeof i24.CollectionDataTableComponent, typeof i25.CollectionBreadcrumbPipe, typeof i26.MoveCollectionsDialogComponent, typeof i27.ProductVariantListComponent, typeof i2.ProductDetailComponent, typeof i28.ProductVariantDetailComponent, typeof i29.CreateProductVariantDialogComponent, typeof i30.CreateProductOptionGroupDialogComponent, typeof i31.ProductVariantQuickJumpComponent]>;
44
42
  static ɵinj: i0.ɵɵInjectorDeclaration<CatalogModule>;
45
43
  }
@@ -1,8 +1,14 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { FormBuilder, UntypedFormArray } from '@angular/forms';
2
+ import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
3
3
  import { DataService, FacetWithValuesFragment, GetFacetDetailDocument, LanguageCode, ModalService, NotificationService, Permission, TypedBaseDetailComponent } from '@vendure/admin-ui/core';
4
+ import { BehaviorSubject, Observable } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare const FACET_DETAIL_QUERY: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
7
+ type ValueItem = FacetWithValuesFragment['values'][number] | {
8
+ id: string;
9
+ name: string;
10
+ code: string;
11
+ };
6
12
  export declare class FacetDetailComponent extends TypedBaseDetailComponent<typeof GetFacetDetailDocument, 'facet'> implements OnInit, OnDestroy {
7
13
  private changeDetector;
8
14
  protected dataService: DataService;
@@ -11,38 +17,40 @@ export declare class FacetDetailComponent extends TypedBaseDetailComponent<typeo
11
17
  private modalService;
12
18
  readonly customFields: import("@vendure/admin-ui/core").CustomFieldConfig[];
13
19
  readonly customValueFields: import("@vendure/admin-ui/core").CustomFieldConfig[];
14
- detailForm: import("@angular/forms").FormGroup<{
15
- facet: import("@angular/forms").FormGroup<{
16
- code: import("@angular/forms").FormControl<string | null>;
17
- name: import("@angular/forms").FormControl<string | null>;
18
- visible: import("@angular/forms").FormControl<boolean | null>;
19
- customFields: import("@angular/forms").FormGroup<{
20
- [x: string]: import("@angular/forms").FormControl<false | "" | 0 | Date | null>;
20
+ detailForm: FormGroup<{
21
+ facet: FormGroup<{
22
+ code: FormControl<string | null>;
23
+ name: FormControl<string | null>;
24
+ visible: FormControl<boolean | null>;
25
+ customFields: FormGroup<{
26
+ [x: string]: FormControl<false | "" | 0 | Date | null>;
27
+ }>;
28
+ }>;
29
+ values: FormGroup<{
30
+ [key: string]: FormGroup<{
31
+ id: FormControl<string>;
32
+ name: FormControl<string>;
33
+ code: FormControl<string>;
34
+ customFields: FormGroup;
21
35
  }>;
22
36
  }>;
23
- values: import("@angular/forms").FormArray<import("@angular/forms").FormControl<{
24
- id: string;
25
- name: string;
26
- code: string;
27
- customFields: any;
28
- } | null>>;
29
- }>;
30
- values: Array<FacetWithValuesFragment['values'][number] | {
31
- name: string;
32
- code: string;
33
37
  }>;
38
+ currentPage: number;
39
+ itemsPerPage: number;
40
+ filterControl: FormControl<string | null>;
41
+ values$: BehaviorSubject<ValueItem[]>;
42
+ filteredValues$: Observable<ValueItem[]>;
34
43
  readonly updatePermission: Permission[];
35
44
  constructor(changeDetector: ChangeDetectorRef, dataService: DataService, formBuilder: FormBuilder, notificationService: NotificationService, modalService: ModalService);
36
45
  ngOnInit(): void;
37
46
  ngOnDestroy(): void;
38
47
  updateCode(currentCode: string, nameValue: string): void;
39
- updateValueCode(currentCode: string, nameValue: string, index: number): void;
48
+ updateValueCode(currentCode: string, nameValue: string, valueId: string): void;
40
49
  customValueFieldIsSet(index: number, name: string): boolean;
41
- getValuesFormArray(): UntypedFormArray;
42
50
  addFacetValue(): void;
43
51
  create(): void;
44
52
  save(): void;
45
- deleteFacetValue(facetValueId: string | undefined, index: number): void;
53
+ deleteFacetValue(facetValueId: string): void;
46
54
  private showModalAndDelete;
47
55
  /**
48
56
  * Sets the values of the form on changes to the facet or current language.
@@ -63,6 +71,9 @@ export declare class FacetDetailComponent extends TypedBaseDetailComponent<typeo
63
71
  * which can be persisted to the API via an updateFacetValues mutation.
64
72
  */
65
73
  private getUpdatedFacetValues;
74
+ private createTempId;
75
+ private isTempId;
66
76
  static ɵfac: i0.ɵɵFactoryDeclaration<FacetDetailComponent, never>;
67
77
  static ɵcmp: i0.ɵɵComponentDeclaration<FacetDetailComponent, "vdr-facet-detail", never, {}, {}, never, never, false, never>;
68
78
  }
79
+ export {};
@@ -9,7 +9,7 @@ export declare class ProductListComponent extends TypedBaseListComponent<typeof
9
9
  pendingSearchIndexUpdates: number;
10
10
  readonly customFields: import("@vendure/admin-ui/core").CustomFieldConfig[];
11
11
  readonly filters: import("@vendure/admin-ui/core").DataTableFilterCollection<import("@vendure/admin-ui/core").ProductFilterParameter>;
12
- readonly sorts: import("@vendure/admin-ui/core").DataTableSortCollection<import("@vendure/admin-ui/core").ProductSortParameter, ["name" | "createdAt" | "id" | "updatedAt" | "slug"]>;
12
+ readonly sorts: import("@vendure/admin-ui/core").DataTableSortCollection<import("@vendure/admin-ui/core").ProductSortParameter, ["name" | "id" | "createdAt" | "updatedAt" | "slug"]>;
13
13
  constructor(dataService: DataService, modalService: ModalService, notificationService: NotificationService, jobQueueService: JobQueueService);
14
14
  rebuildSearchIndex(): void;
15
15
  deleteProduct(productId: string): void;
@@ -1,5 +1,4 @@
1
- import { BulkAction, GetProductVariantListQuery, ItemOf } from '@vendure/admin-ui/core';
2
- import { ProductVariant } from 'package/core';
1
+ import { BulkAction, GetProductVariantListQuery, ItemOf, ProductVariant } from '@vendure/admin-ui/core';
3
2
  import { ProductVariantListComponent } from './product-variant-list.component';
4
3
  export declare const assignProductVariantsToChannelBulkAction: BulkAction<ItemOf<GetProductVariantListQuery, 'productVariants'>, ProductVariantListComponent>;
5
4
  export declare const removeProductVariantsFromChannelBulkAction: BulkAction<any, import("@vendure/admin-ui/core").BaseListComponent<any, any, any>>;
@@ -6,7 +6,7 @@ export declare class ProductVariantListComponent extends TypedBaseListComponent<
6
6
  hideLanguageSelect: boolean;
7
7
  readonly customFields: import("@vendure/admin-ui/core").CustomFieldConfig[];
8
8
  readonly filters: import("@vendure/admin-ui/core").DataTableFilterCollection<import("@vendure/admin-ui/core").ProductVariantFilterParameter>;
9
- readonly sorts: import("@vendure/admin-ui/core").DataTableSortCollection<import("@vendure/admin-ui/core").ProductVariantSortParameter, ["name" | "sku" | "price" | "createdAt" | "id" | "updatedAt" | "priceWithTax"]>;
9
+ readonly sorts: import("@vendure/admin-ui/core").DataTableSortCollection<import("@vendure/admin-ui/core").ProductVariantSortParameter, ["name" | "price" | "sku" | "id" | "createdAt" | "updatedAt" | "priceWithTax"]>;
10
10
  constructor();
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductVariantListComponent, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductVariantListComponent, "vdr-product-variant-list", never, { "productId": { "alias": "productId"; "required": false; }; "hideLanguageSelect": { "alias": "hideLanguageSelect"; "required": false; }; }, {}, never, never, false, never>;
@@ -278,7 +278,7 @@ export declare class ProductDetailService {
278
278
  autoUpdate: boolean;
279
279
  productInput?: UpdateProductInput;
280
280
  variantsInput?: UpdateProductVariantInput[];
281
- }): Observable<(UpdateProductVariantsMutation | UpdateProductMutation)[]>;
281
+ }): Observable<(UpdateProductMutation | UpdateProductVariantsMutation)[]>;
282
282
  updateProductOption(input: UpdateProductOptionInput & {
283
283
  autoUpdate: boolean;
284
284
  }, product: NonNullable<GetProductDetailQuery['product']>, languageCode: LanguageCode): Observable<any>;
@@ -40,9 +40,6 @@ export * from './components/product-variant-list/product-variant-list.graphql';
40
40
  export * from './components/product-variant-quick-jump/product-variant-quick-jump.component';
41
41
  export * from './components/product-variants-editor/product-variants-editor.component';
42
42
  export * from './components/product-variants-table/product-variants-table.component';
43
- export * from './components/stock-location-detail/stock-location-detail.component';
44
- export * from './components/stock-location-list/stock-location-list-bulk-actions';
45
- export * from './components/stock-location-list/stock-location-list.component';
46
43
  export * from './components/update-product-option-dialog/update-product-option-dialog.component';
47
44
  export * from './components/variant-price-detail/variant-price-detail.component';
48
45
  export * from './providers/product-detail/product-detail.service';
@@ -15,7 +15,7 @@ import { TranslationOf } from './utilities/find-translation';
15
15
  * {@link BaseEntityResolver}.
16
16
  *
17
17
  * @example
18
- * ```TypeScript
18
+ * ```ts
19
19
  * \@Component({
20
20
  * selector: 'app-my-entity',
21
21
  * templateUrl: './my-entity.component.html',
@@ -95,7 +95,7 @@ export declare abstract class TypedBaseDetailComponent<T extends TypedDocumentNo
95
95
  * correct resolved detail data.
96
96
  *
97
97
  * @example
98
- * ```TypeScript
98
+ * ```ts
99
99
  * \@NgModule({
100
100
  * imports: [ReviewsSharedModule],
101
101
  * declarations: [/* ... *\/],
@@ -12,7 +12,7 @@ export declare function createResolveData<T extends BaseEntityResolver<R>, R>(re
12
12
  * {@link BaseDetailComponent}.
13
13
  *
14
14
  * @example
15
- * ```TypeScript
15
+ * ```ts
16
16
  * \@Injectable({
17
17
  * providedIn: 'root',
18
18
  * })
@@ -6705,108 +6705,6 @@ export type GetProductVariantsQuickJumpQuery = {
6705
6705
  }>;
6706
6706
  } | null;
6707
6707
  };
6708
- export type StockLocationDetailFragment = {
6709
- __typename?: 'StockLocation';
6710
- id: string;
6711
- createdAt: any;
6712
- updatedAt: any;
6713
- name: string;
6714
- description: string;
6715
- };
6716
- export type GetStockLocationDetailQueryVariables = Exact<{
6717
- id: Scalars['ID']['input'];
6718
- }>;
6719
- export type GetStockLocationDetailQuery = {
6720
- stockLocation?: {
6721
- __typename?: 'StockLocation';
6722
- id: string;
6723
- createdAt: any;
6724
- updatedAt: any;
6725
- name: string;
6726
- description: string;
6727
- } | null;
6728
- };
6729
- export type CreateStockLocationMutationVariables = Exact<{
6730
- input: CreateStockLocationInput;
6731
- }>;
6732
- export type CreateStockLocationMutation = {
6733
- createStockLocation: {
6734
- __typename?: 'StockLocation';
6735
- id: string;
6736
- createdAt: any;
6737
- updatedAt: any;
6738
- name: string;
6739
- description: string;
6740
- };
6741
- };
6742
- export type UpdateStockLocationMutationVariables = Exact<{
6743
- input: UpdateStockLocationInput;
6744
- }>;
6745
- export type UpdateStockLocationMutation = {
6746
- updateStockLocation: {
6747
- __typename?: 'StockLocation';
6748
- id: string;
6749
- createdAt: any;
6750
- updatedAt: any;
6751
- name: string;
6752
- description: string;
6753
- };
6754
- };
6755
- export type DeleteStockLocationsMutationVariables = Exact<{
6756
- input: Array<DeleteStockLocationInput> | DeleteStockLocationInput;
6757
- }>;
6758
- export type DeleteStockLocationsMutation = {
6759
- deleteStockLocations: Array<{
6760
- __typename?: 'DeletionResponse';
6761
- result: DeletionResult;
6762
- message?: string | null;
6763
- }>;
6764
- };
6765
- export type AssignStockLocationsToChannelMutationVariables = Exact<{
6766
- input: AssignStockLocationsToChannelInput;
6767
- }>;
6768
- export type AssignStockLocationsToChannelMutation = {
6769
- assignStockLocationsToChannel: Array<{
6770
- __typename?: 'StockLocation';
6771
- id: string;
6772
- name: string;
6773
- }>;
6774
- };
6775
- export type RemoveStockLocationsFromChannelMutationVariables = Exact<{
6776
- input: RemoveStockLocationsFromChannelInput;
6777
- }>;
6778
- export type RemoveStockLocationsFromChannelMutation = {
6779
- removeStockLocationsFromChannel: Array<{
6780
- __typename?: 'StockLocation';
6781
- id: string;
6782
- name: string;
6783
- }>;
6784
- };
6785
- export type GetStockLocationListQueryVariables = Exact<{
6786
- options?: InputMaybe<StockLocationListOptions>;
6787
- }>;
6788
- export type GetStockLocationListQuery = {
6789
- stockLocations: {
6790
- __typename?: 'StockLocationList';
6791
- totalItems: number;
6792
- items: Array<{
6793
- __typename?: 'StockLocation';
6794
- id: string;
6795
- createdAt: any;
6796
- updatedAt: any;
6797
- name: string;
6798
- description: string;
6799
- }>;
6800
- };
6801
- };
6802
- export type StockLocationListItemFragment = {
6803
- __typename?: 'StockLocation';
6804
- id: string;
6805
- createdAt: any;
6806
- updatedAt: any;
6807
- name: string;
6808
- description: string;
6809
- };
6810
6708
  export type RoleFragment = {
6811
6709
  __typename?: 'Role';
6812
6710
  id: string;
@@ -8866,6 +8764,7 @@ export type OrderLineFragment = {
8866
8764
  proratedUnitPrice: number;
8867
8765
  proratedUnitPriceWithTax: number;
8868
8766
  quantity: number;
8767
+ orderPlacedQuantity: number;
8869
8768
  linePrice: number;
8870
8769
  lineTax: number;
8871
8770
  linePriceWithTax: number;
@@ -8944,6 +8843,7 @@ export type OrderDetailFragment = {
8944
8843
  proratedUnitPrice: number;
8945
8844
  proratedUnitPriceWithTax: number;
8946
8845
  quantity: number;
8846
+ orderPlacedQuantity: number;
8947
8847
  linePrice: number;
8948
8848
  lineTax: number;
8949
8849
  linePriceWithTax: number;
@@ -9203,6 +9103,7 @@ export type GetOrderQuery = {
9203
9103
  proratedUnitPrice: number;
9204
9104
  proratedUnitPriceWithTax: number;
9205
9105
  quantity: number;
9106
+ orderPlacedQuantity: number;
9206
9107
  linePrice: number;
9207
9108
  lineTax: number;
9208
9109
  linePriceWithTax: number;
@@ -9558,6 +9459,7 @@ export type CancelOrderMutation = {
9558
9459
  proratedUnitPrice: number;
9559
9460
  proratedUnitPriceWithTax: number;
9560
9461
  quantity: number;
9462
+ orderPlacedQuantity: number;
9561
9463
  linePrice: number;
9562
9464
  lineTax: number;
9563
9465
  linePriceWithTax: number;
@@ -10034,6 +9936,7 @@ export type ModifyOrderMutation = {
10034
9936
  proratedUnitPrice: number;
10035
9937
  proratedUnitPriceWithTax: number;
10036
9938
  quantity: number;
9939
+ orderPlacedQuantity: number;
10037
9940
  linePrice: number;
10038
9941
  lineTax: number;
10039
9942
  linePriceWithTax: number;
@@ -10278,6 +10181,7 @@ export type AddManualPaymentMutation = {
10278
10181
  proratedUnitPrice: number;
10279
10182
  proratedUnitPriceWithTax: number;
10280
10183
  quantity: number;
10184
+ orderPlacedQuantity: number;
10281
10185
  linePrice: number;
10282
10186
  lineTax: number;
10283
10187
  linePriceWithTax: number;
@@ -10502,6 +10406,7 @@ export type CreateDraftOrderMutation = {
10502
10406
  proratedUnitPrice: number;
10503
10407
  proratedUnitPriceWithTax: number;
10504
10408
  quantity: number;
10409
+ orderPlacedQuantity: number;
10505
10410
  linePrice: number;
10506
10411
  lineTax: number;
10507
10412
  linePriceWithTax: number;
@@ -10745,6 +10650,7 @@ export type AddItemToDraftOrderMutation = {
10745
10650
  proratedUnitPrice: number;
10746
10651
  proratedUnitPriceWithTax: number;
10747
10652
  quantity: number;
10653
+ orderPlacedQuantity: number;
10748
10654
  linePrice: number;
10749
10655
  lineTax: number;
10750
10656
  linePriceWithTax: number;
@@ -10986,6 +10892,7 @@ export type AdjustDraftOrderLineMutation = {
10986
10892
  proratedUnitPrice: number;
10987
10893
  proratedUnitPriceWithTax: number;
10988
10894
  quantity: number;
10895
+ orderPlacedQuantity: number;
10989
10896
  linePrice: number;
10990
10897
  lineTax: number;
10991
10898
  linePriceWithTax: number;
@@ -11219,6 +11126,7 @@ export type RemoveDraftOrderLineMutation = {
11219
11126
  proratedUnitPrice: number;
11220
11127
  proratedUnitPriceWithTax: number;
11221
11128
  quantity: number;
11129
+ orderPlacedQuantity: number;
11222
11130
  linePrice: number;
11223
11131
  lineTax: number;
11224
11132
  linePriceWithTax: number;
@@ -11453,6 +11361,7 @@ export type SetCustomerForDraftOrderMutation = {
11453
11361
  proratedUnitPrice: number;
11454
11362
  proratedUnitPriceWithTax: number;
11455
11363
  quantity: number;
11364
+ orderPlacedQuantity: number;
11456
11365
  linePrice: number;
11457
11366
  lineTax: number;
11458
11367
  linePriceWithTax: number;
@@ -11678,6 +11587,7 @@ export type SetDraftOrderShippingAddressMutation = {
11678
11587
  proratedUnitPrice: number;
11679
11588
  proratedUnitPriceWithTax: number;
11680
11589
  quantity: number;
11590
+ orderPlacedQuantity: number;
11681
11591
  linePrice: number;
11682
11592
  lineTax: number;
11683
11593
  linePriceWithTax: number;
@@ -11903,6 +11813,7 @@ export type SetDraftOrderBillingAddressMutation = {
11903
11813
  proratedUnitPrice: number;
11904
11814
  proratedUnitPriceWithTax: number;
11905
11815
  quantity: number;
11816
+ orderPlacedQuantity: number;
11906
11817
  linePrice: number;
11907
11818
  lineTax: number;
11908
11819
  linePriceWithTax: number;
@@ -12140,6 +12051,7 @@ export type ApplyCouponCodeToDraftOrderMutation = {
12140
12051
  proratedUnitPrice: number;
12141
12052
  proratedUnitPriceWithTax: number;
12142
12053
  quantity: number;
12054
+ orderPlacedQuantity: number;
12143
12055
  linePrice: number;
12144
12056
  lineTax: number;
12145
12057
  linePriceWithTax: number;
@@ -12365,6 +12277,7 @@ export type RemoveCouponCodeFromDraftOrderMutation = {
12365
12277
  proratedUnitPrice: number;
12366
12278
  proratedUnitPriceWithTax: number;
12367
12279
  quantity: number;
12280
+ orderPlacedQuantity: number;
12368
12281
  linePrice: number;
12369
12282
  lineTax: number;
12370
12283
  linePriceWithTax: number;
@@ -12613,6 +12526,7 @@ export type SetDraftOrderShippingMethodMutation = {
12613
12526
  proratedUnitPrice: number;
12614
12527
  proratedUnitPriceWithTax: number;
12615
12528
  quantity: number;
12529
+ orderPlacedQuantity: number;
12616
12530
  linePrice: number;
12617
12531
  lineTax: number;
12618
12532
  linePriceWithTax: number;
@@ -22799,6 +22713,7 @@ export type OrderDetailQueryQuery = {
22799
22713
  proratedUnitPrice: number;
22800
22714
  proratedUnitPriceWithTax: number;
22801
22715
  quantity: number;
22716
+ orderPlacedQuantity: number;
22802
22717
  linePrice: number;
22803
22718
  lineTax: number;
22804
22719
  linePriceWithTax: number;
@@ -23591,6 +23506,108 @@ export type ShippingMethodListItemFragment = {
23591
23506
  description: string;
23592
23507
  fulfillmentHandlerCode: string;
23593
23508
  };
23509
+ export type StockLocationDetailFragment = {
23510
+ __typename?: 'StockLocation';
23511
+ id: string;
23512
+ createdAt: any;
23513
+ updatedAt: any;
23514
+ name: string;
23515
+ description: string;
23516
+ };
23517
+ export type GetStockLocationDetailQueryVariables = Exact<{
23518
+ id: Scalars['ID']['input'];
23519
+ }>;
23520
+ export type GetStockLocationDetailQuery = {
23521
+ stockLocation?: {
23522
+ __typename?: 'StockLocation';
23523
+ id: string;
23524
+ createdAt: any;
23525
+ updatedAt: any;
23526
+ name: string;
23527
+ description: string;
23528
+ } | null;
23529
+ };
23530
+ export type CreateStockLocationMutationVariables = Exact<{
23531
+ input: CreateStockLocationInput;
23532
+ }>;
23533
+ export type CreateStockLocationMutation = {
23534
+ createStockLocation: {
23535
+ __typename?: 'StockLocation';
23536
+ id: string;
23537
+ createdAt: any;
23538
+ updatedAt: any;
23539
+ name: string;
23540
+ description: string;
23541
+ };
23542
+ };
23543
+ export type UpdateStockLocationMutationVariables = Exact<{
23544
+ input: UpdateStockLocationInput;
23545
+ }>;
23546
+ export type UpdateStockLocationMutation = {
23547
+ updateStockLocation: {
23548
+ __typename?: 'StockLocation';
23549
+ id: string;
23550
+ createdAt: any;
23551
+ updatedAt: any;
23552
+ name: string;
23553
+ description: string;
23554
+ };
23555
+ };
23556
+ export type DeleteStockLocationsMutationVariables = Exact<{
23557
+ input: Array<DeleteStockLocationInput> | DeleteStockLocationInput;
23558
+ }>;
23559
+ export type DeleteStockLocationsMutation = {
23560
+ deleteStockLocations: Array<{
23561
+ __typename?: 'DeletionResponse';
23562
+ result: DeletionResult;
23563
+ message?: string | null;
23564
+ }>;
23565
+ };
23566
+ export type AssignStockLocationsToChannelMutationVariables = Exact<{
23567
+ input: AssignStockLocationsToChannelInput;
23568
+ }>;
23569
+ export type AssignStockLocationsToChannelMutation = {
23570
+ assignStockLocationsToChannel: Array<{
23571
+ __typename?: 'StockLocation';
23572
+ id: string;
23573
+ name: string;
23574
+ }>;
23575
+ };
23576
+ export type RemoveStockLocationsFromChannelMutationVariables = Exact<{
23577
+ input: RemoveStockLocationsFromChannelInput;
23578
+ }>;
23579
+ export type RemoveStockLocationsFromChannelMutation = {
23580
+ removeStockLocationsFromChannel: Array<{
23581
+ __typename?: 'StockLocation';
23582
+ id: string;
23583
+ name: string;
23584
+ }>;
23585
+ };
23586
+ export type GetStockLocationListQueryVariables = Exact<{
23587
+ options?: InputMaybe<StockLocationListOptions>;
23588
+ }>;
23589
+ export type GetStockLocationListQuery = {
23590
+ stockLocations: {
23591
+ __typename?: 'StockLocationList';
23592
+ totalItems: number;
23593
+ items: Array<{
23594
+ __typename?: 'StockLocation';
23595
+ id: string;
23596
+ createdAt: any;
23597
+ updatedAt: any;
23598
+ name: string;
23599
+ description: string;
23600
+ }>;
23601
+ };
23602
+ };
23603
+ export type StockLocationListItemFragment = {
23604
+ __typename?: 'StockLocation';
23605
+ id: string;
23606
+ createdAt: any;
23607
+ updatedAt: any;
23608
+ name: string;
23609
+ description: string;
23610
+ };
23594
23611
  export type GetTaxCategoryDetailQueryVariables = Exact<{
23595
23612
  id: Scalars['ID']['input'];
23596
23613
  }>;
@@ -23730,8 +23747,6 @@ export declare const ProductOptionFragmentDoc: DocumentNode<ProductOptionFragmen
23730
23747
  export declare const AssetFragmentDoc: DocumentNode<AssetFragment, unknown>;
23731
23748
  export declare const ProductVariantDetailQueryProductVariantFragmentFragmentDoc: DocumentNode<ProductVariantDetailQueryProductVariantFragmentFragment, unknown>;
23732
23749
  export declare const ProductVariantListQueryProductVariantFragmentFragmentDoc: DocumentNode<ProductVariantListQueryProductVariantFragmentFragment, unknown>;
23733
- export declare const StockLocationDetailFragmentDoc: DocumentNode<StockLocationDetailFragment, unknown>;
23734
- export declare const StockLocationListItemFragmentDoc: DocumentNode<StockLocationListItemFragment, unknown>;
23735
23750
  export declare const RoleFragmentDoc: DocumentNode<RoleFragment, unknown>;
23736
23751
  export declare const AdministratorFragmentDoc: DocumentNode<AdministratorFragment, unknown>;
23737
23752
  export declare const CurrentUserFragmentDoc: DocumentNode<CurrentUserFragment, unknown>;
@@ -23794,6 +23809,8 @@ export declare const ProfileDetailFragmentDoc: DocumentNode<ProfileDetailFragmen
23794
23809
  export declare const SellerDetailFragmentDoc: DocumentNode<SellerDetailFragment, unknown>;
23795
23810
  export declare const SellerListItemFragmentDoc: DocumentNode<SellerListItemFragment, unknown>;
23796
23811
  export declare const ShippingMethodListItemFragmentDoc: DocumentNode<ShippingMethodListItemFragment, unknown>;
23812
+ export declare const StockLocationDetailFragmentDoc: DocumentNode<StockLocationDetailFragment, unknown>;
23813
+ export declare const StockLocationListItemFragmentDoc: DocumentNode<StockLocationListItemFragment, unknown>;
23797
23814
  export declare const ZoneDetailFragmentDoc: DocumentNode<ZoneDetailFragment, unknown>;
23798
23815
  export declare const ZoneListItemFragmentDoc: DocumentNode<ZoneListItemFragment, unknown>;
23799
23816
  export declare const AssetDetailQueryDocument: DocumentNode<AssetDetailQueryQuery, Exact<{
@@ -23838,27 +23855,6 @@ export declare const ProductVariantListQueryDocument: DocumentNode<ProductVarian
23838
23855
  export declare const GetProductVariantsQuickJumpDocument: DocumentNode<GetProductVariantsQuickJumpQuery, Exact<{
23839
23856
  id: Scalars['ID']['input'];
23840
23857
  }>>;
23841
- export declare const GetStockLocationDetailDocument: DocumentNode<GetStockLocationDetailQuery, Exact<{
23842
- id: Scalars['ID']['input'];
23843
- }>>;
23844
- export declare const CreateStockLocationDocument: DocumentNode<CreateStockLocationMutation, Exact<{
23845
- input: CreateStockLocationInput;
23846
- }>>;
23847
- export declare const UpdateStockLocationDocument: DocumentNode<UpdateStockLocationMutation, Exact<{
23848
- input: UpdateStockLocationInput;
23849
- }>>;
23850
- export declare const DeleteStockLocationsDocument: DocumentNode<DeleteStockLocationsMutation, Exact<{
23851
- input: Array<DeleteStockLocationInput> | DeleteStockLocationInput;
23852
- }>>;
23853
- export declare const AssignStockLocationsToChannelDocument: DocumentNode<AssignStockLocationsToChannelMutation, Exact<{
23854
- input: AssignStockLocationsToChannelInput;
23855
- }>>;
23856
- export declare const RemoveStockLocationsFromChannelDocument: DocumentNode<RemoveStockLocationsFromChannelMutation, Exact<{
23857
- input: RemoveStockLocationsFromChannelInput;
23858
- }>>;
23859
- export declare const GetStockLocationListDocument: DocumentNode<GetStockLocationListQuery, Exact<{
23860
- options?: InputMaybe<StockLocationListOptions> | undefined;
23861
- }>>;
23862
23858
  export declare const GetActiveAdministratorDocument: DocumentNode<GetActiveAdministratorQuery, Exact<{
23863
23859
  [key: string]: never;
23864
23860
  }>>;
@@ -24639,6 +24635,27 @@ export declare const RemoveShippingMethodsFromChannelDocument: DocumentNode<Remo
24639
24635
  export declare const GetShippingMethodListDocument: DocumentNode<GetShippingMethodListQuery, Exact<{
24640
24636
  options?: InputMaybe<ShippingMethodListOptions> | undefined;
24641
24637
  }>>;
24638
+ export declare const GetStockLocationDetailDocument: DocumentNode<GetStockLocationDetailQuery, Exact<{
24639
+ id: Scalars['ID']['input'];
24640
+ }>>;
24641
+ export declare const CreateStockLocationDocument: DocumentNode<CreateStockLocationMutation, Exact<{
24642
+ input: CreateStockLocationInput;
24643
+ }>>;
24644
+ export declare const UpdateStockLocationDocument: DocumentNode<UpdateStockLocationMutation, Exact<{
24645
+ input: UpdateStockLocationInput;
24646
+ }>>;
24647
+ export declare const DeleteStockLocationsDocument: DocumentNode<DeleteStockLocationsMutation, Exact<{
24648
+ input: Array<DeleteStockLocationInput> | DeleteStockLocationInput;
24649
+ }>>;
24650
+ export declare const AssignStockLocationsToChannelDocument: DocumentNode<AssignStockLocationsToChannelMutation, Exact<{
24651
+ input: AssignStockLocationsToChannelInput;
24652
+ }>>;
24653
+ export declare const RemoveStockLocationsFromChannelDocument: DocumentNode<RemoveStockLocationsFromChannelMutation, Exact<{
24654
+ input: RemoveStockLocationsFromChannelInput;
24655
+ }>>;
24656
+ export declare const GetStockLocationListDocument: DocumentNode<GetStockLocationListQuery, Exact<{
24657
+ options?: InputMaybe<StockLocationListOptions> | undefined;
24658
+ }>>;
24642
24659
  export declare const GetTaxCategoryDetailDocument: DocumentNode<GetTaxCategoryDetailQuery, Exact<{
24643
24660
  id: Scalars['ID']['input'];
24644
24661
  }>>;
@@ -1 +1 @@
1
- export declare const ADMIN_UI_VERSION = "2.1.0-next.4";
1
+ export declare const ADMIN_UI_VERSION = "2.1.0-next.6";
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { DataService } from '../../data/providers/data.service';
4
4
  import { HealthCheckService } from '../../providers/health-check/health-check.service';
@@ -13,7 +13,8 @@ export declare class BaseNavComponent implements OnInit, OnDestroy {
13
13
  protected healthCheckService: HealthCheckService;
14
14
  protected jobQueueService: JobQueueService;
15
15
  protected dataService: DataService;
16
- constructor(route: ActivatedRoute, router: Router, navBuilderService: NavBuilderService, healthCheckService: HealthCheckService, jobQueueService: JobQueueService, dataService: DataService);
16
+ protected injector: Injector;
17
+ constructor(route: ActivatedRoute, router: Router, navBuilderService: NavBuilderService, healthCheckService: HealthCheckService, jobQueueService: JobQueueService, dataService: DataService, injector: Injector);
17
18
  private userPermissions;
18
19
  private subscription;
19
20
  shouldDisplayLink(menuItem: Pick<NavMenuItem, 'requiresPermission'>): boolean | undefined;
@@ -21,6 +22,7 @@ export declare class BaseNavComponent implements OnInit, OnDestroy {
21
22
  ngOnDestroy(): void;
22
23
  getRouterLink(item: NavMenuItem): string[] | null;
23
24
  private defineNavMenu;
25
+ private createContext;
24
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseNavComponent, never>;
25
27
  static ɵdir: i0.ɵɵDirectiveDeclaration<BaseNavComponent, "[vdrBaseNav]", never, {}, {}, never, never, false, never>;
26
28
  }