@ynput/ayon-frontend-shared 0.6.1 → 0.6.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/dist/DetailsPanel.es.js +749 -737
- package/dist/NewEntity.es.js +427 -425
- package/dist/ProjectTreeTable.es.js +1524 -1522
- package/dist/chunks/Feed.es.js +1889 -1826
- package/dist/chunks/MetaWidget.es.js +86 -99
- package/dist/chunks/Slicer.es.js +441 -434
- package/dist/chunks/Watchers.es.js +871 -810
- package/dist/chunks/searchTerms.es.js +5 -4
- package/dist/components.es.js +1 -1
- package/dist/context.es.js +255 -255
- package/dist/types/Actions.d.ts +14 -14
- package/dist/types/ContextMenu.d.ts +14 -14
- package/dist/types/DetailsPanel.d.ts +16 -14
- package/dist/types/EntityPickerDialog.d.ts +14 -14
- package/dist/types/Feed.d.ts +16 -15
- package/dist/types/ListTable.d.ts +14 -14
- package/dist/types/NewEntity.d.ts +16 -15
- package/dist/types/ProjectTreeTable.d.ts +14 -14
- package/dist/types/RepresentationsList.d.ts +14 -14
- package/dist/types/SimpleTable.d.ts +14 -14
- package/dist/types/Slicer.d.ts +14 -14
- package/dist/types/Views.d.ts +14 -14
- package/dist/types/api.d.ts +14 -14
- package/dist/types/components.d.ts +14 -14
- package/dist/types/context.d.ts +14 -14
- package/dist/types/hooks.d.ts +14 -14
- package/dist/types/index.d.ts +14 -14
- package/dist/types/util.d.ts +16 -14
- package/dist/util.es.js +61 -60
- package/package.json +1 -1
package/dist/types/hooks.d.ts
CHANGED
|
@@ -610,6 +610,20 @@ export declare const writeSessionStorage: <T>(key: string, value: T) => void;
|
|
|
610
610
|
export { }
|
|
611
611
|
|
|
612
612
|
|
|
613
|
+
declare module '@tanstack/react-table' {
|
|
614
|
+
interface TableMeta<TData extends RowData> {
|
|
615
|
+
options?: BuiltInFieldOptions;
|
|
616
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
617
|
+
projectName?: string;
|
|
618
|
+
updateEntities?: CellUpdate;
|
|
619
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
620
|
+
selection?: string[];
|
|
621
|
+
columnsConfig?: ColumnsConfig;
|
|
622
|
+
loadingLinksEntityIds?: Set<string>;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
|
|
613
627
|
declare module '@tanstack/react-table' {
|
|
614
628
|
interface FilterFns {
|
|
615
629
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -626,20 +640,6 @@ declare module '@tanstack/react-table' {
|
|
|
626
640
|
}
|
|
627
641
|
|
|
628
642
|
|
|
629
|
-
declare module '@tanstack/react-table' {
|
|
630
|
-
interface TableMeta<TData extends RowData> {
|
|
631
|
-
options?: BuiltInFieldOptions;
|
|
632
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
633
|
-
projectName?: string;
|
|
634
|
-
updateEntities?: CellUpdate;
|
|
635
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
636
|
-
selection?: string[];
|
|
637
|
-
columnsConfig?: ColumnsConfig;
|
|
638
|
-
loadingLinksEntityIds?: Set<string>;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
|
|
643
643
|
declare global {
|
|
644
644
|
interface Window {
|
|
645
645
|
senderId: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -62,6 +62,20 @@ declare interface UserImageProps {
|
|
|
62
62
|
export { }
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
declare module '@tanstack/react-table' {
|
|
66
|
+
interface TableMeta<TData extends RowData> {
|
|
67
|
+
options?: BuiltInFieldOptions;
|
|
68
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
69
|
+
projectName?: string;
|
|
70
|
+
updateEntities?: CellUpdate;
|
|
71
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
72
|
+
selection?: string[];
|
|
73
|
+
columnsConfig?: ColumnsConfig;
|
|
74
|
+
loadingLinksEntityIds?: Set<string>;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
65
79
|
declare module '@tanstack/react-table' {
|
|
66
80
|
interface FilterFns {
|
|
67
81
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -78,20 +92,6 @@ declare module '@tanstack/react-table' {
|
|
|
78
92
|
}
|
|
79
93
|
|
|
80
94
|
|
|
81
|
-
declare module '@tanstack/react-table' {
|
|
82
|
-
interface TableMeta<TData extends RowData> {
|
|
83
|
-
options?: BuiltInFieldOptions;
|
|
84
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
85
|
-
projectName?: string;
|
|
86
|
-
updateEntities?: CellUpdate;
|
|
87
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
88
|
-
selection?: string[];
|
|
89
|
-
columnsConfig?: ColumnsConfig;
|
|
90
|
-
loadingLinksEntityIds?: Set<string>;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
95
|
declare global {
|
|
96
96
|
interface Window {
|
|
97
97
|
senderId: string;
|
package/dist/types/util.d.ts
CHANGED
|
@@ -729,6 +729,8 @@ export declare const parseUri: (uri: string) => {
|
|
|
729
729
|
entity?: EntityUri;
|
|
730
730
|
};
|
|
731
731
|
|
|
732
|
+
export declare const pastedListToSearch: (text: string) => string | null;
|
|
733
|
+
|
|
732
734
|
export declare const pluralize: (count: number, singular: string) => string;
|
|
733
735
|
|
|
734
736
|
export declare interface ProductCreationData {
|
|
@@ -947,6 +949,20 @@ export declare const waitForRealtimeJitter: () => Promise<void>;
|
|
|
947
949
|
export { }
|
|
948
950
|
|
|
949
951
|
|
|
952
|
+
declare module '@tanstack/react-table' {
|
|
953
|
+
interface TableMeta<TData extends RowData> {
|
|
954
|
+
options?: BuiltInFieldOptions;
|
|
955
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
956
|
+
projectName?: string;
|
|
957
|
+
updateEntities?: CellUpdate;
|
|
958
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
959
|
+
selection?: string[];
|
|
960
|
+
columnsConfig?: ColumnsConfig;
|
|
961
|
+
loadingLinksEntityIds?: Set<string>;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
|
|
950
966
|
declare module '@tanstack/react-table' {
|
|
951
967
|
interface FilterFns {
|
|
952
968
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -963,20 +979,6 @@ declare module '@tanstack/react-table' {
|
|
|
963
979
|
}
|
|
964
980
|
|
|
965
981
|
|
|
966
|
-
declare module '@tanstack/react-table' {
|
|
967
|
-
interface TableMeta<TData extends RowData> {
|
|
968
|
-
options?: BuiltInFieldOptions;
|
|
969
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
970
|
-
projectName?: string;
|
|
971
|
-
updateEntities?: CellUpdate;
|
|
972
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
973
|
-
selection?: string[];
|
|
974
|
-
columnsConfig?: ColumnsConfig;
|
|
975
|
-
loadingLinksEntityIds?: Set<string>;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
|
|
980
982
|
declare global {
|
|
981
983
|
interface Window {
|
|
982
984
|
senderId: string;
|
package/dist/util.es.js
CHANGED
|
@@ -2,26 +2,26 @@ import { K as S, g as I, a as P } from "./chunks/platform.es.js";
|
|
|
2
2
|
import { c as d } from "./chunks/confirmDelete.es.js";
|
|
3
3
|
import { a as C } from "./chunks/confirmDelete.es.js";
|
|
4
4
|
import { e as A, g as M } from "./chunks/getEntityTypeIcon.es.js";
|
|
5
|
-
import { g as
|
|
5
|
+
import { g as L, r as U } from "./chunks/replaceRoot.es.js";
|
|
6
6
|
import { e as v, g as N } from "./chunks/extractEntityHierarchyFromParents.es.js";
|
|
7
7
|
import { c as k } from "./chunks/copyToClipboard.es.js";
|
|
8
8
|
import { g as O, h as B } from "./chunks/humanizeFieldName.es.js";
|
|
9
9
|
import { c as K, a as z, g as q, p as J, b as Q } from "./chunks/parseHtmlToPlainTextWithLinks.es.js";
|
|
10
10
|
import { bk as g } from "./chunks/searchTerms.es.js";
|
|
11
|
-
import { bl as $, be as j, bm as G, bg as X, bn as Y, bi as Z, bo as ee, bp as ae, bj as te, bf as re, bq as oe, br as se, bs as ne, bh as ie, bt as le, bu as me, bv as ce } from "./chunks/searchTerms.es.js";
|
|
12
|
-
import { a as
|
|
13
|
-
import { e as
|
|
14
|
-
import { c as
|
|
15
|
-
import { c as
|
|
16
|
-
import { p as
|
|
17
|
-
import { b as
|
|
18
|
-
import { g as
|
|
19
|
-
import { b as
|
|
20
|
-
import { b as
|
|
21
|
-
import { g as
|
|
22
|
-
import { p as
|
|
23
|
-
import { i as
|
|
24
|
-
import { ConfirmDialog as
|
|
11
|
+
import { bl as $, be as j, bm as G, bg as X, bn as Y, bi as Z, bo as ee, bp as ae, bj as te, bf as re, bq as oe, br as se, bs as ne, bh as ie, bt as le, bu as me, bv as ce, bw as pe } from "./chunks/searchTerms.es.js";
|
|
12
|
+
import { a as ge, b as be, d as ue, e as fe, c as Ee, g as he, f as Te, s as xe, v as ye, w as Se } from "./chunks/realtimeUpdatesUtils.es.js";
|
|
13
|
+
import { e as Pe } from "./chunks/extractVersionFromFilename.es.js";
|
|
14
|
+
import { c as Ce, a as Re, b as Ae, g as Me, h as De, s as Le, v as Ue, d as _e, e as ve } from "./chunks/versionUploadHelpers.es.js";
|
|
15
|
+
import { c as we, a as ke } from "./chunks/columnConfigConverter.es.js";
|
|
16
|
+
import { p as Oe } from "./chunks/pluralize.es.js";
|
|
17
|
+
import { b as Ve, a as Ke, h as ze, p as qe, r as Je } from "./chunks/colorUtils.es.js";
|
|
18
|
+
import { g as We } from "./chunks/getGroupByDataType.es.js";
|
|
19
|
+
import { b as je, g as Ge, a as Xe, c as Ye, p as Ze, u as ea } from "./chunks/getBundleMode.es.js";
|
|
20
|
+
import { b as ta, s as ra } from "./chunks/buildHierarchicalTableRows.es.js";
|
|
21
|
+
import { g as sa, a as na } from "./chunks/getThumbnailUrl.es.js";
|
|
22
|
+
import { p as la } from "./chunks/parseFilename.es.js";
|
|
23
|
+
import { i as ca } from "./chunks/isHTMLElement.es.js";
|
|
24
|
+
import { ConfirmDialog as da } from "primereact/confirmdialog";
|
|
25
25
|
const f = (e) => {
|
|
26
26
|
const t = /* @__PURE__ */ new Map(), o = [];
|
|
27
27
|
for (const a of e)
|
|
@@ -64,87 +64,88 @@ const f = (e) => {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
da as ConfirmDialog,
|
|
68
68
|
$ as ENUM_CONTEXT_PARAMS,
|
|
69
69
|
S as KeyMode,
|
|
70
70
|
j as PubSub,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
ge as REALTIME_REST_CALL_LIMIT,
|
|
72
|
+
be as REALTIME_REST_JITTER,
|
|
73
|
+
ue as REALTIME_TASK_SUPPORTED_VALUE_FIELDS,
|
|
74
|
+
fe as REALTIME_UPDATE_DEBOUNCE,
|
|
75
|
+
Ve as blendCategoryColor,
|
|
76
|
+
Ke as blendColors,
|
|
77
|
+
je as buildEntityUri,
|
|
78
78
|
f as buildFolderHierarchy,
|
|
79
|
-
|
|
79
|
+
ta as buildHierarchicalTableRows,
|
|
80
80
|
K as checkLabel,
|
|
81
81
|
z as checkName,
|
|
82
82
|
d as confirmDelete,
|
|
83
83
|
C as confirmDeleteDialog,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
we as convertColumnConfigToTanstackStates,
|
|
85
|
+
ke as convertTanstackStatesToColumnConfig,
|
|
86
86
|
k as copyToClipboard,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
Ce as createProductAndVersion,
|
|
88
|
+
Re as createProductHelper,
|
|
89
|
+
Ee as createRealtimeBatcher,
|
|
90
|
+
Ae as createVersionHelper,
|
|
91
91
|
A as entityTypesWithIcons,
|
|
92
92
|
v as extractEntityHierarchyFromParents,
|
|
93
|
-
|
|
93
|
+
Pe as extractVersionFromFilename,
|
|
94
94
|
q as getAttributeIcon,
|
|
95
|
-
|
|
95
|
+
Ge as getBundleModeFromUser,
|
|
96
96
|
I as getCurrentPlatform,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
he as getEntityId,
|
|
98
|
+
Xe as getEntityStateFromUri,
|
|
99
|
+
sa as getEntityThumbnailUrl,
|
|
100
100
|
M as getEntityTypeIcon,
|
|
101
101
|
G as getEnumContextParams,
|
|
102
102
|
X as getEnumErrorText,
|
|
103
103
|
Y as getEnumItemIcon,
|
|
104
104
|
g as getErrorMessage,
|
|
105
|
-
|
|
105
|
+
We as getGroupByDataType,
|
|
106
106
|
O as getMixedState,
|
|
107
|
-
|
|
107
|
+
Me as getNextVersionNumber,
|
|
108
108
|
P as getPlatformShortcutKey,
|
|
109
109
|
N as getPriorityOptions,
|
|
110
110
|
h as getProjectDisplayName,
|
|
111
|
-
|
|
111
|
+
na as getProjectThumbnailUrl,
|
|
112
112
|
Z as getRequestErrorString,
|
|
113
113
|
ee as getSelectableAssignees,
|
|
114
114
|
ae as getSelectableEnumItems,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
Ye as getSettingsStateFromUri,
|
|
116
|
+
Te as getSupportedEntityPatch,
|
|
117
|
+
L as groupResult,
|
|
118
118
|
E as handleDeleteFolders,
|
|
119
|
-
|
|
119
|
+
De as handleUploadError,
|
|
120
120
|
te as hasEnumOptions,
|
|
121
121
|
re as hasEnumResolver,
|
|
122
|
-
|
|
122
|
+
ze as hexToRgb,
|
|
123
123
|
B as humanizeField,
|
|
124
124
|
oe as isEnumContextParam,
|
|
125
125
|
se as isEnumIconImage,
|
|
126
|
-
|
|
126
|
+
ca as isHTMLElement,
|
|
127
127
|
ne as matchSearchQuery,
|
|
128
128
|
T as mentionTypeOptions,
|
|
129
129
|
ie as normalizeEnumItems,
|
|
130
130
|
J as parseAndFormatName,
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
qe as parseColor,
|
|
132
|
+
la as parseFilename,
|
|
133
133
|
Q as parseHtmlToPlainTextWithLinks,
|
|
134
134
|
le as parseSearchQuery,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
135
|
+
Ze as parseUri,
|
|
136
|
+
me as pastedListToSearch,
|
|
137
|
+
Oe as pluralize,
|
|
138
|
+
U as replaceRoot,
|
|
139
|
+
Je as rgbToHex,
|
|
140
|
+
Le as sanitizeProductName,
|
|
141
|
+
ra as shouldBlockShortcuts,
|
|
142
|
+
ce as sortKeysDeep,
|
|
143
|
+
xe as subscribeToThumbnailUpdates,
|
|
144
|
+
pe as toDropdownErrorText,
|
|
145
|
+
ea as useStagingModeState,
|
|
146
|
+
ye as validateEntityId,
|
|
146
147
|
Ue as validateFormData,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
_e as validateProductName,
|
|
149
|
+
ve as validateVersion,
|
|
150
|
+
Se as waitForRealtimeJitter
|
|
150
151
|
};
|