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