/*! Copyright © 2024 Open Text Corporation, All Rights Reserved. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ import { Designer } from '../components/designer/designer'; import { OcpdItemManagerHelper } from '../singletons/ocpd-item-manager-helper'; import { OcpdFormClientAPIService } from '../singletons/ocpd-form-client-api-service'; import { OcpdLocalizationService } from '../singletons/ocpd-localization-service'; import { OcpdStringLocalizationHelper } from '../singletons/ocpd-string-localization'; import { OcpdExportJsonToRuntime } from '../singletons/ocpd-export-json-to-runtime'; import { OcpdConfigurationManager } from '../singletons/ocpd-configuration-manager'; import { OcpdFormSchemaManager } from '../singletons/ocpd-form-schema-manager'; import { formDefinitionToolbar, previewToolbarSection, schemaToolbar } from '../models/designer-config'; export declare class OcpdPreviewWindow { private _designer; private _ocpdItemManagerHelper; private _ocpdFormClientAPIService; private _ocpdFormSchemaManager; private _ocpdConfigurationManager; private _ocpdLocalizationService; private _ocpdStringLocalizationHelper; private _ocpdExportJsonToRuntime; private _ocpdComponentRegister; private _getDataTheme; _popupContent: any; constructor(_designer: Designer, _ocpdItemManagerHelper: OcpdItemManagerHelper, _ocpdFormClientAPIService: OcpdFormClientAPIService, _ocpdFormSchemaManager: OcpdFormSchemaManager, _ocpdConfigurationManager: OcpdConfigurationManager, _ocpdLocalizationService: OcpdLocalizationService, _ocpdStringLocalizationHelper: OcpdStringLocalizationHelper, _ocpdExportJsonToRuntime: OcpdExportJsonToRuntime, _ocpdComponentRegister: any, _getDataTheme: () => string); private get _localeData(); private get _localeDataPreview(); private get _localeDataGeneral(); private get dataTheme(); dispose(): void; show(): Promise; private styleThemeSelectorAsJato; toggleVisualState(actionName: any): void; executeAction(eventData: any): void; addSchemasToSchemaCache(additionalSchemas: any): void; doesThemeExist(schema: any): any; addPreviewData(): Promise<{ model: { id: string; schemaId: string; metadata: {}; mode: string; data: { fac6a3a59baf40a38ed3842af71a502f: boolean; cef896225dfe43f7b6afaf6905aa29b5: boolean; }; serviceName: string; }; schema: any; additionalSchemas: any; }>; getThemes(themeName: string): Promise<{ JATOLight: { "--ocp-action-bar-on": string; "--ocpd-svg-control-image-inverted": string; "--ocp-side-bar-border-top": string; "--ocp-toggle-switch-off-background-color": string; "--ocp-toggle-switch-off-background-color-hover": string; "--ocp-toggle-switch-off-background-color-active": string; "--ocp-toggle-switch-on-background-color": string; "--ocp-toggle-switch-on-background-color-hover": string; "--ocp-toggle-switch-on-background-color-active": string; "--ocp-toggle-switch-off-background-color-disabled": string; "--ocp-toggle-switch-on-circle-border-color": string; "--ocp-toggle-switch-on-background-color-disabled": string; "--ocp-toggle-switch-off-border-color": string; "--ocp-toggle-switch-off-border-color-hover": string; "--ocp-toggle-switch-off-border-color-active": string; "--ocp-toggle-switch-off-border-color-disabled": string; "--ocp-toggle-switch-on-border-color": string; "--ocp-toggle-switch-on-border-color-hover": string; "--ocp-toggle-switch-on-border-color-active": string; "--ocp-toggle-switch-on-border-color-disabled": string; "--ocp-toggle-switch-on-circle-background-color-disabled": string; "--ocp-scrollbar-thumb-color": string; "--ocp-error-background-color": string; "--ocp-error-border-color": string; "--ocp-error-color": string; "--ocp-required-color": string; "--ocp-font-family": string; "--ocp-input-label-color": string; "--ocp-input-label-font-size": string; "--ocp-input-entry-font-size": string; "--ocp-input-entry-background-color": string; "--ocp-input-entry-background-color-disabled": string; "--ocp-input-entry-color": string; "--ocp-input-entry-color-disabled": string; "--ocp-input-entry-color-read-only": string; "--ocp-input-entry-border-color": string; "--ocp-input-entry-border-block-end-color": string; "--ocp-input-entry-border-color-focus": string; "--ocp-input-entry-border-color-disabled": string; "--ocp-input-entry-background-color-hover": string; "--ocp-input-entry-border-color-hover": string; "--ocp-input-entry-border-color-focus-hover": string; "--ocp-input-entry-error-background-color": string; "--ocp-input-entry-error-border-color": string; "--ocp-input-entry-error-border-block-end-color": string; "--ocp-input-entry-error-border-color-focus": string; "--ocp-file-upload-border-color": string; "--ocp-file-upload-background-color": string; "--ocp-file-upload-info-color": string; "--ocp-file-upload-button-background-color": string; "--ocp-file-upload-drop-area-heading-one-color": string; "--ocp-file-upload-drop-area-heading-two-color": string; "--ocp-focus-frame-border-color": string; "--ocp-focus-frame-shadow-color": string; "--ocp-container-box-shadow-color": string; "--ocp-container-border-color": string; "--ocp-container-header-color": string; "--ocp-container-header-font-size": string; "--ocp-container-header-background-color": string; "--ocp-container-content-background-color": string; "--ocp-input-background-color": string; "--ocp-list-alternate-background-color": string; "--ocp-list-background-color": string; "--ocp-list-background-color-hover": string; "--ocp-list-background-color-selected": string; "--ocp-list-background-color-active": string; "--ocp-list-box-shadow": string; "--ocp-list-color": string; "--ocp-list-color-selected": string; "--ocp-list-color-active": string; "--ocp-separator-border-color": string; "--ocp-button-font-size": string; "--ocp-button-border-radius": string; "--ocp-button-primary-border-color": string; "--ocp-button-primary-color": string; "--ocp-button-primary-color-hover": string; "--ocp-button-primary-color-active": string; "--ocp-button-primary-color-disabled": string; "--ocp-button-primary-background-color": string; "--ocp-button-primary-background-color-hover": string; "--ocp-button-primary-background-color-active": string; "--ocp-button-primary-background-color-disabled": string; "--ocp-button-secondary-color": string; "--ocp-button-secondary-color-hover": string; "--ocp-button-secondary-color-active": string; "--ocp-button-secondary-color-disabled": string; "--ocp-button-secondary-border-color": string; "--ocp-button-secondary-border-color-hover": string; "--ocp-button-secondary-border-color-active": string; "--ocp-button-secondary-border-color-disabled": string; "--ocp-button-secondary-background-color": string; "--ocp-button-secondary-background-color-hover": string; "--ocp-button-secondary-background-color-active": string; "--ocp-button-secondary-background-color-disabled": string; "--ocp-button-subtle-color": string; "--ocp-button-subtle-color-hover": string; "--ocp-button-subtle-color-active": string; "--ocp-button-subtle-color-disabled": string; "--ocp-button-subtle-background-color-hover": string; "--ocp-button-subtle-background-color-active": string; "--ocp-button-subtle-selected-color": string; "--ocp-button-subtle-selected-color-hover": string; "--ocp-button-subtle-selected-color-active": string; "--ocp-button-subtle-selected-background-color": string; "--ocp-button-subtle-selected-background-color-hover": string; "--ocp-button-subtle-selected-background-color-active": string; "--ocp-svg-chevron": string; "--ocp-svg-chevron-disabled": string; "--ocp-svg-funnel": string; "--ocp-svg-tick": string; "--ocp-checkbox-off-background-color": string; "--ocp-checkbox-off-background-color-hover": string; "--ocp-checkbox-off-background-color-active": string; "--ocp-checkbox-off-background-color-disabled": string; "--ocp-checkbox-on-background-color": string; "--ocp-checkbox-on-background-color-hover": string; "--ocp-checkbox-on-background-color-active": string; "--ocp-checkbox-background-color-read-only": string; "--ocp-checkbox-on-background-color-disabled": string; "--ocp-checkbox-off-border-color": string; "--ocp-checkbox-on-border-color": string; "--ocp-checkbox-border-color-hover": string; "--ocp-checkbox-border-color-active": string; "--ocp-checkbox-border-color-read-only": string; "--ocp-checkbox-border-color-disabled": string; "--ocp-svg-checkbox-off-hover": string; "--ocp-svg-checkbox-off-active": string; "--ocp-svg-checkbox-on": string; "--ocp-svg-checkbox-mixed": string; "--ocp-svg-checkbox-on-active": string; "--ocp-svg-checkbox-on-hover": string; "--ocp-svg-checkbox-on-read-only": string; "--ocp-svg-checkbox-on-disabled": string; "--ocp-data-grid-background-color": string; "--ocp-date-picker-background-color": string; "--ocp-date-picker-background-color-selected": string; "--ocp-date-picker-background-color-hover": string; "--ocp-date-picker-background-color-active": string; "--ocp-date-picker-color-selected": string; "--ocp-date-picker-color-disabled": string; "--ocp-date-picker-border-color": string; "--ocp-date-picker-border-color-selected": string; "--ocp-date-picker-box-shadow-color": string; "--ocp-date-picker-box-shadow-color-focus": string; "--ocp-date-picker-outline-color-selected": string; "--ocp-date-picker-toggle-outline-color": string; "--ocp-date-picker-toggle-background-color-selected-hover": string; "--ocp-date-picker-toggle-background-color-selected-active": string; "--ocp-date-picker-current-day-color": string; "--ocp-date-picker-separator-border-color": string; "--ocp-data-grid-column-header-color": string; "--ocp-data-grid-header-border-color": string; "--ocp-svg-magnifying-glass": string; "--ocp-svg-arrow-left": string; "--ocp-svg-horizontal-arrow": string; "--ocp-svg-calendar-icon": string; "--ocp-svg-calendar-icon-disabled": string; "--ocp-svg-error": string; "--ocp-tabs-selected-tab-bottom-border-color-selected": string; "--ocp-tabs-selected-tab-bottom-border-color-hover": string; "--ocp-tabs-selected-tab-bottom-border-color-active": string; "--ocp-tooltip-background-color": string; "--ocp-tooltip-color": string; "--ocp-tooltip-box-shadow-color": string; "--ocpd-svg-arrow-back": string; "--ocpd-svg-cut": string; "--ocpd-svg-copy": string; "--ocpd-svg-paste": string; "--ocpd-svg-delete": string; "--ocpd-svg-preview": string; "--ocp-svg-chevron-last": string; "--ocp-svg-chevron-first": string; "--ocp-svg-plus": string; "--ocp-svg-no-entry": string; "--ocpd-svg-add-template": string; "--ocpd-svg-save-layout-template": string; "--ocpd-svg-save-template": string; "--ocpd-svg-control-accordion": string; "--ocpd-svg-control-button": string; "--ocpd-svg-control-check-box": string; "--ocpd-svg-control-checkbox-group": string; "--ocpd-svg-control-combo-box": string; "--ocpd-svg-control-container": string; "--ocpd-svg-control-iframe": string; "--ocpd-svg-control-table": string; "--ocpd-svg-control-date": string; "--ocpd-svg-control-datetime": string; "--ocpd-svg-control-h-flex": string; "--ocpd-svg-control-image": string; "--ocpd-svg-control-image-button": string; "--ocpd-svg-control-integer": string; "--ocpd-svg-control-label": string; "--ocpd-svg-control-link": string; "--ocpd-svg-control-rtf": string; "--ocpd-svg-control-select-box": string; "--ocpd-svg-control-number": string; "--ocpd-svg-control-radio-group": string; "--ocpd-svg-control-section": string; "--ocpd-svg-control-separator": string; "--ocpd-svg-control-tabs": string; "--ocpd-svg-control-text-box": string; "--ocpd-svg-control-text-area": string; "--ocpd-svg-control-toggle-switch": string; "--ocpd-svg-control-upload": string; "--ocpd-svg-control-user-control": string; "--ocpd-svg-control-v-flex": string; "--ocpd-svg-control-currency": string; "--ocpd-svg-control-form-container": string; "--ocpd-svg-user-icon": string; "--ocpd-svg-warning": string; "--ocp-svg-plus-curved-corners": string; "--ocp-svg-plus-curved-corners-hover": string; "--ocp-svg-plus-curved-corners-active": string; "--ocp-svg-plus-curved-corners-focus": string; "--ocp-svg-plus-curved-corners-focus-within": string; "--ocp-svg-delete": string; "--ocp-svg-delete-curved-corners": string; "--ocp-svg-delete-curved-corners-hover": string; "--ocp-svg-delete-curved-corners-active": string; "--ocp-svg-delete-curved-corners-focus": string; "--ocp-svg-dialog-close-button": string; "--ocp-faceted-filtering-border-color": string; "--ocp-faceted-filtering-count-background-color": string; "--ocp-svg-double-chevron": string; "--ocp-svg-curved-edged-chevron": string; "--ocp-link-unvisited-color": string; "--ocp-link-hover-color": string; "--ocp-link-active-color": string; "--ocp-link-visited-color": string; "--ocp-link-visited-hover-color": string; "--ocp-link-visited-active-color": string; "--ocp-svg-preview-desktop": string; "--ocp-svg-preview-laptop": string; "--ocp-svg-preview-tablet": string; "--ocp-svg-preview-mobile": string; "--ocp-svg-preview-editable": string; "--ocp-svg-preview-disabled": string; "--ocp-svg-preview-readonly": string; "--ocp-svg-preview-model-schema": string; "--ocp-svg-preview-form-schema": string; "--ocp-svg-preview-merged-schema": string; "--ocp-svg-preview-design-definition": string; "--ocp-svg-preview-runtime-definition": string; "--ocp-svg-omni-button": string; "--ocp-svg-radio": string; "--ocp-svg-radio-on": string; "--ocp-svg-radio-disabled": string; "--ocp-svg-radio-on-disabled": string; "--ocp-svg-radio-hover": string; "--ocp-svg-radio-on-hover": string; "--ocp-svg-radio-active": string; "--ocp-svg-radio-on-active": string; "--ocp-svg-radio-on-read-only": string; "--ocp-svg-row-drag-handle": string; "--ocp-svg-warning": string; "--ocp-svg-row-tick": string; "--ocp-svg-row-cross": string; "--ocp-svg-loading-indicator": string; "--ocp-svg-radio-loading-indicator": string; "--ocp-svg-checkbox-group-loading-indicator": string; "--ocp-svg-column-chooser": string; "--ocp-svg-file-upload-properties-icon": string; "--ocp-svg-file-upload-area-icon": string; "--ocp-svg-file-upload-info-tooltip": string; "--ocp-svg-file-upload-download-icon": string; "--ocp-svg-file-upload-video-icon": string; "--ocp-svg-file-upload-audio-icon": string; "--ocp-svg-file-upload-text-icon": string; "--ocp-svg-file-upload-text-retry": string; "--ocp-svg-remove": string; "--ocp-warning-color": string; "--ocp-warning-background-color": string; "--ocp-warning-border-color": string; "--ocp-svg-unmask": string; "--ocp-svg-mask": string; }; JATODark: { "--ocp-action-bar-on": string; "--ocpd-svg-control-image-inverted": string; "--ocp-side-bar-border-top": string; "--ocp-toggle-switch-off-background-color": string; "--ocp-toggle-switch-off-background-color-hover": string; "--ocp-toggle-switch-off-background-color-active": string; "--ocp-toggle-switch-on-background-color": string; "--ocp-toggle-switch-on-background-color-hover": string; "--ocp-toggle-switch-on-background-color-active": string; "--ocp-toggle-switch-on-circle-border-color": string; "--ocp-toggle-switch-off-background-color-disabled": string; "--ocp-toggle-switch-on-background-color-disabled": string; "--ocp-toggle-switch-off-border-color": string; "--ocp-toggle-switch-off-border-color-hover": string; "--ocp-toggle-switch-off-border-color-active": string; "--ocp-toggle-switch-off-border-color-disabled": string; "--ocp-toggle-switch-on-border-color": string; "--ocp-toggle-switch-on-border-color-hover": string; "--ocp-toggle-switch-on-border-color-active": string; "--ocp-toggle-switch-on-border-color-disabled": string; "--ocp-toggle-switch-on-circle-background-color-disabled": string; "--ocp-scrollbar-thumb-color": string; "--ocp-error-background-color": string; "--ocp-error-border-color": string; "--ocp-error-color": string; "--ocp-required-color": string; "--ocp-font-family": string; "--ocp-input-label-color": string; "--ocp-input-label-font-size": string; "--ocp-input-entry-font-size": string; "--ocp-input-entry-background-color": string; "--ocp-input-entry-background-color-disabled": string; "--ocp-input-entry-color": string; "--ocp-input-entry-color-disabled": string; "--ocp-input-entry-color-read-only": string; "--ocp-input-entry-border-color": string; "--ocp-input-entry-border-block-end-color": string; "--ocp-input-entry-border-color-focus": string; "--ocp-input-entry-border-color-disabled": string; "--ocp-input-entry-background-color-hover": string; "--ocp-input-entry-border-color-hover": string; "--ocp-input-entry-border-color-focus-hover": string; "--ocp-input-entry-error-background-color": string; "--ocp-input-entry-error-border-color": string; "--ocp-input-entry-error-border-block-end-color": string; "--ocp-input-entry-error-border-color-focus": string; "--ocp-file-upload-border-color": string; "--ocp-file-upload-background-color": string; "--ocp-file-upload-info-color": string; "--ocp-file-upload-button-background-color": string; "--ocp-file-upload-drop-area-heading-one-color": string; "--ocp-file-upload-drop-area-heading-two-color": string; "--ocp-focus-frame-border-color": string; "--ocp-focus-frame-shadow-color": string; "--ocp-container-box-shadow-color": string; "--ocp-container-border-color": string; "--ocp-container-header-color": string; "--ocp-container-header-font-size": string; "--ocp-container-header-background-color": string; "--ocp-container-content-background-color": string; "--ocp-input-background-color": string; "--ocp-list-alternate-background-color": string; "--ocp-list-background-color": string; "--ocp-list-background-color-hover": string; "--ocp-list-background-color-selected": string; "--ocp-list-background-color-active": string; "--ocp-list-box-shadow": string; "--ocp-list-color": string; "--ocp-list-color-selected": string; "--ocp-list-color-active": string; "--ocp-separator-border-color": string; "--ocp-button-font-size": string; "--ocp-button-border-radius": string; "--ocp-button-primary-border-color": string; "--ocp-button-primary-color": string; "--ocp-button-primary-color-hover": string; "--ocp-button-primary-color-active": string; "--ocp-button-primary-color-disabled": string; "--ocp-button-primary-background-color": string; "--ocp-button-primary-background-color-hover": string; "--ocp-button-primary-background-color-active": string; "--ocp-button-primary-background-color-disabled": string; "--ocp-button-secondary-color": string; "--ocp-button-secondary-color-hover": string; "--ocp-button-secondary-color-active": string; "--ocp-button-secondary-color-disabled": string; "--ocp-button-secondary-border-color": string; "--ocp-button-secondary-border-color-hover": string; "--ocp-button-secondary-border-color-active": string; "--ocp-button-secondary-border-color-disabled": string; "--ocp-button-secondary-background-color": string; "--ocp-button-secondary-background-color-hover": string; "--ocp-button-secondary-background-color-active": string; "--ocp-button-secondary-background-color-disabled": string; "--ocp-button-subtle-color": string; "--ocp-button-subtle-color-hover": string; "--ocp-button-subtle-color-active": string; "--ocp-button-subtle-color-disabled": string; "--ocp-button-subtle-background-color-hover": string; "--ocp-button-subtle-background-color-active": string; "--ocp-button-subtle-selected-color": string; "--ocp-button-subtle-selected-color-hover": string; "--ocp-button-subtle-selected-color-active": string; "--ocp-button-subtle-selected-background-color": string; "--ocp-button-subtle-selected-background-color-hover": string; "--ocp-button-subtle-selected-background-color-active": string; "--ocp-svg-chevron": string; "--ocp-svg-chevron-disabled": string; "--ocp-svg-funnel": string; "--ocp-svg-tick": string; "--ocp-checkbox-off-background-color": string; "--ocp-checkbox-off-background-color-hover": string; "--ocp-checkbox-off-background-color-active": string; "--ocp-checkbox-off-background-color-disabled": string; "--ocp-checkbox-on-background-color": string; "--ocp-checkbox-on-background-color-hover": string; "--ocp-checkbox-on-background-color-active": string; "--ocp-checkbox-background-color-read-only": string; "--ocp-checkbox-on-background-color-disabled": string; "--ocp-checkbox-off-border-color": string; "--ocp-checkbox-on-border-color": string; "--ocp-checkbox-border-color-hover": string; "--ocp-checkbox-border-color-active": string; "--ocp-checkbox-border-color-read-only": string; "--ocp-checkbox-border-color-disabled": string; "--ocp-svg-checkbox-off-hover": string; "--ocp-svg-checkbox-off-active": string; "--ocp-svg-checkbox-on": string; "--ocp-svg-checkbox-mixed": string; "--ocp-svg-checkbox-on-hover": string; "--ocp-svg-checkbox-on-active": string; "--ocp-svg-checkbox-on-read-only": string; "--ocp-svg-checkbox-on-disabled": string; "--ocp-data-grid-background-color": string; "--ocp-date-picker-background-color": string; "--ocp-date-picker-background-color-selected": string; "--ocp-date-picker-background-color-hover": string; "--ocp-date-picker-background-color-active": string; "--ocp-date-picker-color-selected": string; "--ocp-date-picker-color-disabled": string; "--ocp-date-picker-border-color": string; "--ocp-date-picker-border-color-selected": string; "--ocp-date-picker-box-shadow-color": string; "--ocp-date-picker-box-shadow-color-focus": string; "--ocp-date-picker-outline-color-selected": string; "--ocp-date-picker-toggle-outline-color": string; "--ocp-date-picker-toggle-background-color-selected-hover": string; "--ocp-date-picker-toggle-background-color-selected-active": string; "--ocp-date-picker-current-day-color": string; "--ocp-date-picker-separator-border-color": string; "--ocp-data-grid-column-header-color": string; "--ocp-data-grid-header-border-color": string; "--ocp-svg-magnifying-glass": string; "--ocp-svg-arrow-left": string; "--ocp-svg-horizontal-arrow": string; "--ocp-svg-calendar-icon": string; "--ocp-svg-calendar-icon-disabled": string; "--ocp-svg-error": string; "--ocp-tabs-selected-tab-bottom-border-color-selected": string; "--ocp-tabs-selected-tab-bottom-border-color-hover": string; "--ocp-tabs-selected-tab-bottom-border-color-active": string; "--ocp-tooltip-background-color": string; "--ocp-tooltip-color": string; "--ocp-tooltip-box-shadow-color": string; "--ocp-svg-chevron-last": string; "--ocp-svg-chevron-first": string; "--ocp-svg-plus": string; "--ocp-svg-no-entry": string; "--ocpd-svg-arrow-back": string; "--ocpd-svg-cut": string; "--ocpd-svg-copy": string; "--ocpd-svg-paste": string; "--ocpd-svg-delete": string; "--ocpd-svg-preview": string; "--ocpd-svg-add-template": string; "--ocpd-svg-save-layout-template": string; "--ocpd-svg-save-template": string; "--ocpd-svg-person": string; "--ocpd-svg-control-accordion": string; "--ocpd-svg-control-button": string; "--ocpd-svg-control-check-box": string; "--ocpd-svg-control-checkbox-group": string; "--ocpd-svg-control-combo-box": string; "--ocpd-svg-control-container": string; "--ocpd-svg-control-iframe": string; "--ocpd-svg-control-table": string; "--ocpd-svg-control-date": string; "--ocpd-svg-control-datetime": string; "--ocpd-svg-control-h-flex": string; "--ocpd-svg-control-image": string; "--ocpd-svg-control-image-button": string; "--ocpd-svg-control-integer": string; "--ocpd-svg-control-label": string; "--ocpd-svg-control-link": string; "--ocpd-svg-control-rtf": string; "--ocpd-svg-control-select-box": string; "--ocpd-svg-control-number": string; "--ocpd-svg-control-radio-group": string; "--ocpd-svg-control-section": string; "--ocpd-svg-control-separator": string; "--ocpd-svg-control-tabs": string; "--ocpd-svg-control-text-box": string; "--ocpd-svg-control-text-area": string; "--ocpd-svg-control-toggle-switch": string; "--ocpd-svg-control-upload": string; "--ocpd-svg-control-user-control": string; "--ocpd-svg-control-currency": string; "--ocpd-svg-control-v-flex": string; "--ocpd-svg-control-form-container": string; "--ocpd-svg-user-icon": string; "--ocpd-svg-warning": string; "--ocpd-svg-globe": string; "--ocp-svg-plus-curved-corners": string; "--ocp-svg-plus-curved-corners-hover": string; "--ocp-svg-plus-curved-corners-active": string; "--ocp-svg-plus-curved-corners-focus": string; "--ocp-svg-plus-curved-corners-focus-within": string; "--ocp-svg-delete": string; "--ocp-svg-delete-curved-corners": string; "--ocp-svg-delete-curved-corners-hover": string; "--ocp-svg-delete-curved-corners-active": string; "--ocp-svg-delete-curved-corners-focus": string; "--ocp-svg-dialog-close-button": string; "--ocp-faceted-filtering-border-color": string; "--ocp-faceted-filtering-count-background-color": string; "--ocp-svg-double-chevron": string; "--ocp-svg-curved-edged-chevron": string; "--ocp-link-unvisited-color": string; "--ocp-link-hover-color": string; "--ocp-link-active-color": string; "--ocp-link-visited-color": string; "--ocp-link-visited-hover-color": string; "--ocp-link-visited-active-color": string; "--ocp-svg-preview-desktop": string; "--ocp-svg-preview-laptop": string; "--ocp-svg-preview-tablet": string; "--ocp-svg-preview-mobile": string; "--ocp-svg-preview-editable": string; "--ocp-svg-preview-disabled": string; "--ocp-svg-preview-readonly": string; "--ocp-svg-preview-model-schema": string; "--ocp-svg-preview-form-schema": string; "--ocp-svg-preview-merged-schema": string; "--ocp-svg-preview-design-definition": string; "--ocp-svg-preview-runtime-definition": string; "--ocp-svg-omni-button": string; "--ocp-svg-radio": string; "--ocp-svg-radio-on": string; "--ocp-svg-radio-disabled": string; "--ocp-svg-radio-on-disabled": string; "--ocp-svg-radio-hover": string; "--ocp-svg-radio-on-hover": string; "--ocp-svg-radio-active": string; "--ocp-svg-radio-on-active": string; "--ocp-svg-radio-on-read-only": string; "--ocp-svg-row-drag-handle": string; "--ocp-svg-warning": string; "--ocp-svg-row-tick": string; "--ocp-svg-row-cross": string; "--ocp-svg-loading-indicator": string; "--ocp-svg-radio-loading-indicator": string; "--ocp-svg-checkbox-group-loading-indicator": string; "--ocp-svg-column-chooser": string; "--ocp-svg-file-upload-properties-icon": string; "--ocp-svg-file-upload-area-icon": string; "--ocp-svg-file-upload-info-tooltip": string; "--ocp-svg-file-upload-download-icon": string; "--ocp-svg-file-upload-video-icon": string; "--ocp-svg-file-upload-audio-icon": string; "--ocp-svg-file-upload-text-icon": string; "--ocp-svg-file-upload-text-retry": string; "--ocp-svg-remove": string; "--ocp-warning-color": string; "--ocp-warning-background-color": string; "--ocp-warning-border-color": string; "--ocp-svg-unmask": string; "--ocp-svg-mask": string; }; OTClassic: {}; }>; initializeAndDisplayPreviewDialog(title: string, dialogJson: any, itemId: string, toolbarConfig: any, schemaConfig: any, definitionConfig: any, runtimeConfig: any): Promise; closeInterceptor(): void; applyDefaultSettings(toolbarConfig: any, schemaConfig: any, definitionConfig: any): void; setPreviewResolution(resolutionName: any): void; getActiveTab(): any; getJSONForPreview(): { runtimeJSON: any; designerJSON: import("../ocpd-common-components").Model[]; }; showOnlyForm(previewToolbarConfig: previewToolbarSection, previewSchemaToolbarConfig: schemaToolbar, previewDefinitionToolbarConfig: formDefinitionToolbar): boolean; getTemplateRowsForAvailableHeight(availableHeight: any, forcedFirstRowHeight?: any): { templateRows: string; rows: number; }; getPreviewDialogJson(previewJSON: any, designerJSON: any, toolbarConfig: any, schemaConfig: any, definitionConfig: any): Promise; addPreviewToggles(previewToolbarConfig: previewToolbarSection): { type: string; numberOfColumns: number; grid: { gap: number; gridTemplateRows: string; noMargin: boolean; }; id: string; controls: { gridColumnStart: number; gridColumnEnd: number; gridRowStart: number; gridRowEnd: number; type: string; id: string; border: string; title: {}; controls: ({ id: string; label: { text: string; }; groupName: string; isToggledOn: boolean; display: string; type: string; tooltip: string; } | { id: string; type: string; label?: undefined; groupName?: undefined; isToggledOn?: undefined; display?: undefined; tooltip?: undefined; })[]; }[]; }; addSchemaToggles(previewSchemaToolbarConfig: schemaToolbar): { type: string; numberOfColumns: number; grid: { gap: number; gridTemplateRows: string; noMargin: boolean; }; id: string; controls: { gridColumnStart: number; gridColumnEnd: number; gridRowStart: number; gridRowEnd: number; type: string; id: string; border: string; title: {}; controls: { id: string; label: { text: string; }; groupName: string; isToggledOn: boolean; display: string; type: string; tooltip: string; }[]; }[]; }; addConfigToggles(previewDefinitionToolbarConfig: formDefinitionToolbar): { type: string; numberOfColumns: number; grid: { gap: number; gridTemplateRows: string; noMargin: boolean; }; id: string; controls: { gridColumnStart: number; gridColumnEnd: number; gridRowStart: number; gridRowEnd: number; type: string; id: string; border: string; title: {}; controls: { id: string; label: { text: string; }; groupName: string; isToggledOn: boolean; display: string; type: string; tooltip: string; }[]; }[]; }; getCurrentTheme(): string; getMetadataForPropertyPreview(propertyPath: string): { masked: boolean; }; addMetadataToPreviewModel(model: any, propertyName: any, schema: any): Promise; addPreviewBackupData(previewSchema: any): void; getFakeMaskPatternForPropertyPreview(): string; getMaskedValueForValue(value: any): string | string[]; removeDefaultValueForMaskedFields(model: any, schema: any): void; updatePreviewBackupModel(propertyPath: any, rowGuid: any, repeatIndex: any, errors: any): Promise; handleRepeatingChildAddedOrRemoved(eventType: any, propertyPath: any, rowIndex: any, repeatIndex: any): void; isPreviewFormInClearMode(): boolean; }