@yomotech/view-toolkit 1.0.43 → 1.0.44
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/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, ElementRef, ChangeDetectorRef, NgZone, SimpleChanges, OnInit, OnChanges, AfterViewInit, OnDestroy, Injector, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
+
import { CdkDragMove, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
4
5
|
import * as rxjs from 'rxjs';
|
|
5
6
|
import { Platform } from '@angular/cdk/platform';
|
|
6
7
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
@@ -87,6 +88,239 @@ declare function testAction(option: any): string | null;
|
|
|
87
88
|
*/
|
|
88
89
|
declare function testWrites(option: any): 'true' | 'false';
|
|
89
90
|
|
|
91
|
+
/** The device the Designer shows the page on (its Desktop / Tablet / Mobile switch). */
|
|
92
|
+
type DesignDevice = 'desktop' | 'tablet' | 'mobile';
|
|
93
|
+
/** What the Designer hands a container in design mode. Without it the container is the app's container. */
|
|
94
|
+
interface VlDesign {
|
|
95
|
+
/** the element whose settings are open in the Designer - shown marked */
|
|
96
|
+
selected?: DesignTarget | null;
|
|
97
|
+
/** the device the page is shown on; the containers that choose by the window (card columns) follow it */
|
|
98
|
+
device?: DesignDevice;
|
|
99
|
+
/** texts of the design handles in the Designer's language; English for every text not given */
|
|
100
|
+
texts?: Partial<DesignTexts>;
|
|
101
|
+
/** how many sample records card and grid show (the page's page size when not given) */
|
|
102
|
+
sampleCount?: number;
|
|
103
|
+
/** the picture a media field shows in a sample record */
|
|
104
|
+
sampleImage?: string;
|
|
105
|
+
/** the project's Main layout - the page bar of card and grid takes its values where the page has none */
|
|
106
|
+
main?: any;
|
|
107
|
+
}
|
|
108
|
+
/** One element of a layout the Designer can open the settings of. */
|
|
109
|
+
interface DesignTarget {
|
|
110
|
+
/**
|
|
111
|
+
* container: the layout itself (card, grid); section / field: a section and its field (form, dialog);
|
|
112
|
+
* element: a card element, parentIndex the horizontal layout holding it; header / headerElement: the card's
|
|
113
|
+
* header and one of its buttons; column: a grid column
|
|
114
|
+
*/
|
|
115
|
+
kind: 'container' | 'section' | 'field' | 'element' | 'header' | 'headerElement' | 'column';
|
|
116
|
+
sectionIndex?: number;
|
|
117
|
+
fieldIndex?: number;
|
|
118
|
+
index?: number;
|
|
119
|
+
parentIndex?: number | null;
|
|
120
|
+
/** the part that was clicked: the field itself (input) or its edit button (none) */
|
|
121
|
+
part?: 'input';
|
|
122
|
+
}
|
|
123
|
+
/** What a container in design mode tells the Designer. */
|
|
124
|
+
type DesignEvent =
|
|
125
|
+
/** an element was chosen: the Designer opens its settings */
|
|
126
|
+
{
|
|
127
|
+
type: 'select';
|
|
128
|
+
target: DesignTarget;
|
|
129
|
+
}
|
|
130
|
+
/** nothing is chosen any more (a drag started) */
|
|
131
|
+
| {
|
|
132
|
+
type: 'deselect';
|
|
133
|
+
}
|
|
134
|
+
/** the container's layout changed (drop, move, add, delete): the Designer saves it */
|
|
135
|
+
| {
|
|
136
|
+
type: 'layout';
|
|
137
|
+
layoutSchema: any;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* the page header the card shows changed (it belongs to the whole page: the Designer keeps it and hands it back
|
|
141
|
+
* in itemInfo.header); added: the button that was added to it
|
|
142
|
+
*/
|
|
143
|
+
| {
|
|
144
|
+
type: 'header';
|
|
145
|
+
header: any;
|
|
146
|
+
added?: any;
|
|
147
|
+
};
|
|
148
|
+
/** A field dragged from the Designer's data objects onto a container. */
|
|
149
|
+
interface DesignPropertyDrop {
|
|
150
|
+
kind: 'object-property';
|
|
151
|
+
objectName?: string;
|
|
152
|
+
objectNode?: {
|
|
153
|
+
name?: string;
|
|
154
|
+
};
|
|
155
|
+
name: string;
|
|
156
|
+
type?: string;
|
|
157
|
+
}
|
|
158
|
+
/** The texts of the design handles. */
|
|
159
|
+
interface DesignTexts {
|
|
160
|
+
dragSection: string;
|
|
161
|
+
addButton: string;
|
|
162
|
+
editSection: string;
|
|
163
|
+
deleteSection: string;
|
|
164
|
+
section: string;
|
|
165
|
+
addSection: string;
|
|
166
|
+
dragField: string;
|
|
167
|
+
editField: string;
|
|
168
|
+
deleteField: string;
|
|
169
|
+
emptySection: string;
|
|
170
|
+
dropHere: string;
|
|
171
|
+
placeAbove: string;
|
|
172
|
+
placeBelow: string;
|
|
173
|
+
placeLeft: string;
|
|
174
|
+
placeRight: string;
|
|
175
|
+
hiddenInApp: string;
|
|
176
|
+
edit: string;
|
|
177
|
+
delete: string;
|
|
178
|
+
editLayout: string;
|
|
179
|
+
addCard: string;
|
|
180
|
+
deleteCard: string;
|
|
181
|
+
addHeaderButton: string;
|
|
182
|
+
editHeader: string;
|
|
183
|
+
clearHeader: string;
|
|
184
|
+
editHeaderButton: string;
|
|
185
|
+
deleteHeaderButton: string;
|
|
186
|
+
emptyCardTitle: string;
|
|
187
|
+
emptyCardText: string;
|
|
188
|
+
dropCardItem: string;
|
|
189
|
+
dragColumn: string;
|
|
190
|
+
editColumn: string;
|
|
191
|
+
deleteColumn: string;
|
|
192
|
+
resizeWidth: string;
|
|
193
|
+
resizeHeight: string;
|
|
194
|
+
editGrid: string;
|
|
195
|
+
emptyGrid: string;
|
|
196
|
+
button: string;
|
|
197
|
+
}
|
|
198
|
+
declare const DESIGN_TEXTS: DesignTexts;
|
|
199
|
+
/** The design texts with the Designer's own over the English ones. */
|
|
200
|
+
declare function designTexts(design: VlDesign | null | undefined): DesignTexts;
|
|
201
|
+
/** Whether the target is the element (same kind and place) - the selection mark. */
|
|
202
|
+
declare function isTarget(selected: DesignTarget | null | undefined, target: DesignTarget): boolean;
|
|
203
|
+
/** A drop from the Designer's data objects (not an element moved inside the container). */
|
|
204
|
+
declare function isPropertyDrop(data: any): data is DesignPropertyDrop;
|
|
205
|
+
/** The data object a dropped property belongs to ("orders.json" -> "orders"). */
|
|
206
|
+
declare function dropObjectName(drop: DesignPropertyDrop): string;
|
|
207
|
+
/** A copy of a layout (layouts are JSON). */
|
|
208
|
+
declare function cloneLayout<T>(value: T): T;
|
|
209
|
+
/** The ids of every drop list of the containers in design mode on the page (the Designer's data objects drop on them). */
|
|
210
|
+
declare function designDropIds(): string[];
|
|
211
|
+
|
|
212
|
+
type CardDropType = 'before' | 'after' | 'left' | 'right' | 'empty';
|
|
213
|
+
/** Where a dragged element lands: at a card element (index), or inside the horizontal layout parentIndex at innerIndex. */
|
|
214
|
+
interface CardDropSpot {
|
|
215
|
+
type: CardDropType;
|
|
216
|
+
/** the card element the drop is placed at; null: at the end */
|
|
217
|
+
index: number | null;
|
|
218
|
+
/** the horizontal layout the drop goes into; null: the card's own list */
|
|
219
|
+
parentIndex: number | null;
|
|
220
|
+
innerIndex: number | null;
|
|
221
|
+
}
|
|
222
|
+
/** An element of the card's list (parentIndex null) or of a horizontal layout in it. */
|
|
223
|
+
interface CardPlace {
|
|
224
|
+
index: number;
|
|
225
|
+
parentIndex: number | null;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* The card layout as the Designer keeps it, changed in place: no empty classes on the card styles, the card's
|
|
229
|
+
* columns are drawn by the container (no gridTemplateColumns in its style), no classes on the elements (the right
|
|
230
|
+
* panel sets styles only), horizontal layouts in shape.
|
|
231
|
+
*/
|
|
232
|
+
declare function normalizeCard(layout: any): any;
|
|
233
|
+
/** A button as the Designer adds it to a card. */
|
|
234
|
+
declare function cardButton(caption?: string): any;
|
|
235
|
+
/** The card element a data object's property becomes when it is dropped: its value, read only. */
|
|
236
|
+
declare function elementFromProperty(drop: DesignPropertyDrop, caption?: string): any;
|
|
237
|
+
/** A data object's field dropped at the spot. */
|
|
238
|
+
declare function dropCardProperty(layout: any, drop: DesignPropertyDrop, spot: CardDropSpot, buttonCaption?: string): any;
|
|
239
|
+
/** An element moved from its place to the spot. */
|
|
240
|
+
declare function moveCardElement(layout: any, from: CardPlace, spot: CardDropSpot): any;
|
|
241
|
+
declare function removeCardElement(layout: any, place: CardPlace): any;
|
|
242
|
+
/** A button added after the element (in its horizontal layout when it stands in one). */
|
|
243
|
+
declare function addCardButton(layout: any, after: CardPlace, caption?: string): any;
|
|
244
|
+
/** The settings of a card element changed in the Designer's right panel. */
|
|
245
|
+
declare function replaceCardElement(layout: any, place: CardPlace, element: any): any;
|
|
246
|
+
/** A button as the Designer adds it to the page header (it opens the page's dialog). */
|
|
247
|
+
declare function headerButton(caption?: string): any;
|
|
248
|
+
declare function removeHeaderElement(header: any, index: number): any;
|
|
249
|
+
declare function clearHeader(header: any): any;
|
|
250
|
+
|
|
251
|
+
interface CardDesignerHost {
|
|
252
|
+
layout(): any;
|
|
253
|
+
apply(next: any): void;
|
|
254
|
+
select(target: DesignTarget): void;
|
|
255
|
+
deselect(): void;
|
|
256
|
+
/** the view is drawn again (the apps run without zone.js: a change after a timer is not seen otherwise) */
|
|
257
|
+
refresh(): void;
|
|
258
|
+
}
|
|
259
|
+
/** The data an element carries while it is dragged inside the card. */
|
|
260
|
+
interface CardDragData {
|
|
261
|
+
vlDesign: 'cardElement';
|
|
262
|
+
index: number;
|
|
263
|
+
parentIndex: number | null;
|
|
264
|
+
}
|
|
265
|
+
declare class CardDesigner {
|
|
266
|
+
private readonly host;
|
|
267
|
+
hint: CardDropSpot | null;
|
|
268
|
+
private dragging;
|
|
269
|
+
private moving;
|
|
270
|
+
readonly prefix: string;
|
|
271
|
+
constructor(host: CardDesignerHost);
|
|
272
|
+
/** The drop list of the card's elements. */
|
|
273
|
+
listId(): string;
|
|
274
|
+
/** The drop list of the horizontal layout at index. */
|
|
275
|
+
innerListId(index: number): string;
|
|
276
|
+
/** The card's list and every horizontal layout's list, so an element can go from one into another. */
|
|
277
|
+
listIds(): string[];
|
|
278
|
+
dragData(index: number, parentIndex: number | null): CardDragData;
|
|
279
|
+
private rowsOf;
|
|
280
|
+
private inside;
|
|
281
|
+
/** The drop spot at a point of the first card: inside a horizontal layout first, else among the card's elements. */
|
|
282
|
+
spotAt(x: number, y: number): CardDropSpot;
|
|
283
|
+
private setHint;
|
|
284
|
+
entered(): void;
|
|
285
|
+
pointerMove(event: MouseEvent): void;
|
|
286
|
+
exited(): void;
|
|
287
|
+
dragStarted(): void;
|
|
288
|
+
dragMoved(event: CdkDragMove<any>): void;
|
|
289
|
+
dragEnded(): void;
|
|
290
|
+
clear(): void;
|
|
291
|
+
/** An empty card list (parentIndex null) or an empty horizontal layout under the pointer. */
|
|
292
|
+
isEmptyHint(parentIndex: number | null): boolean;
|
|
293
|
+
/** The element the hint is drawn at: a card element (parentIndex null) or an element of a horizontal layout. */
|
|
294
|
+
isTargetHint(index: number, parentIndex: number | null): boolean;
|
|
295
|
+
hintText(texts: DesignTexts): string;
|
|
296
|
+
dropped(event: CdkDragDrop<any>, buttonCaption?: string): void;
|
|
297
|
+
addButton(index: number, parentIndex: number | null, caption?: string): void;
|
|
298
|
+
remove(index: number, parentIndex: number | null): void;
|
|
299
|
+
edit(index: number, parentIndex: number | null): void;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
type DesignAction = 'drag' | 'add' | 'edit' | 'delete';
|
|
303
|
+
/**
|
|
304
|
+
* The handles of one element. "drag" is the cdkDragHandle of the element it stands in; the others report their
|
|
305
|
+
* action (act) without the click reaching the element.
|
|
306
|
+
*/
|
|
307
|
+
declare class DesignBarComponent {
|
|
308
|
+
actions: DesignAction[];
|
|
309
|
+
/** the tooltip of each handle */
|
|
310
|
+
titles: Partial<Record<DesignAction, string>>;
|
|
311
|
+
act: EventEmitter<DesignAction>;
|
|
312
|
+
icon(action: DesignAction): string;
|
|
313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DesignBarComponent, never>;
|
|
314
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesignBarComponent, "vl-design-bar", never, { "actions": { "alias": "actions"; "required": false; }; "titles": { "alias": "titles"; "required": false; }; }, { "act": "act"; }, never, never, true, never>;
|
|
315
|
+
}
|
|
316
|
+
/** Where a dragged element lands: a line above, below, left or right of an element, or a box in an empty place. */
|
|
317
|
+
declare class DropMarkerComponent {
|
|
318
|
+
type: 'before' | 'after' | 'left' | 'right' | 'empty';
|
|
319
|
+
text: string;
|
|
320
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropMarkerComponent, never>;
|
|
321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropMarkerComponent, "vl-drop-marker", never, { "type": { "alias": "type"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
322
|
+
}
|
|
323
|
+
|
|
90
324
|
type CustomKeyboardType = 'email' | 'numeric' | 'alpha' | 'string' | 'date' | 'time';
|
|
91
325
|
declare function normalizeCustomKeyboardType(value: unknown): CustomKeyboardType | null;
|
|
92
326
|
/**
|
|
@@ -680,6 +914,26 @@ declare class CardComponent {
|
|
|
680
914
|
onPageChange: EventEmitter<any>;
|
|
681
915
|
paginationMode: 'client' | 'server';
|
|
682
916
|
paginationLoading: boolean;
|
|
917
|
+
/** The Designer's canvas: sample records, every element with drag, edit and delete, nothing loaded (design/design.ts). */
|
|
918
|
+
design: VlDesign | null;
|
|
919
|
+
/** What was chosen or changed on the Designer's canvas. */
|
|
920
|
+
designChange: EventEmitter<DesignEvent>;
|
|
921
|
+
/** The texts of the design handles. */
|
|
922
|
+
dt: DesignTexts;
|
|
923
|
+
/** How many sample cards the canvas shows (Add card / Delete card). */
|
|
924
|
+
designCount: number;
|
|
925
|
+
/** The page of sample cards the canvas shows. */
|
|
926
|
+
designPage: number;
|
|
927
|
+
designPageSize: number;
|
|
928
|
+
/** The sample records, the area with its page bar and the pages of the canvas, renewed when the layout changes. */
|
|
929
|
+
designAll: any[];
|
|
930
|
+
designInfo: any;
|
|
931
|
+
designPages: number[];
|
|
932
|
+
/** Drag and drop of the card's elements in design mode. */
|
|
933
|
+
readonly designer: CardDesigner;
|
|
934
|
+
/** The device the Designer shows the page on. */
|
|
935
|
+
get designMobile(): boolean;
|
|
936
|
+
get designTablet(): boolean;
|
|
683
937
|
scrollPaginationSentinel?: ElementRef<HTMLElement>;
|
|
684
938
|
private scrollObserver?;
|
|
685
939
|
private requestedScrollPage;
|
|
@@ -701,6 +955,25 @@ declare class CardComponent {
|
|
|
701
955
|
private destroyScrollObserver;
|
|
702
956
|
ngOnDestroy(): void;
|
|
703
957
|
ngAfterViewInit(): void;
|
|
958
|
+
/** The sample records, the page bar and its pages of the canvas, from the layout as it is now. */
|
|
959
|
+
refreshDesign(): void;
|
|
960
|
+
/** The sample cards of the page shown, the first one with the handles - the same list while nothing changed. */
|
|
961
|
+
get designRecords(): any[];
|
|
962
|
+
private recordsMemo;
|
|
963
|
+
isSelected(target: DesignTarget): boolean;
|
|
964
|
+
/** A card element hidden in the app (the card shows an element only with option.visible). */
|
|
965
|
+
hiddenInApp(element: any): boolean;
|
|
966
|
+
/**
|
|
967
|
+
* The card's own handles: a button for the page header, the settings of the card layout. The header belongs to
|
|
968
|
+
* the whole page: its changes are told to the Designer (type header), which keeps and hands it back.
|
|
969
|
+
*/
|
|
970
|
+
containerAction(action: DesignAction): void;
|
|
971
|
+
headerAction(action: DesignAction): void;
|
|
972
|
+
headerElementAction(action: DesignAction, index: number): void;
|
|
973
|
+
elementAction(action: DesignAction, index: number, parentIndex: number | null): void;
|
|
974
|
+
/** Add card / Delete card: more or fewer sample cards, the layout stays. */
|
|
975
|
+
cardAction(action: DesignAction): void;
|
|
976
|
+
designGoToPage(page: number): void;
|
|
704
977
|
getRecordIndex(record: any): number;
|
|
705
978
|
private updateDeviceMode;
|
|
706
979
|
private safeUpdate;
|
|
@@ -750,7 +1023,120 @@ declare class CardComponent {
|
|
|
750
1023
|
*/
|
|
751
1024
|
keyboardTypeFor(field: any, propertySchema: any): CustomKeyboardType | null;
|
|
752
1025
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
753
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "vl-card", never, { "itemInfo": { "alias": "itemInfo"; "required": false; }; "pageData": { "alias": "pageData"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "mobileDisplay": { "alias": "mobileDisplay"; "required": false; }; "scrollPagination": { "alias": "scrollPagination"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "paginationMode": { "alias": "paginationMode"; "required": false; }; "paginationLoading": { "alias": "paginationLoading"; "required": false; }; }, { "cardButtonClick": "cardButtonClick"; "cardHeaderButtonClick": "cardHeaderButtonClick"; "linkDetails": "linkDetails"; "imageDetails": "imageDetails"; "onPageSizeChange": "onPageSizeChange"; "onPageChange": "onPageChange"; }, never, never, true, never>;
|
|
1026
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "vl-card", never, { "itemInfo": { "alias": "itemInfo"; "required": false; }; "pageData": { "alias": "pageData"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "mobileDisplay": { "alias": "mobileDisplay"; "required": false; }; "scrollPagination": { "alias": "scrollPagination"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "paginationMode": { "alias": "paginationMode"; "required": false; }; "paginationLoading": { "alias": "paginationLoading"; "required": false; }; "design": { "alias": "design"; "required": false; }; }, { "cardButtonClick": "cardButtonClick"; "cardHeaderButtonClick": "cardHeaderButtonClick"; "linkDetails": "linkDetails"; "imageDetails": "imageDetails"; "onPageSizeChange": "onPageSizeChange"; "onPageChange": "onPageChange"; "designChange": "designChange"; }, never, never, true, never>;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/** form: vl-form; dialog: vl-model. Both lay out formSections with formFields. */
|
|
1030
|
+
type SectionKind = 'form' | 'dialog';
|
|
1031
|
+
/** Where a dragged field lands: above or below a field (its own row), beside it (its row), or in an empty section. */
|
|
1032
|
+
type DropType = 'before' | 'after' | 'left' | 'right' | 'empty';
|
|
1033
|
+
interface DropSpot {
|
|
1034
|
+
sectionIndex: number;
|
|
1035
|
+
type: DropType;
|
|
1036
|
+
/** the field the drop is placed at; null: at the end of the section */
|
|
1037
|
+
targetIndex: number | null;
|
|
1038
|
+
}
|
|
1039
|
+
declare const GRID_COLUMNS = 12;
|
|
1040
|
+
declare const MAX_FIELDS_PER_ROW = 4;
|
|
1041
|
+
/** The upper quarter of a field puts the drop above, the lower quarter below, the middle beside it (left or right half). */
|
|
1042
|
+
declare function dropTypeAt(rect: {
|
|
1043
|
+
left: number;
|
|
1044
|
+
top: number;
|
|
1045
|
+
width: number;
|
|
1046
|
+
height: number;
|
|
1047
|
+
}, x: number, y: number): DropType;
|
|
1048
|
+
/** How many of the section's 12 columns a field takes (gridSpan, else its style's "span N", else by its label position). */
|
|
1049
|
+
declare function fieldSpan(field: any): number;
|
|
1050
|
+
/** The fields of one row share the 12 columns (at most four; more go to rows of their own). */
|
|
1051
|
+
declare function rebalanceRow(fields: any[], id: string, kind: SectionKind): void;
|
|
1052
|
+
/** Puts a field into a section's fields at the drop spot. */
|
|
1053
|
+
declare function insertField(fields: any[], field: any, spot: Pick<DropSpot, 'type' | 'targetIndex'>, kind: SectionKind): void;
|
|
1054
|
+
/** An empty section as the Designer adds it. */
|
|
1055
|
+
declare function newSection(kind: SectionKind): any;
|
|
1056
|
+
/** A button as the Designer adds it to a section. */
|
|
1057
|
+
declare function newButton(kind: SectionKind, caption?: string): any;
|
|
1058
|
+
/** The field a data object's property becomes when it is dropped (label: the property's name, changed afterwards). */
|
|
1059
|
+
declare function fieldFromProperty(drop: DesignPropertyDrop, kind: SectionKind): any;
|
|
1060
|
+
/**
|
|
1061
|
+
* The layout as the Designer keeps it, changed in place: every section has its fields list; in a form the
|
|
1062
|
+
* classes go (the right panel sets styles only), the section's grid is drawn by the container (no display or
|
|
1063
|
+
* columns in its style) and every field belongs to a row.
|
|
1064
|
+
*/
|
|
1065
|
+
declare function normalizeSections(layout: any, kind: SectionKind): any;
|
|
1066
|
+
/** A data object's field dropped at the spot. */
|
|
1067
|
+
declare function dropProperty(layout: any, drop: DesignPropertyDrop, spot: DropSpot, kind: SectionKind): any;
|
|
1068
|
+
/** A field moved from its place to the spot (same or another section). */
|
|
1069
|
+
declare function moveField(layout: any, from: {
|
|
1070
|
+
sectionIndex: number;
|
|
1071
|
+
fieldIndex: number;
|
|
1072
|
+
}, spot: DropSpot, kind: SectionKind): any;
|
|
1073
|
+
declare function removeField(layout: any, sectionIndex: number, fieldIndex: number, kind: SectionKind): any;
|
|
1074
|
+
/** A section deleted; a form keeps one empty section to drop fields into. */
|
|
1075
|
+
declare function removeSection(layout: any, sectionIndex: number, kind: SectionKind): any;
|
|
1076
|
+
declare function moveSection(layout: any, from: number, to: number): any;
|
|
1077
|
+
declare function addSection(layout: any, kind: SectionKind): any;
|
|
1078
|
+
declare function addButton(layout: any, sectionIndex: number, kind: SectionKind, caption?: string): any;
|
|
1079
|
+
/** The settings of a section or field changed in the Designer's right panel. */
|
|
1080
|
+
declare function replaceSection(layout: any, sectionIndex: number, section: any, kind: SectionKind): any;
|
|
1081
|
+
declare function replaceField(layout: any, sectionIndex: number, fieldIndex: number, field: any, kind: SectionKind): any;
|
|
1082
|
+
|
|
1083
|
+
/** What the container gives the designer: its layout, how a new layout is taken over, and what is told to the Designer. */
|
|
1084
|
+
interface SectionDesignerHost {
|
|
1085
|
+
layout(): any;
|
|
1086
|
+
apply(next: any): void;
|
|
1087
|
+
select(target: DesignTarget): void;
|
|
1088
|
+
deselect(): void;
|
|
1089
|
+
/** the view is drawn again (the apps run without zone.js: a change after a timer is not seen otherwise) */
|
|
1090
|
+
refresh(): void;
|
|
1091
|
+
}
|
|
1092
|
+
/** The data a field carries while it is dragged inside its container. */
|
|
1093
|
+
interface SectionDragData {
|
|
1094
|
+
vlDesign: 'field';
|
|
1095
|
+
sectionIndex: number;
|
|
1096
|
+
fieldIndex: number;
|
|
1097
|
+
}
|
|
1098
|
+
declare class SectionDesigner {
|
|
1099
|
+
private readonly kind;
|
|
1100
|
+
private readonly host;
|
|
1101
|
+
/** where a drop would land now; null while nothing is dragged over the container */
|
|
1102
|
+
hint: DropSpot | null;
|
|
1103
|
+
private dragging;
|
|
1104
|
+
private dragged;
|
|
1105
|
+
/** the ids of this container's drop lists start with it (several containers may be on one page) */
|
|
1106
|
+
readonly prefix: string;
|
|
1107
|
+
constructor(kind: SectionKind, host: SectionDesignerHost);
|
|
1108
|
+
listId(sectionIndex: number): string;
|
|
1109
|
+
/** Every section list of the container, so a field can go from one section to another. */
|
|
1110
|
+
listIds(): string[];
|
|
1111
|
+
private sectionOf;
|
|
1112
|
+
dragData(sectionIndex: number, fieldIndex: number): SectionDragData;
|
|
1113
|
+
/** The drop spot at a point of a section: on a field, above the first, below the last, or into the empty section. */
|
|
1114
|
+
spotAt(x: number, y: number, sectionIndex: number): DropSpot;
|
|
1115
|
+
private setHint;
|
|
1116
|
+
/** A drag came over a section (a field of this container or a data object's field). */
|
|
1117
|
+
entered(sectionIndex: number): void;
|
|
1118
|
+
/** The pointer moves over a section while something is dragged over it. */
|
|
1119
|
+
pointerMove(event: MouseEvent, sectionIndex: number): void;
|
|
1120
|
+
exited(): void;
|
|
1121
|
+
/** A section is dragged to another place: its settings close, no field hint is shown. */
|
|
1122
|
+
sectionDragStarted(): void;
|
|
1123
|
+
dragStarted(sectionIndex: number, fieldIndex: number): void;
|
|
1124
|
+
/** A field of this container moves: the section under the pointer decides. */
|
|
1125
|
+
dragMoved(event: CdkDragMove<any>): void;
|
|
1126
|
+
dragEnded(): void;
|
|
1127
|
+
clear(): void;
|
|
1128
|
+
isEmptyHint(sectionIndex: number): boolean;
|
|
1129
|
+
isTargetHint(sectionIndex: number, fieldIndex: number): boolean;
|
|
1130
|
+
hintText(texts: DesignTexts): string;
|
|
1131
|
+
dropped(event: CdkDragDrop<any>, sectionIndex: number): void;
|
|
1132
|
+
/** The sections were reordered (from and to: places in the layout). */
|
|
1133
|
+
sectionMoved(from: number, to: number): void;
|
|
1134
|
+
removeField(sectionIndex: number, fieldIndex: number): void;
|
|
1135
|
+
removeSection(sectionIndex: number): void;
|
|
1136
|
+
addSection(): void;
|
|
1137
|
+
addButton(sectionIndex: number, caption?: string): void;
|
|
1138
|
+
editSection(sectionIndex: number): void;
|
|
1139
|
+
editField(sectionIndex: number, fieldIndex: number, part?: 'input'): void;
|
|
754
1140
|
}
|
|
755
1141
|
|
|
756
1142
|
/**
|
|
@@ -827,6 +1213,18 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
|
|
|
827
1213
|
checkBoxChangeEvent: EventEmitter<any>;
|
|
828
1214
|
/** the hint of a button locked for a missing sign-in was clicked: the app starts its sign-in */
|
|
829
1215
|
signIn: EventEmitter<void>;
|
|
1216
|
+
/** The Designer's canvas: every section and field with drag, edit and delete, nothing loaded (design/design.ts). */
|
|
1217
|
+
design: VlDesign | null;
|
|
1218
|
+
/** What was chosen or changed on the Designer's canvas. */
|
|
1219
|
+
designChange: EventEmitter<DesignEvent>;
|
|
1220
|
+
/** The texts of the design handles. */
|
|
1221
|
+
dt: DesignTexts;
|
|
1222
|
+
/** Drag and drop of the sections and fields in design mode. */
|
|
1223
|
+
readonly designer: SectionDesigner;
|
|
1224
|
+
private readonly cdr;
|
|
1225
|
+
/** The device the Designer shows the page on: the form follows it like the app follows the window. */
|
|
1226
|
+
get designMobile(): boolean;
|
|
1227
|
+
get designTablet(): boolean;
|
|
830
1228
|
ngOnInit(): void;
|
|
831
1229
|
ngOnChanges(changes: SimpleChanges): void;
|
|
832
1230
|
ngAfterViewInit(): void;
|
|
@@ -848,6 +1246,16 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
|
|
|
848
1246
|
private sectionSplit;
|
|
849
1247
|
/** The width of the sticky column: the widest of its sections (gridSpan), 4 when none says. */
|
|
850
1248
|
stickySpan(): number;
|
|
1249
|
+
/** A section that stays in view while the page scrolls (layout sticky). */
|
|
1250
|
+
sectionStickyOf(formSection: any): boolean;
|
|
1251
|
+
/** A section's place in the layout (the canvas shows the sticky ones after the others). */
|
|
1252
|
+
sectionIndexOf(formSection: any): number;
|
|
1253
|
+
/** Whether the element's settings are open in the Designer (it is marked). */
|
|
1254
|
+
isSelected(target: DesignTarget): boolean;
|
|
1255
|
+
/** A section dropped at another place of the canvas: the canvas shows the sticky ones last, the layout keeps its order. */
|
|
1256
|
+
sectionDropped(event: CdkDragDrop<any>): void;
|
|
1257
|
+
sectionAction(action: DesignAction, sectionIndex: number): void;
|
|
1258
|
+
fieldAction(action: DesignAction, sectionIndex: number, fieldIndex: number): void;
|
|
851
1259
|
/** A section with visibleWhen is shown only while its field holds the value. */
|
|
852
1260
|
sectionShown(formSection: any): boolean;
|
|
853
1261
|
getSectionBodyStyle(formSection: any): any;
|
|
@@ -886,7 +1294,7 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
|
|
|
886
1294
|
saveTried: boolean;
|
|
887
1295
|
showError(control: any): boolean;
|
|
888
1296
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
889
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "vl-form", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "creditCardError": { "alias": "creditCardError"; "required": false; }; "form": { "alias": "form"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; }, { "formButtonClick": "formButtonClick"; "checkBoxChangeEvent": "checkBoxChangeEvent"; "signIn": "signIn"; }, never, never, true, never>;
|
|
1297
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "vl-form", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "creditCardError": { "alias": "creditCardError"; "required": false; }; "form": { "alias": "form"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "design": { "alias": "design"; "required": false; }; }, { "formButtonClick": "formButtonClick"; "checkBoxChangeEvent": "checkBoxChangeEvent"; "signIn": "signIn"; "designChange": "designChange"; }, never, never, true, never>;
|
|
890
1298
|
}
|
|
891
1299
|
|
|
892
1300
|
interface GridColumnFilterState {
|
|
@@ -910,6 +1318,7 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
|
|
|
910
1318
|
/** Date and time picker behaviour shared by all containers. */
|
|
911
1319
|
readonly picker: DateTimePickerService;
|
|
912
1320
|
private readonly host;
|
|
1321
|
+
private readonly cdr;
|
|
913
1322
|
ngOnDestroy(): void;
|
|
914
1323
|
private sideHintObserver?;
|
|
915
1324
|
/** Marks the table's scroll area while columns lie beyond its left or right edge. */
|
|
@@ -942,6 +1351,22 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
|
|
|
942
1351
|
recordIndex: number;
|
|
943
1352
|
}>;
|
|
944
1353
|
gridForm?: NgForm;
|
|
1354
|
+
/** The Designer's canvas: sample rows, every column with drag, edit, delete and resize, nothing loaded (design/design.ts). */
|
|
1355
|
+
design: VlDesign | null;
|
|
1356
|
+
/** What was chosen or changed on the Designer's canvas. */
|
|
1357
|
+
designChange: EventEmitter<DesignEvent>;
|
|
1358
|
+
/** The texts of the design handles. */
|
|
1359
|
+
dt: DesignTexts;
|
|
1360
|
+
/** The sample rows, the area with its page bar and the pages of the canvas, renewed when the layout changes. */
|
|
1361
|
+
designAll: any[];
|
|
1362
|
+
designInfo: any;
|
|
1363
|
+
designPages: number[];
|
|
1364
|
+
designPage: number;
|
|
1365
|
+
designPageSize: number;
|
|
1366
|
+
/** The drop list of the column heads (a data object's field dropped on it becomes a column). */
|
|
1367
|
+
readonly designListId: string;
|
|
1368
|
+
get designMobile(): boolean;
|
|
1369
|
+
get designTablet(): boolean;
|
|
945
1370
|
/** The row being edited ("row" mode), its own copy of the data objects with the row's values. */
|
|
946
1371
|
editingRow: any;
|
|
947
1372
|
rowSchema: any;
|
|
@@ -965,6 +1390,38 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
|
|
|
965
1390
|
ngAfterViewInit(): void;
|
|
966
1391
|
ngOnChanges(changes: SimpleChanges): void;
|
|
967
1392
|
get gridDisplayData(): any[];
|
|
1393
|
+
searchText: string;
|
|
1394
|
+
private searchMemo;
|
|
1395
|
+
get showSearch(): boolean;
|
|
1396
|
+
get searchPositionClass(): string;
|
|
1397
|
+
searchPlaceholder(): string;
|
|
1398
|
+
/** The rows holding the searched text in one of their shown columns - the same list while nothing changed. */
|
|
1399
|
+
private searched;
|
|
1400
|
+
/** The style of row number index (0, 1, …): odd and even rows as the page sets them. */
|
|
1401
|
+
rowStyleOf(index: number): Record<string, any>;
|
|
1402
|
+
/** A column's width and height as the page sets them. */
|
|
1403
|
+
columnSize(column: any): Record<string, any>;
|
|
1404
|
+
/** A cell: the column's scope style, the row's stripe, the column's size. */
|
|
1405
|
+
cellStyle(column: any, index: number): Record<string, any>;
|
|
1406
|
+
/** The sample rows and the page bar of the canvas, from the layout as it is now. */
|
|
1407
|
+
refreshDesign(): void;
|
|
1408
|
+
/** The sample rows of the page shown - the same list while nothing changed (the table draws its rows anew otherwise). */
|
|
1409
|
+
get designRows(): any[];
|
|
1410
|
+
private rowsMemo;
|
|
1411
|
+
designGoToPage(page: number): void;
|
|
1412
|
+
isSelected(target: DesignTarget): boolean;
|
|
1413
|
+
private applyDesign;
|
|
1414
|
+
selectGrid(): void;
|
|
1415
|
+
columnAction(action: DesignAction, index: number): void;
|
|
1416
|
+
/** A column moved along the heads, or a data object's field dropped on them (a new column at that place). */
|
|
1417
|
+
columnDropped(event: CdkDragDrop<any>): void;
|
|
1418
|
+
columnDragStarted(): void;
|
|
1419
|
+
private resizing;
|
|
1420
|
+
/** Dragging a column head's right or lower edge sets its width or height. */
|
|
1421
|
+
startResize(event: MouseEvent, index: number, type: 'width' | 'height'): void;
|
|
1422
|
+
private onResize;
|
|
1423
|
+
private endResize;
|
|
1424
|
+
private stopResize;
|
|
968
1425
|
translateSchema(schema: any, SelectedLanguage: any): any;
|
|
969
1426
|
getScope(scope: any): string;
|
|
970
1427
|
getStyleWithoutClasses(styleObject: any): {
|
|
@@ -1053,7 +1510,7 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
|
|
|
1053
1510
|
/** The DTO type of a column as the data object declares it ("string", "quantity" ...). */
|
|
1054
1511
|
cellType(col: any): string;
|
|
1055
1512
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
1056
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "vl-grid", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "tableitemInfo": { "alias": "tableitemInfo"; "required": false; }; "form": { "alias": "form"; "required": false; }; "isTableDataLoad": { "alias": "isTableDataLoad"; "required": false; }; "currenTableOptions": { "alias": "currenTableOptions"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "pageData": { "alias": "pageData"; "required": false; }; }, { "editRow": "editRow"; "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; "onGridScroll": "onGridScroll"; "showGridLink": "showGridLink"; "gridButtonClick": "gridButtonClick"; "gridIncreamentClick": "gridIncreamentClick"; "gridDecreamentClick": "gridDecreamentClick"; "gridImgClick": "gridImgClick"; }, never, never, true, never>;
|
|
1513
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "vl-grid", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "tableitemInfo": { "alias": "tableitemInfo"; "required": false; }; "form": { "alias": "form"; "required": false; }; "isTableDataLoad": { "alias": "isTableDataLoad"; "required": false; }; "currenTableOptions": { "alias": "currenTableOptions"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "pageData": { "alias": "pageData"; "required": false; }; "design": { "alias": "design"; "required": false; }; }, { "editRow": "editRow"; "designChange": "designChange"; "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; "onGridScroll": "onGridScroll"; "showGridLink": "showGridLink"; "gridButtonClick": "gridButtonClick"; "gridIncreamentClick": "gridIncreamentClick"; "gridDecreamentClick": "gridDecreamentClick"; "gridImgClick": "gridImgClick"; }, never, never, true, never>;
|
|
1057
1514
|
}
|
|
1058
1515
|
|
|
1059
1516
|
declare class HeaderMenuComponent implements AfterViewInit {
|
|
@@ -1131,6 +1588,17 @@ declare class ModelComponent implements OnChanges, OnDestroy {
|
|
|
1131
1588
|
selectedLanguageInfo: any;
|
|
1132
1589
|
userInfo: any;
|
|
1133
1590
|
setFormDataHandler?: () => void | Promise<void>;
|
|
1591
|
+
/** The Designer's canvas: every field with drag, edit and delete, nothing loaded or sent (design/design.ts). */
|
|
1592
|
+
design: VlDesign | null;
|
|
1593
|
+
/** What was chosen or changed on the Designer's canvas. */
|
|
1594
|
+
designChange: EventEmitter<DesignEvent>;
|
|
1595
|
+
/** The texts of the design handles. */
|
|
1596
|
+
dt: DesignTexts;
|
|
1597
|
+
/** Drag and drop of the sections and fields in design mode. */
|
|
1598
|
+
readonly designer: SectionDesigner;
|
|
1599
|
+
/** The device the Designer shows the page on: the dialog follows it like the app follows the window. */
|
|
1600
|
+
get designMobile(): boolean;
|
|
1601
|
+
get designTablet(): boolean;
|
|
1134
1602
|
copyLayoutSchema: any;
|
|
1135
1603
|
isLoading: boolean;
|
|
1136
1604
|
projectLanguage: any;
|
|
@@ -1187,6 +1655,10 @@ declare class ModelComponent implements OnChanges, OnDestroy {
|
|
|
1187
1655
|
showMissing(form: NgForm | null): void;
|
|
1188
1656
|
checkValidty(form: NgForm): boolean;
|
|
1189
1657
|
onCancel(): void;
|
|
1658
|
+
/** Whether the element's settings are open in the Designer (it is marked). */
|
|
1659
|
+
isSelected(target: DesignTarget): boolean;
|
|
1660
|
+
sectionAction(action: DesignAction, sectionIndex: number): void;
|
|
1661
|
+
fieldAction(action: DesignAction, sectionIndex: number, fieldIndex: number): void;
|
|
1190
1662
|
/**
|
|
1191
1663
|
* A field's message shows once the user typed in it and left it, or after a save attempt - not
|
|
1192
1664
|
* when an empty field was only passed through (the message then pushed the row and its label out
|
|
@@ -1194,8 +1666,8 @@ declare class ModelComponent implements OnChanges, OnDestroy {
|
|
|
1194
1666
|
*/
|
|
1195
1667
|
saveTried: boolean;
|
|
1196
1668
|
showError(control: any): boolean;
|
|
1197
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelComponent,
|
|
1198
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModelComponent, "vl-model", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "modalItemInfo": { "alias": "modalItemInfo"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "setFormDataHandler": { "alias": "setFormDataHandler"; "required": false; }; }, {}, never, never, true, never>;
|
|
1669
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModelComponent, [null, { optional: true; }, { optional: true; }, null]>;
|
|
1670
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModelComponent, "vl-model", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "modalItemInfo": { "alias": "modalItemInfo"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "setFormDataHandler": { "alias": "setFormDataHandler"; "required": false; }; "design": { "alias": "design"; "required": false; }; }, { "designChange": "designChange"; }, never, never, true, never>;
|
|
1199
1671
|
}
|
|
1200
1672
|
|
|
1201
1673
|
declare class PaginationComponent implements OnInit {
|
|
@@ -2547,5 +3019,30 @@ declare function backendTermsState(answer: any, stamp: string): {
|
|
|
2547
3019
|
/** The user the acceptance belongs to: e-mail, user name or subject of the sign-in. */
|
|
2548
3020
|
declare function termsUser(userInfo: any): string;
|
|
2549
3021
|
|
|
2550
|
-
|
|
2551
|
-
|
|
3022
|
+
/** The page's area (center) with the page bar it is shown with; unchanged without app settings or without a bar. */
|
|
3023
|
+
declare function withAppPagination(mainCenter: any, center: any): any;
|
|
3024
|
+
|
|
3025
|
+
/** The column a data object's property becomes when it is dropped on the grid: its values, read only. */
|
|
3026
|
+
declare function columnFromProperty(drop: DesignPropertyDrop): any;
|
|
3027
|
+
/** A data object's field dropped at place index of the columns (at the end when index is out of range). */
|
|
3028
|
+
declare function dropGridProperty(layout: any, drop: DesignPropertyDrop, index: number): any;
|
|
3029
|
+
declare function moveColumn(layout: any, from: number, to: number): any;
|
|
3030
|
+
declare function removeColumn(layout: any, index: number): any;
|
|
3031
|
+
/** A column's width or height (option.width / option.height, in px) as dragged on its edge. */
|
|
3032
|
+
declare function resizeColumn(layout: any, index: number, size: {
|
|
3033
|
+
width?: number;
|
|
3034
|
+
height?: number;
|
|
3035
|
+
}): any;
|
|
3036
|
+
/** The settings of a column changed in the Designer's right panel. */
|
|
3037
|
+
declare function replaceColumn(layout: any, index: number, column: any): any;
|
|
3038
|
+
|
|
3039
|
+
/** A sample value of a property for record number index (0, 1, …). */
|
|
3040
|
+
declare function sampleValue(type: string | undefined, name: string, index: number, node?: any, image?: string): any;
|
|
3041
|
+
/**
|
|
3042
|
+
* count sample records for the fields of the layout nodes: each field gets a value of its property's type, a
|
|
3043
|
+
* list field (dropdown, radio buttons) the value of its list's entry.
|
|
3044
|
+
*/
|
|
3045
|
+
declare function sampleRecords(nodes: any[], propertySchema: any, count: number, image?: string): any[];
|
|
3046
|
+
|
|
3047
|
+
export { AppVersionResetService, Autocomplete, BACKEND_PROXY_PREFIX, BackendCallService, CardComponent, CardDesigner, CheckboxControl, ConfigService, ControlComponent, Couchdb, CustomKeyboardComponent, CustomKeyboardDirective, CustomKeyboardService, DEFAULT_DATE_FORMAT, DESIGN_TEXTS, DateFormatPipe, DateHintPipe, DateRangeControl, DateTextPipe, DateTimeControl, DesignBarComponent, DropMarkerComponent, DropdownControl, FormComponent, GRID_COLUMNS, GridComponent, HeaderMenuComponent, LogsComponent, MAX_FIELDS_PER_ROW, MediaControl, MediaSourcePipe, MobileKeycloakService, MobileOidcService, MobileOktaService, ModelComponent, NetworkLogService, NotificationService, NumberControl, PageData, PaginationComponent, PasswordControl, PlaceholderPipe, READ_ATTEMPT_TIMEOUT, REQUEST_STAGES, RETRY_PAUSES, RETRY_STATUSES, RadioControl, RecordStore, RemoteListService, RequestService, RequestTimeoutError, RequestTimeoutService, RulesPipe, SIDE_DOCK_CLASS, STORAGE_DATE_FORMAT, SectionDesigner, SideMenuComponent, SwitchControl, TermsDialog, TextareaControl, Textbox, UtilityService, ViewToolkitModule, VisiblePipe, acceptedLocally, addButton, addCardButton, addSection, applyLayoutDefaults, backendTermsState, backendUrl, buildBackendCall, buttonLocked, cardButton, clearHeader, cloneLayout, columnFromProperty, controlKind, controlProperty, currencyDigits, currentDateLanguage, dateDigitCount, dateInputPattern, designDropIds, designTexts, displayDateValue, displayNumber, dropCardProperty, dropGridProperty, dropObjectName, dropProperty, dropTypeAt, elementFromProperty, fieldFromProperty, fieldInnerLayoutStyle, fieldModel, fieldRules, fieldSpan, fixedTimeText, formatDate, formatDates, fromStorageValue, hasBackendCall, headerButton, inputFormatHint, insertField, isBrowserSource, isNativeMobile, isNativePhone, isPropertyDrop, isSignedIn, isTarget, languageDatePattern, layoutPlaceholder, lockHint, lockReason, lockReasons, mediaKind, moveCardElement, moveColumn, moveField, moveSection, newButton, newSection, normalizeCard, normalizeCustomKeyboardType, normalizeSections, numberShape, numberStep, numberSuffix, parseRecords, parseStorageDate, primeDatePattern, rebalanceRow, recordOf, removeCardElement, removeColumn, removeField, removeHeaderElement, removeSection, replaceCardElement, replaceColumn, replaceField, replaceSection, resizeColumn, resolveCustomKeyboardType, resolvePlaceholder, resolveTemplate, ruleMessage, sampleRecords, sampleValue, sectionSpan, sectionSticky, sectionTabletSpan, sectionVisible, setDateLanguage, setInputHintLanguage, setToolkitKeyboardOnWeb, shapeDateDigits, shapeTimeText, sideDockWidth, splitReference, stagedRead, stagedRequest, storageKind, storageValue, storedToTyped, styleParts, termsStamp, termsStorageKey, termsToConfirm, termsUrl, termsUser, testAction, testFieldKey, testWrites, timeHourFormat, toggleMeridiem, toolkitKeyboardActive, typedToStored, usesTwelveHours, visibleFields, whenOnline, withAppPagination };
|
|
3048
|
+
export type { BackendCall, CallContext, CardDesignerHost, CardDragData, CardDropSpot, CardDropType, CardPlace, ControlKind, CustomKeyboardTarget, CustomKeyboardType, DataSource, DesignAction, DesignDevice, DesignEvent, DesignPropertyDrop, DesignTarget, DesignTexts, DropSpot, DropType, FieldKind, FieldModel, FieldRules, LockHint, LockReason, MediaKind, MobileAuthTokens, MobileOktaRefresh, MobileOktaTokens, NumberShape, OidcProvider, OidcRefresh, OidcTokens, PageDataDeps, RequestTimeoutMessages, SectionDesignerHost, SectionDragData, SectionKind, StagedReadOptions, StorageKind, TermsAcceptance, TermsDialogDocument, TermsSettings, VlDesign };
|