@elice/material-assignment 1.251120.1 → 1.260128.0-rc.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.
Files changed (37) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +157 -350
  2. package/cjs/components/index.js +2 -2
  3. package/cjs/components/material-assignment/MaterialAssignment.d.ts +1 -1
  4. package/cjs/components/material-assignment/MaterialAssignment.js +8 -8
  5. package/cjs/components/material-assignment/MaterialAssignmentContent.js +33 -33
  6. package/cjs/components/material-assignment/MaterialAssignmentUploadModal.js +26 -27
  7. package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.d.ts +2 -3
  8. package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.js +4 -4
  9. package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.styled.d.ts +22 -8
  10. package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.styled.js +20 -20
  11. package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContent.js +94 -96
  12. package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +34 -35
  13. package/cjs/components/shared/MaterialAssignmentContainer.d.ts +1 -1
  14. package/cjs/components/shared/MaterialAssignmentContainer.js +19 -11
  15. package/cjs/index.js +2 -2
  16. package/cjs/node_modules/@elice/mui-system/es/tokens/colors/green.js +31 -0
  17. package/cjs/node_modules/@elice/mui-system/es/tokens/colors/orange.js +31 -0
  18. package/cjs/node_modules/@elice/utils/es/texts/validateUrl.js +18 -0
  19. package/es/_virtual/_rollupPluginBabelHelpers.js +156 -350
  20. package/es/components/index.js +1 -1
  21. package/es/components/material-assignment/MaterialAssignment.d.ts +1 -1
  22. package/es/components/material-assignment/MaterialAssignment.js +7 -7
  23. package/es/components/material-assignment/MaterialAssignmentContent.js +32 -32
  24. package/es/components/material-assignment/MaterialAssignmentUploadModal.js +25 -26
  25. package/es/components/material-assignment-admin/MaterialAssignmentAdmin.d.ts +2 -3
  26. package/es/components/material-assignment-admin/MaterialAssignmentAdmin.js +4 -4
  27. package/es/components/material-assignment-admin/MaterialAssignmentAdmin.styled.d.ts +22 -8
  28. package/es/components/material-assignment-admin/MaterialAssignmentAdmin.styled.js +19 -19
  29. package/es/components/material-assignment-admin/MaterialAssignmentAdminContent.js +95 -97
  30. package/es/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +35 -36
  31. package/es/components/shared/MaterialAssignmentContainer.d.ts +1 -1
  32. package/es/components/shared/MaterialAssignmentContainer.js +18 -10
  33. package/es/index.js +1 -1
  34. package/es/node_modules/@elice/mui-system/es/tokens/colors/green.js +29 -0
  35. package/es/node_modules/@elice/mui-system/es/tokens/colors/orange.js +29 -0
  36. package/es/node_modules/@elice/utils/es/texts/validateUrl.js +16 -0
  37. package/package.json +12 -11
@@ -1,374 +1,180 @@
1
- function _iterableToArrayLimit(arr, i) {
2
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
3
- if (null != _i) {
4
- var _s,
5
- _e,
6
- _x,
7
- _r,
8
- _arr = [],
9
- _n = !0,
10
- _d = !1;
1
+ function _arrayLikeToArray(r, a) {
2
+ (null == a || a > r.length) && (a = r.length);
3
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
4
+ return n;
5
+ }
6
+ function _arrayWithHoles(r) {
7
+ if (Array.isArray(r)) return r;
8
+ }
9
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
10
+ try {
11
+ var i = n[a](c),
12
+ u = i.value;
13
+ } catch (n) {
14
+ return void e(n);
15
+ }
16
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
17
+ }
18
+ function _asyncToGenerator(n) {
19
+ return function () {
20
+ var t = this,
21
+ e = arguments;
22
+ return new Promise(function (r, o) {
23
+ var a = n.apply(t, e);
24
+ function _next(n) {
25
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
26
+ }
27
+ function _throw(n) {
28
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
29
+ }
30
+ _next(void 0);
31
+ });
32
+ };
33
+ }
34
+ function _iterableToArrayLimit(r, l) {
35
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
36
+ if (null != t) {
37
+ var e,
38
+ n,
39
+ i,
40
+ u,
41
+ a = [],
42
+ f = true,
43
+ o = false;
11
44
  try {
12
- if (_x = (_i = _i.call(arr)).next, 0 === i) ; else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
13
- } catch (err) {
14
- _d = !0, _e = err;
45
+ if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
46
+ } catch (r) {
47
+ o = true, n = r;
15
48
  } finally {
16
49
  try {
17
- if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
50
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
18
51
  } finally {
19
- if (_d) throw _e;
52
+ if (o) throw n;
20
53
  }
21
54
  }
22
- return _arr;
55
+ return a;
23
56
  }
24
57
  }
25
- function _regeneratorRuntime() {
26
- _regeneratorRuntime = function () {
27
- return exports;
28
- };
29
- var exports = {},
30
- Op = Object.prototype,
31
- hasOwn = Op.hasOwnProperty,
32
- defineProperty = Object.defineProperty || function (obj, key, desc) {
33
- obj[key] = desc.value;
34
- },
35
- $Symbol = "function" == typeof Symbol ? Symbol : {},
36
- iteratorSymbol = $Symbol.iterator || "@@iterator",
37
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
38
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
39
- function define(obj, key, value) {
40
- return Object.defineProperty(obj, key, {
41
- value: value,
42
- enumerable: !0,
43
- configurable: !0,
44
- writable: !0
45
- }), obj[key];
46
- }
47
- try {
48
- define({}, "");
49
- } catch (err) {
50
- define = function (obj, key, value) {
51
- return obj[key] = value;
52
- };
53
- }
54
- function wrap(innerFn, outerFn, self, tryLocsList) {
55
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
56
- generator = Object.create(protoGenerator.prototype),
57
- context = new Context(tryLocsList || []);
58
- return defineProperty(generator, "_invoke", {
59
- value: makeInvokeMethod(innerFn, self, context)
60
- }), generator;
61
- }
62
- function tryCatch(fn, obj, arg) {
63
- try {
64
- return {
65
- type: "normal",
66
- arg: fn.call(obj, arg)
67
- };
68
- } catch (err) {
69
- return {
70
- type: "throw",
71
- arg: err
72
- };
73
- }
74
- }
75
- exports.wrap = wrap;
76
- var ContinueSentinel = {};
77
- function Generator() {}
78
- function GeneratorFunction() {}
79
- function GeneratorFunctionPrototype() {}
80
- var IteratorPrototype = {};
81
- define(IteratorPrototype, iteratorSymbol, function () {
82
- return this;
83
- });
84
- var getProto = Object.getPrototypeOf,
85
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
86
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
87
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
88
- function defineIteratorMethods(prototype) {
89
- ["next", "throw", "return"].forEach(function (method) {
90
- define(prototype, method, function (arg) {
91
- return this._invoke(method, arg);
92
- });
93
- });
94
- }
95
- function AsyncIterator(generator, PromiseImpl) {
96
- function invoke(method, arg, resolve, reject) {
97
- var record = tryCatch(generator[method], generator, arg);
98
- if ("throw" !== record.type) {
99
- var result = record.arg,
100
- value = result.value;
101
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
102
- invoke("next", value, resolve, reject);
103
- }, function (err) {
104
- invoke("throw", err, resolve, reject);
105
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
106
- result.value = unwrapped, resolve(result);
107
- }, function (error) {
108
- return invoke("throw", error, resolve, reject);
109
- });
110
- }
111
- reject(record.arg);
112
- }
113
- var previousPromise;
114
- defineProperty(this, "_invoke", {
115
- value: function (method, arg) {
116
- function callInvokeWithMethodAndArg() {
117
- return new PromiseImpl(function (resolve, reject) {
118
- invoke(method, arg, resolve, reject);
119
- });
120
- }
121
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
122
- }
123
- });
124
- }
125
- function makeInvokeMethod(innerFn, self, context) {
126
- var state = "suspendedStart";
127
- return function (method, arg) {
128
- if ("executing" === state) throw new Error("Generator is already running");
129
- if ("completed" === state) {
130
- if ("throw" === method) throw arg;
131
- return {
132
- value: void 0,
133
- done: !0
58
+ function _nonIterableRest() {
59
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
60
+ }
61
+ function _regenerator() {
62
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
63
+ var e,
64
+ t,
65
+ r = "function" == typeof Symbol ? Symbol : {},
66
+ n = r.iterator || "@@iterator",
67
+ o = r.toStringTag || "@@toStringTag";
68
+ function i(r, n, o, i) {
69
+ var c = n && n.prototype instanceof Generator ? n : Generator,
70
+ u = Object.create(c.prototype);
71
+ return _regeneratorDefine(u, "_invoke", function (r, n, o) {
72
+ var i,
73
+ c,
74
+ u,
75
+ f = 0,
76
+ p = o || [],
77
+ y = false,
78
+ G = {
79
+ p: 0,
80
+ n: 0,
81
+ v: e,
82
+ a: d,
83
+ f: d.bind(e, 4),
84
+ d: function (t, r) {
85
+ return i = t, c = 0, u = e, G.n = r, a;
86
+ }
134
87
  };
88
+ function d(r, n) {
89
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
90
+ var o,
91
+ i = p[t],
92
+ d = G.p,
93
+ l = i[2];
94
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
95
+ }
96
+ if (o || r > 1) return a;
97
+ throw y = true, n;
135
98
  }
136
- for (context.method = method, context.arg = arg;;) {
137
- var delegate = context.delegate;
138
- if (delegate) {
139
- var delegateResult = maybeInvokeDelegate(delegate, context);
140
- if (delegateResult) {
141
- if (delegateResult === ContinueSentinel) continue;
142
- return delegateResult;
99
+ return function (o, p, l) {
100
+ if (f > 1) throw TypeError("Generator is already running");
101
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
102
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
103
+ try {
104
+ if (f = 2, i) {
105
+ if (c || (o = "next"), t = i[o]) {
106
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
107
+ if (!t.done) return t;
108
+ u = t.value, c < 2 && (c = 0);
109
+ } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
110
+ i = e;
111
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
112
+ } catch (t) {
113
+ i = e, c = 1, u = t;
114
+ } finally {
115
+ f = 1;
143
116
  }
144
117
  }
145
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
146
- if ("suspendedStart" === state) throw state = "completed", context.arg;
147
- context.dispatchException(context.arg);
148
- } else "return" === context.method && context.abrupt("return", context.arg);
149
- state = "executing";
150
- var record = tryCatch(innerFn, self, context);
151
- if ("normal" === record.type) {
152
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
153
- return {
154
- value: record.arg,
155
- done: context.done
156
- };
157
- }
158
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
159
- }
160
- };
161
- }
162
- function maybeInvokeDelegate(delegate, context) {
163
- var methodName = context.method,
164
- method = delegate.iterator[methodName];
165
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
166
- var record = tryCatch(method, delegate.iterator, context.arg);
167
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
168
- var info = record.arg;
169
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
170
- }
171
- function pushTryEntry(locs) {
172
- var entry = {
173
- tryLoc: locs[0]
174
- };
175
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
176
- }
177
- function resetTryEntry(entry) {
178
- var record = entry.completion || {};
179
- record.type = "normal", delete record.arg, entry.completion = record;
180
- }
181
- function Context(tryLocsList) {
182
- this.tryEntries = [{
183
- tryLoc: "root"
184
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
118
+ return {
119
+ value: t,
120
+ done: y
121
+ };
122
+ };
123
+ }(r, o, i), true), u;
185
124
  }
186
- function values(iterable) {
187
- if (iterable || "" === iterable) {
188
- var iteratorMethod = iterable[iteratorSymbol];
189
- if (iteratorMethod) return iteratorMethod.call(iterable);
190
- if ("function" == typeof iterable.next) return iterable;
191
- if (!isNaN(iterable.length)) {
192
- var i = -1,
193
- next = function next() {
194
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
195
- return next.value = undefined, next.done = !0, next;
196
- };
197
- return next.next = next;
198
- }
199
- }
200
- throw new TypeError(typeof iterable + " is not iterable");
125
+ var a = {};
126
+ function Generator() {}
127
+ function GeneratorFunction() {}
128
+ function GeneratorFunctionPrototype() {}
129
+ t = Object.getPrototypeOf;
130
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
131
+ return this;
132
+ }), t),
133
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
134
+ function f(e) {
135
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
201
136
  }
202
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
203
- value: GeneratorFunctionPrototype,
204
- configurable: !0
205
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
206
- value: GeneratorFunction,
207
- configurable: !0
208
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
209
- var ctor = "function" == typeof genFun && genFun.constructor;
210
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
211
- }, exports.mark = function (genFun) {
212
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
213
- }, exports.awrap = function (arg) {
214
- return {
215
- __await: arg
216
- };
217
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
137
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
218
138
  return this;
219
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
220
- void 0 === PromiseImpl && (PromiseImpl = Promise);
221
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
222
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
223
- return result.done ? result.value : iter.next();
224
- });
225
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
226
- return this;
227
- }), define(Gp, "toString", function () {
139
+ }), _regeneratorDefine(u, "toString", function () {
228
140
  return "[object Generator]";
229
- }), exports.keys = function (val) {
230
- var object = Object(val),
231
- keys = [];
232
- for (var key in object) keys.push(key);
233
- return keys.reverse(), function next() {
234
- for (; keys.length;) {
235
- var key = keys.pop();
236
- if (key in object) return next.value = key, next.done = !1, next;
237
- }
238
- return next.done = !0, next;
141
+ }), (_regenerator = function () {
142
+ return {
143
+ w: i,
144
+ m: f
239
145
  };
240
- }, exports.values = values, Context.prototype = {
241
- constructor: Context,
242
- reset: function (skipTempReset) {
243
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
244
- },
245
- stop: function () {
246
- this.done = !0;
247
- var rootRecord = this.tryEntries[0].completion;
248
- if ("throw" === rootRecord.type) throw rootRecord.arg;
249
- return this.rval;
250
- },
251
- dispatchException: function (exception) {
252
- if (this.done) throw exception;
253
- var context = this;
254
- function handle(loc, caught) {
255
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
256
- }
257
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
258
- var entry = this.tryEntries[i],
259
- record = entry.completion;
260
- if ("root" === entry.tryLoc) return handle("end");
261
- if (entry.tryLoc <= this.prev) {
262
- var hasCatch = hasOwn.call(entry, "catchLoc"),
263
- hasFinally = hasOwn.call(entry, "finallyLoc");
264
- if (hasCatch && hasFinally) {
265
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
266
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
267
- } else if (hasCatch) {
268
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
269
- } else {
270
- if (!hasFinally) throw new Error("try statement without catch or finally");
271
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
272
- }
273
- }
274
- }
275
- },
276
- abrupt: function (type, arg) {
277
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
278
- var entry = this.tryEntries[i];
279
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
280
- var finallyEntry = entry;
281
- break;
282
- }
283
- }
284
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
285
- var record = finallyEntry ? finallyEntry.completion : {};
286
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
287
- },
288
- complete: function (record, afterLoc) {
289
- if ("throw" === record.type) throw record.arg;
290
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
291
- },
292
- finish: function (finallyLoc) {
293
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
294
- var entry = this.tryEntries[i];
295
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
296
- }
297
- },
298
- catch: function (tryLoc) {
299
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
300
- var entry = this.tryEntries[i];
301
- if (entry.tryLoc === tryLoc) {
302
- var record = entry.completion;
303
- if ("throw" === record.type) {
304
- var thrown = record.arg;
305
- resetTryEntry(entry);
306
- }
307
- return thrown;
308
- }
309
- }
310
- throw new Error("illegal catch attempt");
311
- },
312
- delegateYield: function (iterable, resultName, nextLoc) {
313
- return this.delegate = {
314
- iterator: values(iterable),
315
- resultName: resultName,
316
- nextLoc: nextLoc
317
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
318
- }
319
- }, exports;
146
+ })();
320
147
  }
321
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
148
+ function _regeneratorDefine(e, r, n, t) {
149
+ var i = Object.defineProperty;
322
150
  try {
323
- var info = gen[key](arg);
324
- var value = info.value;
325
- } catch (error) {
326
- reject(error);
327
- return;
328
- }
329
- if (info.done) {
330
- resolve(value);
331
- } else {
332
- Promise.resolve(value).then(_next, _throw);
151
+ i({}, "", {});
152
+ } catch (e) {
153
+ i = 0;
333
154
  }
155
+ _regeneratorDefine = function (e, r, n, t) {
156
+ function o(r, n) {
157
+ _regeneratorDefine(e, r, function (e) {
158
+ return this._invoke(r, n, e);
159
+ });
160
+ }
161
+ r ? i ? i(e, r, {
162
+ value: n,
163
+ enumerable: !t,
164
+ configurable: !t,
165
+ writable: !t
166
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
167
+ }, _regeneratorDefine(e, r, n, t);
334
168
  }
335
- function _asyncToGenerator(fn) {
336
- return function () {
337
- var self = this,
338
- args = arguments;
339
- return new Promise(function (resolve, reject) {
340
- var gen = fn.apply(self, args);
341
- function _next(value) {
342
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
343
- }
344
- function _throw(err) {
345
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
346
- }
347
- _next(undefined);
348
- });
349
- };
350
- }
351
- function _slicedToArray(arr, i) {
352
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
353
- }
354
- function _arrayWithHoles(arr) {
355
- if (Array.isArray(arr)) return arr;
356
- }
357
- function _unsupportedIterableToArray(o, minLen) {
358
- if (!o) return;
359
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
360
- var n = Object.prototype.toString.call(o).slice(8, -1);
361
- if (n === "Object" && o.constructor) n = o.constructor.name;
362
- if (n === "Map" || n === "Set") return Array.from(o);
363
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
364
- }
365
- function _arrayLikeToArray(arr, len) {
366
- if (len == null || len > arr.length) len = arr.length;
367
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
368
- return arr2;
169
+ function _slicedToArray(r, e) {
170
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
369
171
  }
370
- function _nonIterableRest() {
371
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
172
+ function _unsupportedIterableToArray(r, a) {
173
+ if (r) {
174
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
175
+ var t = {}.toString.call(r).slice(8, -1);
176
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
177
+ }
372
178
  }
373
179
 
374
- export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _asyncToGenerator as asyncToGenerator, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _regeneratorRuntime as regeneratorRuntime, _slicedToArray as slicedToArray, _unsupportedIterableToArray as unsupportedIterableToArray };
180
+ export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _asyncToGenerator as asyncToGenerator, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _regenerator as regenerator, _regeneratorDefine as regeneratorDefine, _slicedToArray as slicedToArray, _unsupportedIterableToArray as unsupportedIterableToArray };
@@ -1,2 +1,2 @@
1
- export { default as MaterialAssignmentAdmin } from './material-assignment-admin/MaterialAssignmentAdmin.js';
2
1
  export { default as MaterialAssignment } from './material-assignment/MaterialAssignment.js';
2
+ export { default as MaterialAssignmentAdmin } from './material-assignment-admin/MaterialAssignmentAdmin.js';
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import type { WithIntlComponentBuilderProps } from '@elice/intl';
2
+ import type React from 'react';
3
3
  export interface MaterialAssignmentProps {
4
4
  materialAssignmentId: number;
5
5
  userId: number;
@@ -1,18 +1,18 @@
1
+ import _styled from '@emotion/styled/base';
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { base } from '@elice/design-tokens';
3
4
  import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
4
5
  import classnames from 'classnames';
5
- import styled from 'styled-components';
6
+ import MaterialAssignmentContent from './MaterialAssignmentContent.js';
6
7
  import messageEn from './locales/en.json.js';
7
8
  import messageKo from './locales/ko.json.js';
8
- import MaterialAssignmentContent from './MaterialAssignmentContent.js';
9
9
 
10
10
  //
11
11
  //
12
12
  //
13
- var StyledMaterialAssignmentWrapper = styled.div.withConfig({
14
- componentId: "sc-1kcyh7u-0"
15
- })(["display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:3.625rem;background-color:", ";"], base.color.navy9);
13
+ var StyledMaterialAssignmentWrapper = /*#__PURE__*/_styled("div", {
14
+ target: "e1t7bky80"
15
+ })("display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:3.625rem;background-color:", base.color.navy9, ";");
16
16
  //
17
17
  //
18
18
  //
@@ -33,6 +33,6 @@ var MaterialAssignment = function MaterialAssignment(_ref) {
33
33
  })
34
34
  });
35
35
  };
36
- var MaterialAssignment$1 = new IntlComponentBuilder(MaterialAssignment).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
36
+ var MaterialAssignment_default = new IntlComponentBuilder(MaterialAssignment).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
37
37
 
38
- export { MaterialAssignment$1 as default };
38
+ export { MaterialAssignment_default as default };