@topconsultnpm/sdkui-react 6.22.0-dev3.2 → 6.22.0-dev3.4
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/ContextMenu/styles.d.ts +43 -17
- package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +78 -19
- package/lib/components/base/Styled.d.ts +79 -27
- package/lib/components/base/Styled.js +7 -5
- package/lib/components/base/TMCounterBar.d.ts +2 -2
- package/lib/components/base/TMCounterContainer.d.ts +2 -1
- package/lib/components/base/TMCustomButton.d.ts +1 -1
- package/lib/components/base/TMDataGrid.d.ts +2 -0
- package/lib/components/base/TMDataGrid.js +253 -225
- package/lib/components/base/TMDataGridExportForm.d.ts +2 -1
- package/lib/components/base/TMFileManager.d.ts +2 -1
- package/lib/components/base/TMFileManagerDataGridView.d.ts +2 -1
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +1 -1
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +1 -1
- package/lib/components/base/TMFileManagerUtils.d.ts +3 -1
- package/lib/components/base/TMLayout.d.ts +4 -4
- package/lib/components/base/TMList.d.ts +2 -1
- package/lib/components/base/TMListView.d.ts +1 -1
- package/lib/components/base/TMPanel.js +167 -167
- package/lib/components/base/TMSpinner.d.ts +2 -1
- package/lib/components/base/TMTab.d.ts +4 -3
- package/lib/components/base/TMTabControl.d.ts +99 -0
- package/lib/components/base/TMTabControl.js +652 -0
- package/lib/components/base/TMTooltip.d.ts +1 -1
- package/lib/components/base/TMTreeView.d.ts +13 -5
- package/lib/components/base/TMUserAvatar.d.ts +2 -1
- package/lib/components/base/TMVilViewer.d.ts +2 -1
- package/lib/components/base/TMWaitPanel.d.ts +3 -2
- package/lib/components/choosers/TMDistinctValues.js +27 -18
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +2 -1
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +2 -1
- package/lib/components/choosers/TMQuickSearchInfo.d.ts +2 -1
- package/lib/components/choosers/TMRelationChooser.d.ts +3 -3
- package/lib/components/choosers/TMUserChooser.d.ts +2 -2
- package/lib/components/editors/TMEditorStyled.d.ts +15 -5
- package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +2 -1
- package/lib/components/editors/TMHtmlEditor.d.ts +2 -1
- package/lib/components/editors/TMMetadataValues.js +5 -5
- 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 +2 -1
- package/lib/components/features/documents/TMDcmtForm.js +1 -1
- package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
- package/lib/components/features/documents/TMDcmtIcon.d.ts +2 -1
- package/lib/components/features/documents/TMDcmtPreview.d.ts +7 -3
- package/lib/components/features/documents/TMDcmtTasks.d.ts +2 -1
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
- package/lib/components/features/documents/TMMasterInfoFields.d.ts +2 -1
- package/lib/components/features/documents/TMMergeToPdfForm.d.ts +2 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.d.ts +2 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.js +13 -15
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +4 -4
- package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +2 -1
- package/lib/components/features/search/TMMetadataOutputForm.d.ts +2 -1
- package/lib/components/features/search/TMMetadataSorterForm.d.ts +2 -1
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
- package/lib/components/features/search/TMSearch.d.ts +1 -1
- package/lib/components/features/search/TMSearch.js +68 -9
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +9 -3
- package/lib/components/features/search/TMSearchResult.js +87 -79
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
- package/lib/components/features/search/TMSignatureInfoContent.d.ts +2 -1
- package/lib/components/features/search/TMTreeSelector.js +15 -9
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +2 -1
- 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/tasks/TMTasksView.js +6 -12
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +3 -2
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +8 -7
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +3 -1
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +3 -1
- package/lib/components/forms/Login/Chooser.d.ts +2 -2
- package/lib/components/forms/TMChooserForm.d.ts +2 -1
- package/lib/components/forms/TMSaveForm.d.ts +4 -4
- package/lib/components/grids/TMBlogAttachments.d.ts +2 -1
- 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 +2 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +2 -0
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +2 -1
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +4 -2
- 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/query/TMQueryEditor.d.ts +12 -4
- package/lib/components/settings/SettingsAppearance.d.ts +2 -1
- package/lib/components/sidebar/TMAboutApp.d.ts +2 -1
- package/lib/components/sidebar/TMCommandsPanel.d.ts +3 -1
- package/lib/components/sidebar/TMHeader.d.ts +3 -3
- package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -2
- package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +3 -2
- package/lib/components/viewers/TMMidViewer.d.ts +2 -2
- package/lib/components/viewers/TMTidViewer.d.ts +2 -2
- package/lib/helper/SDKUI_Localizator.d.ts +4 -0
- package/lib/helper/SDKUI_Localizator.js +40 -0
- package/lib/helper/TMAppUpdatedModal.d.ts +2 -1
- package/lib/helper/TMAppUpdatedModal.js +93 -93
- package/lib/helper/TMCommandsContextMenu.d.ts +1 -1
- package/lib/helper/TMIcons.d.ts +280 -280
- package/lib/helper/TMPdfViewer.d.ts +2 -1
- package/lib/helper/TMToppyMessage.d.ts +2 -2
- package/lib/helper/TMUtils.d.ts +10 -4
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useInputDialog.d.ts +2 -1
- package/lib/services/caseflow/CaseFlowService.d.ts +11 -0
- package/lib/services/caseflow/CaseFlowService.js +27 -0
- package/lib/services/platform_services.d.ts +3 -2
- package/package.json +22 -22
|
@@ -21,6 +21,7 @@ export declare class SDKUI_Localizator {
|
|
|
21
21
|
static get AddOrSubstFile(): "Add/substitute file" | "Adicionar / substituir arquivos" | "Aggiungi/sostituisci file" | "Ajoute/Remplace le fichier" | "Añadir/sustituir archivo" | "Dateien hinzufügen/ersetzen";
|
|
22
22
|
static get AddRecipient(): "Add recipient" | "Adicionar destinatário" | "Aggiungi destinatario" | "Agregar destinatario" | "Ajouter destinataire" | "Empfänger hinzufügen";
|
|
23
23
|
static get AddParticipants(): string;
|
|
24
|
+
static get AddTab(): string;
|
|
24
25
|
static get AddTo(): string;
|
|
25
26
|
static get AddToHomePage(): "Add to Home Page" | "Adicionar a Home Page" | "Aggiungi alla Home Page" | "Ajoute à Home Page" | "Añadir a la página inicial" | "Zur Startseite hinzufügen";
|
|
26
27
|
static get Advanced(): "Advanced" | "Avancé" | "Avanzado" | "Avanzate" | "Avançado" | "Erweitert";
|
|
@@ -122,6 +123,8 @@ export declare class SDKUI_Localizator {
|
|
|
122
123
|
static get ClearOTP(): "Borrar OTP" | "Cancella OTP" | "Clear OTP" | "Effacer l'OTP" | "Limpar OTP" | "OTP löschen";
|
|
123
124
|
static get ClickToBrowseFile(): string;
|
|
124
125
|
static get Close(): "Ausgang" | "Chiudi" | "Close" | "Salida" | "Saída" | "Sortie";
|
|
126
|
+
static get CloseOtherTabs(): "Andere Tabs schließen" | "Cerrar las otras pestañas" | "Chiudi le altre schede" | "Close other tabs" | "Fechar as outras abas" | "Fermer les autres onglets";
|
|
127
|
+
static get CloseTabs_ConfirmForN(): "Are you sure you want to close {{0}} tabs?" | "Sei sicuro di voler chiudere {{0}} schede?" | "Sind Sie sicher, dass Sie {{0}} Tabs schließen möchten?" | "Tem certeza de que deseja fechar {{0}} abas?" | "¿Está seguro de que desea cerrar {{0}} pestañas?" | "Êtes-vous sûr de vouloir fermer {{0}} onglets ?";
|
|
125
128
|
static get Closed(): "Cerrada" | "Chiusa" | "Closed" | "Fechada" | "Fermée" | "Geschlossen";
|
|
126
129
|
static get CloseTask(): string;
|
|
127
130
|
static get Collapse(): "Collapse" | "Comprimi" | "Contraer" | "Recolher" | "Reduzieren" | "Réduire";
|
|
@@ -729,6 +732,7 @@ export declare class SDKUI_Localizator {
|
|
|
729
732
|
static get RemoveAll(): "Alle entfernen" | "Eliminar todo" | "Remove all" | "Remover todos" | "Rimuovi tutto" | "Supprime tout";
|
|
730
733
|
static get RemoveAttachment(): string;
|
|
731
734
|
static get RemoveSelected(): "Ausgewählte Objekte entfernen" | "Eliminar objetos seleccionados" | "Remova os objetos selecionados" | "Remove selected items" | "Rimuovi oggetti selezionati" | "Supprime objets sélectionnés";
|
|
735
|
+
static get Rename(): string;
|
|
732
736
|
static get RenameFolder(): "Carpeta renombrada exitosamente" | "Cartella rinominata con successo" | "Dossier renommé avec succès" | "Folder renamed successfully" | "Ordner erfolgreich umbenannt" | "Pasta renomeada com sucesso";
|
|
733
737
|
static get RenameFile(): "Archivo renombrada exitosamente" | "Arquivo renomeada com sucesso" | "Datei erfolgreich umbenannt" | "Fichier renommé avec succès" | "File renamed successfully" | "File rinominata con successo";
|
|
734
738
|
static get Restore(): "Restablecer" | "Restauração" | "Restaure" | "Restore" | "Ripristina" | "Wiederherstellen";
|
|
@@ -158,6 +158,16 @@ export class SDKUI_Localizator {
|
|
|
158
158
|
default: return "Aggiungi partecipanti";
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
+
static get AddTab() {
|
|
162
|
+
switch (this._cultureID) {
|
|
163
|
+
case CultureIDs.De_DE: return "Tab hinzufügen";
|
|
164
|
+
case CultureIDs.En_US: return "Add tab";
|
|
165
|
+
case CultureIDs.Es_ES: return "Añadir pestaña";
|
|
166
|
+
case CultureIDs.Fr_FR: return "Ajouter un onglet";
|
|
167
|
+
case CultureIDs.Pt_PT: return "Adicionar aba";
|
|
168
|
+
default: return "Aggiungi tab";
|
|
169
|
+
}
|
|
170
|
+
}
|
|
161
171
|
static get AddTo() {
|
|
162
172
|
switch (this._cultureID) {
|
|
163
173
|
case CultureIDs.De_DE: return "Hinzufügen zu";
|
|
@@ -1200,6 +1210,26 @@ export class SDKUI_Localizator {
|
|
|
1200
1210
|
default: return "Chiudi";
|
|
1201
1211
|
}
|
|
1202
1212
|
}
|
|
1213
|
+
static get CloseOtherTabs() {
|
|
1214
|
+
switch (this._cultureID) {
|
|
1215
|
+
case CultureIDs.De_DE: return "Andere Tabs schließen";
|
|
1216
|
+
case CultureIDs.En_US: return "Close other tabs";
|
|
1217
|
+
case CultureIDs.Es_ES: return "Cerrar las otras pestañas";
|
|
1218
|
+
case CultureIDs.Fr_FR: return "Fermer les autres onglets";
|
|
1219
|
+
case CultureIDs.Pt_PT: return "Fechar as outras abas";
|
|
1220
|
+
default: return "Chiudi le altre schede";
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
static get CloseTabs_ConfirmForN() {
|
|
1224
|
+
switch (this._cultureID) {
|
|
1225
|
+
case CultureIDs.De_DE: return "Sind Sie sicher, dass Sie {{0}} Tabs schließen möchten?";
|
|
1226
|
+
case CultureIDs.En_US: return "Are you sure you want to close {{0}} tabs?";
|
|
1227
|
+
case CultureIDs.Es_ES: return "¿Está seguro de que desea cerrar {{0}} pestañas?";
|
|
1228
|
+
case CultureIDs.Fr_FR: return "Êtes-vous sûr de vouloir fermer {{0}} onglets ?";
|
|
1229
|
+
case CultureIDs.Pt_PT: return "Tem certeza de que deseja fechar {{0}} abas?";
|
|
1230
|
+
default: return "Sei sicuro di voler chiudere {{0}} schede?";
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1203
1233
|
static get Closed() {
|
|
1204
1234
|
switch (this._cultureID) {
|
|
1205
1235
|
case CultureIDs.De_DE: return "Geschlossen";
|
|
@@ -7269,6 +7299,16 @@ export class SDKUI_Localizator {
|
|
|
7269
7299
|
default: return "Rimuovi oggetti selezionati";
|
|
7270
7300
|
}
|
|
7271
7301
|
}
|
|
7302
|
+
static get Rename() {
|
|
7303
|
+
switch (this._cultureID) {
|
|
7304
|
+
case CultureIDs.De_DE: return "Umbenennen";
|
|
7305
|
+
case CultureIDs.En_US: return "Rename";
|
|
7306
|
+
case CultureIDs.Es_ES: return "Renombrar";
|
|
7307
|
+
case CultureIDs.Fr_FR: return "Renommer";
|
|
7308
|
+
case CultureIDs.Pt_PT: return "Renomear";
|
|
7309
|
+
default: return "Rinomina";
|
|
7310
|
+
}
|
|
7311
|
+
}
|
|
7272
7312
|
static get RenameFolder() {
|
|
7273
7313
|
switch (this._cultureID) {
|
|
7274
7314
|
case CultureIDs.De_DE: return "Ordner erfolgreich umbenannt";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const TMAppUpdatedModal: () => React.JSX.Element | null;
|
|
@@ -8,110 +8,110 @@ import { SDKUI_Globals } from './SDKUI_Globals';
|
|
|
8
8
|
import { SDKUI_Localizator } from './SDKUI_Localizator';
|
|
9
9
|
import { IconUpdate, IconOpenInNew } from './TMIcons';
|
|
10
10
|
import { getAppModuleButtonColors } from './TMUtils';
|
|
11
|
-
const Content = styled.div `
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
width: 100%;
|
|
15
|
-
background-color: #ffffff;
|
|
11
|
+
const Content = styled.div `
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
background-color: #ffffff;
|
|
16
16
|
`;
|
|
17
|
-
const Header = styled.div `
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: 14px;
|
|
22
|
-
padding: 32px 30px 26px 30px;
|
|
23
|
-
background-color: ${({ $backgroundColor }) => $backgroundColor};
|
|
24
|
-
color: #ffffff;
|
|
25
|
-
text-align: center;
|
|
17
|
+
const Header = styled.div `
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 14px;
|
|
22
|
+
padding: 32px 30px 26px 30px;
|
|
23
|
+
background-color: ${({ $backgroundColor }) => $backgroundColor};
|
|
24
|
+
color: #ffffff;
|
|
25
|
+
text-align: center;
|
|
26
26
|
`;
|
|
27
|
-
const HeaderIcon = styled.div `
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
width: 68px;
|
|
32
|
-
height: 68px;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
background-color: rgba(255, 255, 255, 0.18);
|
|
35
|
-
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
36
|
-
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
|
|
27
|
+
const HeaderIcon = styled.div `
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
width: 68px;
|
|
32
|
+
height: 68px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
background-color: rgba(255, 255, 255, 0.18);
|
|
35
|
+
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
36
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
|
|
37
37
|
`;
|
|
38
|
-
const HeaderTitle = styled.h2 `
|
|
39
|
-
margin: 0;
|
|
40
|
-
font-size: 22px;
|
|
41
|
-
font-weight: 600;
|
|
42
|
-
letter-spacing: 0.2px;
|
|
38
|
+
const HeaderTitle = styled.h2 `
|
|
39
|
+
margin: 0;
|
|
40
|
+
font-size: 22px;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
letter-spacing: 0.2px;
|
|
43
43
|
`;
|
|
44
|
-
const VersionBadge = styled.span `
|
|
45
|
-
display: inline-block;
|
|
46
|
-
padding: 4px 12px;
|
|
47
|
-
border-radius: 999px;
|
|
48
|
-
background-color: rgba(255, 255, 255, 0.22);
|
|
49
|
-
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
50
|
-
font-size: 13px;
|
|
51
|
-
font-weight: 600;
|
|
52
|
-
letter-spacing: 0.3px;
|
|
44
|
+
const VersionBadge = styled.span `
|
|
45
|
+
display: inline-block;
|
|
46
|
+
padding: 4px 12px;
|
|
47
|
+
border-radius: 999px;
|
|
48
|
+
background-color: rgba(255, 255, 255, 0.22);
|
|
49
|
+
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
50
|
+
font-size: 13px;
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
letter-spacing: 0.3px;
|
|
53
53
|
`;
|
|
54
|
-
const Body = styled.div `
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
gap: 10px;
|
|
58
|
-
padding: 26px 30px 22px 30px;
|
|
59
|
-
text-align: center;
|
|
54
|
+
const Body = styled.div `
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
gap: 10px;
|
|
58
|
+
padding: 26px 30px 22px 30px;
|
|
59
|
+
text-align: center;
|
|
60
60
|
`;
|
|
61
|
-
const Message = styled.p `
|
|
62
|
-
margin: 0;
|
|
63
|
-
font-size: 15px;
|
|
64
|
-
line-height: 1.6;
|
|
65
|
-
color: #242424;
|
|
61
|
+
const Message = styled.p `
|
|
62
|
+
margin: 0;
|
|
63
|
+
font-size: 15px;
|
|
64
|
+
line-height: 1.6;
|
|
65
|
+
color: #242424;
|
|
66
66
|
`;
|
|
67
|
-
const SubMessage = styled.p `
|
|
68
|
-
margin: 0;
|
|
69
|
-
font-size: 13px;
|
|
70
|
-
line-height: 1.6;
|
|
71
|
-
color: #6b6b6b;
|
|
67
|
+
const SubMessage = styled.p `
|
|
68
|
+
margin: 0;
|
|
69
|
+
font-size: 13px;
|
|
70
|
+
line-height: 1.6;
|
|
71
|
+
color: #6b6b6b;
|
|
72
72
|
`;
|
|
73
|
-
const Footer = styled.div `
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: row;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
align-items: center;
|
|
78
|
-
flex-wrap: wrap;
|
|
79
|
-
gap: 12px;
|
|
80
|
-
padding: 0 30px 28px 30px;
|
|
73
|
+
const Footer = styled.div `
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: row;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
flex-wrap: wrap;
|
|
79
|
+
gap: 12px;
|
|
80
|
+
padding: 0 30px 28px 30px;
|
|
81
81
|
`;
|
|
82
|
-
const BaseButton = styled.button `
|
|
83
|
-
display: inline-flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
gap: 8px;
|
|
87
|
-
min-width: 150px;
|
|
88
|
-
padding: 10px 18px;
|
|
89
|
-
border-radius: 8px;
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
font-weight: 600;
|
|
92
|
-
cursor: pointer;
|
|
93
|
-
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
82
|
+
const BaseButton = styled.button `
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
gap: 8px;
|
|
87
|
+
min-width: 150px;
|
|
88
|
+
padding: 10px 18px;
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
94
94
|
`;
|
|
95
|
-
const PrimaryButton = styled(BaseButton) `
|
|
96
|
-
border: 1px solid ${({ $base }) => $base};
|
|
97
|
-
background-color: ${({ $base }) => $base};
|
|
98
|
-
color: #ffffff;
|
|
99
|
-
|
|
100
|
-
&:hover {
|
|
101
|
-
background-color: ${({ $hover }) => $hover};
|
|
102
|
-
border-color: ${({ $hover }) => $hover};
|
|
103
|
-
box-shadow: 0 2px 8px ${({ $shadow }) => $shadow};
|
|
104
|
-
}
|
|
95
|
+
const PrimaryButton = styled(BaseButton) `
|
|
96
|
+
border: 1px solid ${({ $base }) => $base};
|
|
97
|
+
background-color: ${({ $base }) => $base};
|
|
98
|
+
color: #ffffff;
|
|
99
|
+
|
|
100
|
+
&:hover {
|
|
101
|
+
background-color: ${({ $hover }) => $hover};
|
|
102
|
+
border-color: ${({ $hover }) => $hover};
|
|
103
|
+
box-shadow: 0 2px 8px ${({ $shadow }) => $shadow};
|
|
104
|
+
}
|
|
105
105
|
`;
|
|
106
|
-
const SecondaryButton = styled(BaseButton) `
|
|
107
|
-
border: 1px solid #d5d5d5;
|
|
108
|
-
background-color: #ffffff;
|
|
109
|
-
color: #444444;
|
|
110
|
-
|
|
111
|
-
&:hover {
|
|
112
|
-
background-color: #f3f3f3;
|
|
113
|
-
border-color: #bdbdbd;
|
|
114
|
-
}
|
|
106
|
+
const SecondaryButton = styled(BaseButton) `
|
|
107
|
+
border: 1px solid #d5d5d5;
|
|
108
|
+
background-color: #ffffff;
|
|
109
|
+
color: #444444;
|
|
110
|
+
|
|
111
|
+
&:hover {
|
|
112
|
+
background-color: #f3f3f3;
|
|
113
|
+
border-color: #bdbdbd;
|
|
114
|
+
}
|
|
115
115
|
`;
|
|
116
116
|
export const TMAppUpdatedModal = () => {
|
|
117
117
|
const deviceType = useDeviceType();
|
|
@@ -12,5 +12,5 @@ interface TMCommandsContextMenuProps {
|
|
|
12
12
|
trigger?: 'right' | 'left';
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare const TMCommandsContextMenu: React.MemoExoticComponent<({ target, menuItems, id, showEvent, onHiding, trigger, children }: TMCommandsContextMenuProps) =>
|
|
15
|
+
export declare const TMCommandsContextMenu: React.MemoExoticComponent<({ target, menuItems, id, showEvent, onHiding, trigger, children }: TMCommandsContextMenuProps) => React.JSX.Element>;
|
|
16
16
|
export {};
|