@topconsultnpm/sdkui-react-beta 6.6.26 → 6.6.27

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.
Files changed (31) hide show
  1. package/lib/assets/TopMediaOrchestrator6.svg +92 -92
  2. package/lib/assets/icomoon.svg +96 -96
  3. package/lib/components/base/Styled.d.ts +22 -1919
  4. package/lib/components/base/TMAlert.d.ts +2 -3
  5. package/lib/components/base/TMButton.d.ts +7 -7
  6. package/lib/components/base/TMContextMenuOLD.d.ts +3 -274
  7. package/lib/components/base/TMDropDownMenu.d.ts +0 -1
  8. package/lib/components/base/TMEditorBase.d.ts +0 -1
  9. package/lib/components/base/TMLayout.d.ts +36 -36
  10. package/lib/components/base/TMListView.d.ts +0 -1
  11. package/lib/components/base/TMTab.d.ts +4 -4
  12. package/lib/components/base/TMVilViewer.d.ts +1 -1
  13. package/lib/components/choosers/TMMetadataChooser.js +4 -4
  14. package/lib/components/choosers/TMUserChooser.d.ts +5 -5
  15. package/lib/components/choosers/TMUserChooser.js +5 -5
  16. package/lib/components/editors/TMEditorStyled.d.ts +16 -17
  17. package/lib/components/forms/TMChooserForm.d.ts +1 -1
  18. package/lib/components/forms/TMChooserForm.js +8 -4
  19. package/lib/components/forms/TMLoginForm.d.ts +4 -4
  20. package/lib/components/query/TMQueryEditor.d.ts +12 -554
  21. package/lib/components/query/TMQueryResult.d.ts +5 -5
  22. package/lib/components/query/TMQueryResultForm.d.ts +10 -10
  23. package/lib/components/sidebar/TMHeader.d.ts +2 -2
  24. package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -3
  25. package/lib/components/viewers/TMMidViewer.d.ts +5 -5
  26. package/lib/components/viewers/TMTidViewer.d.ts +5 -5
  27. package/lib/helper/helpers.d.ts +1 -1
  28. package/lib/hooks/useForm.d.ts +0 -1
  29. package/lib/hooks/useOutsideClick.d.ts +0 -1
  30. package/lib/ts/types.d.ts +2 -0
  31. package/package.json +1 -1
@@ -24,8 +24,8 @@ interface ITMHeader {
24
24
  onSettingsClick?: () => void;
25
25
  }
26
26
  export declare const TMSearchBar: ({ searchValue, onSearchValueChanged, maxWidth, marginLeft }: {
27
- maxWidth?: string | undefined;
28
- marginLeft?: string | undefined;
27
+ maxWidth?: string;
28
+ marginLeft?: string;
29
29
  searchValue: string;
30
30
  onSearchValueChanged: (value: string) => void;
31
31
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { DataListViewModes } from '@topconsultnpm/sdk-ts-beta';
2
2
  import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
3
3
  declare const TMDataListItemViewer: ({ dataListId, value, viewMode }: {
4
- dataListId?: number | undefined;
5
- value?: string | undefined;
6
- viewMode?: DataListViewModes | undefined;
4
+ dataListId?: number;
5
+ value?: string;
6
+ viewMode?: DataListViewModes;
7
7
  }) => import("react/jsx-runtime").JSX.Element;
8
8
  export default TMDataListItemViewer;
9
9
  export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) => import("react/jsx-runtime").JSX.Element;
@@ -3,12 +3,12 @@ import { ITopMediaSession, MetadataDescriptor } from '@topconsultnpm/sdk-ts-beta
3
3
  import { TID_MID } from '../../ts';
4
4
  import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
5
5
  export declare const TMMidViewer: ({ tmSession, tid_mid, showCompleteName, showIcon, showId, noneSelectionText }: {
6
- tmSession?: ITopMediaSession | undefined;
6
+ tmSession?: ITopMediaSession;
7
7
  tid_mid: TID_MID | undefined;
8
- showCompleteName?: boolean | undefined;
9
- showIcon?: boolean | undefined;
10
- showId?: boolean | undefined;
11
- noneSelectionText?: string | undefined;
8
+ showCompleteName?: boolean;
9
+ showIcon?: boolean;
10
+ showId?: boolean;
11
+ noneSelectionText?: string;
12
12
  }) => import("react/jsx-runtime").JSX.Element;
13
13
  interface ITMMetadataIcon {
14
14
  tid: number | undefined;
@@ -11,11 +11,11 @@ interface ITMDcmtTypeTooltip {
11
11
  }
12
12
  export declare const TMDcmtTypeTooltip: React.FC<ITMDcmtTypeTooltip>;
13
13
  declare const TMTidViewer: ({ tmSession, tid, showIcon, showId, noneSelectionText }: {
14
- tmSession?: ITopMediaSession | undefined;
15
- tid?: number | undefined;
16
- showIcon?: boolean | undefined;
17
- showId?: boolean | undefined;
18
- noneSelectionText?: string | undefined;
14
+ tmSession?: ITopMediaSession;
15
+ tid?: number;
16
+ showIcon?: boolean;
17
+ showId?: boolean;
18
+ noneSelectionText?: string;
19
19
  }) => import("react/jsx-runtime").JSX.Element;
20
20
  export default TMTidViewer;
21
21
  export declare const cellRenderTID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { AppModules, DataColumnDescriptor, ITopMediaSession, QueryDescriptor, Se
3
3
  import { FormModes } from "../ts";
4
4
  declare const TABLET_WIDTH = 1024;
5
5
  declare const MOBILE_WIDTH = 640;
6
- declare const calcResponsiveDirection: (currentWidth: number, desktopDir: 'horizontal' | 'vertical', tabletDir: 'horizontal' | 'vertical', mobileDir: 'horizontal' | 'vertical') => 'horizontal' | 'vertical';
6
+ declare const calcResponsiveDirection: (currentWidth: number, desktopDir: "horizontal" | "vertical", tabletDir: "horizontal" | "vertical", mobileDir: "horizontal" | "vertical") => "horizontal" | "vertical";
7
7
  declare const openApps: (appModule: AppModules, tmSession: ITopMediaSession, appRoutes?: any[]) => Promise<void>;
8
8
  export declare const setSDK_GlobalsInfoAsync: (tms: ITopMediaSession | undefined) => Promise<ITopMediaSession>;
9
9
  declare const calcResponsiveSizes: (currentWidth: number, desktopSize: string, tabletSize: string, mobileSize: string) => string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormModes } from "../ts";
3
2
  import { JobTypes, ObjectClasses, ValidationItem } from "@topconsultnpm/sdk-ts-beta";
4
3
  export declare function useSaveForm<T>(objClass: ObjectClasses, formMode: FormModes, id: number | undefined, objType?: JobTypes, validator?: (d: T) => Promise<ValidationItem[] | undefined>, onSaved?: (newDescriptor: T) => void, onStatusChanged?: (isModified: boolean, isValid: boolean) => void, customizeData?: (d: T) => T): {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare const useOutsideClick: (callback: (escPressed?: boolean) => void) => import("react").RefObject<HTMLDivElement>;
3
2
  export declare const useEscapeKeyPress: (callback: () => void) => import("react").RefObject<HTMLDivElement>;
package/lib/ts/types.d.ts CHANGED
@@ -137,6 +137,7 @@ export interface ITMChooserFormProps<T> {
137
137
  onChoose?: (selectedobjects?: any) => void;
138
138
  onClose?: () => void;
139
139
  onShowIdChanged?: () => void;
140
+ onRefreshCache?: () => void;
140
141
  }
141
142
  export interface ITMChooserProps extends ITMEditorBase {
142
143
  allowMultipleSelection?: boolean;
@@ -149,4 +150,5 @@ export interface ITMChooserProps extends ITMEditorBase {
149
150
  tmSession?: ITopMediaSession;
150
151
  valueName?: any;
151
152
  onValueChanged?: (value: any) => void;
153
+ onRefreshCache?: () => void;
152
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.6.26",
3
+ "version": "6.6.27",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",