@sap/ux-ui5-tooling 1.8.6 → 1.9.1

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/dist/cli/index.js CHANGED
@@ -23386,9 +23386,13 @@ var require_controls = __commonJS({
23386
23386
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23387
23387
  if (k2 === void 0)
23388
23388
  k2 = k;
23389
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23390
- return m[k];
23391
- } });
23389
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23390
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23391
+ desc = { enumerable: true, get: function() {
23392
+ return m[k];
23393
+ } };
23394
+ }
23395
+ Object.defineProperty(o, k2, desc);
23392
23396
  } : function(o, m, k, k2) {
23393
23397
  if (k2 === void 0)
23394
23398
  k2 = k;
@@ -23408,21 +23412,374 @@ var require_controls = __commonJS({
23408
23412
  }
23409
23413
  });
23410
23414
 
23415
+ // ../../node_modules/@sap/ux-specification-types/dist/common.js
23416
+ var require_common2 = __commonJS({
23417
+ "../../node_modules/@sap/ux-specification-types/dist/common.js"(exports2, module2) {
23418
+ var P = Object.defineProperty;
23419
+ var Ye = Object.getOwnPropertyDescriptor;
23420
+ var Ne = Object.getOwnPropertyNames;
23421
+ var y = Object.getOwnPropertySymbols;
23422
+ var O = Object.prototype.hasOwnProperty;
23423
+ var ze = Object.prototype.propertyIsEnumerable;
23424
+ var V = (c, n, t) => n in c ? P(c, n, { enumerable: true, configurable: true, writable: true, value: t }) : c[n] = t;
23425
+ var d = (c, n) => {
23426
+ for (var t in n || (n = {}))
23427
+ O.call(n, t) && V(c, t, n[t]);
23428
+ if (y)
23429
+ for (var t of y(n))
23430
+ ze.call(n, t) && V(c, t, n[t]);
23431
+ return c;
23432
+ };
23433
+ var qe = (c) => P(c, "__esModule", { value: true });
23434
+ var A = (c, n) => {
23435
+ for (var t in n)
23436
+ P(c, t, { get: n[t], enumerable: true });
23437
+ };
23438
+ var Je = (c, n, t, o) => {
23439
+ if (n && typeof n == "object" || typeof n == "function")
23440
+ for (let p of Ne(n))
23441
+ !O.call(c, p) && (t || p !== "default") && P(c, p, { get: () => n[p], enumerable: !(o = Ye(n, p)) || o.enumerable });
23442
+ return c;
23443
+ };
23444
+ var $e = ((c) => (n, t) => c && c.get(n) || (t = Je(qe({}), n, 1), c && c.set(n, t), t))(typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23445
+ var Ht = {};
23446
+ A(Ht, { ALPViewType: () => I, ActionTitlePrefix: () => tt, ArtifactType: () => w, BindingPropertyRegexAsString: () => ot, ControlType: () => M, CustomExtensionType: () => oe, DATESETTINGSPATH: () => mt, DataSourceType: () => $, DefinitionName: () => W, DirName: () => k, DraftDiscardEnabledSettings: () => N, ExportArtifacts: () => v, FIORI_FCL_ROOT_ID: () => ut, FIORI_FCL_ROOT_VIEW_NAME: () => xt, FRAGMENTNAMEPART: () => bt, FacetBase: () => G, FacetTitlePrefix: () => et, Features: () => ae, FileName: () => B, FioriElementsVersion: () => L, FlexChangeLayer: () => h, FlexibleColumnLayoutAggregations: () => J, FlexibleColumnLayoutType: () => F, GENERICAPPSETTINGS: () => St, LogSeverity: () => ee, LogSeverityLabel: () => At, MANIFESTPATH: () => nt, METADATAPATH: () => at, MacrosPropertyType: () => Y, ManifestSection: () => Z, OdataVersion: () => j, PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP: () => De, PageType: () => Ze, PageTypeV2: () => T, PageTypeV4: () => C, PropertyName: () => X, QUICKVARPATH: () => lt2, QUICKVARPATHX: () => gt2, SAPUI5_FRAGMENT_CLASS: () => dt, SAPUI5_VIEW_CLASS: () => Pt, SchemaKeyName: () => K, SchemaTag: () => Q, SchemaType: () => R, SectionType: () => U, StatePreservationMode: () => q2, TableColumnVerticalAlignment: () => z, TemplateType: () => te, UIVOCABULARY: () => st, UIVOCABULARYALPHADOT: () => ct, UIVOCABULARYDOT: () => pt, VOCWITHCOLONS: () => rt, VOCWITHSLASH: () => it, ViewTemplateType: () => H, ViewTypes: () => D, Visualization: () => _45, v2: () => f, v4: () => E });
23447
+ var T = ((i) => (i.ObjectPage = "ObjectPage", i.ListReport = "ListReport", i.OverviewPage = "OverviewPage", i.CustomPage = "CustomPage", i.AnalyticalListPage = "AnalyticalListPage", i))(T || {});
23448
+ var C = ((i) => (i.ObjectPage = "ObjectPage", i.ListReport = "ListReport", i.CustomPage = "CustomPage", i.FPMCustomPage = "FPMCustomPage", i.AnalyticalListPage = "AnalyticalListPage", i))(C || {});
23449
+ var Ze = d(d({}, T), C);
23450
+ var De = /* @__PURE__ */ new Map([["ListReport", "sap.suite.ui.generic.template.ListReport.view.ListReport"], ["AnalyticalListPage", "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"], ["ObjectPage", "sap.suite.ui.generic.template.ObjectPage.view.Details"]]);
23451
+ var L = ((t) => (t.v2 = "v2", t.v4 = "v4", t))(L || {});
23452
+ var j = ((t) => (t.v2 = "v2", t.v4 = "v4", t))(j || {});
23453
+ var F = ((m) => (m.OneColumn = "OneColumn", m.TwoColumnsBeginExpanded = "TwoColumnsBeginExpanded", m.TwoColumnsMidExpanded = "TwoColumnsMidExpanded", m.MidColumnFullScreen = "MidColumnFullScreen", m.ThreeColumnsMidExpanded = "ThreeColumnsMidExpanded", m.ThreeColumnsEndExpanded = "ThreeColumnsEndExpanded", m.ThreeColumnsMidExpandedEndHidden = "ThreeColumnsMidExpandedEndHidden", m.ThreeColumnsBeginExpandedEndHidden = "ThreeColumnsBeginExpandedEndHidden", m.EndColumnFullScreen = "EndColumnFullScreen", m))(F || {});
23454
+ var h = ((t) => (t.Vendor = "VENDOR", t.Customer = "CUSTOMER_BASE", t))(h || {});
23455
+ var R = ((b) => (b.Application = "Application", b.ObjectPage = "ObjectPage", b.ListReport = "ListReport", b.OverviewPage = "OverviewPage", b.AnalyticalListPage = "AnalyticalListPage", b.FreestylePage = "FreestylePage", b.FPMCustomPage = "FPMCustomPage", b.BuildingBlocks = "BuildingBlocks", b))(R || {});
23456
+ var v = ((t) => (t.flex = "flex", t.manifest = "manifest", t))(v || {});
23457
+ var I = ((t) => (t.Primary = "primary", t.Secondary = "secondary", t))(I || {});
23458
+ var U = ((o) => (o.Section = "Section", o.SubSection = "SubSection", o.HeaderSection = "HeaderSection", o))(U || {});
23459
+ var w = ((i) => (i.Manifest = "Manifest", i.FlexChange = "FlexChange", i.Annotation = "Annotation", i.Fragment = "Fragment", i.View = "View", i))(w || {});
23460
+ var M = ((g) => (g.Table = "sap.m.Table", g.TableColumn = "sap.m.Column", g.SmartTable = "sap.ui.comp.smarttable.SmartTable", g.SmartFilterBar = "sap.ui.comp.smartfilterbar.SmartFilterBar", g.SmartChart = "sap.ui.comp.smartchart.SmartChart", g.Group = "sap.ui.comp.smartform.Group", g.GroupElement = "sap.ui.comp.smartform.GroupElement", g.Button = "sap.m.Button", g.ToolbarButton = "sap.m.OverflowToolbarButton", g.Avatar = "sap.f.Avatar", g.ObjectPageDynamicHeaderTitle = "sap.uxap.ObjectPageDynamicHeaderTitle", g.ObjectPageGridProperties = "sap.ui.layout.GridData", g.ObjectPageHeader = "sap.uxap.ObjectPageHeader", g.ObjectPageLayout = "sap.uxap.ObjectPageLayout", g.HeaderAction = "sap.uxap.ObjectPageHeaderActionButton", g.DynamicPage = "sap.f.DynamicPage", g.Form = "sap.ui.layout.form", g.Chart = "sap.suite.ui.microchart", g.Section = "sap.uxap.ObjectPageSection", g.SubSection = "sap.uxap.ObjectPageSubSection", g))(M || {});
23461
+ var _45 = ((t) => (t.LineItem = "LineItem", t.Chart = "Chart", t))(_45 || {});
23462
+ var k = ((r) => (r.Sapux = "src", r.Schemas = ".schemas", r.Pages = "pages", r.Webapp = "webapp", r.Temp = ".tmp", r.Changes = "changes", r.LocalService = "localService", r.Controller = "controller", r.View = "view", r.Fragment = "fragment", r.Ext = "ext", r.VSCode = ".vscode", r))(k || {});
23463
+ var B = ((n) => (n.App = "app.json", n))(B || {});
23464
+ var et = "Facet ID: ";
23465
+ var tt = "Action ID: ";
23466
+ var G = ((S) => (S.LineItem = "LineItem", S.CollectionFacet = "CollectionFacet", S.Chart = "Chart", S.Form = "Form", S.Identification = "Identification", S.DataPoint = "DataPoint", S.Address = "Address", S.Contact = "Contact", S.PresentationVariant = "PresentationVariant", S.Unknown = "", S))(G || {});
23467
+ var ot = "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$";
23468
+ var H = ((i) => (i.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", i.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", i.TreeTableColumnsExtension = "TreeTableColumnsExtension", i.GridTableColumnsExtension = "GridTableColumnsExtension", i.ResponsiveTableCellsExtension = "ResponsiveTableCellsExtension", i))(H || {});
23469
+ var W = ((e) => (e.Action = "Action", e.Actions = "Actions", e.ActionsLR = "Actions<LineItems>", e.ALPChart = "ALPChart", e.ALPChartView = "ALPChartView", e.ALPTable = "ALPTable", e.ALPTableView = "ALPTableView", e.AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar", e.AnnotationPathAsObject = "AnnotationPathAsObject", e.ChartToolBarAction = "ChartToolBarAction", e.CommonHeaderFacetSettings = "CommonHeaderFacetSettings", e.CompactFilters = "CompactFilters", e.CustomFooterActionOP = "CustomFooterActionOP", e.CustomHeaderAction = "CustomHeaderAction", e.CustomHeaderActionOP = "CustomHeaderActionOP", e.CustomFormActionOP = "CustomFormActionOP", e.CustomTableAction = "CustomTableAction", e.CustomTableActionOP = "CustomTableActionOP", e.CustomColumn = "TableCustomColumn", e.CustomColumnOP = "TableCustomColumnOP", e.CustomColumns = "TableCustomColumns", e.CustomSections = "CustomSections", e.FieldPath = "FieldPath", e.Field = "Field", e.Fields = "Fields", e.Fields4Dialog = "Fields4Dialog", e.FilterBar = "FilterBar", e.FilterBarVisualFilters = "FilterBarVisualFilters", e.Footer = "Footer", e.FooterAction = "FooterAction", e.FooterActionV4 = "FooterActionV4", e.FooterActions = "FooterActions", e.FooterActionsLR = "FooterActions<LineItems>", e.Form = "Form", e.FormAction = "FormAction", e.GenericActions = "GenericActions", e.GenericColumnsOP = "GenericColumnsOP", e.GenericFooter = "GenericFooter", e.GenericSections = "GenericSections", e.Header = "Header", e.HeaderActions = "HeaderActions", e.ObjectPageHeaderAction = "ObjectPageHeaderAction", e.ObjectPageHeaderActions = "ObjectPageHeaderActions", e.HeaderSections = "HeaderSections", e.LineItems = "LineItems", e.LineItemsOfView = "LineItemsOfView", e.ListReportFilterBar = "ListReportFilterBar", e.LRTableView = "LRTableView", e.LRChartView = "LRChartView", e.MultiEditV2 = "MultiEdit", e.MultiTableModeV4 = "MultiTableModeV4", e.ObjectPageChart = "ObjectPageChart", e.ObjectPageCustomSectionFragment = "ObjectPageCustomSectionFragment", e.ObjectPageForm = "ObjectPageForm", e.ObjectPageFooter = "ObjectPageFooter", e.ObjectPageFooterAction = "ObjectPageFooterAction", e.ObjectPageFooterActions = "ObjectPageFooterActions", e.ObjectPageHeader = "ObjectPageHeader", e.ObjectPageHeaderSectionForm = "ObjectPageHeaderSectionForm", e.ObjectPageHeaderSectionChart = "ObjectPageHeaderSectionChart", e.ObjectPageHeaderSectionDataPoint = "ObjectPageHeaderSectionDataPoint", e.ObjectPageHeaderSectionContact = "ObjectPageHeaderSectionContact", e.ObjectPageHeaderSectionAddress = "ObjectPageHeaderSectionAddress", e.ObjectPageLayout = "ObjectPageLayout", e.ObjectPagePresentationVariant = "ObjectPagePresentationVariant", e.ObjectPageSectionAddress = "ObjectPageSectionAddress", e.ObjectPageSectionChart = "ObjectPageSectionChart", e.ObjectPageSectionContact = "ObjectPageSectionContact", e.ObjectPageSectionDataPoint = "ObjectPageSectionDataPoint", e.ObjectPageSectionForm = "ObjectPageSectionForm", e.ObjectPageSectionPresentationVariant = "ObjectPageSectionPresentationVariant", e.ObjectPageSectionTableV4 = "ObjectPageSectionTableV4", e.ObjectPageSubSections = "ObjectPageSubSections", e.ObjectPageTable = "ObjectPageTable", e.ObjectPageTableColumn = "ObjectPageTableColumn", e.ObjectPageToolBar = "ObjectPageToolBar", e.ObjectPageToolBarAction = "ObjectPageToolBarAction", e.ObjectPageToolBarActions = "ObjectPageToolBarActions", e.Position = "Position", e.PositionOP = "PositionOP", e.QuickVariant = "QuickVariant", e.QuickVariantSelectionOP = "QuickVariantSelectionOP", e.QuickVariantSelectionV4OP = "QuickVariantSelectionV4OP", e.RelatedFacetKeys = "RelatedFacetKeys", e.Sections = "Sections", e.SectionActions = "SectionActions", e.SelectionFields = "SelectionFields", e.Table = "Table", e.TableSPV = "TableSPV", e.TableColumn = "TableColumn", e.TableViewExtension = "TableViewExtension", e.ToolBarAction = "ToolBarAction", e.ToolBarLR = "ToolBar<LineItems>", e.ToolBar = "ToolBar", e.ViewTableColumn = "ViewTableColumn", e.ViewCustomColumn = "ViewTableCustomColumn", e.ViewCustomAction = "ViewTableCustomAction", e.ViewChartToolBar = "ViewChartToolBar", e.ViewToolBarAction = "ViewToolBarAction", e.ViewPosition = "ViewPosition", e.ViewCustomActionPosition = "ViewCustomActionPosition", e.VisualFilters = "VisualFilters", e.VisualFilter = "VisualFilter", e.CustomActionPosition = "CustomActionPosition", e.CustomActionPositionOP = "CustomActionPositionOP", e.CustomHeaderActionPosition = "CustomHeaderActionPosition", e.CustomHeaderActionPositionOP = "CustomHeaderActionPositionOP", e.CustomFooterActionPositionOP = "CustomFooterActionPositionOP", e))(W || {});
23470
+ var X = ((r) => (r.actions = "actions", r.annotationPath = "annotationPath", r.chart = "chart", r.columns = "columns", r.defaultPath = "defaultPath", r.defaultTemplateAnnotationPath = "defaultTemplateAnnotationPath", r.footer = "footer", r.header = "header", r.sections = "sections", r.table = "table", r.views = "views", r.visualFilters = "visualFilters", r))(X || {});
23471
+ var Q = ((r) => (r.annotationPath = "annotationPath", r.annotationType = "annotationType", r.artifactType = "artifactType", r.controlType = "controlType", r.dataType = "dataType", r.fullyQualifiedName = "fullyQualifiedName", r.hidden = "hidden", r.isViewNode = "isViewNode", r.key = "key", r.keys = "keys", r.target = "target", r.propertyIndex = "propertyIndex", r))(Q || {});
23472
+ var K = ((i) => (i.id = "ID", i.value = "Value", i.action = "Action", i.target = "Target", i.key = "Key", i))(K || {});
23473
+ var at = "webapp/localService/metadata.xml";
23474
+ var nt = "webapp/manifest.json";
23475
+ var it = "/@com.sap.vocabularies";
23476
+ var rt = "::@com.sap.vocabularies";
23477
+ var st = "com.sap.vocabularies.UI.v1";
23478
+ var pt = "com.sap.vocabularies.UI.v1.";
23479
+ var ct = "@com.sap.vocabularies.UI.v1.";
23480
+ var lt2 = "/quickVariantSelection";
23481
+ var gt2 = "/quickVariantSelectionX";
23482
+ var mt = "/filterSettings/dateSettings";
23483
+ var bt = ".fragment.";
23484
+ var Y = ((p) => (p.Control = "Control", p.Property = "Property", p.Aggregation = "Aggregation", p.Event = "Event", p))(Y || {});
23485
+ var N = ((n) => (n.restricted = "restricted", n))(N || {});
23486
+ var z = ((o) => (o.Top = "Top", o.Middle = "Middle", o.Bottom = "Bottom", o))(z || {});
23487
+ var q2 = ((t) => (t.persistence = "persistence", t.discovery = "discovery", t))(q2 || {});
23488
+ var J = ((o) => (o.BeginColumnPages = "beginColumnPages", o.MidColumnPages = "midColumnPages", o.EndColumnPages = "endColumnPages", o))(J || {});
23489
+ var $ = ((t) => (t.OData = "OData", t.ODataAnnotation = "ODataAnnotation", t))($ || {});
23490
+ var Z = ((i) => (i.ui = "sap.ui", i.app = "sap.app", i.generic = "sap.ui.generic.app", i.ovp = "sap.ovp", i.ui5 = "sap.ui5", i))(Z || {});
23491
+ var St = `${"sap.ui.generic.app"}/settings`;
23492
+ var xt = "sap.fe.templates.RootContainer.view.Fcl";
23493
+ var ut = "appRootView";
23494
+ var D = ((o) => (o.XML = "XML", o.HTML = "HTML", o.JSON = "JSON", o))(D || {});
23495
+ var Pt = "sap.ui.core.mvc.View";
23496
+ var dt = "sap.ui.core.Fragment";
23497
+ var ee = ((o) => (o.Error = "error", o.Warning = "warning", o.Info = "info", o))(ee || {});
23498
+ var At = { ["error"]: "Error", ["warning"]: "Warning", ["info"]: "Information" };
23499
+ var te = ((u) => (u.ListReportObjectPageV2 = "ListReportObjectPageV2", u.ListReportObjectPageV4 = "ListReportObjectPageV4", u.OverviewPageV2 = "OverviewPageV2", u.AnalyticalListPageV2 = "AnalyticalListPageV2", u.AnalyticalListPageV4 = "AnalyticalListPageV4", u.FreestylePageV4 = "FreestylePageV4", u))(te || {});
23500
+ var oe = ((x) => (x.CustomPage = "CustomPage", x.CustomColumn = "CustomColumn", x.CustomSection = "CustomSection", x.ObjectPage = "ObjectPage", x.CustomAction = "CustomAction", x.CustomView = "CustomView", x.ControllerExtension = "ControllerExtension", x))(oe || {});
23501
+ var ae = ((n) => (n.BuildingBlocks = "BuildingBlocks", n))(ae || {});
23502
+ var f = {};
23503
+ A(f, { CardSettingsType: () => re, CardTemplateType: () => ie, ChartCardType: () => ne, ChartType: () => fe, ContainerLayoutType: () => Oe, CreateMode: () => Ve, DateRangeType: () => me, DefaultContentView: () => Ae, DefaultDateRangeValueType: () => be, DefaultFilterMode: () => Te, ExtensionFragmentTypes: () => ye, FE_TEMPLATE_V2: () => Ct, FE_TEMPLATE_V2_ALP: () => yt, FE_TEMPLATE_V2_LIST_REPORT: () => Et, FE_TEMPLATE_V2_OBJECT_PAGE: () => ft, IgnoredFieldsType: () => de, LinkListFlavorType: () => ge, ListFlavorType: () => pe, ListTypeType: () => ce, LoadDataOnAppLaunchSettings: () => Ce, MeasureAggregateValues: () => se, SAPUI5_CONTROLLER_EXTENSION: () => Ot, SAPUI5_VIEW_EXTENSION: () => Vt, SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE: () => Ft, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => jt, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => Lt, SectionPosition: () => Ee, SortOrderType: () => le, Strategy: () => Pe, TableColumnExtensionTypeV2: () => ue, TableTypeV2: () => xe, cardTemplateTypeMap: () => Tt, customColumnViewTypes: () => Se });
23504
+ var ne = ((o) => (o.cardBubble = "cardBubble", o.cardchartsline = "cardchartsline", o.cardchartsdonut = "cardchartsdonut", o))(ne || {});
23505
+ var ie = ((m) => (m.analytical = "sap.ovp.cards.charts.analytical", m.analyticalv4 = "sap.ovp.cards.v4.charts.analytical", m.list = "sap.ovp.cards.list", m.listv4 = "sap.ovp.cards.v4.list", m.linklist = "sap.ovp.cards.linklist", m.linklistv4 = "sap.ovp.cards.v4.linklist", m.table = "sap.ovp.cards.table", m.tablev4 = "sap.ovp.cards.v4.table", m.stack = "sap.ovp.cards.stack", m))(ie || {});
23506
+ var Tt = { "sap.ovp.cards.charts.analytical": "AnalyticalCard", "sap.ovp.cards.v4.charts.analytical": "AnalyticalCard", "sap.ovp.cards.list": "ListCard", "sap.ovp.cards.v4.list": "ListCard", "sap.ovp.cards.linklist": "LinklistCard", "sap.ovp.cards.v4.linklist": "LinklistCard", "sap.ovp.cards.table": "TableCard", "sap.ovp.cards.v4.table": "TableCard", "sap.ovp.cards.stack": "StackCard" };
23507
+ var re = ((b) => (b.analyticalCardSettings = "analyticalCardSettings", b.analyticalCardSettingsv4 = "analyticalCardSettingsv4", b.listCardSettings = "listCardSettings", b.listCardSettingsv4 = "listCardSettingsv4", b.stackCardSettings = "stackCardSettings", b.linkListCardSettings = "linkListCardSettings", b.tableCardSettings = "tableCardSettings", b.tableCardSettingsv4 = "tableCardSettingsv4", b))(re || {});
23508
+ var se = ((i) => (i.average = "average", i.max = "max", i.min = "min", i.sum = "sum", i.count = "$count", i))(se || {});
23509
+ var pe = ((o) => (o.standard = "standard", o.bar = "bar", o.carousel = "carousel", o))(pe || {});
23510
+ var ce = ((t) => (t.extended = "extended", t.condensed = "condensed", t))(ce || {});
23511
+ var le = ((t) => (t.ascending = "ascending", t.descending = "descending", t))(le || {});
23512
+ var ge = ((t) => (t.standard = "standard", t.carousel = "carousel", t))(ge || {});
23513
+ var me = ((a) => (a.DATERANGE = "DATERANGE", a.DATE = "DATE", a.FROM = "FROM", a.TO = "TO", a.DAYS = "DAYS", a.LASTDAYS = "LASTDAYS", a.LASTWEEKS = "LASTWEEKS", a.WEEK = "WEEK", a.LASTMONTHS = "LASTMONTHS", a.MONTH = "MONTH", a.QUARTER = "QUARTER", a.LASTQUARTERS = "LASTQUARTERS", a.LASTYEARS = "LASTYEARS", a.LASTYEAR = "LASTYEAR", a.YEAR = "YEAR", a.NEXTDAYS = "NEXTDAYS", a.NEXTWEEKS = "NEXTWEEKS", a.NEXTMONTHS = "NEXTMONTHS", a.NEXTQUARTERS = "NEXTQUARTERS", a.NEXTYEARS = "NEXTYEARS", a.NEXT = "NEXT", a.SPECIFICMONTH = "SPECIFICMONTH", a.YESTERDAY = "YESTERDAY", a.YEARTODATE = "YEARTODATE", a.TODAY = "TODAY", a.TOMORROW = "TOMORROW", a.THISWEEK = "THISWEEK", a.LASTWEEK = "LASTWEEK", a.LAST2WEEKS = "LAST2WEEKS", a.LAST3WEEKS = "LAST3WEEKS", a.LAST4WEEKS = "LAST4WEEKS", a.LAST5WEEKS = "LAST5WEEKS", a.NEXTWEEK = "NEXTWEEK", a.NEXT2WEEKS = "NEXT2WEEKS", a.NEXT3WEEKS = "NEXT3WEEKS", a.NEXT4WEEKS = "NEXT4WEEKS", a.NEXT5WEEKS = "NEXT5WEEKS", a.THISMONTH = "THISMONTH", a.LASTMONTH = "LASTMONTH", a.NEXTMONTH = "NEXTMONTH", a.THISQUARTER = "THISQUARTER", a.LASTQUARTER = "LASTQUARTER", a.NEXTQUARTER = "NEXTQUARTER", a.QUARTER1 = "QUARTER1", a.QUARTER2 = "QUARTER2", a.QUARTER3 = "QUARTER3", a.QUARTER4 = "QUARTER4", a.TODAYFROMTO = "TODAYFROMTO", a))(me || {});
23514
+ var be = ((l) => (l.YESTERDAY = "YESTERDAY", l.TODAY = "TODAY", l.THISWEEK = "THISWEEK", l.LASTWEEK = "LASTWEEK", l.THISMONTH = "THISMONTH", l.TOMORROW = "TOMORROW", l.LASTMONTH = "LASTMONTH", l.THISQUARTER = "THISQUARTER", l.LASTQUARTER = "LASTQUARTER", l.THISYEAR = "THISYEAR", l.LASTYEAR = "LASTYEAR", l.LAST2WEEKS = "LAST2WEEKS", l.LAST3WEEKS = "LAST3WEEKS", l.LAST4WEEKS = "LAST4WEEKS", l.LAST5WEEKS = "LAST5WEEKS", l.YEARTODATE = "YEARTODATE", l.QUARTER1 = "QUARTER1", l.QUARTER2 = "QUARTER2", l.QUARTER3 = "QUARTER3", l.QUARTER4 = "QUARTER4", l.DATETOYEAR = "DATETOYEAR", l))(be || {});
23515
+ var Se = ((n) => (n.XML = "XML", n))(Se || {});
23516
+ var xe = ((p) => (p.ResponsiveTable = "ResponsiveTable", p.GridTable = "GridTable", p.AnalyticalTable = "AnalyticalTable", p.TreeTable = "TreeTable", p))(xe || {});
23517
+ var ue = ((p) => (p.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", p.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", p.TreeTableColumnsExtension = "TreeTableColumnsExtension", p.GridTableColumnsExtension = "GridTableColumnsExtension", p))(ue || {});
23518
+ var Pe = ((n) => (n.extension = "extension", n))(Pe || {});
23519
+ var de = ((n) => (n.GENERICPROPERTY = "GENERICPROPERTY", n))(de || {});
23520
+ var Ae = ((o) => (o.charttable = "charttable", o.chart = "chart", o.table = "table", o))(Ae || {});
23521
+ var Te = ((t) => (t.visual = "visual", t.compact = "compact", t))(Te || {});
23522
+ var Ce = ((o) => (o.always = "always", o.never = "never", o.ifAnyFilterExist = "ifAnyFilterExist", o))(Ce || {});
23523
+ var fe = ((s) => (s.bar = "bar", s.column = "column", s.line = "line", s.combination = "combination", s.pie = "pie", s.donut = "donut", s.scatter = "scatter", s.bubble = "bubble", s.heatmap = "heatmap", s.bullet = "bullet", s.verticalBullet = "vertical_bullet", s.stackedBar = "stacked_bar", s.stackedColumn = "stacked_column", s.stackedCombination = "stacked_combination", s.horizontalStackedCombination = "horizontal_stacked_combination", s.dualBar = "dual_bar", s.dualColumn = "dual_column", s.dualLine = "dual_line", s.dualStackedBar = "dual_stacked_bar", s.dualStackedColumn = "dual_stacked_column", s.dualCombination = "dual_combination", s.dualStackedCombination = "dual_stacked_combination", s.dualHorizontalCombination = "dual_horizontal_combination", s.dualHorizontalStackedCombination = "dual_horizontal_stacked_combination", s.hundredStackedBar = "100_stacked_bar", s.hundredStackedColumn = "100_stacked_column", s.hundredDualStackedBar = "100_dual_stacked_bar", s.hundredDualStackedColumn = "100_dual_stacked_column", s.waterfall = "waterfall", s.horizontalWaterfall = "horizontal_waterfall", s))(fe || {});
23524
+ var Ee = ((o) => (o.AfterFacet = "AfterFacet", o.BeforeFacet = "BeforeFacet", o.ReplaceFacet = "ReplaceFacet", o))(Ee || {});
23525
+ var ye = ((n) => (n.XML = "XML", n))(ye || {});
23526
+ var Ve = ((n) => (n.inline = "inline", n))(Ve || {});
23527
+ var Ct = "sap.suite.ui.generic.template";
23528
+ var ft = "sap.suite.ui.generic.template.ObjectPage";
23529
+ var Et = "sap.suite.ui.generic.template.ListReport";
23530
+ var yt = "sap.suite.ui.generic.template.AnalyticalListPage";
23531
+ var Vt = "sap.ui.viewExtensions";
23532
+ var Ot = "sap.ui.controllerExtensions";
23533
+ var Lt = "sap.suite.ui.generic.template.ObjectPage.view.Details";
23534
+ var jt = "sap.suite.ui.generic.template.ListReport.view.ListReport";
23535
+ var Ft = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
23536
+ var Oe = ((t) => (t.fixed = "fixed", t.resizable = "resizable", t))(Oe || {});
23537
+ var E = {};
23538
+ A(E, { ActionPlacement: () => Le, Availability: () => We, CustomSectionViewTypesV4: () => Be, DefaultPathType: () => ve, DesigntimeValues: () => Me, FE_TEMPLATE_V4: () => ht, FE_TEMPLATE_V4_ALP: () => Ut, FE_TEMPLATE_V4_CUSTOM_PAGE: () => Rt, FE_TEMPLATE_V4_LIST_REPORT: () => It, FE_TEMPLATE_V4_OBJECT_PAGE: () => vt, FIORI_FCL_ROUTER_CLASS: () => Mt, HorizontalAlign: () => Xe, InitialLayoutType: () => Ue, InitialLoadType: () => Re, LayoutType: () => Ie, Placement: () => He, SAPUI5_CONTROLLER_EXTENSION: () => kt, SAPUI5_DEPENDENCY_LIB_SAP_F: () => _t, SAPUI5_FRAGMENT_TYPE_V4: () => wt, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => Gt, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => Bt, SectionLayoutType: () => _e, SectionPosition: () => ke, SectionPositionV4: () => Ge, SelectType: () => we, SelectionMode: () => je, TableCreationModeType: () => he, TableTypeV4: () => Fe, VariantManagementTypeListReport: () => Ke, VariantManagementTypeObjectPage: () => Qe });
23539
+ var Le = ((t) => (t.After = "After", t.Before = "Before", t))(Le || {});
23540
+ var je = ((p) => (p.Multi = "Multi", p.None = "None", p.Single = "Single", p.Auto = "Auto", p))(je || {});
23541
+ var Fe = ((o) => (o.ResponsiveTable = "ResponsiveTable", o.GridTable = "GridTable", o.AnalyticalTable = "AnalyticalTable", o))(Fe || {});
23542
+ var he = ((o) => (o.NewPage = "NewPage", o.Inline = "Inline", o.CreationRow = "CreationRow", o))(he || {});
23543
+ var Re = ((o) => (o.Disabled = "Disabled", o.Enabled = "Enabled", o.Auto = "Auto", o))(Re || {});
23544
+ var ve = ((o) => (o.Primary = "primary", o.Secondary = "secondary", o.Both = "both", o))(ve || {});
23545
+ var Ie = ((t) => (t.Compact = "Compact", t.CompactVisual = "CompactVisual", t))(Ie || {});
23546
+ var Ue = ((t) => (t.Compact = "Compact", t.Visual = "Visual", t))(Ue || {});
23547
+ var we = ((t) => (t.single = "single", t.multi = "multi", t))(we || {});
23548
+ var Me = ((c) => (c["not-adaptable-visibility"] = "not-adaptable-visibility", c))(Me || {});
23549
+ var _e = ((t) => (t.Tabs = "Tabs", t.Page = "Page", t))(_e || {});
23550
+ var ke = ((t) => (t.After = "After", t.Before = "Before", t))(ke || {});
23551
+ var Be = ((n) => (n.XML = "XML", n))(Be || {});
23552
+ var ht = "sap.fe.templates";
23553
+ var Rt = "sap.fe.core.fpm";
23554
+ var vt = "sap.fe.templates.ObjectPage";
23555
+ var It = "sap.fe.templates.ListReport";
23556
+ var Ut = "sap.fe.templates.AnalyticalListPage";
23557
+ var wt = "XMLFragment";
23558
+ var Ge = ((t) => (t.AfterFacet = "AfterFacet", t.BeforeFacet = "BeforeFacet", t))(Ge || {});
23559
+ var Mt = "sap.f.routing.Router";
23560
+ var _t = "sap.f";
23561
+ var kt = "sap.ui.controllerExtensions";
23562
+ var Bt = "sap.fe.templates.ObjectPage.ObjectPageController";
23563
+ var Gt = "sap.fe.templates.ListReport.ListReportController";
23564
+ var He = ((t) => (t.After = "After", t.Before = "Before", t))(He || {});
23565
+ var We = ((o) => (o.Default = "Default", o.Adaptation = "Adaptation", o.Hidden = "Hidden", o))(We || {});
23566
+ var Xe = ((o) => (o.Begin = "Begin", o.Center = "Center", o.End = "End", o))(Xe || {});
23567
+ var Qe = ((t) => (t.None = "None", t.Control = "Control", t))(Qe || {});
23568
+ var Ke = ((o) => (o.None = "None", o.Control = "Control", o.Page = "Page", o))(Ke || {});
23569
+ module2.exports = $e(Ht);
23570
+ }
23571
+ });
23572
+
23573
+ // ../../node_modules/@sap/ux-specification-types/dist/apiTypes.js
23574
+ var require_apiTypes = __commonJS({
23575
+ "../../node_modules/@sap/ux-specification-types/dist/apiTypes.js"(exports2) {
23576
+ "use strict";
23577
+ Object.defineProperty(exports2, "__esModule", { value: true });
23578
+ exports2.Features = exports2.CustomExtensionType = exports2.TemplateType = exports2.LogSeverityLabel = exports2.LogSeverity = void 0;
23579
+ var LogSeverity2;
23580
+ (function(LogSeverity3) {
23581
+ LogSeverity3["Error"] = "error";
23582
+ LogSeverity3["Warning"] = "warning";
23583
+ LogSeverity3["Info"] = "info";
23584
+ })(LogSeverity2 = exports2.LogSeverity || (exports2.LogSeverity = {}));
23585
+ exports2.LogSeverityLabel = {
23586
+ ["error"]: "Error",
23587
+ ["warning"]: "Warning",
23588
+ ["info"]: "Information"
23589
+ };
23590
+ var TemplateType2;
23591
+ (function(TemplateType3) {
23592
+ TemplateType3["ListReportObjectPageV2"] = "ListReportObjectPageV2";
23593
+ TemplateType3["ListReportObjectPageV4"] = "ListReportObjectPageV4";
23594
+ TemplateType3["OverviewPageV2"] = "OverviewPageV2";
23595
+ TemplateType3["AnalyticalListPageV2"] = "AnalyticalListPageV2";
23596
+ TemplateType3["AnalyticalListPageV4"] = "AnalyticalListPageV4";
23597
+ TemplateType3["FreestylePageV4"] = "FreestylePageV4";
23598
+ })(TemplateType2 = exports2.TemplateType || (exports2.TemplateType = {}));
23599
+ var CustomExtensionType2;
23600
+ (function(CustomExtensionType3) {
23601
+ CustomExtensionType3["CustomPage"] = "CustomPage";
23602
+ CustomExtensionType3["CustomColumn"] = "CustomColumn";
23603
+ CustomExtensionType3["CustomSection"] = "CustomSection";
23604
+ CustomExtensionType3["ObjectPage"] = "ObjectPage";
23605
+ CustomExtensionType3["CustomAction"] = "CustomAction";
23606
+ CustomExtensionType3["CustomView"] = "CustomView";
23607
+ CustomExtensionType3["ControllerExtension"] = "ControllerExtension";
23608
+ })(CustomExtensionType2 = exports2.CustomExtensionType || (exports2.CustomExtensionType = {}));
23609
+ var Features2;
23610
+ (function(Features3) {
23611
+ Features3["BuildingBlocks"] = "BuildingBlocks";
23612
+ })(Features2 = exports2.Features || (exports2.Features = {}));
23613
+ }
23614
+ });
23615
+
23616
+ // ../../node_modules/@sap/ux-specification-types/dist/v2.js
23617
+ var require_v2 = __commonJS({
23618
+ "../../node_modules/@sap/ux-specification-types/dist/v2.js"(exports2, module2) {
23619
+ var p = Object.defineProperty;
23620
+ var h = Object.getOwnPropertyDescriptor;
23621
+ var F = Object.getOwnPropertyNames;
23622
+ var j = Object.prototype.hasOwnProperty;
23623
+ var W = (s) => p(s, "__esModule", { value: true });
23624
+ var w = (s, n) => {
23625
+ for (var a in n)
23626
+ p(s, a, { get: n[a], enumerable: true });
23627
+ };
23628
+ var M = (s, n, a, i) => {
23629
+ if (n && typeof n == "object" || typeof n == "function")
23630
+ for (let r of F(n))
23631
+ !j.call(s, r) && (a || r !== "default") && p(s, r, { get: () => n[r], enumerable: !(i = h(n, r)) || i.enumerable });
23632
+ return s;
23633
+ };
23634
+ var B = ((s) => (n, a) => s && s.get(n) || (a = M(W({}), n, 1), s && s.set(n, a), a))(typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23635
+ var Z = {};
23636
+ w(Z, { CardSettingsType: () => d, CardTemplateType: () => m, ChartCardType: () => b, ChartType: () => V, ContainerLayoutType: () => k, CreateMode: () => N, DateRangeType: () => u, DefaultContentView: () => y, DefaultDateRangeValueType: () => P, DefaultFilterMode: () => v, ExtensionFragmentTypes: () => _45, FE_TEMPLATE_V2: () => X, FE_TEMPLATE_V2_ALP: () => H, FE_TEMPLATE_V2_LIST_REPORT: () => G, FE_TEMPLATE_V2_OBJECT_PAGE: () => K, IgnoredFieldsType: () => R, LinkListFlavorType: () => A, ListFlavorType: () => T, ListTypeType: () => x, LoadDataOnAppLaunchSettings: () => U, MeasureAggregateValues: () => g, SAPUI5_CONTROLLER_EXTENSION: () => z, SAPUI5_VIEW_EXTENSION: () => Y, SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE: () => $, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => J, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => q2, SectionPosition: () => I, SortOrderType: () => E, Strategy: () => L, TableColumnExtensionTypeV2: () => O, TableTypeV2: () => C, cardTemplateTypeMap: () => Q, customColumnViewTypes: () => f });
23637
+ var b = ((i) => (i.cardBubble = "cardBubble", i.cardchartsline = "cardchartsline", i.cardchartsdonut = "cardchartsdonut", i))(b || {});
23638
+ var m = ((l) => (l.analytical = "sap.ovp.cards.charts.analytical", l.analyticalv4 = "sap.ovp.cards.v4.charts.analytical", l.list = "sap.ovp.cards.list", l.listv4 = "sap.ovp.cards.v4.list", l.linklist = "sap.ovp.cards.linklist", l.linklistv4 = "sap.ovp.cards.v4.linklist", l.table = "sap.ovp.cards.table", l.tablev4 = "sap.ovp.cards.v4.table", l.stack = "sap.ovp.cards.stack", l))(m || {});
23639
+ var Q = { "sap.ovp.cards.charts.analytical": "AnalyticalCard", "sap.ovp.cards.v4.charts.analytical": "AnalyticalCard", "sap.ovp.cards.list": "ListCard", "sap.ovp.cards.v4.list": "ListCard", "sap.ovp.cards.linklist": "LinklistCard", "sap.ovp.cards.v4.linklist": "LinklistCard", "sap.ovp.cards.table": "TableCard", "sap.ovp.cards.v4.table": "TableCard", "sap.ovp.cards.stack": "StackCard" };
23640
+ var d = ((c) => (c.analyticalCardSettings = "analyticalCardSettings", c.analyticalCardSettingsv4 = "analyticalCardSettingsv4", c.listCardSettings = "listCardSettings", c.listCardSettingsv4 = "listCardSettingsv4", c.stackCardSettings = "stackCardSettings", c.linkListCardSettings = "linkListCardSettings", c.tableCardSettings = "tableCardSettings", c.tableCardSettingsv4 = "tableCardSettingsv4", c))(d || {});
23641
+ var g = ((S) => (S.average = "average", S.max = "max", S.min = "min", S.sum = "sum", S.count = "$count", S))(g || {});
23642
+ var T = ((i) => (i.standard = "standard", i.bar = "bar", i.carousel = "carousel", i))(T || {});
23643
+ var x = ((a) => (a.extended = "extended", a.condensed = "condensed", a))(x || {});
23644
+ var E = ((a) => (a.ascending = "ascending", a.descending = "descending", a))(E || {});
23645
+ var A = ((a) => (a.standard = "standard", a.carousel = "carousel", a))(A || {});
23646
+ var u = ((e) => (e.DATERANGE = "DATERANGE", e.DATE = "DATE", e.FROM = "FROM", e.TO = "TO", e.DAYS = "DAYS", e.LASTDAYS = "LASTDAYS", e.LASTWEEKS = "LASTWEEKS", e.WEEK = "WEEK", e.LASTMONTHS = "LASTMONTHS", e.MONTH = "MONTH", e.QUARTER = "QUARTER", e.LASTQUARTERS = "LASTQUARTERS", e.LASTYEARS = "LASTYEARS", e.LASTYEAR = "LASTYEAR", e.YEAR = "YEAR", e.NEXTDAYS = "NEXTDAYS", e.NEXTWEEKS = "NEXTWEEKS", e.NEXTMONTHS = "NEXTMONTHS", e.NEXTQUARTERS = "NEXTQUARTERS", e.NEXTYEARS = "NEXTYEARS", e.NEXT = "NEXT", e.SPECIFICMONTH = "SPECIFICMONTH", e.YESTERDAY = "YESTERDAY", e.YEARTODATE = "YEARTODATE", e.TODAY = "TODAY", e.TOMORROW = "TOMORROW", e.THISWEEK = "THISWEEK", e.LASTWEEK = "LASTWEEK", e.LAST2WEEKS = "LAST2WEEKS", e.LAST3WEEKS = "LAST3WEEKS", e.LAST4WEEKS = "LAST4WEEKS", e.LAST5WEEKS = "LAST5WEEKS", e.NEXTWEEK = "NEXTWEEK", e.NEXT2WEEKS = "NEXT2WEEKS", e.NEXT3WEEKS = "NEXT3WEEKS", e.NEXT4WEEKS = "NEXT4WEEKS", e.NEXT5WEEKS = "NEXT5WEEKS", e.THISMONTH = "THISMONTH", e.LASTMONTH = "LASTMONTH", e.NEXTMONTH = "NEXTMONTH", e.THISQUARTER = "THISQUARTER", e.LASTQUARTER = "LASTQUARTER", e.NEXTQUARTER = "NEXTQUARTER", e.QUARTER1 = "QUARTER1", e.QUARTER2 = "QUARTER2", e.QUARTER3 = "QUARTER3", e.QUARTER4 = "QUARTER4", e.TODAYFROMTO = "TODAYFROMTO", e))(u || {});
23647
+ var P = ((o) => (o.YESTERDAY = "YESTERDAY", o.TODAY = "TODAY", o.THISWEEK = "THISWEEK", o.LASTWEEK = "LASTWEEK", o.THISMONTH = "THISMONTH", o.TOMORROW = "TOMORROW", o.LASTMONTH = "LASTMONTH", o.THISQUARTER = "THISQUARTER", o.LASTQUARTER = "LASTQUARTER", o.THISYEAR = "THISYEAR", o.LASTYEAR = "LASTYEAR", o.LAST2WEEKS = "LAST2WEEKS", o.LAST3WEEKS = "LAST3WEEKS", o.LAST4WEEKS = "LAST4WEEKS", o.LAST5WEEKS = "LAST5WEEKS", o.YEARTODATE = "YEARTODATE", o.QUARTER1 = "QUARTER1", o.QUARTER2 = "QUARTER2", o.QUARTER3 = "QUARTER3", o.QUARTER4 = "QUARTER4", o.DATETOYEAR = "DATETOYEAR", o))(P || {});
23648
+ var f = ((n) => (n.XML = "XML", n))(f || {});
23649
+ var C = ((r) => (r.ResponsiveTable = "ResponsiveTable", r.GridTable = "GridTable", r.AnalyticalTable = "AnalyticalTable", r.TreeTable = "TreeTable", r))(C || {});
23650
+ var O = ((r) => (r.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", r.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", r.TreeTableColumnsExtension = "TreeTableColumnsExtension", r.GridTableColumnsExtension = "GridTableColumnsExtension", r))(O || {});
23651
+ var L = ((n) => (n.extension = "extension", n))(L || {});
23652
+ var R = ((n) => (n.GENERICPROPERTY = "GENERICPROPERTY", n))(R || {});
23653
+ var y = ((i) => (i.charttable = "charttable", i.chart = "chart", i.table = "table", i))(y || {});
23654
+ var v = ((a) => (a.visual = "visual", a.compact = "compact", a))(v || {});
23655
+ var U = ((i) => (i.always = "always", i.never = "never", i.ifAnyFilterExist = "ifAnyFilterExist", i))(U || {});
23656
+ var V = ((t) => (t.bar = "bar", t.column = "column", t.line = "line", t.combination = "combination", t.pie = "pie", t.donut = "donut", t.scatter = "scatter", t.bubble = "bubble", t.heatmap = "heatmap", t.bullet = "bullet", t.verticalBullet = "vertical_bullet", t.stackedBar = "stacked_bar", t.stackedColumn = "stacked_column", t.stackedCombination = "stacked_combination", t.horizontalStackedCombination = "horizontal_stacked_combination", t.dualBar = "dual_bar", t.dualColumn = "dual_column", t.dualLine = "dual_line", t.dualStackedBar = "dual_stacked_bar", t.dualStackedColumn = "dual_stacked_column", t.dualCombination = "dual_combination", t.dualStackedCombination = "dual_stacked_combination", t.dualHorizontalCombination = "dual_horizontal_combination", t.dualHorizontalStackedCombination = "dual_horizontal_stacked_combination", t.hundredStackedBar = "100_stacked_bar", t.hundredStackedColumn = "100_stacked_column", t.hundredDualStackedBar = "100_dual_stacked_bar", t.hundredDualStackedColumn = "100_dual_stacked_column", t.waterfall = "waterfall", t.horizontalWaterfall = "horizontal_waterfall", t))(V || {});
23657
+ var I = ((i) => (i.AfterFacet = "AfterFacet", i.BeforeFacet = "BeforeFacet", i.ReplaceFacet = "ReplaceFacet", i))(I || {});
23658
+ var _45 = ((n) => (n.XML = "XML", n))(_45 || {});
23659
+ var N = ((n) => (n.inline = "inline", n))(N || {});
23660
+ var X = "sap.suite.ui.generic.template";
23661
+ var K = "sap.suite.ui.generic.template.ObjectPage";
23662
+ var G = "sap.suite.ui.generic.template.ListReport";
23663
+ var H = "sap.suite.ui.generic.template.AnalyticalListPage";
23664
+ var Y = "sap.ui.viewExtensions";
23665
+ var z = "sap.ui.controllerExtensions";
23666
+ var q2 = "sap.suite.ui.generic.template.ObjectPage.view.Details";
23667
+ var J = "sap.suite.ui.generic.template.ListReport.view.ListReport";
23668
+ var $ = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
23669
+ var k = ((a) => (a.fixed = "fixed", a.resizable = "resizable", a))(k || {});
23670
+ module2.exports = B(Z);
23671
+ }
23672
+ });
23673
+
23674
+ // ../../node_modules/@sap/ux-specification-types/dist/v4.js
23675
+ var require_v4 = __commonJS({
23676
+ "../../node_modules/@sap/ux-specification-types/dist/v4.js"(exports2, module2) {
23677
+ var a = Object.defineProperty;
23678
+ var U = Object.getOwnPropertyDescriptor;
23679
+ var E = Object.getOwnPropertyNames;
23680
+ var w = Object.prototype.hasOwnProperty;
23681
+ var O = (i) => a(i, "__esModule", { value: true });
23682
+ var h = (i, o) => {
23683
+ for (var e in o)
23684
+ a(i, e, { get: o[e], enumerable: true });
23685
+ };
23686
+ var R = (i, o, e, t) => {
23687
+ if (o && typeof o == "object" || typeof o == "function")
23688
+ for (let n of E(o))
23689
+ !w.call(i, n) && (e || n !== "default") && a(i, n, { get: () => o[n], enumerable: !(t = U(o, n)) || t.enumerable });
23690
+ return i;
23691
+ };
23692
+ var j = ((i) => (o, e) => i && i.get(o) || (e = R(O({}), o, 1), i && i.set(o, e), e))(typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23693
+ var D = {};
23694
+ h(D, { ActionPlacement: () => r, Availability: () => d, CustomSectionViewTypesV4: () => C, DefaultPathType: () => g, DesigntimeValues: () => f, FE_TEMPLATE_V4: () => F, FE_TEMPLATE_V4_ALP: () => v, FE_TEMPLATE_V4_CUSTOM_PAGE: () => _45, FE_TEMPLATE_V4_LIST_REPORT: () => B, FE_TEMPLATE_V4_OBJECT_PAGE: () => L, FIORI_FCL_ROUTER_CLASS: () => M, HorizontalAlign: () => A, InitialLayoutType: () => x, InitialLoadType: () => l, LayoutType: () => m, Placement: () => T, SAPUI5_CONTROLLER_EXTENSION: () => k, SAPUI5_DEPENDENCY_LIB_SAP_F: () => I, SAPUI5_FRAGMENT_TYPE_V4: () => N, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => H, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => G, SectionLayoutType: () => b, SectionPosition: () => S, SectionPositionV4: () => P, SelectType: () => u, SelectionMode: () => s, TableCreationModeType: () => c, TableTypeV4: () => p, VariantManagementTypeListReport: () => y, VariantManagementTypeObjectPage: () => V });
23695
+ var r = ((e) => (e.After = "After", e.Before = "Before", e))(r || {});
23696
+ var s = ((n) => (n.Multi = "Multi", n.None = "None", n.Single = "Single", n.Auto = "Auto", n))(s || {});
23697
+ var p = ((t) => (t.ResponsiveTable = "ResponsiveTable", t.GridTable = "GridTable", t.AnalyticalTable = "AnalyticalTable", t))(p || {});
23698
+ var c = ((t) => (t.NewPage = "NewPage", t.Inline = "Inline", t.CreationRow = "CreationRow", t))(c || {});
23699
+ var l = ((t) => (t.Disabled = "Disabled", t.Enabled = "Enabled", t.Auto = "Auto", t))(l || {});
23700
+ var g = ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Both = "both", t))(g || {});
23701
+ var m = ((e) => (e.Compact = "Compact", e.CompactVisual = "CompactVisual", e))(m || {});
23702
+ var x = ((e) => (e.Compact = "Compact", e.Visual = "Visual", e))(x || {});
23703
+ var u = ((e) => (e.single = "single", e.multi = "multi", e))(u || {});
23704
+ var f = ((i) => (i["not-adaptable-visibility"] = "not-adaptable-visibility", i))(f || {});
23705
+ var b = ((e) => (e.Tabs = "Tabs", e.Page = "Page", e))(b || {});
23706
+ var S = ((e) => (e.After = "After", e.Before = "Before", e))(S || {});
23707
+ var C = ((o) => (o.XML = "XML", o))(C || {});
23708
+ var F = "sap.fe.templates";
23709
+ var _45 = "sap.fe.core.fpm";
23710
+ var L = "sap.fe.templates.ObjectPage";
23711
+ var B = "sap.fe.templates.ListReport";
23712
+ var v = "sap.fe.templates.AnalyticalListPage";
23713
+ var N = "XMLFragment";
23714
+ var P = ((e) => (e.AfterFacet = "AfterFacet", e.BeforeFacet = "BeforeFacet", e))(P || {});
23715
+ var M = "sap.f.routing.Router";
23716
+ var I = "sap.f";
23717
+ var k = "sap.ui.controllerExtensions";
23718
+ var G = "sap.fe.templates.ObjectPage.ObjectPageController";
23719
+ var H = "sap.fe.templates.ListReport.ListReportController";
23720
+ var T = ((e) => (e.After = "After", e.Before = "Before", e))(T || {});
23721
+ var d = ((t) => (t.Default = "Default", t.Adaptation = "Adaptation", t.Hidden = "Hidden", t))(d || {});
23722
+ var A = ((t) => (t.Begin = "Begin", t.Center = "Center", t.End = "End", t))(A || {});
23723
+ var V = ((e) => (e.None = "None", e.Control = "Control", e))(V || {});
23724
+ var y = ((t) => (t.None = "None", t.Control = "Control", t.Page = "Page", t))(y || {});
23725
+ module2.exports = j(D);
23726
+ }
23727
+ });
23728
+
23729
+ // ../../node_modules/@sap/ux-specification-types/dist/index.js
23730
+ var require_dist4 = __commonJS({
23731
+ "../../node_modules/@sap/ux-specification-types/dist/index.js"(exports2) {
23732
+ "use strict";
23733
+ var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23734
+ if (k2 === void 0)
23735
+ k2 = k;
23736
+ Object.defineProperty(o, k2, { enumerable: true, get: function() {
23737
+ return m[k];
23738
+ } });
23739
+ } : function(o, m, k, k2) {
23740
+ if (k2 === void 0)
23741
+ k2 = k;
23742
+ o[k2] = m[k];
23743
+ });
23744
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
23745
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23746
+ } : function(o, v) {
23747
+ o["default"] = v;
23748
+ });
23749
+ var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
23750
+ for (var p in m)
23751
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
23752
+ __createBinding(exports3, m, p);
23753
+ };
23754
+ var __importStar = exports2 && exports2.__importStar || function(mod) {
23755
+ if (mod && mod.__esModule)
23756
+ return mod;
23757
+ var result2 = {};
23758
+ if (mod != null) {
23759
+ for (var k in mod)
23760
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
23761
+ __createBinding(result2, mod, k);
23762
+ }
23763
+ __setModuleDefault(result2, mod);
23764
+ return result2;
23765
+ };
23766
+ Object.defineProperty(exports2, "__esModule", { value: true });
23767
+ exports2.v4 = exports2.v2 = void 0;
23768
+ __exportStar(require_common2(), exports2);
23769
+ __exportStar(require_apiTypes(), exports2);
23770
+ exports2.v2 = __importStar(require_v2());
23771
+ exports2.v4 = __importStar(require_v4());
23772
+ }
23773
+ });
23774
+
23411
23775
  // ../lib/sapux-spec/dist/pages/page.js
23412
23776
  var require_page = __commonJS({
23413
23777
  "../lib/sapux-spec/dist/pages/page.js"(exports2) {
23414
23778
  "use strict";
23415
23779
  Object.defineProperty(exports2, "__esModule", { value: true });
23416
23780
  exports2.PageType = void 0;
23417
- var PageType2;
23418
- (function(PageType3) {
23419
- PageType3["ObjectPage"] = "ObjectPage";
23420
- PageType3["ListReport"] = "ListReport";
23421
- PageType3["OverviewPage"] = "OverviewPage";
23422
- PageType3["CustomPage"] = "CustomPage";
23423
- PageType3["FPMCustomPage"] = "FPMCustomPage";
23424
- PageType3["AnalyticalListPage"] = "AnalyticalListPage";
23425
- })(PageType2 = exports2.PageType || (exports2.PageType = {}));
23781
+ var ux_specification_types_1 = require_dist4();
23782
+ exports2.PageType = { ...ux_specification_types_1.PageTypeV2, ...ux_specification_types_1.PageTypeV4 };
23426
23783
  }
23427
23784
  });
23428
23785
 
@@ -23433,9 +23790,13 @@ var require_pages = __commonJS({
23433
23790
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23434
23791
  if (k2 === void 0)
23435
23792
  k2 = k;
23436
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23437
- return m[k];
23438
- } });
23793
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23794
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23795
+ desc = { enumerable: true, get: function() {
23796
+ return m[k];
23797
+ } };
23798
+ }
23799
+ Object.defineProperty(o, k2, desc);
23439
23800
  } : function(o, m, k, k2) {
23440
23801
  if (k2 === void 0)
23441
23802
  k2 = k;
@@ -23527,9 +23888,13 @@ var require_manifest = __commonJS({
23527
23888
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23528
23889
  if (k2 === void 0)
23529
23890
  k2 = k;
23530
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23531
- return m[k];
23532
- } });
23891
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23892
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23893
+ desc = { enumerable: true, get: function() {
23894
+ return m[k];
23895
+ } };
23896
+ }
23897
+ Object.defineProperty(o, k2, desc);
23533
23898
  } : function(o, m, k, k2) {
23534
23899
  if (k2 === void 0)
23535
23900
  k2 = k;
@@ -23568,9 +23933,13 @@ var require_webapp = __commonJS({
23568
23933
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23569
23934
  if (k2 === void 0)
23570
23935
  k2 = k;
23571
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23572
- return m[k];
23573
- } });
23936
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23937
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23938
+ desc = { enumerable: true, get: function() {
23939
+ return m[k];
23940
+ } };
23941
+ }
23942
+ Object.defineProperty(o, k2, desc);
23574
23943
  } : function(o, m, k, k2) {
23575
23944
  if (k2 === void 0)
23576
23945
  k2 = k;
@@ -23644,7 +24013,7 @@ var require_constants2 = __commonJS({
23644
24013
  FioriToolsSettings2["migrationSettingsFile"] = "migrationSettings.json";
23645
24014
  })(FioriToolsSettings = exports2.FioriToolsSettings || (exports2.FioriToolsSettings = {}));
23646
24015
  var getFioriToolsDirectory = () => {
23647
- return path_1.join(os_1.homedir(), FioriToolsSettings.dir);
24016
+ return (0, path_1.join)((0, os_1.homedir)(), FioriToolsSettings.dir);
23648
24017
  };
23649
24018
  exports2.getFioriToolsDirectory = getFioriToolsDirectory;
23650
24019
  var SchemeName;
@@ -23681,7 +24050,7 @@ var require_project = __commonJS({
23681
24050
  })(ProjectType = exports2.ProjectType || (exports2.ProjectType = {}));
23682
24051
  var DetailedProjectType;
23683
24052
  (function(DetailedProjectType2) {
23684
- DetailedProjectType2["Edxm"] = "EDMX Backend";
24053
+ DetailedProjectType2["Edmx"] = "EDMX Backend";
23685
24054
  DetailedProjectType2["CAPNode"] = "CAP Node.js";
23686
24055
  DetailedProjectType2["CAPJava"] = "CAP Java";
23687
24056
  })(DetailedProjectType = exports2.DetailedProjectType || (exports2.DetailedProjectType = {}));
@@ -23689,15 +24058,19 @@ var require_project = __commonJS({
23689
24058
  });
23690
24059
 
23691
24060
  // ../lib/sapux-spec/dist/index.js
23692
- var require_dist4 = __commonJS({
24061
+ var require_dist5 = __commonJS({
23693
24062
  "../lib/sapux-spec/dist/index.js"(exports2) {
23694
24063
  "use strict";
23695
24064
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23696
24065
  if (k2 === void 0)
23697
24066
  k2 = k;
23698
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23699
- return m[k];
23700
- } });
24067
+ var desc = Object.getOwnPropertyDescriptor(m, k);
24068
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24069
+ desc = { enumerable: true, get: function() {
24070
+ return m[k];
24071
+ } };
24072
+ }
24073
+ Object.defineProperty(o, k2, desc);
23701
24074
  } : function(o, m, k, k2) {
23702
24075
  if (k2 === void 0)
23703
24076
  k2 = k;
@@ -23735,7 +24108,7 @@ var require_commandRunner = __commonJS({
23735
24108
  run(cmd, args = []) {
23736
24109
  return new Promise((resolve2, reject2) => {
23737
24110
  const stack = [];
23738
- const spawnedCmd = child_process_1.spawn(cmd, args, {});
24111
+ const spawnedCmd = (0, child_process_1.spawn)(cmd, args, {});
23739
24112
  spawnedCmd.stdout.setEncoding("utf8");
23740
24113
  let response;
23741
24114
  spawnedCmd.stdout.on("data", (data2) => {
@@ -30033,7 +30406,7 @@ var require_i18n = __commonJS({
30033
30406
  });
30034
30407
 
30035
30408
  // ../lib/store/node_modules/debug/src/common.js
30036
- var require_common2 = __commonJS({
30409
+ var require_common3 = __commonJS({
30037
30410
  "../lib/store/node_modules/debug/src/common.js"(exports2, module2) {
30038
30411
  function setup(env3) {
30039
30412
  createDebug.debug = createDebug;
@@ -30336,7 +30709,7 @@ var require_browser2 = __commonJS({
30336
30709
  } catch (error3) {
30337
30710
  }
30338
30711
  }
30339
- module2.exports = require_common2()(exports2);
30712
+ module2.exports = require_common3()(exports2);
30340
30713
  var { formatters } = module2.exports;
30341
30714
  formatters.j = function(v) {
30342
30715
  try {
@@ -30506,7 +30879,7 @@ var require_node2 = __commonJS({
30506
30879
  debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
30507
30880
  }
30508
30881
  }
30509
- module2.exports = require_common2()(exports2);
30882
+ module2.exports = require_common3()(exports2);
30510
30883
  var { formatters } = module2.exports;
30511
30884
  formatters.o = function(v) {
30512
30885
  this.inspectOpts.colors = this.useColors;
@@ -30539,7 +30912,7 @@ var require_utils3 = __commonJS({
30539
30912
  var debug_1 = require_src6();
30540
30913
  exports2.STORE_NAMESPACE = "ft:store";
30541
30914
  exports2.MIGRATION_NAMESPACE = exports2.STORE_NAMESPACE + ":migrate";
30542
- var newDebugLogger = (namespace = exports2.STORE_NAMESPACE) => debug_1.debug(namespace);
30915
+ var newDebugLogger = (namespace = exports2.STORE_NAMESPACE) => (0, debug_1.debug)(namespace);
30543
30916
  exports2.newDebugLogger = newDebugLogger;
30544
30917
  var enableDebugLogger = (namespace) => debug_1.debug.enable(namespace);
30545
30918
  exports2.enableDebugLogger = enableDebugLogger;
@@ -30553,7 +30926,7 @@ var require_utils3 = __commonJS({
30553
30926
  function getExtendedLogger(l) {
30554
30927
  return {
30555
30928
  ...l,
30556
- debug: exports2.newDebugLogger()
30929
+ debug: (0, exports2.newDebugLogger)()
30557
30930
  };
30558
30931
  }
30559
30932
  exports2.getExtendedLogger = getExtendedLogger;
@@ -31018,15 +31391,19 @@ var require_helpTopics = __commonJS({
31018
31391
  });
31019
31392
 
31020
31393
  // ../lib/common-utils/dist/index.js
31021
- var require_dist5 = __commonJS({
31394
+ var require_dist6 = __commonJS({
31022
31395
  "../lib/common-utils/dist/index.js"(exports2) {
31023
31396
  "use strict";
31024
31397
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
31025
31398
  if (k2 === void 0)
31026
31399
  k2 = k;
31027
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
31028
- return m[k];
31029
- } });
31400
+ var desc = Object.getOwnPropertyDescriptor(m, k);
31401
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
31402
+ desc = { enumerable: true, get: function() {
31403
+ return m[k];
31404
+ } };
31405
+ }
31406
+ Object.defineProperty(o, k2, desc);
31030
31407
  } : function(o, m, k, k2) {
31031
31408
  if (k2 === void 0)
31032
31409
  k2 = k;
@@ -31063,7 +31440,7 @@ var require_dist5 = __commonJS({
31063
31440
  FioriToolsSettings2["dir"] = ".fioritools";
31064
31441
  })(FioriToolsSettings = exports2.FioriToolsSettings || (exports2.FioriToolsSettings = {}));
31065
31442
  var getFioriToolsDirectory = () => {
31066
- return path_1.default.join(os_1.homedir(), FioriToolsSettings.dir);
31443
+ return path_1.default.join((0, os_1.homedir)(), FioriToolsSettings.dir);
31067
31444
  };
31068
31445
  exports2.getFioriToolsDirectory = getFioriToolsDirectory;
31069
31446
  function filterReferenceUri(metadata) {
@@ -31080,9 +31457,13 @@ var require_filesystem = __commonJS({
31080
31457
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
31081
31458
  if (k2 === void 0)
31082
31459
  k2 = k;
31083
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
31084
- return m[k];
31085
- } });
31460
+ var desc = Object.getOwnPropertyDescriptor(m, k);
31461
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
31462
+ desc = { enumerable: true, get: function() {
31463
+ return m[k];
31464
+ } };
31465
+ }
31466
+ Object.defineProperty(o, k2, desc);
31086
31467
  } : function(o, m, k, k2) {
31087
31468
  if (k2 === void 0)
31088
31469
  k2 = k;
@@ -31110,7 +31491,7 @@ var require_filesystem = __commonJS({
31110
31491
  var path_1 = __importStar(require("path"));
31111
31492
  var fs_1 = require("fs");
31112
31493
  var pluralize_1 = require_pluralize();
31113
- var ux_common_utils_1 = require_dist5();
31494
+ var ux_common_utils_1 = require_dist6();
31114
31495
  exports2.basedir = ux_common_utils_1.getFioriToolsDirectory;
31115
31496
  var FilesystemStore = class {
31116
31497
  constructor(logger) {
@@ -31217,7 +31598,7 @@ var require_filesystem = __commonJS({
31217
31598
  var _a2, _b;
31218
31599
  let rawContents;
31219
31600
  try {
31220
- rawContents = (_a2 = fs_1.readFileSync(path_1.join(exports2.basedir(), `${entityName}.json`))) == null ? void 0 : _a2.toString().trim();
31601
+ rawContents = (_a2 = (0, fs_1.readFileSync)((0, path_1.join)((0, exports2.basedir)(), `${entityName}.json`))) == null ? void 0 : _a2.toString().trim();
31221
31602
  } catch (e) {
31222
31603
  this.logger.debug(e.message);
31223
31604
  return { error: e };
@@ -31234,16 +31615,16 @@ var require_filesystem = __commonJS({
31234
31615
  return { entities };
31235
31616
  }
31236
31617
  writeToFile(entityName, entities) {
31237
- const base = exports2.basedir();
31618
+ const base = (0, exports2.basedir)();
31238
31619
  const data2 = JSON.stringify({ [entityName]: entities }, null, 2);
31239
31620
  const filename = getEntityFileName(entityName);
31240
31621
  try {
31241
- fs_1.writeFileSync(path_1.default.join(base, filename), data2);
31622
+ (0, fs_1.writeFileSync)(path_1.default.join(base, filename), data2);
31242
31623
  } catch (e) {
31243
31624
  if (e.code === "ENOENT") {
31244
31625
  this.logger.debug(`Base directory [${base}] does not exist, trying to create it`);
31245
- fs_1.mkdirSync(base, { recursive: true });
31246
- fs_1.writeFileSync(path_1.default.join(base, filename), data2);
31626
+ (0, fs_1.mkdirSync)(base, { recursive: true });
31627
+ (0, fs_1.writeFileSync)(path_1.default.join(base, filename), data2);
31247
31628
  } else {
31248
31629
  throw e;
31249
31630
  }
@@ -31253,15 +31634,15 @@ var require_filesystem = __commonJS({
31253
31634
  exports2.FilesystemStore = FilesystemStore;
31254
31635
  function toPersistenceName(s) {
31255
31636
  const t = s == null ? void 0 : s.trim().toLowerCase();
31256
- return t && pluralize_1.plural(t);
31637
+ return t && (0, pluralize_1.plural)(t);
31257
31638
  }
31258
31639
  function getEntityFileName(entityName) {
31259
31640
  return toPersistenceName(entityName) + ".json";
31260
31641
  }
31261
31642
  function getFilesystemWatcherFor(entityName, callback) {
31262
- const watchPath = path_1.default.join(exports2.basedir(), getEntityFileName(entityName));
31263
- if (fs_1.existsSync(watchPath)) {
31264
- return fs_1.watch(watchPath, void 0, () => {
31643
+ const watchPath = path_1.default.join((0, exports2.basedir)(), getEntityFileName(entityName));
31644
+ if ((0, fs_1.existsSync)(watchPath)) {
31645
+ return (0, fs_1.watch)(watchPath, void 0, () => {
31265
31646
  callback(entityName);
31266
31647
  });
31267
31648
  } else {
@@ -31380,9 +31761,13 @@ var require_secure_store = __commonJS({
31380
31761
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
31381
31762
  if (k2 === void 0)
31382
31763
  k2 = k;
31383
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
31384
- return m[k];
31385
- } });
31764
+ var desc = Object.getOwnPropertyDescriptor(m, k);
31765
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
31766
+ desc = { enumerable: true, get: function() {
31767
+ return m[k];
31768
+ } };
31769
+ }
31770
+ Object.defineProperty(o, k2, desc);
31386
31771
  } : function(o, m, k, k2) {
31387
31772
  if (k2 === void 0)
31388
31773
  k2 = k;
@@ -31395,7 +31780,7 @@ var require_secure_store = __commonJS({
31395
31780
  };
31396
31781
  Object.defineProperty(exports2, "__esModule", { value: true });
31397
31782
  exports2.getSecureStore = void 0;
31398
- var ux_common_utils_1 = require_dist5();
31783
+ var ux_common_utils_1 = require_dist6();
31399
31784
  var dummy_store_1 = require_dummy_store();
31400
31785
  var keytar_store_1 = require_keytar_store();
31401
31786
  function getKeytar(log7) {
@@ -31429,7 +31814,7 @@ var require_secure_store = __commonJS({
31429
31814
  }
31430
31815
  }
31431
31816
  var getSecureStore = (log7) => {
31432
- if (ux_common_utils_1.isAppStudio() || process.env.UX_TOOLS_DISABLE_KEYSTORE) {
31817
+ if ((0, ux_common_utils_1.isAppStudio)() || process.env.UX_TOOLS_DISABLE_KEYSTORE) {
31433
31818
  return new dummy_store_1.DummyStore(log7);
31434
31819
  } else {
31435
31820
  const keytar = getKeytar(log7);
@@ -32216,7 +32601,7 @@ var require_hybrid = __commonJS({
32216
32601
  constructor(logger) {
32217
32602
  this.logger = logger;
32218
32603
  this.filesystem = new filesystem_1.FilesystemStore(this.logger);
32219
- this.secureStore = secure_store_1.getSecureStore(this.logger);
32604
+ this.secureStore = (0, secure_store_1.getSecureStore)(this.logger);
32220
32605
  }
32221
32606
  async read({ entityName, id }) {
32222
32607
  const serialized = await this.filesystem.read({ entityName, id });
@@ -32251,8 +32636,8 @@ var require_hybrid = __commonJS({
32251
32636
  return result2;
32252
32637
  }
32253
32638
  async write({ entityName, id, entity }) {
32254
- const serializableProps = decorators_1.getSerializableProperties(entity);
32255
- const sensitiveProps = decorators_1.getSensitiveDataProperties(entity);
32639
+ const serializableProps = (0, decorators_1.getSerializableProperties)(entity);
32640
+ const sensitiveProps = (0, decorators_1.getSensitiveDataProperties)(entity);
32256
32641
  if (serializableProps.length > 0 && sensitiveProps.length > 0) {
32257
32642
  for (let i = 0; i < serializableProps.length; i = i + 1) {
32258
32643
  if (sensitiveProps.indexOf(serializableProps[i]) !== -1) {
@@ -32261,14 +32646,14 @@ var require_hybrid = __commonJS({
32261
32646
  }
32262
32647
  }
32263
32648
  }
32264
- const serializable = utils_1.pick(entity, ...serializableProps);
32649
+ const serializable = (0, utils_1.pick)(entity, ...serializableProps);
32265
32650
  if (serializable) {
32266
32651
  this.logger.debug("hybrid/write - writing serializable properties: %O", serializable);
32267
32652
  await this.filesystem.write({ entityName, id, entity: serializable });
32268
32653
  } else {
32269
32654
  this.logger.debug("hybrid/write - no serializable properties found in %O", serializable);
32270
32655
  }
32271
- const sensitiveData = utils_1.pick(entity, ...sensitiveProps);
32656
+ const sensitiveData = (0, utils_1.pick)(entity, ...sensitiveProps);
32272
32657
  if (sensitiveData) {
32273
32658
  this.logger.debug(`hybrid/write - writing sensitive properties to secure store. ID: [${id}]`);
32274
32659
  await this.secureStore.save(getFullyQualifiedServiceName(entityName), id, sensitiveData);
@@ -32314,13 +32699,13 @@ var require_backend_system = __commonJS({
32314
32699
  AuthenticationType2["OAuth2ClientCredential"] = "oauth2ClientCredential";
32315
32700
  })(AuthenticationType = exports2.AuthenticationType || (exports2.AuthenticationType = {}));
32316
32701
  var BackendSystemKey = class {
32702
+ static from(system) {
32703
+ return new BackendSystemKey({ url: system.url, client: system.client });
32704
+ }
32317
32705
  constructor({ url, client }) {
32318
32706
  this.url = url.trim().replace(/\/$/, "");
32319
32707
  this.client = client == null ? void 0 : client.trim();
32320
32708
  }
32321
- static from(system) {
32322
- return new BackendSystemKey({ url: system.url, client: system.client });
32323
- }
32324
32709
  getId() {
32325
32710
  return this.url + `${this.client ? "/" + this.client : ""}`;
32326
32711
  }
@@ -32577,16 +32962,16 @@ var require_system_migration2 = __commonJS({
32577
32962
  this.logger.debug(`Migrating sytem ID: [${systemId}]`);
32578
32963
  const refreshToken = await this.getRefreshTokenFromOldStore(oldSystem);
32579
32964
  if (refreshToken) {
32580
- this.logger.info(i18n_1.text("info.foundRefreshToken", { systemId }));
32965
+ this.logger.info((0, i18n_1.text)("info.foundRefreshToken", { systemId }));
32581
32966
  }
32582
32967
  await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...oldSystem, refreshToken }));
32583
32968
  await this.secureStore.delete(contants_1.ServiceName.OldSystemService, systemId);
32584
32969
  if (refreshToken) {
32585
32970
  await this.deleteOldRefreshToken(oldSystem, systemId);
32586
- this.logger.info(i18n_1.text("info.deletingRefreshTokenFromOldStore", { systemId }));
32971
+ this.logger.info((0, i18n_1.text)("info.deletingRefreshTokenFromOldStore", { systemId }));
32587
32972
  }
32588
32973
  } else {
32589
- this.logger.info(i18n_1.text("error.systemAlreadyExistsInHybridStore", { systemId }));
32974
+ this.logger.info((0, i18n_1.text)("error.systemAlreadyExistsInHybridStore", { systemId }));
32590
32975
  }
32591
32976
  }
32592
32977
  }
@@ -32596,7 +32981,7 @@ var require_system_migration2 = __commonJS({
32596
32981
  const existingSystem = existingSystems[systemId];
32597
32982
  const refreshToken = await this.getRefreshTokenFromOldStore(existingSystem);
32598
32983
  if (refreshToken) {
32599
- this.logger.info(i18n_1.text("info.foundRefreshToken", { systemId }));
32984
+ this.logger.info((0, i18n_1.text)("info.foundRefreshToken", { systemId }));
32600
32985
  await this.updateRefreshTokenInStoredSystem(existingSystem, refreshToken, systemId);
32601
32986
  await this.deleteOldRefreshToken(existingSystem, systemId);
32602
32987
  }
@@ -32607,13 +32992,13 @@ var require_system_migration2 = __commonJS({
32607
32992
  for (const systemId of Object.keys(existingSystems)) {
32608
32993
  const existingSystem = existingSystems[systemId];
32609
32994
  if (!existingSystem.authenticationType) {
32610
- this.logger.info(i18n_1.text("info.tryingToUpdateAuthType", { systemId }));
32995
+ this.logger.info((0, i18n_1.text)("info.tryingToUpdateAuthType", { systemId }));
32611
32996
  const authenticationType = this.guessAuthType(existingSystem);
32612
32997
  if (authenticationType) {
32613
- this.logger.info(i18n_1.text("info.authTypeDetermined", { authenticationType, systemId }));
32998
+ this.logger.info((0, i18n_1.text)("info.authTypeDetermined", { authenticationType, systemId }));
32614
32999
  await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...existingSystem, authenticationType }));
32615
33000
  } else {
32616
- this.logger.info(i18n_1.text("info.authTypeNotDetermined", { systemId }));
33001
+ this.logger.info((0, i18n_1.text)("info.authTypeNotDetermined", { systemId }));
32617
33002
  }
32618
33003
  }
32619
33004
  }
@@ -32638,18 +33023,18 @@ var require_system_migration2 = __commonJS({
32638
33023
  }
32639
33024
  async deleteOldRefreshToken(system, systemId) {
32640
33025
  var _a2;
32641
- this.logger.info(i18n_1.text("info.deletingRefreshTokenFromOldStore", { systemId }));
33026
+ this.logger.info((0, i18n_1.text)("info.deletingRefreshTokenFromOldStore", { systemId }));
32642
33027
  try {
32643
33028
  const host = (_a2 = new URL(system.url)) == null ? void 0 : _a2.host;
32644
33029
  await this.secureStore.delete(contants_1.ServiceName.OldRefreshTokenService, host);
32645
33030
  } catch (e) {
32646
- this.logger.info(i18n_1.text("error.couldNotDeleteRefreshToken", { url: system.url }));
33031
+ this.logger.info((0, i18n_1.text)("error.couldNotDeleteRefreshToken", { url: system.url }));
32647
33032
  this.logger.info(e.message);
32648
33033
  }
32649
33034
  }
32650
33035
  async updateRefreshTokenInStoredSystem(system, refreshToken, systemId) {
32651
33036
  if (system.refreshToken !== refreshToken) {
32652
- this.logger.info(i18n_1.text("info.updatingRefreshTokenInNewStore", { systemId }));
33037
+ this.logger.info((0, i18n_1.text)("info.updatingRefreshTokenInNewStore", { systemId }));
32653
33038
  await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...system, refreshToken }));
32654
33039
  }
32655
33040
  }
@@ -32672,7 +33057,7 @@ var require_system_migration2 = __commonJS({
32672
33057
  const systemMigrationStatusDataProvider = new system_migration_1.SystemMigrationStatusDataProvider(logger);
32673
33058
  const systemMigrationStatus = await systemMigrationStatusDataProvider.read(new system_migration_status_1.SystemMigrationStatusKey()) || { migrationDone: false, authTypeMigrated: false, migrationLogs: [] };
32674
33059
  const migrationLogger = createLogInterceptor(logger, systemMigrationStatus.migrationLogs);
32675
- const secureStore = secure_store_1.getSecureStore(migrationLogger);
33060
+ const secureStore = (0, secure_store_1.getSecureStore)(migrationLogger);
32676
33061
  const migration = new Migration({
32677
33062
  logger: migrationLogger,
32678
33063
  systemMigrationStatus,
@@ -32687,7 +33072,7 @@ var require_system_migration2 = __commonJS({
32687
33072
  }));
32688
33073
  }
32689
33074
  } catch (e) {
32690
- logger.warn(i18n_1.text("error.systemMigrationFailed"));
33075
+ logger.warn((0, i18n_1.text)("error.systemMigrationFailed"));
32691
33076
  logger.debug(e.message);
32692
33077
  }
32693
33078
  }
@@ -32708,11 +33093,11 @@ var require_system_migration2 = __commonJS({
32708
33093
  };
32709
33094
  }
32710
33095
  function getMigrationLogger(migrationLogs) {
32711
- const migrationLogger = utils_1.newDebugLogger(utils_1.MIGRATION_NAMESPACE);
33096
+ const migrationLogger = (0, utils_1.newDebugLogger)(utils_1.MIGRATION_NAMESPACE);
32712
33097
  migrationLogger.log = (args) => {
32713
33098
  migrationLogs.push(args == null ? void 0 : args.toString());
32714
33099
  };
32715
- utils_1.enableDebugLogger(utils_1.MIGRATION_NAMESPACE);
33100
+ (0, utils_1.enableDebugLogger)(utils_1.MIGRATION_NAMESPACE);
32716
33101
  return migrationLogger;
32717
33102
  }
32718
33103
  }
@@ -32732,7 +33117,7 @@ var require_backend_system3 = __commonJS({
32732
33117
  var SystemService = class {
32733
33118
  constructor(logger) {
32734
33119
  this.migrationDone = false;
32735
- this.logger = utils_1.getExtendedLogger(logger);
33120
+ this.logger = (0, utils_1.getExtendedLogger)(logger);
32736
33121
  this.dataProvider = new backend_system_1.SystemDataProvider(this.logger);
32737
33122
  }
32738
33123
  async partialUpdate(key, entity) {
@@ -32751,18 +33136,18 @@ var require_backend_system3 = __commonJS({
32751
33136
  async readOrThrow(key) {
32752
33137
  const existingSystem = await this.read(key);
32753
33138
  if (!existingSystem) {
32754
- throw new Error(i18n_1.text("error.systemDoesNotExist", { system: key }));
33139
+ throw new Error((0, i18n_1.text)("error.systemDoesNotExist", { system: key }));
32755
33140
  }
32756
33141
  return existingSystem;
32757
33142
  }
32758
33143
  validatePartialUpdateInput(entity) {
32759
33144
  if (!entity || !Object.keys(entity).length) {
32760
- throw new Error(i18n_1.text("error.noPropertiesSpecified"));
33145
+ throw new Error((0, i18n_1.text)("error.noPropertiesSpecified"));
32761
33146
  }
32762
33147
  }
32763
33148
  async ensureMigrationDone() {
32764
33149
  if (!this.migrationDone) {
32765
- await system_migration_1.migrate(this.logger, this.dataProvider);
33150
+ await (0, system_migration_1.migrate)(this.logger, this.dataProvider);
32766
33151
  this.migrationDone = true;
32767
33152
  }
32768
33153
  }
@@ -32818,15 +33203,19 @@ var require_data_access = __commonJS({
32818
33203
  });
32819
33204
 
32820
33205
  // ../lib/store/dist/index.js
32821
- var require_dist6 = __commonJS({
33206
+ var require_dist7 = __commonJS({
32822
33207
  "../lib/store/dist/index.js"(exports2) {
32823
33208
  "use strict";
32824
33209
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
32825
33210
  if (k2 === void 0)
32826
33211
  k2 = k;
32827
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
32828
- return m[k];
32829
- } });
33212
+ var desc = Object.getOwnPropertyDescriptor(m, k);
33213
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
33214
+ desc = { enumerable: true, get: function() {
33215
+ return m[k];
33216
+ } };
33217
+ }
33218
+ Object.defineProperty(o, k2, desc);
32830
33219
  } : function(o, m, k, k2) {
32831
33220
  if (k2 === void 0)
32832
33221
  k2 = k;
@@ -32849,12 +33238,12 @@ var require_dist6 = __commonJS({
32849
33238
  system: backend_system_1.getInstance
32850
33239
  };
32851
33240
  async function getService({ logger = console, entityName }) {
32852
- await i18n_1.initI18n();
33241
+ await (0, i18n_1.initI18n)();
32853
33242
  const factory = services[entityName];
32854
33243
  if (factory) {
32855
33244
  return factory(logger);
32856
33245
  } else {
32857
- throw new Error(i18n_1.text("error.unsupportedEntity", { entityName }));
33246
+ throw new Error((0, i18n_1.text)("error.unsupportedEntity", { entityName }));
32858
33247
  }
32859
33248
  }
32860
33249
  exports2.getService = getService;
@@ -32880,7 +33269,7 @@ var require_config = __commonJS({
32880
33269
  ServiceName2["RefreshToken"] = "fiori/system/refreshToken";
32881
33270
  ServiceName2["ApiHub"] = "fiori/system/apiHub";
32882
33271
  })(ServiceName = exports2.ServiceName || (exports2.ServiceName = {}));
32883
- var ux_store_1 = require_dist6();
33272
+ var ux_store_1 = require_dist7();
32884
33273
  Object.defineProperty(exports2, "AuthenticationType", { enumerable: true, get: function() {
32885
33274
  return ux_store_1.AuthenticationType;
32886
33275
  } });
@@ -33588,7 +33977,7 @@ var require_xhr = __commonJS({
33588
33977
  });
33589
33978
 
33590
33979
  // ../../node_modules/debug/src/common.js
33591
- var require_common3 = __commonJS({
33980
+ var require_common4 = __commonJS({
33592
33981
  "../../node_modules/debug/src/common.js"(exports2, module2) {
33593
33982
  function setup(env3) {
33594
33983
  createDebug.debug = createDebug;
@@ -33884,7 +34273,7 @@ var require_browser3 = __commonJS({
33884
34273
  } catch (error3) {
33885
34274
  }
33886
34275
  }
33887
- module2.exports = require_common3()(exports2);
34276
+ module2.exports = require_common4()(exports2);
33888
34277
  var { formatters } = module2.exports;
33889
34278
  formatters.j = function(v) {
33890
34279
  try {
@@ -34052,7 +34441,7 @@ var require_node3 = __commonJS({
34052
34441
  debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
34053
34442
  }
34054
34443
  }
34055
- module2.exports = require_common3()(exports2);
34444
+ module2.exports = require_common4()(exports2);
34056
34445
  var { formatters } = module2.exports;
34057
34446
  formatters.o = function(v) {
34058
34447
  this.inspectOpts.colors = this.useColors;
@@ -35617,7 +36006,7 @@ var require_open = __commonJS({
35617
36006
  });
35618
36007
 
35619
36008
  // ../lib/odata-client/dist/connection/common.js
35620
- var require_common4 = __commonJS({
36009
+ var require_common5 = __commonJS({
35621
36010
  "../lib/odata-client/dist/connection/common.js"(exports2) {
35622
36011
  "use strict";
35623
36012
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -36509,7 +36898,7 @@ var require_uaaOauth = __commonJS({
36509
36898
  var express_1 = __importDefault(require("express"));
36510
36899
  var fs_1 = require("fs");
36511
36900
  var _1 = require_connection();
36512
- var common_1 = require_common4();
36901
+ var common_1 = require_common5();
36513
36902
  var static_1 = require_static();
36514
36903
  var error_1 = require_error2();
36515
36904
  var qs_1 = __importDefault(require_lib());
@@ -36525,17 +36914,17 @@ var require_uaaOauth = __commonJS({
36525
36914
  Redirect.path = "/oauth/client/redirect";
36526
36915
  function getAuthCode({ uaa, log: log7, timeout: timeout2 = utils_1.timeoutMs }) {
36527
36916
  return new Promise((resolve2, reject2) => {
36528
- const app = express_1.default();
36917
+ const app = (0, express_1.default)();
36529
36918
  const server = http_1.default.createServer(app);
36530
36919
  let redirect;
36531
36920
  const handleTimeout = () => {
36532
36921
  server.close();
36533
- reject2(new error_1.UAATimeoutError(`Timeout. Did not get a response within ${utils_1.timeString(timeout2)}`));
36922
+ reject2(new error_1.UAATimeoutError(`Timeout. Did not get a response within ${(0, utils_1.timeString)(timeout2)}`));
36534
36923
  };
36535
36924
  const timer = setTimeout(handleTimeout, timeout2);
36536
36925
  app.get(Redirect.path, (req, res) => {
36537
36926
  res.set("Content-Type", "text/html");
36538
- res.send(Buffer.from(static_1.redirectSuccessHtml(uaa.logoutUrl, uaa.systemId)));
36927
+ res.send(Buffer.from((0, static_1.redirectSuccessHtml)(uaa.logoutUrl, uaa.systemId)));
36539
36928
  log7.info("Got authCode");
36540
36929
  resolve2({ authCode: req.query.code + "", redirect });
36541
36930
  if (timer) {
@@ -36777,7 +37166,7 @@ var require_uaaOauth = __commonJS({
36777
37166
  if (credentials.serviceKeysContents) {
36778
37167
  return typeof credentials.serviceKeyContents === "string" ? JSON.parse(credentials.serviceKeysContents) : credentials.serviceKeysContents;
36779
37168
  }
36780
- return JSON.parse(fs_1.readFileSync(credentials.serviceKeys, "utf-8"));
37169
+ return JSON.parse((0, fs_1.readFileSync)(credentials.serviceKeys, "utf-8"));
36781
37170
  } catch (e) {
36782
37171
  throw new Error("Error parsing service keys");
36783
37172
  }
@@ -36847,7 +37236,7 @@ var require_connectWithReentranceTicket = __commonJS({
36847
37236
  Object.defineProperty(exports2, "__esModule", { value: true });
36848
37237
  exports2.connectWithReentranceTicket = void 0;
36849
37238
  var axios_1 = __importDefault(require_axios2());
36850
- var common_1 = require_common4();
37239
+ var common_1 = require_common5();
36851
37240
  var express_1 = __importDefault(require("express"));
36852
37241
  var http_1 = __importDefault(require("http"));
36853
37242
  var https_1 = __importDefault(require("https"));
@@ -36890,11 +37279,11 @@ var require_connectWithReentranceTicket = __commonJS({
36890
37279
  var ADT_REENTRANCE_ENDPOINT = "/sap/bc/adt/core/http/reentranceticket";
36891
37280
  async function getReentranceTicket({ backendUrl, logger, timeout: timeout2 = utils_1.timeoutMs }) {
36892
37281
  return new Promise((resolve2, reject2) => {
36893
- const app = express_1.default();
37282
+ const app = (0, express_1.default)();
36894
37283
  const server = http_1.default.createServer(app);
36895
37284
  const handleTimeout = () => {
36896
37285
  server.close();
36897
- reject2(new error_1.TimeoutError(`Timeout. Did not get a response within ${utils_1.timeString(timeout2)}`));
37286
+ reject2(new error_1.TimeoutError(`Timeout. Did not get a response within ${(0, utils_1.timeString)(timeout2)}`));
36898
37287
  };
36899
37288
  class Redirect {
36900
37289
  static url(port) {
@@ -36908,7 +37297,7 @@ var require_connectWithReentranceTicket = __commonJS({
36908
37297
  const reentranceTicket = (_a2 = req.query["reentrance-ticket"]) == null ? void 0 : _a2.toString();
36909
37298
  logger.info("Got reentrance ticket: " + reentranceTicket);
36910
37299
  res.set("Content-Type", "text/html");
36911
- res.send(Buffer.from(static_1.redirectSuccessHtml(ABAPSystem.logoffUrl(backendUrl))));
37300
+ res.send(Buffer.from((0, static_1.redirectSuccessHtml)(ABAPSystem.logoffUrl(backendUrl))));
36912
37301
  if (timer) {
36913
37302
  clearTimeout(timer);
36914
37303
  }
@@ -44043,7 +44432,7 @@ var require_has_own_prop = __commonJS({
44043
44432
  });
44044
44433
 
44045
44434
  // ../../node_modules/comment-json/src/common.js
44046
- var require_common5 = __commonJS({
44435
+ var require_common6 = __commonJS({
44047
44436
  "../../node_modules/comment-json/src/common.js"(exports2, module2) {
44048
44437
  var hasOwnProperty = require_has_own_prop();
44049
44438
  var { isObject: isObject2, isArray } = require_util2();
@@ -44186,7 +44575,7 @@ var require_array = __commonJS({
44186
44575
  symbol,
44187
44576
  copy_comments,
44188
44577
  swap_comments
44189
- } = require_common5();
44578
+ } = require_common6();
44190
44579
  var reverse_comments = (array) => {
44191
44580
  const { length } = array;
44192
44581
  let i = 0;
@@ -44359,7 +44748,7 @@ var require_parse4 = __commonJS({
44359
44748
  UNDEFINED,
44360
44749
  define: define2,
44361
44750
  assign_non_prop_comments
44362
- } = require_common5();
44751
+ } = require_common6();
44363
44752
  var tokenize = (code) => esprima.tokenize(code, {
44364
44753
  comment: true,
44365
44754
  loc: true
@@ -44694,7 +45083,7 @@ var require_stringify3 = __commonJS({
44694
45083
  COMMA,
44695
45084
  EMPTY,
44696
45085
  UNDEFINED
44697
- } = require_common5();
45086
+ } = require_common6();
44698
45087
  var ESCAPABLE = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
44699
45088
  var SPACE = " ";
44700
45089
  var LF = "\n";
@@ -44856,7 +45245,7 @@ var require_src9 = __commonJS({
44856
45245
  var { parse: parse2, tokenize } = require_parse4();
44857
45246
  var stringify2 = require_stringify3();
44858
45247
  var { CommentArray } = require_array();
44859
- var { assign: assign2 } = require_common5();
45248
+ var { assign: assign2 } = require_common6();
44860
45249
  module2.exports = {
44861
45250
  parse: parse2,
44862
45251
  stringify: stringify2,
@@ -51335,14 +51724,14 @@ var require_destination = __commonJS({
51335
51724
  exports2.updateSystemConfig = exports2.replaceUrlForAppStudio = exports2.listDestinations = void 0;
51336
51725
  var axios_1 = __importDefault(require_axios2());
51337
51726
  var config_1 = require_config();
51338
- var ux_common_utils_1 = require_dist5();
51727
+ var ux_common_utils_1 = require_dist6();
51339
51728
  var cf_tools_1 = require_src10();
51340
51729
  var DEST = ".dest";
51341
51730
  async function fetchDestinations() {
51342
51731
  var _a2;
51343
51732
  const destinations = {};
51344
- await axios_1.default.get(ux_common_utils_1.getAppStudioProxyURL() + "/reload");
51345
- const response = await axios_1.default.get(ux_common_utils_1.getAppStudioBaseURL() + "/api/listDestinations");
51733
+ await axios_1.default.get((0, ux_common_utils_1.getAppStudioProxyURL)() + "/reload");
51734
+ const response = await axios_1.default.get((0, ux_common_utils_1.getAppStudioBaseURL)() + "/api/listDestinations");
51346
51735
  (_a2 = response == null ? void 0 : response.data) == null ? void 0 : _a2.forEach((destination) => {
51347
51736
  if (destination.WebIDEEnabled) {
51348
51737
  destinations[destination.Name] = destination;
@@ -51353,7 +51742,7 @@ var require_destination = __commonJS({
51353
51742
  async function getAuthHeaderForInstanceBasedDest(destinationInstance) {
51354
51743
  var _a2, _b;
51355
51744
  try {
51356
- const credentials = (await cf_tools_1.apiGetInstanceCredentials(destinationInstance)).credentials;
51745
+ const credentials = (await (0, cf_tools_1.apiGetInstanceCredentials)(destinationInstance)).credentials;
51357
51746
  const clientId = ((_a2 = credentials.uaa) == null ? void 0 : _a2.clientid) || credentials.clientid;
51358
51747
  const clientSecret = ((_b = credentials.uaa) == null ? void 0 : _b.clientsecret) || credentials.clientsecret;
51359
51748
  return Buffer.from(`${encodeURIComponent(clientId)}:${encodeURIComponent(clientSecret)}`).toString("base64");
@@ -51362,7 +51751,7 @@ var require_destination = __commonJS({
51362
51751
  }
51363
51752
  }
51364
51753
  async function listDestinations() {
51365
- if (ux_common_utils_1.isAppStudio()) {
51754
+ if ((0, ux_common_utils_1.isAppStudio)()) {
51366
51755
  return fetchDestinations();
51367
51756
  } else {
51368
51757
  return {};
@@ -51376,7 +51765,7 @@ var require_destination = __commonJS({
51376
51765
  systemConfig.url = `https://${destinationName}${DEST}`;
51377
51766
  systemConfig.basDestinationInstanceCred = await getAuthHeaderForInstanceBasedDest(destinationInstance);
51378
51767
  } else {
51379
- systemConfig.url = ux_common_utils_1.getAppStudioBaseURL();
51768
+ systemConfig.url = (0, ux_common_utils_1.getAppStudioBaseURL)();
51380
51769
  systemConfig.service = `/destinations/${destinationName != null ? destinationName : systemConfig.destination}${(_b = (_a2 = systemConfig.service) == null ? void 0 : _a2.replace(/^\/?/, "/")) != null ? _b : ""}`;
51381
51770
  }
51382
51771
  delete systemConfig.scp;
@@ -51384,7 +51773,7 @@ var require_destination = __commonJS({
51384
51773
  }
51385
51774
  exports2.replaceUrlForAppStudio = replaceUrlForAppStudio;
51386
51775
  async function updateSystemConfig(system) {
51387
- if (ux_common_utils_1.isAppStudio() && system.destination) {
51776
+ if ((0, ux_common_utils_1.isAppStudio)() && system.destination) {
51388
51777
  if (system.destinationInstance) {
51389
51778
  await replaceUrlForAppStudio(system, system.destination, system.destinationInstance);
51390
51779
  } else {
@@ -51392,7 +51781,7 @@ var require_destination = __commonJS({
51392
51781
  if (destinations[system.destination]) {
51393
51782
  const dest = destinations[system.destination];
51394
51783
  system.destinationAuthType = dest.Authentication;
51395
- if (config_1.hasFullUrlDestAttribute({
51784
+ if ((0, config_1.hasFullUrlDestAttribute)({
51396
51785
  ["WebIDEAdditionalData"]: dest["WebIDEAdditionalData"]
51397
51786
  })) {
51398
51787
  system.isDestinationFullUrl = true;
@@ -51417,9 +51806,13 @@ var require_connection = __commonJS({
51417
51806
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
51418
51807
  if (k2 === void 0)
51419
51808
  k2 = k;
51420
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
51421
- return m[k];
51422
- } });
51809
+ var desc = Object.getOwnPropertyDescriptor(m, k);
51810
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
51811
+ desc = { enumerable: true, get: function() {
51812
+ return m[k];
51813
+ } };
51814
+ }
51815
+ Object.defineProperty(o, k2, desc);
51423
51816
  } : function(o, m, k, k2) {
51424
51817
  if (k2 === void 0)
51425
51818
  k2 = k;
@@ -51441,11 +51834,11 @@ var require_connection = __commonJS({
51441
51834
  return cookies_1.Cookies;
51442
51835
  } });
51443
51836
  var config_1 = require_config();
51444
- var ux_common_utils_1 = require_dist5();
51837
+ var ux_common_utils_1 = require_dist6();
51445
51838
  var uaaOauth_1 = require_uaaOauth();
51446
51839
  var https_1 = __importDefault(require("https"));
51447
51840
  var url_1 = require("url");
51448
- var common_1 = require_common4();
51841
+ var common_1 = require_common5();
51449
51842
  var connectWithReentranceTicket_1 = require_connectWithReentranceTicket();
51450
51843
  var detect_content_type_1 = __importDefault(require_lib2());
51451
51844
  exports2.SAP_CLIENT = "sap-client";
@@ -51480,7 +51873,7 @@ var require_connection = __commonJS({
51480
51873
  if (target.client) {
51481
51874
  config2.params[exports2.SAP_CLIENT] = target.client;
51482
51875
  }
51483
- const isTargetDestOnAppStudio = ux_common_utils_1.isAppStudio() && target.destination;
51876
+ const isTargetDestOnAppStudio = (0, ux_common_utils_1.isAppStudio)() && target.destination;
51484
51877
  if (isTargetDestOnAppStudio || disableSAML) {
51485
51878
  config2.params.saml2 = "disabled";
51486
51879
  }
@@ -51529,7 +51922,7 @@ var require_connection = __commonJS({
51529
51922
  if (contentTypeHeader) {
51530
51923
  return contentTypeHeader.toLowerCase();
51531
51924
  } else if (typeof responseData === "string") {
51532
- return (_b = (_a2 = detect_content_type_1.default(Buffer.from(responseData))) == null ? void 0 : _a2.toLowerCase()) != null ? _b : "";
51925
+ return (_b = (_a2 = (0, detect_content_type_1.default)(Buffer.from(responseData))) == null ? void 0 : _a2.toLowerCase()) != null ? _b : "";
51533
51926
  } else {
51534
51927
  return "";
51535
51928
  }
@@ -51540,11 +51933,11 @@ var require_connection = __commonJS({
51540
51933
  async function connect({ target, credentials, log: log7, autoAddTrailingSlash = true, timeout: timeout2, ignoreCertError = false, postConnectionCallback, disableSAML = false }) {
51541
51934
  const targetAuthType = target.authenticationType;
51542
51935
  if (targetAuthType === config_1.AuthenticationType.OAuth2RefreshToken) {
51543
- return uaaOauth_1.connectUsingUaa({ target, credentials, log: log7, postConnectionCallback });
51936
+ return (0, uaaOauth_1.connectUsingUaa)({ target, credentials, log: log7, postConnectionCallback });
51544
51937
  } else if (targetAuthType === config_1.AuthenticationType.OAuth2ClientCredential) {
51545
- return uaaOauth_1.connectUsingUaaClientCredential({ target, credentials, log: log7 });
51938
+ return (0, uaaOauth_1.connectUsingUaaClientCredential)({ target, credentials, log: log7 });
51546
51939
  } else if (targetAuthType === config_1.AuthenticationType.ReentranceTicket) {
51547
- return connectWithReentranceTicket_1.connectWithReentranceTicket({ target, logger: log7, ignoreCertError });
51940
+ return (0, connectWithReentranceTicket_1.connectWithReentranceTicket)({ target, logger: log7, ignoreCertError });
51548
51941
  } else {
51549
51942
  return connectWithBasicAuth({
51550
51943
  target,
@@ -51577,7 +51970,7 @@ var require_httpClient = __commonJS({
51577
51970
  var https_1 = __importDefault(require("https"));
51578
51971
  var url_1 = require("url");
51579
51972
  async function newHttpClient({ system, credentials, log: log7, existingConnection, autoAddTrailingSlash = true, timeout: timeout2, ignoreCertError, postConnectionCallback, disableSAML = false }) {
51580
- const connection = existingConnection || await connection_1.connect({
51973
+ const connection = existingConnection || await (0, connection_1.connect)({
51581
51974
  target: system,
51582
51975
  credentials,
51583
51976
  log: log7,
@@ -53037,7 +53430,7 @@ var require_source6 = __commonJS({
53037
53430
  });
53038
53431
 
53039
53432
  // ../lib/odata-client/node_modules/debug/src/common.js
53040
- var require_common6 = __commonJS({
53433
+ var require_common7 = __commonJS({
53041
53434
  "../lib/odata-client/node_modules/debug/src/common.js"(exports2, module2) {
53042
53435
  function setup(env3) {
53043
53436
  createDebug.debug = createDebug;
@@ -53352,7 +53745,7 @@ var require_browser4 = __commonJS({
53352
53745
  } catch (error3) {
53353
53746
  }
53354
53747
  }
53355
- module2.exports = require_common6()(exports2);
53748
+ module2.exports = require_common7()(exports2);
53356
53749
  var { formatters } = module2.exports;
53357
53750
  formatters.j = function(v) {
53358
53751
  try {
@@ -53522,7 +53915,7 @@ var require_node4 = __commonJS({
53522
53915
  debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
53523
53916
  }
53524
53917
  }
53525
- module2.exports = require_common6()(exports2);
53918
+ module2.exports = require_common7()(exports2);
53526
53919
  var { formatters } = module2.exports;
53527
53920
  formatters.o = function(v) {
53528
53921
  this.inspectOpts.colors = this.useColors;
@@ -53557,7 +53950,7 @@ var require_message = __commonJS({
53557
53950
  exports2.printErrorDetails = exports2.prettyPrintError = exports2.prettyPrintMessage = void 0;
53558
53951
  var chalk_1 = __importDefault(require_source6());
53559
53952
  var debug_1 = __importDefault(require_src11());
53560
- var odataClientDebug = debug_1.default("ux-odata-client");
53953
+ var odataClientDebug = (0, debug_1.default)("ux-odata-client");
53561
53954
  function prettyPrintMessage(msg, log7, logData) {
53562
53955
  logLevel(msg.severity, msg.message, log7);
53563
53956
  if (msg.longtextUrl && logData.frontendUrl) {
@@ -54640,7 +55033,7 @@ var require_utils8 = __commonJS({
54640
55033
  exports2.hasServices = exports2.isSystemNameValid = exports2.getBTPSystem = exports2.getOnPremSystem = exports2.guessAuthType = exports2.xmlToJson = void 0;
54641
55034
  var fast_xml_parser_1 = __importDefault(require_parser2());
54642
55035
  var config_1 = require_config();
54643
- var __1 = require_dist7();
55036
+ var __1 = require_dist8();
54644
55037
  function xmlToJson(xml) {
54645
55038
  if (!xml || fast_xml_parser_1.default.validate(xml) !== true) {
54646
55039
  return;
@@ -54669,7 +55062,7 @@ var require_utils8 = __commonJS({
54669
55062
  exports2.guessAuthType = guessAuthType;
54670
55063
  async function getOnPremSystem(system, isImportedSystem = false) {
54671
55064
  var _a2, _b;
54672
- let sapSystem = await __1.getSapSystem(system.url, system.client);
55065
+ let sapSystem = await (0, __1.getSapSystem)(system.url, system.client);
54673
55066
  let isNewSapSystem = false;
54674
55067
  const creds = {
54675
55068
  username: (_a2 = system.credentials) == null ? void 0 : _a2.systemUsername,
@@ -54682,7 +55075,7 @@ var require_utils8 = __commonJS({
54682
55075
  sapSystem.setUserDisplayName(creds.username);
54683
55076
  }
54684
55077
  } else {
54685
- sapSystem = __1.newSapSystem(system.name || "", system.url, system.client, creds, true);
55078
+ sapSystem = (0, __1.newSapSystem)(system.name || "", system.url, system.client, creds, true);
54686
55079
  isNewSapSystem = true;
54687
55080
  }
54688
55081
  return { sapSystem, isNewSapSystem };
@@ -54692,13 +55085,13 @@ var require_utils8 = __commonJS({
54692
55085
  let sapSystem;
54693
55086
  let isNewSapSystem = false;
54694
55087
  if (system.url && system.credentials === savedSapSystemServiceKey) {
54695
- sapSystem = await __1.getSapSystem(system.url, system.client);
55088
+ sapSystem = await (0, __1.getSapSystem)(system.url, system.client);
54696
55089
  }
54697
55090
  if (sapSystem) {
54698
55091
  sapSystem.name = system.name || "";
54699
55092
  } else {
54700
- const newBTPSapSystem = __1.newSapSystemForSteampunk(system.name || "", system.credentials, true);
54701
- sapSystem = await __1.getSapSystem(newBTPSapSystem.url, newBTPSapSystem.client);
55093
+ const newBTPSapSystem = (0, __1.newSapSystemForSteampunk)(system.name || "", system.credentials, true);
55094
+ sapSystem = await (0, __1.getSapSystem)(newBTPSapSystem.url, newBTPSapSystem.client);
54702
55095
  if (!sapSystem) {
54703
55096
  isNewSapSystem = true;
54704
55097
  sapSystem = newBTPSapSystem;
@@ -54712,7 +55105,7 @@ var require_utils8 = __commonJS({
54712
55105
  return false;
54713
55106
  }
54714
55107
  let isValid = true;
54715
- const isNameInUse = await __1.isSystemNameInUse(newName);
55108
+ const isNameInUse = await (0, __1.isSystemNameInUse)(newName);
54716
55109
  if (isNameInUse && newName !== savedSystemName) {
54717
55110
  isValid = false;
54718
55111
  }
@@ -54813,7 +55206,7 @@ var require_oDataClient = __commonJS({
54813
55206
  Object.defineProperty(exports2, "__esModule", { value: true });
54814
55207
  exports2.ODataClient = void 0;
54815
55208
  var config_1 = require_config();
54816
- var ux_common_utils_1 = require_dist5();
55209
+ var ux_common_utils_1 = require_dist6();
54817
55210
  var httpClient_1 = require_httpClient();
54818
55211
  var message_1 = require_message();
54819
55212
  var destination_1 = require_destination();
@@ -54841,7 +55234,7 @@ var require_oDataClient = __commonJS({
54841
55234
  }
54842
55235
  initDebugLogger() {
54843
55236
  if (!ODataClient.hasAxiosDebugLoggerConfig) {
54844
- axios_debug_log_1.default({
55237
+ (0, axios_debug_log_1.default)({
54845
55238
  request: (debug2, req) => {
54846
55239
  var _a2;
54847
55240
  debug2(`${(_a2 = req.method) == null ? void 0 : _a2.toUpperCase()} ${this.buildFullUrl(req)}`);
@@ -54864,7 +55257,7 @@ var require_oDataClient = __commonJS({
54864
55257
  return reqConfig.baseURL ? `${reqConfig.baseURL}${reqConfig.url}` : `${reqConfig.url}`;
54865
55258
  }
54866
55259
  validateSysAuthType(system, credentials) {
54867
- system.authenticationType = system.authenticationType || utils_1.guessAuthType({ credentials, fallback: true });
55260
+ system.authenticationType = system.authenticationType || (0, utils_1.guessAuthType)({ credentials, fallback: true });
54868
55261
  if (!Object.values(config_1.AuthenticationType).includes(system.authenticationType)) {
54869
55262
  throw new error_1.UnknownSystemAuthenticationType(system.authenticationType);
54870
55263
  }
@@ -54872,15 +55265,15 @@ var require_oDataClient = __commonJS({
54872
55265
  logError(e, logData) {
54873
55266
  this.log.error(e.message);
54874
55267
  if (e.isAxiosError && e.response.data["error"]) {
54875
- message_1.prettyPrintError(e.response.data["error"], this.log, logData);
55268
+ (0, message_1.prettyPrintError)(e.response.data["error"], this.log, logData);
54876
55269
  }
54877
55270
  }
54878
55271
  async getClient() {
54879
55272
  if (!this.client) {
54880
- if (ux_common_utils_1.isAppStudio()) {
54881
- await destination_1.updateSystemConfig(this.system);
55273
+ if ((0, ux_common_utils_1.isAppStudio)()) {
55274
+ await (0, destination_1.updateSystemConfig)(this.system);
54882
55275
  }
54883
- const { connection, httpClient } = await httpClient_1.newHttpClient({
55276
+ const { connection, httpClient } = await (0, httpClient_1.newHttpClient)({
54884
55277
  system: this.system,
54885
55278
  credentials: this.credentials,
54886
55279
  log: this.log,
@@ -54908,7 +55301,7 @@ var require_oDataClient = __commonJS({
54908
55301
  const metadataPath = ((_a2 = this.system.service) == null ? void 0 : _a2.endsWith("/")) ? "$metadata" : "/$metadata";
54909
55302
  const edmx = await this.get(metadataPath, { Accept: "application/xml" });
54910
55303
  try {
54911
- return filterReferenceUriInEdmx ? ux_common_utils_1.filterReferenceUri(edmx) : edmx;
55304
+ return filterReferenceUriInEdmx ? (0, ux_common_utils_1.filterReferenceUri)(edmx) : edmx;
54912
55305
  } catch {
54913
55306
  return edmx;
54914
55307
  }
@@ -55004,12 +55397,12 @@ var require_ui5AbapRepository = __commonJS({
55004
55397
  if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["sap-message"]) {
55005
55398
  const message = JSON.parse(response.headers["sap-message"]);
55006
55399
  message["longtextUrl"] = message["longtext_url"];
55007
- message_1.prettyPrintMessage(message, this.log, { frontendUrl });
55400
+ (0, message_1.prettyPrintMessage)(message, this.log, { frontendUrl });
55008
55401
  const path5 = "/sap/bc/ui5_ui5" + (!app.name.startsWith("/") ? "/sap/" : "") + app.name.toLowerCase();
55009
55402
  const query = this.system.client ? "?sap-client=" + this.system.client : "";
55010
55403
  this.log.info(`App available at ${frontendUrl}${path5}${query}`);
55011
55404
  } else if (testMode) {
55012
- message_1.printErrorDetails((_c = (_b = response == null ? void 0 : response.data.error) == null ? void 0 : _b.innererror) == null ? void 0 : _c.errordetails, this.log, {
55405
+ (0, message_1.printErrorDetails)((_c = (_b = response == null ? void 0 : response.data.error) == null ? void 0 : _b.innererror) == null ? void 0 : _c.errordetails, this.log, {
55013
55406
  frontendUrl
55014
55407
  });
55015
55408
  }
@@ -55027,7 +55420,7 @@ var require_ui5AbapRepository = __commonJS({
55027
55420
  const response = await this.deleteRepoRequest(app.name, httpClient, config2);
55028
55421
  if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["sap-message"]) {
55029
55422
  const message = JSON.parse(response.headers["sap-message"]);
55030
- message_1.prettyPrintMessage(message, this.log);
55423
+ (0, message_1.prettyPrintMessage)(message, this.log);
55031
55424
  }
55032
55425
  return response;
55033
55426
  } catch (error3) {
@@ -55062,7 +55455,7 @@ var require_ui5AbapRepository = __commonJS({
55062
55455
  return { headers, params, maxBodyLength, maxContentLength };
55063
55456
  }
55064
55457
  createPayload(archive, name, description, abapPackage, httpClient) {
55065
- const base64Data = fs_1.readFileSync(archive, { encoding: "base64" });
55458
+ const base64Data = (0, fs_1.readFileSync)(archive, { encoding: "base64" });
55066
55459
  const time = new Date().toISOString();
55067
55460
  const escapedName = encodeXmlValue(name);
55068
55461
  return `<entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="${httpClient.defaults.baseURL}"> <id>${httpClient.defaults.baseURL}/Repositories('${escapedName}')</id> <title type="text">Repositories('${escapedName}')</title> <updated>${time}</updated> <category term="/UI5/ABAP_REPOSITORY_SRV.Repository" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/> <link href="Repositories('${escapedName}')" rel="edit" title="Repository"/> <content type="application/xml"> <m:properties> <d:Name>${escapedName}</d:Name> <d:Package>${abapPackage == null ? void 0 : abapPackage.toUpperCase()}</d:Package> <d:Description>${encodeXmlValue(description)}</d:Description> <d:ZipArchive>${base64Data}</d:ZipArchive> <d:Info/> </m:properties> </content></entry>`;
@@ -55114,7 +55507,7 @@ var require_ui5AbapRepository = __commonJS({
55114
55507
  });
55115
55508
 
55116
55509
  // ../lib/odata-client/dist/client/catalog/common.js
55117
- var require_common7 = __commonJS({
55510
+ var require_common8 = __commonJS({
55118
55511
  "../lib/odata-client/dist/client/catalog/common.js"(exports2) {
55119
55512
  "use strict";
55120
55513
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -55156,7 +55549,7 @@ var require_atoCatalog = __commonJS({
55156
55549
  exports2.AtoCatalog = void 0;
55157
55550
  var utils_1 = require_utils8();
55158
55551
  var oDataClient_1 = require_oDataClient();
55159
- var common_1 = require_common7();
55552
+ var common_1 = require_common8();
55160
55553
  var AtoCatalog = class {
55161
55554
  static async getATOData({ system, credentials, log: log7 = console, connection = void 0, systemInstance }) {
55162
55555
  let systemConfig;
@@ -55185,7 +55578,7 @@ var require_atoCatalog = __commonJS({
55185
55578
  return this.getAtoData(atoDataXml);
55186
55579
  }
55187
55580
  static getAtoData(atoDataXml) {
55188
- const atoData = utils_1.xmlToJson(atoDataXml);
55581
+ const atoData = (0, utils_1.xmlToJson)(atoDataXml);
55189
55582
  const settings = atoData == null ? void 0 : atoData["settings"];
55190
55583
  if (!settings) {
55191
55584
  throw new Error("ATO settings unavailable");
@@ -55226,13 +55619,13 @@ var require_v2Catalog = __commonJS({
55226
55619
  exports2.V2Catalog = void 0;
55227
55620
  var uaaOauth_1 = require_uaaOauth();
55228
55621
  var atoCatalog_1 = require_atoCatalog();
55229
- var common_1 = require_common7();
55622
+ var common_1 = require_common8();
55230
55623
  var utils_1 = require_utils9();
55231
55624
  var V2Catalog = class extends common_1.Catalog {
55232
55625
  constructor({ system, credentials = void 0, log: log7 = console, connection = void 0, postConnectionCallback }) {
55233
55626
  var _a2, _b;
55234
55627
  if ((credentials == null ? void 0 : credentials.serviceKeys) || (credentials == null ? void 0 : credentials.serviceKeysContents)) {
55235
- const serviceInfo = uaaOauth_1.getServiceInfo(credentials);
55628
+ const serviceInfo = (0, uaaOauth_1.getServiceInfo)(credentials);
55236
55629
  credentials.serviceInfo = serviceInfo;
55237
55630
  system.url = serviceInfo.url;
55238
55631
  if ((_b = (_a2 = serviceInfo.catalogs) == null ? void 0 : _a2.abap) == null ? void 0 : _b.path) {
@@ -55244,13 +55637,14 @@ var require_v2Catalog = __commonJS({
55244
55637
  super({ system, credentials, log: log7, connection, postConnectionCallback });
55245
55638
  }
55246
55639
  async listServices(recommended = false) {
55640
+ let services;
55247
55641
  if (recommended) {
55248
- return this.get(common_1.V2_RECOMMENDED_SERVICES_PATH);
55642
+ services = await this.get(common_1.V2_RECOMMENDED_SERVICES_PATH);
55249
55643
  } else {
55250
55644
  let isS4C = false;
55251
55645
  try {
55252
55646
  await this.getConnection();
55253
- isS4C = utils_1.isS4HanaCloudSystem(await atoCatalog_1.AtoCatalog.getATOData({
55647
+ isS4C = (0, utils_1.isS4HanaCloudSystem)(await atoCatalog_1.AtoCatalog.getATOData({
55254
55648
  system: this.system,
55255
55649
  connection: this.connection,
55256
55650
  log: this.log,
@@ -55258,8 +55652,12 @@ var require_v2Catalog = __commonJS({
55258
55652
  }));
55259
55653
  } catch (error3) {
55260
55654
  }
55261
- return this.get(isS4C ? common_1.V2_SERVICES_PATH + common_1.V2_ODATA_CATALOG_FILTER_FOR_S4_HANA_SERVICES : common_1.V2_SERVICES_PATH);
55655
+ services = await this.get(isS4C ? common_1.V2_SERVICES_PATH + common_1.V2_ODATA_CATALOG_FILTER_FOR_S4_HANA_SERVICES : common_1.V2_SERVICES_PATH);
55656
+ }
55657
+ if (!Array.isArray(services)) {
55658
+ throw new Error("Error parsing service list");
55262
55659
  }
55660
+ return services;
55263
55661
  }
55264
55662
  async findService({ title, path: path5 }) {
55265
55663
  if (!title) {
@@ -55333,11 +55731,11 @@ var require_v4Catalog = __commonJS({
55333
55731
  Object.defineProperty(exports2, "__esModule", { value: true });
55334
55732
  exports2.V4Catalog = void 0;
55335
55733
  var uaaOauth_1 = require_uaaOauth();
55336
- var common_1 = require_common7();
55734
+ var common_1 = require_common8();
55337
55735
  var V4Catalog = class extends common_1.Catalog {
55338
55736
  constructor({ system, credentials = void 0, log: log7 = console, connection = void 0, postConnectionCallback }) {
55339
55737
  if ((credentials == null ? void 0 : credentials.serviceKeys) || (credentials == null ? void 0 : credentials.serviceKeysContents)) {
55340
- const serviceInfo = uaaOauth_1.getServiceInfo(credentials);
55738
+ const serviceInfo = (0, uaaOauth_1.getServiceInfo)(credentials);
55341
55739
  credentials.serviceInfo = serviceInfo;
55342
55740
  system.url = serviceInfo.url;
55343
55741
  }
@@ -55361,6 +55759,9 @@ var require_v4Catalog = __commonJS({
55361
55759
  const servicePath = recommended ? common_1.V4_RECOMMENDED_SERVICES_PATH_PROD : common_1.V4_SERVICES_PATH_PROD;
55362
55760
  this.services = [];
55363
55761
  const respValues = await this.get(`${servicePath}&${common_1.ODATA_COUNT_QUERY}`);
55762
+ if (!Array.isArray(respValues.value)) {
55763
+ throw new Error("Error parsing service list");
55764
+ }
55364
55765
  this.services = this.services.concat(this.parseServiceData(respValues.value, recommended));
55365
55766
  if (respValues["@odata.nextLink"]) {
55366
55767
  let skipval = parseInt((_a2 = respValues["@odata.nextLink"]) == null ? void 0 : _a2.split("skiptoken=")[1]);
@@ -55388,9 +55789,13 @@ var require_catalog = __commonJS({
55388
55789
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
55389
55790
  if (k2 === void 0)
55390
55791
  k2 = k;
55391
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
55392
- return m[k];
55393
- } });
55792
+ var desc = Object.getOwnPropertyDescriptor(m, k);
55793
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
55794
+ desc = { enumerable: true, get: function() {
55795
+ return m[k];
55796
+ } };
55797
+ }
55798
+ Object.defineProperty(o, k2, desc);
55394
55799
  } : function(o, m, k, k2) {
55395
55800
  if (k2 === void 0)
55396
55801
  k2 = k;
@@ -55404,7 +55809,7 @@ var require_catalog = __commonJS({
55404
55809
  Object.defineProperty(exports2, "__esModule", { value: true });
55405
55810
  exports2.getCatalog = void 0;
55406
55811
  var __1 = require_client();
55407
- __exportStar(require_common7(), exports2);
55812
+ __exportStar(require_common8(), exports2);
55408
55813
  __exportStar(require_atoCatalog(), exports2);
55409
55814
  __exportStar(require_v2Catalog(), exports2);
55410
55815
  __exportStar(require_v4Catalog(), exports2);
@@ -55423,9 +55828,13 @@ var require_client = __commonJS({
55423
55828
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
55424
55829
  if (k2 === void 0)
55425
55830
  k2 = k;
55426
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
55427
- return m[k];
55428
- } });
55831
+ var desc = Object.getOwnPropertyDescriptor(m, k);
55832
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
55833
+ desc = { enumerable: true, get: function() {
55834
+ return m[k];
55835
+ } };
55836
+ }
55837
+ Object.defineProperty(o, k2, desc);
55429
55838
  } : function(o, m, k, k2) {
55430
55839
  if (k2 === void 0)
55431
55840
  k2 = k;
@@ -55452,10 +55861,10 @@ var require_api_hub = __commonJS({
55452
55861
  Object.defineProperty(exports2, "__esModule", { value: true });
55453
55862
  exports2.saveApiHubApiKey = exports2.getApiHubApiKey = void 0;
55454
55863
  var config_1 = require_config();
55455
- var ux_store_1 = require_dist6();
55864
+ var ux_store_1 = require_dist7();
55456
55865
  var constants_1 = require_constants5();
55457
55866
  async function getApiHubApiKey(log7 = console) {
55458
- const keyStore = ux_store_1.getSecureStore(log7);
55867
+ const keyStore = (0, ux_store_1.getSecureStore)(log7);
55459
55868
  const apiHubServiceName = config_1.ServiceName.ApiHub;
55460
55869
  const apiHubApiKey = await keyStore.retrieve(apiHubServiceName, constants_1.API_HUB_API_KEY);
55461
55870
  if (apiHubApiKey) {
@@ -55465,7 +55874,7 @@ var require_api_hub = __commonJS({
55465
55874
  }
55466
55875
  exports2.getApiHubApiKey = getApiHubApiKey;
55467
55876
  async function saveApiHubApiKey(val, log7 = console) {
55468
- const keyStore = ux_store_1.getSecureStore(log7);
55877
+ const keyStore = (0, ux_store_1.getSecureStore)(log7);
55469
55878
  const apiHubServiceName = config_1.ServiceName.ApiHub;
55470
55879
  const existingKey = await getApiHubApiKey(log7);
55471
55880
  if (existingKey !== void 0) {
@@ -55497,27 +55906,14 @@ var require_sapSystem = __commonJS({
55497
55906
  "use strict";
55498
55907
  Object.defineProperty(exports2, "__esModule", { value: true });
55499
55908
  exports2.stripOldSCPSuffix = exports2.SapSystem = void 0;
55500
- var ux_store_1 = require_dist6();
55501
- var __1 = require_dist7();
55909
+ var ux_store_1 = require_dist7();
55910
+ var __1 = require_dist8();
55502
55911
  var client_1 = require_client();
55503
55912
  var config_1 = require_config();
55504
- var ux_common_utils_1 = require_dist5();
55913
+ var ux_common_utils_1 = require_dist6();
55505
55914
  var types_1 = require_types6();
55506
55915
  var NEW_SCP_SUFFIX = " (BTP)";
55507
55916
  var SapSystem2 = class {
55508
- constructor(name, config2, credentials = {}, userDisplayName, unSaved = false, postConnectionCallbackCreator) {
55509
- this.config = config2;
55510
- this.credentials = credentials;
55511
- this._unSaved = false;
55512
- this.postConnectionCallbackInitialized = false;
55513
- this._name = name;
55514
- if (this.config.scp === void 0) {
55515
- this.config.scp = !!(credentials == null ? void 0 : credentials.serviceKeysContents) || !!(credentials == null ? void 0 : credentials.serviceKeys);
55516
- }
55517
- this._unSaved = unSaved;
55518
- this._userDisplayName = userDisplayName;
55519
- this._postConnectionCallbackCreator = postConnectionCallbackCreator;
55520
- }
55521
55917
  postConnectionCallback() {
55522
55918
  var _a2;
55523
55919
  if (!this.postConnectionCallbackInitialized) {
@@ -55533,9 +55929,22 @@ var require_sapSystem = __commonJS({
55533
55929
  password: s.password,
55534
55930
  refreshToken: s.refreshToken
55535
55931
  } : void 0;
55536
- const authenticationType = Object.values(ux_store_1.AuthenticationType).find((v) => v === s.authenticationType) || __1.guessAuthType({ credentials, fallback: false });
55932
+ const authenticationType = Object.values(ux_store_1.AuthenticationType).find((v) => v === s.authenticationType) || (0, __1.guessAuthType)({ credentials, fallback: false });
55537
55933
  return new SapSystem2(s.name, { url: s.url, client: s.client, authenticationType }, credentials, s.userDisplayName, void 0, void 0);
55538
55934
  }
55935
+ constructor(name, config2, credentials = {}, userDisplayName, unSaved = false, postConnectionCallbackCreator) {
55936
+ this.config = config2;
55937
+ this.credentials = credentials;
55938
+ this._unSaved = false;
55939
+ this.postConnectionCallbackInitialized = false;
55940
+ this._name = name;
55941
+ if (this.config.scp === void 0) {
55942
+ this.config.scp = !!(credentials == null ? void 0 : credentials.serviceKeysContents) || !!(credentials == null ? void 0 : credentials.serviceKeys);
55943
+ }
55944
+ this._unSaved = unSaved;
55945
+ this._userDisplayName = userDisplayName;
55946
+ this._postConnectionCallbackCreator = postConnectionCallbackCreator;
55947
+ }
55539
55948
  getConnection() {
55540
55949
  return this.connection;
55541
55950
  }
@@ -55624,7 +56033,7 @@ var require_sapSystem = __commonJS({
55624
56033
  }
55625
56034
  addS4HCSuffix(name) {
55626
56035
  const S4HC_SUFFIX = " (S4HC)";
55627
- return (name == null ? void 0 : name.trim().match(`${ux_common_utils_1.escapeRegExp(S4HC_SUFFIX)}$`)) ? name : name + S4HC_SUFFIX;
56036
+ return (name == null ? void 0 : name.trim().match(`${(0, ux_common_utils_1.escapeRegExp)(S4HC_SUFFIX)}$`)) ? name : name + S4HC_SUFFIX;
55628
56037
  }
55629
56038
  get bareName() {
55630
56039
  return stripOldSCPSuffix(this.name);
@@ -55633,19 +56042,19 @@ var require_sapSystem = __commonJS({
55633
56042
  return this.config.scp;
55634
56043
  }
55635
56044
  isPartialUrlDest() {
55636
- return !config_1.hasDestinationAttrib("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest();
56045
+ return !(0, config_1.hasDestinationAttrib)("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest();
55637
56046
  }
55638
56047
  isGenericODataDest() {
55639
- return this.config.destination ? config_1.hasDestinationAttrib("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_GENERIC, this.config.destinationAttributes) && !config_1.hasDestinationAttrib("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) : false;
56048
+ return this.config.destination ? (0, config_1.hasDestinationAttrib)("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_GENERIC, this.config.destinationAttributes) && !(0, config_1.hasDestinationAttrib)("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) : false;
55640
56049
  }
55641
56050
  isFullUrlDest() {
55642
- return this.config.destination ? config_1.hasDestinationAttrib("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest() : false;
56051
+ return this.config.destination ? (0, config_1.hasDestinationAttrib)("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest() : false;
55643
56052
  }
55644
56053
  isAbapCatalogDest() {
55645
- return this.config.destination ? config_1.hasDestinationAttrib("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) && !this.isFullUrlDest() : false;
56054
+ return this.config.destination ? (0, config_1.hasDestinationAttrib)("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) && !this.isFullUrlDest() : false;
55646
56055
  }
55647
56056
  isHTML5DynamicDestination() {
55648
- return this.config.destination ? config_1.hasHTML5DynamicDestinationAttrib(this.config.destinationAttributes) : false;
56057
+ return this.config.destination ? (0, config_1.hasHTML5DynamicDestinationAttrib)(this.config.destinationAttributes) : false;
55649
56058
  }
55650
56059
  toString() {
55651
56060
  var _a2;
@@ -55703,14 +56112,14 @@ var require_sapSystem = __commonJS({
55703
56112
  async getCatalog(odataVersion) {
55704
56113
  const system = deepClone(this.config);
55705
56114
  if (this.connection) {
55706
- return client_1.getCatalog({
56115
+ return (0, client_1.getCatalog)({
55707
56116
  system,
55708
56117
  connection: this.connection,
55709
56118
  odataVersion,
55710
56119
  postConnectionCallback: this.postConnectionCallback()
55711
56120
  });
55712
56121
  } else {
55713
- const catalog = client_1.getCatalog({
56122
+ const catalog = (0, client_1.getCatalog)({
55714
56123
  system,
55715
56124
  credentials: this.credentials,
55716
56125
  odataVersion,
@@ -55761,7 +56170,7 @@ var require_sapSystem = __commonJS({
55761
56170
  exports2.SapSystem = SapSystem2;
55762
56171
  function toSCPSystemName(systemName) {
55763
56172
  const s = systemName.trim();
55764
- return s.match(`${ux_common_utils_1.escapeRegExp(NEW_SCP_SUFFIX)}$`) ? s : s + NEW_SCP_SUFFIX;
56173
+ return s.match(`${(0, ux_common_utils_1.escapeRegExp)(NEW_SCP_SUFFIX)}$`) ? s : s + NEW_SCP_SUFFIX;
55765
56174
  }
55766
56175
  function stripOldSCPSuffix(name) {
55767
56176
  return name.trim().replace(/ \(SCP\)$/, "");
@@ -55780,14 +56189,14 @@ var require_systemStore = __commonJS({
55780
56189
  Object.defineProperty(exports2, "__esModule", { value: true });
55781
56190
  exports2.getSystemStore = void 0;
55782
56191
  var sapSystem_1 = require_sapSystem();
55783
- var ux_store_1 = require_dist6();
56192
+ var ux_store_1 = require_dist7();
55784
56193
  var DefaultImplementation = class {
55785
56194
  constructor(storeService, logger) {
55786
56195
  this.logger = logger;
55787
56196
  this.storeService = storeService;
55788
56197
  }
55789
56198
  static async createInstance(logger) {
55790
- const storeService = await ux_store_1.getService({ logger, entityName: "system" });
56199
+ const storeService = await (0, ux_store_1.getService)({ logger, entityName: "system" });
55791
56200
  return new DefaultImplementation(storeService, logger);
55792
56201
  }
55793
56202
  async getAll() {
@@ -55840,18 +56249,18 @@ var require_system = __commonJS({
55840
56249
  Object.defineProperty(exports2, "__esModule", { value: true });
55841
56250
  exports2.SapSystem = exports2.deleteSapSystem = exports2.saveSapSystem = exports2.newSapSystemForDestinaton = exports2.newS4HCSystem = exports2.newSapSystemForSteampunk = exports2.newSapSystemForServiceUrl = exports2.newSapSystem = exports2.getSapSystem = exports2.isSystemNameInUse = exports2.listSAPSystems = void 0;
55842
56251
  var connection_1 = require_connection();
55843
- var ux_common_utils_1 = require_dist5();
56252
+ var ux_common_utils_1 = require_dist6();
55844
56253
  var sapSystem_1 = require_sapSystem();
55845
56254
  Object.defineProperty(exports2, "SapSystem", { enumerable: true, get: function() {
55846
56255
  return sapSystem_1.SapSystem;
55847
56256
  } });
55848
56257
  var systemStore_1 = require_systemStore();
55849
56258
  var url_1 = require("url");
55850
- var __1 = require_dist7();
56259
+ var __1 = require_dist8();
55851
56260
  async function listSAPSystems2() {
55852
- if (ux_common_utils_1.isAppStudio()) {
56261
+ if ((0, ux_common_utils_1.isAppStudio)()) {
55853
56262
  const systems = {};
55854
- const destinations = await connection_1.listDestinations();
56263
+ const destinations = await (0, connection_1.listDestinations)();
55855
56264
  Object.values(destinations).sort((a, b) => a.Name.localeCompare(b.Name, void 0, { numeric: true, caseFirst: "lower" })).forEach((destination) => {
55856
56265
  var _a2, _b;
55857
56266
  systems[destination.Name] = new sapSystem_1.SapSystem(destination.Name, {
@@ -55865,7 +56274,7 @@ var require_system = __commonJS({
55865
56274
  });
55866
56275
  return systems;
55867
56276
  } else {
55868
- const store = await systemStore_1.getSystemStore();
56277
+ const store = await (0, systemStore_1.getSystemStore)();
55869
56278
  return postGetAll({ systems: await store.getAll(), store });
55870
56279
  }
55871
56280
  }
@@ -55897,7 +56306,7 @@ var require_system = __commonJS({
55897
56306
  update: { userDisplayName: sys.userDisplayName }
55898
56307
  }));
55899
56308
  }
55900
- await ux_common_utils_1.allSettled(updates);
56309
+ await (0, ux_common_utils_1.allSettled)(updates);
55901
56310
  resolve2();
55902
56311
  }, 0));
55903
56312
  }
@@ -55924,7 +56333,7 @@ var require_system = __commonJS({
55924
56333
  const update = {};
55925
56334
  !!user && (update.userDisplayName = user);
55926
56335
  !!refreshToken && (update.refreshToken = refreshToken);
55927
- return (await systemStore_1.getSystemStore()).partialUpdate({
56336
+ return (await (0, systemStore_1.getSystemStore)()).partialUpdate({
55928
56337
  url: system.url,
55929
56338
  client: system.client,
55930
56339
  update
@@ -55936,16 +56345,16 @@ var require_system = __commonJS({
55936
56345
  return cb;
55937
56346
  }
55938
56347
  async function isSystemNameInUse(name) {
55939
- const systems = await (await systemStore_1.getSystemStore()).getAll();
56348
+ const systems = await (await (0, systemStore_1.getSystemStore)()).getAll();
55940
56349
  const sys = name.trim();
55941
- return Object.values(systems).findIndex((system) => system.name === sys || system.bareName === sapSystem_1.stripOldSCPSuffix(sys)) !== -1;
56350
+ return Object.values(systems).findIndex((system) => system.name === sys || system.bareName === (0, sapSystem_1.stripOldSCPSuffix)(sys)) !== -1;
55942
56351
  }
55943
56352
  exports2.isSystemNameInUse = isSystemNameInUse;
55944
56353
  async function getSapSystem2(url, client) {
55945
- if (ux_common_utils_1.isAppStudio()) {
56354
+ if ((0, ux_common_utils_1.isAppStudio)()) {
55946
56355
  throw Error("Not supported in AppStudio.");
55947
56356
  } else {
55948
- return (await systemStore_1.getSystemStore()).get(url, client);
56357
+ return (await (0, systemStore_1.getSystemStore)()).get(url, client);
55949
56358
  }
55950
56359
  }
55951
56360
  exports2.getSapSystem = getSapSystem2;
@@ -55981,12 +56390,12 @@ var require_system = __commonJS({
55981
56390
  }
55982
56391
  exports2.newSapSystemForDestinaton = newSapSystemForDestinaton;
55983
56392
  async function saveSapSystem(system) {
55984
- const store = await systemStore_1.getSystemStore();
56393
+ const store = await (0, systemStore_1.getSystemStore)();
55985
56394
  await store.save(system);
55986
56395
  }
55987
56396
  exports2.saveSapSystem = saveSapSystem;
55988
56397
  async function deleteSapSystem(system) {
55989
- const store = await systemStore_1.getSystemStore();
56398
+ const store = await (0, systemStore_1.getSystemStore)();
55990
56399
  return store.delete(system);
55991
56400
  }
55992
56401
  exports2.deleteSapSystem = deleteSapSystem;
@@ -55994,15 +56403,19 @@ var require_system = __commonJS({
55994
56403
  });
55995
56404
 
55996
56405
  // ../lib/odata-client/dist/index.js
55997
- var require_dist7 = __commonJS({
56406
+ var require_dist8 = __commonJS({
55998
56407
  "../lib/odata-client/dist/index.js"(exports2) {
55999
56408
  "use strict";
56000
56409
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
56001
56410
  if (k2 === void 0)
56002
56411
  k2 = k;
56003
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
56004
- return m[k];
56005
- } });
56412
+ var desc = Object.getOwnPropertyDescriptor(m, k);
56413
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
56414
+ desc = { enumerable: true, get: function() {
56415
+ return m[k];
56416
+ } };
56417
+ }
56418
+ Object.defineProperty(o, k2, desc);
56006
56419
  } : function(o, m, k, k2) {
56007
56420
  if (k2 === void 0)
56008
56421
  k2 = k;
@@ -56061,7 +56474,7 @@ var require_ui5_info = __commonJS({
56061
56474
  exports2.getSpecTagVersion = exports2.getLatestSapui5Version = exports2.getSapSystemUI5Version = exports2.uI5VersionsWithCodeAssist = exports2.getDefaultTheme = exports2.getUi5Themes = exports2.getUI5VersionsEnhanced = exports2.retrieveUI5Versions = exports2.retrieveUI5VersionsCache = exports2.parseUI5VersionsOverview = exports2.parseUI5Versions = exports2.requestUI5Versions = exports2.getManifestVersion = exports2.ui5VersionsCache = exports2.UI5_VERSIONS_TYPE = exports2.ThemeIds = exports2.MIN_UI5_VERSION_FPM_TEMPLATE = exports2.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE = exports2.MIN_UI5_VERSION_FORM_ENTRY_TEMPLATE = exports2.MIN_UI5_VERSION_WORKLIST_V4_TEMPLATE = exports2.MIN_UI5_VERSION_ALP_V4_TEMPLATE = exports2.MIN_UI5_VERSION = exports2.MIN_UI5_VERSION_V4_TEMPLATE = void 0;
56062
56475
  var semver_compare_1 = __importDefault(require_semver_compare());
56063
56476
  var semver_1 = require_semver4();
56064
- var ux_odata_client_1 = require_dist7();
56477
+ var ux_odata_client_1 = require_dist8();
56065
56478
  var types_1 = require_types7();
56066
56479
  var commandRunner_1 = require_commandRunner();
56067
56480
  var axios_1 = __importDefault(require_axios2());
@@ -56305,9 +56718,9 @@ var require_ui5_info = __commonJS({
56305
56718
  return a.localeCompare(b);
56306
56719
  }
56307
56720
  if (versions.indexOf(a) > -1 || versions.indexOf(b) > -1) {
56308
- return semver_compare_1.default(a, b);
56721
+ return (0, semver_compare_1.default)(a, b);
56309
56722
  }
56310
- return semver_compare_1.default(b + ".999", a + ".999");
56723
+ return (0, semver_compare_1.default)(b + ".999", a + ".999");
56311
56724
  }
56312
56725
  function filterNewerEqual(versions, minVersion) {
56313
56726
  return versions.filter((version) => {
@@ -56316,11 +56729,11 @@ var require_ui5_info = __commonJS({
56316
56729
  } else if (version.startsWith("snapshot-")) {
56317
56730
  version = version.replace("snapshot-", "");
56318
56731
  }
56319
- return semver_compare_1.default(version, minVersion) >= 0;
56732
+ return (0, semver_compare_1.default)(version, minVersion) >= 0;
56320
56733
  });
56321
56734
  }
56322
56735
  async function requestUI5Versions(url, service = `/${url === "https://ui5.sap.com" ? "version.json?sap-ui-config-patches=true&sap-ui-config-showall=true" : "neo-app.json"}`) {
56323
- const { system } = ux_odata_client_1.newSapSystemForServiceUrl(url);
56736
+ const { system } = (0, ux_odata_client_1.newSapSystemForServiceUrl)(url);
56324
56737
  system.config.service = service;
56325
56738
  const odataClient = new ux_odata_client_1.ODataClient({
56326
56739
  system: system.config,
@@ -56365,7 +56778,7 @@ var require_ui5_info = __commonJS({
56365
56778
  }
56366
56779
  result2 = versions.map((ver) => {
56367
56780
  var _a2;
56368
- const parsedVersion = (_a2 = semver_1.coerce(ver.version)) == null ? void 0 : _a2.version;
56781
+ const parsedVersion = (_a2 = (0, semver_1.coerce)(ver.version)) == null ? void 0 : _a2.version;
56369
56782
  if (parsedVersion !== void 0) {
56370
56783
  return {
56371
56784
  version: parsedVersion,
@@ -56407,14 +56820,14 @@ var require_ui5_info = __commonJS({
56407
56820
  let officialVersions = [];
56408
56821
  let snapshotVersions = [];
56409
56822
  try {
56410
- officialVersions = (filterOptions == null ? void 0 : filterOptions.onlyNpmVersion) ? await retrieveNpmUI5Versions(filterOptions.fioriElementsVersion || "v2", filterOptions.ui5SelectedVersion) : await exports2.retrieveUI5VersionsCache("officialVersions", filterOptions == null ? void 0 : filterOptions.useCache);
56823
+ officialVersions = (filterOptions == null ? void 0 : filterOptions.onlyNpmVersion) ? await retrieveNpmUI5Versions(filterOptions.fioriElementsVersion || "v2", filterOptions.ui5SelectedVersion) : await (0, exports2.retrieveUI5VersionsCache)("officialVersions", filterOptions == null ? void 0 : filterOptions.useCache);
56411
56824
  } catch (error3) {
56412
56825
  logger.warning(`Request to '${"https://ui5.sap.com"}' failed. Error was: '${error3.message}'. Fallback to default UI5 versions`);
56413
56826
  officialVersions = DEFAULT_UI5_VERSIONS.slice();
56414
56827
  }
56415
56828
  if (filterOptions == null ? void 0 : filterOptions.includeSnapshots) {
56416
56829
  try {
56417
- snapshotVersions = await exports2.retrieveUI5VersionsCache("snapshotsVersions", filterOptions == null ? void 0 : filterOptions.useCache);
56830
+ snapshotVersions = await (0, exports2.retrieveUI5VersionsCache)("snapshotsVersions", filterOptions == null ? void 0 : filterOptions.useCache);
56418
56831
  } catch (error3) {
56419
56832
  logger.error(`Request to '${"https://sapui5preview-sapui5.dispatcher.int.sap.eu2.hana.ondemand.com"}' failed. Error was: '${error3.message}'`);
56420
56833
  }
@@ -56450,7 +56863,7 @@ var require_ui5_info = __commonJS({
56450
56863
  }
56451
56864
  let ui5VersionsOverview = void 0;
56452
56865
  if ((filterOptions == null ? void 0 : filterOptions.groupUI5Versions) === true) {
56453
- ui5VersionsOverview = await exports2.retrieveUI5VersionsCache("overview", filterOptions == null ? void 0 : filterOptions.useCache);
56866
+ ui5VersionsOverview = await (0, exports2.retrieveUI5VersionsCache)("overview", filterOptions == null ? void 0 : filterOptions.useCache);
56454
56867
  }
56455
56868
  return filteredUI5Versions.map((ui5) => {
56456
56869
  const ui5Version = {
@@ -56464,7 +56877,7 @@ var require_ui5_info = __commonJS({
56464
56877
  if ((filterOptions == null ? void 0 : filterOptions.groupUI5Versions) === true && ui5VersionsOverview !== void 0) {
56465
56878
  ui5Version.version.maintained = ui5VersionsOverview.some((v) => {
56466
56879
  if (v !== void 0) {
56467
- return `${semver_1.major(v.version)}.${semver_1.minor(v.version)}` === `${semver_1.major(ui5)}.${semver_1.minor(ui5)}` && v.support === types_1.inMaintenance;
56880
+ return `${(0, semver_1.major)(v.version)}.${(0, semver_1.minor)(v.version)}` === `${(0, semver_1.major)(ui5)}.${(0, semver_1.minor)(ui5)}` && v.support === types_1.inMaintenance;
56468
56881
  }
56469
56882
  });
56470
56883
  }
@@ -56483,13 +56896,13 @@ var require_ui5_info = __commonJS({
56483
56896
  filteredThemes.push(theme);
56484
56897
  break;
56485
56898
  case "sap_fiori_3_dark":
56486
- (ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_DARK_THEME) >= 0) && filteredThemes.push(theme);
56899
+ (ui5VersionCheck(filteredUi5Version) || (0, semver_compare_1.default)(filteredUi5Version, MIN_UI5_DARK_THEME) >= 0) && filteredThemes.push(theme);
56487
56900
  break;
56488
56901
  case "sap_horizon":
56489
56902
  case "sap_horizon_dark":
56490
56903
  case "sap_horizon_hcw":
56491
56904
  case "sap_horizon_hcb":
56492
- (ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_VERSION_HORIZON_THEME) >= 0) && filteredThemes.push(theme);
56905
+ (ui5VersionCheck(filteredUi5Version) || (0, semver_compare_1.default)(filteredUi5Version, MIN_UI5_VERSION_HORIZON_THEME) >= 0) && filteredThemes.push(theme);
56493
56906
  break;
56494
56907
  }
56495
56908
  }
@@ -56498,7 +56911,7 @@ var require_ui5_info = __commonJS({
56498
56911
  exports2.getUi5Themes = getUi5Themes;
56499
56912
  function getDefaultTheme(ui5Version) {
56500
56913
  if (ui5Version) {
56501
- if (semver_1.coerce(ui5Version) && semver_1.lt(ui5Version, MIN_UI5_VERSION_HORIZON_THEME)) {
56914
+ if ((0, semver_1.coerce)(ui5Version) && (0, semver_1.lt)(ui5Version, MIN_UI5_VERSION_HORIZON_THEME)) {
56502
56915
  return "sap_fiori_3";
56503
56916
  }
56504
56917
  }
@@ -56553,7 +56966,7 @@ var require_ui5_info = __commonJS({
56553
56966
  if (ui5SelectedVersion && ui5SelectedVersion.length) {
56554
56967
  const latestMinIdx = latestVersions.findIndex((v) => v === ui5SelectedVersion);
56555
56968
  if (latestMinIdx === -1) {
56556
- if (semver_compare_1.default(ui5SelectedVersion, latestVersions.slice(-1)[0]) > 0 || ui5SelectedVersion === "Latest" || !semver_1.valid(ui5SelectedVersion)) {
56969
+ if ((0, semver_compare_1.default)(ui5SelectedVersion, latestVersions.slice(-1)[0]) > 0 || ui5SelectedVersion === "Latest" || !(0, semver_1.valid)(ui5SelectedVersion)) {
56557
56970
  latestVersions = latestVersions.slice(0);
56558
56971
  } else {
56559
56972
  latestVersions = latestVersions.slice(-1);
@@ -56603,8 +57016,8 @@ var require_ui5_info = __commonJS({
56603
57016
  exports2.getLatestSapui5Version = getLatestSapui5Version;
56604
57017
  function getSpecTagVersion(ui5Version) {
56605
57018
  if (ui5Version) {
56606
- if (semver_1.valid(ui5Version)) {
56607
- return `UI5-${semver_1.major(ui5Version)}.${semver_1.minor(ui5Version)}`;
57019
+ if ((0, semver_1.valid)(ui5Version)) {
57020
+ return `UI5-${(0, semver_1.major)(ui5Version)}.${(0, semver_1.minor)(ui5Version)}`;
56608
57021
  } else if (ui5Version.includes("snapshot") && ui5Version.includes(".")) {
56609
57022
  const snapshotVersion = ui5Version.split("snapshot-")[1];
56610
57023
  return `UI5-${snapshotVersion}`;
@@ -56617,7 +57030,7 @@ var require_ui5_info = __commonJS({
56617
57030
  });
56618
57031
 
56619
57032
  // ../lib/ui5-info/core/dist/index.js
56620
- var require_dist8 = __commonJS({
57033
+ var require_dist9 = __commonJS({
56621
57034
  "../lib/ui5-info/core/dist/index.js"(exports2) {
56622
57035
  "use strict";
56623
57036
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -57155,6 +57568,7 @@ var require_EventName = __commonJS({
57155
57568
  EventName4["GD_SIDE_BY_SIDE"] = "GD_SIDE_BY_SIDE";
57156
57569
  EventName4["GD_WIZARD"] = "GD_WIZARD";
57157
57570
  EventName4["GD_DESCMODE"] = "GD_DESCMODE";
57571
+ EventName4["GD_PROJECTVIEW"] = "GD_PROJECTVIEW";
57158
57572
  EventName4["PAGEMAP"] = "PAGEMAP";
57159
57573
  EventName4["APP_ACTIONS"] = "ACTIONS";
57160
57574
  EventName4["PAGE_EDITOR"] = "PAGE_EDITOR";
@@ -68837,7 +69251,7 @@ var require_package5 = __commonJS({
68837
69251
  "../lib/telemetry/dist/package.json"(exports2, module2) {
68838
69252
  module2.exports = {
68839
69253
  name: "@sap/ux-telemetry",
68840
- version: "1.8.6",
69254
+ version: "1.9.1",
68841
69255
  description: "SAP Fiori tools telemetry library",
68842
69256
  main: "dist/src/index.js",
68843
69257
  author: "SAP SE",
@@ -68862,20 +69276,20 @@ var require_package5 = __commonJS({
68862
69276
  },
68863
69277
  dependencies: {
68864
69278
  "@sap-ux/store": "0.3.8",
68865
- "@sap/ux-cds": "1.8.6",
68866
- "@sap/ux-common-utils": "1.8.6",
68867
- "@sap/ux-feature-toggle": "1.8.6",
68868
- "@sap/ux-project-access": "1.8.6",
69279
+ "@sap/ux-cds": "1.9.1",
69280
+ "@sap/ux-common-utils": "1.9.1",
69281
+ "@sap/ux-feature-toggle": "1.9.1",
69282
+ "@sap/ux-project-access": "1.9.1",
68869
69283
  applicationinsights: "1.4.1",
68870
69284
  axios: "0.26.0",
68871
69285
  "performance-now": "2.1.0",
68872
69286
  yaml: "2.0.0-10"
68873
69287
  },
68874
69288
  devDependencies: {
68875
- memfs: "3.4.7",
69289
+ memfs: "3.4.13",
68876
69290
  "ts-jest": "28.0.8",
68877
69291
  "ts-node": "8.5.2",
68878
- typescript: "4.3.5",
69292
+ typescript: "4.9.4",
68879
69293
  unionfs: "4.4.0"
68880
69294
  },
68881
69295
  files: [
@@ -68934,9 +69348,13 @@ var require_reporting = __commonJS({
68934
69348
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
68935
69349
  if (k2 === void 0)
68936
69350
  k2 = k;
68937
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
68938
- return m[k];
68939
- } });
69351
+ var desc = Object.getOwnPropertyDescriptor(m, k);
69352
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
69353
+ desc = { enumerable: true, get: function() {
69354
+ return m[k];
69355
+ } };
69356
+ }
69357
+ Object.defineProperty(o, k2, desc);
68940
69358
  } : function(o, m, k, k2) {
68941
69359
  if (k2 === void 0)
68942
69360
  k2 = k;
@@ -69003,7 +69421,7 @@ var require_reporting = __commonJS({
69003
69421
  var _a2;
69004
69422
  if (((_a2 = process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY) == null ? void 0 : _a2.trim()) !== "true") {
69005
69423
  reportingTelemetryClient = new appInsights.TelemetryClient(telemetryPackageJSON.azureInstrumentationKey);
69006
- telemetryClientConfig_1.configAzureTelemetryClient(reportingTelemetryClient);
69424
+ (0, telemetryClientConfig_1.configAzureTelemetryClient)(reportingTelemetryClient);
69007
69425
  }
69008
69426
  var reportRuntimeError = (error3) => {
69009
69427
  const properties = { message: error3.message };
@@ -69052,20 +69470,20 @@ var require_system3 = __commonJS({
69052
69470
  var fs_1 = __importDefault(require("fs"));
69053
69471
  var system_1 = require_system2();
69054
69472
  var cloudDebugger_1 = require_cloudDebugger();
69055
- var ux_common_utils_1 = require_dist5();
69473
+ var ux_common_utils_1 = require_dist6();
69056
69474
  var reporting_1 = require_reporting();
69057
69475
  var TelemetrySystem = class {
69058
69476
  static init() {
69059
- cloudDebugger_1.debug(`start System.init`);
69060
- TelemetrySystem.modules = system_1.processMatchingPaths(TelemetrySystem.modules);
69477
+ (0, cloudDebugger_1.debug)(`start System.init`);
69478
+ TelemetrySystem.modules = (0, system_1.processMatchingPaths)(TelemetrySystem.modules);
69061
69479
  let pathBase = TelemetrySystem.getMatchingModulePath(module2);
69062
- cloudDebugger_1.debug(`base path: ${pathBase}`);
69480
+ (0, cloudDebugger_1.debug)(`base path: ${pathBase}`);
69063
69481
  if (!pathBase) {
69064
- TelemetrySystem.fallbackModules = system_1.processMatchingPaths(TelemetrySystem.fallbackModules);
69482
+ TelemetrySystem.fallbackModules = (0, system_1.processMatchingPaths)(TelemetrySystem.fallbackModules);
69065
69483
  pathBase = TelemetrySystem.getMatchingModulePath(module2, true);
69066
69484
  }
69067
69485
  const manifestPath = TelemetrySystem.getManifestPath(pathBase);
69068
- cloudDebugger_1.debug(`package.json path: ${manifestPath}`);
69486
+ (0, cloudDebugger_1.debug)(`package.json path: ${manifestPath}`);
69069
69487
  TelemetrySystem.manifest = TelemetrySystem.getManifestJSON(manifestPath);
69070
69488
  }
69071
69489
  static getManifestJSON(path5) {
@@ -69078,7 +69496,7 @@ var require_system3 = __commonJS({
69078
69496
  }
69079
69497
  static getManifestPath(pathBase) {
69080
69498
  let manifestPath = pathBase;
69081
- if (ux_common_utils_1.isAppStudio() && manifestPath && manifestPath.indexOf("generators") < 0 && manifestPath.indexOf("deployment-generator") < 0 && manifestPath.indexOf("/ux-ui5-tooling") < 0) {
69499
+ if ((0, ux_common_utils_1.isAppStudio)() && manifestPath && manifestPath.indexOf("generators") < 0 && manifestPath.indexOf("deployment-generator") < 0 && manifestPath.indexOf("/ux-ui5-tooling") < 0) {
69082
69500
  manifestPath = manifestPath.concat("/extension");
69083
69501
  }
69084
69502
  if (manifestPath && manifestPath.indexOf("language-server") > -1) {
@@ -69154,7 +69572,7 @@ var require_system3 = __commonJS({
69154
69572
  TelemetrySystem.init();
69155
69573
  }
69156
69574
  } catch (err) {
69157
- reporting_1.reportRuntimeError(err);
69575
+ (0, reporting_1.reportRuntimeError)(err);
69158
69576
  }
69159
69577
  }
69160
69578
  });
@@ -69232,9 +69650,13 @@ var require_appInsightClient = __commonJS({
69232
69650
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
69233
69651
  if (k2 === void 0)
69234
69652
  k2 = k;
69235
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
69236
- return m[k];
69237
- } });
69653
+ var desc = Object.getOwnPropertyDescriptor(m, k);
69654
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
69655
+ desc = { enumerable: true, get: function() {
69656
+ return m[k];
69657
+ } };
69658
+ }
69659
+ Object.defineProperty(o, k2, desc);
69238
69660
  } : function(o, m, k, k2) {
69239
69661
  if (k2 === void 0)
69240
69662
  k2 = k;
@@ -69317,7 +69739,7 @@ var require_appInsightClient = __commonJS({
69317
69739
  }
69318
69740
  const client = new appInsights.TelemetryClient(this.applicationKey);
69319
69741
  client.config.samplingPercentage = sampleRateNumer;
69320
- telemetryClientConfig_1.configAzureTelemetryClient(client);
69742
+ (0, telemetryClientConfig_1.configAzureTelemetryClient)(client);
69321
69743
  return client;
69322
69744
  }
69323
69745
  };
@@ -69353,10 +69775,10 @@ var require_toolsSuiteTelemetryClient = __commonJS({
69353
69775
  super(applicationKey, extensionName, extensionVersion);
69354
69776
  }
69355
69777
  async report(eventName, properties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings) {
69356
- const fioriProjectCommonProperties = await toolsSuiteTelemetry_1.processToolsSuiteTelemetry(telemetryHelperProperties);
69778
+ const fioriProjectCommonProperties = await (0, toolsSuiteTelemetry_1.processToolsSuiteTelemetry)(telemetryHelperProperties);
69357
69779
  const commonProperties = {
69358
69780
  v: this.extensionVersion,
69359
- datetime: date_1.localDatetimeToUTC()
69781
+ datetime: (0, date_1.localDatetimeToUTC)()
69360
69782
  };
69361
69783
  const finalProperties = {
69362
69784
  ...properties,
@@ -69366,10 +69788,10 @@ var require_toolsSuiteTelemetryClient = __commonJS({
69366
69788
  await super.report(eventName, finalProperties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings);
69367
69789
  }
69368
69790
  async reportEvent(event, sampleRate, telemetryHelperProperties, ignoreSettings) {
69369
- const fioriProjectCommonProperties = await toolsSuiteTelemetry_1.processToolsSuiteTelemetry(telemetryHelperProperties);
69791
+ const fioriProjectCommonProperties = await (0, toolsSuiteTelemetry_1.processToolsSuiteTelemetry)(telemetryHelperProperties);
69370
69792
  const telemetryEventCommonProperties = {
69371
69793
  v: this.extensionVersion,
69372
- datetime: date_1.localDatetimeToUTC()
69794
+ datetime: (0, date_1.localDatetimeToUTC)()
69373
69795
  };
69374
69796
  const finalProperties = {
69375
69797
  ...event.properties,
@@ -69507,350 +69929,6 @@ var require_findit2 = __commonJS({
69507
69929
  }
69508
69930
  });
69509
69931
 
69510
- // ../../node_modules/@sap/ux-specification-types/dist/common.js
69511
- var require_common8 = __commonJS({
69512
- "../../node_modules/@sap/ux-specification-types/dist/common.js"(exports2, module2) {
69513
- var P = Object.defineProperty;
69514
- var Ge = Object.getOwnPropertyDescriptor;
69515
- var He = Object.getOwnPropertyNames;
69516
- var We = Object.prototype.hasOwnProperty;
69517
- var Xe = (S) => P(S, "__esModule", { value: true });
69518
- var d = (S, i) => {
69519
- for (var o in i)
69520
- P(S, o, { get: i[o], enumerable: true });
69521
- };
69522
- var Qe = (S, i, o, t) => {
69523
- if (i && typeof i == "object" || typeof i == "function")
69524
- for (let s of He(i))
69525
- !We.call(S, s) && (o || s !== "default") && P(S, s, { get: () => i[s], enumerable: !(t = Ge(i, s)) || t.enumerable });
69526
- return S;
69527
- };
69528
- var Ke = ((S) => (i, o) => S && S.get(i) || (o = Qe(Xe({}), i, 1), S && S.set(i, o), o))(typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
69529
- var Ut = {};
69530
- d(Ut, { ALPViewType: () => h, ActionTitlePrefix: () => ze, ArtifactType: () => F, BindingPropertyRegexAsString: () => qe, ControlType: () => v, CustomExtensionType: () => D, DATESETTINGSPATH: () => it, DataSourceType: () => N, DefinitionName: () => k, DirName: () => U, DraftDiscardEnabledSettings: () => X, ExportArtifacts: () => j, FIORI_FCL_ROOT_ID: () => ct, FIORI_FCL_ROOT_VIEW_NAME: () => pt, FRAGMENTNAMEPART: () => rt, FacetBase: () => M, FacetTitlePrefix: () => Ne, Features: () => Z, FileName: () => w, FioriElementsVersion: () => E, FlexChangeLayer: () => O, FlexibleColumnLayoutAggregations: () => Y, FlexibleColumnLayoutType: () => V, GENERICAPPSETTINGS: () => st, LogSeverity: () => J, LogSeverityLabel: () => mt, MANIFESTPATH: () => $e, METADATAPATH: () => Je, MacrosPropertyType: () => W, ManifestSection: () => z, OdataVersion: () => y, PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP: () => Ye, PageType: () => C, PageTypeV4: () => f, PropertyName: () => B, QUICKVARPATH: () => at, QUICKVARPATHX: () => nt, SAPUI5_FRAGMENT_CLASS: () => gt2, SAPUI5_VIEW_CLASS: () => lt2, SchemaKeyName: () => H, SchemaTag: () => G, SchemaType: () => L, SectionType: () => R, StatePreservationMode: () => K, TableColumnVerticalAlignment: () => Q, TemplateType: () => $, UIVOCABULARY: () => et, UIVOCABULARYALPHADOT: () => ot, UIVOCABULARYDOT: () => tt, VOCWITHCOLONS: () => Ze, VOCWITHSLASH: () => De, ViewTemplateType: () => _45, ViewTypes: () => q2, Visualization: () => I, v2: () => A, v4: () => T });
69531
- var C = ((n) => (n.ObjectPage = "ObjectPage", n.ListReport = "ListReport", n.OverviewPage = "OverviewPage", n.CustomPage = "CustomPage", n.AnalyticalListPage = "AnalyticalListPage", n))(C || {});
69532
- var f = ((n) => (n.ObjectPage = "ObjectPage", n.ListReport = "ListReport", n.CustomPage = "CustomPage", n.FPMCustomPage = "FPMCustomPage", n.AnalyticalListPage = "AnalyticalListPage", n))(f || {});
69533
- var Ye = /* @__PURE__ */ new Map([["ListReport", "sap.suite.ui.generic.template.ListReport.view.ListReport"], ["AnalyticalListPage", "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"], ["ObjectPage", "sap.suite.ui.generic.template.ObjectPage.view.Details"]]);
69534
- var E = ((o) => (o.v2 = "v2", o.v4 = "v4", o))(E || {});
69535
- var y = ((o) => (o.v2 = "v2", o.v4 = "v4", o))(y || {});
69536
- var V = ((m) => (m.OneColumn = "OneColumn", m.TwoColumnsBeginExpanded = "TwoColumnsBeginExpanded", m.TwoColumnsMidExpanded = "TwoColumnsMidExpanded", m.MidColumnFullScreen = "MidColumnFullScreen", m.ThreeColumnsMidExpanded = "ThreeColumnsMidExpanded", m.ThreeColumnsEndExpanded = "ThreeColumnsEndExpanded", m.ThreeColumnsMidExpandedEndHidden = "ThreeColumnsMidExpandedEndHidden", m.ThreeColumnsBeginExpandedEndHidden = "ThreeColumnsBeginExpandedEndHidden", m.EndColumnFullScreen = "EndColumnFullScreen", m))(V || {});
69537
- var O = ((o) => (o.Vendor = "VENDOR", o.Customer = "CUSTOMER_BASE", o))(O || {});
69538
- var L = ((b) => (b.Application = "Application", b.ObjectPage = "ObjectPage", b.ListReport = "ListReport", b.OverviewPage = "OverviewPage", b.AnalyticalListPage = "AnalyticalListPage", b.FreestylePage = "FreestylePage", b.FPMCustomPage = "FPMCustomPage", b.BuildingBlocks = "BuildingBlocks", b))(L || {});
69539
- var j = ((o) => (o.flex = "flex", o.manifest = "manifest", o))(j || {});
69540
- var h = ((o) => (o.Primary = "primary", o.Secondary = "secondary", o))(h || {});
69541
- var R = ((t) => (t.Section = "Section", t.SubSection = "SubSection", t.HeaderSection = "HeaderSection", t))(R || {});
69542
- var F = ((n) => (n.Manifest = "Manifest", n.FlexChange = "FlexChange", n.Annotation = "Annotation", n.Fragment = "Fragment", n.View = "View", n))(F || {});
69543
- var v = ((g) => (g.Table = "sap.m.Table", g.TableColumn = "sap.m.Column", g.SmartTable = "sap.ui.comp.smarttable.SmartTable", g.SmartFilterBar = "sap.ui.comp.smartfilterbar.SmartFilterBar", g.SmartChart = "sap.ui.comp.smartchart.SmartChart", g.Group = "sap.ui.comp.smartform.Group", g.GroupElement = "sap.ui.comp.smartform.GroupElement", g.Button = "sap.m.Button", g.ToolbarButton = "sap.m.OverflowToolbarButton", g.Avatar = "sap.f.Avatar", g.ObjectPageDynamicHeaderTitle = "sap.uxap.ObjectPageDynamicHeaderTitle", g.ObjectPageGridProperties = "sap.ui.layout.GridData", g.ObjectPageHeader = "sap.uxap.ObjectPageHeader", g.ObjectPageLayout = "sap.uxap.ObjectPageLayout", g.HeaderAction = "sap.uxap.ObjectPageHeaderActionButton", g.DynamicPage = "sap.f.DynamicPage", g.Form = "sap.ui.layout.form", g.Chart = "sap.suite.ui.microchart", g.Section = "sap.uxap.ObjectPageSection", g.SubSection = "sap.uxap.ObjectPageSubSection", g))(v || {});
69544
- var I = ((o) => (o.LineItem = "LineItem", o.Chart = "Chart", o))(I || {});
69545
- var U = ((p) => (p.Sapux = "src", p.Schemas = ".schemas", p.Pages = "pages", p.Webapp = "webapp", p.Temp = ".tmp", p.Changes = "changes", p.LocalService = "localService", p.Controller = "controller", p.View = "view", p.Fragment = "fragment", p.Ext = "ext", p.VSCode = ".vscode", p))(U || {});
69546
- var w = ((i) => (i.App = "app.json", i))(w || {});
69547
- var Ne = "Facet ID: ";
69548
- var ze = "Action ID: ";
69549
- var M = ((c) => (c.LineItem = "LineItem", c.CollectionFacet = "CollectionFacet", c.Chart = "Chart", c.Form = "Form", c.Identification = "Identification", c.DataPoint = "DataPoint", c.Address = "Address", c.Contact = "Contact", c.PresentationVariant = "PresentationVariant", c.Unknown = "", c))(M || {});
69550
- var qe = "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$";
69551
- var _45 = ((n) => (n.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", n.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", n.TreeTableColumnsExtension = "TreeTableColumnsExtension", n.GridTableColumnsExtension = "GridTableColumnsExtension", n.ResponsiveTableCellsExtension = "ResponsiveTableCellsExtension", n))(_45 || {});
69552
- var k = ((e) => (e.Action = "Action", e.Actions = "Actions", e.ActionsLR = "Actions<LineItems>", e.ALPChart = "ALPChart", e.ALPChartView = "ALPChartView", e.ALPTable = "ALPTable", e.ALPTableView = "ALPTableView", e.AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar", e.AnnotationPathAsObject = "AnnotationPathAsObject", e.ChartToolBarAction = "ChartToolBarAction", e.CommonHeaderFacetSettings = "CommonHeaderFacetSettings", e.CustomFooterActionOP = "CustomFooterActionOP", e.CustomHeaderActionOP = "CustomHeaderActionOP", e.CustomFormActionOP = "CustomFormActionOP", e.CustomTableAction = "CustomTableAction", e.CustomTableActionOP = "CustomTableActionOP", e.CustomColumn = "TableCustomColumn", e.CustomColumnOP = "TableCustomColumnOP", e.CustomColumns = "TableCustomColumns", e.CustomSections = "CustomSections", e.FieldPath = "FieldPath", e.Field = "Field", e.Fields = "Fields", e.Fields4Dialog = "Fields4Dialog", e.FilterBar = "FilterBar", e.Footer = "Footer", e.FooterAction = "FooterAction", e.FooterActionV4 = "FooterActionV4", e.FooterActions = "FooterActions", e.FooterActionsLR = "FooterActions<LineItems>", e.Form = "Form", e.FormAction = "FormAction", e.GenericActions = "GenericActions", e.GenericColumnsOP = "GenericColumnsOP", e.GenericFooter = "GenericFooter", e.GenericSections = "GenericSections", e.HeaderActions = "HeaderActions", e.HeaderActionV4 = "HeaderActionV4", e.HeaderSections = "HeaderSections", e.LineItems = "LineItems", e.LineItemsOfView = "LineItemsOfView", e.ListReportFilterBar = "ListReportFilterBar", e.LRTableView = "LRTableView", e.LRChartView = "LRChartView", e.MultiEditV2 = "MultiEdit", e.MultiTableModeV4 = "MultiTableModeV4", e.ObjectPageChart = "ObjectPageChart", e.ObjectPageCustomSectionFragment = "ObjectPageCustomSectionFragment", e.ObjectPageForm = "ObjectPageForm", e.ObjectPageFooter = "ObjectPageFooter", e.ObjectPageFooterAction = "ObjectPageFooterAction", e.ObjectPageFooterActions = "ObjectPageFooterActions", e.ObjectPageHeader = "ObjectPageHeader", e.ObjectPageHeaderSectionForm = "ObjectPageHeaderSectionForm", e.ObjectPageHeaderSectionChart = "ObjectPageHeaderSectionChart", e.ObjectPageHeaderSectionDataPoint = "ObjectPageHeaderSectionDataPoint", e.ObjectPageHeaderSectionContact = "ObjectPageHeaderSectionContact", e.ObjectPageHeaderSectionAddress = "ObjectPageHeaderSectionAddress", e.ObjectPageLayout = "ObjectPageLayout", e.ObjectPagePresentationVariant = "ObjectPagePresentationVariant", e.ObjectPageSectionAddress = "ObjectPageSectionAddress", e.ObjectPageSectionChart = "ObjectPageSectionChart", e.ObjectPageSectionContact = "ObjectPageSectionContact", e.ObjectPageSectionDataPoint = "ObjectPageSectionDataPoint", e.ObjectPageSectionForm = "ObjectPageSectionForm", e.ObjectPageSectionPresentationVariant = "ObjectPageSectionPresentationVariant", e.ObjectPageSectionTableV4 = "ObjectPageSectionTableV4", e.ObjectPageSubSections = "ObjectPageSubSections", e.ObjectPageTable = "ObjectPageTable", e.ObjectPageTableColumn = "ObjectPageTableColumn", e.ObjectPageToolBar = "ObjectPageToolBar", e.ObjectPageToolBarAction = "ObjectPageToolBarAction", e.ObjectPageToolBarActions = "ObjectPageToolBarActions", e.Position = "Position", e.PositionOP = "PositionOP", e.QuickVariant = "QuickVariant", e.QuickVariantSelectionOP = "QuickVariantSelectionOP", e.QuickVariantSelectionV4OP = "QuickVariantSelectionV4OP", e.RelatedFacetKeys = "RelatedFacetKeys", e.Sections = "Sections", e.SectionActions = "SectionActions", e.SelectionFields = "SelectionFields", e.Table = "Table", e.TableSPV = "TableSPV", e.TableColumn = "TableColumn", e.TableViewExtension = "TableViewExtension", e.ToolBarAction = "ToolBarAction", e.ToolBarLR = "ToolBar<LineItems>", e.ToolBar = "ToolBar", e.ViewTableColumn = "ViewTableColumn", e.ViewCustomColumn = "ViewTableCustomColumn", e.ViewCustomAction = "ViewTableCustomAction", e.ViewChartToolBar = "ViewChartToolBar", e.ViewToolBarAction = "ViewToolBarAction", e.ViewPosition = "ViewPosition", e.ViewCustomActionPosition = "ViewCustomActionPosition", e.CustomActionPosition = "CustomActionPosition", e.CustomActionPositionOP = "CustomActionPositionOP", e.CustomHeaderActionPositionOP = "CustomHeaderActionPositionOP", e.CustomFooterActionPositionOP = "CustomFooterActionPositionOP", e))(k || {});
69553
- var B = ((c) => (c.actions = "actions", c.annotationPath = "annotationPath", c.chart = "chart", c.defaultPath = "defaultPath", c.defaultTemplateAnnotationPath = "defaultTemplateAnnotationPath", c.sections = "sections", c.table = "table", c.views = "views", c.header = "header", c.footer = "footer", c))(B || {});
69554
- var G = ((p) => (p.annotationPath = "annotationPath", p.annotationType = "annotationType", p.artifactType = "artifactType", p.controlType = "controlType", p.dataType = "dataType", p.fullyQualifiedName = "fullyQualifiedName", p.hidden = "hidden", p.isViewNode = "isViewNode", p.key = "key", p.keys = "keys", p.target = "target", p.propertyIndex = "propertyIndex", p))(G || {});
69555
- var H = ((n) => (n.id = "ID", n.value = "Value", n.action = "Action", n.target = "Target", n.key = "Key", n))(H || {});
69556
- var Je = "webapp/localService/metadata.xml";
69557
- var $e = "webapp/manifest.json";
69558
- var De = "/@com.sap.vocabularies";
69559
- var Ze = "::@com.sap.vocabularies";
69560
- var et = "com.sap.vocabularies.UI.v1";
69561
- var tt = "com.sap.vocabularies.UI.v1.";
69562
- var ot = "@com.sap.vocabularies.UI.v1.";
69563
- var at = "/quickVariantSelection";
69564
- var nt = "/quickVariantSelectionX";
69565
- var it = "/filterSettings/dateSettings";
69566
- var rt = ".fragment.";
69567
- var W = ((s) => (s.Control = "Control", s.Property = "Property", s.Aggregation = "Aggregation", s.Event = "Event", s))(W || {});
69568
- var X = ((i) => (i.restricted = "restricted", i))(X || {});
69569
- var Q = ((t) => (t.Top = "Top", t.Middle = "Middle", t.Bottom = "Bottom", t))(Q || {});
69570
- var K = ((o) => (o.persistence = "persistence", o.discovery = "discovery", o))(K || {});
69571
- var Y = ((t) => (t.BeginColumnPages = "beginColumnPages", t.MidColumnPages = "midColumnPages", t.EndColumnPages = "endColumnPages", t))(Y || {});
69572
- var N = ((o) => (o.OData = "OData", o.ODataAnnotation = "ODataAnnotation", o))(N || {});
69573
- var z = ((n) => (n.ui = "sap.ui", n.app = "sap.app", n.generic = "sap.ui.generic.app", n.ovp = "sap.ovp", n.ui5 = "sap.ui5", n))(z || {});
69574
- var st = `${"sap.ui.generic.app"}/settings`;
69575
- var pt = "sap.fe.templates.RootContainer.view.Fcl";
69576
- var ct = "appRootView";
69577
- var q2 = ((t) => (t.XML = "XML", t.HTML = "HTML", t.JSON = "JSON", t))(q2 || {});
69578
- var lt2 = "sap.ui.core.mvc.View";
69579
- var gt2 = "sap.ui.core.Fragment";
69580
- var J = ((t) => (t.Error = "error", t.Warning = "warning", t.Info = "info", t))(J || {});
69581
- var mt = { ["error"]: "Error", ["warning"]: "Warning", ["info"]: "Information" };
69582
- var $ = ((u) => (u.ListReportObjectPageV2 = "ListReportObjectPageV2", u.ListReportObjectPageV4 = "ListReportObjectPageV4", u.OverviewPageV2 = "OverviewPageV2", u.AnalyticalListPageV2 = "AnalyticalListPageV2", u.AnalyticalListPageV4 = "AnalyticalListPageV4", u.FreestylePageV4 = "FreestylePageV4", u))($ || {});
69583
- var D = ((x) => (x.CustomPage = "CustomPage", x.CustomColumn = "CustomColumn", x.CustomSection = "CustomSection", x.ObjectPage = "ObjectPage", x.CustomAction = "CustomAction", x.CustomView = "CustomView", x.ControllerExtension = "ControllerExtension", x))(D || {});
69584
- var Z = ((i) => (i.BuildingBlocks = "BuildingBlocks", i))(Z || {});
69585
- var A = {};
69586
- d(A, { CardSettingsType: () => oe, CardTemplateType: () => te, ChartCardType: () => ee, ChartType: () => de, ContainerLayoutType: () => fe, CreateMode: () => Ce, DateRangeType: () => pe, DefaultContentView: () => xe, DefaultDateRangeValueType: () => ce, DefaultFilterMode: () => ue, ExtensionFragmentTypes: () => Te, FE_TEMPLATE_V2: () => St, FE_TEMPLATE_V2_ALP: () => Pt, FE_TEMPLATE_V2_LIST_REPORT: () => ut, FE_TEMPLATE_V2_OBJECT_PAGE: () => xt, IgnoredFieldsType: () => Se, LinkListFlavorType: () => se, ListFlavorType: () => ne, ListTypeType: () => ie, LoadDataOnAppLaunchSettings: () => Pe, MeasureAggregateValues: () => ae, SAPUI5_CONTROLLER_EXTENSION: () => At, SAPUI5_VIEW_EXTENSION: () => dt, SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE: () => ft, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => Ct, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => Tt, SectionPosition: () => Ae, SortOrderType: () => re, Strategy: () => be, TableColumnExtensionTypeV2: () => me, TableTypeV2: () => ge, cardTemplateTypeMap: () => bt, customColumnViewTypes: () => le });
69587
- var ee = ((t) => (t.cardBubble = "cardBubble", t.cardchartsline = "cardchartsline", t.cardchartsdonut = "cardchartsdonut", t))(ee || {});
69588
- var te = ((m) => (m.analytical = "sap.ovp.cards.charts.analytical", m.analyticalv4 = "sap.ovp.cards.v4.charts.analytical", m.list = "sap.ovp.cards.list", m.listv4 = "sap.ovp.cards.v4.list", m.linklist = "sap.ovp.cards.linklist", m.linklistv4 = "sap.ovp.cards.v4.linklist", m.table = "sap.ovp.cards.table", m.tablev4 = "sap.ovp.cards.v4.table", m.stack = "sap.ovp.cards.stack", m))(te || {});
69589
- var bt = { "sap.ovp.cards.charts.analytical": "AnalyticalCard", "sap.ovp.cards.v4.charts.analytical": "AnalyticalCard", "sap.ovp.cards.list": "ListCard", "sap.ovp.cards.v4.list": "ListCard", "sap.ovp.cards.linklist": "LinklistCard", "sap.ovp.cards.v4.linklist": "LinklistCard", "sap.ovp.cards.table": "TableCard", "sap.ovp.cards.v4.table": "TableCard", "sap.ovp.cards.stack": "StackCard" };
69590
- var oe = ((b) => (b.analyticalCardSettings = "analyticalCardSettings", b.analyticalCardSettingsv4 = "analyticalCardSettingsv4", b.listCardSettings = "listCardSettings", b.listCardSettingsv4 = "listCardSettingsv4", b.stackCardSettings = "stackCardSettings", b.linkListCardSettings = "linkListCardSettings", b.tableCardSettings = "tableCardSettings", b.tableCardSettingsv4 = "tableCardSettingsv4", b))(oe || {});
69591
- var ae = ((n) => (n.average = "average", n.max = "max", n.min = "min", n.sum = "sum", n.count = "$count", n))(ae || {});
69592
- var ne = ((t) => (t.standard = "standard", t.bar = "bar", t.carousel = "carousel", t))(ne || {});
69593
- var ie = ((o) => (o.extended = "extended", o.condensed = "condensed", o))(ie || {});
69594
- var re = ((o) => (o.ascending = "ascending", o.descending = "descending", o))(re || {});
69595
- var se = ((o) => (o.standard = "standard", o.carousel = "carousel", o))(se || {});
69596
- var pe = ((a) => (a.DATERANGE = "DATERANGE", a.DATE = "DATE", a.FROM = "FROM", a.TO = "TO", a.DAYS = "DAYS", a.LASTDAYS = "LASTDAYS", a.LASTWEEKS = "LASTWEEKS", a.WEEK = "WEEK", a.LASTMONTHS = "LASTMONTHS", a.MONTH = "MONTH", a.QUARTER = "QUARTER", a.LASTQUARTERS = "LASTQUARTERS", a.LASTYEARS = "LASTYEARS", a.LASTYEAR = "LASTYEAR", a.YEAR = "YEAR", a.NEXTDAYS = "NEXTDAYS", a.NEXTWEEKS = "NEXTWEEKS", a.NEXTMONTHS = "NEXTMONTHS", a.NEXTQUARTERS = "NEXTQUARTERS", a.NEXTYEARS = "NEXTYEARS", a.NEXT = "NEXT", a.SPECIFICMONTH = "SPECIFICMONTH", a.YESTERDAY = "YESTERDAY", a.YEARTODATE = "YEARTODATE", a.TODAY = "TODAY", a.TOMORROW = "TOMORROW", a.THISWEEK = "THISWEEK", a.LASTWEEK = "LASTWEEK", a.LAST2WEEKS = "LAST2WEEKS", a.LAST3WEEKS = "LAST3WEEKS", a.LAST4WEEKS = "LAST4WEEKS", a.LAST5WEEKS = "LAST5WEEKS", a.NEXTWEEK = "NEXTWEEK", a.NEXT2WEEKS = "NEXT2WEEKS", a.NEXT3WEEKS = "NEXT3WEEKS", a.NEXT4WEEKS = "NEXT4WEEKS", a.NEXT5WEEKS = "NEXT5WEEKS", a.THISMONTH = "THISMONTH", a.LASTMONTH = "LASTMONTH", a.NEXTMONTH = "NEXTMONTH", a.THISQUARTER = "THISQUARTER", a.LASTQUARTER = "LASTQUARTER", a.NEXTQUARTER = "NEXTQUARTER", a.QUARTER1 = "QUARTER1", a.QUARTER2 = "QUARTER2", a.QUARTER3 = "QUARTER3", a.QUARTER4 = "QUARTER4", a.TODAYFROMTO = "TODAYFROMTO", a))(pe || {});
69597
- var ce = ((l) => (l.YESTERDAY = "YESTERDAY", l.TODAY = "TODAY", l.THISWEEK = "THISWEEK", l.LASTWEEK = "LASTWEEK", l.THISMONTH = "THISMONTH", l.TOMORROW = "TOMORROW", l.LASTMONTH = "LASTMONTH", l.THISQUARTER = "THISQUARTER", l.LASTQUARTER = "LASTQUARTER", l.THISYEAR = "THISYEAR", l.LASTYEAR = "LASTYEAR", l.LAST2WEEKS = "LAST2WEEKS", l.LAST3WEEKS = "LAST3WEEKS", l.LAST4WEEKS = "LAST4WEEKS", l.LAST5WEEKS = "LAST5WEEKS", l.YEARTODATE = "YEARTODATE", l.QUARTER1 = "QUARTER1", l.QUARTER2 = "QUARTER2", l.QUARTER3 = "QUARTER3", l.QUARTER4 = "QUARTER4", l.DATETOYEAR = "DATETOYEAR", l))(ce || {});
69598
- var le = ((i) => (i.XML = "XML", i))(le || {});
69599
- var ge = ((s) => (s.ResponsiveTable = "ResponsiveTable", s.GridTable = "GridTable", s.AnalyticalTable = "AnalyticalTable", s.TreeTable = "TreeTable", s))(ge || {});
69600
- var me = ((s) => (s.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", s.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", s.TreeTableColumnsExtension = "TreeTableColumnsExtension", s.GridTableColumnsExtension = "GridTableColumnsExtension", s))(me || {});
69601
- var be = ((i) => (i.extension = "extension", i))(be || {});
69602
- var Se = ((i) => (i.GENERICPROPERTY = "GENERICPROPERTY", i))(Se || {});
69603
- var xe = ((t) => (t.charttable = "charttable", t.chart = "chart", t.table = "table", t))(xe || {});
69604
- var ue = ((o) => (o.visual = "visual", o.compact = "compact", o))(ue || {});
69605
- var Pe = ((t) => (t.always = "always", t.never = "never", t.ifAnyFilterExist = "ifAnyFilterExist", t))(Pe || {});
69606
- var de = ((r) => (r.bar = "bar", r.column = "column", r.line = "line", r.combination = "combination", r.pie = "pie", r.donut = "donut", r.scatter = "scatter", r.bubble = "bubble", r.heatmap = "heatmap", r.bullet = "bullet", r.verticalBullet = "vertical_bullet", r.stackedBar = "stacked_bar", r.stackedColumn = "stacked_column", r.stackedCombination = "stacked_combination", r.horizontalStackedCombination = "horizontal_stacked_combination", r.dualBar = "dual_bar", r.dualColumn = "dual_column", r.dualLine = "dual_line", r.dualStackedBar = "dual_stacked_bar", r.dualStackedColumn = "dual_stacked_column", r.dualCombination = "dual_combination", r.dualStackedCombination = "dual_stacked_combination", r.dualHorizontalCombination = "dual_horizontal_combination", r.dualHorizontalStackedCombination = "dual_horizontal_stacked_combination", r.hundredStackedBar = "100_stacked_bar", r.hundredStackedColumn = "100_stacked_column", r.hundredDualStackedBar = "100_dual_stacked_bar", r.hundredDualStackedColumn = "100_dual_stacked_column", r.waterfall = "waterfall", r.horizontalWaterfall = "horizontal_waterfall", r))(de || {});
69607
- var Ae = ((t) => (t.AfterFacet = "AfterFacet", t.BeforeFacet = "BeforeFacet", t.ReplaceFacet = "ReplaceFacet", t))(Ae || {});
69608
- var Te = ((i) => (i.XML = "XML", i))(Te || {});
69609
- var Ce = ((i) => (i.inline = "inline", i))(Ce || {});
69610
- var St = "sap.suite.ui.generic.template";
69611
- var xt = "sap.suite.ui.generic.template.ObjectPage";
69612
- var ut = "sap.suite.ui.generic.template.ListReport";
69613
- var Pt = "sap.suite.ui.generic.template.AnalyticalListPage";
69614
- var dt = "sap.ui.viewExtensions";
69615
- var At = "sap.ui.controllerExtensions";
69616
- var Tt = "sap.suite.ui.generic.template.ObjectPage.view.Details";
69617
- var Ct = "sap.suite.ui.generic.template.ListReport.view.ListReport";
69618
- var ft = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
69619
- var fe = ((o) => (o.fixed = "fixed", o.resizable = "resizable", o))(fe || {});
69620
- var T = {};
69621
- d(T, { ActionPlacement: () => Ee, Availability: () => Me, CustomSectionViewTypesV4: () => Ie, DefaultPathType: () => je, DesigntimeValues: () => Re, FE_TEMPLATE_V4: () => Et, FE_TEMPLATE_V4_ALP: () => Lt, FE_TEMPLATE_V4_CUSTOM_PAGE: () => yt, FE_TEMPLATE_V4_LIST_REPORT: () => Ot, FE_TEMPLATE_V4_OBJECT_PAGE: () => Vt, FIORI_FCL_ROUTER_CLASS: () => ht, HorizontalAlign: () => _e, InitialLoadType: () => Le, Placement: () => we, SAPUI5_CONTROLLER_EXTENSION: () => Ft, SAPUI5_DEPENDENCY_LIB_SAP_F: () => Rt, SAPUI5_FRAGMENT_TYPE_V4: () => jt, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => It, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => vt, SectionLayoutType: () => Fe, SectionPosition: () => ve, SectionPositionV4: () => Ue, SelectType: () => he, SelectionMode: () => ye, TableCreationModeType: () => Oe, TableTypeV4: () => Ve, VariantManagementTypeListReport: () => Be, VariantManagementTypeObjectPage: () => ke });
69622
- var Ee = ((o) => (o.After = "After", o.Before = "Before", o))(Ee || {});
69623
- var ye = ((s) => (s.Multi = "Multi", s.None = "None", s.Single = "Single", s.Auto = "Auto", s))(ye || {});
69624
- var Ve = ((t) => (t.ResponsiveTable = "ResponsiveTable", t.GridTable = "GridTable", t.AnalyticalTable = "AnalyticalTable", t))(Ve || {});
69625
- var Oe = ((t) => (t.NewPage = "NewPage", t.Inline = "Inline", t.CreationRow = "CreationRow", t))(Oe || {});
69626
- var Le = ((t) => (t.Disabled = "Disabled", t.Enabled = "Enabled", t.Auto = "Auto", t))(Le || {});
69627
- var je = ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Both = "both", t))(je || {});
69628
- var he = ((o) => (o.single = "single", o.multi = "multi", o))(he || {});
69629
- var Re = ((S) => (S["not-adaptable-visibility"] = "not-adaptable-visibility", S))(Re || {});
69630
- var Fe = ((o) => (o.Tabs = "Tabs", o.Page = "Page", o))(Fe || {});
69631
- var ve = ((o) => (o.After = "After", o.Before = "Before", o))(ve || {});
69632
- var Ie = ((i) => (i.XML = "XML", i))(Ie || {});
69633
- var Et = "sap.fe.templates";
69634
- var yt = "sap.fe.core.fpm";
69635
- var Vt = "sap.fe.templates.ObjectPage";
69636
- var Ot = "sap.fe.templates.ListReport";
69637
- var Lt = "sap.fe.templates.AnalyticalListPage";
69638
- var jt = "XMLFragment";
69639
- var Ue = ((o) => (o.AfterFacet = "AfterFacet", o.BeforeFacet = "BeforeFacet", o))(Ue || {});
69640
- var ht = "sap.f.routing.Router";
69641
- var Rt = "sap.f";
69642
- var Ft = "sap.ui.controllerExtensions";
69643
- var vt = "sap.fe.templates.ObjectPage.ObjectPageController";
69644
- var It = "sap.fe.templates.ListReport.ListReportController";
69645
- var we = ((o) => (o.After = "After", o.Before = "Before", o))(we || {});
69646
- var Me = ((t) => (t.Default = "Default", t.Adaptation = "Adaptation", t.Hidden = "Hidden", t))(Me || {});
69647
- var _e = ((t) => (t.Begin = "Begin", t.Center = "Center", t.End = "End", t))(_e || {});
69648
- var ke = ((o) => (o.None = "None", o.Control = "Control", o))(ke || {});
69649
- var Be = ((t) => (t.None = "None", t.Control = "Control", t.Page = "Page", t))(Be || {});
69650
- module2.exports = Ke(Ut);
69651
- }
69652
- });
69653
-
69654
- // ../../node_modules/@sap/ux-specification-types/dist/apiTypes.js
69655
- var require_apiTypes = __commonJS({
69656
- "../../node_modules/@sap/ux-specification-types/dist/apiTypes.js"(exports2) {
69657
- "use strict";
69658
- Object.defineProperty(exports2, "__esModule", { value: true });
69659
- exports2.Features = exports2.CustomExtensionType = exports2.TemplateType = exports2.LogSeverityLabel = exports2.LogSeverity = void 0;
69660
- var LogSeverity2;
69661
- (function(LogSeverity3) {
69662
- LogSeverity3["Error"] = "error";
69663
- LogSeverity3["Warning"] = "warning";
69664
- LogSeverity3["Info"] = "info";
69665
- })(LogSeverity2 = exports2.LogSeverity || (exports2.LogSeverity = {}));
69666
- exports2.LogSeverityLabel = {
69667
- ["error"]: "Error",
69668
- ["warning"]: "Warning",
69669
- ["info"]: "Information"
69670
- };
69671
- var TemplateType2;
69672
- (function(TemplateType3) {
69673
- TemplateType3["ListReportObjectPageV2"] = "ListReportObjectPageV2";
69674
- TemplateType3["ListReportObjectPageV4"] = "ListReportObjectPageV4";
69675
- TemplateType3["OverviewPageV2"] = "OverviewPageV2";
69676
- TemplateType3["AnalyticalListPageV2"] = "AnalyticalListPageV2";
69677
- TemplateType3["AnalyticalListPageV4"] = "AnalyticalListPageV4";
69678
- TemplateType3["FreestylePageV4"] = "FreestylePageV4";
69679
- })(TemplateType2 = exports2.TemplateType || (exports2.TemplateType = {}));
69680
- var CustomExtensionType2;
69681
- (function(CustomExtensionType3) {
69682
- CustomExtensionType3["CustomPage"] = "CustomPage";
69683
- CustomExtensionType3["CustomColumn"] = "CustomColumn";
69684
- CustomExtensionType3["CustomSection"] = "CustomSection";
69685
- CustomExtensionType3["ObjectPage"] = "ObjectPage";
69686
- CustomExtensionType3["CustomAction"] = "CustomAction";
69687
- CustomExtensionType3["CustomView"] = "CustomView";
69688
- CustomExtensionType3["ControllerExtension"] = "ControllerExtension";
69689
- })(CustomExtensionType2 = exports2.CustomExtensionType || (exports2.CustomExtensionType = {}));
69690
- var Features2;
69691
- (function(Features3) {
69692
- Features3["BuildingBlocks"] = "BuildingBlocks";
69693
- })(Features2 = exports2.Features || (exports2.Features = {}));
69694
- }
69695
- });
69696
-
69697
- // ../../node_modules/@sap/ux-specification-types/dist/v2.js
69698
- var require_v2 = __commonJS({
69699
- "../../node_modules/@sap/ux-specification-types/dist/v2.js"(exports2, module2) {
69700
- var S = Object.defineProperty;
69701
- var N = Object.getOwnPropertyDescriptor;
69702
- var F = Object.getOwnPropertyNames;
69703
- var j = Object.prototype.hasOwnProperty;
69704
- var W = (s) => S(s, "__esModule", { value: true });
69705
- var w = (s, n) => {
69706
- for (var a in n)
69707
- S(s, a, { get: n[a], enumerable: true });
69708
- };
69709
- var M = (s, n, a, i) => {
69710
- if (n && typeof n == "object" || typeof n == "function")
69711
- for (let r of F(n))
69712
- !j.call(s, r) && (a || r !== "default") && S(s, r, { get: () => n[r], enumerable: !(i = N(n, r)) || i.enumerable });
69713
- return s;
69714
- };
69715
- var K = ((s) => (n, a) => s && s.get(n) || (a = M(W({}), n, 1), s && s.set(n, a), a))(typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
69716
- var $ = {};
69717
- w($, { CardSettingsType: () => m, CardTemplateType: () => d, ChartCardType: () => b, ChartType: () => h, ContainerLayoutType: () => k, CreateMode: () => _45, DateRangeType: () => u, DefaultContentView: () => y, DefaultDateRangeValueType: () => P, DefaultFilterMode: () => v, ExtensionFragmentTypes: () => I, FE_TEMPLATE_V2: () => Q, FE_TEMPLATE_V2_ALP: () => H, FE_TEMPLATE_V2_LIST_REPORT: () => G, FE_TEMPLATE_V2_OBJECT_PAGE: () => X, IgnoredFieldsType: () => R, LinkListFlavorType: () => A, ListFlavorType: () => T, ListTypeType: () => x, LoadDataOnAppLaunchSettings: () => U, MeasureAggregateValues: () => g, SAPUI5_CONTROLLER_EXTENSION: () => z, SAPUI5_VIEW_EXTENSION: () => Y, SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE: () => D, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => J, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => q2, SectionPosition: () => V, SortOrderType: () => E, Strategy: () => L, TableColumnExtensionTypeV2: () => O, TableTypeV2: () => C, cardTemplateTypeMap: () => B, customColumnViewTypes: () => f });
69718
- var b = ((i) => (i.cardBubble = "cardBubble", i.cardchartsline = "cardchartsline", i.cardchartsdonut = "cardchartsdonut", i))(b || {});
69719
- var d = ((l) => (l.analytical = "sap.ovp.cards.charts.analytical", l.analyticalv4 = "sap.ovp.cards.v4.charts.analytical", l.list = "sap.ovp.cards.list", l.listv4 = "sap.ovp.cards.v4.list", l.linklist = "sap.ovp.cards.linklist", l.linklistv4 = "sap.ovp.cards.v4.linklist", l.table = "sap.ovp.cards.table", l.tablev4 = "sap.ovp.cards.v4.table", l.stack = "sap.ovp.cards.stack", l))(d || {});
69720
- var B = { "sap.ovp.cards.charts.analytical": "AnalyticalCard", "sap.ovp.cards.v4.charts.analytical": "AnalyticalCard", "sap.ovp.cards.list": "ListCard", "sap.ovp.cards.v4.list": "ListCard", "sap.ovp.cards.linklist": "LinklistCard", "sap.ovp.cards.v4.linklist": "LinklistCard", "sap.ovp.cards.table": "TableCard", "sap.ovp.cards.v4.table": "TableCard", "sap.ovp.cards.stack": "StackCard" };
69721
- var m = ((c) => (c.analyticalCardSettings = "analyticalCardSettings", c.analyticalCardSettingsv4 = "analyticalCardSettingsv4", c.listCardSettings = "listCardSettings", c.listCardSettingsv4 = "listCardSettingsv4", c.stackCardSettings = "stackCardSettings", c.linkListCardSettings = "linkListCardSettings", c.tableCardSettings = "tableCardSettings", c.tableCardSettingsv4 = "tableCardSettingsv4", c))(m || {});
69722
- var g = ((p) => (p.average = "average", p.max = "max", p.min = "min", p.sum = "sum", p.count = "$count", p))(g || {});
69723
- var T = ((i) => (i.standard = "standard", i.bar = "bar", i.carousel = "carousel", i))(T || {});
69724
- var x = ((a) => (a.extended = "extended", a.condensed = "condensed", a))(x || {});
69725
- var E = ((a) => (a.ascending = "ascending", a.descending = "descending", a))(E || {});
69726
- var A = ((a) => (a.standard = "standard", a.carousel = "carousel", a))(A || {});
69727
- var u = ((e) => (e.DATERANGE = "DATERANGE", e.DATE = "DATE", e.FROM = "FROM", e.TO = "TO", e.DAYS = "DAYS", e.LASTDAYS = "LASTDAYS", e.LASTWEEKS = "LASTWEEKS", e.WEEK = "WEEK", e.LASTMONTHS = "LASTMONTHS", e.MONTH = "MONTH", e.QUARTER = "QUARTER", e.LASTQUARTERS = "LASTQUARTERS", e.LASTYEARS = "LASTYEARS", e.LASTYEAR = "LASTYEAR", e.YEAR = "YEAR", e.NEXTDAYS = "NEXTDAYS", e.NEXTWEEKS = "NEXTWEEKS", e.NEXTMONTHS = "NEXTMONTHS", e.NEXTQUARTERS = "NEXTQUARTERS", e.NEXTYEARS = "NEXTYEARS", e.NEXT = "NEXT", e.SPECIFICMONTH = "SPECIFICMONTH", e.YESTERDAY = "YESTERDAY", e.YEARTODATE = "YEARTODATE", e.TODAY = "TODAY", e.TOMORROW = "TOMORROW", e.THISWEEK = "THISWEEK", e.LASTWEEK = "LASTWEEK", e.LAST2WEEKS = "LAST2WEEKS", e.LAST3WEEKS = "LAST3WEEKS", e.LAST4WEEKS = "LAST4WEEKS", e.LAST5WEEKS = "LAST5WEEKS", e.NEXTWEEK = "NEXTWEEK", e.NEXT2WEEKS = "NEXT2WEEKS", e.NEXT3WEEKS = "NEXT3WEEKS", e.NEXT4WEEKS = "NEXT4WEEKS", e.NEXT5WEEKS = "NEXT5WEEKS", e.THISMONTH = "THISMONTH", e.LASTMONTH = "LASTMONTH", e.NEXTMONTH = "NEXTMONTH", e.THISQUARTER = "THISQUARTER", e.LASTQUARTER = "LASTQUARTER", e.NEXTQUARTER = "NEXTQUARTER", e.QUARTER1 = "QUARTER1", e.QUARTER2 = "QUARTER2", e.QUARTER3 = "QUARTER3", e.QUARTER4 = "QUARTER4", e.TODAYFROMTO = "TODAYFROMTO", e))(u || {});
69728
- var P = ((o) => (o.YESTERDAY = "YESTERDAY", o.TODAY = "TODAY", o.THISWEEK = "THISWEEK", o.LASTWEEK = "LASTWEEK", o.THISMONTH = "THISMONTH", o.TOMORROW = "TOMORROW", o.LASTMONTH = "LASTMONTH", o.THISQUARTER = "THISQUARTER", o.LASTQUARTER = "LASTQUARTER", o.THISYEAR = "THISYEAR", o.LASTYEAR = "LASTYEAR", o.LAST2WEEKS = "LAST2WEEKS", o.LAST3WEEKS = "LAST3WEEKS", o.LAST4WEEKS = "LAST4WEEKS", o.LAST5WEEKS = "LAST5WEEKS", o.YEARTODATE = "YEARTODATE", o.QUARTER1 = "QUARTER1", o.QUARTER2 = "QUARTER2", o.QUARTER3 = "QUARTER3", o.QUARTER4 = "QUARTER4", o.DATETOYEAR = "DATETOYEAR", o))(P || {});
69729
- var f = ((n) => (n.XML = "XML", n))(f || {});
69730
- var C = ((r) => (r.ResponsiveTable = "ResponsiveTable", r.GridTable = "GridTable", r.AnalyticalTable = "AnalyticalTable", r.TreeTable = "TreeTable", r))(C || {});
69731
- var O = ((r) => (r.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", r.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", r.TreeTableColumnsExtension = "TreeTableColumnsExtension", r.GridTableColumnsExtension = "GridTableColumnsExtension", r))(O || {});
69732
- var L = ((n) => (n.extension = "extension", n))(L || {});
69733
- var R = ((n) => (n.GENERICPROPERTY = "GENERICPROPERTY", n))(R || {});
69734
- var y = ((i) => (i.charttable = "charttable", i.chart = "chart", i.table = "table", i))(y || {});
69735
- var v = ((a) => (a.visual = "visual", a.compact = "compact", a))(v || {});
69736
- var U = ((i) => (i.always = "always", i.never = "never", i.ifAnyFilterExist = "ifAnyFilterExist", i))(U || {});
69737
- var h = ((t) => (t.bar = "bar", t.column = "column", t.line = "line", t.combination = "combination", t.pie = "pie", t.donut = "donut", t.scatter = "scatter", t.bubble = "bubble", t.heatmap = "heatmap", t.bullet = "bullet", t.verticalBullet = "vertical_bullet", t.stackedBar = "stacked_bar", t.stackedColumn = "stacked_column", t.stackedCombination = "stacked_combination", t.horizontalStackedCombination = "horizontal_stacked_combination", t.dualBar = "dual_bar", t.dualColumn = "dual_column", t.dualLine = "dual_line", t.dualStackedBar = "dual_stacked_bar", t.dualStackedColumn = "dual_stacked_column", t.dualCombination = "dual_combination", t.dualStackedCombination = "dual_stacked_combination", t.dualHorizontalCombination = "dual_horizontal_combination", t.dualHorizontalStackedCombination = "dual_horizontal_stacked_combination", t.hundredStackedBar = "100_stacked_bar", t.hundredStackedColumn = "100_stacked_column", t.hundredDualStackedBar = "100_dual_stacked_bar", t.hundredDualStackedColumn = "100_dual_stacked_column", t.waterfall = "waterfall", t.horizontalWaterfall = "horizontal_waterfall", t))(h || {});
69738
- var V = ((i) => (i.AfterFacet = "AfterFacet", i.BeforeFacet = "BeforeFacet", i.ReplaceFacet = "ReplaceFacet", i))(V || {});
69739
- var I = ((n) => (n.XML = "XML", n))(I || {});
69740
- var _45 = ((n) => (n.inline = "inline", n))(_45 || {});
69741
- var Q = "sap.suite.ui.generic.template";
69742
- var X = "sap.suite.ui.generic.template.ObjectPage";
69743
- var G = "sap.suite.ui.generic.template.ListReport";
69744
- var H = "sap.suite.ui.generic.template.AnalyticalListPage";
69745
- var Y = "sap.ui.viewExtensions";
69746
- var z = "sap.ui.controllerExtensions";
69747
- var q2 = "sap.suite.ui.generic.template.ObjectPage.view.Details";
69748
- var J = "sap.suite.ui.generic.template.ListReport.view.ListReport";
69749
- var D = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
69750
- var k = ((a) => (a.fixed = "fixed", a.resizable = "resizable", a))(k || {});
69751
- module2.exports = K($);
69752
- }
69753
- });
69754
-
69755
- // ../../node_modules/@sap/ux-specification-types/dist/v4.js
69756
- var require_v4 = __commonJS({
69757
- "../../node_modules/@sap/ux-specification-types/dist/v4.js"(exports2, module2) {
69758
- var a = Object.defineProperty;
69759
- var V = Object.getOwnPropertyDescriptor;
69760
- var y = Object.getOwnPropertyNames;
69761
- var U = Object.prototype.hasOwnProperty;
69762
- var E = (n) => a(n, "__esModule", { value: true });
69763
- var w = (n, o) => {
69764
- for (var t in o)
69765
- a(n, t, { get: o[t], enumerable: true });
69766
- };
69767
- var O = (n, o, t, e) => {
69768
- if (o && typeof o == "object" || typeof o == "function")
69769
- for (let i of y(o))
69770
- !U.call(n, i) && (t || i !== "default") && a(n, i, { get: () => o[i], enumerable: !(e = V(o, i)) || e.enumerable });
69771
- return n;
69772
- };
69773
- var R = ((n) => (o, t) => n && n.get(o) || (t = O(E({}), o, 1), n && n.set(o, t), t))(typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
69774
- var G = {};
69775
- w(G, { ActionPlacement: () => r, Availability: () => C, CustomSectionViewTypesV4: () => b, DefaultPathType: () => g, DesigntimeValues: () => x, FE_TEMPLATE_V4: () => h, FE_TEMPLATE_V4_ALP: () => B, FE_TEMPLATE_V4_CUSTOM_PAGE: () => j, FE_TEMPLATE_V4_LIST_REPORT: () => L, FE_TEMPLATE_V4_OBJECT_PAGE: () => _45, FIORI_FCL_ROUTER_CLASS: () => N, HorizontalAlign: () => T, InitialLoadType: () => l, Placement: () => P, SAPUI5_CONTROLLER_EXTENSION: () => M, SAPUI5_DEPENDENCY_LIB_SAP_F: () => I, SAPUI5_FRAGMENT_TYPE_V4: () => F, SAPUI5_VIEW_EXTENSION_LIST_REPORT: () => k, SAPUI5_VIEW_EXTENSION_OBJECT_PAGE: () => v, SectionLayoutType: () => f, SectionPosition: () => u, SectionPositionV4: () => S, SelectType: () => m, SelectionMode: () => s, TableCreationModeType: () => c, TableTypeV4: () => p, VariantManagementTypeListReport: () => d, VariantManagementTypeObjectPage: () => A });
69776
- var r = ((t) => (t.After = "After", t.Before = "Before", t))(r || {});
69777
- var s = ((i) => (i.Multi = "Multi", i.None = "None", i.Single = "Single", i.Auto = "Auto", i))(s || {});
69778
- var p = ((e) => (e.ResponsiveTable = "ResponsiveTable", e.GridTable = "GridTable", e.AnalyticalTable = "AnalyticalTable", e))(p || {});
69779
- var c = ((e) => (e.NewPage = "NewPage", e.Inline = "Inline", e.CreationRow = "CreationRow", e))(c || {});
69780
- var l = ((e) => (e.Disabled = "Disabled", e.Enabled = "Enabled", e.Auto = "Auto", e))(l || {});
69781
- var g = ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Both = "both", e))(g || {});
69782
- var m = ((t) => (t.single = "single", t.multi = "multi", t))(m || {});
69783
- var x = ((n) => (n["not-adaptable-visibility"] = "not-adaptable-visibility", n))(x || {});
69784
- var f = ((t) => (t.Tabs = "Tabs", t.Page = "Page", t))(f || {});
69785
- var u = ((t) => (t.After = "After", t.Before = "Before", t))(u || {});
69786
- var b = ((o) => (o.XML = "XML", o))(b || {});
69787
- var h = "sap.fe.templates";
69788
- var j = "sap.fe.core.fpm";
69789
- var _45 = "sap.fe.templates.ObjectPage";
69790
- var L = "sap.fe.templates.ListReport";
69791
- var B = "sap.fe.templates.AnalyticalListPage";
69792
- var F = "XMLFragment";
69793
- var S = ((t) => (t.AfterFacet = "AfterFacet", t.BeforeFacet = "BeforeFacet", t))(S || {});
69794
- var N = "sap.f.routing.Router";
69795
- var I = "sap.f";
69796
- var M = "sap.ui.controllerExtensions";
69797
- var v = "sap.fe.templates.ObjectPage.ObjectPageController";
69798
- var k = "sap.fe.templates.ListReport.ListReportController";
69799
- var P = ((t) => (t.After = "After", t.Before = "Before", t))(P || {});
69800
- var C = ((e) => (e.Default = "Default", e.Adaptation = "Adaptation", e.Hidden = "Hidden", e))(C || {});
69801
- var T = ((e) => (e.Begin = "Begin", e.Center = "Center", e.End = "End", e))(T || {});
69802
- var A = ((t) => (t.None = "None", t.Control = "Control", t))(A || {});
69803
- var d = ((e) => (e.None = "None", e.Control = "Control", e.Page = "Page", e))(d || {});
69804
- module2.exports = R(G);
69805
- }
69806
- });
69807
-
69808
- // ../../node_modules/@sap/ux-specification-types/dist/index.js
69809
- var require_dist9 = __commonJS({
69810
- "../../node_modules/@sap/ux-specification-types/dist/index.js"(exports2) {
69811
- "use strict";
69812
- var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
69813
- if (k2 === void 0)
69814
- k2 = k;
69815
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
69816
- return m[k];
69817
- } });
69818
- } : function(o, m, k, k2) {
69819
- if (k2 === void 0)
69820
- k2 = k;
69821
- o[k2] = m[k];
69822
- });
69823
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
69824
- Object.defineProperty(o, "default", { enumerable: true, value: v });
69825
- } : function(o, v) {
69826
- o["default"] = v;
69827
- });
69828
- var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
69829
- for (var p in m)
69830
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
69831
- __createBinding(exports3, m, p);
69832
- };
69833
- var __importStar = exports2 && exports2.__importStar || function(mod) {
69834
- if (mod && mod.__esModule)
69835
- return mod;
69836
- var result2 = {};
69837
- if (mod != null) {
69838
- for (var k in mod)
69839
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
69840
- __createBinding(result2, mod, k);
69841
- }
69842
- __setModuleDefault(result2, mod);
69843
- return result2;
69844
- };
69845
- Object.defineProperty(exports2, "__esModule", { value: true });
69846
- exports2.v4 = exports2.v2 = void 0;
69847
- __exportStar(require_common8(), exports2);
69848
- __exportStar(require_apiTypes(), exports2);
69849
- exports2.v2 = __importStar(require_v2());
69850
- exports2.v4 = __importStar(require_v4());
69851
- }
69852
- });
69853
-
69854
69932
  // ../../node_modules/p-try/index.js
69855
69933
  var require_p_try = __commonJS({
69856
69934
  "../../node_modules/p-try/index.js"(exports2, module2) {
@@ -70579,9 +70657,13 @@ var require_file2 = __commonJS({
70579
70657
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
70580
70658
  if (k2 === void 0)
70581
70659
  k2 = k;
70582
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
70583
- return m[k];
70584
- } });
70660
+ var desc = Object.getOwnPropertyDescriptor(m, k);
70661
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
70662
+ desc = { enumerable: true, get: function() {
70663
+ return m[k];
70664
+ } };
70665
+ }
70666
+ Object.defineProperty(o, k2, desc);
70585
70667
  } : function(o, m, k, k2) {
70586
70668
  if (k2 === void 0)
70587
70669
  k2 = k;
@@ -70609,7 +70691,7 @@ var require_file2 = __commonJS({
70609
70691
  var fs5 = __importStar(require("fs"));
70610
70692
  var path_1 = require("path");
70611
70693
  var vscode_uri_1 = (init_esm(), __toCommonJS(esm_exports));
70612
- var project_spec_1 = require_dist4();
70694
+ var project_spec_1 = require_dist5();
70613
70695
  async function readFile3(path5) {
70614
70696
  return new Promise((resolve2, reject2) => {
70615
70697
  fs5.readFile(path5, { encoding: "utf8" }, (err, data2) => {
@@ -70706,7 +70788,7 @@ var require_file2 = __commonJS({
70706
70788
  if (await fileExists2(path5)) {
70707
70789
  const files = await readDirectory(path5);
70708
70790
  for (const name of files) {
70709
- const fullPath = path_1.join(path5, name);
70791
+ const fullPath = (0, path_1.join)(path5, name);
70710
70792
  if (await isDirectory(fullPath)) {
70711
70793
  await deleteDirectory(fullPath);
70712
70794
  } else {
@@ -72607,10 +72689,10 @@ var require_capProject = __commonJS({
72607
72689
  var packageJsonFileName = "package.json";
72608
72690
  async function parsePackageJson(projectRoot) {
72609
72691
  let packageJson;
72610
- const packageJsonPath = path_1.join(projectRoot, packageJsonFileName);
72611
- if (await file_1.fileExists(packageJsonPath)) {
72692
+ const packageJsonPath = (0, path_1.join)(projectRoot, packageJsonFileName);
72693
+ if (await (0, file_1.fileExists)(packageJsonPath)) {
72612
72694
  try {
72613
- packageJson = JSON.parse(await file_1.readFile(packageJsonPath));
72695
+ packageJson = JSON.parse(await (0, file_1.readFile)(packageJsonPath));
72614
72696
  } catch (error3) {
72615
72697
  }
72616
72698
  }
@@ -72629,10 +72711,10 @@ var require_capProject = __commonJS({
72629
72711
  }
72630
72712
  exports2.isCapNodeJsProject = isCapNodeJsProject;
72631
72713
  async function isCapJavaProject(projectRoot) {
72632
- return file_1.fileExists(path_1.join(projectRoot, exports2.CAP_SERVICES_FOLDER, "src", "main", "resources", "application.yaml"));
72714
+ return (0, file_1.fileExists)((0, path_1.join)(projectRoot, exports2.CAP_SERVICES_FOLDER, "src", "main", "resources", "application.yaml"));
72633
72715
  }
72634
72716
  exports2.isCapJavaProject = isCapJavaProject;
72635
- var toAbsoluteUri = (project, relativeUri) => path_1.join(project.root, relativeUri);
72717
+ var toAbsoluteUri = (project, relativeUri) => (0, path_1.join)(project.root, relativeUri);
72636
72718
  exports2.toAbsoluteUri = toAbsoluteUri;
72637
72719
  var toReferenceUri = async (project, relativeUriFrom, relativeUriTo) => {
72638
72720
  let relativeUri = "";
@@ -72651,8 +72733,8 @@ var require_capProject = __commonJS({
72651
72733
  }
72652
72734
  }
72653
72735
  if (!relativeUri) {
72654
- const fromDir = path_1.dirname(exports2.toAbsoluteUri(project, relativeUriFrom));
72655
- relativeUri = path_1.relative(fromDir, exports2.toAbsoluteUri(project, relativeUriTo));
72736
+ const fromDir = (0, path_1.dirname)((0, exports2.toAbsoluteUri)(project, relativeUriFrom));
72737
+ relativeUri = (0, path_1.relative)(fromDir, (0, exports2.toAbsoluteUri)(project, relativeUriTo));
72656
72738
  if (!relativeUri.startsWith(".")) {
72657
72739
  relativeUri = "./" + relativeUri;
72658
72740
  }
@@ -72679,8 +72761,8 @@ var require_capProject = __commonJS({
72679
72761
  async function readPackageNameForFolder(baseUri, relativeUri) {
72680
72762
  let packageName = "";
72681
72763
  try {
72682
- const path5 = path_1.normalize(baseUri + "/" + relativeUri + "/package.json");
72683
- const content = await file_1.readFile(path5);
72764
+ const path5 = (0, path_1.normalize)(baseUri + "/" + relativeUri + "/package.json");
72765
+ const content = await (0, file_1.readFile)(path5);
72684
72766
  if (content) {
72685
72767
  const parsed = JSON.parse(content);
72686
72768
  packageName = parsed.name;
@@ -72700,9 +72782,13 @@ var require_webapp2 = __commonJS({
72700
72782
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
72701
72783
  if (k2 === void 0)
72702
72784
  k2 = k;
72703
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
72704
- return m[k];
72705
- } });
72785
+ var desc = Object.getOwnPropertyDescriptor(m, k);
72786
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
72787
+ desc = { enumerable: true, get: function() {
72788
+ return m[k];
72789
+ } };
72790
+ }
72791
+ Object.defineProperty(o, k2, desc);
72706
72792
  } : function(o, m, k, k2) {
72707
72793
  if (k2 === void 0)
72708
72794
  k2 = k;
@@ -72729,13 +72815,13 @@ var require_webapp2 = __commonJS({
72729
72815
  exports2.getUi5CustomWebappPath = void 0;
72730
72816
  var file_1 = require_file2();
72731
72817
  var path_1 = require("path");
72732
- var project_spec_1 = require_dist4();
72818
+ var project_spec_1 = require_dist5();
72733
72819
  var yaml = __importStar(require_Yaml());
72734
72820
  async function getUi5CustomWebappPath(root) {
72735
72821
  var _a2, _b, _c, _d, _e;
72736
72822
  let webappPath = project_spec_1.DirName.Webapp;
72737
72823
  try {
72738
- const yamlContent = await file_1.readFile(path_1.join(root, project_spec_1.FileName.Ui5Yaml));
72824
+ const yamlContent = await (0, file_1.readFile)((0, path_1.join)(root, project_spec_1.FileName.Ui5Yaml));
72739
72825
  webappPath = (_e = (_d = (_c = (_b = (_a2 = yaml.parse(yamlContent)) == null ? void 0 : _a2.resources) == null ? void 0 : _b.configuration) == null ? void 0 : _c.paths) == null ? void 0 : _d.webapp) != null ? _e : project_spec_1.DirName.Webapp;
72740
72826
  } catch {
72741
72827
  webappPath = project_spec_1.DirName.Webapp;
@@ -72753,9 +72839,13 @@ var require_yamlFile = __commonJS({
72753
72839
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
72754
72840
  if (k2 === void 0)
72755
72841
  k2 = k;
72756
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
72757
- return m[k];
72758
- } });
72842
+ var desc = Object.getOwnPropertyDescriptor(m, k);
72843
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
72844
+ desc = { enumerable: true, get: function() {
72845
+ return m[k];
72846
+ } };
72847
+ }
72848
+ Object.defineProperty(o, k2, desc);
72759
72849
  } : function(o, m, k, k2) {
72760
72850
  if (k2 === void 0)
72761
72851
  k2 = k;
@@ -72785,9 +72875,9 @@ var require_yamlFile = __commonJS({
72785
72875
  var file_1 = require_file2();
72786
72876
  var i18n_1 = require_i18n3();
72787
72877
  async function readUi5YamlConfig(dirPath, filename) {
72788
- const filePath = path_1.join(dirPath, filename);
72789
- if (await file_1.fileExists(filePath)) {
72790
- return file_1.readFile(filePath);
72878
+ const filePath = (0, path_1.join)(dirPath, filename);
72879
+ if (await (0, file_1.fileExists)(filePath)) {
72880
+ return (0, file_1.readFile)(filePath);
72791
72881
  } else {
72792
72882
  const error3 = new Error(i18n_1.i18n.t("ERROR_UI5_YAML_MISSING"));
72793
72883
  error3.name = "Ui5MissingError";
@@ -72826,7 +72916,7 @@ var require_yamlFile = __commonJS({
72826
72916
  }
72827
72917
  return parsed;
72828
72918
  } catch (e) {
72829
- throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_PARSING", { filePath: path_1.join(dirPath, filename), parsingError: e.message }));
72919
+ throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_PARSING", { filePath: (0, path_1.join)(dirPath, filename), parsingError: e.message }));
72830
72920
  }
72831
72921
  }
72832
72922
  exports2.getParsedUi5YamlConfig = getParsedUi5YamlConfig;
@@ -72840,9 +72930,13 @@ var require_mockServer = __commonJS({
72840
72930
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
72841
72931
  if (k2 === void 0)
72842
72932
  k2 = k;
72843
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
72844
- return m[k];
72845
- } });
72933
+ var desc = Object.getOwnPropertyDescriptor(m, k);
72934
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
72935
+ desc = { enumerable: true, get: function() {
72936
+ return m[k];
72937
+ } };
72938
+ }
72939
+ Object.defineProperty(o, k2, desc);
72846
72940
  } : function(o, m, k, k2) {
72847
72941
  if (k2 === void 0)
72848
72942
  k2 = k;
@@ -72868,13 +72962,13 @@ var require_mockServer = __commonJS({
72868
72962
  Object.defineProperty(exports2, "__esModule", { value: true });
72869
72963
  exports2.findMockServiceByMetadataPath = exports2.matchMockServiceByMetadataPath = exports2.getMockServicesConfiguration = exports2.getMockServerConfig = void 0;
72870
72964
  var path_1 = require("path");
72871
- var project_spec_1 = require_dist4();
72965
+ var project_spec_1 = require_dist5();
72872
72966
  var yamlFile_1 = require_yamlFile();
72873
72967
  var i18n_1 = require_i18n3();
72874
72968
  var file_1 = require_file2();
72875
72969
  async function getMockServerConfig(cfgFileDir, cfgFileName = project_spec_1.FileName.Ui5MockYaml) {
72876
72970
  var _a2;
72877
- const ui5Config = await yamlFile_1.getParsedUi5YamlConfig(cfgFileDir, cfgFileName);
72971
+ const ui5Config = await (0, yamlFile_1.getParsedUi5YamlConfig)(cfgFileDir, cfgFileName);
72878
72972
  const middlewares = (_a2 = ui5Config.server) == null ? void 0 : _a2.customMiddleware;
72879
72973
  if (middlewares) {
72880
72974
  let mockMW;
@@ -72907,22 +73001,23 @@ var require_mockServer = __commonJS({
72907
73001
  }
72908
73002
  exports2.getMockServicesConfiguration = getMockServicesConfiguration;
72909
73003
  async function readDynamicMockServerConfig(yamlCfgDirPath, mockFolderPath) {
72910
- const configDirPath = path_1.resolve(yamlCfgDirPath, mockFolderPath);
72911
- const jsonConfigPath = path_1.join(configDirPath, "config.json");
72912
- const moduleConfigPath = path_1.join(configDirPath, "config.js");
72913
- const isJSON = await file_1.fileExists(jsonConfigPath);
73004
+ var _a2;
73005
+ const configDirPath = (0, path_1.resolve)(yamlCfgDirPath, mockFolderPath);
73006
+ const jsonConfigPath = (0, path_1.join)(configDirPath, "config.json");
73007
+ const moduleConfigPath = (0, path_1.join)(configDirPath, "config.js");
73008
+ const isJSON = await (0, file_1.fileExists)(jsonConfigPath);
72914
73009
  let services;
72915
73010
  try {
72916
73011
  if (isJSON) {
72917
- services = await file_1.readJSON(jsonConfigPath);
73012
+ services = await (0, file_1.readJSON)(jsonConfigPath);
72918
73013
  } else {
72919
- const dynamicConfig = await Promise.resolve().then(() => __importStar(require(moduleConfigPath)));
73014
+ const dynamicConfig = await (_a2 = moduleConfigPath, Promise.resolve().then(() => __importStar(require(_a2))));
72920
73015
  services = dynamicConfig == null ? void 0 : dynamicConfig.default;
72921
73016
  }
72922
73017
  } catch (e) {
72923
73018
  throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_DYNAMIC_CFG_IMPORT", {
72924
73019
  filePath: isJSON ? jsonConfigPath : moduleConfigPath,
72925
- yamlFile: path_1.join(yamlCfgDirPath, project_spec_1.FileName.Ui5MockYaml)
73020
+ yamlFile: (0, path_1.join)(yamlCfgDirPath, project_spec_1.FileName.Ui5MockYaml)
72926
73021
  }));
72927
73022
  }
72928
73023
  return (services == null ? void 0 : services.length) ? services : null;
@@ -72930,7 +73025,7 @@ var require_mockServer = __commonJS({
72930
73025
  function matchMockServiceByMetadataPath(mockService, path5) {
72931
73026
  const { metadataPath } = mockService;
72932
73027
  if (metadataPath) {
72933
- return path5.endsWith(path_1.normalize(metadataPath));
73028
+ return path5.endsWith((0, path_1.normalize)(metadataPath));
72934
73029
  }
72935
73030
  return false;
72936
73031
  }
@@ -73420,9 +73515,13 @@ var require_utils10 = __commonJS({
73420
73515
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
73421
73516
  if (k2 === void 0)
73422
73517
  k2 = k;
73423
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
73424
- return m[k];
73425
- } });
73518
+ var desc = Object.getOwnPropertyDescriptor(m, k);
73519
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
73520
+ desc = { enumerable: true, get: function() {
73521
+ return m[k];
73522
+ } };
73523
+ }
73524
+ Object.defineProperty(o, k2, desc);
73426
73525
  } : function(o, m, k, k2) {
73427
73526
  if (k2 === void 0)
73428
73527
  k2 = k;
@@ -73453,8 +73552,8 @@ var require_utils10 = __commonJS({
73453
73552
  var fs_1 = require("fs");
73454
73553
  var findit2_1 = __importDefault(require_findit2());
73455
73554
  var fast_xml_parser_1 = __importDefault(require_parser2());
73456
- var project_spec_1 = require_dist4();
73457
- var ux_specification_types_1 = require_dist9();
73555
+ var project_spec_1 = require_dist5();
73556
+ var ux_specification_types_1 = require_dist4();
73458
73557
  var findUp = require_find_up();
73459
73558
  var path_1 = require("path");
73460
73559
  var i18n_1 = require_i18n3();
@@ -73463,7 +73562,7 @@ var require_utils10 = __commonJS({
73463
73562
  var os_1 = __importDefault(require("os"));
73464
73563
  var capProject_1 = require_capProject();
73465
73564
  var webapp_1 = require_webapp2();
73466
- var ux_ui5_info_1 = require_dist8();
73565
+ var ux_ui5_info_1 = require_dist9();
73467
73566
  var ui5Config_1 = require_ui5Config();
73468
73567
  var jsonpath_plus_1 = require_index_node_cjs();
73469
73568
  exports2.scriptsRegEx = /fiori run|cds watch|cds run|ui5 serve|mvn spring-boot:run/;
@@ -73472,11 +73571,11 @@ var require_utils10 = __commonJS({
73472
73571
  if (!pckgJson) {
73473
73572
  throw new Error(`Could not find any project root. Parameter 'sapuxRequired' was ${sapuxRequired ? "true" : "false"}`);
73474
73573
  }
73475
- let root = path_1.dirname(pckgJson);
73574
+ let root = (0, path_1.dirname)(pckgJson);
73476
73575
  if (sapuxRequired) {
73477
- const sapux = (await file_1.readJSON(pckgJson)).sapux;
73576
+ const sapux = (await (0, file_1.readJSON)(pckgJson)).sapux;
73478
73577
  if (!sapux) {
73479
- root = await findProjectRoot(path_1.dirname(root), sapuxRequired);
73578
+ root = await findProjectRoot((0, path_1.dirname)(root), sapuxRequired);
73480
73579
  }
73481
73580
  }
73482
73581
  return root;
@@ -73508,16 +73607,16 @@ var require_utils10 = __commonJS({
73508
73607
  ];
73509
73608
  const fileNames = [project_spec_1.FileName.Pom, project_spec_1.FileName.Package];
73510
73609
  return new Promise((doResolve, reject2) => {
73511
- const finder = findit2_1.default(root);
73610
+ const finder = (0, findit2_1.default)(root);
73512
73611
  finder.on("directory", (dir2, stat, stop) => {
73513
- const base = path_1.basename(dir2);
73612
+ const base = (0, path_1.basename)(dir2);
73514
73613
  if (stopFolders.indexOf(base) !== -1) {
73515
73614
  stop();
73516
73615
  }
73517
73616
  });
73518
73617
  finder.on("file", async (file) => {
73519
- if (fileNames.indexOf(path_1.basename(file)) && await capProject_1.isCapProject(path_1.dirname(file))) {
73520
- projects.push(path_1.dirname(file));
73618
+ if (fileNames.indexOf((0, path_1.basename)(file)) && await (0, capProject_1.isCapProject)((0, path_1.dirname)(file))) {
73619
+ projects.push((0, path_1.dirname)(file));
73521
73620
  }
73522
73621
  });
73523
73622
  finder.on("end", () => {
@@ -73531,16 +73630,16 @@ var require_utils10 = __commonJS({
73531
73630
  exports2.findCapProjects = findCapProjects;
73532
73631
  async function findAll(root, filename, results, stopFolders) {
73533
73632
  return new Promise((doResolve, reject2) => {
73534
- const finder = findit2_1.default(root);
73633
+ const finder = (0, findit2_1.default)(root);
73535
73634
  finder.on("directory", (dir2, stat, stop) => {
73536
- const base = path_1.basename(dir2);
73635
+ const base = (0, path_1.basename)(dir2);
73537
73636
  if (stopFolders.indexOf(base) !== -1) {
73538
73637
  stop();
73539
73638
  }
73540
73639
  });
73541
73640
  finder.on("file", (file) => {
73542
73641
  if (file.endsWith(filename)) {
73543
- results.push(path_1.dirname(file));
73642
+ results.push((0, path_1.dirname)(file));
73544
73643
  }
73545
73644
  });
73546
73645
  finder.on("end", () => {
@@ -73555,9 +73654,9 @@ var require_utils10 = __commonJS({
73555
73654
  async function findExtensionFiles(root, targetFileName = project_spec_1.FileName.Fragment) {
73556
73655
  const extensionFiles = [];
73557
73656
  return new Promise((doResolve, reject2) => {
73558
- const finder = findit2_1.default(root);
73657
+ const finder = (0, findit2_1.default)(root);
73559
73658
  finder.on("directory", (dir2, stat, stop) => {
73560
- const base = path_1.basename(dir2);
73659
+ const base = (0, path_1.basename)(dir2);
73561
73660
  if (base === ".git" || base === "node_modules" || base === "dist" || base === project_spec_1.DirName.Sapux) {
73562
73661
  stop();
73563
73662
  }
@@ -73653,7 +73752,7 @@ var require_utils10 = __commonJS({
73653
73752
  const sapuxProjects = [];
73654
73753
  for (const root of projects) {
73655
73754
  try {
73656
- if ((await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package))).sapux) {
73755
+ if ((await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package))).sapux) {
73657
73756
  sapuxProjects.push(root);
73658
73757
  }
73659
73758
  } catch (error3) {
@@ -73675,21 +73774,21 @@ var require_utils10 = __commonJS({
73675
73774
  exports2.findAllProjectRoots = findAllProjectRoots;
73676
73775
  async function getAppType(appRoot, projectRoot) {
73677
73776
  if (appRoot === projectRoot) {
73678
- const appPckJson = await file_1.readJSON(path_1.join(appRoot, project_spec_1.FileName.Package));
73777
+ const appPckJson = await (0, file_1.readJSON)((0, path_1.join)(appRoot, project_spec_1.FileName.Package));
73679
73778
  if (appPckJson.sapux === true) {
73680
73779
  return "SAP Fiori elements";
73681
- } else if (await file_1.fileExists(path_1.join(appRoot, project_spec_1.FileName.ExtConfigJson))) {
73780
+ } else if (await (0, file_1.fileExists)((0, path_1.join)(appRoot, project_spec_1.FileName.ExtConfigJson))) {
73682
73781
  return "SAPUI5 Extension";
73683
73782
  } else {
73684
73783
  return "SAPUI5 freestyle";
73685
73784
  }
73686
73785
  }
73687
73786
  try {
73688
- const projectPckJson = await file_1.readJSON(path_1.join(projectRoot, project_spec_1.FileName.Package));
73787
+ const projectPckJson = await (0, file_1.readJSON)((0, path_1.join)(projectRoot, project_spec_1.FileName.Package));
73689
73788
  if (!projectPckJson.sapux) {
73690
73789
  return "SAPUI5 freestyle";
73691
73790
  } else if (Array.isArray(projectPckJson.sapux)) {
73692
- return projectPckJson.sapux.find((relAppPath) => path_1.join(projectRoot, ...relAppPath.split(/\\|\//)) === appRoot) ? "SAP Fiori elements" : "SAPUI5 freestyle";
73791
+ return projectPckJson.sapux.find((relAppPath) => (0, path_1.join)(projectRoot, ...relAppPath.split(/\\|\//)) === appRoot) ? "SAP Fiori elements" : "SAPUI5 freestyle";
73693
73792
  }
73694
73793
  } catch {
73695
73794
  return "SAPUI5 freestyle";
@@ -73700,10 +73799,10 @@ var require_utils10 = __commonJS({
73700
73799
  if (appRoot === projectRoot) {
73701
73800
  return "EDMX Backend";
73702
73801
  }
73703
- if (await capProject_1.isCapJavaProject(projectRoot)) {
73802
+ if (await (0, capProject_1.isCapJavaProject)(projectRoot)) {
73704
73803
  return "CAP Java";
73705
73804
  }
73706
- if (await capProject_1.isCapNodeJsProject(projectRoot)) {
73805
+ if (await (0, capProject_1.isCapNodeJsProject)(projectRoot)) {
73707
73806
  return "CAP Node.js";
73708
73807
  }
73709
73808
  throw new Error(i18n_1.i18n.t("ERROR_DETAIL_PROJECT_TYPE", { appRoot, projectRoot }));
@@ -73717,11 +73816,11 @@ var require_utils10 = __commonJS({
73717
73816
  };
73718
73817
  } else if (Array.isArray(sapux)) {
73719
73818
  const pathWithSep = path5.endsWith(path_1.sep) ? path5 : path5 + path_1.sep;
73720
- const relAppPaths = sapux.map((a) => path_1.join(...a.split(/\\|\//)));
73721
- const relApp = relAppPaths.find((app) => pathWithSep.startsWith(path_1.join(root, app) + path_1.sep));
73819
+ const relAppPaths = sapux.map((a) => (0, path_1.join)(...a.split(/\\|\//)));
73820
+ const relApp = relAppPaths.find((app) => pathWithSep.startsWith((0, path_1.join)(root, app) + path_1.sep));
73722
73821
  if (relApp) {
73723
73822
  return {
73724
- appRoot: path_1.join(root, relApp),
73823
+ appRoot: (0, path_1.join)(root, relApp),
73725
73824
  projectRoot: root
73726
73825
  };
73727
73826
  }
@@ -73734,30 +73833,30 @@ var require_utils10 = __commonJS({
73734
73833
  if (!appRoot) {
73735
73834
  return null;
73736
73835
  }
73737
- const appPckJson = await file_1.readJSON(path_1.join(appRoot, project_spec_1.FileName.Package));
73836
+ const appPckJson = await (0, file_1.readJSON)((0, path_1.join)(appRoot, project_spec_1.FileName.Package));
73738
73837
  if (appPckJson.sapux) {
73739
73838
  return findRootsWithSapux(appPckJson.sapux, path5, appRoot);
73740
73839
  }
73741
- if (await capProject_1.isCapProject(appRoot, appPckJson)) {
73840
+ if (await (0, capProject_1.isCapProject)(appRoot, appPckJson)) {
73742
73841
  return null;
73743
73842
  }
73744
- if ((fs_1.existsSync(path_1.join(appRoot, project_spec_1.FileName.Ui5LocalYaml)) || fs_1.existsSync(path_1.join(appRoot, project_spec_1.FileName.ExtConfigJson))) && exports2.hasDependency(appPckJson, "@sap/ux-ui5-tooling")) {
73843
+ if (((0, fs_1.existsSync)((0, path_1.join)(appRoot, project_spec_1.FileName.Ui5LocalYaml)) || (0, fs_1.existsSync)((0, path_1.join)(appRoot, project_spec_1.FileName.ExtConfigJson))) && (0, exports2.hasDependency)(appPckJson, "@sap/ux-ui5-tooling")) {
73745
73844
  return {
73746
73845
  appRoot,
73747
73846
  projectRoot: appRoot
73748
73847
  };
73749
73848
  }
73750
73849
  try {
73751
- const { root } = path_1.parse(appRoot);
73752
- let projectRoot = path_1.dirname(appRoot);
73850
+ const { root } = (0, path_1.parse)(appRoot);
73851
+ let projectRoot = (0, path_1.dirname)(appRoot);
73753
73852
  while (projectRoot !== root) {
73754
- if (await capProject_1.isCapProject(projectRoot) && path_1.join(projectRoot, "app") !== appRoot) {
73853
+ if (await (0, capProject_1.isCapProject)(projectRoot) && (0, path_1.join)(projectRoot, "app") !== appRoot) {
73755
73854
  return {
73756
73855
  appRoot,
73757
73856
  projectRoot
73758
73857
  };
73759
73858
  }
73760
- projectRoot = path_1.dirname(projectRoot);
73859
+ projectRoot = (0, path_1.dirname)(projectRoot);
73761
73860
  }
73762
73861
  } catch (e) {
73763
73862
  }
@@ -73772,7 +73871,7 @@ var require_utils10 = __commonJS({
73772
73871
  const manifestPaths = await findAllManifest(wsFolders);
73773
73872
  for (const manifestPath of manifestPaths) {
73774
73873
  try {
73775
- const manifest = await file_1.readJSON(path_1.join(manifestPath, project_spec_1.FileName.Manifest));
73874
+ const manifest = await (0, file_1.readJSON)((0, path_1.join)(manifestPath, project_spec_1.FileName.Manifest));
73776
73875
  if (!manifest["sap.app"] || !manifest["sap.app"].id || manifest["sap.app"].type !== "application") {
73777
73876
  continue;
73778
73877
  }
@@ -73792,12 +73891,12 @@ var require_utils10 = __commonJS({
73792
73891
  const roots = await findAllProjectRoots(workspaceRoots, false);
73793
73892
  for (const root of roots) {
73794
73893
  try {
73795
- const packageJson = await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package));
73796
- if ((exports2.hasDependency(packageJson, "@sap/ux-ui5-tooling") || await capProject_1.isCapProject(root, packageJson)) && hasScript(packageJson)) {
73894
+ const packageJson = await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package));
73895
+ if (((0, exports2.hasDependency)(packageJson, "@sap/ux-ui5-tooling") || await (0, capProject_1.isCapProject)(root, packageJson)) && hasScript(packageJson)) {
73797
73896
  result2.push(root);
73798
73897
  }
73799
73898
  } catch (error3) {
73800
- logger == null ? void 0 : logger.info(`Invalid JSON ${path_1.join(root, project_spec_1.FileName.Package)}. Application Modeler will skip this project.`);
73899
+ logger == null ? void 0 : logger.info(`Invalid JSON ${(0, path_1.join)(root, project_spec_1.FileName.Package)}. Application Modeler will skip this project.`);
73801
73900
  continue;
73802
73901
  }
73803
73902
  }
@@ -73805,7 +73904,7 @@ var require_utils10 = __commonJS({
73805
73904
  };
73806
73905
  exports2.findRunnableProjects = findRunnableProjects;
73807
73906
  async function checkPackageJson(root, dependency, sapux) {
73808
- const packageJson = await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package));
73907
+ const packageJson = await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package));
73809
73908
  if (packageJson.dependencies && packageJson.dependencies[dependency] !== void 0 || packageJson.devDependencies && packageJson.devDependencies[dependency] !== void 0) {
73810
73909
  return true;
73811
73910
  }
@@ -73849,17 +73948,17 @@ var require_utils10 = __commonJS({
73849
73948
  exports2.getMainService = getMainService;
73850
73949
  function createApplicationStructureConfig(appFolder, manifest, sync) {
73851
73950
  return {
73852
- manifest: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.FileName.Manifest),
73853
- changes: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Changes),
73854
- app: sync ? path_1.join(appFolder, project_spec_1.DirName.Sapux, project_spec_1.FileName.App) : void 0,
73855
- i18n: getI18nPath(path_1.join(appFolder, project_spec_1.DirName.Webapp), manifest),
73951
+ manifest: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.FileName.Manifest),
73952
+ changes: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Changes),
73953
+ app: sync ? (0, path_1.join)(appFolder, project_spec_1.DirName.Sapux, project_spec_1.FileName.App) : void 0,
73954
+ i18n: getI18nPath((0, path_1.join)(appFolder, project_spec_1.DirName.Webapp), manifest),
73856
73955
  mainService: getMainService(manifest),
73857
73956
  services: {},
73858
73957
  annotations: {},
73859
- ext: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext),
73860
- controller: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Controller),
73861
- view: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.View),
73862
- fragment: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Fragment)
73958
+ ext: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext),
73959
+ controller: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Controller),
73960
+ view: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.View),
73961
+ fragment: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Fragment)
73863
73962
  };
73864
73963
  }
73865
73964
  exports2.createApplicationStructureConfig = createApplicationStructureConfig;
@@ -73873,18 +73972,18 @@ var require_utils10 = __commonJS({
73873
73972
  };
73874
73973
  const appServices = project.apps[appFolder].services;
73875
73974
  if (services[name].settings) {
73876
- appServices[name].local = ((_a2 = services[name].settings) == null ? void 0 : _a2.localUri) ? path_1.join(appFolder, project_spec_1.DirName.Webapp, services[name].settings.localUri) : "";
73975
+ appServices[name].local = ((_a2 = services[name].settings) == null ? void 0 : _a2.localUri) ? (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, services[name].settings.localUri) : "";
73877
73976
  if (services[name].settings.annotations) {
73878
73977
  project.apps[appFolder].annotations[name] = project.apps[appFolder].annotations[name] || [];
73879
73978
  for (const id of services[name].settings.annotations) {
73880
73979
  const annotation = services[id];
73881
73980
  if (annotation) {
73882
73981
  if (!annotation.uri || annotation.settings && annotation.uri === annotation.settings.localUri) {
73883
- project.apps[appFolder].annotations[name].push(path_1.join(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri));
73982
+ project.apps[appFolder].annotations[name].push((0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri));
73884
73983
  } else {
73885
73984
  appServices[name].annotations = {
73886
73985
  uri: annotation.uri,
73887
- local: annotation.settings && annotation.settings.localUri ? path_1.join(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri) : void 0
73986
+ local: annotation.settings && annotation.settings.localUri ? (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri) : void 0
73888
73987
  };
73889
73988
  if (appServices[name].annotations.local) {
73890
73989
  project.apps[appFolder].annotations[name].push(appServices[name].annotations.local);
@@ -73919,14 +74018,14 @@ var require_utils10 = __commonJS({
73919
74018
  }
73920
74019
  exports2.getAppConfig = getAppConfig;
73921
74020
  async function readAppJson(path5, includePageConfigs = true) {
73922
- const app = await file_1.readJSON(path5);
74021
+ const app = await (0, file_1.readJSON)(path5);
73923
74022
  if (includePageConfigs) {
73924
74023
  const pagesDirectory = path5.replace(project_spec_1.FileName.App, project_spec_1.DirName.Pages);
73925
- const pageFiles = await file_1.readDirectory(pagesDirectory);
74024
+ const pageFiles = await (0, file_1.readDirectory)(pagesDirectory);
73926
74025
  for (const file of pageFiles) {
73927
74026
  const id = file.replace(".json", "");
73928
74027
  if (app.pages[id]) {
73929
- app.pages[id].config = await file_1.readJSON(path_1.join(pagesDirectory, file));
74028
+ app.pages[id].config = await (0, file_1.readJSON)((0, path_1.join)(pagesDirectory, file));
73930
74029
  }
73931
74030
  }
73932
74031
  }
@@ -73943,15 +74042,15 @@ var require_utils10 = __commonJS({
73943
74042
  relativePath = i18nModel.settings.bundleUrl;
73944
74043
  } else if ("settings" in i18nModel && typeof i18nModel.settings === "object" && "bundleName" in i18nModel.settings && typeof i18nModel.settings.bundleName === "string") {
73945
74044
  const relBundleString = i18nModel.settings.bundleName.replace(manifest["sap.app"].id, "");
73946
- relativePath = `${path_1.join(...relBundleString.split("."))}.properties`;
74045
+ relativePath = `${(0, path_1.join)(...relBundleString.split("."))}.properties`;
73947
74046
  } else if (typeof ((_c = manifest == null ? void 0 : manifest["sap.app"]) == null ? void 0 : _c["i18n"]) === "string") {
73948
74047
  relativePath = manifest["sap.app"]["i18n"];
73949
74048
  }
73950
- return relativePath ? path_1.join(manifestFolder, relativePath) : void 0;
74049
+ return relativePath ? (0, path_1.join)(manifestFolder, relativePath) : void 0;
73951
74050
  }
73952
74051
  exports2.getI18nPath = getI18nPath;
73953
74052
  async function traverseI18nProperties(path5, fnCallback) {
73954
- const i18nFile = await file_1.readFile(path5);
74053
+ const i18nFile = await (0, file_1.readFile)(path5);
73955
74054
  const lines = i18nFile.split(/\r\n|\n/);
73956
74055
  for (let i = 0; i < lines.length; i++) {
73957
74056
  const line = lines[i];
@@ -74013,7 +74112,7 @@ var require_utils10 = __commonJS({
74013
74112
  output3.push(`${key}=${value}${os_1.default.EOL}`);
74014
74113
  }
74015
74114
  }
74016
- await file_1.updateFile(path5, output3.join(os_1.default.EOL));
74115
+ await (0, file_1.updateFile)(path5, output3.join(os_1.default.EOL));
74017
74116
  }
74018
74117
  exports2.updateI18nProperties = updateI18nProperties;
74019
74118
  async function findI18nProperty(path5, key) {
@@ -74031,11 +74130,11 @@ var require_utils10 = __commonJS({
74031
74130
  }
74032
74131
  exports2.findI18nProperty = findI18nProperty;
74033
74132
  async function getProjectTypeFromProjectFiles(projectRoot, packageJson) {
74034
- return await capProject_1.isCapProject(projectRoot, packageJson) ? "Cap" : "Edmx";
74133
+ return await (0, capProject_1.isCapProject)(projectRoot, packageJson) ? "Cap" : "Edmx";
74035
74134
  }
74036
74135
  exports2.getProjectTypeFromProjectFiles = getProjectTypeFromProjectFiles;
74037
74136
  async function getProjectType(root) {
74038
- const packageJson = await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package));
74137
+ const packageJson = await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package));
74039
74138
  return getProjectTypeFromProjectFiles(root, packageJson);
74040
74139
  }
74041
74140
  exports2.getProjectType = getProjectType;
@@ -74066,7 +74165,7 @@ var require_utils10 = __commonJS({
74066
74165
  var _a2, _b, _c;
74067
74166
  let pathInYaml;
74068
74167
  let backEndConfig;
74069
- const yamlContent = await file_1.readFile(path_1.join(root, fileName));
74168
+ const yamlContent = await (0, file_1.readFile)((0, path_1.join)(root, fileName));
74070
74169
  const middlewares = (_b = (_a2 = yaml.parse(yamlContent)) == null ? void 0 : _a2.server) == null ? void 0 : _b.customMiddleware;
74071
74170
  const middleware = middlewares == null ? void 0 : middlewares.find((element) => element.name === middlewareName);
74072
74171
  const backends = (_c = middleware == null ? void 0 : middleware.configuration) == null ? void 0 : _c.backend;
@@ -74090,15 +74189,15 @@ var require_utils10 = __commonJS({
74090
74189
  exports2.getBackendConfigByPath = getBackendConfigByPath;
74091
74190
  async function getUi5CustomMiddleware(root) {
74092
74191
  var _a2, _b;
74093
- const yamlContent = await file_1.readFile(path_1.join(root, project_spec_1.FileName.Ui5Yaml));
74192
+ const yamlContent = await (0, file_1.readFile)((0, path_1.join)(root, project_spec_1.FileName.Ui5Yaml));
74094
74193
  const middlewares = (_b = (_a2 = yaml.parse(yamlContent)) == null ? void 0 : _a2.server) == null ? void 0 : _b.customMiddleware;
74095
74194
  return middlewares == null ? void 0 : middlewares.find((element) => element.name === "fiori-tools-proxy");
74096
74195
  }
74097
74196
  exports2.getUi5CustomMiddleware = getUi5CustomMiddleware;
74098
74197
  async function getLocalUI5Version(root) {
74099
- const yamlFile = path_1.join(root, project_spec_1.FileName.Ui5LocalYaml);
74100
- if (await file_1.fileExists(yamlFile)) {
74101
- const yamlContent = yaml.parse(await file_1.readFile(yamlFile));
74198
+ const yamlFile = (0, path_1.join)(root, project_spec_1.FileName.Ui5LocalYaml);
74199
+ if (await (0, file_1.fileExists)(yamlFile)) {
74200
+ const yamlContent = yaml.parse(await (0, file_1.readFile)(yamlFile));
74102
74201
  return yamlContent.framework && yamlContent.framework.version;
74103
74202
  }
74104
74203
  }
@@ -74108,14 +74207,14 @@ var require_utils10 = __commonJS({
74108
74207
  var _a2, _b;
74109
74208
  try {
74110
74209
  let ui5Version = "latest";
74111
- const webappPath = await webapp_1.getUi5CustomWebappPath(root);
74112
- const manifestFile = path_1.join(root, webappPath, project_spec_1.FileName.Manifest);
74113
- if (await file_1.fileExists(manifestFile)) {
74114
- const manifest = await file_1.readJSON(manifestFile);
74210
+ const webappPath = await (0, webapp_1.getUi5CustomWebappPath)(root);
74211
+ const manifestFile = (0, path_1.join)(root, webappPath, project_spec_1.FileName.Manifest);
74212
+ if (await (0, file_1.fileExists)(manifestFile)) {
74213
+ const manifest = await (0, file_1.readJSON)(manifestFile);
74115
74214
  ui5Version = (_b = (_a2 = manifest["sap.ui5"]) == null ? void 0 : _a2.dependencies) == null ? void 0 : _b.minUI5Version;
74116
74215
  if (isNaN(parseFloat(ui5Version))) {
74117
74216
  if (latestSapui5Version === void 0) {
74118
- latestSapui5Version = await ux_ui5_info_1.getLatestSapui5Version();
74217
+ latestSapui5Version = await (0, ux_ui5_info_1.getLatestSapui5Version)();
74119
74218
  }
74120
74219
  ui5Version = latestSapui5Version;
74121
74220
  }
@@ -74127,9 +74226,9 @@ var require_utils10 = __commonJS({
74127
74226
  }
74128
74227
  exports2.getUI5Version = getUI5Version;
74129
74228
  async function checkServeLocalConfig(root) {
74130
- const yamlFile = path_1.join(root, project_spec_1.FileName.Ui5LocalYaml);
74131
- if (await file_1.fileExists(yamlFile)) {
74132
- const yamlContent = yaml.parse(await file_1.readFile(yamlFile));
74229
+ const yamlFile = (0, path_1.join)(root, project_spec_1.FileName.Ui5LocalYaml);
74230
+ if (await (0, file_1.fileExists)(yamlFile)) {
74231
+ const yamlContent = yaml.parse(await (0, file_1.readFile)(yamlFile));
74133
74232
  const middlewares = yamlContent.server.customMiddleware;
74134
74233
  const serveLocal = middlewares.find((element) => element.name === "fiori-tools-servestatic");
74135
74234
  if (serveLocal) {
@@ -74145,8 +74244,8 @@ var require_utils10 = __commonJS({
74145
74244
  function getAppIdForFile(filepath, projectRoot, appIds) {
74146
74245
  let appId = "";
74147
74246
  appIds.forEach((appIdTmp) => {
74148
- const relativeStr = path_1.relative(path_1.join(projectRoot, appIdTmp), filepath);
74149
- if (relativeStr && !relativeStr.startsWith("..") && !path_1.isAbsolute(relativeStr)) {
74247
+ const relativeStr = (0, path_1.relative)((0, path_1.join)(projectRoot, appIdTmp), filepath);
74248
+ if (relativeStr && !relativeStr.startsWith("..") && !(0, path_1.isAbsolute)(relativeStr)) {
74150
74249
  appId = appIdTmp;
74151
74250
  }
74152
74251
  });
@@ -74160,11 +74259,11 @@ var require_utils10 = __commonJS({
74160
74259
  exports2.isOVPProject = isOVPProject;
74161
74260
  async function deleteCapApp(appPath, logger) {
74162
74261
  var _a2;
74163
- const appName = path_1.basename(appPath);
74262
+ const appName = (0, path_1.basename)(appPath);
74164
74263
  const projectRoot = await findProjectRoot(appPath);
74165
- const packageJsonPath = path_1.join(projectRoot, project_spec_1.FileName.Package);
74166
- const packageJson = await file_1.readJSON(packageJsonPath);
74167
- const cdsFilePaths = [path_1.join(path_1.dirname(appPath), project_spec_1.FileName.ServiceCds), path_1.join(path_1.dirname(appPath), project_spec_1.FileName.IndexCds)];
74264
+ const packageJsonPath = (0, path_1.join)(projectRoot, project_spec_1.FileName.Package);
74265
+ const packageJson = await (0, file_1.readJSON)(packageJsonPath);
74266
+ const cdsFilePaths = [(0, path_1.join)((0, path_1.dirname)(appPath), project_spec_1.FileName.ServiceCds), (0, path_1.join)((0, path_1.dirname)(appPath), project_spec_1.FileName.IndexCds)];
74168
74267
  if (!Array.isArray(packageJson.sapux)) {
74169
74268
  logger == null ? void 0 : logger.error(i18n_1.i18n.t("ERROR_DEL_CAP_APP_SAPUX", { packageJsonPath }));
74170
74269
  throw Error(i18n_1.i18n.t("ERROR_DEL_CAP_APP_SAPUX", { packageJsonPath }));
@@ -74179,23 +74278,23 @@ var require_utils10 = __commonJS({
74179
74278
  if ((_a2 = packageJson.scripts) == null ? void 0 : _a2[`watch-${appName}`]) {
74180
74279
  delete packageJson.scripts[`watch-${appName}`];
74181
74280
  }
74182
- await file_1.updateJSON(packageJsonPath, packageJson);
74281
+ await (0, file_1.updateJSON)(packageJsonPath, packageJson);
74183
74282
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_FILE_UPDATED", { packageJsonPath }));
74184
- await file_1.deleteDirectory(appPath);
74283
+ await (0, file_1.deleteDirectory)(appPath);
74185
74284
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_DIR_DELETED", { appPath }));
74186
74285
  const usingEntry = `using from './${appName}/annotations';`;
74187
74286
  for (const cdsFilePath of cdsFilePaths) {
74188
- if (await file_1.fileExists(cdsFilePath)) {
74287
+ if (await (0, file_1.fileExists)(cdsFilePath)) {
74189
74288
  try {
74190
- let cdsFile = await file_1.readFile(cdsFilePath);
74289
+ let cdsFile = await (0, file_1.readFile)(cdsFilePath);
74191
74290
  if (cdsFile.indexOf(usingEntry) !== -1) {
74192
74291
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_DELETE_USING", { appName, cdsFilePath }));
74193
74292
  cdsFile = cdsFile.replace(usingEntry, "");
74194
74293
  if (cdsFile.replace(/\n/g, "").trim() === "") {
74195
74294
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_DEL_CDS", { cdsFilePath }));
74196
- await file_1.deleteFile(cdsFilePath);
74295
+ await (0, file_1.deleteFile)(cdsFilePath);
74197
74296
  } else {
74198
- await file_1.updateFile(cdsFilePath, cdsFile);
74297
+ await (0, file_1.updateFile)(cdsFilePath, cdsFile);
74199
74298
  }
74200
74299
  }
74201
74300
  } catch (error3) {
@@ -74203,9 +74302,9 @@ var require_utils10 = __commonJS({
74203
74302
  }
74204
74303
  }
74205
74304
  }
74206
- if ((await file_1.readDirectory(path_1.dirname(appPath))).length === 0) {
74207
- logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_FOLDER_EMPTY", { appPath: path_1.dirname(appPath) }));
74208
- await file_1.deleteDirectory(path_1.dirname(appPath));
74305
+ if ((await (0, file_1.readDirectory)((0, path_1.dirname)(appPath))).length === 0) {
74306
+ logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_FOLDER_EMPTY", { appPath: (0, path_1.dirname)(appPath) }));
74307
+ await (0, file_1.deleteDirectory)((0, path_1.dirname)(appPath));
74209
74308
  }
74210
74309
  }
74211
74310
  exports2.deleteCapApp = deleteCapApp;
@@ -74214,7 +74313,7 @@ var require_utils10 = __commonJS({
74214
74313
  let appId = manifest["sap.app"].id;
74215
74314
  if (appId === project_spec_1.AppPomXmlArtifactIdPlaceholder) {
74216
74315
  try {
74217
- const pomFile = await file_1.readFile(path_1.join(projectRoot, "pom.xml"));
74316
+ const pomFile = await (0, file_1.readFile)((0, path_1.join)(projectRoot, "pom.xml"));
74218
74317
  const pomXml = fast_xml_parser_1.default.parse(pomFile);
74219
74318
  if ((_a2 = pomXml.project) == null ? void 0 : _a2.artifactId) {
74220
74319
  appId = pomXml.project.artifactId;
@@ -74222,7 +74321,7 @@ var require_utils10 = __commonJS({
74222
74321
  throw new Error();
74223
74322
  }
74224
74323
  } catch (error3) {
74225
- appId = path_1.basename(projectRoot);
74324
+ appId = (0, path_1.basename)(projectRoot);
74226
74325
  }
74227
74326
  }
74228
74327
  return appId;
@@ -74230,48 +74329,48 @@ var require_utils10 = __commonJS({
74230
74329
  exports2.getApplicationId = getApplicationId;
74231
74330
  function getCapAppMockdataDirPath(projectRoot) {
74232
74331
  const capMockdataDirPaths = [
74233
- path_1.join(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Csv),
74234
- path_1.join(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Sapux, project_spec_1.DirName.Csv)
74332
+ (0, path_1.join)(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Csv),
74333
+ (0, path_1.join)(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Sapux, project_spec_1.DirName.Csv)
74235
74334
  ];
74236
74335
  for (const path5 of capMockdataDirPaths) {
74237
- if (fs_1.existsSync(path5)) {
74336
+ if ((0, fs_1.existsSync)(path5)) {
74238
74337
  return path5;
74239
74338
  }
74240
74339
  }
74241
- return path_1.join(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Data);
74340
+ return (0, path_1.join)(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Data);
74242
74341
  }
74243
74342
  exports2.getCapAppMockdataDirPath = getCapAppMockdataDirPath;
74244
74343
  function getEdmxAppDefaultMockdataDirPath(appRoot) {
74245
- return path_1.join(appRoot, project_spec_1.DirName.Webapp, project_spec_1.DirName.LocalService, project_spec_1.DirName.Data);
74344
+ return (0, path_1.join)(appRoot, project_spec_1.DirName.Webapp, project_spec_1.DirName.LocalService, project_spec_1.DirName.Data);
74246
74345
  }
74247
74346
  exports2.getEdmxAppDefaultMockdataDirPath = getEdmxAppDefaultMockdataDirPath;
74248
74347
  async function tryGetEdmxAppMockServiceMockdataDir(configDir, serviceMetadataPath) {
74249
- const config2 = await ui5Config_1.getMockServerConfig(configDir);
74348
+ const config2 = await (0, ui5Config_1.getMockServerConfig)(configDir);
74250
74349
  if (config2) {
74251
- const { services, mockFolder } = await ui5Config_1.getMockServicesConfiguration(configDir, config2);
74350
+ const { services, mockFolder } = await (0, ui5Config_1.getMockServicesConfiguration)(configDir, config2);
74252
74351
  if (services) {
74253
- const mockService = ui5Config_1.findMockServiceByMetadataPath(services, serviceMetadataPath);
74352
+ const mockService = (0, ui5Config_1.findMockServiceByMetadataPath)(services, serviceMetadataPath);
74254
74353
  if (mockService == null ? void 0 : mockService.mockdataPath) {
74255
- const servicesConfigFilePath = mockFolder ? path_1.resolve(configDir, mockFolder) : configDir;
74256
- return path_1.resolve(servicesConfigFilePath, mockService.mockdataPath);
74354
+ const servicesConfigFilePath = mockFolder ? (0, path_1.resolve)(configDir, mockFolder) : configDir;
74355
+ return (0, path_1.resolve)(servicesConfigFilePath, mockService.mockdataPath);
74257
74356
  }
74258
74357
  }
74259
74358
  }
74260
74359
  }
74261
74360
  exports2.tryGetEdmxAppMockServiceMockdataDir = tryGetEdmxAppMockServiceMockdataDir;
74262
74361
  async function isAdaptationProject(projectRoot) {
74263
- const adpConfigJsonPath = path_1.join(projectRoot, ".adp", "config.json");
74264
- return file_1.fileExists(adpConfigJsonPath);
74362
+ const adpConfigJsonPath = (0, path_1.join)(projectRoot, ".adp", "config.json");
74363
+ return (0, file_1.fileExists)(adpConfigJsonPath);
74265
74364
  }
74266
74365
  exports2.isAdaptationProject = isAdaptationProject;
74267
74366
  function getAdditionalEntitySetsFromManifest(json) {
74268
74367
  const jsonPathTargetsPattern = `$['sap.ui5'].routing.targets`;
74269
74368
  const jsonPathEntitySetsPattern = `options.settings.views.paths.*.entitySet`;
74270
- const pages = jsonpath_plus_1.JSONPath({ path: jsonPathTargetsPattern, json })[0];
74369
+ const pages = (0, jsonpath_plus_1.JSONPath)({ path: jsonPathTargetsPattern, json })[0];
74271
74370
  const additionalEntitySets = {};
74272
74371
  for (const pageId in pages) {
74273
74372
  const page = pages[pageId];
74274
- const viewEntitySets = jsonpath_plus_1.JSONPath({
74373
+ const viewEntitySets = (0, jsonpath_plus_1.JSONPath)({
74275
74374
  path: jsonPathEntitySetsPattern,
74276
74375
  json: page
74277
74376
  });
@@ -74480,7 +74579,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
74480
74579
  };
74481
74580
  Object.defineProperty(exports2, "__esModule", { value: true });
74482
74581
  exports2.getCommonProperties = exports2.processToolsSuiteTelemetry = void 0;
74483
- var ux_common_utils_1 = require_dist5();
74582
+ var ux_common_utils_1 = require_dist6();
74484
74583
  var axios_1 = __importDefault(require_axios2());
74485
74584
  var fs_1 = __importDefault(require("fs"));
74486
74585
  var path_1 = __importDefault(require("path"));
@@ -74501,7 +74600,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
74501
74600
  async function getCommonProperties() {
74502
74601
  const commonProperties = {};
74503
74602
  commonProperties[types_1.CommonProperties.DevSpace] = await getSbasDevspace();
74504
- commonProperties[types_1.CommonProperties.AppStudio] = ux_common_utils_1.isAppStudio();
74603
+ commonProperties[types_1.CommonProperties.AppStudio] = (0, ux_common_utils_1.isAppStudio)();
74505
74604
  commonProperties[types_1.CommonProperties.AppStudioBackwardCompatible] = commonProperties[types_1.CommonProperties.AppStudio];
74506
74605
  commonProperties[types_1.CommonProperties.InternlVsExternal] = getInternalVsExternal();
74507
74606
  commonProperties[types_1.CommonProperties.InternlVsExternalBackwardCompatible] = commonProperties[types_1.CommonProperties.InternlVsExternal];
@@ -74510,7 +74609,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
74510
74609
  exports2.getCommonProperties = getCommonProperties;
74511
74610
  async function getSbasDevspace() {
74512
74611
  var _a2, _b;
74513
- if (ux_common_utils_1.isAppStudio()) {
74612
+ if ((0, ux_common_utils_1.isAppStudio)()) {
74514
74613
  try {
74515
74614
  const h20Url = process.env.H2O_URL;
74516
74615
  const workspaceId = process.env.WORKSPACE_ID.replace("workspaces-", "");
@@ -74564,13 +74663,13 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
74564
74663
  try {
74565
74664
  let projectRoot;
74566
74665
  try {
74567
- projectRoot = await utils_1.findProjectRoot(appPath);
74666
+ projectRoot = await (0, utils_1.findProjectRoot)(appPath);
74568
74667
  } catch {
74569
74668
  }
74570
74669
  if (!projectRoot) {
74571
74670
  try {
74572
74671
  const appParentFolder = path_1.default.dirname(appPath);
74573
- projectRoot = await utils_1.findProjectRoot(appParentFolder, false);
74672
+ projectRoot = await (0, utils_1.findProjectRoot)(appParentFolder, false);
74574
74673
  } catch (e) {
74575
74674
  }
74576
74675
  }
@@ -74578,17 +74677,17 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
74578
74677
  if (!projectRoot) {
74579
74678
  const directParentFolder = path_1.default.dirname(appPath);
74580
74679
  const twoLevelUpParentFolder = path_1.default.dirname(directParentFolder);
74581
- isCapJavaWithoutPackageJson = await capProject_1.isCapJavaProject(twoLevelUpParentFolder);
74680
+ isCapJavaWithoutPackageJson = await (0, capProject_1.isCapJavaProject)(twoLevelUpParentFolder);
74582
74681
  projectRoot = isCapJavaWithoutPackageJson ? twoLevelUpParentFolder : appPath;
74583
74682
  }
74584
74683
  if (isCapJavaWithoutPackageJson) {
74585
74684
  return types_1.ODataSource.CAPJava;
74586
74685
  }
74587
- const projectType = await utils_1.getProjectType(projectRoot);
74686
+ const projectType = await (0, utils_1.getProjectType)(projectRoot);
74588
74687
  if (projectType === "Cap") {
74589
- if (await capProject_1.isCapJavaProject(projectRoot)) {
74688
+ if (await (0, capProject_1.isCapJavaProject)(projectRoot)) {
74590
74689
  return types_1.ODataSource.CAPJava;
74591
- } else if (await capProject_1.isCapNodeJsProject(projectRoot)) {
74690
+ } else if (await (0, capProject_1.isCapNodeJsProject)(projectRoot)) {
74592
74691
  return types_1.ODataSource.CAPNode;
74593
74692
  }
74594
74693
  } else if (projectType === "Edmx") {
@@ -74621,7 +74720,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
74621
74720
  return types_1.DeployTarget.NO_DEPLOY_CONFIG;
74622
74721
  }
74623
74722
  function getInternalVsExternal() {
74624
- return ux_feature_toggle_1.isInternalFeaturesSettingEnabled() ? "internal" : "external";
74723
+ return (0, ux_feature_toggle_1.isInternalFeaturesSettingEnabled)() ? "internal" : "external";
74625
74724
  }
74626
74725
  async function getToolsId(appPath) {
74627
74726
  var _a2, _b, _c;
@@ -93677,7 +93776,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93677
93776
  var cloudDebugger_1 = require_cloudDebugger();
93678
93777
  var system_1 = require_system3();
93679
93778
  var store_1 = require_dist12();
93680
- var ux_common_utils_1 = require_dist5();
93779
+ var ux_common_utils_1 = require_dist6();
93681
93780
  var os_1 = __importDefault(require("os"));
93682
93781
  var path_1 = __importDefault(require("path"));
93683
93782
  var fs_1 = __importDefault(require("fs"));
@@ -93700,7 +93799,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93700
93799
  var definePath = (paths) => {
93701
93800
  const platform4 = process.platform;
93702
93801
  let settingsPath = paths[platform4];
93703
- if (ux_common_utils_1.isAppStudio()) {
93802
+ if ((0, ux_common_utils_1.isAppStudio)()) {
93704
93803
  settingsPath = paths.theia;
93705
93804
  }
93706
93805
  if (!settingsPath) {
@@ -93711,20 +93810,20 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93711
93810
  return path_1.default.join(homedir3, settingsPath);
93712
93811
  };
93713
93812
  var setEnableTelemetry = async (enableTelemetry) => {
93714
- const storeService = await store_1.getService({
93813
+ const storeService = await (0, store_1.getService)({
93715
93814
  entityName: "telemetrySetting"
93716
93815
  });
93717
93816
  const setting = new store_1.TelemetrySetting({ enableTelemetry });
93718
93817
  await storeService.write(setting);
93719
93818
  system_1.TelemetrySystem.telemetryEnabled = enableTelemetry;
93720
- const commonProperties = await toolsSuiteTelemetryDataProcessor_1.getCommonProperties();
93721
- reporting_1.reportEnableTelemetryOnOff(enableTelemetry, commonProperties);
93819
+ const commonProperties = await (0, toolsSuiteTelemetryDataProcessor_1.getCommonProperties)();
93820
+ (0, reporting_1.reportEnableTelemetryOnOff)(enableTelemetry, commonProperties);
93722
93821
  };
93723
93822
  exports2.setEnableTelemetry = setEnableTelemetry;
93724
93823
  var getTelemetrySetting = async () => {
93725
93824
  let setting;
93726
93825
  try {
93727
- const storeService = await store_1.getService({
93826
+ const storeService = await (0, store_1.getService)({
93728
93827
  entityName: "telemetrySetting"
93729
93828
  });
93730
93829
  setting = await storeService.read(new store_1.TelemetrySettingKey());
@@ -93734,7 +93833,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93734
93833
  };
93735
93834
  exports2.getTelemetrySetting = getTelemetrySetting;
93736
93835
  var readEnableTelemetryFromSetting = async () => {
93737
- const storeService = await store_1.getService({
93836
+ const storeService = await (0, store_1.getService)({
93738
93837
  entityName: "telemetrySetting"
93739
93838
  });
93740
93839
  let setting;
@@ -93745,7 +93844,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93745
93844
  if (!setting) {
93746
93845
  const deprecatedSettingPath = definePath(settingPaths);
93747
93846
  if (!deprecatedSettingPath) {
93748
- exports2.setEnableTelemetry(true);
93847
+ (0, exports2.setEnableTelemetry)(true);
93749
93848
  } else {
93750
93849
  let content;
93751
93850
  try {
@@ -93756,27 +93855,27 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93756
93855
  return (_a2 = deprecatedSetting[propKey]) != null ? _a2 : true;
93757
93856
  });
93758
93857
  const deprecatedEnableTelemetrySetting = propValues.reduce((prevValue, currentValue) => prevValue && currentValue);
93759
- exports2.setEnableTelemetry(deprecatedEnableTelemetrySetting);
93858
+ (0, exports2.setEnableTelemetry)(deprecatedEnableTelemetrySetting);
93760
93859
  } catch {
93761
- exports2.setEnableTelemetry(true);
93860
+ (0, exports2.setEnableTelemetry)(true);
93762
93861
  }
93763
93862
  }
93764
93863
  } else {
93765
93864
  system_1.TelemetrySystem.telemetryEnabled = setting.enableTelemetry;
93766
93865
  }
93767
93866
  if (system_1.TelemetrySystem.WORKSTREAM === "extension") {
93768
- store_1.getFilesystemWatcherFor(store_1.Entity.TelemetrySetting, async () => {
93867
+ (0, store_1.getFilesystemWatcherFor)(store_1.Entity.TelemetrySetting, async () => {
93769
93868
  const watchedSetting = await storeService.read(new store_1.TelemetrySettingKey());
93770
93869
  system_1.TelemetrySystem.telemetryEnabled = watchedSetting.enableTelemetry;
93771
93870
  });
93772
93871
  }
93773
93872
  };
93774
93873
  var initToolsSuiteTelemetrySettings = async () => {
93775
- cloudDebugger_1.debug("start initTelemetrySettings");
93874
+ (0, cloudDebugger_1.debug)("start initTelemetrySettings");
93776
93875
  if (!system_1.TelemetrySystem.WORKSTREAM) {
93777
93876
  throw new Error("Workstream is undefined");
93778
93877
  }
93779
- cloudDebugger_1.debug(`workstream: ${system_1.TelemetrySystem.WORKSTREAM}`);
93878
+ (0, cloudDebugger_1.debug)(`workstream: ${system_1.TelemetrySystem.WORKSTREAM}`);
93780
93879
  system_1.TelemetrySystem.telemetryEnabled = true;
93781
93880
  await readEnableTelemetryFromSetting();
93782
93881
  };
@@ -93793,7 +93892,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
93793
93892
  await initToolsSuiteTelemetrySettings();
93794
93893
  }
93795
93894
  } catch (err) {
93796
- reporting_1.reportRuntimeError(err);
93895
+ (0, reporting_1.reportRuntimeError)(err);
93797
93896
  }
93798
93897
  };
93799
93898
  exports2.initTelemetrySettings = initTelemetrySettings4;
@@ -93807,9 +93906,13 @@ var require_toolsSuiteTelemetry = __commonJS({
93807
93906
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
93808
93907
  if (k2 === void 0)
93809
93908
  k2 = k;
93810
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
93811
- return m[k];
93812
- } });
93909
+ var desc = Object.getOwnPropertyDescriptor(m, k);
93910
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
93911
+ desc = { enumerable: true, get: function() {
93912
+ return m[k];
93913
+ } };
93914
+ }
93915
+ Object.defineProperty(o, k2, desc);
93813
93916
  } : function(o, m, k, k2) {
93814
93917
  if (k2 === void 0)
93815
93918
  k2 = k;
@@ -93839,9 +93942,13 @@ var require_client3 = __commonJS({
93839
93942
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
93840
93943
  if (k2 === void 0)
93841
93944
  k2 = k;
93842
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
93843
- return m[k];
93844
- } });
93945
+ var desc = Object.getOwnPropertyDescriptor(m, k);
93946
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
93947
+ desc = { enumerable: true, get: function() {
93948
+ return m[k];
93949
+ } };
93950
+ }
93951
+ Object.defineProperty(o, k2, desc);
93845
93952
  } : function(o, m, k, k2) {
93846
93953
  if (k2 === void 0)
93847
93954
  k2 = k;
@@ -93932,15 +94039,15 @@ var require_entries = __commonJS({
93932
94039
  exports2.Measurement = exports2.Mark = void 0;
93933
94040
  var types_1 = require_types11();
93934
94041
  var Mark = class {
94042
+ getStartTime() {
94043
+ return this.startTime;
94044
+ }
93935
94045
  constructor(name, type, startTime) {
93936
94046
  this.startTime = startTime;
93937
94047
  this.name = name;
93938
94048
  this.startTime = startTime;
93939
94049
  this.type = type;
93940
94050
  }
93941
- getStartTime() {
93942
- return this.startTime;
93943
- }
93944
94051
  };
93945
94052
  exports2.Mark = Mark;
93946
94053
  var Measurement = class extends Mark {
@@ -94092,7 +94199,7 @@ var require_paramProcessing = __commonJS({
94092
94199
  while (i < pathArr.length) {
94093
94200
  node = node[pathArr[i]];
94094
94201
  if (node === void 0) {
94095
- throw exports2.wrongPathErr(field, paramIndex);
94202
+ throw (0, exports2.wrongPathErr)(field, paramIndex);
94096
94203
  }
94097
94204
  i++;
94098
94205
  }
@@ -94111,7 +94218,7 @@ var require_paramProcessing = __commonJS({
94111
94218
  if (typeof instructions.value === "string") {
94112
94219
  val = instructions.value;
94113
94220
  } else if (instructions.value !== void 0 && instructions.paramIndex !== void 0) {
94114
- val = exports2.getValue(param, instructions.value.path, "val", instructions.paramIndex);
94221
+ val = (0, exports2.getValue)(param, instructions.value.path, "val", instructions.paramIndex);
94115
94222
  } else {
94116
94223
  val = param;
94117
94224
  }
@@ -94129,7 +94236,7 @@ var require_paramProcessing = __commonJS({
94129
94236
  let customMeasurements = {};
94130
94237
  if (Array.isArray(instructions)) {
94131
94238
  for (const instruction of instructions) {
94132
- [processedDimensions, processedMeasurements] = exports2.paramsProcessing(params, instruction);
94239
+ [processedDimensions, processedMeasurements] = (0, exports2.paramsProcessing)(params, instruction);
94133
94240
  customDimensions = {
94134
94241
  ...customDimensions,
94135
94242
  ...processedDimensions
@@ -94140,7 +94247,7 @@ var require_paramProcessing = __commonJS({
94140
94247
  };
94141
94248
  }
94142
94249
  } else {
94143
- [customDimensions, customMeasurements] = exports2.paramsProcessing(params, instructions);
94250
+ [customDimensions, customMeasurements] = (0, exports2.paramsProcessing)(params, instructions);
94144
94251
  }
94145
94252
  return [customDimensions, customMeasurements];
94146
94253
  };
@@ -94204,7 +94311,7 @@ var require_interceptor = __commonJS({
94204
94311
  var captureParam = (target, originalFn, evtName, sampleRate, instructions) => {
94205
94312
  return (...args) => {
94206
94313
  const result2 = originalFn.apply(target, args);
94207
- const [customDimensions, customMeasurements] = paramProcessing_1.getParamsData(args, instructions);
94314
+ const [customDimensions, customMeasurements] = (0, paramProcessing_1.getParamsData)(args, instructions);
94208
94315
  const appinsightClient = client_1.ClientFactory.getTelemetryClient();
94209
94316
  appinsightClient.report(evtName, customDimensions, customMeasurements, sampleRate);
94210
94317
  return result2;
@@ -94214,7 +94321,7 @@ var require_interceptor = __commonJS({
94214
94321
  var captureParamAsync = (target, originalFn, evtName, sampleRate, instructions) => {
94215
94322
  return async (...args) => {
94216
94323
  const result2 = await originalFn.apply(target, args);
94217
- const [customDimensions, customMeasurements] = paramProcessing_1.getParamsData(args, instructions);
94324
+ const [customDimensions, customMeasurements] = (0, paramProcessing_1.getParamsData)(args, instructions);
94218
94325
  const appinsightClient = client_1.ClientFactory.getTelemetryClient();
94219
94326
  appinsightClient.report(evtName, customDimensions, customMeasurements, sampleRate);
94220
94327
  return result2;
@@ -94231,9 +94338,13 @@ var require_config4 = __commonJS({
94231
94338
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
94232
94339
  if (k2 === void 0)
94233
94340
  k2 = k;
94234
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
94235
- return m[k];
94236
- } });
94341
+ var desc = Object.getOwnPropertyDescriptor(m, k);
94342
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
94343
+ desc = { enumerable: true, get: function() {
94344
+ return m[k];
94345
+ } };
94346
+ }
94347
+ Object.defineProperty(o, k2, desc);
94237
94348
  } : function(o, m, k, k2) {
94238
94349
  if (k2 === void 0)
94239
94350
  k2 = k;
@@ -159954,8 +160065,8 @@ var import_hasbin = __toESM(require_hasbin());
159954
160065
  init_i18next();
159955
160066
  var import_path3 = require("path");
159956
160067
  var import_yaml2 = __toESM(require_dist3());
159957
- var import_project_spec2 = __toESM(require_dist4());
159958
- var import_ux_ui5_info2 = __toESM(require_dist8());
160068
+ var import_project_spec2 = __toESM(require_dist5());
160069
+ var import_ux_ui5_info2 = __toESM(require_dist9());
159959
160070
 
159960
160071
  // src/utils/config.ts
159961
160072
  var import_dotenv = __toESM(require_main());
@@ -160000,18 +160111,18 @@ var getPreviewUrl = (query) => {
160000
160111
 
160001
160112
  // src/utils/utils.ts
160002
160113
  var import_fs = require("fs");
160003
- var import_ux_odata_client = __toESM(require_dist7());
160114
+ var import_ux_odata_client = __toESM(require_dist8());
160004
160115
  var import_yaml = __toESM(require_dist3());
160005
160116
  var import_path = require("path");
160006
160117
  var import_system = __toESM(require_system());
160007
- var import_ux_common_utils = __toESM(require_dist5());
160118
+ var import_ux_common_utils = __toESM(require_dist6());
160008
160119
  init_i18next();
160009
160120
  var import_os = require("os");
160010
160121
  var import_chalk = __toESM(require_source7());
160011
160122
  var import_fs2 = require("@ui5/fs");
160012
- var import_project_spec = __toESM(require_dist4());
160123
+ var import_project_spec = __toESM(require_dist5());
160013
160124
  var import_ux_telemetry = __toESM(require_src13());
160014
- var import_ux_ui5_info = __toESM(require_dist8());
160125
+ var import_ux_ui5_info = __toESM(require_dist9());
160015
160126
  var import_semver = __toESM(require_semver9());
160016
160127
  var import_axios = __toESM(require_axios2());
160017
160128
  function readConfig(path5) {
@@ -160360,6 +160471,9 @@ async function validateDistDir(archivePath) {
160360
160471
  }
160361
160472
  return (0, import_fs.existsSync)((0, import_path.join)(projectPath, distFolder));
160362
160473
  }
160474
+ function isConfirmationRequired(skipConfirmation) {
160475
+ return skipConfirmation || process.argv && process.argv.includes("-y") ? false : true;
160476
+ }
160363
160477
 
160364
160478
  // ../../node_modules/yargs-parser/build/lib/index.js
160365
160479
  var import_util = require("util");
@@ -161828,7 +161942,7 @@ async function initI18n(language = "en") {
161828
161942
 
161829
161943
  // src/cli/cmd/add-variants-config.ts
161830
161944
  var import_yaml3 = __toESM(require_dist3());
161831
- var import_project_spec3 = __toESM(require_dist4());
161945
+ var import_project_spec3 = __toESM(require_dist5());
161832
161946
  async function addVariantsConfig() {
161833
161947
  try {
161834
161948
  await initI18n();
@@ -162019,7 +162133,7 @@ var import_fs7 = require("fs");
162019
162133
  var import_path6 = require("path");
162020
162134
  var import_yaml5 = __toESM(require_dist3());
162021
162135
  init_i18next();
162022
- var import_project_spec4 = __toESM(require_dist4());
162136
+ var import_project_spec4 = __toESM(require_dist5());
162023
162137
  async function addControlPropertyEditorConfig() {
162024
162138
  try {
162025
162139
  await initI18n();
@@ -164154,12 +164268,12 @@ function help(args) {
164154
164268
  }
164155
164269
 
164156
164270
  // src/tasks/deploy/index.ts
164157
- var import_ux_common_utils3 = __toESM(require_dist5());
164271
+ var import_ux_common_utils3 = __toESM(require_dist6());
164158
164272
  var import_logger3 = __toESM(require_logger4());
164159
164273
  var import_prompts2 = __toESM(require_prompts3());
164160
164274
 
164161
164275
  // src/tasks/deploy/steps.ts
164162
- var import_ux_common_utils2 = __toESM(require_dist5());
164276
+ var import_ux_common_utils2 = __toESM(require_dist6());
164163
164277
  var import_yazl = __toESM(require_yazl());
164164
164278
  var import_fs9 = require("fs");
164165
164279
  var import_path8 = __toESM(require("path"));
@@ -164252,7 +164366,7 @@ function generateIndexHtml(parameters) {
164252
164366
  // src/tasks/deploy/steps.ts
164253
164367
  init_i18next();
164254
164368
  var import_yaml6 = __toESM(require_dist3());
164255
- var import_ux_ui5_info3 = __toESM(require_dist8());
164369
+ var import_ux_ui5_info3 = __toESM(require_dist9());
164256
164370
  var import_semver3 = __toESM(require_semver9());
164257
164371
  var import_debug = __toESM(require_src15());
164258
164372
  var debugUi5Tooling = (0, import_debug.default)("ux-ui5-tooling");
@@ -164491,9 +164605,6 @@ async function deployWithRetry(archive, config2, log7) {
164491
164605
 
164492
164606
  // src/tasks/deploy/index.ts
164493
164607
  var chalk = require_source7();
164494
- function isConfirmationRequired(config2) {
164495
- return config2.yes || process.argv && process.argv.includes("-y") ? false : true;
164496
- }
164497
164608
  async function task({ workspace, options: options3 }) {
164498
164609
  await initI18n();
164499
164610
  const log7 = (0, import_logger3.getLogger)("builder:custom deploy-to-abap");
@@ -164503,7 +164614,7 @@ async function task({ workspace, options: options3 }) {
164503
164614
  log7.error(i18next_default.t("ERROR_DEPLOYMENT_FAILED_NO_DIST"));
164504
164615
  return;
164505
164616
  }
164506
- if (isConfirmationRequired(config2) && !await confirmDeploy(config2)) {
164617
+ if (isConfirmationRequired(config2.yes) && !await confirmDeploy(config2)) {
164507
164618
  log7.info(i18next_default.t("DEPLOY_CANCELED"));
164508
164619
  return;
164509
164620
  }
@@ -164748,8 +164859,8 @@ async function executeCmd4() {
164748
164859
  init_i18next();
164749
164860
 
164750
164861
  // src/tasks/undeploy/index.ts
164751
- var import_ux_common_utils4 = __toESM(require_dist5());
164752
- var import_ux_odata_client2 = __toESM(require_dist7());
164862
+ var import_ux_common_utils4 = __toESM(require_dist6());
164863
+ var import_ux_odata_client2 = __toESM(require_dist8());
164753
164864
  var import_logger4 = __toESM(require_logger4());
164754
164865
  var import_prompts3 = __toESM(require_prompts3());
164755
164866
  init_i18next();
@@ -164801,7 +164912,7 @@ async function task2(deploymentConfig) {
164801
164912
  var _a2, _b, _c, _d;
164802
164913
  await initI18n();
164803
164914
  const log7 = (0, import_logger4.getLogger)("undeploy-abap");
164804
- if (!await confirmUndeploy(deploymentConfig)) {
164915
+ if (isConfirmationRequired(deploymentConfig.yes) && !await confirmUndeploy(deploymentConfig)) {
164805
164916
  log7.info(i18next_default.t("DEPLOY_CANCELED"));
164806
164917
  return;
164807
164918
  }
@@ -164830,7 +164941,13 @@ var paramMap4 = {
164830
164941
  "-d": "destination",
164831
164942
  "-u": "url",
164832
164943
  "-n": "name",
164833
- "-t": "transport"
164944
+ "-t": "transport",
164945
+ "-y": "yes",
164946
+ "-uu": "uaa-url",
164947
+ "-un": "uaa-username",
164948
+ "-up": "uaa-password",
164949
+ "-ui": "uaa-clientid",
164950
+ "-us": "uaa-clientsecret"
164834
164951
  };
164835
164952
  async function undeploy(args) {
164836
164953
  if (isHelpOption(args)) {
@@ -164851,7 +164968,7 @@ var import_path11 = require("path");
164851
164968
  var import_fs12 = require("fs");
164852
164969
  var import_child_process4 = require("child_process");
164853
164970
  var import_ux_telemetry3 = __toESM(require_src13());
164854
- var import_ux_odata_client3 = __toESM(require_dist7());
164971
+ var import_ux_odata_client3 = __toESM(require_dist8());
164855
164972
  var import_logger5 = __toESM(require_logger4());
164856
164973
  init_i18next();
164857
164974
  var import_yaml7 = __toESM(require_dist3());