@orchestrator-ui/orchestrator-ui-components 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -23126,10 +23126,10 @@ var require_jsstacktrace = __commonJS({
23126
23126
  var require_jsx = __commonJS({
23127
23127
  "../../node_modules/refractor/lang/jsx.js"(exports, module) {
23128
23128
  "use strict";
23129
- module.exports = jsx171;
23130
- jsx171.displayName = "jsx";
23131
- jsx171.aliases = [];
23132
- function jsx171(Prism) {
23129
+ module.exports = jsx172;
23130
+ jsx172.displayName = "jsx";
23131
+ jsx172.aliases = [];
23132
+ function jsx172(Prism) {
23133
23133
  ;
23134
23134
  (function(Prism2) {
23135
23135
  var javascript = Prism2.util.clone(Prism2.languages.javascript);
@@ -42934,6 +42934,12 @@ var formatDateCetWithUtc = (inputDateString) => {
42934
42934
  ).format(inputDate);
42935
42935
  return `${formattedDateCET} (${formattedDateUTC})`;
42936
42936
  };
42937
+ var getDate = (date) => {
42938
+ if (typeof date === "string") {
42939
+ return new Date(date);
42940
+ }
42941
+ return date;
42942
+ };
42937
42943
 
42938
42944
  // src/utils/environmentVariables.ts
42939
42945
  var getNumberValueFromEnvironmentVariable = (environmentVariable, defaultValue) => {
@@ -47275,7 +47281,7 @@ var WfoSubscriptionGeneral = ({
47275
47281
  }) => {
47276
47282
  const t = useTranslations14("subscriptions.detail");
47277
47283
  const getSubscriptionDetailBlockData = () => {
47278
- var _a, _b;
47284
+ var _a, _b, _c;
47279
47285
  return [
47280
47286
  {
47281
47287
  key: t("subscriptionId"),
@@ -47292,11 +47298,11 @@ var WfoSubscriptionGeneral = ({
47292
47298
  },
47293
47299
  {
47294
47300
  key: t("startDate"),
47295
- value: subscriptionDetail.startDate
47301
+ value: formatDate(subscriptionDetail.startDate)
47296
47302
  },
47297
47303
  {
47298
47304
  key: t("endDate"),
47299
- value: subscriptionDetail.endDate
47305
+ value: formatDate(subscriptionDetail.endDate)
47300
47306
  },
47301
47307
  {
47302
47308
  key: t("status"),
@@ -47317,7 +47323,8 @@ var WfoSubscriptionGeneral = ({
47317
47323
  },
47318
47324
  {
47319
47325
  key: t("customerUuid"),
47320
- value: subscriptionDetail && subscriptionDetail.customer ? `${(_b = subscriptionDetail.customer) == null ? void 0 : _b.customerId}` : "-"
47326
+ value: subscriptionDetail && subscriptionDetail.customer ? `${(_b = subscriptionDetail.customer) == null ? void 0 : _b.customerId}` : "-",
47327
+ textToCopy: (_c = subscriptionDetail.customer) == null ? void 0 : _c.customerId
47321
47328
  },
47322
47329
  {
47323
47330
  key: t("note"),
@@ -47356,11 +47363,11 @@ var WfoSubscriptionGeneral = ({
47356
47363
  },
47357
47364
  {
47358
47365
  key: t("created"),
47359
- value: product.createdAt
47366
+ value: formatDate(product.createdAt)
47360
47367
  },
47361
47368
  {
47362
47369
  key: t("endDate"),
47363
- value: product.endDate
47370
+ value: formatDate(product.endDate)
47364
47371
  }
47365
47372
  ];
47366
47373
  };
@@ -47456,6 +47463,7 @@ var GET_SUBSCRIPTIONS_LIST_SUMMARY_GRAPHQL_QUERY = parse(gql2`
47456
47463
  query: $query
47457
47464
  ) {
47458
47465
  page {
47466
+ startDate
47459
47467
  description
47460
47468
  subscriptionId
47461
47469
  }
@@ -47881,7 +47889,7 @@ var WfoError = () => {
47881
47889
 
47882
47890
  // src/components/WfoSubscription/WfoRelatedSubscriptions.tsx
47883
47891
  import { useState as useState16 } from "react";
47884
- import { useTranslations as useTranslations18 } from "next-intl";
47892
+ import { useTranslations as useTranslations19 } from "next-intl";
47885
47893
  import Link2 from "next/link";
47886
47894
  import { EuiFlexGroup as EuiFlexGroup10, EuiFlexItem as EuiFlexItem9, EuiSpacer as EuiSpacer13, EuiSwitch as EuiSwitch2 } from "@elastic/eui";
47887
47895
 
@@ -48287,6 +48295,7 @@ var getQueryStringHandler = (setDataDisplayParam) => (queryString) => {
48287
48295
  };
48288
48296
 
48289
48297
  // src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx
48298
+ import { useTranslations as useTranslations16 } from "next-intl";
48290
48299
  import { EuiBasicTable } from "@elastic/eui";
48291
48300
 
48292
48301
  // src/components/WfoTable/WfoBasicTable/styles.ts
@@ -48396,6 +48405,7 @@ var WfoBasicTable = ({
48396
48405
  }) => {
48397
48406
  const { theme } = useOrchestratorTheme();
48398
48407
  const { basicTableStyle } = getWfoBasicTableStyles(theme);
48408
+ const t = useTranslations16("common");
48399
48409
  const statusColorColumn = {
48400
48410
  statusColorField: {
48401
48411
  field: WFO_STATUS_COLOR_FIELD,
@@ -48411,6 +48421,7 @@ var WfoBasicTable = ({
48411
48421
  __spreadValues({
48412
48422
  css: tableStyling,
48413
48423
  items: data,
48424
+ noItemsMessage: isLoading ? t("loading") : t("noItemsFound"),
48414
48425
  columns: mapWfoTableColumnsToEuiColumns(
48415
48426
  allTableColumns,
48416
48427
  hiddenColumns,
@@ -48494,7 +48505,7 @@ var WfoSortDirectionIcon = ({
48494
48505
 
48495
48506
  // src/components/WfoTable/WfoBasicTable/WfoTableHeaderCell.tsx
48496
48507
  import { useState as useState14 } from "react";
48497
- import { useTranslations as useTranslations16 } from "next-intl";
48508
+ import { useTranslations as useTranslations17 } from "next-intl";
48498
48509
  import {
48499
48510
  EuiFieldSearch as EuiFieldSearch2,
48500
48511
  EuiHorizontalRule as EuiHorizontalRule3,
@@ -48588,7 +48599,7 @@ var WfoTableHeaderCell = ({
48588
48599
  headerCellPopoverContentStyle,
48589
48600
  getHeaderCellButtonStyle
48590
48601
  } = useWithOrchestratorTheme(getWfoBasicTableStyles);
48591
- const t = useTranslations16("common");
48602
+ const t = useTranslations17("common");
48592
48603
  const isSortable = !!onSetSortOrder;
48593
48604
  const isFilterable = !!onSearch;
48594
48605
  const shouldShowPopover = isSortable || isFilterable;
@@ -48669,7 +48680,7 @@ var WfoStatusColorField = ({ color }) => {
48669
48680
 
48670
48681
  // src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx
48671
48682
  import { useEffect as useEffect7, useState as useState15 } from "react";
48672
- import { useTranslations as useTranslations17 } from "next-intl";
48683
+ import { useTranslations as useTranslations18 } from "next-intl";
48673
48684
  import {
48674
48685
  EuiButton as EuiButton7,
48675
48686
  EuiFlexGroup as EuiFlexGroup9,
@@ -48738,7 +48749,7 @@ var WfoTableWithFilter = ({
48738
48749
  const [hiddenColumns, setHiddenColumns] = useState15(defaultHiddenColumns);
48739
48750
  const [showSettingsModal, setShowSettingsModal] = useState15(false);
48740
48751
  const [selectedDataForDetailModal, setSelectedDataForDetailModal] = useState15(void 0);
48741
- const t = useTranslations17("common");
48752
+ const t = useTranslations18("common");
48742
48753
  useEffect7(() => {
48743
48754
  if (defaultHiddenColumns) {
48744
48755
  setHiddenColumns(defaultHiddenColumns);
@@ -48909,7 +48920,7 @@ var WfoRelatedSubscriptions = ({
48909
48920
  }) => {
48910
48921
  var _a, _b, _c;
48911
48922
  const [hideTerminatedSubscriptions, setHideTerminatedSubscriptions] = useState16(true);
48912
- const t = useTranslations18("subscriptions.detail");
48923
+ const t = useTranslations19("subscriptions.detail");
48913
48924
  const { theme } = useOrchestratorTheme();
48914
48925
  const terminatedSubscriptionsFilter = {
48915
48926
  field: "status",
@@ -49400,7 +49411,7 @@ var import_get5 = __toESM(require_get(), 1);
49400
49411
  import { useContext as useContext10, useState as useState23 } from "react";
49401
49412
  import axios2 from "axios";
49402
49413
  import invariant2 from "invariant";
49403
- import { useTranslations as useTranslations33 } from "next-intl";
49414
+ import { useTranslations as useTranslations34 } from "next-intl";
49404
49415
  import { filterDOMProps as filterDOMProps29, joinName as joinName10 } from "uniforms";
49405
49416
  import { JSONSchemaBridge } from "uniforms-bridge-json-schema";
49406
49417
  import { AutoField as AutoField6, AutoForm } from "uniforms-unstyled";
@@ -49415,7 +49426,7 @@ import { AutoField as AutoField4 } from "uniforms-unstyled";
49415
49426
 
49416
49427
  // src/components/WfoForms/formFields/AcceptField.tsx
49417
49428
  import { useReducer } from "react";
49418
- import { useTranslations as useTranslations19 } from "next-intl";
49429
+ import { useTranslations as useTranslations20 } from "next-intl";
49419
49430
  import { connectField, filterDOMProps } from "uniforms";
49420
49431
  import { EuiCheckbox, EuiFlexItem as EuiFlexItem12, EuiText as EuiText9 } from "@elastic/eui";
49421
49432
 
@@ -49469,7 +49480,7 @@ function Accept(_a) {
49469
49480
  "errorMessage",
49470
49481
  "data"
49471
49482
  ]);
49472
- const t = useTranslations19();
49483
+ const t = useTranslations20();
49473
49484
  const { acceptFieldStyle } = useWithOrchestratorTheme(getStyles9);
49474
49485
  const legacy = !data;
49475
49486
  const i18nBaseKey = data ? `pydanticForms.backendTranslations.${name}_accept` : "pydanticForms.backendTranslations";
@@ -49787,7 +49798,7 @@ var LabelField = connectField5(Label, { kind: "leaf" });
49787
49798
 
49788
49799
  // src/components/WfoForms/formFields/ListAddField.tsx
49789
49800
  var import_cloneDeep = __toESM(require_cloneDeep(), 1);
49790
- import { useTranslations as useTranslations20 } from "next-intl";
49801
+ import { useTranslations as useTranslations21 } from "next-intl";
49791
49802
  import { connectField as connectField6, filterDOMProps as filterDOMProps6, joinName, useField } from "uniforms";
49792
49803
  import { EuiIcon as EuiIcon3, EuiText as EuiText11 } from "@elastic/eui";
49793
49804
  import { jsx as jsx100, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
@@ -49808,7 +49819,7 @@ function ListAdd(_a) {
49808
49819
  "outerList"
49809
49820
  ]);
49810
49821
  const { theme } = useOrchestratorTheme();
49811
- const t = useTranslations20("pydanticForms.backendTranslations");
49822
+ const t = useTranslations21("pydanticForms.backendTranslations");
49812
49823
  const nameParts = joinName(null, name);
49813
49824
  const parentName = joinName(nameParts.slice(0, -1));
49814
49825
  const parent = useField(parentName, { initialCount }, { absoluteName: true })[0];
@@ -49849,7 +49860,7 @@ var ListAddField = connectField6(ListAdd, {
49849
49860
  });
49850
49861
 
49851
49862
  // src/components/WfoForms/formFields/ListDelField.tsx
49852
- import { useTranslations as useTranslations21 } from "next-intl";
49863
+ import { useTranslations as useTranslations22 } from "next-intl";
49853
49864
  import { connectField as connectField7, filterDOMProps as filterDOMProps7, joinName as joinName2, useField as useField2 } from "uniforms";
49854
49865
  import { EuiIcon as EuiIcon4, EuiText as EuiText12 } from "@elastic/eui";
49855
49866
  import { jsx as jsx101, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
@@ -49868,7 +49879,7 @@ function ListDel(_a) {
49868
49879
  "outerList"
49869
49880
  ]);
49870
49881
  const { theme } = useOrchestratorTheme();
49871
- const t = useTranslations21("pydanticForms.backendTranslations");
49882
+ const t = useTranslations22("pydanticForms.backendTranslations");
49872
49883
  const nameParts = joinName2(null, name);
49873
49884
  const nameIndex = +nameParts[nameParts.length - 1];
49874
49885
  const parentName = joinName2(nameParts.slice(0, -1));
@@ -50116,7 +50127,7 @@ import { connectField as connectField11, joinName as joinName5, useField as useF
50116
50127
  // src/components/WfoForms/formFields/SelectField.tsx
50117
50128
  var import_lodash = __toESM(require_lodash(), 1);
50118
50129
  import ReactSelect from "react-select";
50119
- import { useTranslations as useTranslations22 } from "next-intl";
50130
+ import { useTranslations as useTranslations23 } from "next-intl";
50120
50131
  import {
50121
50132
  connectField as connectField10,
50122
50133
  filterDOMProps as filterDOMProps9,
@@ -50196,7 +50207,7 @@ function Select(_a) {
50196
50207
  "showInlineError",
50197
50208
  "errorMessage"
50198
50209
  ]);
50199
- const t = useTranslations22("pydanticForms");
50210
+ const t = useTranslations23("pydanticForms");
50200
50211
  const { theme } = useOrchestratorTheme();
50201
50212
  const nameArray = joinName4(null, name);
50202
50213
  let parentName = joinName4(nameArray.slice(0, -1));
@@ -50445,7 +50456,7 @@ var NumField = connectField13(Num, { kind: "leaf" });
50445
50456
  // src/components/WfoForms/formFields/ProductField.tsx
50446
50457
  var import_get = __toESM(require_get(), 1);
50447
50458
  import { useQuery as useQuery5 } from "react-query";
50448
- import { useTranslations as useTranslations23 } from "next-intl";
50459
+ import { useTranslations as useTranslations24 } from "next-intl";
50449
50460
  import { connectField as connectField14, filterDOMProps as filterDOMProps12 } from "uniforms";
50450
50461
 
50451
50462
  // src/components/WfoForms/useAxiosApiClient.ts
@@ -50462,7 +50473,7 @@ function Product(_a) {
50462
50473
  var _b = _a, { name, productIds } = _b, props = __objRest(_b, ["name", "productIds"]);
50463
50474
  var _a2;
50464
50475
  const apiClient = useAxiosApiClient();
50465
- const t = useTranslations23("pydanticForms");
50476
+ const t = useTranslations24("pydanticForms");
50466
50477
  const { isLoading, error, data } = useQuery5(
50467
50478
  ["products"],
50468
50479
  apiClient.products
@@ -50837,12 +50848,12 @@ function Timestamp(_a) {
50837
50848
  var TimestampField = connectField19(Timestamp, { kind: "leaf" });
50838
50849
 
50839
50850
  // src/components/WfoForms/formFields/OrganisationField.tsx
50840
- import { useTranslations as useTranslations24 } from "next-intl";
50851
+ import { useTranslations as useTranslations25 } from "next-intl";
50841
50852
  import { connectField as connectField20 } from "uniforms";
50842
50853
  import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
50843
50854
  function Organisation(_a) {
50844
50855
  var props = __objRest(_a, []);
50845
- const t = useTranslations24("pydanticForms");
50856
+ const t = useTranslations25("pydanticForms");
50846
50857
  const { data: customers, isLoading } = useGetCustomersQuery();
50847
50858
  const uuidCustomerNameMap = /* @__PURE__ */ new Map();
50848
50859
  if (!isLoading && customers) {
@@ -50866,7 +50877,7 @@ var OrganisationField = connectField20(Organisation, { kind: "leaf" });
50866
50877
  var import_lodash4 = __toESM(require_lodash(), 1);
50867
50878
  var import_get2 = __toESM(require_get(), 1);
50868
50879
  import React23, { useEffect as useEffect9, useState as useState17 } from "react";
50869
- import { useTranslations as useTranslations25 } from "next-intl";
50880
+ import { useTranslations as useTranslations26 } from "next-intl";
50870
50881
  import {
50871
50882
  connectField as connectField21,
50872
50883
  filterDOMProps as filterDOMProps19,
@@ -51057,7 +51068,7 @@ function ContactPersonName(_a) {
51057
51068
  "organisationKey"
51058
51069
  ]);
51059
51070
  const axiosApiClient = useAxiosApiClient();
51060
- const t = useTranslations25("pydanticForms");
51071
+ const t = useTranslations26("pydanticForms");
51061
51072
  const { model, onChange: formOnChange, schema } = useForm5();
51062
51073
  const contactsPersonFieldNameArray = joinName6(null, name).slice(0, -1);
51063
51074
  const emailFieldName = joinName6(contactsPersonFieldNameArray, "email");
@@ -51201,7 +51212,7 @@ var ContactPersonNameField = connectField21(ContactPersonName, {
51201
51212
  // src/components/WfoForms/formFields/ImsNodeIdField.tsx
51202
51213
  var import_lodash5 = __toESM(require_lodash(), 1);
51203
51214
  import { useEffect as useEffect10, useState as useState18 } from "react";
51204
- import { useTranslations as useTranslations26 } from "next-intl";
51215
+ import { useTranslations as useTranslations27 } from "next-intl";
51205
51216
  import { connectField as connectField22, filterDOMProps as filterDOMProps20 } from "uniforms";
51206
51217
  import { jsx as jsx118 } from "@emotion/react/jsx-runtime";
51207
51218
  filterDOMProps20.register("locationCode", "status", "unsubscribedOnly");
@@ -51221,7 +51232,7 @@ function ImsNodeId(_a) {
51221
51232
  ]);
51222
51233
  var _a2;
51223
51234
  const axiosApiClient = useAxiosApiClient();
51224
- const t = useTranslations26("pydanticForms");
51235
+ const t = useTranslations27("pydanticForms");
51225
51236
  const [loading, setIsLoading] = useState18(true);
51226
51237
  const [nodes, setNodes] = useState18([]);
51227
51238
  useEffect10(() => {
@@ -51259,7 +51270,7 @@ var ImsNodeIdField = connectField22(ImsNodeId, { kind: "leaf" });
51259
51270
  // src/components/WfoForms/formFields/ImsPortIdField.tsx
51260
51271
  import { useCallback as useCallback3, useEffect as useEffect11, useState as useState19 } from "react";
51261
51272
  import ReactSelect2 from "react-select";
51262
- import { useTranslations as useTranslations27 } from "next-intl";
51273
+ import { useTranslations as useTranslations28 } from "next-intl";
51263
51274
  import { connectField as connectField23, filterDOMProps as filterDOMProps21 } from "uniforms";
51264
51275
  import { EuiFlexItem as EuiFlexItem16, EuiFormRow as EuiFormRow13, EuiText as EuiText22 } from "@elastic/eui";
51265
51276
 
@@ -51330,7 +51341,7 @@ function ImsPortId(_a) {
51330
51341
  "nodeStatuses"
51331
51342
  ]);
51332
51343
  const apiClient = useAxiosApiClient();
51333
- const t = useTranslations27("pydanticForms");
51344
+ const t = useTranslations28("pydanticForms");
51334
51345
  const { theme } = useOrchestratorTheme();
51335
51346
  const reactSelectInnerComponentStyles = getReactSelectInnerComponentStyles(theme);
51336
51347
  const [nodes, setNodes] = useState19([]);
@@ -51451,13 +51462,13 @@ var ImsPortIdField = connectField23(ImsPortId, { kind: "leaf" });
51451
51462
 
51452
51463
  // src/components/WfoForms/formFields/LocationCodeField.tsx
51453
51464
  import { useEffect as useEffect12, useState as useState20 } from "react";
51454
- import { useTranslations as useTranslations28 } from "next-intl";
51465
+ import { useTranslations as useTranslations29 } from "next-intl";
51455
51466
  import { connectField as connectField24, filterDOMProps as filterDOMProps22 } from "uniforms";
51456
51467
  import { jsx as jsx120 } from "@emotion/react/jsx-runtime";
51457
51468
  filterDOMProps22.register("locationCodes");
51458
51469
  function LocationCode(_a) {
51459
51470
  var _b = _a, { locationCodes } = _b, props = __objRest(_b, ["locationCodes"]);
51460
- const t = useTranslations28("pydanticForms");
51471
+ const t = useTranslations29("pydanticForms");
51461
51472
  const [codes, setCodes] = useState20(locationCodes != null ? locationCodes : []);
51462
51473
  const axiosApiClient = useAxiosApiClient();
51463
51474
  useEffect12(() => {
@@ -51485,7 +51496,7 @@ var LocationCodeField = connectField24(LocationCode, { kind: "leaf" });
51485
51496
  // src/components/WfoForms/formFields/VlanField.tsx
51486
51497
  var import_get3 = __toESM(require_get(), 1);
51487
51498
  import { useEffect as useEffect13, useState as useState21 } from "react";
51488
- import { useTranslations as useTranslations29 } from "next-intl";
51499
+ import { useTranslations as useTranslations30 } from "next-intl";
51489
51500
  import { connectField as connectField25, filterDOMProps as filterDOMProps23, joinName as joinName7, useForm as useForm6 } from "uniforms";
51490
51501
  import { EuiFieldText as EuiFieldText3, EuiFormRow as EuiFormRow14, EuiText as EuiText23 } from "@elastic/eui";
51491
51502
 
@@ -51587,7 +51598,7 @@ function Vlan(_a) {
51587
51598
  "subscriptionFieldName",
51588
51599
  "nsiVlansOnly"
51589
51600
  ]);
51590
- const t = useTranslations29("pydanticForms");
51601
+ const t = useTranslations30("pydanticForms");
51591
51602
  const axiosApiClient = useAxiosApiClient();
51592
51603
  const { model, schema } = useForm6();
51593
51604
  const initialValue = schema.getInitialValue(name, {});
@@ -51776,7 +51787,7 @@ function Nest(_a) {
51776
51787
  var NestField = connectField26(Nest);
51777
51788
 
51778
51789
  // src/components/WfoForms/formFields/OptGroupField.tsx
51779
- import { useTranslations as useTranslations30 } from "next-intl";
51790
+ import { useTranslations as useTranslations31 } from "next-intl";
51780
51791
  import { connectField as connectField27, filterDOMProps as filterDOMProps25, useField as useField7 } from "uniforms";
51781
51792
  import { AutoField as AutoField3 } from "uniforms-unstyled";
51782
51793
  import { EuiDescribedFormGroup as EuiDescribedFormGroup2, EuiFlexItem as EuiFlexItem18, EuiFormRow as EuiFormRow15 } from "@elastic/eui";
@@ -51796,7 +51807,7 @@ function OptGroup(_a) {
51796
51807
  "readOnly",
51797
51808
  "className"
51798
51809
  ]);
51799
- const t = useTranslations30("pydanticForms.backendTranslations");
51810
+ const t = useTranslations31("pydanticForms.backendTranslations");
51800
51811
  const enabled = useField7("enabled", {})[0].value;
51801
51812
  return /* @__PURE__ */ jsx123(
51802
51813
  EuiDescribedFormGroup2,
@@ -51824,7 +51835,7 @@ var OptGroupField = connectField27(OptGroup);
51824
51835
  // src/components/WfoForms/formFields/SubscriptionField.tsx
51825
51836
  var import_get4 = __toESM(require_get(), 1);
51826
51837
  import ReactSelect3 from "react-select";
51827
- import { useTranslations as useTranslations31 } from "next-intl";
51838
+ import { useTranslations as useTranslations32 } from "next-intl";
51828
51839
  import {
51829
51840
  connectField as connectField28,
51830
51841
  filterDOMProps as filterDOMProps26,
@@ -51968,7 +51979,7 @@ function SubscriptionFieldDefinition(_a) {
51968
51979
  "tags",
51969
51980
  "statuses"
51970
51981
  ]);
51971
- const t = useTranslations31("pydanticForms");
51982
+ const t = useTranslations32("pydanticForms");
51972
51983
  const { theme } = useOrchestratorTheme();
51973
51984
  const reactSelectInnerComponentStyles = getReactSelectInnerComponentStyles(theme);
51974
51985
  const { refetch, subscriptions, isFetching } = useGetSubscriptionDropdownOptions(tags, statuses);
@@ -52137,7 +52148,7 @@ var SubscriptionField = connectField28(SubscriptionFieldDefinition, {
52137
52148
 
52138
52149
  // src/components/WfoForms/formFields/IpNetworkField.tsx
52139
52150
  import { useState as useState22 } from "react";
52140
- import { useTranslations as useTranslations32 } from "next-intl";
52151
+ import { useTranslations as useTranslations33 } from "next-intl";
52141
52152
  import { connectField as connectField29, filterDOMProps as filterDOMProps27 } from "uniforms";
52142
52153
  import { EuiCallOut as EuiCallOut2, EuiFormRow as EuiFormRow18, EuiText as EuiText27 } from "@elastic/eui";
52143
52154
 
@@ -52784,7 +52795,7 @@ function IpNetwork(_a) {
52784
52795
  "prefixMin"
52785
52796
  ]);
52786
52797
  var _a2, _b2;
52787
- const t = useTranslations32("pydanticForms");
52798
+ const t = useTranslations33("pydanticForms");
52788
52799
  const [selectedPrefix, setSelectedPrefix] = useState22(
52789
52800
  void 0
52790
52801
  );
@@ -53378,7 +53389,7 @@ function UserInputForm({
53378
53389
  isResuming = false
53379
53390
  }) {
53380
53391
  var _a, _b, _c;
53381
- const t = useTranslations33("pydanticForms.userInputForm");
53392
+ const t = useTranslations34("pydanticForms.userInputForm");
53382
53393
  const { theme } = useOrchestratorTheme();
53383
53394
  const { showConfirmDialog } = useContext10(ConfirmationDialogContext);
53384
53395
  const [processing, setProcessing] = useState23(false);
@@ -53524,7 +53535,7 @@ function UserInputForm({
53524
53535
  prefilledForm,
53525
53536
  () => {
53526
53537
  },
53527
- useTranslations33()
53538
+ useTranslations34()
53528
53539
  );
53529
53540
  const AutoFieldProvider = AutoField6.componentDetectorContext.Provider;
53530
53541
  const buttonsFromSchema = ((_a = prefilledForm.properties) == null ? void 0 : _a.buttons) && ((_b = prefilledForm.properties) == null ? void 0 : _b.buttons) !== true && ((_c = prefilledForm.properties) == null ? void 0 : _c.buttons.default) || {
@@ -53680,12 +53691,12 @@ function CreateForm(props) {
53680
53691
  }
53681
53692
 
53682
53693
  // src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx
53683
- import { useTranslations as useTranslations34 } from "next-intl";
53694
+ import { useTranslations as useTranslations35 } from "next-intl";
53684
53695
  import { useRouter as useRouter7 } from "next/router";
53685
53696
  import { jsx as jsx132 } from "@emotion/react/jsx-runtime";
53686
53697
  var WfoStartTaskButtonComboBox = () => {
53687
53698
  const router = useRouter7();
53688
- const t = useTranslations34("common");
53699
+ const t = useTranslations35("common");
53689
53700
  const { isEngineRunningNow } = useCheckEngineStatus();
53690
53701
  const { data } = useQueryWithGraphql(
53691
53702
  GET_WORKFLOWS_FOR_DROPDOWN_LIST_GRAPHQL_QUERY,
@@ -53723,12 +53734,6 @@ var WfoDateTime = ({ dateOrIsoString }) => {
53723
53734
  const date = getDate(dateOrIsoString);
53724
53735
  return /* @__PURE__ */ jsx133("span", { title: parseDateToLocaleDateTimeString(date), children: parseDateOrTimeRelativeToToday(date) });
53725
53736
  };
53726
- function getDate(date) {
53727
- if (typeof date === "string") {
53728
- return new Date(date);
53729
- }
53730
- return date;
53731
- }
53732
53737
 
53733
53738
  // src/components/WfoAuth/WfoAuth.tsx
53734
53739
  import { useContext as useContext11 } from "react";
@@ -53806,12 +53811,12 @@ var WfoDropdownButton = ({
53806
53811
  };
53807
53812
 
53808
53813
  // src/components/WfoProcessList/WfoProcessesList.tsx
53809
- import { useTranslations as useTranslations51 } from "next-intl";
53814
+ import { useTranslations as useTranslations52 } from "next-intl";
53810
53815
  import Link7 from "next/link";
53811
53816
 
53812
53817
  // src/pages/metadata/WfoProductBlocksPage.tsx
53813
53818
  import { useEffect as useEffect16, useState as useState27 } from "react";
53814
- import { useTranslations as useTranslations36 } from "next-intl";
53819
+ import { useTranslations as useTranslations37 } from "next-intl";
53815
53820
  import { EuiBadgeGroup as EuiBadgeGroup2 } from "@elastic/eui";
53816
53821
 
53817
53822
  // src/utils/sortObjectKeys.ts
@@ -53891,7 +53896,7 @@ var csvDownloadHandler = (dataFetchFunction, dataMapper, pageInfoMapper, keyOrde
53891
53896
  };
53892
53897
 
53893
53898
  // src/pages/metadata/WfoMetadataPageLayout.tsx
53894
- import { useTranslations as useTranslations35 } from "next-intl";
53899
+ import { useTranslations as useTranslations36 } from "next-intl";
53895
53900
  import { useRouter as useRouter8 } from "next/router";
53896
53901
  import { EuiPageHeader as EuiPageHeader2, EuiSpacer as EuiSpacer14, EuiTab as EuiTab2, EuiTabs as EuiTabs2 } from "@elastic/eui";
53897
53902
  import { Fragment as Fragment26, jsx as jsx136, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
@@ -53922,7 +53927,7 @@ var WfoMetadataPageLayout = ({
53922
53927
  tabs = metaDataTabs
53923
53928
  }) => {
53924
53929
  const router = useRouter8();
53925
- const t = useTranslations35("metadata.tabs");
53930
+ const t = useTranslations36("metadata.tabs");
53926
53931
  const currentPath = router.pathname;
53927
53932
  return /* @__PURE__ */ jsxs81(Fragment26, { children: [
53928
53933
  /* @__PURE__ */ jsx136(EuiSpacer14, {}),
@@ -53955,8 +53960,8 @@ var PRODUCT_BLOCK_FIELD_RESOURCE_TYPES = "resourceTypes";
53955
53960
  var PRODUCT_BLOCK_FIELD_PRODUCT_BLOCKS = "dependsOn";
53956
53961
  var WfoProductBlocksPage = () => {
53957
53962
  var _a, _b, _c, _d;
53958
- const t = useTranslations36("metadata.productBlocks");
53959
- const tError = useTranslations36("errors");
53963
+ const t = useTranslations37("metadata.productBlocks");
53964
+ const tError = useTranslations37("errors");
53960
53965
  const { showToastMessage } = useShowToastMessage();
53961
53966
  const [tableDefaults, setTableDefaults] = useState27();
53962
53967
  const getStoredTableConfig = useStoredTableConfig(
@@ -54063,7 +54068,7 @@ var WfoProductBlocksPage = () => {
54063
54068
  sortBy,
54064
54069
  query: queryString || void 0
54065
54070
  };
54066
- const { data, isLoading, isError: isError3 } = useQueryWithGraphql(
54071
+ const { data, isFetching, isError: isError3 } = useQueryWithGraphql(
54067
54072
  GET_PRODUCTS_BLOCKS_GRAPHQL_QUERY,
54068
54073
  graphqlQueryVariables,
54069
54074
  ["productBlocks", "listPage"]
@@ -54105,7 +54110,7 @@ var WfoProductBlocksPage = () => {
54105
54110
  setDataDisplayParam
54106
54111
  ),
54107
54112
  pagination,
54108
- isLoading,
54113
+ isLoading: isFetching,
54109
54114
  hasError: isError3,
54110
54115
  queryString,
54111
54116
  localStorageKey: METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY,
@@ -54125,7 +54130,7 @@ var WfoProductBlocksPage = () => {
54125
54130
 
54126
54131
  // src/pages/metadata/WfoResourceTypesPage.tsx
54127
54132
  import { useEffect as useEffect17, useState as useState28 } from "react";
54128
- import { useTranslations as useTranslations37 } from "next-intl";
54133
+ import { useTranslations as useTranslations38 } from "next-intl";
54129
54134
  import { EuiBadgeGroup as EuiBadgeGroup3 } from "@elastic/eui";
54130
54135
  import { Fragment as Fragment28, jsx as jsx138 } from "@emotion/react/jsx-runtime";
54131
54136
  var RESOURCE_TYPE_FIELD_ID = "resourceTypeId";
@@ -54134,8 +54139,8 @@ var RESOURCE_TYPE_FIELD_DESCRIPTION = "description";
54134
54139
  var RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS = "productBlocks";
54135
54140
  var WfoResourceTypesPage = () => {
54136
54141
  var _a, _b, _c;
54137
- const t = useTranslations37("metadata.resourceTypes");
54138
- const tError = useTranslations37("errors");
54142
+ const t = useTranslations38("metadata.resourceTypes");
54143
+ const tError = useTranslations38("errors");
54139
54144
  const { showToastMessage } = useShowToastMessage();
54140
54145
  const [tableDefaults, setTableDefaults] = useState28();
54141
54146
  const getStoredTableConfig = useStoredTableConfig(
@@ -54204,7 +54209,7 @@ var WfoResourceTypesPage = () => {
54204
54209
  sortBy,
54205
54210
  query: queryString || void 0
54206
54211
  };
54207
- const { data, isLoading, isError: isError3 } = useQueryWithGraphql(
54212
+ const { data, isFetching, isError: isError3 } = useQueryWithGraphql(
54208
54213
  GET_RESOURCE_TYPES_GRAPHQL_QUERY,
54209
54214
  graphqlQueryVariables,
54210
54215
  ["resourceTypes", "listPage"]
@@ -54246,7 +54251,7 @@ var WfoResourceTypesPage = () => {
54246
54251
  setDataDisplayParam
54247
54252
  ),
54248
54253
  pagination,
54249
- isLoading,
54254
+ isLoading: isFetching,
54250
54255
  hasError: isError3,
54251
54256
  queryString,
54252
54257
  localStorageKey: METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY,
@@ -54266,7 +54271,7 @@ var WfoResourceTypesPage = () => {
54266
54271
 
54267
54272
  // src/pages/metadata/WfoProductsPage.tsx
54268
54273
  import { useEffect as useEffect18, useState as useState29 } from "react";
54269
- import { useTranslations as useTranslations38 } from "next-intl";
54274
+ import { useTranslations as useTranslations39 } from "next-intl";
54270
54275
  import { Fragment as Fragment29, jsx as jsx139 } from "@emotion/react/jsx-runtime";
54271
54276
  var PRODUCT_FIELD_PRODUCT_ID = "productId";
54272
54277
  var PRODUCT_FIELD_NAME = "name";
@@ -54279,8 +54284,8 @@ var PRODUCT_FIELD_FIXED_INPUTS = "fixedInputs";
54279
54284
  var PRODUCT_FIELD_CREATED_AT = "createdAt";
54280
54285
  var WfoProductsPage = () => {
54281
54286
  var _a, _b, _c, _d;
54282
- const t = useTranslations38("metadata.products");
54283
- const tError = useTranslations38("errors");
54287
+ const t = useTranslations39("metadata.products");
54288
+ const tError = useTranslations39("errors");
54284
54289
  const { showToastMessage } = useShowToastMessage();
54285
54290
  const [tableDefaults, setTableDefaults] = useState29();
54286
54291
  const getStoredTableConfig = useStoredTableConfig(
@@ -54376,7 +54381,7 @@ var WfoProductsPage = () => {
54376
54381
  sortBy,
54377
54382
  query: queryString || void 0
54378
54383
  };
54379
- const { data, isLoading, isError: isError3 } = useQueryWithGraphql(
54384
+ const { data, isFetching, isError: isError3 } = useQueryWithGraphql(
54380
54385
  getProductsQuery(),
54381
54386
  graphqlQueryVariables,
54382
54387
  ["products", "listPage"]
@@ -54418,7 +54423,7 @@ var WfoProductsPage = () => {
54418
54423
  setDataDisplayParam
54419
54424
  ),
54420
54425
  pagination,
54421
- isLoading,
54426
+ isLoading: isFetching,
54422
54427
  hasError: isError3,
54423
54428
  queryString,
54424
54429
  localStorageKey: METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY,
@@ -54438,7 +54443,7 @@ var WfoProductsPage = () => {
54438
54443
 
54439
54444
  // src/pages/metadata/WfoWorkflowsPage.tsx
54440
54445
  import { useEffect as useEffect19, useState as useState30 } from "react";
54441
- import { useTranslations as useTranslations39 } from "next-intl";
54446
+ import { useTranslations as useTranslations40 } from "next-intl";
54442
54447
  import { EuiBadgeGroup as EuiBadgeGroup4 } from "@elastic/eui";
54443
54448
 
54444
54449
  // src/graphqlQueries/workflows/workflowsQuery.ts
@@ -54510,8 +54515,8 @@ var graphQlWorkflowListMapper = ({
54510
54515
  import { Fragment as Fragment30, jsx as jsx140 } from "@emotion/react/jsx-runtime";
54511
54516
  var WfoWorkflowsPage = () => {
54512
54517
  var _a, _b, _c;
54513
- const t = useTranslations39("metadata.workflows");
54514
- const tError = useTranslations39("errors");
54518
+ const t = useTranslations40("metadata.workflows");
54519
+ const tError = useTranslations40("errors");
54515
54520
  const { showToastMessage } = useShowToastMessage();
54516
54521
  const [tableDefaults, setTableDefaults] = useState30();
54517
54522
  const getStoredTableConfig = useStoredTableConfig(
@@ -54588,7 +54593,7 @@ var WfoWorkflowsPage = () => {
54588
54593
  sortBy: graphQlWorkflowListMapper(sortBy),
54589
54594
  query: queryString || void 0
54590
54595
  };
54591
- const { data, isLoading, isError: isError3 } = useQueryWithGraphql(
54596
+ const { data, isFetching, isError: isError3 } = useQueryWithGraphql(
54592
54597
  GET_WORKFLOWS_GRAPHQL_QUERY,
54593
54598
  graphqlQueryVariables,
54594
54599
  ["workflows", "listPage"]
@@ -54630,7 +54635,7 @@ var WfoWorkflowsPage = () => {
54630
54635
  setDataDisplayParam
54631
54636
  ),
54632
54637
  pagination,
54633
- isLoading,
54638
+ isLoading: isFetching,
54634
54639
  hasError: isError3,
54635
54640
  queryString,
54636
54641
  localStorageKey: METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY,
@@ -54698,7 +54703,7 @@ import { useEffect as useEffect22, useRef as useRef7, useState as useState35 } f
54698
54703
 
54699
54704
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
54700
54705
  import React41 from "react";
54701
- import { useTranslations as useTranslations40 } from "next-intl";
54706
+ import { useTranslations as useTranslations41 } from "next-intl";
54702
54707
  import { EuiFlexGroup as EuiFlexGroup18, EuiFlexItem as EuiFlexItem25, EuiPanel as EuiPanel4, EuiText as EuiText29 } from "@elastic/eui";
54703
54708
 
54704
54709
  // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
@@ -54966,7 +54971,7 @@ var WfoStep = React41.forwardRef(
54966
54971
  stepRowStyle,
54967
54972
  getStepToggleExpandStyle
54968
54973
  } = getStyles12(theme);
54969
- const t = useTranslations40("processes.steps");
54974
+ const t = useTranslations41("processes.steps");
54970
54975
  const hasHtmlMail = (_a = step.stateDelta) == null ? void 0 : _a.hasOwnProperty("confirmation_mail");
54971
54976
  const stepContent = step.stateDelta ? getStepContent(step.stateDelta, showHiddenKeys) : {};
54972
54977
  const hasStepContent = hasHtmlMail || Object.keys(stepContent).length > 0;
@@ -55147,14 +55152,14 @@ WfoStepList.displayName = "WfoStepList";
55147
55152
 
55148
55153
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
55149
55154
  import React45, { useEffect as useEffect21, useState as useState34 } from "react";
55150
- import { useTranslations as useTranslations43 } from "next-intl";
55155
+ import { useTranslations as useTranslations44 } from "next-intl";
55151
55156
 
55152
55157
  // src/components/WfoDiff/WfoDiff.tsx
55153
55158
  var refractor = __toESM(require_refractor(), 1);
55154
55159
  import { useCallback as useCallback5, useEffect as useEffect20, useMemo as useMemo4, useState as useState32 } from "react";
55155
55160
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
55156
55161
  import "react-diff-view/style/index.css";
55157
- import { useTranslations as useTranslations41 } from "next-intl";
55162
+ import { useTranslations as useTranslations42 } from "next-intl";
55158
55163
  import "prism-themes/themes/prism-ghcolors.min.css";
55159
55164
  import { diffLines, formatLines } from "unidiff";
55160
55165
  import {
@@ -55169,7 +55174,7 @@ var EMPTY_HUNKS = [];
55169
55174
  var SMALL_CONTEXT = 3;
55170
55175
  var FULL_CONTEXT = 1e6;
55171
55176
  var WfoDiff = ({ oldText, newText, syntax }) => {
55172
- const t = useTranslations41("processes.delta");
55177
+ const t = useTranslations42("processes.delta");
55173
55178
  const [showSplit, setShowSplit] = useState32(true);
55174
55179
  const [showFull, setShowFull] = useState32(false);
55175
55180
  const [{ type, hunks }, setDiff] = useState32({
@@ -55238,7 +55243,7 @@ var WfoDiff_default = WfoDiff;
55238
55243
 
55239
55244
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
55240
55245
  import { useState as useState33 } from "react";
55241
- import { useTranslations as useTranslations42 } from "next-intl";
55246
+ import { useTranslations as useTranslations43 } from "next-intl";
55242
55247
  import {
55243
55248
  EuiButton as EuiButton10,
55244
55249
  EuiFlexGroup as EuiFlexGroup20,
@@ -55288,7 +55293,7 @@ var WfoStepListHeader = ({
55288
55293
  onToggleAllDetailsIsOpen,
55289
55294
  isTask
55290
55295
  }) => {
55291
- const t = useTranslations42("processes.steps");
55296
+ const t = useTranslations43("processes.steps");
55292
55297
  const { theme } = useOrchestratorTheme();
55293
55298
  const {
55294
55299
  stepListHeaderStyle,
@@ -55413,7 +55418,7 @@ var WfoWorkflowStepList = React45.forwardRef(
55413
55418
  const [showHiddenKeys, setShowHiddenKeys] = useState34(false);
55414
55419
  const [showRaw, setShowRaw] = useState34(false);
55415
55420
  const [showDelta, setShowDelta] = useState34(false);
55416
- const t = useTranslations43("processes.steps");
55421
+ const t = useTranslations44("processes.steps");
55417
55422
  const initialStepListItems = steps.map((step) => ({
55418
55423
  step,
55419
55424
  isExpanded: false
@@ -55503,7 +55508,7 @@ WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
55503
55508
 
55504
55509
  // src/pages/processes/WfoProcessDetail.tsx
55505
55510
  import { useContext as useContext12 } from "react";
55506
- import { useTranslations as useTranslations44 } from "next-intl";
55511
+ import { useTranslations as useTranslations45 } from "next-intl";
55507
55512
  import { useRouter as useRouter9 } from "next/router";
55508
55513
  import {
55509
55514
  EuiButton as EuiButton11,
@@ -55595,7 +55600,7 @@ var ProcessHeaderValue = ({
55595
55600
  translationKey,
55596
55601
  value = ""
55597
55602
  }) => {
55598
- const t = useTranslations44("processes.detail");
55603
+ const t = useTranslations45("processes.detail");
55599
55604
  const { theme } = useOrchestratorTheme();
55600
55605
  return /* @__PURE__ */ jsxs89(
55601
55606
  EuiFlexGroup21,
@@ -55637,7 +55642,7 @@ var WfoProcessDetail = ({
55637
55642
  hasError = false
55638
55643
  }) => {
55639
55644
  var _a, _b;
55640
- const t = useTranslations44("processes.detail");
55645
+ const t = useTranslations45("processes.detail");
55641
55646
  const { theme } = useOrchestratorTheme();
55642
55647
  const { showConfirmDialog } = useContext12(ConfirmationDialogContext);
55643
55648
  const { deleteProcess, abortProcess, retryProcess } = useMutateProcess();
@@ -55931,7 +55936,7 @@ var WfoProcessDetailPage = ({
55931
55936
 
55932
55937
  // src/pages/processes/WfoStartProcessPage.tsx
55933
55938
  import { useCallback as useCallback6, useEffect as useEffect23, useMemo as useMemo5, useState as useState36 } from "react";
55934
- import { useTranslations as useTranslations45 } from "next-intl";
55939
+ import { useTranslations as useTranslations46 } from "next-intl";
55935
55940
  import { useRouter as useRouter10 } from "next/router";
55936
55941
  import {
55937
55942
  EuiFlexGroup as EuiFlexGroup22,
@@ -55963,7 +55968,7 @@ var WfoStartProcessPage = ({
55963
55968
  }) => {
55964
55969
  var _a, _b;
55965
55970
  const apiClient = useAxiosApiClient();
55966
- const t = useTranslations45("processes.steps");
55971
+ const t = useTranslations46("processes.steps");
55967
55972
  const router = useRouter10();
55968
55973
  const [hasError, setHasError] = useState36(false);
55969
55974
  const { theme } = useOrchestratorTheme();
@@ -56097,7 +56102,7 @@ var WfoStartProcessPage = ({
56097
56102
  };
56098
56103
 
56099
56104
  // src/pages/startPage/WfoStartPage.tsx
56100
- import { useTranslations as useTranslations46 } from "next-intl";
56105
+ import { useTranslations as useTranslations47 } from "next-intl";
56101
56106
  import { EuiFlexItem as EuiFlexItem33 } from "@elastic/eui";
56102
56107
 
56103
56108
  // src/components/WfoSummary/WfoSummaryCards.tsx
@@ -56429,7 +56434,7 @@ var WfoSummaryCards = ({ summaryCards }) => {
56429
56434
  import { jsx as jsx158, jsxs as jsxs95 } from "@emotion/react/jsx-runtime";
56430
56435
  var WfoStartPage = () => {
56431
56436
  var _a, _b, _c, _d, _e, _f, _g, _h;
56432
- const t = useTranslations46("startPage");
56437
+ const t = useTranslations47("startPage");
56433
56438
  const {
56434
56439
  data: subscriptionsSummaryResult,
56435
56440
  isLoading: subscriptionsSummaryIsFetching
@@ -56470,7 +56475,7 @@ var WfoStartPage = () => {
56470
56475
  listItems: (_b = subscriptionsSummaryResult == null ? void 0 : subscriptionsSummaryResult.subscriptions.page.map(
56471
56476
  (subscription) => ({
56472
56477
  title: subscription.description,
56473
- value: getFirstUuidPart(subscription.subscriptionId),
56478
+ value: formatDate(subscription.startDate),
56474
56479
  url: `${PATH_SUBSCRIPTIONS}/${subscription.subscriptionId}`
56475
56480
  })
56476
56481
  )) != null ? _b : [],
@@ -56487,7 +56492,7 @@ var WfoStartPage = () => {
56487
56492
  listTitle: t("activeWorkflows.listTitle"),
56488
56493
  listItems: (_d = processesSummaryResult == null ? void 0 : processesSummaryResult.processes.page.map((workflow) => ({
56489
56494
  title: workflow.workflowName,
56490
- value: workflow.startedAt,
56495
+ value: formatDate(workflow == null ? void 0 : workflow.startedAt),
56491
56496
  url: `${PATH_WORKFLOWS}/${workflow.processId}`
56492
56497
  }))) != null ? _d : [],
56493
56498
  button: {
@@ -56503,7 +56508,7 @@ var WfoStartPage = () => {
56503
56508
  listTitle: t("failedTasks.listTitle"),
56504
56509
  listItems: (_f = failedTasksSummaryResult == null ? void 0 : failedTasksSummaryResult.processes.page.map((task) => ({
56505
56510
  title: task.workflowName,
56506
- value: task.startedAt,
56511
+ value: formatDate(task == null ? void 0 : task.startedAt),
56507
56512
  url: `${PATH_TASKS}/${task.processId}`
56508
56513
  }))) != null ? _f : [],
56509
56514
  button: {
@@ -56544,9 +56549,9 @@ var WfoStartPage = () => {
56544
56549
  WfoSummaryCards,
56545
56550
  {
56546
56551
  summaryCards: [
56547
- latestActiveSubscriptionsSummaryCard,
56548
- latestWorkflowsSummaryCard,
56549
56552
  failedTasksSummaryCard,
56553
+ latestWorkflowsSummaryCard,
56554
+ latestActiveSubscriptionsSummaryCard,
56550
56555
  productsSummaryCard
56551
56556
  ]
56552
56557
  }
@@ -56632,7 +56637,7 @@ var WfoSubscriptionDetailPage = () => {
56632
56637
 
56633
56638
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
56634
56639
  import { useEffect as useEffect24, useState as useState37 } from "react";
56635
- import { useTranslations as useTranslations48 } from "next-intl";
56640
+ import { useTranslations as useTranslations49 } from "next-intl";
56636
56641
  import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
56637
56642
  import { EuiPageHeader as EuiPageHeader4, EuiSpacer as EuiSpacer19 } from "@elastic/eui";
56638
56643
 
@@ -56710,7 +56715,7 @@ var subscriptionListTabs = [
56710
56715
  ];
56711
56716
 
56712
56717
  // src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
56713
- import { useTranslations as useTranslations47 } from "next-intl";
56718
+ import { useTranslations as useTranslations48 } from "next-intl";
56714
56719
  import Link5 from "next/link";
56715
56720
  import { useRouter as useRouter13 } from "next/router";
56716
56721
  import { jsx as jsx160 } from "@emotion/react/jsx-runtime";
@@ -56722,8 +56727,8 @@ var WfoSubscriptionsList = ({
56722
56727
  }) => {
56723
56728
  var _a, _b, _c, _d;
56724
56729
  const router = useRouter13();
56725
- const t = useTranslations47("subscriptions.index");
56726
- const tError = useTranslations47("errors");
56730
+ const t = useTranslations48("subscriptions.index");
56731
+ const tError = useTranslations48("errors");
56727
56732
  const { showToastMessage } = useShowToastMessage();
56728
56733
  const tableColumns = {
56729
56734
  subscriptionId: {
@@ -56799,7 +56804,7 @@ var WfoSubscriptionsList = ({
56799
56804
  filterBy: alwaysOnFilters,
56800
56805
  query: queryString || void 0
56801
56806
  };
56802
- const { data, isError: isError3, isLoading } = useQueryWithGraphql(
56807
+ const { data, isError: isError3, isFetching } = useQueryWithGraphql(
56803
56808
  getSubscriptionsListGraphQlQuery(),
56804
56809
  graphqlQueryVariables,
56805
56810
  ["subscriptions", "listPage"]
@@ -56841,7 +56846,7 @@ var WfoSubscriptionsList = ({
56841
56846
  defaultHiddenColumns: hiddenColumns,
56842
56847
  dataSorting,
56843
56848
  pagination,
56844
- isLoading,
56849
+ isLoading: isFetching,
56845
56850
  localStorageKey: SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY,
56846
56851
  detailModalTitle: "Details - Subscription",
56847
56852
  onUpdatePage: getPageChangeHandler(
@@ -56869,7 +56874,7 @@ var WfoSubscriptionsList = ({
56869
56874
  import { Fragment as Fragment37, jsx as jsx161, jsxs as jsxs96 } from "@emotion/react/jsx-runtime";
56870
56875
  var WfoSubscriptionsListPage = () => {
56871
56876
  var _a;
56872
- const t = useTranslations48("subscriptions.detail");
56877
+ const t = useTranslations49("subscriptions.detail");
56873
56878
  const [tableDefaults, setTableDefaults] = useState37();
56874
56879
  const getStoredTableConfig = useStoredTableConfig(
56875
56880
  SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
@@ -56934,7 +56939,7 @@ var WfoSubscriptionsListPage = () => {
56934
56939
 
56935
56940
  // src/pages/tasks/WfoTasksListPage.tsx
56936
56941
  import { useContext as useContext13, useEffect as useEffect25, useState as useState38 } from "react";
56937
- import { useTranslations as useTranslations49 } from "next-intl";
56942
+ import { useTranslations as useTranslations50 } from "next-intl";
56938
56943
  import Link6 from "next/link";
56939
56944
  import { useRouter as useRouter14 } from "next/router";
56940
56945
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
@@ -57018,7 +57023,7 @@ import { Fragment as Fragment38, jsx as jsx163, jsxs as jsxs98 } from "@emotion/
57018
57023
  var WfoTasksListPage = () => {
57019
57024
  var _a;
57020
57025
  const router = useRouter14();
57021
- const t = useTranslations49("tasks.page");
57026
+ const t = useTranslations50("tasks.page");
57022
57027
  const [activeTab, setActiveTab] = useQueryParam3(
57023
57028
  "activeTab",
57024
57029
  withDefault4(StringParam4, "ACTIVE" /* ACTIVE */)
@@ -57126,7 +57131,7 @@ var WfoTasksListPage = () => {
57126
57131
 
57127
57132
  // src/pages/workflows/WfoWorkflowsListPage.tsx
57128
57133
  import { useEffect as useEffect26, useState as useState39 } from "react";
57129
- import { useTranslations as useTranslations50 } from "next-intl";
57134
+ import { useTranslations as useTranslations51 } from "next-intl";
57130
57135
  import { useRouter as useRouter15 } from "next/router";
57131
57136
  import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
57132
57137
  import { EuiPageHeader as EuiPageHeader6, EuiSpacer as EuiSpacer21 } from "@elastic/eui";
@@ -57193,7 +57198,7 @@ import { Fragment as Fragment39, jsx as jsx164, jsxs as jsxs99 } from "@emotion/
57193
57198
  var WfoWorkflowsListPage = () => {
57194
57199
  var _a;
57195
57200
  const router = useRouter15();
57196
- const t = useTranslations50("workflows.index");
57201
+ const t = useTranslations51("workflows.index");
57197
57202
  const [activeTab, setActiveTab] = useQueryParam4(
57198
57203
  "activeTab",
57199
57204
  withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
@@ -57362,8 +57367,8 @@ var WfoProcessesList = ({
57362
57367
  overrideDefaultTableColumns
57363
57368
  }) => {
57364
57369
  var _a, _b;
57365
- const t = useTranslations51("processes.index");
57366
- const tError = useTranslations51("errors");
57370
+ const t = useTranslations52("processes.index");
57371
+ const tError = useTranslations52("errors");
57367
57372
  const { showToastMessage } = useShowToastMessage();
57368
57373
  const defaultTableColumns = {
57369
57374
  workflowName: {
@@ -57558,7 +57563,7 @@ var WfoJsonCodeBlock = ({ data }) => {
57558
57563
 
57559
57564
  // src/components/WfoSettings/WfoFlushSettings.tsx
57560
57565
  import { useState as useState40 } from "react";
57561
- import { useTranslations as useTranslations52 } from "next-intl";
57566
+ import { useTranslations as useTranslations53 } from "next-intl";
57562
57567
  import {
57563
57568
  EuiButton as EuiButton14,
57564
57569
  EuiComboBox,
@@ -57569,7 +57574,7 @@ import {
57569
57574
  import { jsx as jsx167, jsxs as jsxs100 } from "@emotion/react/jsx-runtime";
57570
57575
  var WfoFlushSettings = () => {
57571
57576
  const [clearCache] = useClearCacheMutation();
57572
- const t = useTranslations52("settings.page");
57577
+ const t = useTranslations53("settings.page");
57573
57578
  const [selectedOptions, setSelected] = useState40(
57574
57579
  []
57575
57580
  );
@@ -57631,14 +57636,14 @@ var WfoFlushSettings = () => {
57631
57636
  };
57632
57637
 
57633
57638
  // src/components/WfoSettings/WfoEngineStatusButton.tsx
57634
- import { useTranslations as useTranslations53 } from "next-intl";
57639
+ import { useTranslations as useTranslations54 } from "next-intl";
57635
57640
  import { EuiButton as EuiButton15 } from "@elastic/eui";
57636
57641
  import { jsx as jsx168 } from "@emotion/react/jsx-runtime";
57637
57642
  var WfoEngineStatusButton = () => {
57638
57643
  const { data, isLoading } = useGetEngineStatusQuery();
57639
57644
  const { engineStatus } = data || {};
57640
57645
  const [setEngineStatus, { isLoading: isSettingEngineStatus }] = useSetEngineStatusMutation();
57641
- const t = useTranslations53("settings.page");
57646
+ const t = useTranslations54("settings.page");
57642
57647
  if (isLoading || isSettingEngineStatus) {
57643
57648
  return /* @__PURE__ */ jsx168(EuiButton15, { isLoading: true, fill: true, children: "Loading..." });
57644
57649
  }
@@ -57664,11 +57669,11 @@ var WfoEngineStatusButton = () => {
57664
57669
  };
57665
57670
 
57666
57671
  // src/components/WfoSettings/WfoModifySettings.tsx
57667
- import { useTranslations as useTranslations54 } from "next-intl";
57672
+ import { useTranslations as useTranslations55 } from "next-intl";
57668
57673
  import { EuiPanel as EuiPanel10, EuiSpacer as EuiSpacer23, EuiText as EuiText37 } from "@elastic/eui";
57669
57674
  import { jsx as jsx169, jsxs as jsxs101 } from "@emotion/react/jsx-runtime";
57670
57675
  var WfoModifySettings = () => {
57671
- const t = useTranslations54("settings.page");
57676
+ const t = useTranslations55("settings.page");
57672
57677
  return /* @__PURE__ */ jsxs101(
57673
57678
  EuiPanel10,
57674
57679
  {
@@ -57686,7 +57691,7 @@ var WfoModifySettings = () => {
57686
57691
  };
57687
57692
 
57688
57693
  // src/components/WfoSettings/WfoStatus.tsx
57689
- import { useTranslations as useTranslations55 } from "next-intl";
57694
+ import { useTranslations as useTranslations56 } from "next-intl";
57690
57695
  import {
57691
57696
  EuiFlexGroup as EuiFlexGroup26,
57692
57697
  EuiFlexItem as EuiFlexItem35,
@@ -57700,7 +57705,7 @@ var WfoStatus = () => {
57700
57705
  const { data } = useGetEngineStatusQuery();
57701
57706
  const { engineStatus, runningProcesses } = data || {};
57702
57707
  const isRunning = engineStatus === "RUNNING" /* RUNNING */;
57703
- const t = useTranslations55("settings.page");
57708
+ const t = useTranslations56("settings.page");
57704
57709
  return /* @__PURE__ */ jsxs102(
57705
57710
  EuiPanel11,
57706
57711
  {
@@ -57731,6 +57736,35 @@ var WfoStatus = () => {
57731
57736
  );
57732
57737
  };
57733
57738
 
57739
+ // src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
57740
+ import React53 from "react";
57741
+ import { jsx as jsx171, jsxs as jsxs103 } from "@emotion/react/jsx-runtime";
57742
+ var WfoErrorBoundary = class extends React53.Component {
57743
+ constructor(props) {
57744
+ super(props);
57745
+ this.state = { hasError: false };
57746
+ }
57747
+ static getDerivedStateFromError() {
57748
+ return { hasError: true };
57749
+ }
57750
+ componentDidCatch(error, info) {
57751
+ console.error(error, info.componentStack);
57752
+ }
57753
+ render() {
57754
+ if (this.state.hasError) {
57755
+ if (this.props.fallback) {
57756
+ return this.props.fallback;
57757
+ }
57758
+ return /* @__PURE__ */ jsxs103("p", { children: [
57759
+ "An unexpected error occurred, try to go back to the",
57760
+ " ",
57761
+ /* @__PURE__ */ jsx171("a", { href: "/", children: "home page" })
57762
+ ] });
57763
+ }
57764
+ return this.props.children;
57765
+ }
57766
+ };
57767
+
57734
57768
  // src/theme/defaultOrchestratorTheme.ts
57735
57769
  var defaultOrchestratorTheme = {
57736
57770
  base: 16,
@@ -57823,9 +57857,11 @@ var en_GB_default = {
57823
57857
  deselect: "Deselect",
57824
57858
  close: "Close",
57825
57859
  editColumns: "Edit columns",
57860
+ loading: "Loading",
57826
57861
  newSubscription: "New subscription",
57827
57862
  newTask: "New task",
57828
57863
  noFailedTasks: "No failed tasks!",
57864
+ noItemsFound: "No items found",
57829
57865
  search: "Search",
57830
57866
  errorMessage: "An error occurred",
57831
57867
  export: "Export"
@@ -58177,9 +58213,11 @@ var nl_NL_default = {
58177
58213
  deselect: "Deselecteer",
58178
58214
  close: "Sluiten",
58179
58215
  editColumns: "Wijzig kolommen",
58216
+ loading: "Laden",
58180
58217
  newSubscription: "Nieuwe subscription",
58181
58218
  newTask: "Nieuwe task",
58182
58219
  noFailedTasks: "Geen gefaalde taken!",
58220
+ noItemsFound: "Geen items gevonden",
58183
58221
  search: "Zoeken",
58184
58222
  errorMessage: "Er is een fout opgetreden",
58185
58223
  export: "Exporteren"
@@ -58660,6 +58698,7 @@ export {
58660
58698
  WfoEngineStatusButton,
58661
58699
  WfoEnvironmentBadge,
58662
58700
  WfoError,
58701
+ WfoErrorBoundary,
58663
58702
  WfoEyeFill,
58664
58703
  WfoFailedTasksBadge,
58665
58704
  WfoFilterTabs,
@@ -58757,6 +58796,7 @@ export {
58757
58796
  getApiClient,
58758
58797
  getCurrentBrowserLocale,
58759
58798
  getDataSortHandler,
58799
+ getDate,
58760
58800
  getFieldFromProductBlockInstanceValues,
58761
58801
  getFirstUuidPart,
58762
58802
  getInitialColumnOrder,