@pisell/private-materials 3.2.17 → 3.2.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 +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/ContinueButton/index.js +19 -10
- package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/Total.js +10 -20
- package/es/components/appointmentBooking/components/Cart/Item/index.js +73 -0
- package/es/components/appointmentBooking/components/Content/index.js +29 -15
- package/es/components/appointmentBooking/components/Date/index.js +77 -12
- package/es/components/appointmentBooking/components/Date/index.less +1 -0
- package/es/components/appointmentBooking/components/Footer/index.js +3 -3
- package/es/components/appointmentBooking/components/Guest/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/{Provider/Information → Guest}/index.js +50 -59
- package/es/components/appointmentBooking/components/Header/index.js +6 -4
- package/es/components/appointmentBooking/components/Resource/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Resource/index.js +62 -29
- package/es/components/appointmentBooking/components/Resource/index.less +6 -0
- package/es/components/appointmentBooking/components/Services/index.js +25 -135
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +44 -755
- package/es/components/appointmentBooking/context.d.ts +23 -0
- package/es/components/appointmentBooking/context.js +71 -0
- package/es/components/appointmentBooking/hooks.d.ts +6 -8
- package/es/components/appointmentBooking/hooks.js +119 -62
- package/es/components/appointmentBooking/index.js +2 -3
- package/es/components/appointmentBooking/locales.d.ts +12 -0
- package/es/components/appointmentBooking/locales.js +21 -3
- package/es/components/appointmentBooking/utils.d.ts +12 -0
- package/es/components/appointmentBooking/utils.js +70 -0
- package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/ContinueButton/index.js +18 -16
- package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/Total.js +7 -11
- package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/index.js +22 -21
- package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/index.js +1 -1
- package/lib/components/appointmentBooking/components/Content/index.js +26 -14
- package/lib/components/appointmentBooking/components/Date/index.js +53 -16
- package/lib/components/appointmentBooking/components/Date/index.less +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.js +3 -3
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/{Provider/Information → Guest}/index.js +43 -52
- package/lib/components/appointmentBooking/components/Header/index.js +2 -3
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +55 -41
- package/lib/components/appointmentBooking/components/Resource/index.less +6 -0
- package/lib/components/appointmentBooking/components/Services/index.js +15 -155
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +17 -941
- package/lib/components/appointmentBooking/context.d.ts +23 -0
- package/lib/components/appointmentBooking/context.js +85 -0
- package/lib/components/appointmentBooking/hooks.d.ts +6 -8
- package/lib/components/appointmentBooking/hooks.js +44 -20
- package/lib/components/appointmentBooking/index.js +2 -5
- package/lib/components/appointmentBooking/locales.d.ts +12 -0
- package/lib/components/appointmentBooking/locales.js +15 -3
- package/lib/components/appointmentBooking/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/utils.js +62 -2
- package/package.json +2 -2
- package/es/components/appointmentBooking/components/Information/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Information/index.js +0 -178
- package/es/components/appointmentBooking/components/Provider/Cart/Item/index.js +0 -68
- package/es/components/appointmentBooking/components/Provider/Content/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/Content/index.js +0 -64
- package/es/components/appointmentBooking/components/Provider/Content/index.less +0 -31
- package/es/components/appointmentBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/EmptyHolderModal/index.js +0 -34
- package/es/components/appointmentBooking/components/Provider/EmptyHolderModal/index.less +0 -17
- package/es/components/appointmentBooking/components/Provider/Event/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/Event/index.js +0 -93
- package/es/components/appointmentBooking/components/Provider/Event/index.less +0 -20
- package/es/components/appointmentBooking/components/Provider/Information/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/InformationOptionsModal/index.js +0 -34
- package/es/components/appointmentBooking/components/Provider/InformationOptionsModal/index.less +0 -27
- package/es/components/appointmentBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/OrderProductModal/index.js +0 -27
- package/es/components/appointmentBooking/components/Provider/OrderProductModal/index.less +0 -32
- package/es/components/appointmentBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
- package/es/components/appointmentBooking/components/Provider/RemoveOptionConfirmModal.js +0 -31
- package/es/components/appointmentBooking/components/Provider/Resource/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Provider/Resource/index.js +0 -79
- package/es/components/appointmentBooking/components/Provider/Resource/index.less +0 -46
- package/es/components/appointmentBooking/components/Provider/SelectHolderModal.d.ts +0 -2
- package/es/components/appointmentBooking/components/Provider/SelectHolderModal.js +0 -90
- package/es/components/appointmentBooking/components/Provider/SelectProduct/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Provider/SelectProduct/index.js +0 -77
- package/es/components/appointmentBooking/components/Provider/SelectProduct/index.less +0 -131
- package/es/components/booking/info/service2/utils.d.ts +0 -240
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Information/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Information/index.js +0 -151
- package/lib/components/appointmentBooking/components/Information/index.less +0 -92
- package/lib/components/appointmentBooking/components/Provider/Cart/Item/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/Content/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/Content/index.js +0 -90
- package/lib/components/appointmentBooking/components/Provider/Content/index.less +0 -31
- package/lib/components/appointmentBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/EmptyHolderModal/index.js +0 -60
- package/lib/components/appointmentBooking/components/Provider/EmptyHolderModal/index.less +0 -17
- package/lib/components/appointmentBooking/components/Provider/Event/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/Event/index.js +0 -100
- package/lib/components/appointmentBooking/components/Provider/Event/index.less +0 -20
- package/lib/components/appointmentBooking/components/Provider/Information/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/Information/index.less +0 -92
- package/lib/components/appointmentBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/InformationOptionsModal/index.js +0 -67
- package/lib/components/appointmentBooking/components/Provider/InformationOptionsModal/index.less +0 -27
- package/lib/components/appointmentBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/OrderProductModal/index.js +0 -57
- package/lib/components/appointmentBooking/components/Provider/OrderProductModal/index.less +0 -32
- package/lib/components/appointmentBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
- package/lib/components/appointmentBooking/components/Provider/RemoveOptionConfirmModal.js +0 -62
- package/lib/components/appointmentBooking/components/Provider/Resource/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Provider/Resource/index.js +0 -90
- package/lib/components/appointmentBooking/components/Provider/Resource/index.less +0 -46
- package/lib/components/appointmentBooking/components/Provider/SelectHolderModal.d.ts +0 -2
- package/lib/components/appointmentBooking/components/Provider/SelectHolderModal.js +0 -97
- package/lib/components/appointmentBooking/components/Provider/SelectProduct/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Provider/SelectProduct/index.js +0 -69
- package/lib/components/appointmentBooking/components/Provider/SelectProduct/index.less +0 -131
- package/lib/components/booking/info/service2/utils.d.ts +0 -240
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/ContinueButton/index.d.ts +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/ContinueButton/index.less +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/Total.d.ts +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/index.d.ts +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/index.less +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/index.d.ts +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/index.js +0 -0
- /package/es/components/appointmentBooking/components/{Provider/Cart → Cart}/index.less +0 -0
- /package/es/components/appointmentBooking/components/{Information → Guest}/index.less +0 -0
- /package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/ContinueButton/index.d.ts +0 -0
- /package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/ContinueButton/index.less +0 -0
- /package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/Total.d.ts +0 -0
- /package/{es/components/eventBooking/components/Provider → lib/components/appointmentBooking/components}/Cart/Item/index.d.ts +0 -0
- /package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/Item/index.less +0 -0
- /package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/index.d.ts +0 -0
- /package/lib/components/appointmentBooking/components/{Provider/Cart → Cart}/index.less +0 -0
- /package/{es/components/appointmentBooking/components/Provider/Information → lib/components/appointmentBooking/components/Guest}/index.less +0 -0
|
@@ -1,151 +0,0 @@
|
|
|
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/components/appointmentBooking/components/Information/index.tsx
|
|
30
|
-
var Information_exports = {};
|
|
31
|
-
__export(Information_exports, {
|
|
32
|
-
default: () => Information_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Information_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_antd = require("antd");
|
|
37
|
-
var import_materials = require("@pisell/materials");
|
|
38
|
-
var import_utils = require("@pisell/utils");
|
|
39
|
-
var import_Sales = require("../../../Sales");
|
|
40
|
-
var import_SelectHolderModal = __toESM(require("../Provider/SelectHolderModal"));
|
|
41
|
-
var import_InformationOptionsModal = __toESM(require("../Provider/InformationOptionsModal/index"));
|
|
42
|
-
var import_RemoveOptionConfirmModal = __toESM(require("../Provider/RemoveOptionConfirmModal"));
|
|
43
|
-
var import_index = require("./index.less");
|
|
44
|
-
var Information = () => {
|
|
45
|
-
const { onHolderOpen, open } = (0, import_Sales.useHolder)();
|
|
46
|
-
const { cartDataHolderList } = (0, import_Sales.useCart)();
|
|
47
|
-
const { selectHolder, deleteHolderById } = (0, import_Sales.useHolder)();
|
|
48
|
-
const { prevStep } = (0, import_Sales.useStep)();
|
|
49
|
-
const [openOption, setOpenOption] = (0, import_react.useState)(false);
|
|
50
|
-
const [holderItem, setHolderItem] = (0, import_react.useState)(null);
|
|
51
|
-
const [removeOpen, setRemoveOpen] = (0, import_react.useState)(false);
|
|
52
|
-
const options = [
|
|
53
|
-
{
|
|
54
|
-
key: "edit",
|
|
55
|
-
label: /* @__PURE__ */ import_react.default.createElement("span", { className: "dropdown-menu-item" }, import_utils.locales.getText("pisell2.event.edit.event"))
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
key: "remove",
|
|
59
|
-
label: /* @__PURE__ */ import_react.default.createElement("span", { className: "dropdown-menu-item dropdown-menu-remove-item" }, import_utils.locales.getText("pisell2.event.remove"))
|
|
60
|
-
}
|
|
61
|
-
];
|
|
62
|
-
const handleClick = ({ key }, item) => {
|
|
63
|
-
if (key === "edit") {
|
|
64
|
-
selectHolder(item || holderItem, "createCartItem");
|
|
65
|
-
prevStep();
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
setRemoveOpen(true);
|
|
69
|
-
};
|
|
70
|
-
const renderOptionButton = (item) => {
|
|
71
|
-
if ((0, import_utils.isMobile)()) {
|
|
72
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
73
|
-
import_materials.Button,
|
|
74
|
-
{
|
|
75
|
-
size: "large",
|
|
76
|
-
onClick: () => {
|
|
77
|
-
setHolderItem(item);
|
|
78
|
-
setOpenOption(true);
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
import_utils.locales.getText("pisell2.event.option")
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
85
|
-
import_antd.Dropdown,
|
|
86
|
-
{
|
|
87
|
-
menu: {
|
|
88
|
-
items: options,
|
|
89
|
-
onClick: (e) => {
|
|
90
|
-
setHolderItem(item);
|
|
91
|
-
handleClick(e, item);
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
placement: "bottomRight",
|
|
95
|
-
overlayClassName: "provider-information-custom-dropdown-menu"
|
|
96
|
-
},
|
|
97
|
-
/* @__PURE__ */ import_react.default.createElement(import_materials.Button, null, import_utils.locales.getText("pisell2.event.option"))
|
|
98
|
-
);
|
|
99
|
-
};
|
|
100
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "provider-information-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "title" }, import_utils.locales.getText("pisell2.event.confirm.information.tip")), cartDataHolderList == null ? void 0 : cartDataHolderList.map((item) => {
|
|
101
|
-
var _a;
|
|
102
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
103
|
-
import_materials.PisellCard,
|
|
104
|
-
{
|
|
105
|
-
key: item.id,
|
|
106
|
-
padding: 20,
|
|
107
|
-
className: "information-card",
|
|
108
|
-
isClickable: false
|
|
109
|
-
},
|
|
110
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "information-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "information-left" }, /* @__PURE__ */ import_react.default.createElement(import_materials.PisellAvatar, { src: item.avatar, size: "md" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "information-title" }, /* @__PURE__ */ import_react.default.createElement("span", null, item.name), /* @__PURE__ */ import_react.default.createElement("span", { className: "subtitle" }, `${import_utils.locales.getText(
|
|
111
|
-
"pisell2.event.title"
|
|
112
|
-
)((_a = item.children) == null ? void 0 : _a.length)}`))), renderOptionButton(item)),
|
|
113
|
-
item.children.map((child) => {
|
|
114
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "child-wrap" }, child.name);
|
|
115
|
-
})
|
|
116
|
-
);
|
|
117
|
-
}), /* @__PURE__ */ import_react.default.createElement("span", { className: "add-tip" }, import_utils.locales.getText("pisell2.event.confirm.information.other")), /* @__PURE__ */ import_react.default.createElement(
|
|
118
|
-
import_materials.Button,
|
|
119
|
-
{
|
|
120
|
-
size: "large",
|
|
121
|
-
style: { width: "max-content" },
|
|
122
|
-
onClick: () => {
|
|
123
|
-
onHolderOpen();
|
|
124
|
-
},
|
|
125
|
-
className: "provider-information-add-button"
|
|
126
|
-
},
|
|
127
|
-
/* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-plus", style: { fontSize: "20px" } }),
|
|
128
|
-
import_utils.locales.getText("pisell2.event.add.others")
|
|
129
|
-
)), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open, type: "create" }), /* @__PURE__ */ import_react.default.createElement(
|
|
130
|
-
import_InformationOptionsModal.default,
|
|
131
|
-
{
|
|
132
|
-
options,
|
|
133
|
-
open: openOption,
|
|
134
|
-
holderItem,
|
|
135
|
-
onCancel: () => setOpenOption(false),
|
|
136
|
-
onClick: handleClick
|
|
137
|
-
}
|
|
138
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
139
|
-
import_RemoveOptionConfirmModal.default,
|
|
140
|
-
{
|
|
141
|
-
removeOpen,
|
|
142
|
-
onCancel: () => setRemoveOpen(false),
|
|
143
|
-
onOk: () => {
|
|
144
|
-
deleteHolderById(holderItem.id);
|
|
145
|
-
setRemoveOpen(false);
|
|
146
|
-
setOpenOption(false);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
));
|
|
150
|
-
};
|
|
151
|
-
var Information_default = Information;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.provider-information-wrap {
|
|
2
|
-
padding: 16px;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 16px;
|
|
6
|
-
background: #ffffff;
|
|
7
|
-
margin-top: 16px;
|
|
8
|
-
width: 100%;
|
|
9
|
-
|
|
10
|
-
.provider-information-add-button {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
.pisell-lowcode-image-mask-info {
|
|
14
|
-
padding: 0 !important;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.title,
|
|
19
|
-
.add-tip {
|
|
20
|
-
color: var(--Gray-900, #101828);
|
|
21
|
-
font-size: 18px;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
line-height: 28px;
|
|
24
|
-
}
|
|
25
|
-
.pisell-lowcode-card-body {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
// gap: 10px;
|
|
29
|
-
}
|
|
30
|
-
.information-card {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
gap: 10px;
|
|
34
|
-
.information-header {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
gap: 10px;
|
|
39
|
-
.information-left {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 10px;
|
|
43
|
-
.information-title {
|
|
44
|
-
color: var(--Text-Text_1, #1b1b1b);
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
font-weight: 600;
|
|
47
|
-
line-height: 20px;
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
flex: 1;
|
|
51
|
-
.subtitle {
|
|
52
|
-
font-weight: 400;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.child-wrap {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: 10px;
|
|
62
|
-
margin-top: 10px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.provider-information-custom-dropdown-menu {
|
|
68
|
-
.pisell-lowcode-dropdown-menu {
|
|
69
|
-
padding: 6px;
|
|
70
|
-
border-bottom: 1px solid var(--Gray-200, #eaecf0);
|
|
71
|
-
|
|
72
|
-
.pisell-lowcode-dropdown-menu-item {
|
|
73
|
-
padding: 9px 10px;
|
|
74
|
-
|
|
75
|
-
.dropdown-menu-item {
|
|
76
|
-
color: var(--Gray-700, #344054);
|
|
77
|
-
font-size: 14px;
|
|
78
|
-
font-weight: 500;
|
|
79
|
-
line-height: 20px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.dropdown-menu-remove-item {
|
|
83
|
-
color: var(--Error-700, #b42318);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:hover {
|
|
87
|
-
border-radius: 6px;
|
|
88
|
-
background: var(--Gray-50, #f9fafb);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
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/components/appointmentBooking/components/Provider/Content/index.tsx
|
|
30
|
-
var Content_exports = {};
|
|
31
|
-
__export(Content_exports, {
|
|
32
|
-
default: () => Content_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Content_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_utils = require("@pisell/utils");
|
|
37
|
-
var import_Resource = __toESM(require("../Resource"));
|
|
38
|
-
var import_Event = __toESM(require("../Event"));
|
|
39
|
-
var import_Information = __toESM(require("../Information"));
|
|
40
|
-
var import_index = require("./index.less");
|
|
41
|
-
var Layout = () => {
|
|
42
|
-
const currentStepData = {
|
|
43
|
-
key: "select-event"
|
|
44
|
-
};
|
|
45
|
-
const isFirstStep = false;
|
|
46
|
-
(0, import_react.useEffect)(() => {
|
|
47
|
-
window.scrollTo({
|
|
48
|
-
top: 0,
|
|
49
|
-
behavior: "smooth"
|
|
50
|
-
});
|
|
51
|
-
}, [currentStepData == null ? void 0 : currentStepData.key]);
|
|
52
|
-
const Com = (0, import_react.useMemo)(() => {
|
|
53
|
-
const key = currentStepData == null ? void 0 : currentStepData.key;
|
|
54
|
-
if (!key) return null;
|
|
55
|
-
const components = {
|
|
56
|
-
// 选择资源
|
|
57
|
-
"select-category": import_Resource.default,
|
|
58
|
-
// 选择event
|
|
59
|
-
"select-event": import_Event.default,
|
|
60
|
-
// 确认信息
|
|
61
|
-
"confirm-information": import_Information.default
|
|
62
|
-
};
|
|
63
|
-
let Com2 = components[key];
|
|
64
|
-
return /* @__PURE__ */ import_react.default.createElement(Com2, null);
|
|
65
|
-
}, [currentStepData == null ? void 0 : currentStepData.key]);
|
|
66
|
-
(0, import_react.useEffect)(() => {
|
|
67
|
-
var _a, _b;
|
|
68
|
-
if ((0, import_utils.isMobile)()) {
|
|
69
|
-
const header = document.querySelector(".event-progress-bar");
|
|
70
|
-
const footer = document.querySelector(".pisell-section-footers-wrapper");
|
|
71
|
-
const content = document.querySelector(".event-content-mobile-wrap");
|
|
72
|
-
const headerHeight = ((_a = header == null ? void 0 : header.getBoundingClientRect()) == null ? void 0 : _a.height) || 0;
|
|
73
|
-
const footerHeight = ((_b = footer == null ? void 0 : footer.getBoundingClientRect()) == null ? void 0 : _b.height) || 0;
|
|
74
|
-
const windowHeight = window.innerHeight;
|
|
75
|
-
const contentHeight = windowHeight - headerHeight - footerHeight;
|
|
76
|
-
if (content && (content == null ? void 0 : content.style)) {
|
|
77
|
-
content.style.height = `${contentHeight}px`;
|
|
78
|
-
content.style.overflowY = "auto";
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}, [currentStepData == null ? void 0 : currentStepData.key]);
|
|
82
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
className: `event-content-wrap ${(0, import_utils.isMobile)() ? "event-content-mobile-wrap" : ""}`
|
|
86
|
-
},
|
|
87
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "event-content-left" }, "content")
|
|
88
|
-
);
|
|
89
|
-
};
|
|
90
|
-
var Content_default = Layout;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.event-content-wrap {
|
|
2
|
-
width: 1000px;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: 6px;
|
|
5
|
-
// align-items: center;
|
|
6
|
-
flex: 1;
|
|
7
|
-
|
|
8
|
-
.event-content-left {
|
|
9
|
-
flex: 1;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.event-content-right {
|
|
13
|
-
margin-top: 16px;
|
|
14
|
-
width: 360px;
|
|
15
|
-
position: sticky;
|
|
16
|
-
top: 93px;
|
|
17
|
-
height: fit-content;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.event-content-mobile-wrap {
|
|
22
|
-
width: 100%;
|
|
23
|
-
flex: none;
|
|
24
|
-
.event-content-left {
|
|
25
|
-
width: 100%;
|
|
26
|
-
flex: none;
|
|
27
|
-
.provider-information-wrap {
|
|
28
|
-
width: 100%;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
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/components/appointmentBooking/components/Provider/EmptyHolderModal/index.tsx
|
|
30
|
-
var EmptyHolderModal_exports = {};
|
|
31
|
-
__export(EmptyHolderModal_exports, {
|
|
32
|
-
default: () => EmptyHolderModal_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(EmptyHolderModal_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_materials = require("@pisell/materials");
|
|
37
|
-
var import_utils = require("@pisell/utils");
|
|
38
|
-
var import_index = require("./index.less");
|
|
39
|
-
var EmptyHolderModal = (props) => {
|
|
40
|
-
const { open, onCancel, onOk, lists } = props;
|
|
41
|
-
const content = (0, import_react.useMemo)(() => {
|
|
42
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "event-booking-empty-holder-describe" }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.event.empty.holder.tip")), /* @__PURE__ */ import_react.default.createElement("ul", null, lists.map((item, index) => {
|
|
43
|
-
return /* @__PURE__ */ import_react.default.createElement("li", { key: index }, item);
|
|
44
|
-
})), /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.event.empty.holder.continue.tip")));
|
|
45
|
-
}, [lists]);
|
|
46
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
47
|
-
import_materials.PisellModal.Information,
|
|
48
|
-
{
|
|
49
|
-
open,
|
|
50
|
-
title: import_utils.locales.getText("pisell2.event.empty.holder.title"),
|
|
51
|
-
describe: content,
|
|
52
|
-
okText: import_utils.locales.getText("pisell2.event.empty.holder.continue.anyway"),
|
|
53
|
-
cancelText: import_utils.locales.getText("pisell2.event.empty.holder.go.back"),
|
|
54
|
-
closable: true,
|
|
55
|
-
onCancel: () => onCancel(),
|
|
56
|
-
onOk: () => onOk()
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
};
|
|
60
|
-
var EmptyHolderModal_default = EmptyHolderModal;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.event-booking-empty-holder-describe {
|
|
2
|
-
color: var(--Gray-900, #101828);
|
|
3
|
-
font-size: 16px;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
line-height: 24px;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
gap: 4px;
|
|
9
|
-
|
|
10
|
-
ul {
|
|
11
|
-
list-style-type: disc !important;
|
|
12
|
-
padding-left: 20px;
|
|
13
|
-
li {
|
|
14
|
-
list-style-type: disc !important;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
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/components/appointmentBooking/components/Provider/Event/index.tsx
|
|
30
|
-
var Event_exports = {};
|
|
31
|
-
__export(Event_exports, {
|
|
32
|
-
default: () => Event_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Event_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_utils = require("@pisell/utils");
|
|
37
|
-
var import_antd = require("antd");
|
|
38
|
-
var import_Sales = require("../../../../Sales");
|
|
39
|
-
var import_bookingServiceList = __toESM(require("../../bookingServiceList"));
|
|
40
|
-
var import_bookingDetailModal = __toESM(require("../../bookingDetailModal"));
|
|
41
|
-
var import_index = require("./index.less");
|
|
42
|
-
var Event = () => {
|
|
43
|
-
var _a, _b;
|
|
44
|
-
const { eventData, selectEvent, getEventList, getEventListByTitle } = (0, import_Sales.useEvent)();
|
|
45
|
-
const { data } = (0, import_Sales.useSales)();
|
|
46
|
-
const { onOpenEventDetail, open } = (0, import_Sales.useEventDetail)();
|
|
47
|
-
const [lists, setLists] = (0, import_react.useState)();
|
|
48
|
-
(0, import_react.useEffect)(() => {
|
|
49
|
-
setLists((eventData == null ? void 0 : eventData.eventList) || []);
|
|
50
|
-
}, [eventData == null ? void 0 : eventData.eventList]);
|
|
51
|
-
(0, import_react.useEffect)(() => {
|
|
52
|
-
var _a2, _b2;
|
|
53
|
-
const id = (_b2 = (_a2 = data == null ? void 0 : data.resourceData) == null ? void 0 : _a2.currentResourceItem) == null ? void 0 : _b2.id;
|
|
54
|
-
if (!id) return;
|
|
55
|
-
getEventList.run({
|
|
56
|
-
event_item_resource_id: id,
|
|
57
|
-
skip: 1,
|
|
58
|
-
num: 100
|
|
59
|
-
});
|
|
60
|
-
}, [(_b = (_a = data == null ? void 0 : data.resourceData) == null ? void 0 : _a.currentResourceItem) == null ? void 0 : _b.id]);
|
|
61
|
-
const handleClick = (item) => {
|
|
62
|
-
selectEvent(item);
|
|
63
|
-
onOpenEventDetail(item);
|
|
64
|
-
};
|
|
65
|
-
const handleSearch = (e) => {
|
|
66
|
-
var _a2;
|
|
67
|
-
const value = (_a2 = e.target) == null ? void 0 : _a2.value;
|
|
68
|
-
const events = getEventListByTitle(value);
|
|
69
|
-
setLists(events);
|
|
70
|
-
};
|
|
71
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
72
|
-
"div",
|
|
73
|
-
{
|
|
74
|
-
className: `event-interface-service-wrap ${(0, import_utils.isMobile)() ? "event-interface-service-mobile-wrap" : ""}`
|
|
75
|
-
},
|
|
76
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
77
|
-
import_antd.Skeleton,
|
|
78
|
-
{
|
|
79
|
-
active: true,
|
|
80
|
-
loading: getEventList.loading,
|
|
81
|
-
style: { padding: "16px" }
|
|
82
|
-
},
|
|
83
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
84
|
-
import_bookingServiceList.default,
|
|
85
|
-
{
|
|
86
|
-
dataSource: lists,
|
|
87
|
-
showSearch: true,
|
|
88
|
-
showCategory: false,
|
|
89
|
-
showImage: true,
|
|
90
|
-
onClick: handleClick,
|
|
91
|
-
onSearch: handleSearch,
|
|
92
|
-
placeholder: import_utils.locales.getText("pisell2.event.search"),
|
|
93
|
-
isShowEmpty: !getEventList.loading,
|
|
94
|
-
description: import_utils.locales.getText("pisell2.event.empty.event")
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
)
|
|
98
|
-
), /* @__PURE__ */ import_react.default.createElement(import_bookingDetailModal.default, { open }));
|
|
99
|
-
};
|
|
100
|
-
var Event_default = Event;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.event-interface-service-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: 0;
|
|
4
|
-
margin: 16px auto;
|
|
5
|
-
|
|
6
|
-
.event-booking-service-list {
|
|
7
|
-
flex: 1;
|
|
8
|
-
background: #ffffff;
|
|
9
|
-
// min-height: calc(100vh - 93px);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.event-interface-service-mobile-wrap {
|
|
14
|
-
margin-top: 0;
|
|
15
|
-
width: 100%;
|
|
16
|
-
|
|
17
|
-
.event-booking-service-list {
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.provider-information-wrap {
|
|
2
|
-
padding: 16px;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 16px;
|
|
6
|
-
background: #ffffff;
|
|
7
|
-
margin-top: 16px;
|
|
8
|
-
width: 100%;
|
|
9
|
-
|
|
10
|
-
.provider-information-add-button {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
.pisell-lowcode-image-mask-info {
|
|
14
|
-
padding: 0 !important;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.title,
|
|
19
|
-
.add-tip {
|
|
20
|
-
color: var(--Gray-900, #101828);
|
|
21
|
-
font-size: 18px;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
line-height: 28px;
|
|
24
|
-
}
|
|
25
|
-
.pisell-lowcode-card-body {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
// gap: 10px;
|
|
29
|
-
}
|
|
30
|
-
.information-card {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
gap: 10px;
|
|
34
|
-
.information-header {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
gap: 10px;
|
|
39
|
-
.information-left {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 10px;
|
|
43
|
-
.information-title {
|
|
44
|
-
color: var(--Text-Text_1, #1b1b1b);
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
font-weight: 600;
|
|
47
|
-
line-height: 20px;
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
flex: 1;
|
|
51
|
-
.subtitle {
|
|
52
|
-
font-weight: 400;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.child-wrap {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: 10px;
|
|
62
|
-
margin-top: 10px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.provider-information-custom-dropdown-menu {
|
|
68
|
-
.pisell-lowcode-dropdown-menu {
|
|
69
|
-
padding: 6px;
|
|
70
|
-
border-bottom: 1px solid var(--Gray-200, #eaecf0);
|
|
71
|
-
|
|
72
|
-
.pisell-lowcode-dropdown-menu-item {
|
|
73
|
-
padding: 9px 10px;
|
|
74
|
-
|
|
75
|
-
.dropdown-menu-item {
|
|
76
|
-
color: var(--Gray-700, #344054);
|
|
77
|
-
font-size: 14px;
|
|
78
|
-
font-weight: 500;
|
|
79
|
-
line-height: 20px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.dropdown-menu-remove-item {
|
|
83
|
-
color: var(--Error-700, #b42318);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:hover {
|
|
87
|
-
border-radius: 6px;
|
|
88
|
-
background: var(--Gray-50, #f9fafb);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|