@ynput/ayon-frontend-shared 0.4.7 → 0.5.0
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 +684 -651
- package/dist/ListTable.es.js +8 -7
- package/dist/ProjectTreeTable.es.js +2223 -2184
- package/dist/Slicer.es.js +152 -120
- package/dist/api.es.js +202 -201
- package/dist/chunks/Actions.es.js +20 -20
- package/dist/chunks/ColumnDropIndicator.es.js +127 -241
- package/dist/chunks/DeleteEntitiesContext.es.js +36 -36
- package/dist/chunks/DetailsDialog.es.js +3 -3
- package/dist/chunks/EntityPath.es.js +22 -22
- package/dist/chunks/EntityPickerDialog.es.js +1 -1
- package/dist/chunks/EntityTooltip.es.js +12 -12
- package/dist/chunks/Feed.es.js +2 -2
- package/dist/chunks/FilterErrorActions.es.js +5 -5
- package/dist/chunks/GlobalContext.es.js +14 -14
- package/dist/chunks/InfoMessage.es.js +146 -0
- package/dist/chunks/Menu.es.js +5 -5
- package/dist/chunks/MenuContext.es.js +75 -73
- package/dist/chunks/MetaWidget.es.js +1968 -1960
- package/dist/chunks/NewEntityContext.es.js +538 -543
- package/dist/chunks/PlayableIcon.es.js +54 -54
- package/dist/chunks/ProjectContext.es.js +12 -12
- package/dist/chunks/ProjectFoldersContext.es.js +84 -76
- package/dist/chunks/RepresentationsList.es.js +1 -1
- package/dist/chunks/ReviewablesSelector.es.js +387 -384
- package/dist/chunks/SimpleTable.es.js +286 -283
- package/dist/chunks/Slicer.es.js +1121 -683
- package/dist/chunks/VersionUploadContext.es.js +26 -26
- package/dist/chunks/ViewsContext.es.js +31 -31
- package/dist/chunks/Watchers.es.js +1 -1
- package/dist/chunks/entityDefinitions.es.js +275 -133
- package/dist/chunks/getUris.es.js +236 -231
- package/dist/chunks/searchTerms.es.js +9 -0
- package/dist/chunks/useAttributeEnums.es.js +69 -61
- package/dist/chunks/useLocalStorage.es.js +10 -10
- package/dist/chunks/viewUpdateHelper.es.js +23 -23
- package/dist/components.es.js +166 -166
- package/dist/hooks.es.js +44 -43
- package/dist/index.es.js +11 -10
- package/dist/types/DetailsPanel.d.ts +6 -0
- package/dist/types/ProjectTreeTable.d.ts +28 -6
- package/dist/types/RepresentationsList.d.ts +3 -0
- package/dist/types/SimpleTable.d.ts +1 -0
- package/dist/types/Slicer.d.ts +103 -18
- package/dist/types/api.d.ts +13 -0
- package/dist/types/components.d.ts +7 -5
- package/package.json +11 -10
- package/dist/chunks/useSlicerSplitter.es.js +0 -18
package/dist/ListTable.es.js
CHANGED
|
@@ -13,7 +13,7 @@ import "primereact/confirmdialog";
|
|
|
13
13
|
import { bf as Le } from "./chunks/searchTerms.es.js";
|
|
14
14
|
import "react-router-dom";
|
|
15
15
|
import "./chunks/ProjectContext.es.js";
|
|
16
|
-
import {
|
|
16
|
+
import { dy as vt, dz as Ge } from "./chunks/getUris.es.js";
|
|
17
17
|
import { a as Me } from "./chunks/useCreateContextMenu.es.js";
|
|
18
18
|
import "./chunks/DeleteEntitiesContext.es.js";
|
|
19
19
|
import "./chunks/GlobalContext.es.js";
|
|
@@ -31,6 +31,7 @@ import { C as Be, H as Ye } from "./chunks/ColumnDropIndicator.es.js";
|
|
|
31
31
|
import { u as Ue } from "./chunks/MenuContext.es.js";
|
|
32
32
|
import "./chunks/EmptyPlaceholder.es.js";
|
|
33
33
|
import "./chunks/Menu.es.js";
|
|
34
|
+
import "./chunks/InfoMessage.es.js";
|
|
34
35
|
import "react-dom";
|
|
35
36
|
import "react-redux";
|
|
36
37
|
import "./chunks/ViewsContext.es.js";
|
|
@@ -516,7 +517,7 @@ const Tt = C.tbody`
|
|
|
516
517
|
list_of_any: tt,
|
|
517
518
|
list_of_submodels: wt,
|
|
518
519
|
dict: wt
|
|
519
|
-
},
|
|
520
|
+
}, xo = () => bn, Kt = (t, e) => `list-table-cell-${t}-${e}`, yn = (t) => F(t), Vt = "editable", vn = (t) => !!t && typeof t == "object" && "__listTablePlaceholder" in t, Cn = ({
|
|
520
521
|
cell: t,
|
|
521
522
|
row: e,
|
|
522
523
|
rowIndex: o,
|
|
@@ -993,7 +994,7 @@ function kn(t) {
|
|
|
993
994
|
}, [o, e]);
|
|
994
995
|
}
|
|
995
996
|
const Ln = (t) => t ? Array.isArray(t) ? t.filter(Boolean) : [t] : [];
|
|
996
|
-
function
|
|
997
|
+
function Do({
|
|
997
998
|
data: t,
|
|
998
999
|
columns: e,
|
|
999
1000
|
getRowId: o,
|
|
@@ -1310,7 +1311,7 @@ const Pt = (t) => !!t && typeof t == "object" && ("label" in t || "value" in t),
|
|
|
1310
1311
|
}), o.forEach((i) => {
|
|
1311
1312
|
i.subRows = Ft(i.subRows, e);
|
|
1312
1313
|
}), [...o, ...r];
|
|
1313
|
-
},
|
|
1314
|
+
}, Eo = (t, e, o, r, i, u) => {
|
|
1314
1315
|
const a = [], f = (d, E, R, c) => {
|
|
1315
1316
|
if (!R.length) {
|
|
1316
1317
|
d.push(E);
|
|
@@ -1337,11 +1338,11 @@ const Pt = (t) => !!t && typeof t == "object" && ("label" in t || "value" in t),
|
|
|
1337
1338
|
return t.forEach((d) => f(a, d, e, "root")), Ft(a, o);
|
|
1338
1339
|
};
|
|
1339
1340
|
export {
|
|
1340
|
-
|
|
1341
|
-
|
|
1341
|
+
Do as ListTable,
|
|
1342
|
+
Eo as buildGroupedData,
|
|
1342
1343
|
Mn as compareGroupingPathItems,
|
|
1343
1344
|
bn as defaultListTableDataTypeWidgets,
|
|
1344
|
-
|
|
1345
|
+
xo as getDefaultListTableDataTypeWidgets,
|
|
1345
1346
|
Gn as getGroupItemValue,
|
|
1346
1347
|
Kt as getListTableCellId,
|
|
1347
1348
|
Pt as isListTableGroupDisplayObject,
|