@yomotech/view-toolkit 1.0.81 → 1.0.83
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 +40 -12
- package/fesm2022/yomotech-view-toolkit-catalog.mjs.map +1 -1
- package/fesm2022/yomotech-view-toolkit.mjs +9 -4
- package/fesm2022/yomotech-view-toolkit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yomotech-view-toolkit-catalog.d.ts +8 -3
- package/types/yomotech-view-toolkit.d.ts +2 -2
package/package.json
CHANGED
|
@@ -151,6 +151,11 @@ declare function maxLinesOf(option: any): number;
|
|
|
151
151
|
* (center.option.alignRows, set in the Designer; on for new card lists, user 2026-11-01).
|
|
152
152
|
*/
|
|
153
153
|
declare function alignRowsOf(center: any): boolean;
|
|
154
|
+
/**
|
|
155
|
+
* The card's buttons as one narrow column on the right (center.option.buttonsColumn, set in the Designer) - only when the
|
|
156
|
+
* page says so: the library never moves buttons by itself (OFFENE-PUNKTE 238, user 2026-11-18).
|
|
157
|
+
*/
|
|
158
|
+
declare function buttonsColumnOf(center: any): boolean;
|
|
154
159
|
|
|
155
160
|
declare const TESTS_DIR = ".liveforge/tests";
|
|
156
161
|
declare const RESULTS_DIR = ".liveforge/results";
|
|
@@ -1006,8 +1011,8 @@ declare function normalizeStyleSpelling<T>(doc: T): {
|
|
|
1006
1011
|
findings: StyleSpellingFinding[];
|
|
1007
1012
|
};
|
|
1008
1013
|
|
|
1009
|
-
type DesignValueGroup = 'colors' | 'status' | 'header' | 'menu' | 'buttons' | 'fonts' | 'shape' | 'spacing' | 'depth' | 'sizes' | 'logo' | 'images' | 'text';
|
|
1010
|
-
type DesignValueKind = 'color' | 'font' | 'size' | 'shadow' | 'weight' | 'choice';
|
|
1014
|
+
type DesignValueGroup = 'colors' | 'status' | 'header' | 'menu' | 'buttons' | 'fonts' | 'shape' | 'spacing' | 'depth' | 'sizes' | 'logo' | 'images' | 'text' | 'border' | 'focus';
|
|
1015
|
+
type DesignValueKind = 'color' | 'font' | 'size' | 'shadow' | 'weight' | 'choice' | 'number';
|
|
1011
1016
|
/** The devices a value may differ on: mobile is the key itself, the others key@tablet / key@web. */
|
|
1012
1017
|
declare const DESIGN_DEVICES: readonly ["tablet", "web"];
|
|
1013
1018
|
/** Where a device starts (CSS media query) - the same for the runtime's theme and the library's styles. */
|
|
@@ -1143,5 +1148,5 @@ declare function validCurrency(code: unknown): boolean;
|
|
|
1143
1148
|
/** The price in a language: "32 €" (de), "€32" (en), with the word for "from" before it; '' for no amount. */
|
|
1144
1149
|
declare function formatPrice(amount: unknown, currency: unknown, lang: string, fromWord?: string): string;
|
|
1145
1150
|
|
|
1146
|
-
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_DEVICES, DESIGN_DEVICE_MEDIA, 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, designDeviceVariables, designStandard, 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, themeDeviceCss, themeFontKnown, themeVariables, totp, translateCaptions, uses12Hours, validAmount, validCurrency, validPlace, validTimeZone, validateSettings, validationSettings, vaultJwtLogin, vaultPlace, waitsForFilter, withElementAction, withPageSource, withTestData, zonedNow };
|
|
1151
|
+
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_DEVICES, DESIGN_DEVICE_MEDIA, 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, buttonsColumnOf, callAttributes, callKindOf, camelStyleKey, canonicalControl, cardLayoutOf, checkAppSettings, checkCall, checkElementAction, checkPagePagination, checkTestFlow, clone, contactLink, controlChoicesFor, controlsFor, convertOlderForms, cssStyle, cssStyleKey, dataSettings, dateOrder, defaultKeyboard, designDeviceVariables, designStandard, 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, themeDeviceCss, themeFontKnown, themeVariables, totp, translateCaptions, uses12Hours, validAmount, validCurrency, validPlace, validTimeZone, validateSettings, validationSettings, vaultJwtLogin, vaultPlace, waitsForFilter, withElementAction, withPageSource, withTestData, zonedNow };
|
|
1147
1152
|
export type { ActionPlace, ActionRule, AppSettingBlock, AppSettingDef, AppSettings, AppSettingsFooter, AppSettingsProblem, AppTheme, Bag$1 as Bag, CallKind, CallKindRule, CallProblem, CardLayout, ContactKind, ConversionChange, DesignStandard, 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 };
|
|
@@ -1374,9 +1374,9 @@ declare class CardComponent {
|
|
|
1374
1374
|
rowFields(layout: any): any[];
|
|
1375
1375
|
/** The buttons of a card row (elements without a property). */
|
|
1376
1376
|
rowButtons(layout: any): any[];
|
|
1377
|
-
/** The buttons of all rows that also hold fields: one column on the right
|
|
1377
|
+
/** The buttons of all rows that also hold fields: one column on the right - only with center.option.buttonsColumn (238). */
|
|
1378
1378
|
cardActionButtons(): any[];
|
|
1379
|
-
/** A row holding fields and buttons
|
|
1379
|
+
/** A row holding fields and buttons whose buttons go to the column (center.option.buttonsColumn); else a plain row (238). */
|
|
1380
1380
|
rowHasFieldsAndButtons(layout: any): boolean;
|
|
1381
1381
|
/** option.hideEmpty: a field whose value is empty in this record takes no room on the card (no "--" row). */
|
|
1382
1382
|
hiddenEmpty(element: any, record: any): boolean;
|