@bizdoc/core 1.16.28 → 1.16.29
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/system/google.svg +13 -0
- package/esm2020/lib/admin/configuration-designer/declarations.mjs +2 -1
- package/esm2020/lib/admin/configuration-designer/designer.component.mjs +5 -3
- package/esm2020/lib/admin/configuration-designer/elements/node.component.mjs +18 -0
- package/esm2020/lib/core/translations.mjs +5 -1
- package/esm2020/lib/system.module.mjs +4 -3
- package/fesm2015/bizdoc-core.mjs +23 -4
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +23 -4
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/configuration-designer/declarations.d.ts +4 -0
- package/lib/admin/configuration-designer/designer-element.component.d.ts +1 -0
- package/lib/admin/configuration-designer/elements/node.component.d.ts +7 -0
- package/lib/core/translations.d.ts +4 -0
- package/lib/system.module.d.ts +68 -67
- package/package.json +1 -1
package/fesm2020/bizdoc-core.mjs
CHANGED
@@ -446,6 +446,8 @@ const STRINGS = {
|
|
446
446
|
XAxis: 'X-Axis',
|
447
447
|
Series: 'Series',
|
448
448
|
Steps: 'Steps',
|
449
|
+
Nodes: 'Nodes',
|
450
|
+
Node: 'Node',
|
449
451
|
Sum: 'Sum',
|
450
452
|
ProgramPatternErr: 'Program name only',
|
451
453
|
Summary: 'Summary',
|
@@ -974,6 +976,8 @@ const STRINGS = {
|
|
974
976
|
Max: 'מקסימום',
|
975
977
|
DefaultValue: 'ערך ברירת מחדל',
|
976
978
|
Select: 'רשימה',
|
979
|
+
Nodes: 'שלבים',
|
980
|
+
Node: 'שלב',
|
977
981
|
Checkbox: 'תיבת סימון',
|
978
982
|
Choice: 'בחירה',
|
979
983
|
YesNo: 'כן/לא',
|
@@ -30768,6 +30772,7 @@ const FAMILY_SVG = {
|
|
30768
30772
|
'Priority': `priority.svg`,
|
30769
30773
|
'Active Directory': `windows.svg`,
|
30770
30774
|
'Amazon': `amazon.svg`,
|
30775
|
+
'Google': `google.svg`,
|
30771
30776
|
'Okta': `okta.svg`
|
30772
30777
|
};
|
30773
30778
|
/** */
|
@@ -32040,6 +32045,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
32040
32045
|
args: [{ template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\">\r\n <ng-template bizdocEditContent>\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div (document:keydown.escape)=\"closeView($event)\" #element class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n <div class=\"row actions\">\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"closeView()\" type=\"button\" [bizdocTooltip]=\"'Back'|translate\"><mat-icon>keyboard_return</mat-icon></button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n<ng-template #main>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-title row\">\r\n {{'Steps'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add(steps, newStep(), 'Step', stepform)\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </h2>\r\n <table formArrayName=\"steps\" class=\"mat-table\" cdkDropList (cdkDropListDropped)=\"drop($event, steps)\">\r\n <tr class=\"mat-row\" *ngFor=\"let s of steps.controls; index as index\" [formGroup]=\"s\" cdkDrag>\r\n <td class=\"mat-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-cell\" width=\"99%\">\r\n {{s.get('title').value || s.get('content').value }}\r\n </td>\r\n <td class=\"mat-cell\" style=\"word-break:keep-all\">\r\n <button mat-icon-button (click)=\"edit(s, 'Step', stepform)\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"steps.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n </table>\r\n </form>\r\n</ng-template>\r\n<ng-template #stepform let-form>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Content'|translate}}</mat-label>\r\n <input matInput formControlName=\"content\" required />\r\n <mat-error *ngIf=\"form.get('content').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Content'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Selector'|translate}}</mat-label>\r\n <input matInput formControlName=\"selector\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Position'|translate}}</mat-label>\r\n <mat-select formControlName=\"position\">\r\n <mat-option value=\"Above\">{{'Above'|translate}}</mat-option>\r\n <mat-option value=\"Start\">{{'Start'|translate}}</mat-option>\r\n <mat-option value=\"End\">{{'End'|translate}}</mat-option>\r\n <mat-option value=\"Below\">{{'Below'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"execute\">{{'Execute'|translate}}</mat-checkbox>\r\n <!--privileges-->\r\n <bizdoc-designer-privileges [form]=\"form.get('privileges')\"></bizdoc-designer-privileges>\r\n </form>\r\n</ng-template>\r\n" }]
|
32041
32046
|
}] });
|
32042
32047
|
|
32048
|
+
class NodeDesignerComponent extends DesignerTypeElementComponent {
|
32049
|
+
constructor() {
|
32050
|
+
super(...arguments);
|
32051
|
+
this.form = this._fb.group({});
|
32052
|
+
}
|
32053
|
+
}
|
32054
|
+
NodeDesignerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NodeDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
32055
|
+
NodeDesignerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: NodeDesignerComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "icon", "form"], outputs: ["continue", "save"] }] });
|
32056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NodeDesignerComponent, decorators: [{
|
32057
|
+
type: Component,
|
32058
|
+
args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
|
32059
|
+
}] });
|
32060
|
+
|
32043
32061
|
class PolicyDesignComponent extends DesignerTypeElementComponent {
|
32044
32062
|
constructor() {
|
32045
32063
|
super(...arguments);
|
@@ -32271,11 +32289,12 @@ let ConfigurationDesignerComponent = class ConfigurationDesignerComponent {
|
|
32271
32289
|
{ elements: r.cubes, type: 'Cubes', comp: CubeDesignComponent, templates: r.tCubes },
|
32272
32290
|
{ elements: r.folders, type: 'Folders', comp: FolderDesignComponent, templates: [{ title: this._translate.get('Folder') }] },
|
32273
32291
|
{ elements: r.roles, type: 'Roles', comp: RoleDesignComponent, templates: [{ title: this._translate.get('Role') }] },
|
32274
|
-
{ elements: r.states, type: 'States', comp: StateDesignComponent, templates:
|
32292
|
+
{ elements: r.states, type: 'States', comp: StateDesignComponent, templates: r.nodes },
|
32275
32293
|
{ elements: r.utilities, type: 'Tools', comp: UtilityDesignComponent, templates: r.tUtilities },
|
32276
32294
|
{ elements: r.types, type: 'Types', comp: TypeDesignComponent, templates: r.tTypes },
|
32277
|
-
{ elements: r.
|
32295
|
+
{ elements: r.nodes, type: 'Nodes', comp: NodeDesignerComponent, templates: [{ title: this._translate.get('Role') }] },
|
32278
32296
|
{ elements: r.policies, type: 'Policies', comp: PolicyDesignComponent, templates: r.tPolicies },
|
32297
|
+
{ elements: r.rules, type: 'Rules', comp: RuleDesignComponent, templates: r.tRules },
|
32279
32298
|
];
|
32280
32299
|
this.sections.forEach(s => s.elements.forEach(e => {
|
32281
32300
|
if (!e.options)
|
@@ -33267,7 +33286,7 @@ class SystemModule {
|
|
33267
33286
|
SystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
33268
33287
|
SystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SystemModule, declarations: [
|
33269
33288
|
/** design */
|
33270
|
-
DesignerPrivilegesComponent, AddContentDirective, IconPickerComponent, EditContentDirective, WidgetContentDirective,
|
33289
|
+
NodeDesignerComponent, DesignerPrivilegesComponent, AddContentDirective, IconPickerComponent, EditContentDirective, WidgetContentDirective,
|
33271
33290
|
PolicyDesignComponent, StateDesignComponent, RoleDesignComponent, GuideDesignComponent, RuleDesignComponent, ReportDesignerComponent, FolderDesignComponent, UtilityDesignComponent, FormDesignComponent, WidgetDesignComponent, CubeDesignComponent, ActionDesignerComponent, ReportDesignerComponent, ViewDesignComponent, TypeDesignComponent,
|
33272
33291
|
DesignerCubeFilterComponent, CubeIndexDesignComponent, ConfigurationDatasourceDesignComponent, ReturnToRoleActionDesignComponent, PivotViewDesignComponent, CubeViewDesignComponent, BoxFormDesignComponent, AnomalyRuleDesignComponent, UsageReportDesignComponent, DocumentsWidgetDesignComponent, PerformanceWidgetDesignComponent, DocumentsReportDesignComponent, TasksReportDesignComponent, ExploreViewDesignComponent, AnalysisWidgetDesignComponent, ParallelViewDesignComponent, SumViewDesignComponent, MatrixViewDesignComponent, ChartViewDesignComponent,
|
33273
33292
|
/** utilities */
|
@@ -33312,7 +33331,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
33312
33331
|
args: [{
|
33313
33332
|
declarations: [
|
33314
33333
|
/** design */
|
33315
|
-
DesignerPrivilegesComponent, AddContentDirective, IconPickerComponent, EditContentDirective, WidgetContentDirective,
|
33334
|
+
NodeDesignerComponent, DesignerPrivilegesComponent, AddContentDirective, IconPickerComponent, EditContentDirective, WidgetContentDirective,
|
33316
33335
|
PolicyDesignComponent, StateDesignComponent, RoleDesignComponent, GuideDesignComponent, RuleDesignComponent, ReportDesignerComponent, FolderDesignComponent, UtilityDesignComponent, FormDesignComponent, WidgetDesignComponent, CubeDesignComponent, ActionDesignerComponent, ReportDesignerComponent, ViewDesignComponent, TypeDesignComponent,
|
33317
33336
|
DesignerCubeFilterComponent, CubeIndexDesignComponent, ConfigurationDatasourceDesignComponent, ReturnToRoleActionDesignComponent, PivotViewDesignComponent, CubeViewDesignComponent, BoxFormDesignComponent, AnomalyRuleDesignComponent, UsageReportDesignComponent, DocumentsWidgetDesignComponent, PerformanceWidgetDesignComponent, DocumentsReportDesignComponent, TasksReportDesignComponent, ExploreViewDesignComponent, AnalysisWidgetDesignComponent, ParallelViewDesignComponent, SumViewDesignComponent, MatrixViewDesignComponent, ChartViewDesignComponent,
|
33318
33337
|
/** utilities */
|