@elice/material-shared-utils 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 +177 -376
- package/cjs/_virtual/index.js +5 -0
- package/cjs/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/cjs/hooks/useHelpyLogo.js +3 -7
- package/cjs/index.js +4 -4
- package/cjs/material-config/MaterialConfigContext.d.ts +0 -1
- package/cjs/material-config/MaterialConfigContext.js +2 -2
- package/cjs/material-fetch/useMaterialFetch.d.ts +2 -47
- package/cjs/material-fetch/useMaterialFetch.js +1 -4
- package/cjs/material-fetch/useMaterialFetchRaw.d.ts +1 -1
- package/cjs/material-fetch/useMaterialFetchRaw.js +12 -19
- package/cjs/material-hoc/withMaterial.d.ts +1 -1
- package/cjs/material-hoc/withMaterial.js +0 -1
- package/cjs/node_modules/@tanstack/query-core/build/lib/focusManager.js +93 -0
- package/cjs/node_modules/@tanstack/query-core/build/lib/notifyManager.js +101 -0
- package/cjs/node_modules/@tanstack/query-core/build/lib/onlineManager.js +95 -0
- package/cjs/node_modules/@tanstack/query-core/build/lib/queryObserver.js +571 -0
- package/cjs/node_modules/@tanstack/query-core/build/lib/retryer.js +21 -0
- package/cjs/node_modules/@tanstack/query-core/build/lib/subscribable.js +33 -0
- package/cjs/node_modules/@tanstack/query-core/build/lib/utils.js +154 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/QueryClientProvider.js +65 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/QueryErrorResetBoundary.js +46 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/errorBoundaryUtils.js +52 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/isRestoring.js +31 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/suspense.js +39 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/useBaseQuery.js +94 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/useQuery.js +14 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/useSyncExternalStore.js +9 -0
- package/cjs/node_modules/@tanstack/react-query/build/lib/utils.js +12 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js +39 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/Observable.js +105 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/Subject.js +165 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/Subscriber.js +157 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/Subscription.js +148 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/config.js +6 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +19 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +5 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js +13 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +16 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +10 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +14 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +9 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/identity.js +7 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +7 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/noop.js +5 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/pipe.js +17 -0
- package/cjs/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +13 -0
- package/cjs/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +77 -0
- package/cjs/node_modules/use-sync-external-store/shim/index.js +13 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +176 -376
- package/es/_virtual/index.js +3 -0
- package/es/_virtual/use-sync-external-store-shim.production.js +3 -0
- package/es/hooks/useCallbackProp.js +3 -3
- package/es/hooks/useDeepClonedCompareEffect.js +2 -2
- package/es/hooks/useHelpyLogo.js +2 -6
- package/es/index.js +2 -2
- package/es/material-config/MaterialConfigContext.d.ts +0 -1
- package/es/material-config/MaterialConfigContext.js +1 -1
- package/es/material-config/MaterialConfigProvider.js +5 -5
- package/es/material-fetch/useMaterialFetch.d.ts +2 -47
- package/es/material-fetch/useMaterialFetch.js +1 -4
- package/es/material-fetch/useMaterialFetchRaw.d.ts +1 -1
- package/es/material-fetch/useMaterialFetchRaw.js +13 -20
- package/es/material-hoc/withMaterial.d.ts +1 -1
- package/es/material-hoc/withMaterial.js +0 -1
- package/es/node_modules/@tanstack/query-core/build/lib/focusManager.js +90 -0
- package/es/node_modules/@tanstack/query-core/build/lib/notifyManager.js +98 -0
- package/es/node_modules/@tanstack/query-core/build/lib/onlineManager.js +92 -0
- package/es/node_modules/@tanstack/query-core/build/lib/queryObserver.js +569 -0
- package/es/node_modules/@tanstack/query-core/build/lib/retryer.js +17 -0
- package/es/node_modules/@tanstack/query-core/build/lib/subscribable.js +31 -0
- package/es/node_modules/@tanstack/query-core/build/lib/utils.js +140 -0
- package/es/node_modules/@tanstack/react-query/build/lib/QueryClientProvider.js +42 -0
- package/es/node_modules/@tanstack/react-query/build/lib/QueryErrorResetBoundary.js +24 -0
- package/es/node_modules/@tanstack/react-query/build/lib/errorBoundaryUtils.js +28 -0
- package/es/node_modules/@tanstack/react-query/build/lib/isRestoring.js +9 -0
- package/es/node_modules/@tanstack/react-query/build/lib/suspense.js +34 -0
- package/es/node_modules/@tanstack/react-query/build/lib/useBaseQuery.js +72 -0
- package/es/node_modules/@tanstack/react-query/build/lib/useQuery.js +12 -0
- package/es/node_modules/@tanstack/react-query/build/lib/useSyncExternalStore.js +7 -0
- package/es/node_modules/@tanstack/react-query/build/lib/utils.js +10 -0
- package/es/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js +37 -0
- package/es/node_modules/rxjs/dist/esm5/internal/Observable.js +103 -0
- package/es/node_modules/rxjs/dist/esm5/internal/Subject.js +162 -0
- package/es/node_modules/rxjs/dist/esm5/internal/Subscriber.js +153 -0
- package/es/node_modules/rxjs/dist/esm5/internal/Subscription.js +144 -0
- package/es/node_modules/rxjs/dist/esm5/internal/config.js +4 -0
- package/es/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +17 -0
- package/es/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +3 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js +11 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +14 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +8 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +12 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +7 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/identity.js +5 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +5 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/noop.js +3 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/pipe.js +15 -0
- package/es/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +11 -0
- package/es/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +69 -0
- package/es/node_modules/use-sync-external-store/shim/index.js +11 -0
- package/package.json +6 -4
|
@@ -1,404 +1,204 @@
|
|
|
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
|
-
} catch (
|
|
16
|
-
|
|
55
|
+
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);
|
|
56
|
+
} catch (r) {
|
|
57
|
+
o = true, n = r;
|
|
17
58
|
} finally {
|
|
18
59
|
try {
|
|
19
|
-
if (!
|
|
60
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
20
61
|
} finally {
|
|
21
|
-
if (
|
|
62
|
+
if (o) throw n;
|
|
22
63
|
}
|
|
23
64
|
}
|
|
24
|
-
return
|
|
65
|
+
return a;
|
|
25
66
|
}
|
|
26
67
|
}
|
|
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
|
|
68
|
+
function _nonIterableRest() {
|
|
69
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
70
|
+
}
|
|
71
|
+
function _regenerator() {
|
|
72
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
73
|
+
var e,
|
|
74
|
+
t,
|
|
75
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
76
|
+
n = r.iterator || "@@iterator",
|
|
77
|
+
o = r.toStringTag || "@@toStringTag";
|
|
78
|
+
function i(r, n, o, i) {
|
|
79
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
80
|
+
u = Object.create(c.prototype);
|
|
81
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
82
|
+
var i,
|
|
83
|
+
c,
|
|
84
|
+
u,
|
|
85
|
+
f = 0,
|
|
86
|
+
p = o || [],
|
|
87
|
+
y = false,
|
|
88
|
+
G = {
|
|
89
|
+
p: 0,
|
|
90
|
+
n: 0,
|
|
91
|
+
v: e,
|
|
92
|
+
a: d,
|
|
93
|
+
f: d.bind(e, 4),
|
|
94
|
+
d: function (t, r) {
|
|
95
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
96
|
+
}
|
|
136
97
|
};
|
|
98
|
+
function d(r, n) {
|
|
99
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
100
|
+
var o,
|
|
101
|
+
i = p[t],
|
|
102
|
+
d = G.p,
|
|
103
|
+
l = i[2];
|
|
104
|
+
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));
|
|
105
|
+
}
|
|
106
|
+
if (o || r > 1) return a;
|
|
107
|
+
throw y = true, n;
|
|
137
108
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
if (
|
|
144
|
-
|
|
109
|
+
return function (o, p, l) {
|
|
110
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
111
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
112
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
113
|
+
try {
|
|
114
|
+
if (f = 2, i) {
|
|
115
|
+
if (c || (o = "next"), t = i[o]) {
|
|
116
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
117
|
+
if (!t.done) return t;
|
|
118
|
+
u = t.value, c < 2 && (c = 0);
|
|
119
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
120
|
+
i = e;
|
|
121
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
122
|
+
} catch (t) {
|
|
123
|
+
i = e, c = 1, u = t;
|
|
124
|
+
} finally {
|
|
125
|
+
f = 1;
|
|
145
126
|
}
|
|
146
127
|
}
|
|
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);
|
|
187
|
-
}
|
|
188
|
-
function values(iterable) {
|
|
189
|
-
if (iterable || "" === iterable) {
|
|
190
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
191
|
-
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
192
|
-
if ("function" == typeof iterable.next) return iterable;
|
|
193
|
-
if (!isNaN(iterable.length)) {
|
|
194
|
-
var i = -1,
|
|
195
|
-
next = function next() {
|
|
196
|
-
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
197
|
-
return next.value = undefined, next.done = !0, next;
|
|
198
|
-
};
|
|
199
|
-
return next.next = next;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
throw new TypeError(typeof iterable + " is not iterable");
|
|
128
|
+
return {
|
|
129
|
+
value: t,
|
|
130
|
+
done: y
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}(r, o, i), true), u;
|
|
203
134
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
__await: arg
|
|
218
|
-
};
|
|
219
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
220
|
-
return this;
|
|
221
|
-
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
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 () {
|
|
135
|
+
var a = {};
|
|
136
|
+
function Generator() {}
|
|
137
|
+
function GeneratorFunction() {}
|
|
138
|
+
function GeneratorFunctionPrototype() {}
|
|
139
|
+
t = Object.getPrototypeOf;
|
|
140
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
141
|
+
return this;
|
|
142
|
+
}), t),
|
|
143
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
144
|
+
function f(e) {
|
|
145
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
146
|
+
}
|
|
147
|
+
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 () {
|
|
228
148
|
return this;
|
|
229
|
-
}),
|
|
149
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
230
150
|
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;
|
|
151
|
+
}), (_regenerator = function () {
|
|
152
|
+
return {
|
|
153
|
+
w: i,
|
|
154
|
+
m: f
|
|
241
155
|
};
|
|
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;
|
|
156
|
+
})();
|
|
322
157
|
}
|
|
323
|
-
function
|
|
158
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
159
|
+
var i = Object.defineProperty;
|
|
324
160
|
try {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
161
|
+
i({}, "", {});
|
|
162
|
+
} catch (e) {
|
|
163
|
+
i = 0;
|
|
164
|
+
}
|
|
165
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
166
|
+
function o(r, n) {
|
|
167
|
+
_regeneratorDefine(e, r, function (e) {
|
|
168
|
+
return this._invoke(r, n, e);
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
r ? i ? i(e, r, {
|
|
172
|
+
value: n,
|
|
173
|
+
enumerable: !t,
|
|
174
|
+
configurable: !t,
|
|
175
|
+
writable: !t
|
|
176
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
177
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
336
178
|
}
|
|
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
|
-
};
|
|
179
|
+
function _slicedToArray(r, e) {
|
|
180
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
352
181
|
}
|
|
353
|
-
function
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
writable: true
|
|
361
|
-
});
|
|
362
|
-
} else {
|
|
363
|
-
obj[key] = value;
|
|
182
|
+
function _toPrimitive(t, r) {
|
|
183
|
+
if ("object" != typeof t || !t) return t;
|
|
184
|
+
var e = t[Symbol.toPrimitive];
|
|
185
|
+
if (void 0 !== e) {
|
|
186
|
+
var i = e.call(t, r);
|
|
187
|
+
if ("object" != typeof i) return i;
|
|
188
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
364
189
|
}
|
|
365
|
-
return
|
|
366
|
-
}
|
|
367
|
-
function _slicedToArray(arr, i) {
|
|
368
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
369
|
-
}
|
|
370
|
-
function _arrayWithHoles(arr) {
|
|
371
|
-
if (Array.isArray(arr)) return arr;
|
|
372
|
-
}
|
|
373
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
374
|
-
if (!o) return;
|
|
375
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
376
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
377
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
378
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
379
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
190
|
+
return ("string" === r ? String : Number)(t);
|
|
380
191
|
}
|
|
381
|
-
function
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
return arr2;
|
|
192
|
+
function _toPropertyKey(t) {
|
|
193
|
+
var i = _toPrimitive(t, "string");
|
|
194
|
+
return "symbol" == typeof i ? i : i + "";
|
|
385
195
|
}
|
|
386
|
-
function
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
var prim = input[Symbol.toPrimitive];
|
|
392
|
-
if (prim !== undefined) {
|
|
393
|
-
var res = prim.call(input, hint || "default");
|
|
394
|
-
if (typeof res !== "object") return res;
|
|
395
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
196
|
+
function _unsupportedIterableToArray(r, a) {
|
|
197
|
+
if (r) {
|
|
198
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
199
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
200
|
+
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;
|
|
396
201
|
}
|
|
397
|
-
return (hint === "string" ? String : Number)(input);
|
|
398
|
-
}
|
|
399
|
-
function _toPropertyKey(arg) {
|
|
400
|
-
var key = _toPrimitive(arg, "string");
|
|
401
|
-
return typeof key === "symbol" ? key : String(key);
|
|
402
202
|
}
|
|
403
203
|
|
|
404
204
|
exports.arrayLikeToArray = _arrayLikeToArray;
|
|
@@ -407,7 +207,8 @@ exports.asyncToGenerator = _asyncToGenerator;
|
|
|
407
207
|
exports.defineProperty = _defineProperty;
|
|
408
208
|
exports.iterableToArrayLimit = _iterableToArrayLimit;
|
|
409
209
|
exports.nonIterableRest = _nonIterableRest;
|
|
410
|
-
exports.
|
|
210
|
+
exports.regenerator = _regenerator;
|
|
211
|
+
exports.regeneratorDefine = _regeneratorDefine;
|
|
411
212
|
exports.slicedToArray = _slicedToArray;
|
|
412
213
|
exports.toPrimitive = _toPrimitive;
|
|
413
214
|
exports.toPropertyKey = _toPropertyKey;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var apiClient = require('@elice/api-client');
|
|
4
|
-
var reactQuery = require('@tanstack/react-query');
|
|
5
|
-
require('react/jsx-runtime');
|
|
6
|
-
require('react');
|
|
7
|
-
require('../material-config/MaterialConfigContext.js');
|
|
8
|
-
var useMaterialConfig = require('../material-config/useMaterialConfig.js');
|
|
9
|
-
require('react-use');
|
|
10
4
|
var ai_helpy = require('../assets/ai_helpy.png.js');
|
|
11
5
|
var helpyLogoNoBrand = require('../assets/helpy-logo-no-brand.png.js');
|
|
6
|
+
var useMaterialConfig = require('../material-config/useMaterialConfig.js');
|
|
7
|
+
var useQuery = require('../node_modules/@tanstack/react-query/build/lib/useQuery.js');
|
|
12
8
|
|
|
13
9
|
//
|
|
14
10
|
//
|
|
@@ -17,7 +13,7 @@ var useHelpyLogo = function useHelpyLogo() {
|
|
|
17
13
|
var _a;
|
|
18
14
|
var _useMaterialConfig = useMaterialConfig.useMaterialConfig(),
|
|
19
15
|
orgNameShort = _useMaterialConfig.orgNameShort;
|
|
20
|
-
var _useQuery =
|
|
16
|
+
var _useQuery = useQuery.useQuery({
|
|
21
17
|
queryKey: ['getGlobalOrganizationGet', orgNameShort],
|
|
22
18
|
queryFn: function queryFn(_ref) {
|
|
23
19
|
var signal = _ref.signal;
|
package/cjs/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var MaterialConfigProvider = require('./material-config/MaterialConfigProvider.js');
|
|
4
|
+
var utils = require('./material-config/utils.js');
|
|
3
5
|
var useCallbackProp = require('./hooks/useCallbackProp.js');
|
|
4
6
|
var useDeepClonedCompareEffect = require('./hooks/useDeepClonedCompareEffect.js');
|
|
5
7
|
var useHelpyLogo = require('./hooks/useHelpyLogo.js');
|
|
6
|
-
var MaterialConfigProvider = require('./material-config/MaterialConfigProvider.js');
|
|
7
8
|
var useMaterialConfig = require('./material-config/useMaterialConfig.js');
|
|
8
9
|
var useMaterialConfigApiClientUpdate = require('./material-config/useMaterialConfigApiClientUpdate.js');
|
|
9
|
-
var utils = require('./material-config/utils.js');
|
|
10
10
|
var useMaterialFetch = require('./material-fetch/useMaterialFetch.js');
|
|
11
11
|
var useMaterialFetchRaw = require('./material-fetch/useMaterialFetchRaw.js');
|
|
12
12
|
var withMaterial = require('./material-hoc/withMaterial.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
exports.MaterialConfigProvider = MaterialConfigProvider.default;
|
|
17
|
+
exports.updateMaterialConfigSessionKey = utils.updateMaterialConfigSessionKey;
|
|
16
18
|
exports.useCallbackProp = useCallbackProp.useCallbackProp;
|
|
17
19
|
exports.useDeepClonedCompareEffect = useDeepClonedCompareEffect.useDeepClonedCompareEffect;
|
|
18
20
|
exports.useHelpyLogo = useHelpyLogo.useHelpyLogo;
|
|
19
|
-
exports.MaterialConfigProvider = MaterialConfigProvider.default;
|
|
20
21
|
exports.useMaterialConfig = useMaterialConfig.useMaterialConfig;
|
|
21
22
|
exports.useMaterialConfigApiClientUpdate = useMaterialConfigApiClientUpdate.useMaterialConfigApiClientUpdate;
|
|
22
|
-
exports.updateMaterialConfigSessionKey = utils.updateMaterialConfigSessionKey;
|
|
23
23
|
exports.useMaterialFetch = useMaterialFetch.useMaterialFetch;
|
|
24
24
|
exports.useMaterialFetchRaw = useMaterialFetchRaw.useMaterialFetchRaw;
|
|
25
25
|
exports.withForwardRefMaterial = withMaterial.withForwardRefMaterial;
|