@elice/material-assignment 1.240718.0-trasncript.1 → 1.240718.0-trasncript.2

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 (29) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +383 -0
  2. package/cjs/components/index.js +9 -0
  3. package/cjs/components/material-assignment/MaterialAssignment.js +23 -17
  4. package/cjs/components/material-assignment/MaterialAssignmentContent.js +281 -194
  5. package/cjs/components/material-assignment/MaterialAssignmentUploadModal.js +181 -138
  6. package/cjs/components/material-assignment/constants/color.js +1 -1
  7. package/cjs/components/material-assignment/index.js +7 -0
  8. package/cjs/components/material-assignment/locales/index.js +13 -0
  9. package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.js +32 -24
  10. package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.styled.js +19 -9
  11. package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContent.js +774 -548
  12. package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +436 -303
  13. package/cjs/components/material-assignment-admin/index.js +7 -0
  14. package/cjs/components/shared/MaterialAssignmentContainer.js +23 -13
  15. package/es/_virtual/_rollupPluginBabelHelpers.js +374 -0
  16. package/es/components/index.js +2 -0
  17. package/es/components/material-assignment/MaterialAssignment.js +18 -17
  18. package/es/components/material-assignment/MaterialAssignmentContent.js +276 -194
  19. package/es/components/material-assignment/MaterialAssignmentUploadModal.js +177 -139
  20. package/es/components/material-assignment/constants/color.js +1 -1
  21. package/es/components/material-assignment/index.js +1 -0
  22. package/es/components/material-assignment/locales/index.js +4 -0
  23. package/es/components/material-assignment-admin/MaterialAssignmentAdmin.js +29 -25
  24. package/es/components/material-assignment-admin/MaterialAssignmentAdmin.styled.js +15 -9
  25. package/es/components/material-assignment-admin/MaterialAssignmentAdminContent.js +770 -549
  26. package/es/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +432 -304
  27. package/es/components/material-assignment-admin/index.js +1 -0
  28. package/es/components/shared/MaterialAssignmentContainer.js +19 -13
  29. package/package.json +9 -12
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var MaterialAssignmentAdmin = require('./MaterialAssignmentAdmin.js');
4
+
5
+
6
+
7
+ exports.MaterialAssignmentAdmin = MaterialAssignmentAdmin.default;
@@ -2,29 +2,39 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var React = require('react');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
6
  var blocks = require('@elice/blocks');
7
7
  var designTokens = require('@elice/design-tokens');
8
8
  var styled = require('styled-components');
9
9
 
10
- const StyledMaterialAssignmentContainer = styled.div.withConfig({
10
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
+
12
+ var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
13
+
14
+ var StyledMaterialAssignmentContainer = styled__default.default.div.withConfig({
11
15
  componentId: "sc-sdhlog-0"
12
16
  })(["height:100%;width:100%;max-width:55rem;border-radius:0.5rem;overflow:hidden;"]);
13
- const StyledMaterialAssignmentContainerHeader = styled.div.withConfig({
17
+ var StyledMaterialAssignmentContainerHeader = styled__default.default.div.withConfig({
14
18
  componentId: "sc-sdhlog-1"
15
19
  })(["padding:1rem 1.5rem;height:3.5rem;display:flex;align-items:center;background-color:", ";"], designTokens.base.color.navy7);
16
- const StyledMaterialAssignmentContainerContent = styled.div.withConfig({
20
+ var StyledMaterialAssignmentContainerContent = styled__default.default.div.withConfig({
17
21
  componentId: "sc-sdhlog-2"
18
22
  })(["padding:1.5rem;overflow-y:auto;height:calc(100% - 3.5rem);background-color:", ";"], designTokens.base.color.navy8);
19
- const MaterialAssignmentContainer = ({
20
- title,
21
- children
22
- }) => {
23
- return React.createElement(StyledMaterialAssignmentContainer, null, React.createElement(StyledMaterialAssignmentContainerHeader, null, React.createElement(blocks.Text, {
24
- bold: true,
25
- role: "navy0",
26
- size: "small"
27
- }, title)), React.createElement(StyledMaterialAssignmentContainerContent, null, children));
23
+ var MaterialAssignmentContainer = function MaterialAssignmentContainer(_ref) {
24
+ var title = _ref.title,
25
+ children = _ref.children;
26
+ return jsxRuntime.jsxs(StyledMaterialAssignmentContainer, {
27
+ children: [jsxRuntime.jsx(StyledMaterialAssignmentContainerHeader, {
28
+ children: jsxRuntime.jsx(blocks.Text, {
29
+ bold: true,
30
+ role: "navy0",
31
+ size: "small",
32
+ children: title
33
+ })
34
+ }), jsxRuntime.jsx(StyledMaterialAssignmentContainerContent, {
35
+ children: children
36
+ })]
37
+ });
28
38
  };
29
39
 
30
40
  exports.default = MaterialAssignmentContainer;
@@ -0,0 +1,374 @@
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;
11
+ 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;
15
+ } finally {
16
+ try {
17
+ if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
18
+ } finally {
19
+ if (_d) throw _e;
20
+ }
21
+ }
22
+ return _arr;
23
+ }
24
+ }
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
134
+ };
135
+ }
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;
143
+ }
144
+ }
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);
185
+ }
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");
201
+ }
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 () {
218
+ 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 () {
228
+ 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;
239
+ };
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;
320
+ }
321
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
322
+ 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);
333
+ }
334
+ }
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;
369
+ }
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.");
372
+ }
373
+
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 };
@@ -0,0 +1,2 @@
1
+ export { default as MaterialAssignmentAdmin } from './material-assignment-admin/MaterialAssignmentAdmin.js';
2
+ export { default as MaterialAssignment } from './material-assignment/MaterialAssignment.js';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { base } from '@elice/design-tokens';
3
3
  import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
4
4
  import classnames from 'classnames';
@@ -10,27 +10,28 @@ import MaterialAssignmentContent from './MaterialAssignmentContent.js';
10
10
  //
11
11
  //
12
12
  //
13
- const StyledMaterialAssignmentWrapper = styled.div.withConfig({
13
+ var StyledMaterialAssignmentWrapper = styled.div.withConfig({
14
14
  componentId: "sc-1kcyh7u-0"
15
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
  //
19
- const MaterialAssignment = ({
20
- className,
21
- materialAssignmentId,
22
- userId,
23
- __intl
24
- }) => {
25
- const prefixCls = 'em-material-assignment';
26
- return React.createElement(RawEliceIntlProvider, {
27
- value: __intl
28
- }, React.createElement(StyledMaterialAssignmentWrapper, {
29
- className: classnames(prefixCls, className)
30
- }, React.createElement(MaterialAssignmentContent, {
31
- materialAssignmentId: materialAssignmentId,
32
- userId: userId
33
- })));
19
+ var MaterialAssignment = function MaterialAssignment(_ref) {
20
+ var className = _ref.className,
21
+ materialAssignmentId = _ref.materialAssignmentId,
22
+ userId = _ref.userId,
23
+ __intl = _ref.__intl;
24
+ var prefixCls = 'em-material-assignment';
25
+ return jsx(RawEliceIntlProvider, {
26
+ value: __intl,
27
+ children: jsx(StyledMaterialAssignmentWrapper, {
28
+ className: classnames(prefixCls, className),
29
+ children: jsx(MaterialAssignmentContent, {
30
+ materialAssignmentId: materialAssignmentId,
31
+ userId: userId
32
+ })
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
37