@pisell/materials 6.0.9 → 6.0.11
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +12 -12
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +12 -12
- package/es/components/dataSourceComponents/fields/Input/index.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/Input/index.js +5 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +28 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.less +11 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +11 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +157 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/index.d.ts +3 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/index.js +4 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +59 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/type.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/type.js +1 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +7 -4
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.js +13 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.less +11 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.d.ts +11 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +97 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +10 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.js +4 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.d.ts +21 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.js +61 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/type.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/type.js +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +31 -4
- package/es/components/dataSourceComponents/fields/index.js +1 -0
- package/es/components/dataSourceComponents/hooks/useActions.js +14 -5
- package/es/components/login-and-register/index.less +2 -2
- package/es/components/organizationTenantSwitcher/index.less +1 -0
- package/es/components/pisellLayout/content.d.ts +7 -0
- package/es/components/pisellLayout/content.js +12 -0
- package/es/components/pisellLayout/footer.d.ts +7 -0
- package/es/components/pisellLayout/footer.js +12 -0
- package/es/components/pisellLayout/header.d.ts +7 -0
- package/es/components/pisellLayout/header.js +12 -0
- package/es/components/pisellLayout/index.d.ts +14 -0
- package/es/components/pisellLayout/index.js +15 -0
- package/es/components/pisellLayout/sider.d.ts +7 -0
- package/es/components/pisellLayout/sider.js +12 -0
- package/es/index.d.ts +87 -120
- package/es/index.js +88 -144
- package/lib/components/dataSourceComponents/dataSourceForm/serve.js +7 -2
- package/lib/components/dataSourceComponents/fields/Input/index.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/Input/index.js +4 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +58 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.less +11 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +11 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +156 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/index.js +38 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.js +55 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/type.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +6 -4
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.js +50 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.less +11 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/WithMode.d.ts +11 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +107 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +10 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.js +38 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/serve.d.ts +21 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/serve.js +60 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/type.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +31 -4
- package/lib/components/dataSourceComponents/fields/index.js +1 -0
- package/lib/components/dataSourceComponents/hooks/useActions.js +11 -6
- package/lib/components/login-and-register/index.less +2 -2
- package/lib/components/organizationTenantSwitcher/index.less +1 -0
- package/lib/components/pisellLayout/content.d.ts +7 -0
- package/lib/components/pisellLayout/content.js +42 -0
- package/lib/components/pisellLayout/footer.d.ts +7 -0
- package/lib/components/pisellLayout/footer.js +42 -0
- package/lib/components/pisellLayout/header.d.ts +7 -0
- package/lib/components/pisellLayout/header.js +42 -0
- package/lib/components/pisellLayout/index.d.ts +14 -0
- package/lib/components/pisellLayout/index.js +45 -0
- package/lib/components/pisellLayout/sider.d.ts +7 -0
- package/lib/components/pisellLayout/sider.js +42 -0
- package/lib/index.d.ts +87 -120
- package/lib/index.js +134 -157
- package/lowcode/data-source-form/constants.ts +4 -0
- package/lowcode/data-source-form/utils.ts +5 -1
- package/lowcode/form-item-input.mobile/__screenshots__/phone.png +0 -0
- package/lowcode/form-item-input.mobile/meta.ts +311 -0
- package/lowcode/form-item-input.mobile/snippets.ts +21 -0
- package/lowcode/form-item-input.phone/meta.ts +1 -1
- package/lowcode/form-item-input.phone/snippets.ts +2 -2
- package/lowcode/form-item-input.subdomain/meta.ts +304 -0
- package/lowcode/form-item-input.subdomain/snippets.ts +28 -0
- package/lowcode/pisell-content/meta.ts +83 -0
- package/lowcode/pisell-footer/meta.ts +81 -0
- package/lowcode/pisell-header/meta.ts +83 -0
- package/lowcode/pisell-layout/meta.ts +174 -0
- package/lowcode/pisell-sider/meta.ts +142 -0
- package/lowcode/pisell-text/meta.ts +9 -8080
- package/package.json +3 -3
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; 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; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; 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); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { 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); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; 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; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
+
import { useRequest } from 'ahooks';
|
|
6
|
+
import { request } from "../../../table/utils";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* 获取nocobase数据列表 获取域名后缀
|
|
10
|
+
*/
|
|
11
|
+
export var getTenantData = /*#__PURE__*/function () {
|
|
12
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
13
|
+
var _yield$request$getReq, data;
|
|
14
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15
|
+
while (1) switch (_context.prev = _context.next) {
|
|
16
|
+
case 0:
|
|
17
|
+
_context.prev = 0;
|
|
18
|
+
_context.next = 3;
|
|
19
|
+
return request.getRequest().get("/tenant:get", {}, {
|
|
20
|
+
isNocobase: true,
|
|
21
|
+
fullResult: true,
|
|
22
|
+
headers: {
|
|
23
|
+
"x-data-source": "pisell2"
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
case 3:
|
|
27
|
+
_yield$request$getReq = _context.sent;
|
|
28
|
+
data = _yield$request$getReq.data;
|
|
29
|
+
return _context.abrupt("return", data);
|
|
30
|
+
case 8:
|
|
31
|
+
_context.prev = 8;
|
|
32
|
+
_context.t0 = _context["catch"](0);
|
|
33
|
+
console.error("Failed to fetch tenant data:", _context.t0);
|
|
34
|
+
throw _context.t0;
|
|
35
|
+
case 12:
|
|
36
|
+
case "end":
|
|
37
|
+
return _context.stop();
|
|
38
|
+
}
|
|
39
|
+
}, _callee, null, [[0, 8]]);
|
|
40
|
+
}));
|
|
41
|
+
return function getTenantData() {
|
|
42
|
+
return _ref.apply(this, arguments);
|
|
43
|
+
};
|
|
44
|
+
}();
|
|
45
|
+
/**
|
|
46
|
+
* 自定义 Hook,用于获取租户数据
|
|
47
|
+
*/
|
|
48
|
+
export var useTenantData = function useTenantData() {
|
|
49
|
+
var _useRequest = useRequest(getTenantData, {
|
|
50
|
+
cacheKey: 'tenant-data',
|
|
51
|
+
staleTime: 1000 * 60 * 5,
|
|
52
|
+
// 5分钟后数据过期
|
|
53
|
+
cacheTime: 1000 * 60 * 60 // 1小时后清除缓存
|
|
54
|
+
}),
|
|
55
|
+
data = _useRequest.data,
|
|
56
|
+
error = _useRequest.error;
|
|
57
|
+
if (error) {
|
|
58
|
+
console.error("Error fetching tenant data:", error);
|
|
59
|
+
}
|
|
60
|
+
return data; // 返回租户数据
|
|
61
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -12,8 +12,19 @@ declare const formFieldMap: {
|
|
|
12
12
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
13
13
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
14
14
|
URL: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
15
|
-
Email: import("react").FC<import("antd").InputProps &
|
|
15
|
+
Email: import("react").FC<import("antd").InputProps & {
|
|
16
|
+
onChange: (value: string) => void;
|
|
17
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
16
18
|
Phone: import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
19
|
+
Mobile: import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
20
|
+
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
21
|
+
onChange: (value: string) => void;
|
|
22
|
+
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
23
|
+
rootDomain: string;
|
|
24
|
+
customDomain?: string | undefined;
|
|
25
|
+
value?: string | undefined;
|
|
26
|
+
isVerification?: boolean | undefined;
|
|
27
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
17
28
|
};
|
|
18
29
|
FormItemRadio: import("react").FC<{}> & {
|
|
19
30
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -33,7 +44,10 @@ declare const formFieldMap: {
|
|
|
33
44
|
FormItemTimePicker: import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
34
45
|
'FormItemInput.JSON': import("react").FC<any>;
|
|
35
46
|
'FormItemInput.Phone': import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
36
|
-
'FormItemInput.
|
|
47
|
+
'FormItemInput.Mobile': import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
48
|
+
'FormItemInput.Email': import("react").FC<import("antd").InputProps & {
|
|
49
|
+
onChange: (value: string) => void;
|
|
50
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
37
51
|
'FormItemInput.URL': import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
38
52
|
'FormItemInput.Password': import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
39
53
|
'FormItemRadio.Group': import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -46,13 +60,26 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
46
60
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
47
61
|
} & {
|
|
48
62
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
49
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps &
|
|
63
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
64
|
+
onChange: (value: string) => void;
|
|
65
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
50
66
|
JSON: import("react").FC<any>;
|
|
51
67
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
52
68
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
53
69
|
URL: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
54
|
-
Email: import("react").FC<import("antd").InputProps &
|
|
70
|
+
Email: import("react").FC<import("antd").InputProps & {
|
|
71
|
+
onChange: (value: string) => void;
|
|
72
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
55
73
|
Phone: import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
74
|
+
Mobile: import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
75
|
+
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
76
|
+
onChange: (value: string) => void;
|
|
77
|
+
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
78
|
+
rootDomain: string;
|
|
79
|
+
customDomain?: string | undefined;
|
|
80
|
+
value?: string | undefined;
|
|
81
|
+
isVerification?: boolean | undefined;
|
|
82
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
56
83
|
}) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
|
|
57
84
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
58
85
|
} & {
|
|
@@ -23,6 +23,7 @@ var formFieldMap = {
|
|
|
23
23
|
FormItemTimePicker: TimePicker,
|
|
24
24
|
'FormItemInput.JSON': Input.JSON,
|
|
25
25
|
'FormItemInput.Phone': Input.Phone,
|
|
26
|
+
'FormItemInput.Mobile': Input.Mobile,
|
|
26
27
|
'FormItemInput.Email': Input.Email,
|
|
27
28
|
'FormItemInput.URL': Input.URL,
|
|
28
29
|
'FormItemInput.Password': Input.Password,
|
|
@@ -241,7 +241,7 @@ var useActions = function useActions() {
|
|
|
241
241
|
// 更新数据
|
|
242
242
|
var update = useMemoizedFn( /*#__PURE__*/function () {
|
|
243
243
|
var _ref12 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(values) {
|
|
244
|
-
var actions, updateApi, id;
|
|
244
|
+
var actions, updateApi, id, res;
|
|
245
245
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
246
246
|
while (1) switch (_context4.prev = _context4.next) {
|
|
247
247
|
case 0:
|
|
@@ -276,19 +276,28 @@ var useActions = function useActions() {
|
|
|
276
276
|
});
|
|
277
277
|
return _context4.abrupt("return", Promise.reject());
|
|
278
278
|
case 15:
|
|
279
|
-
|
|
279
|
+
_context4.prev = 15;
|
|
280
|
+
_context4.next = 18;
|
|
281
|
+
return updateNocobaseData({
|
|
280
282
|
key: name,
|
|
281
283
|
data: formatCreateUpdateParams(values),
|
|
282
284
|
headers: getHeaders(),
|
|
283
285
|
query: _objectSpread({
|
|
284
286
|
filterByTk: id
|
|
285
287
|
}, extraParams === null || extraParams === void 0 ? void 0 : extraParams.update)
|
|
286
|
-
})
|
|
287
|
-
case
|
|
288
|
+
});
|
|
289
|
+
case 18:
|
|
290
|
+
res = _context4.sent;
|
|
291
|
+
return _context4.abrupt("return", res);
|
|
292
|
+
case 22:
|
|
293
|
+
_context4.prev = 22;
|
|
294
|
+
_context4.t0 = _context4["catch"](15);
|
|
295
|
+
return _context4.abrupt("return", Promise.reject());
|
|
296
|
+
case 25:
|
|
288
297
|
case "end":
|
|
289
298
|
return _context4.stop();
|
|
290
299
|
}
|
|
291
|
-
}, _callee4);
|
|
300
|
+
}, _callee4, null, [[15, 22]]);
|
|
292
301
|
}));
|
|
293
302
|
return function (_x4) {
|
|
294
303
|
return _ref12.apply(this, arguments);
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
// Logo样式
|
|
15
15
|
.saas-login-logo {
|
|
16
|
+
width: fit-content;
|
|
16
17
|
height: 48px;
|
|
17
|
-
margin-bottom: 24px;
|
|
18
18
|
border-radius: 8px;
|
|
19
19
|
|
|
20
20
|
&.left {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
font-size: 24px;
|
|
42
42
|
font-weight: 600;
|
|
43
43
|
color: #101828;
|
|
44
|
-
margin-top:
|
|
44
|
+
margin-top: 24px;
|
|
45
45
|
margin-bottom: 12px;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayoutProps } from 'antd';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface PisellContentProps extends Omit<LayoutProps, 'prefixCls'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const PisellContent: React.FC<PisellContentProps>;
|
|
7
|
+
export default PisellContent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var _excluded = ["children"];
|
|
2
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
import { Layout } from 'antd';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
var Content = Layout.Content;
|
|
7
|
+
var PisellContent = function PisellContent(props) {
|
|
8
|
+
var children = props.children,
|
|
9
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
10
|
+
return /*#__PURE__*/React.createElement(Content, rest, children);
|
|
11
|
+
};
|
|
12
|
+
export default PisellContent;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayoutProps } from 'antd';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface PisellFooterProps extends Omit<LayoutProps, 'prefixCls'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const PisellFooter: React.FC<PisellFooterProps>;
|
|
7
|
+
export default PisellFooter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var _excluded = ["children"];
|
|
2
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
import { Layout } from 'antd';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
var Footer = Layout.Footer;
|
|
7
|
+
var PisellFooter = function PisellFooter(props) {
|
|
8
|
+
var children = props.children,
|
|
9
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
10
|
+
return /*#__PURE__*/React.createElement(Footer, rest, children);
|
|
11
|
+
};
|
|
12
|
+
export default PisellFooter;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayoutProps } from 'antd';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface PisellHeaderProps extends Omit<LayoutProps, 'prefixCls'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const PisellHeader: React.FC<PisellHeaderProps>;
|
|
7
|
+
export default PisellHeader;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var _excluded = ["children"];
|
|
2
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
import { Layout } from 'antd';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
var Header = Layout.Header;
|
|
7
|
+
var PisellHeader = function PisellHeader(props) {
|
|
8
|
+
var children = props.children,
|
|
9
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
10
|
+
return /*#__PURE__*/React.createElement(Header, rest, children);
|
|
11
|
+
};
|
|
12
|
+
export default PisellHeader;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { LayoutProps } from 'antd';
|
|
2
|
+
import { Layout } from 'antd';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export interface PisellLayoutProps extends LayoutProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
interface CompoundedComponent extends React.FC<PisellLayoutProps> {
|
|
8
|
+
Header: typeof Layout.Header;
|
|
9
|
+
Content: typeof Layout.Content;
|
|
10
|
+
Footer: typeof Layout.Footer;
|
|
11
|
+
Sider: typeof Layout.Sider;
|
|
12
|
+
}
|
|
13
|
+
declare const PisellLayout: CompoundedComponent;
|
|
14
|
+
export default PisellLayout;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var _excluded = ["children"];
|
|
2
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
import { Layout } from 'antd';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
var PisellLayout = function PisellLayout(props) {
|
|
7
|
+
var children = props.children,
|
|
8
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
9
|
+
return /*#__PURE__*/React.createElement(Layout, rest, children);
|
|
10
|
+
};
|
|
11
|
+
PisellLayout.Header = Layout.Header;
|
|
12
|
+
PisellLayout.Content = Layout.Content;
|
|
13
|
+
PisellLayout.Footer = Layout.Footer;
|
|
14
|
+
PisellLayout.Sider = Layout.Sider;
|
|
15
|
+
export default PisellLayout;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var _excluded = ["children"];
|
|
2
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
import { Layout } from 'antd';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
var Sider = Layout.Sider;
|
|
7
|
+
var PisellSider = function PisellSider(props) {
|
|
8
|
+
var children = props.children,
|
|
9
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
10
|
+
return /*#__PURE__*/React.createElement(Sider, rest, children);
|
|
11
|
+
};
|
|
12
|
+
export default PisellSider;
|
package/es/index.d.ts
CHANGED
|
@@ -1,121 +1,23 @@
|
|
|
1
|
-
export { Affix } from 'antd';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { Badge } from 'antd';
|
|
6
|
-
export { Breadcrumb } from 'antd';
|
|
7
|
-
export { Card } from 'antd';
|
|
8
|
-
export { Collapse } from 'antd';
|
|
9
|
-
export { Carousel } from 'antd';
|
|
10
|
-
export { Col } from 'antd';
|
|
11
|
-
export { Descriptions } from 'antd';
|
|
12
|
-
export { Divider } from 'antd';
|
|
13
|
-
export { Empty } from 'antd';
|
|
14
|
-
export { Grid } from 'antd';
|
|
15
|
-
export { Image } from 'antd';
|
|
16
|
-
export { InputNumber } from 'antd';
|
|
17
|
-
export { message } from 'antd';
|
|
18
|
-
export { Menu } from 'antd';
|
|
19
|
-
export { Mentions } from 'antd';
|
|
20
|
-
export { Statistic } from 'antd';
|
|
21
|
-
export { notification } from 'antd';
|
|
22
|
-
export { Pagination } from 'antd';
|
|
23
|
-
export { Popconfirm } from 'antd';
|
|
24
|
-
export { Popover } from 'antd';
|
|
25
|
-
export { Progress } from 'antd';
|
|
26
|
-
export { Rate } from 'antd';
|
|
27
|
-
export { Result } from 'antd';
|
|
28
|
-
export { Row } from 'antd';
|
|
29
|
-
export { Space } from 'antd';
|
|
30
|
-
export { Spin } from 'antd';
|
|
31
|
-
export { Steps } from 'antd';
|
|
32
|
-
export { Switch } from 'antd';
|
|
33
|
-
export { Transfer } from 'antd';
|
|
34
|
-
export { Tree } from 'antd';
|
|
35
|
-
export { Tag } from 'antd';
|
|
36
|
-
export { Timeline } from 'antd';
|
|
37
|
-
export { Tooltip } from 'antd';
|
|
38
|
-
export { version } from 'antd';
|
|
39
|
-
export { default as Typography } from './components/typography';
|
|
40
|
-
export { default as Skeleton } from './components/skeleton';
|
|
41
|
-
export { default as Checkbox } from './components/checkbox';
|
|
1
|
+
export { Affix, Alert, Anchor, Avatar, Badge, Breadcrumb, Card, Carousel, Col, Collapse, ColorPicker, Descriptions, Divider, Empty, Grid, Image, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
|
|
2
|
+
export { default as AutoComplete } from './components/auto-complete';
|
|
3
|
+
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
4
|
+
export { default as BatchEditor } from './components/batch-editor';
|
|
42
5
|
export { default as Button } from './components/button';
|
|
43
|
-
export { default as Radio } from './components/radio';
|
|
44
|
-
export { default as Upload } from './components/upload';
|
|
45
|
-
export { default as Icon } from './components/icon';
|
|
46
|
-
export { default as Form } from './components/form';
|
|
47
|
-
export { default as Dropdown } from './components/dropdown';
|
|
48
6
|
export { default as Calendar } from './components/calendar';
|
|
49
|
-
export { default as ConfigProvider } from './components/config-provider';
|
|
50
|
-
export { default as DatePicker } from './components/date-picker';
|
|
51
|
-
export { default as Tabs } from './components/tabs';
|
|
52
|
-
export { default as TimePicker } from './components/time-picker';
|
|
53
|
-
export { default as Slider } from './components/slider';
|
|
54
|
-
export { default as Table } from './components/table';
|
|
55
|
-
export { default as Modal } from './components/modal';
|
|
56
|
-
export { default as Drawer } from './components/drawer';
|
|
57
|
-
export { default as TreeSelect } from './components/tree-select';
|
|
58
|
-
export { default as Input } from './components/input';
|
|
59
|
-
export { default as Select } from './components/select';
|
|
60
7
|
export { default as Cascader } from './components/cascader';
|
|
61
|
-
export { default as
|
|
62
|
-
export { default as Div } from './components/div';
|
|
63
|
-
export { default as Page } from './components/page';
|
|
64
|
-
export { default as Component } from './components/component';
|
|
65
|
-
export { default as Filter } from './components/filter';
|
|
66
|
-
export { default as Translation } from './components/translation';
|
|
67
|
-
export { default as SortableList } from './components/sortableList';
|
|
68
|
-
export { default as RecordView } from './components/record-view';
|
|
69
|
-
export { default as QRCode } from './components/qrcode';
|
|
8
|
+
export { default as Checkbox } from './components/checkbox';
|
|
70
9
|
export { default as ClassicLayout } from './components/classicLayout';
|
|
71
|
-
export { default as
|
|
72
|
-
export { default as
|
|
73
|
-
export { default as InputNumberRange } from './components/input-number-range';
|
|
74
|
-
export { default as LowCodePage } from './components/lowCodePage';
|
|
75
|
-
export { default as Segmented } from './components/segmented';
|
|
76
|
-
export { default as VirtualKeyboard } from './components/virtual-keyboard';
|
|
77
|
-
export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
|
|
78
|
-
export { default as SelectTime } from './components/select-time';
|
|
79
|
-
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
80
|
-
export { default as BatchEditor } from './components/batch-editor';
|
|
81
|
-
export { default as DragSortTree } from './components/drag-sort-tree';
|
|
82
|
-
export { default as PisellModal } from './components/pisellModal';
|
|
83
|
-
export { default as PisellRow } from './components/pisellRow';
|
|
84
|
-
export { default as PisellConfigProvider } from './components/pisell-config-provider';
|
|
85
|
-
export { default as PisellCountdown } from './components/pisellCountdown';
|
|
86
|
-
export { default as PisellInput } from './components/pisellInput';
|
|
87
|
-
export { getBankCardTypeImg } from './components/pisellInput/components/BankCard/utils';
|
|
88
|
-
export { default as PisellCheckboxGroup } from './components/pisellCheckboxGroup';
|
|
89
|
-
export { default as PisellDatePicker } from './components/pisellDatePicker';
|
|
90
|
-
export { default as PisellTooltip } from './components/pisellTooltip';
|
|
91
|
-
export { default as PisellEmpty } from './components/pisellEmpty';
|
|
92
|
-
export { default as Iconfont } from './components/iconfont';
|
|
93
|
-
export { default as PisellContainer } from './components/pisellContainer';
|
|
94
|
-
export { default as PisellText } from './components/pisellText';
|
|
95
|
-
export { default as PisellLoading } from './components/pisellLoading';
|
|
96
|
-
export { default as PisellCardList } from './components/pisellCardList';
|
|
97
|
-
export { default as PisellToast } from './components/pisellToast';
|
|
98
|
-
export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
|
|
99
|
-
export { default as PisellScan } from './components/pisellScan';
|
|
100
|
-
export { default as PisellAlert } from './components/pisellAlert';
|
|
101
|
-
export { default as PisellAvatar } from './components/pisellAvatar';
|
|
102
|
-
export { default as ProfileMenu } from './components/profileMenu';
|
|
103
|
-
export { default as PisellCard } from './components/pisellCard';
|
|
104
|
-
export { default as PisellInformationEntry } from './components/pisellInformationEntry';
|
|
105
|
-
export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
|
|
106
|
-
export { globalConfig, default as PisellContext, } from './components/pisell-config-provider/context';
|
|
107
|
-
export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
|
|
108
|
-
export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
|
|
109
|
-
export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
|
|
110
|
-
export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
|
|
111
|
-
export { default as PisellStatisticList } from './components/pisellStatisticList';
|
|
112
|
-
export { default as PisellFloatingPanel } from './components/pisellFloatingPanel';
|
|
113
|
-
export { ColorPicker } from 'antd';
|
|
114
|
-
export { default as PisellUpload } from './components/pisellUpload';
|
|
10
|
+
export { default as Component } from './components/component';
|
|
11
|
+
export { default as ConfigProvider } from './components/config-provider';
|
|
115
12
|
export { default as DataSourceForm } from './components/dataSourceComponents/dataSourceForm';
|
|
116
13
|
export { default as FormGroup } from './components/dataSourceComponents/dataSourceForm/group';
|
|
117
|
-
export { default as SubmitButton } from './components/dataSourceComponents/dataSourceForm/submitButton';
|
|
118
14
|
export { default as JsonWrapper } from './components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider';
|
|
15
|
+
export { default as SubmitButton } from './components/dataSourceComponents/dataSourceForm/submitButton';
|
|
16
|
+
export { default as DataSourceImage } from './components/dataSourceComponents/dataSourceShow/dataSourceImage';
|
|
17
|
+
export { default as DataSourceQRCode } from './components/dataSourceComponents/dataSourceShow/dataSourceQRCode';
|
|
18
|
+
export { default as DataSourceTypography } from './components/dataSourceComponents/dataSourceShow/dataSourceTypography';
|
|
19
|
+
export { default as DataSourceTable } from './components/dataSourceComponents/dataSourceTable';
|
|
20
|
+
export { default as DataSourceWrapper } from './components/dataSourceComponents/dataSourceWrapper';
|
|
119
21
|
export { default as FormItemCheckbox } from './components/dataSourceComponents/fields/Checkbox';
|
|
120
22
|
export { default as FormItemColorPicker } from './components/dataSourceComponents/fields/ColorPicker';
|
|
121
23
|
export { default as FormItemDatePicker } from './components/dataSourceComponents/fields/DatePicker';
|
|
@@ -124,15 +26,80 @@ export { default as FormItemInputNumber } from './components/dataSourceComponent
|
|
|
124
26
|
export { default as FormItemRadio } from './components/dataSourceComponents/fields/Radio';
|
|
125
27
|
export { default as FormItemSelect } from './components/dataSourceComponents/fields/Select';
|
|
126
28
|
export { default as FormItemTimePicker } from './components/dataSourceComponents/fields/TimePicker';
|
|
127
|
-
export { default as FormItemUpload } from './components/dataSourceComponents/fields/Upload';
|
|
128
29
|
export { default as FormItemTranslation } from './components/dataSourceComponents/fields/Translation';
|
|
129
|
-
export { default as
|
|
130
|
-
export { default as
|
|
131
|
-
export { default as
|
|
132
|
-
export { default as
|
|
133
|
-
export { default as
|
|
134
|
-
export { default as
|
|
135
|
-
export { default as
|
|
30
|
+
export { default as FormItemUpload } from './components/dataSourceComponents/fields/Upload';
|
|
31
|
+
export { default as DatePicker } from './components/date-picker';
|
|
32
|
+
export { default as Div } from './components/div';
|
|
33
|
+
export { default as DragSortTree } from './components/drag-sort-tree';
|
|
34
|
+
export { default as Drawer } from './components/drawer';
|
|
35
|
+
export { default as Dropdown } from './components/dropdown';
|
|
36
|
+
export { default as Filter } from './components/filter';
|
|
37
|
+
export { default as Form } from './components/form';
|
|
38
|
+
export { default as Icon } from './components/icon';
|
|
39
|
+
export { default as Iconfont } from './components/iconfont';
|
|
40
|
+
export { default as Input } from './components/input';
|
|
41
|
+
export { default as InputNumberRange } from './components/input-number-range';
|
|
42
|
+
export { default as List } from './components/list';
|
|
43
|
+
export { default as loginAndRegister } from './components/login-and-register';
|
|
44
|
+
export { default as LowCodePage } from './components/lowCodePage';
|
|
45
|
+
export { default as Modal } from './components/modal';
|
|
136
46
|
export { default as OrganizationTenantSwitcher } from './components/organizationTenantSwitcher';
|
|
47
|
+
export { default as Page } from './components/page';
|
|
48
|
+
export { default as PageHeader } from './components/page-header';
|
|
49
|
+
export { default as PisellConfigProvider } from './components/pisell-config-provider';
|
|
50
|
+
export { default as PisellContext, globalConfig, } from './components/pisell-config-provider/context';
|
|
51
|
+
export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
|
|
52
|
+
export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
|
|
53
|
+
export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
|
|
54
|
+
export { default as PisellAlert } from './components/pisellAlert';
|
|
55
|
+
export { default as PisellAvatar } from './components/pisellAvatar';
|
|
56
|
+
export { default as PisellCard } from './components/pisellCard';
|
|
57
|
+
export { default as PisellCardList } from './components/pisellCardList';
|
|
58
|
+
export { default as PisellCheckboxGroup } from './components/pisellCheckboxGroup';
|
|
59
|
+
export { default as PisellContainer } from './components/pisellContainer';
|
|
60
|
+
export { default as PisellCountdown } from './components/pisellCountdown';
|
|
61
|
+
export { default as PisellDatePicker } from './components/pisellDatePicker';
|
|
62
|
+
export { default as PisellEmpty } from './components/pisellEmpty';
|
|
63
|
+
export { default as PisellFloatingPanel } from './components/pisellFloatingPanel';
|
|
64
|
+
export { default as PisellInformationEntry } from './components/pisellInformationEntry';
|
|
65
|
+
export { default as PisellInput } from './components/pisellInput';
|
|
66
|
+
export { getBankCardTypeImg } from './components/pisellInput/components/BankCard/utils';
|
|
67
|
+
export { default as PisellLayout } from './components/pisellLayout';
|
|
68
|
+
export { default as PisellContent } from './components/pisellLayout/content';
|
|
69
|
+
export { default as PisellFooter } from './components/pisellLayout/footer';
|
|
70
|
+
export { default as PisellHeader } from './components/pisellLayout/header';
|
|
71
|
+
export { default as PisellSider } from './components/pisellLayout/sider';
|
|
72
|
+
export { default as PisellLoading } from './components/pisellLoading';
|
|
73
|
+
export { default as PisellModal } from './components/pisellModal';
|
|
74
|
+
export { default as PisellRow } from './components/pisellRow';
|
|
75
|
+
export { default as PisellScan } from './components/pisellScan';
|
|
76
|
+
export { default as PisellStatisticList } from './components/pisellStatisticList';
|
|
137
77
|
export { default as PisellTags } from './components/pisellTags';
|
|
138
|
-
export { default as
|
|
78
|
+
export { default as PisellText } from './components/pisellText';
|
|
79
|
+
export { default as PisellToast } from './components/pisellToast';
|
|
80
|
+
export { default as PisellTooltip } from './components/pisellTooltip';
|
|
81
|
+
export { default as PisellUpload } from './components/pisellUpload';
|
|
82
|
+
export { default as PisellViewGrid } from './components/pisellViewGrid';
|
|
83
|
+
export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
|
|
84
|
+
export { default as ProfileMenu } from './components/profileMenu';
|
|
85
|
+
export { default as QRCode } from './components/qrcode';
|
|
86
|
+
export { default as Radio } from './components/radio';
|
|
87
|
+
export { default as RecordView } from './components/record-view';
|
|
88
|
+
export { default as Segmented } from './components/segmented';
|
|
89
|
+
export { default as Select } from './components/select';
|
|
90
|
+
export { default as SelectTime } from './components/select-time';
|
|
91
|
+
export { default as Skeleton } from './components/skeleton';
|
|
92
|
+
export { default as Slider } from './components/slider';
|
|
93
|
+
export { default as Sort } from './components/sort';
|
|
94
|
+
export { default as SortableList } from './components/sortableList';
|
|
95
|
+
export { default as Table } from './components/table';
|
|
96
|
+
export { default as Tabs } from './components/tabs';
|
|
97
|
+
export { default as TimePicker } from './components/time-picker';
|
|
98
|
+
export { default as Translation } from './components/translation';
|
|
99
|
+
export { default as TreeSelect } from './components/tree-select';
|
|
100
|
+
export { default as Typography } from './components/typography';
|
|
101
|
+
export { default as Upload } from './components/upload';
|
|
102
|
+
export { default as VirtualKeyboard } from './components/virtual-keyboard';
|
|
103
|
+
export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
|
|
104
|
+
export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
|
|
105
|
+
export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
|