@vendure/admin-ui 2.0.0-next.12 → 2.0.0-next.13

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 (113) hide show
  1. package/core/common/version.d.ts +1 -1
  2. package/core/public_api.d.ts +11 -1
  3. package/core/shared/components/dropdown/dropdown-menu.component.d.ts +2 -1
  4. package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.d.ts +31 -0
  5. package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.d.ts +34 -0
  6. package/core/shared/components/rich-text-editor/prosemirror/custom-nodes.d.ts +4 -0
  7. package/core/shared/components/rich-text-editor/prosemirror/inputrules.d.ts +5 -5
  8. package/core/shared/components/rich-text-editor/prosemirror/menu/links.d.ts +1 -1
  9. package/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.d.ts +12 -0
  10. package/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.d.ts +9 -0
  11. package/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.d.ts +14 -0
  12. package/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.d.ts +7 -0
  13. package/core/shared/components/rich-text-editor/prosemirror/plugins/link-select-plugin.d.ts +1 -1
  14. package/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.d.ts +7 -0
  15. package/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.d.ts +13 -0
  16. package/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.d.ts +7 -3
  17. package/core/shared/components/rich-text-editor/prosemirror/types.d.ts +0 -2
  18. package/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.d.ts +21 -0
  19. package/core/shared/components/rich-text-editor/rich-text-editor.component.d.ts +6 -2
  20. package/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.d.ts +30 -0
  21. package/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.d.ts +22 -0
  22. package/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.d.ts +5 -17
  23. package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +2 -1
  24. package/core/shared/shared.module.d.ts +33 -30
  25. package/esm2020/catalog/components/assets/assets.component.mjs +1 -1
  26. package/esm2020/catalog/components/collection-detail/collection-detail.component.mjs +1 -1
  27. package/esm2020/catalog/components/collection-tree/collection-tree-node.component.mjs +2 -2
  28. package/esm2020/catalog/components/facet-detail/facet-detail.component.mjs +1 -1
  29. package/esm2020/catalog/components/facet-list/facet-list.component.mjs +1 -1
  30. package/esm2020/catalog/components/product-list/product-list.component.mjs +1 -1
  31. package/esm2020/catalog/components/product-variants-editor/product-variants-editor.component.mjs +1 -1
  32. package/esm2020/core/common/version.mjs +2 -2
  33. package/esm2020/core/components/channel-switcher/channel-switcher.component.mjs +1 -1
  34. package/esm2020/core/components/user-menu/user-menu.component.mjs +1 -1
  35. package/esm2020/core/public_api.mjs +12 -2
  36. package/esm2020/core/shared/components/asset-preview-links/asset-preview-links.component.mjs +1 -1
  37. package/esm2020/core/shared/components/datetime-picker/datetime-picker.component.mjs +1 -1
  38. package/esm2020/core/shared/components/dropdown/dropdown-menu.component.mjs +25 -22
  39. package/esm2020/core/shared/components/dropdown/dropdown-trigger.directive.mjs +1 -1
  40. package/esm2020/core/shared/components/entity-info/entity-info.component.mjs +1 -1
  41. package/esm2020/core/shared/components/history-entry-detail/history-entry-detail.component.mjs +1 -1
  42. package/esm2020/core/shared/components/language-selector/language-selector.component.mjs +1 -1
  43. package/esm2020/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.mjs +3 -3
  44. package/esm2020/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.mjs +132 -0
  45. package/esm2020/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.mjs +46 -0
  46. package/esm2020/core/shared/components/rich-text-editor/prosemirror/custom-nodes.mjs +57 -0
  47. package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/links.mjs +4 -4
  48. package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.mjs +22 -1
  49. package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.mjs +12 -0
  50. package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/menu.mjs +73 -18
  51. package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.mjs +16 -0
  52. package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.mjs +100 -0
  53. package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.mjs +96 -0
  54. package/esm2020/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.mjs +166 -0
  55. package/esm2020/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.mjs +42 -16
  56. package/esm2020/core/shared/components/rich-text-editor/prosemirror/types.mjs +1 -1
  57. package/esm2020/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.mjs +59 -0
  58. package/esm2020/core/shared/components/rich-text-editor/rich-text-editor.component.mjs +14 -7
  59. package/esm2020/core/shared/components/ui-extension-point/ui-extension-point.component.mjs +1 -1
  60. package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.mjs +57 -0
  61. package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.mjs +63 -0
  62. package/esm2020/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.mjs +48 -83
  63. package/esm2020/core/shared/dynamic-form-inputs/register-dynamic-input-components.mjs +3 -1
  64. package/esm2020/core/shared/shared.module.mjs +15 -3
  65. package/esm2020/customer/components/address-card/address-card.component.mjs +1 -1
  66. package/esm2020/customer/components/customer-group-list/customer-group-list.component.mjs +1 -1
  67. package/esm2020/customer/components/customer-history/customer-history.component.mjs +1 -1
  68. package/esm2020/customer/components/customer-list/customer-list.component.mjs +1 -1
  69. package/esm2020/dashboard/components/dashboard/dashboard.component.mjs +1 -1
  70. package/esm2020/marketing/components/promotion-detail/promotion-detail.component.mjs +1 -1
  71. package/esm2020/marketing/components/promotion-list/promotion-list.component.mjs +1 -1
  72. package/esm2020/order/components/fulfillment-card/fulfillment-card.component.mjs +1 -1
  73. package/esm2020/order/components/line-fulfillment/line-fulfillment.component.mjs +1 -1
  74. package/esm2020/order/components/order-detail/order-detail.component.mjs +1 -1
  75. package/esm2020/order/components/order-history/order-history.component.mjs +1 -1
  76. package/esm2020/order/components/order-payment-card/order-payment-card.component.mjs +1 -1
  77. package/esm2020/order/components/order-table/order-table.component.mjs +1 -1
  78. package/esm2020/order/components/refund-order-dialog/refund-order-dialog.component.mjs +1 -1
  79. package/esm2020/settings/components/administrator-list/administrator-list.component.mjs +1 -1
  80. package/esm2020/settings/components/channel-list/channel-list.component.mjs +1 -1
  81. package/esm2020/settings/components/country-list/country-list.component.mjs +1 -1
  82. package/esm2020/settings/components/payment-method-detail/payment-method-detail.component.mjs +1 -1
  83. package/esm2020/settings/components/payment-method-list/payment-method-list.component.mjs +1 -1
  84. package/esm2020/settings/components/role-list/role-list.component.mjs +1 -1
  85. package/esm2020/settings/components/shipping-method-detail/shipping-method-detail.component.mjs +1 -1
  86. package/esm2020/settings/components/shipping-method-list/shipping-method-list.component.mjs +1 -1
  87. package/esm2020/settings/components/tax-category-list/tax-category-list.component.mjs +1 -1
  88. package/esm2020/settings/components/tax-rate-list/tax-rate-list.component.mjs +1 -1
  89. package/esm2020/settings/components/zone-list/zone-list.component.mjs +1 -1
  90. package/esm2020/system/components/job-list/job-list.component.mjs +1 -1
  91. package/fesm2015/vendure-admin-ui-catalog.mjs +7 -7
  92. package/fesm2015/vendure-admin-ui-catalog.mjs.map +1 -1
  93. package/fesm2015/vendure-admin-ui-core.mjs +995 -188
  94. package/fesm2015/vendure-admin-ui-core.mjs.map +1 -1
  95. package/fesm2015/vendure-admin-ui-customer.mjs +4 -4
  96. package/fesm2015/vendure-admin-ui-dashboard.mjs +1 -1
  97. package/fesm2015/vendure-admin-ui-marketing.mjs +2 -2
  98. package/fesm2015/vendure-admin-ui-order.mjs +7 -7
  99. package/fesm2015/vendure-admin-ui-settings.mjs +11 -11
  100. package/fesm2015/vendure-admin-ui-system.mjs +1 -1
  101. package/fesm2020/vendure-admin-ui-catalog.mjs +7 -7
  102. package/fesm2020/vendure-admin-ui-catalog.mjs.map +1 -1
  103. package/fesm2020/vendure-admin-ui-core.mjs +989 -188
  104. package/fesm2020/vendure-admin-ui-core.mjs.map +1 -1
  105. package/fesm2020/vendure-admin-ui-customer.mjs +4 -4
  106. package/fesm2020/vendure-admin-ui-dashboard.mjs +1 -1
  107. package/fesm2020/vendure-admin-ui-marketing.mjs +2 -2
  108. package/fesm2020/vendure-admin-ui-order.mjs +7 -7
  109. package/fesm2020/vendure-admin-ui-settings.mjs +11 -11
  110. package/fesm2020/vendure-admin-ui-system.mjs +1 -1
  111. package/package.json +13 -12
  112. package/core/shared/components/rich-text-editor/prosemirror/menu/images.d.ts +0 -4
  113. package/esm2020/core/shared/components/rich-text-editor/prosemirror/menu/images.mjs +0 -36
@@ -1 +1 @@
1
- export declare const ADMIN_UI_VERSION = "2.0.0-next.12";
1
+ export declare const ADMIN_UI_VERSION = "2.0.0-next.13";
@@ -152,16 +152,24 @@ export * from './shared/components/product-search-input/product-search-input.com
152
152
  export * from './shared/components/product-variant-selector/product-variant-selector.component';
153
153
  export * from './shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component';
154
154
  export * from './shared/components/rich-text-editor/link-dialog/link-dialog.component';
155
+ export * from './shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component';
156
+ export * from './shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service';
157
+ export * from './shared/components/rich-text-editor/prosemirror/custom-nodes';
155
158
  export * from './shared/components/rich-text-editor/prosemirror/inputrules';
156
159
  export * from './shared/components/rich-text-editor/prosemirror/keymap';
157
- export * from './shared/components/rich-text-editor/prosemirror/menu/images';
158
160
  export * from './shared/components/rich-text-editor/prosemirror/menu/links';
159
161
  export * from './shared/components/rich-text-editor/prosemirror/menu/menu-common';
162
+ export * from './shared/components/rich-text-editor/prosemirror/menu/menu-plugin';
160
163
  export * from './shared/components/rich-text-editor/prosemirror/menu/menu';
164
+ export * from './shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon';
165
+ export * from './shared/components/rich-text-editor/prosemirror/plugins/image-plugin';
161
166
  export * from './shared/components/rich-text-editor/prosemirror/plugins/link-select-plugin';
167
+ export * from './shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin';
168
+ export * from './shared/components/rich-text-editor/prosemirror/plugins/tables-plugin';
162
169
  export * from './shared/components/rich-text-editor/prosemirror/prosemirror.service';
163
170
  export * from './shared/components/rich-text-editor/prosemirror/types';
164
171
  export * from './shared/components/rich-text-editor/prosemirror/utils';
172
+ export * from './shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component';
165
173
  export * from './shared/components/rich-text-editor/rich-text-editor.component';
166
174
  export * from './shared/components/select-toggle/select-toggle.component';
167
175
  export * from './shared/components/simple-dialog/simple-dialog.component';
@@ -178,6 +186,8 @@ export * from './shared/directives/if-directive-base';
178
186
  export * from './shared/directives/if-multichannel.directive';
179
187
  export * from './shared/directives/if-permissions.directive';
180
188
  export * from './shared/dynamic-form-inputs/boolean-form-input/boolean-form-input.component';
189
+ export * from './shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component';
190
+ export * from './shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component';
181
191
  export * from './shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component';
182
192
  export * from './shared/dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component';
183
193
  export * from './shared/dynamic-form-inputs/currency-form-input/currency-form-input.component';
@@ -17,6 +17,7 @@ export declare class DropdownMenuComponent implements AfterViewInit, OnInit, OnD
17
17
  private viewContainerRef;
18
18
  private dropdown;
19
19
  private position;
20
+ customClasses: string;
20
21
  private menuTemplate;
21
22
  private menuPortal;
22
23
  private overlayRef;
@@ -29,5 +30,5 @@ export declare class DropdownMenuComponent implements AfterViewInit, OnInit, OnD
29
30
  /** Inverts an overlay position. */
30
31
  private invertPosition;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuComponent, "vdr-dropdown-menu", never, { "position": "vdrPosition"; }, {}, never, ["*"]>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuComponent, "vdr-dropdown-menu", never, { "position": "vdrPosition"; "customClasses": "customClasses"; }, {}, never, ["*"]>;
33
34
  }
@@ -0,0 +1,31 @@
1
+ import { Overlay } from '@angular/cdk/overlay';
2
+ import { AfterViewInit, OnDestroy, ViewContainerRef } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { ContextMenuConfig, ContextMenuItem, ContextMenuService } from './context-menu.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ContextMenuComponent implements AfterViewInit, OnDestroy {
7
+ private overlay;
8
+ private viewContainerRef;
9
+ contextMenuService: ContextMenuService;
10
+ editorMenuElement: HTMLElement;
11
+ private menuTemplate;
12
+ menuConfig: ContextMenuConfig | undefined;
13
+ hideTrigger$: Observable<boolean>;
14
+ private triggerIsHidden;
15
+ private menuPortal;
16
+ private overlayRef;
17
+ private contextMenuSub;
18
+ private contentArea;
19
+ private hideTriggerHandler;
20
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, contextMenuService: ContextMenuService);
21
+ onScroll: () => void;
22
+ ngAfterViewInit(): void;
23
+ triggerClick(): void;
24
+ ngOnDestroy(): void;
25
+ clickItem(item: ContextMenuItem): void;
26
+ private getPositionStrategy;
27
+ /** Inverts an overlay position. */
28
+ private invertPosition;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuComponent, "vdr-context-menu", never, { "editorMenuElement": "editorMenuElement"; }, {}, never, never>;
31
+ }
@@ -0,0 +1,34 @@
1
+ import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export interface ContextMenuConfig {
4
+ ref: any;
5
+ iconShape?: string;
6
+ title: string;
7
+ element: Element;
8
+ coords: {
9
+ left: number;
10
+ right: number;
11
+ top: number;
12
+ bottom: number;
13
+ };
14
+ items: ContextMenuItem[];
15
+ }
16
+ export interface ContextMenuItem {
17
+ separator?: boolean;
18
+ iconClass?: string;
19
+ iconShape?: string;
20
+ label: string;
21
+ enabled: boolean;
22
+ onClick: () => void;
23
+ }
24
+ export declare class ContextMenuService {
25
+ contextMenu$: Observable<ContextMenuConfig | undefined>;
26
+ private menuIsVisible$;
27
+ private setContextMenuConfig$;
28
+ constructor();
29
+ setVisibility(isVisible: boolean): void;
30
+ setContextMenu(config: ContextMenuConfig): void;
31
+ clearContextMenu(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService, never>;
33
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
34
+ }
@@ -0,0 +1,4 @@
1
+ import { NodeSpec } from 'prosemirror-model';
2
+ import { NodeViewConstructor } from 'prosemirror-view';
3
+ export declare const iframeNode: NodeSpec;
4
+ export declare const iframeNodeView: NodeViewConstructor;
@@ -1,8 +1,8 @@
1
1
  import { Schema } from 'prosemirror-model';
2
2
  import { Plugin } from 'prosemirror-state';
3
- export declare function blockQuoteRule(nodeType: any): any;
4
- export declare function orderedListRule(nodeType: any): any;
5
- export declare function bulletListRule(nodeType: any): any;
6
- export declare function codeBlockRule(nodeType: any): any;
7
- export declare function headingRule(nodeType: any, maxLevel: any): any;
3
+ export declare function blockQuoteRule(nodeType: any): import("prosemirror-inputrules").InputRule;
4
+ export declare function orderedListRule(nodeType: any): import("prosemirror-inputrules").InputRule;
5
+ export declare function bulletListRule(nodeType: any): import("prosemirror-inputrules").InputRule;
6
+ export declare function codeBlockRule(nodeType: any): import("prosemirror-inputrules").InputRule;
7
+ export declare function headingRule(nodeType: any, maxLevel: any): import("prosemirror-inputrules").InputRule;
8
8
  export declare function buildInputRules(schema: Schema): Plugin;
@@ -1,4 +1,4 @@
1
1
  import { MenuItem } from 'prosemirror-menu';
2
2
  import { MarkType } from 'prosemirror-model';
3
3
  import { ModalService } from '../../../../../providers/modal/modal.service';
4
- export declare function linkItem(linkMark: MarkType, modalService: ModalService): MenuItem<any>;
4
+ export declare function linkItem(linkMark: MarkType, modalService: ModalService): MenuItem;
@@ -1,4 +1,16 @@
1
1
  import { NodeType } from 'prosemirror-model';
2
2
  import { EditorState } from 'prosemirror-state';
3
+ import { EditorView } from 'prosemirror-view';
3
4
  export declare function markActive(state: any, type: any): any;
4
5
  export declare function canInsert(state: EditorState, nodeType: NodeType): boolean;
6
+ export interface ClarityIconOptions {
7
+ shape: string;
8
+ size?: number;
9
+ label?: string;
10
+ }
11
+ export declare function renderClarityIcon(options: ClarityIconOptions): (view: EditorView) => HTMLElement;
12
+ export declare function wrapInMenuItemWithIcon(...elements: Array<HTMLElement | undefined | null>): HTMLSpanElement;
13
+ export declare const IconSize: {
14
+ Large: number;
15
+ Small: number;
16
+ };
@@ -0,0 +1,9 @@
1
+ import { Injector } from '@angular/core';
2
+ import { Schema } from 'prosemirror-model';
3
+ import { Plugin } from 'prosemirror-state';
4
+ export interface CustomMenuPluginOptions {
5
+ floatingMenu?: boolean;
6
+ schema: Schema;
7
+ injector: Injector;
8
+ }
9
+ export declare function customMenuPlugin(options: CustomMenuPluginOptions): Plugin<any>;
@@ -0,0 +1,14 @@
1
+ import { DropdownSubmenu, MenuElement } from 'prosemirror-menu';
2
+ import { EditorState } from 'prosemirror-state';
3
+ import { EditorView } from 'prosemirror-view';
4
+ export declare class SubMenuWithIcon extends DropdownSubmenu {
5
+ private icon;
6
+ constructor(content: readonly MenuElement[] | MenuElement, options: {
7
+ label?: string;
8
+ icon: () => HTMLElement;
9
+ });
10
+ render(view: EditorView): {
11
+ dom: HTMLElement;
12
+ update: (state: EditorState) => boolean;
13
+ };
14
+ }
@@ -0,0 +1,7 @@
1
+ import { MenuItem } from 'prosemirror-menu';
2
+ import { NodeType } from 'prosemirror-model';
3
+ import { Plugin } from 'prosemirror-state';
4
+ import { ModalService } from '../../../../../providers/modal/modal.service';
5
+ import { ContextMenuService } from '../context-menu/context-menu.service';
6
+ export declare function insertImageItem(nodeType: NodeType, modalService: ModalService): MenuItem;
7
+ export declare const imageContextMenuPlugin: (contextMenuService: ContextMenuService, modalService: ModalService) => Plugin<any>;
@@ -2,4 +2,4 @@ import { Plugin } from 'prosemirror-state';
2
2
  /**
3
3
  * Causes the entire link to be selected when clicked.
4
4
  */
5
- export declare const linkSelectPlugin: Plugin<any, any>;
5
+ export declare const linkSelectPlugin: Plugin<any>;
@@ -0,0 +1,7 @@
1
+ import { Plugin } from 'prosemirror-state';
2
+ import { ModalService } from '../../../../../providers/modal/modal.service';
3
+ import { ContextMenuService } from '../context-menu/context-menu.service';
4
+ /**
5
+ * Implements editing of raw HTML for the selected node in the editor.
6
+ */
7
+ export declare const rawEditorPlugin: (contextMenuService: ContextMenuService, modalService: ModalService) => Plugin<any>;
@@ -0,0 +1,13 @@
1
+ import { MenuElement } from 'prosemirror-menu';
2
+ import { Schema } from 'prosemirror-model';
3
+ import { Plugin } from 'prosemirror-state';
4
+ import { ContextMenuService } from '../context-menu/context-menu.service';
5
+ export declare const tableContextMenuPlugin: (contextMenuService: ContextMenuService) => Plugin<any>;
6
+ export declare function getTableNodes(): import("prosemirror-tables").TableNodes;
7
+ export declare function getTableMenu(schema: Schema): MenuElement[];
8
+ export declare function addTable(state: any, dispatch: any, { rowsCount, colsCount, withHeaderRow, cellContent }: {
9
+ rowsCount: any;
10
+ colsCount: any;
11
+ withHeaderRow: any;
12
+ cellContent: any;
13
+ }): void;
@@ -1,5 +1,7 @@
1
+ import { Injector } from '@angular/core';
1
2
  import { EditorView } from 'prosemirror-view';
2
- import { ModalService } from '../../../../providers/modal/modal.service';
3
+ import { Observable } from 'rxjs';
4
+ import { ContextMenuService } from './context-menu/context-menu.service';
3
5
  import * as i0 from "@angular/core";
4
6
  export interface CreateEditorViewOptions {
5
7
  onTextInput: (content: string) => void;
@@ -7,11 +9,13 @@ export interface CreateEditorViewOptions {
7
9
  isReadOnly: () => boolean;
8
10
  }
9
11
  export declare class ProsemirrorService {
10
- private modalService;
12
+ private injector;
13
+ private contextMenuService;
11
14
  editorView: EditorView;
12
15
  private mySchema;
13
16
  private enabled;
14
- constructor(modalService: ModalService);
17
+ constructor(injector: Injector, contextMenuService: ContextMenuService);
18
+ contextMenuItems$: Observable<string>;
15
19
  createEditorView(options: CreateEditorViewOptions): void;
16
20
  update(text: string): void;
17
21
  destroy(): void;
@@ -1,4 +1,3 @@
1
- import { MenuItem } from 'prosemirror-menu';
2
1
  import { Schema } from 'prosemirror-model';
3
2
  export interface SetupOptions {
4
3
  schema: Schema;
@@ -6,6 +5,5 @@ export interface SetupOptions {
6
5
  menuBar?: boolean;
7
6
  history?: boolean;
8
7
  floatingMenu?: boolean;
9
- menuContent?: MenuItem[][];
10
8
  }
11
9
  export declare type Keymap = Record<string, string | false>;
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { ConfigArgDefinition } from '../../../../common/generated-types';
4
+ import { Dialog } from '../../../../providers/modal/modal.types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class RawHtmlDialogComponent implements OnInit, Dialog<string> {
7
+ html: string;
8
+ formControl: FormControl;
9
+ config: ConfigArgDefinition;
10
+ resolveWith: (html: string | undefined) => void;
11
+ ngOnInit(): void;
12
+ process(str: string): string;
13
+ /**
14
+ * Taken from https://stackoverflow.com/a/26361620/772859
15
+ */
16
+ format(node: Element, level?: number): Element;
17
+ cancel(): void;
18
+ select(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<RawHtmlDialogComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<RawHtmlDialogComponent, "vdr-raw-html-dialog", never, {}, {}, never, never>;
21
+ }
@@ -1,5 +1,6 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, OnDestroy, ViewContainerRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ import { ContextMenuService } from './prosemirror/context-menu/context-menu.service';
3
4
  import { ProsemirrorService } from './prosemirror/prosemirror.service';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
@@ -19,6 +20,8 @@ import * as i0 from "@angular/core";
19
20
  export declare class RichTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
20
21
  private changeDetector;
21
22
  private prosemirrorService;
23
+ private viewContainerRef;
24
+ contextMenuService: ContextMenuService;
22
25
  label: string;
23
26
  set readonly(value: any);
24
27
  _readonly: boolean;
@@ -26,7 +29,8 @@ export declare class RichTextEditorComponent implements ControlValueAccessor, Af
26
29
  onTouch: () => void;
27
30
  private value;
28
31
  private editorEl;
29
- constructor(changeDetector: ChangeDetectorRef, prosemirrorService: ProsemirrorService);
32
+ constructor(changeDetector: ChangeDetectorRef, prosemirrorService: ProsemirrorService, viewContainerRef: ViewContainerRef, contextMenuService: ContextMenuService);
33
+ get menuElement(): HTMLDivElement;
30
34
  ngAfterViewInit(): void;
31
35
  ngOnDestroy(): void;
32
36
  registerOnChange(fn: any): void;
@@ -0,0 +1,30 @@
1
+ import { AfterViewInit, ChangeDetectorRef } from '@angular/core';
2
+ import { FormControl, ValidatorFn } from '@angular/forms';
3
+ import { DefaultFormComponentConfig } from '@vendure/common/lib/shared-types';
4
+ import { CodeJar } from 'codejar';
5
+ import { FormInputComponent } from '../../../common/component-registry-types';
6
+ import * as i0 from "@angular/core";
7
+ export interface CodeEditorConfig {
8
+ validator: ValidatorFn;
9
+ getErrorMessage: (content: string) => string | undefined;
10
+ highlight: (content: string, errorPos: number | undefined) => string;
11
+ }
12
+ export declare abstract class BaseCodeEditorFormInputComponent implements FormInputComponent, AfterViewInit {
13
+ protected changeDetector: ChangeDetectorRef;
14
+ readonly: boolean;
15
+ formControl: FormControl;
16
+ config: DefaultFormComponentConfig<'json-editor-form-input'>;
17
+ isValid: boolean;
18
+ errorMessage: string | undefined;
19
+ private editorElementRef;
20
+ jar: CodeJar;
21
+ private highlight;
22
+ private getErrorMessage;
23
+ protected constructor(changeDetector: ChangeDetectorRef);
24
+ get height(): string | undefined;
25
+ configure(config: CodeEditorConfig): void;
26
+ ngAfterViewInit(): void;
27
+ protected getErrorPos(errorMessage: string | undefined): number | undefined;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseCodeEditorFormInputComponent, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCodeEditorFormInputComponent, never, never, {}, {}, never>;
30
+ }
@@ -0,0 +1,22 @@
1
+ import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { DefaultFormComponentId } from '@vendure/common/lib/shared-types';
3
+ import { FormInputComponent } from '../../../common/component-registry-types';
4
+ import { BaseCodeEditorFormInputComponent } from './base-code-editor-form-input.component';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * @description
8
+ * A JSON editor input with syntax highlighting and error detection. Works well
9
+ * with `text` type fields.
10
+ *
11
+ * @docsCategory custom-input-components
12
+ * @docsPage default-inputs
13
+ */
14
+ export declare class HtmlEditorFormInputComponent extends BaseCodeEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
15
+ protected changeDetector: ChangeDetectorRef;
16
+ static readonly id: DefaultFormComponentId;
17
+ constructor(changeDetector: ChangeDetectorRef);
18
+ ngOnInit(): void;
19
+ private encodeHtmlChars;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<HtmlEditorFormInputComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorFormInputComponent, "vdr-html-editor-form-input", never, {}, {}, never, never>;
22
+ }
@@ -1,8 +1,8 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { FormControl, ValidatorFn } from '@angular/forms';
3
- import { DefaultFormComponentConfig, DefaultFormComponentId } from '@vendure/common/lib/shared-types';
4
- import { CodeJar } from 'codejar';
2
+ import { ValidatorFn } from '@angular/forms';
3
+ import { DefaultFormComponentId } from '@vendure/common/lib/shared-types';
5
4
  import { FormInputComponent } from '../../../common/component-registry-types';
5
+ import { BaseCodeEditorFormInputComponent } from './base-code-editor-form-input.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare function jsonValidator(): ValidatorFn;
8
8
  /**
@@ -13,23 +13,11 @@ export declare function jsonValidator(): ValidatorFn;
13
13
  * @docsCategory custom-input-components
14
14
  * @docsPage default-inputs
15
15
  */
16
- export declare class JsonEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
17
- private changeDetector;
16
+ export declare class JsonEditorFormInputComponent extends BaseCodeEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
17
+ protected changeDetector: ChangeDetectorRef;
18
18
  static readonly id: DefaultFormComponentId;
19
- readonly: boolean;
20
- formControl: FormControl;
21
- config: DefaultFormComponentConfig<'json-editor-form-input'>;
22
- isValid: boolean;
23
- errorMessage: string | undefined;
24
- private editorElementRef;
25
- jar: CodeJar;
26
19
  constructor(changeDetector: ChangeDetectorRef);
27
- get height(): string | undefined;
28
20
  ngOnInit(): void;
29
- ngAfterViewInit(): void;
30
- private getJsonError;
31
- private getErrorPos;
32
- private syntaxHighlight;
33
21
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonEditorFormInputComponent, never>;
34
22
  static ɵcmp: i0.ɵɵComponentDeclaration<JsonEditorFormInputComponent, "vdr-json-editor-form-input", never, {}, {}, never, never>;
35
23
  }
@@ -1,6 +1,7 @@
1
1
  import { FactoryProvider, Type } from '@angular/core';
2
2
  import { FormInputComponent } from '../../common/component-registry-types';
3
3
  import { CustomFieldControl, CustomFieldEntityName } from '../../providers/custom-field-component/custom-field-component.service';
4
+ import { HtmlEditorFormInputComponent } from './code-editor-form-input/html-editor-form-input.component';
4
5
  import { JsonEditorFormInputComponent } from './code-editor-form-input/json-editor-form-input.component';
5
6
  import { CombinationModeFormInputComponent } from './combination-mode-form-input/combination-mode-form-input.component';
6
7
  import { CurrencyFormInputComponent } from './currency-form-input/currency-form-input.component';
@@ -10,7 +11,7 @@ import { PasswordFormInputComponent } from './password-form-input/password-form-
10
11
  import { ProductMultiSelectorFormInputComponent } from './product-multi-selector-form-input/product-multi-selector-form-input.component';
11
12
  import { ProductSelectorFormInputComponent } from './product-selector-form-input/product-selector-form-input.component';
12
13
  import { SelectFormInputComponent } from './select-form-input/select-form-input.component';
13
- export declare const defaultFormInputs: (typeof JsonEditorFormInputComponent | typeof CombinationModeFormInputComponent | typeof CurrencyFormInputComponent | typeof CustomerGroupFormInputComponent | typeof FacetValueFormInputComponent | typeof PasswordFormInputComponent | typeof ProductMultiSelectorFormInputComponent | typeof ProductSelectorFormInputComponent | typeof SelectFormInputComponent)[];
14
+ export declare const defaultFormInputs: (typeof HtmlEditorFormInputComponent | typeof JsonEditorFormInputComponent | typeof CombinationModeFormInputComponent | typeof CurrencyFormInputComponent | typeof CustomerGroupFormInputComponent | typeof FacetValueFormInputComponent | typeof PasswordFormInputComponent | typeof ProductMultiSelectorFormInputComponent | typeof ProductSelectorFormInputComponent | typeof SelectFormInputComponent)[];
14
15
  /**
15
16
  * @description
16
17
  * Registers a custom FormInputComponent which can be used to control the argument inputs
@@ -92,37 +92,40 @@ import * as i87 from "./components/custom-detail-component-host/custom-detail-co
92
92
  import * as i88 from "./components/asset-preview-links/asset-preview-links.component";
93
93
  import * as i89 from "./components/product-multi-selector-dialog/product-multi-selector-dialog.component";
94
94
  import * as i90 from "./components/product-search-input/product-search-input.component";
95
- import * as i91 from "./dynamic-form-inputs/text-form-input/text-form-input.component";
96
- import * as i92 from "./dynamic-form-inputs/password-form-input/password-form-input.component";
97
- import * as i93 from "./dynamic-form-inputs/number-form-input/number-form-input.component";
98
- import * as i94 from "./dynamic-form-inputs/date-form-input/date-form-input.component";
99
- import * as i95 from "./dynamic-form-inputs/currency-form-input/currency-form-input.component";
100
- import * as i96 from "./dynamic-form-inputs/boolean-form-input/boolean-form-input.component";
101
- import * as i97 from "./dynamic-form-inputs/select-form-input/select-form-input.component";
102
- import * as i98 from "./dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component";
103
- import * as i99 from "./dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component";
104
- import * as i100 from "./dynamic-form-inputs/relation-form-input/relation-form-input.component";
105
- import * as i101 from "./dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component";
106
- import * as i102 from "./dynamic-form-inputs/relation-form-input/product/relation-product-input.component";
107
- import * as i103 from "./dynamic-form-inputs/relation-form-input/product-variant/relation-product-variant-input.component";
108
- import * as i104 from "./dynamic-form-inputs/relation-form-input/customer/relation-customer-input.component";
109
- import * as i105 from "./dynamic-form-inputs/relation-form-input/generic/relation-generic-input.component";
110
- import * as i106 from "./dynamic-form-inputs/textarea-form-input/textarea-form-input.component";
111
- import * as i107 from "./dynamic-form-inputs/rich-text-form-input/rich-text-form-input.component";
112
- import * as i108 from "./dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component";
113
- import * as i109 from "./dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component";
114
- import * as i110 from "./dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component";
115
- import * as i111 from "@clr/angular";
116
- import * as i112 from "@angular/common";
117
- import * as i113 from "@angular/forms";
118
- import * as i114 from "@angular/router";
119
- import * as i115 from "@ng-select/ng-select";
120
- import * as i116 from "ngx-pagination";
121
- import * as i117 from "@ngx-translate/core";
122
- import * as i118 from "@angular/cdk/overlay";
123
- import * as i119 from "@angular/cdk/drag-drop";
95
+ import * as i91 from "./components/rich-text-editor/prosemirror/context-menu/context-menu.component";
96
+ import * as i92 from "./components/rich-text-editor/raw-html-dialog/raw-html-dialog.component";
97
+ import * as i93 from "./dynamic-form-inputs/text-form-input/text-form-input.component";
98
+ import * as i94 from "./dynamic-form-inputs/password-form-input/password-form-input.component";
99
+ import * as i95 from "./dynamic-form-inputs/number-form-input/number-form-input.component";
100
+ import * as i96 from "./dynamic-form-inputs/date-form-input/date-form-input.component";
101
+ import * as i97 from "./dynamic-form-inputs/currency-form-input/currency-form-input.component";
102
+ import * as i98 from "./dynamic-form-inputs/boolean-form-input/boolean-form-input.component";
103
+ import * as i99 from "./dynamic-form-inputs/select-form-input/select-form-input.component";
104
+ import * as i100 from "./dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component";
105
+ import * as i101 from "./dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component";
106
+ import * as i102 from "./dynamic-form-inputs/relation-form-input/relation-form-input.component";
107
+ import * as i103 from "./dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component";
108
+ import * as i104 from "./dynamic-form-inputs/relation-form-input/product/relation-product-input.component";
109
+ import * as i105 from "./dynamic-form-inputs/relation-form-input/product-variant/relation-product-variant-input.component";
110
+ import * as i106 from "./dynamic-form-inputs/relation-form-input/customer/relation-customer-input.component";
111
+ import * as i107 from "./dynamic-form-inputs/relation-form-input/generic/relation-generic-input.component";
112
+ import * as i108 from "./dynamic-form-inputs/textarea-form-input/textarea-form-input.component";
113
+ import * as i109 from "./dynamic-form-inputs/rich-text-form-input/rich-text-form-input.component";
114
+ import * as i110 from "./dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component";
115
+ import * as i111 from "./dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component";
116
+ import * as i112 from "./dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component";
117
+ import * as i113 from "./dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component";
118
+ import * as i114 from "@clr/angular";
119
+ import * as i115 from "@angular/common";
120
+ import * as i116 from "@angular/forms";
121
+ import * as i117 from "@angular/router";
122
+ import * as i118 from "@ng-select/ng-select";
123
+ import * as i119 from "ngx-pagination";
124
+ import * as i120 from "@ngx-translate/core";
125
+ import * as i121 from "@angular/cdk/overlay";
126
+ import * as i122 from "@angular/cdk/drag-drop";
124
127
  export declare class SharedModule {
125
128
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
126
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.FocalPointControlComponent, typeof i61.AssetPreviewPipe, typeof i62.LinkDialogComponent, typeof i63.ExternalImageDialogComponent, typeof i64.TimeAgoPipe, typeof i65.DurationPipe, typeof i66.EmptyPlaceholderComponent, typeof i67.TimelineEntryComponent, typeof i68.HistoryEntryDetailComponent, typeof i69.EditNoteDialogComponent, typeof i70.ProductSelectorFormInputComponent, typeof i71.StateI18nTokenPipe, typeof i72.ProductVariantSelectorComponent, typeof i73.HelpTooltipComponent, typeof i74.CustomerGroupFormInputComponent, typeof i75.AddressFormComponent, typeof i76.LocaleDatePipe, typeof i77.LocaleCurrencyPipe, typeof i78.LocaleLanguageNamePipe, typeof i79.LocaleRegionNamePipe, typeof i80.TagSelectorComponent, typeof i81.ManageTagsDialogComponent, typeof i82.RelationSelectorDialogComponent, typeof i83.RelationCardComponent, typeof i84.StatusBadgeComponent, typeof i85.TabbedCustomFieldsComponent, typeof i86.UiExtensionPointComponent, typeof i87.CustomDetailComponentHostComponent, typeof i88.AssetPreviewLinksComponent, typeof i89.ProductMultiSelectorDialogComponent, typeof i90.ProductSearchInputComponent, typeof i91.TextFormInputComponent, typeof i92.PasswordFormInputComponent, typeof i93.NumberFormInputComponent, typeof i94.DateFormInputComponent, typeof i95.CurrencyFormInputComponent, typeof i96.BooleanFormInputComponent, typeof i97.SelectFormInputComponent, typeof i98.FacetValueFormInputComponent, typeof i99.DynamicFormInputComponent, typeof i100.RelationFormInputComponent, typeof i101.RelationAssetInputComponent, typeof i102.RelationProductInputComponent, typeof i103.RelationProductVariantInputComponent, typeof i104.RelationCustomerInputComponent, typeof i83.RelationCardPreviewDirective, typeof i83.RelationCardDetailDirective, typeof i82.RelationSelectorDialogComponent, typeof i105.RelationGenericInputComponent, typeof i106.TextareaFormInputComponent, typeof i107.RichTextFormInputComponent, typeof i108.JsonEditorFormInputComponent, typeof i109.ProductMultiSelectorFormInputComponent, typeof i110.CombinationModeFormInputComponent], [typeof i111.ClarityModule, typeof i112.CommonModule, typeof i113.FormsModule, typeof i113.ReactiveFormsModule, typeof i114.RouterModule, typeof i115.NgSelectModule, typeof i116.NgxPaginationModule, typeof i117.TranslateModule, typeof i118.OverlayModule, typeof i119.DragDropModule], [typeof i111.ClarityModule, typeof i112.CommonModule, typeof i113.FormsModule, typeof i113.ReactiveFormsModule, typeof i114.RouterModule, typeof i115.NgSelectModule, typeof i116.NgxPaginationModule, typeof i117.TranslateModule, typeof i118.OverlayModule, typeof i119.DragDropModule, typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.FocalPointControlComponent, typeof i61.AssetPreviewPipe, typeof i62.LinkDialogComponent, typeof i63.ExternalImageDialogComponent, typeof i64.TimeAgoPipe, typeof i65.DurationPipe, typeof i66.EmptyPlaceholderComponent, typeof i67.TimelineEntryComponent, typeof i68.HistoryEntryDetailComponent, typeof i69.EditNoteDialogComponent, typeof i70.ProductSelectorFormInputComponent, typeof i71.StateI18nTokenPipe, typeof i72.ProductVariantSelectorComponent, typeof i73.HelpTooltipComponent, typeof i74.CustomerGroupFormInputComponent, typeof i75.AddressFormComponent, typeof i76.LocaleDatePipe, typeof i77.LocaleCurrencyPipe, typeof i78.LocaleLanguageNamePipe, typeof i79.LocaleRegionNamePipe, typeof i80.TagSelectorComponent, typeof i81.ManageTagsDialogComponent, typeof i82.RelationSelectorDialogComponent, typeof i83.RelationCardComponent, typeof i84.StatusBadgeComponent, typeof i85.TabbedCustomFieldsComponent, typeof i86.UiExtensionPointComponent, typeof i87.CustomDetailComponentHostComponent, typeof i88.AssetPreviewLinksComponent, typeof i89.ProductMultiSelectorDialogComponent, typeof i90.ProductSearchInputComponent, typeof i91.TextFormInputComponent, typeof i92.PasswordFormInputComponent, typeof i93.NumberFormInputComponent, typeof i94.DateFormInputComponent, typeof i95.CurrencyFormInputComponent, typeof i96.BooleanFormInputComponent, typeof i97.SelectFormInputComponent, typeof i98.FacetValueFormInputComponent, typeof i99.DynamicFormInputComponent, typeof i100.RelationFormInputComponent, typeof i101.RelationAssetInputComponent, typeof i102.RelationProductInputComponent, typeof i103.RelationProductVariantInputComponent, typeof i104.RelationCustomerInputComponent, typeof i83.RelationCardPreviewDirective, typeof i83.RelationCardDetailDirective, typeof i82.RelationSelectorDialogComponent, typeof i105.RelationGenericInputComponent, typeof i106.TextareaFormInputComponent, typeof i107.RichTextFormInputComponent, typeof i108.JsonEditorFormInputComponent, typeof i109.ProductMultiSelectorFormInputComponent, typeof i110.CombinationModeFormInputComponent]>;
129
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.FocalPointControlComponent, typeof i61.AssetPreviewPipe, typeof i62.LinkDialogComponent, typeof i63.ExternalImageDialogComponent, typeof i64.TimeAgoPipe, typeof i65.DurationPipe, typeof i66.EmptyPlaceholderComponent, typeof i67.TimelineEntryComponent, typeof i68.HistoryEntryDetailComponent, typeof i69.EditNoteDialogComponent, typeof i70.ProductSelectorFormInputComponent, typeof i71.StateI18nTokenPipe, typeof i72.ProductVariantSelectorComponent, typeof i73.HelpTooltipComponent, typeof i74.CustomerGroupFormInputComponent, typeof i75.AddressFormComponent, typeof i76.LocaleDatePipe, typeof i77.LocaleCurrencyPipe, typeof i78.LocaleLanguageNamePipe, typeof i79.LocaleRegionNamePipe, typeof i80.TagSelectorComponent, typeof i81.ManageTagsDialogComponent, typeof i82.RelationSelectorDialogComponent, typeof i83.RelationCardComponent, typeof i84.StatusBadgeComponent, typeof i85.TabbedCustomFieldsComponent, typeof i86.UiExtensionPointComponent, typeof i87.CustomDetailComponentHostComponent, typeof i88.AssetPreviewLinksComponent, typeof i89.ProductMultiSelectorDialogComponent, typeof i90.ProductSearchInputComponent, typeof i91.ContextMenuComponent, typeof i92.RawHtmlDialogComponent, typeof i93.TextFormInputComponent, typeof i94.PasswordFormInputComponent, typeof i95.NumberFormInputComponent, typeof i96.DateFormInputComponent, typeof i97.CurrencyFormInputComponent, typeof i98.BooleanFormInputComponent, typeof i99.SelectFormInputComponent, typeof i100.FacetValueFormInputComponent, typeof i101.DynamicFormInputComponent, typeof i102.RelationFormInputComponent, typeof i103.RelationAssetInputComponent, typeof i104.RelationProductInputComponent, typeof i105.RelationProductVariantInputComponent, typeof i106.RelationCustomerInputComponent, typeof i83.RelationCardPreviewDirective, typeof i83.RelationCardDetailDirective, typeof i82.RelationSelectorDialogComponent, typeof i107.RelationGenericInputComponent, typeof i108.TextareaFormInputComponent, typeof i109.RichTextFormInputComponent, typeof i110.JsonEditorFormInputComponent, typeof i111.HtmlEditorFormInputComponent, typeof i112.ProductMultiSelectorFormInputComponent, typeof i113.CombinationModeFormInputComponent], [typeof i114.ClarityModule, typeof i115.CommonModule, typeof i116.FormsModule, typeof i116.ReactiveFormsModule, typeof i117.RouterModule, typeof i118.NgSelectModule, typeof i119.NgxPaginationModule, typeof i120.TranslateModule, typeof i121.OverlayModule, typeof i122.DragDropModule], [typeof i114.ClarityModule, typeof i115.CommonModule, typeof i116.FormsModule, typeof i116.ReactiveFormsModule, typeof i117.RouterModule, typeof i118.NgSelectModule, typeof i119.NgxPaginationModule, typeof i120.TranslateModule, typeof i121.OverlayModule, typeof i122.DragDropModule, typeof i1.ActionBarComponent, typeof i1.ActionBarLeftComponent, typeof i1.ActionBarRightComponent, typeof i2.AssetPreviewComponent, typeof i3.AssetPreviewDialogComponent, typeof i4.AssetSearchInputComponent, typeof i5.ConfigurableInputComponent, typeof i6.AffixedInputComponent, typeof i7.ChipComponent, typeof i8.CurrencyInputComponent, typeof i9.LocaleCurrencyNamePipe, typeof i10.CustomerLabelComponent, typeof i11.CustomFieldControlComponent, typeof i12.DataTableComponent, typeof i13.DataTableColumnComponent, typeof i14.FacetValueSelectorComponent, typeof i15.ItemsPerPageControlsComponent, typeof i16.PaginationControlsComponent, typeof i17.TableRowActionComponent, typeof i18.FacetValueChipComponent, typeof i19.FileSizePipe, typeof i20.FormFieldComponent, typeof i21.FormFieldControlDirective, typeof i22.FormItemComponent, typeof i23.ModalDialogComponent, typeof i24.PercentageSuffixInputComponent, typeof i25.DialogComponentOutletComponent, typeof i26.DialogButtonsDirective, typeof i27.DialogTitleDirective, typeof i28.SelectToggleComponent, typeof i29.LanguageSelectorComponent, typeof i30.RichTextEditorComponent, typeof i31.SimpleDialogComponent, typeof i32.TitleInputComponent, typeof i33.SentenceCasePipe, typeof i34.DropdownComponent, typeof i35.DropdownMenuComponent, typeof i36.SortPipe, typeof i37.DropdownTriggerDirective, typeof i38.DropdownItemDirective, typeof i39.OrderStateLabelComponent, typeof i40.FormattedAddressComponent, typeof i41.LabeledDataComponent, typeof i42.StringToColorPipe, typeof i43.ObjectTreeComponent, typeof i44.IfPermissionsDirective, typeof i45.IfMultichannelDirective, typeof i46.HasPermissionPipe, typeof i47.ActionBarItemsComponent, typeof i48.DisabledDirective, typeof i49.AssetFileInputComponent, typeof i50.AssetGalleryComponent, typeof i51.AssetPickerDialogComponent, typeof i52.EntityInfoComponent, typeof i53.DatetimePickerComponent, typeof i54.ChannelBadgeComponent, typeof i55.ChannelAssignmentControlComponent, typeof i56.ChannelLabelPipe, typeof i57.IfDefaultChannelActiveDirective, typeof i58.ExtensionHostComponent, typeof i59.CustomFieldLabelPipe, typeof i60.FocalPointControlComponent, typeof i61.AssetPreviewPipe, typeof i62.LinkDialogComponent, typeof i63.ExternalImageDialogComponent, typeof i64.TimeAgoPipe, typeof i65.DurationPipe, typeof i66.EmptyPlaceholderComponent, typeof i67.TimelineEntryComponent, typeof i68.HistoryEntryDetailComponent, typeof i69.EditNoteDialogComponent, typeof i70.ProductSelectorFormInputComponent, typeof i71.StateI18nTokenPipe, typeof i72.ProductVariantSelectorComponent, typeof i73.HelpTooltipComponent, typeof i74.CustomerGroupFormInputComponent, typeof i75.AddressFormComponent, typeof i76.LocaleDatePipe, typeof i77.LocaleCurrencyPipe, typeof i78.LocaleLanguageNamePipe, typeof i79.LocaleRegionNamePipe, typeof i80.TagSelectorComponent, typeof i81.ManageTagsDialogComponent, typeof i82.RelationSelectorDialogComponent, typeof i83.RelationCardComponent, typeof i84.StatusBadgeComponent, typeof i85.TabbedCustomFieldsComponent, typeof i86.UiExtensionPointComponent, typeof i87.CustomDetailComponentHostComponent, typeof i88.AssetPreviewLinksComponent, typeof i89.ProductMultiSelectorDialogComponent, typeof i90.ProductSearchInputComponent, typeof i91.ContextMenuComponent, typeof i92.RawHtmlDialogComponent, typeof i93.TextFormInputComponent, typeof i94.PasswordFormInputComponent, typeof i95.NumberFormInputComponent, typeof i96.DateFormInputComponent, typeof i97.CurrencyFormInputComponent, typeof i98.BooleanFormInputComponent, typeof i99.SelectFormInputComponent, typeof i100.FacetValueFormInputComponent, typeof i101.DynamicFormInputComponent, typeof i102.RelationFormInputComponent, typeof i103.RelationAssetInputComponent, typeof i104.RelationProductInputComponent, typeof i105.RelationProductVariantInputComponent, typeof i106.RelationCustomerInputComponent, typeof i83.RelationCardPreviewDirective, typeof i83.RelationCardDetailDirective, typeof i82.RelationSelectorDialogComponent, typeof i107.RelationGenericInputComponent, typeof i108.TextareaFormInputComponent, typeof i109.RichTextFormInputComponent, typeof i110.JsonEditorFormInputComponent, typeof i111.HtmlEditorFormInputComponent, typeof i112.ProductMultiSelectorFormInputComponent, typeof i113.CombinationModeFormInputComponent]>;
127
130
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
128
131
  }