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
package/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import { MetaInfo } from "./metaInfo";
|
|
3
|
+
import { DataSourceComponent } from "../component/data-source/data-source.component";
|
|
4
|
+
import { DynamicGenericTemplateComponent } from "../component/dynamic-generic-template/dynamic-generic-template.component";
|
|
5
|
+
export interface IBindable {
|
|
6
|
+
hardcodedRoute: string;
|
|
7
|
+
parentRecord: any;
|
|
8
|
+
parentMetaInfo: MetaInfo;
|
|
9
|
+
datasource: BehaviorSubject<DataSourceComponent>;
|
|
10
|
+
hardcodedDatasource: DataSourceComponent;
|
|
11
|
+
metaInfo: MetaInfo;
|
|
12
|
+
data: any[];
|
|
13
|
+
itemTemplateString: string;
|
|
14
|
+
itemTemplate: typeof DynamicGenericTemplateComponent;
|
|
15
|
+
subscribeToDS(): void;
|
|
16
|
+
parseData(dato: any[]): any[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import { MetaInfo } from "./metaInfo";
|
|
3
|
+
export interface IDesignerProperties {
|
|
4
|
+
archetypePropName: string;
|
|
5
|
+
init(metaInfo: MetaInfo, nestedIndex?: number): any;
|
|
6
|
+
getDesignerProps(metaInfo: MetaInfo, action: BehaviorSubject<string>): MetaInfo;
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import type { MetadatiColonna } from "./metadati_colonna";
|
|
3
|
+
import type { MetaInfo } from "./metaInfo";
|
|
4
|
+
import type { DataSourceComponent } from "../component/data-source/data-source.component";
|
|
5
|
+
export interface IFieldEditor {
|
|
6
|
+
record?: {
|
|
7
|
+
[key: string]: BehaviorSubject<any>;
|
|
8
|
+
};
|
|
9
|
+
field?: MetadatiColonna;
|
|
10
|
+
metaInfo?: MetaInfo;
|
|
11
|
+
nestedSource?: DataSourceComponent;
|
|
12
|
+
valore: any;
|
|
13
|
+
lookupValue?: any;
|
|
14
|
+
items?: any[];
|
|
15
|
+
loaded?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class ValueChangedPayload {
|
|
18
|
+
field: MetadatiColonna;
|
|
19
|
+
newValue: any;
|
|
20
|
+
oldValue?: any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IDesignerProperties } from "./IDesignerProperties";
|
|
2
|
+
import { MetaInfo } from "./metaInfo";
|
|
3
|
+
import { BehaviorSubject } from "rxjs";
|
|
4
|
+
export declare class CarouselOptions implements IDesignerProperties {
|
|
5
|
+
imageFieldName: string;
|
|
6
|
+
descriptionFieldName: string;
|
|
7
|
+
imageWidth: number;
|
|
8
|
+
pageSize: number;
|
|
9
|
+
numVisible: number;
|
|
10
|
+
numScroll: number;
|
|
11
|
+
usePreview: boolean;
|
|
12
|
+
responsiveOptions: ResponsiveOption[];
|
|
13
|
+
itemTemplateString: string;
|
|
14
|
+
constructor();
|
|
15
|
+
init(metaInfo: MetaInfo): void;
|
|
16
|
+
archetypePropName: string;
|
|
17
|
+
getDesignerProps(metaInfo: MetaInfo, action: BehaviorSubject<any>): MetaInfo;
|
|
18
|
+
}
|
|
19
|
+
export declare class ResponsiveOption implements IDesignerProperties {
|
|
20
|
+
breakpoint: string;
|
|
21
|
+
numVisible: number;
|
|
22
|
+
numScroll: number;
|
|
23
|
+
archetypePropName: string;
|
|
24
|
+
constructor();
|
|
25
|
+
init(metaInfo: MetaInfo): void;
|
|
26
|
+
getDesignerProps(metaInfo: MetaInfo, action: BehaviorSubject<any>): MetaInfo;
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import { IDesignerProperties } from "./IDesignerProperties";
|
|
3
|
+
import { MetaInfo } from "./metaInfo";
|
|
4
|
+
import { ResultInfo } from "./resultInfo";
|
|
5
|
+
export declare class ChartOptions implements IDesignerProperties {
|
|
6
|
+
type: 'bar' | 'line' | 'scatter' | 'bubble' | 'pie' | 'doughnut' | 'polarArea' | 'radar';
|
|
7
|
+
options: any;
|
|
8
|
+
drillDown: string | ((clickedItem: any, chartOptions: any, data: any) => void);
|
|
9
|
+
dataOptions: chartDataOption;
|
|
10
|
+
constructor();
|
|
11
|
+
init(metaInfo: MetaInfo): void;
|
|
12
|
+
archetypePropName: string;
|
|
13
|
+
getDesignerProps(metaInfo: MetaInfo, action: BehaviorSubject<any>): MetaInfo;
|
|
14
|
+
}
|
|
15
|
+
export declare class chartDataOption {
|
|
16
|
+
getChartData: string | ((data: ResultInfo) => any);
|
|
17
|
+
dataProperty: 'dato' | 'Agg';
|
|
18
|
+
cutOffCount: number;
|
|
19
|
+
datasets: ChartDatasetOptions[];
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
22
|
+
export declare class ChartDatasetOptions {
|
|
23
|
+
label: string;
|
|
24
|
+
labelField: string;
|
|
25
|
+
dataField: string;
|
|
26
|
+
backgroundColorField: string;
|
|
27
|
+
generateRandomColor: boolean;
|
|
28
|
+
borderColorField: string;
|
|
29
|
+
parseData: string | ((data: any[]) => any);
|
|
30
|
+
constructor();
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataSourceComponent } from "../component/data-source/data-source.component";
|
|
2
|
+
import { SortInfo } from "./sortInfo";
|
|
3
|
+
export declare class ComboParams {
|
|
4
|
+
endpoint: any;
|
|
5
|
+
dataroute: string;
|
|
6
|
+
sortInfo: SortInfo[];
|
|
7
|
+
groupInfo: any;
|
|
8
|
+
filterInfo: any;
|
|
9
|
+
md_server_side_operations: boolean;
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
constructor(ds: DataSourceComponent);
|
|
12
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import { DataSourceComponent } from "../component/data-source/data-source.component";
|
|
3
|
+
import { MenuItem } from "primeng/api";
|
|
4
|
+
export declare class DesignerTool {
|
|
5
|
+
componentId?: number;
|
|
6
|
+
uniqueName?: string;
|
|
7
|
+
displayName?: string;
|
|
8
|
+
toolProps?: any[];
|
|
9
|
+
toolId: number;
|
|
10
|
+
name: string;
|
|
11
|
+
tag: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
inputProps: {
|
|
14
|
+
[key: string]: DesignerToolProp;
|
|
15
|
+
};
|
|
16
|
+
inputs: {
|
|
17
|
+
[key: string]: any | BehaviorSubject<any>;
|
|
18
|
+
};
|
|
19
|
+
nestedComponents?: DesignerTool[];
|
|
20
|
+
allowedChildren?: string[];
|
|
21
|
+
hide?: boolean;
|
|
22
|
+
group?: string;
|
|
23
|
+
suggestions?: string[];
|
|
24
|
+
componentRef?: BehaviorSubject<{
|
|
25
|
+
component: DataSourceComponent;
|
|
26
|
+
id: number;
|
|
27
|
+
name: string;
|
|
28
|
+
uniqueName: string;
|
|
29
|
+
}>;
|
|
30
|
+
events?: any;
|
|
31
|
+
onDrop?: (dt: DesignerTool) => void;
|
|
32
|
+
ctxItems?: MenuItem[];
|
|
33
|
+
refCtxItems?: MenuItem[];
|
|
34
|
+
}
|
|
35
|
+
export declare class DesignerToolProp {
|
|
36
|
+
propertyCaption?: string;
|
|
37
|
+
type: 'string' | 'txt_area' | 'dictionary' | 'boolean' | 'number' | 'color' | 'button' | 'numberToArray' | 'autocomplete' | 'dropped-component-list' | 'dropped-component' | 'html-string' | 'selectedItem' | 'propertyTree' | 'function' | 'metaEditor';
|
|
38
|
+
async?: boolean;
|
|
39
|
+
hideCaption?: boolean;
|
|
40
|
+
hide?: boolean;
|
|
41
|
+
values?: string[];
|
|
42
|
+
filter?: string;
|
|
43
|
+
serializable?: boolean | any;
|
|
44
|
+
multiple?: boolean;
|
|
45
|
+
metaColumnName?: string;
|
|
46
|
+
metaRoute?: string;
|
|
47
|
+
displayField?: string;
|
|
48
|
+
valueField?: string;
|
|
49
|
+
asyncPath?: string;
|
|
50
|
+
conditional?: (inputProps: {
|
|
51
|
+
[key: string]: DesignerToolProp;
|
|
52
|
+
}, inputs: {
|
|
53
|
+
[key: string]: any | BehaviorSubject<any>;
|
|
54
|
+
}, newValue: any, oldValue: any) => void;
|
|
55
|
+
converter?: (obj: any, prop: string, newValue: any, tool: DesignerTool) => void;
|
|
56
|
+
callback?: (obj: any, prop: string, newValue: any, tool: DesignerTool) => void;
|
|
57
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class FilterItem {
|
|
2
|
+
field: string;
|
|
3
|
+
operatore: string;
|
|
4
|
+
value: string;
|
|
5
|
+
fixed?: boolean;
|
|
6
|
+
__extra?: boolean;
|
|
7
|
+
constructor(params: {
|
|
8
|
+
field: string;
|
|
9
|
+
operator: string;
|
|
10
|
+
value: string;
|
|
11
|
+
fixed?: boolean;
|
|
12
|
+
__extra?: boolean;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import { IDesignerProperties } from "./IDesignerProperties";
|
|
3
|
+
import { MetaInfo } from "./metaInfo";
|
|
4
|
+
export declare class MapOptions implements IDesignerProperties {
|
|
5
|
+
mapId: string;
|
|
6
|
+
zoom: number;
|
|
7
|
+
center: Point;
|
|
8
|
+
minZoom: number;
|
|
9
|
+
maxZoom: number;
|
|
10
|
+
useCurrentLocation: boolean;
|
|
11
|
+
useClusterer: boolean;
|
|
12
|
+
filterByBoundaries: boolean;
|
|
13
|
+
customMarkerImageSrc: string;
|
|
14
|
+
customMarkerImageSrcField: string;
|
|
15
|
+
markerContentCallback: string;
|
|
16
|
+
titleField: string;
|
|
17
|
+
infoField: string;
|
|
18
|
+
infoFunction: string;
|
|
19
|
+
itemTemplateString: string;
|
|
20
|
+
constructor();
|
|
21
|
+
init(metaInfo: MetaInfo): void;
|
|
22
|
+
archetypePropName: string;
|
|
23
|
+
getDesignerProps(metaInfo: MetaInfo, action: BehaviorSubject<any>): MetaInfo;
|
|
24
|
+
}
|
|
25
|
+
export declare class Point {
|
|
26
|
+
lat: number;
|
|
27
|
+
lng: number;
|
|
28
|
+
archetypePropName: string;
|
|
29
|
+
constructor();
|
|
30
|
+
getDesignerProps(metaInfo: MetaInfo, action: BehaviorSubject<any>): MetaInfo;
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MetadatiColonna } from "./metadati_colonna";
|
|
2
|
+
import { MetadatiTabella } from "./metadati_tabella";
|
|
3
|
+
export declare class MetaInfo {
|
|
4
|
+
tableMetadata: MetadatiTabella;
|
|
5
|
+
columnMetadata: MetadatiColonna[];
|
|
6
|
+
editMode: boolean;
|
|
7
|
+
dataTabs: any[];
|
|
8
|
+
pKey: MetadatiColonna;
|
|
9
|
+
nestedRoutes?: {
|
|
10
|
+
route: string;
|
|
11
|
+
pKeys: string[];
|
|
12
|
+
fKeys: string[];
|
|
13
|
+
nestedTabCaption?: string;
|
|
14
|
+
nestedGridCaption?: string;
|
|
15
|
+
nestedGridContainerClass?: string;
|
|
16
|
+
action?: string;
|
|
17
|
+
}[];
|
|
18
|
+
rowsPerPageOptions?: number[];
|
|
19
|
+
gridRowTemplateCondition?: Function;
|
|
20
|
+
hasFooter?: boolean;
|
|
21
|
+
operators: {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
frozen?: boolean;
|
|
25
|
+
constructor();
|
|
26
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { WtoolboxService } from "../service/wtoolbox.service";
|
|
2
|
+
import { MetadatiTabella } from "./metadati_tabella";
|
|
3
|
+
import { MetadatiUiStiliColonna } from "./metadati_ui_stili_colonna";
|
|
4
|
+
import { MetadatiUtentiAutorizzazioniColonna } from "./metadati_utenti_autorizzazioni_colonna";
|
|
5
|
+
import { MetaInfo } from "./metaInfo";
|
|
6
|
+
import { ValidationRule } from "./validationRule";
|
|
7
|
+
import type { IFieldEditor } from "./IFieldEditor";
|
|
8
|
+
import { BehaviorSubject } from "rxjs";
|
|
9
|
+
import { EditorOptions } from "../component/code-editor/editor-options";
|
|
10
|
+
export declare class MetadatiColonna {
|
|
11
|
+
__user_id: number;
|
|
12
|
+
mc_id: number;
|
|
13
|
+
mc_real_column_name: string;
|
|
14
|
+
mc_nome_colonna: string;
|
|
15
|
+
ang_name: string;
|
|
16
|
+
mc_db_column_type: string;
|
|
17
|
+
mc_is_primary_key: boolean;
|
|
18
|
+
mc_ui_size_width: string;
|
|
19
|
+
mc_ui_size_height: string;
|
|
20
|
+
mc_display_string_in_edit: string;
|
|
21
|
+
mc_display_string_in_view: string;
|
|
22
|
+
mc_ui_column_type: 'text' | 'txt_area' | 'number' | 'number_boolean' | 'date' | 'datetime' | 'boolean' | 'lookupByID' | 'multiple_check' | 'point' | 'button' | 'code_editor' | 'dictionary' | 'dictionary_radio' | 'html_area' | 'upload' | 'color' | 'polygon' | 'tree' | string;
|
|
23
|
+
mc_ordine: number;
|
|
24
|
+
mc_hide_in_list: boolean;
|
|
25
|
+
mc_hide_in_edit: boolean;
|
|
26
|
+
mc_hide_in_detail: boolean;
|
|
27
|
+
hide_in_import: boolean;
|
|
28
|
+
mc_hide_in_service: boolean;
|
|
29
|
+
mc_show_in_filters: boolean;
|
|
30
|
+
mc_is_range_filter: boolean;
|
|
31
|
+
mc_default_value: string;
|
|
32
|
+
mc_is_multicheck_filter: boolean;
|
|
33
|
+
mc_ui_grid_size_width: string;
|
|
34
|
+
mc_is_db_computed: boolean;
|
|
35
|
+
mc_logic_editable: boolean;
|
|
36
|
+
mc_logic_nullable: boolean;
|
|
37
|
+
mc_default_value_callback: string;
|
|
38
|
+
mc_selection_changing_custom_function: string;
|
|
39
|
+
mc_selection_changed_custom_function: string;
|
|
40
|
+
mc_suggest_value_callback: string;
|
|
41
|
+
mc_ui_grid_conditional_template_class: string;
|
|
42
|
+
mc_ui_grid_conditional_alt_template_class: string;
|
|
43
|
+
mc_ui_grid_conditional_template_condition: string;
|
|
44
|
+
mc_ui_grid_column_data_template: string;
|
|
45
|
+
mc_dictionary_value: string;
|
|
46
|
+
mc_aggregation: string;
|
|
47
|
+
mc_is_computed: boolean;
|
|
48
|
+
mc_computed_formula: string;
|
|
49
|
+
mc_computed_client_formula: string;
|
|
50
|
+
convert_null_to_string: string;
|
|
51
|
+
mc_max_length: string;
|
|
52
|
+
mc_grant_by_default: boolean;
|
|
53
|
+
mc_edit_associated_tab: string;
|
|
54
|
+
mc_auto_uppercase: boolean;
|
|
55
|
+
mc_is_logic_delete_key: boolean;
|
|
56
|
+
mc_tooltip: string;
|
|
57
|
+
mc_validation_has: boolean;
|
|
58
|
+
mc_validation_required: boolean;
|
|
59
|
+
mc_validation_message: string;
|
|
60
|
+
mc_validation_type: string;
|
|
61
|
+
mc_validation_pattern: string;
|
|
62
|
+
mc_validation_max_length: string;
|
|
63
|
+
mc_validation_min_length: string;
|
|
64
|
+
mc_validation_pattern_message: string;
|
|
65
|
+
mc_validation_max_length_message: string;
|
|
66
|
+
mc_validation_min_length_message: string;
|
|
67
|
+
mc_validation_type_message: string;
|
|
68
|
+
mc_validation_custom_callback: string;
|
|
69
|
+
mc_logic_converter_has: boolean;
|
|
70
|
+
mc_logic_converter_read_callback: string;
|
|
71
|
+
mc_logic_converter_write_callback: string;
|
|
72
|
+
mc_default_sort: string;
|
|
73
|
+
mc_default_multisort_order: number;
|
|
74
|
+
mc_hide_in_export: boolean;
|
|
75
|
+
mc_disable_sorting: boolean;
|
|
76
|
+
mc_ui_is_password: boolean;
|
|
77
|
+
mc_password_encription_method: string;
|
|
78
|
+
mc_custom_join: string;
|
|
79
|
+
mc_ui_lookup_filter: string;
|
|
80
|
+
mc_ui_lookup_dataValueField: string;
|
|
81
|
+
mc_ui_lookup_dataTextField: string;
|
|
82
|
+
mc_ui_lookup_entity_name: string;
|
|
83
|
+
mc_serverside_operations: boolean;
|
|
84
|
+
mc_ui_pagesize: number;
|
|
85
|
+
mc_ui_lookup_computed_dataTextField: string;
|
|
86
|
+
mc_ui_lookup_combo_text_edit_computed_dataTextField: string;
|
|
87
|
+
mc_logic_allow_navigation: boolean;
|
|
88
|
+
mc_logic_navigate_new_window: boolean;
|
|
89
|
+
mc_ui_lookup_edit_allow: boolean;
|
|
90
|
+
mc_ui_lookup_insert_allow: boolean;
|
|
91
|
+
mc_ui_lookup_search_grid: boolean;
|
|
92
|
+
mc_custom_select_clause: string;
|
|
93
|
+
mc_ui_slider_min?: number;
|
|
94
|
+
mc_ui_slider_max?: number;
|
|
95
|
+
mc_ui_slider_format: string;
|
|
96
|
+
mc_ui_slider_decimals: number;
|
|
97
|
+
mc_ui_slider_smallstep: number;
|
|
98
|
+
mc_ui_slider_largestep: number;
|
|
99
|
+
mc_ui_grid_is_multiple_check: boolean;
|
|
100
|
+
mc_ui_grid_related_id_field: string;
|
|
101
|
+
mc_ui_grid_display_field: string;
|
|
102
|
+
mc_ui_grid_manytomany_route: string;
|
|
103
|
+
mc_ui_grid_route: string;
|
|
104
|
+
mc_ui_grid_manytomany_local_id_field: string;
|
|
105
|
+
mc_ui_grid_manytomany_related_id_field: string;
|
|
106
|
+
mc_ui_grid_local_id_field: string;
|
|
107
|
+
isImageUpload: boolean;
|
|
108
|
+
isDBUpload: boolean;
|
|
109
|
+
upload_secure: boolean;
|
|
110
|
+
isMultipleUpload: boolean;
|
|
111
|
+
IsZippedUpload: boolean;
|
|
112
|
+
UseRouteNameAsSubfolder: boolean;
|
|
113
|
+
UseRecordIDAsSubfolder: boolean;
|
|
114
|
+
key_field_name: string;
|
|
115
|
+
DefaultUploadRootPath: string;
|
|
116
|
+
MultipleUploadTableRoute: string;
|
|
117
|
+
MultipleUploadBlobFieldName: string;
|
|
118
|
+
MultipleUploadBlobThumbFieldName: string;
|
|
119
|
+
MultipleUploadFilePathFieldName: string;
|
|
120
|
+
MultipleUploadFileTitleFieldName: string;
|
|
121
|
+
MultipleUploadFileNameFieldName: string;
|
|
122
|
+
MultipleUploadFileSizeFieldName: string;
|
|
123
|
+
MultipleUploadFileTypeFieldName: string;
|
|
124
|
+
MultipleUploadFileIconPathFieldName: string;
|
|
125
|
+
MultipleUploadFKey: string;
|
|
126
|
+
AllowWebCamShot: boolean;
|
|
127
|
+
AllowWebCamVideo: boolean;
|
|
128
|
+
createThumb: boolean;
|
|
129
|
+
thumbWidth: number;
|
|
130
|
+
thumbHeight: number;
|
|
131
|
+
customUploadHandlerPath: string;
|
|
132
|
+
uploadsecure: boolean;
|
|
133
|
+
mc_button_caption: string;
|
|
134
|
+
mc_button_action: string;
|
|
135
|
+
mc_button_confirm_message: string;
|
|
136
|
+
mc_button_executed_message: string;
|
|
137
|
+
mc_button_tooltip: string;
|
|
138
|
+
mc_button_template: string;
|
|
139
|
+
mc_button_image: string;
|
|
140
|
+
mc_button_visibility_condition: string;
|
|
141
|
+
mc_button_action_type: number;
|
|
142
|
+
mc_logic_cascade_isMember: boolean;
|
|
143
|
+
mc_logic_cascade_childToReset: string;
|
|
144
|
+
mc_logic_cascade_filteringParent: string;
|
|
145
|
+
mc_filter_disable_operator: string;
|
|
146
|
+
mc_filter_hide_operator: boolean;
|
|
147
|
+
mc_editable_insert_only: string;
|
|
148
|
+
_Metadati_UI_Stili_Colonnes: MetadatiUiStiliColonna[];
|
|
149
|
+
_Metadati_Utenti_Autorizzazioni_Colonnes: MetadatiUtentiAutorizzazioniColonna[];
|
|
150
|
+
mc_custom_edit_cell_template: string;
|
|
151
|
+
mc_filter_hierarchy: boolean;
|
|
152
|
+
cssPaths: string;
|
|
153
|
+
snippetsTemplate: string;
|
|
154
|
+
container_class: string;
|
|
155
|
+
useHtmlAspxEditor: boolean;
|
|
156
|
+
allowed_file_types: string;
|
|
157
|
+
max_file_size: number;
|
|
158
|
+
mc_value_change_trigger_event: string;
|
|
159
|
+
mc_syntax_builder: string;
|
|
160
|
+
use_slider_in_edit: boolean;
|
|
161
|
+
use_gauge_in_view: boolean;
|
|
162
|
+
use_chart_in_view: boolean;
|
|
163
|
+
hide_value_in_view: boolean;
|
|
164
|
+
mc_chart_label_template: string;
|
|
165
|
+
mc_chart_ranges: string;
|
|
166
|
+
mc_chart_select: string;
|
|
167
|
+
mc_props_bag: string;
|
|
168
|
+
extras: {
|
|
169
|
+
parameters: any[];
|
|
170
|
+
form: {
|
|
171
|
+
columns?: number;
|
|
172
|
+
disabled?: boolean;
|
|
173
|
+
};
|
|
174
|
+
style: {
|
|
175
|
+
editCss: string;
|
|
176
|
+
};
|
|
177
|
+
checkUniqueValue: string;
|
|
178
|
+
lookup: any;
|
|
179
|
+
customEditorConfig: {
|
|
180
|
+
editorOptions: EditorOptions;
|
|
181
|
+
compilerOptions?: monaco.languages.typescript.CompilerOptions;
|
|
182
|
+
schemas?: any[];
|
|
183
|
+
codeContext?: string;
|
|
184
|
+
extraLibs?: string[];
|
|
185
|
+
routeContextField?: string;
|
|
186
|
+
columnContextField?: string;
|
|
187
|
+
};
|
|
188
|
+
uploader: {
|
|
189
|
+
beforeUpload: string | Function;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
hideSelectAllCheck: boolean;
|
|
193
|
+
jsonEditor: string;
|
|
194
|
+
afterUpload: string;
|
|
195
|
+
logic_disabled: boolean;
|
|
196
|
+
_Metadati_Tabelle: MetadatiTabella;
|
|
197
|
+
isOut: any;
|
|
198
|
+
$$currentOperator?: {
|
|
199
|
+
name: string;
|
|
200
|
+
caption: string;
|
|
201
|
+
};
|
|
202
|
+
mc_ui_filter_size_width: string;
|
|
203
|
+
validationsRules: ValidationRule[];
|
|
204
|
+
extraFields: any;
|
|
205
|
+
mc_button_action__fn: (record: {
|
|
206
|
+
[key: string]: BehaviorSubject<any>;
|
|
207
|
+
}, event: any, field: MetadatiColonna, wtoolbox: typeof WtoolboxService) => void;
|
|
208
|
+
mc_selection_changed_custom_function__fn: (record: {
|
|
209
|
+
[key: string]: BehaviorSubject<any>;
|
|
210
|
+
}, field: MetadatiColonna, metaInfo: MetaInfo, newValue: any, oldValue: any, wtoolbox: typeof WtoolboxService, nestedIndex?: number, nodes?: any[]) => void;
|
|
211
|
+
mc_selection_changing_custom_function__fn: (record: {
|
|
212
|
+
[key: string]: BehaviorSubject<any>;
|
|
213
|
+
}, field: MetadatiColonna, metaInfo: MetaInfo, newValue: any, oldValue: any, event: any, wtoolbox: typeof WtoolboxService) => void;
|
|
214
|
+
mc_default_value_callback__fn: (record: {
|
|
215
|
+
[key: string]: BehaviorSubject<any>;
|
|
216
|
+
}, field: MetadatiColonna, metaInfo: MetaInfo, wtoolbox: typeof WtoolboxService) => any;
|
|
217
|
+
mc_suggest_value_callback__fn: (record: {
|
|
218
|
+
[key: string]: BehaviorSubject<any>;
|
|
219
|
+
}, field: MetadatiColonna, metaInfo: MetaInfo, wtoolbox: typeof WtoolboxService) => string;
|
|
220
|
+
mc_validation_custom_callback__fn: (record: {
|
|
221
|
+
[key: string]: BehaviorSubject<any>;
|
|
222
|
+
}, field: MetadatiColonna, vr: ValidationRule, wtoolbox: typeof WtoolboxService) => boolean;
|
|
223
|
+
editor: BehaviorSubject<IFieldEditor>;
|
|
224
|
+
codeEditing: boolean;
|
|
225
|
+
propConstructor: any;
|
|
226
|
+
propPath: string;
|
|
227
|
+
constructor(name: string);
|
|
228
|
+
static clone(col: MetadatiColonna): MetadatiColonna;
|
|
229
|
+
static formatGridViewValue(metaColumn: MetadatiColonna, recordObj: any): any;
|
|
230
|
+
private static evaluateGridColumnDataTemplate;
|
|
231
|
+
static validateField(value: any, vr: ValidationRule, record: {
|
|
232
|
+
[key: string]: BehaviorSubject<any>;
|
|
233
|
+
}, field: MetadatiColonna): Promise<void>;
|
|
234
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare class MetadatiConditionGroup {
|
|
2
|
+
__user_id: number;
|
|
3
|
+
CG_Id: number;
|
|
4
|
+
CG_Name: string;
|
|
5
|
+
md_id: number;
|
|
6
|
+
CI_Id: number;
|
|
7
|
+
CI_Evaluation_Trigger: 0 | 1;
|
|
8
|
+
CI_Comparison_Left_Field: string;
|
|
9
|
+
CI_Comparison_Operator: string;
|
|
10
|
+
CI_Comparison_Right_Field: string;
|
|
11
|
+
CI_Formula: string;
|
|
12
|
+
CI_Enabled: boolean;
|
|
13
|
+
ConditionActions: MetadatiConditionGroupAction[];
|
|
14
|
+
constructor();
|
|
15
|
+
}
|
|
16
|
+
export declare class MetadatiConditionGroupAction {
|
|
17
|
+
__user_id: number;
|
|
18
|
+
CAG_Id: number;
|
|
19
|
+
CAG_Name: string;
|
|
20
|
+
FK_CG_Id: number;
|
|
21
|
+
CAG_Execute_If_False?: boolean;
|
|
22
|
+
CAI_Id: number;
|
|
23
|
+
FK_CAG_Id: number;
|
|
24
|
+
CAI_Target_Field: string;
|
|
25
|
+
CAI_Target_Action: '0' | '1' | '2' | '3' | '4' | '5';
|
|
26
|
+
CAI_Target_Action_Param_Value: string;
|
|
27
|
+
CAI_Formula: string;
|
|
28
|
+
CAI_Enabled: boolean;
|
|
29
|
+
constructor();
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataSourceComponent } from "../component/data-source/data-source.component";
|
|
2
|
+
import { WtoolboxService } from "../service/wtoolbox.service";
|
|
3
|
+
import { MetaInfo } from "./metaInfo";
|
|
4
|
+
export declare class MetadatiCustomActionTabella {
|
|
5
|
+
__user_id?: number;
|
|
6
|
+
Id?: number;
|
|
7
|
+
button_template?: string;
|
|
8
|
+
button_image?: string;
|
|
9
|
+
button_caption: string;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
_disabled?: boolean;
|
|
12
|
+
action_callback?: string;
|
|
13
|
+
disable_callback?: string;
|
|
14
|
+
action_callback__fn: ((datasource: DataSourceComponent, metaInfo: MetaInfo, record: any, event: any, wtoolbox: typeof WtoolboxService) => void);
|
|
15
|
+
disable_callback__fn?: ((datasource: DataSourceComponent, metaInfo: MetaInfo, record: any, wtoolbox: typeof WtoolboxService) => Promise<boolean>);
|
|
16
|
+
md_id?: number;
|
|
17
|
+
md_action_type?: number;
|
|
18
|
+
constructor();
|
|
19
|
+
}
|