@orchestrator-ui/orchestrator-ui-components 5.2.0 → 5.2.3
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +7 -7
- package/CHANGELOG.md +18 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +80 -86
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/WfoInlineNoteEdit/WfoSubscriptionNoteEdit.tsx +9 -18
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +52 -55
- package/src/components/WfoSubscriptionsList/subscriptionResultMappers.ts +5 -3
- package/src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx +1 -1
- package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx +4 -1
- package/src/configuration/version.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@5.2.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@5.2.3 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@5.2.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@5.2.3 generate-version
|
|
7
7
|
> node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
|
|
8
8
|
|
|
9
|
-
src/configuration/version.ts
|
|
9
|
+
src/configuration/version.ts 46ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
12
|
[34mCLI[39m tsup v8.4.0
|
|
@@ -15,7 +15,7 @@ src/configuration/version.ts 39ms
|
|
|
15
15
|
[34mESM[39m Build start
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m1.99 MB[39m
|
|
18
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m3.
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m813.
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m3.69 MB[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 672ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 21236ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m813.26 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@5.2.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@5.2.3 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
6
5
|
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
|
-
PASS Wfo-UI Tests src/
|
|
6
|
+
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
8
7
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
9
|
-
PASS Wfo-UI Tests src/
|
|
8
|
+
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
10
9
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
11
|
-
PASS Wfo-UI Tests src/utils/
|
|
10
|
+
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
12
11
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
12
|
+
PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
|
|
13
13
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
@@ -35,11 +35,11 @@ PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
|
35
35
|
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
36
36
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
38
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.
|
|
38
|
+
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.552 s)
|
|
39
39
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
|
|
40
40
|
|
|
41
41
|
Test Suites: 35 passed, 35 total
|
|
42
42
|
Tests: 226 passed, 226 total
|
|
43
43
|
Snapshots: 0 total
|
|
44
|
-
Time:
|
|
44
|
+
Time: 8.165 s
|
|
45
45
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @orchestrator-ui/orchestrator-ui-components
|
|
2
2
|
|
|
3
|
+
## 5.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c3e62c9: 2001 fix filter of summarycard
|
|
8
|
+
|
|
9
|
+
## 5.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 5fcb0c8: Fix regression in subscription delta
|
|
14
|
+
|
|
15
|
+
## 5.2.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 7d968b0: Updates pydantic-forms minimum version
|
|
20
|
+
|
|
3
21
|
## 5.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -11631,7 +11631,7 @@ type SubscriptionListItem = Pick<Subscription, 'subscriptionId' | 'description'
|
|
|
11631
11631
|
metadata: object | null;
|
|
11632
11632
|
};
|
|
11633
11633
|
declare const mapGraphQlSubscriptionsResultToPageInfo: (graphqlResponse: SubscriptionListResponse) => GraphQLPageInfo;
|
|
11634
|
-
declare const mapGraphQlSubscriptionsResultToSubscriptionListItems: (graphqlResponse: SubscriptionListResponse) => SubscriptionListItem[];
|
|
11634
|
+
declare const mapGraphQlSubscriptionsResultToSubscriptionListItems: (graphqlResponse: SubscriptionListResponse | undefined) => SubscriptionListItem[];
|
|
11635
11635
|
|
|
11636
11636
|
declare enum WfoSubscriptionListTab {
|
|
11637
11637
|
ACTIVE = "ACTIVE",
|
|
@@ -17796,10 +17796,10 @@ type WfoRadioDropdownOption<T> = {
|
|
|
17796
17796
|
declare const WfoRadioDropdown: <T>({ options, onUpdateOption, selectedOption, }: WfoRadioDropdownProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
17797
17797
|
|
|
17798
17798
|
interface WfoSubscriptionNoteEditProps {
|
|
17799
|
-
subscriptionId: Subscription['subscriptionId'];
|
|
17800
17799
|
onlyShowOnHover?: boolean;
|
|
17801
17800
|
queryVariables: Record<string, unknown>;
|
|
17802
|
-
|
|
17801
|
+
endpointName: string | undefined;
|
|
17802
|
+
subscription: SubscriptionListItem;
|
|
17803
17803
|
}
|
|
17804
17804
|
declare const WfoSubscriptionNoteEdit: FC<WfoSubscriptionNoteEditProps>;
|
|
17805
17805
|
|
|
@@ -17874,7 +17874,7 @@ declare const METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
|
|
|
17874
17874
|
declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
|
|
17875
17875
|
declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
|
|
17876
17876
|
|
|
17877
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "5.2.
|
|
17877
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "5.2.3";
|
|
17878
17878
|
|
|
17879
17879
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
17880
17880
|
pydanticForms: {
|
package/dist/index.js
CHANGED
|
@@ -26799,7 +26799,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
26799
26799
|
})(PolicyResource || {});
|
|
26800
26800
|
|
|
26801
26801
|
// src/configuration/version.ts
|
|
26802
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.2.
|
|
26802
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.2.3";
|
|
26803
26803
|
|
|
26804
26804
|
// src/types/types.ts
|
|
26805
26805
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -51409,7 +51409,7 @@ var WfoProcessSubscriptionDelta = ({
|
|
|
51409
51409
|
const subscriptionId = data?.current_state?.subscription?.subscription_id ?? "";
|
|
51410
51410
|
const newText = data?.current_state?.subscription ?? null;
|
|
51411
51411
|
const oldSubscriptions = data?.current_state?.__old_subscriptions__ || {};
|
|
51412
|
-
const oldSubscription = subscriptionId in oldSubscriptions;
|
|
51412
|
+
const oldSubscription = subscriptionId in oldSubscriptions ? oldSubscriptions[subscriptionId] : null;
|
|
51413
51413
|
const oldText = oldSubscription || null;
|
|
51414
51414
|
return isFetching ? /* @__PURE__ */ jsx218(WfoLoading, {}) : /* @__PURE__ */ jsx218(
|
|
51415
51415
|
WfoDiff_default,
|
|
@@ -53085,36 +53085,39 @@ var WfoStartTaskButtonComboBox = () => {
|
|
|
53085
53085
|
|
|
53086
53086
|
// src/components/WfoSubscriptionsList/subscriptionResultMappers.ts
|
|
53087
53087
|
var mapGraphQlSubscriptionsResultToPageInfo = (graphqlResponse) => graphqlResponse.pageInfo;
|
|
53088
|
-
var mapGraphQlSubscriptionsResultToSubscriptionListItems = (graphqlResponse) =>
|
|
53089
|
-
|
|
53090
|
-
|
|
53091
|
-
|
|
53092
|
-
|
|
53093
|
-
|
|
53094
|
-
|
|
53095
|
-
|
|
53096
|
-
|
|
53097
|
-
|
|
53098
|
-
|
|
53099
|
-
|
|
53100
|
-
|
|
53101
|
-
|
|
53102
|
-
|
|
53103
|
-
|
|
53104
|
-
|
|
53105
|
-
|
|
53106
|
-
|
|
53107
|
-
|
|
53108
|
-
|
|
53109
|
-
|
|
53110
|
-
|
|
53111
|
-
|
|
53112
|
-
|
|
53113
|
-
|
|
53114
|
-
|
|
53115
|
-
|
|
53116
|
-
|
|
53117
|
-
|
|
53088
|
+
var mapGraphQlSubscriptionsResultToSubscriptionListItems = (graphqlResponse) => {
|
|
53089
|
+
if (!graphqlResponse) return [];
|
|
53090
|
+
return graphqlResponse.subscriptions.map((subscription) => {
|
|
53091
|
+
const {
|
|
53092
|
+
description,
|
|
53093
|
+
insync,
|
|
53094
|
+
product,
|
|
53095
|
+
startDate,
|
|
53096
|
+
endDate,
|
|
53097
|
+
status,
|
|
53098
|
+
subscriptionId,
|
|
53099
|
+
note,
|
|
53100
|
+
customer,
|
|
53101
|
+
metadata
|
|
53102
|
+
} = subscription;
|
|
53103
|
+
const { name: productName, tag } = product;
|
|
53104
|
+
const { fullname: customerFullname, shortcode: customerShortcode } = customer;
|
|
53105
|
+
return {
|
|
53106
|
+
subscriptionId,
|
|
53107
|
+
description,
|
|
53108
|
+
status,
|
|
53109
|
+
insync,
|
|
53110
|
+
startDate: parseDate(startDate),
|
|
53111
|
+
endDate: parseDate(endDate),
|
|
53112
|
+
note,
|
|
53113
|
+
productName,
|
|
53114
|
+
tag,
|
|
53115
|
+
customerFullname,
|
|
53116
|
+
customerShortcode,
|
|
53117
|
+
metadata: Object.keys(metadata).length > 0 ? metadata : null
|
|
53118
|
+
};
|
|
53119
|
+
});
|
|
53120
|
+
};
|
|
53118
53121
|
|
|
53119
53122
|
// src/components/WfoSubscriptionsList/subscriptionListTabs.ts
|
|
53120
53123
|
var WfoSubscriptionListTab = /* @__PURE__ */ ((WfoSubscriptionListTab2) => {
|
|
@@ -53228,24 +53231,16 @@ var {
|
|
|
53228
53231
|
// src/components/WfoInlineNoteEdit/WfoSubscriptionNoteEdit.tsx
|
|
53229
53232
|
import { jsx as jsx241 } from "@emotion/react/jsx-runtime";
|
|
53230
53233
|
var WfoSubscriptionNoteEdit = ({
|
|
53231
|
-
subscriptionId,
|
|
53232
53234
|
onlyShowOnHover = false,
|
|
53233
53235
|
queryVariables,
|
|
53234
|
-
|
|
53236
|
+
endpointName,
|
|
53237
|
+
subscription
|
|
53235
53238
|
}) => {
|
|
53236
|
-
const { selectedItem } = useQuery(queryVariables, {
|
|
53237
|
-
selectFromResult: (result) => ({
|
|
53238
|
-
selectedItem: result?.data?.subscriptions?.find(
|
|
53239
|
-
(sub) => sub.subscriptionId === subscriptionId
|
|
53240
|
-
)
|
|
53241
|
-
})
|
|
53242
|
-
});
|
|
53243
|
-
const endpointName = useQuery().endpointName;
|
|
53244
53239
|
const [startProcess] = useStartProcessMutation();
|
|
53245
53240
|
const [updateSub] = useUpdateSubscriptionNoteOptimisticMutation();
|
|
53246
53241
|
const triggerNoteModifyWorkflow = (note) => {
|
|
53247
53242
|
const noteModifyPayload = [
|
|
53248
|
-
{ subscription_id: subscriptionId },
|
|
53243
|
+
{ subscription_id: subscription.subscriptionId },
|
|
53249
53244
|
{ note: note === INVISIBLE_CHARACTER ? "" : note }
|
|
53250
53245
|
];
|
|
53251
53246
|
startProcess({
|
|
@@ -53254,7 +53249,7 @@ var WfoSubscriptionNoteEdit = ({
|
|
|
53254
53249
|
});
|
|
53255
53250
|
updateSub({
|
|
53256
53251
|
queryName: endpointName ?? "",
|
|
53257
|
-
subscriptionId,
|
|
53252
|
+
subscriptionId: subscription.subscriptionId,
|
|
53258
53253
|
graphQlQueryVariables: queryVariables,
|
|
53259
53254
|
note
|
|
53260
53255
|
});
|
|
@@ -53262,7 +53257,7 @@ var WfoSubscriptionNoteEdit = ({
|
|
|
53262
53257
|
return /* @__PURE__ */ jsx241(
|
|
53263
53258
|
WfoInlineEdit,
|
|
53264
53259
|
{
|
|
53265
|
-
value:
|
|
53260
|
+
value: subscription?.note?.trim() ? subscription.note : INVISIBLE_CHARACTER,
|
|
53266
53261
|
onlyShowOnHover,
|
|
53267
53262
|
onSave: triggerNoteModifyWorkflow
|
|
53268
53263
|
}
|
|
@@ -53281,6 +53276,16 @@ var WfoSubscriptionsList = ({
|
|
|
53281
53276
|
const t = useTranslations82("subscriptions.index");
|
|
53282
53277
|
const tError = useTranslations82("errors");
|
|
53283
53278
|
const { showToastMessage } = useShowToastMessage();
|
|
53279
|
+
const { sortBy: sortBy2, queryString, pageIndex, pageSize } = dataDisplayParams;
|
|
53280
|
+
const graphqlQueryVariables = {
|
|
53281
|
+
first: pageSize,
|
|
53282
|
+
after: pageIndex * pageSize,
|
|
53283
|
+
sortBy: sortBy2,
|
|
53284
|
+
filterBy: alwaysOnFilters,
|
|
53285
|
+
query: queryString || void 0
|
|
53286
|
+
};
|
|
53287
|
+
const { data, isFetching, error, endpointName } = useGetSubscriptionListQuery(graphqlQueryVariables);
|
|
53288
|
+
const subscriptionList = mapGraphQlSubscriptionsResultToSubscriptionListItems(data);
|
|
53284
53289
|
const tableColumnConfig = {
|
|
53285
53290
|
subscriptionId: {
|
|
53286
53291
|
columnType: "data" /* DATA */,
|
|
@@ -53352,10 +53357,10 @@ var WfoSubscriptionsList = ({
|
|
|
53352
53357
|
return /* @__PURE__ */ jsx242(
|
|
53353
53358
|
WfoSubscriptionNoteEdit,
|
|
53354
53359
|
{
|
|
53355
|
-
queryVariables: graphqlQueryVariables,
|
|
53356
|
-
subscriptionId: row.subscriptionId,
|
|
53357
53360
|
onlyShowOnHover: true,
|
|
53358
|
-
|
|
53361
|
+
endpointName,
|
|
53362
|
+
queryVariables: graphqlQueryVariables,
|
|
53363
|
+
subscription: row
|
|
53359
53364
|
}
|
|
53360
53365
|
);
|
|
53361
53366
|
}
|
|
@@ -53369,17 +53374,6 @@ var WfoSubscriptionsList = ({
|
|
|
53369
53374
|
renderTooltip: (value) => value && /* @__PURE__ */ jsx242(WfoJsonCodeBlock, { data: value, isBasicStyle: false })
|
|
53370
53375
|
}
|
|
53371
53376
|
};
|
|
53372
|
-
const { sortBy: sortBy2, queryString, pageIndex, pageSize } = dataDisplayParams;
|
|
53373
|
-
const graphqlQueryVariables = {
|
|
53374
|
-
first: pageSize,
|
|
53375
|
-
after: pageIndex * pageSize,
|
|
53376
|
-
sortBy: sortBy2,
|
|
53377
|
-
filterBy: alwaysOnFilters,
|
|
53378
|
-
query: queryString || void 0
|
|
53379
|
-
};
|
|
53380
|
-
const { data, isFetching, error } = useGetSubscriptionListQuery(
|
|
53381
|
-
graphqlQueryVariables
|
|
53382
|
-
);
|
|
53383
53377
|
const [getSubscriptionListTrigger, { isFetching: isFetchingCsv }] = useLazyGetSubscriptionListQuery();
|
|
53384
53378
|
const getSubscriptionListForExport = () => getSubscriptionListTrigger(
|
|
53385
53379
|
getQueryVariablesForExport(graphqlQueryVariables)
|
|
@@ -53397,29 +53391,39 @@ var WfoSubscriptionsList = ({
|
|
|
53397
53391
|
sortOrder: dataDisplayParams.sortBy?.order ?? "ASC" /* ASC */
|
|
53398
53392
|
};
|
|
53399
53393
|
const { totalItems, sortFields, filterFields } = data?.pageInfo ?? {};
|
|
53394
|
+
const pageChange = getPageIndexChangeHandler(setDataDisplayParam);
|
|
53395
|
+
const pageSizeChange = getPageSizeChangeHandler(setDataDisplayParam);
|
|
53396
|
+
const updateQuery = getQueryStringHandler(setDataDisplayParam);
|
|
53397
|
+
const updateSorting = getDataSortHandler(setDataDisplayParam);
|
|
53400
53398
|
const pagination = {
|
|
53401
53399
|
pageIndex: dataDisplayParams.pageIndex,
|
|
53402
53400
|
pageSize: dataDisplayParams.pageSize,
|
|
53403
53401
|
pageSizeOptions: DEFAULT_PAGE_SIZES,
|
|
53404
53402
|
totalItemCount: totalItems ?? 0,
|
|
53405
|
-
onChangePage:
|
|
53406
|
-
|
|
53407
|
-
|
|
53408
|
-
|
|
53409
|
-
|
|
53403
|
+
onChangePage: pageChange,
|
|
53404
|
+
onChangeItemsPerPage: pageSizeChange
|
|
53405
|
+
};
|
|
53406
|
+
const exportData = csvDownloadHandler(
|
|
53407
|
+
getSubscriptionListForExport,
|
|
53408
|
+
mapGraphQlSubscriptionsResultToSubscriptionListItems,
|
|
53409
|
+
mapGraphQlSubscriptionsResultToPageInfo,
|
|
53410
|
+
Object.keys(tableColumnConfig),
|
|
53411
|
+
getCsvFileNameWithDate("Subscriptions"),
|
|
53412
|
+
showToastMessage,
|
|
53413
|
+
tError
|
|
53414
|
+
);
|
|
53415
|
+
const tableConfig = mapSortableAndFilterableValuesToTableColumnConfig(
|
|
53416
|
+
tableColumnConfig,
|
|
53417
|
+
sortFields,
|
|
53418
|
+
filterFields
|
|
53419
|
+
);
|
|
53410
53420
|
return /* @__PURE__ */ jsx242(
|
|
53411
53421
|
WfoAdvancedTable,
|
|
53412
53422
|
{
|
|
53413
53423
|
queryString: dataDisplayParams.queryString,
|
|
53414
|
-
onUpdateQueryString:
|
|
53415
|
-
|
|
53416
|
-
|
|
53417
|
-
data: data ? mapGraphQlSubscriptionsResultToSubscriptionListItems(data) : [],
|
|
53418
|
-
tableColumnConfig: mapSortableAndFilterableValuesToTableColumnConfig(
|
|
53419
|
-
tableColumnConfig,
|
|
53420
|
-
sortFields,
|
|
53421
|
-
filterFields
|
|
53422
|
-
),
|
|
53424
|
+
onUpdateQueryString: updateQuery,
|
|
53425
|
+
data: subscriptionList,
|
|
53426
|
+
tableColumnConfig: tableConfig,
|
|
53423
53427
|
defaultHiddenColumns: hiddenColumns,
|
|
53424
53428
|
dataSorting: [dataSorting],
|
|
53425
53429
|
isLoading: isFetching,
|
|
@@ -53427,18 +53431,8 @@ var WfoSubscriptionsList = ({
|
|
|
53427
53431
|
detailModalTitle: "Details - Subscription",
|
|
53428
53432
|
pagination,
|
|
53429
53433
|
error: mapRtkErrorToWfoError(error),
|
|
53430
|
-
onUpdateDataSorting:
|
|
53431
|
-
|
|
53432
|
-
),
|
|
53433
|
-
onExportData: csvDownloadHandler(
|
|
53434
|
-
getSubscriptionListForExport,
|
|
53435
|
-
mapGraphQlSubscriptionsResultToSubscriptionListItems,
|
|
53436
|
-
mapGraphQlSubscriptionsResultToPageInfo,
|
|
53437
|
-
Object.keys(tableColumnConfig),
|
|
53438
|
-
getCsvFileNameWithDate("Subscriptions"),
|
|
53439
|
-
showToastMessage,
|
|
53440
|
-
tError
|
|
53441
|
-
),
|
|
53434
|
+
onUpdateDataSorting: updateSorting,
|
|
53435
|
+
onExportData: exportData,
|
|
53442
53436
|
exportDataIsLoading: isFetchingCsv
|
|
53443
53437
|
}
|
|
53444
53438
|
);
|
|
@@ -54054,7 +54048,7 @@ var WfoMyWorkflowsSummaryCard = ({
|
|
|
54054
54048
|
const queryParams = {
|
|
54055
54049
|
["activeTab" /* ACTIVE_TAB */]: "COMPLETED" /* COMPLETED */,
|
|
54056
54050
|
["sortBy" /* SORT_BY */]: "field-lastModifiedAt_order-DESC",
|
|
54057
|
-
["queryString" /* QUERY_STRING */]: `createdBy
|
|
54051
|
+
["queryString" /* QUERY_STRING */]: `createdBy:"${username}"`
|
|
54058
54052
|
};
|
|
54059
54053
|
return /* @__PURE__ */ jsx253(
|
|
54060
54054
|
WfoSummaryCard,
|