@voplus/morpho-csp 6.0.135 → 6.0.137
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/es/components/IdentityStatus/index.less +1 -0
- package/es/modules/corporate/clda/components/CLDAListCard/index.d.ts +1 -0
- package/es/modules/corporate/clda/components/CLDAListCard/index.js +6 -3
- package/es/modules/corporate/clda/components/CLDAListCard/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.js +43 -71
- package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.less +26 -10
- package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js +2 -2
- package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js.map +1 -1
- package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js +2 -2
- package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js +2 -8
- package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.d.ts +10 -4
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js +33 -9
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +24 -12
- package/es/modules/corporate/company/components/CorporateList/index.js +8 -9
- package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.less +12 -15
- package/es/modules/corporate/company/components/SharesCapitalCard/index.d.ts +1 -0
- package/es/modules/corporate/company/components/SharesCapitalCard/index.js +2 -1
- package/es/modules/corporate/company/components/SharesCapitalCard/index.js.map +1 -1
- package/es/modules/corporate/company/components/SharesCapitalCard/index.less +19 -0
- package/es/modules/corporate/company/components/SharesCard2/index.js +5 -4
- package/es/modules/corporate/company/components/SharesCard2/index.js.map +1 -1
- package/es/modules/corporate/company/components/SharesCard2/index.less +10 -9
- package/es/modules/corporate/filing-record/components/FilingList/index.d.ts +4 -2
- package/es/modules/corporate/filing-record/components/FilingList/index.js +16 -8
- package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.less +19 -1
- package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.d.ts +1 -0
- package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.js +3 -2
- package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.d.ts +1 -0
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.js +3 -2
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js +17 -9
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.less +3 -6
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypePropertiesView/index.js +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js +1 -5
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.less +5 -0
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js +2 -2
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.less +7 -1
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.less +1 -0
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.less +1 -0
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
1
|
+
import React, { useState, useMemo } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import { useCenterListEffect } from "@voplus/morpho-center-core/es/data";
|
|
4
4
|
import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
|
|
5
|
+
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
5
6
|
import CLDAList from "../CLDAListView";
|
|
6
7
|
const CLDAListCard = (props) => {
|
|
7
8
|
const [load, setLoad] = useState(true);
|
|
9
|
+
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
8
10
|
useCenterListEffect(null, (result, total) => {
|
|
9
11
|
if (!localStorage.getItem("clda_list_visible") && total) {
|
|
10
12
|
localStorage.setItem("clda_list_visible", "true");
|
|
@@ -14,8 +16,8 @@ const CLDAListCard = (props) => {
|
|
|
14
16
|
Total: true,
|
|
15
17
|
Filters: [{ c: "NodeType", o: "=", l: "And", v1: "SecretaryCenter" }],
|
|
16
18
|
});
|
|
17
|
-
return observe(() => load && localStorage.getItem("clda_list_visible") ? (React.createElement(ListCard, { style: props.style },
|
|
18
|
-
React.createElement(CLDAList, { ...props }))) : null);
|
|
19
|
+
return observe(() => (React.createElement(ViewContext.Provider, { value: view }, load && localStorage.getItem("clda_list_visible") ? (React.createElement(ListCard, { style: props.style },
|
|
20
|
+
React.createElement(CLDAList, { ...props }))) : null)));
|
|
19
21
|
function onReload() {
|
|
20
22
|
setLoad(false);
|
|
21
23
|
setTimeout(() => {
|
|
@@ -24,6 +26,7 @@ const CLDAListCard = (props) => {
|
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
28
|
CLDAListCard.defaultProps = {
|
|
29
|
+
title: "CLDA List",
|
|
27
30
|
openNewFormMode: "openDialog",
|
|
28
31
|
total: true,
|
|
29
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,MAAM,YAAY,GAAG,CAAC,KAAsD,EAAE,EAAE;IAC/E,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,mBAAmB,CAClB,IAAI,EACJ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QACjB,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,KAAK,EAAE,CAAC;YACzD,YAAY,CAAC,OAAO,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;YAClD,QAAQ,EAAE,CAAC;QACZ,CAAC;IACF,CAAC,EACD;QACC,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC;KACrE,CACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,IAC/B,IAAI,IAAI,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CACpD,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QAC3B,oBAAC,QAAQ,OAAK,KAAK,GAAI,CACb,CACX,CAAC,CAAC,CAAC,IAAI,CACc,CACvB,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,UAAU,CAAC,GAAG,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,CAAC;QACf,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,KAAK,EAAE,WAAW;IAClB,eAAe,EAAE,YAAY;IAC7B,KAAK,EAAE,IAAI;CACX,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -5,7 +5,6 @@ import { useCLDAMetaListEffect } from "../../../../../data/clda-meta";
|
|
|
5
5
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
|
6
6
|
import { State } from "./state";
|
|
7
7
|
import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
|
8
|
-
import { runInAction } from "mobx";
|
|
9
8
|
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
10
9
|
import { Button, Badge } from "antd";
|
|
11
10
|
import CLDAItem from "../CLDAItem";
|
|
@@ -13,17 +12,22 @@ import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemF
|
|
|
13
12
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
14
13
|
import NewCLDAForm from "../NewCLDAForm";
|
|
15
14
|
import NewCLDAFormDialog from "../NewCLDAForm/NewCLDAFormDialog";
|
|
16
|
-
import
|
|
15
|
+
import { faBookSection } from "@fortawesome/pro-solid-svg-icons";
|
|
16
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
17
|
+
import AddDropDown2 from "@voplus/morpho-ui/es/components/layout/ListView/controls/AddDropDown2";
|
|
18
|
+
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
19
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
17
20
|
import classnames from "classnames";
|
|
18
21
|
import styles from "./index.less";
|
|
19
22
|
const CLDAList = (props) => {
|
|
20
|
-
const { parentId, metaId, assistantStatus, signingMode, searchHeader,
|
|
23
|
+
const { parentId, metaId, assistantStatus, signingMode, searchHeader, openNewFormMode, title, total, filterable, secretaryCenterId, primaryContact, } = props;
|
|
21
24
|
const [activeId, setActiveId] = useState("");
|
|
22
25
|
const [state] = useState(new State());
|
|
23
26
|
const [cldaTotal, setCLDATotal] = useState(0);
|
|
24
27
|
const [addAble, setAddAble] = useState(false);
|
|
25
28
|
const [visible, setVisible] = useState(false);
|
|
26
29
|
const [CLDATypeList, setCLDATypeList] = useState([]);
|
|
30
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
27
31
|
state.update(parentId, metaId, assistantStatus, signingMode, secretaryCenterId);
|
|
28
32
|
let filterComponentArr = [React.createElement(CLDASigningModeFilter, { key: "CLDASigningModeFilter" })];
|
|
29
33
|
if (assistantStatus === "My") {
|
|
@@ -34,18 +38,6 @@ const CLDAList = (props) => {
|
|
|
34
38
|
}
|
|
35
39
|
if (metaId)
|
|
36
40
|
filterComponentArr.unshift(React.createElement(CLDAStatusFilter, { key: "CLDAStatusFilter" }));
|
|
37
|
-
const header = observe(() => (React.createElement(React.Fragment, null,
|
|
38
|
-
React.createElement(SearchHeader, { onChange: onChangeName }),
|
|
39
|
-
state.remindAll && (React.createElement(Button, { className: "remind-all", type: "primary", size: "small", loading: state.loading, onClick: onRemindAll }, "Remind All")))));
|
|
40
|
-
const titlePoprs = searchHeader
|
|
41
|
-
? {
|
|
42
|
-
header: header,
|
|
43
|
-
}
|
|
44
|
-
: {
|
|
45
|
-
viewTitle: (React.createElement(React.Fragment, null,
|
|
46
|
-
React.createElement("span", { className: "margin-right-10" }, title),
|
|
47
|
-
total && cldaTotal ? React.createElement(Badge, { count: cldaTotal, overflowCount: 999 }) : null)),
|
|
48
|
-
};
|
|
49
41
|
const list = useCreateListDataState({
|
|
50
42
|
filterDefaults: { includes: "tags", filters: state.filters },
|
|
51
43
|
}, [parentId, assistantStatus, metaId]);
|
|
@@ -70,68 +62,48 @@ const CLDAList = (props) => {
|
|
|
70
62
|
{ c: "ParentNodeId", o: "=", l: "And", v1: parentId },
|
|
71
63
|
],
|
|
72
64
|
});
|
|
73
|
-
return observe(() => (React.createElement(
|
|
74
|
-
React.createElement(
|
|
75
|
-
React.createElement(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
setActiveId(item.id);
|
|
108
|
-
(_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
|
|
109
|
-
} },
|
|
110
|
-
React.createElement(CLDAItem, { id: item.id }))) }),
|
|
111
|
-
addAble && (React.createElement(NewCLDAForm, { type: "mini", miniFormStyle: { padding: "20px" }, parentId: state.id, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setAddAble(false) })),
|
|
112
|
-
visible && (React.createElement(NewCLDAFormDialog, { parentId: state.id, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setVisible(false) }))))));
|
|
65
|
+
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
|
66
|
+
React.createElement(ListDataContext.Provider, { value: list },
|
|
67
|
+
React.createElement("div", { className: styles["clda-list-content"] },
|
|
68
|
+
React.createElement(PageHeadDashboard, { className: classnames({ card: openNewFormMode === "openDialog" }), headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faBookSection }), title: React.createElement(React.Fragment, null,
|
|
69
|
+
React.createElement("span", { className: "margin-right-10" }, title),
|
|
70
|
+
total && cldaTotal ? React.createElement(Badge, { count: cldaTotal, overflowCount: 999 }) : null), description: "Empowering Data-Driven Contract Management.", listHeaderProps: {
|
|
71
|
+
visible: true,
|
|
72
|
+
sortable: false,
|
|
73
|
+
addAble: false,
|
|
74
|
+
searchOptions: { placeholder: "Search in clda list" },
|
|
75
|
+
filterViewProps: filterable
|
|
76
|
+
? {
|
|
77
|
+
columns: filterComponentArr,
|
|
78
|
+
}
|
|
79
|
+
: undefined,
|
|
80
|
+
sortOptions: [
|
|
81
|
+
{ label: "Name", value: "Name" },
|
|
82
|
+
{ label: "Document Date", value: "DocumentDate" },
|
|
83
|
+
],
|
|
84
|
+
rightExtra: () => (React.createElement(React.Fragment, null,
|
|
85
|
+
state.remindAll && (React.createElement(Button, { className: "remind-all", loading: state.loading, onClick: onRemindAll }, "Remind All")),
|
|
86
|
+
React.createElement(AddDropDown2, { onClick: onAdd }))),
|
|
87
|
+
} }),
|
|
88
|
+
React.createElement(ListView, { className: classnames("clda-list", {
|
|
89
|
+
"CLDA-list-view": searchHeader && state.remindAll,
|
|
90
|
+
loading: state.loading,
|
|
91
|
+
}), asideable: false, headerProps: { visible: false }, renderItem: ({ item }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
|
|
92
|
+
var _a;
|
|
93
|
+
setActiveId(item.id);
|
|
94
|
+
(_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
|
|
95
|
+
} },
|
|
96
|
+
React.createElement(CLDAItem, { id: item.id }))) }),
|
|
97
|
+
addAble && (React.createElement(NewCLDAForm, { type: "mini", miniFormStyle: { padding: "20px" }, parentId: state.id, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setAddAble(false) })),
|
|
98
|
+
visible && (React.createElement(NewCLDAFormDialog, { parentId: state.id, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setVisible(false) })))))));
|
|
113
99
|
function onAdd() {
|
|
114
100
|
if (openNewFormMode === "openBottom")
|
|
115
101
|
setAddAble(true);
|
|
116
102
|
if (openNewFormMode === "openDialog")
|
|
117
103
|
setVisible(true);
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
function onChangeName(values) {
|
|
121
|
-
if (state.timeout) {
|
|
122
|
-
clearTimeout(state.timeout);
|
|
104
|
+
if (openNewFormMode === "openAside") {
|
|
105
|
+
asideContext.openAside(React.createElement(NewCLDAForm, { parentId: state.id, showView: true, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => (state.isAdd = false) }), { span: 12 });
|
|
123
106
|
}
|
|
124
|
-
runInAction(() => {
|
|
125
|
-
state.timeout = setTimeout(() => {
|
|
126
|
-
state.timeout = null;
|
|
127
|
-
state.name = values;
|
|
128
|
-
list.reset();
|
|
129
|
-
}, 1500);
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
function onFilter(context) {
|
|
133
|
-
context.paging.Page = 1;
|
|
134
|
-
context.filter();
|
|
135
107
|
}
|
|
136
108
|
function onRemindAll() {
|
|
137
109
|
console.log("---Remind-All");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAS,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAa,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAiB,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAS,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAa,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAiB,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,iBA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AAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,8BAA8B;QAC9B,4DAA4D;QAC5D,qBAAqB;QACrB,MAAM;QACN,yBAAyB;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,WAAW;IAC5B,KAAK,EAAE,yCAAyC;CAChD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -2,22 +2,38 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
|
5
|
+
background: #fff;
|
|
5
6
|
|
|
6
7
|
:global {
|
|
7
8
|
.CLDA-list-view {
|
|
8
|
-
.list-view-header {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
&.loading .list-view-header {
|
|
10
|
+
padding-right: 135px;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
.page-head-dashboard {
|
|
15
|
+
margin-bottom: 20px;
|
|
16
|
+
&.card {
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
.page-head-general {
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 14px 20px;
|
|
21
|
+
}
|
|
22
|
+
.page-head-content {
|
|
23
|
+
.page-head-avatar,
|
|
24
|
+
.description {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
.page-head-info {
|
|
28
|
+
margin-left: 0;
|
|
29
|
+
}
|
|
16
30
|
}
|
|
17
31
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
32
|
+
.remind-all {
|
|
33
|
+
color: #217eb2;
|
|
34
|
+
border-color: #217eb2;
|
|
35
|
+
font-weight: bold;
|
|
36
|
+
margin-left: 15px;
|
|
21
37
|
}
|
|
22
38
|
}
|
|
23
39
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { action,
|
|
2
|
+
import { action, makeObservable, observable } from "mobx";
|
|
3
3
|
import { faMoneyCheckEdit, faPenSquare } from "@fortawesome/pro-light-svg-icons";
|
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
5
5
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
|
@@ -14,7 +14,7 @@ export class State extends DefaultFilterState {
|
|
|
14
14
|
writable: true,
|
|
15
15
|
value: new Map()
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
makeObservable(this);
|
|
18
18
|
}
|
|
19
19
|
/** Alter document type */
|
|
20
20
|
changeType(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAI5C;QACC,KAAK,EAAE,CAAC;QAJT,kCAAkC;QACf;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QAI1D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,0BAA0B;IAEnB,UAAU,CAAC,KAAa;QAC9B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;IAED,IAAW,KAAK;QACf,OAAO;YACN;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAC,MAAM,GAAG;aACzD;YACD;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAC,MAAM,GAAG;aACpD;SACD,CAAC;IACH,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;QACjB,wCAAwC;QACxC,OAAO;YACN;gBACC,CAAC,EAAE,aAAa;gBAChB,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;gBACjD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;CACD;AA5CmB;IAAlB,UAAU;oCAAgD;AASpD;IADN,MAAM;uCAGN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { action,
|
|
2
|
+
import { action, makeObservable, observable } from "mobx";
|
|
3
3
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
|
4
4
|
export class State extends DefaultFilterState {
|
|
5
5
|
constructor(defaultFilter) {
|
|
@@ -18,7 +18,7 @@ export class State extends DefaultFilterState {
|
|
|
18
18
|
writable: true,
|
|
19
19
|
value: new Map()
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
makeObservable(this);
|
|
22
22
|
if ((_a = this.defaultFilter) === null || _a === void 0 ? void 0 : _a.length)
|
|
23
23
|
this.onInit();
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAI5C,YAA2B,aAAwB;;QAClD,KAAK,EAAE,CAAC;QADU;;;;mBAAQ,aAAa;WAAW;QAHnD,uBAAuB;QACJ;;;;mBAA+B,IAAI,GAAG,EAAE;WAAC;QAI3D,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,MAAA,IAAI,CAAC,aAAa,0CAAE,MAAM;YAAE,IAAI,CAAC,MAAM,EAAE,CAAC;IAC/C,CAAC;IAGM,MAAM;;QACZ,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,MAAA,IAAI,CAAC,aAAa,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACxD,CAAC;IAED,oBAAoB;IAEb,cAAc,CAAC,KAAa;QAClC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,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
|
3
3
|
import { useCLDASetting, useCLDASettingStore } from "../../../../../data/clda-setting";
|
|
4
4
|
import { useQuotationStore } from "@voplus/morpho-finance/es/data/quotation";
|
|
5
|
-
import { Delete } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
6
5
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
7
6
|
import SettingPage from "@voplus/morpho-ui/es/controls/SettingPage";
|
|
8
7
|
import SettingSection from "@voplus/morpho-ui/es/controls/SettingPage/SettingSection";
|
|
@@ -90,10 +89,8 @@ const Content = (props) => {
|
|
|
90
89
|
},
|
|
91
90
|
];
|
|
92
91
|
return observe(() => (React.createElement(Scrollbars, { autoHide: true },
|
|
93
|
-
React.createElement(SettingPage, {
|
|
94
|
-
|
|
95
|
-
React.createElement(Delete, { action: onDelete })), className: "clda-settings-content" },
|
|
96
|
-
React.createElement(SettingSection, { title: "General" },
|
|
92
|
+
React.createElement(SettingPage, { className: "clda-settings-content" },
|
|
93
|
+
React.createElement(SettingSection, { title: "General", className: "settings-general" },
|
|
97
94
|
React.createElement(Setting, { label: "Quotation" },
|
|
98
95
|
React.createElement(ReferenceList, { loader: () => quotationStore.loadList({
|
|
99
96
|
Filters: [{ c: "Template", o: "=", l: "And", v1: "True" }],
|
|
@@ -126,9 +123,6 @@ const Content = (props) => {
|
|
|
126
123
|
function onChange(checked) {
|
|
127
124
|
console.log(`checked = ${checked}`);
|
|
128
125
|
}
|
|
129
|
-
function onDelete() {
|
|
130
|
-
store.delete(id);
|
|
131
|
-
}
|
|
132
126
|
function onEditQuotation(list) {
|
|
133
127
|
store.edit(id, { data: { QuotationId: list[0].id }, error: "message" });
|
|
134
128
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/pages/CLDASettingsPage/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MA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CACd,IAAI,EAAE;oCACL,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;iCACpD;gCACD,KAAK,EAAE,SAAS;6BAChB,CAAC,CAAC;wBACJ,CAAC,GACA,CACO,CACV,CAAC,CACa;YACjB,oBAAC,cAAc,IAAC,KAAK,EAAC,kBAAkB;gBACvC,oBAAC,OAAO,IAAC,KAAK,EAAC,OAAO;oBACrB,oBAAC,aAAa,IAAC,QAAQ,EAAE,EAAE,EAAE,OAAO,QAAC,WAAW,EAAC,yBAAyB,GAAG,CACpE,CACM;YAChB,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACpC,oBAAC,cAAc,IAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK;gBAC5C,oBAAC,OAAO,QAAE,IAAI,CAAC,QAAQ,CAAW,CAClB,CACjB,CAAC,CACW,CACF,CACb,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,OAAgB;QACjC,OAAO,CAAC,GAAG,CAAC,aAAa,OAAO,EAAE,CAAC,CAAC;IACrC,CAAC;IAED,SAAS,eAAe,CAAC,IAAoC;QAC5D,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACzE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const CLDASettingsPage:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const CLDASettingsPage: {
|
|
3
|
+
(props: {
|
|
4
|
+
metaId: string;
|
|
5
|
+
secretaryCenterId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
defaultProps: {
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
6
12
|
export default CLDASettingsPage;
|
|
@@ -2,18 +2,20 @@ import { useCLDASettingListEffect, useCLDASettingStore, } from "../../../../../d
|
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { TabItemContext, TabItemStore } from "@voplus/morpho-data";
|
|
4
4
|
import { faEarth, faPlus } from "@fortawesome/pro-light-svg-icons";
|
|
5
|
+
import { faGear, faTrashAlt } from "@fortawesome/pro-solid-svg-icons";
|
|
6
|
+
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
5
7
|
import AddProfileDialog from "../../components/AddProfileDialog";
|
|
6
8
|
import Content from "./Content";
|
|
7
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
8
10
|
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
9
|
-
import { Menu } from "antd";
|
|
11
|
+
import { Menu, Tooltip, Button, Modal } from "antd";
|
|
10
12
|
import { observe } from "@voplus/morpho-ui";
|
|
11
13
|
import styles from "./index.less";
|
|
12
14
|
import { useAutoUpdateListData } from "../../../../../data/clda-setting/clda-setting-events";
|
|
13
15
|
import { useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
|
14
16
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
15
17
|
const CLDASettingsPage = (props) => {
|
|
16
|
-
const { metaId, secretaryCenterId } = props;
|
|
18
|
+
const { metaId, secretaryCenterId, title } = props;
|
|
17
19
|
const store = new TabItemStore({ url: "" });
|
|
18
20
|
const cldaStore = useCLDASettingStore();
|
|
19
21
|
const [visible, setVisible] = useState(false);
|
|
@@ -38,13 +40,22 @@ const CLDASettingsPage = (props) => {
|
|
|
38
40
|
var _a, _b;
|
|
39
41
|
return (React.createElement(TabItemContext.Provider, { value: store },
|
|
40
42
|
React.createElement(MainContent, { className: styles["clda-settings-page"] },
|
|
41
|
-
React.createElement("div",
|
|
42
|
-
React.createElement(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
React.createElement("div", { className: "clda-settings-table" },
|
|
44
|
+
React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faGear }), title: title, description: "Control Your Environment: Optimize Your Settings for Efficiency." }),
|
|
45
|
+
React.createElement("div", { className: "clda-settings-menu" },
|
|
46
|
+
React.createElement(Menu, { mode: "horizontal", defaultSelectedKeys: [(_a = list.data[0]) === null || _a === void 0 ? void 0 : _a.id], selectedKeys: menuKey, defaultOpenKeys: [(_b = list.data[0]) === null || _b === void 0 ? void 0 : _b.id], onClick: (key) => onClick(key.key), items: [
|
|
47
|
+
...list.data.map((item) => {
|
|
48
|
+
return {
|
|
49
|
+
key: item.id,
|
|
50
|
+
label: item.jurisdiction,
|
|
51
|
+
icon: React.createElement(FAIcon, { icon: faEarth }),
|
|
52
|
+
};
|
|
53
|
+
}),
|
|
54
|
+
{ key: "addProfile", label: "Add Profile", icon: React.createElement(FAIcon, { icon: faPlus }) },
|
|
55
|
+
] }),
|
|
56
|
+
React.createElement(Tooltip, { title: "Delete" },
|
|
57
|
+
React.createElement(Button, { type: "link", className: "delete-btn", onClick: onDelete },
|
|
58
|
+
React.createElement(FAIcon, { icon: faTrashAlt })))),
|
|
48
59
|
React.createElement("div", { className: "clda-settings" },
|
|
49
60
|
React.createElement(Content, { id: menuKey === null || menuKey === void 0 ? void 0 : menuKey[0] }))),
|
|
50
61
|
React.createElement(React.Fragment, null, visible && (React.createElement(AddProfileDialog, { visible: true, onCancel: () => setVisible(false), onAdd: onAdd }))))));
|
|
@@ -68,6 +79,19 @@ const CLDASettingsPage = (props) => {
|
|
|
68
79
|
error: "message",
|
|
69
80
|
});
|
|
70
81
|
}
|
|
82
|
+
function onDelete() {
|
|
83
|
+
const id = menuKey === null || menuKey === void 0 ? void 0 : menuKey[0];
|
|
84
|
+
const name = list.data.filter((i) => i.id === id)[0].jurisdiction;
|
|
85
|
+
Modal.confirm({
|
|
86
|
+
title: `do you want to delete <${name}> ?`,
|
|
87
|
+
onOk() {
|
|
88
|
+
cldaStore.delete(id);
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
CLDASettingsPage.defaultProps = {
|
|
94
|
+
title: "Setting",
|
|
71
95
|
};
|
|
72
96
|
export default CLDASettingsPage;
|
|
73
97
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/pages/CLDASettingsPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/pages/CLDASettingsPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,gBA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AAU,CAAC,KAAK,CAAC,CAAC;QAClB,SAAS,CAAC,MAAM,CAAC;YAChB,IAAI,EAAE;gBACL,MAAM,EAAE,MAAM;gBACd,iBAAiB,EAAE,iBAAiB;gBACpC,YAAY,EAAE,OAAO;gBACrB,GAAG,EAAE,GAAG;aACR;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;IAED,SAAS,QAAQ;QAChB,MAAM,EAAE,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAE,CAAC;QACzB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;QAClE,KAAK,CAAC,OAAO,CAAC;YACb,KAAK,EAAE,0BAA0B,IAAI,KAAK;YAC1C,IAAI;gBACH,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACtB,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,KAAK,EAAE,SAAS;CAChB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -5,22 +5,34 @@
|
|
|
5
5
|
background: #fff;
|
|
6
6
|
|
|
7
7
|
:global {
|
|
8
|
+
.clda-settings-table {
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
padding: 0;
|
|
13
|
+
.clda-settings-menu {
|
|
14
|
+
padding-left: 4px;
|
|
15
|
+
position: relative;
|
|
16
|
+
.delete-btn {
|
|
17
|
+
color: #868686;
|
|
18
|
+
position: absolute;
|
|
19
|
+
right: 10px;
|
|
20
|
+
top: 8px;
|
|
21
|
+
&:hover {
|
|
22
|
+
color: @delete-color;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
8
27
|
.clda-settings {
|
|
9
|
-
padding:
|
|
10
|
-
|
|
11
|
-
background: #fff;
|
|
28
|
+
padding: 20px 0 20px 20px;
|
|
29
|
+
flex: 1;
|
|
12
30
|
|
|
13
31
|
.clda-settings-content {
|
|
14
|
-
padding-right:
|
|
15
|
-
|
|
16
|
-
.settings-header {
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
align-items: center;
|
|
32
|
+
padding-right: 20px;
|
|
20
33
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
34
|
+
.settings-general {
|
|
35
|
+
margin-top: 1.25rem;
|
|
24
36
|
}
|
|
25
37
|
|
|
26
38
|
.reference-list {
|