@elice/material-runbox 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/_commonjsHelpers.js +10 -0
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +184 -386
- package/cjs/_virtual/dayjs.min.js +5 -0
- package/cjs/components/material-runbox/MaterialAdminRunboxConfirmDialog.d.ts +1 -1
- package/cjs/components/material-runbox/MaterialRunbox.d.ts +1 -1
- package/cjs/components/material-runbox/MaterialRunbox.js +5 -6
- package/cjs/components/material-runbox/MaterialRunboxAlert.d.ts +1 -1
- package/cjs/components/material-runbox/MaterialRunboxAlert.js +0 -8
- package/cjs/components/material-runbox/MaterialRunboxBody.d.ts +1 -1
- package/cjs/components/material-runbox/MaterialRunboxContent.js +7 -10
- package/cjs/components/material-runbox/MaterialRunboxFooter.d.ts +1 -1
- package/cjs/components/material-runbox/MaterialRunboxFooter.js +2 -2
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +4 -7
- package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.d.ts +1 -1
- package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +1 -3
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +1 -1
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.d.ts +0 -1
- package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +28 -30
- package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +6 -9
- package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +19 -22
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +3 -9
- package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +3 -4
- package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +4 -7
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.d.ts +0 -1
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.js +1 -1
- package/cjs/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.d.ts +1 -1
- package/cjs/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.js +0 -2
- package/cjs/components/material-runbox/hooks/useMaterialRunboxRunboxIdStarterGet.js +1 -3
- package/cjs/components/material-runbox/hooks/useRunboxControl.js +30 -41
- package/cjs/components/material-runbox/runtime/Runtime.js +3 -8
- package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.d.ts +1 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +1 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +1 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.js +11 -14
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +1 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +3 -5
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +1 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +3 -5
- package/cjs/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.d.ts +0 -1
- package/cjs/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.js +2 -2
- package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +4 -4
- package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +0 -1
- package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +5 -6
- package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +3 -2
- package/cjs/node_modules/dayjs/dayjs.min.js +15 -0
- package/es/_virtual/_commonjsHelpers.js +7 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +183 -386
- package/es/_virtual/dayjs.min.js +3 -0
- package/es/components/material-runbox/MaterialAdminRunboxConfirmDialog.d.ts +1 -1
- package/es/components/material-runbox/MaterialRunbox.d.ts +1 -1
- package/es/components/material-runbox/MaterialRunbox.js +5 -6
- package/es/components/material-runbox/MaterialRunboxAlert.d.ts +1 -1
- package/es/components/material-runbox/MaterialRunboxAlert.js +0 -8
- package/es/components/material-runbox/MaterialRunboxBody.d.ts +1 -1
- package/es/components/material-runbox/MaterialRunboxContent.js +8 -11
- package/es/components/material-runbox/MaterialRunboxFooter.d.ts +1 -1
- package/es/components/material-runbox/MaterialRunboxFooter.js +2 -2
- package/es/components/material-runbox/MaterialRunboxHeader.js +4 -7
- package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.d.ts +1 -1
- package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +1 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +1 -1
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.d.ts +0 -1
- package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +29 -31
- package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +7 -10
- package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +20 -23
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +3 -9
- package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +3 -4
- package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +3 -5
- package/es/components/material-runbox/contexts/MaterialRunboxApiContext.js +1 -1
- package/es/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.d.ts +0 -1
- package/es/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.js +1 -1
- package/es/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.d.ts +1 -1
- package/es/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.js +0 -2
- package/es/components/material-runbox/hooks/useMaterialRunboxRunboxIdStarterGet.js +1 -3
- package/es/components/material-runbox/hooks/useRunboxControl.js +31 -42
- package/es/components/material-runbox/runtime/Runtime.js +3 -8
- package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.d.ts +1 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +1 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +1 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.js +12 -15
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +1 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +3 -5
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +1 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +4 -6
- package/es/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.d.ts +0 -1
- package/es/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.js +3 -3
- package/es/components/material-runbox/timer/MaterialRunboxTimer.js +5 -5
- package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +0 -1
- package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +6 -7
- package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +3 -2
- package/es/node_modules/dayjs/dayjs.min.js +11 -0
- package/package.json +12 -12
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
|
+
|
|
5
|
+
function getDefaultExportFromCjs (x) {
|
|
6
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
exports.commonjsGlobal = commonjsGlobal;
|
|
10
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
@@ -1,417 +1,214 @@
|
|
|
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 _defineProperty(e, r, t) {
|
|
37
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
38
|
+
value: t,
|
|
39
|
+
enumerable: true,
|
|
40
|
+
configurable: true,
|
|
41
|
+
writable: true
|
|
42
|
+
}) : e[r] = t, e;
|
|
43
|
+
}
|
|
44
|
+
function _iterableToArrayLimit(r, l) {
|
|
45
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
46
|
+
if (null != t) {
|
|
47
|
+
var e,
|
|
48
|
+
n,
|
|
49
|
+
i,
|
|
50
|
+
u,
|
|
51
|
+
a = [],
|
|
52
|
+
f = true,
|
|
53
|
+
o = false;
|
|
13
54
|
try {
|
|
14
|
-
if (
|
|
15
|
-
if (Object(
|
|
16
|
-
|
|
17
|
-
} else for (; !(
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
55
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
56
|
+
if (Object(t) !== t) return;
|
|
57
|
+
f = !1;
|
|
58
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
59
|
+
} catch (r) {
|
|
60
|
+
o = true, n = r;
|
|
20
61
|
} finally {
|
|
21
62
|
try {
|
|
22
|
-
if (!
|
|
63
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
23
64
|
} finally {
|
|
24
|
-
if (
|
|
65
|
+
if (o) throw n;
|
|
25
66
|
}
|
|
26
67
|
}
|
|
27
|
-
return
|
|
68
|
+
return a;
|
|
28
69
|
}
|
|
29
70
|
}
|
|
30
|
-
function
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
60
|
-
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
61
|
-
generator = Object.create(protoGenerator.prototype),
|
|
62
|
-
context = new Context(tryLocsList || []);
|
|
63
|
-
return defineProperty(generator, "_invoke", {
|
|
64
|
-
value: makeInvokeMethod(innerFn, self, context)
|
|
65
|
-
}), generator;
|
|
66
|
-
}
|
|
67
|
-
function tryCatch(fn, obj, arg) {
|
|
68
|
-
try {
|
|
69
|
-
return {
|
|
70
|
-
type: "normal",
|
|
71
|
-
arg: fn.call(obj, arg)
|
|
72
|
-
};
|
|
73
|
-
} catch (err) {
|
|
74
|
-
return {
|
|
75
|
-
type: "throw",
|
|
76
|
-
arg: err
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.wrap = wrap;
|
|
81
|
-
var ContinueSentinel = {};
|
|
82
|
-
function Generator() {}
|
|
83
|
-
function GeneratorFunction() {}
|
|
84
|
-
function GeneratorFunctionPrototype() {}
|
|
85
|
-
var IteratorPrototype = {};
|
|
86
|
-
define(IteratorPrototype, iteratorSymbol, function () {
|
|
87
|
-
return this;
|
|
88
|
-
});
|
|
89
|
-
var getProto = Object.getPrototypeOf,
|
|
90
|
-
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
91
|
-
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
92
|
-
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
93
|
-
function defineIteratorMethods(prototype) {
|
|
94
|
-
["next", "throw", "return"].forEach(function (method) {
|
|
95
|
-
define(prototype, method, function (arg) {
|
|
96
|
-
return this._invoke(method, arg);
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
101
|
-
function invoke(method, arg, resolve, reject) {
|
|
102
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
103
|
-
if ("throw" !== record.type) {
|
|
104
|
-
var result = record.arg,
|
|
105
|
-
value = result.value;
|
|
106
|
-
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
107
|
-
invoke("next", value, resolve, reject);
|
|
108
|
-
}, function (err) {
|
|
109
|
-
invoke("throw", err, resolve, reject);
|
|
110
|
-
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
111
|
-
result.value = unwrapped, resolve(result);
|
|
112
|
-
}, function (error) {
|
|
113
|
-
return invoke("throw", error, resolve, reject);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
reject(record.arg);
|
|
117
|
-
}
|
|
118
|
-
var previousPromise;
|
|
119
|
-
defineProperty(this, "_invoke", {
|
|
120
|
-
value: function (method, arg) {
|
|
121
|
-
function callInvokeWithMethodAndArg() {
|
|
122
|
-
return new PromiseImpl(function (resolve, reject) {
|
|
123
|
-
invoke(method, arg, resolve, reject);
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
131
|
-
var state = "suspendedStart";
|
|
132
|
-
return function (method, arg) {
|
|
133
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
|
134
|
-
if ("completed" === state) {
|
|
135
|
-
if ("throw" === method) throw arg;
|
|
136
|
-
return {
|
|
137
|
-
value: void 0,
|
|
138
|
-
done: !0
|
|
71
|
+
function _nonIterableRest() {
|
|
72
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
73
|
+
}
|
|
74
|
+
function _regenerator() {
|
|
75
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
76
|
+
var e,
|
|
77
|
+
t,
|
|
78
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
79
|
+
n = r.iterator || "@@iterator",
|
|
80
|
+
o = r.toStringTag || "@@toStringTag";
|
|
81
|
+
function i(r, n, o, i) {
|
|
82
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
83
|
+
u = Object.create(c.prototype);
|
|
84
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
85
|
+
var i,
|
|
86
|
+
c,
|
|
87
|
+
u,
|
|
88
|
+
f = 0,
|
|
89
|
+
p = o || [],
|
|
90
|
+
y = false,
|
|
91
|
+
G = {
|
|
92
|
+
p: 0,
|
|
93
|
+
n: 0,
|
|
94
|
+
v: e,
|
|
95
|
+
a: d,
|
|
96
|
+
f: d.bind(e, 4),
|
|
97
|
+
d: function (t, r) {
|
|
98
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
99
|
+
}
|
|
139
100
|
};
|
|
101
|
+
function d(r, n) {
|
|
102
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
103
|
+
var o,
|
|
104
|
+
i = p[t],
|
|
105
|
+
d = G.p,
|
|
106
|
+
l = i[2];
|
|
107
|
+
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));
|
|
108
|
+
}
|
|
109
|
+
if (o || r > 1) return a;
|
|
110
|
+
throw y = true, n;
|
|
140
111
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
if (
|
|
147
|
-
|
|
112
|
+
return function (o, p, l) {
|
|
113
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
114
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
115
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
116
|
+
try {
|
|
117
|
+
if (f = 2, i) {
|
|
118
|
+
if (c || (o = "next"), t = i[o]) {
|
|
119
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
120
|
+
if (!t.done) return t;
|
|
121
|
+
u = t.value, c < 2 && (c = 0);
|
|
122
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
123
|
+
i = e;
|
|
124
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
125
|
+
} catch (t) {
|
|
126
|
+
i = e, c = 1, u = t;
|
|
127
|
+
} finally {
|
|
128
|
+
f = 1;
|
|
148
129
|
}
|
|
149
130
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
if ("normal" === record.type) {
|
|
157
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
158
|
-
return {
|
|
159
|
-
value: record.arg,
|
|
160
|
-
done: context.done
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
function maybeInvokeDelegate(delegate, context) {
|
|
168
|
-
var methodName = context.method,
|
|
169
|
-
method = delegate.iterator[methodName];
|
|
170
|
-
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;
|
|
171
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
172
|
-
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
173
|
-
var info = record.arg;
|
|
174
|
-
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);
|
|
175
|
-
}
|
|
176
|
-
function pushTryEntry(locs) {
|
|
177
|
-
var entry = {
|
|
178
|
-
tryLoc: locs[0]
|
|
179
|
-
};
|
|
180
|
-
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
181
|
-
}
|
|
182
|
-
function resetTryEntry(entry) {
|
|
183
|
-
var record = entry.completion || {};
|
|
184
|
-
record.type = "normal", delete record.arg, entry.completion = record;
|
|
185
|
-
}
|
|
186
|
-
function Context(tryLocsList) {
|
|
187
|
-
this.tryEntries = [{
|
|
188
|
-
tryLoc: "root"
|
|
189
|
-
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
190
|
-
}
|
|
191
|
-
function values(iterable) {
|
|
192
|
-
if (iterable || "" === iterable) {
|
|
193
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
194
|
-
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
195
|
-
if ("function" == typeof iterable.next) return iterable;
|
|
196
|
-
if (!isNaN(iterable.length)) {
|
|
197
|
-
var i = -1,
|
|
198
|
-
next = function next() {
|
|
199
|
-
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
200
|
-
return next.value = undefined, next.done = !0, next;
|
|
201
|
-
};
|
|
202
|
-
return next.next = next;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
throw new TypeError(typeof iterable + " is not iterable");
|
|
131
|
+
return {
|
|
132
|
+
value: t,
|
|
133
|
+
done: y
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}(r, o, i), true), u;
|
|
206
137
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
__await: arg
|
|
221
|
-
};
|
|
222
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
223
|
-
return this;
|
|
224
|
-
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
225
|
-
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
226
|
-
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
227
|
-
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
228
|
-
return result.done ? result.value : iter.next();
|
|
229
|
-
});
|
|
230
|
-
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
138
|
+
var a = {};
|
|
139
|
+
function Generator() {}
|
|
140
|
+
function GeneratorFunction() {}
|
|
141
|
+
function GeneratorFunctionPrototype() {}
|
|
142
|
+
t = Object.getPrototypeOf;
|
|
143
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
144
|
+
return this;
|
|
145
|
+
}), t),
|
|
146
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
147
|
+
function f(e) {
|
|
148
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
149
|
+
}
|
|
150
|
+
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 () {
|
|
231
151
|
return this;
|
|
232
|
-
}),
|
|
152
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
233
153
|
return "[object Generator]";
|
|
234
|
-
}),
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
return keys.reverse(), function next() {
|
|
239
|
-
for (; keys.length;) {
|
|
240
|
-
var key = keys.pop();
|
|
241
|
-
if (key in object) return next.value = key, next.done = !1, next;
|
|
242
|
-
}
|
|
243
|
-
return next.done = !0, next;
|
|
154
|
+
}), (_regenerator = function () {
|
|
155
|
+
return {
|
|
156
|
+
w: i,
|
|
157
|
+
m: f
|
|
244
158
|
};
|
|
245
|
-
}
|
|
246
|
-
constructor: Context,
|
|
247
|
-
reset: function (skipTempReset) {
|
|
248
|
-
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);
|
|
249
|
-
},
|
|
250
|
-
stop: function () {
|
|
251
|
-
this.done = !0;
|
|
252
|
-
var rootRecord = this.tryEntries[0].completion;
|
|
253
|
-
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
254
|
-
return this.rval;
|
|
255
|
-
},
|
|
256
|
-
dispatchException: function (exception) {
|
|
257
|
-
if (this.done) throw exception;
|
|
258
|
-
var context = this;
|
|
259
|
-
function handle(loc, caught) {
|
|
260
|
-
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
261
|
-
}
|
|
262
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
263
|
-
var entry = this.tryEntries[i],
|
|
264
|
-
record = entry.completion;
|
|
265
|
-
if ("root" === entry.tryLoc) return handle("end");
|
|
266
|
-
if (entry.tryLoc <= this.prev) {
|
|
267
|
-
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
268
|
-
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
269
|
-
if (hasCatch && hasFinally) {
|
|
270
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
271
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
272
|
-
} else if (hasCatch) {
|
|
273
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
274
|
-
} else {
|
|
275
|
-
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
276
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
abrupt: function (type, arg) {
|
|
282
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
283
|
-
var entry = this.tryEntries[i];
|
|
284
|
-
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
285
|
-
var finallyEntry = entry;
|
|
286
|
-
break;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
290
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
291
|
-
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
292
|
-
},
|
|
293
|
-
complete: function (record, afterLoc) {
|
|
294
|
-
if ("throw" === record.type) throw record.arg;
|
|
295
|
-
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;
|
|
296
|
-
},
|
|
297
|
-
finish: function (finallyLoc) {
|
|
298
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
299
|
-
var entry = this.tryEntries[i];
|
|
300
|
-
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
catch: function (tryLoc) {
|
|
304
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
305
|
-
var entry = this.tryEntries[i];
|
|
306
|
-
if (entry.tryLoc === tryLoc) {
|
|
307
|
-
var record = entry.completion;
|
|
308
|
-
if ("throw" === record.type) {
|
|
309
|
-
var thrown = record.arg;
|
|
310
|
-
resetTryEntry(entry);
|
|
311
|
-
}
|
|
312
|
-
return thrown;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
throw new Error("illegal catch attempt");
|
|
316
|
-
},
|
|
317
|
-
delegateYield: function (iterable, resultName, nextLoc) {
|
|
318
|
-
return this.delegate = {
|
|
319
|
-
iterator: values(iterable),
|
|
320
|
-
resultName: resultName,
|
|
321
|
-
nextLoc: nextLoc
|
|
322
|
-
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
323
|
-
}
|
|
324
|
-
}, exports;
|
|
159
|
+
})();
|
|
325
160
|
}
|
|
326
|
-
function
|
|
161
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
162
|
+
var i = Object.defineProperty;
|
|
327
163
|
try {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
var gen = fn.apply(self, args);
|
|
346
|
-
function _next(value) {
|
|
347
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
348
|
-
}
|
|
349
|
-
function _throw(err) {
|
|
350
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
351
|
-
}
|
|
352
|
-
_next(undefined);
|
|
353
|
-
});
|
|
354
|
-
};
|
|
164
|
+
i({}, "", {});
|
|
165
|
+
} catch (e) {
|
|
166
|
+
i = 0;
|
|
167
|
+
}
|
|
168
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
169
|
+
function o(r, n) {
|
|
170
|
+
_regeneratorDefine(e, r, function (e) {
|
|
171
|
+
return this._invoke(r, n, e);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
r ? i ? i(e, r, {
|
|
175
|
+
value: n,
|
|
176
|
+
enumerable: !t,
|
|
177
|
+
configurable: !t,
|
|
178
|
+
writable: !t
|
|
179
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
180
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
355
181
|
}
|
|
356
|
-
function
|
|
357
|
-
|
|
358
|
-
if (key in obj) {
|
|
359
|
-
Object.defineProperty(obj, key, {
|
|
360
|
-
value: value,
|
|
361
|
-
enumerable: true,
|
|
362
|
-
configurable: true,
|
|
363
|
-
writable: true
|
|
364
|
-
});
|
|
365
|
-
} else {
|
|
366
|
-
obj[key] = value;
|
|
367
|
-
}
|
|
368
|
-
return obj;
|
|
182
|
+
function _slicedToArray(r, e) {
|
|
183
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
369
184
|
}
|
|
370
|
-
function _taggedTemplateLiteral(
|
|
371
|
-
|
|
372
|
-
raw = strings.slice(0);
|
|
373
|
-
}
|
|
374
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
185
|
+
function _taggedTemplateLiteral(e, t) {
|
|
186
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
375
187
|
raw: {
|
|
376
|
-
value: Object.freeze(
|
|
188
|
+
value: Object.freeze(t)
|
|
377
189
|
}
|
|
378
190
|
}));
|
|
379
191
|
}
|
|
380
|
-
function
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
387
|
-
if (!o) return;
|
|
388
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
389
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
390
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
391
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
392
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
393
|
-
}
|
|
394
|
-
function _arrayLikeToArray(arr, len) {
|
|
395
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
396
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
397
|
-
return arr2;
|
|
398
|
-
}
|
|
399
|
-
function _nonIterableRest() {
|
|
400
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
401
|
-
}
|
|
402
|
-
function _toPrimitive(input, hint) {
|
|
403
|
-
if (typeof input !== "object" || input === null) return input;
|
|
404
|
-
var prim = input[Symbol.toPrimitive];
|
|
405
|
-
if (prim !== undefined) {
|
|
406
|
-
var res = prim.call(input, hint || "default");
|
|
407
|
-
if (typeof res !== "object") return res;
|
|
192
|
+
function _toPrimitive(t, r) {
|
|
193
|
+
if ("object" != typeof t || !t) return t;
|
|
194
|
+
var e = t[Symbol.toPrimitive];
|
|
195
|
+
if (void 0 !== e) {
|
|
196
|
+
var i = e.call(t, r);
|
|
197
|
+
if ("object" != typeof i) return i;
|
|
408
198
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
409
199
|
}
|
|
410
|
-
return (
|
|
200
|
+
return ("string" === r ? String : Number)(t);
|
|
201
|
+
}
|
|
202
|
+
function _toPropertyKey(t) {
|
|
203
|
+
var i = _toPrimitive(t, "string");
|
|
204
|
+
return "symbol" == typeof i ? i : i + "";
|
|
411
205
|
}
|
|
412
|
-
function
|
|
413
|
-
|
|
414
|
-
|
|
206
|
+
function _unsupportedIterableToArray(r, a) {
|
|
207
|
+
if (r) {
|
|
208
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
209
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
210
|
+
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;
|
|
211
|
+
}
|
|
415
212
|
}
|
|
416
213
|
|
|
417
214
|
exports.arrayLikeToArray = _arrayLikeToArray;
|
|
@@ -420,7 +217,8 @@ exports.asyncToGenerator = _asyncToGenerator;
|
|
|
420
217
|
exports.defineProperty = _defineProperty;
|
|
421
218
|
exports.iterableToArrayLimit = _iterableToArrayLimit;
|
|
422
219
|
exports.nonIterableRest = _nonIterableRest;
|
|
423
|
-
exports.
|
|
220
|
+
exports.regenerator = _regenerator;
|
|
221
|
+
exports.regeneratorDefine = _regeneratorDefine;
|
|
424
222
|
exports.slicedToArray = _slicedToArray;
|
|
425
223
|
exports.taggedTemplateLiteral = _taggedTemplateLiteral;
|
|
426
224
|
exports.toPrimitive = _toPrimitive;
|
|
@@ -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
|
import type { MaterialRunboxApiContextProps, MaterialRunboxContextProps } from './contexts';
|
|
4
4
|
import type { MaterialRunboxContentProps } from './MaterialRunboxContent';
|
|
5
5
|
export type MaterialRunboxProps = MaterialRunboxContentProps & Omit<MaterialRunboxApiContextProps, 'children'> & Omit<MaterialRunboxContextProps, 'children'>;
|