@ynput/ayon-frontend-shared 0.6.5 → 0.6.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.
@@ -1,19 +1,19 @@
1
- import { getFilterFromId as I, SEARCH_FILTER_ID as M } from "@ynput/ayon-react-components";
2
- import { d as D } from "./PlayableIcon.es.js";
3
- import { c as S, i as F, r as A } from "./expandRelativeDates.es.js";
4
- import { parseISO as f, isValid as m, format as h } from "date-fns";
5
- const V = "no-date", T = (e, n) => {
1
+ import { getFilterFromId as k, SEARCH_FILTER_ID as S } from "@ynput/ayon-react-components";
2
+ import { d as O } from "./PlayableIcon.es.js";
3
+ import { c as F, i as A, r as N } from "./expandRelativeDates.es.js";
4
+ import { parseISO as m, isValid as h, format as V } from "date-fns";
5
+ const C = "no-date", I = (e, n) => {
6
6
  if (!n.values || n.values.length === 0) return null;
7
7
  const t = n.values.flatMap((r) => {
8
- const l = [], s = r.values, o = s?.[0]?.id, i = s?.[1]?.id, d = o && i && o !== V && i !== V ? D(o, i) : null;
9
- return s?.[0] !== void 0 && s?.[0].id !== V && l.push({
8
+ const l = [], s = r.values, o = s?.[0]?.id, i = s?.[1]?.id, u = o && i && o !== C && i !== C ? O(o, i) : null;
9
+ return s?.[0] !== void 0 && s?.[0].id !== C && l.push({
10
10
  key: e,
11
11
  operator: n.inverted ? "lte" : "gte",
12
- value: d ? S(d.id, 0) : s[0].id
13
- }), s?.[1] !== void 0 && s?.[1].id !== V && l.push({
12
+ value: u ? F(u.id, 0) : s[0].id
13
+ }), s?.[1] !== void 0 && s?.[1].id !== C && l.push({
14
14
  key: e,
15
15
  operator: n.inverted ? "gte" : "lte",
16
- value: d ? S(d.id, 1) : s[1].id
16
+ value: u ? F(u.id, 1) : s[1].id
17
17
  }), l;
18
18
  });
19
19
  return t.length === 0 ? null : {
@@ -21,87 +21,88 @@ const V = "no-date", T = (e, n) => {
21
21
  operator: n.inverted ? "or" : "and"
22
22
  };
23
23
  }, G = (e) => !e || e.length === 0 ? {} : {
24
- conditions: e.filter((t) => !!t.values?.length).filter((t) => t.id !== "hierarchy").flatMap((t) => $(t)),
24
+ conditions: e.filter((t) => !!t.values?.length).filter((t) => t.id !== "hierarchy").flatMap((t) => T(t)),
25
25
  operator: "and"
26
- }, N = (e) => ({
26
+ }, x = (e) => ({
27
27
  conditions: [
28
28
  { key: e, operator: "isnull" },
29
29
  { key: e, operator: "eq", value: "" }
30
30
  ],
31
31
  operator: "or"
32
- }), x = (e) => ({
32
+ }), D = (e) => ({
33
33
  conditions: [
34
34
  { key: e, operator: "notnull" },
35
35
  { key: e, operator: "ne", value: "" }
36
36
  ],
37
37
  operator: "and"
38
- }), $ = (e) => {
39
- const n = I(e.id);
38
+ }), T = (e) => {
39
+ const n = k(e.id);
40
40
  let t;
41
- const r = Array.isArray(e.values) && e.values.map((u) => u.id)?.includes("hasValue"), l = Array.isArray(e.values) && e.values.map((u) => u.id)?.includes("noValue");
42
- e.values && e.values.length > 0 && (e.singleSelect ? t = C(e.values[0].id, e.type) : t = e.values.map((u) => C(u.id, e.type)));
43
- const s = e.type?.startsWith("list_of_") || n.includes("tags") || n.includes("assignees"), o = e.type === "datetime", i = e.type === "boolean", d = n.endsWith("version") || e.type === "integer" || e.type === "float", p = e.values && e.values.some((u) => u.isCustom === !0);
41
+ const r = Array.isArray(e.values) && e.values.map((d) => d.id)?.includes("hasValue"), l = Array.isArray(e.values) && e.values.map((d) => d.id)?.includes("noValue");
42
+ e.values && e.values.length > 0 && (e.singleSelect ? t = b(e.values[0].id, e.type) : t = e.values.map((d) => b(d.id, e.type)));
43
+ const s = e.type?.startsWith("list_of_") || n.includes("tags") || n.includes("assignees"), o = e.type === "datetime", i = e.type === "boolean", u = n.endsWith("version") || e.type === "integer" || e.type === "float", v = e.values && e.values.some((d) => d.isCustom === !0);
44
44
  let a = "eq";
45
45
  if (t === void 0)
46
46
  return a = e.inverted ? "notnull" : "isnull", { key: n, operator: a };
47
- const g = e.type === "string" && !s;
47
+ const y = e.type === "string" && !s;
48
48
  if (r) {
49
- if (g)
50
- return e.inverted ? N(n) : x(n);
49
+ if (y)
50
+ return e.inverted ? x(n) : D(n);
51
51
  t = s ? [] : void 0, a = s ? e.inverted ? "eq" : "ne" : e.inverted ? "isnull" : "notnull";
52
52
  } else if (l) {
53
- if (g)
54
- return e.inverted ? x(n) : N(n);
53
+ if (y)
54
+ return e.inverted ? D(n) : x(n);
55
55
  t = s ? [] : void 0, a = s ? e.inverted ? "ne" : "eq" : e.inverted ? "notnull" : "isnull";
56
56
  } else if (s)
57
57
  e.inverted ? a = e.operator === "AND" ? "excludesall" : "excludesany" : a = e.operator === "AND" ? "includesall" : "includesany";
58
58
  else if (o) {
59
- const u = T(n, e);
60
- if (u) return u;
59
+ const d = I(n, e);
60
+ if (d) return d;
61
61
  a = e.inverted ? "ne" : "eq";
62
62
  } else if (i)
63
63
  a = e.inverted ? "ne" : "eq";
64
- else if (p && !s && !d)
64
+ else if (v && !s && !u) {
65
+ const d = e.inverted ? "notlike" : "like";
65
66
  if (!e.values || e.values.length === 0)
66
67
  a = e.inverted ? "notin" : "in";
67
68
  else {
68
- const u = e.values.filter((v) => v.isCustom === !0), c = e.values.filter((v) => !v.isCustom);
69
- if (c.length === 0)
70
- if (u.length === 1)
71
- a = "like", t = `%${u[0].id}%`;
69
+ const c = e.values.filter((p) => p.isCustom === !0), g = e.values.filter((p) => !p.isCustom);
70
+ if (g.length === 0)
71
+ if (c.length === 1)
72
+ a = d, t = `%${c[0].id}%`;
72
73
  else
73
74
  return {
74
- conditions: u.map((y) => ({
75
+ conditions: c.map((f) => ({
75
76
  key: n,
76
- operator: "like",
77
- value: `%${y.id}%`
77
+ operator: d,
78
+ value: `%${f.id}%`
78
79
  })),
79
80
  operator: e.inverted ? "and" : "or"
80
81
  };
81
82
  else {
82
- const v = [];
83
- return c.length > 0 && v.push({
83
+ const p = [];
84
+ return g.length > 0 && p.push({
84
85
  key: n,
85
86
  operator: e.inverted ? "notin" : "in",
86
- value: c.map(
87
- (y) => C(y.id, e.type)
87
+ value: g.map(
88
+ (f) => b(f.id, e.type)
88
89
  )
89
- }), u.forEach((y) => {
90
- v.push({
90
+ }), c.forEach((f) => {
91
+ p.push({
91
92
  key: n,
92
- operator: "like",
93
- value: `%${y.id}%`
93
+ operator: d,
94
+ value: `%${f.id}%`
94
95
  });
95
96
  }), {
96
- conditions: v,
97
+ conditions: p,
97
98
  operator: e.inverted ? "and" : "or"
98
99
  };
99
100
  }
100
101
  }
101
- else
102
+ } else
102
103
  a = e.inverted ? "notin" : "in";
103
104
  return { key: n, value: t, operator: a };
104
- }, C = (e, n) => {
105
+ }, b = (e, n) => {
105
106
  if (!n) return e;
106
107
  switch (n) {
107
108
  case "integer":
@@ -113,7 +114,7 @@ const V = "no-date", T = (e, n) => {
113
114
  default:
114
115
  return e;
115
116
  }
116
- }, k = (e, n) => {
117
+ }, $ = (e, n) => {
117
118
  if (!e?.conditions || e.conditions.length === 0)
118
119
  return [];
119
120
  const t = [], r = /* @__PURE__ */ new Set();
@@ -128,7 +129,7 @@ const V = "no-date", T = (e, n) => {
128
129
  else if (o)
129
130
  t.push(o);
130
131
  else {
131
- const i = k(l, n);
132
+ const i = $(l, n);
132
133
  t.push(...i);
133
134
  }
134
135
  }
@@ -150,38 +151,38 @@ const V = "no-date", T = (e, n) => {
150
151
  if (t.length !== e.conditions.length) return null;
151
152
  const r = t[0].key;
152
153
  if (!t.every((c) => c.key === r)) return null;
153
- const l = b(r, n);
154
+ const l = M(r, n);
154
155
  if (!l || l.type !== "datetime") return null;
155
156
  const s = t.find((c) => c.operator === "gte"), o = t.find((c) => c.operator === "lte");
156
157
  if (!s && !o) return null;
157
- const i = s?.value, d = o?.value, p = i && F(i) ? A(i) : i, a = d && F(d) ? A(d) : d;
158
- let g = "Custom range";
159
- if (p && a) {
160
- const c = D(p, a);
158
+ const i = s?.value, u = o?.value, v = i && A(i) ? N(i) : i, a = u && A(u) ? N(u) : u;
159
+ let y = "Custom range";
160
+ if (v && a) {
161
+ const c = O(v, a);
161
162
  if (c)
162
- g = c.label;
163
+ y = c.label;
163
164
  else {
164
- const v = f(p), y = f(a);
165
- if (m(v) && m(y)) {
166
- const w = (/* @__PURE__ */ new Date()).getFullYear(), O = y.getFullYear() === w ? "MMM d" : "MMM d, yyyy";
167
- g = `${h(v, "MMM d")} – ${h(y, O)}`;
165
+ const g = m(v), p = m(a);
166
+ if (h(g) && h(p)) {
167
+ const f = (/* @__PURE__ */ new Date()).getFullYear(), w = p.getFullYear() === f ? "MMM d" : "MMM d, yyyy";
168
+ y = `${V(g, "MMM d")} – ${V(p, w)}`;
168
169
  }
169
170
  }
170
171
  }
171
- const u = {
172
- id: `custom-${p || ""}-${a || ""}`,
173
- label: g,
172
+ const d = {
173
+ id: `custom-${v || ""}-${a || ""}`,
174
+ label: y,
174
175
  values: [
175
- ...p ? [
176
+ ...v ? [
176
177
  {
177
- id: p,
178
- label: m(f(p)) ? h(f(p), "MMM d, yyyy") : p
178
+ id: v,
179
+ label: h(m(v)) ? V(m(v), "MMM d, yyyy") : v
179
180
  }
180
181
  ] : [],
181
182
  ...a ? [
182
183
  {
183
184
  id: a,
184
- label: m(f(a)) ? h(f(a), "MMM d, yyyy") : a
185
+ label: h(m(a)) ? V(m(a), "MMM d, yyyy") : a
185
186
  }
186
187
  ] : []
187
188
  ]
@@ -192,7 +193,7 @@ const V = "no-date", T = (e, n) => {
192
193
  label: l.label,
193
194
  icon: l.icon,
194
195
  inverted: e.operator === "or",
195
- values: [u],
196
+ values: [d],
196
197
  singleSelect: l.singleSelect
197
198
  };
198
199
  }, q = (e, n) => {
@@ -202,7 +203,7 @@ const V = "no-date", T = (e, n) => {
202
203
  if (!t.every((i) => i.key === r)) return null;
203
204
  const l = e.operator === "or" && t.some((i) => i.operator === "isnull") && t.some((i) => i.operator === "eq" && i.value === ""), s = e.operator === "and" && t.some((i) => i.operator === "notnull") && t.some((i) => i.operator === "ne" && i.value === "");
204
205
  if (!l && !s) return null;
205
- const o = b(r, n);
206
+ const o = M(r, n);
206
207
  return o ? {
207
208
  id: o.id,
208
209
  type: o.type,
@@ -216,35 +217,35 @@ const V = "no-date", T = (e, n) => {
216
217
  } : null;
217
218
  }, E = (e, n, t) => {
218
219
  const { key: r, value: l, operator: s } = e;
219
- if (r === M) {
220
+ if (r === S) {
220
221
  const c = Array.isArray(l) ? l : [l || ""];
221
222
  return {
222
- id: M,
223
+ id: S,
223
224
  type: "string",
224
225
  label: "",
225
- values: c.map((y) => ({ id: String(y), label: String(y) }))
226
+ values: c.map((p) => ({ id: String(p), label: String(p) }))
226
227
  };
227
228
  }
228
- const o = b(r, n);
229
+ const o = M(r, n);
229
230
  if (!o)
230
231
  return null;
231
232
  const i = `${r}_${s}_${JSON.stringify(l)}`;
232
233
  if (t.has(i))
233
234
  return null;
234
235
  t.add(i);
235
- const d = H(l, s, o), a = d.length === 1 && ["hasValue", "noValue"].includes(String(d[0].id)) ? !1 : L(s, o.type), g = W(s, o.type);
236
+ const u = H(l, s, o), a = u.length === 1 && ["hasValue", "noValue"].includes(String(u[0].id)) ? !1 : L(s, o.type), y = W(s, o.type);
236
237
  return {
237
238
  id: o.id,
238
239
  type: o.type,
239
240
  label: o.label,
240
241
  inverted: a,
241
- operator: g,
242
+ operator: y,
242
243
  icon: o.icon,
243
- values: d,
244
+ values: u,
244
245
  isCustom: o.allowsCustomValues,
245
246
  singleSelect: o.singleSelect
246
247
  };
247
- }, b = (e, n) => {
248
+ }, M = (e, n) => {
248
249
  let t = n.find((r) => r.id === e);
249
250
  return t || (t = n.find(
250
251
  (r) => r.id.endsWith(e) || r.id.replace(/^[^.]*\./, "") === e || r.id.split("_").pop() === e
@@ -260,18 +261,18 @@ const V = "no-date", T = (e, n) => {
260
261
  }
261
262
  return e == null ? [] : (Array.isArray(e) ? e : [e]).map((l) => {
262
263
  let s = String(l), o = !1;
263
- if (n === "like" && typeof l == "string" && (s = l.replace(/^%/, "").replace(/%$/, ""), o = !0), !o) {
264
- const i = t.values?.find((d) => d.id === s);
264
+ if ((n === "like" || n === "notlike") && typeof l == "string" && (s = l.replace(/^%/, "").replace(/%$/, ""), o = !0), !o) {
265
+ const i = t.values?.find((u) => u.id === s);
265
266
  if (i)
266
267
  return i;
267
268
  }
268
269
  if (t.type === "datetime" && typeof l == "string")
269
270
  try {
270
- const i = f(l);
271
- if (m(i))
271
+ const i = m(l);
272
+ if (h(i))
272
273
  return {
273
274
  id: s,
274
- label: h(i, "MMM d, yyyy"),
275
+ label: V(i, "MMM d, yyyy"),
275
276
  isCustom: !0
276
277
  };
277
278
  } catch {
@@ -282,11 +283,19 @@ const V = "no-date", T = (e, n) => {
282
283
  isCustom: !0
283
284
  };
284
285
  });
285
- }, L = (e, n) => e ? ["ne", "notin", "excludes", "excludesall", "excludesany", "notnull"].includes(e) : !1, W = (e, n) => n?.startsWith("list_of_") && (e === "includesall" || e === "excludesall") ? "AND" : "OR";
286
+ }, L = (e, n) => e ? [
287
+ "ne",
288
+ "notin",
289
+ "notlike",
290
+ "excludes",
291
+ "excludesall",
292
+ "excludesany",
293
+ "notnull"
294
+ ].includes(e) : !1, W = (e, n) => n?.startsWith("list_of_") && (e === "includesall" || e === "excludesall") ? "AND" : "OR";
286
295
  export {
287
296
  G as a,
288
297
  q as b,
289
- T as c,
290
- k as q,
298
+ I as c,
299
+ $ as q,
291
300
  _ as t
292
301
  };
@@ -250,6 +250,7 @@ const Ot = new s(`
250
250
  status
251
251
  attrib {
252
252
  comment
253
+ frameStart
253
254
  }
254
255
  }
255
256
  }
@@ -758,6 +759,7 @@ fragment VersionBase on VersionNode {
758
759
  status
759
760
  attrib {
760
761
  comment
762
+ frameStart
761
763
  }
762
764
  }
763
765
  }`), de = new s(`
@@ -845,6 +847,7 @@ fragment VersionBase on VersionNode {
845
847
  status
846
848
  attrib {
847
849
  comment
850
+ frameStart
848
851
  }
849
852
  }
850
853
  }`), ce = new s(`
@@ -210,7 +210,7 @@ declare type QueryCondition = {
210
210
  /** Value to compare against */
211
211
  value?: string | number | number | boolean | string[] | number[] | number[];
212
212
  /** Comparison operator */
213
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
213
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
214
214
  };
215
215
 
216
216
  declare type QueryFilter = {
@@ -1336,8 +1336,6 @@ export declare const getEntitiesLabelFromScopes: (scopes?: string[]) => string;
1336
1336
 
1337
1337
  export declare const getEntityDataById: <T extends "folder" | "task" | "product" | "version">(id: string, entitiesMap: EntitiesMap) => EMapResult<T> | undefined;
1338
1338
 
1339
- export declare const getEntityPath: (entityId: string, entitiesMap: EntitiesMap) => string;
1340
-
1341
1339
  export declare const getEntityViewierIds: (entity: EntityMap) => {
1342
1340
  [id: string]: string;
1343
1341
  };
@@ -2847,7 +2845,7 @@ export declare type QueryCondition = {
2847
2845
  /** Value to compare against */
2848
2846
  value?: string | number | number | string[] | number[] | number[];
2849
2847
  /** Comparison operator */
2850
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2848
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2851
2849
  };
2852
2850
 
2853
2851
  declare type QueryCondition_2 = {
@@ -2856,7 +2854,7 @@ declare type QueryCondition_2 = {
2856
2854
  /** Value to compare against */
2857
2855
  value?: string | number | number | string[] | number[] | number[];
2858
2856
  /** Comparison operator */
2859
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2857
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2860
2858
  };
2861
2859
 
2862
2860
  declare type QueryCondition_3 = {
@@ -2865,7 +2863,7 @@ declare type QueryCondition_3 = {
2865
2863
  /** Value to compare against */
2866
2864
  value?: string | number | number | boolean | string[] | number[] | number[];
2867
2865
  /** Comparison operator */
2868
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2866
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2869
2867
  };
2870
2868
 
2871
2869
  export declare type QueryFilter = {
@@ -411,7 +411,7 @@ declare type QueryCondition_5 = {
411
411
  /** Value to compare against */
412
412
  value?: string | number | number | boolean | string[] | number[] | number[];
413
413
  /** Comparison operator */
414
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
414
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
415
415
  };
416
416
 
417
417
  declare type QueryFilter_5 = {
@@ -378,7 +378,7 @@ declare type QueryCondition = {
378
378
  /** Value to compare against */
379
379
  value?: string | number | number | string[] | number[] | number[];
380
380
  /** Comparison operator */
381
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
381
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
382
382
  };
383
383
 
384
384
  declare type QueryCondition_5 = {
@@ -387,7 +387,7 @@ declare type QueryCondition_5 = {
387
387
  /** Value to compare against */
388
388
  value?: string | number | number | boolean | string[] | number[] | number[];
389
389
  /** Comparison operator */
390
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
390
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
391
391
  };
392
392
 
393
393
  declare type QueryFilter = {
@@ -884,6 +884,7 @@ export declare type ActivityFragmentFragment = {
884
884
  status: string;
885
885
  attrib: {
886
886
  comment: string | null;
887
+ frameStart: number | null;
887
888
  };
888
889
  } | null;
889
890
  };
@@ -7033,6 +7034,7 @@ export declare type FeedActivityReaction = {
7033
7034
  export declare type FeedActivityVersion = {
7034
7035
  attrib: {
7035
7036
  comment?: string | null;
7037
+ frameStart?: number | null;
7036
7038
  [key: string]: any;
7037
7039
  };
7038
7040
  [key: string]: any;
@@ -7779,6 +7781,7 @@ export declare type GetActivitiesByIdQuery = {
7779
7781
  status: string;
7780
7782
  attrib: {
7781
7783
  comment: string | null;
7784
+ frameStart: number | null;
7782
7785
  };
7783
7786
  } | null;
7784
7787
  };
@@ -8295,6 +8298,7 @@ export declare type GetActivitiesQuery = {
8295
8298
  status: string;
8296
8299
  attrib: {
8297
8300
  comment: string | null;
8301
+ frameStart: number | null;
8298
8302
  };
8299
8303
  } | null;
8300
8304
  };
@@ -17424,7 +17428,7 @@ export declare type QueryCondition = {
17424
17428
  /** Value to compare against */
17425
17429
  value?: string | number | number | boolean | string[] | number[] | number[];
17426
17430
  /** Comparison operator */
17427
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17431
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17428
17432
  };
17429
17433
 
17430
17434
  declare type QueryCondition_2 = {
@@ -17433,7 +17437,7 @@ declare type QueryCondition_2 = {
17433
17437
  /** Value to compare against */
17434
17438
  value?: string | number | number | boolean | string[] | number[] | number[];
17435
17439
  /** Comparison operator */
17436
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17440
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17437
17441
  };
17438
17442
 
17439
17443
  declare type QueryCondition_3 = {
@@ -17442,7 +17446,7 @@ declare type QueryCondition_3 = {
17442
17446
  /** Value to compare against */
17443
17447
  value?: string | number | number | boolean | string[] | number[] | number[];
17444
17448
  /** Comparison operator */
17445
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17449
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17446
17450
  };
17447
17451
 
17448
17452
  declare type QueryCondition_4 = {
@@ -17451,7 +17455,7 @@ declare type QueryCondition_4 = {
17451
17455
  /** Value to compare against */
17452
17456
  value?: string | number | number | boolean | string[] | number[] | number[];
17453
17457
  /** Comparison operator */
17454
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17458
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17455
17459
  };
17456
17460
 
17457
17461
  declare type QueryCondition_5 = {
@@ -17460,7 +17464,7 @@ declare type QueryCondition_5 = {
17460
17464
  /** Value to compare against */
17461
17465
  value?: string | number | number | boolean | string[] | number[] | number[];
17462
17466
  /** Comparison operator */
17463
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17467
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
17464
17468
  };
17465
17469
 
17466
17470
  declare type QueryEntityList = GetListsQuery['project']['entityLists']['edges'][number]['node'];
@@ -1856,6 +1856,12 @@ declare interface MenuContainerProps {
1856
1856
  [key: string]: any;
1857
1857
  }
1858
1858
 
1859
+ declare interface MenuItemEndAction {
1860
+ icon: string;
1861
+ tooltip?: string;
1862
+ onClick: (e: default_2.MouseEvent) => void;
1863
+ }
1864
+
1859
1865
  export declare interface MenuItemType {
1860
1866
  id: string;
1861
1867
  label?: string | string[];
@@ -1874,6 +1880,7 @@ export declare interface MenuItemType {
1874
1880
  powerFeature?: PowerpackFeature;
1875
1881
  active?: boolean;
1876
1882
  reserveActiveSlot?: boolean;
1883
+ endActions?: MenuItemEndAction[];
1877
1884
  hidden?: boolean;
1878
1885
  node?: ReactNode;
1879
1886
  [key: string]: any;
@@ -2253,7 +2260,7 @@ declare type QueryCondition = {
2253
2260
  /** Value to compare against */
2254
2261
  value?: string | number | number | boolean | string[] | number[] | number[];
2255
2262
  /** Comparison operator */
2256
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2263
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2257
2264
  };
2258
2265
 
2259
2266
  declare type QueryCondition_5 = {
@@ -2262,7 +2269,7 @@ declare type QueryCondition_5 = {
2262
2269
  /** Value to compare against */
2263
2270
  value?: string | number | number | boolean | string[] | number[] | number[];
2264
2271
  /** Comparison operator */
2265
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2272
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
2266
2273
  };
2267
2274
 
2268
2275
  declare type QueryFilter = {
@@ -1222,7 +1222,7 @@ declare type QueryCondition = {
1222
1222
  /** Value to compare against */
1223
1223
  value?: string | number | number | boolean | string[] | number[] | number[];
1224
1224
  /** Comparison operator */
1225
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1225
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1226
1226
  };
1227
1227
 
1228
1228
  declare type QueryCondition_5 = {
@@ -1231,7 +1231,7 @@ declare type QueryCondition_5 = {
1231
1231
  /** Value to compare against */
1232
1232
  value?: string | number | number | boolean | string[] | number[] | number[];
1233
1233
  /** Comparison operator */
1234
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1234
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1235
1235
  };
1236
1236
 
1237
1237
  declare type QueryFilter = {
@@ -921,7 +921,7 @@ declare type QueryCondition = {
921
921
  /** Value to compare against */
922
922
  value?: string | number | number | boolean | string[] | number[] | number[];
923
923
  /** Comparison operator */
924
- operator?: 'eq' | 'like' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
924
+ operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
925
925
  };
926
926
 
927
927
  declare type QueryFilter = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynput/ayon-frontend-shared",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Shared React components for AYON frontend",
5
5
  "module": "dist/index.es.js",
6
6
  "exports": {