@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.
@@ -201,9 +201,13 @@ var require_dist = __commonJS({
201
201
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
202
202
  if (k2 === void 0)
203
203
  k2 = k;
204
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
205
- return m[k];
206
- } });
204
+ var desc = Object.getOwnPropertyDescriptor(m, k);
205
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
206
+ desc = { enumerable: true, get: function() {
207
+ return m[k];
208
+ } };
209
+ }
210
+ Object.defineProperty(o, k2, desc);
207
211
  } : function(o, m, k, k2) {
208
212
  if (k2 === void 0)
209
213
  k2 = k;
@@ -240,7 +244,7 @@ var require_dist = __commonJS({
240
244
  FioriToolsSettings2["dir"] = ".fioritools";
241
245
  })(FioriToolsSettings = exports2.FioriToolsSettings || (exports2.FioriToolsSettings = {}));
242
246
  var getFioriToolsDirectory = () => {
243
- return path_1.default.join(os_1.homedir(), FioriToolsSettings.dir);
247
+ return path_1.default.join((0, os_1.homedir)(), FioriToolsSettings.dir);
244
248
  };
245
249
  exports2.getFioriToolsDirectory = getFioriToolsDirectory;
246
250
  function filterReferenceUri(metadata) {
@@ -267,6 +271,7 @@ var require_EventName = __commonJS({
267
271
  EventName3["GD_SIDE_BY_SIDE"] = "GD_SIDE_BY_SIDE";
268
272
  EventName3["GD_WIZARD"] = "GD_WIZARD";
269
273
  EventName3["GD_DESCMODE"] = "GD_DESCMODE";
274
+ EventName3["GD_PROJECTVIEW"] = "GD_PROJECTVIEW";
270
275
  EventName3["PAGEMAP"] = "PAGEMAP";
271
276
  EventName3["APP_ACTIONS"] = "ACTIONS";
272
277
  EventName3["PAGE_EDITOR"] = "PAGE_EDITOR";
@@ -11949,7 +11954,7 @@ var require_package4 = __commonJS({
11949
11954
  "../lib/telemetry/dist/package.json"(exports2, module2) {
11950
11955
  module2.exports = {
11951
11956
  name: "@sap/ux-telemetry",
11952
- version: "1.8.6",
11957
+ version: "1.9.1",
11953
11958
  description: "SAP Fiori tools telemetry library",
11954
11959
  main: "dist/src/index.js",
11955
11960
  author: "SAP SE",
@@ -11974,20 +11979,20 @@ var require_package4 = __commonJS({
11974
11979
  },
11975
11980
  dependencies: {
11976
11981
  "@sap-ux/store": "0.3.8",
11977
- "@sap/ux-cds": "1.8.6",
11978
- "@sap/ux-common-utils": "1.8.6",
11979
- "@sap/ux-feature-toggle": "1.8.6",
11980
- "@sap/ux-project-access": "1.8.6",
11982
+ "@sap/ux-cds": "1.9.1",
11983
+ "@sap/ux-common-utils": "1.9.1",
11984
+ "@sap/ux-feature-toggle": "1.9.1",
11985
+ "@sap/ux-project-access": "1.9.1",
11981
11986
  applicationinsights: "1.4.1",
11982
11987
  axios: "0.26.0",
11983
11988
  "performance-now": "2.1.0",
11984
11989
  yaml: "2.0.0-10"
11985
11990
  },
11986
11991
  devDependencies: {
11987
- memfs: "3.4.7",
11992
+ memfs: "3.4.13",
11988
11993
  "ts-jest": "28.0.8",
11989
11994
  "ts-node": "8.5.2",
11990
- typescript: "4.3.5",
11995
+ typescript: "4.9.4",
11991
11996
  unionfs: "4.4.0"
11992
11997
  },
11993
11998
  files: [
@@ -12046,9 +12051,13 @@ var require_reporting = __commonJS({
12046
12051
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
12047
12052
  if (k2 === void 0)
12048
12053
  k2 = k;
12049
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
12050
- return m[k];
12051
- } });
12054
+ var desc = Object.getOwnPropertyDescriptor(m, k);
12055
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12056
+ desc = { enumerable: true, get: function() {
12057
+ return m[k];
12058
+ } };
12059
+ }
12060
+ Object.defineProperty(o, k2, desc);
12052
12061
  } : function(o, m, k, k2) {
12053
12062
  if (k2 === void 0)
12054
12063
  k2 = k;
@@ -12115,7 +12124,7 @@ var require_reporting = __commonJS({
12115
12124
  var _a2;
12116
12125
  if (((_a2 = process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY) == null ? void 0 : _a2.trim()) !== "true") {
12117
12126
  reportingTelemetryClient = new appInsights.TelemetryClient(telemetryPackageJSON.azureInstrumentationKey);
12118
- telemetryClientConfig_1.configAzureTelemetryClient(reportingTelemetryClient);
12127
+ (0, telemetryClientConfig_1.configAzureTelemetryClient)(reportingTelemetryClient);
12119
12128
  }
12120
12129
  var reportRuntimeError = (error3) => {
12121
12130
  const properties = { message: error3.message };
@@ -12168,16 +12177,16 @@ var require_system2 = __commonJS({
12168
12177
  var reporting_1 = require_reporting();
12169
12178
  var TelemetrySystem = class {
12170
12179
  static init() {
12171
- cloudDebugger_1.debug(`start System.init`);
12172
- TelemetrySystem.modules = system_1.processMatchingPaths(TelemetrySystem.modules);
12180
+ (0, cloudDebugger_1.debug)(`start System.init`);
12181
+ TelemetrySystem.modules = (0, system_1.processMatchingPaths)(TelemetrySystem.modules);
12173
12182
  let pathBase = TelemetrySystem.getMatchingModulePath(module2);
12174
- cloudDebugger_1.debug(`base path: ${pathBase}`);
12183
+ (0, cloudDebugger_1.debug)(`base path: ${pathBase}`);
12175
12184
  if (!pathBase) {
12176
- TelemetrySystem.fallbackModules = system_1.processMatchingPaths(TelemetrySystem.fallbackModules);
12185
+ TelemetrySystem.fallbackModules = (0, system_1.processMatchingPaths)(TelemetrySystem.fallbackModules);
12177
12186
  pathBase = TelemetrySystem.getMatchingModulePath(module2, true);
12178
12187
  }
12179
12188
  const manifestPath = TelemetrySystem.getManifestPath(pathBase);
12180
- cloudDebugger_1.debug(`package.json path: ${manifestPath}`);
12189
+ (0, cloudDebugger_1.debug)(`package.json path: ${manifestPath}`);
12181
12190
  TelemetrySystem.manifest = TelemetrySystem.getManifestJSON(manifestPath);
12182
12191
  }
12183
12192
  static getManifestJSON(path) {
@@ -12190,7 +12199,7 @@ var require_system2 = __commonJS({
12190
12199
  }
12191
12200
  static getManifestPath(pathBase) {
12192
12201
  let manifestPath = pathBase;
12193
- if (ux_common_utils_1.isAppStudio() && manifestPath && manifestPath.indexOf("generators") < 0 && manifestPath.indexOf("deployment-generator") < 0 && manifestPath.indexOf("/ux-ui5-tooling") < 0) {
12202
+ if ((0, ux_common_utils_1.isAppStudio)() && manifestPath && manifestPath.indexOf("generators") < 0 && manifestPath.indexOf("deployment-generator") < 0 && manifestPath.indexOf("/ux-ui5-tooling") < 0) {
12194
12203
  manifestPath = manifestPath.concat("/extension");
12195
12204
  }
12196
12205
  if (manifestPath && manifestPath.indexOf("language-server") > -1) {
@@ -12266,7 +12275,7 @@ var require_system2 = __commonJS({
12266
12275
  TelemetrySystem.init();
12267
12276
  }
12268
12277
  } catch (err) {
12269
- reporting_1.reportRuntimeError(err);
12278
+ (0, reporting_1.reportRuntimeError)(err);
12270
12279
  }
12271
12280
  }
12272
12281
  });
@@ -12344,9 +12353,13 @@ var require_appInsightClient = __commonJS({
12344
12353
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
12345
12354
  if (k2 === void 0)
12346
12355
  k2 = k;
12347
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
12348
- return m[k];
12349
- } });
12356
+ var desc = Object.getOwnPropertyDescriptor(m, k);
12357
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12358
+ desc = { enumerable: true, get: function() {
12359
+ return m[k];
12360
+ } };
12361
+ }
12362
+ Object.defineProperty(o, k2, desc);
12350
12363
  } : function(o, m, k, k2) {
12351
12364
  if (k2 === void 0)
12352
12365
  k2 = k;
@@ -12429,7 +12442,7 @@ var require_appInsightClient = __commonJS({
12429
12442
  }
12430
12443
  const client = new appInsights.TelemetryClient(this.applicationKey);
12431
12444
  client.config.samplingPercentage = sampleRateNumer;
12432
- telemetryClientConfig_1.configAzureTelemetryClient(client);
12445
+ (0, telemetryClientConfig_1.configAzureTelemetryClient)(client);
12433
12446
  return client;
12434
12447
  }
12435
12448
  };
@@ -12465,10 +12478,10 @@ var require_toolsSuiteTelemetryClient = __commonJS({
12465
12478
  super(applicationKey, extensionName, extensionVersion);
12466
12479
  }
12467
12480
  async report(eventName, properties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings) {
12468
- const fioriProjectCommonProperties = await toolsSuiteTelemetry_1.processToolsSuiteTelemetry(telemetryHelperProperties);
12481
+ const fioriProjectCommonProperties = await (0, toolsSuiteTelemetry_1.processToolsSuiteTelemetry)(telemetryHelperProperties);
12469
12482
  const commonProperties = {
12470
12483
  v: this.extensionVersion,
12471
- datetime: date_1.localDatetimeToUTC()
12484
+ datetime: (0, date_1.localDatetimeToUTC)()
12472
12485
  };
12473
12486
  const finalProperties = {
12474
12487
  ...properties,
@@ -12478,10 +12491,10 @@ var require_toolsSuiteTelemetryClient = __commonJS({
12478
12491
  await super.report(eventName, finalProperties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings);
12479
12492
  }
12480
12493
  async reportEvent(event, sampleRate, telemetryHelperProperties, ignoreSettings) {
12481
- const fioriProjectCommonProperties = await toolsSuiteTelemetry_1.processToolsSuiteTelemetry(telemetryHelperProperties);
12494
+ const fioriProjectCommonProperties = await (0, toolsSuiteTelemetry_1.processToolsSuiteTelemetry)(telemetryHelperProperties);
12482
12495
  const telemetryEventCommonProperties = {
12483
12496
  v: this.extensionVersion,
12484
- datetime: date_1.localDatetimeToUTC()
12497
+ datetime: (0, date_1.localDatetimeToUTC)()
12485
12498
  };
12486
12499
  const finalProperties = {
12487
12500
  ...event.properties,
@@ -23050,9 +23063,13 @@ var require_controls = __commonJS({
23050
23063
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23051
23064
  if (k2 === void 0)
23052
23065
  k2 = k;
23053
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23054
- return m[k];
23055
- } });
23066
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23067
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23068
+ desc = { enumerable: true, get: function() {
23069
+ return m[k];
23070
+ } };
23071
+ }
23072
+ Object.defineProperty(o, k2, desc);
23056
23073
  } : function(o, m, k, k2) {
23057
23074
  if (k2 === void 0)
23058
23075
  k2 = k;
@@ -23072,21 +23089,374 @@ var require_controls = __commonJS({
23072
23089
  }
23073
23090
  });
23074
23091
 
23092
+ // ../../node_modules/@sap/ux-specification-types/dist/common.js
23093
+ var require_common2 = __commonJS({
23094
+ "../../node_modules/@sap/ux-specification-types/dist/common.js"(exports2, module2) {
23095
+ var P = Object.defineProperty;
23096
+ var Ye = Object.getOwnPropertyDescriptor;
23097
+ var Ne = Object.getOwnPropertyNames;
23098
+ var y = Object.getOwnPropertySymbols;
23099
+ var O = Object.prototype.hasOwnProperty;
23100
+ var ze = Object.prototype.propertyIsEnumerable;
23101
+ var V = (c, n, t) => n in c ? P(c, n, { enumerable: true, configurable: true, writable: true, value: t }) : c[n] = t;
23102
+ var d = (c, n) => {
23103
+ for (var t in n || (n = {}))
23104
+ O.call(n, t) && V(c, t, n[t]);
23105
+ if (y)
23106
+ for (var t of y(n))
23107
+ ze.call(n, t) && V(c, t, n[t]);
23108
+ return c;
23109
+ };
23110
+ var qe = (c) => P(c, "__esModule", { value: true });
23111
+ var A = (c, n) => {
23112
+ for (var t in n)
23113
+ P(c, t, { get: n[t], enumerable: true });
23114
+ };
23115
+ var Je = (c, n, t, o) => {
23116
+ if (n && typeof n == "object" || typeof n == "function")
23117
+ for (let p of Ne(n))
23118
+ !O.call(c, p) && (t || p !== "default") && P(c, p, { get: () => n[p], enumerable: !(o = Ye(n, p)) || o.enumerable });
23119
+ return c;
23120
+ };
23121
+ 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);
23122
+ var Ht = {};
23123
+ 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: () => lt, QUICKVARPATHX: () => gt, SAPUI5_FRAGMENT_CLASS: () => dt, SAPUI5_VIEW_CLASS: () => Pt, SchemaKeyName: () => K, SchemaTag: () => Q, SchemaType: () => R, SectionType: () => U, StatePreservationMode: () => q, TableColumnVerticalAlignment: () => z, TemplateType: () => te, UIVOCABULARY: () => st, UIVOCABULARYALPHADOT: () => ct, UIVOCABULARYDOT: () => pt, VOCWITHCOLONS: () => rt, VOCWITHSLASH: () => it, ViewTemplateType: () => H, ViewTypes: () => D, Visualization: () => _45, v2: () => f, v4: () => E });
23124
+ var T = ((i) => (i.ObjectPage = "ObjectPage", i.ListReport = "ListReport", i.OverviewPage = "OverviewPage", i.CustomPage = "CustomPage", i.AnalyticalListPage = "AnalyticalListPage", i))(T || {});
23125
+ var C = ((i) => (i.ObjectPage = "ObjectPage", i.ListReport = "ListReport", i.CustomPage = "CustomPage", i.FPMCustomPage = "FPMCustomPage", i.AnalyticalListPage = "AnalyticalListPage", i))(C || {});
23126
+ var Ze = d(d({}, T), C);
23127
+ 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"]]);
23128
+ var L = ((t) => (t.v2 = "v2", t.v4 = "v4", t))(L || {});
23129
+ var j = ((t) => (t.v2 = "v2", t.v4 = "v4", t))(j || {});
23130
+ 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 || {});
23131
+ var h = ((t) => (t.Vendor = "VENDOR", t.Customer = "CUSTOMER_BASE", t))(h || {});
23132
+ 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 || {});
23133
+ var v = ((t) => (t.flex = "flex", t.manifest = "manifest", t))(v || {});
23134
+ var I = ((t) => (t.Primary = "primary", t.Secondary = "secondary", t))(I || {});
23135
+ var U = ((o) => (o.Section = "Section", o.SubSection = "SubSection", o.HeaderSection = "HeaderSection", o))(U || {});
23136
+ var w = ((i) => (i.Manifest = "Manifest", i.FlexChange = "FlexChange", i.Annotation = "Annotation", i.Fragment = "Fragment", i.View = "View", i))(w || {});
23137
+ 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 || {});
23138
+ var _45 = ((t) => (t.LineItem = "LineItem", t.Chart = "Chart", t))(_45 || {});
23139
+ 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 || {});
23140
+ var B = ((n) => (n.App = "app.json", n))(B || {});
23141
+ var et = "Facet ID: ";
23142
+ var tt = "Action ID: ";
23143
+ 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 || {});
23144
+ var ot = "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$";
23145
+ var H = ((i) => (i.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", i.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", i.TreeTableColumnsExtension = "TreeTableColumnsExtension", i.GridTableColumnsExtension = "GridTableColumnsExtension", i.ResponsiveTableCellsExtension = "ResponsiveTableCellsExtension", i))(H || {});
23146
+ 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 || {});
23147
+ 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 || {});
23148
+ 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 || {});
23149
+ var K = ((i) => (i.id = "ID", i.value = "Value", i.action = "Action", i.target = "Target", i.key = "Key", i))(K || {});
23150
+ var at = "webapp/localService/metadata.xml";
23151
+ var nt = "webapp/manifest.json";
23152
+ var it = "/@com.sap.vocabularies";
23153
+ var rt = "::@com.sap.vocabularies";
23154
+ var st = "com.sap.vocabularies.UI.v1";
23155
+ var pt = "com.sap.vocabularies.UI.v1.";
23156
+ var ct = "@com.sap.vocabularies.UI.v1.";
23157
+ var lt = "/quickVariantSelection";
23158
+ var gt = "/quickVariantSelectionX";
23159
+ var mt = "/filterSettings/dateSettings";
23160
+ var bt = ".fragment.";
23161
+ var Y = ((p) => (p.Control = "Control", p.Property = "Property", p.Aggregation = "Aggregation", p.Event = "Event", p))(Y || {});
23162
+ var N = ((n) => (n.restricted = "restricted", n))(N || {});
23163
+ var z = ((o) => (o.Top = "Top", o.Middle = "Middle", o.Bottom = "Bottom", o))(z || {});
23164
+ var q = ((t) => (t.persistence = "persistence", t.discovery = "discovery", t))(q || {});
23165
+ var J = ((o) => (o.BeginColumnPages = "beginColumnPages", o.MidColumnPages = "midColumnPages", o.EndColumnPages = "endColumnPages", o))(J || {});
23166
+ var $ = ((t) => (t.OData = "OData", t.ODataAnnotation = "ODataAnnotation", t))($ || {});
23167
+ 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 || {});
23168
+ var St = `${"sap.ui.generic.app"}/settings`;
23169
+ var xt = "sap.fe.templates.RootContainer.view.Fcl";
23170
+ var ut = "appRootView";
23171
+ var D = ((o) => (o.XML = "XML", o.HTML = "HTML", o.JSON = "JSON", o))(D || {});
23172
+ var Pt = "sap.ui.core.mvc.View";
23173
+ var dt = "sap.ui.core.Fragment";
23174
+ var ee = ((o) => (o.Error = "error", o.Warning = "warning", o.Info = "info", o))(ee || {});
23175
+ var At = { ["error"]: "Error", ["warning"]: "Warning", ["info"]: "Information" };
23176
+ var te = ((u) => (u.ListReportObjectPageV2 = "ListReportObjectPageV2", u.ListReportObjectPageV4 = "ListReportObjectPageV4", u.OverviewPageV2 = "OverviewPageV2", u.AnalyticalListPageV2 = "AnalyticalListPageV2", u.AnalyticalListPageV4 = "AnalyticalListPageV4", u.FreestylePageV4 = "FreestylePageV4", u))(te || {});
23177
+ 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 || {});
23178
+ var ae = ((n) => (n.BuildingBlocks = "BuildingBlocks", n))(ae || {});
23179
+ var f = {};
23180
+ 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 });
23181
+ var ne = ((o) => (o.cardBubble = "cardBubble", o.cardchartsline = "cardchartsline", o.cardchartsdonut = "cardchartsdonut", o))(ne || {});
23182
+ 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 || {});
23183
+ 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" };
23184
+ 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 || {});
23185
+ var se = ((i) => (i.average = "average", i.max = "max", i.min = "min", i.sum = "sum", i.count = "$count", i))(se || {});
23186
+ var pe = ((o) => (o.standard = "standard", o.bar = "bar", o.carousel = "carousel", o))(pe || {});
23187
+ var ce = ((t) => (t.extended = "extended", t.condensed = "condensed", t))(ce || {});
23188
+ var le = ((t) => (t.ascending = "ascending", t.descending = "descending", t))(le || {});
23189
+ var ge = ((t) => (t.standard = "standard", t.carousel = "carousel", t))(ge || {});
23190
+ 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 || {});
23191
+ 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 || {});
23192
+ var Se = ((n) => (n.XML = "XML", n))(Se || {});
23193
+ var xe = ((p) => (p.ResponsiveTable = "ResponsiveTable", p.GridTable = "GridTable", p.AnalyticalTable = "AnalyticalTable", p.TreeTable = "TreeTable", p))(xe || {});
23194
+ var ue = ((p) => (p.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", p.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", p.TreeTableColumnsExtension = "TreeTableColumnsExtension", p.GridTableColumnsExtension = "GridTableColumnsExtension", p))(ue || {});
23195
+ var Pe = ((n) => (n.extension = "extension", n))(Pe || {});
23196
+ var de = ((n) => (n.GENERICPROPERTY = "GENERICPROPERTY", n))(de || {});
23197
+ var Ae = ((o) => (o.charttable = "charttable", o.chart = "chart", o.table = "table", o))(Ae || {});
23198
+ var Te = ((t) => (t.visual = "visual", t.compact = "compact", t))(Te || {});
23199
+ var Ce = ((o) => (o.always = "always", o.never = "never", o.ifAnyFilterExist = "ifAnyFilterExist", o))(Ce || {});
23200
+ 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 || {});
23201
+ var Ee = ((o) => (o.AfterFacet = "AfterFacet", o.BeforeFacet = "BeforeFacet", o.ReplaceFacet = "ReplaceFacet", o))(Ee || {});
23202
+ var ye = ((n) => (n.XML = "XML", n))(ye || {});
23203
+ var Ve = ((n) => (n.inline = "inline", n))(Ve || {});
23204
+ var Ct = "sap.suite.ui.generic.template";
23205
+ var ft = "sap.suite.ui.generic.template.ObjectPage";
23206
+ var Et = "sap.suite.ui.generic.template.ListReport";
23207
+ var yt = "sap.suite.ui.generic.template.AnalyticalListPage";
23208
+ var Vt = "sap.ui.viewExtensions";
23209
+ var Ot = "sap.ui.controllerExtensions";
23210
+ var Lt = "sap.suite.ui.generic.template.ObjectPage.view.Details";
23211
+ var jt = "sap.suite.ui.generic.template.ListReport.view.ListReport";
23212
+ var Ft = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
23213
+ var Oe = ((t) => (t.fixed = "fixed", t.resizable = "resizable", t))(Oe || {});
23214
+ var E = {};
23215
+ 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 });
23216
+ var Le = ((t) => (t.After = "After", t.Before = "Before", t))(Le || {});
23217
+ var je = ((p) => (p.Multi = "Multi", p.None = "None", p.Single = "Single", p.Auto = "Auto", p))(je || {});
23218
+ var Fe = ((o) => (o.ResponsiveTable = "ResponsiveTable", o.GridTable = "GridTable", o.AnalyticalTable = "AnalyticalTable", o))(Fe || {});
23219
+ var he = ((o) => (o.NewPage = "NewPage", o.Inline = "Inline", o.CreationRow = "CreationRow", o))(he || {});
23220
+ var Re = ((o) => (o.Disabled = "Disabled", o.Enabled = "Enabled", o.Auto = "Auto", o))(Re || {});
23221
+ var ve = ((o) => (o.Primary = "primary", o.Secondary = "secondary", o.Both = "both", o))(ve || {});
23222
+ var Ie = ((t) => (t.Compact = "Compact", t.CompactVisual = "CompactVisual", t))(Ie || {});
23223
+ var Ue = ((t) => (t.Compact = "Compact", t.Visual = "Visual", t))(Ue || {});
23224
+ var we = ((t) => (t.single = "single", t.multi = "multi", t))(we || {});
23225
+ var Me = ((c) => (c["not-adaptable-visibility"] = "not-adaptable-visibility", c))(Me || {});
23226
+ var _e = ((t) => (t.Tabs = "Tabs", t.Page = "Page", t))(_e || {});
23227
+ var ke = ((t) => (t.After = "After", t.Before = "Before", t))(ke || {});
23228
+ var Be = ((n) => (n.XML = "XML", n))(Be || {});
23229
+ var ht = "sap.fe.templates";
23230
+ var Rt = "sap.fe.core.fpm";
23231
+ var vt = "sap.fe.templates.ObjectPage";
23232
+ var It = "sap.fe.templates.ListReport";
23233
+ var Ut = "sap.fe.templates.AnalyticalListPage";
23234
+ var wt = "XMLFragment";
23235
+ var Ge = ((t) => (t.AfterFacet = "AfterFacet", t.BeforeFacet = "BeforeFacet", t))(Ge || {});
23236
+ var Mt = "sap.f.routing.Router";
23237
+ var _t = "sap.f";
23238
+ var kt = "sap.ui.controllerExtensions";
23239
+ var Bt = "sap.fe.templates.ObjectPage.ObjectPageController";
23240
+ var Gt = "sap.fe.templates.ListReport.ListReportController";
23241
+ var He = ((t) => (t.After = "After", t.Before = "Before", t))(He || {});
23242
+ var We = ((o) => (o.Default = "Default", o.Adaptation = "Adaptation", o.Hidden = "Hidden", o))(We || {});
23243
+ var Xe = ((o) => (o.Begin = "Begin", o.Center = "Center", o.End = "End", o))(Xe || {});
23244
+ var Qe = ((t) => (t.None = "None", t.Control = "Control", t))(Qe || {});
23245
+ var Ke = ((o) => (o.None = "None", o.Control = "Control", o.Page = "Page", o))(Ke || {});
23246
+ module2.exports = $e(Ht);
23247
+ }
23248
+ });
23249
+
23250
+ // ../../node_modules/@sap/ux-specification-types/dist/apiTypes.js
23251
+ var require_apiTypes = __commonJS({
23252
+ "../../node_modules/@sap/ux-specification-types/dist/apiTypes.js"(exports2) {
23253
+ "use strict";
23254
+ Object.defineProperty(exports2, "__esModule", { value: true });
23255
+ exports2.Features = exports2.CustomExtensionType = exports2.TemplateType = exports2.LogSeverityLabel = exports2.LogSeverity = void 0;
23256
+ var LogSeverity2;
23257
+ (function(LogSeverity3) {
23258
+ LogSeverity3["Error"] = "error";
23259
+ LogSeverity3["Warning"] = "warning";
23260
+ LogSeverity3["Info"] = "info";
23261
+ })(LogSeverity2 = exports2.LogSeverity || (exports2.LogSeverity = {}));
23262
+ exports2.LogSeverityLabel = {
23263
+ ["error"]: "Error",
23264
+ ["warning"]: "Warning",
23265
+ ["info"]: "Information"
23266
+ };
23267
+ var TemplateType2;
23268
+ (function(TemplateType3) {
23269
+ TemplateType3["ListReportObjectPageV2"] = "ListReportObjectPageV2";
23270
+ TemplateType3["ListReportObjectPageV4"] = "ListReportObjectPageV4";
23271
+ TemplateType3["OverviewPageV2"] = "OverviewPageV2";
23272
+ TemplateType3["AnalyticalListPageV2"] = "AnalyticalListPageV2";
23273
+ TemplateType3["AnalyticalListPageV4"] = "AnalyticalListPageV4";
23274
+ TemplateType3["FreestylePageV4"] = "FreestylePageV4";
23275
+ })(TemplateType2 = exports2.TemplateType || (exports2.TemplateType = {}));
23276
+ var CustomExtensionType2;
23277
+ (function(CustomExtensionType3) {
23278
+ CustomExtensionType3["CustomPage"] = "CustomPage";
23279
+ CustomExtensionType3["CustomColumn"] = "CustomColumn";
23280
+ CustomExtensionType3["CustomSection"] = "CustomSection";
23281
+ CustomExtensionType3["ObjectPage"] = "ObjectPage";
23282
+ CustomExtensionType3["CustomAction"] = "CustomAction";
23283
+ CustomExtensionType3["CustomView"] = "CustomView";
23284
+ CustomExtensionType3["ControllerExtension"] = "ControllerExtension";
23285
+ })(CustomExtensionType2 = exports2.CustomExtensionType || (exports2.CustomExtensionType = {}));
23286
+ var Features2;
23287
+ (function(Features3) {
23288
+ Features3["BuildingBlocks"] = "BuildingBlocks";
23289
+ })(Features2 = exports2.Features || (exports2.Features = {}));
23290
+ }
23291
+ });
23292
+
23293
+ // ../../node_modules/@sap/ux-specification-types/dist/v2.js
23294
+ var require_v2 = __commonJS({
23295
+ "../../node_modules/@sap/ux-specification-types/dist/v2.js"(exports2, module2) {
23296
+ var p = Object.defineProperty;
23297
+ var h = Object.getOwnPropertyDescriptor;
23298
+ var F = Object.getOwnPropertyNames;
23299
+ var j = Object.prototype.hasOwnProperty;
23300
+ var W = (s) => p(s, "__esModule", { value: true });
23301
+ var w = (s, n) => {
23302
+ for (var a in n)
23303
+ p(s, a, { get: n[a], enumerable: true });
23304
+ };
23305
+ var M = (s, n, a, i) => {
23306
+ if (n && typeof n == "object" || typeof n == "function")
23307
+ for (let r of F(n))
23308
+ !j.call(s, r) && (a || r !== "default") && p(s, r, { get: () => n[r], enumerable: !(i = h(n, r)) || i.enumerable });
23309
+ return s;
23310
+ };
23311
+ 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);
23312
+ var Z = {};
23313
+ 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: () => q, SectionPosition: () => I, SortOrderType: () => E, Strategy: () => L, TableColumnExtensionTypeV2: () => O, TableTypeV2: () => C, cardTemplateTypeMap: () => Q, customColumnViewTypes: () => f });
23314
+ var b = ((i) => (i.cardBubble = "cardBubble", i.cardchartsline = "cardchartsline", i.cardchartsdonut = "cardchartsdonut", i))(b || {});
23315
+ 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 || {});
23316
+ 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" };
23317
+ 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 || {});
23318
+ var g = ((S) => (S.average = "average", S.max = "max", S.min = "min", S.sum = "sum", S.count = "$count", S))(g || {});
23319
+ var T = ((i) => (i.standard = "standard", i.bar = "bar", i.carousel = "carousel", i))(T || {});
23320
+ var x = ((a) => (a.extended = "extended", a.condensed = "condensed", a))(x || {});
23321
+ var E = ((a) => (a.ascending = "ascending", a.descending = "descending", a))(E || {});
23322
+ var A = ((a) => (a.standard = "standard", a.carousel = "carousel", a))(A || {});
23323
+ 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 || {});
23324
+ 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 || {});
23325
+ var f = ((n) => (n.XML = "XML", n))(f || {});
23326
+ var C = ((r) => (r.ResponsiveTable = "ResponsiveTable", r.GridTable = "GridTable", r.AnalyticalTable = "AnalyticalTable", r.TreeTable = "TreeTable", r))(C || {});
23327
+ var O = ((r) => (r.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", r.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", r.TreeTableColumnsExtension = "TreeTableColumnsExtension", r.GridTableColumnsExtension = "GridTableColumnsExtension", r))(O || {});
23328
+ var L = ((n) => (n.extension = "extension", n))(L || {});
23329
+ var R = ((n) => (n.GENERICPROPERTY = "GENERICPROPERTY", n))(R || {});
23330
+ var y = ((i) => (i.charttable = "charttable", i.chart = "chart", i.table = "table", i))(y || {});
23331
+ var v = ((a) => (a.visual = "visual", a.compact = "compact", a))(v || {});
23332
+ var U = ((i) => (i.always = "always", i.never = "never", i.ifAnyFilterExist = "ifAnyFilterExist", i))(U || {});
23333
+ 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 || {});
23334
+ var I = ((i) => (i.AfterFacet = "AfterFacet", i.BeforeFacet = "BeforeFacet", i.ReplaceFacet = "ReplaceFacet", i))(I || {});
23335
+ var _45 = ((n) => (n.XML = "XML", n))(_45 || {});
23336
+ var N = ((n) => (n.inline = "inline", n))(N || {});
23337
+ var X = "sap.suite.ui.generic.template";
23338
+ var K = "sap.suite.ui.generic.template.ObjectPage";
23339
+ var G = "sap.suite.ui.generic.template.ListReport";
23340
+ var H = "sap.suite.ui.generic.template.AnalyticalListPage";
23341
+ var Y = "sap.ui.viewExtensions";
23342
+ var z = "sap.ui.controllerExtensions";
23343
+ var q = "sap.suite.ui.generic.template.ObjectPage.view.Details";
23344
+ var J = "sap.suite.ui.generic.template.ListReport.view.ListReport";
23345
+ var $ = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
23346
+ var k = ((a) => (a.fixed = "fixed", a.resizable = "resizable", a))(k || {});
23347
+ module2.exports = B(Z);
23348
+ }
23349
+ });
23350
+
23351
+ // ../../node_modules/@sap/ux-specification-types/dist/v4.js
23352
+ var require_v4 = __commonJS({
23353
+ "../../node_modules/@sap/ux-specification-types/dist/v4.js"(exports2, module2) {
23354
+ var a = Object.defineProperty;
23355
+ var U = Object.getOwnPropertyDescriptor;
23356
+ var E = Object.getOwnPropertyNames;
23357
+ var w = Object.prototype.hasOwnProperty;
23358
+ var O = (i) => a(i, "__esModule", { value: true });
23359
+ var h = (i, o) => {
23360
+ for (var e in o)
23361
+ a(i, e, { get: o[e], enumerable: true });
23362
+ };
23363
+ var R = (i, o, e, t) => {
23364
+ if (o && typeof o == "object" || typeof o == "function")
23365
+ for (let n of E(o))
23366
+ !w.call(i, n) && (e || n !== "default") && a(i, n, { get: () => o[n], enumerable: !(t = U(o, n)) || t.enumerable });
23367
+ return i;
23368
+ };
23369
+ 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);
23370
+ var D = {};
23371
+ 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 });
23372
+ var r = ((e) => (e.After = "After", e.Before = "Before", e))(r || {});
23373
+ var s = ((n) => (n.Multi = "Multi", n.None = "None", n.Single = "Single", n.Auto = "Auto", n))(s || {});
23374
+ var p = ((t) => (t.ResponsiveTable = "ResponsiveTable", t.GridTable = "GridTable", t.AnalyticalTable = "AnalyticalTable", t))(p || {});
23375
+ var c = ((t) => (t.NewPage = "NewPage", t.Inline = "Inline", t.CreationRow = "CreationRow", t))(c || {});
23376
+ var l = ((t) => (t.Disabled = "Disabled", t.Enabled = "Enabled", t.Auto = "Auto", t))(l || {});
23377
+ var g = ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Both = "both", t))(g || {});
23378
+ var m = ((e) => (e.Compact = "Compact", e.CompactVisual = "CompactVisual", e))(m || {});
23379
+ var x = ((e) => (e.Compact = "Compact", e.Visual = "Visual", e))(x || {});
23380
+ var u = ((e) => (e.single = "single", e.multi = "multi", e))(u || {});
23381
+ var f = ((i) => (i["not-adaptable-visibility"] = "not-adaptable-visibility", i))(f || {});
23382
+ var b = ((e) => (e.Tabs = "Tabs", e.Page = "Page", e))(b || {});
23383
+ var S = ((e) => (e.After = "After", e.Before = "Before", e))(S || {});
23384
+ var C = ((o) => (o.XML = "XML", o))(C || {});
23385
+ var F = "sap.fe.templates";
23386
+ var _45 = "sap.fe.core.fpm";
23387
+ var L = "sap.fe.templates.ObjectPage";
23388
+ var B = "sap.fe.templates.ListReport";
23389
+ var v = "sap.fe.templates.AnalyticalListPage";
23390
+ var N = "XMLFragment";
23391
+ var P = ((e) => (e.AfterFacet = "AfterFacet", e.BeforeFacet = "BeforeFacet", e))(P || {});
23392
+ var M = "sap.f.routing.Router";
23393
+ var I = "sap.f";
23394
+ var k = "sap.ui.controllerExtensions";
23395
+ var G = "sap.fe.templates.ObjectPage.ObjectPageController";
23396
+ var H = "sap.fe.templates.ListReport.ListReportController";
23397
+ var T = ((e) => (e.After = "After", e.Before = "Before", e))(T || {});
23398
+ var d = ((t) => (t.Default = "Default", t.Adaptation = "Adaptation", t.Hidden = "Hidden", t))(d || {});
23399
+ var A = ((t) => (t.Begin = "Begin", t.Center = "Center", t.End = "End", t))(A || {});
23400
+ var V = ((e) => (e.None = "None", e.Control = "Control", e))(V || {});
23401
+ var y = ((t) => (t.None = "None", t.Control = "Control", t.Page = "Page", t))(y || {});
23402
+ module2.exports = j(D);
23403
+ }
23404
+ });
23405
+
23406
+ // ../../node_modules/@sap/ux-specification-types/dist/index.js
23407
+ var require_dist3 = __commonJS({
23408
+ "../../node_modules/@sap/ux-specification-types/dist/index.js"(exports2) {
23409
+ "use strict";
23410
+ var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23411
+ if (k2 === void 0)
23412
+ k2 = k;
23413
+ Object.defineProperty(o, k2, { enumerable: true, get: function() {
23414
+ return m[k];
23415
+ } });
23416
+ } : function(o, m, k, k2) {
23417
+ if (k2 === void 0)
23418
+ k2 = k;
23419
+ o[k2] = m[k];
23420
+ });
23421
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
23422
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23423
+ } : function(o, v) {
23424
+ o["default"] = v;
23425
+ });
23426
+ var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
23427
+ for (var p in m)
23428
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
23429
+ __createBinding(exports3, m, p);
23430
+ };
23431
+ var __importStar = exports2 && exports2.__importStar || function(mod) {
23432
+ if (mod && mod.__esModule)
23433
+ return mod;
23434
+ var result2 = {};
23435
+ if (mod != null) {
23436
+ for (var k in mod)
23437
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
23438
+ __createBinding(result2, mod, k);
23439
+ }
23440
+ __setModuleDefault(result2, mod);
23441
+ return result2;
23442
+ };
23443
+ Object.defineProperty(exports2, "__esModule", { value: true });
23444
+ exports2.v4 = exports2.v2 = void 0;
23445
+ __exportStar(require_common2(), exports2);
23446
+ __exportStar(require_apiTypes(), exports2);
23447
+ exports2.v2 = __importStar(require_v2());
23448
+ exports2.v4 = __importStar(require_v4());
23449
+ }
23450
+ });
23451
+
23075
23452
  // ../lib/sapux-spec/dist/pages/page.js
23076
23453
  var require_page = __commonJS({
23077
23454
  "../lib/sapux-spec/dist/pages/page.js"(exports2) {
23078
23455
  "use strict";
23079
23456
  Object.defineProperty(exports2, "__esModule", { value: true });
23080
23457
  exports2.PageType = void 0;
23081
- var PageType2;
23082
- (function(PageType3) {
23083
- PageType3["ObjectPage"] = "ObjectPage";
23084
- PageType3["ListReport"] = "ListReport";
23085
- PageType3["OverviewPage"] = "OverviewPage";
23086
- PageType3["CustomPage"] = "CustomPage";
23087
- PageType3["FPMCustomPage"] = "FPMCustomPage";
23088
- PageType3["AnalyticalListPage"] = "AnalyticalListPage";
23089
- })(PageType2 = exports2.PageType || (exports2.PageType = {}));
23458
+ var ux_specification_types_1 = require_dist3();
23459
+ exports2.PageType = { ...ux_specification_types_1.PageTypeV2, ...ux_specification_types_1.PageTypeV4 };
23090
23460
  }
23091
23461
  });
23092
23462
 
@@ -23097,9 +23467,13 @@ var require_pages = __commonJS({
23097
23467
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23098
23468
  if (k2 === void 0)
23099
23469
  k2 = k;
23100
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23101
- return m[k];
23102
- } });
23470
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23471
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23472
+ desc = { enumerable: true, get: function() {
23473
+ return m[k];
23474
+ } };
23475
+ }
23476
+ Object.defineProperty(o, k2, desc);
23103
23477
  } : function(o, m, k, k2) {
23104
23478
  if (k2 === void 0)
23105
23479
  k2 = k;
@@ -23191,9 +23565,13 @@ var require_manifest = __commonJS({
23191
23565
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23192
23566
  if (k2 === void 0)
23193
23567
  k2 = k;
23194
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23195
- return m[k];
23196
- } });
23568
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23569
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23570
+ desc = { enumerable: true, get: function() {
23571
+ return m[k];
23572
+ } };
23573
+ }
23574
+ Object.defineProperty(o, k2, desc);
23197
23575
  } : function(o, m, k, k2) {
23198
23576
  if (k2 === void 0)
23199
23577
  k2 = k;
@@ -23232,9 +23610,13 @@ var require_webapp = __commonJS({
23232
23610
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23233
23611
  if (k2 === void 0)
23234
23612
  k2 = k;
23235
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23236
- return m[k];
23237
- } });
23613
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23614
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23615
+ desc = { enumerable: true, get: function() {
23616
+ return m[k];
23617
+ } };
23618
+ }
23619
+ Object.defineProperty(o, k2, desc);
23238
23620
  } : function(o, m, k, k2) {
23239
23621
  if (k2 === void 0)
23240
23622
  k2 = k;
@@ -23308,7 +23690,7 @@ var require_constants = __commonJS({
23308
23690
  FioriToolsSettings2["migrationSettingsFile"] = "migrationSettings.json";
23309
23691
  })(FioriToolsSettings = exports2.FioriToolsSettings || (exports2.FioriToolsSettings = {}));
23310
23692
  var getFioriToolsDirectory = () => {
23311
- return path_1.join(os_1.homedir(), FioriToolsSettings.dir);
23693
+ return (0, path_1.join)((0, os_1.homedir)(), FioriToolsSettings.dir);
23312
23694
  };
23313
23695
  exports2.getFioriToolsDirectory = getFioriToolsDirectory;
23314
23696
  var SchemeName;
@@ -23345,7 +23727,7 @@ var require_project = __commonJS({
23345
23727
  })(ProjectType = exports2.ProjectType || (exports2.ProjectType = {}));
23346
23728
  var DetailedProjectType;
23347
23729
  (function(DetailedProjectType2) {
23348
- DetailedProjectType2["Edxm"] = "EDMX Backend";
23730
+ DetailedProjectType2["Edmx"] = "EDMX Backend";
23349
23731
  DetailedProjectType2["CAPNode"] = "CAP Node.js";
23350
23732
  DetailedProjectType2["CAPJava"] = "CAP Java";
23351
23733
  })(DetailedProjectType = exports2.DetailedProjectType || (exports2.DetailedProjectType = {}));
@@ -23353,15 +23735,19 @@ var require_project = __commonJS({
23353
23735
  });
23354
23736
 
23355
23737
  // ../lib/sapux-spec/dist/index.js
23356
- var require_dist3 = __commonJS({
23738
+ var require_dist4 = __commonJS({
23357
23739
  "../lib/sapux-spec/dist/index.js"(exports2) {
23358
23740
  "use strict";
23359
23741
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23360
23742
  if (k2 === void 0)
23361
23743
  k2 = k;
23362
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23363
- return m[k];
23364
- } });
23744
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23745
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
23746
+ desc = { enumerable: true, get: function() {
23747
+ return m[k];
23748
+ } };
23749
+ }
23750
+ Object.defineProperty(o, k2, desc);
23365
23751
  } : function(o, m, k, k2) {
23366
23752
  if (k2 === void 0)
23367
23753
  k2 = k;
@@ -23388,350 +23774,6 @@ var require_dist3 = __commonJS({
23388
23774
  }
23389
23775
  });
23390
23776
 
23391
- // ../../node_modules/@sap/ux-specification-types/dist/common.js
23392
- var require_common2 = __commonJS({
23393
- "../../node_modules/@sap/ux-specification-types/dist/common.js"(exports2, module2) {
23394
- var P = Object.defineProperty;
23395
- var Ge = Object.getOwnPropertyDescriptor;
23396
- var He = Object.getOwnPropertyNames;
23397
- var We = Object.prototype.hasOwnProperty;
23398
- var Xe = (S) => P(S, "__esModule", { value: true });
23399
- var d = (S, i) => {
23400
- for (var o in i)
23401
- P(S, o, { get: i[o], enumerable: true });
23402
- };
23403
- var Qe = (S, i, o, t) => {
23404
- if (i && typeof i == "object" || typeof i == "function")
23405
- for (let s of He(i))
23406
- !We.call(S, s) && (o || s !== "default") && P(S, s, { get: () => i[s], enumerable: !(t = Ge(i, s)) || t.enumerable });
23407
- return S;
23408
- };
23409
- 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);
23410
- var Ut = {};
23411
- 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: () => gt, SAPUI5_VIEW_CLASS: () => lt, 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: () => q, Visualization: () => I, v2: () => A, v4: () => T });
23412
- var C = ((n) => (n.ObjectPage = "ObjectPage", n.ListReport = "ListReport", n.OverviewPage = "OverviewPage", n.CustomPage = "CustomPage", n.AnalyticalListPage = "AnalyticalListPage", n))(C || {});
23413
- var f = ((n) => (n.ObjectPage = "ObjectPage", n.ListReport = "ListReport", n.CustomPage = "CustomPage", n.FPMCustomPage = "FPMCustomPage", n.AnalyticalListPage = "AnalyticalListPage", n))(f || {});
23414
- 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"]]);
23415
- var E = ((o) => (o.v2 = "v2", o.v4 = "v4", o))(E || {});
23416
- var y = ((o) => (o.v2 = "v2", o.v4 = "v4", o))(y || {});
23417
- 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 || {});
23418
- var O = ((o) => (o.Vendor = "VENDOR", o.Customer = "CUSTOMER_BASE", o))(O || {});
23419
- 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 || {});
23420
- var j = ((o) => (o.flex = "flex", o.manifest = "manifest", o))(j || {});
23421
- var h = ((o) => (o.Primary = "primary", o.Secondary = "secondary", o))(h || {});
23422
- var R = ((t) => (t.Section = "Section", t.SubSection = "SubSection", t.HeaderSection = "HeaderSection", t))(R || {});
23423
- var F = ((n) => (n.Manifest = "Manifest", n.FlexChange = "FlexChange", n.Annotation = "Annotation", n.Fragment = "Fragment", n.View = "View", n))(F || {});
23424
- 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 || {});
23425
- var I = ((o) => (o.LineItem = "LineItem", o.Chart = "Chart", o))(I || {});
23426
- 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 || {});
23427
- var w = ((i) => (i.App = "app.json", i))(w || {});
23428
- var Ne = "Facet ID: ";
23429
- var ze = "Action ID: ";
23430
- 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 || {});
23431
- var qe = "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$";
23432
- var _45 = ((n) => (n.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", n.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", n.TreeTableColumnsExtension = "TreeTableColumnsExtension", n.GridTableColumnsExtension = "GridTableColumnsExtension", n.ResponsiveTableCellsExtension = "ResponsiveTableCellsExtension", n))(_45 || {});
23433
- 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 || {});
23434
- 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 || {});
23435
- 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 || {});
23436
- var H = ((n) => (n.id = "ID", n.value = "Value", n.action = "Action", n.target = "Target", n.key = "Key", n))(H || {});
23437
- var Je = "webapp/localService/metadata.xml";
23438
- var $e = "webapp/manifest.json";
23439
- var De = "/@com.sap.vocabularies";
23440
- var Ze = "::@com.sap.vocabularies";
23441
- var et = "com.sap.vocabularies.UI.v1";
23442
- var tt = "com.sap.vocabularies.UI.v1.";
23443
- var ot = "@com.sap.vocabularies.UI.v1.";
23444
- var at = "/quickVariantSelection";
23445
- var nt = "/quickVariantSelectionX";
23446
- var it = "/filterSettings/dateSettings";
23447
- var rt = ".fragment.";
23448
- var W = ((s) => (s.Control = "Control", s.Property = "Property", s.Aggregation = "Aggregation", s.Event = "Event", s))(W || {});
23449
- var X = ((i) => (i.restricted = "restricted", i))(X || {});
23450
- var Q = ((t) => (t.Top = "Top", t.Middle = "Middle", t.Bottom = "Bottom", t))(Q || {});
23451
- var K = ((o) => (o.persistence = "persistence", o.discovery = "discovery", o))(K || {});
23452
- var Y = ((t) => (t.BeginColumnPages = "beginColumnPages", t.MidColumnPages = "midColumnPages", t.EndColumnPages = "endColumnPages", t))(Y || {});
23453
- var N = ((o) => (o.OData = "OData", o.ODataAnnotation = "ODataAnnotation", o))(N || {});
23454
- 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 || {});
23455
- var st = `${"sap.ui.generic.app"}/settings`;
23456
- var pt = "sap.fe.templates.RootContainer.view.Fcl";
23457
- var ct = "appRootView";
23458
- var q = ((t) => (t.XML = "XML", t.HTML = "HTML", t.JSON = "JSON", t))(q || {});
23459
- var lt = "sap.ui.core.mvc.View";
23460
- var gt = "sap.ui.core.Fragment";
23461
- var J = ((t) => (t.Error = "error", t.Warning = "warning", t.Info = "info", t))(J || {});
23462
- var mt = { ["error"]: "Error", ["warning"]: "Warning", ["info"]: "Information" };
23463
- var $ = ((u) => (u.ListReportObjectPageV2 = "ListReportObjectPageV2", u.ListReportObjectPageV4 = "ListReportObjectPageV4", u.OverviewPageV2 = "OverviewPageV2", u.AnalyticalListPageV2 = "AnalyticalListPageV2", u.AnalyticalListPageV4 = "AnalyticalListPageV4", u.FreestylePageV4 = "FreestylePageV4", u))($ || {});
23464
- 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 || {});
23465
- var Z = ((i) => (i.BuildingBlocks = "BuildingBlocks", i))(Z || {});
23466
- var A = {};
23467
- 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 });
23468
- var ee = ((t) => (t.cardBubble = "cardBubble", t.cardchartsline = "cardchartsline", t.cardchartsdonut = "cardchartsdonut", t))(ee || {});
23469
- 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 || {});
23470
- 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" };
23471
- 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 || {});
23472
- var ae = ((n) => (n.average = "average", n.max = "max", n.min = "min", n.sum = "sum", n.count = "$count", n))(ae || {});
23473
- var ne = ((t) => (t.standard = "standard", t.bar = "bar", t.carousel = "carousel", t))(ne || {});
23474
- var ie = ((o) => (o.extended = "extended", o.condensed = "condensed", o))(ie || {});
23475
- var re = ((o) => (o.ascending = "ascending", o.descending = "descending", o))(re || {});
23476
- var se = ((o) => (o.standard = "standard", o.carousel = "carousel", o))(se || {});
23477
- 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 || {});
23478
- 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 || {});
23479
- var le = ((i) => (i.XML = "XML", i))(le || {});
23480
- var ge = ((s) => (s.ResponsiveTable = "ResponsiveTable", s.GridTable = "GridTable", s.AnalyticalTable = "AnalyticalTable", s.TreeTable = "TreeTable", s))(ge || {});
23481
- var me = ((s) => (s.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", s.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", s.TreeTableColumnsExtension = "TreeTableColumnsExtension", s.GridTableColumnsExtension = "GridTableColumnsExtension", s))(me || {});
23482
- var be = ((i) => (i.extension = "extension", i))(be || {});
23483
- var Se = ((i) => (i.GENERICPROPERTY = "GENERICPROPERTY", i))(Se || {});
23484
- var xe = ((t) => (t.charttable = "charttable", t.chart = "chart", t.table = "table", t))(xe || {});
23485
- var ue = ((o) => (o.visual = "visual", o.compact = "compact", o))(ue || {});
23486
- var Pe = ((t) => (t.always = "always", t.never = "never", t.ifAnyFilterExist = "ifAnyFilterExist", t))(Pe || {});
23487
- 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 || {});
23488
- var Ae = ((t) => (t.AfterFacet = "AfterFacet", t.BeforeFacet = "BeforeFacet", t.ReplaceFacet = "ReplaceFacet", t))(Ae || {});
23489
- var Te = ((i) => (i.XML = "XML", i))(Te || {});
23490
- var Ce = ((i) => (i.inline = "inline", i))(Ce || {});
23491
- var St = "sap.suite.ui.generic.template";
23492
- var xt = "sap.suite.ui.generic.template.ObjectPage";
23493
- var ut = "sap.suite.ui.generic.template.ListReport";
23494
- var Pt = "sap.suite.ui.generic.template.AnalyticalListPage";
23495
- var dt = "sap.ui.viewExtensions";
23496
- var At = "sap.ui.controllerExtensions";
23497
- var Tt = "sap.suite.ui.generic.template.ObjectPage.view.Details";
23498
- var Ct = "sap.suite.ui.generic.template.ListReport.view.ListReport";
23499
- var ft = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
23500
- var fe = ((o) => (o.fixed = "fixed", o.resizable = "resizable", o))(fe || {});
23501
- var T = {};
23502
- 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 });
23503
- var Ee = ((o) => (o.After = "After", o.Before = "Before", o))(Ee || {});
23504
- var ye = ((s) => (s.Multi = "Multi", s.None = "None", s.Single = "Single", s.Auto = "Auto", s))(ye || {});
23505
- var Ve = ((t) => (t.ResponsiveTable = "ResponsiveTable", t.GridTable = "GridTable", t.AnalyticalTable = "AnalyticalTable", t))(Ve || {});
23506
- var Oe = ((t) => (t.NewPage = "NewPage", t.Inline = "Inline", t.CreationRow = "CreationRow", t))(Oe || {});
23507
- var Le = ((t) => (t.Disabled = "Disabled", t.Enabled = "Enabled", t.Auto = "Auto", t))(Le || {});
23508
- var je = ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Both = "both", t))(je || {});
23509
- var he = ((o) => (o.single = "single", o.multi = "multi", o))(he || {});
23510
- var Re = ((S) => (S["not-adaptable-visibility"] = "not-adaptable-visibility", S))(Re || {});
23511
- var Fe = ((o) => (o.Tabs = "Tabs", o.Page = "Page", o))(Fe || {});
23512
- var ve = ((o) => (o.After = "After", o.Before = "Before", o))(ve || {});
23513
- var Ie = ((i) => (i.XML = "XML", i))(Ie || {});
23514
- var Et = "sap.fe.templates";
23515
- var yt = "sap.fe.core.fpm";
23516
- var Vt = "sap.fe.templates.ObjectPage";
23517
- var Ot = "sap.fe.templates.ListReport";
23518
- var Lt = "sap.fe.templates.AnalyticalListPage";
23519
- var jt = "XMLFragment";
23520
- var Ue = ((o) => (o.AfterFacet = "AfterFacet", o.BeforeFacet = "BeforeFacet", o))(Ue || {});
23521
- var ht = "sap.f.routing.Router";
23522
- var Rt = "sap.f";
23523
- var Ft = "sap.ui.controllerExtensions";
23524
- var vt = "sap.fe.templates.ObjectPage.ObjectPageController";
23525
- var It = "sap.fe.templates.ListReport.ListReportController";
23526
- var we = ((o) => (o.After = "After", o.Before = "Before", o))(we || {});
23527
- var Me = ((t) => (t.Default = "Default", t.Adaptation = "Adaptation", t.Hidden = "Hidden", t))(Me || {});
23528
- var _e = ((t) => (t.Begin = "Begin", t.Center = "Center", t.End = "End", t))(_e || {});
23529
- var ke = ((o) => (o.None = "None", o.Control = "Control", o))(ke || {});
23530
- var Be = ((t) => (t.None = "None", t.Control = "Control", t.Page = "Page", t))(Be || {});
23531
- module2.exports = Ke(Ut);
23532
- }
23533
- });
23534
-
23535
- // ../../node_modules/@sap/ux-specification-types/dist/apiTypes.js
23536
- var require_apiTypes = __commonJS({
23537
- "../../node_modules/@sap/ux-specification-types/dist/apiTypes.js"(exports2) {
23538
- "use strict";
23539
- Object.defineProperty(exports2, "__esModule", { value: true });
23540
- exports2.Features = exports2.CustomExtensionType = exports2.TemplateType = exports2.LogSeverityLabel = exports2.LogSeverity = void 0;
23541
- var LogSeverity2;
23542
- (function(LogSeverity3) {
23543
- LogSeverity3["Error"] = "error";
23544
- LogSeverity3["Warning"] = "warning";
23545
- LogSeverity3["Info"] = "info";
23546
- })(LogSeverity2 = exports2.LogSeverity || (exports2.LogSeverity = {}));
23547
- exports2.LogSeverityLabel = {
23548
- ["error"]: "Error",
23549
- ["warning"]: "Warning",
23550
- ["info"]: "Information"
23551
- };
23552
- var TemplateType2;
23553
- (function(TemplateType3) {
23554
- TemplateType3["ListReportObjectPageV2"] = "ListReportObjectPageV2";
23555
- TemplateType3["ListReportObjectPageV4"] = "ListReportObjectPageV4";
23556
- TemplateType3["OverviewPageV2"] = "OverviewPageV2";
23557
- TemplateType3["AnalyticalListPageV2"] = "AnalyticalListPageV2";
23558
- TemplateType3["AnalyticalListPageV4"] = "AnalyticalListPageV4";
23559
- TemplateType3["FreestylePageV4"] = "FreestylePageV4";
23560
- })(TemplateType2 = exports2.TemplateType || (exports2.TemplateType = {}));
23561
- var CustomExtensionType2;
23562
- (function(CustomExtensionType3) {
23563
- CustomExtensionType3["CustomPage"] = "CustomPage";
23564
- CustomExtensionType3["CustomColumn"] = "CustomColumn";
23565
- CustomExtensionType3["CustomSection"] = "CustomSection";
23566
- CustomExtensionType3["ObjectPage"] = "ObjectPage";
23567
- CustomExtensionType3["CustomAction"] = "CustomAction";
23568
- CustomExtensionType3["CustomView"] = "CustomView";
23569
- CustomExtensionType3["ControllerExtension"] = "ControllerExtension";
23570
- })(CustomExtensionType2 = exports2.CustomExtensionType || (exports2.CustomExtensionType = {}));
23571
- var Features2;
23572
- (function(Features3) {
23573
- Features3["BuildingBlocks"] = "BuildingBlocks";
23574
- })(Features2 = exports2.Features || (exports2.Features = {}));
23575
- }
23576
- });
23577
-
23578
- // ../../node_modules/@sap/ux-specification-types/dist/v2.js
23579
- var require_v2 = __commonJS({
23580
- "../../node_modules/@sap/ux-specification-types/dist/v2.js"(exports2, module2) {
23581
- var S = Object.defineProperty;
23582
- var N = Object.getOwnPropertyDescriptor;
23583
- var F = Object.getOwnPropertyNames;
23584
- var j = Object.prototype.hasOwnProperty;
23585
- var W = (s) => S(s, "__esModule", { value: true });
23586
- var w = (s, n) => {
23587
- for (var a in n)
23588
- S(s, a, { get: n[a], enumerable: true });
23589
- };
23590
- var M = (s, n, a, i) => {
23591
- if (n && typeof n == "object" || typeof n == "function")
23592
- for (let r of F(n))
23593
- !j.call(s, r) && (a || r !== "default") && S(s, r, { get: () => n[r], enumerable: !(i = N(n, r)) || i.enumerable });
23594
- return s;
23595
- };
23596
- 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);
23597
- var $ = {};
23598
- 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: () => q, SectionPosition: () => V, SortOrderType: () => E, Strategy: () => L, TableColumnExtensionTypeV2: () => O, TableTypeV2: () => C, cardTemplateTypeMap: () => B, customColumnViewTypes: () => f });
23599
- var b = ((i) => (i.cardBubble = "cardBubble", i.cardchartsline = "cardchartsline", i.cardchartsdonut = "cardchartsdonut", i))(b || {});
23600
- 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 || {});
23601
- 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" };
23602
- 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 || {});
23603
- var g = ((p) => (p.average = "average", p.max = "max", p.min = "min", p.sum = "sum", p.count = "$count", p))(g || {});
23604
- var T = ((i) => (i.standard = "standard", i.bar = "bar", i.carousel = "carousel", i))(T || {});
23605
- var x = ((a) => (a.extended = "extended", a.condensed = "condensed", a))(x || {});
23606
- var E = ((a) => (a.ascending = "ascending", a.descending = "descending", a))(E || {});
23607
- var A = ((a) => (a.standard = "standard", a.carousel = "carousel", a))(A || {});
23608
- 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 || {});
23609
- 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 || {});
23610
- var f = ((n) => (n.XML = "XML", n))(f || {});
23611
- var C = ((r) => (r.ResponsiveTable = "ResponsiveTable", r.GridTable = "GridTable", r.AnalyticalTable = "AnalyticalTable", r.TreeTable = "TreeTable", r))(C || {});
23612
- var O = ((r) => (r.ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension", r.AnalyticalTableColumnsExtension = "AnalyticalTableColumnsExtension", r.TreeTableColumnsExtension = "TreeTableColumnsExtension", r.GridTableColumnsExtension = "GridTableColumnsExtension", r))(O || {});
23613
- var L = ((n) => (n.extension = "extension", n))(L || {});
23614
- var R = ((n) => (n.GENERICPROPERTY = "GENERICPROPERTY", n))(R || {});
23615
- var y = ((i) => (i.charttable = "charttable", i.chart = "chart", i.table = "table", i))(y || {});
23616
- var v = ((a) => (a.visual = "visual", a.compact = "compact", a))(v || {});
23617
- var U = ((i) => (i.always = "always", i.never = "never", i.ifAnyFilterExist = "ifAnyFilterExist", i))(U || {});
23618
- 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 || {});
23619
- var V = ((i) => (i.AfterFacet = "AfterFacet", i.BeforeFacet = "BeforeFacet", i.ReplaceFacet = "ReplaceFacet", i))(V || {});
23620
- var I = ((n) => (n.XML = "XML", n))(I || {});
23621
- var _45 = ((n) => (n.inline = "inline", n))(_45 || {});
23622
- var Q = "sap.suite.ui.generic.template";
23623
- var X = "sap.suite.ui.generic.template.ObjectPage";
23624
- var G = "sap.suite.ui.generic.template.ListReport";
23625
- var H = "sap.suite.ui.generic.template.AnalyticalListPage";
23626
- var Y = "sap.ui.viewExtensions";
23627
- var z = "sap.ui.controllerExtensions";
23628
- var q = "sap.suite.ui.generic.template.ObjectPage.view.Details";
23629
- var J = "sap.suite.ui.generic.template.ListReport.view.ListReport";
23630
- var D = "sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage";
23631
- var k = ((a) => (a.fixed = "fixed", a.resizable = "resizable", a))(k || {});
23632
- module2.exports = K($);
23633
- }
23634
- });
23635
-
23636
- // ../../node_modules/@sap/ux-specification-types/dist/v4.js
23637
- var require_v4 = __commonJS({
23638
- "../../node_modules/@sap/ux-specification-types/dist/v4.js"(exports2, module2) {
23639
- var a = Object.defineProperty;
23640
- var V = Object.getOwnPropertyDescriptor;
23641
- var y = Object.getOwnPropertyNames;
23642
- var U = Object.prototype.hasOwnProperty;
23643
- var E = (n) => a(n, "__esModule", { value: true });
23644
- var w = (n, o) => {
23645
- for (var t in o)
23646
- a(n, t, { get: o[t], enumerable: true });
23647
- };
23648
- var O = (n, o, t, e) => {
23649
- if (o && typeof o == "object" || typeof o == "function")
23650
- for (let i of y(o))
23651
- !U.call(n, i) && (t || i !== "default") && a(n, i, { get: () => o[i], enumerable: !(e = V(o, i)) || e.enumerable });
23652
- return n;
23653
- };
23654
- 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);
23655
- var G = {};
23656
- 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 });
23657
- var r = ((t) => (t.After = "After", t.Before = "Before", t))(r || {});
23658
- var s = ((i) => (i.Multi = "Multi", i.None = "None", i.Single = "Single", i.Auto = "Auto", i))(s || {});
23659
- var p = ((e) => (e.ResponsiveTable = "ResponsiveTable", e.GridTable = "GridTable", e.AnalyticalTable = "AnalyticalTable", e))(p || {});
23660
- var c = ((e) => (e.NewPage = "NewPage", e.Inline = "Inline", e.CreationRow = "CreationRow", e))(c || {});
23661
- var l = ((e) => (e.Disabled = "Disabled", e.Enabled = "Enabled", e.Auto = "Auto", e))(l || {});
23662
- var g = ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Both = "both", e))(g || {});
23663
- var m = ((t) => (t.single = "single", t.multi = "multi", t))(m || {});
23664
- var x = ((n) => (n["not-adaptable-visibility"] = "not-adaptable-visibility", n))(x || {});
23665
- var f = ((t) => (t.Tabs = "Tabs", t.Page = "Page", t))(f || {});
23666
- var u = ((t) => (t.After = "After", t.Before = "Before", t))(u || {});
23667
- var b = ((o) => (o.XML = "XML", o))(b || {});
23668
- var h = "sap.fe.templates";
23669
- var j = "sap.fe.core.fpm";
23670
- var _45 = "sap.fe.templates.ObjectPage";
23671
- var L = "sap.fe.templates.ListReport";
23672
- var B = "sap.fe.templates.AnalyticalListPage";
23673
- var F = "XMLFragment";
23674
- var S = ((t) => (t.AfterFacet = "AfterFacet", t.BeforeFacet = "BeforeFacet", t))(S || {});
23675
- var N = "sap.f.routing.Router";
23676
- var I = "sap.f";
23677
- var M = "sap.ui.controllerExtensions";
23678
- var v = "sap.fe.templates.ObjectPage.ObjectPageController";
23679
- var k = "sap.fe.templates.ListReport.ListReportController";
23680
- var P = ((t) => (t.After = "After", t.Before = "Before", t))(P || {});
23681
- var C = ((e) => (e.Default = "Default", e.Adaptation = "Adaptation", e.Hidden = "Hidden", e))(C || {});
23682
- var T = ((e) => (e.Begin = "Begin", e.Center = "Center", e.End = "End", e))(T || {});
23683
- var A = ((t) => (t.None = "None", t.Control = "Control", t))(A || {});
23684
- var d = ((e) => (e.None = "None", e.Control = "Control", e.Page = "Page", e))(d || {});
23685
- module2.exports = R(G);
23686
- }
23687
- });
23688
-
23689
- // ../../node_modules/@sap/ux-specification-types/dist/index.js
23690
- var require_dist4 = __commonJS({
23691
- "../../node_modules/@sap/ux-specification-types/dist/index.js"(exports2) {
23692
- "use strict";
23693
- var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
23694
- if (k2 === void 0)
23695
- k2 = k;
23696
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
23697
- return m[k];
23698
- } });
23699
- } : function(o, m, k, k2) {
23700
- if (k2 === void 0)
23701
- k2 = k;
23702
- o[k2] = m[k];
23703
- });
23704
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
23705
- Object.defineProperty(o, "default", { enumerable: true, value: v });
23706
- } : function(o, v) {
23707
- o["default"] = v;
23708
- });
23709
- var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
23710
- for (var p in m)
23711
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
23712
- __createBinding(exports3, m, p);
23713
- };
23714
- var __importStar = exports2 && exports2.__importStar || function(mod) {
23715
- if (mod && mod.__esModule)
23716
- return mod;
23717
- var result2 = {};
23718
- if (mod != null) {
23719
- for (var k in mod)
23720
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
23721
- __createBinding(result2, mod, k);
23722
- }
23723
- __setModuleDefault(result2, mod);
23724
- return result2;
23725
- };
23726
- Object.defineProperty(exports2, "__esModule", { value: true });
23727
- exports2.v4 = exports2.v2 = void 0;
23728
- __exportStar(require_common2(), exports2);
23729
- __exportStar(require_apiTypes(), exports2);
23730
- exports2.v2 = __importStar(require_v2());
23731
- exports2.v4 = __importStar(require_v4());
23732
- }
23733
- });
23734
-
23735
23777
  // ../../node_modules/p-try/index.js
23736
23778
  var require_p_try = __commonJS({
23737
23779
  "../../node_modules/p-try/index.js"(exports2, module2) {
@@ -26717,9 +26759,13 @@ var require_file2 = __commonJS({
26717
26759
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
26718
26760
  if (k2 === void 0)
26719
26761
  k2 = k;
26720
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
26721
- return m[k];
26722
- } });
26762
+ var desc = Object.getOwnPropertyDescriptor(m, k);
26763
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
26764
+ desc = { enumerable: true, get: function() {
26765
+ return m[k];
26766
+ } };
26767
+ }
26768
+ Object.defineProperty(o, k2, desc);
26723
26769
  } : function(o, m, k, k2) {
26724
26770
  if (k2 === void 0)
26725
26771
  k2 = k;
@@ -26747,7 +26793,7 @@ var require_file2 = __commonJS({
26747
26793
  var fs2 = __importStar(require("fs"));
26748
26794
  var path_1 = require("path");
26749
26795
  var vscode_uri_1 = (init_esm(), __toCommonJS(esm_exports));
26750
- var project_spec_1 = require_dist3();
26796
+ var project_spec_1 = require_dist4();
26751
26797
  async function readFile2(path) {
26752
26798
  return new Promise((resolve, reject) => {
26753
26799
  fs2.readFile(path, { encoding: "utf8" }, (err, data2) => {
@@ -26844,7 +26890,7 @@ var require_file2 = __commonJS({
26844
26890
  if (await fileExists(path)) {
26845
26891
  const files = await readDirectory(path);
26846
26892
  for (const name of files) {
26847
- const fullPath = path_1.join(path, name);
26893
+ const fullPath = (0, path_1.join)(path, name);
26848
26894
  if (await isDirectory(fullPath)) {
26849
26895
  await deleteDirectory(fullPath);
26850
26896
  } else {
@@ -28745,10 +28791,10 @@ var require_capProject = __commonJS({
28745
28791
  var packageJsonFileName = "package.json";
28746
28792
  async function parsePackageJson(projectRoot) {
28747
28793
  let packageJson;
28748
- const packageJsonPath = path_1.join(projectRoot, packageJsonFileName);
28749
- if (await file_1.fileExists(packageJsonPath)) {
28794
+ const packageJsonPath = (0, path_1.join)(projectRoot, packageJsonFileName);
28795
+ if (await (0, file_1.fileExists)(packageJsonPath)) {
28750
28796
  try {
28751
- packageJson = JSON.parse(await file_1.readFile(packageJsonPath));
28797
+ packageJson = JSON.parse(await (0, file_1.readFile)(packageJsonPath));
28752
28798
  } catch (error3) {
28753
28799
  }
28754
28800
  }
@@ -28767,10 +28813,10 @@ var require_capProject = __commonJS({
28767
28813
  }
28768
28814
  exports2.isCapNodeJsProject = isCapNodeJsProject;
28769
28815
  async function isCapJavaProject(projectRoot) {
28770
- return file_1.fileExists(path_1.join(projectRoot, exports2.CAP_SERVICES_FOLDER, "src", "main", "resources", "application.yaml"));
28816
+ return (0, file_1.fileExists)((0, path_1.join)(projectRoot, exports2.CAP_SERVICES_FOLDER, "src", "main", "resources", "application.yaml"));
28771
28817
  }
28772
28818
  exports2.isCapJavaProject = isCapJavaProject;
28773
- var toAbsoluteUri = (project, relativeUri) => path_1.join(project.root, relativeUri);
28819
+ var toAbsoluteUri = (project, relativeUri) => (0, path_1.join)(project.root, relativeUri);
28774
28820
  exports2.toAbsoluteUri = toAbsoluteUri;
28775
28821
  var toReferenceUri = async (project, relativeUriFrom, relativeUriTo) => {
28776
28822
  let relativeUri = "";
@@ -28789,8 +28835,8 @@ var require_capProject = __commonJS({
28789
28835
  }
28790
28836
  }
28791
28837
  if (!relativeUri) {
28792
- const fromDir = path_1.dirname(exports2.toAbsoluteUri(project, relativeUriFrom));
28793
- relativeUri = path_1.relative(fromDir, exports2.toAbsoluteUri(project, relativeUriTo));
28838
+ const fromDir = (0, path_1.dirname)((0, exports2.toAbsoluteUri)(project, relativeUriFrom));
28839
+ relativeUri = (0, path_1.relative)(fromDir, (0, exports2.toAbsoluteUri)(project, relativeUriTo));
28794
28840
  if (!relativeUri.startsWith(".")) {
28795
28841
  relativeUri = "./" + relativeUri;
28796
28842
  }
@@ -28817,8 +28863,8 @@ var require_capProject = __commonJS({
28817
28863
  async function readPackageNameForFolder(baseUri, relativeUri) {
28818
28864
  let packageName = "";
28819
28865
  try {
28820
- const path = path_1.normalize(baseUri + "/" + relativeUri + "/package.json");
28821
- const content = await file_1.readFile(path);
28866
+ const path = (0, path_1.normalize)(baseUri + "/" + relativeUri + "/package.json");
28867
+ const content = await (0, file_1.readFile)(path);
28822
28868
  if (content) {
28823
28869
  const parsed = JSON.parse(content);
28824
28870
  packageName = parsed.name;
@@ -28838,9 +28884,13 @@ var require_webapp2 = __commonJS({
28838
28884
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
28839
28885
  if (k2 === void 0)
28840
28886
  k2 = k;
28841
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
28842
- return m[k];
28843
- } });
28887
+ var desc = Object.getOwnPropertyDescriptor(m, k);
28888
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
28889
+ desc = { enumerable: true, get: function() {
28890
+ return m[k];
28891
+ } };
28892
+ }
28893
+ Object.defineProperty(o, k2, desc);
28844
28894
  } : function(o, m, k, k2) {
28845
28895
  if (k2 === void 0)
28846
28896
  k2 = k;
@@ -28867,13 +28917,13 @@ var require_webapp2 = __commonJS({
28867
28917
  exports2.getUi5CustomWebappPath = void 0;
28868
28918
  var file_1 = require_file2();
28869
28919
  var path_1 = require("path");
28870
- var project_spec_1 = require_dist3();
28920
+ var project_spec_1 = require_dist4();
28871
28921
  var yaml = __importStar(require_Yaml());
28872
28922
  async function getUi5CustomWebappPath(root) {
28873
28923
  var _a2, _b, _c, _d, _e;
28874
28924
  let webappPath = project_spec_1.DirName.Webapp;
28875
28925
  try {
28876
- const yamlContent = await file_1.readFile(path_1.join(root, project_spec_1.FileName.Ui5Yaml));
28926
+ const yamlContent = await (0, file_1.readFile)((0, path_1.join)(root, project_spec_1.FileName.Ui5Yaml));
28877
28927
  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;
28878
28928
  } catch {
28879
28929
  webappPath = project_spec_1.DirName.Webapp;
@@ -28895,7 +28945,7 @@ var require_commandRunner = __commonJS({
28895
28945
  run(cmd, args = []) {
28896
28946
  return new Promise((resolve, reject) => {
28897
28947
  const stack = [];
28898
- const spawnedCmd = child_process_1.spawn(cmd, args, {});
28948
+ const spawnedCmd = (0, child_process_1.spawn)(cmd, args, {});
28899
28949
  spawnedCmd.stdout.setEncoding("utf8");
28900
28950
  let response;
28901
28951
  spawnedCmd.stdout.on("data", (data2) => {
@@ -36350,7 +36400,7 @@ var require_utils3 = __commonJS({
36350
36400
  var debug_1 = require_src3();
36351
36401
  exports2.STORE_NAMESPACE = "ft:store";
36352
36402
  exports2.MIGRATION_NAMESPACE = exports2.STORE_NAMESPACE + ":migrate";
36353
- var newDebugLogger = (namespace = exports2.STORE_NAMESPACE) => debug_1.debug(namespace);
36403
+ var newDebugLogger = (namespace = exports2.STORE_NAMESPACE) => (0, debug_1.debug)(namespace);
36354
36404
  exports2.newDebugLogger = newDebugLogger;
36355
36405
  var enableDebugLogger = (namespace) => debug_1.debug.enable(namespace);
36356
36406
  exports2.enableDebugLogger = enableDebugLogger;
@@ -36364,7 +36414,7 @@ var require_utils3 = __commonJS({
36364
36414
  function getExtendedLogger(l) {
36365
36415
  return {
36366
36416
  ...l,
36367
- debug: exports2.newDebugLogger()
36417
+ debug: (0, exports2.newDebugLogger)()
36368
36418
  };
36369
36419
  }
36370
36420
  exports2.getExtendedLogger = getExtendedLogger;
@@ -36707,9 +36757,13 @@ var require_filesystem = __commonJS({
36707
36757
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
36708
36758
  if (k2 === void 0)
36709
36759
  k2 = k;
36710
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
36711
- return m[k];
36712
- } });
36760
+ var desc = Object.getOwnPropertyDescriptor(m, k);
36761
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
36762
+ desc = { enumerable: true, get: function() {
36763
+ return m[k];
36764
+ } };
36765
+ }
36766
+ Object.defineProperty(o, k2, desc);
36713
36767
  } : function(o, m, k, k2) {
36714
36768
  if (k2 === void 0)
36715
36769
  k2 = k;
@@ -36844,7 +36898,7 @@ var require_filesystem = __commonJS({
36844
36898
  var _a2, _b;
36845
36899
  let rawContents;
36846
36900
  try {
36847
- rawContents = (_a2 = fs_1.readFileSync(path_1.join(exports2.basedir(), `${entityName}.json`))) == null ? void 0 : _a2.toString().trim();
36901
+ rawContents = (_a2 = (0, fs_1.readFileSync)((0, path_1.join)((0, exports2.basedir)(), `${entityName}.json`))) == null ? void 0 : _a2.toString().trim();
36848
36902
  } catch (e) {
36849
36903
  this.logger.debug(e.message);
36850
36904
  return { error: e };
@@ -36861,16 +36915,16 @@ var require_filesystem = __commonJS({
36861
36915
  return { entities };
36862
36916
  }
36863
36917
  writeToFile(entityName, entities) {
36864
- const base = exports2.basedir();
36918
+ const base = (0, exports2.basedir)();
36865
36919
  const data2 = JSON.stringify({ [entityName]: entities }, null, 2);
36866
36920
  const filename = getEntityFileName(entityName);
36867
36921
  try {
36868
- fs_1.writeFileSync(path_1.default.join(base, filename), data2);
36922
+ (0, fs_1.writeFileSync)(path_1.default.join(base, filename), data2);
36869
36923
  } catch (e) {
36870
36924
  if (e.code === "ENOENT") {
36871
36925
  this.logger.debug(`Base directory [${base}] does not exist, trying to create it`);
36872
- fs_1.mkdirSync(base, { recursive: true });
36873
- fs_1.writeFileSync(path_1.default.join(base, filename), data2);
36926
+ (0, fs_1.mkdirSync)(base, { recursive: true });
36927
+ (0, fs_1.writeFileSync)(path_1.default.join(base, filename), data2);
36874
36928
  } else {
36875
36929
  throw e;
36876
36930
  }
@@ -36880,15 +36934,15 @@ var require_filesystem = __commonJS({
36880
36934
  exports2.FilesystemStore = FilesystemStore;
36881
36935
  function toPersistenceName(s) {
36882
36936
  const t = s == null ? void 0 : s.trim().toLowerCase();
36883
- return t && pluralize_1.plural(t);
36937
+ return t && (0, pluralize_1.plural)(t);
36884
36938
  }
36885
36939
  function getEntityFileName(entityName) {
36886
36940
  return toPersistenceName(entityName) + ".json";
36887
36941
  }
36888
36942
  function getFilesystemWatcherFor(entityName, callback) {
36889
- const watchPath = path_1.default.join(exports2.basedir(), getEntityFileName(entityName));
36890
- if (fs_1.existsSync(watchPath)) {
36891
- return fs_1.watch(watchPath, void 0, () => {
36943
+ const watchPath = path_1.default.join((0, exports2.basedir)(), getEntityFileName(entityName));
36944
+ if ((0, fs_1.existsSync)(watchPath)) {
36945
+ return (0, fs_1.watch)(watchPath, void 0, () => {
36892
36946
  callback(entityName);
36893
36947
  });
36894
36948
  } else {
@@ -37007,9 +37061,13 @@ var require_secure_store = __commonJS({
37007
37061
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
37008
37062
  if (k2 === void 0)
37009
37063
  k2 = k;
37010
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
37011
- return m[k];
37012
- } });
37064
+ var desc = Object.getOwnPropertyDescriptor(m, k);
37065
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
37066
+ desc = { enumerable: true, get: function() {
37067
+ return m[k];
37068
+ } };
37069
+ }
37070
+ Object.defineProperty(o, k2, desc);
37013
37071
  } : function(o, m, k, k2) {
37014
37072
  if (k2 === void 0)
37015
37073
  k2 = k;
@@ -37056,7 +37114,7 @@ var require_secure_store = __commonJS({
37056
37114
  }
37057
37115
  }
37058
37116
  var getSecureStore = (log4) => {
37059
- if (ux_common_utils_1.isAppStudio() || process.env.UX_TOOLS_DISABLE_KEYSTORE) {
37117
+ if ((0, ux_common_utils_1.isAppStudio)() || process.env.UX_TOOLS_DISABLE_KEYSTORE) {
37060
37118
  return new dummy_store_1.DummyStore(log4);
37061
37119
  } else {
37062
37120
  const keytar = getKeytar(log4);
@@ -37843,7 +37901,7 @@ var require_hybrid = __commonJS({
37843
37901
  constructor(logger) {
37844
37902
  this.logger = logger;
37845
37903
  this.filesystem = new filesystem_1.FilesystemStore(this.logger);
37846
- this.secureStore = secure_store_1.getSecureStore(this.logger);
37904
+ this.secureStore = (0, secure_store_1.getSecureStore)(this.logger);
37847
37905
  }
37848
37906
  async read({ entityName, id }) {
37849
37907
  const serialized = await this.filesystem.read({ entityName, id });
@@ -37878,8 +37936,8 @@ var require_hybrid = __commonJS({
37878
37936
  return result2;
37879
37937
  }
37880
37938
  async write({ entityName, id, entity }) {
37881
- const serializableProps = decorators_1.getSerializableProperties(entity);
37882
- const sensitiveProps = decorators_1.getSensitiveDataProperties(entity);
37939
+ const serializableProps = (0, decorators_1.getSerializableProperties)(entity);
37940
+ const sensitiveProps = (0, decorators_1.getSensitiveDataProperties)(entity);
37883
37941
  if (serializableProps.length > 0 && sensitiveProps.length > 0) {
37884
37942
  for (let i = 0; i < serializableProps.length; i = i + 1) {
37885
37943
  if (sensitiveProps.indexOf(serializableProps[i]) !== -1) {
@@ -37888,14 +37946,14 @@ var require_hybrid = __commonJS({
37888
37946
  }
37889
37947
  }
37890
37948
  }
37891
- const serializable = utils_1.pick(entity, ...serializableProps);
37949
+ const serializable = (0, utils_1.pick)(entity, ...serializableProps);
37892
37950
  if (serializable) {
37893
37951
  this.logger.debug("hybrid/write - writing serializable properties: %O", serializable);
37894
37952
  await this.filesystem.write({ entityName, id, entity: serializable });
37895
37953
  } else {
37896
37954
  this.logger.debug("hybrid/write - no serializable properties found in %O", serializable);
37897
37955
  }
37898
- const sensitiveData = utils_1.pick(entity, ...sensitiveProps);
37956
+ const sensitiveData = (0, utils_1.pick)(entity, ...sensitiveProps);
37899
37957
  if (sensitiveData) {
37900
37958
  this.logger.debug(`hybrid/write - writing sensitive properties to secure store. ID: [${id}]`);
37901
37959
  await this.secureStore.save(getFullyQualifiedServiceName(entityName), id, sensitiveData);
@@ -37941,13 +37999,13 @@ var require_backend_system = __commonJS({
37941
37999
  AuthenticationType2["OAuth2ClientCredential"] = "oauth2ClientCredential";
37942
38000
  })(AuthenticationType = exports2.AuthenticationType || (exports2.AuthenticationType = {}));
37943
38001
  var BackendSystemKey = class {
38002
+ static from(system) {
38003
+ return new BackendSystemKey({ url: system.url, client: system.client });
38004
+ }
37944
38005
  constructor({ url, client }) {
37945
38006
  this.url = url.trim().replace(/\/$/, "");
37946
38007
  this.client = client == null ? void 0 : client.trim();
37947
38008
  }
37948
- static from(system) {
37949
- return new BackendSystemKey({ url: system.url, client: system.client });
37950
- }
37951
38009
  getId() {
37952
38010
  return this.url + `${this.client ? "/" + this.client : ""}`;
37953
38011
  }
@@ -38204,16 +38262,16 @@ var require_system_migration2 = __commonJS({
38204
38262
  this.logger.debug(`Migrating sytem ID: [${systemId}]`);
38205
38263
  const refreshToken = await this.getRefreshTokenFromOldStore(oldSystem);
38206
38264
  if (refreshToken) {
38207
- this.logger.info(i18n_1.text("info.foundRefreshToken", { systemId }));
38265
+ this.logger.info((0, i18n_1.text)("info.foundRefreshToken", { systemId }));
38208
38266
  }
38209
38267
  await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...oldSystem, refreshToken }));
38210
38268
  await this.secureStore.delete(contants_1.ServiceName.OldSystemService, systemId);
38211
38269
  if (refreshToken) {
38212
38270
  await this.deleteOldRefreshToken(oldSystem, systemId);
38213
- this.logger.info(i18n_1.text("info.deletingRefreshTokenFromOldStore", { systemId }));
38271
+ this.logger.info((0, i18n_1.text)("info.deletingRefreshTokenFromOldStore", { systemId }));
38214
38272
  }
38215
38273
  } else {
38216
- this.logger.info(i18n_1.text("error.systemAlreadyExistsInHybridStore", { systemId }));
38274
+ this.logger.info((0, i18n_1.text)("error.systemAlreadyExistsInHybridStore", { systemId }));
38217
38275
  }
38218
38276
  }
38219
38277
  }
@@ -38223,7 +38281,7 @@ var require_system_migration2 = __commonJS({
38223
38281
  const existingSystem = existingSystems[systemId];
38224
38282
  const refreshToken = await this.getRefreshTokenFromOldStore(existingSystem);
38225
38283
  if (refreshToken) {
38226
- this.logger.info(i18n_1.text("info.foundRefreshToken", { systemId }));
38284
+ this.logger.info((0, i18n_1.text)("info.foundRefreshToken", { systemId }));
38227
38285
  await this.updateRefreshTokenInStoredSystem(existingSystem, refreshToken, systemId);
38228
38286
  await this.deleteOldRefreshToken(existingSystem, systemId);
38229
38287
  }
@@ -38234,13 +38292,13 @@ var require_system_migration2 = __commonJS({
38234
38292
  for (const systemId of Object.keys(existingSystems)) {
38235
38293
  const existingSystem = existingSystems[systemId];
38236
38294
  if (!existingSystem.authenticationType) {
38237
- this.logger.info(i18n_1.text("info.tryingToUpdateAuthType", { systemId }));
38295
+ this.logger.info((0, i18n_1.text)("info.tryingToUpdateAuthType", { systemId }));
38238
38296
  const authenticationType = this.guessAuthType(existingSystem);
38239
38297
  if (authenticationType) {
38240
- this.logger.info(i18n_1.text("info.authTypeDetermined", { authenticationType, systemId }));
38298
+ this.logger.info((0, i18n_1.text)("info.authTypeDetermined", { authenticationType, systemId }));
38241
38299
  await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...existingSystem, authenticationType }));
38242
38300
  } else {
38243
- this.logger.info(i18n_1.text("info.authTypeNotDetermined", { systemId }));
38301
+ this.logger.info((0, i18n_1.text)("info.authTypeNotDetermined", { systemId }));
38244
38302
  }
38245
38303
  }
38246
38304
  }
@@ -38265,18 +38323,18 @@ var require_system_migration2 = __commonJS({
38265
38323
  }
38266
38324
  async deleteOldRefreshToken(system, systemId) {
38267
38325
  var _a2;
38268
- this.logger.info(i18n_1.text("info.deletingRefreshTokenFromOldStore", { systemId }));
38326
+ this.logger.info((0, i18n_1.text)("info.deletingRefreshTokenFromOldStore", { systemId }));
38269
38327
  try {
38270
38328
  const host = (_a2 = new URL(system.url)) == null ? void 0 : _a2.host;
38271
38329
  await this.secureStore.delete(contants_1.ServiceName.OldRefreshTokenService, host);
38272
38330
  } catch (e) {
38273
- this.logger.info(i18n_1.text("error.couldNotDeleteRefreshToken", { url: system.url }));
38331
+ this.logger.info((0, i18n_1.text)("error.couldNotDeleteRefreshToken", { url: system.url }));
38274
38332
  this.logger.info(e.message);
38275
38333
  }
38276
38334
  }
38277
38335
  async updateRefreshTokenInStoredSystem(system, refreshToken, systemId) {
38278
38336
  if (system.refreshToken !== refreshToken) {
38279
- this.logger.info(i18n_1.text("info.updatingRefreshTokenInNewStore", { systemId }));
38337
+ this.logger.info((0, i18n_1.text)("info.updatingRefreshTokenInNewStore", { systemId }));
38280
38338
  await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...system, refreshToken }));
38281
38339
  }
38282
38340
  }
@@ -38299,7 +38357,7 @@ var require_system_migration2 = __commonJS({
38299
38357
  const systemMigrationStatusDataProvider = new system_migration_1.SystemMigrationStatusDataProvider(logger);
38300
38358
  const systemMigrationStatus = await systemMigrationStatusDataProvider.read(new system_migration_status_1.SystemMigrationStatusKey()) || { migrationDone: false, authTypeMigrated: false, migrationLogs: [] };
38301
38359
  const migrationLogger = createLogInterceptor(logger, systemMigrationStatus.migrationLogs);
38302
- const secureStore = secure_store_1.getSecureStore(migrationLogger);
38360
+ const secureStore = (0, secure_store_1.getSecureStore)(migrationLogger);
38303
38361
  const migration = new Migration({
38304
38362
  logger: migrationLogger,
38305
38363
  systemMigrationStatus,
@@ -38314,7 +38372,7 @@ var require_system_migration2 = __commonJS({
38314
38372
  }));
38315
38373
  }
38316
38374
  } catch (e) {
38317
- logger.warn(i18n_1.text("error.systemMigrationFailed"));
38375
+ logger.warn((0, i18n_1.text)("error.systemMigrationFailed"));
38318
38376
  logger.debug(e.message);
38319
38377
  }
38320
38378
  }
@@ -38335,11 +38393,11 @@ var require_system_migration2 = __commonJS({
38335
38393
  };
38336
38394
  }
38337
38395
  function getMigrationLogger(migrationLogs) {
38338
- const migrationLogger = utils_1.newDebugLogger(utils_1.MIGRATION_NAMESPACE);
38396
+ const migrationLogger = (0, utils_1.newDebugLogger)(utils_1.MIGRATION_NAMESPACE);
38339
38397
  migrationLogger.log = (args) => {
38340
38398
  migrationLogs.push(args == null ? void 0 : args.toString());
38341
38399
  };
38342
- utils_1.enableDebugLogger(utils_1.MIGRATION_NAMESPACE);
38400
+ (0, utils_1.enableDebugLogger)(utils_1.MIGRATION_NAMESPACE);
38343
38401
  return migrationLogger;
38344
38402
  }
38345
38403
  }
@@ -38359,7 +38417,7 @@ var require_backend_system3 = __commonJS({
38359
38417
  var SystemService = class {
38360
38418
  constructor(logger) {
38361
38419
  this.migrationDone = false;
38362
- this.logger = utils_1.getExtendedLogger(logger);
38420
+ this.logger = (0, utils_1.getExtendedLogger)(logger);
38363
38421
  this.dataProvider = new backend_system_1.SystemDataProvider(this.logger);
38364
38422
  }
38365
38423
  async partialUpdate(key, entity) {
@@ -38378,18 +38436,18 @@ var require_backend_system3 = __commonJS({
38378
38436
  async readOrThrow(key) {
38379
38437
  const existingSystem = await this.read(key);
38380
38438
  if (!existingSystem) {
38381
- throw new Error(i18n_1.text("error.systemDoesNotExist", { system: key }));
38439
+ throw new Error((0, i18n_1.text)("error.systemDoesNotExist", { system: key }));
38382
38440
  }
38383
38441
  return existingSystem;
38384
38442
  }
38385
38443
  validatePartialUpdateInput(entity) {
38386
38444
  if (!entity || !Object.keys(entity).length) {
38387
- throw new Error(i18n_1.text("error.noPropertiesSpecified"));
38445
+ throw new Error((0, i18n_1.text)("error.noPropertiesSpecified"));
38388
38446
  }
38389
38447
  }
38390
38448
  async ensureMigrationDone() {
38391
38449
  if (!this.migrationDone) {
38392
- await system_migration_1.migrate(this.logger, this.dataProvider);
38450
+ await (0, system_migration_1.migrate)(this.logger, this.dataProvider);
38393
38451
  this.migrationDone = true;
38394
38452
  }
38395
38453
  }
@@ -38451,9 +38509,13 @@ var require_dist5 = __commonJS({
38451
38509
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
38452
38510
  if (k2 === void 0)
38453
38511
  k2 = k;
38454
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
38455
- return m[k];
38456
- } });
38512
+ var desc = Object.getOwnPropertyDescriptor(m, k);
38513
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
38514
+ desc = { enumerable: true, get: function() {
38515
+ return m[k];
38516
+ } };
38517
+ }
38518
+ Object.defineProperty(o, k2, desc);
38457
38519
  } : function(o, m, k, k2) {
38458
38520
  if (k2 === void 0)
38459
38521
  k2 = k;
@@ -38476,12 +38538,12 @@ var require_dist5 = __commonJS({
38476
38538
  system: backend_system_1.getInstance
38477
38539
  };
38478
38540
  async function getService({ logger = console, entityName }) {
38479
- await i18n_1.initI18n();
38541
+ await (0, i18n_1.initI18n)();
38480
38542
  const factory = services[entityName];
38481
38543
  if (factory) {
38482
38544
  return factory(logger);
38483
38545
  } else {
38484
- throw new Error(i18n_1.text("error.unsupportedEntity", { entityName }));
38546
+ throw new Error((0, i18n_1.text)("error.unsupportedEntity", { entityName }));
38485
38547
  }
38486
38548
  }
38487
38549
  exports2.getService = getService;
@@ -39699,17 +39761,17 @@ var require_uaaOauth = __commonJS({
39699
39761
  Redirect.path = "/oauth/client/redirect";
39700
39762
  function getAuthCode({ uaa, log: log4, timeout = utils_1.timeoutMs }) {
39701
39763
  return new Promise((resolve, reject) => {
39702
- const app = express_1.default();
39764
+ const app = (0, express_1.default)();
39703
39765
  const server = http_1.default.createServer(app);
39704
39766
  let redirect;
39705
39767
  const handleTimeout = () => {
39706
39768
  server.close();
39707
- reject(new error_1.UAATimeoutError(`Timeout. Did not get a response within ${utils_1.timeString(timeout)}`));
39769
+ reject(new error_1.UAATimeoutError(`Timeout. Did not get a response within ${(0, utils_1.timeString)(timeout)}`));
39708
39770
  };
39709
39771
  const timer = setTimeout(handleTimeout, timeout);
39710
39772
  app.get(Redirect.path, (req, res) => {
39711
39773
  res.set("Content-Type", "text/html");
39712
- res.send(Buffer.from(static_1.redirectSuccessHtml(uaa.logoutUrl, uaa.systemId)));
39774
+ res.send(Buffer.from((0, static_1.redirectSuccessHtml)(uaa.logoutUrl, uaa.systemId)));
39713
39775
  log4.info("Got authCode");
39714
39776
  resolve({ authCode: req.query.code + "", redirect });
39715
39777
  if (timer) {
@@ -39951,7 +40013,7 @@ var require_uaaOauth = __commonJS({
39951
40013
  if (credentials.serviceKeysContents) {
39952
40014
  return typeof credentials.serviceKeyContents === "string" ? JSON.parse(credentials.serviceKeysContents) : credentials.serviceKeysContents;
39953
40015
  }
39954
- return JSON.parse(fs_1.readFileSync(credentials.serviceKeys, "utf-8"));
40016
+ return JSON.parse((0, fs_1.readFileSync)(credentials.serviceKeys, "utf-8"));
39955
40017
  } catch (e) {
39956
40018
  throw new Error("Error parsing service keys");
39957
40019
  }
@@ -40064,11 +40126,11 @@ var require_connectWithReentranceTicket = __commonJS({
40064
40126
  var ADT_REENTRANCE_ENDPOINT = "/sap/bc/adt/core/http/reentranceticket";
40065
40127
  async function getReentranceTicket({ backendUrl, logger, timeout = utils_1.timeoutMs }) {
40066
40128
  return new Promise((resolve, reject) => {
40067
- const app = express_1.default();
40129
+ const app = (0, express_1.default)();
40068
40130
  const server = http_1.default.createServer(app);
40069
40131
  const handleTimeout = () => {
40070
40132
  server.close();
40071
- reject(new error_1.TimeoutError(`Timeout. Did not get a response within ${utils_1.timeString(timeout)}`));
40133
+ reject(new error_1.TimeoutError(`Timeout. Did not get a response within ${(0, utils_1.timeString)(timeout)}`));
40072
40134
  };
40073
40135
  class Redirect {
40074
40136
  static url(port) {
@@ -40082,7 +40144,7 @@ var require_connectWithReentranceTicket = __commonJS({
40082
40144
  const reentranceTicket = (_a2 = req.query["reentrance-ticket"]) == null ? void 0 : _a2.toString();
40083
40145
  logger.info("Got reentrance ticket: " + reentranceTicket);
40084
40146
  res.set("Content-Type", "text/html");
40085
- res.send(Buffer.from(static_1.redirectSuccessHtml(ABAPSystem.logoffUrl(backendUrl))));
40147
+ res.send(Buffer.from((0, static_1.redirectSuccessHtml)(ABAPSystem.logoffUrl(backendUrl))));
40086
40148
  if (timer) {
40087
40149
  clearTimeout(timer);
40088
40150
  }
@@ -54515,8 +54577,8 @@ var require_destination = __commonJS({
54515
54577
  async function fetchDestinations() {
54516
54578
  var _a2;
54517
54579
  const destinations = {};
54518
- await axios_1.default.get(ux_common_utils_1.getAppStudioProxyURL() + "/reload");
54519
- const response = await axios_1.default.get(ux_common_utils_1.getAppStudioBaseURL() + "/api/listDestinations");
54580
+ await axios_1.default.get((0, ux_common_utils_1.getAppStudioProxyURL)() + "/reload");
54581
+ const response = await axios_1.default.get((0, ux_common_utils_1.getAppStudioBaseURL)() + "/api/listDestinations");
54520
54582
  (_a2 = response == null ? void 0 : response.data) == null ? void 0 : _a2.forEach((destination) => {
54521
54583
  if (destination.WebIDEEnabled) {
54522
54584
  destinations[destination.Name] = destination;
@@ -54527,7 +54589,7 @@ var require_destination = __commonJS({
54527
54589
  async function getAuthHeaderForInstanceBasedDest(destinationInstance) {
54528
54590
  var _a2, _b;
54529
54591
  try {
54530
- const credentials = (await cf_tools_1.apiGetInstanceCredentials(destinationInstance)).credentials;
54592
+ const credentials = (await (0, cf_tools_1.apiGetInstanceCredentials)(destinationInstance)).credentials;
54531
54593
  const clientId = ((_a2 = credentials.uaa) == null ? void 0 : _a2.clientid) || credentials.clientid;
54532
54594
  const clientSecret = ((_b = credentials.uaa) == null ? void 0 : _b.clientsecret) || credentials.clientsecret;
54533
54595
  return Buffer.from(`${encodeURIComponent(clientId)}:${encodeURIComponent(clientSecret)}`).toString("base64");
@@ -54536,7 +54598,7 @@ var require_destination = __commonJS({
54536
54598
  }
54537
54599
  }
54538
54600
  async function listDestinations() {
54539
- if (ux_common_utils_1.isAppStudio()) {
54601
+ if ((0, ux_common_utils_1.isAppStudio)()) {
54540
54602
  return fetchDestinations();
54541
54603
  } else {
54542
54604
  return {};
@@ -54550,7 +54612,7 @@ var require_destination = __commonJS({
54550
54612
  systemConfig.url = `https://${destinationName}${DEST}`;
54551
54613
  systemConfig.basDestinationInstanceCred = await getAuthHeaderForInstanceBasedDest(destinationInstance);
54552
54614
  } else {
54553
- systemConfig.url = ux_common_utils_1.getAppStudioBaseURL();
54615
+ systemConfig.url = (0, ux_common_utils_1.getAppStudioBaseURL)();
54554
54616
  systemConfig.service = `/destinations/${destinationName != null ? destinationName : systemConfig.destination}${(_b = (_a2 = systemConfig.service) == null ? void 0 : _a2.replace(/^\/?/, "/")) != null ? _b : ""}`;
54555
54617
  }
54556
54618
  delete systemConfig.scp;
@@ -54558,7 +54620,7 @@ var require_destination = __commonJS({
54558
54620
  }
54559
54621
  exports2.replaceUrlForAppStudio = replaceUrlForAppStudio;
54560
54622
  async function updateSystemConfig(system) {
54561
- if (ux_common_utils_1.isAppStudio() && system.destination) {
54623
+ if ((0, ux_common_utils_1.isAppStudio)() && system.destination) {
54562
54624
  if (system.destinationInstance) {
54563
54625
  await replaceUrlForAppStudio(system, system.destination, system.destinationInstance);
54564
54626
  } else {
@@ -54566,7 +54628,7 @@ var require_destination = __commonJS({
54566
54628
  if (destinations[system.destination]) {
54567
54629
  const dest = destinations[system.destination];
54568
54630
  system.destinationAuthType = dest.Authentication;
54569
- if (config_1.hasFullUrlDestAttribute({
54631
+ if ((0, config_1.hasFullUrlDestAttribute)({
54570
54632
  ["WebIDEAdditionalData"]: dest["WebIDEAdditionalData"]
54571
54633
  })) {
54572
54634
  system.isDestinationFullUrl = true;
@@ -54591,9 +54653,13 @@ var require_connection = __commonJS({
54591
54653
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
54592
54654
  if (k2 === void 0)
54593
54655
  k2 = k;
54594
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
54595
- return m[k];
54596
- } });
54656
+ var desc = Object.getOwnPropertyDescriptor(m, k);
54657
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
54658
+ desc = { enumerable: true, get: function() {
54659
+ return m[k];
54660
+ } };
54661
+ }
54662
+ Object.defineProperty(o, k2, desc);
54597
54663
  } : function(o, m, k, k2) {
54598
54664
  if (k2 === void 0)
54599
54665
  k2 = k;
@@ -54654,7 +54720,7 @@ var require_connection = __commonJS({
54654
54720
  if (target.client) {
54655
54721
  config.params[exports2.SAP_CLIENT] = target.client;
54656
54722
  }
54657
- const isTargetDestOnAppStudio = ux_common_utils_1.isAppStudio() && target.destination;
54723
+ const isTargetDestOnAppStudio = (0, ux_common_utils_1.isAppStudio)() && target.destination;
54658
54724
  if (isTargetDestOnAppStudio || disableSAML) {
54659
54725
  config.params.saml2 = "disabled";
54660
54726
  }
@@ -54703,7 +54769,7 @@ var require_connection = __commonJS({
54703
54769
  if (contentTypeHeader) {
54704
54770
  return contentTypeHeader.toLowerCase();
54705
54771
  } else if (typeof responseData === "string") {
54706
- return (_b = (_a2 = detect_content_type_1.default(Buffer.from(responseData))) == null ? void 0 : _a2.toLowerCase()) != null ? _b : "";
54772
+ return (_b = (_a2 = (0, detect_content_type_1.default)(Buffer.from(responseData))) == null ? void 0 : _a2.toLowerCase()) != null ? _b : "";
54707
54773
  } else {
54708
54774
  return "";
54709
54775
  }
@@ -54714,11 +54780,11 @@ var require_connection = __commonJS({
54714
54780
  async function connect({ target, credentials, log: log4, autoAddTrailingSlash = true, timeout, ignoreCertError = false, postConnectionCallback, disableSAML = false }) {
54715
54781
  const targetAuthType = target.authenticationType;
54716
54782
  if (targetAuthType === config_1.AuthenticationType.OAuth2RefreshToken) {
54717
- return uaaOauth_1.connectUsingUaa({ target, credentials, log: log4, postConnectionCallback });
54783
+ return (0, uaaOauth_1.connectUsingUaa)({ target, credentials, log: log4, postConnectionCallback });
54718
54784
  } else if (targetAuthType === config_1.AuthenticationType.OAuth2ClientCredential) {
54719
- return uaaOauth_1.connectUsingUaaClientCredential({ target, credentials, log: log4 });
54785
+ return (0, uaaOauth_1.connectUsingUaaClientCredential)({ target, credentials, log: log4 });
54720
54786
  } else if (targetAuthType === config_1.AuthenticationType.ReentranceTicket) {
54721
- return connectWithReentranceTicket_1.connectWithReentranceTicket({ target, logger: log4, ignoreCertError });
54787
+ return (0, connectWithReentranceTicket_1.connectWithReentranceTicket)({ target, logger: log4, ignoreCertError });
54722
54788
  } else {
54723
54789
  return connectWithBasicAuth({
54724
54790
  target,
@@ -54751,7 +54817,7 @@ var require_httpClient = __commonJS({
54751
54817
  var https_1 = __importDefault(require("https"));
54752
54818
  var url_1 = require("url");
54753
54819
  async function newHttpClient({ system, credentials, log: log4, existingConnection, autoAddTrailingSlash = true, timeout, ignoreCertError, postConnectionCallback, disableSAML = false }) {
54754
- const connection = existingConnection || await connection_1.connect({
54820
+ const connection = existingConnection || await (0, connection_1.connect)({
54755
54821
  target: system,
54756
54822
  credentials,
54757
54823
  log: log4,
@@ -56731,7 +56797,7 @@ var require_message = __commonJS({
56731
56797
  exports2.printErrorDetails = exports2.prettyPrintError = exports2.prettyPrintMessage = void 0;
56732
56798
  var chalk_1 = __importDefault(require_source());
56733
56799
  var debug_1 = __importDefault(require_src7());
56734
- var odataClientDebug = debug_1.default("ux-odata-client");
56800
+ var odataClientDebug = (0, debug_1.default)("ux-odata-client");
56735
56801
  function prettyPrintMessage(msg, log4, logData) {
56736
56802
  logLevel(msg.severity, msg.message, log4);
56737
56803
  if (msg.longtextUrl && logData.frontendUrl) {
@@ -56879,7 +56945,7 @@ var require_utils7 = __commonJS({
56879
56945
  exports2.guessAuthType = guessAuthType;
56880
56946
  async function getOnPremSystem(system, isImportedSystem = false) {
56881
56947
  var _a2, _b;
56882
- let sapSystem = await __1.getSapSystem(system.url, system.client);
56948
+ let sapSystem = await (0, __1.getSapSystem)(system.url, system.client);
56883
56949
  let isNewSapSystem = false;
56884
56950
  const creds = {
56885
56951
  username: (_a2 = system.credentials) == null ? void 0 : _a2.systemUsername,
@@ -56892,7 +56958,7 @@ var require_utils7 = __commonJS({
56892
56958
  sapSystem.setUserDisplayName(creds.username);
56893
56959
  }
56894
56960
  } else {
56895
- sapSystem = __1.newSapSystem(system.name || "", system.url, system.client, creds, true);
56961
+ sapSystem = (0, __1.newSapSystem)(system.name || "", system.url, system.client, creds, true);
56896
56962
  isNewSapSystem = true;
56897
56963
  }
56898
56964
  return { sapSystem, isNewSapSystem };
@@ -56902,13 +56968,13 @@ var require_utils7 = __commonJS({
56902
56968
  let sapSystem;
56903
56969
  let isNewSapSystem = false;
56904
56970
  if (system.url && system.credentials === savedSapSystemServiceKey) {
56905
- sapSystem = await __1.getSapSystem(system.url, system.client);
56971
+ sapSystem = await (0, __1.getSapSystem)(system.url, system.client);
56906
56972
  }
56907
56973
  if (sapSystem) {
56908
56974
  sapSystem.name = system.name || "";
56909
56975
  } else {
56910
- const newBTPSapSystem = __1.newSapSystemForSteampunk(system.name || "", system.credentials, true);
56911
- sapSystem = await __1.getSapSystem(newBTPSapSystem.url, newBTPSapSystem.client);
56976
+ const newBTPSapSystem = (0, __1.newSapSystemForSteampunk)(system.name || "", system.credentials, true);
56977
+ sapSystem = await (0, __1.getSapSystem)(newBTPSapSystem.url, newBTPSapSystem.client);
56912
56978
  if (!sapSystem) {
56913
56979
  isNewSapSystem = true;
56914
56980
  sapSystem = newBTPSapSystem;
@@ -56922,7 +56988,7 @@ var require_utils7 = __commonJS({
56922
56988
  return false;
56923
56989
  }
56924
56990
  let isValid = true;
56925
- const isNameInUse = await __1.isSystemNameInUse(newName);
56991
+ const isNameInUse = await (0, __1.isSystemNameInUse)(newName);
56926
56992
  if (isNameInUse && newName !== savedSystemName) {
56927
56993
  isValid = false;
56928
56994
  }
@@ -57051,7 +57117,7 @@ var require_oDataClient = __commonJS({
57051
57117
  }
57052
57118
  initDebugLogger() {
57053
57119
  if (!ODataClient.hasAxiosDebugLoggerConfig) {
57054
- axios_debug_log_1.default({
57120
+ (0, axios_debug_log_1.default)({
57055
57121
  request: (debug, req) => {
57056
57122
  var _a2;
57057
57123
  debug(`${(_a2 = req.method) == null ? void 0 : _a2.toUpperCase()} ${this.buildFullUrl(req)}`);
@@ -57074,7 +57140,7 @@ var require_oDataClient = __commonJS({
57074
57140
  return reqConfig.baseURL ? `${reqConfig.baseURL}${reqConfig.url}` : `${reqConfig.url}`;
57075
57141
  }
57076
57142
  validateSysAuthType(system, credentials) {
57077
- system.authenticationType = system.authenticationType || utils_1.guessAuthType({ credentials, fallback: true });
57143
+ system.authenticationType = system.authenticationType || (0, utils_1.guessAuthType)({ credentials, fallback: true });
57078
57144
  if (!Object.values(config_1.AuthenticationType).includes(system.authenticationType)) {
57079
57145
  throw new error_1.UnknownSystemAuthenticationType(system.authenticationType);
57080
57146
  }
@@ -57082,15 +57148,15 @@ var require_oDataClient = __commonJS({
57082
57148
  logError(e, logData) {
57083
57149
  this.log.error(e.message);
57084
57150
  if (e.isAxiosError && e.response.data["error"]) {
57085
- message_1.prettyPrintError(e.response.data["error"], this.log, logData);
57151
+ (0, message_1.prettyPrintError)(e.response.data["error"], this.log, logData);
57086
57152
  }
57087
57153
  }
57088
57154
  async getClient() {
57089
57155
  if (!this.client) {
57090
- if (ux_common_utils_1.isAppStudio()) {
57091
- await destination_1.updateSystemConfig(this.system);
57156
+ if ((0, ux_common_utils_1.isAppStudio)()) {
57157
+ await (0, destination_1.updateSystemConfig)(this.system);
57092
57158
  }
57093
- const { connection, httpClient } = await httpClient_1.newHttpClient({
57159
+ const { connection, httpClient } = await (0, httpClient_1.newHttpClient)({
57094
57160
  system: this.system,
57095
57161
  credentials: this.credentials,
57096
57162
  log: this.log,
@@ -57118,7 +57184,7 @@ var require_oDataClient = __commonJS({
57118
57184
  const metadataPath = ((_a2 = this.system.service) == null ? void 0 : _a2.endsWith("/")) ? "$metadata" : "/$metadata";
57119
57185
  const edmx = await this.get(metadataPath, { Accept: "application/xml" });
57120
57186
  try {
57121
- return filterReferenceUriInEdmx ? ux_common_utils_1.filterReferenceUri(edmx) : edmx;
57187
+ return filterReferenceUriInEdmx ? (0, ux_common_utils_1.filterReferenceUri)(edmx) : edmx;
57122
57188
  } catch {
57123
57189
  return edmx;
57124
57190
  }
@@ -57214,12 +57280,12 @@ var require_ui5AbapRepository = __commonJS({
57214
57280
  if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["sap-message"]) {
57215
57281
  const message = JSON.parse(response.headers["sap-message"]);
57216
57282
  message["longtextUrl"] = message["longtext_url"];
57217
- message_1.prettyPrintMessage(message, this.log, { frontendUrl });
57283
+ (0, message_1.prettyPrintMessage)(message, this.log, { frontendUrl });
57218
57284
  const path = "/sap/bc/ui5_ui5" + (!app.name.startsWith("/") ? "/sap/" : "") + app.name.toLowerCase();
57219
57285
  const query = this.system.client ? "?sap-client=" + this.system.client : "";
57220
57286
  this.log.info(`App available at ${frontendUrl}${path}${query}`);
57221
57287
  } else if (testMode) {
57222
- message_1.printErrorDetails((_c = (_b = response == null ? void 0 : response.data.error) == null ? void 0 : _b.innererror) == null ? void 0 : _c.errordetails, this.log, {
57288
+ (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, {
57223
57289
  frontendUrl
57224
57290
  });
57225
57291
  }
@@ -57237,7 +57303,7 @@ var require_ui5AbapRepository = __commonJS({
57237
57303
  const response = await this.deleteRepoRequest(app.name, httpClient, config);
57238
57304
  if ((_a2 = response == null ? void 0 : response.headers) == null ? void 0 : _a2["sap-message"]) {
57239
57305
  const message = JSON.parse(response.headers["sap-message"]);
57240
- message_1.prettyPrintMessage(message, this.log);
57306
+ (0, message_1.prettyPrintMessage)(message, this.log);
57241
57307
  }
57242
57308
  return response;
57243
57309
  } catch (error3) {
@@ -57272,7 +57338,7 @@ var require_ui5AbapRepository = __commonJS({
57272
57338
  return { headers, params, maxBodyLength, maxContentLength };
57273
57339
  }
57274
57340
  createPayload(archive, name, description, abapPackage, httpClient) {
57275
- const base64Data = fs_1.readFileSync(archive, { encoding: "base64" });
57341
+ const base64Data = (0, fs_1.readFileSync)(archive, { encoding: "base64" });
57276
57342
  const time = new Date().toISOString();
57277
57343
  const escapedName = encodeXmlValue(name);
57278
57344
  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>`;
@@ -57395,7 +57461,7 @@ var require_atoCatalog = __commonJS({
57395
57461
  return this.getAtoData(atoDataXml);
57396
57462
  }
57397
57463
  static getAtoData(atoDataXml) {
57398
- const atoData = utils_1.xmlToJson(atoDataXml);
57464
+ const atoData = (0, utils_1.xmlToJson)(atoDataXml);
57399
57465
  const settings = atoData == null ? void 0 : atoData["settings"];
57400
57466
  if (!settings) {
57401
57467
  throw new Error("ATO settings unavailable");
@@ -57442,7 +57508,7 @@ var require_v2Catalog = __commonJS({
57442
57508
  constructor({ system, credentials = void 0, log: log4 = console, connection = void 0, postConnectionCallback }) {
57443
57509
  var _a2, _b;
57444
57510
  if ((credentials == null ? void 0 : credentials.serviceKeys) || (credentials == null ? void 0 : credentials.serviceKeysContents)) {
57445
- const serviceInfo = uaaOauth_1.getServiceInfo(credentials);
57511
+ const serviceInfo = (0, uaaOauth_1.getServiceInfo)(credentials);
57446
57512
  credentials.serviceInfo = serviceInfo;
57447
57513
  system.url = serviceInfo.url;
57448
57514
  if ((_b = (_a2 = serviceInfo.catalogs) == null ? void 0 : _a2.abap) == null ? void 0 : _b.path) {
@@ -57454,13 +57520,14 @@ var require_v2Catalog = __commonJS({
57454
57520
  super({ system, credentials, log: log4, connection, postConnectionCallback });
57455
57521
  }
57456
57522
  async listServices(recommended = false) {
57523
+ let services;
57457
57524
  if (recommended) {
57458
- return this.get(common_1.V2_RECOMMENDED_SERVICES_PATH);
57525
+ services = await this.get(common_1.V2_RECOMMENDED_SERVICES_PATH);
57459
57526
  } else {
57460
57527
  let isS4C = false;
57461
57528
  try {
57462
57529
  await this.getConnection();
57463
- isS4C = utils_1.isS4HanaCloudSystem(await atoCatalog_1.AtoCatalog.getATOData({
57530
+ isS4C = (0, utils_1.isS4HanaCloudSystem)(await atoCatalog_1.AtoCatalog.getATOData({
57464
57531
  system: this.system,
57465
57532
  connection: this.connection,
57466
57533
  log: this.log,
@@ -57468,8 +57535,12 @@ var require_v2Catalog = __commonJS({
57468
57535
  }));
57469
57536
  } catch (error3) {
57470
57537
  }
57471
- return this.get(isS4C ? common_1.V2_SERVICES_PATH + common_1.V2_ODATA_CATALOG_FILTER_FOR_S4_HANA_SERVICES : common_1.V2_SERVICES_PATH);
57538
+ 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);
57539
+ }
57540
+ if (!Array.isArray(services)) {
57541
+ throw new Error("Error parsing service list");
57472
57542
  }
57543
+ return services;
57473
57544
  }
57474
57545
  async findService({ title, path }) {
57475
57546
  if (!title) {
@@ -57547,7 +57618,7 @@ var require_v4Catalog = __commonJS({
57547
57618
  var V4Catalog = class extends common_1.Catalog {
57548
57619
  constructor({ system, credentials = void 0, log: log4 = console, connection = void 0, postConnectionCallback }) {
57549
57620
  if ((credentials == null ? void 0 : credentials.serviceKeys) || (credentials == null ? void 0 : credentials.serviceKeysContents)) {
57550
- const serviceInfo = uaaOauth_1.getServiceInfo(credentials);
57621
+ const serviceInfo = (0, uaaOauth_1.getServiceInfo)(credentials);
57551
57622
  credentials.serviceInfo = serviceInfo;
57552
57623
  system.url = serviceInfo.url;
57553
57624
  }
@@ -57571,6 +57642,9 @@ var require_v4Catalog = __commonJS({
57571
57642
  const servicePath = recommended ? common_1.V4_RECOMMENDED_SERVICES_PATH_PROD : common_1.V4_SERVICES_PATH_PROD;
57572
57643
  this.services = [];
57573
57644
  const respValues = await this.get(`${servicePath}&${common_1.ODATA_COUNT_QUERY}`);
57645
+ if (!Array.isArray(respValues.value)) {
57646
+ throw new Error("Error parsing service list");
57647
+ }
57574
57648
  this.services = this.services.concat(this.parseServiceData(respValues.value, recommended));
57575
57649
  if (respValues["@odata.nextLink"]) {
57576
57650
  let skipval = parseInt((_a2 = respValues["@odata.nextLink"]) == null ? void 0 : _a2.split("skiptoken=")[1]);
@@ -57598,9 +57672,13 @@ var require_catalog = __commonJS({
57598
57672
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
57599
57673
  if (k2 === void 0)
57600
57674
  k2 = k;
57601
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
57602
- return m[k];
57603
- } });
57675
+ var desc = Object.getOwnPropertyDescriptor(m, k);
57676
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
57677
+ desc = { enumerable: true, get: function() {
57678
+ return m[k];
57679
+ } };
57680
+ }
57681
+ Object.defineProperty(o, k2, desc);
57604
57682
  } : function(o, m, k, k2) {
57605
57683
  if (k2 === void 0)
57606
57684
  k2 = k;
@@ -57633,9 +57711,13 @@ var require_client2 = __commonJS({
57633
57711
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
57634
57712
  if (k2 === void 0)
57635
57713
  k2 = k;
57636
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
57637
- return m[k];
57638
- } });
57714
+ var desc = Object.getOwnPropertyDescriptor(m, k);
57715
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
57716
+ desc = { enumerable: true, get: function() {
57717
+ return m[k];
57718
+ } };
57719
+ }
57720
+ Object.defineProperty(o, k2, desc);
57639
57721
  } : function(o, m, k, k2) {
57640
57722
  if (k2 === void 0)
57641
57723
  k2 = k;
@@ -57665,7 +57747,7 @@ var require_api_hub = __commonJS({
57665
57747
  var ux_store_1 = require_dist5();
57666
57748
  var constants_1 = require_constants4();
57667
57749
  async function getApiHubApiKey(log4 = console) {
57668
- const keyStore = ux_store_1.getSecureStore(log4);
57750
+ const keyStore = (0, ux_store_1.getSecureStore)(log4);
57669
57751
  const apiHubServiceName = config_1.ServiceName.ApiHub;
57670
57752
  const apiHubApiKey = await keyStore.retrieve(apiHubServiceName, constants_1.API_HUB_API_KEY);
57671
57753
  if (apiHubApiKey) {
@@ -57675,7 +57757,7 @@ var require_api_hub = __commonJS({
57675
57757
  }
57676
57758
  exports2.getApiHubApiKey = getApiHubApiKey;
57677
57759
  async function saveApiHubApiKey(val, log4 = console) {
57678
- const keyStore = ux_store_1.getSecureStore(log4);
57760
+ const keyStore = (0, ux_store_1.getSecureStore)(log4);
57679
57761
  const apiHubServiceName = config_1.ServiceName.ApiHub;
57680
57762
  const existingKey = await getApiHubApiKey(log4);
57681
57763
  if (existingKey !== void 0) {
@@ -57715,19 +57797,6 @@ var require_sapSystem = __commonJS({
57715
57797
  var types_1 = require_types3();
57716
57798
  var NEW_SCP_SUFFIX = " (BTP)";
57717
57799
  var SapSystem = class {
57718
- constructor(name, config, credentials = {}, userDisplayName, unSaved = false, postConnectionCallbackCreator) {
57719
- this.config = config;
57720
- this.credentials = credentials;
57721
- this._unSaved = false;
57722
- this.postConnectionCallbackInitialized = false;
57723
- this._name = name;
57724
- if (this.config.scp === void 0) {
57725
- this.config.scp = !!(credentials == null ? void 0 : credentials.serviceKeysContents) || !!(credentials == null ? void 0 : credentials.serviceKeys);
57726
- }
57727
- this._unSaved = unSaved;
57728
- this._userDisplayName = userDisplayName;
57729
- this._postConnectionCallbackCreator = postConnectionCallbackCreator;
57730
- }
57731
57800
  postConnectionCallback() {
57732
57801
  var _a2;
57733
57802
  if (!this.postConnectionCallbackInitialized) {
@@ -57743,9 +57812,22 @@ var require_sapSystem = __commonJS({
57743
57812
  password: s.password,
57744
57813
  refreshToken: s.refreshToken
57745
57814
  } : void 0;
57746
- const authenticationType = Object.values(ux_store_1.AuthenticationType).find((v) => v === s.authenticationType) || __1.guessAuthType({ credentials, fallback: false });
57815
+ const authenticationType = Object.values(ux_store_1.AuthenticationType).find((v) => v === s.authenticationType) || (0, __1.guessAuthType)({ credentials, fallback: false });
57747
57816
  return new SapSystem(s.name, { url: s.url, client: s.client, authenticationType }, credentials, s.userDisplayName, void 0, void 0);
57748
57817
  }
57818
+ constructor(name, config, credentials = {}, userDisplayName, unSaved = false, postConnectionCallbackCreator) {
57819
+ this.config = config;
57820
+ this.credentials = credentials;
57821
+ this._unSaved = false;
57822
+ this.postConnectionCallbackInitialized = false;
57823
+ this._name = name;
57824
+ if (this.config.scp === void 0) {
57825
+ this.config.scp = !!(credentials == null ? void 0 : credentials.serviceKeysContents) || !!(credentials == null ? void 0 : credentials.serviceKeys);
57826
+ }
57827
+ this._unSaved = unSaved;
57828
+ this._userDisplayName = userDisplayName;
57829
+ this._postConnectionCallbackCreator = postConnectionCallbackCreator;
57830
+ }
57749
57831
  getConnection() {
57750
57832
  return this.connection;
57751
57833
  }
@@ -57834,7 +57916,7 @@ var require_sapSystem = __commonJS({
57834
57916
  }
57835
57917
  addS4HCSuffix(name) {
57836
57918
  const S4HC_SUFFIX = " (S4HC)";
57837
- return (name == null ? void 0 : name.trim().match(`${ux_common_utils_1.escapeRegExp(S4HC_SUFFIX)}$`)) ? name : name + S4HC_SUFFIX;
57919
+ return (name == null ? void 0 : name.trim().match(`${(0, ux_common_utils_1.escapeRegExp)(S4HC_SUFFIX)}$`)) ? name : name + S4HC_SUFFIX;
57838
57920
  }
57839
57921
  get bareName() {
57840
57922
  return stripOldSCPSuffix(this.name);
@@ -57843,19 +57925,19 @@ var require_sapSystem = __commonJS({
57843
57925
  return this.config.scp;
57844
57926
  }
57845
57927
  isPartialUrlDest() {
57846
- return !config_1.hasDestinationAttrib("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest();
57928
+ return !(0, config_1.hasDestinationAttrib)("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest();
57847
57929
  }
57848
57930
  isGenericODataDest() {
57849
- 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;
57931
+ 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;
57850
57932
  }
57851
57933
  isFullUrlDest() {
57852
- return this.config.destination ? config_1.hasDestinationAttrib("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest() : false;
57934
+ return this.config.destination ? (0, config_1.hasDestinationAttrib)("WebIDEAdditionalData", config_1.DestinationAttributeProperty.FULL_URL, this.config.destinationAttributes) && this.isGenericODataDest() : false;
57853
57935
  }
57854
57936
  isAbapCatalogDest() {
57855
- return this.config.destination ? config_1.hasDestinationAttrib("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) && !this.isFullUrlDest() : false;
57937
+ return this.config.destination ? (0, config_1.hasDestinationAttrib)("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) && !this.isFullUrlDest() : false;
57856
57938
  }
57857
57939
  isHTML5DynamicDestination() {
57858
- return this.config.destination ? config_1.hasHTML5DynamicDestinationAttrib(this.config.destinationAttributes) : false;
57940
+ return this.config.destination ? (0, config_1.hasHTML5DynamicDestinationAttrib)(this.config.destinationAttributes) : false;
57859
57941
  }
57860
57942
  toString() {
57861
57943
  var _a2;
@@ -57913,14 +57995,14 @@ var require_sapSystem = __commonJS({
57913
57995
  async getCatalog(odataVersion) {
57914
57996
  const system = deepClone(this.config);
57915
57997
  if (this.connection) {
57916
- return client_1.getCatalog({
57998
+ return (0, client_1.getCatalog)({
57917
57999
  system,
57918
58000
  connection: this.connection,
57919
58001
  odataVersion,
57920
58002
  postConnectionCallback: this.postConnectionCallback()
57921
58003
  });
57922
58004
  } else {
57923
- const catalog = client_1.getCatalog({
58005
+ const catalog = (0, client_1.getCatalog)({
57924
58006
  system,
57925
58007
  credentials: this.credentials,
57926
58008
  odataVersion,
@@ -57971,7 +58053,7 @@ var require_sapSystem = __commonJS({
57971
58053
  exports2.SapSystem = SapSystem;
57972
58054
  function toSCPSystemName(systemName) {
57973
58055
  const s = systemName.trim();
57974
- return s.match(`${ux_common_utils_1.escapeRegExp(NEW_SCP_SUFFIX)}$`) ? s : s + NEW_SCP_SUFFIX;
58056
+ return s.match(`${(0, ux_common_utils_1.escapeRegExp)(NEW_SCP_SUFFIX)}$`) ? s : s + NEW_SCP_SUFFIX;
57975
58057
  }
57976
58058
  function stripOldSCPSuffix(name) {
57977
58059
  return name.trim().replace(/ \(SCP\)$/, "");
@@ -57997,7 +58079,7 @@ var require_systemStore = __commonJS({
57997
58079
  this.storeService = storeService;
57998
58080
  }
57999
58081
  static async createInstance(logger) {
58000
- const storeService = await ux_store_1.getService({ logger, entityName: "system" });
58082
+ const storeService = await (0, ux_store_1.getService)({ logger, entityName: "system" });
58001
58083
  return new DefaultImplementation(storeService, logger);
58002
58084
  }
58003
58085
  async getAll() {
@@ -58059,9 +58141,9 @@ var require_system3 = __commonJS({
58059
58141
  var url_1 = require("url");
58060
58142
  var __1 = require_dist6();
58061
58143
  async function listSAPSystems2() {
58062
- if (ux_common_utils_1.isAppStudio()) {
58144
+ if ((0, ux_common_utils_1.isAppStudio)()) {
58063
58145
  const systems = {};
58064
- const destinations = await connection_1.listDestinations();
58146
+ const destinations = await (0, connection_1.listDestinations)();
58065
58147
  Object.values(destinations).sort((a, b) => a.Name.localeCompare(b.Name, void 0, { numeric: true, caseFirst: "lower" })).forEach((destination) => {
58066
58148
  var _a2, _b;
58067
58149
  systems[destination.Name] = new sapSystem_1.SapSystem(destination.Name, {
@@ -58075,7 +58157,7 @@ var require_system3 = __commonJS({
58075
58157
  });
58076
58158
  return systems;
58077
58159
  } else {
58078
- const store = await systemStore_1.getSystemStore();
58160
+ const store = await (0, systemStore_1.getSystemStore)();
58079
58161
  return postGetAll({ systems: await store.getAll(), store });
58080
58162
  }
58081
58163
  }
@@ -58107,7 +58189,7 @@ var require_system3 = __commonJS({
58107
58189
  update: { userDisplayName: sys.userDisplayName }
58108
58190
  }));
58109
58191
  }
58110
- await ux_common_utils_1.allSettled(updates);
58192
+ await (0, ux_common_utils_1.allSettled)(updates);
58111
58193
  resolve();
58112
58194
  }, 0));
58113
58195
  }
@@ -58134,7 +58216,7 @@ var require_system3 = __commonJS({
58134
58216
  const update = {};
58135
58217
  !!user && (update.userDisplayName = user);
58136
58218
  !!refreshToken && (update.refreshToken = refreshToken);
58137
- return (await systemStore_1.getSystemStore()).partialUpdate({
58219
+ return (await (0, systemStore_1.getSystemStore)()).partialUpdate({
58138
58220
  url: system.url,
58139
58221
  client: system.client,
58140
58222
  update
@@ -58146,16 +58228,16 @@ var require_system3 = __commonJS({
58146
58228
  return cb;
58147
58229
  }
58148
58230
  async function isSystemNameInUse(name) {
58149
- const systems = await (await systemStore_1.getSystemStore()).getAll();
58231
+ const systems = await (await (0, systemStore_1.getSystemStore)()).getAll();
58150
58232
  const sys = name.trim();
58151
- return Object.values(systems).findIndex((system) => system.name === sys || system.bareName === sapSystem_1.stripOldSCPSuffix(sys)) !== -1;
58233
+ return Object.values(systems).findIndex((system) => system.name === sys || system.bareName === (0, sapSystem_1.stripOldSCPSuffix)(sys)) !== -1;
58152
58234
  }
58153
58235
  exports2.isSystemNameInUse = isSystemNameInUse;
58154
58236
  async function getSapSystem(url, client) {
58155
- if (ux_common_utils_1.isAppStudio()) {
58237
+ if ((0, ux_common_utils_1.isAppStudio)()) {
58156
58238
  throw Error("Not supported in AppStudio.");
58157
58239
  } else {
58158
- return (await systemStore_1.getSystemStore()).get(url, client);
58240
+ return (await (0, systemStore_1.getSystemStore)()).get(url, client);
58159
58241
  }
58160
58242
  }
58161
58243
  exports2.getSapSystem = getSapSystem;
@@ -58191,12 +58273,12 @@ var require_system3 = __commonJS({
58191
58273
  }
58192
58274
  exports2.newSapSystemForDestinaton = newSapSystemForDestinaton;
58193
58275
  async function saveSapSystem(system) {
58194
- const store = await systemStore_1.getSystemStore();
58276
+ const store = await (0, systemStore_1.getSystemStore)();
58195
58277
  await store.save(system);
58196
58278
  }
58197
58279
  exports2.saveSapSystem = saveSapSystem;
58198
58280
  async function deleteSapSystem(system) {
58199
- const store = await systemStore_1.getSystemStore();
58281
+ const store = await (0, systemStore_1.getSystemStore)();
58200
58282
  return store.delete(system);
58201
58283
  }
58202
58284
  exports2.deleteSapSystem = deleteSapSystem;
@@ -58210,9 +58292,13 @@ var require_dist6 = __commonJS({
58210
58292
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
58211
58293
  if (k2 === void 0)
58212
58294
  k2 = k;
58213
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
58214
- return m[k];
58215
- } });
58295
+ var desc = Object.getOwnPropertyDescriptor(m, k);
58296
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
58297
+ desc = { enumerable: true, get: function() {
58298
+ return m[k];
58299
+ } };
58300
+ }
58301
+ Object.defineProperty(o, k2, desc);
58216
58302
  } : function(o, m, k, k2) {
58217
58303
  if (k2 === void 0)
58218
58304
  k2 = k;
@@ -58515,9 +58601,9 @@ var require_ui5_info = __commonJS({
58515
58601
  return a.localeCompare(b);
58516
58602
  }
58517
58603
  if (versions.indexOf(a) > -1 || versions.indexOf(b) > -1) {
58518
- return semver_compare_1.default(a, b);
58604
+ return (0, semver_compare_1.default)(a, b);
58519
58605
  }
58520
- return semver_compare_1.default(b + ".999", a + ".999");
58606
+ return (0, semver_compare_1.default)(b + ".999", a + ".999");
58521
58607
  }
58522
58608
  function filterNewerEqual(versions, minVersion) {
58523
58609
  return versions.filter((version) => {
@@ -58526,11 +58612,11 @@ var require_ui5_info = __commonJS({
58526
58612
  } else if (version.startsWith("snapshot-")) {
58527
58613
  version = version.replace("snapshot-", "");
58528
58614
  }
58529
- return semver_compare_1.default(version, minVersion) >= 0;
58615
+ return (0, semver_compare_1.default)(version, minVersion) >= 0;
58530
58616
  });
58531
58617
  }
58532
58618
  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"}`) {
58533
- const { system } = ux_odata_client_1.newSapSystemForServiceUrl(url);
58619
+ const { system } = (0, ux_odata_client_1.newSapSystemForServiceUrl)(url);
58534
58620
  system.config.service = service;
58535
58621
  const odataClient = new ux_odata_client_1.ODataClient({
58536
58622
  system: system.config,
@@ -58575,7 +58661,7 @@ var require_ui5_info = __commonJS({
58575
58661
  }
58576
58662
  result2 = versions.map((ver) => {
58577
58663
  var _a2;
58578
- const parsedVersion = (_a2 = semver_1.coerce(ver.version)) == null ? void 0 : _a2.version;
58664
+ const parsedVersion = (_a2 = (0, semver_1.coerce)(ver.version)) == null ? void 0 : _a2.version;
58579
58665
  if (parsedVersion !== void 0) {
58580
58666
  return {
58581
58667
  version: parsedVersion,
@@ -58617,14 +58703,14 @@ var require_ui5_info = __commonJS({
58617
58703
  let officialVersions = [];
58618
58704
  let snapshotVersions = [];
58619
58705
  try {
58620
- officialVersions = (filterOptions == null ? void 0 : filterOptions.onlyNpmVersion) ? await retrieveNpmUI5Versions(filterOptions.fioriElementsVersion || "v2", filterOptions.ui5SelectedVersion) : await exports2.retrieveUI5VersionsCache("officialVersions", filterOptions == null ? void 0 : filterOptions.useCache);
58706
+ 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);
58621
58707
  } catch (error3) {
58622
58708
  logger.warning(`Request to '${"https://ui5.sap.com"}' failed. Error was: '${error3.message}'. Fallback to default UI5 versions`);
58623
58709
  officialVersions = DEFAULT_UI5_VERSIONS.slice();
58624
58710
  }
58625
58711
  if (filterOptions == null ? void 0 : filterOptions.includeSnapshots) {
58626
58712
  try {
58627
- snapshotVersions = await exports2.retrieveUI5VersionsCache("snapshotsVersions", filterOptions == null ? void 0 : filterOptions.useCache);
58713
+ snapshotVersions = await (0, exports2.retrieveUI5VersionsCache)("snapshotsVersions", filterOptions == null ? void 0 : filterOptions.useCache);
58628
58714
  } catch (error3) {
58629
58715
  logger.error(`Request to '${"https://sapui5preview-sapui5.dispatcher.int.sap.eu2.hana.ondemand.com"}' failed. Error was: '${error3.message}'`);
58630
58716
  }
@@ -58660,7 +58746,7 @@ var require_ui5_info = __commonJS({
58660
58746
  }
58661
58747
  let ui5VersionsOverview = void 0;
58662
58748
  if ((filterOptions == null ? void 0 : filterOptions.groupUI5Versions) === true) {
58663
- ui5VersionsOverview = await exports2.retrieveUI5VersionsCache("overview", filterOptions == null ? void 0 : filterOptions.useCache);
58749
+ ui5VersionsOverview = await (0, exports2.retrieveUI5VersionsCache)("overview", filterOptions == null ? void 0 : filterOptions.useCache);
58664
58750
  }
58665
58751
  return filteredUI5Versions.map((ui5) => {
58666
58752
  const ui5Version = {
@@ -58674,7 +58760,7 @@ var require_ui5_info = __commonJS({
58674
58760
  if ((filterOptions == null ? void 0 : filterOptions.groupUI5Versions) === true && ui5VersionsOverview !== void 0) {
58675
58761
  ui5Version.version.maintained = ui5VersionsOverview.some((v) => {
58676
58762
  if (v !== void 0) {
58677
- return `${semver_1.major(v.version)}.${semver_1.minor(v.version)}` === `${semver_1.major(ui5)}.${semver_1.minor(ui5)}` && v.support === types_1.inMaintenance;
58763
+ 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;
58678
58764
  }
58679
58765
  });
58680
58766
  }
@@ -58693,13 +58779,13 @@ var require_ui5_info = __commonJS({
58693
58779
  filteredThemes.push(theme);
58694
58780
  break;
58695
58781
  case "sap_fiori_3_dark":
58696
- (ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_DARK_THEME) >= 0) && filteredThemes.push(theme);
58782
+ (ui5VersionCheck(filteredUi5Version) || (0, semver_compare_1.default)(filteredUi5Version, MIN_UI5_DARK_THEME) >= 0) && filteredThemes.push(theme);
58697
58783
  break;
58698
58784
  case "sap_horizon":
58699
58785
  case "sap_horizon_dark":
58700
58786
  case "sap_horizon_hcw":
58701
58787
  case "sap_horizon_hcb":
58702
- (ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_VERSION_HORIZON_THEME) >= 0) && filteredThemes.push(theme);
58788
+ (ui5VersionCheck(filteredUi5Version) || (0, semver_compare_1.default)(filteredUi5Version, MIN_UI5_VERSION_HORIZON_THEME) >= 0) && filteredThemes.push(theme);
58703
58789
  break;
58704
58790
  }
58705
58791
  }
@@ -58708,7 +58794,7 @@ var require_ui5_info = __commonJS({
58708
58794
  exports2.getUi5Themes = getUi5Themes;
58709
58795
  function getDefaultTheme(ui5Version) {
58710
58796
  if (ui5Version) {
58711
- if (semver_1.coerce(ui5Version) && semver_1.lt(ui5Version, MIN_UI5_VERSION_HORIZON_THEME)) {
58797
+ if ((0, semver_1.coerce)(ui5Version) && (0, semver_1.lt)(ui5Version, MIN_UI5_VERSION_HORIZON_THEME)) {
58712
58798
  return "sap_fiori_3";
58713
58799
  }
58714
58800
  }
@@ -58763,7 +58849,7 @@ var require_ui5_info = __commonJS({
58763
58849
  if (ui5SelectedVersion && ui5SelectedVersion.length) {
58764
58850
  const latestMinIdx = latestVersions.findIndex((v) => v === ui5SelectedVersion);
58765
58851
  if (latestMinIdx === -1) {
58766
- if (semver_compare_1.default(ui5SelectedVersion, latestVersions.slice(-1)[0]) > 0 || ui5SelectedVersion === "Latest" || !semver_1.valid(ui5SelectedVersion)) {
58852
+ if ((0, semver_compare_1.default)(ui5SelectedVersion, latestVersions.slice(-1)[0]) > 0 || ui5SelectedVersion === "Latest" || !(0, semver_1.valid)(ui5SelectedVersion)) {
58767
58853
  latestVersions = latestVersions.slice(0);
58768
58854
  } else {
58769
58855
  latestVersions = latestVersions.slice(-1);
@@ -58813,8 +58899,8 @@ var require_ui5_info = __commonJS({
58813
58899
  exports2.getLatestSapui5Version = getLatestSapui5Version;
58814
58900
  function getSpecTagVersion(ui5Version) {
58815
58901
  if (ui5Version) {
58816
- if (semver_1.valid(ui5Version)) {
58817
- return `UI5-${semver_1.major(ui5Version)}.${semver_1.minor(ui5Version)}`;
58902
+ if ((0, semver_1.valid)(ui5Version)) {
58903
+ return `UI5-${(0, semver_1.major)(ui5Version)}.${(0, semver_1.minor)(ui5Version)}`;
58818
58904
  } else if (ui5Version.includes("snapshot") && ui5Version.includes(".")) {
58819
58905
  const snapshotVersion = ui5Version.split("snapshot-")[1];
58820
58906
  return `UI5-${snapshotVersion}`;
@@ -58914,9 +59000,13 @@ var require_yamlFile = __commonJS({
58914
59000
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
58915
59001
  if (k2 === void 0)
58916
59002
  k2 = k;
58917
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
58918
- return m[k];
58919
- } });
59003
+ var desc = Object.getOwnPropertyDescriptor(m, k);
59004
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
59005
+ desc = { enumerable: true, get: function() {
59006
+ return m[k];
59007
+ } };
59008
+ }
59009
+ Object.defineProperty(o, k2, desc);
58920
59010
  } : function(o, m, k, k2) {
58921
59011
  if (k2 === void 0)
58922
59012
  k2 = k;
@@ -58946,9 +59036,9 @@ var require_yamlFile = __commonJS({
58946
59036
  var file_1 = require_file2();
58947
59037
  var i18n_1 = require_i18n2();
58948
59038
  async function readUi5YamlConfig(dirPath, filename) {
58949
- const filePath = path_1.join(dirPath, filename);
58950
- if (await file_1.fileExists(filePath)) {
58951
- return file_1.readFile(filePath);
59039
+ const filePath = (0, path_1.join)(dirPath, filename);
59040
+ if (await (0, file_1.fileExists)(filePath)) {
59041
+ return (0, file_1.readFile)(filePath);
58952
59042
  } else {
58953
59043
  const error3 = new Error(i18n_1.i18n.t("ERROR_UI5_YAML_MISSING"));
58954
59044
  error3.name = "Ui5MissingError";
@@ -58987,7 +59077,7 @@ var require_yamlFile = __commonJS({
58987
59077
  }
58988
59078
  return parsed;
58989
59079
  } catch (e) {
58990
- throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_PARSING", { filePath: path_1.join(dirPath, filename), parsingError: e.message }));
59080
+ throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_PARSING", { filePath: (0, path_1.join)(dirPath, filename), parsingError: e.message }));
58991
59081
  }
58992
59082
  }
58993
59083
  exports2.getParsedUi5YamlConfig = getParsedUi5YamlConfig;
@@ -59001,9 +59091,13 @@ var require_mockServer = __commonJS({
59001
59091
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
59002
59092
  if (k2 === void 0)
59003
59093
  k2 = k;
59004
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
59005
- return m[k];
59006
- } });
59094
+ var desc = Object.getOwnPropertyDescriptor(m, k);
59095
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
59096
+ desc = { enumerable: true, get: function() {
59097
+ return m[k];
59098
+ } };
59099
+ }
59100
+ Object.defineProperty(o, k2, desc);
59007
59101
  } : function(o, m, k, k2) {
59008
59102
  if (k2 === void 0)
59009
59103
  k2 = k;
@@ -59029,13 +59123,13 @@ var require_mockServer = __commonJS({
59029
59123
  Object.defineProperty(exports2, "__esModule", { value: true });
59030
59124
  exports2.findMockServiceByMetadataPath = exports2.matchMockServiceByMetadataPath = exports2.getMockServicesConfiguration = exports2.getMockServerConfig = void 0;
59031
59125
  var path_1 = require("path");
59032
- var project_spec_1 = require_dist3();
59126
+ var project_spec_1 = require_dist4();
59033
59127
  var yamlFile_1 = require_yamlFile();
59034
59128
  var i18n_1 = require_i18n2();
59035
59129
  var file_1 = require_file2();
59036
59130
  async function getMockServerConfig(cfgFileDir, cfgFileName = project_spec_1.FileName.Ui5MockYaml) {
59037
59131
  var _a2;
59038
- const ui5Config = await yamlFile_1.getParsedUi5YamlConfig(cfgFileDir, cfgFileName);
59132
+ const ui5Config = await (0, yamlFile_1.getParsedUi5YamlConfig)(cfgFileDir, cfgFileName);
59039
59133
  const middlewares = (_a2 = ui5Config.server) == null ? void 0 : _a2.customMiddleware;
59040
59134
  if (middlewares) {
59041
59135
  let mockMW;
@@ -59068,22 +59162,23 @@ var require_mockServer = __commonJS({
59068
59162
  }
59069
59163
  exports2.getMockServicesConfiguration = getMockServicesConfiguration;
59070
59164
  async function readDynamicMockServerConfig(yamlCfgDirPath, mockFolderPath) {
59071
- const configDirPath = path_1.resolve(yamlCfgDirPath, mockFolderPath);
59072
- const jsonConfigPath = path_1.join(configDirPath, "config.json");
59073
- const moduleConfigPath = path_1.join(configDirPath, "config.js");
59074
- const isJSON = await file_1.fileExists(jsonConfigPath);
59165
+ var _a2;
59166
+ const configDirPath = (0, path_1.resolve)(yamlCfgDirPath, mockFolderPath);
59167
+ const jsonConfigPath = (0, path_1.join)(configDirPath, "config.json");
59168
+ const moduleConfigPath = (0, path_1.join)(configDirPath, "config.js");
59169
+ const isJSON = await (0, file_1.fileExists)(jsonConfigPath);
59075
59170
  let services;
59076
59171
  try {
59077
59172
  if (isJSON) {
59078
- services = await file_1.readJSON(jsonConfigPath);
59173
+ services = await (0, file_1.readJSON)(jsonConfigPath);
59079
59174
  } else {
59080
- const dynamicConfig = await Promise.resolve().then(() => __importStar(require(moduleConfigPath)));
59175
+ const dynamicConfig = await (_a2 = moduleConfigPath, Promise.resolve().then(() => __importStar(require(_a2))));
59081
59176
  services = dynamicConfig == null ? void 0 : dynamicConfig.default;
59082
59177
  }
59083
59178
  } catch (e) {
59084
59179
  throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_DYNAMIC_CFG_IMPORT", {
59085
59180
  filePath: isJSON ? jsonConfigPath : moduleConfigPath,
59086
- yamlFile: path_1.join(yamlCfgDirPath, project_spec_1.FileName.Ui5MockYaml)
59181
+ yamlFile: (0, path_1.join)(yamlCfgDirPath, project_spec_1.FileName.Ui5MockYaml)
59087
59182
  }));
59088
59183
  }
59089
59184
  return (services == null ? void 0 : services.length) ? services : null;
@@ -59091,7 +59186,7 @@ var require_mockServer = __commonJS({
59091
59186
  function matchMockServiceByMetadataPath(mockService, path) {
59092
59187
  const { metadataPath } = mockService;
59093
59188
  if (metadataPath) {
59094
- return path.endsWith(path_1.normalize(metadataPath));
59189
+ return path.endsWith((0, path_1.normalize)(metadataPath));
59095
59190
  }
59096
59191
  return false;
59097
59192
  }
@@ -59581,9 +59676,13 @@ var require_utils9 = __commonJS({
59581
59676
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
59582
59677
  if (k2 === void 0)
59583
59678
  k2 = k;
59584
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
59585
- return m[k];
59586
- } });
59679
+ var desc = Object.getOwnPropertyDescriptor(m, k);
59680
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
59681
+ desc = { enumerable: true, get: function() {
59682
+ return m[k];
59683
+ } };
59684
+ }
59685
+ Object.defineProperty(o, k2, desc);
59587
59686
  } : function(o, m, k, k2) {
59588
59687
  if (k2 === void 0)
59589
59688
  k2 = k;
@@ -59614,8 +59713,8 @@ var require_utils9 = __commonJS({
59614
59713
  var fs_1 = require("fs");
59615
59714
  var findit2_1 = __importDefault(require_findit2());
59616
59715
  var fast_xml_parser_1 = __importDefault(require_parser2());
59617
- var project_spec_1 = require_dist3();
59618
- var ux_specification_types_1 = require_dist4();
59716
+ var project_spec_1 = require_dist4();
59717
+ var ux_specification_types_1 = require_dist3();
59619
59718
  var findUp = require_find_up();
59620
59719
  var path_1 = require("path");
59621
59720
  var i18n_1 = require_i18n2();
@@ -59633,11 +59732,11 @@ var require_utils9 = __commonJS({
59633
59732
  if (!pckgJson) {
59634
59733
  throw new Error(`Could not find any project root. Parameter 'sapuxRequired' was ${sapuxRequired ? "true" : "false"}`);
59635
59734
  }
59636
- let root = path_1.dirname(pckgJson);
59735
+ let root = (0, path_1.dirname)(pckgJson);
59637
59736
  if (sapuxRequired) {
59638
- const sapux = (await file_1.readJSON(pckgJson)).sapux;
59737
+ const sapux = (await (0, file_1.readJSON)(pckgJson)).sapux;
59639
59738
  if (!sapux) {
59640
- root = await findProjectRoot(path_1.dirname(root), sapuxRequired);
59739
+ root = await findProjectRoot((0, path_1.dirname)(root), sapuxRequired);
59641
59740
  }
59642
59741
  }
59643
59742
  return root;
@@ -59669,16 +59768,16 @@ var require_utils9 = __commonJS({
59669
59768
  ];
59670
59769
  const fileNames = [project_spec_1.FileName.Pom, project_spec_1.FileName.Package];
59671
59770
  return new Promise((doResolve, reject) => {
59672
- const finder = findit2_1.default(root);
59771
+ const finder = (0, findit2_1.default)(root);
59673
59772
  finder.on("directory", (dir, stat, stop) => {
59674
- const base = path_1.basename(dir);
59773
+ const base = (0, path_1.basename)(dir);
59675
59774
  if (stopFolders.indexOf(base) !== -1) {
59676
59775
  stop();
59677
59776
  }
59678
59777
  });
59679
59778
  finder.on("file", async (file) => {
59680
- if (fileNames.indexOf(path_1.basename(file)) && await capProject_1.isCapProject(path_1.dirname(file))) {
59681
- projects.push(path_1.dirname(file));
59779
+ if (fileNames.indexOf((0, path_1.basename)(file)) && await (0, capProject_1.isCapProject)((0, path_1.dirname)(file))) {
59780
+ projects.push((0, path_1.dirname)(file));
59682
59781
  }
59683
59782
  });
59684
59783
  finder.on("end", () => {
@@ -59692,16 +59791,16 @@ var require_utils9 = __commonJS({
59692
59791
  exports2.findCapProjects = findCapProjects;
59693
59792
  async function findAll(root, filename, results, stopFolders) {
59694
59793
  return new Promise((doResolve, reject) => {
59695
- const finder = findit2_1.default(root);
59794
+ const finder = (0, findit2_1.default)(root);
59696
59795
  finder.on("directory", (dir, stat, stop) => {
59697
- const base = path_1.basename(dir);
59796
+ const base = (0, path_1.basename)(dir);
59698
59797
  if (stopFolders.indexOf(base) !== -1) {
59699
59798
  stop();
59700
59799
  }
59701
59800
  });
59702
59801
  finder.on("file", (file) => {
59703
59802
  if (file.endsWith(filename)) {
59704
- results.push(path_1.dirname(file));
59803
+ results.push((0, path_1.dirname)(file));
59705
59804
  }
59706
59805
  });
59707
59806
  finder.on("end", () => {
@@ -59716,9 +59815,9 @@ var require_utils9 = __commonJS({
59716
59815
  async function findExtensionFiles(root, targetFileName = project_spec_1.FileName.Fragment) {
59717
59816
  const extensionFiles = [];
59718
59817
  return new Promise((doResolve, reject) => {
59719
- const finder = findit2_1.default(root);
59818
+ const finder = (0, findit2_1.default)(root);
59720
59819
  finder.on("directory", (dir, stat, stop) => {
59721
- const base = path_1.basename(dir);
59820
+ const base = (0, path_1.basename)(dir);
59722
59821
  if (base === ".git" || base === "node_modules" || base === "dist" || base === project_spec_1.DirName.Sapux) {
59723
59822
  stop();
59724
59823
  }
@@ -59814,7 +59913,7 @@ var require_utils9 = __commonJS({
59814
59913
  const sapuxProjects = [];
59815
59914
  for (const root of projects) {
59816
59915
  try {
59817
- if ((await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package))).sapux) {
59916
+ if ((await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package))).sapux) {
59818
59917
  sapuxProjects.push(root);
59819
59918
  }
59820
59919
  } catch (error3) {
@@ -59836,21 +59935,21 @@ var require_utils9 = __commonJS({
59836
59935
  exports2.findAllProjectRoots = findAllProjectRoots;
59837
59936
  async function getAppType(appRoot, projectRoot) {
59838
59937
  if (appRoot === projectRoot) {
59839
- const appPckJson = await file_1.readJSON(path_1.join(appRoot, project_spec_1.FileName.Package));
59938
+ const appPckJson = await (0, file_1.readJSON)((0, path_1.join)(appRoot, project_spec_1.FileName.Package));
59840
59939
  if (appPckJson.sapux === true) {
59841
59940
  return "SAP Fiori elements";
59842
- } else if (await file_1.fileExists(path_1.join(appRoot, project_spec_1.FileName.ExtConfigJson))) {
59941
+ } else if (await (0, file_1.fileExists)((0, path_1.join)(appRoot, project_spec_1.FileName.ExtConfigJson))) {
59843
59942
  return "SAPUI5 Extension";
59844
59943
  } else {
59845
59944
  return "SAPUI5 freestyle";
59846
59945
  }
59847
59946
  }
59848
59947
  try {
59849
- const projectPckJson = await file_1.readJSON(path_1.join(projectRoot, project_spec_1.FileName.Package));
59948
+ const projectPckJson = await (0, file_1.readJSON)((0, path_1.join)(projectRoot, project_spec_1.FileName.Package));
59850
59949
  if (!projectPckJson.sapux) {
59851
59950
  return "SAPUI5 freestyle";
59852
59951
  } else if (Array.isArray(projectPckJson.sapux)) {
59853
- return projectPckJson.sapux.find((relAppPath) => path_1.join(projectRoot, ...relAppPath.split(/\\|\//)) === appRoot) ? "SAP Fiori elements" : "SAPUI5 freestyle";
59952
+ return projectPckJson.sapux.find((relAppPath) => (0, path_1.join)(projectRoot, ...relAppPath.split(/\\|\//)) === appRoot) ? "SAP Fiori elements" : "SAPUI5 freestyle";
59854
59953
  }
59855
59954
  } catch {
59856
59955
  return "SAPUI5 freestyle";
@@ -59861,10 +59960,10 @@ var require_utils9 = __commonJS({
59861
59960
  if (appRoot === projectRoot) {
59862
59961
  return "EDMX Backend";
59863
59962
  }
59864
- if (await capProject_1.isCapJavaProject(projectRoot)) {
59963
+ if (await (0, capProject_1.isCapJavaProject)(projectRoot)) {
59865
59964
  return "CAP Java";
59866
59965
  }
59867
- if (await capProject_1.isCapNodeJsProject(projectRoot)) {
59966
+ if (await (0, capProject_1.isCapNodeJsProject)(projectRoot)) {
59868
59967
  return "CAP Node.js";
59869
59968
  }
59870
59969
  throw new Error(i18n_1.i18n.t("ERROR_DETAIL_PROJECT_TYPE", { appRoot, projectRoot }));
@@ -59878,11 +59977,11 @@ var require_utils9 = __commonJS({
59878
59977
  };
59879
59978
  } else if (Array.isArray(sapux)) {
59880
59979
  const pathWithSep = path.endsWith(path_1.sep) ? path : path + path_1.sep;
59881
- const relAppPaths = sapux.map((a) => path_1.join(...a.split(/\\|\//)));
59882
- const relApp = relAppPaths.find((app) => pathWithSep.startsWith(path_1.join(root, app) + path_1.sep));
59980
+ const relAppPaths = sapux.map((a) => (0, path_1.join)(...a.split(/\\|\//)));
59981
+ const relApp = relAppPaths.find((app) => pathWithSep.startsWith((0, path_1.join)(root, app) + path_1.sep));
59883
59982
  if (relApp) {
59884
59983
  return {
59885
- appRoot: path_1.join(root, relApp),
59984
+ appRoot: (0, path_1.join)(root, relApp),
59886
59985
  projectRoot: root
59887
59986
  };
59888
59987
  }
@@ -59895,30 +59994,30 @@ var require_utils9 = __commonJS({
59895
59994
  if (!appRoot) {
59896
59995
  return null;
59897
59996
  }
59898
- const appPckJson = await file_1.readJSON(path_1.join(appRoot, project_spec_1.FileName.Package));
59997
+ const appPckJson = await (0, file_1.readJSON)((0, path_1.join)(appRoot, project_spec_1.FileName.Package));
59899
59998
  if (appPckJson.sapux) {
59900
59999
  return findRootsWithSapux(appPckJson.sapux, path, appRoot);
59901
60000
  }
59902
- if (await capProject_1.isCapProject(appRoot, appPckJson)) {
60001
+ if (await (0, capProject_1.isCapProject)(appRoot, appPckJson)) {
59903
60002
  return null;
59904
60003
  }
59905
- 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")) {
60004
+ 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")) {
59906
60005
  return {
59907
60006
  appRoot,
59908
60007
  projectRoot: appRoot
59909
60008
  };
59910
60009
  }
59911
60010
  try {
59912
- const { root } = path_1.parse(appRoot);
59913
- let projectRoot = path_1.dirname(appRoot);
60011
+ const { root } = (0, path_1.parse)(appRoot);
60012
+ let projectRoot = (0, path_1.dirname)(appRoot);
59914
60013
  while (projectRoot !== root) {
59915
- if (await capProject_1.isCapProject(projectRoot) && path_1.join(projectRoot, "app") !== appRoot) {
60014
+ if (await (0, capProject_1.isCapProject)(projectRoot) && (0, path_1.join)(projectRoot, "app") !== appRoot) {
59916
60015
  return {
59917
60016
  appRoot,
59918
60017
  projectRoot
59919
60018
  };
59920
60019
  }
59921
- projectRoot = path_1.dirname(projectRoot);
60020
+ projectRoot = (0, path_1.dirname)(projectRoot);
59922
60021
  }
59923
60022
  } catch (e) {
59924
60023
  }
@@ -59933,7 +60032,7 @@ var require_utils9 = __commonJS({
59933
60032
  const manifestPaths = await findAllManifest(wsFolders);
59934
60033
  for (const manifestPath of manifestPaths) {
59935
60034
  try {
59936
- const manifest = await file_1.readJSON(path_1.join(manifestPath, project_spec_1.FileName.Manifest));
60035
+ const manifest = await (0, file_1.readJSON)((0, path_1.join)(manifestPath, project_spec_1.FileName.Manifest));
59937
60036
  if (!manifest["sap.app"] || !manifest["sap.app"].id || manifest["sap.app"].type !== "application") {
59938
60037
  continue;
59939
60038
  }
@@ -59953,12 +60052,12 @@ var require_utils9 = __commonJS({
59953
60052
  const roots = await findAllProjectRoots(workspaceRoots, false);
59954
60053
  for (const root of roots) {
59955
60054
  try {
59956
- const packageJson = await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package));
59957
- if ((exports2.hasDependency(packageJson, "@sap/ux-ui5-tooling") || await capProject_1.isCapProject(root, packageJson)) && hasScript(packageJson)) {
60055
+ const packageJson = await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package));
60056
+ if (((0, exports2.hasDependency)(packageJson, "@sap/ux-ui5-tooling") || await (0, capProject_1.isCapProject)(root, packageJson)) && hasScript(packageJson)) {
59958
60057
  result2.push(root);
59959
60058
  }
59960
60059
  } catch (error3) {
59961
- logger == null ? void 0 : logger.info(`Invalid JSON ${path_1.join(root, project_spec_1.FileName.Package)}. Application Modeler will skip this project.`);
60060
+ logger == null ? void 0 : logger.info(`Invalid JSON ${(0, path_1.join)(root, project_spec_1.FileName.Package)}. Application Modeler will skip this project.`);
59962
60061
  continue;
59963
60062
  }
59964
60063
  }
@@ -59966,7 +60065,7 @@ var require_utils9 = __commonJS({
59966
60065
  };
59967
60066
  exports2.findRunnableProjects = findRunnableProjects;
59968
60067
  async function checkPackageJson(root, dependency, sapux) {
59969
- const packageJson = await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package));
60068
+ const packageJson = await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package));
59970
60069
  if (packageJson.dependencies && packageJson.dependencies[dependency] !== void 0 || packageJson.devDependencies && packageJson.devDependencies[dependency] !== void 0) {
59971
60070
  return true;
59972
60071
  }
@@ -60010,17 +60109,17 @@ var require_utils9 = __commonJS({
60010
60109
  exports2.getMainService = getMainService;
60011
60110
  function createApplicationStructureConfig(appFolder, manifest, sync) {
60012
60111
  return {
60013
- manifest: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.FileName.Manifest),
60014
- changes: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Changes),
60015
- app: sync ? path_1.join(appFolder, project_spec_1.DirName.Sapux, project_spec_1.FileName.App) : void 0,
60016
- i18n: getI18nPath(path_1.join(appFolder, project_spec_1.DirName.Webapp), manifest),
60112
+ manifest: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.FileName.Manifest),
60113
+ changes: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Changes),
60114
+ app: sync ? (0, path_1.join)(appFolder, project_spec_1.DirName.Sapux, project_spec_1.FileName.App) : void 0,
60115
+ i18n: getI18nPath((0, path_1.join)(appFolder, project_spec_1.DirName.Webapp), manifest),
60017
60116
  mainService: getMainService(manifest),
60018
60117
  services: {},
60019
60118
  annotations: {},
60020
- ext: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext),
60021
- controller: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Controller),
60022
- view: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.View),
60023
- fragment: path_1.join(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Fragment)
60119
+ ext: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext),
60120
+ controller: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Controller),
60121
+ view: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.View),
60122
+ fragment: (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, project_spec_1.DirName.Ext, project_spec_1.DirName.Fragment)
60024
60123
  };
60025
60124
  }
60026
60125
  exports2.createApplicationStructureConfig = createApplicationStructureConfig;
@@ -60034,18 +60133,18 @@ var require_utils9 = __commonJS({
60034
60133
  };
60035
60134
  const appServices = project.apps[appFolder].services;
60036
60135
  if (services[name].settings) {
60037
- 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) : "";
60136
+ 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) : "";
60038
60137
  if (services[name].settings.annotations) {
60039
60138
  project.apps[appFolder].annotations[name] = project.apps[appFolder].annotations[name] || [];
60040
60139
  for (const id of services[name].settings.annotations) {
60041
60140
  const annotation = services[id];
60042
60141
  if (annotation) {
60043
60142
  if (!annotation.uri || annotation.settings && annotation.uri === annotation.settings.localUri) {
60044
- project.apps[appFolder].annotations[name].push(path_1.join(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri));
60143
+ project.apps[appFolder].annotations[name].push((0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri));
60045
60144
  } else {
60046
60145
  appServices[name].annotations = {
60047
60146
  uri: annotation.uri,
60048
- local: annotation.settings && annotation.settings.localUri ? path_1.join(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri) : void 0
60147
+ local: annotation.settings && annotation.settings.localUri ? (0, path_1.join)(appFolder, project_spec_1.DirName.Webapp, annotation.settings.localUri) : void 0
60049
60148
  };
60050
60149
  if (appServices[name].annotations.local) {
60051
60150
  project.apps[appFolder].annotations[name].push(appServices[name].annotations.local);
@@ -60080,14 +60179,14 @@ var require_utils9 = __commonJS({
60080
60179
  }
60081
60180
  exports2.getAppConfig = getAppConfig;
60082
60181
  async function readAppJson(path, includePageConfigs = true) {
60083
- const app = await file_1.readJSON(path);
60182
+ const app = await (0, file_1.readJSON)(path);
60084
60183
  if (includePageConfigs) {
60085
60184
  const pagesDirectory = path.replace(project_spec_1.FileName.App, project_spec_1.DirName.Pages);
60086
- const pageFiles = await file_1.readDirectory(pagesDirectory);
60185
+ const pageFiles = await (0, file_1.readDirectory)(pagesDirectory);
60087
60186
  for (const file of pageFiles) {
60088
60187
  const id = file.replace(".json", "");
60089
60188
  if (app.pages[id]) {
60090
- app.pages[id].config = await file_1.readJSON(path_1.join(pagesDirectory, file));
60189
+ app.pages[id].config = await (0, file_1.readJSON)((0, path_1.join)(pagesDirectory, file));
60091
60190
  }
60092
60191
  }
60093
60192
  }
@@ -60104,15 +60203,15 @@ var require_utils9 = __commonJS({
60104
60203
  relativePath = i18nModel.settings.bundleUrl;
60105
60204
  } else if ("settings" in i18nModel && typeof i18nModel.settings === "object" && "bundleName" in i18nModel.settings && typeof i18nModel.settings.bundleName === "string") {
60106
60205
  const relBundleString = i18nModel.settings.bundleName.replace(manifest["sap.app"].id, "");
60107
- relativePath = `${path_1.join(...relBundleString.split("."))}.properties`;
60206
+ relativePath = `${(0, path_1.join)(...relBundleString.split("."))}.properties`;
60108
60207
  } else if (typeof ((_c = manifest == null ? void 0 : manifest["sap.app"]) == null ? void 0 : _c["i18n"]) === "string") {
60109
60208
  relativePath = manifest["sap.app"]["i18n"];
60110
60209
  }
60111
- return relativePath ? path_1.join(manifestFolder, relativePath) : void 0;
60210
+ return relativePath ? (0, path_1.join)(manifestFolder, relativePath) : void 0;
60112
60211
  }
60113
60212
  exports2.getI18nPath = getI18nPath;
60114
60213
  async function traverseI18nProperties(path, fnCallback) {
60115
- const i18nFile = await file_1.readFile(path);
60214
+ const i18nFile = await (0, file_1.readFile)(path);
60116
60215
  const lines = i18nFile.split(/\r\n|\n/);
60117
60216
  for (let i = 0; i < lines.length; i++) {
60118
60217
  const line = lines[i];
@@ -60174,7 +60273,7 @@ var require_utils9 = __commonJS({
60174
60273
  output3.push(`${key}=${value}${os_1.default.EOL}`);
60175
60274
  }
60176
60275
  }
60177
- await file_1.updateFile(path, output3.join(os_1.default.EOL));
60276
+ await (0, file_1.updateFile)(path, output3.join(os_1.default.EOL));
60178
60277
  }
60179
60278
  exports2.updateI18nProperties = updateI18nProperties;
60180
60279
  async function findI18nProperty(path, key) {
@@ -60192,11 +60291,11 @@ var require_utils9 = __commonJS({
60192
60291
  }
60193
60292
  exports2.findI18nProperty = findI18nProperty;
60194
60293
  async function getProjectTypeFromProjectFiles(projectRoot, packageJson) {
60195
- return await capProject_1.isCapProject(projectRoot, packageJson) ? "Cap" : "Edmx";
60294
+ return await (0, capProject_1.isCapProject)(projectRoot, packageJson) ? "Cap" : "Edmx";
60196
60295
  }
60197
60296
  exports2.getProjectTypeFromProjectFiles = getProjectTypeFromProjectFiles;
60198
60297
  async function getProjectType(root) {
60199
- const packageJson = await file_1.readJSON(path_1.join(root, project_spec_1.FileName.Package));
60298
+ const packageJson = await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package));
60200
60299
  return getProjectTypeFromProjectFiles(root, packageJson);
60201
60300
  }
60202
60301
  exports2.getProjectType = getProjectType;
@@ -60227,7 +60326,7 @@ var require_utils9 = __commonJS({
60227
60326
  var _a2, _b, _c;
60228
60327
  let pathInYaml;
60229
60328
  let backEndConfig;
60230
- const yamlContent = await file_1.readFile(path_1.join(root, fileName));
60329
+ const yamlContent = await (0, file_1.readFile)((0, path_1.join)(root, fileName));
60231
60330
  const middlewares = (_b = (_a2 = yaml.parse(yamlContent)) == null ? void 0 : _a2.server) == null ? void 0 : _b.customMiddleware;
60232
60331
  const middleware = middlewares == null ? void 0 : middlewares.find((element) => element.name === middlewareName);
60233
60332
  const backends = (_c = middleware == null ? void 0 : middleware.configuration) == null ? void 0 : _c.backend;
@@ -60251,15 +60350,15 @@ var require_utils9 = __commonJS({
60251
60350
  exports2.getBackendConfigByPath = getBackendConfigByPath;
60252
60351
  async function getUi5CustomMiddleware(root) {
60253
60352
  var _a2, _b;
60254
- const yamlContent = await file_1.readFile(path_1.join(root, project_spec_1.FileName.Ui5Yaml));
60353
+ const yamlContent = await (0, file_1.readFile)((0, path_1.join)(root, project_spec_1.FileName.Ui5Yaml));
60255
60354
  const middlewares = (_b = (_a2 = yaml.parse(yamlContent)) == null ? void 0 : _a2.server) == null ? void 0 : _b.customMiddleware;
60256
60355
  return middlewares == null ? void 0 : middlewares.find((element) => element.name === "fiori-tools-proxy");
60257
60356
  }
60258
60357
  exports2.getUi5CustomMiddleware = getUi5CustomMiddleware;
60259
60358
  async function getLocalUI5Version(root) {
60260
- const yamlFile = path_1.join(root, project_spec_1.FileName.Ui5LocalYaml);
60261
- if (await file_1.fileExists(yamlFile)) {
60262
- const yamlContent = yaml.parse(await file_1.readFile(yamlFile));
60359
+ const yamlFile = (0, path_1.join)(root, project_spec_1.FileName.Ui5LocalYaml);
60360
+ if (await (0, file_1.fileExists)(yamlFile)) {
60361
+ const yamlContent = yaml.parse(await (0, file_1.readFile)(yamlFile));
60263
60362
  return yamlContent.framework && yamlContent.framework.version;
60264
60363
  }
60265
60364
  }
@@ -60269,14 +60368,14 @@ var require_utils9 = __commonJS({
60269
60368
  var _a2, _b;
60270
60369
  try {
60271
60370
  let ui5Version = "latest";
60272
- const webappPath = await webapp_1.getUi5CustomWebappPath(root);
60273
- const manifestFile = path_1.join(root, webappPath, project_spec_1.FileName.Manifest);
60274
- if (await file_1.fileExists(manifestFile)) {
60275
- const manifest = await file_1.readJSON(manifestFile);
60371
+ const webappPath = await (0, webapp_1.getUi5CustomWebappPath)(root);
60372
+ const manifestFile = (0, path_1.join)(root, webappPath, project_spec_1.FileName.Manifest);
60373
+ if (await (0, file_1.fileExists)(manifestFile)) {
60374
+ const manifest = await (0, file_1.readJSON)(manifestFile);
60276
60375
  ui5Version = (_b = (_a2 = manifest["sap.ui5"]) == null ? void 0 : _a2.dependencies) == null ? void 0 : _b.minUI5Version;
60277
60376
  if (isNaN(parseFloat(ui5Version))) {
60278
60377
  if (latestSapui5Version === void 0) {
60279
- latestSapui5Version = await ux_ui5_info_1.getLatestSapui5Version();
60378
+ latestSapui5Version = await (0, ux_ui5_info_1.getLatestSapui5Version)();
60280
60379
  }
60281
60380
  ui5Version = latestSapui5Version;
60282
60381
  }
@@ -60288,9 +60387,9 @@ var require_utils9 = __commonJS({
60288
60387
  }
60289
60388
  exports2.getUI5Version = getUI5Version;
60290
60389
  async function checkServeLocalConfig(root) {
60291
- const yamlFile = path_1.join(root, project_spec_1.FileName.Ui5LocalYaml);
60292
- if (await file_1.fileExists(yamlFile)) {
60293
- const yamlContent = yaml.parse(await file_1.readFile(yamlFile));
60390
+ const yamlFile = (0, path_1.join)(root, project_spec_1.FileName.Ui5LocalYaml);
60391
+ if (await (0, file_1.fileExists)(yamlFile)) {
60392
+ const yamlContent = yaml.parse(await (0, file_1.readFile)(yamlFile));
60294
60393
  const middlewares = yamlContent.server.customMiddleware;
60295
60394
  const serveLocal = middlewares.find((element) => element.name === "fiori-tools-servestatic");
60296
60395
  if (serveLocal) {
@@ -60306,8 +60405,8 @@ var require_utils9 = __commonJS({
60306
60405
  function getAppIdForFile(filepath, projectRoot, appIds) {
60307
60406
  let appId = "";
60308
60407
  appIds.forEach((appIdTmp) => {
60309
- const relativeStr = path_1.relative(path_1.join(projectRoot, appIdTmp), filepath);
60310
- if (relativeStr && !relativeStr.startsWith("..") && !path_1.isAbsolute(relativeStr)) {
60408
+ const relativeStr = (0, path_1.relative)((0, path_1.join)(projectRoot, appIdTmp), filepath);
60409
+ if (relativeStr && !relativeStr.startsWith("..") && !(0, path_1.isAbsolute)(relativeStr)) {
60311
60410
  appId = appIdTmp;
60312
60411
  }
60313
60412
  });
@@ -60321,11 +60420,11 @@ var require_utils9 = __commonJS({
60321
60420
  exports2.isOVPProject = isOVPProject;
60322
60421
  async function deleteCapApp(appPath, logger) {
60323
60422
  var _a2;
60324
- const appName = path_1.basename(appPath);
60423
+ const appName = (0, path_1.basename)(appPath);
60325
60424
  const projectRoot = await findProjectRoot(appPath);
60326
- const packageJsonPath = path_1.join(projectRoot, project_spec_1.FileName.Package);
60327
- const packageJson = await file_1.readJSON(packageJsonPath);
60328
- 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)];
60425
+ const packageJsonPath = (0, path_1.join)(projectRoot, project_spec_1.FileName.Package);
60426
+ const packageJson = await (0, file_1.readJSON)(packageJsonPath);
60427
+ 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)];
60329
60428
  if (!Array.isArray(packageJson.sapux)) {
60330
60429
  logger == null ? void 0 : logger.error(i18n_1.i18n.t("ERROR_DEL_CAP_APP_SAPUX", { packageJsonPath }));
60331
60430
  throw Error(i18n_1.i18n.t("ERROR_DEL_CAP_APP_SAPUX", { packageJsonPath }));
@@ -60340,23 +60439,23 @@ var require_utils9 = __commonJS({
60340
60439
  if ((_a2 = packageJson.scripts) == null ? void 0 : _a2[`watch-${appName}`]) {
60341
60440
  delete packageJson.scripts[`watch-${appName}`];
60342
60441
  }
60343
- await file_1.updateJSON(packageJsonPath, packageJson);
60442
+ await (0, file_1.updateJSON)(packageJsonPath, packageJson);
60344
60443
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_FILE_UPDATED", { packageJsonPath }));
60345
- await file_1.deleteDirectory(appPath);
60444
+ await (0, file_1.deleteDirectory)(appPath);
60346
60445
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_DIR_DELETED", { appPath }));
60347
60446
  const usingEntry = `using from './${appName}/annotations';`;
60348
60447
  for (const cdsFilePath of cdsFilePaths) {
60349
- if (await file_1.fileExists(cdsFilePath)) {
60448
+ if (await (0, file_1.fileExists)(cdsFilePath)) {
60350
60449
  try {
60351
- let cdsFile = await file_1.readFile(cdsFilePath);
60450
+ let cdsFile = await (0, file_1.readFile)(cdsFilePath);
60352
60451
  if (cdsFile.indexOf(usingEntry) !== -1) {
60353
60452
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_DELETE_USING", { appName, cdsFilePath }));
60354
60453
  cdsFile = cdsFile.replace(usingEntry, "");
60355
60454
  if (cdsFile.replace(/\n/g, "").trim() === "") {
60356
60455
  logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_DEL_CDS", { cdsFilePath }));
60357
- await file_1.deleteFile(cdsFilePath);
60456
+ await (0, file_1.deleteFile)(cdsFilePath);
60358
60457
  } else {
60359
- await file_1.updateFile(cdsFilePath, cdsFile);
60458
+ await (0, file_1.updateFile)(cdsFilePath, cdsFile);
60360
60459
  }
60361
60460
  }
60362
60461
  } catch (error3) {
@@ -60364,9 +60463,9 @@ var require_utils9 = __commonJS({
60364
60463
  }
60365
60464
  }
60366
60465
  }
60367
- if ((await file_1.readDirectory(path_1.dirname(appPath))).length === 0) {
60368
- logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_FOLDER_EMPTY", { appPath: path_1.dirname(appPath) }));
60369
- await file_1.deleteDirectory(path_1.dirname(appPath));
60466
+ if ((await (0, file_1.readDirectory)((0, path_1.dirname)(appPath))).length === 0) {
60467
+ logger == null ? void 0 : logger.info(i18n_1.i18n.t("INFO_DEL_CAP_APP_FOLDER_EMPTY", { appPath: (0, path_1.dirname)(appPath) }));
60468
+ await (0, file_1.deleteDirectory)((0, path_1.dirname)(appPath));
60370
60469
  }
60371
60470
  }
60372
60471
  exports2.deleteCapApp = deleteCapApp;
@@ -60375,7 +60474,7 @@ var require_utils9 = __commonJS({
60375
60474
  let appId = manifest["sap.app"].id;
60376
60475
  if (appId === project_spec_1.AppPomXmlArtifactIdPlaceholder) {
60377
60476
  try {
60378
- const pomFile = await file_1.readFile(path_1.join(projectRoot, "pom.xml"));
60477
+ const pomFile = await (0, file_1.readFile)((0, path_1.join)(projectRoot, "pom.xml"));
60379
60478
  const pomXml = fast_xml_parser_1.default.parse(pomFile);
60380
60479
  if ((_a2 = pomXml.project) == null ? void 0 : _a2.artifactId) {
60381
60480
  appId = pomXml.project.artifactId;
@@ -60383,7 +60482,7 @@ var require_utils9 = __commonJS({
60383
60482
  throw new Error();
60384
60483
  }
60385
60484
  } catch (error3) {
60386
- appId = path_1.basename(projectRoot);
60485
+ appId = (0, path_1.basename)(projectRoot);
60387
60486
  }
60388
60487
  }
60389
60488
  return appId;
@@ -60391,48 +60490,48 @@ var require_utils9 = __commonJS({
60391
60490
  exports2.getApplicationId = getApplicationId;
60392
60491
  function getCapAppMockdataDirPath(projectRoot) {
60393
60492
  const capMockdataDirPaths = [
60394
- path_1.join(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Csv),
60395
- path_1.join(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Sapux, project_spec_1.DirName.Csv)
60493
+ (0, path_1.join)(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Csv),
60494
+ (0, path_1.join)(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Sapux, project_spec_1.DirName.Csv)
60396
60495
  ];
60397
60496
  for (const path of capMockdataDirPaths) {
60398
- if (fs_1.existsSync(path)) {
60497
+ if ((0, fs_1.existsSync)(path)) {
60399
60498
  return path;
60400
60499
  }
60401
60500
  }
60402
- return path_1.join(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Data);
60501
+ return (0, path_1.join)(projectRoot, project_spec_1.DirName.Db, project_spec_1.DirName.Data);
60403
60502
  }
60404
60503
  exports2.getCapAppMockdataDirPath = getCapAppMockdataDirPath;
60405
60504
  function getEdmxAppDefaultMockdataDirPath(appRoot) {
60406
- return path_1.join(appRoot, project_spec_1.DirName.Webapp, project_spec_1.DirName.LocalService, project_spec_1.DirName.Data);
60505
+ return (0, path_1.join)(appRoot, project_spec_1.DirName.Webapp, project_spec_1.DirName.LocalService, project_spec_1.DirName.Data);
60407
60506
  }
60408
60507
  exports2.getEdmxAppDefaultMockdataDirPath = getEdmxAppDefaultMockdataDirPath;
60409
60508
  async function tryGetEdmxAppMockServiceMockdataDir(configDir, serviceMetadataPath) {
60410
- const config = await ui5Config_1.getMockServerConfig(configDir);
60509
+ const config = await (0, ui5Config_1.getMockServerConfig)(configDir);
60411
60510
  if (config) {
60412
- const { services, mockFolder } = await ui5Config_1.getMockServicesConfiguration(configDir, config);
60511
+ const { services, mockFolder } = await (0, ui5Config_1.getMockServicesConfiguration)(configDir, config);
60413
60512
  if (services) {
60414
- const mockService = ui5Config_1.findMockServiceByMetadataPath(services, serviceMetadataPath);
60513
+ const mockService = (0, ui5Config_1.findMockServiceByMetadataPath)(services, serviceMetadataPath);
60415
60514
  if (mockService == null ? void 0 : mockService.mockdataPath) {
60416
- const servicesConfigFilePath = mockFolder ? path_1.resolve(configDir, mockFolder) : configDir;
60417
- return path_1.resolve(servicesConfigFilePath, mockService.mockdataPath);
60515
+ const servicesConfigFilePath = mockFolder ? (0, path_1.resolve)(configDir, mockFolder) : configDir;
60516
+ return (0, path_1.resolve)(servicesConfigFilePath, mockService.mockdataPath);
60418
60517
  }
60419
60518
  }
60420
60519
  }
60421
60520
  }
60422
60521
  exports2.tryGetEdmxAppMockServiceMockdataDir = tryGetEdmxAppMockServiceMockdataDir;
60423
60522
  async function isAdaptationProject(projectRoot) {
60424
- const adpConfigJsonPath = path_1.join(projectRoot, ".adp", "config.json");
60425
- return file_1.fileExists(adpConfigJsonPath);
60523
+ const adpConfigJsonPath = (0, path_1.join)(projectRoot, ".adp", "config.json");
60524
+ return (0, file_1.fileExists)(adpConfigJsonPath);
60426
60525
  }
60427
60526
  exports2.isAdaptationProject = isAdaptationProject;
60428
60527
  function getAdditionalEntitySetsFromManifest(json) {
60429
60528
  const jsonPathTargetsPattern = `$['sap.ui5'].routing.targets`;
60430
60529
  const jsonPathEntitySetsPattern = `options.settings.views.paths.*.entitySet`;
60431
- const pages = jsonpath_plus_1.JSONPath({ path: jsonPathTargetsPattern, json })[0];
60530
+ const pages = (0, jsonpath_plus_1.JSONPath)({ path: jsonPathTargetsPattern, json })[0];
60432
60531
  const additionalEntitySets = {};
60433
60532
  for (const pageId in pages) {
60434
60533
  const page = pages[pageId];
60435
- const viewEntitySets = jsonpath_plus_1.JSONPath({
60534
+ const viewEntitySets = (0, jsonpath_plus_1.JSONPath)({
60436
60535
  path: jsonPathEntitySetsPattern,
60437
60536
  json: page
60438
60537
  });
@@ -60662,7 +60761,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
60662
60761
  async function getCommonProperties() {
60663
60762
  const commonProperties = {};
60664
60763
  commonProperties[types_1.CommonProperties.DevSpace] = await getSbasDevspace();
60665
- commonProperties[types_1.CommonProperties.AppStudio] = ux_common_utils_1.isAppStudio();
60764
+ commonProperties[types_1.CommonProperties.AppStudio] = (0, ux_common_utils_1.isAppStudio)();
60666
60765
  commonProperties[types_1.CommonProperties.AppStudioBackwardCompatible] = commonProperties[types_1.CommonProperties.AppStudio];
60667
60766
  commonProperties[types_1.CommonProperties.InternlVsExternal] = getInternalVsExternal();
60668
60767
  commonProperties[types_1.CommonProperties.InternlVsExternalBackwardCompatible] = commonProperties[types_1.CommonProperties.InternlVsExternal];
@@ -60671,7 +60770,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
60671
60770
  exports2.getCommonProperties = getCommonProperties;
60672
60771
  async function getSbasDevspace() {
60673
60772
  var _a2, _b;
60674
- if (ux_common_utils_1.isAppStudio()) {
60773
+ if ((0, ux_common_utils_1.isAppStudio)()) {
60675
60774
  try {
60676
60775
  const h20Url = process.env.H2O_URL;
60677
60776
  const workspaceId = process.env.WORKSPACE_ID.replace("workspaces-", "");
@@ -60725,13 +60824,13 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
60725
60824
  try {
60726
60825
  let projectRoot;
60727
60826
  try {
60728
- projectRoot = await utils_1.findProjectRoot(appPath);
60827
+ projectRoot = await (0, utils_1.findProjectRoot)(appPath);
60729
60828
  } catch {
60730
60829
  }
60731
60830
  if (!projectRoot) {
60732
60831
  try {
60733
60832
  const appParentFolder = path_1.default.dirname(appPath);
60734
- projectRoot = await utils_1.findProjectRoot(appParentFolder, false);
60833
+ projectRoot = await (0, utils_1.findProjectRoot)(appParentFolder, false);
60735
60834
  } catch (e) {
60736
60835
  }
60737
60836
  }
@@ -60739,17 +60838,17 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
60739
60838
  if (!projectRoot) {
60740
60839
  const directParentFolder = path_1.default.dirname(appPath);
60741
60840
  const twoLevelUpParentFolder = path_1.default.dirname(directParentFolder);
60742
- isCapJavaWithoutPackageJson = await capProject_1.isCapJavaProject(twoLevelUpParentFolder);
60841
+ isCapJavaWithoutPackageJson = await (0, capProject_1.isCapJavaProject)(twoLevelUpParentFolder);
60743
60842
  projectRoot = isCapJavaWithoutPackageJson ? twoLevelUpParentFolder : appPath;
60744
60843
  }
60745
60844
  if (isCapJavaWithoutPackageJson) {
60746
60845
  return types_1.ODataSource.CAPJava;
60747
60846
  }
60748
- const projectType = await utils_1.getProjectType(projectRoot);
60847
+ const projectType = await (0, utils_1.getProjectType)(projectRoot);
60749
60848
  if (projectType === "Cap") {
60750
- if (await capProject_1.isCapJavaProject(projectRoot)) {
60849
+ if (await (0, capProject_1.isCapJavaProject)(projectRoot)) {
60751
60850
  return types_1.ODataSource.CAPJava;
60752
- } else if (await capProject_1.isCapNodeJsProject(projectRoot)) {
60851
+ } else if (await (0, capProject_1.isCapNodeJsProject)(projectRoot)) {
60753
60852
  return types_1.ODataSource.CAPNode;
60754
60853
  }
60755
60854
  } else if (projectType === "Edmx") {
@@ -60782,7 +60881,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
60782
60881
  return types_1.DeployTarget.NO_DEPLOY_CONFIG;
60783
60882
  }
60784
60883
  function getInternalVsExternal() {
60785
- return ux_feature_toggle_1.isInternalFeaturesSettingEnabled() ? "internal" : "external";
60884
+ return (0, ux_feature_toggle_1.isInternalFeaturesSettingEnabled)() ? "internal" : "external";
60786
60885
  }
60787
60886
  async function getToolsId(appPath) {
60788
60887
  var _a2, _b, _c;
@@ -79861,7 +79960,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
79861
79960
  var definePath = (paths) => {
79862
79961
  const platform = process.platform;
79863
79962
  let settingsPath = paths[platform];
79864
- if (ux_common_utils_1.isAppStudio()) {
79963
+ if ((0, ux_common_utils_1.isAppStudio)()) {
79865
79964
  settingsPath = paths.theia;
79866
79965
  }
79867
79966
  if (!settingsPath) {
@@ -79872,20 +79971,20 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
79872
79971
  return path_1.default.join(homedir, settingsPath);
79873
79972
  };
79874
79973
  var setEnableTelemetry = async (enableTelemetry) => {
79875
- const storeService = await store_1.getService({
79974
+ const storeService = await (0, store_1.getService)({
79876
79975
  entityName: "telemetrySetting"
79877
79976
  });
79878
79977
  const setting = new store_1.TelemetrySetting({ enableTelemetry });
79879
79978
  await storeService.write(setting);
79880
79979
  system_1.TelemetrySystem.telemetryEnabled = enableTelemetry;
79881
- const commonProperties = await toolsSuiteTelemetryDataProcessor_1.getCommonProperties();
79882
- reporting_1.reportEnableTelemetryOnOff(enableTelemetry, commonProperties);
79980
+ const commonProperties = await (0, toolsSuiteTelemetryDataProcessor_1.getCommonProperties)();
79981
+ (0, reporting_1.reportEnableTelemetryOnOff)(enableTelemetry, commonProperties);
79883
79982
  };
79884
79983
  exports2.setEnableTelemetry = setEnableTelemetry;
79885
79984
  var getTelemetrySetting = async () => {
79886
79985
  let setting;
79887
79986
  try {
79888
- const storeService = await store_1.getService({
79987
+ const storeService = await (0, store_1.getService)({
79889
79988
  entityName: "telemetrySetting"
79890
79989
  });
79891
79990
  setting = await storeService.read(new store_1.TelemetrySettingKey());
@@ -79895,7 +79994,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
79895
79994
  };
79896
79995
  exports2.getTelemetrySetting = getTelemetrySetting;
79897
79996
  var readEnableTelemetryFromSetting = async () => {
79898
- const storeService = await store_1.getService({
79997
+ const storeService = await (0, store_1.getService)({
79899
79998
  entityName: "telemetrySetting"
79900
79999
  });
79901
80000
  let setting;
@@ -79906,7 +80005,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
79906
80005
  if (!setting) {
79907
80006
  const deprecatedSettingPath = definePath(settingPaths);
79908
80007
  if (!deprecatedSettingPath) {
79909
- exports2.setEnableTelemetry(true);
80008
+ (0, exports2.setEnableTelemetry)(true);
79910
80009
  } else {
79911
80010
  let content;
79912
80011
  try {
@@ -79917,27 +80016,27 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
79917
80016
  return (_a2 = deprecatedSetting[propKey]) != null ? _a2 : true;
79918
80017
  });
79919
80018
  const deprecatedEnableTelemetrySetting = propValues.reduce((prevValue, currentValue) => prevValue && currentValue);
79920
- exports2.setEnableTelemetry(deprecatedEnableTelemetrySetting);
80019
+ (0, exports2.setEnableTelemetry)(deprecatedEnableTelemetrySetting);
79921
80020
  } catch {
79922
- exports2.setEnableTelemetry(true);
80021
+ (0, exports2.setEnableTelemetry)(true);
79923
80022
  }
79924
80023
  }
79925
80024
  } else {
79926
80025
  system_1.TelemetrySystem.telemetryEnabled = setting.enableTelemetry;
79927
80026
  }
79928
80027
  if (system_1.TelemetrySystem.WORKSTREAM === "extension") {
79929
- store_1.getFilesystemWatcherFor(store_1.Entity.TelemetrySetting, async () => {
80028
+ (0, store_1.getFilesystemWatcherFor)(store_1.Entity.TelemetrySetting, async () => {
79930
80029
  const watchedSetting = await storeService.read(new store_1.TelemetrySettingKey());
79931
80030
  system_1.TelemetrySystem.telemetryEnabled = watchedSetting.enableTelemetry;
79932
80031
  });
79933
80032
  }
79934
80033
  };
79935
80034
  var initToolsSuiteTelemetrySettings = async () => {
79936
- cloudDebugger_1.debug("start initTelemetrySettings");
80035
+ (0, cloudDebugger_1.debug)("start initTelemetrySettings");
79937
80036
  if (!system_1.TelemetrySystem.WORKSTREAM) {
79938
80037
  throw new Error("Workstream is undefined");
79939
80038
  }
79940
- cloudDebugger_1.debug(`workstream: ${system_1.TelemetrySystem.WORKSTREAM}`);
80039
+ (0, cloudDebugger_1.debug)(`workstream: ${system_1.TelemetrySystem.WORKSTREAM}`);
79941
80040
  system_1.TelemetrySystem.telemetryEnabled = true;
79942
80041
  await readEnableTelemetryFromSetting();
79943
80042
  };
@@ -79954,7 +80053,7 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
79954
80053
  await initToolsSuiteTelemetrySettings();
79955
80054
  }
79956
80055
  } catch (err) {
79957
- reporting_1.reportRuntimeError(err);
80056
+ (0, reporting_1.reportRuntimeError)(err);
79958
80057
  }
79959
80058
  };
79960
80059
  exports2.initTelemetrySettings = initTelemetrySettings2;
@@ -79968,9 +80067,13 @@ var require_toolsSuiteTelemetry = __commonJS({
79968
80067
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
79969
80068
  if (k2 === void 0)
79970
80069
  k2 = k;
79971
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
79972
- return m[k];
79973
- } });
80070
+ var desc = Object.getOwnPropertyDescriptor(m, k);
80071
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
80072
+ desc = { enumerable: true, get: function() {
80073
+ return m[k];
80074
+ } };
80075
+ }
80076
+ Object.defineProperty(o, k2, desc);
79974
80077
  } : function(o, m, k, k2) {
79975
80078
  if (k2 === void 0)
79976
80079
  k2 = k;
@@ -80000,9 +80103,13 @@ var require_client3 = __commonJS({
80000
80103
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
80001
80104
  if (k2 === void 0)
80002
80105
  k2 = k;
80003
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
80004
- return m[k];
80005
- } });
80106
+ var desc = Object.getOwnPropertyDescriptor(m, k);
80107
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
80108
+ desc = { enumerable: true, get: function() {
80109
+ return m[k];
80110
+ } };
80111
+ }
80112
+ Object.defineProperty(o, k2, desc);
80006
80113
  } : function(o, m, k, k2) {
80007
80114
  if (k2 === void 0)
80008
80115
  k2 = k;
@@ -80093,15 +80200,15 @@ var require_entries = __commonJS({
80093
80200
  exports2.Measurement = exports2.Mark = void 0;
80094
80201
  var types_1 = require_types8();
80095
80202
  var Mark = class {
80203
+ getStartTime() {
80204
+ return this.startTime;
80205
+ }
80096
80206
  constructor(name, type, startTime) {
80097
80207
  this.startTime = startTime;
80098
80208
  this.name = name;
80099
80209
  this.startTime = startTime;
80100
80210
  this.type = type;
80101
80211
  }
80102
- getStartTime() {
80103
- return this.startTime;
80104
- }
80105
80212
  };
80106
80213
  exports2.Mark = Mark;
80107
80214
  var Measurement = class extends Mark {
@@ -80253,7 +80360,7 @@ var require_paramProcessing = __commonJS({
80253
80360
  while (i < pathArr.length) {
80254
80361
  node = node[pathArr[i]];
80255
80362
  if (node === void 0) {
80256
- throw exports2.wrongPathErr(field, paramIndex);
80363
+ throw (0, exports2.wrongPathErr)(field, paramIndex);
80257
80364
  }
80258
80365
  i++;
80259
80366
  }
@@ -80272,7 +80379,7 @@ var require_paramProcessing = __commonJS({
80272
80379
  if (typeof instructions.value === "string") {
80273
80380
  val = instructions.value;
80274
80381
  } else if (instructions.value !== void 0 && instructions.paramIndex !== void 0) {
80275
- val = exports2.getValue(param, instructions.value.path, "val", instructions.paramIndex);
80382
+ val = (0, exports2.getValue)(param, instructions.value.path, "val", instructions.paramIndex);
80276
80383
  } else {
80277
80384
  val = param;
80278
80385
  }
@@ -80290,7 +80397,7 @@ var require_paramProcessing = __commonJS({
80290
80397
  let customMeasurements = {};
80291
80398
  if (Array.isArray(instructions)) {
80292
80399
  for (const instruction of instructions) {
80293
- [processedDimensions, processedMeasurements] = exports2.paramsProcessing(params, instruction);
80400
+ [processedDimensions, processedMeasurements] = (0, exports2.paramsProcessing)(params, instruction);
80294
80401
  customDimensions = {
80295
80402
  ...customDimensions,
80296
80403
  ...processedDimensions
@@ -80301,7 +80408,7 @@ var require_paramProcessing = __commonJS({
80301
80408
  };
80302
80409
  }
80303
80410
  } else {
80304
- [customDimensions, customMeasurements] = exports2.paramsProcessing(params, instructions);
80411
+ [customDimensions, customMeasurements] = (0, exports2.paramsProcessing)(params, instructions);
80305
80412
  }
80306
80413
  return [customDimensions, customMeasurements];
80307
80414
  };
@@ -80365,7 +80472,7 @@ var require_interceptor = __commonJS({
80365
80472
  var captureParam = (target, originalFn, evtName, sampleRate, instructions) => {
80366
80473
  return (...args) => {
80367
80474
  const result2 = originalFn.apply(target, args);
80368
- const [customDimensions, customMeasurements] = paramProcessing_1.getParamsData(args, instructions);
80475
+ const [customDimensions, customMeasurements] = (0, paramProcessing_1.getParamsData)(args, instructions);
80369
80476
  const appinsightClient = client_1.ClientFactory.getTelemetryClient();
80370
80477
  appinsightClient.report(evtName, customDimensions, customMeasurements, sampleRate);
80371
80478
  return result2;
@@ -80375,7 +80482,7 @@ var require_interceptor = __commonJS({
80375
80482
  var captureParamAsync = (target, originalFn, evtName, sampleRate, instructions) => {
80376
80483
  return async (...args) => {
80377
80484
  const result2 = await originalFn.apply(target, args);
80378
- const [customDimensions, customMeasurements] = paramProcessing_1.getParamsData(args, instructions);
80485
+ const [customDimensions, customMeasurements] = (0, paramProcessing_1.getParamsData)(args, instructions);
80379
80486
  const appinsightClient = client_1.ClientFactory.getTelemetryClient();
80380
80487
  appinsightClient.report(evtName, customDimensions, customMeasurements, sampleRate);
80381
80488
  return result2;
@@ -80392,9 +80499,13 @@ var require_config4 = __commonJS({
80392
80499
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
80393
80500
  if (k2 === void 0)
80394
80501
  k2 = k;
80395
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
80396
- return m[k];
80397
- } });
80502
+ var desc = Object.getOwnPropertyDescriptor(m, k);
80503
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
80504
+ desc = { enumerable: true, get: function() {
80505
+ return m[k];
80506
+ } };
80507
+ }
80508
+ Object.defineProperty(o, k2, desc);
80398
80509
  } : function(o, m, k, k2) {
80399
80510
  if (k2 === void 0)
80400
80511
  k2 = k;