quantum-component-library 1.4.45-qa.4 → 1.4.45-qa.5
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/{babel-vendor-Brd7V25k.js → babel-vendor-BOM86iTb.js} +71 -76
- package/dist/babel-vendor-cKvSpnBp.cjs +3 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +49 -49
- package/dist/{dnd-core-vendor-GeFJIrqw.js → dnd-core-vendor-LFMXiCD5.js} +2 -2
- package/dist/{dnd-core-vendor-DFyhudg3.cjs → dnd-core-vendor-rqY4Q0Vq.cjs} +1 -1
- package/dist/{graphql-vendor-Bp1AYkpN.cjs → graphql-vendor-DRps04BT.cjs} +1 -1
- package/dist/{graphql-vendor-D5ETG7wB.js → graphql-vendor-DUv16c0G.js} +1 -1
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/lodash-vendor-D5A6v3mw.cjs +1 -0
- package/dist/lodash-vendor-Dz4vW7Gd.js +1120 -0
- package/dist/providers.cjs +1 -1
- package/dist/providers.js +6 -6
- package/dist/quantum-component-library.css +1 -1
- package/dist/{react-dnd-vendor-bl4guadi.js → react-dnd-vendor-Cuc51Scz.js} +24 -24
- package/dist/{react-dnd-vendor-CQ6n_Iry.cjs → react-dnd-vendor-FieaWO8Z.cjs} +1 -1
- package/dist/{react-select-vendor-CM41In8Q.js → react-select-vendor-BrXjJVof.js} +35 -35
- package/dist/{react-select-vendor-qYWfPIoq.cjs → react-select-vendor-CVxjkFXv.cjs} +1 -1
- package/dist/services.cjs +1 -1
- package/dist/services.js +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.js +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +11 -11
- package/dist/vendor-CPJGEWOn.cjs +45 -0
- package/dist/vendor-CoDHTSgb.js +7981 -0
- package/package.json +3 -3
- package/dist/babel-vendor-pl7onWh-.cjs +0 -3
- package/dist/framer-motion-vendor-BpR8WNZk.js +0 -2945
- package/dist/framer-motion-vendor-DmZv69_a.cjs +0 -9
- package/dist/lodash-vendor-Dkc3o8vE.cjs +0 -1
- package/dist/lodash-vendor-KQku4vKh.js +0 -1602
- package/dist/ui-vendor-CDpwLSe-.cjs +0 -294
- package/dist/ui-vendor-CTkR2JkD.js +0 -10756
- package/dist/vendor-D0fSwmdY.cjs +0 -90
- package/dist/vendor-DxZbxm3m.js +0 -13085
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
function b() {
|
|
2
|
-
return b = Object.assign ? Object.assign.bind() : function(t) {
|
|
3
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
4
|
-
var r = arguments[e];
|
|
5
|
-
for (var n in r) ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
6
|
-
}
|
|
7
|
-
return t;
|
|
8
|
-
}, b.apply(null, arguments);
|
|
9
|
-
}
|
|
10
|
-
function g(t, e) {
|
|
11
|
-
if (t == null) return {};
|
|
12
|
-
var r = {};
|
|
13
|
-
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
|
14
|
-
if (e.indexOf(n) !== -1) continue;
|
|
15
|
-
r[n] = t[n];
|
|
16
|
-
}
|
|
17
|
-
return r;
|
|
18
|
-
}
|
|
19
|
-
function c(t, e) {
|
|
20
|
-
return c = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
|
|
21
|
-
return r.__proto__ = n, r;
|
|
22
|
-
}, c(t, e);
|
|
23
|
-
}
|
|
24
|
-
function x(t, e) {
|
|
25
|
-
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, c(t, e);
|
|
26
|
-
}
|
|
27
1
|
function i(t) {
|
|
28
2
|
"@babel/helpers - typeof";
|
|
29
3
|
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -32,7 +6,7 @@ function i(t) {
|
|
|
32
6
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
33
7
|
}, i(t);
|
|
34
8
|
}
|
|
35
|
-
function
|
|
9
|
+
function g(t, e) {
|
|
36
10
|
if (i(t) != "object" || !t) return t;
|
|
37
11
|
var r = t[Symbol.toPrimitive];
|
|
38
12
|
if (r !== void 0) {
|
|
@@ -43,10 +17,10 @@ function _(t, e) {
|
|
|
43
17
|
return (e === "string" ? String : Number)(t);
|
|
44
18
|
}
|
|
45
19
|
function v(t) {
|
|
46
|
-
var e =
|
|
20
|
+
var e = g(t, "string");
|
|
47
21
|
return i(e) == "symbol" ? e : e + "";
|
|
48
22
|
}
|
|
49
|
-
function
|
|
23
|
+
function _(t, e, r) {
|
|
50
24
|
return (e = v(e)) in t ? Object.defineProperty(t, e, {
|
|
51
25
|
value: r,
|
|
52
26
|
enumerable: !0,
|
|
@@ -54,7 +28,7 @@ function w(t, e, r) {
|
|
|
54
28
|
writable: !0
|
|
55
29
|
}) : t[e] = r, t;
|
|
56
30
|
}
|
|
57
|
-
function
|
|
31
|
+
function p(t, e) {
|
|
58
32
|
var r = Object.keys(t);
|
|
59
33
|
if (Object.getOwnPropertySymbols) {
|
|
60
34
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -64,70 +38,88 @@ function m(t, e) {
|
|
|
64
38
|
}
|
|
65
39
|
return r;
|
|
66
40
|
}
|
|
67
|
-
function
|
|
41
|
+
function x(t) {
|
|
68
42
|
for (var e = 1; e < arguments.length; e++) {
|
|
69
43
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
70
|
-
e % 2 ?
|
|
71
|
-
|
|
72
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) :
|
|
44
|
+
e % 2 ? p(Object(r), !0).forEach(function(n) {
|
|
45
|
+
_(t, n, r[n]);
|
|
46
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : p(Object(r)).forEach(function(n) {
|
|
73
47
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
|
74
48
|
});
|
|
75
49
|
}
|
|
76
50
|
return t;
|
|
77
51
|
}
|
|
78
|
-
function
|
|
52
|
+
function w(t) {
|
|
79
53
|
if (Array.isArray(t)) return t;
|
|
80
54
|
}
|
|
81
|
-
function
|
|
55
|
+
function P(t, e) {
|
|
82
56
|
var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
83
57
|
if (r != null) {
|
|
84
|
-
var n, o, a,
|
|
58
|
+
var n, o, a, l, f = [], u = !0, b = !1;
|
|
85
59
|
try {
|
|
86
60
|
if (a = (r = r.call(t)).next, e === 0) {
|
|
87
61
|
if (Object(r) !== r) return;
|
|
88
62
|
u = !1;
|
|
89
|
-
} else for (; !(u = (n = a.call(r)).done) && (
|
|
63
|
+
} else for (; !(u = (n = a.call(r)).done) && (f.push(n.value), f.length !== e); u = !0) ;
|
|
90
64
|
} catch (j) {
|
|
91
|
-
|
|
65
|
+
b = !0, o = j;
|
|
92
66
|
} finally {
|
|
93
67
|
try {
|
|
94
|
-
if (!u && r.return != null && (
|
|
68
|
+
if (!u && r.return != null && (l = r.return(), Object(l) !== l)) return;
|
|
95
69
|
} finally {
|
|
96
|
-
if (
|
|
70
|
+
if (b) throw o;
|
|
97
71
|
}
|
|
98
72
|
}
|
|
99
|
-
return
|
|
73
|
+
return f;
|
|
100
74
|
}
|
|
101
75
|
}
|
|
102
|
-
function
|
|
76
|
+
function s(t, e) {
|
|
103
77
|
(e == null || e > t.length) && (e = t.length);
|
|
104
78
|
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
|
105
79
|
return n;
|
|
106
80
|
}
|
|
107
81
|
function d(t, e) {
|
|
108
82
|
if (t) {
|
|
109
|
-
if (typeof t == "string") return
|
|
83
|
+
if (typeof t == "string") return s(t, e);
|
|
110
84
|
var r = {}.toString.call(t).slice(8, -1);
|
|
111
|
-
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ?
|
|
85
|
+
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? s(t, e) : void 0;
|
|
112
86
|
}
|
|
113
87
|
}
|
|
114
|
-
function
|
|
88
|
+
function S() {
|
|
115
89
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
116
90
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
117
91
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
92
|
+
function k(t, e) {
|
|
93
|
+
return w(t) || P(t, e) || d(t, e) || S();
|
|
120
94
|
}
|
|
121
|
-
function
|
|
95
|
+
function A(t, e) {
|
|
122
96
|
if (t == null) return {};
|
|
123
|
-
var r
|
|
97
|
+
var r = {};
|
|
98
|
+
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
|
99
|
+
if (e.indexOf(n) !== -1) continue;
|
|
100
|
+
r[n] = t[n];
|
|
101
|
+
}
|
|
102
|
+
return r;
|
|
103
|
+
}
|
|
104
|
+
function D(t, e) {
|
|
105
|
+
if (t == null) return {};
|
|
106
|
+
var r, n, o = A(t, e);
|
|
124
107
|
if (Object.getOwnPropertySymbols) {
|
|
125
108
|
var a = Object.getOwnPropertySymbols(t);
|
|
126
109
|
for (n = 0; n < a.length; n++) r = a[n], e.indexOf(r) === -1 && {}.propertyIsEnumerable.call(t, r) && (o[r] = t[r]);
|
|
127
110
|
}
|
|
128
111
|
return o;
|
|
129
112
|
}
|
|
130
|
-
function
|
|
113
|
+
function m() {
|
|
114
|
+
return m = Object.assign ? Object.assign.bind() : function(t) {
|
|
115
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
116
|
+
var r = arguments[e];
|
|
117
|
+
for (var n in r) ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
118
|
+
}
|
|
119
|
+
return t;
|
|
120
|
+
}, m.apply(null, arguments);
|
|
121
|
+
}
|
|
122
|
+
function L(t, e) {
|
|
131
123
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
132
124
|
}
|
|
133
125
|
function O(t, e) {
|
|
@@ -136,12 +128,17 @@ function O(t, e) {
|
|
|
136
128
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, v(n.key), n);
|
|
137
129
|
}
|
|
138
130
|
}
|
|
139
|
-
function
|
|
131
|
+
function W(t, e, r) {
|
|
140
132
|
return e && O(t.prototype, e), r && O(t, r), Object.defineProperty(t, "prototype", {
|
|
141
133
|
writable: !1
|
|
142
134
|
}), t;
|
|
143
135
|
}
|
|
144
|
-
function
|
|
136
|
+
function y(t, e) {
|
|
137
|
+
return y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
|
|
138
|
+
return r.__proto__ = n, r;
|
|
139
|
+
}, y(t, e);
|
|
140
|
+
}
|
|
141
|
+
function z(t, e) {
|
|
145
142
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
146
143
|
t.prototype = Object.create(e && e.prototype, {
|
|
147
144
|
constructor: {
|
|
@@ -151,12 +148,12 @@ function N(t, e) {
|
|
|
151
148
|
}
|
|
152
149
|
}), Object.defineProperty(t, "prototype", {
|
|
153
150
|
writable: !1
|
|
154
|
-
}), e &&
|
|
151
|
+
}), e && y(t, e);
|
|
155
152
|
}
|
|
156
|
-
function
|
|
157
|
-
return
|
|
153
|
+
function c(t) {
|
|
154
|
+
return c = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
158
155
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
159
|
-
},
|
|
156
|
+
}, c(t);
|
|
160
157
|
}
|
|
161
158
|
function h() {
|
|
162
159
|
try {
|
|
@@ -177,19 +174,19 @@ function E(t, e) {
|
|
|
177
174
|
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
178
175
|
return T(t);
|
|
179
176
|
}
|
|
180
|
-
function
|
|
177
|
+
function N(t) {
|
|
181
178
|
var e = h();
|
|
182
179
|
return function() {
|
|
183
|
-
var r, n =
|
|
180
|
+
var r, n = c(t);
|
|
184
181
|
if (e) {
|
|
185
|
-
var o =
|
|
182
|
+
var o = c(this).constructor;
|
|
186
183
|
r = Reflect.construct(n, arguments, o);
|
|
187
184
|
} else r = n.apply(this, arguments);
|
|
188
185
|
return E(this, r);
|
|
189
186
|
};
|
|
190
187
|
}
|
|
191
188
|
function I(t) {
|
|
192
|
-
if (Array.isArray(t)) return
|
|
189
|
+
if (Array.isArray(t)) return s(t);
|
|
193
190
|
}
|
|
194
191
|
function C(t) {
|
|
195
192
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
@@ -198,10 +195,10 @@ function R() {
|
|
|
198
195
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
199
196
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
200
197
|
}
|
|
201
|
-
function
|
|
198
|
+
function B(t) {
|
|
202
199
|
return I(t) || C(t) || d(t) || R();
|
|
203
200
|
}
|
|
204
|
-
function
|
|
201
|
+
function H(t, e) {
|
|
205
202
|
return e || (e = t.slice(0)), Object.freeze(Object.defineProperties(t, {
|
|
206
203
|
raw: {
|
|
207
204
|
value: Object.freeze(e)
|
|
@@ -209,18 +206,16 @@ function K(t, e) {
|
|
|
209
206
|
}));
|
|
210
207
|
}
|
|
211
208
|
export {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
D as _,
|
|
210
|
+
k as a,
|
|
211
|
+
x as b,
|
|
215
212
|
i as c,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
x as l,
|
|
225
|
-
g as m
|
|
213
|
+
_ as d,
|
|
214
|
+
m as e,
|
|
215
|
+
H as f,
|
|
216
|
+
z as g,
|
|
217
|
+
N as h,
|
|
218
|
+
W as i,
|
|
219
|
+
L as j,
|
|
220
|
+
B as k
|
|
226
221
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";function i(e){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(e)}function g(e,t){if(i(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(i(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d(e){var t=g(e,"string");return i(t)=="symbol"?t:t+""}function _(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(n){_(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w(e){if(Array.isArray(e))return e}function S(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,u,l,f=[],a=!0,b=!1;try{if(u=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;a=!1}else for(;!(a=(n=u.call(r)).done)&&(f.push(n.value),f.length!==t);a=!0);}catch(j){b=!0,o=j}finally{try{if(!a&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(b)throw o}}return f}}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t){if(e){if(typeof e=="string")return s(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function A(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(e,t){return w(e)||S(e,t)||v(e,t)||A()}function C(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function E(e,t){if(e==null)return{};var r,n,o=C(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(null,arguments)}function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function R(e,t,r){return t&&O(e.prototype,t),r&&O(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},p(e,t)}function x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(e)}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(h=function(){return!!e})()}function k(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(e,t){if(t&&(i(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(e)}function L(e){var t=h();return function(){var r,n=c(e);if(t){var o=c(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return D(this,r)}}function W(e){if(Array.isArray(e))return s(e)}function z(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function N(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(e){return W(e)||z(e)||v(e)||N()}function H(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}exports._classCallCheck=I;exports._createClass=R;exports._createSuper=L;exports._defineProperty=_;exports._extends=y;exports._inherits=x;exports._objectSpread2=P;exports._objectWithoutProperties=E;exports._slicedToArray=T;exports._taggedTemplateLiteral=H;exports._toConsumableArray=B;exports._typeof=i;
|
package/dist/components.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-CPJGEWOn.cjs"),t=require("@chakra-ui/react"),o=require("react"),xe=require("./styled-components-vendor-D09ATioU.cjs"),H=require("./react-select-vendor-CVxjkFXv.cjs"),de=require("./react-icons-vendor-D2s8zw9h.cjs"),G=require("./graphql-vendor-DRps04BT.cjs"),R=require("./generated-ChsGaiYd.cjs"),w=require("./graphql-CqPvuCvr.cjs"),oe=require("./react-dnd-vendor-FieaWO8Z.cjs"),V=require("./services.cjs"),J=require("./types.cjs"),X=require("./utils.cjs"),Re=require("./hooks.cjs"),fe=({setSearch:n,actions:s,updateUseCases:a})=>{const m=o.useMemo(()=>s?.flatMap(c=>c.useCases).filter((c,u,h)=>h.findIndex(f=>f.id===c.id)===u).map(c=>({label:c.name,value:c.id}))||[],[s]);return e.jsxRuntimeExports.jsxs(t.Flex,{width:"100%",alignContent:"space-evenly",gap:4,children:[e.jsxRuntimeExports.jsxs(t.InputGroup,{size:"md",children:[e.jsxRuntimeExports.jsx(t.InputLeftElement,{children:e.jsxRuntimeExports.jsx(t.Icon,{as:de.FaSearch,color:"gray.300"})}),e.jsxRuntimeExports.jsx(t.Input,{placeholder:"Search by name...",maxW:"30rem",onChange:c=>n(c.target.value)})]}),e.jsxRuntimeExports.jsx(t.InputGroup,{size:"md",children:e.jsxRuntimeExports.jsx(H.st,{size:"md",chakraStyles:{container:c=>({...c,width:"100%"})},menuPortalTarget:document.body,placeholder:"Filter use case",isMulti:!0,options:m,onChange:c=>a(c.map(u=>u.value))})})]})},Y=({children:n})=>e.jsxRuntimeExports.jsx(t.FormLabel,{fontWeight:"bold",fontFamily:"sans-serif",fontSize:"large",children:n}),be=({value:n,onChange:s})=>{const a=o.useState(()=>Math.random().toString(36).substring(2,15))[0],m=o.useCallback((c,u)=>{s(h=>{const f=[...h],[b]=f.splice(c,1);return f.splice(u,0,b),f})},[s]);return e.jsxRuntimeExports.jsx(t.Box,{children:e.jsxRuntimeExports.jsx(oe.DndProvider,{backend:oe.HTML5Backend,children:e.jsxRuntimeExports.jsx(t.TableContainer,{children:e.jsxRuntimeExports.jsxs(t.Table,{variant:"simple",size:"md",children:[e.jsxRuntimeExports.jsx(t.Thead,{children:e.jsxRuntimeExports.jsxs(t.Tr,{children:[e.jsxRuntimeExports.jsx(t.Th,{children:"Order"}),e.jsxRuntimeExports.jsx(t.Th,{children:"Name"})]})}),e.jsxRuntimeExports.jsx(t.Tbody,{children:n.map((c,u)=>e.jsxRuntimeExports.jsx(Ce,{listKey:a,index:u,id:c.id,name:c.name,move:m},c.id))})]})})})})},Ce=({listKey:n,index:s,id:a,name:m,move:c})=>{const u=o.useRef(null),[{handlerId:h},f]=oe.useDrop({accept:n,collect:E=>({handlerId:E.getHandlerId()?.toString()??""}),hover:(E,A)=>{if(!u.current)return;const d=E.index,l=s;if(d===l)return;const T=u.current?.getBoundingClientRect(),C=(T.bottom-T.top)/2,p=A.getClientOffset().y-T.top;d<l&&p<C||d>l&&p>C||(c(d,l),E.index=l)}}),[{isDragging:b},v]=oe.useDrag({type:n,item:()=>({id:a,index:s}),collect:E=>({isDragging:E.isDragging()})}),F=b?.6:1,g=b?"grabbing":"grab";return v(f(u)),e.jsxRuntimeExports.jsxs(t.Tr,{ref:u,style:{opacity:F,cursor:g},"data-handler-id":h,children:[e.jsxRuntimeExports.jsx(t.Td,{children:s+1}),e.jsxRuntimeExports.jsx(t.Td,{children:m})]})},le=({items:n,onChange:s,selectedItem:a,isDisabled:m,selectedProps:c,buttonProps:u})=>{const h=b=>b===a||b.value===a,f=b=>h(b)?{...u,...c}:u;return e.jsxRuntimeExports.jsx(t.ButtonGroup,{isAttached:!0,isDisabled:m,children:n.map((b,v)=>e.jsxRuntimeExports.jsx(t.Tooltip,{label:b.tooltip,openDelay:50,closeDelay:200,placement:"top",visibility:b.tooltip?"visible":"hidden",hasArrow:!0,children:e.jsxRuntimeExports.jsx(t.Button,{onClick:()=>h(b)?null:s(b,v),isDisabled:b.disabled,...f(b),children:b.label})},v))})},se=(n,s)=>s<0?-1*Math.abs(n):Math.abs(n),Se=({isReversed:n,min:s,max:a,value:m,onChange:c,inputProps:u,size:h,zeroMarker:f,formatValue:b,valueLabel:v,positiveNegativeLabels:F,isDisabled:g,...E})=>{const[A,d]=o.useState([void 0,void 0]),l=A[0],T=A[1],C=f&&s<-5&&a>5,S=Number(m?.[0]??T??s)>0?1:-1,p=Number(m?.[1]??T??a)<0?-1:1,j=F?.[0]===F?.[1],M=m?.[0],D=m?.[1];o.useEffect(()=>{M!==void 0&&D!==void 0&&d([M.toFixed(0),D.toFixed(0)])},[M,D,d]);const I=o.useCallback(([i,y])=>{i<y&&d([i.toFixed(0),y.toFixed(0)])},[d]),z=o.useCallback(([i,y])=>{i<y&&c([i,y])},[c]),k=o.useCallback(()=>{d(([i,y])=>{const L=isNaN(Number(i))?s:Number(i),_=isNaN(Number(y))?a:Number(y),W=se(Number(L),S),O=se(Number(_),p),q=S<0?Math.max(W,s):Math.min(W,a),B=p<0?Math.max(O,s):Math.min(O,a);return q>B?(c([B,q]),[B.toFixed(0),q.toFixed(0)]):(c([q,B]),[q.toFixed(0),B.toFixed(0)])})},[c,d,S,p,s,a]),U=o.useCallback(i=>{const y=i===""||isNaN(Number(i))?i:se(Number(i),S);d(([L,_])=>[y.toString(),_])},[d,S]),P=o.useCallback(i=>{const y=i===""||isNaN(Number(i))?i:se(Number(i),p);d(([L,_])=>[L,y.toString()])},[d,p]),x=o.useMemo(()=>h==="xs"?"0.75rem":void 0,[h]),r=o.useCallback((i,y)=>{const L=Number(y.target.value);if(!l||!T||![-1,1].includes(L))return;const _=q=>L<0?-1*Math.abs(q):Math.abs(q),W=i?_(Number(l)):Number(l),O=i?Number(T):_(Number(T));W>O?c([O,W]):c([W,O])},[l,T,c]);return e.jsxRuntimeExports.jsxs(t.Flex,{direction:"column",...E,children:[e.jsxRuntimeExports.jsx(t.Box,{pt:"1em",mb:"-0.5em",children:e.jsxRuntimeExports.jsxs(t.RangeSlider,{"aria-label":["min","max"],isReversed:n,value:[Number(l??s),Number(T??a)],max:a,min:s,minStepsBetweenThumbs:3,step:1,onChange:I,onChangeEnd:z,isDisabled:g,children:[e.jsxRuntimeExports.jsx(t.RangeSliderMark,{value:s,top:"-1em",children:e.jsxRuntimeExports.jsx(t.Text,{fontSize:h??"sm",fontWeight:"semibold",whiteSpace:"nowrap",children:b?b?.(s):s})}),e.jsxRuntimeExports.jsx(t.RangeSliderMark,{value:a,top:"-1em",children:e.jsxRuntimeExports.jsx(t.Text,{fontSize:h??"sm",fontWeight:"semibold",style:{transform:"translateX(-100%)"},whiteSpace:"nowrap",children:b?b(a):a})}),C&&e.jsxRuntimeExports.jsxs(t.RangeSliderMark,{value:0,top:"-1em",pos:"relative",children:[e.jsxRuntimeExports.jsx(t.Text,{fontSize:h,fontWeight:"semibold",children:b?.(0)??"0"}),e.jsxRuntimeExports.jsx(ye,{})]}),e.jsxRuntimeExports.jsx(t.RangeSliderTrack,{children:e.jsxRuntimeExports.jsx(t.RangeSliderFilledTrack,{})}),e.jsxRuntimeExports.jsx(t.RangeSliderThumb,{index:0,w:x,h:x}),e.jsxRuntimeExports.jsx(t.RangeSliderThumb,{index:1,w:x,h:x})]})}),v&&e.jsxRuntimeExports.jsxs(t.Flex,{direction:n?"row-reverse":"row",justifyContent:"space-between",children:[e.jsxRuntimeExports.jsx(t.Text,{fontSize:h??"sm",fontWeight:"semibold",whiteSpace:"nowrap",children:v(s)}),e.jsxRuntimeExports.jsx(t.Text,{fontSize:h??"sm",fontWeight:"semibold",whiteSpace:"nowrap",children:v(a)})]}),e.jsxRuntimeExports.jsxs(t.Flex,{direction:n?"row-reverse":"row",justifyContent:"center",alignItems:"center",gap:"0.125em",children:[F&&e.jsxRuntimeExports.jsxs(t.Select,{width:"auto",size:h,fontWeight:"bold",value:S,onChange:i=>r(!0,i),isDisabled:j||g,children:[e.jsxRuntimeExports.jsx("option",{value:-1,children:F[0]}),e.jsxRuntimeExports.jsx("option",{value:1,children:F[1]})]}),e.jsxRuntimeExports.jsx(t.NumberInput,{precision:0,size:h??"sm",min:0,max:S<0?Math.abs(s):D??a,value:l===""?"":Math.abs(Number(l??s)),onChange:U,onBlur:k,borderWidth:1,borderRadius:3,borderColor:"#ccc",isDisabled:g,...u,children:e.jsxRuntimeExports.jsx(t.NumberInputField,{backgroundColor:"#fff",paddingRight:0,width:"4em"})}),e.jsxRuntimeExports.jsx(t.NumberInput,{size:h??"sm",min:0,max:p<0?Math.abs(M??s):a,precision:0,value:T===""?"":Math.abs(Number(T??a)),onChange:P,onBlur:k,borderWidth:1,borderRadius:3,borderColor:"#ccc",isDisabled:g,...u,children:e.jsxRuntimeExports.jsx(t.NumberInputField,{backgroundColor:"#fff",paddingRight:0,width:"4em"})}),F&&e.jsxRuntimeExports.jsxs(t.Select,{width:"auto",size:h,fontWeight:"bold",value:p,onChange:i=>r(!1,i),isDisabled:j||g,children:[e.jsxRuntimeExports.jsx("option",{value:-1,children:F[0]}),e.jsxRuntimeExports.jsx("option",{value:1,children:F[1]})]})]})]})},ye=xe.dt(t.Box)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
width: 2px;
|
|
4
4
|
height: 1em;
|
package/dist/components.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { j as e, u as ls } from "./vendor-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { F as
|
|
7
|
-
import { u as ee, a as oe, b as As } from "./graphql-vendor-
|
|
1
|
+
import { j as e, u as ls } from "./vendor-CoDHTSgb.js";
|
|
2
|
+
import { Flex as le, InputGroup as Pe, InputLeftElement as as, Icon as We, Input as ye, FormLabel as $e, Box as B, TableContainer as Qe, Table as qe, Thead as He, Tr as Ce, Th as ie, Tbody as Ye, Td as re, ButtonGroup as ce, Tooltip as Je, Button as $, RangeSlider as cs, RangeSliderMark as Ae, Text as M, RangeSliderTrack as ds, RangeSliderFilledTrack as us, RangeSliderThumb as _e, Select as ze, NumberInput as Ue, NumberInputField as Ge, HStack as K, Tag as de, Checkbox as hs, useToast as Ke, VStack as V, FormControl as G, Alert as be, AlertIcon as ve, Spinner as Xe, useDisclosure as ms, Modal as gs, ModalOverlay as ps, ModalContent as xs, ModalHeader as fs, ModalCloseButton as js, ModalBody as bs, ModalFooter as vs, IconButton as ys, Textarea as Ie } from "@chakra-ui/react";
|
|
3
|
+
import { useMemo as D, useState as F, useCallback as O, useRef as Cs, useEffect as Y, memo as Se } from "react";
|
|
4
|
+
import { d as Ze } from "./styled-components-vendor-Bvwhddj9.js";
|
|
5
|
+
import { s as se, y as Ss } from "./react-select-vendor-BrXjJVof.js";
|
|
6
|
+
import { F as ws, a as Ms } from "./react-icons-vendor-TETORdU9.js";
|
|
7
|
+
import { u as ee, a as oe, b as As } from "./graphql-vendor-DUv16c0G.js";
|
|
8
8
|
import { g as W, T as je, S as k, A as ge, a as Te } from "./generated-GfcSQz21.js";
|
|
9
9
|
import { A as ae, G as Ve, a as Is, C as De, b as es, c as Re, M as ss, d as Le, e as Ts, f as ts, S as Ns, g as Os, U as Rs, h as Ls, i as Fs, j as Ds, k as ks, l as Es, m as Ps } from "./graphql-DZp5ePcc.js";
|
|
10
|
-
import { D as _s, H as zs, u as Us, a as Gs } from "./react-dnd-vendor-
|
|
10
|
+
import { D as _s, H as zs, u as Us, a as Gs } from "./react-dnd-vendor-Cuc51Scz.js";
|
|
11
11
|
import { getSegmentNameWithPlane as ns, getJointNameWithPlane as is, getJointAngleDirectionName as Bs, getSegmentAngleDirectionName as Ws, getNormativeJointRange as $s } from "./services.js";
|
|
12
12
|
import { availablePlanes as Be, getAnalysisPartIdNoSide as pe } from "./types.js";
|
|
13
13
|
import { thresholdsToParameters as Qs, parametersToThresholds as Ne, cn as qs } from "./utils.js";
|
|
@@ -26,9 +26,9 @@ const Ys = ({
|
|
|
26
26
|
);
|
|
27
27
|
return /* @__PURE__ */ e.jsxs(le, { width: "100%", alignContent: "space-evenly", gap: 4, children: [
|
|
28
28
|
/* @__PURE__ */ e.jsxs(Pe, { size: "md", children: [
|
|
29
|
-
/* @__PURE__ */ e.jsx(
|
|
29
|
+
/* @__PURE__ */ e.jsx(as, { children: /* @__PURE__ */ e.jsx(We, { as: ws, color: "gray.300" }) }),
|
|
30
30
|
/* @__PURE__ */ e.jsx(
|
|
31
|
-
|
|
31
|
+
ye,
|
|
32
32
|
{
|
|
33
33
|
placeholder: "Search by name...",
|
|
34
34
|
maxW: "30rem",
|
|
@@ -56,7 +56,7 @@ const Ys = ({
|
|
|
56
56
|
] });
|
|
57
57
|
}, te = ({
|
|
58
58
|
children: t
|
|
59
|
-
}) => /* @__PURE__ */ e.jsx(
|
|
59
|
+
}) => /* @__PURE__ */ e.jsx($e, { fontWeight: "bold", fontFamily: "sans-serif", fontSize: "large", children: t }), Js = ({ value: t, onChange: s }) => {
|
|
60
60
|
const o = F(
|
|
61
61
|
() => Math.random().toString(36).substring(2, 15)
|
|
62
62
|
)[0], u = O(
|
|
@@ -68,12 +68,12 @@ const Ys = ({
|
|
|
68
68
|
},
|
|
69
69
|
[s]
|
|
70
70
|
);
|
|
71
|
-
return /* @__PURE__ */ e.jsx(B, { children: /* @__PURE__ */ e.jsx(_s, { backend: zs, children: /* @__PURE__ */ e.jsx(
|
|
72
|
-
/* @__PURE__ */ e.jsx(
|
|
71
|
+
return /* @__PURE__ */ e.jsx(B, { children: /* @__PURE__ */ e.jsx(_s, { backend: zs, children: /* @__PURE__ */ e.jsx(Qe, { children: /* @__PURE__ */ e.jsxs(qe, { variant: "simple", size: "md", children: [
|
|
72
|
+
/* @__PURE__ */ e.jsx(He, { children: /* @__PURE__ */ e.jsxs(Ce, { children: [
|
|
73
73
|
/* @__PURE__ */ e.jsx(ie, { children: "Order" }),
|
|
74
74
|
/* @__PURE__ */ e.jsx(ie, { children: "Name" })
|
|
75
75
|
] }) }),
|
|
76
|
-
/* @__PURE__ */ e.jsx(
|
|
76
|
+
/* @__PURE__ */ e.jsx(Ye, { children: t.map((l, a) => /* @__PURE__ */ e.jsx(
|
|
77
77
|
Ks,
|
|
78
78
|
{
|
|
79
79
|
listKey: o,
|
|
@@ -86,7 +86,7 @@ const Ys = ({
|
|
|
86
86
|
)) })
|
|
87
87
|
] }) }) }) });
|
|
88
88
|
}, Ks = ({ listKey: t, index: s, id: o, name: u, move: l }) => {
|
|
89
|
-
const a =
|
|
89
|
+
const a = Cs(null), [{ handlerId: m }, f] = Us({
|
|
90
90
|
accept: t,
|
|
91
91
|
collect: (x) => ({
|
|
92
92
|
handlerId: x.getHandlerId()?.toString() ?? ""
|
|
@@ -107,7 +107,7 @@ const Ys = ({
|
|
|
107
107
|
isDragging: x.isDragging()
|
|
108
108
|
})
|
|
109
109
|
}), I = j ? 0.6 : 1, p = j ? "grabbing" : "grab";
|
|
110
|
-
return C(f(a)), /* @__PURE__ */ e.jsxs(
|
|
110
|
+
return C(f(a)), /* @__PURE__ */ e.jsxs(Ce, { ref: a, style: { opacity: I, cursor: p }, "data-handler-id": m, children: [
|
|
111
111
|
/* @__PURE__ */ e.jsx(re, { children: s + 1 }),
|
|
112
112
|
/* @__PURE__ */ e.jsx(re, { children: u })
|
|
113
113
|
] });
|
|
@@ -121,7 +121,7 @@ const Ys = ({
|
|
|
121
121
|
}) => {
|
|
122
122
|
const m = (j) => j === o || j.value === o, f = (j) => m(j) ? { ...a, ...l } : a;
|
|
123
123
|
return /* @__PURE__ */ e.jsx(ce, { isAttached: !0, isDisabled: u, children: t.map((j, C) => /* @__PURE__ */ e.jsx(
|
|
124
|
-
|
|
124
|
+
Je,
|
|
125
125
|
{
|
|
126
126
|
label: j.tooltip,
|
|
127
127
|
openDelay: 50,
|
|
@@ -202,7 +202,7 @@ const Ys = ({
|
|
|
202
202
|
);
|
|
203
203
|
return /* @__PURE__ */ e.jsxs(le, { direction: "column", ...x, children: [
|
|
204
204
|
/* @__PURE__ */ e.jsx(B, { pt: "1em", mb: "-0.5em", children: /* @__PURE__ */ e.jsxs(
|
|
205
|
-
|
|
205
|
+
cs,
|
|
206
206
|
{
|
|
207
207
|
"aria-label": ["min", "max"],
|
|
208
208
|
isReversed: t,
|
|
@@ -238,7 +238,7 @@ const Ys = ({
|
|
|
238
238
|
/* @__PURE__ */ e.jsx(M, { fontSize: m, fontWeight: "semibold", children: j?.(0) ?? "0" }),
|
|
239
239
|
/* @__PURE__ */ e.jsx(Zs, {})
|
|
240
240
|
] }),
|
|
241
|
-
/* @__PURE__ */ e.jsx(
|
|
241
|
+
/* @__PURE__ */ e.jsx(ds, { children: /* @__PURE__ */ e.jsx(us, {}) }),
|
|
242
242
|
/* @__PURE__ */ e.jsx(_e, { index: 0, w: c, h: c }),
|
|
243
243
|
/* @__PURE__ */ e.jsx(_e, { index: 1, w: c, h: c })
|
|
244
244
|
]
|
|
@@ -363,7 +363,7 @@ const Ys = ({
|
|
|
363
363
|
}
|
|
364
364
|
)
|
|
365
365
|
] });
|
|
366
|
-
}, Zs =
|
|
366
|
+
}, Zs = Ze(B)`
|
|
367
367
|
position: absolute;
|
|
368
368
|
width: 2px;
|
|
369
369
|
height: 1em;
|
|
@@ -449,8 +449,8 @@ const Ys = ({
|
|
|
449
449
|
}
|
|
450
450
|
)
|
|
451
451
|
] }),
|
|
452
|
-
/* @__PURE__ */ e.jsx(
|
|
453
|
-
/* @__PURE__ */ e.jsx(
|
|
452
|
+
/* @__PURE__ */ e.jsx(Qe, { mr: "2rem", overflowX: "hidden", ...p, children: /* @__PURE__ */ e.jsxs(qe, { size: "md", variant: "simple", children: [
|
|
453
|
+
/* @__PURE__ */ e.jsx(He, { position: "sticky", top: 0, bg: "white", zIndex: 1, children: /* @__PURE__ */ e.jsxs(Ce, { children: [
|
|
454
454
|
/* @__PURE__ */ e.jsxs(ie, { fontWeight: "normal", children: [
|
|
455
455
|
"(showing ",
|
|
456
456
|
b?.length ?? 0,
|
|
@@ -464,7 +464,7 @@ const Ys = ({
|
|
|
464
464
|
/* @__PURE__ */ e.jsx(ie, { children: "Use Case" }),
|
|
465
465
|
/* @__PURE__ */ e.jsx(ie, {})
|
|
466
466
|
] }) }),
|
|
467
|
-
/* @__PURE__ */ e.jsx(
|
|
467
|
+
/* @__PURE__ */ e.jsx(Ye, { children: b?.map((g) => /* @__PURE__ */ e.jsxs(
|
|
468
468
|
it,
|
|
469
469
|
{
|
|
470
470
|
disableMultiSelect: f,
|
|
@@ -475,7 +475,7 @@ const Ys = ({
|
|
|
475
475
|
children: [
|
|
476
476
|
/* @__PURE__ */ e.jsx(re, { children: /* @__PURE__ */ e.jsxs(le, { children: [
|
|
477
477
|
a && !f && /* @__PURE__ */ e.jsx(
|
|
478
|
-
|
|
478
|
+
hs,
|
|
479
479
|
{
|
|
480
480
|
isChecked: g.selected,
|
|
481
481
|
onChange: (w) => a(g, w.target.checked)
|
|
@@ -509,7 +509,7 @@ const Ys = ({
|
|
|
509
509
|
)) })
|
|
510
510
|
] }) })
|
|
511
511
|
] });
|
|
512
|
-
}, it =
|
|
512
|
+
}, it = Ze(Ce)`
|
|
513
513
|
&:hover {
|
|
514
514
|
background-color: ${(t) => t.disableMultiSelect && !t.selected ? "#f7f7f7" : void 0};
|
|
515
515
|
}
|
|
@@ -523,7 +523,7 @@ const Ys = ({
|
|
|
523
523
|
setButtonOnClick: a,
|
|
524
524
|
quantumOwned: m
|
|
525
525
|
}) => {
|
|
526
|
-
const f =
|
|
526
|
+
const f = Ke(), [j, C] = F(""), [I, p] = F([]), [x, A] = F(!1), [d] = ee({
|
|
527
527
|
query: Ve
|
|
528
528
|
}), [r] = ee({
|
|
529
529
|
query: Is,
|
|
@@ -663,7 +663,7 @@ const Ys = ({
|
|
|
663
663
|
j && /* @__PURE__ */ e.jsxs(G, { children: [
|
|
664
664
|
/* @__PURE__ */ e.jsx(te, { children: "Select Activities to Copy" }),
|
|
665
665
|
U ? /* @__PURE__ */ e.jsxs(K, { children: [
|
|
666
|
-
/* @__PURE__ */ e.jsx(
|
|
666
|
+
/* @__PURE__ */ e.jsx(Xe, { size: "sm" }),
|
|
667
667
|
/* @__PURE__ */ e.jsx(M, { fontSize: "sm", color: "gray.600", children: "Loading activities..." })
|
|
668
668
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
669
669
|
/* @__PURE__ */ e.jsx(
|
|
@@ -818,7 +818,7 @@ const Ys = ({
|
|
|
818
818
|
setButtonOnClick: a,
|
|
819
819
|
quantumOwned: m
|
|
820
820
|
}) => {
|
|
821
|
-
const f =
|
|
821
|
+
const f = Ke(), [j, C] = F(""), [I, p] = F([]), [x, A] = F(!1), [d] = ee({
|
|
822
822
|
query: Ve
|
|
823
823
|
}), [r] = ee({
|
|
824
824
|
query: Ts,
|
|
@@ -997,7 +997,7 @@ const Ys = ({
|
|
|
997
997
|
j && /* @__PURE__ */ e.jsxs(G, { children: [
|
|
998
998
|
/* @__PURE__ */ e.jsx(te, { children: "Select Module to Copy" }),
|
|
999
999
|
c ? /* @__PURE__ */ e.jsxs(K, { children: [
|
|
1000
|
-
/* @__PURE__ */ e.jsx(
|
|
1000
|
+
/* @__PURE__ */ e.jsx(Xe, { size: "sm" }),
|
|
1001
1001
|
/* @__PURE__ */ e.jsx(M, { fontSize: "sm", color: "gray.600", children: "Loading modules..." })
|
|
1002
1002
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1003
1003
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1152,7 +1152,7 @@ const Ys = ({
|
|
|
1152
1152
|
setDescription: C,
|
|
1153
1153
|
...I
|
|
1154
1154
|
}) => {
|
|
1155
|
-
const p =
|
|
1155
|
+
const p = ms(), x = D(() => o.map((v) => ({
|
|
1156
1156
|
...v,
|
|
1157
1157
|
selected: u.includes(v.id)
|
|
1158
1158
|
})), [o, u]), A = D(() => o.reduce((v, h) => (v[h.id] = h, v), {}), [o]), d = D(
|
|
@@ -1202,17 +1202,17 @@ const Ys = ({
|
|
|
1202
1202
|
}
|
|
1203
1203
|
),
|
|
1204
1204
|
/* @__PURE__ */ e.jsxs(
|
|
1205
|
-
|
|
1205
|
+
gs,
|
|
1206
1206
|
{
|
|
1207
1207
|
isOpen: p.isOpen,
|
|
1208
1208
|
onClose: p.onClose,
|
|
1209
1209
|
size: "6xl",
|
|
1210
1210
|
children: [
|
|
1211
|
-
/* @__PURE__ */ e.jsx(
|
|
1212
|
-
/* @__PURE__ */ e.jsxs(
|
|
1213
|
-
/* @__PURE__ */ e.jsx(
|
|
1214
|
-
/* @__PURE__ */ e.jsx(
|
|
1215
|
-
/* @__PURE__ */ e.jsx(
|
|
1211
|
+
/* @__PURE__ */ e.jsx(ps, {}),
|
|
1212
|
+
/* @__PURE__ */ e.jsxs(xs, { children: [
|
|
1213
|
+
/* @__PURE__ */ e.jsx(fs, { children: "Select Activities" }),
|
|
1214
|
+
/* @__PURE__ */ e.jsx(js, {}),
|
|
1215
|
+
/* @__PURE__ */ e.jsx(bs, { children: /* @__PURE__ */ e.jsx(
|
|
1216
1216
|
nt,
|
|
1217
1217
|
{
|
|
1218
1218
|
actions: x,
|
|
@@ -1225,7 +1225,7 @@ const Ys = ({
|
|
|
1225
1225
|
}
|
|
1226
1226
|
}
|
|
1227
1227
|
) }),
|
|
1228
|
-
/* @__PURE__ */ e.jsx(
|
|
1228
|
+
/* @__PURE__ */ e.jsx(vs, { children: /* @__PURE__ */ e.jsx(
|
|
1229
1229
|
$,
|
|
1230
1230
|
{
|
|
1231
1231
|
colorScheme: "blue",
|
|
@@ -1239,14 +1239,14 @@ const Ys = ({
|
|
|
1239
1239
|
}
|
|
1240
1240
|
)
|
|
1241
1241
|
] });
|
|
1242
|
-
}, rt =
|
|
1242
|
+
}, rt = Se(
|
|
1243
1243
|
({
|
|
1244
1244
|
name: t,
|
|
1245
1245
|
onInputChange: s
|
|
1246
1246
|
}) => /* @__PURE__ */ e.jsxs(G, { mb: 4, children: [
|
|
1247
1247
|
/* @__PURE__ */ e.jsx(te, { children: "Module Name" }),
|
|
1248
1248
|
/* @__PURE__ */ e.jsx(
|
|
1249
|
-
|
|
1249
|
+
ye,
|
|
1250
1250
|
{
|
|
1251
1251
|
placeholder: "i.e. ACL RTP Test Battery",
|
|
1252
1252
|
value: t,
|
|
@@ -1255,7 +1255,7 @@ const Ys = ({
|
|
|
1255
1255
|
}
|
|
1256
1256
|
)
|
|
1257
1257
|
] })
|
|
1258
|
-
), lt =
|
|
1258
|
+
), lt = Se(
|
|
1259
1259
|
({
|
|
1260
1260
|
availableCategories: t,
|
|
1261
1261
|
value: s,
|
|
@@ -1289,7 +1289,7 @@ const Ys = ({
|
|
|
1289
1289
|
)
|
|
1290
1290
|
] });
|
|
1291
1291
|
}
|
|
1292
|
-
), at =
|
|
1292
|
+
), at = Se(
|
|
1293
1293
|
({
|
|
1294
1294
|
description: t,
|
|
1295
1295
|
onInputChange: s
|
|
@@ -1299,7 +1299,7 @@ const Ys = ({
|
|
|
1299
1299
|
/* @__PURE__ */ e.jsx(M, { fontSize: "sm", color: "gray.500", children: "Briefly describe the objective of this module. Max 40 words." })
|
|
1300
1300
|
] }) }),
|
|
1301
1301
|
/* @__PURE__ */ e.jsx(
|
|
1302
|
-
|
|
1302
|
+
ye,
|
|
1303
1303
|
{
|
|
1304
1304
|
placeholder: "i.e. Assess readiness to return to play post-ACL reconstruction",
|
|
1305
1305
|
value: t,
|
|
@@ -1307,7 +1307,7 @@ const Ys = ({
|
|
|
1307
1307
|
}
|
|
1308
1308
|
)
|
|
1309
1309
|
] })
|
|
1310
|
-
), ct =
|
|
1310
|
+
), ct = Se(
|
|
1311
1311
|
({
|
|
1312
1312
|
value: t,
|
|
1313
1313
|
onChange: s,
|
|
@@ -1451,12 +1451,12 @@ const Ys = ({
|
|
|
1451
1451
|
}
|
|
1452
1452
|
),
|
|
1453
1453
|
u && /* @__PURE__ */ e.jsx(
|
|
1454
|
-
|
|
1454
|
+
ys,
|
|
1455
1455
|
{
|
|
1456
1456
|
size: "xs",
|
|
1457
1457
|
variant: "ghost",
|
|
1458
1458
|
"aria-label": "delete",
|
|
1459
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1459
|
+
icon: /* @__PURE__ */ e.jsx(We, { as: Ms }),
|
|
1460
1460
|
onClick: u
|
|
1461
1461
|
}
|
|
1462
1462
|
),
|
|
@@ -1780,7 +1780,7 @@ const Ys = ({
|
|
|
1780
1780
|
/* @__PURE__ */ e.jsxs(G, { children: [
|
|
1781
1781
|
/* @__PURE__ */ e.jsx(Z, { children: "Name" }),
|
|
1782
1782
|
/* @__PURE__ */ e.jsx(
|
|
1783
|
-
|
|
1783
|
+
ye,
|
|
1784
1784
|
{
|
|
1785
1785
|
value: b,
|
|
1786
1786
|
onChange: (N) => v(N.target.value),
|
|
@@ -1850,13 +1850,13 @@ const Ys = ({
|
|
|
1850
1850
|
/* @__PURE__ */ e.jsxs(G, { children: [
|
|
1851
1851
|
/* @__PURE__ */ e.jsx(Z, { children: "Use Cases" }),
|
|
1852
1852
|
/* @__PURE__ */ e.jsx(
|
|
1853
|
-
|
|
1853
|
+
Je,
|
|
1854
1854
|
{
|
|
1855
1855
|
isOpen: z,
|
|
1856
1856
|
label: "Type to search for existing use cases",
|
|
1857
1857
|
placement: "top-end",
|
|
1858
1858
|
children: /* @__PURE__ */ e.jsx(B, { children: /* @__PURE__ */ e.jsx(
|
|
1859
|
-
|
|
1859
|
+
Ss,
|
|
1860
1860
|
{
|
|
1861
1861
|
value: y,
|
|
1862
1862
|
onChange: (N) => L([...N]),
|
|
@@ -1955,7 +1955,7 @@ const Ys = ({
|
|
|
1955
1955
|
}
|
|
1956
1956
|
)
|
|
1957
1957
|
] });
|
|
1958
|
-
}, Z = ({ children: t }) => /* @__PURE__ */ e.jsx(
|
|
1958
|
+
}, Z = ({ children: t }) => /* @__PURE__ */ e.jsx($e, { fontWeight: "bold", fontFamily: "sans-serif", fontSize: "large", children: t }), Ft = ({
|
|
1959
1959
|
id: t,
|
|
1960
1960
|
onCancel: s,
|
|
1961
1961
|
onSave: o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as j } from "./vendor-
|
|
2
|
-
import { i as s, b as M } from "./react-dnd-vendor-
|
|
1
|
+
import { c as j } from "./vendor-CoDHTSgb.js";
|
|
2
|
+
import { i as s, b as M } from "./react-dnd-vendor-Cuc51Scz.js";
|
|
3
3
|
function H(t, e, r) {
|
|
4
4
|
return e.split(".").reduce(
|
|
5
5
|
(n, i) => n && n[i] ? n[i] : r || null,
|