@pisell/private-materials 3.4.16 → 3.4.18
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 +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/appointmentBooking/components/Content/index.js +1 -1
- package/es/components/appointmentBooking/components/Content/index.less +3 -3
- package/es/components/appointmentBooking/components/Services/index.js +2 -2
- package/es/components/appointmentBooking/index.js +8 -2
- package/es/components/booking/info2/service/addTimeModal/index.js +0 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eventBooking/index.js +8 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +3 -3
- package/es/hooks/useWindowSize.js +8 -1
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/es/plus/productSelect/CategoryTabs/CategorySkeleton.js +29 -0
- package/es/plus/productSelect/CategoryTabs/CategorySkeleton.less +30 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +18 -0
- package/es/plus/productSelect/CategoryTabs/index.js +171 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.js +37 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.less +81 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +45 -0
- package/es/plus/productSelect/ProductCard/index.js +170 -0
- package/es/plus/productSelect/ProductCard/index.less +253 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/ProductList/gridComponents.js +149 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/productSelect/ProductList/index.js +72 -0
- package/es/plus/productSelect/ProductList/index.less +0 -0
- package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/es/plus/productSelect/components/IntersectionObserver.js +276 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.js +357 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +224 -0
- package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/es/plus/productSelect/components/TabsStructure/hooks.js +243 -0
- package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/es/plus/productSelect/components/TabsStructure/index.js +13 -0
- package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/es/plus/productSelect/components/TabsStructure/styles.js +87 -0
- package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/es/plus/productSelect/components/TabsStructure/types.js +1 -0
- package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/es/plus/productSelect/components/TabsStructure/utils.js +56 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +44 -0
- package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
- package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/es/plus/productSelect/hooks/useToken.js +34 -0
- package/es/plus/productSelect/index.d.ts +31 -0
- package/es/plus/productSelect/index.js +270 -0
- package/es/plus/productSelect/index.less +56 -0
- package/es/plus/productSelect/locales.d.ts +18 -0
- package/es/plus/productSelect/locales.js +17 -0
- package/es/plus/productSelect/theme/token.d.ts +17 -0
- package/es/plus/productSelect/theme/token.js +19 -0
- package/es/plus/productSelect/utils.d.ts +39 -0
- package/es/plus/productSelect/utils.js +162 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +3 -0
- package/es/plus/saasCreateOrganization/components/Header.js +62 -0
- package/es/plus/saasCreateOrganization/index.d.ts +4 -0
- package/es/plus/saasCreateOrganization/index.js +15 -0
- package/es/plus/saasCreateOrganization/index.less +55 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
- package/es/plus/saasCreateOrganization/locales.js +14 -0
- package/es/plus/saasCreateOrganization/types.d.ts +69 -0
- package/es/plus/saasCreateOrganization/types.js +1 -0
- package/es/plus/saasLogin/index.d.ts +5 -0
- package/es/plus/saasLogin/index.js +165 -0
- package/es/plus/saasLogin/index.less +136 -0
- package/es/plus/saasLogin/locales.d.ts +51 -0
- package/es/plus/saasLogin/locales.js +50 -0
- package/es/plus/saasLogin/types.d.ts +62 -0
- package/es/plus/saasLogin/types.js +1 -0
- package/es/plus/saasLogin/utils.d.ts +35 -0
- package/es/plus/saasLogin/utils.js +31 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +9 -0
- package/es/plus/saasRegister/components/EntryEmail.js +92 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +9 -0
- package/es/plus/saasRegister/components/EntryInfo.js +145 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +4 -0
- package/es/plus/saasRegister/components/GoLogin.js +27 -0
- package/es/plus/saasRegister/components/Header.d.ts +3 -0
- package/es/plus/saasRegister/components/Header.js +62 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +8 -0
- package/es/plus/saasRegister/components/VerifyError.js +68 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
- package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
- package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
- package/es/plus/saasRegister/index.d.ts +5 -0
- package/es/plus/saasRegister/index.js +246 -0
- package/es/plus/saasRegister/index.less +218 -0
- package/es/plus/saasRegister/locales.d.ts +117 -0
- package/es/plus/saasRegister/locales.js +116 -0
- package/es/plus/saasRegister/types.d.ts +114 -0
- package/es/plus/saasRegister/types.js +24 -0
- package/lib/components/appointmentBooking/components/Content/index.js +1 -1
- package/lib/components/appointmentBooking/components/Content/index.less +3 -3
- package/lib/components/appointmentBooking/components/Services/index.js +2 -2
- package/lib/components/appointmentBooking/index.js +6 -1
- package/lib/components/booking/info2/service/addTimeModal/index.js +0 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eventBooking/index.js +6 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +3 -3
- package/lib/hooks/useWindowSize.js +6 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +9 -0
- package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.js +62 -0
- package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.less +30 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +18 -0
- package/lib/plus/productSelect/CategoryTabs/index.js +183 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.js +58 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.less +81 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +45 -0
- package/lib/plus/productSelect/ProductCard/index.js +184 -0
- package/lib/plus/productSelect/ProductCard/index.less +253 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/ProductList/gridComponents.js +148 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/productSelect/ProductList/index.js +86 -0
- package/lib/plus/productSelect/ProductList/index.less +0 -0
- package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/lib/plus/productSelect/components/IntersectionObserver.js +269 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.js +393 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +224 -0
- package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/lib/plus/productSelect/components/TabsStructure/hooks.js +209 -0
- package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/lib/plus/productSelect/components/TabsStructure/index.js +92 -0
- package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/lib/plus/productSelect/components/TabsStructure/styles.js +122 -0
- package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/lib/plus/productSelect/components/TabsStructure/types.js +17 -0
- package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/lib/plus/productSelect/components/TabsStructure/utils.js +72 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +73 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
- package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/plus/productSelect/hooks/useToken.js +50 -0
- package/lib/plus/productSelect/index.d.ts +31 -0
- package/lib/plus/productSelect/index.js +299 -0
- package/lib/plus/productSelect/index.less +56 -0
- package/lib/plus/productSelect/locales.d.ts +18 -0
- package/lib/plus/productSelect/locales.js +41 -0
- package/lib/plus/productSelect/theme/token.d.ts +17 -0
- package/lib/plus/productSelect/theme/token.js +47 -0
- package/lib/plus/productSelect/utils.d.ts +39 -0
- package/lib/plus/productSelect/utils.js +138 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +3 -0
- package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +4 -0
- package/lib/plus/saasCreateOrganization/index.js +47 -0
- package/lib/plus/saasCreateOrganization/index.less +55 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
- package/lib/plus/saasCreateOrganization/locales.js +38 -0
- package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
- package/lib/plus/saasCreateOrganization/types.js +17 -0
- package/lib/plus/saasLogin/index.d.ts +5 -0
- package/lib/plus/saasLogin/index.js +171 -0
- package/lib/plus/saasLogin/index.less +136 -0
- package/lib/plus/saasLogin/locales.d.ts +51 -0
- package/lib/plus/saasLogin/locales.js +74 -0
- package/lib/plus/saasLogin/types.d.ts +62 -0
- package/lib/plus/saasLogin/types.js +17 -0
- package/lib/plus/saasLogin/utils.d.ts +35 -0
- package/lib/plus/saasLogin/utils.js +50 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +9 -0
- package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +9 -0
- package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +4 -0
- package/lib/plus/saasRegister/components/GoLogin.js +58 -0
- package/lib/plus/saasRegister/components/Header.d.ts +3 -0
- package/lib/plus/saasRegister/components/Header.js +99 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +8 -0
- package/lib/plus/saasRegister/components/VerifyError.js +123 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
- package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
- package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
- package/lib/plus/saasRegister/index.d.ts +5 -0
- package/lib/plus/saasRegister/index.js +205 -0
- package/lib/plus/saasRegister/index.less +218 -0
- package/lib/plus/saasRegister/locales.d.ts +117 -0
- package/lib/plus/saasRegister/locales.js +140 -0
- package/lib/plus/saasRegister/types.d.ts +114 -0
- package/lib/plus/saasRegister/types.js +54 -0
- package/lowcode/saas-create-organization/meta.ts +214 -0
- package/lowcode/saas-create-organization/snippets.ts +25 -0
- package/lowcode/saas-login/meta.ts +370 -0
- package/lowcode/saas-login/snippets.ts +38 -0
- package/lowcode/saas-register/meta.ts +386 -0
- package/lowcode/saas-register/snippets.ts +31 -0
- package/package.json +2 -2
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/plus/saasCreateOrganization/components/Header.tsx
|
|
30
|
+
var Header_exports = {};
|
|
31
|
+
__export(Header_exports, {
|
|
32
|
+
Header: () => Header
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(Header_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_utils = require("@pisell/utils");
|
|
37
|
+
var import__ = require("../index.less");
|
|
38
|
+
var Header = (props) => {
|
|
39
|
+
const {
|
|
40
|
+
showLogo = true,
|
|
41
|
+
logo = "",
|
|
42
|
+
logoSize = { width: 48, height: 48 },
|
|
43
|
+
logoPosition = "center",
|
|
44
|
+
showWelcomeMessage = true,
|
|
45
|
+
welcomeMessage = import_utils.locales.getText("pisell-saas-create-org-welcome-message"),
|
|
46
|
+
welcomeMessageAlign = "center",
|
|
47
|
+
showTitle = true,
|
|
48
|
+
title = import_utils.locales.getText("pisell-saas-create-org-title"),
|
|
49
|
+
titleAlign = "center",
|
|
50
|
+
showSubtitle = true,
|
|
51
|
+
subtitle = "",
|
|
52
|
+
subtitleAlign = "center"
|
|
53
|
+
} = props;
|
|
54
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showLogo && /* @__PURE__ */ import_react.default.createElement(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: `pisell-saas-create-org-logo ${logoPosition}`,
|
|
58
|
+
style: {
|
|
59
|
+
width: logoSize.width,
|
|
60
|
+
height: logoSize.height
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
logo && /* @__PURE__ */ import_react.default.createElement(
|
|
64
|
+
"img",
|
|
65
|
+
{
|
|
66
|
+
src: logo,
|
|
67
|
+
alt: "logo",
|
|
68
|
+
style: {
|
|
69
|
+
height: (logoSize == null ? void 0 : logoSize.height) || 48
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
), showWelcomeMessage && /* @__PURE__ */ import_react.default.createElement(
|
|
74
|
+
"h1",
|
|
75
|
+
{
|
|
76
|
+
className: "pisell-saas-create-org-welcome-message",
|
|
77
|
+
style: { textAlign: welcomeMessageAlign }
|
|
78
|
+
},
|
|
79
|
+
welcomeMessage || ""
|
|
80
|
+
), showTitle && /* @__PURE__ */ import_react.default.createElement(
|
|
81
|
+
"h1",
|
|
82
|
+
{
|
|
83
|
+
className: "pisell-saas-create-org-title",
|
|
84
|
+
style: { textAlign: titleAlign }
|
|
85
|
+
},
|
|
86
|
+
title || ""
|
|
87
|
+
), showSubtitle && /* @__PURE__ */ import_react.default.createElement(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: "pisell-saas-create-org-subtitle",
|
|
91
|
+
style: { textAlign: subtitleAlign }
|
|
92
|
+
},
|
|
93
|
+
subtitle || ""
|
|
94
|
+
));
|
|
95
|
+
};
|
|
96
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
97
|
+
0 && (module.exports = {
|
|
98
|
+
Header
|
|
99
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/plus/saasCreateOrganization/index.tsx
|
|
30
|
+
var saasCreateOrganization_exports = {};
|
|
31
|
+
__export(saasCreateOrganization_exports, {
|
|
32
|
+
default: () => saasCreateOrganization_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(saasCreateOrganization_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_utils = require("@pisell/utils");
|
|
37
|
+
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
38
|
+
var import_Header = require("./components/Header");
|
|
39
|
+
var import_locales = __toESM(require("./locales"));
|
|
40
|
+
var import_index = require("./index.less");
|
|
41
|
+
var SaasCreateOrganization = (props) => {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
const context = (0, import_useEngineContext.default)();
|
|
44
|
+
import_utils.locales.init(import_locales.default, ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en");
|
|
45
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-saas-create-org-container" }, /* @__PURE__ */ import_react.default.createElement(import_Header.Header, { ...props }), /* @__PURE__ */ import_react.default.createElement("div", null, props == null ? void 0 : props.children));
|
|
46
|
+
};
|
|
47
|
+
var saasCreateOrganization_default = SaasCreateOrganization;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.pisell-saas-create-org-container {
|
|
2
|
+
width: 360px;
|
|
3
|
+
max-width: 360px;
|
|
4
|
+
min-width: 266px;
|
|
5
|
+
margin: 0 20px;
|
|
6
|
+
overflow-x: hidden;
|
|
7
|
+
|
|
8
|
+
// Logo样式
|
|
9
|
+
.pisell-saas-create-org-logo {
|
|
10
|
+
width: fit-content;
|
|
11
|
+
height: 48px;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
|
|
14
|
+
&.left {
|
|
15
|
+
margin-right: auto;
|
|
16
|
+
margin-left: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.center {
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.right {
|
|
24
|
+
margin-left: auto;
|
|
25
|
+
margin-right: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
img {
|
|
29
|
+
height: 48px;
|
|
30
|
+
object-fit: contain;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pisell-saas-create-org-welcome-message {
|
|
35
|
+
margin-top: 10px;
|
|
36
|
+
color: #101828;
|
|
37
|
+
text-align: center;
|
|
38
|
+
font-size: 20px;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pisell-saas-create-org-title {
|
|
43
|
+
margin-top: 24px;
|
|
44
|
+
font-size: 30px;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: #101828;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pisell-saas-create-org-subtitle {
|
|
50
|
+
margin-top: 12px;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
color: #475467;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
4
|
+
'pisell-saas-create-org-title': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
8
|
+
'pisell-saas-create-org-title': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-TW': {
|
|
11
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
12
|
+
'pisell-saas-create-org-title': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/plus/saasCreateOrganization/locales.ts
|
|
20
|
+
var locales_exports = {};
|
|
21
|
+
__export(locales_exports, {
|
|
22
|
+
default: () => locales_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(locales_exports);
|
|
25
|
+
var locales_default = {
|
|
26
|
+
en: {
|
|
27
|
+
"pisell-saas-create-org-welcome-message": "Welcome to",
|
|
28
|
+
"pisell-saas-create-org-title": "Create your organization"
|
|
29
|
+
},
|
|
30
|
+
"zh-CN": {
|
|
31
|
+
"pisell-saas-create-org-welcome-message": "欢迎使用",
|
|
32
|
+
"pisell-saas-create-org-title": "创建您的企业"
|
|
33
|
+
},
|
|
34
|
+
"zh-TW": {
|
|
35
|
+
"pisell-saas-create-org-welcome-message": "歡迎使用",
|
|
36
|
+
"pisell-saas-create-org-title": "創建您的企業"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface SCOProps {
|
|
3
|
+
/** 是否显示Logo */
|
|
4
|
+
showLogo?: boolean;
|
|
5
|
+
/** Logo图片地址 */
|
|
6
|
+
logo?: string;
|
|
7
|
+
/** Logo位置 */
|
|
8
|
+
logoPosition?: 'left' | 'center' | 'right';
|
|
9
|
+
/** Logo尺寸 */
|
|
10
|
+
logoSize?: {
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
};
|
|
14
|
+
/** 是否显示欢迎语 */
|
|
15
|
+
showWelcomeMessage?: boolean;
|
|
16
|
+
/** 欢迎语 */
|
|
17
|
+
welcomeMessage?: string;
|
|
18
|
+
/** 欢迎语对齐方式 */
|
|
19
|
+
welcomeMessageAlign?: 'left' | 'center' | 'right';
|
|
20
|
+
/** 是否显示标题 */
|
|
21
|
+
showTitle?: boolean;
|
|
22
|
+
/** 标题 */
|
|
23
|
+
title?: string;
|
|
24
|
+
/** 标题对齐方式 */
|
|
25
|
+
titleAlign?: 'left' | 'center' | 'right';
|
|
26
|
+
/** 副标题 */
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
/** 是否显示副标题 */
|
|
29
|
+
showSubtitle?: boolean;
|
|
30
|
+
/** 副标题对齐方式 */
|
|
31
|
+
subtitleAlign?: 'left' | 'center' | 'right';
|
|
32
|
+
/** 是否显示公司名称输入框 */
|
|
33
|
+
showCompanyName?: boolean;
|
|
34
|
+
/** 公司名称输入框标题 */
|
|
35
|
+
companyNameLabel?: string;
|
|
36
|
+
/** 公司名称输入框占位符 */
|
|
37
|
+
companyNamePlaceholder?: string;
|
|
38
|
+
/** 公司名称输入框必填 */
|
|
39
|
+
companyNameRequired?: boolean;
|
|
40
|
+
/** 是否显示域名输入框 */
|
|
41
|
+
showDomain?: boolean;
|
|
42
|
+
/** 域名输入框标题 */
|
|
43
|
+
domainLabel?: string;
|
|
44
|
+
/** 域名输入框占位符 */
|
|
45
|
+
domainPlaceholder?: string;
|
|
46
|
+
/** 域名输入框必填 */
|
|
47
|
+
domainRequired?: boolean;
|
|
48
|
+
/** 是否显示分割线 */
|
|
49
|
+
showDivider?: boolean;
|
|
50
|
+
/** 分割线文案 */
|
|
51
|
+
dividerText?: string;
|
|
52
|
+
/** 是否显示时区选择 */
|
|
53
|
+
showTimezoneSelect?: boolean;
|
|
54
|
+
/** 时区选择标题 */
|
|
55
|
+
timezoneSelectLabel?: string;
|
|
56
|
+
/** 时区选择必填 */
|
|
57
|
+
timezoneSelectRequired?: boolean;
|
|
58
|
+
/** 是否显示语言选择 */
|
|
59
|
+
showLanguageSelect?: boolean;
|
|
60
|
+
/** 语言选择标题 */
|
|
61
|
+
languageSelectLabel?: string;
|
|
62
|
+
/** 语言选择必填 */
|
|
63
|
+
languageSelectRequired?: boolean;
|
|
64
|
+
/** 按钮文本 */
|
|
65
|
+
buttonText?: string;
|
|
66
|
+
/** 创建企业回调 */
|
|
67
|
+
onCreateOrganization?: (info: any) => Promise<void>;
|
|
68
|
+
children?: React.ReactNode;
|
|
69
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
|
|
15
|
+
// src/plus/saasCreateOrganization/types.ts
|
|
16
|
+
var types_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/plus/saasLogin/index.tsx
|
|
30
|
+
var saasLogin_exports = {};
|
|
31
|
+
__export(saasLogin_exports, {
|
|
32
|
+
default: () => saasLogin_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(saasLogin_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_antd = require("antd");
|
|
37
|
+
var import_utils = require("@pisell/utils");
|
|
38
|
+
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
39
|
+
var import_locales = __toESM(require("./locales"));
|
|
40
|
+
var import_utils2 = require("./utils");
|
|
41
|
+
var import_index = require("./index.less");
|
|
42
|
+
var SaasLogin = (props) => {
|
|
43
|
+
var _a, _b, _c, _d, _e;
|
|
44
|
+
const context = (0, import_useEngineContext.default)();
|
|
45
|
+
import_utils.locales.init(import_locales.default, ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en");
|
|
46
|
+
const [form] = import_antd.Form.useForm();
|
|
47
|
+
const [loading, setLoading] = (0, import_react.useState)(false);
|
|
48
|
+
const [data, setData] = (0, import_react.useState)({});
|
|
49
|
+
(0, import_react.useEffect)(() => {
|
|
50
|
+
const newData = (0, import_utils2.mergeData)(import_utils.locales, props);
|
|
51
|
+
setData({ ...newData });
|
|
52
|
+
}, [props, import_utils.locales]);
|
|
53
|
+
const emailRules = [
|
|
54
|
+
{
|
|
55
|
+
required: true,
|
|
56
|
+
message: import_utils.locales.getText("pisell-saas-login-email-error")
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
type: "email",
|
|
60
|
+
message: import_utils.locales.getText("pisell-saas-login-email-error-valid")
|
|
61
|
+
}
|
|
62
|
+
];
|
|
63
|
+
const handleEmailLogin = async () => {
|
|
64
|
+
var _a2;
|
|
65
|
+
try {
|
|
66
|
+
setLoading(true);
|
|
67
|
+
const values = await form.validateFields();
|
|
68
|
+
await ((_a2 = props == null ? void 0 : props.onLogin) == null ? void 0 : _a2.call(props, { ...values, loginMethod: "email" }));
|
|
69
|
+
} catch (error) {
|
|
70
|
+
console.error("Validation failed:", error);
|
|
71
|
+
} finally {
|
|
72
|
+
setLoading(false);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-saas-login-main" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-saas-login-container" }, (data == null ? void 0 : data.showLogo) && /* @__PURE__ */ import_react.default.createElement(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: `pisell-saas-login-logo ${data.logoPosition}`,
|
|
79
|
+
style: {
|
|
80
|
+
width: ((_c = data == null ? void 0 : data.logoSize) == null ? void 0 : _c.width) || 48,
|
|
81
|
+
height: ((_d = data == null ? void 0 : data.logoSize) == null ? void 0 : _d.height) || 48
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
(data == null ? void 0 : data.logo) && /* @__PURE__ */ import_react.default.createElement(
|
|
85
|
+
"img",
|
|
86
|
+
{
|
|
87
|
+
src: data == null ? void 0 : data.logo,
|
|
88
|
+
alt: "logo",
|
|
89
|
+
style: {
|
|
90
|
+
height: ((_e = data == null ? void 0 : data.logoSize) == null ? void 0 : _e.height) || 48
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
), (data == null ? void 0 : data.showWelcomeMessage) && /* @__PURE__ */ import_react.default.createElement(
|
|
95
|
+
"h1",
|
|
96
|
+
{
|
|
97
|
+
className: "pisell-saas-login-welcome-message",
|
|
98
|
+
style: { textAlign: data == null ? void 0 : data.welcomeMessageAlign }
|
|
99
|
+
},
|
|
100
|
+
(data == null ? void 0 : data.welcomeMessage) || ""
|
|
101
|
+
), (data == null ? void 0 : data.showTitle) && /* @__PURE__ */ import_react.default.createElement(
|
|
102
|
+
"h1",
|
|
103
|
+
{
|
|
104
|
+
className: "pisell-saas-login-title",
|
|
105
|
+
style: { textAlign: data == null ? void 0 : data.titleAlign }
|
|
106
|
+
},
|
|
107
|
+
(data == null ? void 0 : data.title) || ""
|
|
108
|
+
), (data == null ? void 0 : data.showSubtitle) && /* @__PURE__ */ import_react.default.createElement(
|
|
109
|
+
"p",
|
|
110
|
+
{
|
|
111
|
+
className: "pisell-saas-login-subtitle",
|
|
112
|
+
style: { textAlign: data == null ? void 0 : data.subtitleAlign }
|
|
113
|
+
},
|
|
114
|
+
(data == null ? void 0 : data.subtitle) || ""
|
|
115
|
+
), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-saas-login-form" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Form, { form }, /* @__PURE__ */ import_react.default.createElement("div", { className: "form-item-label" }, (data == null ? void 0 : data.emailLabel) || ""), /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { name: "email", rules: emailRules }, /* @__PURE__ */ import_react.default.createElement(
|
|
116
|
+
import_antd.Input,
|
|
117
|
+
{
|
|
118
|
+
placeholder: (data == null ? void 0 : data.emailPlaceholder) || "",
|
|
119
|
+
size: "large",
|
|
120
|
+
className: "pisell-saas-login-input"
|
|
121
|
+
}
|
|
122
|
+
)), /* @__PURE__ */ import_react.default.createElement("div", { className: "form-item-label" }, (data == null ? void 0 : data.passwordLabel) || ""), /* @__PURE__ */ import_react.default.createElement(
|
|
123
|
+
import_antd.Form.Item,
|
|
124
|
+
{
|
|
125
|
+
name: "password",
|
|
126
|
+
rules: [
|
|
127
|
+
{
|
|
128
|
+
required: true,
|
|
129
|
+
message: import_utils.locales.getText(
|
|
130
|
+
"pisell-saas-login-password-required"
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
136
|
+
import_antd.Input.Password,
|
|
137
|
+
{
|
|
138
|
+
placeholder: (data == null ? void 0 : data.passwordPlaceholder) || "",
|
|
139
|
+
size: "large",
|
|
140
|
+
className: "pisell-saas-login-input"
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
144
|
+
import_antd.Button,
|
|
145
|
+
{
|
|
146
|
+
type: "primary",
|
|
147
|
+
block: true,
|
|
148
|
+
size: "large",
|
|
149
|
+
loading,
|
|
150
|
+
onClick: handleEmailLogin,
|
|
151
|
+
className: "pisell-saas-login-button"
|
|
152
|
+
},
|
|
153
|
+
(data == null ? void 0 : data.buttonText) || ""
|
|
154
|
+
))), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-saas-login-footer" }, (data == null ? void 0 : data.showRegister) && /* @__PURE__ */ import_react.default.createElement(
|
|
155
|
+
"p",
|
|
156
|
+
{
|
|
157
|
+
className: "pisell-saas-login-signup",
|
|
158
|
+
style: { textAlign: data == null ? void 0 : data.registerAlign }
|
|
159
|
+
},
|
|
160
|
+
(data == null ? void 0 : data.showRegisterText) ? data == null ? void 0 : data.registerText : "",
|
|
161
|
+
(data == null ? void 0 : data.showRegisterLinkText) && /* @__PURE__ */ import_react.default.createElement(
|
|
162
|
+
"a",
|
|
163
|
+
{
|
|
164
|
+
onClick: props == null ? void 0 : props.onGoRegister,
|
|
165
|
+
className: "pisell-saas-login-signup-link"
|
|
166
|
+
},
|
|
167
|
+
(data == null ? void 0 : data.registerLinkText) || ""
|
|
168
|
+
)
|
|
169
|
+
))));
|
|
170
|
+
};
|
|
171
|
+
var saasLogin_default = SaasLogin;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
.pisell-saas-login-container {
|
|
2
|
+
width: 360px;
|
|
3
|
+
max-width: 360px;
|
|
4
|
+
min-width: 266px;
|
|
5
|
+
margin: 0 20px;
|
|
6
|
+
overflow-x: hidden;
|
|
7
|
+
|
|
8
|
+
// Logo样式
|
|
9
|
+
.pisell-saas-login-logo {
|
|
10
|
+
width: fit-content;
|
|
11
|
+
height: 48px;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
|
|
14
|
+
&.left {
|
|
15
|
+
margin-right: auto;
|
|
16
|
+
margin-left: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.center {
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.right {
|
|
24
|
+
margin-left: auto;
|
|
25
|
+
margin-right: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
img {
|
|
29
|
+
height: 48px;
|
|
30
|
+
object-fit: contain;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pisell-saas-login-welcome-message {
|
|
35
|
+
margin-top: 10px;
|
|
36
|
+
color: #101828;
|
|
37
|
+
text-align: center;
|
|
38
|
+
font-size: 20px;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pisell-saas-login-title {
|
|
43
|
+
margin-top: 24px;
|
|
44
|
+
font-size: 30px;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: #101828;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pisell-saas-login-subtitle {
|
|
50
|
+
margin-top: 12px;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
color: #475467;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 表单区域样式
|
|
57
|
+
.pisell-saas-login-form {
|
|
58
|
+
margin-top: 32px;
|
|
59
|
+
margin-bottom: 16px;
|
|
60
|
+
|
|
61
|
+
// 表单项标题
|
|
62
|
+
.form-item-label {
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
color: #344054;
|
|
66
|
+
margin-bottom: 6px;
|
|
67
|
+
text-align: left;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// 输入框样式
|
|
71
|
+
.pisell-saas-login-input {
|
|
72
|
+
height: 44px;
|
|
73
|
+
border-radius: 8px;
|
|
74
|
+
border: 1px solid #d0d5dd;
|
|
75
|
+
background: #fff;
|
|
76
|
+
|
|
77
|
+
&:hover {
|
|
78
|
+
border-color: var(--theme-color);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:focus {
|
|
82
|
+
border-color: var(--theme-color);
|
|
83
|
+
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.ant-input-password {
|
|
87
|
+
padding: 4px 11px;
|
|
88
|
+
|
|
89
|
+
.ant-input {
|
|
90
|
+
height: 34px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// 登录按钮样式
|
|
96
|
+
.pisell-saas-login-button {
|
|
97
|
+
height: 44px;
|
|
98
|
+
border-radius: 8px;
|
|
99
|
+
background: var(--theme-color);
|
|
100
|
+
border: none;
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
background: #6941c6;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:focus {
|
|
108
|
+
background: var(--theme-color);
|
|
109
|
+
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// 页脚样式
|
|
115
|
+
.pisell-saas-login-footer {
|
|
116
|
+
.pisell-saas-login-signup {
|
|
117
|
+
margin-top: 32px;
|
|
118
|
+
margin-bottom: 16px;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
color: #475467;
|
|
121
|
+
font-weight: 400;
|
|
122
|
+
|
|
123
|
+
a {
|
|
124
|
+
margin-left: 4px;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
color: #6941c6;
|
|
127
|
+
font-size: 14px;
|
|
128
|
+
font-weight: 600;
|
|
129
|
+
|
|
130
|
+
&:hover {
|
|
131
|
+
color: #6941c6;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|