@bizdoc/core 2.3.23 → 2.3.26

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.
@@ -7,8 +7,9 @@ export declare const FAMILY_SVG: {
7
7
  Azure: string;
8
8
  SAP: string;
9
9
  Mfg: string;
10
+ HiBob: string;
10
11
  Priority: string;
11
- 'Active Directory': string;
12
+ ActiveDirectory: string;
12
13
  Amazon: string;
13
14
  Google: string;
14
15
  Okta: string;
@@ -80,6 +81,7 @@ export interface TemplateInfo {
80
81
  key?: string;
81
82
  icon?: string;
82
83
  family?: string;
84
+ familyKey?: string;
83
85
  help?: string;
84
86
  type?: string;
85
87
  arguments?: FieldInfo[];
@@ -100,6 +102,7 @@ export interface ElementModel<T = any> {
100
102
  resourceType?: string;
101
103
  copyOf?: string;
102
104
  family?: string;
105
+ familyKey?: string;
103
106
  type?: string;
104
107
  name: string;
105
108
  title: LocalizedString;
@@ -41,12 +41,13 @@ export declare class DesignerItemComponent implements AfterViewInit, OnChanges,
41
41
  private _sanitizer;
42
42
  private _ref;
43
43
  private _cfr;
44
- readonly svg: {
44
+ readonly SVG: {
45
45
  Azure: string;
46
46
  SAP: string;
47
47
  Mfg: string;
48
+ HiBob: string;
48
49
  Priority: string;
49
- 'Active Directory': string;
50
+ ActiveDirectory: string;
50
51
  Amazon: string;
51
52
  Google: string;
52
53
  Okta: string;
@@ -1,43 +1,56 @@
1
1
  import { CdkDragDrop } from "@angular/cdk/drag-drop";
2
2
  import { ComponentType } from "@angular/cdk/portal";
3
- import { ElementRef, Injector, OnInit } from "@angular/core";
3
+ import { ElementRef, Injector, OnInit, TemplateRef } from "@angular/core";
4
4
  import { MatMenuTrigger } from "@angular/material/menu";
5
5
  import { UtilityComponent } from "../../core/base";
6
6
  import { PromptService } from "../../core/prompt.service";
7
7
  import { SessionService } from "../../core/session.service";
8
8
  import { PanesRouter } from "../../core/slots/router.service";
9
9
  import { TranslateService } from "../../core/translate.service";
10
+ import { Popup } from '../../core/popup/popup.service';
10
11
  import { UtilityRef } from "../utility-ref";
11
12
  import { ElementModel, DesignerModel, TemplateInfo } from "./declarations";
13
+ import { FormBuilder } from "@angular/forms";
12
14
  import * as i0 from "@angular/core";
13
15
  /** */
14
16
  export declare class ConfigurationDesignerComponent implements UtilityComponent, OnInit {
15
17
  private _panes;
18
+ private _fb;
16
19
  private _translate;
17
20
  private _ps;
18
21
  private _session;
19
22
  private _element;
20
23
  private _injector;
24
+ private _popup;
21
25
  private _ref;
22
- searchBy: string;
23
- private _searchBy;
26
+ filters: TemplateRef<any>;
27
+ searchBy: number;
24
28
  loading: boolean;
25
29
  saving: boolean;
26
30
  dirty: boolean;
27
31
  model: DesignerModel;
28
- private _typingTimer;
29
- private _clearTimer;
30
32
  sections: Section[];
31
- constructor(_panes: PanesRouter, _translate: TranslateService, _ps: PromptService, _session: SessionService, _element: ElementRef<HTMLDivElement>, _injector: Injector, _ref: UtilityRef<boolean, DesignerModel, DesignerModel>);
33
+ families: string[];
34
+ readonly form: import("@angular/forms").FormGroup<{
35
+ contains: import("@angular/forms").FormControl<string>;
36
+ sections: import("@angular/forms").FormControl<string[]>;
37
+ family: import("@angular/forms").FormControl<string>;
38
+ }>;
39
+ private _typingTimer;
40
+ constructor(_panes: PanesRouter, _fb: FormBuilder, _translate: TranslateService, _ps: PromptService, _session: SessionService, _element: ElementRef<HTMLDivElement>, _injector: Injector, _popup: Popup, _ref: UtilityRef<boolean, DesignerModel, DesignerModel>);
32
41
  ngOnInit(): void;
33
42
  drop(event: CdkDragDrop<ElementModel[]>): void;
34
43
  /**
35
- * Ctrl-s save, search
44
+ * Ctrl-s save
36
45
  * @param event
37
46
  */
38
47
  handleKeyboardEvent(event: KeyboardEvent): void;
39
48
  clearSearch(): void;
40
- private _filter;
49
+ /**
50
+ *
51
+ * @param evt
52
+ */
53
+ filter(evt: Event): void;
41
54
  /**
42
55
  *
43
56
  * @param section
@@ -62,7 +75,7 @@ interface Section {
62
75
  type: string;
63
76
  title?: string;
64
77
  elements: ElementModel[];
65
- templates: TemplateInfo[];
78
+ templates?: TemplateInfo[];
66
79
  hide?: boolean;
67
80
  }
68
81
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "2.3.23",
3
+ "version": "2.3.26",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",