@ynput/ayon-frontend-shared 0.7.4 → 0.7.6
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/DetailsPanel.es.js +376 -380
- package/dist/ListTable.es.js +2 -2
- package/dist/NewEntity.es.js +26 -26
- package/dist/ProjectTreeTable.es.js +2521 -2510
- package/dist/ProjectsTable.es.js +3 -3
- package/dist/Slicer.es.js +32 -32
- package/dist/Views.es.js +1 -1
- package/dist/chunks/ColumnDropIndicator.es.js +2 -2
- package/dist/chunks/ColumnHeaderMenuUI.es.js +1 -1
- package/dist/chunks/EntityPath.es.js +1 -1
- package/dist/chunks/EntityPickerDialog.es.js +481 -460
- package/dist/chunks/EntityTooltip.es.js +1 -1
- package/dist/chunks/Feed.es.js +11 -10
- package/dist/chunks/FilterErrorActions.es.js +1 -1
- package/dist/chunks/GroupSettingsFallback.es.js +2 -2
- package/dist/chunks/Menu.es.js +250 -247
- package/dist/chunks/MetaWidget.es.js +2 -2
- package/dist/chunks/PlayableIcon.es.js +368 -368
- package/dist/chunks/ProjectFoldersContext.es.js +237 -0
- package/dist/chunks/ReviewablesSelector.es.js +1223 -1170
- package/dist/chunks/SimpleTable.es.js +301 -296
- package/dist/chunks/Slicer.es.js +418 -410
- package/dist/chunks/TableExportContextInstance.es.js +428 -382
- package/dist/chunks/ThumbnailUploaderContext.es.js +48 -0
- package/dist/chunks/Watchers.es.js +2 -2
- package/dist/chunks/{ColumnDropIndicator.styled.es.js → addonColumnTags.es.js} +60 -47
- package/dist/components.es.js +1404 -1274
- package/dist/context.es.js +559 -657
- package/dist/hooks.es.js +2 -2
- package/dist/index.es.js +2 -2
- package/dist/types/Actions.d.ts +16 -16
- package/dist/types/ContextMenu.d.ts +16 -16
- package/dist/types/DetailsPanel.d.ts +16 -16
- package/dist/types/EntityPickerDialog.d.ts +61 -18
- package/dist/types/Feed.d.ts +16 -16
- package/dist/types/ListTable.d.ts +16 -16
- package/dist/types/NewEntity.d.ts +16 -16
- package/dist/types/ProjectTreeTable.d.ts +135 -33
- package/dist/types/ProjectsTable.d.ts +16 -16
- package/dist/types/RepresentationsList.d.ts +16 -16
- package/dist/types/SimpleTable.d.ts +16 -16
- package/dist/types/Slicer.d.ts +16 -16
- package/dist/types/Views.d.ts +16 -16
- package/dist/types/api.d.ts +16 -16
- package/dist/types/components.d.ts +226 -39
- package/dist/types/context.d.ts +24 -16
- package/dist/types/hooks.d.ts +16 -16
- package/dist/types/index.d.ts +16 -16
- package/dist/types/util.d.ts +16 -16
- package/package.json +3 -3
- package/dist/chunks/ProjectContext.es.js +0 -158
- package/dist/chunks/useQueryArgumentChangeLoading.es.js +0 -11
|
@@ -105,8 +105,6 @@ export declare type ActivityOperationsResponseModel = {
|
|
|
105
105
|
success: boolean;
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
-
export declare const ADDON_COLUMN_PREFIX = "addon__";
|
|
109
|
-
|
|
110
108
|
/**
|
|
111
109
|
* Gets the values of every shown addon column for the rows on screen (fetchValues), into the
|
|
112
110
|
* store the cells read. Wraps the table body.
|
|
@@ -171,6 +169,22 @@ declare type AddonMenuItem =
|
|
|
171
169
|
danger?: boolean
|
|
172
170
|
}
|
|
173
171
|
|
|
172
|
+
/** The signed-in user, as addons see it: in every slot's context (`user`) and from `useUser`. */
|
|
173
|
+
declare interface AddonUser {
|
|
174
|
+
name: string
|
|
175
|
+
fullName?: string
|
|
176
|
+
email?: string
|
|
177
|
+
/** admins, and service users (the server treats them as admins) */
|
|
178
|
+
isAdmin: boolean
|
|
179
|
+
/** managers and admins */
|
|
180
|
+
isManager: boolean
|
|
181
|
+
isGuest: boolean
|
|
182
|
+
/** a service user: an API key session (services, agents, CI) */
|
|
183
|
+
isService: boolean
|
|
184
|
+
/** developer mode is on */
|
|
185
|
+
isDeveloper: boolean
|
|
186
|
+
}
|
|
187
|
+
|
|
174
188
|
export declare const allowedGroupByFields: string[];
|
|
175
189
|
|
|
176
190
|
export declare const ALWAYS_VISIBLE_COLUMNS: string[];
|
|
@@ -223,6 +237,18 @@ export declare const appliesToPage: (contribution: {
|
|
|
223
237
|
pages?: ProjectTablePage[];
|
|
224
238
|
}, page: ProjectTablePage) => boolean;
|
|
225
239
|
|
|
240
|
+
/** Context of a service. */
|
|
241
|
+
declare interface AppServiceContext {
|
|
242
|
+
/** the project whose page is open, else `null` */
|
|
243
|
+
projectName: string | null
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/** Description of an `app.service` contribution. */
|
|
247
|
+
declare interface AppServiceMeta {
|
|
248
|
+
/** unique among the addon's services */
|
|
249
|
+
id: string
|
|
250
|
+
}
|
|
251
|
+
|
|
226
252
|
declare type AttributeData = {
|
|
227
253
|
/** Type of attribute value */
|
|
228
254
|
type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
|
|
@@ -425,8 +451,20 @@ declare interface ButtonPieces<S extends SlotName> {
|
|
|
425
451
|
dialog?: Loader<ComponentType<SlotProps<S> & DialogScope>>
|
|
426
452
|
/** the items of a menu the host opens under the button, like the header's help menu */
|
|
427
453
|
menu?: Loader<MenuPiece<S>>
|
|
428
|
-
/**
|
|
429
|
-
|
|
454
|
+
/**
|
|
455
|
+
* the content of a popover the host opens under the button, like the header's menus: the host
|
|
456
|
+
* positions it and closes it on a click outside or Escape (an Escape or click inside a menu or
|
|
457
|
+
* dialog opened from the popover closes only that). It gets `close`
|
|
458
|
+
*/
|
|
459
|
+
popover?: Loader<ComponentType<SlotProps<S> & PopoverScope>>
|
|
460
|
+
/**
|
|
461
|
+
* the addon's own component instead of the host's button: a dropdown, a toggle, anything. With
|
|
462
|
+
* `popover`, it is the popover's button (its icon, a badge, a tooltip of its own) and gets
|
|
463
|
+
* `popoverOpen` and `togglePopover`
|
|
464
|
+
*/
|
|
465
|
+
component?:
|
|
466
|
+
| Loader<ComponentType<SlotProps<S>>>
|
|
467
|
+
| Loader<ComponentType<SlotProps<S> & PopoverButtonScope>>
|
|
430
468
|
}
|
|
431
469
|
|
|
432
470
|
/** Context of a button's code (`run`, `dialog`, `menu`, `component`) besides the slot's own. */
|
|
@@ -842,11 +880,7 @@ export declare interface DetailsPanelEntityProviderProps {
|
|
|
842
880
|
}
|
|
843
881
|
|
|
844
882
|
/** Context of a details panel menu item. */
|
|
845
|
-
declare interface DetailsPanelMenuItemContext extends ProjectNameScope {
|
|
846
|
-
entityType: string
|
|
847
|
-
/** the entities the panel shows */
|
|
848
|
-
selectedEntities: EntityRef[]
|
|
849
|
-
}
|
|
883
|
+
declare interface DetailsPanelMenuItemContext extends ProjectNameScope, EntityScope_2 {}
|
|
850
884
|
|
|
851
885
|
/** Description of a `detailsPanel.menuItem` contribution. */
|
|
852
886
|
declare interface DetailsPanelMenuItemMeta extends MenuItemMeta {
|
|
@@ -1150,7 +1184,9 @@ export declare type EntityScope = 'primary' | EntityType;
|
|
|
1150
1184
|
|
|
1151
1185
|
/** Slots about one or more entities of one type. */
|
|
1152
1186
|
declare interface EntityScope_2 {
|
|
1187
|
+
/** the type of every entity in `entities` */
|
|
1153
1188
|
entityType: string
|
|
1189
|
+
/** the entities the slot is about, e.g. the ones the details panel shows */
|
|
1154
1190
|
entities: EntityRef[]
|
|
1155
1191
|
}
|
|
1156
1192
|
|
|
@@ -2679,6 +2715,23 @@ export declare type PatchOperation = Pick<OperationModel, 'entityId' | 'entityTy
|
|
|
2679
2715
|
type?: OperationModel['type'];
|
|
2680
2716
|
};
|
|
2681
2717
|
|
|
2718
|
+
/**
|
|
2719
|
+
* What a `component` gets besides the slot context when it draws the button of a `popover`. The
|
|
2720
|
+
* host anchors the popover on the component's box.
|
|
2721
|
+
*/
|
|
2722
|
+
declare interface PopoverButtonScope {
|
|
2723
|
+
/** the popover is open: show the button as active (`aria-expanded`) */
|
|
2724
|
+
popoverOpen: boolean
|
|
2725
|
+
/** opens or closes the popover: the button's `onClick` */
|
|
2726
|
+
togglePopover: () => void
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
/** What a `popover` piece gets besides the slot context. */
|
|
2730
|
+
declare interface PopoverScope {
|
|
2731
|
+
/** closes the popover */
|
|
2732
|
+
close: () => void
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2682
2735
|
declare type PowerpackContextType = {
|
|
2683
2736
|
selectedPowerPack: PowerpackFeature | null;
|
|
2684
2737
|
selectedAddon: AddonDialogSelection | null;
|
|
@@ -2889,6 +2942,7 @@ declare interface ProjectFolders {
|
|
|
2889
2942
|
}
|
|
2890
2943
|
|
|
2891
2944
|
declare interface ProjectFoldersContextValue {
|
|
2945
|
+
projectName: string;
|
|
2892
2946
|
folders: FolderListItem_2[];
|
|
2893
2947
|
getFolderById: (id: string) => FolderListItem_2 | undefined;
|
|
2894
2948
|
findNonInheritedValues: (folderId: string | undefined, attribNames: string[], projectAttrib?: Record<string, any>) => Record<string, any>;
|
|
@@ -3611,6 +3665,8 @@ declare interface SlicerMenuItemContext extends ProjectNameScope {
|
|
|
3611
3665
|
sliceType: string
|
|
3612
3666
|
/** the rows it acts on: the selected ones, or the right-clicked one */
|
|
3613
3667
|
selected: SlicerRowRef[]
|
|
3668
|
+
/** `hierarchy`: the folders and tasks of `selected`; empty for the other slice types */
|
|
3669
|
+
entities: EntityRef[]
|
|
3614
3670
|
menu: MenuKind
|
|
3615
3671
|
}
|
|
3616
3672
|
|
|
@@ -3647,9 +3703,12 @@ declare interface SlicerSelection {
|
|
|
3647
3703
|
selection: string[]
|
|
3648
3704
|
}
|
|
3649
3705
|
|
|
3650
|
-
/**
|
|
3706
|
+
/**
|
|
3707
|
+
* What the code of a contribution to slot `S` gets: `{ slot: S, user, ...context }`. The host
|
|
3708
|
+
* passes the slot's own context; `ContributionView` and `runContribution` add `slot` and `user`.
|
|
3709
|
+
*/
|
|
3651
3710
|
declare type SlotContext<S extends SlotName> = S extends SlotName
|
|
3652
|
-
? { slot: S } & SlotMap[S]['context']
|
|
3711
|
+
? { slot: S } & UserScope & SlotMap[S]['context']
|
|
3653
3712
|
: never
|
|
3654
3713
|
|
|
3655
3714
|
/**
|
|
@@ -3680,8 +3739,9 @@ declare interface SlotMap {
|
|
|
3680
3739
|
}
|
|
3681
3740
|
/**
|
|
3682
3741
|
* A button in the main header, drawn by the host like its own buttons. What a click does is the
|
|
3683
|
-
* addon's: navigate (`to`), run code (`run`), open a dialog (`dialog`)
|
|
3684
|
-
* addon draws the item itself (`component`, loaded with the header).
|
|
3742
|
+
* addon's: navigate (`to`), run code (`run`), open a dialog (`dialog`), a menu (`menu`) or a
|
|
3743
|
+
* popover (`popover`); or the addon draws the item itself (`component`, loaded with the header).
|
|
3744
|
+
* Set exactly one, except that `component` may draw the button of a `popover`.
|
|
3685
3745
|
*/
|
|
3686
3746
|
'header.item': {
|
|
3687
3747
|
version: 1
|
|
@@ -3742,8 +3802,9 @@ declare interface SlotMap {
|
|
|
3742
3802
|
/**
|
|
3743
3803
|
* A button in the project tables' toolbar, before Customize (Overview, Products, Lists), drawn
|
|
3744
3804
|
* by the host like the toolbar's own. What a click does is the addon's: navigate (`to`), run code
|
|
3745
|
-
* (`run`), open a dialog (`dialog`)
|
|
3746
|
-
* (`component`, loaded with the toolbar). Set exactly one
|
|
3805
|
+
* (`run`), open a dialog (`dialog`), a menu (`menu`) or a popover (`popover`); or the addon draws
|
|
3806
|
+
* the item itself (`component`, loaded with the toolbar). Set exactly one, except that
|
|
3807
|
+
* `component` may draw the button of a `popover`.
|
|
3747
3808
|
*/
|
|
3748
3809
|
'projectTable.toolbarItem': {
|
|
3749
3810
|
version: 1
|
|
@@ -3766,7 +3827,9 @@ declare interface SlotMap {
|
|
|
3766
3827
|
* settings from the description; `cell` and `fetchValues` load with the table. The host draws
|
|
3767
3828
|
* the cell box (padding, selection, focus), so `cell` renders only its content; selecting, the
|
|
3768
3829
|
* right-click menu and Copy (the cell's `value` as text) work as in other columns. Not sortable,
|
|
3769
|
-
* and pasting into it changes nothing.
|
|
3830
|
+
* and pasting into it changes nothing. When the values depend on data your mutations change, list
|
|
3831
|
+
* its cache tags in `providesTags` and the column refreshes itself when they are invalidated:
|
|
3832
|
+
* `tableColumn({ id, label, cell, fetchValues, providesTags: [{ type: 'myaddonLog', id: 'LIST' }] })`.
|
|
3770
3833
|
*/
|
|
3771
3834
|
tableColumn: {
|
|
3772
3835
|
version: 1
|
|
@@ -3790,6 +3853,19 @@ declare interface SlotMap {
|
|
|
3790
3853
|
context: TableShortcutContext
|
|
3791
3854
|
pieces: TableShortcutPieces
|
|
3792
3855
|
}
|
|
3856
|
+
/**
|
|
3857
|
+
* Code with no UI that runs while AYON is open, whatever the page: keeping a state, listening to
|
|
3858
|
+
* websocket events, registering a store listener. `component` loads at startup and is mounted
|
|
3859
|
+
* once for the whole app, under AYON's providers (store, router, contexts), so it can use hooks;
|
|
3860
|
+
* it renders nothing (`return null`). Clean up in its effects. A crash unmounts it and shows a
|
|
3861
|
+
* toast; the rest of AYON keeps working.
|
|
3862
|
+
*/
|
|
3863
|
+
'app.service': {
|
|
3864
|
+
version: 1
|
|
3865
|
+
meta: AppServiceMeta
|
|
3866
|
+
context: AppServiceContext
|
|
3867
|
+
pieces: { component: Loader<ComponentType<SlotProps<'app.service'>>> }
|
|
3868
|
+
}
|
|
3793
3869
|
}
|
|
3794
3870
|
|
|
3795
3871
|
/** The name of a slot, e.g. `'project.page'`. */
|
|
@@ -4013,7 +4089,8 @@ export declare type TableCellContextValue = {
|
|
|
4013
4089
|
* Gets a column's values, by entity id; each cell gets its own as `value`. AYON calls it with
|
|
4014
4090
|
* the rows that come on screen and that it has no value for yet, in batches once scrolling
|
|
4015
4091
|
* pauses, and keeps what it returns: scrolling back costs nothing. A row whose entity changes
|
|
4016
|
-
* (here or by someone else) is asked for again;
|
|
4092
|
+
* (here or by someone else) is asked for again; for anything else the values depend on, list its
|
|
4093
|
+
* cache tags in the column's `providesTags`, or call `refreshTableColumn(id)` to ask again for all.
|
|
4017
4094
|
* When it throws, those cells show the error and are tried again when they next come on
|
|
4018
4095
|
* screen. Fetch through AYON's store (`dispatch(api.endpoints.x.initiate(...))`) to share its
|
|
4019
4096
|
* cache.
|
|
@@ -4048,8 +4125,23 @@ declare interface TableColumnMeta {
|
|
|
4048
4125
|
* `false` for the menu's top level
|
|
4049
4126
|
*/
|
|
4050
4127
|
menu?: string | false
|
|
4128
|
+
/**
|
|
4129
|
+
* cache tags of AYON's api that the values depend on: when one is invalidated (by your
|
|
4130
|
+
* mutations or AYON's), the values are fetched again as with `refreshTableColumn`. Needs
|
|
4131
|
+
* `fetchValues`. Names as you register them (`enhanceEndpoints({ addTagTypes })`, prefixed with
|
|
4132
|
+
* your addon name) or AYON's own. A plain name follows invalidations of the whole type only: to
|
|
4133
|
+
* follow `{ type, id }`, such as a list tag, give that tag
|
|
4134
|
+
*/
|
|
4135
|
+
providesTags?: TableColumnTag[]
|
|
4051
4136
|
}
|
|
4052
4137
|
|
|
4138
|
+
/**
|
|
4139
|
+
* A cache tag a `tableColumn` depends on (`providesTags`), as in RTK Query: a tag type, or a type
|
|
4140
|
+
* and id. Invalidating `'x'` refreshes columns that list `'x'` or `{ type: 'x', id }`;
|
|
4141
|
+
* invalidating `{ type: 'x', id: 'LIST' }` refreshes only columns that list that tag.
|
|
4142
|
+
*/
|
|
4143
|
+
declare type TableColumnTag = string | { type: string; id?: string | number }
|
|
4144
|
+
|
|
4053
4145
|
export declare interface TableGroupBy {
|
|
4054
4146
|
desc: boolean;
|
|
4055
4147
|
id: string;
|
|
@@ -4103,6 +4195,11 @@ declare interface TableShortcutContext {
|
|
|
4103
4195
|
projectName: string | null
|
|
4104
4196
|
/** the rows it acts on: the selected ones when the key was pressed in one of them, else its row */
|
|
4105
4197
|
rows: TableRowRef[]
|
|
4198
|
+
/**
|
|
4199
|
+
* the entities of `rows` in the project tables (list items resolve to their entity); empty in
|
|
4200
|
+
* the panels' tables, whose rows are not all entities: read `rows` there
|
|
4201
|
+
*/
|
|
4202
|
+
entities: EntityRef[]
|
|
4106
4203
|
/** where the key was pressed: the row's id, and the column's in the project tables */
|
|
4107
4204
|
focused: { rowId: string; columnId?: string }
|
|
4108
4205
|
/** project tables: the selected cells, by row (entity) and column id; empty elsewhere */
|
|
@@ -4597,6 +4694,11 @@ declare type UserModel = {
|
|
|
4597
4694
|
updatedAt?: string;
|
|
4598
4695
|
};
|
|
4599
4696
|
|
|
4697
|
+
/** Every slot: the signed-in user. The host adds it; AYON renders addons only once signed in. */
|
|
4698
|
+
declare interface UserScope {
|
|
4699
|
+
user: AddonUser
|
|
4700
|
+
}
|
|
4701
|
+
|
|
4600
4702
|
export declare const useScopedAttributeFields: <T extends AttributeField>({ attribFields, allowedScopes, }: UseScopedAttributeFieldsProps<T>) => T[];
|
|
4601
4703
|
|
|
4602
4704
|
declare interface UseScopedAttributeFieldsProps<T extends AttributeField> {
|
|
@@ -4881,22 +4983,6 @@ export declare const WRAP_MIN_ROW_HEIGHT: number;
|
|
|
4881
4983
|
export { }
|
|
4882
4984
|
|
|
4883
4985
|
|
|
4884
|
-
declare module '@tanstack/react-table' {
|
|
4885
|
-
interface FilterFns {
|
|
4886
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
4887
|
-
}
|
|
4888
|
-
interface FilterMeta {
|
|
4889
|
-
itemRank: RankingInfo;
|
|
4890
|
-
}
|
|
4891
|
-
interface TableMeta<TData extends RowData> {
|
|
4892
|
-
isExpandable?: boolean;
|
|
4893
|
-
isLoading?: boolean;
|
|
4894
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
4895
|
-
[key: string]: any;
|
|
4896
|
-
}
|
|
4897
|
-
}
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
4986
|
declare module '@tanstack/react-table' {
|
|
4901
4987
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
4902
4988
|
addonColumn?: AddonColumnMeta;
|
|
@@ -4914,6 +5000,22 @@ declare module '@tanstack/react-table' {
|
|
|
4914
5000
|
}
|
|
4915
5001
|
|
|
4916
5002
|
|
|
5003
|
+
declare module '@tanstack/react-table' {
|
|
5004
|
+
interface FilterFns {
|
|
5005
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
5006
|
+
}
|
|
5007
|
+
interface FilterMeta {
|
|
5008
|
+
itemRank: RankingInfo;
|
|
5009
|
+
}
|
|
5010
|
+
interface TableMeta<TData extends RowData> {
|
|
5011
|
+
isExpandable?: boolean;
|
|
5012
|
+
isLoading?: boolean;
|
|
5013
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
5014
|
+
[key: string]: any;
|
|
5015
|
+
}
|
|
5016
|
+
}
|
|
5017
|
+
|
|
5018
|
+
|
|
4917
5019
|
declare global {
|
|
4918
5020
|
interface Window {
|
|
4919
5021
|
senderId: string;
|
|
@@ -176,22 +176,6 @@ declare type SimpleTableRowContextMenuContext = {
|
|
|
176
176
|
export { }
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
declare module '@tanstack/react-table' {
|
|
180
|
-
interface FilterFns {
|
|
181
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
182
|
-
}
|
|
183
|
-
interface FilterMeta {
|
|
184
|
-
itemRank: RankingInfo;
|
|
185
|
-
}
|
|
186
|
-
interface TableMeta<TData extends RowData> {
|
|
187
|
-
isExpandable?: boolean;
|
|
188
|
-
isLoading?: boolean;
|
|
189
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
190
|
-
[key: string]: any;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
179
|
declare module '@tanstack/react-table' {
|
|
196
180
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
197
181
|
addonColumn?: AddonColumnMeta;
|
|
@@ -209,6 +193,22 @@ declare module '@tanstack/react-table' {
|
|
|
209
193
|
}
|
|
210
194
|
|
|
211
195
|
|
|
196
|
+
declare module '@tanstack/react-table' {
|
|
197
|
+
interface FilterFns {
|
|
198
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
199
|
+
}
|
|
200
|
+
interface FilterMeta {
|
|
201
|
+
itemRank: RankingInfo;
|
|
202
|
+
}
|
|
203
|
+
interface TableMeta<TData extends RowData> {
|
|
204
|
+
isExpandable?: boolean;
|
|
205
|
+
isLoading?: boolean;
|
|
206
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
207
|
+
[key: string]: any;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
212
|
declare global {
|
|
213
213
|
interface Window {
|
|
214
214
|
senderId: string;
|
|
@@ -144,22 +144,6 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
|
|
|
144
144
|
export { }
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
declare module '@tanstack/react-table' {
|
|
148
|
-
interface FilterFns {
|
|
149
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
150
|
-
}
|
|
151
|
-
interface FilterMeta {
|
|
152
|
-
itemRank: RankingInfo;
|
|
153
|
-
}
|
|
154
|
-
interface TableMeta<TData extends RowData> {
|
|
155
|
-
isExpandable?: boolean;
|
|
156
|
-
isLoading?: boolean;
|
|
157
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
158
|
-
[key: string]: any;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
147
|
declare module '@tanstack/react-table' {
|
|
164
148
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
165
149
|
addonColumn?: AddonColumnMeta;
|
|
@@ -177,6 +161,22 @@ declare module '@tanstack/react-table' {
|
|
|
177
161
|
}
|
|
178
162
|
|
|
179
163
|
|
|
164
|
+
declare module '@tanstack/react-table' {
|
|
165
|
+
interface FilterFns {
|
|
166
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
167
|
+
}
|
|
168
|
+
interface FilterMeta {
|
|
169
|
+
itemRank: RankingInfo;
|
|
170
|
+
}
|
|
171
|
+
interface TableMeta<TData extends RowData> {
|
|
172
|
+
isExpandable?: boolean;
|
|
173
|
+
isLoading?: boolean;
|
|
174
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
|
180
180
|
declare global {
|
|
181
181
|
interface Window {
|
|
182
182
|
senderId: string;
|
|
@@ -260,22 +260,6 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
|
|
|
260
260
|
export { }
|
|
261
261
|
|
|
262
262
|
|
|
263
|
-
declare module '@tanstack/react-table' {
|
|
264
|
-
interface FilterFns {
|
|
265
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
266
|
-
}
|
|
267
|
-
interface FilterMeta {
|
|
268
|
-
itemRank: RankingInfo;
|
|
269
|
-
}
|
|
270
|
-
interface TableMeta<TData extends RowData> {
|
|
271
|
-
isExpandable?: boolean;
|
|
272
|
-
isLoading?: boolean;
|
|
273
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
274
|
-
[key: string]: any;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
279
263
|
declare module '@tanstack/react-table' {
|
|
280
264
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
281
265
|
addonColumn?: AddonColumnMeta;
|
|
@@ -293,6 +277,22 @@ declare module '@tanstack/react-table' {
|
|
|
293
277
|
}
|
|
294
278
|
|
|
295
279
|
|
|
280
|
+
declare module '@tanstack/react-table' {
|
|
281
|
+
interface FilterFns {
|
|
282
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
283
|
+
}
|
|
284
|
+
interface FilterMeta {
|
|
285
|
+
itemRank: RankingInfo;
|
|
286
|
+
}
|
|
287
|
+
interface TableMeta<TData extends RowData> {
|
|
288
|
+
isExpandable?: boolean;
|
|
289
|
+
isLoading?: boolean;
|
|
290
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
291
|
+
[key: string]: any;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
|
|
296
296
|
declare global {
|
|
297
297
|
interface Window {
|
|
298
298
|
senderId: string;
|
package/dist/types/Slicer.d.ts
CHANGED
|
@@ -957,22 +957,6 @@ declare type ViewSettings = GetDefaultViewApiResponse['settings'];
|
|
|
957
957
|
export { }
|
|
958
958
|
|
|
959
959
|
|
|
960
|
-
declare module '@tanstack/react-table' {
|
|
961
|
-
interface FilterFns {
|
|
962
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
963
|
-
}
|
|
964
|
-
interface FilterMeta {
|
|
965
|
-
itemRank: RankingInfo;
|
|
966
|
-
}
|
|
967
|
-
interface TableMeta<TData extends RowData> {
|
|
968
|
-
isExpandable?: boolean;
|
|
969
|
-
isLoading?: boolean;
|
|
970
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
971
|
-
[key: string]: any;
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
|
|
976
960
|
declare module '@tanstack/react-table' {
|
|
977
961
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
978
962
|
addonColumn?: AddonColumnMeta;
|
|
@@ -990,6 +974,22 @@ declare module '@tanstack/react-table' {
|
|
|
990
974
|
}
|
|
991
975
|
|
|
992
976
|
|
|
977
|
+
declare module '@tanstack/react-table' {
|
|
978
|
+
interface FilterFns {
|
|
979
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
980
|
+
}
|
|
981
|
+
interface FilterMeta {
|
|
982
|
+
itemRank: RankingInfo;
|
|
983
|
+
}
|
|
984
|
+
interface TableMeta<TData extends RowData> {
|
|
985
|
+
isExpandable?: boolean;
|
|
986
|
+
isLoading?: boolean;
|
|
987
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
988
|
+
[key: string]: any;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
|
|
993
993
|
declare global {
|
|
994
994
|
interface Window {
|
|
995
995
|
senderId: string;
|
package/dist/types/Views.d.ts
CHANGED
|
@@ -983,22 +983,6 @@ export declare const WORKING_VIEW_ID: "_working_";
|
|
|
983
983
|
export { }
|
|
984
984
|
|
|
985
985
|
|
|
986
|
-
declare module '@tanstack/react-table' {
|
|
987
|
-
interface FilterFns {
|
|
988
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
989
|
-
}
|
|
990
|
-
interface FilterMeta {
|
|
991
|
-
itemRank: RankingInfo;
|
|
992
|
-
}
|
|
993
|
-
interface TableMeta<TData extends RowData> {
|
|
994
|
-
isExpandable?: boolean;
|
|
995
|
-
isLoading?: boolean;
|
|
996
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
997
|
-
[key: string]: any;
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
986
|
declare module '@tanstack/react-table' {
|
|
1003
987
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
1004
988
|
addonColumn?: AddonColumnMeta;
|
|
@@ -1016,6 +1000,22 @@ declare module '@tanstack/react-table' {
|
|
|
1016
1000
|
}
|
|
1017
1001
|
|
|
1018
1002
|
|
|
1003
|
+
declare module '@tanstack/react-table' {
|
|
1004
|
+
interface FilterFns {
|
|
1005
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
1006
|
+
}
|
|
1007
|
+
interface FilterMeta {
|
|
1008
|
+
itemRank: RankingInfo;
|
|
1009
|
+
}
|
|
1010
|
+
interface TableMeta<TData extends RowData> {
|
|
1011
|
+
isExpandable?: boolean;
|
|
1012
|
+
isLoading?: boolean;
|
|
1013
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
1014
|
+
[key: string]: any;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
1019
|
declare global {
|
|
1020
1020
|
interface Window {
|
|
1021
1021
|
senderId: string;
|
package/dist/types/api.d.ts
CHANGED
|
@@ -75129,22 +75129,6 @@ export declare type YnputConnectRequestModel = {
|
|
|
75129
75129
|
export { }
|
|
75130
75130
|
|
|
75131
75131
|
|
|
75132
|
-
declare module '@tanstack/react-table' {
|
|
75133
|
-
interface FilterFns {
|
|
75134
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
75135
|
-
}
|
|
75136
|
-
interface FilterMeta {
|
|
75137
|
-
itemRank: RankingInfo;
|
|
75138
|
-
}
|
|
75139
|
-
interface TableMeta<TData extends RowData> {
|
|
75140
|
-
isExpandable?: boolean;
|
|
75141
|
-
isLoading?: boolean;
|
|
75142
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
75143
|
-
[key: string]: any;
|
|
75144
|
-
}
|
|
75145
|
-
}
|
|
75146
|
-
|
|
75147
|
-
|
|
75148
75132
|
declare module '@tanstack/react-table' {
|
|
75149
75133
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
75150
75134
|
addonColumn?: AddonColumnMeta;
|
|
@@ -75162,6 +75146,22 @@ declare module '@tanstack/react-table' {
|
|
|
75162
75146
|
}
|
|
75163
75147
|
|
|
75164
75148
|
|
|
75149
|
+
declare module '@tanstack/react-table' {
|
|
75150
|
+
interface FilterFns {
|
|
75151
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
75152
|
+
}
|
|
75153
|
+
interface FilterMeta {
|
|
75154
|
+
itemRank: RankingInfo;
|
|
75155
|
+
}
|
|
75156
|
+
interface TableMeta<TData extends RowData> {
|
|
75157
|
+
isExpandable?: boolean;
|
|
75158
|
+
isLoading?: boolean;
|
|
75159
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
75160
|
+
[key: string]: any;
|
|
75161
|
+
}
|
|
75162
|
+
}
|
|
75163
|
+
|
|
75164
|
+
|
|
75165
75165
|
declare global {
|
|
75166
75166
|
interface Window {
|
|
75167
75167
|
senderId: string;
|