@topconsultnpm/sdkui-react 6.21.0-dev5.1 → 6.21.0-dev5.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/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +4 -4
- package/lib/components/base/Styled.d.ts +1 -1
- package/lib/components/base/TMCounterBar.d.ts +2 -2
- package/lib/components/base/TMCounterContainer.d.ts +1 -2
- package/lib/components/base/TMCustomButton.d.ts +1 -1
- package/lib/components/base/TMDataGridExportForm.d.ts +1 -2
- package/lib/components/base/TMFileManager.d.ts +1 -2
- package/lib/components/base/TMFileManagerDataGridView.d.ts +1 -2
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +1 -1
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +1 -1
- package/lib/components/base/TMLayout.d.ts +4 -4
- package/lib/components/base/TMList.d.ts +1 -2
- package/lib/components/base/TMListView.d.ts +1 -1
- package/lib/components/base/TMSpinner.d.ts +1 -2
- package/lib/components/base/TMTab.d.ts +3 -4
- package/lib/components/base/TMTooltip.d.ts +1 -1
- package/lib/components/base/TMTreeView.d.ts +1 -1
- package/lib/components/base/TMUserAvatar.d.ts +1 -2
- package/lib/components/base/TMVilViewer.d.ts +1 -2
- package/lib/components/base/TMWaitPanel.d.ts +2 -3
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +1 -2
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +1 -2
- package/lib/components/choosers/TMRelationChooser.d.ts +3 -3
- package/lib/components/choosers/TMUserChooser.d.ts +2 -2
- package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +1 -2
- package/lib/components/editors/TMHtmlEditor.d.ts +1 -2
- package/lib/components/editors/TMTreeDropDown.d.ts +1 -1
- package/lib/components/features/assistant/TMToppyDraggableHelpCenter.d.ts +1 -1
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +1 -2
- package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
- package/lib/components/features/documents/TMDcmtIcon.d.ts +1 -2
- package/lib/components/features/documents/TMDcmtPreview.d.ts +1 -1
- package/lib/components/features/documents/TMDcmtTasks.d.ts +1 -2
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
- package/lib/components/features/documents/TMMasterDetailDcmts.js +20 -0
- package/lib/components/features/documents/TMMergeToPdfForm.d.ts +1 -2
- package/lib/components/features/documents/TMRelationViewer.d.ts +2 -0
- package/lib/components/features/documents/TMRelationViewer.js +145 -94
- package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +1 -2
- package/lib/components/features/search/TMMetadataOutputForm.d.ts +1 -2
- package/lib/components/features/search/TMMetadataSorterForm.d.ts +1 -2
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
- package/lib/components/features/search/TMSignatureInfoContent.d.ts +1 -2
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +1 -2
- package/lib/components/features/tasks/TMTaskForm.d.ts +1 -1
- package/lib/components/features/tasks/TMTaskFormUtils.d.ts +10 -10
- package/lib/components/features/tasks/TMTasksAgenda.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksCalendar.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksHeader.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksPanelContent.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksUtilsView.d.ts +5 -5
- package/lib/components/features/tasks/TMTasksView.d.ts +1 -1
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +2 -3
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +7 -8
- package/lib/components/forms/Login/Chooser.d.ts +2 -2
- package/lib/components/forms/TMChooserForm.d.ts +1 -2
- package/lib/components/forms/TMSaveForm.d.ts +4 -4
- package/lib/components/grids/TMBlogAttachments.d.ts +1 -2
- package/lib/components/grids/TMBlogHeader.d.ts +1 -1
- package/lib/components/grids/TMBlogsPost.d.ts +1 -1
- package/lib/components/grids/TMBlogsPostUtils.d.ts +9 -9
- package/lib/components/grids/TMValidationItemsList.d.ts +1 -2
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +1 -2
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +1 -1
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +2 -2
- package/lib/components/pages/TMPage.d.ts +1 -1
- package/lib/components/settings/SettingsAppearance.d.ts +1 -2
- package/lib/components/sidebar/TMAboutApp.d.ts +1 -2
- package/lib/components/sidebar/TMHeader.d.ts +3 -3
- package/lib/components/viewers/TMDataListItemViewer.d.ts +2 -3
- package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +2 -3
- package/lib/components/viewers/TMMidViewer.d.ts +2 -2
- package/lib/components/viewers/TMTidViewer.d.ts +2 -2
- package/lib/helper/TMCommandsContextMenu.d.ts +1 -1
- package/lib/helper/TMIcons.d.ts +278 -278
- package/lib/helper/TMPdfViewer.d.ts +1 -2
- package/lib/helper/TMToppyMessage.d.ts +2 -2
- package/lib/helper/TMUtils.d.ts +1 -1
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useInputDialog.d.ts +1 -2
- package/lib/services/platform_services.d.ts +2 -3
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
|
-
import { DcmtTypeListCacheService, SDK_Globals, DataColumnTypes, MetadataFormats, MetadataDataDomains, RelationCacheService, RelationTypes, UserListCacheService } from "@topconsultnpm/sdk-ts";
|
|
4
|
-
import { genUniqueId, IconFolder, IconBackhandIndexPointingRight, IconCircleInfo, getDcmtCicoStatus, IconChevronDown, IconChevronRight, SDKUI_Localizator, buildDcmtDisplayName, SDKUI_Globals } from '../../../helper';
|
|
3
|
+
import { DcmtTypeListCacheService, SDK_Globals, DataColumnTypes, MetadataFormats, MetadataDataDomains, RelationCacheService, RelationTypes, UserListCacheService, LayoutModes } from "@topconsultnpm/sdk-ts";
|
|
4
|
+
import { genUniqueId, IconFolder, IconBackhandIndexPointingRight, IconCircleInfo, getDcmtCicoStatus, IconChevronDown, IconChevronRight, SDKUI_Localizator, buildDcmtDisplayName, SDKUI_Globals, searchResultToMetadataValues } from '../../../helper';
|
|
5
5
|
import ShowAlert from '../../base/TMAlert';
|
|
6
6
|
import TMToppyMessage from '../../../helper/TMToppyMessage';
|
|
7
7
|
import { TMColors } from '../../../utils/theme';
|
|
@@ -88,41 +88,77 @@ export const getDisplayValueByColumn = (col, value) => {
|
|
|
88
88
|
};
|
|
89
89
|
/**
|
|
90
90
|
* Convert SearchResultDescriptor to structured data source with metadata
|
|
91
|
+
* For each document, fetches complete metadata using GetMetadataAsync to ensure
|
|
92
|
+
* all metadata properties (isSpecialSearchOutput, permissions, etc.) are available
|
|
91
93
|
*/
|
|
92
94
|
export const searchResultToDataSource = async (searchResult, hideSysMetadata) => {
|
|
93
95
|
const rows = searchResult?.dtdResult?.rows ?? [];
|
|
94
|
-
const tid = searchResult?.fromTID;
|
|
95
|
-
// IMPORTANT: Pass true to get full metadata with all properties (isSpecialSearchOutput, etc.)
|
|
96
|
-
const dtd = await DcmtTypeListCacheService.GetAsync(tid, true);
|
|
97
96
|
const output = [];
|
|
97
|
+
// Find TID and DID column indices
|
|
98
|
+
const columns = searchResult?.dtdResult?.columns ?? [];
|
|
99
|
+
const tidColIndex = columns.findIndex(col => col.caption?.toUpperCase() === 'TID');
|
|
100
|
+
const didColIndex = columns.findIndex(col => col.caption?.toUpperCase() === 'DID');
|
|
98
101
|
for (let index = 0; index < rows.length; index++) {
|
|
99
|
-
const item = { rowIndex: index };
|
|
100
102
|
const row = rows[index];
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
//
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
// Extract TID and DID from row
|
|
104
|
+
const tid = tidColIndex >= 0 ? Number(row[tidColIndex]) : searchResult?.fromTID;
|
|
105
|
+
const did = didColIndex >= 0 ? Number(row[didColIndex]) : undefined;
|
|
106
|
+
// Fetch complete metadata for this specific document (like getFilteredMetadata does)
|
|
107
|
+
const metadata = await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(tid, did, true);
|
|
108
|
+
if (metadata) {
|
|
109
|
+
// Get full DTD with metadata for this document
|
|
110
|
+
const dtdResult = metadata.dtdResult;
|
|
111
|
+
const metadataRows = dtdResult?.rows?.[0] ?? [];
|
|
112
|
+
const mids = metadata.selectMIDs;
|
|
113
|
+
const dtdWithMetadata = await DcmtTypeListCacheService.GetWithNotGrantedAsync(tid, did, metadata);
|
|
114
|
+
const mdList = dtdWithMetadata?.metadata ?? [];
|
|
115
|
+
// Convert to MetadataValueDescriptorEx array
|
|
116
|
+
const metadataList = searchResultToMetadataValues(tid, dtdResult, metadataRows, mids, mdList, LayoutModes.Update);
|
|
117
|
+
// Convert to DcmtMetadataMap format (like getFilteredMetadata does)
|
|
118
|
+
const item = { rowIndex: index };
|
|
119
|
+
for (const mvd of metadataList) {
|
|
120
|
+
if (hideSysMetadata && mvd.mid !== undefined && mvd.mid < 100)
|
|
121
|
+
continue;
|
|
122
|
+
const key = mvd.mid !== undefined && mvd.mid <= 100
|
|
123
|
+
? (mvd.md?.name ?? '').toUpperCase()
|
|
124
|
+
: (mvd.md?.name ?? '');
|
|
125
|
+
if (key) {
|
|
126
|
+
item[key] = {
|
|
127
|
+
md: mvd.md,
|
|
128
|
+
value: mvd.value
|
|
129
|
+
};
|
|
130
|
+
}
|
|
111
131
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
132
|
+
output.push(item);
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
// Fallback: use original row data with basic parsing
|
|
136
|
+
const item = { rowIndex: index };
|
|
137
|
+
const fallbackTid = searchResult?.fromTID;
|
|
138
|
+
const dtd = await DcmtTypeListCacheService.GetWithNotGrantedAsync(fallbackTid, undefined, searchResult);
|
|
139
|
+
for (let i = 0; i < row.length; i++) {
|
|
140
|
+
const column = searchResult?.dtdResult?.columns?.[i];
|
|
141
|
+
const mid = Number(column?.extendedProperties?.["MID"] ?? "0");
|
|
142
|
+
if (hideSysMetadata && mid < 100)
|
|
143
|
+
continue;
|
|
144
|
+
let key = column?.caption ?? '';
|
|
145
|
+
if (mid <= 100) {
|
|
146
|
+
key = key.toUpperCase();
|
|
116
147
|
}
|
|
148
|
+
else {
|
|
149
|
+
if (item[key] !== undefined && item[key]?.md?.id !== mid) {
|
|
150
|
+
key = `${key}_${mid}`;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const value = row[i];
|
|
154
|
+
const md = dtd?.metadata?.find(o => o.id == mid);
|
|
155
|
+
item[key] = {
|
|
156
|
+
md: md,
|
|
157
|
+
value: getDisplayValueByColumn(column, value)
|
|
158
|
+
};
|
|
117
159
|
}
|
|
118
|
-
|
|
119
|
-
const md = dtd?.metadata?.find(o => o.id == mid);
|
|
120
|
-
item[key] = {
|
|
121
|
-
md: md,
|
|
122
|
-
value: getDisplayValueByColumn(column, value)
|
|
123
|
-
};
|
|
160
|
+
output.push(item);
|
|
124
161
|
}
|
|
125
|
-
output.push(item);
|
|
126
162
|
}
|
|
127
163
|
return output;
|
|
128
164
|
};
|
|
@@ -437,71 +473,90 @@ const TMRelationViewer = ({ inputDcmts, isForMaster = false, showCurrentDcmtIndi
|
|
|
437
473
|
const setupInitialTreeExpansion = (tree) => {
|
|
438
474
|
if (tree.length === 0)
|
|
439
475
|
return tree;
|
|
440
|
-
//
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
expanded: true,
|
|
448
|
-
isRoot: true
|
|
449
|
-
};
|
|
450
|
-
// 2. Find first document/container and expand it
|
|
451
|
-
const firstRootItems = newFirstContainer.items;
|
|
452
|
-
if (firstRootItems && firstRootItems.length > 0) {
|
|
453
|
-
const firstDocOrContainer = firstRootItems[0];
|
|
454
|
-
if (firstDocOrContainer.isDcmt) {
|
|
455
|
-
// First item is a document - expand it and mark as root for focus
|
|
456
|
-
let newFirstDoc = {
|
|
457
|
-
...firstDocOrContainer,
|
|
458
|
-
expanded: true,
|
|
459
|
-
isRoot: true
|
|
460
|
-
};
|
|
461
|
-
// 3. Expand first correlation folder ONLY if there's exactly one
|
|
462
|
-
const docItems = newFirstDoc.items;
|
|
463
|
-
const containerChildren = docItems?.filter(child => child.isContainer) ?? [];
|
|
464
|
-
if (containerChildren.length === 1 && docItems && docItems.length > 0 && docItems[0].isContainer) {
|
|
465
|
-
const newFirstCorrelation = { ...docItems[0], expanded: true };
|
|
466
|
-
newFirstDoc = {
|
|
467
|
-
...newFirstDoc,
|
|
468
|
-
items: [newFirstCorrelation, ...docItems.slice(1)]
|
|
469
|
-
};
|
|
476
|
+
// Find the first container with documents (not empty)
|
|
477
|
+
// This ensures we focus on an actual document, not an empty container
|
|
478
|
+
const findFirstNonEmptyContainerIndex = () => {
|
|
479
|
+
for (let i = 0; i < tree.length; i++) {
|
|
480
|
+
const container = tree[i];
|
|
481
|
+
if (!container.isZero && container.items && Array.isArray(container.items) && container.items.length > 0) {
|
|
482
|
+
return i;
|
|
470
483
|
}
|
|
471
|
-
// Update the container's items
|
|
472
|
-
newFirstContainer = {
|
|
473
|
-
...newFirstContainer,
|
|
474
|
-
items: [newFirstDoc, ...firstRootItems.slice(1)]
|
|
475
|
-
};
|
|
476
484
|
}
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
485
|
+
return 0; // Fallback to first container if all are empty
|
|
486
|
+
};
|
|
487
|
+
const targetContainerIndex = findFirstNonEmptyContainerIndex();
|
|
488
|
+
// Process all containers, but only mark the target one for focus
|
|
489
|
+
const result = tree.map((container, index) => {
|
|
490
|
+
const isTargetContainer = index === targetContainerIndex;
|
|
491
|
+
const isFirstContainer = index === 0;
|
|
492
|
+
// Always expand the first container (even if empty, to show infoMessage)
|
|
493
|
+
// Also expand the target container if different
|
|
494
|
+
const shouldExpand = isFirstContainer || isTargetContainer;
|
|
495
|
+
if (!shouldExpand && !isTargetContainer) {
|
|
496
|
+
return container; // Keep non-target containers as-is
|
|
497
|
+
}
|
|
498
|
+
// Create a copy with expanded state
|
|
499
|
+
let newContainer = {
|
|
500
|
+
...container,
|
|
501
|
+
expanded: shouldExpand,
|
|
502
|
+
isRoot: isTargetContainer // Only mark target container as root
|
|
503
|
+
};
|
|
504
|
+
// Only process items for the target container (the one with documents)
|
|
505
|
+
if (isTargetContainer) {
|
|
506
|
+
const containerItems = newContainer.items;
|
|
507
|
+
if (containerItems && containerItems.length > 0) {
|
|
508
|
+
const firstDocOrContainer = containerItems[0];
|
|
509
|
+
if (firstDocOrContainer.isDcmt) {
|
|
510
|
+
// First item is a document - expand it and mark as root for focus
|
|
511
|
+
let newFirstDoc = {
|
|
512
|
+
...firstDocOrContainer,
|
|
513
|
+
expanded: true,
|
|
514
|
+
isRoot: true
|
|
515
|
+
};
|
|
516
|
+
// Expand first correlation folder ONLY if there's exactly one
|
|
517
|
+
const docItems = newFirstDoc.items;
|
|
518
|
+
const containerChildren = docItems?.filter(child => child.isContainer) ?? [];
|
|
519
|
+
if (containerChildren.length === 1 && docItems && docItems.length > 0 && docItems[0].isContainer) {
|
|
520
|
+
const newFirstCorrelation = { ...docItems[0], expanded: true };
|
|
521
|
+
newFirstDoc = {
|
|
522
|
+
...newFirstDoc,
|
|
523
|
+
items: [newFirstCorrelation, ...docItems.slice(1)]
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
// Update the container's items
|
|
527
|
+
newContainer = {
|
|
528
|
+
...newContainer,
|
|
529
|
+
items: [newFirstDoc, ...containerItems.slice(1)]
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
else if (firstDocOrContainer.isContainer) {
|
|
533
|
+
// First item is a container (correlation folder)
|
|
534
|
+
const siblingContainers = containerItems.filter(child => child.isContainer);
|
|
535
|
+
const shouldExpandCorrelation = siblingContainers.length === 1;
|
|
536
|
+
let newFirstCorrelation = {
|
|
537
|
+
...firstDocOrContainer,
|
|
538
|
+
expanded: shouldExpandCorrelation
|
|
539
|
+
};
|
|
540
|
+
// Find first document inside this container and mark for focus
|
|
541
|
+
const correlationItems = newFirstCorrelation.items;
|
|
542
|
+
if (correlationItems && correlationItems.length > 0 && correlationItems[0].isDcmt) {
|
|
543
|
+
const newFirstDoc = { ...correlationItems[0], isRoot: true };
|
|
544
|
+
newFirstCorrelation = {
|
|
545
|
+
...newFirstCorrelation,
|
|
546
|
+
items: [newFirstDoc, ...correlationItems.slice(1)]
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
// Update the container's items
|
|
550
|
+
newContainer = {
|
|
551
|
+
...newContainer,
|
|
552
|
+
items: [newFirstCorrelation, ...containerItems.slice(1)]
|
|
553
|
+
};
|
|
554
|
+
}
|
|
494
555
|
}
|
|
495
|
-
// Update the container's items
|
|
496
|
-
newFirstContainer = {
|
|
497
|
-
...newFirstContainer,
|
|
498
|
-
items: [newFirstCorrelation, ...firstRootItems.slice(1)]
|
|
499
|
-
};
|
|
500
556
|
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
return [newFirstContainer, ...tree.slice(1)];
|
|
557
|
+
return newContainer;
|
|
558
|
+
});
|
|
559
|
+
return result;
|
|
505
560
|
};
|
|
506
561
|
/**
|
|
507
562
|
* Main data loading function
|
|
@@ -1130,9 +1185,7 @@ const TMRelationViewer = ({ inputDcmts, isForMaster = false, showCurrentDcmtIndi
|
|
|
1130
1185
|
transition: 'opacity 0.2s ease-in-out',
|
|
1131
1186
|
textDecoration: isLogicallyDeleted ? 'line-through' : 'none'
|
|
1132
1187
|
};
|
|
1133
|
-
const documentStyle = customDocumentStyle
|
|
1134
|
-
? { ...defaultDocumentStyle, ...customDocumentStyle(item) }
|
|
1135
|
-
: defaultDocumentStyle;
|
|
1188
|
+
const documentStyle = customDocumentStyle ? { ...defaultDocumentStyle, ...customDocumentStyle(item) } : defaultDocumentStyle;
|
|
1136
1189
|
const textDecoration = isLogicallyDeleted ? 'line-through' : 'none';
|
|
1137
1190
|
const textColor = isLogicallyDeleted ? 'gray' : undefined;
|
|
1138
1191
|
const defaultMetadataContent = item.values && (() => {
|
|
@@ -1165,9 +1218,7 @@ const TMRelationViewer = ({ inputDcmts, isForMaster = false, showCurrentDcmtIndi
|
|
|
1165
1218
|
}, children: value }))] }, `${key}_${index}`));
|
|
1166
1219
|
}) }));
|
|
1167
1220
|
})();
|
|
1168
|
-
const metadataContent = customDocumentContent
|
|
1169
|
-
? customDocumentContent(item, defaultMetadataContent || _jsx(_Fragment, {}))
|
|
1170
|
-
: defaultMetadataContent;
|
|
1221
|
+
const metadataContent = customDocumentContent ? customDocumentContent(item, defaultMetadataContent || _jsx(_Fragment, {})) : defaultMetadataContent;
|
|
1171
1222
|
// Calculate checkout status for non-root documents
|
|
1172
1223
|
let checkoutStatusIcon = null;
|
|
1173
1224
|
if (item.values && item.dtd) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { DcmtInfo } from "../../../ts";
|
|
3
2
|
interface TMDcmtCheckoutInfoFormProps {
|
|
4
3
|
dtdName: string;
|
|
5
4
|
selectedDcmtOrFocused: DcmtInfo;
|
|
6
5
|
onClose: () => void;
|
|
7
6
|
}
|
|
8
|
-
declare const TMDcmtCheckoutInfoForm: (props: TMDcmtCheckoutInfoFormProps) =>
|
|
7
|
+
declare const TMDcmtCheckoutInfoForm: (props: TMDcmtCheckoutInfoFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default TMDcmtCheckoutInfoForm;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { MetadataDescriptor, QueryDescriptor, SelectItem } from "@topconsultnpm/sdk-ts";
|
|
3
2
|
interface TMMetadataOutputFormProps {
|
|
4
3
|
/** QueryDescriptor da cui estrarre i metadati disponibili */
|
|
@@ -14,5 +13,5 @@ interface TMMetadataOutputFormProps {
|
|
|
14
13
|
/** Callback chiamata quando l'utente conferma la selezione dei SelectItem */
|
|
15
14
|
onChoose?: (selectItems: SelectItem[] | undefined) => void;
|
|
16
15
|
}
|
|
17
|
-
declare const TMMetadataOutputForm: (props: TMMetadataOutputFormProps) =>
|
|
16
|
+
declare const TMMetadataOutputForm: (props: TMMetadataOutputFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export default TMMetadataOutputForm;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { MetadataDescriptor, OrderByItem, QueryDescriptor } from "@topconsultnpm/sdk-ts";
|
|
3
2
|
interface TMMetadataSorterFormProps {
|
|
4
3
|
/** QueryDescriptor da cui estrarre i metadati disponibili */
|
|
@@ -14,5 +13,5 @@ interface TMMetadataSorterFormProps {
|
|
|
14
13
|
/** Callback chiamata quando l'utente conferma la selezione degli OrderByItem */
|
|
15
14
|
onChoose?: (orderByItems: OrderByItem[] | undefined) => void;
|
|
16
15
|
}
|
|
17
|
-
declare const TMMetadataSorterForm: (props: TMMetadataSorterFormProps) =>
|
|
16
|
+
declare const TMMetadataSorterForm: (props: TMMetadataSorterFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export default TMMetadataSorterForm;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SavedQueryDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
|
-
export declare const getTooltipBySqd: (sqd: SavedQueryDescriptor | undefined) =>
|
|
3
|
+
export declare const getTooltipBySqd: (sqd: SavedQueryDescriptor | undefined) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
interface ITMSavedQuerySelectorProps {
|
|
5
5
|
height?: string;
|
|
6
6
|
items?: SavedQueryDescriptor[];
|
|
@@ -12,5 +12,5 @@ interface ITMSavedQuerySelectorProps {
|
|
|
12
12
|
refreshFavoriteSavedQueries?: (sqd: SavedQueryDescriptor) => void;
|
|
13
13
|
onRefreshData?: () => void;
|
|
14
14
|
}
|
|
15
|
-
declare const TMSavedQuerySelector: React.MemoExoticComponent<({ items, selectedId, allowShowSearch, height, manageDefault, onItemClick, onDeleted, refreshFavoriteSavedQueries, onRefreshData }: ITMSavedQuerySelectorProps) =>
|
|
15
|
+
declare const TMSavedQuerySelector: React.MemoExoticComponent<({ items, selectedId, allowShowSearch, height, manageDefault, onItemClick, onDeleted, refreshFavoriteSavedQueries, onRefreshData }: ITMSavedQuerySelectorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
16
16
|
export default TMSavedQuerySelector;
|
|
@@ -12,5 +12,5 @@ interface TMSearchResultFloatingActionButtonProps {
|
|
|
12
12
|
selectedDcmtsOrFocused: Array<DcmtInfo>;
|
|
13
13
|
config: TMSearchResultFloatingActionConfig;
|
|
14
14
|
}
|
|
15
|
-
export declare const TMSearchResultFloatingActionButton: (props: TMSearchResultFloatingActionButtonProps) =>
|
|
15
|
+
export declare const TMSearchResultFloatingActionButton: (props: TMSearchResultFloatingActionButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default TMSearchResultFloatingActionButton;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { DcmtInfo } from "../../../ts";
|
|
3
2
|
interface TMSignatureInfoContentProps {
|
|
4
3
|
inputDcmt: DcmtInfo;
|
|
5
4
|
}
|
|
6
|
-
declare const TMSignatureInfoContent: (props: TMSignatureInfoContentProps) =>
|
|
5
|
+
declare const TMSignatureInfoContent: (props: TMSignatureInfoContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
6
|
export default TMSignatureInfoContent;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { DcmtInfo } from "../../../ts/types";
|
|
3
2
|
import { DeviceType } from "../../base/TMDeviceProvider";
|
|
4
3
|
import { DcmtTypeDescriptor, HomeBlogPost, TaskDescriptor } from "@topconsultnpm/sdk-ts";
|
|
@@ -15,5 +14,5 @@ interface TMViewHistoryDcmtProps {
|
|
|
15
14
|
handleNavigateToWGs?: (value: HomeBlogPost | number) => Promise<void>;
|
|
16
15
|
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
17
16
|
}
|
|
18
|
-
declare const TMViewHistoryDcmt: (props: TMViewHistoryDcmtProps) =>
|
|
17
|
+
declare const TMViewHistoryDcmt: (props: TMViewHistoryDcmtProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
18
|
export default TMViewHistoryDcmt;
|
|
@@ -36,5 +36,5 @@ export interface TMTaskFormProps {
|
|
|
36
36
|
onOpenPdfEditorRequest?: (dcmtInfo: Array<DcmtInfo>, refreshDocumentPreview?: () => Promise<void>) => void;
|
|
37
37
|
s4TViewerDialogComponent?: React.ReactNode;
|
|
38
38
|
}
|
|
39
|
-
declare const TMTaskForm: (props: TMTaskFormProps) =>
|
|
39
|
+
declare const TMTaskForm: (props: TMTaskFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export default TMTaskForm;
|
|
@@ -8,7 +8,7 @@ interface TaskFormAssignmentNoticeSectionProps {
|
|
|
8
8
|
users: Array<UserDescriptor>;
|
|
9
9
|
requestMoreInfo?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const TaskFormAssignmentNoticeBadge: (props: TaskFormAssignmentNoticeSectionProps) =>
|
|
11
|
+
export declare const TaskFormAssignmentNoticeBadge: (props: TaskFormAssignmentNoticeSectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
12
|
interface RenderContextBlockParams {
|
|
13
13
|
condition: boolean;
|
|
14
14
|
pdg: PdGs;
|
|
@@ -19,7 +19,7 @@ interface TaskFormContextualAttachmentsProps {
|
|
|
19
19
|
currentTask: TaskDescriptor | undefined;
|
|
20
20
|
taskContext: TaskContext | undefined;
|
|
21
21
|
}
|
|
22
|
-
export declare const TaskFormContextualAttachments: (props: TaskFormContextualAttachmentsProps) =>
|
|
22
|
+
export declare const TaskFormContextualAttachments: (props: TaskFormContextualAttachmentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
interface TaskFormAssignedToProps {
|
|
24
24
|
formMode: FormModes;
|
|
25
25
|
formData: TaskDescriptor | undefined;
|
|
@@ -31,7 +31,7 @@ interface TaskFormAssignedToProps {
|
|
|
31
31
|
label?: string;
|
|
32
32
|
onValueChanged: (newValue: Array<number> | undefined) => void;
|
|
33
33
|
}
|
|
34
|
-
export declare const TaskAssigneeField: (props: TaskFormAssignedToProps) =>
|
|
34
|
+
export declare const TaskAssigneeField: (props: TaskFormAssignedToProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
interface RenderFieldBaseProps {
|
|
36
36
|
fieldsReadOnly: IFieldsEditability;
|
|
37
37
|
formDataOrig?: TaskDescriptor;
|
|
@@ -50,12 +50,12 @@ interface RenderDateFieldProps extends RenderFieldProps {
|
|
|
50
50
|
label?: string;
|
|
51
51
|
onContentReady?: () => void;
|
|
52
52
|
}
|
|
53
|
-
export declare const RenderNameField: ({ requestMoreInfo, validationItems, setFormData, formData, formDataOrig, fieldsReadOnly }: RenderFieldProps) =>
|
|
54
|
-
export declare const RenderDescriptionField: ({ validationItems, setFormData, formData, formDataOrig, fieldsReadOnly }: RenderFieldProps) =>
|
|
55
|
-
export declare const RenderPriorityField: ({ formData, formDataOrig, fieldsReadOnly, onPriorityValueChange }: RenderPriorityFieldProps) =>
|
|
56
|
-
export declare const RenderStartDateField: ({ label, validationItems, setFormData, formData, formDataOrig, fieldsReadOnly, onContentReady }: RenderDateFieldProps) =>
|
|
57
|
-
export declare const RenderEndDateField: ({ label, validationItems, setFormData, formData, formDataOrig, fieldsReadOnly, onContentReady }: RenderDateFieldProps) =>
|
|
58
|
-
export declare const RenderRemindDateField: ({ validationItems, setFormData, formData, formDataOrig, fieldsReadOnly }: RenderFieldProps) =>
|
|
53
|
+
export declare const RenderNameField: ({ requestMoreInfo, validationItems, setFormData, formData, formDataOrig, fieldsReadOnly }: RenderFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare const RenderDescriptionField: ({ validationItems, setFormData, formData, formDataOrig, fieldsReadOnly }: RenderFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export declare const RenderPriorityField: ({ formData, formDataOrig, fieldsReadOnly, onPriorityValueChange }: RenderPriorityFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
export declare const RenderStartDateField: ({ label, validationItems, setFormData, formData, formDataOrig, fieldsReadOnly, onContentReady }: RenderDateFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare const RenderEndDateField: ({ label, validationItems, setFormData, formData, formDataOrig, fieldsReadOnly, onContentReady }: RenderDateFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export declare const RenderRemindDateField: ({ validationItems, setFormData, formData, formDataOrig, fieldsReadOnly }: RenderFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
59
|
interface RenderTaskFormStateFieldProps {
|
|
60
60
|
formDataOrig: TaskDescriptor | undefined;
|
|
61
61
|
formData: TaskDescriptor | undefined;
|
|
@@ -71,7 +71,7 @@ interface TMChangeStateFormProps {
|
|
|
71
71
|
handleShowChangeStateForm: (value: boolean) => void;
|
|
72
72
|
setFormData: React.Dispatch<React.SetStateAction<TaskDescriptor | undefined>>;
|
|
73
73
|
}
|
|
74
|
-
export declare const TMChangeStateForm: (props: TMChangeStateFormProps) =>
|
|
74
|
+
export declare const TMChangeStateForm: (props: TMChangeStateFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
75
|
type TaskRole = "personal" | "sender" | "receiver";
|
|
76
76
|
type StatusTransitionMap = {
|
|
77
77
|
[key in Task_States]?: Task_States[];
|
|
@@ -15,5 +15,5 @@ interface TMTasksAgendaProps {
|
|
|
15
15
|
handleFocusedRowChange: (row: TaskDescriptor | undefined) => void;
|
|
16
16
|
menuItems: TMContextMenuItemProps[];
|
|
17
17
|
}
|
|
18
|
-
declare const TMTasksAgenda: (props: TMTasksAgendaProps) =>
|
|
18
|
+
declare const TMTasksAgenda: (props: TMTasksAgendaProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export default TMTasksAgenda;
|
|
@@ -19,5 +19,5 @@ interface TMTasksCalendarProps {
|
|
|
19
19
|
handleFocusedRowChange: (row: TaskDescriptor | undefined) => void;
|
|
20
20
|
menuItems: TMContextMenuItemProps[];
|
|
21
21
|
}
|
|
22
|
-
declare const TMTasksCalendar: (props: TMTasksCalendarProps) =>
|
|
22
|
+
declare const TMTasksCalendar: (props: TMTasksCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default TMTasksCalendar;
|
|
@@ -10,5 +10,5 @@ interface TMTasksHeaderProps {
|
|
|
10
10
|
color?: string;
|
|
11
11
|
height?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const TMTasksHeader: (props: TMTasksHeaderProps) =>
|
|
13
|
+
declare const TMTasksHeader: (props: TMTasksHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default TMTasksHeader;
|
|
@@ -16,5 +16,5 @@ interface TMTasksPanelContentProps {
|
|
|
16
16
|
s4TViewerDialogComponent?: React.ReactNode;
|
|
17
17
|
afterTaskSaved?: (task: TaskDescriptor | undefined, formMode: FormModes | undefined, forceRefresh?: boolean) => Promise<void>;
|
|
18
18
|
}
|
|
19
|
-
declare const TMTasksPanelContent: (props: TMTasksPanelContentProps) =>
|
|
19
|
+
declare const TMTasksPanelContent: (props: TMTasksPanelContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default TMTasksPanelContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
2
|
import { PdGs, Task_States, TaskDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
3
|
import { FormModes } from "../../../ts";
|
|
4
4
|
export declare const taskStateIconMap: (fontSize?: number) => Map<Task_States, JSX.Element>;
|
|
@@ -12,15 +12,15 @@ export declare const renderTaskIcons: (taskData: {
|
|
|
12
12
|
remTime: Date | undefined;
|
|
13
13
|
isNew: boolean;
|
|
14
14
|
numberOfDays: number;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
interface TMActionCalendarProps {
|
|
17
17
|
currentTask: TaskDescriptor;
|
|
18
18
|
openTaskForm: (formMode: FormModes, task?: TaskDescriptor) => void;
|
|
19
19
|
onDeleteCallback: (rowIds: Array<number>) => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const TMActionCalendar: (props: TMActionCalendarProps) =>
|
|
22
|
-
export declare const priorityLegend: () =>
|
|
23
|
-
export declare const highlightTaskText: (text: string, search: string, taskId: number) => string | (string |
|
|
21
|
+
export declare const TMActionCalendar: (props: TMActionCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const priorityLegend: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const highlightTaskText: (text: string, search: string, taskId: number) => string | (string | import("react/jsx-runtime").JSX.Element)[];
|
|
24
24
|
export declare const treeFilterDataSource: (allTasks: Array<TaskDescriptor>) => Array<{
|
|
25
25
|
id: number;
|
|
26
26
|
label: string;
|
|
@@ -36,5 +36,5 @@ interface TMTasksViewProps {
|
|
|
36
36
|
s4TViewerDialogComponent?: React.ReactNode;
|
|
37
37
|
afterTaskSaved?: (task: TaskDescriptor | undefined, formMode: FormModes | undefined, forceRefresh?: boolean) => Promise<void>;
|
|
38
38
|
}
|
|
39
|
-
declare const TMTasksView: (props: TMTasksViewProps) =>
|
|
39
|
+
declare const TMTasksView: (props: TMTasksViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export default TMTasksView;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DcmtTypeDescriptor, WorkingGroupDescriptor } from "@topconsultnpm/sdk-ts";
|
|
3
2
|
import { FileItem } from '../../base/TMFileManagerUtils';
|
|
4
3
|
/** Context descriptor for copy/move operations using different engines */
|
|
@@ -25,7 +24,7 @@ interface TMWGsCopyMoveFormProps {
|
|
|
25
24
|
fetchTreeFileSystemForWorkingGroup?: (workingGroupId: number | undefined) => Promise<void>;
|
|
26
25
|
fetchArchivedDocumentsForWorkingGroup?: (workingGroupId: number | undefined) => Promise<void>;
|
|
27
26
|
}
|
|
28
|
-
declare const TMWGsCopyMoveForm: (props: TMWGsCopyMoveFormProps) =>
|
|
27
|
+
declare const TMWGsCopyMoveForm: (props: TMWGsCopyMoveFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export default TMWGsCopyMoveForm;
|
|
30
29
|
interface StepItem {
|
|
31
30
|
id: number | string;
|
|
@@ -37,4 +36,4 @@ interface TMStepNavigatorProps {
|
|
|
37
36
|
currentStep: number;
|
|
38
37
|
onStepChange: (stepIndex: number) => void;
|
|
39
38
|
}
|
|
40
|
-
export declare const TMStepNavigator: (props: TMStepNavigatorProps) =>
|
|
39
|
+
export declare const TMStepNavigator: (props: TMStepNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { DcmtTypeDescriptor, HomeBlogPost, TaskDescriptor, WFDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
2
|
import { DeviceType } from "../../base/TMDeviceProvider";
|
|
4
3
|
import { WorkItemDetail } from "../../../ts";
|
|
@@ -23,7 +22,7 @@ interface IWorkflowOperationButtonsProps {
|
|
|
23
22
|
handleNavigateToWGs?: (value: HomeBlogPost | number) => Promise<void>;
|
|
24
23
|
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
25
24
|
}
|
|
26
|
-
export declare const WorkFlowOperationButtons: (props: IWorkflowOperationButtonsProps) =>
|
|
25
|
+
export declare const WorkFlowOperationButtons: (props: IWorkflowOperationButtonsProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
26
|
export declare const WorkFlowApproveRejectPopUp: ({ TID, DID, deviceType, isReject, selectedItems, onClose, onCompleted }: {
|
|
28
27
|
TID?: number;
|
|
29
28
|
DID?: number;
|
|
@@ -32,7 +31,7 @@ export declare const WorkFlowApproveRejectPopUp: ({ TID, DID, deviceType, isReje
|
|
|
32
31
|
isReject: number;
|
|
33
32
|
onClose?: () => void;
|
|
34
33
|
onCompleted?: () => Promise<void>;
|
|
35
|
-
}) =>
|
|
34
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
36
35
|
export declare const WorkFlowReAssignPopUp: ({ DID, TID, deviceType, onClose, selectedItems, onCompleted, wf, workItemDetail }: {
|
|
37
36
|
TID?: number;
|
|
38
37
|
DID?: number;
|
|
@@ -42,7 +41,7 @@ export declare const WorkFlowReAssignPopUp: ({ DID, TID, deviceType, onClose, se
|
|
|
42
41
|
onCompleted?: () => Promise<void>;
|
|
43
42
|
wf?: WFDescriptor;
|
|
44
43
|
workItemDetail?: WorkItemDetail;
|
|
45
|
-
}) =>
|
|
44
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
46
45
|
/**
|
|
47
46
|
* Modal per forzare l'approvazione di un work item
|
|
48
47
|
*/
|
|
@@ -50,7 +49,7 @@ export declare const WorkflowForceApproveModal: ({ detail, onClose, onCompleted
|
|
|
50
49
|
detail: WorkItemDetail;
|
|
51
50
|
onClose?: () => void;
|
|
52
51
|
onCompleted?: () => Promise<void>;
|
|
53
|
-
}) =>
|
|
52
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
54
53
|
/**
|
|
55
54
|
* Modal per forzare il rifiuto di un work item
|
|
56
55
|
*/
|
|
@@ -58,7 +57,7 @@ export declare const WorkflowForceRejectModal: ({ detail, onClose, onCompleted }
|
|
|
58
57
|
detail: WorkItemDetail;
|
|
59
58
|
onClose?: () => void;
|
|
60
59
|
onCompleted?: () => Promise<void>;
|
|
61
|
-
}) =>
|
|
60
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
62
61
|
/**
|
|
63
62
|
* Modal per terminare le istanze workflow selezionate
|
|
64
63
|
*/
|
|
@@ -70,7 +69,7 @@ export declare const WorkflowEndInstanceModal: ({ selectedInstances, onClose, on
|
|
|
70
69
|
}>;
|
|
71
70
|
onClose?: () => void;
|
|
72
71
|
onCompleted?: () => Promise<void>;
|
|
73
|
-
}) =>
|
|
72
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
74
73
|
interface IWorkFlowMoreInfoPopUpProps {
|
|
75
74
|
fromDTD?: DcmtTypeDescriptor;
|
|
76
75
|
TID?: number;
|
|
@@ -87,5 +86,5 @@ interface IWorkFlowMoreInfoPopUpProps {
|
|
|
87
86
|
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
88
87
|
triggerBlogRefresh?: () => Promise<void>;
|
|
89
88
|
}
|
|
90
|
-
export declare const WorkFlowMoreInfoPopUp: (props: IWorkFlowMoreInfoPopUpProps) =>
|
|
89
|
+
export declare const WorkFlowMoreInfoPopUp: (props: IWorkFlowMoreInfoPopUpProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
91
90
|
export {};
|
|
@@ -23,6 +23,6 @@ interface ChooserProps<T> {
|
|
|
23
23
|
onClose?: () => void;
|
|
24
24
|
isDropDown?: boolean;
|
|
25
25
|
}
|
|
26
|
-
declare const Chooser: <T>({ dataSource, columns, value, additionalIcons, validationItems, title, label, icon, placeHolder, disabled, selectedRow, onChooserClick, onSelectionChanged, onClose, isDropDown }: ChooserProps<T>) =>
|
|
26
|
+
declare const Chooser: <T>({ dataSource, columns, value, additionalIcons, validationItems, title, label, icon, placeHolder, disabled, selectedRow, onChooserClick, onSelectionChanged, onClose, isDropDown }: ChooserProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export default Chooser;
|
|
28
|
-
export declare function IconDropDown(props: React.SVGProps<SVGSVGElement>):
|
|
28
|
+
export declare function IconDropDown(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ITMChooserFormProps } from '../../ts';
|
|
3
|
-
declare const TMChooserForm: <T>({ children, title, allowMultipleSelection, allowApplyWithZeroSelection, startWithShowOnlySelectedItems, hasShowOnlySelectedItems, allowGrouping, allowSorting, width, height, dataSource, selectedIDs, manageUseLocalizedName, hasShowId, hideRefresh, keyName, customButtons, showFilterPanel, showDefaultColumns, columns, summaryItems, convertID, customFilter, getItems, cellRenderIcon, cellRenderNameAndDesc, onChoose, onClose, onShowIdChanged }: ITMChooserFormProps<T>) =>
|
|
2
|
+
declare const TMChooserForm: <T>({ children, title, allowMultipleSelection, allowApplyWithZeroSelection, startWithShowOnlySelectedItems, hasShowOnlySelectedItems, allowGrouping, allowSorting, width, height, dataSource, selectedIDs, manageUseLocalizedName, hasShowId, hideRefresh, keyName, customButtons, showFilterPanel, showDefaultColumns, columns, summaryItems, convertID, customFilter, getItems, cellRenderIcon, cellRenderNameAndDesc, onChoose, onClose, onShowIdChanged }: ITMChooserFormProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default TMChooserForm;
|