@yomotech/view-toolkit 1.0.56 → 1.0.64
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/fesm2022/yomotech-view-toolkit-catalog.mjs +496 -11
- package/fesm2022/yomotech-view-toolkit-catalog.mjs.map +1 -1
- package/fesm2022/yomotech-view-toolkit.mjs +876 -221
- package/fesm2022/yomotech-view-toolkit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yomotech-view-toolkit-catalog.d.ts +159 -6
- package/types/yomotech-view-toolkit.d.ts +118 -23
package/package.json
CHANGED
|
@@ -110,7 +110,7 @@ declare function temporalPart(property: Bag$1 | any): TemporalPart | null;
|
|
|
110
110
|
* - read: ISO, date and time, a value without timezone is local wall time; Z or an offset is
|
|
111
111
|
* dropped (wall time) - P5W1 sends 2025-11-04T16:30:00
|
|
112
112
|
* - send: ISO with the device's offset, 2026-10-18T08:00:00+02:00 (the daily split of the time
|
|
113
|
-
* recording,
|
|
113
|
+
* recording, its add-on, stays as it is)
|
|
114
114
|
* - shown and typed: the app language, year with four digits (de 18.10.2026, time 08:05);
|
|
115
115
|
* lists: displayFormat short / medium (default) / long / iso (2026-10-30 in every language) / custom
|
|
116
116
|
*/
|
|
@@ -160,9 +160,9 @@ declare const TEST_DEVICES: readonly ["mobile", "tablet", "laptop", "desktop"];
|
|
|
160
160
|
/** Old spellings of a device, still taken: "phone" is "mobile" (2026-10-31, the preview's word). */
|
|
161
161
|
declare const OLD_DEVICE_NAMES: Record<string, string>;
|
|
162
162
|
declare const ORIENTATIONS: readonly ["portrait", "landscape"];
|
|
163
|
-
declare const STEP_KINDS: readonly ["open", "menu", "tap", "type", "pick", "press", "scroll", "openRecord", "close", "cart", "rotate", "device", "wait", "language", "reload", "signIn", "signOut", "expect"];
|
|
163
|
+
declare const STEP_KINDS: readonly ["open", "menu", "tap", "type", "pick", "press", "scroll", "openRecord", "ifRecords", "goToPage", "close", "cart", "rotate", "device", "wait", "language", "reload", "signIn", "signOut", "expect"];
|
|
164
164
|
/** What an expect step can check - one of them per step. */
|
|
165
|
-
declare const EXPECT_KINDS: readonly ["value", "shows", "keyboard", "list", "message", "visible", "hidden", "locked", "blocked", "inFrame", "page", "records", "recordsAtLeast", "samePlace", "cartCount", "toast", "checked", "unchecked", "cardRows", "formatted", "translated", "fieldVisible", "restored", "layout"];
|
|
165
|
+
declare const EXPECT_KINDS: readonly ["value", "shows", "keyboard", "list", "message", "visible", "hidden", "locked", "blocked", "inFrame", "page", "records", "recordsAtLeast", "listLoaded", "pdf", "samePlace", "cartCount", "toast", "checked", "unchecked", "cardRows", "formatted", "translated", "fieldVisible", "restored", "layout"];
|
|
166
166
|
/** How a value is shown in the language's form (expect formatted). */
|
|
167
167
|
declare const FORMATS: readonly ["date", "time", "datetime", "number", "currency"];
|
|
168
168
|
/** Languages written right to left - not tested until right-to-left is supported (decision 2026-10-30). */
|
|
@@ -194,6 +194,10 @@ interface TestExpect {
|
|
|
194
194
|
/** the records the open list shows now (exactly / at least) */
|
|
195
195
|
records?: number;
|
|
196
196
|
recordsAtLeast?: number;
|
|
197
|
+
/** the open list has finished loading without a failure - it may be empty (live data) */
|
|
198
|
+
listLoaded?: true;
|
|
199
|
+
/** true: the PDF viewer shows a page; false: no viewer open */
|
|
200
|
+
pdf?: boolean;
|
|
197
201
|
/** back with the X the list stands where it was left (records and scroll position before openRecord) */
|
|
198
202
|
samePlace?: true;
|
|
199
203
|
/** items in the cart (the header's count); "+1" = one more than at the flow's last cart check */
|
|
@@ -233,10 +237,14 @@ interface TestStep {
|
|
|
233
237
|
press?: string;
|
|
234
238
|
/** pages to go on in the open list (swipe up / its end into view), 1-20 */
|
|
235
239
|
scroll?: number;
|
|
240
|
+
/** a list with page numbers: the number n is pressed; fewer pages than n is noted, not failed */
|
|
241
|
+
goToPage?: number;
|
|
236
242
|
/** a record of the open list by its position (1 = first) or by its shown name - its link opens its page */
|
|
237
243
|
openRecord?: number | string;
|
|
238
244
|
/** the page X - back to the page before */
|
|
239
245
|
close?: true;
|
|
246
|
+
/** with an empty list the rest of the flow is skipped - noted, not failed */
|
|
247
|
+
ifRecords?: true;
|
|
240
248
|
/** the cart in the header */
|
|
241
249
|
cart?: true;
|
|
242
250
|
rotate?: Orientation;
|
|
@@ -259,6 +267,9 @@ interface TestFlow {
|
|
|
259
267
|
description?: string;
|
|
260
268
|
/** writes real data - runs only after an explicit confirmation */
|
|
261
269
|
books?: boolean;
|
|
270
|
+
/** runs only on the simulators and devices (viewdefinition-e2e), the preview leaves it out - e.g. Stripe's card field,
|
|
271
|
+
* whose frame the app keyboard cannot reach in a browser */
|
|
272
|
+
simulatorOnly?: boolean;
|
|
262
273
|
/** "mobile", "tablet:landscape" … - without orientation portrait; none means mobile and tablet ("phone" is still taken) */
|
|
263
274
|
devices?: string[];
|
|
264
275
|
/** the languages the flow runs in: codes, or "all" (the app's left-to-right languages); none: the main language */
|
|
@@ -289,7 +300,7 @@ interface FlowResult {
|
|
|
289
300
|
/** the language the flow ran in */
|
|
290
301
|
language?: string;
|
|
291
302
|
ok: boolean;
|
|
292
|
-
skipped?: 'books';
|
|
303
|
+
skipped?: 'books' | 'simulator';
|
|
293
304
|
/** stopped by the person ("Stop") after this flow's last step in steps */
|
|
294
305
|
stopped?: boolean;
|
|
295
306
|
steps: StepResult[];
|
|
@@ -507,6 +518,9 @@ declare function vaultJwtLogin(fetchFn: Fetch, addr: string, mount: string, role
|
|
|
507
518
|
declare function readTestUser(fetchFn: Fetch, addr: string, token: string, mount: string, path: string): Promise<TestUser>;
|
|
508
519
|
|
|
509
520
|
/** The building blocks of the app settings in Main, in the order they are shown. */
|
|
521
|
+
/** How the setting entries stand in the side menu: a folder at the end, or a foot of the menu. */
|
|
522
|
+
declare const MENU_STYLES: readonly ["folder", "footer"];
|
|
523
|
+
type MenuStyle = typeof MENU_STYLES[number];
|
|
510
524
|
declare const APP_SETTING_BLOCKS: readonly ["startPage", "login", "pagination", "terms", "menu"];
|
|
511
525
|
/** The entries the library may add to the side menu, in their default order (appSettings.menu.entries). */
|
|
512
526
|
declare const MENU_ENTRY_KINDS: readonly ["home", "languages", "login", "paginationType", "terms", "projectVersion"];
|
|
@@ -602,6 +616,7 @@ interface AppSettings {
|
|
|
602
616
|
/** The setting entries: the folder's caption and every kind in the Designer's order, each on or off. */
|
|
603
617
|
menu: {
|
|
604
618
|
caption: string;
|
|
619
|
+
style: MenuStyle;
|
|
605
620
|
entries: {
|
|
606
621
|
kind: MenuEntryKind;
|
|
607
622
|
on: boolean;
|
|
@@ -679,6 +694,24 @@ declare function appSettingsMenu(menu: any[], center: Bag$1 | any, context?: {
|
|
|
679
694
|
languages?: string[];
|
|
680
695
|
signedIn?: boolean;
|
|
681
696
|
}): any[];
|
|
697
|
+
/** The foot of the side menu (menu.style footer): the languages, the documents of the terms and whether the version shows. */
|
|
698
|
+
interface AppSettingsFooter {
|
|
699
|
+
languages: {
|
|
700
|
+
code: string;
|
|
701
|
+
name: string;
|
|
702
|
+
option: Bag$1;
|
|
703
|
+
}[];
|
|
704
|
+
documents: {
|
|
705
|
+
name: TermsDocument;
|
|
706
|
+
caption: string;
|
|
707
|
+
option: Bag$1;
|
|
708
|
+
}[];
|
|
709
|
+
version: boolean;
|
|
710
|
+
}
|
|
711
|
+
/** The foot of the side menu for menu.style footer; null for the folder or without app settings. */
|
|
712
|
+
declare function appSettingsFooter(center: Bag$1 | any, context?: {
|
|
713
|
+
languages?: string[];
|
|
714
|
+
}): AppSettingsFooter | null;
|
|
682
715
|
/** An entry's caption as written in Main: label.caption, a plain label, or caption. */
|
|
683
716
|
declare function menuCaption(item: any): string;
|
|
684
717
|
/** The page an entry opens as tests name it ("pages/sidemenu/books/layout_schema.json" -> "sidemenu/books"); '' without. */
|
|
@@ -777,6 +810,17 @@ interface ActionRule {
|
|
|
777
810
|
}
|
|
778
811
|
/** Actions that stay in the app. */
|
|
779
812
|
declare const INNER_ACTIONS: Readonly<Record<string, ActionRule>>;
|
|
813
|
+
/** The kinds of the action contact (2026-11-07, point 213 worklist 16). */
|
|
814
|
+
declare const CONTACT_KINDS: readonly ["phone", "whatsapp", "email", "sms", "route", "web"];
|
|
815
|
+
type ContactKind = typeof CONTACT_KINDS[number];
|
|
816
|
+
/** The icon a contact button shows when it names none itself (ant-design names; the app registers them). */
|
|
817
|
+
declare const CONTACT_ICONS: Readonly<Record<ContactKind, string>>;
|
|
818
|
+
/**
|
|
819
|
+
* The link the action contact opens, or '' when the value does not fit the kind:
|
|
820
|
+
* phone tel:, whatsapp https://wa.me/<digits> (country code needed), email mailto:, sms sms:, route the directions in the maps app (from where the user is),
|
|
821
|
+
* web an http(s) address. A message (contactText) goes with WhatsApp, e-mail (subject) and SMS.
|
|
822
|
+
*/
|
|
823
|
+
declare function contactLink(kind: unknown, value: unknown, text?: unknown): string;
|
|
780
824
|
/** Actions that call the backend - each with its kind of call (CALL_KINDS). */
|
|
781
825
|
declare const BACKEND_ACTIONS: Readonly<Record<string, ActionRule & {
|
|
782
826
|
kind: CallKind;
|
|
@@ -950,5 +994,114 @@ declare function normalizeStyleSpelling<T>(doc: T): {
|
|
|
950
994
|
findings: StyleSpellingFinding[];
|
|
951
995
|
};
|
|
952
996
|
|
|
953
|
-
|
|
954
|
-
|
|
997
|
+
type DesignValueGroup = 'colors' | 'status' | 'header' | 'menu' | 'buttons' | 'fonts' | 'shape' | 'spacing' | 'depth';
|
|
998
|
+
type DesignValueKind = 'color' | 'font' | 'size' | 'shadow';
|
|
999
|
+
interface DesignValue {
|
|
1000
|
+
/** The name in a theme file, e.g. color.primary. */
|
|
1001
|
+
key: string;
|
|
1002
|
+
/** The CSS variable the styles read. */
|
|
1003
|
+
cssVar: string;
|
|
1004
|
+
group: DesignValueGroup;
|
|
1005
|
+
kind: DesignValueKind;
|
|
1006
|
+
level: 'basic' | 'advanced';
|
|
1007
|
+
/** An advanced value not set by the theme takes the value of this key. */
|
|
1008
|
+
from?: string;
|
|
1009
|
+
}
|
|
1010
|
+
declare const DESIGN_VALUES: DesignValue[];
|
|
1011
|
+
/** The value of a key, or undefined. */
|
|
1012
|
+
declare function designValue(key: string): DesignValue | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* The CSS variables of a theme's values: what the theme leaves out follows its "from" chain; a value nothing leads to
|
|
1015
|
+
* stays out, so the style's own fallback - today's look - applies.
|
|
1016
|
+
*/
|
|
1017
|
+
declare function designVariables(values: Record<string, string>): Record<string, string>;
|
|
1018
|
+
interface AppTheme {
|
|
1019
|
+
id: string;
|
|
1020
|
+
name: {
|
|
1021
|
+
en: string;
|
|
1022
|
+
de: string;
|
|
1023
|
+
fr: string;
|
|
1024
|
+
};
|
|
1025
|
+
style: 'clean' | 'elegant' | 'natural' | 'dark';
|
|
1026
|
+
background: 'light' | 'dark';
|
|
1027
|
+
values: Record<string, string>;
|
|
1028
|
+
}
|
|
1029
|
+
/** Where Main names the app's theme. */
|
|
1030
|
+
declare const THEME_PATH = "center.theme";
|
|
1031
|
+
declare const STANDARD_THEMES: AppTheme[];
|
|
1032
|
+
/** The theme of an id, or undefined (no theme: the app keeps its own look). */
|
|
1033
|
+
declare function appTheme(id: unknown): AppTheme | undefined;
|
|
1034
|
+
/** A font an app brings along (packages in the app, latin with umlauts): its name, its CSS value, what it suits. */
|
|
1035
|
+
interface ThemeFont {
|
|
1036
|
+
name: string;
|
|
1037
|
+
css: string;
|
|
1038
|
+
use: Array<'heading' | 'text'>;
|
|
1039
|
+
}
|
|
1040
|
+
/** The fonts of the platform - a theme or an app's own look takes font.family / font.heading-family from these. */
|
|
1041
|
+
declare const THEME_FONTS: ThemeFont[];
|
|
1042
|
+
/** Whether a font value names a font the app has first (or only a generic family such as sans-serif). */
|
|
1043
|
+
declare function themeFontKnown(raw: unknown): boolean;
|
|
1044
|
+
/**
|
|
1045
|
+
* Whether a design value may go on the page: a colour (#rgb, #rrggbb, #rrggbbaa, rgb()/rgba()/hsl()), a size
|
|
1046
|
+
* (px, rem, em, % or 0), a font list (letters, digits, spaces, commas, quotes, hyphens) or a shadow made of
|
|
1047
|
+
* those - never anything that ends a CSS declaration (; { } < >) or loads something (url, expression, @).
|
|
1048
|
+
*/
|
|
1049
|
+
declare function isSafeDesignValue(key: string, raw: unknown): boolean;
|
|
1050
|
+
/** The app's own design values (Main center.themeValues) that pass isSafeDesignValue - the others are left out. */
|
|
1051
|
+
declare function safeDesignValues(own: unknown): Record<string, string>;
|
|
1052
|
+
/**
|
|
1053
|
+
* The CSS variables of a theme and the app's own values over it (point 213 worklist 13: the AI or the customer gives
|
|
1054
|
+
* an app its own look as design values, never as CSS); {} when neither gives anything.
|
|
1055
|
+
*/
|
|
1056
|
+
declare function themeVariables(id: unknown, own?: unknown): Record<string, string>;
|
|
1057
|
+
|
|
1058
|
+
declare const WEEK_DAYS: readonly ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
1059
|
+
type WeekDay = typeof WEEK_DAYS[number];
|
|
1060
|
+
/** One time a day: from and to as "HH:MM" (24 h); to "24:00" or before from = until the next morning. */
|
|
1061
|
+
interface OpeningTime {
|
|
1062
|
+
day: WeekDay;
|
|
1063
|
+
from: string;
|
|
1064
|
+
to: string;
|
|
1065
|
+
}
|
|
1066
|
+
interface OpeningStatus {
|
|
1067
|
+
open: boolean;
|
|
1068
|
+
/** open: the day and time it closes; closed: the day and time it opens next (null: never - no times at all) */
|
|
1069
|
+
next: {
|
|
1070
|
+
day: WeekDay;
|
|
1071
|
+
time: string;
|
|
1072
|
+
today: boolean;
|
|
1073
|
+
tomorrow: boolean;
|
|
1074
|
+
} | null;
|
|
1075
|
+
/** the business's day of the week now */
|
|
1076
|
+
today: WeekDay;
|
|
1077
|
+
}
|
|
1078
|
+
/** What is wrong with opening times: unknown day, a time not "HH:MM", from equal to. Empty: fine. */
|
|
1079
|
+
declare function openingProblems(times: unknown, timeZone?: unknown): {
|
|
1080
|
+
index: number;
|
|
1081
|
+
code: string;
|
|
1082
|
+
}[];
|
|
1083
|
+
/** Whether the device knows the time zone (IANA name such as Europe/Berlin). */
|
|
1084
|
+
declare function validTimeZone(zone: unknown): boolean;
|
|
1085
|
+
/** The day of the week and the minute of the day in a time zone. */
|
|
1086
|
+
declare function zonedNow(now: Date, timeZone: string): {
|
|
1087
|
+
day: WeekDay;
|
|
1088
|
+
minute: number;
|
|
1089
|
+
};
|
|
1090
|
+
/** Open now? And when does it close, or open next - in the business's time zone. */
|
|
1091
|
+
declare function openingStatus(times: OpeningTime[], timeZone?: string, now?: Date): OpeningStatus;
|
|
1092
|
+
|
|
1093
|
+
/** Whether lat and lon are a place on earth (numbers, lat -90..90, lon -180..180, not both 0). */
|
|
1094
|
+
declare function validPlace(lat: unknown, lon: unknown): boolean;
|
|
1095
|
+
/** The OpenStreetMap embed address with a pin at lat/lon; zoom 1..19 (16: a few streets around). '' for no place. */
|
|
1096
|
+
declare function mapEmbedUrl(lat: number, lon: number, zoom?: number): string;
|
|
1097
|
+
|
|
1098
|
+
declare const PRICE_CURRENCIES: readonly ["EUR", "CHF", "USD", "GBP"];
|
|
1099
|
+
/** Whether the amount is a price: a number from 0 up. */
|
|
1100
|
+
declare function validAmount(amount: unknown): boolean;
|
|
1101
|
+
/** Whether the code is a currency the device can write (three letters, known to Intl). */
|
|
1102
|
+
declare function validCurrency(code: unknown): boolean;
|
|
1103
|
+
/** The price in a language: "32 €" (de), "€32" (en), with the word for "from" before it; '' for no amount. */
|
|
1104
|
+
declare function formatPrice(amount: unknown, currency: unknown, lang: string, fromWord?: string): string;
|
|
1105
|
+
|
|
1106
|
+
export { APP_DATA_KEEP, APP_KEYBOARD_DEVICES, APP_SETTINGS, APP_SETTINGS_PATH, APP_SETTING_BLOCKS, BACKEND_ACTIONS, BASIC_TYPES, BROWSER_STORAGES, CALCULATE_OPERATORS, CALL_KEYS, CALL_KINDS, CARD_LAYOUTS, CONTACT_ICONS, CONTACT_KINDS, CONTROLS, CONTROL_TYPES, DATA_FORMATS, DATA_OBJECT_KEYS, DATA_OBJECT_NAME_PLACES, DATA_OBJECT_PLACES, DEFAULT_DEVICES, DEFAULT_TEMPO_SECONDS, DESIGN_VALUES, DISPLAY_FORMATS, DOCUMENT_KINDS, ENTER_KEYS, EXPECT_KINDS, FORMATS, FRAME_PARTS, FRAME_SELECTORS, HEADER_SCROLLS, INNER_ACTIONS, KEYBOARD_CONTROLS, KEYBOARD_TYPES, LIST_STATES, LOGIN_FLAGS, LOGIN_METHODS, LOGIN_STORAGES, LOGIN_WHEN, MENU_DECIDED_BY, MENU_ENTRY_KINDS, MENU_STYLES, MENU_SWITCHABLE, NO_CALL_ACTIONS, NUMBER_STYLES, OLD_CALL_KEYS, OLD_DEVICE_NAMES, OLD_STORAGES, ORIENTATIONS, PAGINATION_ALIGNS, PAGINATION_PLACEMENTS, PAGINATION_TYPES, PLACEHOLDER_CONTROLS, PLACEHOLDER_SOURCE, PRICE_CURRENCIES, RESULTS_DIR, RESULTS_KEEP, RTL_LANGUAGES, SETTING_MENU_TEXTS, SHOWN_TEXT_KEYS, STANDARD_THEMES, START_PAGE_KEYS, START_PAGE_PATH, STEP_KINDS, STORAGES, STRIPE_TEST_CARDS, SYSTEM_KEYBOARDS, TEMPORAL_TRANSFER, TERMS_DOCUMENTS, TESTS_DIR, TEST_DATA_FILE, TEST_DEVICES, TEST_TEMPOS, THEME_FONTS, THEME_PATH, TYPE_ALIASES, WEEK_DAYS, actionName, actionParams, alignRowsOf, appSettingsFooter, appSettingsMenu, appTheme, assertFieldSettings, base32Bytes, baseType, basicType, callAttributes, callKindOf, camelStyleKey, canonicalControl, cardLayoutOf, checkAppSettings, checkCall, checkElementAction, checkPagePagination, checkTestFlow, clone, contactLink, controlChoicesFor, controlsFor, convertOlderForms, cssStyle, cssStyleKey, dataSettings, dateOrder, defaultKeyboard, designValue, designVariables, deviceChoices, displaySettings, effectiveControl, effectiveFormat, elementAction, enterKeyFor, flowDevices, flowLanguages, formatPrice, hasAppKeyboard, headerScrollOf, isKeyboardCheck, isSafeDesignValue, isStyleHolder, keyboardFor, languageName, layoutNotes, layoutProblems, localeKeys, localeRenderings, loginMethod, mapEmbedUrl, matchesTemplate, maxLinesOf, menuCaption, menuEntries, menuEntryByCaption, menuEntryForPage, menuPage, methodOf, normalizeFormat, normalizeStyleSpelling, openingProblems, openingStatus, pageOf, paginationFor, parseDevice, probeClearAppData, probeField, probeFieldVisible, probeInFrame, probeLayoutSnapshot, probePagePlace, probeRestoreStorage, probeStorageSnapshot, probeUntranslated, readAppSettings, readTestUser, renameDataObject, resolveProperty, resultsToDelete, rolesOf, rulesFor, safeDesignValues, startPage, startPageFor, stepKind, storageOf, stripeTestPaymentMethod, styleSpellingFindings, styleValue, successMessageOf, tempoPause, temporalPart, testDataRefs, testUserEntry, themeFontKnown, themeVariables, totp, translateCaptions, uses12Hours, validAmount, validCurrency, validPlace, validTimeZone, validateSettings, validationSettings, vaultJwtLogin, vaultPlace, waitsForFilter, withElementAction, withPageSource, withTestData, zonedNow };
|
|
1107
|
+
export type { ActionPlace, ActionRule, AppSettingBlock, AppSettingDef, AppSettings, AppSettingsFooter, AppSettingsProblem, AppTheme, Bag$1 as Bag, CallKind, CallKindRule, CallProblem, CardLayout, ContactKind, ConversionChange, DesignValue, DesignValueGroup, DesignValueKind, DocumentKind, ElementAction, EnterKey, FlowResult, HeaderScroll, LayoutBox, LayoutScroller, LayoutSnapshot, LoginStorage, LoginWhen, MenuEntryKind, MenuStyle, OpeningStatus, OpeningTime, Orientation, Pagination, PaginationAlign, PaginationPlacement, PaginationType, Setting, StepResult, Storage, StyleSpellingFinding, TemporalPart, TermsDocument, TestDevice, TestExpect, TestFlow, TestProblem, TestRun, TestStep, TestTempo, TestUser, TestUserEntry, ThemeFont, WeekDay };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, ElementRef, ChangeDetectorRef, NgZone, SimpleChanges, OnInit, OnChanges, DoCheck, AfterViewInit, OnDestroy, Injector, PipeTransform } from '@angular/core';
|
|
2
|
+
import { EventEmitter, ElementRef, ChangeDetectorRef, NgZone, SimpleChanges, OnInit, OnChanges, DoCheck, AfterViewInit, OnDestroy, Injector, PipeTransform, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CdkDragMove, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
@@ -13,7 +13,7 @@ import { OktaAuthStateService } from '@okta/okta-angular';
|
|
|
13
13
|
import * as _yomotech_view_toolkit from '@yomotech/view-toolkit';
|
|
14
14
|
import { DynamicDialogRef, DynamicDialogConfig, DialogService } from 'primeng/dynamicdialog';
|
|
15
15
|
import { NzI18nService } from 'ng-zorro-antd/i18n';
|
|
16
|
-
import { CardLayout } from '@yomotech/view-toolkit/catalog';
|
|
16
|
+
import { AppSettingsFooter, CardLayout } from '@yomotech/view-toolkit/catalog';
|
|
17
17
|
import * as catalog from '@yomotech/view-toolkit/catalog';
|
|
18
18
|
export { catalog as FieldCatalog };
|
|
19
19
|
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
@@ -271,8 +271,8 @@ declare function gridColumnCount(template: unknown): number;
|
|
|
271
271
|
declare const MAX_ROW_COLUMNS = 4;
|
|
272
272
|
/**
|
|
273
273
|
* The card layout as the Designer keeps it, changed in place: no empty classes on the card styles, the card's
|
|
274
|
-
* columns are drawn by the container (no gridTemplateColumns in its style), no classes on the elements
|
|
275
|
-
*
|
|
274
|
+
* columns are drawn by the container (no gridTemplateColumns in its style), no empty classes on the elements -
|
|
275
|
+
* filled classes stay, they carry the app's look (style.css, theme) - horizontal layouts in shape.
|
|
276
276
|
*/
|
|
277
277
|
declare function normalizeCard(layout: any): any;
|
|
278
278
|
/** A button as the Designer adds it to a card. */
|
|
@@ -581,12 +581,6 @@ declare class UtilityService {
|
|
|
581
581
|
restoreDatesFromStorage(records: any[], propertySchema: any): any[];
|
|
582
582
|
/** A stored date text as the wall time it names (date-format.ts). */
|
|
583
583
|
parseLocalISODate(value: string): Date;
|
|
584
|
-
convertToDailyLogs(cardOrCards: any | any[]): any[];
|
|
585
|
-
private applyTimeToDay;
|
|
586
|
-
private startOfDay;
|
|
587
|
-
private endOfDay;
|
|
588
|
-
private isSameDay;
|
|
589
|
-
private toLocalISO;
|
|
590
584
|
getMediaSrc(file: any): string;
|
|
591
585
|
private updateProjectlanguage;
|
|
592
586
|
currentProjectlanguage$: rxjs.Observable<any>;
|
|
@@ -595,6 +589,15 @@ declare class UtilityService {
|
|
|
595
589
|
static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
|
|
596
590
|
}
|
|
597
591
|
|
|
592
|
+
/** Where the app reads its files instead of CouchDB: the Designer's preview shows the draft (point 193). */
|
|
593
|
+
interface DraftSource {
|
|
594
|
+
/** The database of the project; every other one stays CouchDB. */
|
|
595
|
+
db: string;
|
|
596
|
+
/** The file as a CouchDB document ({ type, name, path, data, ... }), null when it is not there. */
|
|
597
|
+
read(path: string): Promise<any | null>;
|
|
598
|
+
list(prefix: string): Promise<string[]>;
|
|
599
|
+
}
|
|
600
|
+
declare function useDraftSource(source: DraftSource | null): void;
|
|
598
601
|
declare class Couchdb {
|
|
599
602
|
private utilityService;
|
|
600
603
|
private platform;
|
|
@@ -625,6 +628,9 @@ declare class Couchdb {
|
|
|
625
628
|
getTextFile(dbName: string, docId: string): Promise<string | null>;
|
|
626
629
|
/** Ids of the files under a folder of the project, e.g. listFiles(db, 'ssl/mobile/'). Empty on any error. */
|
|
627
630
|
listFiles(dbName: string, prefix: string): Promise<string[]>;
|
|
631
|
+
private isDraft;
|
|
632
|
+
/** A document as CouchDB answers it - in the draft from the project, except what only an export writes. */
|
|
633
|
+
private fetchDocument;
|
|
628
634
|
private getDocumentUrl;
|
|
629
635
|
private getDbUrl;
|
|
630
636
|
private isAttachmentMedia;
|
|
@@ -1042,6 +1048,8 @@ declare class PageData {
|
|
|
1042
1048
|
pageCount: number;
|
|
1043
1049
|
totalItems: number;
|
|
1044
1050
|
loading: boolean;
|
|
1051
|
+
/** the last load of the backend failed (a test tells an empty list from a broken one) */
|
|
1052
|
+
loadFailed: boolean;
|
|
1045
1053
|
filter: Record<string, any>;
|
|
1046
1054
|
/** The last backend answer as it came (its paging fields). */
|
|
1047
1055
|
lastAnswer: any;
|
|
@@ -1311,8 +1319,8 @@ declare function newButton(kind: SectionKind, caption?: string): any;
|
|
|
1311
1319
|
declare function fieldFromProperty(drop: DesignPropertyDrop, kind: SectionKind): any;
|
|
1312
1320
|
/**
|
|
1313
1321
|
* The layout as the Designer keeps it, changed in place: every section has its fields list; in a form the
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1322
|
+
* section's grid is drawn by the container (no display or columns in its style) and every field belongs to a
|
|
1323
|
+
* row. Classes stay - they carry the app's look (style.css, theme).
|
|
1316
1324
|
*/
|
|
1317
1325
|
declare function normalizeSections(layout: any, kind: SectionKind): any;
|
|
1318
1326
|
/** A data object's field dropped at the spot. */
|
|
@@ -1433,6 +1441,10 @@ declare class FormComponent implements OnInit, OnChanges, DoCheck, AfterViewInit
|
|
|
1433
1441
|
/** Marks for the app's test runner (#166): field key and button action. */
|
|
1434
1442
|
readonly vlFieldKey: typeof testFieldKey;
|
|
1435
1443
|
readonly vlFieldPath: typeof testFieldPath;
|
|
1444
|
+
/** A suggestion was chosen: option.onSelect.mapFields fills the other fields of the page (applyMapping, worklist 47). */
|
|
1445
|
+
suggestionPicked(entry: any, formField: any): void;
|
|
1446
|
+
/** The field's place in the page file - only in the Designer's preview (designer links, worklist 25). */
|
|
1447
|
+
vlPlace(section: any, field: any): string | null;
|
|
1436
1448
|
private readonly remoteLists;
|
|
1437
1449
|
/** Loaded lists by field reference. */
|
|
1438
1450
|
remoteData: Record<string, any[]>;
|
|
@@ -1504,6 +1516,8 @@ declare class FormComponent implements OnInit, OnChanges, DoCheck, AfterViewInit
|
|
|
1504
1516
|
/** The width of the sticky column: the widest of its sections (gridSpan), 4 when none says. */
|
|
1505
1517
|
stickySpan(): number;
|
|
1506
1518
|
/** A section that stays in view while the page scrolls (layout sticky). */
|
|
1519
|
+
/** card false: the section without its card (frame, background, padding). */
|
|
1520
|
+
sectionPlainOf(formSection: any): boolean;
|
|
1507
1521
|
sectionStickyOf(formSection: any): boolean;
|
|
1508
1522
|
/** A section's place in the layout (the canvas shows the sticky ones after the others). */
|
|
1509
1523
|
sectionIndexOf(formSection: any): number;
|
|
@@ -1627,6 +1641,8 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
|
|
|
1627
1641
|
readonly vlFieldPath: typeof testFieldPath;
|
|
1628
1642
|
readonly vlAction: typeof testAction;
|
|
1629
1643
|
readonly vlWrites: typeof testWrites;
|
|
1644
|
+
/** A row's save icon writes real data unless it keeps the row in a browser list. */
|
|
1645
|
+
rowWrites(option: any): 'true' | 'false';
|
|
1630
1646
|
get designTranslations(): Readonly<Record<string, string>> | undefined;
|
|
1631
1647
|
design: VlDesign | null;
|
|
1632
1648
|
/** What was chosen or changed on the Designer's canvas. */
|
|
@@ -1808,12 +1824,21 @@ declare class GridComponent implements AfterViewInit, OnDestroy {
|
|
|
1808
1824
|
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; }; "scrollPagination": { "alias": "scrollPagination"; "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>;
|
|
1809
1825
|
}
|
|
1810
1826
|
|
|
1827
|
+
declare function useDesignerLinks(on: boolean): void;
|
|
1828
|
+
declare function designerLinksOn(): boolean;
|
|
1829
|
+
/** "<section>.<field>" of a field in its page file, or null when the links are off. */
|
|
1830
|
+
declare function designerPlace(sections: any[] | undefined, section: any, field: any): string | null;
|
|
1831
|
+
|
|
1832
|
+
/** Whether a header button leads somewhere: a page, form, table, an action or the sign-in. */
|
|
1833
|
+
declare function hasHeaderTarget(option: any): boolean;
|
|
1811
1834
|
declare class HeaderMenuComponent implements AfterViewInit {
|
|
1812
1835
|
private oktaAuthService;
|
|
1813
1836
|
private requestService;
|
|
1814
1837
|
private utilityService;
|
|
1815
1838
|
private couchdbService;
|
|
1816
1839
|
private platform;
|
|
1840
|
+
/** In the Designer's preview each element carries its place (data-vl-header) - a right click opens it there (worklist 25). */
|
|
1841
|
+
readonly linksOn: typeof designerLinksOn;
|
|
1817
1842
|
/** Marks for the app's test runner (#166): field key and button action. */
|
|
1818
1843
|
readonly vlFieldKey: typeof testFieldKey;
|
|
1819
1844
|
readonly vlFieldPath: typeof testFieldPath;
|
|
@@ -1909,6 +1934,9 @@ declare class ModelComponent implements OnChanges, OnDestroy {
|
|
|
1909
1934
|
private readonly dialogRef;
|
|
1910
1935
|
private readonly dialogConfig;
|
|
1911
1936
|
private utilityService;
|
|
1937
|
+
/** In the Designer's preview: the dialog's file and each field's place in it (designer links, worklist 25). */
|
|
1938
|
+
readonly linksOn: typeof designerLinksOn;
|
|
1939
|
+
vlPlace(section: any, field: any): string | null;
|
|
1912
1940
|
private readonly pdfViewer;
|
|
1913
1941
|
/** Marks for the app's test runner (#166): field key and button action. */
|
|
1914
1942
|
readonly vlFieldKey: typeof testFieldKey;
|
|
@@ -1962,8 +1990,8 @@ declare class ModelComponent implements OnChanges, OnDestroy {
|
|
|
1962
1990
|
*/
|
|
1963
1991
|
autocompleteEmptyText(formField: any): string;
|
|
1964
1992
|
autocompChangeEvent(event: any, formField: any): void;
|
|
1965
|
-
|
|
1966
|
-
autocompSelectEvent(
|
|
1993
|
+
/** A suggestion was chosen: option.onSelect.mapFields fills the other fields from it (applyMapping, worklist 47). */
|
|
1994
|
+
autocompSelectEvent(entry: any, formField?: any): void;
|
|
1967
1995
|
setErroMessage(formField: any, errorMessages: any, errorType: any): string;
|
|
1968
1996
|
/** A style object of the layout: its classes (all of them) and its CSS. */
|
|
1969
1997
|
styleOf(styleObject: any): {
|
|
@@ -2357,6 +2385,10 @@ declare class SideMenuComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
2357
2385
|
* well, a written text is shown as a message.
|
|
2358
2386
|
*/
|
|
2359
2387
|
private openTermsDocument;
|
|
2388
|
+
/** The foot of the menu with menu.style footer (languages, documents, version); null with the folder. */
|
|
2389
|
+
settingsFooter: AppSettingsFooter | null;
|
|
2390
|
+
/** A tap at the foot of the menu: the same as the folder's entry (language, document, version). */
|
|
2391
|
+
footerTap(option: any, caption: string): Promise<void>;
|
|
2360
2392
|
/** The text document of Terms & Conditions open now (vl-terms-dialog), null when none. */
|
|
2361
2393
|
termsDocument: TermsDialogDocument[] | null;
|
|
2362
2394
|
/** Loads a language of the project; false when the project has no such language file. */
|
|
@@ -2773,14 +2805,20 @@ declare class PdfViewerService {
|
|
|
2773
2805
|
static ɵprov: i0.ɵɵInjectableDeclaration<PdfViewerService>;
|
|
2774
2806
|
}
|
|
2775
2807
|
|
|
2808
|
+
/**
|
|
2809
|
+
* How a host resolves a media source itself (2026-11-07): the Designer's canvas reads Media through its backend, the
|
|
2810
|
+
* app keeps CouchDB. Given, it is asked first; '' means "not mine", then CouchDB is asked.
|
|
2811
|
+
*/
|
|
2812
|
+
declare const VL_MEDIA_RESOLVER: InjectionToken<(source: string) => Promise<string>>;
|
|
2776
2813
|
/** [src]="source | vlMedia | async" - the same Promise for the same source, so no request loop. */
|
|
2777
2814
|
declare class MediaSourcePipe implements PipeTransform {
|
|
2778
2815
|
private couchdb;
|
|
2816
|
+
private resolver;
|
|
2779
2817
|
/** Kept one hour: a signed link lasts eight, a page lives shorter. */
|
|
2780
2818
|
private static readonly known;
|
|
2781
|
-
constructor(couchdb: Couchdb);
|
|
2819
|
+
constructor(couchdb: Couchdb, resolver: ((source: string) => Promise<string>) | null);
|
|
2782
2820
|
transform(source: string | null | undefined): Promise<string>;
|
|
2783
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaSourcePipe,
|
|
2821
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MediaSourcePipe, [null, { optional: true; }]>;
|
|
2784
2822
|
static ɵpipe: i0.ɵɵPipeDeclaration<MediaSourcePipe, "vlMedia", true>;
|
|
2785
2823
|
}
|
|
2786
2824
|
|
|
@@ -3070,10 +3108,7 @@ declare class BackendCallService {
|
|
|
3070
3108
|
private readonly addons;
|
|
3071
3109
|
/** The signed-in user (claims + token): from the app, else the stored sign-in. */
|
|
3072
3110
|
currentUser(): Promise<any>;
|
|
3073
|
-
/**
|
|
3074
|
-
* The records after the option's conversion: "addon:<name>" runs the project's add-on (addon.json transforms,
|
|
3075
|
-
* OFFENE-PUNKTE 92), another name a conversion of the library; unknown names change nothing.
|
|
3076
|
-
*/
|
|
3111
|
+
/** The records after the option's conversion: "addon:<name>" runs the project's add-on (addon.json transforms). */
|
|
3077
3112
|
transform(option: any, records: any[]): Promise<any[]>;
|
|
3078
3113
|
/** Sends the records to the option's backend; true on success. */
|
|
3079
3114
|
saveData(option: any, records: any[], extra?: CallContext): Promise<any>;
|
|
@@ -3423,8 +3458,45 @@ declare class MediaControl {
|
|
|
3423
3458
|
static ɵcmp: i0.ɵɵComponentDeclaration<MediaControl, "vl-media", never, { "field": { "alias": "field"; "required": false; }; "value": { "alias": "value"; "required": false; }; "property": { "alias": "property"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "mediaStyle": { "alias": "mediaStyle"; "required": false; }; "mediaClass": { "alias": "mediaClass"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
3424
3459
|
}
|
|
3425
3460
|
|
|
3461
|
+
declare class SlideshowComponent implements OnChanges, OnDestroy {
|
|
3462
|
+
/** Media paths or addresses of the pictures. */
|
|
3463
|
+
images: string[];
|
|
3464
|
+
/** Milliseconds between two pictures; 0 = no change by itself. */
|
|
3465
|
+
interval: number;
|
|
3466
|
+
/** The frame's proportion, e.g. "16 / 9" or "1 / 1". */
|
|
3467
|
+
aspect: string;
|
|
3468
|
+
label: string;
|
|
3469
|
+
/** How many drawn placeholders without any picture. */
|
|
3470
|
+
placeholders: number;
|
|
3471
|
+
/** The slides: the pictures, or '' for each placeholder when there are none. */
|
|
3472
|
+
slides: string[];
|
|
3473
|
+
/** Pictures that did not load - shown as placeholders. */
|
|
3474
|
+
broken: Record<number, boolean>;
|
|
3475
|
+
index: number;
|
|
3476
|
+
large: boolean;
|
|
3477
|
+
hold: boolean;
|
|
3478
|
+
private timer;
|
|
3479
|
+
private startX;
|
|
3480
|
+
private readonly cdr;
|
|
3481
|
+
ngOnChanges(): void;
|
|
3482
|
+
ngOnDestroy(): void;
|
|
3483
|
+
/** A picture that does not load becomes a placeholder. */
|
|
3484
|
+
fail(i: number): void;
|
|
3485
|
+
show(i: number): void;
|
|
3486
|
+
go(step: number): void;
|
|
3487
|
+
open(): void;
|
|
3488
|
+
close(): void;
|
|
3489
|
+
down(event: PointerEvent): void;
|
|
3490
|
+
/** A swipe of more than 40 px goes to the next or the previous picture. */
|
|
3491
|
+
up(event: PointerEvent): void;
|
|
3492
|
+
private restart;
|
|
3493
|
+
private stop;
|
|
3494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideshowComponent, never>;
|
|
3495
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlideshowComponent, "vl-slideshow", never, { "images": { "alias": "images"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "aspect": { "alias": "aspect"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholders": { "alias": "placeholders"; "required": false; }; }, {}, never, never, true, never>;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3426
3498
|
/** The building blocks <vl-control> draws a field with. */
|
|
3427
|
-
type ControlKind = 'button' | 'media' | 'creditCard' | 'text' | 'password' | 'textarea' | 'autocomplete' | 'combobox' | 'dropdown' | 'radio' | 'checkbox' | 'switch' | 'number' | 'date' | 'time' | 'datetime' | 'daterange';
|
|
3499
|
+
type ControlKind = 'button' | 'media' | 'creditCard' | 'textBlock' | 'slideshow' | 'openingHours' | 'map' | 'price' | 'text' | 'password' | 'textarea' | 'autocomplete' | 'combobox' | 'dropdown' | 'radio' | 'checkbox' | 'switch' | 'number' | 'date' | 'time' | 'datetime' | 'daterange';
|
|
3428
3500
|
/** The property a field is bound to (scope.reference) in the page's property schema, or undefined. */
|
|
3429
3501
|
declare function controlProperty(field: any, propertySchema: any): any;
|
|
3430
3502
|
/**
|
|
@@ -3585,6 +3657,12 @@ declare class ControlComponent implements OnChanges {
|
|
|
3585
3657
|
classes: string;
|
|
3586
3658
|
style: Record<string, any>;
|
|
3587
3659
|
};
|
|
3660
|
+
/** The slideshow's pictures: option.images (Media paths or addresses), else a list as the value (worklist 213 15c). */
|
|
3661
|
+
slideshowImages(): string[];
|
|
3662
|
+
/** the kind of a contact button (phone, whatsapp …) - '' for every other button (point 213 worklist 16) */
|
|
3663
|
+
get contactKind(): string;
|
|
3664
|
+
/** a button's icon: its own (option.icon), else for a contact button the one of its kind */
|
|
3665
|
+
get buttonIcon(): string;
|
|
3588
3666
|
/** a button has no input; the field's style is the button's */
|
|
3589
3667
|
buttonStyle(): {
|
|
3590
3668
|
classes: string;
|
|
@@ -3608,10 +3686,27 @@ declare function applyLayoutDefaults(schemas: Record<string, any>, layout: any,
|
|
|
3608
3686
|
*/
|
|
3609
3687
|
declare function fillFromUser(schemas: Record<string, any>, userInfo: any): void;
|
|
3610
3688
|
|
|
3689
|
+
/** A value of the source by its key, also a dotted path (address.city). */
|
|
3690
|
+
declare function valueAt(source: any, key: string): any;
|
|
3691
|
+
/**
|
|
3692
|
+
* The values of a mapping for a source: { target: value } - only targets whose value the source has.
|
|
3693
|
+
* A template ("{{no}} - {{text}}") counts when at least one of its keys is there; a missing one becomes empty.
|
|
3694
|
+
*/
|
|
3695
|
+
declare function mappedValues(mapping: Record<string, unknown> | null | undefined, source: any): Record<string, any>;
|
|
3696
|
+
/** Applies a mapping: set(target, value) for every target the source has a value for; the count of fields set. */
|
|
3697
|
+
declare function applyMapping(mapping: Record<string, unknown> | null | undefined, source: any, set: (target: string, value: any) => void): number;
|
|
3698
|
+
|
|
3699
|
+
/** The user record of a sign-in answer by environment.login.user; null without a mapping or without a sign-in. */
|
|
3700
|
+
declare function userRecord(userInfo: any, login: any): Record<string, any> | null;
|
|
3701
|
+
/** The sign-in answer with its user record as .user (a new object); unchanged without a mapping. */
|
|
3702
|
+
declare function withUserRecord(userInfo: any, login: any): any;
|
|
3703
|
+
|
|
3611
3704
|
/** How many of the form's 12 columns a section takes: gridSpan 1..12, else the whole width. */
|
|
3612
3705
|
declare function sectionSpan(section: any): number;
|
|
3613
3706
|
/** A section's width on a tablet (768-1023px): tabletGridSpan 1..12, else its desktop width. */
|
|
3614
3707
|
declare function sectionTabletSpan(section: any): number;
|
|
3708
|
+
/** A section drawn without its card (card false): no frame, no background, no padding - e.g. a title on the page. */
|
|
3709
|
+
declare function sectionPlain(section: any): boolean;
|
|
3615
3710
|
/** A section that stays in view while the page scrolls (sticky true). */
|
|
3616
3711
|
declare function sectionSticky(section: any): boolean;
|
|
3617
3712
|
/**
|
|
@@ -3718,5 +3813,5 @@ declare class DesignTextPipe implements PipeTransform {
|
|
|
3718
3813
|
static ɵpipe: i0.ɵɵPipeDeclaration<DesignTextPipe, "vlDesignText", true>;
|
|
3719
3814
|
}
|
|
3720
3815
|
|
|
3721
|
-
export { ADDON_API_VERSION, ADDON_TEST_KIT, AddonHostService, AppVersionResetService, Autocomplete, BACKEND_PROXY_PREFIX, BackendCallService, CardComponent, CardDesigner, CheckboxControl, ConfigService, ControlComponent, Couchdb, CustomKeyboardComponent, CustomKeyboardDirective, CustomKeyboardService, DATA_KEY_ANSWER, DATA_KEY_NONE, DEFAULT_DATE_FORMAT, DESIGN_TEXTS, DateFormatPipe, DateHintPipe, DateRangeControl, DateTextPipe, DateTimeControl, DesignBarComponent, DesignFieldPipe, DesignTextPipe, DropMarkerComponent, DropdownControl, FormComponent, GRID_COLUMNS, GridComponent, HeaderMenuComponent, LogsComponent, MAX_FIELDS_PER_ROW, MAX_ROW_COLUMNS, MediaControl, MediaSourcePipe, MobileKeycloakService, MobileOidcService, MobileOktaService, ModelComponent, NetworkLogService, NotificationService, NumberControl, PLACEHOLDER_SOURCES, PageData, PaginationComponent, PasswordControl, PdfViewerComponent, PdfViewerService, PlaceholderPipe, READ_ATTEMPT_TIMEOUT, REQUEST_STAGES, RETRY_PAUSES, RETRY_STATUSES, RadioControl, RecordStore, RemoteListService, RequestService, RequestTimeoutError, RequestTimeoutService, RulesPipe, SEND_ERROR_KEY, SIDE_DOCK_CLASS, STORAGE_DATE_FORMAT, SectionDesigner, SideMenuComponent, SwitchControl, TermsDialog, TextareaControl, Textbox, UtilityService, ViewToolkitModule, VisiblePipe, acceptedLocally, addButton, addCardButton, addSection, addonHostAllowed, addonImports, addonLimits, addonManifestProblem, applyLayoutDefaults, backendTermsState, backendUrl, blankComments, buildBackendCall, buttonLocked, bytesOfBase64, cardButton, checkRouteResult, checkTransformResult, clearHeader, cloneLayout, columnFromProperty, controlKind, controlProperty, currencyDigits, currentDateLanguage, dateDigitCount, dateInputPattern, dependsOnForm, designDropIds, designField, designText, designTexts, displayDateValue, displayNumber, dropCardProperty, dropGridProperty, dropObjectName, dropProperty, dropTypeAt, elementFromProperty, fieldFromProperty, fieldInnerLayoutStyle, fieldModel, fieldRules, fieldSpan, fillFromUser, fillPlaceholders, fixedTimeText, formValuesGiven, formatDate, formatDates, fromStorageValue, gridColumnCount, hasBackendCall, headerButton, inputFormatHint, insertField, isAddonCode, isAddonTestFile, isBrowserSource, isIsoDate, isNativeMobile, isNativePhone, isPropertyDrop, isSignedIn, isTarget, languageDatePattern, layoutPlaceholder, linkAddonModules, linkOfRecord, lockHint, lockReason, lockReasons, mediaKind, moveCardElement, moveColumn, moveField, moveSection, moveTreeNode, newButton, newSection, nextZoom, normalizeCard, normalizeCustomKeyboardType, normalizeSections, numberShape, numberStep, numberSuffix, parseRecords, parseStorageDate, parseTimeText, primeDatePattern, proxyFor, rebalanceRow, recordOf, recordsFrom, removeCardElement, removeColumn, removeField, removeHeaderElement, removeSection, removeTreeNode, replaceCardElement, replaceColumn, replaceField, replaceSection, replaceTreeNode, requestDesignDelete, resizeColumn, resolveAddonPath, resolveCustomKeyboardType, resolvePlaceholder, resolveTemplate, routeOf, ruleMessage, runAddonTests, sampleRecords, sampleValue, sectionSpan, sectionSticky, sectionTabletSpan, sectionVisible, sendErrorText, sendsForm, setDateLanguage, setInputHintLanguage, setProxyEnvironment, setToolkitKeyboardOnWeb, shapeDateDigits, shapeTimeText, sideDockWidth, splitReference, stagedRead, stagedRequest, storageKind, storageValue, storedToTyped, styleParts, termsStamp, termsStorageKey, termsToConfirm, termsUrl, termsUser, testAction, testFieldKey, testFieldPath, testWrites, timeHourFormat, toggleMeridiem, toggleRecord, toolkitKeyboardActive, transformHandler, treeNode, treePaths, typedMeridiem, typedToStored, usesTwelveHours, validTreePath, visibleFields, whenOnline, withAppPagination, withoutMarks, wrapperStyleOf };
|
|
3722
|
-
export type { AddonFiles, AddonLimits, AddonManifest, AddonTestResult, BackendCall, CallContext, CardDesignerHost, CardDragData, CardDropSpot, CardDropType, CardPlace, ControlKind, CustomKeyboardTarget, CustomKeyboardType, DataSource, DesignAction, DesignDeleteRequest, DesignDevice, DesignEvent, DesignPropertyDrop, DesignTarget, DesignTexts, DesignTranslations, DropSpot, DropType, FieldKind, FieldModel, FieldRules, LockHint, LockReason, LockState, MediaKind, MobileAuthTokens, MobileOktaRefresh, MobileOktaTokens, NumberShape, OidcProvider, OidcRefresh, OidcTokens, PageDataDeps, PdfSource, RequestTimeoutMessages, SectionDesignerHost, SectionDragData, SectionKind, SendResult, StagedReadOptions, StorageKind, TermsAcceptance, TermsDialogDocument, TermsSettings, TreeKey, VlDesign };
|
|
3816
|
+
export { ADDON_API_VERSION, ADDON_TEST_KIT, AddonHostService, AppVersionResetService, Autocomplete, BACKEND_PROXY_PREFIX, BackendCallService, CardComponent, CardDesigner, CheckboxControl, ConfigService, ControlComponent, Couchdb, CustomKeyboardComponent, CustomKeyboardDirective, CustomKeyboardService, DATA_KEY_ANSWER, DATA_KEY_NONE, DEFAULT_DATE_FORMAT, DESIGN_TEXTS, DateFormatPipe, DateHintPipe, DateRangeControl, DateTextPipe, DateTimeControl, DesignBarComponent, DesignFieldPipe, DesignTextPipe, DropMarkerComponent, DropdownControl, FormComponent, GRID_COLUMNS, GridComponent, HeaderMenuComponent, LogsComponent, MAX_FIELDS_PER_ROW, MAX_ROW_COLUMNS, MediaControl, MediaSourcePipe, MobileKeycloakService, MobileOidcService, MobileOktaService, ModelComponent, NetworkLogService, NotificationService, NumberControl, PLACEHOLDER_SOURCES, PageData, PaginationComponent, PasswordControl, PdfViewerComponent, PdfViewerService, PlaceholderPipe, READ_ATTEMPT_TIMEOUT, REQUEST_STAGES, RETRY_PAUSES, RETRY_STATUSES, RadioControl, RecordStore, RemoteListService, RequestService, RequestTimeoutError, RequestTimeoutService, RulesPipe, SEND_ERROR_KEY, SIDE_DOCK_CLASS, STORAGE_DATE_FORMAT, SectionDesigner, SideMenuComponent, SlideshowComponent, SwitchControl, TermsDialog, TextareaControl, Textbox, UtilityService, VL_MEDIA_RESOLVER, ViewToolkitModule, VisiblePipe, acceptedLocally, addButton, addCardButton, addSection, addonHostAllowed, addonImports, addonLimits, addonManifestProblem, applyLayoutDefaults, applyMapping, backendTermsState, backendUrl, blankComments, buildBackendCall, buttonLocked, bytesOfBase64, cardButton, checkRouteResult, checkTransformResult, clearHeader, cloneLayout, columnFromProperty, controlKind, controlProperty, currencyDigits, currentDateLanguage, dateDigitCount, dateInputPattern, dependsOnForm, designDropIds, designField, designText, designTexts, designerLinksOn, designerPlace, displayDateValue, displayNumber, dropCardProperty, dropGridProperty, dropObjectName, dropProperty, dropTypeAt, elementFromProperty, fieldFromProperty, fieldInnerLayoutStyle, fieldModel, fieldRules, fieldSpan, fillFromUser, fillPlaceholders, fixedTimeText, formValuesGiven, formatDate, formatDates, fromStorageValue, gridColumnCount, hasBackendCall, hasHeaderTarget, headerButton, inputFormatHint, insertField, isAddonCode, isAddonTestFile, isBrowserSource, isIsoDate, isNativeMobile, isNativePhone, isPropertyDrop, isSignedIn, isTarget, languageDatePattern, layoutPlaceholder, linkAddonModules, linkOfRecord, lockHint, lockReason, lockReasons, mappedValues, mediaKind, moveCardElement, moveColumn, moveField, moveSection, moveTreeNode, newButton, newSection, nextZoom, normalizeCard, normalizeCustomKeyboardType, normalizeSections, numberShape, numberStep, numberSuffix, parseRecords, parseStorageDate, parseTimeText, primeDatePattern, proxyFor, rebalanceRow, recordOf, recordsFrom, removeCardElement, removeColumn, removeField, removeHeaderElement, removeSection, removeTreeNode, replaceCardElement, replaceColumn, replaceField, replaceSection, replaceTreeNode, requestDesignDelete, resizeColumn, resolveAddonPath, resolveCustomKeyboardType, resolvePlaceholder, resolveTemplate, routeOf, ruleMessage, runAddonTests, sampleRecords, sampleValue, sectionPlain, sectionSpan, sectionSticky, sectionTabletSpan, sectionVisible, sendErrorText, sendsForm, setDateLanguage, setInputHintLanguage, setProxyEnvironment, setToolkitKeyboardOnWeb, shapeDateDigits, shapeTimeText, sideDockWidth, splitReference, stagedRead, stagedRequest, storageKind, storageValue, storedToTyped, styleParts, termsStamp, termsStorageKey, termsToConfirm, termsUrl, termsUser, testAction, testFieldKey, testFieldPath, testWrites, timeHourFormat, toggleMeridiem, toggleRecord, toolkitKeyboardActive, transformHandler, treeNode, treePaths, typedMeridiem, typedToStored, useDesignerLinks, useDraftSource, userRecord, usesTwelveHours, validTreePath, valueAt, visibleFields, whenOnline, withAppPagination, withUserRecord, withoutMarks, wrapperStyleOf };
|
|
3817
|
+
export type { AddonFiles, AddonLimits, AddonManifest, AddonTestResult, BackendCall, CallContext, CardDesignerHost, CardDragData, CardDropSpot, CardDropType, CardPlace, ControlKind, CustomKeyboardTarget, CustomKeyboardType, DataSource, DesignAction, DesignDeleteRequest, DesignDevice, DesignEvent, DesignPropertyDrop, DesignTarget, DesignTexts, DesignTranslations, DraftSource, DropSpot, DropType, FieldKind, FieldModel, FieldRules, LockHint, LockReason, LockState, MediaKind, MobileAuthTokens, MobileOktaRefresh, MobileOktaTokens, NumberShape, OidcProvider, OidcRefresh, OidcTokens, PageDataDeps, PdfSource, RequestTimeoutMessages, SectionDesignerHost, SectionDragData, SectionKind, SendResult, StagedReadOptions, StorageKind, TermsAcceptance, TermsDialogDocument, TermsSettings, TreeKey, VlDesign };
|