import * as i0 from '@angular/core';
import { LOCALE_ID, Inject, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { locale, loadMessages } from 'devextreme/localization';
import devextremeAjaxJs from 'devextreme/esm/core/utils/ajax';
import { Deferred } from 'devextreme/core/utils/deferred';
import * as i1 from '@angular/common/http';
import { HttpParams } from '@angular/common/http';
import { EdmLiteral } from 'devextreme/data/odata/utils';
import * as devextremeConfig from 'devextreme/core/config';
import DataGrid from 'devextreme/ui/data_grid';
import DateBox from 'devextreme/ui/date_box';
import * as i2 from 'mobicloud-core';

function sendRequestFactory(httpClient, configService) {
    return (options) => {
        if (configService.log_httptrafic > 1) {
            console.log("options.url", options.url);
            console.log("configService.getApiSiteUrl()", configService.getApiSiteUrl());
            console.log("startsWith ApiSiteUrl", options.url.toLowerCase().startsWith(configService.getApiSiteUrl().toLowerCase()));
        }
        if ((options.url && configService.getApiSiteUrl()) && options.url.toLowerCase().startsWith(configService.getApiSiteUrl().toLowerCase())) {
            if (configService.log_httptrafic > 1) {
                console.log("sendRequestFactory_custom", options);
            }
            return sendRequestFactory_custom(httpClient, options);
        }
        else {
            if (configService.log_httptrafic > 1) {
                console.log("sendRequestFactory_basic", options);
            }
            return sendRequestFactory_basic(httpClient, options);
        }
    };
}
function sendRequestFactory_basic(httpClient, options) {
    const d = Deferred();
    var injector_ref = devextremeAjaxJs;
    injector_ref.callBase(options);
    return d.promise();
}
function sendRequestFactory_custom(httpClient, options) {
    const URLENCODED = 'application/x-www-form-urlencoded';
    const CONTENT_TYPE = 'Content-Type';
    let nonce = Date.now();
    function assignResponseProps(xhrSurrogate, response) {
        function getResponseHeader(name) {
            return response.headers.get(name);
        }
        function makeResponseText() {
            const body = 'error' in response ? response.error : response.body;
            if (typeof body !== 'string' || String(getResponseHeader(CONTENT_TYPE)).indexOf('application/json') === 0) {
                return JSON.stringify(body);
            }
            return body;
        }
        Object.assign(xhrSurrogate, {
            status: response.status,
            statusText: response.statusText,
            getResponseHeader,
            responseText: makeResponseText()
        });
        return xhrSurrogate;
    }
    function getAcceptHeader(options) {
        const dataType = options.dataType;
        const accepts = options.accepts;
        const fallback = ',*/*;q=0.01';
        if (dataType && accepts && accepts[dataType]) {
            return accepts[dataType] + fallback;
        }
        switch (dataType) {
            case 'json': return 'application/json, text/javascript' + fallback;
            case 'text': return 'text/plain' + fallback;
            case 'xml': return 'application/xml, text/xml' + fallback;
            case 'html': return 'text/html' + fallback;
            case 'script': return 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript' + fallback;
        }
        return '*/*';
    }
    const d = Deferred();
    const method = (options.method || 'get').toLowerCase();
    const isGet = method === 'get';
    const headers = { ...options.headers };
    const data = options.data;
    const upload = options.upload;
    const beforeSend = options.beforeSend;
    const xhrFields = options.xhrFields;
    if (options.cache === false && isGet && data) {
        data._ = nonce++;
    }
    if (!headers.Accept) {
        headers.Accept = getAcceptHeader(options);
    }
    if (!upload && !isGet && !headers[CONTENT_TYPE]) {
        headers[CONTENT_TYPE] = options.contentType || URLENCODED + ';charset=utf-8';
    }
    let params;
    let body;
    if (isGet) {
        params = data;
    }
    else {
        if (!upload && typeof data === 'object' && headers[CONTENT_TYPE].indexOf(URLENCODED) === 0) {
            body = new HttpParams();
            for (const key in data) {
                body = body.set(key, data[key]);
            }
            body = body.toString();
        }
        else {
            body = data;
        }
    }
    const xhrSurrogate = {};
    if (beforeSend) {
        beforeSend(xhrSurrogate);
    }
    httpClient
        .request(method, options.url, {
        params,
        body,
        responseType: options.dataType,
        headers,
        withCredentials: xhrFields && xhrFields.withCredentials,
        observe: 'response'
    })
        .subscribe((response) => d.resolve(response.body, 'success', assignResponseProps(xhrSurrogate, response)), (response) => d.reject(assignResponseProps(xhrSurrogate, response), 'error'));
    return d.promise();
}

class MobiCloudDevextremeModule {
    constructor(httpClient, configService, localeId) {
        this.localeId = localeId;
        devextremeAjaxJs.inject({ sendRequest: sendRequestFactory(httpClient, configService) });
        if (configService.log_httptrafic > 1) {
            console.log("devextremeAjaxJs.inject", configService);
        }
        this.enableDefaultStyles(httpClient);
    }
    enableDefaultStyles(httpClient) {
        devextremeConfig.default({
            editorStylingMode: 'outlined',
            forceIsoDateParsing: true
        });
        let default_dateformat = 'M/d/yyyy';
        let default_timeformat = 'hh:mm a';
        let default_datetimeformat = 'M/d/yyyy hh:mm';
        if (this.localeId == "da") {
            locale('da');
            httpClient.get('/assets/localization/devex_da.json').subscribe({
                next: (devex_da) => {
                    loadMessages(devex_da);
                },
                error: (err) => {
                    console.warn('Failed to load Danish localization(devex_da.json):', err);
                }
            });
            default_dateformat = 'dd-MM-yyyy';
            default_timeformat = 'HH:mm';
            default_datetimeformat = 'dd-MM-yyyy HH:mm';
        }
        DataGrid.defaultOptions({
            options: {
                height: '100%',
                width: '100%',
                columnResizingMode: "widget",
                columnWidth: 100,
                customizeColumns: (columns) => {
                    var dateColumns = columns.filter((col) => col.dataType === "datetime" || col.dataType === "date");
                    if (dateColumns) {
                        dateColumns.forEach((column) => {
                            column.serializeValue = (val) => {
                                return val;
                            };
                            column.calculateFilterExpression = (filterValue, selectedFilterOperation) => {
                                const filterExpression = column.defaultCalculateFilterExpression(filterValue, selectedFilterOperation);
                                if (filterExpression) {
                                    if (Array.isArray(filterExpression[0])) {
                                        filterExpression[0][2] = new EdmLiteral(filterExpression[0][2].toISOString());
                                        filterExpression[2][2] = new EdmLiteral(filterExpression[2][2].toISOString());
                                    }
                                    else {
                                        filterExpression[2] = new EdmLiteral(filterExpression[2].toISOString());
                                    }
                                }
                                return filterExpression;
                            };
                            if (!column.editorOptions) {
                                column.editorOptions = {};
                            }
                            if (!column.editorOptions.displayFormat) {
                                if (column.editorOptions.type == "time") {
                                    if (!column.format || column.format == "shortDate")
                                        column.format = default_timeformat;
                                    if (!column.editorOptions.displayFormat)
                                        column.editorOptions.displayFormat = default_timeformat;
                                }
                                else if (column.editorOptions.type == "datetime") {
                                    if (!column.format || column.format == "shortDate")
                                        column.format = default_datetimeformat;
                                    if (!column.editorOptions.displayFormat)
                                        column.editorOptions.displayFormat = default_datetimeformat;
                                }
                                else {
                                    if (!column.format || column.format == "shortDate")
                                        column.format = default_dateformat;
                                    if (!column.editorOptions.displayFormat)
                                        column.editorOptions.displayFormat = default_dateformat;
                                }
                            }
                        });
                    }
                }
            }
        });
        DateBox.defaultOptions({
            options: {
                onInitialized: function (e) {
                    var type = e.component.option("type");
                    var displayFormat = e.component.option("displayFormat");
                    if (!displayFormat) {
                        if (type == "time") {
                            e.component.option("displayFormat", default_timeformat);
                        }
                        else if (type == "datetime") {
                            e.component.option("displayFormat", default_datetimeformat);
                        }
                        else {
                            e.component.option("displayFormat", default_dateformat);
                        }
                    }
                }
            }
        });
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudDevextremeModule, deps: [{ token: i1.HttpClient }, { token: i2.MobicloudConfigService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.NgModule }); }
    static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudDevextremeModule, imports: [CommonModule] }); }
    static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudDevextremeModule, imports: [CommonModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudDevextremeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [],
                    imports: [
                        CommonModule,
                    ],
                    exports: []
                }]
        }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.MobicloudConfigService }, { type: undefined, decorators: [{
                    type: Inject,
                    args: [LOCALE_ID]
                }] }] });

var en = {
	Yes: "JA",
	No: "Nej",
	Cancel: "Annuller",
	Clear: "Ryd",
	Done: "Udført",
	Loading: "Indlæser...",
	Select: "Vælg...",
	Search: "Søg",
	Back: "Tilbage",
	OK: "OK",
	"dxCollectionWidget-noDataText": "Ingen data at vise",
	"dxDropDownEditor-selectLabel": "Vælg",
	"validation-required": "Påkrævet",
	"validation-required-formatted": "{0} er påkrævet",
	"validation-numeric": "Værdi skal være et tal",
	"validation-numeric-formatted": "{0} skal være et tal",
	"validation-range": "Værdi er uden for rækkevidde",
	"validation-range-formatted": "{0} er uden for rækkevidde",
	"validation-stringLength": "Længden af værdien er ikke korrekt",
	"validation-stringLength-formatted": "Længden af {0} er ikke korrekt",
	"validation-custom": "Værdi er ugyldigt",
	"validation-custom-formatted": "{0} er ugyldigt",
	"validation-async": "Værdi er ugyldigt",
	"validation-async-formatted": "{0} er ugyldigt",
	"validation-compare": "Værdierne stemmer ikke overens",
	"validation-compare-formatted": "{0} stemmer ikke overens",
	"validation-pattern": "Værdi stemmer ikke overens med mønsteret",
	"validation-pattern-formatted": "{0} stemmer ikke overens med mønsteret",
	"validation-email": "E-mail er ugyldigt",
	"validation-email-formatted": "{0} er ugyldigt",
	"validation-mask": "Værdi er ugyldigt",
	"dxLookup-searchPlaceholder": "Minimum tegn antal: {0}",
	"dxList-pullingDownText": "Træk ned for at opdatere ...",
	"dxList-pulledDownText": "Slip for at opdatere ...",
	"dxList-refreshingText": "Opdaterer ...",
	"dxList-pageLoadingText": "Indlæser ...",
	"dxList-nextButtonText": "Mere",
	"dxList-selectAll": "Vælg alle",
	"dxListEditDecorator-delete": "Slet",
	"dxListEditDecorator-more": "Mere",
	"dxScrollView-pullingDownText": "Træk ned for at opdatere ...",
	"dxScrollView-pulledDownText": "Slip for at opdatere ...",
	"dxScrollView-refreshingText": "Opdaterer ...",
	"dxScrollView-reachBottomText": "Indlæser ...",
	"dxDateBox-simulatedDataPickerTitleTime": "Vælg tid",
	"dxDateBox-simulatedDataPickerTitleDate": "Vælg dato",
	"dxDateBox-simulatedDataPickerTitleDateTime": "Vælg dato og tid",
	"dxDateBox-validation-datetime": "Værdi skal være en date eller tid",
	"dxFileUploader-selectFile": "Vælg fil",
	"dxFileUploader-dropFile": "eller slip filen her",
	"dxFileUploader-bytes": "bytes",
	"dxFileUploader-kb": "kb",
	"dxFileUploader-Mb": "Mb",
	"dxFileUploader-Gb": "Gb",
	"dxFileUploader-upload": "Upload",
	"dxFileUploader-uploaded": "Uploaded",
	"dxFileUploader-readyToUpload": "Klar til upload",
	"dxFileUploader-uploadAbortedMessage": "Upload annulleret",
	"dxFileUploader-uploadFailedMessage": "Upload mislykkedes",
	"dxFileUploader-invalidFileExtension": "Filtype er ikke tilladt",
	"dxFileUploader-invalidMaxFileSize": "Fil er for stor",
	"dxFileUploader-invalidMinFileSize": "Fil er for lille",
	"dxRangeSlider-ariaFrom": "Fra",
	"dxRangeSlider-ariaTill": "Til",
	"dxSwitch-switchedOnText": "TÆNDT",
	"dxSwitch-switchedOffText": "SLUKKET",
	"dxForm-optionalMark": "valgfri",
	"dxForm-requiredMessage": "{0} er påkrævet",
	"dxNumberBox-invalidValueMessage": "Værdi skal være et tal",
	"dxNumberBox-noDataText": "Ingen data",
	"dxDataGrid-columnChooserTitle": "Vælg kolonner",
	"dxDataGrid-columnChooserEmptyText": "Træk en kolonne her for at skjule den",
	"dxDataGrid-groupContinuesMessage": "Fortsætter på næste side",
	"dxDataGrid-groupContinuedMessage": "Fortsat fra forrige side",
	"dxDataGrid-groupHeaderText": "Gruppér efter denne kolonne",
	"dxDataGrid-ungroupHeaderText": "Fjern gruppe",
	"dxDataGrid-ungroupAllText": "Fjern alle grupper",
	"dxDataGrid-editingEditRow": "Rediger",
	"dxDataGrid-editingSaveRowChanges": "Gem",
	"dxDataGrid-editingCancelRowChanges": "Annuller",
	"dxDataGrid-editingDeleteRow": "Slet",
	"dxDataGrid-editingUndeleteRow": "Fortryd sletning",
	"dxDataGrid-editingConfirmDeleteMessage": "Er du sikker på, at du vil slette denne post?",
	"dxDataGrid-validationCancelChanges": "Annuller ændringer",
	"dxDataGrid-groupPanelEmptyText": "Træk en kolonneoverskrift her for at gruppere efter den kolonne",
	"dxDataGrid-noDataText": "Ingen data",
	"dxDataGrid-searchPanelPlaceholder": "Søg ...",
	"dxDataGrid-filterRowShowAllText": "(Alle)",
	"dxDataGrid-filterRowResetOperationText": "Nulstil",
	"dxDataGrid-filterRowOperationEquals": "Lig med",
	"dxDataGrid-filterRowOperationNotEquals": "Er ikke lig",
	"dxDataGrid-filterRowOperationLess": "Mindre end",
	"dxDataGrid-filterRowOperationLessOrEquals": "Mindre end eller lig med",
	"dxDataGrid-filterRowOperationGreater": "Større end",
	"dxDataGrid-filterRowOperationGreaterOrEquals": "Større end eller lig med",
	"dxDataGrid-filterRowOperationStartsWith": "Starter medh",
	"dxDataGrid-filterRowOperationContains": "Indeholder",
	"dxDataGrid-filterRowOperationNotContains": "Indeholder ikke",
	"dxDataGrid-filterRowOperationEndsWith": "Ender med",
	"dxDataGrid-filterRowOperationBetween": "Mellem",
	"dxDataGrid-filterRowOperationBetweenStartText": "Start",
	"dxDataGrid-filterRowOperationBetweenEndText": "Slut",
	"dxDataGrid-applyFilterText": "Anvend filter",
	"dxDataGrid-trueText": "sand",
	"dxDataGrid-falseText": "falsk",
	"dxDataGrid-sortingAscendingText": "Sorter stigende",
	"dxDataGrid-sortingDescendingText": "Sorter faldende",
	"dxDataGrid-sortingClearText": "Ryd Sortering",
	"dxDataGrid-editingSaveAllChanges": "Gem ændringer",
	"dxDataGrid-editingCancelAllChanges": "Kassér ændringer",
	"dxDataGrid-editingAddRow": "Tilføj en række",
	"dxDataGrid-summaryMin": "Min: {0}",
	"dxDataGrid-summaryMinOtherColumn": "Min af {1} is {0}",
	"dxDataGrid-summaryMax": "Maks: {0}",
	"dxDataGrid-summaryMaxOtherColumn": "Max af {1} is {0}",
	"dxDataGrid-summaryAvg": "Gns: {0}",
	"dxDataGrid-summaryAvgOtherColumn": "Gns af {1} is {0}",
	"dxDataGrid-summarySum": "Sum: {0}",
	"dxDataGrid-summarySumOtherColumn": "Sum af {1} is {0}",
	"dxDataGrid-summaryCount": "Antal: {0}",
	"dxDataGrid-columnFixingFix": "Fastgør",
	"dxDataGrid-columnFixingUnfix": "Løslad",
	"dxDataGrid-columnFixingLeftPosition": "Til venstre",
	"dxDataGrid-columnFixingRightPosition": "Til højre",
	"dxDataGrid-exportTo": "Eksport",
	"dxDataGrid-exportToExcel": "Eksportér til Excel-fil",
	"dxDataGrid-exporting": "Eksporterer ...",
	"dxDataGrid-excelFormat": "Excel-fil",
	"dxDataGrid-selectedRows": "Vælg rækker",
	"dxDataGrid-exportSelectedRows": "Eksportér valgte rækker",
	"dxDataGrid-exportAll": "Eksportér alle data",
	"dxDataGrid-headerFilterEmptyValue": "(Blanke)",
	"dxDataGrid-headerFilterOK": "OK",
	"dxDataGrid-headerFilterCancel": "Annuller",
	"dxDataGrid-ariaColumn": "Kolonne",
	"dxDataGrid-ariaValue": "Værdi",
	"dxDataGrid-ariaFilterCell": "Filtrer celle",
	"dxDataGrid-ariaCollapse": "Fold sammen",
	"dxDataGrid-ariaExpand": "Udvid",
	"dxDataGrid-ariaDataGrid": "Data grid",
	"dxDataGrid-ariaSearchInGrid": "Søg i data grid",
	"dxDataGrid-ariaSelectAll": "Vælg alle",
	"dxDataGrid-ariaSelectRow": "Vælg række",
	"dxDataGrid-filterBuilderPopupTitle": "Filterbygger",
	"dxDataGrid-filterPanelCreateFilter": "Opret filter",
	"dxDataGrid-filterPanelClearFilter": "Ryd",
	"dxDataGrid-filterPanelFilterEnabledHint": "Aktivér filteret",
	"dxTreeList-ariaTreeList": "Tree list",
	"dxTreeList-editingAddRowToNode": "Tilføj",
	"dxPager-infoText": "Side {0} af {1} ({2} items)",
	"dxPager-pagesCountText": "af",
	"dxPager-pageSizesAllText": "Alle",
	"dxPivotGrid-grandTotal": "Grand Total",
	"dxPivotGrid-total": "{0} I alt",
	"dxPivotGrid-fieldChooserTitle": "Feltvælger",
	"dxPivotGrid-showFieldChooser": "Vis Feltvælger",
	"dxPivotGrid-expandAll": "Udvid alle",
	"dxPivotGrid-collapseAll": "Fold alle sammen",
	"dxPivotGrid-sortColumnBySummary": "Sorter \"{0}\" efter denne kolonne",
	"dxPivotGrid-sortRowBySummary": "Sorter \"{0}\" efter denne række",
	"dxPivotGrid-removeAllSorting": "Fjern al sortering",
	"dxPivotGrid-dataNotAvailable": "N/A",
	"dxPivotGrid-rowFields": "Rækkefelter",
	"dxPivotGrid-columnFields": "Kolonnefelter",
	"dxPivotGrid-dataFields": "Datafelter",
	"dxPivotGrid-filterFields": "Filterfelter",
	"dxPivotGrid-allFields": "Alle felter",
	"dxPivotGrid-columnFieldArea": "Slip kolonnefelter her",
	"dxPivotGrid-dataFieldArea": "Slip datafelter her",
	"dxPivotGrid-rowFieldArea": "Slip rækkefelter her",
	"dxPivotGrid-filterFieldArea": "Slip filterfelter her",
	"dxScheduler-editorLabelTitle": "Emne",
	"dxScheduler-editorLabelStartDate": "Start dato",
	"dxScheduler-editorLabelEndDate": "Slut dato",
	"dxScheduler-editorLabelDescription": "Beskrivelse",
	"dxScheduler-editorLabelRecurrence": "Gentag",
	"dxScheduler-openAppointment": "Åben aftale",
	"dxScheduler-recurrenceNever": "Aldrig",
	"dxScheduler-recurrenceMinutely": "Hvert minut",
	"dxScheduler-recurrenceHourly": "Hver time",
	"dxScheduler-recurrenceDaily": "Dagligt",
	"dxScheduler-recurrenceWeekly": "Ugentligt",
	"dxScheduler-recurrenceMonthly": "Månedligt",
	"dxScheduler-recurrenceYearly": "Årligt",
	"dxScheduler-recurrenceRepeatEvery": "Gentag hver",
	"dxScheduler-recurrenceRepeatOn": "Gentag Til",
	"dxScheduler-recurrenceEnd": "Afslut gentagelse",
	"dxScheduler-recurrenceAfter": "Efter",
	"dxScheduler-recurrenceOn": "Til",
	"dxScheduler-recurrenceRepeatMinutely": "minut(ter)",
	"dxScheduler-recurrenceRepeatHourly": "time(r)",
	"dxScheduler-recurrenceRepeatDaily": "dag(e)",
	"dxScheduler-recurrenceRepeatWeekly": "uge(r)",
	"dxScheduler-recurrenceRepeatMonthly": "måned(er)",
	"dxScheduler-recurrenceRepeatYearly": "år",
	"dxScheduler-switcherDay": "Dag",
	"dxScheduler-switcherWeek": "Uge",
	"dxScheduler-switcherWorkWeek": "Arbejdsuge",
	"dxScheduler-switcherMonth": "Måned",
	"dxScheduler-switcherAgenda": "Agenda",
	"dxScheduler-switcherTimelineDay": "Tidslinje Dag",
	"dxScheduler-switcherTimelineWeek": "Tidslinje Uge",
	"dxScheduler-switcherTimelineWorkWeek": "Tidslinje Arbejdsuge",
	"dxScheduler-switcherTimelineMonth": "Tidslinje Måned",
	"dxScheduler-recurrenceRepeatOnDate": "på dato",
	"dxScheduler-recurrenceRepeatCount": "hændelse(r)",
	"dxScheduler-allDay": "Hele dagen",
	"dxScheduler-confirmRecurrenceEditMessage": "Vil du kun redigere denne aftale eller hele serien?",
	"dxScheduler-confirmRecurrenceDeleteMessage": "Vil du kun slette denne aftale eller hele serien?",
	"dxScheduler-confirmRecurrenceEditSeries": "Rediger serie",
	"dxScheduler-confirmRecurrenceDeleteSeries": "Slet serie",
	"dxScheduler-confirmRecurrenceEditOccurrence": "Rediger aftale",
	"dxScheduler-confirmRecurrenceDeleteOccurrence": "Slet aftale",
	"dxScheduler-noTimezoneTitle": "Ingen tidszone",
	"dxScheduler-moreAppointments": "{0} mere",
	"dxCalendar-todayButtonText": "I dag",
	"dxCalendar-ariaWidgetName": "Kalender",
	"dxColorView-ariaRed": "Rød",
	"dxColorView-ariaGreen": "Grøn",
	"dxColorView-ariaBlue": "Blå",
	"dxColorView-ariaAlpha": "Gennemsigtighed",
	"dxColorView-ariaHex": "Farvekode",
	"dxTagBox-selected": "{0} valgt",
	"dxTagBox-allSelected": "Alle valgt ({0})",
	"dxTagBox-moreSelected": "{0} mere",
	"vizExport-printingButtonText": "Udskriv",
	"vizExport-titleMenuText": "Eksportering/Udskrivning",
	"vizExport-exportButtonText": "{0} fil",
	"dxFilterBuilder-and": "And",
	"dxFilterBuilder-or": "Or",
	"dxFilterBuilder-notAnd": "Not And",
	"dxFilterBuilder-notOr": "Not Or",
	"dxFilterBuilder-addCondition": "Tilføj Betingelse",
	"dxFilterBuilder-addGroup": "Tilføj Gruppe",
	"dxFilterBuilder-enterValueText": "<indtast en værdi>",
	"dxFilterBuilder-filterOperationEquals": "Equals",
	"dxFilterBuilder-filterOperationNotEquals": "Does not equal",
	"dxFilterBuilder-filterOperationLess": "Is less than",
	"dxFilterBuilder-filterOperationLessOrEquals": "Is less than or equal to",
	"dxFilterBuilder-filterOperationGreater": "Is greater than",
	"dxFilterBuilder-filterOperationGreaterOrEquals": "Is greater than or equal to",
	"dxFilterBuilder-filterOperationStartsWith": "Starts with",
	"dxFilterBuilder-filterOperationContains": "Contains",
	"dxFilterBuilder-filterOperationNotContains": "Does not contain",
	"dxFilterBuilder-filterOperationEndsWith": "Ends with",
	"dxFilterBuilder-filterOperationIsBlank": "Is blank",
	"dxFilterBuilder-filterOperationIsNotBlank": "Is not blank",
	"dxFilterBuilder-filterOperationBetween": "Is between",
	"dxFilterBuilder-filterOperationAnyOf": "Is any of",
	"dxFilterBuilder-filterOperationNoneOf": "Is none of",
	"dxHtmlEditor-dialogColorCaption": "Skift skrifttypefarve",
	"dxHtmlEditor-dialogBackgroundCaption": "Skift baggrundsfarve",
	"dxHtmlEditor-dialogLinkCaption": "Tilføj Link",
	"dxHtmlEditor-dialogLinkUrlField": "URL",
	"dxHtmlEditor-dialogLinkTextField": "Tekst",
	"dxHtmlEditor-dialogLinkTargetField": "Åbn link i nyt vindue",
	"dxHtmlEditor-dialogImageCaption": "Tilføj billedee",
	"dxHtmlEditor-dialogImageUrlField": "URL",
	"dxHtmlEditor-dialogImageAltField": "Alternativ tekst",
	"dxHtmlEditor-dialogImageWidthField": "Bredde (px)",
	"dxHtmlEditor-dialogImageHeightField": "Højde (px)",
	"dxHtmlEditor-dialogInsertTableRowsField": "Rækker",
	"dxHtmlEditor-dialogInsertTableColumnsField": "Kolonne",
	"dxHtmlEditor-dialogInsertTableCaption": "Indsæt tabel",
	"dxHtmlEditor-heading": "Overskrift",
	"dxHtmlEditor-normalText": "Normal tekst",
	"dxFileManager-newDirectoryName": "Unavngivet mappe",
	"dxFileManager-rootDirectoryName": "Filer",
	"dxFileManager-errorNoAccess": "Adgang nægtet. Handlingen kunne ikke fuldføres.",
	"dxFileManager-errorDirectoryExistsFormat": "Mappen '{0}' findes allerede.",
	"dxFileManager-errorFileExistsFormat": "Filen '{0}' findes allerede.",
	"dxFileManager-errorFileNotFoundFormat": "Filen '{0}' blev ikke fundet.",
	"dxFileManager-errorDirectoryNotFoundFormat": "Mappen '{0}' blev ikke fundet.",
	"dxFileManager-errorWrongFileExtension": "Filtype er ikke tilladt.",
	"dxFileManager-errorMaxFileSizeExceeded": "Filstørrelse overstiger den maksimalt tilladte størrelse.",
	"dxFileManager-errorInvalidSymbols": "Dette navn indeholder ugyldige tegn.",
	"dxFileManager-errorDefault": "Uspecificeret fejl.",
	"dxFileManager-errorDirectoryOpenFailed": "Mappen kan ikke åbnes",
	"dxFileManager-commandCreate": "Ny mappe",
	"dxFileManager-commandRename": "Omdøb",
	"dxFileManager-commandMove": "Flyt til",
	"dxFileManager-commandCopy": "Kopier til",
	"dxFileManager-commandDelete": "Slet",
	"dxFileManager-commandDownload": "Download",
	"dxFileManager-commandUpload": "Upload filer",
	"dxFileManager-commandRefresh": "Opdater",
	"dxFileManager-commandThumbnails": "Miniatur visning",
	"dxFileManager-commandDetails": "Detalje visning",
	"dxFileManager-commandClearSelection": "Ryd markering",
	"dxFileManager-commandShowNavPane": "Skift navigationspanel",
	"dxFileManager-dialogDirectoryChooserMoveTitle": "Flyt til",
	"dxFileManager-dialogDirectoryChooserMoveButtonText": "Flyt",
	"dxFileManager-dialogDirectoryChooserCopyTitle": "Kopier til",
	"dxFileManager-dialogDirectoryChooserCopyButtonText": "Kopier",
	"dxFileManager-dialogRenameItemTitle": "Omdøb",
	"dxFileManager-dialogRenameItemButtonText": "Gem",
	"dxFileManager-dialogCreateDirectoryTitle": "Ny mappe",
	"dxFileManager-dialogCreateDirectoryButtonText": "Opret",
	"dxFileManager-dialogDeleteItemTitle": "Slet",
	"dxFileManager-dialogDeleteItemButtonText": "Slet",
	"dxFileManager-dialogDeleteItemSingleItemConfirmation": "Er du sikker på, at du vil slette {0}?",
	"dxFileManager-dialogDeleteItemMultipleItemsConfirmation": "Er du sikker på, at du vil slette {0} poster?",
	"dxFileManager-dialogButtonCancel": "Annuller",
	"dxFileManager-editingCreateSingleItemProcessingMessage": "Oprettelse af en mappe i {0}",
	"dxFileManager-editingCreateSingleItemSuccessMessage": "Oprettede en mappe i {0}",
	"dxFileManager-editingCreateSingleItemErrorMessage": "Mappe blev ikke oprettet",
	"dxFileManager-editingCreateCommonErrorMessage": "Mappe blev ikke oprettet",
	"dxFileManager-editingRenameSingleItemProcessingMessage": "Omdøbning af en post inden for {0}",
	"dxFileManager-editingRenameSingleItemSuccessMessage": "Omdøbte en post inde i {0}",
	"dxFileManager-editingRenameSingleItemErrorMessage": "Posten blev ikke omdøbt",
	"dxFileManager-editingRenameCommonErrorMessage": "Posten blev ikke omdøbt",
	"dxFileManager-editingDeleteSingleItemProcessingMessage": "Sletning af en post fra {0}",
	"dxFileManager-editingDeleteMultipleItemsProcessingMessage": "Sletning af {0} poster fra {1}",
	"dxFileManager-editingDeleteSingleItemSuccessMessage": "Slettede en post fra {0}",
	"dxFileManager-editingDeleteMultipleItemsSuccessMessage": "Slettede {0} poster fra {1}",
	"dxFileManager-editingDeleteSingleItemErrorMessage": "Post blev ikke slettet",
	"dxFileManager-editingDeleteMultipleItemsErrorMessage": "{0} poster blev ikke slettet",
	"dxFileManager-editingDeleteCommonErrorMessage": "Nogle poster blev ikke slettet",
	"dxFileManager-editingMoveSingleItemProcessingMessage": "Flytter en post til {0}",
	"dxFileManager-editingMoveMultipleItemsProcessingMessage": "Flytter {0} poster til {1}",
	"dxFileManager-editingMoveSingleItemSuccessMessage": "Flyttede en post til {0}",
	"dxFileManager-editingMoveMultipleItemsSuccessMessage": "Flyttede {0} poster til {1}",
	"dxFileManager-editingMoveSingleItemErrorMessage": "Posten blev ikke flyttet",
	"dxFileManager-editingMoveMultipleItemsErrorMessage": "{0} poster blev ikke flyttet",
	"dxFileManager-editingMoveCommonErrorMessage": "Nogle poster blev ikke flyttet",
	"dxFileManager-editingCopySingleItemProcessingMessage": "Kopierer en post til {0}",
	"dxFileManager-editingCopyMultipleItemsProcessingMessage": "Kopierer {0} poster til {1}",
	"dxFileManager-editingCopySingleItemSuccessMessage": "Kopierede en post til {0}",
	"dxFileManager-editingCopyMultipleItemsSuccessMessage": "Kopierede {0} poster til {1}",
	"dxFileManager-editingCopySingleItemErrorMessage": "Posten blev ikke kopieret",
	"dxFileManager-editingCopyMultipleItemsErrorMessage": "{0} poster blev ikke kopieret",
	"dxFileManager-editingCopyCommonErrorMessage": "Nogle poster blev ikke kopieret",
	"dxFileManager-editingUploadSingleItemProcessingMessage": "Uploader en post til {0}",
	"dxFileManager-editingUploadMultipleItemsProcessingMessage": "Uploader {0} poster til {1}",
	"dxFileManager-editingUploadSingleItemSuccessMessage": "Uploadede en post til {0}",
	"dxFileManager-editingUploadMultipleItemsSuccessMessage": "Uploadede {0} poster til {1}",
	"dxFileManager-editingUploadSingleItemErrorMessage": "Post blev ikke uploaded",
	"dxFileManager-editingUploadMultipleItemsErrorMessage": "{0} poster blev ikke uploaded",
	"dxFileManager-editingUploadCanceledMessage": "Annulleret",
	"dxFileManager-listDetailsColumnCaptionName": "Navn",
	"dxFileManager-listDetailsColumnCaptionDateModified": "Dato ændret",
	"dxFileManager-listDetailsColumnCaptionFileSize": "Filstørrelse",
	"dxFileManager-listThumbnailsTooltipTextSize": "Størrelse",
	"dxFileManager-listThumbnailsTooltipTextDateModified": "Dato ændret",
	"dxFileManager-notificationProgressPanelTitle": "Progress",
	"dxFileManager-notificationProgressPanelEmptyListText": "Ingen handlinger",
	"dxFileManager-notificationProgressPanelOperationCanceled": "Annulleret",
	"dxDiagram-categoryGeneral": "Generelt",
	"dxDiagram-categoryFlowchart": "Flowchart",
	"dxDiagram-categoryOrgChart": "Org Chart",
	"dxDiagram-categoryContainers": "Containers",
	"dxDiagram-categoryCustom": "Custom",
	"dxDiagram-commandExportToSvg": "Eksportér til SVG",
	"dxDiagram-commandExportToPng": "Eksportér til PNG",
	"dxDiagram-commandExportToJpg": "Eksportér til JPEG",
	"dxDiagram-commandUndo": "Fortryd",
	"dxDiagram-commandRedo": "Gentag",
	"dxDiagram-commandFontName": "Skriftnavn",
	"dxDiagram-commandFontSize": "Skriftstørrelse",
	"dxDiagram-commandBold": "Fed",
	"dxDiagram-commandItalic": "Kursiv",
	"dxDiagram-commandUnderline": "Understrege",
	"dxDiagram-commandTextColor": "Skriftfarve",
	"dxDiagram-commandLineColor": "Linjefarve",
	"dxDiagram-commandLineWidth": "Linjebredde",
	"dxDiagram-commandLineStyle": "Line Style",
	"dxDiagram-commandLineStyleSolid": "Solid",
	"dxDiagram-commandLineStyleDotted": "Dotted",
	"dxDiagram-commandLineStyleDashed": "Dashed",
	"dxDiagram-commandFillColor": "Fyld farve",
	"dxDiagram-commandAlignLeft": "Juster venstre",
	"dxDiagram-commandAlignCenter": "Juster center",
	"dxDiagram-commandAlignRight": "Juster højre",
	"dxDiagram-commandConnectorLineType": "Forbindelseslinjetype",
	"dxDiagram-commandConnectorLineStraight": "Lige",
	"dxDiagram-commandConnectorLineOrthogonal": "Ortogonal",
	"dxDiagram-commandConnectorLineStart": "Forbindelseslinjestart",
	"dxDiagram-commandConnectorLineEnd": "Forbindelseslinjeslut",
	"dxDiagram-commandConnectorLineNone": "Ingen",
	"dxDiagram-commandConnectorLineArrow": "Pil",
	"dxDiagram-commandFullscreen": "Fuld skærm",
	"dxDiagram-commandUnits": "Enheder",
	"dxDiagram-commandPageSize": "Sidestørrelse",
	"dxDiagram-commandPageOrientation": "Sideorientering",
	"dxDiagram-commandPageOrientationLandscape": "Landskab",
	"dxDiagram-commandPageOrientationPortrait": "Portræt",
	"dxDiagram-commandPageColor": "Sidefarve",
	"dxDiagram-commandShowGrid": "Vis grid",
	"dxDiagram-commandSnapToGrid": "Snap til grid",
	"dxDiagram-commandGridSize": "Grid størrelse",
	"dxDiagram-commandZoomLevel": "Zoomniveau",
	"dxDiagram-commandAutoZoom": "Auto zoom",
	"dxDiagram-commandFitToContent": "Tilpas til indhold",
	"dxDiagram-commandFitToWidth": "Tilpas til bredde",
	"dxDiagram-commandAutoZoomByContent": "Auto zoom efter indhold",
	"dxDiagram-commandAutoZoomByWidth": "Auto zoom efter bredde",
	"dxDiagram-commandSimpleView": "Enkel visning",
	"dxDiagram-commandCut": "Klip",
	"dxDiagram-commandCopy": "Kopier",
	"dxDiagram-commandPaste": "Indsæt",
	"dxDiagram-commandSelectAll": "Vælg alt",
	"dxDiagram-commandDelete": "Slet",
	"dxDiagram-commandBringToFront": "Send frem",
	"dxDiagram-commandSendToBack": "Send tilbage",
	"dxDiagram-commandLock": "Lås",
	"dxDiagram-commandUnlock": "Lås op",
	"dxDiagram-commandInsertShapeImage": "Indsæt billede ...",
	"dxDiagram-commandEditShapeImage": "Skift billede ...",
	"dxDiagram-commandDeleteShapeImage": "Slet billede",
	"dxDiagram-commandLayoutLeftToRight": "Venstre til højre",
	"dxDiagram-commandLayoutRightToLeft": "Højre til venstre",
	"dxDiagram-commandLayoutTopToBottom": "Top til bund",
	"dxDiagram-commandLayoutBottomToTop": "Bund til top",
	"dxDiagram-unitIn": "in",
	"dxDiagram-unitCm": "cm",
	"dxDiagram-unitPx": "px",
	"dxDiagram-dialogButtonOK": "OK",
	"dxDiagram-dialogButtonCancel": "Annuller",
	"dxDiagram-dialogInsertShapeImageTitle": "Indsæt billede",
	"dxDiagram-dialogEditShapeImageTitle": "Skift billede",
	"dxDiagram-dialogEditShapeImageSelectButton": "Vælg billede",
	"dxDiagram-dialogEditShapeImageLabelText": "eller slip filen her",
	"dxDiagram-uiExport": "Eksport",
	"dxDiagram-uiProperties": "Egenskaber",
	"dxDiagram-uiSettings": "Indstillinger",
	"dxDiagram-uiShowToolbox": "Vis værktøjskasse",
	"dxDiagram-uiSearch": "Søg",
	"dxDiagram-uiStyle": "Style",
	"dxDiagram-uiLayout": "Layout",
	"dxDiagram-uiLayoutTree": "Tree",
	"dxDiagram-uiLayoutLayered": "Layered",
	"dxDiagram-uiDiagram": "Diagram",
	"dxDiagram-uiText": "Tekst",
	"dxDiagram-uiObject": "Objekt",
	"dxDiagram-uiConnector": "Forbindelse",
	"dxDiagram-uiPage": "Side",
	"dxDiagram-shapeText": "Tekst",
	"dxDiagram-shapeRectangle": "Rektangel",
	"dxDiagram-shapeEllipse": "Ellipse",
	"dxDiagram-shapeCross": "Kryds",
	"dxDiagram-shapeTriangle": "Trekant",
	"dxDiagram-shapeDiamond": "Diamant",
	"dxDiagram-shapeHeart": "Hjerte",
	"dxDiagram-shapePentagon": "Femkant",
	"dxDiagram-shapeHexagon": "Sekskant",
	"dxDiagram-shapeOctagon": "Ottekant",
	"dxDiagram-shapeStar": "Stjerne",
	"dxDiagram-shapeArrowLeft": "Pil venstre",
	"dxDiagram-shapeArrowUp": "Pil op",
	"dxDiagram-shapeArrowRight": "Pil højre",
	"dxDiagram-shapeArrowDown": "Pil ned",
	"dxDiagram-shapeArrowUpDown": "Op Ned pil",
	"dxDiagram-shapeArrowLeftRight": "Venstre Højre pil",
	"dxDiagram-shapeProcess": "Process",
	"dxDiagram-shapeDecision": "Beslutning",
	"dxDiagram-shapeTerminator": "Terminator",
	"dxDiagram-shapePredefinedProcess": "Foruddefineret Process",
	"dxDiagram-shapeDocument": "Dokument",
	"dxDiagram-shapeMultipleDocuments": "Flere dokumenter",
	"dxDiagram-shapeManualInput": "Manuel Input",
	"dxDiagram-shapePreparation": "Forberedelse",
	"dxDiagram-shapeData": "Data",
	"dxDiagram-shapeDatabase": "Database",
	"dxDiagram-shapeHardDisk": "Harddisk",
	"dxDiagram-shapeInternalStorage": "Internt lager",
	"dxDiagram-shapePaperTape": "Papirbånd",
	"dxDiagram-shapeManualOperation": "Manuel handling",
	"dxDiagram-shapeDelay": "Forsinkelse",
	"dxDiagram-shapeStoredData": "Gemt data",
	"dxDiagram-shapeDisplay": "Visning",
	"dxDiagram-shapeMerge": "Flet",
	"dxDiagram-shapeConnector": "Forbindelse",
	"dxDiagram-shapeOr": "Eller",
	"dxDiagram-shapeSummingJunction": "Summing Junction",
	"dxDiagram-shapeContainerDefaultText": "Container",
	"dxDiagram-shapeVerticalContainer": "Lodret Container",
	"dxDiagram-shapeHorizontalContainer": "Vandret Container",
	"dxDiagram-shapeCardDefaultText": "Persons navn",
	"dxDiagram-shapeCardWithImageOnLeft": "Kort med billede til venstre",
	"dxDiagram-shapeCardWithImageOnTop": "Kort med billede øverst",
	"dxDiagram-shapeCardWithImageOnRight": "Kort med billede til højre",
	"dxGantt-dialogTitle": "Titel",
	"dxGantt-dialogStartTitle": "Start",
	"dxGantt-dialogEndTitle": "Slut",
	"dxGantt-dialogProgressTitle": "Progress",
	"dxGantt-dialogResourcesTitle": "Ressourcer",
	"dxGantt-dialogResourceManagerTitle": "Resource Manager",
	"dxGantt-dialogTaskDetailsTitle": "Opgavedetaljer",
	"dxGantt-dialogEditResourceListHint": "Rediger Ressourceliste",
	"dxGantt-dialogEditNoResources": "Ingen ressourcer",
	"dxGantt-dialogButtonAdd": "Tilføj",
	"dxGantt-contextMenuNewTask": "Ny opgave",
	"dxGantt-contextMenuNewSubtask": "Ny underopgave",
	"dxGantt-contextMenuDeleteTask": "Slet opgave",
	"dxGantt-contextMenuDeleteDependency": "Slet afhængighed",
	"dxGantt-dialogTaskDeleteConfirmation": "Sletning af en opgave sletter også alle dens afhængigheder og underopgaver. Er du sikker på, at du vil slette denne opgave?",
	"dxGantt-dialogDependencyDeleteConfirmation": "Er du sikker på, at du vil slette afhængigheden fra opgaven?",
	"dxGantt-dialogResourcesDeleteConfirmation": "Sletning af en ressource sletter den også fra opgaver, som denne ressource er tildelt. Er du sikker på, at du vil slette disse ressourcer? Ressource: {0}",
	"dxGantt-dialogConstraintCriticalViolationMessage": "Den opgave, du forsøger at flytte, er knyttet til en anden opgave ved hjælp af en afhængighedsrelation. Denne ændring ville være i konflikt med afhængighedsreglerne. Hvordan vil du fortsætte?",
	"dxGantt-dialogConstraintViolationMessage": "Den opgave, du forsøger at flytte, er knyttet til en anden opgave ved hjælp af en afhængighedsrelation. Hvordan vil du fortsætte?",
	"dxGantt-dialogCancelOperationMessage": "Annuller handlingen",
	"dxGantt-dialogDeleteDependencyMessage": "Slet afhængighed",
	"dxGantt-dialogMoveTaskAndKeepDependencyMessage": "Flyt opgaven og bevar afhængigheden",
	"dxGantt-undo": "Fortryd",
	"dxGantt-redo": "Gentag",
	"dxGantt-expandAll": "Udvid alle",
	"dxGantt-collapseAll": "Fold alle sammen",
	"dxGantt-addNewTask": "Tilføj ny opgave",
	"dxGantt-deleteSelectedTask": "Slet den valgte opgave",
	"dxGantt-zoomIn": "Zoom Ind",
	"dxGantt-zoomOut": "Zoom ud",
	"dxGantt-fullScreen": "Fuld skærm"
};
var devex_da = {
	en: en
};

var devex_da$1 = /*#__PURE__*/Object.freeze({
    __proto__: null,
    default: devex_da,
    en: en
});

export { MobiCloudDevextremeModule, devex_da$1 as devex_da, sendRequestFactory, sendRequestFactory_basic, sendRequestFactory_custom };
//# sourceMappingURL=mobicloud-core-devextreme.mjs.map
