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.
Files changed (154) hide show
  1. package/README.md +24 -0
  2. package/fesm2022/wuic-framework-lib.mjs +45009 -0
  3. package/fesm2022/wuic-framework-lib.mjs.map +1 -0
  4. package/index.d.ts +5 -0
  5. package/lib/app.routes.d.ts +2 -0
  6. package/lib/class/IBindable.d.ts +17 -0
  7. package/lib/class/IDesigner.d.ts +4 -0
  8. package/lib/class/IDesignerProperties.d.ts +7 -0
  9. package/lib/class/IFieldEditor.d.ts +21 -0
  10. package/lib/class/aggregationInfo.d.ts +5 -0
  11. package/lib/class/carouselOptions.d.ts +27 -0
  12. package/lib/class/chartOptions.d.ts +31 -0
  13. package/lib/class/comboParams.d.ts +12 -0
  14. package/lib/class/customException.d.ts +6 -0
  15. package/lib/class/designerTool.d.ts +57 -0
  16. package/lib/class/filterInfo.d.ts +6 -0
  17. package/lib/class/filterItem.d.ts +14 -0
  18. package/lib/class/formOptions.d.ts +5 -0
  19. package/lib/class/groupInfo.d.ts +7 -0
  20. package/lib/class/lingua.d.ts +5 -0
  21. package/lib/class/mapOptions.d.ts +31 -0
  22. package/lib/class/metaInfo.d.ts +26 -0
  23. package/lib/class/metadati_colonna.d.ts +234 -0
  24. package/lib/class/metadati_condition_group.d.ts +30 -0
  25. package/lib/class/metadati_custom_actions_tabelle.d.ts +19 -0
  26. package/lib/class/metadati_tabella.d.ts +214 -0
  27. package/lib/class/metadati_ui_stili_colonna.d.ts +8 -0
  28. package/lib/class/metadati_ui_stili_tabella.d.ts +7 -0
  29. package/lib/class/metadati_utenti_autorizzazioni_colonna.d.ts +10 -0
  30. package/lib/class/rawPagedResult.d.ts +7 -0
  31. package/lib/class/resultInfo.d.ts +14 -0
  32. package/lib/class/schedulerOptions.d.ts +14 -0
  33. package/lib/class/sortInfo.d.ts +5 -0
  34. package/lib/class/trackedChanges.d.ts +13 -0
  35. package/lib/class/translation.d.ts +7 -0
  36. package/lib/class/treeOptions.d.ts +15 -0
  37. package/lib/class/updateInfo.d.ts +9 -0
  38. package/lib/class/userInfo.d.ts +19 -0
  39. package/lib/class/validationRule.d.ts +10 -0
  40. package/lib/class/widgetDefinition.d.ts +28 -0
  41. package/lib/component/archetype-configurator/archetype-configurator.component.d.ts +28 -0
  42. package/lib/component/bounded-repeater/bounded-repeater.component.d.ts +32 -0
  43. package/lib/component/carousel-list/carousel-list.component.d.ts +66 -0
  44. package/lib/component/chart-list/chart-list.component.d.ts +135 -0
  45. package/lib/component/code-editor/code-editor.component.d.ts +86 -0
  46. package/lib/component/code-editor/editor-options.d.ts +12 -0
  47. package/lib/component/code-editor/html-parser.d.ts +27 -0
  48. package/lib/component/code-editor/sql-model.d.ts +87 -0
  49. package/lib/component/code-editor/sql-parser.d.ts +157 -0
  50. package/lib/component/code-editor/ts-parser.d.ts +93 -0
  51. package/lib/component/code-editor/wuic-component-bindings.d.ts +7 -0
  52. package/lib/component/code-editor/wuic-component-selectors.d.ts +1 -0
  53. package/lib/component/css-sheet-editor/css-sheet-editor.component.d.ts +71 -0
  54. package/lib/component/dashboard/dashboard.component.d.ts +12 -0
  55. package/lib/component/data-action-button/data-action-button.component.d.ts +45 -0
  56. package/lib/component/data-repeater/data-repeater.component.d.ts +32 -0
  57. package/lib/component/data-source/data-source.component.d.ts +147 -0
  58. package/lib/component/designer/designer.component.d.ts +269 -0
  59. package/lib/component/dynamic-dashboard-template/dynamic-dashboard-template.component.d.ts +39 -0
  60. package/lib/component/dynamic-form-template/dynamic-form-template.component.d.ts +11 -0
  61. package/lib/component/dynamic-generic-template/dynamic-generic-template.component.d.ts +20 -0
  62. package/lib/component/dynamic-repeater-template/dynamic-repeater-template.component.d.ts +15 -0
  63. package/lib/component/dynamic-template/dynamic-template.component.d.ts +31 -0
  64. package/lib/component/edit-form/edit-form.component.d.ts +62 -0
  65. package/lib/component/field/boolean-editor/boolean-editor.component.d.ts +23 -0
  66. package/lib/component/field/button-editor/button-editor.component.d.ts +25 -0
  67. package/lib/component/field/code-area-editor/code-area-editor.component.d.ts +20 -0
  68. package/lib/component/field/color-editor/color-editor.component.d.ts +23 -0
  69. package/lib/component/field/date-editor/date-editor.component.d.ts +25 -0
  70. package/lib/component/field/dictionary-editor/dictionary-editor.component.d.ts +35 -0
  71. package/lib/component/field/field-editor/field-editor.component.d.ts +65 -0
  72. package/lib/component/field/field-filter/field-filter.component.d.ts +43 -0
  73. package/lib/component/field/html-editor/html-editor.component.d.ts +24 -0
  74. package/lib/component/field/lookup-editor/lookup-editor.component.d.ts +35 -0
  75. package/lib/component/field/number-editor/number-editor.component.d.ts +26 -0
  76. package/lib/component/field/point-filter/point-filter.component.d.ts +34 -0
  77. package/lib/component/field/property-array-editor/property-array-editor.component.d.ts +27 -0
  78. package/lib/component/field/property-object-editor/property-object-editor.component.d.ts +26 -0
  79. package/lib/component/field/text-area-editor/text-area-editor.component.d.ts +24 -0
  80. package/lib/component/field/text-editor/text-editor.component.d.ts +25 -0
  81. package/lib/component/field/tree-view-selector/tree-view-selector.component.d.ts +22 -0
  82. package/lib/component/field/upload-editor/upload-editor.component.d.ts +38 -0
  83. package/lib/component/filter-bar/filter-bar.component.d.ts +67 -0
  84. package/lib/component/image-wrapper/image-wrapper.component.d.ts +15 -0
  85. package/lib/component/list-grid/list-grid.component.d.ts +238 -0
  86. package/lib/component/map-list/map-list.component.d.ts +137 -0
  87. package/lib/component/meta-menu/meta-menu.component.d.ts +97 -0
  88. package/lib/component/metadata-editor/metadata-editor.component.d.ts +125 -0
  89. package/lib/component/pager/pager.component.d.ts +41 -0
  90. package/lib/component/parametric-dialog/parametric-dialog.component.d.ts +44 -0
  91. package/lib/component/report-designer/report-designer.component.d.ts +19 -0
  92. package/lib/component/report-viewer/report-viewer.component.d.ts +20 -0
  93. package/lib/component/scheduler-list/scheduler-list.component.d.ts +54 -0
  94. package/lib/component/split/gutter/gutter-num-token.d.ts +7 -0
  95. package/lib/component/split/gutter/split-gutter-dynamic-injector.directive.d.ts +19 -0
  96. package/lib/component/split/gutter/split-gutter.directive.d.ts +54 -0
  97. package/lib/component/split/helpers/angular-split-config.token.d.ts +20 -0
  98. package/lib/component/split/helpers/models.d.ts +11 -0
  99. package/lib/component/split/helpers/split-custom-events-behavior.directive.d.ts +22 -0
  100. package/lib/component/split/helpers/utils.d.ts +30 -0
  101. package/lib/component/split/helpers/validations.d.ts +3 -0
  102. package/lib/component/split/split.component.d.ts +65 -0
  103. package/lib/component/split-area/split-area.component.d.ts +36 -0
  104. package/lib/component/spreadsheet-list/spreadsheet-list.component.d.ts +132 -0
  105. package/lib/component/tab-panel-wrapper/tab-panel-wrapper.component.d.ts +6 -0
  106. package/lib/component/tab-view-wrapper/tab-view-wrapper.component.d.ts +8 -0
  107. package/lib/component/tree-list/tree-list.component.d.ts +43 -0
  108. package/lib/component/workflow-designer/workflow-designer-node.component.d.ts +50 -0
  109. package/lib/component/workflow-designer/workflow-designer.component.d.ts +262 -0
  110. package/lib/component/workflow-runner/workflow-runner.component.d.ts +91 -0
  111. package/lib/directive/angular-resizable.directive.d.ts +153 -0
  112. package/lib/directive/classes/ngx-draggable-point.d.ts +5 -0
  113. package/lib/directive/classes/ngx-draggable-rect.d.ts +27 -0
  114. package/lib/directive/data-bound.directive.d.ts +16 -0
  115. package/lib/directive/events/ngx-draggable-dom-bounds-check-event.d.ts +32 -0
  116. package/lib/directive/events/ngx-draggable-dom-move-event.d.ts +28 -0
  117. package/lib/directive/helpers/helper-block.d.ts +12 -0
  118. package/lib/directive/helpers/ngx-draggable-dom-math.d.ts +65 -0
  119. package/lib/directive/helpers/ngx-draggable-dom-utilities.d.ts +26 -0
  120. package/lib/directive/helpers/resize-handle.d.ts +14 -0
  121. package/lib/directive/models/position.d.ts +21 -0
  122. package/lib/directive/models/resize-event.d.ts +16 -0
  123. package/lib/directive/models/resize-handle-type.d.ts +11 -0
  124. package/lib/directive/models/size.d.ts +12 -0
  125. package/lib/directive/ngx-draggable-dom.directive.d.ts +175 -0
  126. package/lib/handler/GlobalHandler.d.ts +11 -0
  127. package/lib/handler/mime.d.ts +11 -0
  128. package/lib/pipe/async-callback.pipe.d.ts +11 -0
  129. package/lib/pipe/available-operators.pipe.d.ts +8 -0
  130. package/lib/pipe/callback.pipe.d.ts +7 -0
  131. package/lib/pipe/callback2.pipe.d.ts +7 -0
  132. package/lib/pipe/format-grid-view-value.pipe.d.ts +8 -0
  133. package/lib/pipe/get-src-upload-preview.pipe.d.ts +9 -0
  134. package/lib/pipe/is-selected-row.pipe.d.ts +8 -0
  135. package/lib/pipe/prop-converter.pipe.d.ts +7 -0
  136. package/lib/pipe/show-filter-bar.pipe.d.ts +9 -0
  137. package/lib/pipe/to-date.pipe.d.ts +7 -0
  138. package/lib/pipe/visible-field-list.pipe.d.ts +7 -0
  139. package/lib/service/auth-session.service.d.ts +52 -0
  140. package/lib/service/client-side-crud.service.d.ts +35 -0
  141. package/lib/service/data-provider-meta.service.d.ts +32 -0
  142. package/lib/service/data-provider-odata.service.d.ts +18 -0
  143. package/lib/service/data-provider-webservice.service.d.ts +15 -0
  144. package/lib/service/data-provider.service.d.ts +64 -0
  145. package/lib/service/metadata-editor.service.d.ts +16 -0
  146. package/lib/service/metadata-provider.service.d.ts +160 -0
  147. package/lib/service/translation-manager.service.d.ts +38 -0
  148. package/lib/service/user-info.service.d.ts +24 -0
  149. package/lib/service/workflow-runtime-menu.service.d.ts +15 -0
  150. package/lib/service/workflow-runtime-metadata.service.d.ts +28 -0
  151. package/lib/service/wtoolbox.service.d.ts +145 -0
  152. package/package.json +63 -0
  153. package/public-api.d.ts +48 -0
  154. package/styles/styles.scss +87 -0
@@ -0,0 +1,65 @@
1
+ import { NgxDraggablePoint } from '../classes/ngx-draggable-point';
2
+ export declare enum ElementHandle {
3
+ TL = "tl",
4
+ TR = "tr",
5
+ BL = "bl",
6
+ BR = "br",
7
+ L = "ml",
8
+ R = "mr",
9
+ T = "mt",
10
+ B = "mb"
11
+ }
12
+ /**
13
+ * Helper functions that are used to help with various mathematical calculations.
14
+ */
15
+ export declare class NgxDraggableMath {
16
+ /**
17
+ * Determines if a given point resides inside of the bounds rectangle that is also provided. This determination is
18
+ * calculated within a zero degree orientation coordinate space, therefore, the bounds rectangle that is provided
19
+ * should already be in a normalized size when provided.
20
+ *
21
+ * Also, please note that this logic will treat the one pixel edge of the bounds rectangle as being outside of the
22
+ * boundaries for the purpose of analyzing boundaries.
23
+ *
24
+ * @param point The point to check.
25
+ * @param bounds The boundaries that define where we want to check where the point resides.
26
+ * @return True if the point resides within the bounds.
27
+ */
28
+ static isPointInsideBounds(point: NgxDraggablePoint, bounds: DOMRect): boolean;
29
+ /**
30
+ * Rotates a given NgxDraggablePoint around another pivot NgxDraggablePoint.
31
+ *
32
+ * @param point The point to be rotated.
33
+ * @param pivot The pivot point that we are rotating the NgxDraggablePoint, point, around.
34
+ * @param angle The angle at which we want to rotate the NgxDraggablePoint, point, around the pivot point.
35
+ */
36
+ static rotatePoint(point: NgxDraggablePoint, pivot: NgxDraggablePoint, angle: number): NgxDraggablePoint;
37
+ /**
38
+ * Calculates the linear distance between two provided points.
39
+ *
40
+ * @param p0 The first point.
41
+ * @param p1 The second point.
42
+ */
43
+ static getDistanceBetweenPoints(p0: NgxDraggablePoint, p1: NgxDraggablePoint): number;
44
+ /**
45
+ * Find the coordinate point of the bounding box as defined by w and h and rotated by rotation degrees around point p0.
46
+ *
47
+ * @param p0 The center point of origin we are rotating around.
48
+ * @param w The width of the bounding box we are calculating.
49
+ * @param h The height of the bounding box we are calculating.
50
+ * @param rotation The degrees of rotation being applied to the box.
51
+ * @param coordinate The coordinate you would like "tl", "t", "tr", "r", "br", "b", "bl", "l"
52
+ * @return The requested point.
53
+ */
54
+ static getTransformedCoordinate(p0: NgxDraggablePoint, w: number, h: number, rotation: number, coordinate?: ElementHandle): NgxDraggablePoint | null;
55
+ /**
56
+ * Calculates the bounding box for a given element defined by a center point, width, height, and rotation.
57
+ *
58
+ * @param p0 The center of the object that we need to find the bounding box for.
59
+ * @param w The width of the rectangle.
60
+ * @param h The height of the rectangle.
61
+ * @param rotation The rotation of the defined rectangle.
62
+ * @return The bounding box rectangle.
63
+ */
64
+ static getBoundingBox(p0: NgxDraggablePoint, w: number, h: number, rotation: number): DOMRect | null;
65
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Helper functions that are used to traverse the DOM and perform other helpful tasks.
3
+ */
4
+ export declare class NgxDraggableDomUtilities {
5
+ /**
6
+ * Calculates the computed transform matrix for a given element.
7
+ *
8
+ * @param el The html element that we want to find the computed transform matrix for.
9
+ * @return The computed transform matrix as an array of numbers.
10
+ */
11
+ static getTransformMatrixForElement(el: HTMLElement): number[];
12
+ /**
13
+ * Calculates the current rotation (in degrees) for a given HTMLElement using the computed transform style.
14
+ *
15
+ * @param el The HTMLElement to find the current rotation for.
16
+ */
17
+ static getRotationForElement(el: HTMLElement): number;
18
+ /**
19
+ * Finds the overall computed rotation of the element including parent nodes so we can get an accurate
20
+ * reading on the visual rotation of the element so we can appropriately adjust matrix translation
21
+ * adjustments.
22
+ *
23
+ * @return The overall rotation of all parent nodes.
24
+ */
25
+ static getTotalRotationForElement(node: HTMLElement | null, rotation?: number): number;
26
+ }
@@ -0,0 +1,14 @@
1
+ import { Renderer2 } from '@angular/core';
2
+ export declare class ResizeHandle {
3
+ protected parent: Element;
4
+ protected renderer: Renderer2;
5
+ type: string;
6
+ css: string;
7
+ private onMouseDown;
8
+ private existHandle?;
9
+ protected _handle: Element;
10
+ private _onResize;
11
+ constructor(parent: Element, renderer: Renderer2, type: string, css: string, onMouseDown: any, existHandle?: Element);
12
+ dispose(): void;
13
+ get el(): Element;
14
+ }
@@ -0,0 +1,21 @@
1
+ export interface IPosition {
2
+ x: number;
3
+ y: number;
4
+ }
5
+ export declare class Position implements IPosition {
6
+ x: number;
7
+ y: number;
8
+ constructor(x: number, y: number);
9
+ static fromEvent(e: MouseEvent | TouchEvent, el?: any): Position;
10
+ static isMouseEvent(e: MouseEvent | TouchEvent): e is MouseEvent;
11
+ static isIPosition(obj: any): obj is IPosition;
12
+ static getCurrent(el: Element): Position;
13
+ static copy(p: IPosition): Position;
14
+ get value(): IPosition;
15
+ add(p: IPosition): this;
16
+ subtract(p: IPosition): this;
17
+ multiply(n: number): void;
18
+ divide(n: number): void;
19
+ reset(): this;
20
+ set(p: IPosition): this;
21
+ }
@@ -0,0 +1,16 @@
1
+ import { ISize } from './size';
2
+ export interface IResizeEvent {
3
+ host: any;
4
+ handle: any;
5
+ size: ISize;
6
+ position: {
7
+ top: number;
8
+ left: number;
9
+ };
10
+ direction: {
11
+ n: boolean;
12
+ s: boolean;
13
+ w: boolean;
14
+ e: boolean;
15
+ };
16
+ }
@@ -0,0 +1,11 @@
1
+ export interface ResizeHandleStyle {
2
+ n?: string;
3
+ s?: string;
4
+ e?: string;
5
+ w?: string;
6
+ ne?: string;
7
+ nw?: string;
8
+ se?: string;
9
+ sw?: string;
10
+ }
11
+ export type ResizeHandleType = string | ResizeHandleStyle;
@@ -0,0 +1,12 @@
1
+ export interface ISize {
2
+ width: number;
3
+ height: number;
4
+ }
5
+ export declare class Size implements ISize {
6
+ width: number;
7
+ height: number;
8
+ constructor(width: number, height: number);
9
+ static getCurrent(el: Element): Size;
10
+ static copy(s: Size): Size;
11
+ set(s: ISize): this;
12
+ }
@@ -0,0 +1,175 @@
1
+ import { ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgxDraggableDomDirective {
4
+ private el;
5
+ private renderer;
6
+ private changeRef;
7
+ private static MAX_SAFE_Z_INDEX;
8
+ bounds: HTMLElement | undefined;
9
+ constrainByBounds: boolean;
10
+ handle: HTMLElement | undefined;
11
+ requireMouseOver: boolean;
12
+ requireMouseOverBounds: boolean;
13
+ ignoreMultiTouchEvents: boolean;
14
+ private started;
15
+ private stopped;
16
+ private moved;
17
+ private edge;
18
+ private allowDrag;
19
+ private moving;
20
+ private computedRotation;
21
+ private startPosition;
22
+ private pickUpOffset;
23
+ private oldZIndex;
24
+ private oldPosition;
25
+ private fnMouseMove;
26
+ private fnTouchMove;
27
+ private fnMouseUp;
28
+ private fnTouchEnd;
29
+ /**
30
+ * Read only property that returns the width of the element in a normalized 0 degree rotation orientation.
31
+ *
32
+ * @return The true width of the element.
33
+ */
34
+ private get elWidth();
35
+ /**
36
+ * Read only property that returns the height of the element in a normalized 0 degree rotation orientation.
37
+ *
38
+ * @return The true height of the element.
39
+ */
40
+ private get elHeight();
41
+ /**
42
+ * Calculates and returns the element's center point based on the element's bounding rectangle.
43
+ *
44
+ * @return A NgxDraggablePoint that represents the center point of the element.
45
+ */
46
+ private get elCenter();
47
+ /**
48
+ * Calculates and returns the bounds' center point based on the bounding element's bounding rectangle.
49
+ *
50
+ * @return A NgxDraggablePoint that represents the center point of the bounds.
51
+ */
52
+ private get boundsCenter();
53
+ /**
54
+ * Read only property that calculates the left scroll position of the document.
55
+ *
56
+ * @return The current scroll position of the document in the x direction.
57
+ */
58
+ private get scrollLeft();
59
+ /**
60
+ * Read only property that calculates the top scroll position of the document.
61
+ *
62
+ * @return The current scroll position of the document in the y direction.
63
+ */
64
+ private get scrollTop();
65
+ /**
66
+ * Controls the draggable behavior of the element that the NgxDraggableDirective is applied to.
67
+ *
68
+ * @return True if the element is draggable.
69
+ */
70
+ get ngxDraggableDom(): boolean;
71
+ /**
72
+ * Controls the draggable behavior of the element that the NgxDraggableDirective is applied to.
73
+ *
74
+ * @param enabled Whether the draggable behavior should be turned on or off.
75
+ */
76
+ set ngxDraggableDom(enabled: boolean);
77
+ constructor(el: ElementRef, renderer: Renderer2, changeRef: ChangeDetectorRef);
78
+ /**
79
+ * Event handler for when the element starts moving via mouse interaction.
80
+ *
81
+ * @param event The mouse event for the click event.
82
+ */
83
+ private onMouseDown;
84
+ /**
85
+ * Event handler for when the mouse leaves the element so the drag event ends.
86
+ *
87
+ * @param event The mouse event for when the mouse leaves the element.
88
+ */
89
+ private onMouseLeave;
90
+ /**
91
+ * Event handler for when the element starts moving via a touch event.
92
+ *
93
+ * @param event The touch event to handle as a TouchEvent (or any solely for working around issues with Safari).
94
+ */
95
+ private onTouchStart;
96
+ /**
97
+ * Angular lifecycle hook for initialization that ensures that the draggable class is applied to the element.
98
+ */
99
+ ngOnInit(): void;
100
+ /**
101
+ * Resets the state of the element. This will reset all positioning and movement data
102
+ * but will not modify the current state of any data bound properties.
103
+ */
104
+ reset(): void;
105
+ /**
106
+ * Invoked the Angular change detector to ensure that changes to the element's styling are reflected in the view.
107
+ */
108
+ private ngDetectChanges;
109
+ /**
110
+ * Event handler for when the element is done being dragged as indicated by a mouse release.
111
+ *
112
+ * @param event The mouse event for the click release event.
113
+ */
114
+ private onMouseUp;
115
+ /**
116
+ * Event handler for when the mouse moves. If the element is currently picked up, then we will apply transformations
117
+ * to the element to move it.
118
+ *
119
+ * @param event The mouse event for the movement from the user's mouse.
120
+ */
121
+ private onMouseMove;
122
+ /**
123
+ * Event handler for when the element is done being moved via a touch event.
124
+ *
125
+ * @param event The touch event to handle as a TouchEvent (or any solely for working around issues with Safari).
126
+ */
127
+ private onTouchEnd;
128
+ /**
129
+ * Event handler for when the element is moved via a touch event.
130
+ *
131
+ * @param event The touch event to handle as a TouchEvent (or any solely for working around issues with Safari).
132
+ */
133
+ private onTouchMove;
134
+ /**
135
+ * Checks to see if a given point, that should represent the user's mouse position, resides within
136
+ * the bounds if they are defined and we are both checking for bounds constraints and if we are configured
137
+ * to hold the object steady when constrained and the cursor is outside of the bounds.
138
+ *
139
+ * @param point The point to check to see if it is inside of the boundaries
140
+ */
141
+ private allowMovementForPosition;
142
+ /**
143
+ * Moves the element to a specified coordinate and performs any necessary boundary checking.
144
+ *
145
+ * @param x The x position to move the element to.
146
+ * @param y The y position to move the element to.
147
+ */
148
+ private moveTo;
149
+ /**
150
+ * Puts the element into a state of being moved setting appropriate styles and firing movement events when
151
+ * the element is just beginning to move. Here is where the start position and pick up offset is calculated.
152
+ *
153
+ * @param event The pick up event that will either be a mouse event or touch event.
154
+ */
155
+ private pickUp;
156
+ /**
157
+ * Puts the element down following some movement. This will fire the stopped event to signal that
158
+ * dragging is complete if we are configured to do so.
159
+ *
160
+ * @param fireEvents When set to true, the operation of putting an element back will fire the movement event.
161
+ */
162
+ private putBack;
163
+ /**
164
+ * Uses the defined boundary element and checks for an intersection with the draggable element to determine
165
+ * if any edge has collided with one another. If the edge is collided and we are constraining, we calculate a new translation value
166
+ * and constrained center point so we can position the element reliably within the bounds.
167
+ *
168
+ * @param elP0 The center point of the element position that boundaries should be checked on.
169
+ * @param isSecondaryBoundsCheck Optional parameter that indicates whether we are the secondary bounds check.
170
+ * @return A NgxDraggableDomBoundsCheckEvent indicating which boundary edges were violated or null if boundary check is disabled.
171
+ */
172
+ private boundsCheck;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxDraggableDomDirective, never>;
174
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDraggableDomDirective, "[ngxDraggableDom]", never, { "bounds": { "alias": "bounds"; "required": false; }; "constrainByBounds": { "alias": "constrainByBounds"; "required": false; }; "handle": { "alias": "handle"; "required": false; }; "requireMouseOver": { "alias": "requireMouseOver"; "required": false; }; "requireMouseOverBounds": { "alias": "requireMouseOverBounds"; "required": false; }; "ignoreMultiTouchEvents": { "alias": "ignoreMultiTouchEvents"; "required": false; }; "ngxDraggableDom": { "alias": "ngxDraggableDom"; "required": false; }; }, { "started": "started"; "stopped": "stopped"; "moved": "moved"; "edge": "edge"; }, never, never, true, never>;
175
+ }
@@ -0,0 +1,11 @@
1
+ import { ErrorHandler } from "@angular/core";
2
+ import { CustomException } from "../class/customException";
3
+ import { BehaviorSubject } from "rxjs";
4
+ export declare class GlobalHandler implements ErrorHandler {
5
+ static messageNotification: BehaviorSubject<{
6
+ show: boolean;
7
+ exception: CustomException;
8
+ }>;
9
+ constructor();
10
+ handleError(e: any): void;
11
+ }
@@ -0,0 +1,11 @@
1
+ export declare class mime {
2
+ static types: {
3
+ [key: string]: {
4
+ source?: string;
5
+ compressible?: boolean;
6
+ charset?: string;
7
+ extensions?: string[];
8
+ };
9
+ };
10
+ static getType(filename: string, mimeType: string): string;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { Injector, OnDestroy, PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AsyncCallbackPipe implements PipeTransform, OnDestroy {
4
+ private injector;
5
+ private asyncPipe;
6
+ constructor(injector: Injector);
7
+ ngOnDestroy(): void;
8
+ transform(record: any, ...args: any[]): Promise<any>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AsyncCallbackPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<AsyncCallbackPipe, "asyncCallback", true>;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MetadatiColonna } from '../class/metadati_colonna';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AvailableOperatorsPipe implements PipeTransform {
5
+ transform(operators: any[], field: MetadatiColonna): any[];
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvailableOperatorsPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<AvailableOperatorsPipe, "availableOperators", true>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CallbackPipe implements PipeTransform {
4
+ transform(items: any[], callback: (item: any) => boolean, field?: string): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CallbackPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CallbackPipe, "callback", true>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CallbackPipe2 implements PipeTransform {
4
+ transform(items: any[], callback: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CallbackPipe2, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CallbackPipe2, "callback2", true>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MetadatiColonna } from '../class/metadati_colonna';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormatGridViewValuePipe implements PipeTransform {
5
+ transform(rowData: unknown, metaColumn: MetadatiColonna): unknown;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormatGridViewValuePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormatGridViewValuePipe, "formatGridViewValue", true>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MetadatiColonna } from '../class/metadati_colonna';
3
+ import { MetaInfo } from '../class/metaInfo';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GetSrcUploadPreviewPipe implements PipeTransform {
6
+ transform(value: string, UploadField: MetadatiColonna, metaInfo: MetaInfo, record: any, thumb?: boolean): string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetSrcUploadPreviewPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<GetSrcUploadPreviewPipe, "getSrcUploadPreview", true>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MetaInfo } from '../class/metaInfo';
3
+ import * as i0 from "@angular/core";
4
+ export declare class IsSelectedRowPipe implements PipeTransform {
5
+ transform(items: any[], rowData: any, metaInfo: MetaInfo): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsSelectedRowPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsSelectedRowPipe, "isSelectedRow", true>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PropConverterPipe implements PipeTransform {
4
+ transform(value: unknown, ...args: unknown[]): unknown;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropConverterPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<PropConverterPipe, "propConverter", true>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { BoundedRepeaterComponent } from '../component/bounded-repeater/bounded-repeater.component';
3
+ import { MetadatiColonna } from '../class/metadati_colonna';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ShowFilterBarPipe implements PipeTransform {
6
+ transform(columnMetadata: MetadatiColonna[], repeater: BoundedRepeaterComponent): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowFilterBarPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShowFilterBarPipe, "showFilterBar", true>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToDatePipe implements PipeTransform {
4
+ transform(value: string, ...args: unknown[]): unknown;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToDatePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToDatePipe, "toDate", true>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class VisibleFieldListPipe implements PipeTransform {
4
+ transform(value: any[], ...args: any): any[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibleFieldListPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<VisibleFieldListPipe, "visibleFieldList", true>;
7
+ }
@@ -0,0 +1,52 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { MetadataProviderService } from './metadata-provider.service';
3
+ import { UserInfoService } from './user-info.service';
4
+ import * as i0 from "@angular/core";
5
+ export interface AuthSessionState {
6
+ initialized: boolean;
7
+ loading: boolean;
8
+ enabled: boolean;
9
+ authenticated: boolean;
10
+ legacyAuthenticated: boolean;
11
+ provider?: string;
12
+ name?: string;
13
+ legacyName?: string;
14
+ legacyRole?: string;
15
+ claims?: {
16
+ type: string;
17
+ value: string;
18
+ }[];
19
+ error?: string;
20
+ returnUrl: string;
21
+ }
22
+ export declare class AuthSessionService {
23
+ private http;
24
+ private userInfoService;
25
+ private metadataProvider;
26
+ private initialized;
27
+ private readonly stateSubject;
28
+ readonly state$: import("rxjs").Observable<AuthSessionState>;
29
+ get snapshot(): AuthSessionState;
30
+ constructor(http: HttpClient, userInfoService: UserInfoService, metadataProvider: MetadataProviderService);
31
+ initialize(force?: boolean): Promise<void>;
32
+ refreshAll(): Promise<void>;
33
+ setReturnUrl(returnUrl: string): void;
34
+ login(returnUrl?: string): void;
35
+ logout(returnUrl?: string): void;
36
+ legacyLogin(username: string, password: string): Promise<boolean>;
37
+ legacyLogout(): Promise<void>;
38
+ private bootstrapUserCustomSettings;
39
+ private patchState;
40
+ private buildEndpoint;
41
+ private buildMetaAsmxEndpoint;
42
+ private getApiBaseUrl;
43
+ private isOAuthEnabledInSettings;
44
+ private normalizeReturnUrl;
45
+ private getCurrentLocalUrl;
46
+ private parseLegacyLoginResponse;
47
+ private extractLegacyLoginError;
48
+ private readMessage;
49
+ private debugLegacyLogin;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthSessionService, never>;
51
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthSessionService>;
52
+ }
@@ -0,0 +1,35 @@
1
+ import { DataSourceComponent } from '../component/data-source/data-source.component';
2
+ import { ResultInfo } from '../class/resultInfo';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClientSideCrudService {
5
+ private db;
6
+ private readonly localModePrefix;
7
+ private clone;
8
+ private normalizeRoute;
9
+ private normalizeUserId;
10
+ private getRoute;
11
+ private getPkName;
12
+ private getPkValue;
13
+ private findRow;
14
+ private getTempPk;
15
+ private getModeKey;
16
+ private setModeEnabled;
17
+ isModeEnabled(scope: DataSourceComponent, userId: string | number): Promise<boolean>;
18
+ enable(scope: DataSourceComponent, userId: string | number, allRows: any[]): Promise<void>;
19
+ select(scope: DataSourceComponent, userId: string | number, all: boolean, resultInfo?: ResultInfo): Promise<ResultInfo>;
20
+ insert(entity: any, scope: DataSourceComponent, userId: string | number): Promise<any>;
21
+ update(entity: any, scope: DataSourceComponent, userId: string | number): Promise<any>;
22
+ delete(entity: any, scope: DataSourceComponent, userId: string | number): Promise<any>;
23
+ disableAndSync(scope: DataSourceComponent, userId: string | number, remote: {
24
+ insert: (entity: any) => Promise<any>;
25
+ update: (entity: any) => Promise<any>;
26
+ delete: (entity: any) => Promise<any>;
27
+ }): Promise<{
28
+ inserted: number;
29
+ updated: number;
30
+ deleted: number;
31
+ }>;
32
+ clearRoute(scope: DataSourceComponent, userId: string | number): Promise<void>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClientSideCrudService, never>;
34
+ static ɵprov: i0.ɵɵInjectableDeclaration<ClientSideCrudService>;
35
+ }
@@ -0,0 +1,32 @@
1
+ import { DataSourceComponent } from '../component/data-source/data-source.component';
2
+ import { ComboParams } from '../class/comboParams';
3
+ import { MetadatiColonna } from '../class/metadati_colonna';
4
+ import { rawPagedResult } from '../class/rawPagedResult';
5
+ import { ResultInfo } from '../class/resultInfo';
6
+ import { HttpClient } from '@angular/common/http';
7
+ import { FilterInfo } from '../class/filterInfo';
8
+ import { SortInfo } from '../class/sortInfo';
9
+ import * as i0 from "@angular/core";
10
+ export declare class DataProviderMetaService {
11
+ private _http;
12
+ http: HttpClient;
13
+ constructor(_http: HttpClient);
14
+ select(scope: DataSourceComponent, userId: number, all: boolean, resultInfo?: ResultInfo, hideBusy?: any): Promise<ResultInfo>;
15
+ selectByRoute(userId: number, route: string, filterInfo?: FilterInfo, sortInfo?: SortInfo[], pageSize?: number, currentPage?: number): Promise<ResultInfo>;
16
+ getComboData(scope: ComboParams, UserInfo: any, currentRecord: any, field: MetadatiColonna, filterString: string): Promise<rawPagedResult>;
17
+ update(entity: any, pristine: any, scope: DataSourceComponent, UserInfo: any): Promise<any>;
18
+ insert(entity: any, scope: DataSourceComponent, userId: number): Promise<any>;
19
+ clone(entity: any, scope: DataSourceComponent, userId: number, relatedRouteToClone: any[]): Promise<any>;
20
+ delete(entity: any, scope: DataSourceComponent, userId: number): Promise<any>;
21
+ saveDashboard(payload: any): Promise<any>;
22
+ loadDashboard(payload: any): Promise<any[]>;
23
+ saveWorkflowGraph(payload: any): Promise<any>;
24
+ loadWorkflowGraph(payload: any): Promise<any>;
25
+ getWorkflowGraphs(payload: any): Promise<any>;
26
+ renameWorkflowGraph(payload: any): Promise<any>;
27
+ deleteWorkflowGraph(payload: any): Promise<any>;
28
+ getCssClassesFromSheets(sheetPaths: string[]): Promise<any[]>;
29
+ writeChangesToCssFile(sheet: any): Promise<void>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataProviderMetaService, never>;
31
+ static ɵprov: i0.ɵɵInjectableDeclaration<DataProviderMetaService>;
32
+ }
@@ -0,0 +1,18 @@
1
+ import { DataSourceComponent } from '../component/data-source/data-source.component';
2
+ import { ResultInfo } from '../class/resultInfo';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { FilterInfo } from '../class/filterInfo';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DataProviderOdataService {
7
+ private http;
8
+ constructor(http: HttpClient);
9
+ select(scope: DataSourceComponent, userId: number, all: boolean, resultInfo?: ResultInfo, hideBusy?: any): Promise<ResultInfo>;
10
+ filterInfoToOdata(filterInfo: FilterInfo, route: string): string;
11
+ getOdataOperator(operatore: string, value?: any): string;
12
+ update(entity: any, pristine: any, scope: DataSourceComponent, userId: number): Promise<any>;
13
+ insert(entity: any, scope: DataSourceComponent, userId: number): Promise<any>;
14
+ clone(entity: any, scope: DataSourceComponent, userId: number, relatedRouteToClone: any[]): Promise<any>;
15
+ delete(entity: any, scope: DataSourceComponent, userId: number): Promise<any>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataProviderOdataService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<DataProviderOdataService>;
18
+ }
@@ -0,0 +1,15 @@
1
+ import { DataSourceComponent } from '../component/data-source/data-source.component';
2
+ import { ResultInfo } from '../class/resultInfo';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DataProviderWebserviceService {
6
+ private http;
7
+ constructor(http: HttpClient);
8
+ select(scope: DataSourceComponent, userId: number, all: boolean, resultInfo?: ResultInfo, hideBusy?: any): Promise<ResultInfo>;
9
+ update(entity: any, pristine: any, scope: DataSourceComponent, UserInfo: any): Promise<any>;
10
+ insert(entity: any, scope: DataSourceComponent, userId: number): Promise<any>;
11
+ clone(entity: any, scope: DataSourceComponent, userId: number, relatedRouteToClone: any[]): Promise<any>;
12
+ delete(entity: any, scope: DataSourceComponent, userId: number): Promise<any>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataProviderWebserviceService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<DataProviderWebserviceService>;
15
+ }