[feat] v0.2.0

This commit is contained in:
what 2024-07-12 10:30:05 +08:00
parent f979a4124f
commit a139b8aef7
18 changed files with 3158 additions and 3088 deletions

10
dist/button.js vendored
View File

@ -1,7 +1,7 @@
import { E as s, B as u, C as e } from "./common/main-D2ZjkFcD.js";
import "./common/vender-CijlkmMW.js";
import { E, B, C } from "./common/main-DamvcBIJ.js";
import "./common/vender-CMS8SASe.js";
export {
s as auth,
u as default,
e as useButton
E as auth,
B as default,
C as useButton
};

File diff suppressed because it is too large Load Diff

2245
dist/common/main-DamvcBIJ.js vendored Normal file

File diff suppressed because it is too large Load Diff

835
dist/common/vender-CMS8SASe.js vendored Normal file
View File

@ -0,0 +1,835 @@
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function getDefaultExportFromCjs(x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
}
var propTypes = { exports: {} }, reactIs = { exports: {} }, reactIs_production_min = {};
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var hasRequiredReactIs_production_min;
function requireReactIs_production_min() {
if (hasRequiredReactIs_production_min)
return reactIs_production_min;
hasRequiredReactIs_production_min = 1;
var b = typeof Symbol == "function" && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
function z(a) {
if (typeof a == "object" && a !== null) {
var u = a.$$typeof;
switch (u) {
case c:
switch (a = a.type, a) {
case l:
case m:
case e:
case g:
case f:
case p:
return a;
default:
switch (a = a && a.$$typeof, a) {
case k:
case n:
case t:
case r:
case h:
return a;
default:
return u;
}
}
case d:
return u;
}
}
}
function A(a) {
return z(a) === m;
}
return reactIs_production_min.AsyncMode = l, reactIs_production_min.ConcurrentMode = m, reactIs_production_min.ContextConsumer = k, reactIs_production_min.ContextProvider = h, reactIs_production_min.Element = c, reactIs_production_min.ForwardRef = n, reactIs_production_min.Fragment = e, reactIs_production_min.Lazy = t, reactIs_production_min.Memo = r, reactIs_production_min.Portal = d, reactIs_production_min.Profiler = g, reactIs_production_min.StrictMode = f, reactIs_production_min.Suspense = p, reactIs_production_min.isAsyncMode = function(a) {
return A(a) || z(a) === l;
}, reactIs_production_min.isConcurrentMode = A, reactIs_production_min.isContextConsumer = function(a) {
return z(a) === k;
}, reactIs_production_min.isContextProvider = function(a) {
return z(a) === h;
}, reactIs_production_min.isElement = function(a) {
return typeof a == "object" && a !== null && a.$$typeof === c;
}, reactIs_production_min.isForwardRef = function(a) {
return z(a) === n;
}, reactIs_production_min.isFragment = function(a) {
return z(a) === e;
}, reactIs_production_min.isLazy = function(a) {
return z(a) === t;
}, reactIs_production_min.isMemo = function(a) {
return z(a) === r;
}, reactIs_production_min.isPortal = function(a) {
return z(a) === d;
}, reactIs_production_min.isProfiler = function(a) {
return z(a) === g;
}, reactIs_production_min.isStrictMode = function(a) {
return z(a) === f;
}, reactIs_production_min.isSuspense = function(a) {
return z(a) === p;
}, reactIs_production_min.isValidElementType = function(a) {
return typeof a == "string" || typeof a == "function" || a === e || a === m || a === g || a === f || a === p || a === q || typeof a == "object" && a !== null && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
}, reactIs_production_min.typeOf = z, reactIs_production_min;
}
var reactIs_development = {};
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var hasRequiredReactIs_development;
function requireReactIs_development() {
return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
var hasSymbol = typeof Symbol == "function" && Symbol.for, REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103, REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106, REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107, REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108, REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114, REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109, REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110, REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111, REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111, REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112, REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113, REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120, REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115, REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116, REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121, REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117, REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118, REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
function isValidElementType(type) {
return typeof type == "string" || typeof type == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type == "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
}
function typeOf(object) {
if (typeof object == "object" && object !== null) {
var $$typeof = object.$$typeof;
switch ($$typeof) {
case REACT_ELEMENT_TYPE:
var type = object.type;
switch (type) {
case REACT_ASYNC_MODE_TYPE:
case REACT_CONCURRENT_MODE_TYPE:
case REACT_FRAGMENT_TYPE:
case REACT_PROFILER_TYPE:
case REACT_STRICT_MODE_TYPE:
case REACT_SUSPENSE_TYPE:
return type;
default:
var $$typeofType = type && type.$$typeof;
switch ($$typeofType) {
case REACT_CONTEXT_TYPE:
case REACT_FORWARD_REF_TYPE:
case REACT_LAZY_TYPE:
case REACT_MEMO_TYPE:
case REACT_PROVIDER_TYPE:
return $$typeofType;
default:
return $$typeof;
}
}
case REACT_PORTAL_TYPE:
return $$typeof;
}
}
}
var AsyncMode = REACT_ASYNC_MODE_TYPE, ConcurrentMode = REACT_CONCURRENT_MODE_TYPE, ContextConsumer = REACT_CONTEXT_TYPE, ContextProvider = REACT_PROVIDER_TYPE, Element = REACT_ELEMENT_TYPE, ForwardRef = REACT_FORWARD_REF_TYPE, Fragment = REACT_FRAGMENT_TYPE, Lazy = REACT_LAZY_TYPE, Memo = REACT_MEMO_TYPE, Portal = REACT_PORTAL_TYPE, Profiler = REACT_PROFILER_TYPE, StrictMode = REACT_STRICT_MODE_TYPE, Suspense = REACT_SUSPENSE_TYPE, hasWarnedAboutDeprecatedIsAsyncMode = !1;
function isAsyncMode(object) {
return hasWarnedAboutDeprecatedIsAsyncMode || (hasWarnedAboutDeprecatedIsAsyncMode = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
}
function isConcurrentMode(object) {
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
}
function isContextConsumer(object) {
return typeOf(object) === REACT_CONTEXT_TYPE;
}
function isContextProvider(object) {
return typeOf(object) === REACT_PROVIDER_TYPE;
}
function isElement(object) {
return typeof object == "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
}
function isForwardRef(object) {
return typeOf(object) === REACT_FORWARD_REF_TYPE;
}
function isFragment(object) {
return typeOf(object) === REACT_FRAGMENT_TYPE;
}
function isLazy(object) {
return typeOf(object) === REACT_LAZY_TYPE;
}
function isMemo(object) {
return typeOf(object) === REACT_MEMO_TYPE;
}
function isPortal(object) {
return typeOf(object) === REACT_PORTAL_TYPE;
}
function isProfiler(object) {
return typeOf(object) === REACT_PROFILER_TYPE;
}
function isStrictMode(object) {
return typeOf(object) === REACT_STRICT_MODE_TYPE;
}
function isSuspense(object) {
return typeOf(object) === REACT_SUSPENSE_TYPE;
}
reactIs_development.AsyncMode = AsyncMode, reactIs_development.ConcurrentMode = ConcurrentMode, reactIs_development.ContextConsumer = ContextConsumer, reactIs_development.ContextProvider = ContextProvider, reactIs_development.Element = Element, reactIs_development.ForwardRef = ForwardRef, reactIs_development.Fragment = Fragment, reactIs_development.Lazy = Lazy, reactIs_development.Memo = Memo, reactIs_development.Portal = Portal, reactIs_development.Profiler = Profiler, reactIs_development.StrictMode = StrictMode, reactIs_development.Suspense = Suspense, reactIs_development.isAsyncMode = isAsyncMode, reactIs_development.isConcurrentMode = isConcurrentMode, reactIs_development.isContextConsumer = isContextConsumer, reactIs_development.isContextProvider = isContextProvider, reactIs_development.isElement = isElement, reactIs_development.isForwardRef = isForwardRef, reactIs_development.isFragment = isFragment, reactIs_development.isLazy = isLazy, reactIs_development.isMemo = isMemo, reactIs_development.isPortal = isPortal, reactIs_development.isProfiler = isProfiler, reactIs_development.isStrictMode = isStrictMode, reactIs_development.isSuspense = isSuspense, reactIs_development.isValidElementType = isValidElementType, reactIs_development.typeOf = typeOf;
}()), reactIs_development;
}
var hasRequiredReactIs;
function requireReactIs() {
return hasRequiredReactIs || (hasRequiredReactIs = 1, process.env.NODE_ENV === "production" ? reactIs.exports = requireReactIs_production_min() : reactIs.exports = requireReactIs_development()), reactIs.exports;
}
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var objectAssign, hasRequiredObjectAssign;
function requireObjectAssign() {
if (hasRequiredObjectAssign)
return objectAssign;
hasRequiredObjectAssign = 1;
var getOwnPropertySymbols = Object.getOwnPropertySymbols, hasOwnProperty = Object.prototype.hasOwnProperty, propIsEnumerable = Object.prototype.propertyIsEnumerable;
function toObject(val) {
if (val == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(val);
}
function shouldUseNative() {
try {
if (!Object.assign)
return !1;
var test1 = new String("abc");
if (test1[5] = "de", Object.getOwnPropertyNames(test1)[0] === "5")
return !1;
for (var test2 = {}, i = 0; i < 10; i++)
test2["_" + String.fromCharCode(i)] = i;
var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
return test2[n];
});
if (order2.join("") !== "0123456789")
return !1;
var test3 = {};
return "abcdefghijklmnopqrst".split("").forEach(function(letter) {
test3[letter] = letter;
}), Object.keys(Object.assign({}, test3)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
for (var from, to = toObject(target), symbols, s = 1; s < arguments.length; s++) {
from = Object(arguments[s]);
for (var key in from)
hasOwnProperty.call(from, key) && (to[key] = from[key]);
if (getOwnPropertySymbols) {
symbols = getOwnPropertySymbols(from);
for (var i = 0; i < symbols.length; i++)
propIsEnumerable.call(from, symbols[i]) && (to[symbols[i]] = from[symbols[i]]);
}
}
return to;
}, objectAssign;
}
var ReactPropTypesSecret_1, hasRequiredReactPropTypesSecret;
function requireReactPropTypesSecret() {
if (hasRequiredReactPropTypesSecret)
return ReactPropTypesSecret_1;
hasRequiredReactPropTypesSecret = 1;
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
return ReactPropTypesSecret_1 = ReactPropTypesSecret, ReactPropTypesSecret_1;
}
var has, hasRequiredHas;
function requireHas() {
return hasRequiredHas || (hasRequiredHas = 1, has = Function.call.bind(Object.prototype.hasOwnProperty)), has;
}
var checkPropTypes_1, hasRequiredCheckPropTypes;
function requireCheckPropTypes() {
if (hasRequiredCheckPropTypes)
return checkPropTypes_1;
hasRequiredCheckPropTypes = 1;
var printWarning = function() {
};
if (process.env.NODE_ENV !== "production") {
var ReactPropTypesSecret = requireReactPropTypesSecret(), loggedTypeFailures = {}, has2 = requireHas();
printWarning = function(text) {
var message = "Warning: " + text;
typeof console < "u" && console.error(message);
try {
throw new Error(message);
} catch {
}
};
}
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
if (process.env.NODE_ENV !== "production") {
for (var typeSpecName in typeSpecs)
if (has2(typeSpecs, typeSpecName)) {
var error;
try {
if (typeof typeSpecs[typeSpecName] != "function") {
var err = Error(
(componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
);
throw err.name = "Invariant Violation", err;
}
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
} catch (ex) {
error = ex;
}
if (error && !(error instanceof Error) && printWarning(
(componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
), error instanceof Error && !(error.message in loggedTypeFailures)) {
loggedTypeFailures[error.message] = !0;
var stack = getStack ? getStack() : "";
printWarning(
"Failed " + location + " type: " + error.message + (stack ?? "")
);
}
}
}
}
return checkPropTypes.resetWarningCache = function() {
process.env.NODE_ENV !== "production" && (loggedTypeFailures = {});
}, checkPropTypes_1 = checkPropTypes, checkPropTypes_1;
}
var factoryWithTypeCheckers, hasRequiredFactoryWithTypeCheckers;
function requireFactoryWithTypeCheckers() {
if (hasRequiredFactoryWithTypeCheckers)
return factoryWithTypeCheckers;
hasRequiredFactoryWithTypeCheckers = 1;
var ReactIs = requireReactIs(), assign = requireObjectAssign(), ReactPropTypesSecret = requireReactPropTypesSecret(), has2 = requireHas(), checkPropTypes = requireCheckPropTypes(), printWarning = function() {
};
process.env.NODE_ENV !== "production" && (printWarning = function(text) {
var message = "Warning: " + text;
typeof console < "u" && console.error(message);
try {
throw new Error(message);
} catch {
}
});
function emptyFunctionThatReturnsNull() {
return null;
}
return factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
var ITERATOR_SYMBOL = typeof Symbol == "function" && Symbol.iterator, FAUX_ITERATOR_SYMBOL = "@@iterator";
function getIteratorFn(maybeIterable) {
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
if (typeof iteratorFn == "function")
return iteratorFn;
}
var ANONYMOUS = "<<anonymous>>", ReactPropTypes = {
array: createPrimitiveTypeChecker("array"),
bigint: createPrimitiveTypeChecker("bigint"),
bool: createPrimitiveTypeChecker("boolean"),
func: createPrimitiveTypeChecker("function"),
number: createPrimitiveTypeChecker("number"),
object: createPrimitiveTypeChecker("object"),
string: createPrimitiveTypeChecker("string"),
symbol: createPrimitiveTypeChecker("symbol"),
any: createAnyTypeChecker(),
arrayOf: createArrayOfTypeChecker,
element: createElementTypeChecker(),
elementType: createElementTypeTypeChecker(),
instanceOf: createInstanceTypeChecker,
node: createNodeChecker(),
objectOf: createObjectOfTypeChecker,
oneOf: createEnumTypeChecker,
oneOfType: createUnionTypeChecker,
shape: createShapeTypeChecker,
exact: createStrictShapeTypeChecker
};
function is(x, y) {
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
}
function PropTypeError(message, data) {
this.message = message, this.data = data && typeof data == "object" ? data : {}, this.stack = "";
}
PropTypeError.prototype = Error.prototype;
function createChainableTypeChecker(validate) {
if (process.env.NODE_ENV !== "production")
var manualPropTypeCallCache = {}, manualPropTypeWarningCount = 0;
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
if (componentName = componentName || ANONYMOUS, propFullName = propFullName || propName, secret !== ReactPropTypesSecret) {
if (throwOnDirectAccess) {
var err = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
);
throw err.name = "Invariant Violation", err;
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
var cacheKey = componentName + ":" + propName;
!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
manualPropTypeWarningCount < 3 && (printWarning(
"You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
), manualPropTypeCallCache[cacheKey] = !0, manualPropTypeWarningCount++);
}
}
return props[propName] == null ? isRequired ? props[propName] === null ? new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`.")) : new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`.")) : null : validate(props, propName, componentName, location, propFullName);
}
var chainedCheckType = checkType.bind(null, !1);
return chainedCheckType.isRequired = checkType.bind(null, !0), chainedCheckType;
}
function createPrimitiveTypeChecker(expectedType) {
function validate(props, propName, componentName, location, propFullName, secret) {
var propValue = props[propName], propType = getPropType(propValue);
if (propType !== expectedType) {
var preciseType = getPreciseType(propValue);
return new PropTypeError(
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
{ expectedType }
);
}
return null;
}
return createChainableTypeChecker(validate);
}
function createAnyTypeChecker() {
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
}
function createArrayOfTypeChecker(typeChecker) {
function validate(props, propName, componentName, location, propFullName) {
if (typeof typeChecker != "function")
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
var propValue = props[propName];
if (!Array.isArray(propValue)) {
var propType = getPropType(propValue);
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
}
for (var i = 0; i < propValue.length; i++) {
var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
if (error instanceof Error)
return error;
}
return null;
}
return createChainableTypeChecker(validate);
}
function createElementTypeChecker() {
function validate(props, propName, componentName, location, propFullName) {
var propValue = props[propName];
if (!isValidElement(propValue)) {
var propType = getPropType(propValue);
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
}
return null;
}
return createChainableTypeChecker(validate);
}
function createElementTypeTypeChecker() {
function validate(props, propName, componentName, location, propFullName) {
var propValue = props[propName];
if (!ReactIs.isValidElementType(propValue)) {
var propType = getPropType(propValue);
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
}
return null;
}
return createChainableTypeChecker(validate);
}
function createInstanceTypeChecker(expectedClass) {
function validate(props, propName, componentName, location, propFullName) {
if (!(props[propName] instanceof expectedClass)) {
var expectedClassName = expectedClass.name || ANONYMOUS, actualClassName = getClassName(props[propName]);
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
}
return null;
}
return createChainableTypeChecker(validate);
}
function createEnumTypeChecker(expectedValues) {
if (!Array.isArray(expectedValues))
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? printWarning(
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
) : printWarning("Invalid argument supplied to oneOf, expected an array.")), emptyFunctionThatReturnsNull;
function validate(props, propName, componentName, location, propFullName) {
for (var propValue = props[propName], i = 0; i < expectedValues.length; i++)
if (is(propValue, expectedValues[i]))
return null;
var valuesString = JSON.stringify(expectedValues, function(key, value) {
var type = getPreciseType(value);
return type === "symbol" ? String(value) : value;
});
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
}
return createChainableTypeChecker(validate);
}
function createObjectOfTypeChecker(typeChecker) {
function validate(props, propName, componentName, location, propFullName) {
if (typeof typeChecker != "function")
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
var propValue = props[propName], propType = getPropType(propValue);
if (propType !== "object")
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
for (var key in propValue)
if (has2(propValue, key)) {
var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
if (error instanceof Error)
return error;
}
return null;
}
return createChainableTypeChecker(validate);
}
function createUnionTypeChecker(arrayOfTypeCheckers) {
if (!Array.isArray(arrayOfTypeCheckers))
return process.env.NODE_ENV !== "production" && printWarning("Invalid argument supplied to oneOfType, expected an instance of array."), emptyFunctionThatReturnsNull;
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
var checker = arrayOfTypeCheckers[i];
if (typeof checker != "function")
return printWarning(
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
), emptyFunctionThatReturnsNull;
}
function validate(props, propName, componentName, location, propFullName) {
for (var expectedTypes = [], i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
var checker2 = arrayOfTypeCheckers[i2], checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
if (checkerResult == null)
return null;
checkerResult.data && has2(checkerResult.data, "expectedType") && expectedTypes.push(checkerResult.data.expectedType);
}
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
}
return createChainableTypeChecker(validate);
}
function createNodeChecker() {
function validate(props, propName, componentName, location, propFullName) {
return isNode(props[propName]) ? null : new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
}
return createChainableTypeChecker(validate);
}
function invalidValidatorError(componentName, location, propFullName, key, type) {
return new PropTypeError(
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
);
}
function createShapeTypeChecker(shapeTypes) {
function validate(props, propName, componentName, location, propFullName) {
var propValue = props[propName], propType = getPropType(propValue);
if (propType !== "object")
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
for (var key in shapeTypes) {
var checker = shapeTypes[key];
if (typeof checker != "function")
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
if (error)
return error;
}
return null;
}
return createChainableTypeChecker(validate);
}
function createStrictShapeTypeChecker(shapeTypes) {
function validate(props, propName, componentName, location, propFullName) {
var propValue = props[propName], propType = getPropType(propValue);
if (propType !== "object")
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
var allKeys = assign({}, props[propName], shapeTypes);
for (var key in allKeys) {
var checker = shapeTypes[key];
if (has2(shapeTypes, key) && typeof checker != "function")
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
if (!checker)
return new PropTypeError(
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + `
Valid keys: ` + JSON.stringify(Object.keys(shapeTypes), null, " ")
);
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
if (error)
return error;
}
return null;
}
return createChainableTypeChecker(validate);
}
function isNode(propValue) {
switch (typeof propValue) {
case "number":
case "string":
case "undefined":
return !0;
case "boolean":
return !propValue;
case "object":
if (Array.isArray(propValue))
return propValue.every(isNode);
if (propValue === null || isValidElement(propValue))
return !0;
var iteratorFn = getIteratorFn(propValue);
if (iteratorFn) {
var iterator = iteratorFn.call(propValue), step;
if (iteratorFn !== propValue.entries) {
for (; !(step = iterator.next()).done; )
if (!isNode(step.value))
return !1;
} else
for (; !(step = iterator.next()).done; ) {
var entry = step.value;
if (entry && !isNode(entry[1]))
return !1;
}
} else
return !1;
return !0;
default:
return !1;
}
}
function isSymbol(propType, propValue) {
return propType === "symbol" ? !0 : propValue ? propValue["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && propValue instanceof Symbol : !1;
}
function getPropType(propValue) {
var propType = typeof propValue;
return Array.isArray(propValue) ? "array" : propValue instanceof RegExp ? "object" : isSymbol(propType, propValue) ? "symbol" : propType;
}
function getPreciseType(propValue) {
if (typeof propValue > "u" || propValue === null)
return "" + propValue;
var propType = getPropType(propValue);
if (propType === "object") {
if (propValue instanceof Date)
return "date";
if (propValue instanceof RegExp)
return "regexp";
}
return propType;
}
function getPostfixForTypeWarning(value) {
var type = getPreciseType(value);
switch (type) {
case "array":
case "object":
return "an " + type;
case "boolean":
case "date":
case "regexp":
return "a " + type;
default:
return type;
}
}
function getClassName(propValue) {
return !propValue.constructor || !propValue.constructor.name ? ANONYMOUS : propValue.constructor.name;
}
return ReactPropTypes.checkPropTypes = checkPropTypes, ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache, ReactPropTypes.PropTypes = ReactPropTypes, ReactPropTypes;
}, factoryWithTypeCheckers;
}
var factoryWithThrowingShims, hasRequiredFactoryWithThrowingShims;
function requireFactoryWithThrowingShims() {
if (hasRequiredFactoryWithThrowingShims)
return factoryWithThrowingShims;
hasRequiredFactoryWithThrowingShims = 1;
var ReactPropTypesSecret = requireReactPropTypesSecret();
function emptyFunction() {
}
function emptyFunctionWithReset() {
}
return emptyFunctionWithReset.resetWarningCache = emptyFunction, factoryWithThrowingShims = function() {
function shim(props, propName, componentName, location, propFullName, secret) {
if (secret !== ReactPropTypesSecret) {
var err = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
);
throw err.name = "Invariant Violation", err;
}
}
shim.isRequired = shim;
function getShim() {
return shim;
}
var ReactPropTypes = {
array: shim,
bigint: shim,
bool: shim,
func: shim,
number: shim,
object: shim,
string: shim,
symbol: shim,
any: shim,
arrayOf: getShim,
element: shim,
elementType: shim,
instanceOf: getShim,
node: shim,
objectOf: getShim,
oneOf: getShim,
oneOfType: getShim,
shape: getShim,
exact: getShim,
checkPropTypes: emptyFunctionWithReset,
resetWarningCache: emptyFunction
};
return ReactPropTypes.PropTypes = ReactPropTypes, ReactPropTypes;
}, factoryWithThrowingShims;
}
if (process.env.NODE_ENV !== "production") {
var ReactIs = requireReactIs(), throwOnDirectAccess = !0;
propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
} else
propTypes.exports = requireFactoryWithThrowingShims()();
var propTypesExports = propTypes.exports;
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
var nprogress = { exports: {} };
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
(function(module, exports) {
(function(root, factory) {
module.exports = factory();
})(commonjsGlobal, function() {
var NProgress2 = {};
NProgress2.version = "0.2.0";
var Settings = NProgress2.settings = {
minimum: 0.08,
easing: "ease",
positionUsing: "",
speed: 200,
trickle: !0,
trickleRate: 0.02,
trickleSpeed: 800,
showSpinner: !0,
barSelector: '[role="bar"]',
spinnerSelector: '[role="spinner"]',
parent: "body",
template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
};
NProgress2.configure = function(options) {
var key, value;
for (key in options)
value = options[key], value !== void 0 && options.hasOwnProperty(key) && (Settings[key] = value);
return this;
}, NProgress2.status = null, NProgress2.set = function(n) {
var started = NProgress2.isStarted();
n = clamp(n, Settings.minimum, 1), NProgress2.status = n === 1 ? null : n;
var progress = NProgress2.render(!started), bar = progress.querySelector(Settings.barSelector), speed = Settings.speed, ease = Settings.easing;
return progress.offsetWidth, queue(function(next) {
Settings.positionUsing === "" && (Settings.positionUsing = NProgress2.getPositioningCSS()), css(bar, barPositionCSS(n, speed, ease)), n === 1 ? (css(progress, {
transition: "none",
opacity: 1
}), progress.offsetWidth, setTimeout(function() {
css(progress, {
transition: "all " + speed + "ms linear",
opacity: 0
}), setTimeout(function() {
NProgress2.remove(), next();
}, speed);
}, speed)) : setTimeout(next, speed);
}), this;
}, NProgress2.isStarted = function() {
return typeof NProgress2.status == "number";
}, NProgress2.start = function() {
NProgress2.status || NProgress2.set(0);
var work = function() {
setTimeout(function() {
NProgress2.status && (NProgress2.trickle(), work());
}, Settings.trickleSpeed);
};
return Settings.trickle && work(), this;
}, NProgress2.done = function(force) {
return !force && !NProgress2.status ? this : NProgress2.inc(0.3 + 0.5 * Math.random()).set(1);
}, NProgress2.inc = function(amount) {
var n = NProgress2.status;
return n ? (typeof amount != "number" && (amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95)), n = clamp(n + amount, 0, 0.994), NProgress2.set(n)) : NProgress2.start();
}, NProgress2.trickle = function() {
return NProgress2.inc(Math.random() * Settings.trickleRate);
}, function() {
var initial = 0, current = 0;
NProgress2.promise = function($promise) {
return !$promise || $promise.state() === "resolved" ? this : (current === 0 && NProgress2.start(), initial++, current++, $promise.always(function() {
current--, current === 0 ? (initial = 0, NProgress2.done()) : NProgress2.set((initial - current) / initial);
}), this);
};
}(), NProgress2.render = function(fromStart) {
if (NProgress2.isRendered())
return document.getElementById("nprogress");
addClass(document.documentElement, "nprogress-busy");
var progress = document.createElement("div");
progress.id = "nprogress", progress.innerHTML = Settings.template;
var bar = progress.querySelector(Settings.barSelector), perc = fromStart ? "-100" : toBarPerc(NProgress2.status || 0), parent = document.querySelector(Settings.parent), spinner;
return css(bar, {
transition: "all 0 linear",
transform: "translate3d(" + perc + "%,0,0)"
}), Settings.showSpinner || (spinner = progress.querySelector(Settings.spinnerSelector), spinner && removeElement(spinner)), parent != document.body && addClass(parent, "nprogress-custom-parent"), parent.appendChild(progress), progress;
}, NProgress2.remove = function() {
removeClass(document.documentElement, "nprogress-busy"), removeClass(document.querySelector(Settings.parent), "nprogress-custom-parent");
var progress = document.getElementById("nprogress");
progress && removeElement(progress);
}, NProgress2.isRendered = function() {
return !!document.getElementById("nprogress");
}, NProgress2.getPositioningCSS = function() {
var bodyStyle = document.body.style, vendorPrefix = "WebkitTransform" in bodyStyle ? "Webkit" : "MozTransform" in bodyStyle ? "Moz" : "msTransform" in bodyStyle ? "ms" : "OTransform" in bodyStyle ? "O" : "";
return vendorPrefix + "Perspective" in bodyStyle ? "translate3d" : vendorPrefix + "Transform" in bodyStyle ? "translate" : "margin";
};
function clamp(n, min, max) {
return n < min ? min : n > max ? max : n;
}
function toBarPerc(n) {
return (-1 + n) * 100;
}
function barPositionCSS(n, speed, ease) {
var barCSS;
return Settings.positionUsing === "translate3d" ? barCSS = { transform: "translate3d(" + toBarPerc(n) + "%,0,0)" } : Settings.positionUsing === "translate" ? barCSS = { transform: "translate(" + toBarPerc(n) + "%,0)" } : barCSS = { "margin-left": toBarPerc(n) + "%" }, barCSS.transition = "all " + speed + "ms " + ease, barCSS;
}
var queue = /* @__PURE__ */ function() {
var pending = [];
function next() {
var fn = pending.shift();
fn && fn(next);
}
return function(fn) {
pending.push(fn), pending.length == 1 && next();
};
}(), css = /* @__PURE__ */ function() {
var cssPrefixes = ["Webkit", "O", "Moz", "ms"], cssProps = {};
function camelCase(string) {
return string.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(match, letter) {
return letter.toUpperCase();
});
}
function getVendorProp(name) {
var style = document.body.style;
if (name in style)
return name;
for (var i = cssPrefixes.length, capName = name.charAt(0).toUpperCase() + name.slice(1), vendorName; i--; )
if (vendorName = cssPrefixes[i] + capName, vendorName in style)
return vendorName;
return name;
}
function getStyleProp(name) {
return name = camelCase(name), cssProps[name] || (cssProps[name] = getVendorProp(name));
}
function applyCss(element, prop, value) {
prop = getStyleProp(prop), element.style[prop] = value;
}
return function(element, properties) {
var args = arguments, prop, value;
if (args.length == 2)
for (prop in properties)
value = properties[prop], value !== void 0 && properties.hasOwnProperty(prop) && applyCss(element, prop, value);
else
applyCss(element, args[1], args[2]);
};
}();
function hasClass(element, name) {
var list = typeof element == "string" ? element : classList(element);
return list.indexOf(" " + name + " ") >= 0;
}
function addClass(element, name) {
var oldList = classList(element), newList = oldList + name;
hasClass(oldList, name) || (element.className = newList.substring(1));
}
function removeClass(element, name) {
var oldList = classList(element), newList;
hasClass(element, name) && (newList = oldList.replace(" " + name + " ", " "), element.className = newList.substring(1, newList.length - 1));
}
function classList(element) {
return (" " + (element.className || "") + " ").replace(/\s+/gi, " ");
}
function removeElement(element) {
element && element.parentNode && element.parentNode.removeChild(element);
}
return NProgress2;
});
})(nprogress);
var nprogressExports = nprogress.exports;
const NProgress = /* @__PURE__ */ getDefaultExportFromCjs(nprogressExports);
export {
NProgress as N,
PropTypes as P
};

View File

@ -1,835 +0,0 @@
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function ge(s) {
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
}
var ae = { exports: {} }, H = { exports: {} }, O = {};
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var ce;
function Pe() {
if (ce)
return O;
ce = 1;
var s = typeof Symbol == "function" && Symbol.for, k = s ? Symbol.for("react.element") : 60103, i = s ? Symbol.for("react.portal") : 60106, u = s ? Symbol.for("react.fragment") : 60107, _ = s ? Symbol.for("react.strict_mode") : 60108, f = s ? Symbol.for("react.profiler") : 60114, A = s ? Symbol.for("react.provider") : 60109, y = s ? Symbol.for("react.context") : 60110, x = s ? Symbol.for("react.async_mode") : 60111, C = s ? Symbol.for("react.concurrent_mode") : 60111, g = s ? Symbol.for("react.forward_ref") : 60112, S = s ? Symbol.for("react.suspense") : 60113, M = s ? Symbol.for("react.suspense_list") : 60120, j = s ? Symbol.for("react.memo") : 60115, r = s ? Symbol.for("react.lazy") : 60116, n = s ? Symbol.for("react.block") : 60121, c = s ? Symbol.for("react.fundamental") : 60117, P = s ? Symbol.for("react.responder") : 60118, q = s ? Symbol.for("react.scope") : 60119;
function I(t) {
if (typeof t == "object" && t !== null) {
var $ = t.$$typeof;
switch ($) {
case k:
switch (t = t.type, t) {
case x:
case C:
case u:
case f:
case _:
case S:
return t;
default:
switch (t = t && t.$$typeof, t) {
case y:
case g:
case r:
case j:
case A:
return t;
default:
return $;
}
}
case i:
return $;
}
}
}
function l(t) {
return I(t) === C;
}
return O.AsyncMode = x, O.ConcurrentMode = C, O.ContextConsumer = y, O.ContextProvider = A, O.Element = k, O.ForwardRef = g, O.Fragment = u, O.Lazy = r, O.Memo = j, O.Portal = i, O.Profiler = f, O.StrictMode = _, O.Suspense = S, O.isAsyncMode = function(t) {
return l(t) || I(t) === x;
}, O.isConcurrentMode = l, O.isContextConsumer = function(t) {
return I(t) === y;
}, O.isContextProvider = function(t) {
return I(t) === A;
}, O.isElement = function(t) {
return typeof t == "object" && t !== null && t.$$typeof === k;
}, O.isForwardRef = function(t) {
return I(t) === g;
}, O.isFragment = function(t) {
return I(t) === u;
}, O.isLazy = function(t) {
return I(t) === r;
}, O.isMemo = function(t) {
return I(t) === j;
}, O.isPortal = function(t) {
return I(t) === i;
}, O.isProfiler = function(t) {
return I(t) === f;
}, O.isStrictMode = function(t) {
return I(t) === _;
}, O.isSuspense = function(t) {
return I(t) === S;
}, O.isValidElementType = function(t) {
return typeof t == "string" || typeof t == "function" || t === u || t === C || t === f || t === _ || t === S || t === M || typeof t == "object" && t !== null && (t.$$typeof === r || t.$$typeof === j || t.$$typeof === A || t.$$typeof === y || t.$$typeof === g || t.$$typeof === c || t.$$typeof === P || t.$$typeof === q || t.$$typeof === n);
}, O.typeOf = I, O;
}
var R = {};
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var fe;
function Oe() {
return fe || (fe = 1, process.env.NODE_ENV !== "production" && function() {
var s = typeof Symbol == "function" && Symbol.for, k = s ? Symbol.for("react.element") : 60103, i = s ? Symbol.for("react.portal") : 60106, u = s ? Symbol.for("react.fragment") : 60107, _ = s ? Symbol.for("react.strict_mode") : 60108, f = s ? Symbol.for("react.profiler") : 60114, A = s ? Symbol.for("react.provider") : 60109, y = s ? Symbol.for("react.context") : 60110, x = s ? Symbol.for("react.async_mode") : 60111, C = s ? Symbol.for("react.concurrent_mode") : 60111, g = s ? Symbol.for("react.forward_ref") : 60112, S = s ? Symbol.for("react.suspense") : 60113, M = s ? Symbol.for("react.suspense_list") : 60120, j = s ? Symbol.for("react.memo") : 60115, r = s ? Symbol.for("react.lazy") : 60116, n = s ? Symbol.for("react.block") : 60121, c = s ? Symbol.for("react.fundamental") : 60117, P = s ? Symbol.for("react.responder") : 60118, q = s ? Symbol.for("react.scope") : 60119;
function I(o) {
return typeof o == "string" || typeof o == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
o === u || o === C || o === f || o === _ || o === S || o === M || typeof o == "object" && o !== null && (o.$$typeof === r || o.$$typeof === j || o.$$typeof === A || o.$$typeof === y || o.$$typeof === g || o.$$typeof === c || o.$$typeof === P || o.$$typeof === q || o.$$typeof === n);
}
function l(o) {
if (typeof o == "object" && o !== null) {
var U = o.$$typeof;
switch (U) {
case k:
var V = o.type;
switch (V) {
case x:
case C:
case u:
case f:
case _:
case S:
return V;
default:
var ue = V && V.$$typeof;
switch (ue) {
case y:
case g:
case r:
case j:
case A:
return ue;
default:
return U;
}
}
case i:
return U;
}
}
}
var t = x, $ = C, D = y, W = A, J = k, G = g, N = u, X = r, K = j, F = i, Z = f, L = _, z = S, B = !1;
function Q(o) {
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(o) || l(o) === x;
}
function e(o) {
return l(o) === C;
}
function a(o) {
return l(o) === y;
}
function b(o) {
return l(o) === A;
}
function v(o) {
return typeof o == "object" && o !== null && o.$$typeof === k;
}
function d(o) {
return l(o) === g;
}
function h(o) {
return l(o) === u;
}
function p(o) {
return l(o) === r;
}
function m(o) {
return l(o) === j;
}
function T(o) {
return l(o) === i;
}
function w(o) {
return l(o) === f;
}
function E(o) {
return l(o) === _;
}
function Y(o) {
return l(o) === S;
}
R.AsyncMode = t, R.ConcurrentMode = $, R.ContextConsumer = D, R.ContextProvider = W, R.Element = J, R.ForwardRef = G, R.Fragment = N, R.Lazy = X, R.Memo = K, R.Portal = F, R.Profiler = Z, R.StrictMode = L, R.Suspense = z, R.isAsyncMode = Q, R.isConcurrentMode = e, R.isContextConsumer = a, R.isContextProvider = b, R.isElement = v, R.isForwardRef = d, R.isFragment = h, R.isLazy = p, R.isMemo = m, R.isPortal = T, R.isProfiler = w, R.isStrictMode = E, R.isSuspense = Y, R.isValidElementType = I, R.typeOf = l;
}()), R;
}
var le;
function he() {
return le || (le = 1, process.env.NODE_ENV === "production" ? H.exports = Pe() : H.exports = Oe()), H.exports;
}
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var ee, de;
function Re() {
if (de)
return ee;
de = 1;
var s = Object.getOwnPropertySymbols, k = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
function u(f) {
if (f == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(f);
}
function _() {
try {
if (!Object.assign)
return !1;
var f = new String("abc");
if (f[5] = "de", Object.getOwnPropertyNames(f)[0] === "5")
return !1;
for (var A = {}, y = 0; y < 10; y++)
A["_" + String.fromCharCode(y)] = y;
var x = Object.getOwnPropertyNames(A).map(function(g) {
return A[g];
});
if (x.join("") !== "0123456789")
return !1;
var C = {};
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
C[g] = g;
}), Object.keys(Object.assign({}, C)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return ee = _() ? Object.assign : function(f, A) {
for (var y, x = u(f), C, g = 1; g < arguments.length; g++) {
y = Object(arguments[g]);
for (var S in y)
k.call(y, S) && (x[S] = y[S]);
if (s) {
C = s(y);
for (var M = 0; M < C.length; M++)
i.call(y, C[M]) && (x[C[M]] = y[C[M]]);
}
}
return x;
}, ee;
}
var re, pe;
function se() {
if (pe)
return re;
pe = 1;
var s = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
return re = s, re;
}
var te, ye;
function Te() {
return ye || (ye = 1, te = Function.call.bind(Object.prototype.hasOwnProperty)), te;
}
var ne, ve;
function _e() {
if (ve)
return ne;
ve = 1;
var s = function() {
};
if (process.env.NODE_ENV !== "production") {
var k = se(), i = {}, u = Te();
s = function(f) {
var A = "Warning: " + f;
typeof console < "u" && console.error(A);
try {
throw new Error(A);
} catch {
}
};
}
function _(f, A, y, x, C) {
if (process.env.NODE_ENV !== "production") {
for (var g in f)
if (u(f, g)) {
var S;
try {
if (typeof f[g] != "function") {
var M = Error(
(x || "React class") + ": " + y + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
);
throw M.name = "Invariant Violation", M;
}
S = f[g](A, g, x, y, null, k);
} catch (r) {
S = r;
}
if (S && !(S instanceof Error) && s(
(x || "React class") + ": type specification of " + y + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof S + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
), S instanceof Error && !(S.message in i)) {
i[S.message] = !0;
var j = C ? C() : "";
s(
"Failed " + y + " type: " + S.message + (j ?? "")
);
}
}
}
}
return _.resetWarningCache = function() {
process.env.NODE_ENV !== "production" && (i = {});
}, ne = _, ne;
}
var oe, me;
function Ce() {
if (me)
return oe;
me = 1;
var s = he(), k = Re(), i = se(), u = Te(), _ = _e(), f = function() {
};
process.env.NODE_ENV !== "production" && (f = function(y) {
var x = "Warning: " + y;
typeof console < "u" && console.error(x);
try {
throw new Error(x);
} catch {
}
});
function A() {
return null;
}
return oe = function(y, x) {
var C = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
function S(e) {
var a = e && (C && e[C] || e[g]);
if (typeof a == "function")
return a;
}
var M = "<<anonymous>>", j = {
array: P("array"),
bigint: P("bigint"),
bool: P("boolean"),
func: P("function"),
number: P("number"),
object: P("object"),
string: P("string"),
symbol: P("symbol"),
any: q(),
arrayOf: I,
element: l(),
elementType: t(),
instanceOf: $,
node: G(),
objectOf: W,
oneOf: D,
oneOfType: J,
shape: X,
exact: K
};
function r(e, a) {
return e === a ? e !== 0 || 1 / e === 1 / a : e !== e && a !== a;
}
function n(e, a) {
this.message = e, this.data = a && typeof a == "object" ? a : {}, this.stack = "";
}
n.prototype = Error.prototype;
function c(e) {
if (process.env.NODE_ENV !== "production")
var a = {}, b = 0;
function v(h, p, m, T, w, E, Y) {
if (T = T || M, E = E || m, Y !== i) {
if (x) {
var o = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
);
throw o.name = "Invariant Violation", o;
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
var U = T + ":" + m;
!a[U] && // Avoid spamming the console because they are often not actionable except for lib authors
b < 3 && (f(
"You are manually calling a React.PropTypes validation function for the `" + E + "` prop on `" + T + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
), a[U] = !0, b++);
}
}
return p[m] == null ? h ? p[m] === null ? new n("The " + w + " `" + E + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new n("The " + w + " `" + E + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : e(p, m, T, w, E);
}
var d = v.bind(null, !1);
return d.isRequired = v.bind(null, !0), d;
}
function P(e) {
function a(b, v, d, h, p, m) {
var T = b[v], w = L(T);
if (w !== e) {
var E = z(T);
return new n(
"Invalid " + h + " `" + p + "` of type " + ("`" + E + "` supplied to `" + d + "`, expected ") + ("`" + e + "`."),
{ expectedType: e }
);
}
return null;
}
return c(a);
}
function q() {
return c(A);
}
function I(e) {
function a(b, v, d, h, p) {
if (typeof e != "function")
return new n("Property `" + p + "` of component `" + d + "` has invalid PropType notation inside arrayOf.");
var m = b[v];
if (!Array.isArray(m)) {
var T = L(m);
return new n("Invalid " + h + " `" + p + "` of type " + ("`" + T + "` supplied to `" + d + "`, expected an array."));
}
for (var w = 0; w < m.length; w++) {
var E = e(m, w, d, h, p + "[" + w + "]", i);
if (E instanceof Error)
return E;
}
return null;
}
return c(a);
}
function l() {
function e(a, b, v, d, h) {
var p = a[b];
if (!y(p)) {
var m = L(p);
return new n("Invalid " + d + " `" + h + "` of type " + ("`" + m + "` supplied to `" + v + "`, expected a single ReactElement."));
}
return null;
}
return c(e);
}
function t() {
function e(a, b, v, d, h) {
var p = a[b];
if (!s.isValidElementType(p)) {
var m = L(p);
return new n("Invalid " + d + " `" + h + "` of type " + ("`" + m + "` supplied to `" + v + "`, expected a single ReactElement type."));
}
return null;
}
return c(e);
}
function $(e) {
function a(b, v, d, h, p) {
if (!(b[v] instanceof e)) {
var m = e.name || M, T = Q(b[v]);
return new n("Invalid " + h + " `" + p + "` of type " + ("`" + T + "` supplied to `" + d + "`, expected ") + ("instance of `" + m + "`."));
}
return null;
}
return c(a);
}
function D(e) {
if (!Array.isArray(e))
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? f(
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
) : f("Invalid argument supplied to oneOf, expected an array.")), A;
function a(b, v, d, h, p) {
for (var m = b[v], T = 0; T < e.length; T++)
if (r(m, e[T]))
return null;
var w = JSON.stringify(e, function(Y, o) {
var U = z(o);
return U === "symbol" ? String(o) : o;
});
return new n("Invalid " + h + " `" + p + "` of value `" + String(m) + "` " + ("supplied to `" + d + "`, expected one of " + w + "."));
}
return c(a);
}
function W(e) {
function a(b, v, d, h, p) {
if (typeof e != "function")
return new n("Property `" + p + "` of component `" + d + "` has invalid PropType notation inside objectOf.");
var m = b[v], T = L(m);
if (T !== "object")
return new n("Invalid " + h + " `" + p + "` of type " + ("`" + T + "` supplied to `" + d + "`, expected an object."));
for (var w in m)
if (u(m, w)) {
var E = e(m, w, d, h, p + "." + w, i);
if (E instanceof Error)
return E;
}
return null;
}
return c(a);
}
function J(e) {
if (!Array.isArray(e))
return process.env.NODE_ENV !== "production" && f("Invalid argument supplied to oneOfType, expected an instance of array."), A;
for (var a = 0; a < e.length; a++) {
var b = e[a];
if (typeof b != "function")
return f(
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(b) + " at index " + a + "."
), A;
}
function v(d, h, p, m, T) {
for (var w = [], E = 0; E < e.length; E++) {
var Y = e[E], o = Y(d, h, p, m, T, i);
if (o == null)
return null;
o.data && u(o.data, "expectedType") && w.push(o.data.expectedType);
}
var U = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
return new n("Invalid " + m + " `" + T + "` supplied to " + ("`" + p + "`" + U + "."));
}
return c(v);
}
function G() {
function e(a, b, v, d, h) {
return F(a[b]) ? null : new n("Invalid " + d + " `" + h + "` supplied to " + ("`" + v + "`, expected a ReactNode."));
}
return c(e);
}
function N(e, a, b, v, d) {
return new n(
(e || "React class") + ": " + a + " type `" + b + "." + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + d + "`."
);
}
function X(e) {
function a(b, v, d, h, p) {
var m = b[v], T = L(m);
if (T !== "object")
return new n("Invalid " + h + " `" + p + "` of type `" + T + "` " + ("supplied to `" + d + "`, expected `object`."));
for (var w in e) {
var E = e[w];
if (typeof E != "function")
return N(d, h, p, w, z(E));
var Y = E(m, w, d, h, p + "." + w, i);
if (Y)
return Y;
}
return null;
}
return c(a);
}
function K(e) {
function a(b, v, d, h, p) {
var m = b[v], T = L(m);
if (T !== "object")
return new n("Invalid " + h + " `" + p + "` of type `" + T + "` " + ("supplied to `" + d + "`, expected `object`."));
var w = k({}, b[v], e);
for (var E in w) {
var Y = e[E];
if (u(e, E) && typeof Y != "function")
return N(d, h, p, E, z(Y));
if (!Y)
return new n(
"Invalid " + h + " `" + p + "` key `" + E + "` supplied to `" + d + "`.\nBad object: " + JSON.stringify(b[v], null, " ") + `
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
);
var o = Y(m, E, d, h, p + "." + E, i);
if (o)
return o;
}
return null;
}
return c(a);
}
function F(e) {
switch (typeof e) {
case "number":
case "string":
case "undefined":
return !0;
case "boolean":
return !e;
case "object":
if (Array.isArray(e))
return e.every(F);
if (e === null || y(e))
return !0;
var a = S(e);
if (a) {
var b = a.call(e), v;
if (a !== e.entries) {
for (; !(v = b.next()).done; )
if (!F(v.value))
return !1;
} else
for (; !(v = b.next()).done; ) {
var d = v.value;
if (d && !F(d[1]))
return !1;
}
} else
return !1;
return !0;
default:
return !1;
}
}
function Z(e, a) {
return e === "symbol" ? !0 : a ? a["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && a instanceof Symbol : !1;
}
function L(e) {
var a = typeof e;
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(a, e) ? "symbol" : a;
}
function z(e) {
if (typeof e > "u" || e === null)
return "" + e;
var a = L(e);
if (a === "object") {
if (e instanceof Date)
return "date";
if (e instanceof RegExp)
return "regexp";
}
return a;
}
function B(e) {
var a = z(e);
switch (a) {
case "array":
case "object":
return "an " + a;
case "boolean":
case "date":
case "regexp":
return "a " + a;
default:
return a;
}
}
function Q(e) {
return !e.constructor || !e.constructor.name ? M : e.constructor.name;
}
return j.checkPropTypes = _, j.resetWarningCache = _.resetWarningCache, j.PropTypes = j, j;
}, oe;
}
var ie, be;
function we() {
if (be)
return ie;
be = 1;
var s = se();
function k() {
}
function i() {
}
return i.resetWarningCache = k, ie = function() {
function u(A, y, x, C, g, S) {
if (S !== s) {
var M = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
);
throw M.name = "Invariant Violation", M;
}
}
u.isRequired = u;
function _() {
return u;
}
var f = {
array: u,
bigint: u,
bool: u,
func: u,
number: u,
object: u,
string: u,
symbol: u,
any: u,
arrayOf: _,
element: u,
elementType: u,
instanceOf: _,
node: u,
objectOf: _,
oneOf: _,
oneOfType: _,
shape: _,
exact: _,
checkPropTypes: i,
resetWarningCache: k
};
return f.PropTypes = f, f;
}, ie;
}
if (process.env.NODE_ENV !== "production") {
var xe = he(), Ae = !0;
ae.exports = Ce()(xe.isElement, Ae);
} else
ae.exports = we()();
var Ie = ae.exports;
const je = /* @__PURE__ */ ge(Ie);
var Ee = { exports: {} };
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
(function(s, k) {
(function(i, u) {
s.exports = u();
})(Se, function() {
var i = {};
i.version = "0.2.0";
var u = i.settings = {
minimum: 0.08,
easing: "ease",
positionUsing: "",
speed: 200,
trickle: !0,
trickleRate: 0.02,
trickleSpeed: 800,
showSpinner: !0,
barSelector: '[role="bar"]',
spinnerSelector: '[role="spinner"]',
parent: "body",
template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
};
i.configure = function(r) {
var n, c;
for (n in r)
c = r[n], c !== void 0 && r.hasOwnProperty(n) && (u[n] = c);
return this;
}, i.status = null, i.set = function(r) {
var n = i.isStarted();
r = _(r, u.minimum, 1), i.status = r === 1 ? null : r;
var c = i.render(!n), P = c.querySelector(u.barSelector), q = u.speed, I = u.easing;
return c.offsetWidth, y(function(l) {
u.positionUsing === "" && (u.positionUsing = i.getPositioningCSS()), x(P, A(r, q, I)), r === 1 ? (x(c, {
transition: "none",
opacity: 1
}), c.offsetWidth, setTimeout(function() {
x(c, {
transition: "all " + q + "ms linear",
opacity: 0
}), setTimeout(function() {
i.remove(), l();
}, q);
}, q)) : setTimeout(l, q);
}), this;
}, i.isStarted = function() {
return typeof i.status == "number";
}, i.start = function() {
i.status || i.set(0);
var r = function() {
setTimeout(function() {
i.status && (i.trickle(), r());
}, u.trickleSpeed);
};
return u.trickle && r(), this;
}, i.done = function(r) {
return !r && !i.status ? this : i.inc(0.3 + 0.5 * Math.random()).set(1);
}, i.inc = function(r) {
var n = i.status;
return n ? (typeof r != "number" && (r = (1 - n) * _(Math.random() * n, 0.1, 0.95)), n = _(n + r, 0, 0.994), i.set(n)) : i.start();
}, i.trickle = function() {
return i.inc(Math.random() * u.trickleRate);
}, function() {
var r = 0, n = 0;
i.promise = function(c) {
return !c || c.state() === "resolved" ? this : (n === 0 && i.start(), r++, n++, c.always(function() {
n--, n === 0 ? (r = 0, i.done()) : i.set((r - n) / r);
}), this);
};
}(), i.render = function(r) {
if (i.isRendered())
return document.getElementById("nprogress");
g(document.documentElement, "nprogress-busy");
var n = document.createElement("div");
n.id = "nprogress", n.innerHTML = u.template;
var c = n.querySelector(u.barSelector), P = r ? "-100" : f(i.status || 0), q = document.querySelector(u.parent), I;
return x(c, {
transition: "all 0 linear",
transform: "translate3d(" + P + "%,0,0)"
}), u.showSpinner || (I = n.querySelector(u.spinnerSelector), I && j(I)), q != document.body && g(q, "nprogress-custom-parent"), q.appendChild(n), n;
}, i.remove = function() {
S(document.documentElement, "nprogress-busy"), S(document.querySelector(u.parent), "nprogress-custom-parent");
var r = document.getElementById("nprogress");
r && j(r);
}, i.isRendered = function() {
return !!document.getElementById("nprogress");
}, i.getPositioningCSS = function() {
var r = document.body.style, n = "WebkitTransform" in r ? "Webkit" : "MozTransform" in r ? "Moz" : "msTransform" in r ? "ms" : "OTransform" in r ? "O" : "";
return n + "Perspective" in r ? "translate3d" : n + "Transform" in r ? "translate" : "margin";
};
function _(r, n, c) {
return r < n ? n : r > c ? c : r;
}
function f(r) {
return (-1 + r) * 100;
}
function A(r, n, c) {
var P;
return u.positionUsing === "translate3d" ? P = { transform: "translate3d(" + f(r) + "%,0,0)" } : u.positionUsing === "translate" ? P = { transform: "translate(" + f(r) + "%,0)" } : P = { "margin-left": f(r) + "%" }, P.transition = "all " + n + "ms " + c, P;
}
var y = /* @__PURE__ */ function() {
var r = [];
function n() {
var c = r.shift();
c && c(n);
}
return function(c) {
r.push(c), r.length == 1 && n();
};
}(), x = /* @__PURE__ */ function() {
var r = ["Webkit", "O", "Moz", "ms"], n = {};
function c(l) {
return l.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(t, $) {
return $.toUpperCase();
});
}
function P(l) {
var t = document.body.style;
if (l in t)
return l;
for (var $ = r.length, D = l.charAt(0).toUpperCase() + l.slice(1), W; $--; )
if (W = r[$] + D, W in t)
return W;
return l;
}
function q(l) {
return l = c(l), n[l] || (n[l] = P(l));
}
function I(l, t, $) {
t = q(t), l.style[t] = $;
}
return function(l, t) {
var $ = arguments, D, W;
if ($.length == 2)
for (D in t)
W = t[D], W !== void 0 && t.hasOwnProperty(D) && I(l, D, W);
else
I(l, $[1], $[2]);
};
}();
function C(r, n) {
var c = typeof r == "string" ? r : M(r);
return c.indexOf(" " + n + " ") >= 0;
}
function g(r, n) {
var c = M(r), P = c + n;
C(c, n) || (r.className = P.substring(1));
}
function S(r, n) {
var c = M(r), P;
C(r, n) && (P = c.replace(" " + n + " ", " "), r.className = P.substring(1, P.length - 1));
}
function M(r) {
return (" " + (r.className || "") + " ").replace(/\s+/gi, " ");
}
function j(r) {
r && r.parentNode && r.parentNode.removeChild(r);
}
return i;
});
})(Ee);
var Me = Ee.exports;
const $e = /* @__PURE__ */ ge(Me);
export {
$e as N,
je as P
};

6
dist/components.js vendored
View File

@ -1,5 +1,5 @@
import { N as a, i as r } from "./common/main-D2ZjkFcD.js";
import { N, i } from "./common/main-DamvcBIJ.js";
export {
a as Icon,
r as Popup
N as Icon,
i as Popup
};

10
dist/container.js vendored
View File

@ -1,8 +1,8 @@
import { S as o, h as r, i as s, g as t, F } from "./common/main-D2ZjkFcD.js";
import { S, h, i, g, F } from "./common/main-DamvcBIJ.js";
export {
o as Context,
r as FFPageRender,
s as FFPopupRender,
t as SlotRender,
S as Context,
h as FFPageRender,
i as FFPopupRender,
g as SlotRender,
F as default
};

34
dist/data-list.js vendored
View File

@ -1,19 +1,19 @@
import { t as s, r as e, m as r, p as o, v as i, q as D, o as l, s as u, n as L, v as n, D as d, w as m, x as F, z as p, A as C, y as b } from "./common/main-D2ZjkFcD.js";
import { t, r, m, p, v, q, o, s, n, v as v2, D, w, x, z, A, y } from "./common/main-DamvcBIJ.js";
export {
s as DataListContent,
e as DataListContext,
r as DataListFilter,
o as DataListFooter,
i as DataListFramework,
D as DataListHelper,
l as DataListSider,
u as DataListTable,
L as DataListToolbar,
n as DataTableFramework,
d as default,
m as loadDataListFieldWidget,
F as useColumnsRender,
p as useDataSource,
C as useHasOperationColumn,
b as useStructure
t as DataListContent,
r as DataListContext,
m as DataListFilter,
p as DataListFooter,
v as DataListFramework,
q as DataListHelper,
o as DataListSider,
s as DataListTable,
n as DataListToolbar,
v2 as DataTableFramework,
D as default,
w as loadDataListFieldWidget,
x as useColumnsRender,
z as useDataSource,
A as useHasOperationColumn,
y as useStructure
};

View File

@ -1,9 +1,9 @@
import { I as o, K as r, J as t, H as s, M as u, L as d } from "./common/main-D2ZjkFcD.js";
import { I, K, J, H, M, L } from "./common/main-DamvcBIJ.js";
export {
o as GridLayoutForm,
r as GridLayoutFormHelper,
t as GridLayoutFormWidget,
s as default,
u as getOptionItemByValue,
d as useFnRun
I as GridLayoutForm,
K as GridLayoutFormHelper,
J as GridLayoutFormWidget,
H as default,
M as getOptionItemByValue,
L as useFnRun
};

8
dist/grid-layout.js vendored
View File

@ -1,6 +1,6 @@
import { k as d, l as o, G as r } from "./common/main-D2ZjkFcD.js";
import { k, l, G } from "./common/main-DamvcBIJ.js";
export {
d as GridLayout,
o as GridLayoutWidget,
r as default
k as GridLayout,
l as GridLayoutWidget,
G as default
};

16
dist/hooks.js vendored
View File

@ -2,13 +2,13 @@ import "lodash";
import "rc-field-form";
import "react";
import "react-dom";
import { d as p, e as r, b as i, a as m, c as b, f as c, u as f } from "./common/main-D2ZjkFcD.js";
import { d, e, b, a, c, f, u } from "./common/main-DamvcBIJ.js";
export {
p as useDeepEqualEffect,
r as useOptions,
i as usePrevious,
m as usePropsValue,
b as useStateWithCallback,
c as useSubscribeRequest,
f as useUpdate
d as useDeepEqualEffect,
e as useOptions,
b as usePrevious,
a as usePropsValue,
c as useStateWithCallback,
f as useSubscribeRequest,
u as useUpdate
};

22
dist/index.js vendored
View File

@ -1,17 +1,17 @@
import "lodash";
import "axios";
import "react";
import { Z as e, V as m, _ as c, $ as i, a1 as n, Y as f, a0 as l, W as u, X as h, a2 as x } from "./common/main-D2ZjkFcD.js";
import { Z, V, _, $, a1, Y, a0, W, X, a2 } from "./common/main-DamvcBIJ.js";
import "ff-request";
export {
e as AppGlobalParamsContext,
m as AppUrl,
c as cache,
i as configure,
n as core,
f as default,
l as func,
u as http,
h as isReactComponent,
x as route
Z as AppGlobalParamsContext,
V as AppUrl,
_ as cache,
$ as configure,
a1 as core,
Y as default,
a0 as func,
W as http,
X as isReactComponent,
a2 as route
};

4
dist/res-ws.js vendored
View File

@ -1,5 +1,5 @@
import "lodash";
import { R as a } from "./common/main-D2ZjkFcD.js";
import { R } from "./common/main-DamvcBIJ.js";
export {
a as default
R as default
};

12
dist/service.js vendored
View File

@ -1,8 +1,8 @@
import { a5 as t, a4 as g, a7 as s, a3 as o, a6 as r } from "./common/main-D2ZjkFcD.js";
import { a5, a4, a7, a3, a6 } from "./common/main-DamvcBIJ.js";
export {
t as getConfigure,
g as getMenus,
s as getPhoneNumber,
o as getRoutes,
r as getWidgetOperationAuth
a5 as getConfigure,
a4 as getMenus,
a7 as getPhoneNumber,
a3 as getRoutes,
a6 as getWidgetOperationAuth
};

2
dist/style.css vendored

File diff suppressed because one or more lines are too long

10
dist/user.js vendored
View File

@ -3,11 +3,11 @@ import "react/jsx-runtime";
import "react";
import "@ant-design/icons";
import "classnames";
import { P as p, Q as a, O as g, T as n, U } from "./common/main-D2ZjkFcD.js";
import { P, Q, O, T, U } from "./common/main-DamvcBIJ.js";
export {
p as checkUserToken,
a as getUserInfo,
g as getUserToken,
n as login,
P as checkUserToken,
Q as getUserInfo,
O as getUserToken,
T as login,
U as logout
};

4
dist/utils.js vendored
View File

@ -1,5 +1,5 @@
import "lodash";
import { j as a } from "./common/main-D2ZjkFcD.js";
import { j } from "./common/main-DamvcBIJ.js";
export {
a as getDefaultExpandRowKeys
j as getDefaultExpandRowKeys
};

View File

@ -1,7 +1,7 @@
{
"name": "ff",
"private": true,
"version": "0.1.13",
"version": "0.2.0",
"type": "module",
"files": [
"dist/"
@ -23,7 +23,7 @@
"./style.css": "./dist/style.css"
},
"scripts": {
"dev": "vite",
"dev": "vite build --mode development",
"build": "vite build",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"