wuic-framework-lib 0.0.1
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/README.md +24 -0
- package/fesm2022/wuic-framework-lib.mjs +45009 -0
- package/fesm2022/wuic-framework-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/app.routes.d.ts +2 -0
- package/lib/class/IBindable.d.ts +17 -0
- package/lib/class/IDesigner.d.ts +4 -0
- package/lib/class/IDesignerProperties.d.ts +7 -0
- package/lib/class/IFieldEditor.d.ts +21 -0
- package/lib/class/aggregationInfo.d.ts +5 -0
- package/lib/class/carouselOptions.d.ts +27 -0
- package/lib/class/chartOptions.d.ts +31 -0
- package/lib/class/comboParams.d.ts +12 -0
- package/lib/class/customException.d.ts +6 -0
- package/lib/class/designerTool.d.ts +57 -0
- package/lib/class/filterInfo.d.ts +6 -0
- package/lib/class/filterItem.d.ts +14 -0
- package/lib/class/formOptions.d.ts +5 -0
- package/lib/class/groupInfo.d.ts +7 -0
- package/lib/class/lingua.d.ts +5 -0
- package/lib/class/mapOptions.d.ts +31 -0
- package/lib/class/metaInfo.d.ts +26 -0
- package/lib/class/metadati_colonna.d.ts +234 -0
- package/lib/class/metadati_condition_group.d.ts +30 -0
- package/lib/class/metadati_custom_actions_tabelle.d.ts +19 -0
- package/lib/class/metadati_tabella.d.ts +214 -0
- package/lib/class/metadati_ui_stili_colonna.d.ts +8 -0
- package/lib/class/metadati_ui_stili_tabella.d.ts +7 -0
- package/lib/class/metadati_utenti_autorizzazioni_colonna.d.ts +10 -0
- package/lib/class/rawPagedResult.d.ts +7 -0
- package/lib/class/resultInfo.d.ts +14 -0
- package/lib/class/schedulerOptions.d.ts +14 -0
- package/lib/class/sortInfo.d.ts +5 -0
- package/lib/class/trackedChanges.d.ts +13 -0
- package/lib/class/translation.d.ts +7 -0
- package/lib/class/treeOptions.d.ts +15 -0
- package/lib/class/updateInfo.d.ts +9 -0
- package/lib/class/userInfo.d.ts +19 -0
- package/lib/class/validationRule.d.ts +10 -0
- package/lib/class/widgetDefinition.d.ts +28 -0
- package/lib/component/archetype-configurator/archetype-configurator.component.d.ts +28 -0
- package/lib/component/bounded-repeater/bounded-repeater.component.d.ts +32 -0
- package/lib/component/carousel-list/carousel-list.component.d.ts +66 -0
- package/lib/component/chart-list/chart-list.component.d.ts +135 -0
- package/lib/component/code-editor/code-editor.component.d.ts +86 -0
- package/lib/component/code-editor/editor-options.d.ts +12 -0
- package/lib/component/code-editor/html-parser.d.ts +27 -0
- package/lib/component/code-editor/sql-model.d.ts +87 -0
- package/lib/component/code-editor/sql-parser.d.ts +157 -0
- package/lib/component/code-editor/ts-parser.d.ts +93 -0
- package/lib/component/code-editor/wuic-component-bindings.d.ts +7 -0
- package/lib/component/code-editor/wuic-component-selectors.d.ts +1 -0
- package/lib/component/css-sheet-editor/css-sheet-editor.component.d.ts +71 -0
- package/lib/component/dashboard/dashboard.component.d.ts +12 -0
- package/lib/component/data-action-button/data-action-button.component.d.ts +45 -0
- package/lib/component/data-repeater/data-repeater.component.d.ts +32 -0
- package/lib/component/data-source/data-source.component.d.ts +147 -0
- package/lib/component/designer/designer.component.d.ts +269 -0
- package/lib/component/dynamic-dashboard-template/dynamic-dashboard-template.component.d.ts +39 -0
- package/lib/component/dynamic-form-template/dynamic-form-template.component.d.ts +11 -0
- package/lib/component/dynamic-generic-template/dynamic-generic-template.component.d.ts +20 -0
- package/lib/component/dynamic-repeater-template/dynamic-repeater-template.component.d.ts +15 -0
- package/lib/component/dynamic-template/dynamic-template.component.d.ts +31 -0
- package/lib/component/edit-form/edit-form.component.d.ts +62 -0
- package/lib/component/field/boolean-editor/boolean-editor.component.d.ts +23 -0
- package/lib/component/field/button-editor/button-editor.component.d.ts +25 -0
- package/lib/component/field/code-area-editor/code-area-editor.component.d.ts +20 -0
- package/lib/component/field/color-editor/color-editor.component.d.ts +23 -0
- package/lib/component/field/date-editor/date-editor.component.d.ts +25 -0
- package/lib/component/field/dictionary-editor/dictionary-editor.component.d.ts +35 -0
- package/lib/component/field/field-editor/field-editor.component.d.ts +65 -0
- package/lib/component/field/field-filter/field-filter.component.d.ts +43 -0
- package/lib/component/field/html-editor/html-editor.component.d.ts +24 -0
- package/lib/component/field/lookup-editor/lookup-editor.component.d.ts +35 -0
- package/lib/component/field/number-editor/number-editor.component.d.ts +26 -0
- package/lib/component/field/point-filter/point-filter.component.d.ts +34 -0
- package/lib/component/field/property-array-editor/property-array-editor.component.d.ts +27 -0
- package/lib/component/field/property-object-editor/property-object-editor.component.d.ts +26 -0
- package/lib/component/field/text-area-editor/text-area-editor.component.d.ts +24 -0
- package/lib/component/field/text-editor/text-editor.component.d.ts +25 -0
- package/lib/component/field/tree-view-selector/tree-view-selector.component.d.ts +22 -0
- package/lib/component/field/upload-editor/upload-editor.component.d.ts +38 -0
- package/lib/component/filter-bar/filter-bar.component.d.ts +67 -0
- package/lib/component/image-wrapper/image-wrapper.component.d.ts +15 -0
- package/lib/component/list-grid/list-grid.component.d.ts +238 -0
- package/lib/component/map-list/map-list.component.d.ts +137 -0
- package/lib/component/meta-menu/meta-menu.component.d.ts +97 -0
- package/lib/component/metadata-editor/metadata-editor.component.d.ts +125 -0
- package/lib/component/pager/pager.component.d.ts +41 -0
- package/lib/component/parametric-dialog/parametric-dialog.component.d.ts +44 -0
- package/lib/component/report-designer/report-designer.component.d.ts +19 -0
- package/lib/component/report-viewer/report-viewer.component.d.ts +20 -0
- package/lib/component/scheduler-list/scheduler-list.component.d.ts +54 -0
- package/lib/component/split/gutter/gutter-num-token.d.ts +7 -0
- package/lib/component/split/gutter/split-gutter-dynamic-injector.directive.d.ts +19 -0
- package/lib/component/split/gutter/split-gutter.directive.d.ts +54 -0
- package/lib/component/split/helpers/angular-split-config.token.d.ts +20 -0
- package/lib/component/split/helpers/models.d.ts +11 -0
- package/lib/component/split/helpers/split-custom-events-behavior.directive.d.ts +22 -0
- package/lib/component/split/helpers/utils.d.ts +30 -0
- package/lib/component/split/helpers/validations.d.ts +3 -0
- package/lib/component/split/split.component.d.ts +65 -0
- package/lib/component/split-area/split-area.component.d.ts +36 -0
- package/lib/component/spreadsheet-list/spreadsheet-list.component.d.ts +132 -0
- package/lib/component/tab-panel-wrapper/tab-panel-wrapper.component.d.ts +6 -0
- package/lib/component/tab-view-wrapper/tab-view-wrapper.component.d.ts +8 -0
- package/lib/component/tree-list/tree-list.component.d.ts +43 -0
- package/lib/component/workflow-designer/workflow-designer-node.component.d.ts +50 -0
- package/lib/component/workflow-designer/workflow-designer.component.d.ts +262 -0
- package/lib/component/workflow-runner/workflow-runner.component.d.ts +91 -0
- package/lib/directive/angular-resizable.directive.d.ts +153 -0
- package/lib/directive/classes/ngx-draggable-point.d.ts +5 -0
- package/lib/directive/classes/ngx-draggable-rect.d.ts +27 -0
- package/lib/directive/data-bound.directive.d.ts +16 -0
- package/lib/directive/events/ngx-draggable-dom-bounds-check-event.d.ts +32 -0
- package/lib/directive/events/ngx-draggable-dom-move-event.d.ts +28 -0
- package/lib/directive/helpers/helper-block.d.ts +12 -0
- package/lib/directive/helpers/ngx-draggable-dom-math.d.ts +65 -0
- package/lib/directive/helpers/ngx-draggable-dom-utilities.d.ts +26 -0
- package/lib/directive/helpers/resize-handle.d.ts +14 -0
- package/lib/directive/models/position.d.ts +21 -0
- package/lib/directive/models/resize-event.d.ts +16 -0
- package/lib/directive/models/resize-handle-type.d.ts +11 -0
- package/lib/directive/models/size.d.ts +12 -0
- package/lib/directive/ngx-draggable-dom.directive.d.ts +175 -0
- package/lib/handler/GlobalHandler.d.ts +11 -0
- package/lib/handler/mime.d.ts +11 -0
- package/lib/pipe/async-callback.pipe.d.ts +11 -0
- package/lib/pipe/available-operators.pipe.d.ts +8 -0
- package/lib/pipe/callback.pipe.d.ts +7 -0
- package/lib/pipe/callback2.pipe.d.ts +7 -0
- package/lib/pipe/format-grid-view-value.pipe.d.ts +8 -0
- package/lib/pipe/get-src-upload-preview.pipe.d.ts +9 -0
- package/lib/pipe/is-selected-row.pipe.d.ts +8 -0
- package/lib/pipe/prop-converter.pipe.d.ts +7 -0
- package/lib/pipe/show-filter-bar.pipe.d.ts +9 -0
- package/lib/pipe/to-date.pipe.d.ts +7 -0
- package/lib/pipe/visible-field-list.pipe.d.ts +7 -0
- package/lib/service/auth-session.service.d.ts +52 -0
- package/lib/service/client-side-crud.service.d.ts +35 -0
- package/lib/service/data-provider-meta.service.d.ts +32 -0
- package/lib/service/data-provider-odata.service.d.ts +18 -0
- package/lib/service/data-provider-webservice.service.d.ts +15 -0
- package/lib/service/data-provider.service.d.ts +64 -0
- package/lib/service/metadata-editor.service.d.ts +16 -0
- package/lib/service/metadata-provider.service.d.ts +160 -0
- package/lib/service/translation-manager.service.d.ts +38 -0
- package/lib/service/user-info.service.d.ts +24 -0
- package/lib/service/workflow-runtime-menu.service.d.ts +15 -0
- package/lib/service/workflow-runtime-metadata.service.d.ts +28 -0
- package/lib/service/wtoolbox.service.d.ts +145 -0
- package/package.json +63 -0
- package/public-api.d.ts +48 -0
- package/styles/styles.scss +87 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { StimulsoftDesignerComponent } from 'stimulsoft-designer-angular';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ReportDesignerComponent implements AfterViewInit {
|
|
6
|
+
private router;
|
|
7
|
+
private aRoute;
|
|
8
|
+
designer: StimulsoftDesignerComponent;
|
|
9
|
+
requestUrl: string;
|
|
10
|
+
baseRequestUrl: string;
|
|
11
|
+
route: string;
|
|
12
|
+
currentReport: string;
|
|
13
|
+
constructor(router: Router, aRoute: ActivatedRoute);
|
|
14
|
+
private syncRequestUrl;
|
|
15
|
+
fix(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDesignerComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportDesignerComponent, "wuic-report-designer", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
2
|
+
import { StimulsoftViewerComponent } from 'stimulsoft-viewer-angular';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ReportViewerComponent {
|
|
5
|
+
private router;
|
|
6
|
+
private aRoute;
|
|
7
|
+
viewer: StimulsoftViewerComponent;
|
|
8
|
+
requestUrl: string;
|
|
9
|
+
baseRequestUrl: string;
|
|
10
|
+
route: string;
|
|
11
|
+
action: string;
|
|
12
|
+
currentReport: string;
|
|
13
|
+
constructor(router: Router, aRoute: ActivatedRoute);
|
|
14
|
+
private updateRequestUrl;
|
|
15
|
+
private buildFiltersQueryString;
|
|
16
|
+
private mapFilterToControllerFormat;
|
|
17
|
+
fix(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportViewerComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportViewerComponent, "wuic-report-viewer", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FullCalendarComponent } from '@fullcalendar/angular';
|
|
3
|
+
import { CalendarOptions } from '@fullcalendar/core';
|
|
4
|
+
import { DataSourceComponent } from '../data-source/data-source.component';
|
|
5
|
+
import { MetaInfo } from '../../class/metaInfo';
|
|
6
|
+
import { Title } from '@angular/platform-browser';
|
|
7
|
+
import { MetadatiColonna } from '../../class/metadati_colonna';
|
|
8
|
+
import { DynamicGenericTemplateComponent } from '../dynamic-generic-template/dynamic-generic-template.component';
|
|
9
|
+
import { BehaviorSubject } from 'rxjs';
|
|
10
|
+
import { TranslationManagerService } from '../../service/translation-manager.service';
|
|
11
|
+
import { IBindable } from '../../class/IBindable';
|
|
12
|
+
import { IDesigner } from '../../class/IDesigner';
|
|
13
|
+
import { SchedulerOptions } from '../../class/schedulerOptions';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class SchedulerListComponent implements AfterViewInit, IBindable, IDesigner<SchedulerOptions> {
|
|
16
|
+
private titleService;
|
|
17
|
+
private cd;
|
|
18
|
+
private trslSrv;
|
|
19
|
+
eventContent: TemplateRef<any>;
|
|
20
|
+
calendar: FullCalendarComponent;
|
|
21
|
+
hardcodedRoute: string;
|
|
22
|
+
parentRecord: any;
|
|
23
|
+
parentMetaInfo: MetaInfo;
|
|
24
|
+
datasource: BehaviorSubject<DataSourceComponent>;
|
|
25
|
+
hardcodedDatasource: DataSourceComponent;
|
|
26
|
+
calendarOptions: CalendarOptions;
|
|
27
|
+
archetypeOptions: SchedulerOptions;
|
|
28
|
+
data: any[];
|
|
29
|
+
private readonly contentRenderers;
|
|
30
|
+
metas: MetadatiColonna[];
|
|
31
|
+
cols: any;
|
|
32
|
+
metaInfo: MetaInfo;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
fromField: string;
|
|
35
|
+
toField: string;
|
|
36
|
+
titleField: string;
|
|
37
|
+
itemTemplateString: string;
|
|
38
|
+
counter: number;
|
|
39
|
+
itemTemplate: typeof DynamicGenericTemplateComponent;
|
|
40
|
+
titleFunction: Function;
|
|
41
|
+
private fetchInfoSub;
|
|
42
|
+
private datasourceSub;
|
|
43
|
+
constructor(titleService: Title, cd: ChangeDetectorRef, trslSrv: TranslationManagerService);
|
|
44
|
+
ngAfterViewInit(): void;
|
|
45
|
+
subscribeToDS(): void;
|
|
46
|
+
fix($event: any): void;
|
|
47
|
+
parseData(data: any): any;
|
|
48
|
+
parseDate(date: any, col: MetadatiColonna): Date;
|
|
49
|
+
private updateEvent;
|
|
50
|
+
private refreshCalendarView;
|
|
51
|
+
ngOnDestroy(): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SchedulerListComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulerListComponent, "wuic-scheduler-list", never, { "hardcodedRoute": { "alias": "hardcodedRoute"; "required": false; }; "parentRecord": { "alias": "parentRecord"; "required": false; }; "parentMetaInfo": { "alias": "parentMetaInfo"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "hardcodedDatasource": { "alias": "hardcodedDatasource"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Identifies the gutter by number through DI
|
|
4
|
+
* to allow SplitGutterDragHandleDirective and SplitGutterExcludeFromDragDirective to know
|
|
5
|
+
* the gutter template context without inputs
|
|
6
|
+
*/
|
|
7
|
+
export declare const GUTTER_NUM_TOKEN: InjectionToken<number>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Injector, ViewContainerRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface SplitGutterDynamicInjectorTemplateContext {
|
|
4
|
+
$implicit: Injector;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* This directive allows creating a dynamic injector inside ngFor
|
|
8
|
+
* with dynamic gutter num and expose the injector for ngTemplateOutlet usage
|
|
9
|
+
*/
|
|
10
|
+
export declare class SplitGutterDynamicInjectorDirective {
|
|
11
|
+
private vcr;
|
|
12
|
+
private templateRef;
|
|
13
|
+
set gutterNum(value: number);
|
|
14
|
+
constructor(vcr: ViewContainerRef, templateRef: TemplateRef<SplitGutterDynamicInjectorTemplateContext>);
|
|
15
|
+
static ngTemplateContextGuard(dir: SplitGutterDynamicInjectorDirective, ctx: unknown): ctx is SplitGutterDynamicInjectorTemplateContext;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitGutterDynamicInjectorDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SplitGutterDynamicInjectorDirective, "[asSplitGutterDynamicInjector]", never, { "gutterNum": { "alias": "asSplitGutterDynamicInjector"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { SplitAreaComponent } from '../../split-area/split-area.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface SplitGutterTemplateContext {
|
|
5
|
+
/**
|
|
6
|
+
* The area before the gutter.
|
|
7
|
+
* In RTL the right area and in LTR the left area
|
|
8
|
+
*/
|
|
9
|
+
areaBefore: SplitAreaComponent;
|
|
10
|
+
/**
|
|
11
|
+
* The area after the gutter.
|
|
12
|
+
* In RTL the left area and in LTR the right area
|
|
13
|
+
*/
|
|
14
|
+
areaAfter: SplitAreaComponent;
|
|
15
|
+
/**
|
|
16
|
+
* The absolute number of the gutter based on direction (RTL and LTR).
|
|
17
|
+
* First gutter is 1, second is 2, etc...
|
|
18
|
+
*/
|
|
19
|
+
gutterNum: number;
|
|
20
|
+
/**
|
|
21
|
+
* Whether this is the first gutter.
|
|
22
|
+
* In RTL the most right area and in LTR the most left area
|
|
23
|
+
*/
|
|
24
|
+
first: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether this is the last gutter.
|
|
27
|
+
* In RTL the most left area and in LTR the most right area
|
|
28
|
+
*/
|
|
29
|
+
last: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the gutter is being dragged now
|
|
32
|
+
*/
|
|
33
|
+
isDragged: boolean;
|
|
34
|
+
}
|
|
35
|
+
export declare class SplitGutterDirective {
|
|
36
|
+
template: TemplateRef<SplitGutterTemplateContext>;
|
|
37
|
+
/**
|
|
38
|
+
* The map holds reference to the drag handle elements inside instances
|
|
39
|
+
* of the provided template.
|
|
40
|
+
*/
|
|
41
|
+
gutterToHandleElementMap: Map<number, ElementRef<HTMLElement>[]>;
|
|
42
|
+
/**
|
|
43
|
+
* The map holds reference to the excluded drag elements inside instances
|
|
44
|
+
* of the provided template.
|
|
45
|
+
*/
|
|
46
|
+
gutterToExcludeDragElementMap: Map<number, ElementRef<HTMLElement>[]>;
|
|
47
|
+
constructor(template: TemplateRef<SplitGutterTemplateContext>);
|
|
48
|
+
canStartDragging(originElement: HTMLElement, gutterNum: number): boolean;
|
|
49
|
+
addToMap(map: Map<number, ElementRef<HTMLElement>[]>, gutterNum: number, elementRef: ElementRef<HTMLElement>): void;
|
|
50
|
+
removedFromMap(map: Map<number, ElementRef<HTMLElement>[]>, gutterNum: number, elementRef: ElementRef<HTMLElement>): void;
|
|
51
|
+
static ngTemplateContextGuard(dir: SplitGutterDirective, ctx: unknown): ctx is SplitGutterTemplateContext;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitGutterDirective, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SplitGutterDirective, "[asSplitGutter]", never, {}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { SplitDir, SplitDirection, SplitUnit } from './models';
|
|
3
|
+
export interface AngularSplitDefaultOptions {
|
|
4
|
+
dir: SplitDir;
|
|
5
|
+
direction: SplitDirection;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
gutterDblClickDuration: number;
|
|
8
|
+
gutterSize: number;
|
|
9
|
+
gutterStep: number;
|
|
10
|
+
gutterClickDeltaPx: number;
|
|
11
|
+
restrictMove: boolean;
|
|
12
|
+
unit: SplitUnit;
|
|
13
|
+
useTransition: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const ANGULAR_SPLIT_DEFAULT_OPTIONS: InjectionToken<AngularSplitDefaultOptions>;
|
|
16
|
+
/**
|
|
17
|
+
* Provides default options for angular split. The options object has hierarchical inheritance
|
|
18
|
+
* which means only the declared properties will be overridden
|
|
19
|
+
*/
|
|
20
|
+
export declare function provideAngularSplitOptions(options: Partial<AngularSplitDefaultOptions>): Provider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type SplitAreaSize = number | '*';
|
|
2
|
+
export type SplitAreaSizeInput = SplitAreaSize | `${number}` | undefined | null;
|
|
3
|
+
export declare const areaSizeTransform: (areaSize: SplitAreaSizeInput) => SplitAreaSize | "auto";
|
|
4
|
+
export declare const boundaryAreaSizeTransform: (areaSize: SplitAreaSizeInput) => SplitAreaSize;
|
|
5
|
+
export type SplitDirection = 'horizontal' | 'vertical';
|
|
6
|
+
export type SplitDir = 'ltr' | 'rtl';
|
|
7
|
+
export type SplitUnit = 'pixel' | 'percent';
|
|
8
|
+
export interface SplitGutterInteractionEvent {
|
|
9
|
+
gutterNum: number;
|
|
10
|
+
sizes: SplitAreaSize[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Emits mousedown, click, double click and keydown out of zone
|
|
4
|
+
*
|
|
5
|
+
* Emulates browser behavior of click and double click with new features:
|
|
6
|
+
* 1. Supports touch events (tap and double tap)
|
|
7
|
+
* 2. Ignores the first click in a double click with the side effect of a bit slower emission of the click event
|
|
8
|
+
* 3. Allow customizing the delay after mouse down to count another mouse down as a double click
|
|
9
|
+
*/
|
|
10
|
+
export declare class SplitCustomEventsBehaviorDirective {
|
|
11
|
+
private readonly elementRef;
|
|
12
|
+
private readonly document;
|
|
13
|
+
readonly multiClickThreshold: import("@angular/core").InputSignal<number>;
|
|
14
|
+
readonly deltaInPx: import("@angular/core").InputSignal<number>;
|
|
15
|
+
readonly mouseDown: import("@angular/core").OutputEmitterRef<MouseEvent | TouchEvent>;
|
|
16
|
+
readonly click: import("@angular/core").OutputEmitterRef<void>;
|
|
17
|
+
readonly dblClick: import("@angular/core").OutputEmitterRef<void>;
|
|
18
|
+
readonly keyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
19
|
+
constructor();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitCustomEventsBehaviorDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SplitCustomEventsBehaviorDirective, "[asSplitCustomEventsBehavior]", never, { "multiClickThreshold": { "alias": "asSplitCustomMultiClickThreshold"; "required": true; "isSignal": true; }; "deltaInPx": { "alias": "asSplitCustomClickDeltaInPx"; "required": true; "isSignal": true; }; }, { "mouseDown": "asSplitCustomMouseDown"; "click": "asSplitCustomClick"; "dblClick": "asSplitCustomDblClick"; "keyDown": "asSplitCustomKeyDown"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export interface ClientPoint {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Only supporting a single {@link TouchEvent} point
|
|
9
|
+
*/
|
|
10
|
+
export declare function getPointFromEvent(event: MouseEvent | TouchEvent | KeyboardEvent): ClientPoint;
|
|
11
|
+
export declare function gutterEventsEqualWithDelta(startEvent: MouseEvent | TouchEvent, endEvent: MouseEvent | TouchEvent, deltaInPx: number, gutterElement: HTMLElement): boolean;
|
|
12
|
+
export declare function fromMouseDownEvent(target: HTMLElement | Document): Observable<MouseEvent | TouchEvent>;
|
|
13
|
+
export declare function fromMouseMoveEvent(target: HTMLElement | Document): Observable<MouseEvent | TouchEvent>;
|
|
14
|
+
export declare function fromMouseUpEvent(target: HTMLElement | Document, includeTouchCancel?: boolean): Observable<MouseEvent | TouchEvent>;
|
|
15
|
+
export declare function sum<T>(array: T[] | readonly T[], fn: (item: T) => number): number;
|
|
16
|
+
export declare function toRecord<TItem, TKey extends string, TValue>(array: TItem[] | readonly TItem[], fn: (item: TItem, index: number) => [TKey, TValue]): Record<TKey, TValue>;
|
|
17
|
+
export declare function createClassesString(classesRecord: Record<string, boolean>): string;
|
|
18
|
+
export interface MirrorSignal<T> {
|
|
19
|
+
(): T;
|
|
20
|
+
set(value: T): void;
|
|
21
|
+
reset(): void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Creates a semi signal which allows writes but is based on an existing signal
|
|
25
|
+
* Whenever the original signal changes the mirror signal gets aligned
|
|
26
|
+
* overriding the current value inside.
|
|
27
|
+
*/
|
|
28
|
+
export declare function mirrorSignal<T>(outer: Signal<T>): MirrorSignal<T>;
|
|
29
|
+
export declare function leaveNgZone<T>(): (source: Observable<T>) => Observable<T>;
|
|
30
|
+
export declare const numberAttributeWithFallback: (fallback: number) => (value: unknown) => number;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import type { SplitAreaComponent } from '../split-area/split-area.component';
|
|
3
|
+
import { SplitGutterInteractionEvent, SplitAreaSize } from './helpers/models';
|
|
4
|
+
import { SplitGutterDirective } from './gutter/split-gutter.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const SPLIT_AREA_CONTRACT: InjectionToken<SplitAreaComponent>;
|
|
7
|
+
export declare class SplitComponent {
|
|
8
|
+
private readonly document;
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
private readonly ngZone;
|
|
12
|
+
private readonly defaultOptions;
|
|
13
|
+
private readonly gutterMouseDownSubject;
|
|
14
|
+
private readonly dragProgressSubject;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
readonly _areas: import("@angular/core").Signal<readonly SplitAreaComponent[]>;
|
|
19
|
+
protected readonly customGutter: import("@angular/core").Signal<SplitGutterDirective>;
|
|
20
|
+
readonly gutterSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
21
|
+
readonly gutterStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
22
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
readonly gutterClickDeltaPx: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
24
|
+
readonly direction: import("@angular/core").InputSignal<import("./helpers/models").SplitDirection>;
|
|
25
|
+
readonly dir: import("@angular/core").InputSignal<import("./helpers/models").SplitDir>;
|
|
26
|
+
readonly unit: import("@angular/core").InputSignal<import("./helpers/models").SplitUnit>;
|
|
27
|
+
readonly gutterAriaLabel: import("@angular/core").InputSignal<string>;
|
|
28
|
+
readonly restrictMove: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly useTransition: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
30
|
+
readonly gutterDblClickDuration: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
31
|
+
readonly gutterClick: import("@angular/core").OutputEmitterRef<SplitGutterInteractionEvent>;
|
|
32
|
+
readonly gutterDblClick: import("@angular/core").OutputEmitterRef<SplitGutterInteractionEvent>;
|
|
33
|
+
readonly dragStart: import("@angular/core").OutputEmitterRef<SplitGutterInteractionEvent>;
|
|
34
|
+
readonly dragEnd: import("@angular/core").OutputEmitterRef<SplitGutterInteractionEvent>;
|
|
35
|
+
readonly transitionEnd: import("@angular/core").OutputEmitterRef<SplitAreaSize[]>;
|
|
36
|
+
readonly dragProgress$: import("rxjs").Observable<SplitGutterInteractionEvent>;
|
|
37
|
+
private readonly visibleAreas;
|
|
38
|
+
private readonly gridTemplateColumnsStyle;
|
|
39
|
+
private readonly hostClasses;
|
|
40
|
+
protected readonly draggedGutterIndex: import("@angular/core").WritableSignal<number>;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
readonly _isDragging: import("@angular/core").Signal<boolean>;
|
|
45
|
+
protected get hostClassesBinding(): string;
|
|
46
|
+
protected get hostDirBinding(): import("./helpers/models").SplitDir;
|
|
47
|
+
constructor();
|
|
48
|
+
protected gutterClicked(gutterIndex: number): void;
|
|
49
|
+
protected gutterDoubleClicked(gutterIndex: number): void;
|
|
50
|
+
protected gutterMouseDown(e: MouseEvent | TouchEvent, gutterElement: HTMLElement, gutterIndex: number, areaBeforeGutterIndex: number, areaAfterGutterIndex: number): void;
|
|
51
|
+
protected gutterKeyDown(e: KeyboardEvent, gutterIndex: number, areaBeforeGutterIndex: number, areaAfterGutterIndex: number): void;
|
|
52
|
+
protected getGutterGridStyle(nextAreaIndex: number): {
|
|
53
|
+
"grid-column": string;
|
|
54
|
+
"grid-row": string;
|
|
55
|
+
};
|
|
56
|
+
protected getAriaAreaSizeText(area: SplitAreaComponent): string;
|
|
57
|
+
protected getAriaValue(size: SplitAreaSize): number;
|
|
58
|
+
private createDragInteractionEvent;
|
|
59
|
+
private createAreaSizes;
|
|
60
|
+
private createDragStartContext;
|
|
61
|
+
private mouseDragMove;
|
|
62
|
+
private dragMoveToPoint;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitComponent, "p-splitter", never, { "gutterSize": { "alias": "gutterSize"; "required": false; "isSignal": true; }; "gutterStep": { "alias": "gutterStep"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "gutterClickDeltaPx": { "alias": "gutterClickDeltaPx"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "gutterAriaLabel": { "alias": "gutterAriaLabel"; "required": false; "isSignal": true; }; "restrictMove": { "alias": "restrictMove"; "required": false; "isSignal": true; }; "useTransition": { "alias": "useTransition"; "required": false; "isSignal": true; }; "gutterDblClickDuration": { "alias": "gutterDblClickDuration"; "required": false; "isSignal": true; }; }, { "gutterClick": "gutterClick"; "gutterDblClick": "gutterDblClick"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; "transitionEnd": "transitionEnd"; }, ["_areas", "customGutter"], ["*"], true, never>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { SplitComponent } from '../split/split.component';
|
|
3
|
+
import { SplitAreaSize } from '../split/helpers/models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SplitAreaComponent {
|
|
6
|
+
protected readonly split: SplitComponent;
|
|
7
|
+
readonly size: import("@angular/core").InputSignalWithTransform<"auto" | SplitAreaSize, import("../split/helpers/models").SplitAreaSizeInput>;
|
|
8
|
+
readonly minSize: import("@angular/core").InputSignalWithTransform<SplitAreaSize, import("../split/helpers/models").SplitAreaSizeInput>;
|
|
9
|
+
readonly maxSize: import("@angular/core").InputSignalWithTransform<SplitAreaSize, import("../split/helpers/models").SplitAreaSizeInput>;
|
|
10
|
+
readonly lockSize: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly visible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
readonly _internalSize: import("../split/helpers/utils").MirrorSignal<SplitAreaSize>;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
readonly _normalizedMinSize: Signal<number>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
readonly _normalizedMaxSize: Signal<number>;
|
|
24
|
+
private readonly index;
|
|
25
|
+
private readonly gridAreaNum;
|
|
26
|
+
private readonly hostClasses;
|
|
27
|
+
protected get hostClassesBinding(): string;
|
|
28
|
+
protected get hostGridColumnStyleBinding(): string;
|
|
29
|
+
protected get hostGridRowStyleBinding(): string;
|
|
30
|
+
protected get hostPositionStyleBinding(): string;
|
|
31
|
+
private normalizeMinSize;
|
|
32
|
+
private normalizeMaxSize;
|
|
33
|
+
private normalizeSizeBoundary;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitAreaComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitAreaComponent, "p-splitter-area", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "lockSize": { "alias": "lockSize"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import jspreadsheet from "jspreadsheet";
|
|
3
|
+
import { MetaInfo } from '../../class/metaInfo';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { DataSourceComponent } from '../data-source/data-source.component';
|
|
6
|
+
import { MetadatiColonna } from '../../class/metadati_colonna';
|
|
7
|
+
import { Title } from '@angular/platform-browser';
|
|
8
|
+
import { ResultInfo } from '../../class/resultInfo';
|
|
9
|
+
import { ActivatedRoute } from '@angular/router';
|
|
10
|
+
import { HttpClient } from '@angular/common/http';
|
|
11
|
+
import { UserInfoService } from '../../service/user-info.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class SpreadsheetListComponent implements AfterViewInit, OnDestroy {
|
|
14
|
+
private titleService;
|
|
15
|
+
private cd;
|
|
16
|
+
private route;
|
|
17
|
+
private readonly http;
|
|
18
|
+
private readonly userInfoService;
|
|
19
|
+
spreadsheet: any;
|
|
20
|
+
lookupSource: DataSourceComponent;
|
|
21
|
+
hardcodedRoute: string;
|
|
22
|
+
parentRecord: any;
|
|
23
|
+
parentMetaInfo: MetaInfo;
|
|
24
|
+
datasource: BehaviorSubject<DataSourceComponent>;
|
|
25
|
+
hardcodedDatasource: DataSourceComponent;
|
|
26
|
+
spreadsheetOptions: any;
|
|
27
|
+
records: any[];
|
|
28
|
+
metas: MetadatiColonna[];
|
|
29
|
+
currentRoute: BehaviorSubject<string>;
|
|
30
|
+
currentRecord: any;
|
|
31
|
+
currentField: MetadatiColonna;
|
|
32
|
+
cols: any;
|
|
33
|
+
metaInfo: MetaInfo;
|
|
34
|
+
loading: boolean;
|
|
35
|
+
itemTemplateFunction: Function;
|
|
36
|
+
autoCompleteEditor: any;
|
|
37
|
+
inputEvent: any;
|
|
38
|
+
currentEditorInstance: any;
|
|
39
|
+
currentCell: any;
|
|
40
|
+
selectedItem: any;
|
|
41
|
+
info: any;
|
|
42
|
+
autocompleteItems: {
|
|
43
|
+
resultInfo: ResultInfo;
|
|
44
|
+
metaInfo: MetaInfo;
|
|
45
|
+
};
|
|
46
|
+
currentAutocompleteItemIndex: number;
|
|
47
|
+
worksheetInstances: jspreadsheet.worksheetInstance[];
|
|
48
|
+
textCellEditor: any;
|
|
49
|
+
dateCellEditor: any;
|
|
50
|
+
dateTimeCellEditor: any;
|
|
51
|
+
checkboxCellEditor: any;
|
|
52
|
+
pageSize: number;
|
|
53
|
+
pageIndex: number;
|
|
54
|
+
totalRecords: number;
|
|
55
|
+
private themeObserver?;
|
|
56
|
+
private themeRefreshRaf;
|
|
57
|
+
routeName: any;
|
|
58
|
+
private readonly contextMenuHoverClass;
|
|
59
|
+
private readonly contextMenuItemSelector;
|
|
60
|
+
private readonly contextMenuHoverBgFallbackLight;
|
|
61
|
+
private readonly contextMenuHoverBgFallbackDark;
|
|
62
|
+
private readonly contextMenuHoverColorFallbackLight;
|
|
63
|
+
private readonly contextMenuHoverColorFallbackDark;
|
|
64
|
+
private pendingSpreadsheetRows;
|
|
65
|
+
private resolveContextMenuHoverColors;
|
|
66
|
+
private applyContextMenuHoverStyle;
|
|
67
|
+
private clearContextMenuHoverStyle;
|
|
68
|
+
private readonly onContextMenuMouseOver;
|
|
69
|
+
private readonly onContextMenuMouseOut;
|
|
70
|
+
constructor(titleService: Title, cd: ChangeDetectorRef, route: ActivatedRoute, http: HttpClient, userInfoService: UserInfoService);
|
|
71
|
+
ngOnInit(): Promise<void>;
|
|
72
|
+
private createNativeEditor;
|
|
73
|
+
clickItem(clickItemEvent: any): Promise<void>;
|
|
74
|
+
autocomplete(inputEvent: any): Promise<void>;
|
|
75
|
+
debounce(callback: any, waitTime: any): (...args: any[]) => void;
|
|
76
|
+
ngAfterViewInit(): void;
|
|
77
|
+
private subscribeToDS;
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
private bindContextMenuHoverClass;
|
|
80
|
+
private unbindContextMenuHoverClass;
|
|
81
|
+
private applyAvailableHeight;
|
|
82
|
+
private syncRenderedSpreadsheetHeight;
|
|
83
|
+
private getRenderedBlockHeight;
|
|
84
|
+
onWindowResize(): void;
|
|
85
|
+
private getSpreadsheetTableHeight;
|
|
86
|
+
private canInsertRows;
|
|
87
|
+
private canDeleteRows;
|
|
88
|
+
private isBatchSaveEnabled;
|
|
89
|
+
private markPendingRow;
|
|
90
|
+
private recordMatchesTrackedChange;
|
|
91
|
+
private buildBatchEntity;
|
|
92
|
+
private notifySpreadsheetBatchSave;
|
|
93
|
+
private saveSpreadsheetRecords;
|
|
94
|
+
private getVisibleRowIndexes;
|
|
95
|
+
private handleSpreadsheetInsertRow;
|
|
96
|
+
private handleSpreadsheetDeleteRows;
|
|
97
|
+
private handleSpreadsheetSaveRows;
|
|
98
|
+
private handleSpreadsheetSavePendingChanges;
|
|
99
|
+
private buildSpreadsheetContextMenu;
|
|
100
|
+
initOptions(options: jspreadsheet.Spreadsheet, records: any, metaInfo: any): void;
|
|
101
|
+
getColumn(col: MetadatiColonna): any;
|
|
102
|
+
private getLookupAliasField;
|
|
103
|
+
private createLookupFilterTemplate;
|
|
104
|
+
private applySpreadsheetColumnWidthsFromMetadata;
|
|
105
|
+
private normalizeSpreadsheetColumnWidths;
|
|
106
|
+
private getSpreadsheetRowHeaderWidth;
|
|
107
|
+
private getSpreadsheetMinColumnWidth;
|
|
108
|
+
private getSpreadsheetHeaderFilterIconReserveWidth;
|
|
109
|
+
private parsePercentWidth;
|
|
110
|
+
private parseWeightWidth;
|
|
111
|
+
parseData(data: any, metaInfo: MetaInfo): any[];
|
|
112
|
+
private resolveClientPaginationSize;
|
|
113
|
+
private resolveClientPaginationOptions;
|
|
114
|
+
private resolveServerPaginationSize;
|
|
115
|
+
private resolveServerPaginationOptions;
|
|
116
|
+
private handleServerPageChange;
|
|
117
|
+
private syncPageInfoQueryString;
|
|
118
|
+
private initThemeObserver;
|
|
119
|
+
private scheduleThemeRefresh;
|
|
120
|
+
private enforceSpreadsheetThemeColors;
|
|
121
|
+
private syncServerPaginationSummary;
|
|
122
|
+
private resolvePagerUiColors;
|
|
123
|
+
private applyPagerButtonTheme;
|
|
124
|
+
private resolvePaginationBorderColor;
|
|
125
|
+
private getServerPaginationTokens;
|
|
126
|
+
sortingHandler(direction: any, column: any): (a: any, b: any) => 0 | 1 | -1;
|
|
127
|
+
filter(dateInfoObj?: any): Promise<void>;
|
|
128
|
+
clearFilter(): void;
|
|
129
|
+
test(): void;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetListComponent, never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetListComponent, "wuic-spreadsheet-list", never, { "hardcodedRoute": { "alias": "hardcodedRoute"; "required": false; }; "parentRecord": { "alias": "parentRecord"; "required": false; }; "parentMetaInfo": { "alias": "parentMetaInfo"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "hardcodedDatasource": { "alias": "hardcodedDatasource"; "required": false; }; }, {}, never, never, true, never>;
|
|
132
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TabPanelWrapperComponent {
|
|
3
|
+
selected: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabPanelWrapperComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabPanelWrapperComponent, "p-tabPanel", never, { "selected": { "alias": "selected"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TabViewWrapperComponent {
|
|
3
|
+
tabs: any[];
|
|
4
|
+
activeIndex: number;
|
|
5
|
+
setIndex(i: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabViewWrapperComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabViewWrapperComponent, "p-tabView", never, { "tabs": { "alias": "tabs"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { MetaInfo } from '../../class/metaInfo';
|
|
3
|
+
import { DataSourceComponent } from '../data-source/data-source.component';
|
|
4
|
+
import { MetadatiColonna } from '../../class/metadati_colonna';
|
|
5
|
+
import { Title } from '@angular/platform-browser';
|
|
6
|
+
import { DynamicGenericTemplateComponent } from '../dynamic-generic-template/dynamic-generic-template.component';
|
|
7
|
+
import { TreeNode } from 'primeng/api';
|
|
8
|
+
import { DataProviderService } from '../../service/data-provider.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class TreeListComponent {
|
|
11
|
+
private titleService;
|
|
12
|
+
private dataSrv;
|
|
13
|
+
hardcodedRoute: string;
|
|
14
|
+
parentRecord: any;
|
|
15
|
+
parentMetaInfo: MetaInfo;
|
|
16
|
+
datasource: BehaviorSubject<DataSourceComponent>;
|
|
17
|
+
hardcodedDatasource: DataSourceComponent;
|
|
18
|
+
records: any[];
|
|
19
|
+
cols: any[];
|
|
20
|
+
metas: MetadatiColonna[];
|
|
21
|
+
metaInfo: MetaInfo;
|
|
22
|
+
routeName: string;
|
|
23
|
+
totalRecords: number;
|
|
24
|
+
pageSize: number;
|
|
25
|
+
rowNumber: number;
|
|
26
|
+
orderColumn: string;
|
|
27
|
+
orderDir: string;
|
|
28
|
+
loading: boolean;
|
|
29
|
+
pageIndex: number;
|
|
30
|
+
itemTemplateString: string;
|
|
31
|
+
itemTemplate: typeof DynamicGenericTemplateComponent;
|
|
32
|
+
titleFunction: Function;
|
|
33
|
+
initCompleted: boolean;
|
|
34
|
+
treeOptions: any;
|
|
35
|
+
constructor(titleService: Title, dataSrv: DataProviderService);
|
|
36
|
+
ngOnInit(): Promise<void>;
|
|
37
|
+
subscribeToDS(): Promise<void>;
|
|
38
|
+
parseData(data: any): TreeNode<any>[];
|
|
39
|
+
recursiveTreeSearch(node: TreeNode[], key: string): TreeNode<any>;
|
|
40
|
+
onNodeExpand(event: any): Promise<void>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeListComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeListComponent, "wuic-tree-list", never, { "hardcodedRoute": { "alias": "hardcodedRoute"; "required": false; }; "parentRecord": { "alias": "parentRecord"; "required": false; }; "parentMetaInfo": { "alias": "parentMetaInfo"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "hardcodedDatasource": { "alias": "hardcodedDatasource"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { KeyValue } from '@angular/common';
|
|
2
|
+
import { ChangeDetectorRef, OnChanges } from '@angular/core';
|
|
3
|
+
import { ClassicPreset as Classic } from 'rete';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type NodeExtraData = {
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
type SortValue<N extends Classic.Node> = (N['controls'] | N['inputs'] | N['outputs'])[string];
|
|
11
|
+
export declare class WorkflowDesignerNodeComponent implements OnChanges {
|
|
12
|
+
private cdr;
|
|
13
|
+
data: Classic.Node & NodeExtraData;
|
|
14
|
+
emit: (data: any) => void;
|
|
15
|
+
rendered: () => void;
|
|
16
|
+
seed: number;
|
|
17
|
+
get width(): number;
|
|
18
|
+
get height(): number;
|
|
19
|
+
get selected(): boolean;
|
|
20
|
+
get nodeType(): string;
|
|
21
|
+
get actionScope(): string;
|
|
22
|
+
get actionType(): string;
|
|
23
|
+
get accentColor(): string;
|
|
24
|
+
get backgroundColor(): string;
|
|
25
|
+
constructor(cdr: ChangeDetectorRef);
|
|
26
|
+
ngOnChanges(): void;
|
|
27
|
+
sortByIndex<N extends Classic.Node, I extends KeyValue<string, SortValue<N>>>(a: I, b: I): number;
|
|
28
|
+
get shapePath(): string;
|
|
29
|
+
get shapeKind(): string;
|
|
30
|
+
get svgViewBox(): string;
|
|
31
|
+
get titleBandX(): number;
|
|
32
|
+
get titleBandWidth(): number;
|
|
33
|
+
get titleTextX(): number;
|
|
34
|
+
get titleBandHeight(): number;
|
|
35
|
+
get titleTextY(): number;
|
|
36
|
+
get titleLineDy(): number;
|
|
37
|
+
get titleLines(): string[];
|
|
38
|
+
get dashedStroke(): string | null;
|
|
39
|
+
private resolveVisual;
|
|
40
|
+
private get effectiveWidth();
|
|
41
|
+
private get effectiveHeight();
|
|
42
|
+
private resolveShape;
|
|
43
|
+
private roundedRectPath;
|
|
44
|
+
private polygonPath;
|
|
45
|
+
private wrapLabel;
|
|
46
|
+
private truncateWithEllipsis;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDesignerNodeComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowDesignerNodeComponent, "wuic-workflow-designer-node", never, { "data": { "alias": "data"; "required": false; }; "emit": { "alias": "emit"; "required": false; }; "rendered": { "alias": "rendered"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
export {};
|