@bizdoc/core 1.17.1 → 1.17.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/themes/brown.min.css +1 -1
- package/assets/themes/dark.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2020/lib/admin/architecture/cube-axes-filter.component.mjs +3 -3
- package/esm2020/lib/admin/architecture/declarations.mjs +11 -4
- package/esm2020/lib/admin/architecture/designer-element.component.mjs +3 -3
- package/esm2020/lib/admin/architecture/designer-privileges.component.mjs +12 -8
- package/esm2020/lib/admin/architecture/designer.base.mjs +2 -1
- package/esm2020/lib/admin/architecture/designer.component.mjs +12 -6
- package/esm2020/lib/admin/architecture/elements/action.component.mjs +2 -2
- package/esm2020/lib/admin/architecture/elements/analysis-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/analysis-widget.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/attribute.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/control.component.mjs +7 -5
- package/esm2020/lib/admin/architecture/elements/cube-index-utility.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/cube-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/cube.component.mjs +3 -3
- package/esm2020/lib/admin/architecture/elements/documents-report.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/documents-widget.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/explore-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/feedback-widget.component.mjs +7 -6
- package/esm2020/lib/admin/architecture/elements/folder.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/form-invite.dialog.mjs +44 -33
- package/esm2020/lib/admin/architecture/elements/form.component.mjs +10 -8
- package/esm2020/lib/admin/architecture/elements/matrix-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/parallel-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/performance-report.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/performance-widget.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/pivot-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/report.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/rule.component.mjs +1 -1
- package/esm2020/lib/admin/architecture/elements/state.component.mjs +2 -2
- package/esm2020/lib/admin/architecture/elements/sum-view.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/tasks-report.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/usage-report.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/widget.component.mjs +5 -4
- package/esm2020/lib/admin/core/localized-string.component.mjs +1 -1
- package/esm2020/lib/admin/form/designer/box-designer.component.mjs +4 -5
- package/esm2020/lib/admin/form/designer/properties.component.mjs +3 -2
- package/esm2020/lib/admin/form/designer/section.component.mjs +3 -3
- package/esm2020/lib/admin/patterns/patterns.component.mjs +3 -3
- package/esm2020/lib/admin/system.service.mjs +1 -1
- package/esm2020/lib/compose/box/box.component.mjs +5 -5
- package/esm2020/lib/core/fields/autocomplete.field.mjs +4 -4
- package/esm2020/lib/core/fields/checklist.designer.mjs +11 -11
- package/esm2020/lib/core/fields/checklist.field.mjs +17 -24
- package/esm2020/lib/core/fields/localized-string.field.mjs +21 -0
- package/esm2020/lib/core/fields/options.base.mjs +41 -0
- package/esm2020/lib/core/fields/options.component.mjs +3 -3
- package/esm2020/lib/core/fields/radio-button.designer.mjs +13 -10
- package/esm2020/lib/core/fields/radio-button.field.mjs +16 -23
- package/esm2020/lib/core/fields/select.designer.mjs +16 -15
- package/esm2020/lib/core/fields/select.field.mjs +18 -31
- package/esm2020/lib/core/fields/signature.designer.mjs +3 -1
- package/esm2020/lib/core/fields/signature.field.mjs +3 -3
- package/esm2020/lib/core/fields/yesno.designer.mjs +6 -5
- package/esm2020/lib/core/layout.component.mjs +5 -1
- package/esm2020/lib/core/models.mjs +2 -1
- package/esm2020/lib/core/slots/slots.component.mjs +3 -3
- package/esm2020/lib/core/translations.mjs +28 -108
- package/esm2020/lib/cube/filter/filter.component.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +36 -13
- package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +1 -1
- package/esm2020/lib/notifications/types/commented.notification.mjs +1 -1
- package/esm2020/lib/notifications/types/escalated.notification.mjs +1 -1
- package/esm2020/lib/notifications/types/invite.notification.mjs +11 -3
- package/esm2020/lib/notifications/types/liked.notification.mjs +1 -1
- package/esm2020/lib/notifications/types/long-running-task.notification.mjs +3 -3
- package/esm2020/lib/notifications/types/nudge.notification.mjs +1 -1
- package/esm2020/lib/notifications/types/state-changed.notification.mjs +2 -2
- package/esm2020/lib/notifications/types/tagged.notification.mjs +2 -2
- package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +1 -1
- package/esm2020/lib/reports/arguments-component.mjs +1 -1
- package/esm2020/lib/reports/report-ref.mjs +4 -2
- package/esm2020/lib/reports/report-viewer.component.mjs +4 -2
- package/esm2020/lib/system.module.mjs +110 -9
- package/fesm2015/bizdoc-core.mjs +1133 -1016
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +1127 -1010
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/declarations.d.ts +4 -3
- package/lib/admin/architecture/designer.component.d.ts +1 -0
- package/lib/admin/architecture/elements/control.component.d.ts +1 -0
- package/lib/admin/architecture/elements/cube.component.d.ts +1 -1
- package/lib/admin/architecture/elements/form-invite.dialog.d.ts +6 -5
- package/lib/admin/architecture/elements/rule.component.d.ts +1 -2
- package/lib/admin/core/localized-string.component.d.ts +2 -2
- package/lib/admin/system.service.d.ts +7 -1
- package/lib/core/fields/checklist.designer.d.ts +7 -10
- package/lib/core/fields/checklist.field.d.ts +2 -13
- package/lib/core/fields/localized-string.field.d.ts +16 -0
- package/lib/core/fields/options.base.d.ts +28 -0
- package/lib/core/fields/radio-button.designer.d.ts +6 -6
- package/lib/core/fields/radio-button.field.d.ts +2 -13
- package/lib/core/fields/select.designer.d.ts +5 -6
- package/lib/core/fields/select.field.d.ts +2 -16
- package/lib/core/models.d.ts +4 -0
- package/lib/core/translations.d.ts +19 -99
- package/lib/dashboard/cube/cube-analysis.widget.d.ts +2 -1
- package/lib/notifications/types/commented.notification.d.ts +0 -1
- package/lib/notifications/types/escalated.notification.d.ts +0 -1
- package/lib/notifications/types/invite.notification.d.ts +4 -5
- package/lib/notifications/types/liked.notification.d.ts +0 -1
- package/lib/notifications/types/long-running-task.notification.d.ts +1 -1
- package/lib/notifications/types/nudge.notification.d.ts +0 -1
- package/lib/notifications/types/state-changed.notification.d.ts +0 -2
- package/lib/notifications/types/tagged.notification.d.ts +0 -2
- package/lib/notifications/types/upcoming-event.notification.d.ts +0 -1
- package/lib/reports/report-ref.d.ts +3 -1
- package/lib/system.module.d.ts +35 -34
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Injector } from "@angular/core";
|
2
2
|
import { FormGroup } from "@angular/forms";
|
3
3
|
import { ScopeType } from "../../core/configuration";
|
4
|
-
import { AxesMap, ChartType, CubeFilter, FieldInfo, FolderColumn, GuideStep, PositionPolicy, ViewType } from "../../core/models";
|
4
|
+
import { AxesMap, ChartType, CubeFilter, FieldInfo, FolderColumn, GuideStep, LocalizedString, PositionPolicy, ViewType } from "../../core/models";
|
5
5
|
import { Subject } from "rxjs";
|
6
6
|
export declare const FAMILY_SVG: {
|
7
7
|
Azure: string;
|
@@ -92,7 +92,7 @@ export interface ElementModel<T = any> {
|
|
92
92
|
configurationFile?: string;
|
93
93
|
template?: string;
|
94
94
|
icon?: string;
|
95
|
-
|
95
|
+
resourceType?: string;
|
96
96
|
copyOf?: string;
|
97
97
|
family?: string;
|
98
98
|
type?: string;
|
@@ -220,9 +220,10 @@ export interface ElementInfo<T = any> {
|
|
220
220
|
type?: string;
|
221
221
|
key?: string;
|
222
222
|
name: string;
|
223
|
-
title:
|
223
|
+
title: LocalizedString;
|
224
224
|
disabled?: boolean;
|
225
225
|
draft?: boolean;
|
226
226
|
empty?: boolean;
|
227
227
|
options?: T;
|
228
228
|
}
|
229
|
+
export declare function localizeString(value: LocalizedString): string | null;
|
@@ -43,6 +43,7 @@ export declare class ConfigurationDesignerComponent implements UtilityComponent,
|
|
43
43
|
private _createInjector;
|
44
44
|
add(section: Section, menu: MatMenuTrigger, evt: Event): void;
|
45
45
|
create(section: Section, template: TemplateInfo): void;
|
46
|
+
remove(section: Section, element: ElementModel): void;
|
46
47
|
copy(section: Section, element: ElementModel): void;
|
47
48
|
edit(element: ElementModel, section: Section): void;
|
48
49
|
toggleDisabled(element: ElementModel): void;
|
@@ -5,6 +5,7 @@ export declare class ControlDesignComponent extends DesignerTypeElementComponent
|
|
5
5
|
datatypes: ElementInfo[];
|
6
6
|
readonly form: import("@angular/forms").FormGroup<{
|
7
7
|
dataType: import("@angular/forms").FormControl<any>;
|
8
|
+
visible: import("@angular/forms").FormControl<unknown>;
|
8
9
|
}>;
|
9
10
|
ngOnInit(): void;
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ControlDesignComponent, never>;
|
@@ -44,7 +44,7 @@ export declare class CubeDesignComponent extends DesignerTypeElementComponent im
|
|
44
44
|
newAxis(model?: CubeAxisModel): any;
|
45
45
|
newIndex(model?: CubeIndexModel): any;
|
46
46
|
newPattern(model?: PatternModel): any;
|
47
|
-
datatype(name: string):
|
47
|
+
datatype(name: string): import("@bizdoc/core").LocalizedString;
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeDesignComponent, never>;
|
49
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<CubeDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
50
50
|
}
|
@@ -2,7 +2,6 @@ import { OnInit } from "@angular/core";
|
|
2
2
|
import { FormBuilder } from "@angular/forms";
|
3
3
|
import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
4
4
|
import { PromptService } from "../../../core/prompt.service";
|
5
|
-
import { SessionService } from "../../../core/session.service";
|
6
5
|
import { PaneRef } from "../../../core/slots/pane-ref";
|
7
6
|
import { InviteDevice, Role, SystemService } from "../../system.service";
|
8
7
|
import { DesignerRef } from "../declarations";
|
@@ -12,22 +11,24 @@ export declare class FormInviteDialog implements OnInit {
|
|
12
11
|
private _service;
|
13
12
|
private _ps;
|
14
13
|
private _ref;
|
15
|
-
private _session;
|
16
14
|
private _pane;
|
17
15
|
readonly separatorKeysCodes: number[];
|
18
|
-
readonly groups: import("@angular/forms").FormControl<any
|
16
|
+
readonly groups: import("@angular/forms").FormControl<any>;
|
19
17
|
readonly devices: InviteDevice[];
|
20
18
|
readonly form: import("@angular/forms").FormGroup<{
|
21
|
-
groups: import("@angular/forms").FormControl<any
|
19
|
+
groups: import("@angular/forms").FormControl<any>;
|
22
20
|
devices: import("@angular/forms").FormControl<InviteDevice[]>;
|
23
21
|
due: import("@angular/forms").FormControl<any>;
|
22
|
+
oneTime: import("@angular/forms").FormControl<boolean>;
|
24
23
|
message: import("@angular/forms").FormControl<string>;
|
25
24
|
}>;
|
25
|
+
private _searchchange;
|
26
|
+
/** all BizDoc roles and user groups */
|
26
27
|
private _roles;
|
27
28
|
roles: Role[];
|
28
29
|
readonly search: import("@angular/forms").FormControl<any>;
|
29
30
|
working: boolean;
|
30
|
-
constructor(_fb: FormBuilder, _service: SystemService, _ps: PromptService, _ref: DesignerRef,
|
31
|
+
constructor(_fb: FormBuilder, _service: SystemService, _ps: PromptService, _ref: DesignerRef, _pane: PaneRef);
|
31
32
|
ngOnInit(): void;
|
32
33
|
/**
|
33
34
|
*
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
2
1
|
import { DesignerTypeElementComponent } from "../designer.base";
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
export declare class RuleDesignComponent extends DesignerTypeElementComponent {
|
5
|
-
readonly form: FormGroup<{}>;
|
4
|
+
readonly form: import("@angular/forms").FormGroup<{}>;
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleDesignComponent, never>;
|
7
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<RuleDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
8
7
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OnInit, OnDestroy } from "@angular/core";
|
2
|
-
import {
|
2
|
+
import { FormBuilder, FormControl, NgControl, ControlValueAccessor } from "@angular/forms";
|
3
3
|
import { MatInput } from "@angular/material/input";
|
4
4
|
import { Subject } from "rxjs";
|
5
5
|
import { SessionService } from "../../core/session.service";
|
@@ -13,7 +13,7 @@ export declare class LocalizedStringComponent implements OnInit, ControlValueAcc
|
|
13
13
|
private static nextId;
|
14
14
|
class: string;
|
15
15
|
control: FormControl;
|
16
|
-
readonly group: FormGroup<{}>;
|
16
|
+
readonly group: import("@angular/forms").FormGroup<{}>;
|
17
17
|
readonly languages: string[];
|
18
18
|
multilingual: boolean;
|
19
19
|
controlInput: MatInput;
|
@@ -30,7 +30,13 @@ export declare class SystemService {
|
|
30
30
|
message?: string;
|
31
31
|
devices: InviteDevice[];
|
32
32
|
due?: Date;
|
33
|
-
}): Observable<
|
33
|
+
}): Observable<{
|
34
|
+
target: number;
|
35
|
+
ok: number;
|
36
|
+
im?: number;
|
37
|
+
email?: number;
|
38
|
+
sms?: number;
|
39
|
+
}>;
|
34
40
|
projection(options: {
|
35
41
|
groups: string[];
|
36
42
|
}): Observable<any>;
|
@@ -1,22 +1,19 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
1
|
import { FormBuilder } from '@angular/forms';
|
3
2
|
import { ControlDesigner } from '../base';
|
4
|
-
import { LocalizedString
|
3
|
+
import { LocalizedString } from '../models';
|
5
4
|
import { SessionService } from '../session.service';
|
5
|
+
import { OptionsControlDesigner } from './options.base';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
export declare class ChecklistControlDesigner implements ControlDesigner<ChecklistModel
|
8
|
-
private _session;
|
7
|
+
export declare class ChecklistControlDesigner extends OptionsControlDesigner implements ControlDesigner<ChecklistModel> {
|
9
8
|
private _fb;
|
10
|
-
|
9
|
+
model: ChecklistModel;
|
11
10
|
readonly form: import("@angular/forms").FormGroup<{
|
12
11
|
label: import("@angular/forms").FormControl<unknown>;
|
13
|
-
multiple: import("@angular/forms").FormControl<
|
14
|
-
dataType: import("@angular/forms").FormControl<
|
12
|
+
multiple: import("@angular/forms").FormControl<boolean>;
|
13
|
+
dataType: import("@angular/forms").FormControl<any>;
|
15
14
|
hint: import("@angular/forms").FormControl<unknown>;
|
16
15
|
}>;
|
17
|
-
|
18
|
-
constructor(_session: SessionService, _fb: FormBuilder);
|
19
|
-
ngOnInit(): void;
|
16
|
+
constructor(session: SessionService, _fb: FormBuilder);
|
20
17
|
onBind(model: ChecklistModel): void;
|
21
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChecklistControlDesigner, never>;
|
22
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChecklistControlDesigner, "ng-component", never, {}, {}, never, never, false>;
|
@@ -3,29 +3,18 @@ import { FormControl } from '@angular/forms';
|
|
3
3
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
4
4
|
import { MatSelectionList } from '@angular/material/list';
|
5
5
|
import { ControlComponent, ViewMode } from '../base';
|
6
|
-
import {
|
7
|
-
import { LocalizedString } from '../models';
|
6
|
+
import { OptionsControlField } from './options.base';
|
8
7
|
import * as i0 from "@angular/core";
|
9
|
-
export declare class ChecklistField implements ControlComponent, OnInit {
|
10
|
-
private _ds;
|
8
|
+
export declare class ChecklistField extends OptionsControlField implements ControlComponent, OnInit {
|
11
9
|
appearance: MatFormFieldAppearance;
|
12
|
-
options?: {
|
13
|
-
key: string;
|
14
|
-
value: LocalizedString;
|
15
|
-
}[];
|
16
10
|
readonly control: FormControl<any>;
|
17
11
|
params: any;
|
18
12
|
input: MatSelectionList;
|
19
|
-
constructor(_ds: DatasourceService);
|
20
13
|
mode: ViewMode;
|
21
14
|
multiple?: boolean;
|
22
|
-
dataType: string;
|
23
15
|
hint?: string;
|
24
16
|
label: string;
|
25
|
-
required?: boolean;
|
26
|
-
ngOnInit(): void;
|
27
17
|
focus(): void;
|
28
|
-
optionOf(value: any): void;
|
29
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChecklistField, never>;
|
30
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChecklistField, "ng-component", never, { "params": "params"; }, {}, never, never, false>;
|
31
20
|
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormControl } from '@angular/forms';
|
3
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
4
|
+
import { ControlComponent, ViewMode } from '../base';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class LocalizedStringField implements ControlComponent<any>, OnInit {
|
7
|
+
appearance: MatFormFieldAppearance;
|
8
|
+
mode: ViewMode;
|
9
|
+
placeholder?: string;
|
10
|
+
required?: boolean;
|
11
|
+
readonly control: FormControl<any>;
|
12
|
+
focus(): void;
|
13
|
+
ngOnInit(): void;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedStringField, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocalizedStringField, "ng-component", never, {}, {}, never, never, false>;
|
16
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { AbstractControl, FormControl, ValidationErrors } from '@angular/forms';
|
2
|
+
import { DatasourceService } from '../datasource.service';
|
3
|
+
import { LocalizedString, Type } from '../models';
|
4
|
+
import { SessionService } from '../session.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare abstract class OptionsControlField {
|
7
|
+
private _ds;
|
8
|
+
abstract readonly control: FormControl;
|
9
|
+
dataType?: string;
|
10
|
+
required?: boolean;
|
11
|
+
options?: {
|
12
|
+
key: string;
|
13
|
+
value: LocalizedString;
|
14
|
+
}[];
|
15
|
+
constructor(_ds: DatasourceService);
|
16
|
+
ngOnInit(): void;
|
17
|
+
optionOf(value: any): LocalizedString;
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsControlField, never>;
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsControlField, never, never, {}, {}, never, never, false>;
|
20
|
+
}
|
21
|
+
export declare abstract class OptionsControlDesigner {
|
22
|
+
private _session;
|
23
|
+
readonly _typeRequired: (control: AbstractControl) => ValidationErrors | null;
|
24
|
+
readonly datatypes: Type[];
|
25
|
+
constructor(_session: SessionService);
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsControlDesigner, never>;
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsControlDesigner, never, never, {}, {}, never, never, false>;
|
28
|
+
}
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { FormBuilder } from "@angular/forms";
|
2
2
|
import { ControlDesigner } from "../base";
|
3
|
-
import { LocalizedString
|
3
|
+
import { LocalizedString } from "../models";
|
4
4
|
import { SessionService } from "../session.service";
|
5
|
+
import { OptionsControlDesigner } from "./options.base";
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class RadioButtonControlDesigner implements ControlDesigner<RadioButtonModel> {
|
7
|
-
private _session;
|
7
|
+
export declare class RadioButtonControlDesigner extends OptionsControlDesigner implements ControlDesigner<RadioButtonModel> {
|
8
8
|
private _fb;
|
9
|
-
readonly datatypes: Type[];
|
10
9
|
readonly form: import("@angular/forms").FormGroup<{
|
11
10
|
label: import("@angular/forms").FormControl<unknown>;
|
12
|
-
dataType: import("@angular/forms").FormControl<
|
11
|
+
dataType: import("@angular/forms").FormControl<any>;
|
12
|
+
hint: import("@angular/forms").FormControl<unknown>;
|
13
13
|
}>;
|
14
14
|
model: RadioButtonModel;
|
15
|
-
constructor(
|
15
|
+
constructor(session: SessionService, _fb: FormBuilder);
|
16
16
|
onBind(model: RadioButtonModel): void;
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonControlDesigner, never>;
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonControlDesigner, "ng-component", never, {}, {}, never, never, false>;
|
@@ -2,26 +2,15 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
3
3
|
import { MatRadioButton } from '@angular/material/radio';
|
4
4
|
import { ControlComponent, ViewMode } from '../base';
|
5
|
-
import {
|
6
|
-
import { LocalizedString } from '../models';
|
5
|
+
import { OptionsControlField } from './options.base';
|
7
6
|
import * as i0 from "@angular/core";
|
8
|
-
export declare class RadioButtonField implements ControlComponent, OnInit {
|
9
|
-
private _ds;
|
7
|
+
export declare class RadioButtonField extends OptionsControlField implements ControlComponent, OnInit {
|
10
8
|
mode: ViewMode;
|
11
9
|
hint?: string;
|
12
10
|
label?: string;
|
13
|
-
options?: {
|
14
|
-
key: string;
|
15
|
-
value: LocalizedString;
|
16
|
-
}[];
|
17
|
-
dataType?: string;
|
18
|
-
required?: boolean;
|
19
11
|
input: MatRadioButton;
|
20
12
|
readonly control: FormControl<boolean>;
|
21
13
|
focus(): void;
|
22
|
-
ngOnInit(): void;
|
23
|
-
optionOf(value: any): void;
|
24
|
-
constructor(_ds: DatasourceService);
|
25
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonField, never>;
|
26
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonField, "ng-component", never, {}, {}, never, never, false>;
|
27
16
|
}
|
@@ -1,21 +1,20 @@
|
|
1
1
|
import { FormBuilder } from '@angular/forms';
|
2
2
|
import { ControlDesigner } from '../base';
|
3
|
-
import { LocalizedString
|
3
|
+
import { LocalizedString } from '../models';
|
4
4
|
import { SessionService } from '../session.service';
|
5
|
+
import { OptionsControlDesigner } from './options.base';
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class SelectControlDesigner implements ControlDesigner<SelectModel> {
|
7
|
-
private _session;
|
7
|
+
export declare class SelectControlDesigner extends OptionsControlDesigner implements ControlDesigner<SelectModel> {
|
8
8
|
private _fb;
|
9
9
|
readonly form: import("@angular/forms").FormGroup<{
|
10
10
|
label: import("@angular/forms").FormControl<unknown>;
|
11
11
|
placeholder: import("@angular/forms").FormControl<unknown>;
|
12
12
|
autocomplete: import("@angular/forms").FormControl<unknown>;
|
13
13
|
multiple: import("@angular/forms").FormControl<unknown>;
|
14
|
-
dataType: import("@angular/forms").FormControl<
|
14
|
+
dataType: import("@angular/forms").FormControl<any>;
|
15
15
|
}>;
|
16
|
-
readonly datatypes: Type[];
|
17
16
|
model: SelectModel;
|
18
|
-
constructor(
|
17
|
+
constructor(session: SessionService, _fb: FormBuilder);
|
19
18
|
onBind?(model: SelectModel): void;
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectControlDesigner, never>;
|
21
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectControlDesigner, "ng-component", never, {}, {}, never, never, false>;
|
@@ -2,34 +2,20 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
3
3
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
4
4
|
import { MatSelect } from '@angular/material/select';
|
5
|
-
import { Observable } from 'rxjs';
|
6
5
|
import { ControlComponent, ViewMode } from '../base';
|
7
|
-
import {
|
8
|
-
import { DatasourceService } from '../datasource.service';
|
9
|
-
import { LocalizedString } from '../models';
|
6
|
+
import { OptionsControlField } from './options.base';
|
10
7
|
import * as i0 from "@angular/core";
|
11
|
-
export declare class SelectField implements ControlComponent<any>, OnInit {
|
12
|
-
private _ds;
|
8
|
+
export declare class SelectField extends OptionsControlField implements ControlComponent<any>, OnInit {
|
13
9
|
params: any;
|
14
10
|
multiple?: boolean;
|
15
11
|
autocomplete?: boolean;
|
16
12
|
placeholder?: string;
|
17
13
|
hint?: string;
|
18
|
-
dataType?: string;
|
19
14
|
label?: string;
|
20
|
-
required?: boolean;
|
21
|
-
options?: {
|
22
|
-
key: string;
|
23
|
-
value: LocalizedString;
|
24
|
-
}[];
|
25
15
|
readonly control: FormControl<any>;
|
26
|
-
input: TypeSelect;
|
27
16
|
select: MatSelect;
|
28
|
-
source: Observable<any[]>;
|
29
|
-
constructor(_ds: DatasourceService);
|
30
17
|
appearance: MatFormFieldAppearance;
|
31
18
|
mode: ViewMode;
|
32
|
-
ngOnInit(): void;
|
33
19
|
focus(): void;
|
34
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectField, never>;
|
35
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectField, "ng-component", never, {}, {}, never, never, false>;
|
package/lib/core/models.d.ts
CHANGED
@@ -213,6 +213,7 @@ export interface CommentVersion {
|
|
213
213
|
};
|
214
214
|
}
|
215
215
|
export interface Notification {
|
216
|
+
number?: string;
|
216
217
|
muted?: boolean;
|
217
218
|
deleted?: boolean;
|
218
219
|
id: number;
|
@@ -221,6 +222,8 @@ export interface Notification {
|
|
221
222
|
read?: boolean;
|
222
223
|
sent: Date;
|
223
224
|
recipientId?: number;
|
225
|
+
documentId?: number;
|
226
|
+
formId?: string;
|
224
227
|
}
|
225
228
|
export declare type NotificationType = 'Commented' | 'CubeAnomaly' | 'Escalated' | 'Liked' | 'StateChanged' | 'Nudge' | 'Invite' | 'TextMessage' | 'UpcomingEvent' | 'JobProgress' | 'Tagged';
|
226
229
|
export interface State {
|
@@ -389,6 +392,7 @@ export declare enum ValidationType {
|
|
389
392
|
Email = "Email"
|
390
393
|
}
|
391
394
|
export declare enum FieldKind {
|
395
|
+
LocalizedString = "LocalizedString",
|
392
396
|
String = "String",
|
393
397
|
Number = "Number",
|
394
398
|
Time = "Time",
|