quantum-component-library 1.0.1-qa → 1.4.45-dev.14
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/components/copy-activity-form/index.d.ts +6 -4
- package/dist/components.cjs +1 -13
- package/dist/components.js +1292 -1174
- package/dist/{dnd-core-vendor-bgjKfDi6.cjs → dnd-core-vendor-2Ve0kqUN.cjs} +1 -1
- package/dist/{dnd-core-vendor-q7mfiuVu.js → dnd-core-vendor-CErAmYu_.js} +2 -2
- package/dist/emotion-react-vendor-CHdBBD18.cjs +1 -0
- package/dist/emotion-react-vendor-CSrsXjBq.js +81 -0
- package/dist/emotion-vendor-D6PQH2K8.cjs +1 -0
- package/dist/emotion-vendor-DNnoMT20.js +546 -0
- package/dist/floating-ui-vendor-BcB50aec.js +246 -0
- package/dist/floating-ui-vendor-Dsd5TAjM.cjs +1 -0
- package/dist/generated/gql.d.ts +5 -0
- package/dist/generated/graphql.d.ts +19 -0
- package/dist/{generated-ChsGaiYd.cjs → generated-B5QGMyhw.cjs} +1 -1
- package/dist/{generated-GfcSQz21.js → generated-esGwfMXj.js} +21 -20
- package/dist/graphql/mutations/actions.d.ts +3 -0
- package/dist/{graphql-DiUes2Np.js → graphql-CZIf58Fd.js} +37 -30
- package/dist/{graphql-CqPvuCvr.cjs → graphql-KvyVlavd.cjs} +18 -12
- package/dist/graphql-vendor-BWnD0b-j.js +1285 -0
- package/dist/graphql-vendor-CL0XsjHb.cjs +19 -0
- package/dist/hoist-non-react-statics-vendor-C5vG1oEE.cjs +1 -0
- package/dist/hoist-non-react-statics-vendor-DJU3S3cV.js +68 -0
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.js +11 -12
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +115 -115
- package/dist/{lodash-vendor-D5A6v3mw.cjs → lodash-vendor-CR237hSU.cjs} +1 -1
- package/dist/{lodash-vendor-Dz4vW7Gd.js → lodash-vendor-D4ZPCr77.js} +1 -1
- package/dist/moment-vendor-1cRqq0AH.cjs +10 -0
- package/dist/moment-vendor-DMLRxgRE.js +2589 -0
- package/dist/{other-TR0ap-t4.cjs → other-Dp3RPYfF.cjs} +1 -1
- package/dist/providers.cjs +1 -1
- package/dist/providers.js +8 -8
- package/dist/quantum-component-library.css +1 -1
- package/dist/react-dnd-vendor-BPzSDojS.cjs +2 -0
- package/dist/{react-dnd-vendor-BZs2igAJ.js → react-dnd-vendor-D4nn9Mqx.js} +22 -21
- package/dist/react-is-vendor-CosIbvzW.cjs +15 -0
- package/dist/react-is-vendor-DpFLFzFZ.js +174 -0
- package/dist/react-jsx-runtime-vendor-Dszzpdy0.cjs +22 -0
- package/dist/react-jsx-runtime-vendor-OVHDjVDe.js +284 -0
- package/dist/react-select-vendor-BPaBUHFp.cjs +4 -0
- package/dist/{react-select-vendor-eBH7yy3O.js → react-select-vendor-C_DuqfB7.js} +13 -10
- package/dist/services.cjs +1 -1
- package/dist/services.js +1 -1
- package/dist/stylis-vendor-CdCMw5Aa.js +334 -0
- package/dist/stylis-vendor-DzcTLVj9.cjs +1 -0
- package/dist/tailwind-vendor-B4y94WzT.js +2740 -0
- package/dist/tailwind-vendor-C0M23-WD.cjs +1 -0
- package/dist/types.cjs +1 -1
- package/dist/types.js +2 -2
- package/dist/ufuzzy-vendor-7qHa_k39.cjs +1 -0
- package/dist/ufuzzy-vendor-Dl0ZI6Av.js +456 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +31 -30
- package/dist/vendor-BjLvygDR.cjs +1 -0
- package/dist/vendor-VALJ9W3p.js +526 -0
- package/package.json +14 -10
- package/dist/graphql-vendor-JsvuUrRs.cjs +0 -14
- package/dist/graphql-vendor-YnA_qhJA.js +0 -669
- package/dist/react-dnd-vendor-BWqlt2EC.cjs +0 -2
- package/dist/react-select-vendor-By3h6JjH.cjs +0 -4
- package/dist/styled-components-vendor-Bvwhddj9.js +0 -1154
- package/dist/styled-components-vendor-D09ATioU.cjs +0 -60
- package/dist/vendor-BeqUcSbw.cjs +0 -45
- package/dist/vendor-DvX9OX-j.js +0 -7876
- package/dist/{providers → lib/providers}/index.d.ts +0 -0
- package/dist/{providers → lib/providers}/quantum-library-provider.d.ts +0 -0
- package/dist/{other-CmpBz5tg.js → other-C4VnLmM6.js} +1 -1
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
const P = Math.min, U = Math.max, O = Math.round, x = Math.floor, F = (t) => ({
|
|
2
|
+
x: t,
|
|
3
|
+
y: t
|
|
4
|
+
});
|
|
5
|
+
function j(t) {
|
|
6
|
+
const {
|
|
7
|
+
x: e,
|
|
8
|
+
y: n,
|
|
9
|
+
width: r,
|
|
10
|
+
height: o
|
|
11
|
+
} = t;
|
|
12
|
+
return {
|
|
13
|
+
width: r,
|
|
14
|
+
height: o,
|
|
15
|
+
top: n,
|
|
16
|
+
left: e,
|
|
17
|
+
right: e + r,
|
|
18
|
+
bottom: n + o,
|
|
19
|
+
x: e,
|
|
20
|
+
y: n
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function C() {
|
|
24
|
+
return typeof window < "u";
|
|
25
|
+
}
|
|
26
|
+
function W(t) {
|
|
27
|
+
return H(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
28
|
+
}
|
|
29
|
+
function g(t) {
|
|
30
|
+
var e;
|
|
31
|
+
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
32
|
+
}
|
|
33
|
+
function _(t) {
|
|
34
|
+
var e;
|
|
35
|
+
return (e = (H(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
36
|
+
}
|
|
37
|
+
function H(t) {
|
|
38
|
+
return C() ? t instanceof Node || t instanceof g(t).Node : !1;
|
|
39
|
+
}
|
|
40
|
+
function k(t) {
|
|
41
|
+
return C() ? t instanceof Element || t instanceof g(t).Element : !1;
|
|
42
|
+
}
|
|
43
|
+
function L(t) {
|
|
44
|
+
return C() ? t instanceof HTMLElement || t instanceof g(t).HTMLElement : !1;
|
|
45
|
+
}
|
|
46
|
+
function A(t) {
|
|
47
|
+
return !C() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof g(t).ShadowRoot;
|
|
48
|
+
}
|
|
49
|
+
const K = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
50
|
+
function $(t) {
|
|
51
|
+
const {
|
|
52
|
+
overflow: e,
|
|
53
|
+
overflowX: n,
|
|
54
|
+
overflowY: r,
|
|
55
|
+
display: o
|
|
56
|
+
} = T(t);
|
|
57
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + r + n) && !K.has(o);
|
|
58
|
+
}
|
|
59
|
+
function X() {
|
|
60
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
61
|
+
}
|
|
62
|
+
const Y = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
63
|
+
function G(t) {
|
|
64
|
+
return Y.has(W(t));
|
|
65
|
+
}
|
|
66
|
+
function T(t) {
|
|
67
|
+
return g(t).getComputedStyle(t);
|
|
68
|
+
}
|
|
69
|
+
function J(t) {
|
|
70
|
+
if (W(t) === "html")
|
|
71
|
+
return t;
|
|
72
|
+
const e = (
|
|
73
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
74
|
+
t.assignedSlot || // DOM Element detected.
|
|
75
|
+
t.parentNode || // ShadowRoot detected.
|
|
76
|
+
A(t) && t.host || // Fallback.
|
|
77
|
+
_(t)
|
|
78
|
+
);
|
|
79
|
+
return A(e) ? e.host : e;
|
|
80
|
+
}
|
|
81
|
+
function I(t) {
|
|
82
|
+
const e = J(t);
|
|
83
|
+
return G(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : L(e) && $(e) ? e : I(e);
|
|
84
|
+
}
|
|
85
|
+
function S(t, e, n) {
|
|
86
|
+
var r;
|
|
87
|
+
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
88
|
+
const o = I(t), c = o === ((r = t.ownerDocument) == null ? void 0 : r.body), i = g(o);
|
|
89
|
+
if (c) {
|
|
90
|
+
const s = N(i);
|
|
91
|
+
return e.concat(i, i.visualViewport || [], $(o) ? o : [], s && n ? S(s) : []);
|
|
92
|
+
}
|
|
93
|
+
return e.concat(o, S(o, [], n));
|
|
94
|
+
}
|
|
95
|
+
function N(t) {
|
|
96
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
97
|
+
}
|
|
98
|
+
function Q(t) {
|
|
99
|
+
const e = T(t);
|
|
100
|
+
let n = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
|
|
101
|
+
const o = L(t), c = o ? t.offsetWidth : n, i = o ? t.offsetHeight : r, s = O(n) !== c || O(r) !== i;
|
|
102
|
+
return s && (n = c, r = i), {
|
|
103
|
+
width: n,
|
|
104
|
+
height: r,
|
|
105
|
+
$: s
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function D(t) {
|
|
109
|
+
return k(t) ? t : t.contextElement;
|
|
110
|
+
}
|
|
111
|
+
function B(t) {
|
|
112
|
+
const e = D(t);
|
|
113
|
+
if (!L(e))
|
|
114
|
+
return F(1);
|
|
115
|
+
const n = e.getBoundingClientRect(), {
|
|
116
|
+
width: r,
|
|
117
|
+
height: o,
|
|
118
|
+
$: c
|
|
119
|
+
} = Q(e);
|
|
120
|
+
let i = (c ? O(n.width) : n.width) / r, s = (c ? O(n.height) : n.height) / o;
|
|
121
|
+
return (!i || !Number.isFinite(i)) && (i = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
122
|
+
x: i,
|
|
123
|
+
y: s
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
const Z = /* @__PURE__ */ F(0);
|
|
127
|
+
function tt(t) {
|
|
128
|
+
const e = g(t);
|
|
129
|
+
return !X() || !e.visualViewport ? Z : {
|
|
130
|
+
x: e.visualViewport.offsetLeft,
|
|
131
|
+
y: e.visualViewport.offsetTop
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function et(t, e, n) {
|
|
135
|
+
return !1;
|
|
136
|
+
}
|
|
137
|
+
function V(t, e, n, r) {
|
|
138
|
+
e === void 0 && (e = !1);
|
|
139
|
+
const o = t.getBoundingClientRect(), c = D(t);
|
|
140
|
+
let i = F(1);
|
|
141
|
+
e && (i = B(t));
|
|
142
|
+
const s = et() ? tt(c) : F(0);
|
|
143
|
+
let a = (o.left + s.x) / i.x, l = (o.top + s.y) / i.y, v = o.width / i.x, p = o.height / i.y;
|
|
144
|
+
if (c) {
|
|
145
|
+
const y = g(c), d = r;
|
|
146
|
+
let m = y, u = N(m);
|
|
147
|
+
for (; u && r && d !== m; ) {
|
|
148
|
+
const h = B(u), f = u.getBoundingClientRect(), w = T(u), b = f.left + (u.clientLeft + parseFloat(w.paddingLeft)) * h.x, E = f.top + (u.clientTop + parseFloat(w.paddingTop)) * h.y;
|
|
149
|
+
a *= h.x, l *= h.y, v *= h.x, p *= h.y, a += b, l += E, m = g(u), u = N(m);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return j({
|
|
153
|
+
width: v,
|
|
154
|
+
height: p,
|
|
155
|
+
x: a,
|
|
156
|
+
y: l
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
function q(t, e) {
|
|
160
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
161
|
+
}
|
|
162
|
+
function nt(t, e) {
|
|
163
|
+
let n = null, r;
|
|
164
|
+
const o = _(t);
|
|
165
|
+
function c() {
|
|
166
|
+
var s;
|
|
167
|
+
clearTimeout(r), (s = n) == null || s.disconnect(), n = null;
|
|
168
|
+
}
|
|
169
|
+
function i(s, a) {
|
|
170
|
+
s === void 0 && (s = !1), a === void 0 && (a = 1), c();
|
|
171
|
+
const l = t.getBoundingClientRect(), {
|
|
172
|
+
left: v,
|
|
173
|
+
top: p,
|
|
174
|
+
width: y,
|
|
175
|
+
height: d
|
|
176
|
+
} = l;
|
|
177
|
+
if (s || e(), !y || !d)
|
|
178
|
+
return;
|
|
179
|
+
const m = x(p), u = x(o.clientWidth - (v + y)), h = x(o.clientHeight - (p + d)), f = x(v), b = {
|
|
180
|
+
rootMargin: -m + "px " + -u + "px " + -h + "px " + -f + "px",
|
|
181
|
+
threshold: U(0, P(1, a)) || 1
|
|
182
|
+
};
|
|
183
|
+
let E = !0;
|
|
184
|
+
function M(z) {
|
|
185
|
+
const R = z[0].intersectionRatio;
|
|
186
|
+
if (R !== a) {
|
|
187
|
+
if (!E)
|
|
188
|
+
return i();
|
|
189
|
+
R ? i(!1, R) : r = setTimeout(() => {
|
|
190
|
+
i(!1, 1e-7);
|
|
191
|
+
}, 1e3);
|
|
192
|
+
}
|
|
193
|
+
R === 1 && !q(l, t.getBoundingClientRect()) && i(), E = !1;
|
|
194
|
+
}
|
|
195
|
+
try {
|
|
196
|
+
n = new IntersectionObserver(M, {
|
|
197
|
+
...b,
|
|
198
|
+
// Handle <iframe>s
|
|
199
|
+
root: o.ownerDocument
|
|
200
|
+
});
|
|
201
|
+
} catch {
|
|
202
|
+
n = new IntersectionObserver(M, b);
|
|
203
|
+
}
|
|
204
|
+
n.observe(t);
|
|
205
|
+
}
|
|
206
|
+
return i(!0), c;
|
|
207
|
+
}
|
|
208
|
+
function ot(t, e, n, r) {
|
|
209
|
+
r === void 0 && (r = {});
|
|
210
|
+
const {
|
|
211
|
+
ancestorScroll: o = !0,
|
|
212
|
+
ancestorResize: c = !0,
|
|
213
|
+
elementResize: i = typeof ResizeObserver == "function",
|
|
214
|
+
layoutShift: s = typeof IntersectionObserver == "function",
|
|
215
|
+
animationFrame: a = !1
|
|
216
|
+
} = r, l = D(t), v = o || c ? [...l ? S(l) : [], ...S(e)] : [];
|
|
217
|
+
v.forEach((f) => {
|
|
218
|
+
o && f.addEventListener("scroll", n, {
|
|
219
|
+
passive: !0
|
|
220
|
+
}), c && f.addEventListener("resize", n);
|
|
221
|
+
});
|
|
222
|
+
const p = l && s ? nt(l, n) : null;
|
|
223
|
+
let y = -1, d = null;
|
|
224
|
+
i && (d = new ResizeObserver((f) => {
|
|
225
|
+
let [w] = f;
|
|
226
|
+
w && w.target === l && d && (d.unobserve(e), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
|
|
227
|
+
var b;
|
|
228
|
+
(b = d) == null || b.observe(e);
|
|
229
|
+
})), n();
|
|
230
|
+
}), l && !a && d.observe(l), d.observe(e));
|
|
231
|
+
let m, u = a ? V(t) : null;
|
|
232
|
+
a && h();
|
|
233
|
+
function h() {
|
|
234
|
+
const f = V(t);
|
|
235
|
+
u && !q(u, f) && n(), u = f, m = requestAnimationFrame(h);
|
|
236
|
+
}
|
|
237
|
+
return n(), () => {
|
|
238
|
+
var f;
|
|
239
|
+
v.forEach((w) => {
|
|
240
|
+
o && w.removeEventListener("scroll", n), c && w.removeEventListener("resize", n);
|
|
241
|
+
}), p?.(), (f = d) == null || f.disconnect(), d = null, a && cancelAnimationFrame(m);
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
export {
|
|
245
|
+
ot as a
|
|
246
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const U=Math.min,P=Math.max,O=Math.round,x=Math.floor,F=t=>({x:t,y:t});function j(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function C(){return typeof window<"u"}function W(t){return H(t)?(t.nodeName||"").toLowerCase():"#document"}function g(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _(t){var e;return(e=(H(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function H(t){return C()?t instanceof Node||t instanceof g(t).Node:!1}function k(t){return C()?t instanceof Element||t instanceof g(t).Element:!1}function L(t){return C()?t instanceof HTMLElement||t instanceof g(t).HTMLElement:!1}function A(t){return!C()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof g(t).ShadowRoot}const K=new Set(["inline","contents"]);function $(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!K.has(o)}function X(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Y=new Set(["html","body","#document"]);function G(t){return Y.has(W(t))}function T(t){return g(t).getComputedStyle(t)}function J(t){if(W(t)==="html")return t;const e=t.assignedSlot||t.parentNode||A(t)&&t.host||_(t);return A(e)?e.host:e}function I(t){const e=J(t);return G(e)?t.ownerDocument?t.ownerDocument.body:t.body:L(e)&&$(e)?e:I(e)}function S(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=I(t),c=o===((r=t.ownerDocument)==null?void 0:r.body),i=g(o);if(c){const s=N(i);return e.concat(i,i.visualViewport||[],$(o)?o:[],s&&n?S(s):[])}return e.concat(o,S(o,[],n))}function N(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Q(t){const e=T(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=L(t),c=o?t.offsetWidth:n,i=o?t.offsetHeight:r,s=O(n)!==c||O(r)!==i;return s&&(n=c,r=i),{width:n,height:r,$:s}}function D(t){return k(t)?t:t.contextElement}function B(t){const e=D(t);if(!L(e))return F(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:c}=Q(e);let i=(c?O(n.width):n.width)/r,s=(c?O(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Z=F(0);function tt(t){const e=g(t);return!X()||!e.visualViewport?Z:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function et(t,e,n){return!1}function V(t,e,n,r){e===void 0&&(e=!1);const o=t.getBoundingClientRect(),c=D(t);let i=F(1);e&&(i=B(t));const s=et()?tt(c):F(0);let a=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,v=o.width/i.x,p=o.height/i.y;if(c){const y=g(c),d=r;let m=y,l=N(m);for(;l&&r&&d!==m;){const h=B(l),f=l.getBoundingClientRect(),w=T(l),b=f.left+(l.clientLeft+parseFloat(w.paddingLeft))*h.x,E=f.top+(l.clientTop+parseFloat(w.paddingTop))*h.y;a*=h.x,u*=h.y,v*=h.x,p*=h.y,a+=b,u+=E,m=g(l),l=N(m)}}return j({width:v,height:p,x:a,y:u})}function q(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function nt(t,e){let n=null,r;const o=_(t);function c(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),c();const u=t.getBoundingClientRect(),{left:v,top:p,width:y,height:d}=u;if(s||e(),!y||!d)return;const m=x(p),l=x(o.clientWidth-(v+y)),h=x(o.clientHeight-(p+d)),f=x(v),b={rootMargin:-m+"px "+-l+"px "+-h+"px "+-f+"px",threshold:P(0,U(1,a))||1};let E=!0;function M(z){const R=z[0].intersectionRatio;if(R!==a){if(!E)return i();R?i(!1,R):r=setTimeout(()=>{i(!1,1e-7)},1e3)}R===1&&!q(u,t.getBoundingClientRect())&&i(),E=!1}try{n=new IntersectionObserver(M,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(M,b)}n.observe(t)}return i(!0),c}function ot(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=D(t),v=o||c?[...u?S(u):[],...S(e)]:[];v.forEach(f=>{o&&f.addEventListener("scroll",n,{passive:!0}),c&&f.addEventListener("resize",n)});const p=u&&s?nt(u,n):null;let y=-1,d=null;i&&(d=new ResizeObserver(f=>{let[w]=f;w&&w.target===u&&d&&(d.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),u&&!a&&d.observe(u),d.observe(e));let m,l=a?V(t):null;a&&h();function h(){const f=V(t);l&&!q(l,f)&&n(),l=f,m=requestAnimationFrame(h)}return n(),()=>{var f;v.forEach(w=>{o&&w.removeEventListener("scroll",n),c&&w.removeEventListener("resize",n)}),p?.(),(f=d)==null||f.disconnect(),d=null,a&&cancelAnimationFrame(m)}}exports.autoUpdate=ot;
|
package/dist/generated/gql.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ type Documents = {
|
|
|
45
45
|
"\n fragment ProfileSession on Session {\n id\n name\n createdAt\n updatedAt\n createdById\n createdForId\n startedAt\n tests {\n ...ProfileSessionTest\n }\n }\n": typeof types.ProfileSessionFragmentDoc;
|
|
46
46
|
"\n mutation createAction($fields: CreateActionInput!) {\n createAction(input: $fields) {\n ...AssessmentAction\n }\n }\n": typeof types.CreateActionDocument;
|
|
47
47
|
"\n mutation updateAction($id: ID!, $fields: UpdateActionInput!) {\n updateAction(id: $id, input: $fields) {\n ...AssessmentAction\n }\n }\n": typeof types.UpdateActionDocument;
|
|
48
|
+
"\n mutation convertActionToQuantumOwned($id: ID!) {\n convertActionToQuantumOwned(id: $id) {\n ...AssessmentAction\n }\n }\n": typeof types.ConvertActionToQuantumOwnedDocument;
|
|
48
49
|
"\n mutation createLibraryModule($input: CreateModuleInput!) {\n createModule(input: $input) {\n ...LibraryActionModule\n }\n }\n": typeof types.CreateLibraryModuleDocument;
|
|
49
50
|
"\n mutation deleteLibraryModule($id: ID!) {\n deleteModule(id: $id)\n }\n": typeof types.DeleteLibraryModuleDocument;
|
|
50
51
|
"\n mutation updateLibraryModule($id: ID!, $input: UpdateModuleInput!) {\n updateModule(id: $id, input: $input) {\n ...LibraryActionModule\n }\n }\n": typeof types.UpdateLibraryModuleDocument;
|
|
@@ -207,6 +208,10 @@ export declare function graphql(source: "\n mutation createAction($fields: Crea
|
|
|
207
208
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
208
209
|
*/
|
|
209
210
|
export declare function graphql(source: "\n mutation updateAction($id: ID!, $fields: UpdateActionInput!) {\n updateAction(id: $id, input: $fields) {\n ...AssessmentAction\n }\n }\n"): (typeof documents)["\n mutation updateAction($id: ID!, $fields: UpdateActionInput!) {\n updateAction(id: $id, input: $fields) {\n ...AssessmentAction\n }\n }\n"];
|
|
211
|
+
/**
|
|
212
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
213
|
+
*/
|
|
214
|
+
export declare function graphql(source: "\n mutation convertActionToQuantumOwned($id: ID!) {\n convertActionToQuantumOwned(id: $id) {\n ...AssessmentAction\n }\n }\n"): (typeof documents)["\n mutation convertActionToQuantumOwned($id: ID!) {\n convertActionToQuantumOwned(id: $id) {\n ...AssessmentAction\n }\n }\n"];
|
|
210
215
|
/**
|
|
211
216
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
212
217
|
*/
|
|
@@ -457,6 +457,7 @@ export type Mutation = {
|
|
|
457
457
|
/** @deprecated Use archiveUser instead */
|
|
458
458
|
archiveUser: Scalars['Boolean']['output'];
|
|
459
459
|
changePassword: Scalars['Boolean']['output'];
|
|
460
|
+
convertActionToQuantumOwned: Action;
|
|
460
461
|
copyActions: Scalars['Boolean']['output'];
|
|
461
462
|
copyModules: Scalars['Boolean']['output'];
|
|
462
463
|
createAccount?: Maybe<CreateAccountResult>;
|
|
@@ -516,6 +517,9 @@ export type MutationArchiveUserArgs = {
|
|
|
516
517
|
export type MutationChangePasswordArgs = {
|
|
517
518
|
input: ChangePasswordInput;
|
|
518
519
|
};
|
|
520
|
+
export type MutationConvertActionToQuantumOwnedArgs = {
|
|
521
|
+
id: Scalars['ID']['input'];
|
|
522
|
+
};
|
|
519
523
|
export type MutationCopyActionsArgs = {
|
|
520
524
|
input: CopyActionsInput;
|
|
521
525
|
};
|
|
@@ -978,6 +982,7 @@ export type TestAnalysis = {
|
|
|
978
982
|
};
|
|
979
983
|
export declare enum TestAnalysisKind {
|
|
980
984
|
General = "General",
|
|
985
|
+
NewPointOfInterest = "NewPointOfInterest",
|
|
981
986
|
PointOfInterest = "PointOfInterest"
|
|
982
987
|
}
|
|
983
988
|
export type TestAnalysisSummary = {
|
|
@@ -2083,6 +2088,19 @@ export type UpdateActionMutation = {
|
|
|
2083
2088
|
};
|
|
2084
2089
|
});
|
|
2085
2090
|
};
|
|
2091
|
+
export type ConvertActionToQuantumOwnedMutationVariables = Exact<{
|
|
2092
|
+
id: Scalars['ID']['input'];
|
|
2093
|
+
}>;
|
|
2094
|
+
export type ConvertActionToQuantumOwnedMutation = {
|
|
2095
|
+
__typename?: 'Mutation';
|
|
2096
|
+
convertActionToQuantumOwned: ({
|
|
2097
|
+
__typename?: 'Action';
|
|
2098
|
+
} & {
|
|
2099
|
+
' $fragmentRefs'?: {
|
|
2100
|
+
'AssessmentActionFragment': AssessmentActionFragment;
|
|
2101
|
+
};
|
|
2102
|
+
});
|
|
2103
|
+
};
|
|
2086
2104
|
export type CreateLibraryModuleMutationVariables = Exact<{
|
|
2087
2105
|
input: CreateModuleInput;
|
|
2088
2106
|
}>;
|
|
@@ -2308,6 +2326,7 @@ export declare const ProfileSessionTestFragmentDoc: DocumentNode<ProfileSessionT
|
|
|
2308
2326
|
export declare const ProfileSessionFragmentDoc: DocumentNode<ProfileSessionFragment, unknown>;
|
|
2309
2327
|
export declare const CreateActionDocument: DocumentNode<CreateActionMutation, CreateActionMutationVariables>;
|
|
2310
2328
|
export declare const UpdateActionDocument: DocumentNode<UpdateActionMutation, UpdateActionMutationVariables>;
|
|
2329
|
+
export declare const ConvertActionToQuantumOwnedDocument: DocumentNode<ConvertActionToQuantumOwnedMutation, ConvertActionToQuantumOwnedMutationVariables>;
|
|
2311
2330
|
export declare const CreateLibraryModuleDocument: DocumentNode<CreateLibraryModuleMutation, CreateLibraryModuleMutationVariables>;
|
|
2312
2331
|
export declare const DeleteLibraryModuleDocument: DocumentNode<DeleteLibraryModuleMutation, DeleteLibraryModuleMutationVariables>;
|
|
2313
2332
|
export declare const UpdateLibraryModuleDocument: DocumentNode<UpdateLibraryModuleMutation, UpdateLibraryModuleMutationVariables>;
|