@yomotech/view-toolkit 1.0.42 → 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.
@@ -1,14 +1,15 @@
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';
7
8
  import { OAuthService } from 'angular-oauth2-oidc';
8
9
  import { NzModalService } from 'ng-zorro-antd/modal';
9
10
  import { ToastrService } from 'ngx-toastr';
10
- import { OktaAuthStateService } from '@okta/okta-angular';
11
11
  import { NgForm } from '@angular/forms';
12
+ import { OktaAuthStateService } from '@okta/okta-angular';
12
13
  import { DynamicDialogRef, DynamicDialogConfig, DialogService } from 'primeng/dynamicdialog';
13
14
  import { NzI18nService } from 'ng-zorro-antd/i18n';
14
15
  import * as catalog from '@yomotech/view-toolkit/catalog';
@@ -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
  /**
@@ -118,6 +352,9 @@ declare class UtilityService {
118
352
  private platform;
119
353
  private requestService;
120
354
  stripe: any;
355
+ cardElement: any;
356
+ /** Stripe says the card field holds a whole card (number, date, CVC) - a signal, so a locked button follows it */
357
+ readonly cardComplete: i0.WritableSignal<boolean>;
121
358
  constructor(platform: Platform, requestService: RequestService);
122
359
  getScope(scope: any): string;
123
360
  getProperty(scope: any, itemInfo?: any): {
@@ -144,7 +381,20 @@ declare class UtilityService {
144
381
  getTotalQuantity(tableitemInfo: any): number;
145
382
  replacePaginationParams(url: string, currentPage: number, pageSize: number): string;
146
383
  customButton(option: any, propertySchema: any, projectSeleted: any, environment: any): void;
384
+ /**
385
+ * The page an entry opens for this user. The app settings form (Main with center.appSettings,
386
+ * OFFENE-PUNKTE 109): the start page is center.option; a role with its own start page in
387
+ * appSettings.login.roles wins (startPageFor of the catalog) - the role read through roleKey from the
388
+ * sign-in answer or the token's claims (Keycloak "realm_access.roles", Okta "groups"). The older form
389
+ * (the role pages in option.userRoleMapping) is read as before until every app is converted.
390
+ */
147
391
  setDefaultUser(item: any, userInfo: any, environment: any): any;
392
+ /**
393
+ * The user as the roles are looked up in: the sign-in answer or user info, together with the claims of
394
+ * its access token (token, authToken, access_token or keycloakInfo.access_token) - Keycloak and Okta keep
395
+ * the roles there. The user's own fields win over a claim of the same name.
396
+ */
397
+ userClaims(userInfo: any): any;
148
398
  setTableData(data: any, option: any | undefined, tableitemInfo: any, projectSeleted: any): any;
149
399
  setOktaWebCredential(environment: any, projectName: any): {
150
400
  logo: string;
@@ -171,6 +421,20 @@ declare class UtilityService {
171
421
  /** OAuth scope as the space separated string the OAuth2 plugin expects. */
172
422
  private oauthScope;
173
423
  setupStripePaymentForm(environment: any, form: any, onCardChange: (message: string) => void): Promise<void>;
424
+ /**
425
+ * A required card field (option.required in the layout) without a whole card: the card is no field of
426
+ * the Angular form (Stripe's own frame), so the form's validity does not see it.
427
+ */
428
+ requiredCardMissing(layoutSchema: any, propertySchema: any): boolean;
429
+ /**
430
+ * Pays a payment intent with the card field of the page. ok false with the reason in error when the
431
+ * field is not there yet or Stripe refuses the card; the card data never leaves Stripe's own frame.
432
+ */
433
+ confirmCardPayment(clientSecret: string, billingDetails?: any): Promise<{
434
+ ok: boolean;
435
+ error?: string;
436
+ paymentIntent?: any;
437
+ }>;
174
438
  formData(form: any, environment: any, cartInfo: any): Promise<void>;
175
439
  normalizeDatesForStorage(obj: any): any;
176
440
  isDateLike(value: any): boolean;
@@ -650,6 +914,26 @@ declare class CardComponent {
650
914
  onPageChange: EventEmitter<any>;
651
915
  paginationMode: 'client' | 'server';
652
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;
653
937
  scrollPaginationSentinel?: ElementRef<HTMLElement>;
654
938
  private scrollObserver?;
655
939
  private requestedScrollPage;
@@ -671,6 +955,25 @@ declare class CardComponent {
671
955
  private destroyScrollObserver;
672
956
  ngOnDestroy(): void;
673
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;
674
977
  getRecordIndex(record: any): number;
675
978
  private updateDeviceMode;
676
979
  private safeUpdate;
@@ -720,9 +1023,157 @@ declare class CardComponent {
720
1023
  */
721
1024
  keyboardTypeFor(field: any, propertySchema: any): CustomKeyboardType | null;
722
1025
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
723
- 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;
724
1140
  }
725
1141
 
1142
+ /**
1143
+ * Signed in only with a real value: the app sets { authToken: undefined } for Okta before any sign-in,
1144
+ * so an object with keys is not enough. Any key counts, so a login of any backend works
1145
+ * ({ jwt }, { accessToken }, { userId }, Keycloak, OAuth2): a non-empty text, a number, or an object
1146
+ * or list holding such a value; true / false say nothing about a user.
1147
+ */
1148
+ declare function isSignedIn(userInfo: any, now?: number): boolean;
1149
+ type LockReason = 'login' | 'valid' | null;
1150
+ /** Why a button is locked: needsLogin without a signed-in user first, then needsValid with a broken rule. */
1151
+ declare function lockReason(option: any, state: {
1152
+ signedIn: boolean;
1153
+ valid: boolean;
1154
+ }): LockReason;
1155
+ /** Every reason a button is locked, the sign-in first: both show their hint under the button. */
1156
+ declare function lockReasons(option: any, state: {
1157
+ signedIn: boolean;
1158
+ valid: boolean;
1159
+ }): Array<'login' | 'valid'>;
1160
+ /** A hint under a locked button: the layout's text; for 'login' a link to the sign-in. */
1161
+ interface LockHint {
1162
+ reason: 'login' | 'valid';
1163
+ text: string;
1164
+ }
1165
+ /** Whether a button is locked: needsLogin without a signed-in user, needsValid with a broken rule. */
1166
+ declare function buttonLocked(option: any, state: {
1167
+ signedIn: boolean;
1168
+ valid: boolean;
1169
+ }): boolean;
1170
+ /**
1171
+ * The hint under a locked button: the layout's caption for the reason (option.needsLoginHint.caption /
1172
+ * needsValidHint.caption), in the app's language when the language file has it (the caption is its key).
1173
+ * Empty when the layout gives none.
1174
+ */
1175
+ declare function lockHint(option: any, reason: LockReason, translations?: Record<string, string> | null): string;
1176
+
726
1177
  declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
727
1178
  /** Marks for the app's test runner (#166): field key and button action. */
728
1179
  readonly vlFieldKey: typeof testFieldKey;
@@ -747,6 +1198,7 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
747
1198
  /** Date and time picker behaviour shared by all containers. */
748
1199
  readonly picker: DateTimePickerService;
749
1200
  private readonly host;
1201
+ private readonly utility;
750
1202
  ngOnDestroy(): void;
751
1203
  customEmailPattern: string;
752
1204
  showPassword: boolean;
@@ -755,8 +1207,24 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
755
1207
  creditCardError: any;
756
1208
  form: any;
757
1209
  selectedLanguageInfo: any;
1210
+ /** the signed-in user, for needsLogin on a button */
1211
+ userInfo: any;
758
1212
  formButtonClick: EventEmitter<any>;
759
1213
  checkBoxChangeEvent: EventEmitter<any>;
1214
+ /** the hint of a button locked for a missing sign-in was clicked: the app starts its sign-in */
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;
760
1228
  ngOnInit(): void;
761
1229
  ngOnChanges(changes: SimpleChanges): void;
762
1230
  ngAfterViewInit(): void;
@@ -767,10 +1235,53 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
767
1235
  classes: string;
768
1236
  style: any;
769
1237
  };
1238
+ /** A section's width in the form's 12 columns (layout gridSpan). */
1239
+ sectionSpanOf(formSection: any): number;
1240
+ /** A section's width on a tablet (layout tabletGridSpan, else gridSpan). */
1241
+ sectionTabletSpanOf(formSection: any): number;
1242
+ /** The sticky column's width on a tablet: the widest of its sections; 12 puts it under the others there. */
1243
+ stickyTabletSpan(): number;
1244
+ /** The sections that stay in view (true) or flow (false), in the order of the layout - the same list while the layout is the same. */
1245
+ sectionsIn(sticky: boolean): any[];
1246
+ private sectionSplit;
1247
+ /** The width of the sticky column: the widest of its sections (gridSpan), 4 when none says. */
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;
1259
+ /** A section with visibleWhen is shown only while its field holds the value. */
1260
+ sectionShown(formSection: any): boolean;
770
1261
  getSectionBodyStyle(formSection: any): any;
771
1262
  getFieldWrapperStyle(formField: any): any;
772
1263
  getScope(scope: any): string;
773
1264
  togglePasswordVisibility(): void;
1265
+ /** A button grey and without click: needsLogin without a user, needsValid with a broken field rule. */
1266
+ isLocked(formField: any, form: NgForm | null): boolean;
1267
+ /** Why a button is locked: 'login' (needsLogin, nobody signed in) or 'valid' (needsValid, a field or the required card missing). */
1268
+ lockReasonOf(formField: any, form: NgForm | null): LockReason;
1269
+ /** Under a locked button: one hint per reason (sign-in, fields), the layout's texts only. */
1270
+ lockHintsOf(formField: any, form: NgForm | null): LockHint[];
1271
+ private readonly lockHintCache;
1272
+ /**
1273
+ * The fields that keep a needsValid button locked, in the order of the page: a field whose control
1274
+ * breaks a rule, and a required card field without a whole card (named by its section). Only shown
1275
+ * sections count; none missing means the form is valid for needsValid.
1276
+ */
1277
+ missingFields(form: NgForm | null): Array<{
1278
+ key: string;
1279
+ label: string;
1280
+ }>;
1281
+ /**
1282
+ * A click on a locked button: nothing is sent; every field shows its message. The page stays where it is.
1283
+ */
1284
+ showMissing(form: NgForm | null): void;
774
1285
  invokeFormBtnClick(option: any, propertySchema: any): void;
775
1286
  setformData(): void;
776
1287
  setErroMessage(formField: any, errorMessages: any, field: any): string;
@@ -783,7 +1294,7 @@ declare class FormComponent implements OnInit, OnChanges, AfterViewInit, OnDestr
783
1294
  saveTried: boolean;
784
1295
  showError(control: any): boolean;
785
1296
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
786
- 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; }; }, { "formButtonClick": "formButtonClick"; "checkBoxChangeEvent": "checkBoxChangeEvent"; }, 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>;
787
1298
  }
788
1299
 
789
1300
  interface GridColumnFilterState {
@@ -807,6 +1318,7 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
807
1318
  /** Date and time picker behaviour shared by all containers. */
808
1319
  readonly picker: DateTimePickerService;
809
1320
  private readonly host;
1321
+ private readonly cdr;
810
1322
  ngOnDestroy(): void;
811
1323
  private sideHintObserver?;
812
1324
  /** Marks the table's scroll area while columns lie beyond its left or right edge. */
@@ -839,6 +1351,22 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
839
1351
  recordIndex: number;
840
1352
  }>;
841
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;
842
1370
  /** The row being edited ("row" mode), its own copy of the data objects with the row's values. */
843
1371
  editingRow: any;
844
1372
  rowSchema: any;
@@ -862,6 +1390,38 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
862
1390
  ngAfterViewInit(): void;
863
1391
  ngOnChanges(changes: SimpleChanges): void;
864
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;
865
1425
  translateSchema(schema: any, SelectedLanguage: any): any;
866
1426
  getScope(scope: any): string;
867
1427
  getStyleWithoutClasses(styleObject: any): {
@@ -950,7 +1510,7 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
950
1510
  /** The DTO type of a column as the data object declares it ("string", "quantity" ...). */
951
1511
  cellType(col: any): string;
952
1512
  static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
953
- 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>;
954
1514
  }
955
1515
 
956
1516
  declare class HeaderMenuComponent implements AfterViewInit {
@@ -974,6 +1534,7 @@ declare class HeaderMenuComponent implements AfterViewInit {
974
1534
  buttonClick: EventEmitter<any>;
975
1535
  showTableContent: EventEmitter<any>;
976
1536
  searchItems: EventEmitter<any>;
1537
+ private readonly cdr;
977
1538
  constructor(oktaAuthService: OktaAuthStateService, requestService: RequestService, utilityService: UtilityService, couchdbService: Couchdb, platform: Platform);
978
1539
  ngOnChanges(changes: SimpleChanges): void;
979
1540
  ngAfterViewInit(): void;
@@ -1027,6 +1588,17 @@ declare class ModelComponent implements OnChanges, OnDestroy {
1027
1588
  selectedLanguageInfo: any;
1028
1589
  userInfo: any;
1029
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;
1030
1602
  copyLayoutSchema: any;
1031
1603
  isLoading: boolean;
1032
1604
  projectLanguage: any;
@@ -1072,8 +1644,21 @@ declare class ModelComponent implements OnChanges, OnDestroy {
1072
1644
  applyDurationRule(rule: any, formField: any): void;
1073
1645
  invokeSetformData(): void;
1074
1646
  invokeFormBtnClick(option: any, propertySchema: any, form: NgForm): void;
1647
+ /** A button grey and without click: needsLogin without a user, needsValid with a broken field rule. */
1648
+ isLocked(formField: any, form: NgForm | null): boolean;
1649
+ /** Why a button is locked: 'login' (needsLogin, nobody signed in) or 'valid' (needsValid, a field rule broken). */
1650
+ lockReasonOf(formField: any, form: NgForm | null): LockReason;
1651
+ /** Under a locked button: the fields hint (a dialog has no sign-in link), the same list while nothing changed. */
1652
+ lockHintsOf(formField: any, form: NgForm | null): LockHint[];
1653
+ private readonly lockHintCache;
1654
+ /** A click on a locked button: nothing is sent; every field shows its message, the first missing one comes into view. */
1655
+ showMissing(form: NgForm | null): void;
1075
1656
  checkValidty(form: NgForm): boolean;
1076
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;
1077
1662
  /**
1078
1663
  * A field's message shows once the user typed in it and left it, or after a save attempt - not
1079
1664
  * when an empty field was only passed through (the message then pushed the row and its label out
@@ -1081,8 +1666,8 @@ declare class ModelComponent implements OnChanges, OnDestroy {
1081
1666
  */
1082
1667
  saveTried: boolean;
1083
1668
  showError(control: any): boolean;
1084
- static ɵfac: i0.ɵɵFactoryDeclaration<ModelComponent, never>;
1085
- 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>;
1086
1671
  }
1087
1672
 
1088
1673
  declare class PaginationComponent implements OnInit {
@@ -1116,6 +1701,32 @@ declare class PaginationComponent implements OnInit {
1116
1701
  static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "vl-pagination", never, { "itemInfo": { "alias": "itemInfo"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "onGoToPage": "onGoToPage"; }, never, never, true, never>;
1117
1702
  }
1118
1703
 
1704
+ interface TermsDialogDocument {
1705
+ name: string;
1706
+ caption: string;
1707
+ kind: string;
1708
+ value: string;
1709
+ }
1710
+ declare class TermsDialog {
1711
+ /** the documents; to confirm, the terms (agb) come first, imprint and privacy as links */
1712
+ set documents(docs: TermsDialogDocument[] | null);
1713
+ /** true: Accept / Decline before the sign-in; false: a document to read */
1714
+ confirm: boolean;
1715
+ /** the app's language (selectedLanguage) */
1716
+ translations: Record<string, string> | null;
1717
+ accepted: EventEmitter<void>;
1718
+ declined: EventEmitter<void>;
1719
+ closed: EventEmitter<void>;
1720
+ docs: TermsDialogDocument[];
1721
+ main: TermsDialogDocument | null;
1722
+ current: TermsDialogDocument | null;
1723
+ get others(): TermsDialogDocument[];
1724
+ show(doc: TermsDialogDocument | null): void;
1725
+ t(key: string, english: string): string;
1726
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermsDialog, never>;
1727
+ static ɵcmp: i0.ɵɵComponentDeclaration<TermsDialog, "vl-terms-dialog", never, { "documents": { "alias": "documents"; "required": false; }; "confirm": { "alias": "confirm"; "required": false; }; "translations": { "alias": "translations"; "required": false; }; }, { "accepted": "accepted"; "declined": "declined"; "closed": "closed"; }, never, never, true, never>;
1728
+ }
1729
+
1119
1730
  /** What a project's login configuration has to say about its identity provider. */
1120
1731
  interface OidcProvider {
1121
1732
  /** e.g. https://keycloak-poc.wilken.de/realms/p5, https://integrator-1772139.okta.com/oauth2/default */
@@ -1225,7 +1836,7 @@ declare class SideMenuComponent implements AfterViewInit, OnChanges, OnDestroy {
1225
1836
  settingMenu: any;
1226
1837
  setLanguage: boolean;
1227
1838
  /** Translations of the last language change, for menu items that arrive after it. */
1228
- private lastMenuTranslations;
1839
+ lastMenuTranslations: Record<string, string> | null;
1229
1840
  tenantKey: string;
1230
1841
  scrollPagination: any;
1231
1842
  private oktaAuthStateSubscription?;
@@ -1242,6 +1853,12 @@ declare class SideMenuComponent implements AfterViewInit, OnChanges, OnDestroy {
1242
1853
  appVersionInfo: any;
1243
1854
  /** Languages to start in, best first (language codes "de", "en" ...); the first the project has wins. */
1244
1855
  startLanguages: string[];
1856
+ /** Main's start page area (center) - with appSettings the library adds the setting entries itself (OFFENE-PUNKTE 106/108). */
1857
+ mainCenter: any;
1858
+ /** The menu as the app hands it over, before the setting entries are added. */
1859
+ private rawMenuItems;
1860
+ /** The codes of the project's language files ("en", "de") for the entry Languages. */
1861
+ private projectLanguages;
1245
1862
  /** Set once the user picks a language in the menu - the start language then no longer applies. */
1246
1863
  private languageChosenByUser;
1247
1864
  languageChange: EventEmitter<any>;
@@ -1281,6 +1898,10 @@ declare class SideMenuComponent implements AfterViewInit, OnChanges, OnDestroy {
1281
1898
  constructor(i18n: NzI18nService, mobileKeycloakService: MobileKeycloakService, couchdbService: Couchdb, oauthService: OAuthService, platform: Platform, requestService: RequestService, utilityService: UtilityService, dialogService: DialogService, notificationService: NotificationService, injector: Injector);
1282
1899
  ngOnInit(): Promise<void>;
1283
1900
  ngOnChanges(changes: SimpleChanges): void;
1901
+ /** The setting entries of the app settings added to the menu as the app handed it over. */
1902
+ private addSettingEntries;
1903
+ /** The languages of the project - its files languages/<code>.json, not the error messages. */
1904
+ private loadProjectLanguages;
1284
1905
  getPaginationType(): Promise<void>;
1285
1906
  ngAfterViewInit(): Promise<void>;
1286
1907
  /**
@@ -1321,12 +1942,19 @@ declare class SideMenuComponent implements AfterViewInit, OnChanges, OnDestroy {
1321
1942
  openLogsTable(): void;
1322
1943
  deleteMenuItem(subChild: any, index: number, event: Event): void;
1323
1944
  navigateToProject(project: any): void;
1945
+ /**
1946
+ * A document of Terms & Conditions: a link opens in a new window, a PDF from the project's Media as
1947
+ * well, a written text is shown as a message.
1948
+ */
1949
+ private openTermsDocument;
1950
+ /** The text document of Terms & Conditions open now (vl-terms-dialog), null when none. */
1951
+ termsDocument: TermsDialogDocument[] | null;
1324
1952
  /** Loads a language of the project; false when the project has no such language file. */
1325
1953
  changeLanguage(lang: string): Promise<boolean>;
1326
1954
  private applyMenuTranslations;
1327
1955
  private applySettingTranslations;
1328
1956
  static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuComponent, never>;
1329
- static ɵcmp: i0.ɵɵComponentDeclaration<SideMenuComponent, "vl-side-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "projects": { "alias": "projects"; "required": false; }; "tenantName": { "alias": "tenantName"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "appVersionInfo": { "alias": "appVersionInfo"; "required": false; }; "startLanguages": { "alias": "startLanguages"; "required": false; }; }, { "languageChange": "languageChange"; "invokeMenu": "invokeMenu"; "menuToggle": "menuToggle"; "invokeProject": "invokeProject"; "errorMessage": "errorMessage"; "deleteProject": "deleteProject"; "paginationType": "paginationType"; }, never, never, true, never>;
1957
+ static ɵcmp: i0.ɵɵComponentDeclaration<SideMenuComponent, "vl-side-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "projects": { "alias": "projects"; "required": false; }; "tenantName": { "alias": "tenantName"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "appVersionInfo": { "alias": "appVersionInfo"; "required": false; }; "startLanguages": { "alias": "startLanguages"; "required": false; }; "mainCenter": { "alias": "mainCenter"; "required": false; }; }, { "languageChange": "languageChange"; "invokeMenu": "invokeMenu"; "menuToggle": "menuToggle"; "invokeProject": "invokeProject"; "errorMessage": "errorMessage"; "deleteProject": "deleteProject"; "paginationType": "paginationType"; }, never, never, true, never>;
1330
1958
  }
1331
1959
 
1332
1960
  declare class Autocomplete implements OnChanges {
@@ -1813,6 +2441,8 @@ interface CallContext {
1813
2441
  records?: any[];
1814
2442
  filter?: any;
1815
2443
  env?: any;
2444
+ /** Further values a button hands in (purchase: form, cart, response); one more key is {{item.x}} inside $each. */
2445
+ [key: string]: any;
1816
2446
  }
1817
2447
  /** A call ready to send. */
1818
2448
  interface BackendCall {
@@ -2211,6 +2841,10 @@ declare class ControlComponent implements OnChanges {
2211
2841
  container: 'dialog' | 'form';
2212
2842
  /** the button's type: 'submit' lets Enter in a field press it (form) */
2213
2843
  buttonType: 'button' | 'submit';
2844
+ /** the button is grey and sends nothing (needsLogin / needsValid of its layout); a click is lockedClick */
2845
+ locked: boolean;
2846
+ /** the hints under a locked button: one per reason (sign-in, fields), the fields hint with the missing fields */
2847
+ lockHints: LockHint[];
2214
2848
  /** 'edit': the field to type in (dialog, form); 'display': a record's value shown (card, grid) */
2215
2849
  mode: 'edit' | 'display';
2216
2850
  /** display mode: the record whose value is shown (record[name]) */
@@ -2241,6 +2875,10 @@ declare class ControlComponent implements OnChanges {
2241
2875
  mediaClicked: EventEmitter<any>;
2242
2876
  /** a button was clicked; its option (innerAction, action ...) */
2243
2877
  buttonClick: EventEmitter<any>;
2878
+ /** a click on a locked button: nothing is sent, the container shows the missing fields */
2879
+ lockedClick: EventEmitter<void>;
2880
+ /** a click on the hint of a button locked for a missing sign-in */
2881
+ signIn: EventEmitter<void>;
2244
2882
  kind: ControlKind;
2245
2883
  property: any;
2246
2884
  /** the property's object ({ fromDate: {...}, toDate: {...} }), for amounts with a currency field */
@@ -2250,6 +2888,8 @@ declare class ControlComponent implements OnChanges {
2250
2888
  textboxInfo: any;
2251
2889
  readonly vlAction: typeof testAction;
2252
2890
  readonly vlWrites: typeof testWrites;
2891
+ /** the field with the rules of its data object - what the building blocks get */
2892
+ ruleField: any;
2253
2893
  /** the property's name in a record ("fromDate") */
2254
2894
  name: string;
2255
2895
  ngOnChanges(): void;
@@ -2279,6 +2919,10 @@ declare class ControlComponent implements OnChanges {
2279
2919
  get messages(): any;
2280
2920
  /** label.value, the layout's label.caption, then the data object's caption - translated */
2281
2921
  get label(): string;
2922
+ /** a required field (option.required true) shows a red * after its label */
2923
+ get required(): boolean;
2924
+ /** a button click: a locked one sends nothing (no submit either) and asks the container to show what is missing */
2925
+ onButton(event: Event): void;
2282
2926
  /** a check box carries its own caption; every other control gets the label above or beside it */
2283
2927
  get showLabel(): boolean;
2284
2928
  /** text flag (string "Y"/"N" ...) or Boolean, for check box, switch and radio buttons */
@@ -2304,8 +2948,101 @@ declare class ControlComponent implements OnChanges {
2304
2948
  style: Record<string, any>;
2305
2949
  };
2306
2950
  static ɵfac: i0.ɵɵFactoryDeclaration<ControlComponent, never>;
2307
- static ɵcmp: i0.ɵɵComponentDeclaration<ControlComponent, "vl-control", never, { "field": { "alias": "field"; "required": false; }; "propertySchema": { "alias": "propertySchema"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "saveTried": { "alias": "saveTried"; "required": false; }; "container": { "alias": "container"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "record": { "alias": "record"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "styleValue": { "alias": "styleValue"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "list": { "alias": "list"; "required": false; }; "listLoading": { "alias": "listLoading"; "required": false; }; "creditCardError": { "alias": "creditCardError"; "required": false; }; }, { "picked": "picked"; "changed": "changed"; "opened": "opened"; "toggled": "toggled"; "linkClicked": "linkClicked"; "mediaClicked": "mediaClicked"; "buttonClick": "buttonClick"; }, never, never, true, never>;
2951
+ static ɵcmp: i0.ɵɵComponentDeclaration<ControlComponent, "vl-control", never, { "field": { "alias": "field"; "required": false; }; "propertySchema": { "alias": "propertySchema"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "saveTried": { "alias": "saveTried"; "required": false; }; "container": { "alias": "container"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "lockHints": { "alias": "lockHints"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "record": { "alias": "record"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "styleValue": { "alias": "styleValue"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "list": { "alias": "list"; "required": false; }; "listLoading": { "alias": "listLoading"; "required": false; }; "creditCardError": { "alias": "creditCardError"; "required": false; }; }, { "picked": "picked"; "changed": "changed"; "opened": "opened"; "toggled": "toggled"; "linkClicked": "linkClicked"; "mediaClicked": "mediaClicked"; "buttonClick": "buttonClick"; "lockedClick": "lockedClick"; "signIn": "signIn"; }, never, never, true, never>;
2952
+ }
2953
+
2954
+ /**
2955
+ * The layout's start values into the data objects' properties ({ object: { name: property } }).
2956
+ * asValue: a plain start value fills an empty field (form, list); otherwise it is the property's default,
2957
+ * used for a new record only (dialog). A placeholder always becomes the value.
2958
+ */
2959
+ declare function applyLayoutDefaults(schemas: Record<string, any>, layout: any, asValue: boolean): void;
2960
+
2961
+ /** How many of the form's 12 columns a section takes: gridSpan 1..12, else the whole width. */
2962
+ declare function sectionSpan(section: any): number;
2963
+ /** A section's width on a tablet (768-1023px): tabletGridSpan 1..12, else its desktop width. */
2964
+ declare function sectionTabletSpan(section: any): number;
2965
+ /** A section that stays in view while the page scrolls (sticky true). */
2966
+ declare function sectionSticky(section: any): boolean;
2967
+ /**
2968
+ * Whether a section is shown: without visibleWhen always; with it only while the field (scope reference
2969
+ * "#/<object>/properties/<name>") holds the value. A true/false condition compares on/off, so a check box
2970
+ * kept as "Y"/"N" counts too; an empty field equals false.
2971
+ */
2972
+ declare function sectionVisible(section: any, propertySchema: any): boolean;
2973
+
2974
+ /** The terms part of the app settings as readAppSettings gives it. */
2975
+ interface TermsSettings {
2976
+ enabled: boolean;
2977
+ confirmOnStart: boolean;
2978
+ documents: Record<string, {
2979
+ kind: string;
2980
+ value: string;
2981
+ } | undefined>;
2982
+ version: string;
2983
+ backend: {
2984
+ enabled: boolean;
2985
+ statusUrl: string;
2986
+ acceptUrl: string;
2987
+ };
2308
2988
  }
2989
+ /** What the browser keeps: the state accepted and when. */
2990
+ interface TermsAcceptance {
2991
+ stamp: string;
2992
+ acceptedAt: string;
2993
+ }
2994
+ /** The terms must be confirmed before anything else: switched on and something to read. */
2995
+ declare function termsToConfirm(terms: TermsSettings | null | undefined): boolean;
2996
+ /**
2997
+ * The state of the terms: the version of the layout, else a short checksum of the documents - a changed text is
2998
+ * a new state without anybody counting versions.
2999
+ */
3000
+ declare function termsStamp(terms: TermsSettings): string;
3001
+ /** The browser's key for an app's acceptance. */
3002
+ declare function termsStorageKey(project: string): string;
3003
+ /** Whether the browser's acceptance covers this state. */
3004
+ declare function acceptedLocally(stored: TermsAcceptance | null | undefined, stamp: string): boolean;
3005
+ /** An address with {{user}}, {{version}} and {{env.x}} filled in (URL-encoded); a relative one goes after apiUrl. */
3006
+ declare function termsUrl(url: string, values: {
3007
+ user: string;
3008
+ version: string;
3009
+ env?: Record<string, any>;
3010
+ }): string;
3011
+ /**
3012
+ * The backend's answer to the status question: { version, accepted }. The backend's version is the state that
3013
+ * counts then; accepted false (or a newer version than the browser knows) means: ask again.
3014
+ */
3015
+ declare function backendTermsState(answer: any, stamp: string): {
3016
+ version: string;
3017
+ accepted: boolean;
3018
+ };
3019
+ /** The user the acceptance belongs to: e-mail, user name or subject of the sign-in. */
3020
+ declare function termsUser(userInfo: any): string;
3021
+
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[];
2309
3046
 
2310
- export { AppVersionResetService, Autocomplete, BACKEND_PROXY_PREFIX, BackendCallService, CardComponent, CheckboxControl, ConfigService, ControlComponent, Couchdb, CustomKeyboardComponent, CustomKeyboardDirective, CustomKeyboardService, DEFAULT_DATE_FORMAT, DateFormatPipe, DateHintPipe, DateRangeControl, DateTextPipe, DateTimeControl, DropdownControl, FormComponent, GridComponent, HeaderMenuComponent, LogsComponent, 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, SideMenuComponent, SwitchControl, TextareaControl, Textbox, UtilityService, ViewToolkitModule, VisiblePipe, backendUrl, buildBackendCall, controlKind, controlProperty, currencyDigits, currentDateLanguage, dateDigitCount, dateInputPattern, displayDateValue, displayNumber, fieldInnerLayoutStyle, fieldModel, fieldRules, fixedTimeText, formatDate, formatDates, fromStorageValue, hasBackendCall, inputFormatHint, isBrowserSource, isNativeMobile, isNativePhone, languageDatePattern, layoutPlaceholder, mediaKind, normalizeCustomKeyboardType, numberShape, numberStep, numberSuffix, parseRecords, parseStorageDate, primeDatePattern, recordOf, resolveCustomKeyboardType, resolvePlaceholder, resolveTemplate, ruleMessage, setDateLanguage, setInputHintLanguage, setToolkitKeyboardOnWeb, shapeDateDigits, shapeTimeText, sideDockWidth, splitReference, stagedRead, stagedRequest, storageKind, storageValue, storedToTyped, styleParts, testAction, testFieldKey, testWrites, timeHourFormat, toggleMeridiem, toolkitKeyboardActive, typedToStored, usesTwelveHours, visibleFields, whenOnline };
2311
- export type { BackendCall, CallContext, ControlKind, CustomKeyboardTarget, CustomKeyboardType, DataSource, FieldKind, FieldModel, FieldRules, MediaKind, MobileAuthTokens, MobileOktaRefresh, MobileOktaTokens, NumberShape, OidcProvider, OidcRefresh, OidcTokens, PageDataDeps, RequestTimeoutMessages, StagedReadOptions, StorageKind };
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 };