@antscorp/antsomi-ui 1.3.5-beta.507 → 1.3.5-beta.508
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/molecules/EditorTab/EditorTab.d.ts +2 -1
- package/es/components/molecules/EditorTab/EditorTab.js +4 -2
- package/es/components/molecules/EditorTab/index.d.ts +1 -0
- package/es/components/molecules/index.d.ts +1 -0
- package/es/components/template/Layout/Layout.js +1 -1
- package/package.json +1 -1
- package/es/components/common/ConfigProvider/ConfigProvider.d.ts +0 -11
- package/es/components/common/ConfigProvider/ConfigProvider.js +0 -63
- package/es/components/common/ConfigProvider/GlobalStyle.d.ts +0 -5
- package/es/components/common/ConfigProvider/GlobalStyle.js +0 -868
- package/es/components/common/ConfigProvider/index.d.ts +0 -1
- package/es/components/common/ConfigProvider/index.js +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ModalFuncProps } from 'antd';
|
|
3
|
-
interface EditorTabItem {
|
|
3
|
+
export interface EditorTabItem {
|
|
4
4
|
showIcon?: boolean;
|
|
5
5
|
closeable?: boolean;
|
|
6
6
|
showDropdown?: boolean;
|
|
7
|
+
hideRemoveOption?: boolean;
|
|
7
8
|
id: string;
|
|
8
9
|
name: string;
|
|
9
10
|
type: 'query' | 'table-detail';
|
|
@@ -157,7 +157,7 @@ export const EditorTab = props => {
|
|
|
157
157
|
React.createElement(Icon, { type: "icon-ants-angle-left" }))),
|
|
158
158
|
React.createElement("div", { ref: leftBlockRef, className: classnames('left-block', leftBlockClassName), onWheel: onWheelLeftBlock }, arrTabs && arrTabs.length
|
|
159
159
|
? arrTabs.map((tab, idx) => {
|
|
160
|
-
const { showIcon = true, showDropdown = true, closeable = true } = tab;
|
|
160
|
+
const { showIcon = true, showDropdown = true, hideRemoveOption, closeable = true, } = tab;
|
|
161
161
|
return (React.createElement("div", { key: tab.id, onClick: () => handleActiveTab(tab.id), className: classnames('tab-item', tabItemClassName, {
|
|
162
162
|
active: tab.id === activeTabId,
|
|
163
163
|
}) },
|
|
@@ -170,7 +170,9 @@ export const EditorTab = props => {
|
|
|
170
170
|
showDropdown ? (React.createElement(Dropdown, { menu: {
|
|
171
171
|
items: [
|
|
172
172
|
{ label: 'Configure', key: 'configure', style: { minWidth: '135px' } },
|
|
173
|
-
|
|
173
|
+
...(hideRemoveOption
|
|
174
|
+
? []
|
|
175
|
+
: [{ label: 'Remove', key: 'remove', style: { minWidth: '135px' } }]),
|
|
174
176
|
],
|
|
175
177
|
onClick: (_a) => __awaiter(void 0, [_a], void 0, function* ({ key, domEvent }) {
|
|
176
178
|
switch (key) {
|
|
@@ -78,3 +78,4 @@ export type { VirtualizedMenuProps } from './VirtualizedMenu';
|
|
|
78
78
|
export type { SearchPopoverProps, PopoverAddFieldProps } from './SearchPopover';
|
|
79
79
|
export type { InputDropdownProps } from './Dropdown';
|
|
80
80
|
export type { SelectProps } from './Select';
|
|
81
|
+
export type { EditorTabItem } from './EditorTab';
|
|
@@ -119,7 +119,7 @@ export const Layout = memo(props => {
|
|
|
119
119
|
INSIGHT_U_OGS: 'uogs',
|
|
120
120
|
} }) }), accountSharingConfig: Object.assign(Object.assign({}, headerProps === null || headerProps === void 0 ? void 0 : headerProps.accountSharingConfig), { u_ogs: 'uogs', appCode: appCode || 'APP_CUSTOMER_360' }), accountSelection: Object.assign(Object.assign({}, headerProps === null || headerProps === void 0 ? void 0 : headerProps.accountSelection), { show: !!((_b = headerProps === null || headerProps === void 0 ? void 0 : headerProps.accountSelection) === null || _b === void 0 ? void 0 : _b.show) && showAccountSelection }) }));
|
|
121
121
|
}, [headerProps, iamDomain, permissionDomain, showAccountSelection]);
|
|
122
|
-
const mergeHeaderProps = useDeepCompareMemo(() => merge(cloneDeep(initialHeaderProps), Object.assign(Object.assign({}, header), { pageTitle: (header === null || header === void 0 ? void 0 : header.pageTitle) || activePageTitle })), [initialHeaderProps, header]);
|
|
122
|
+
const mergeHeaderProps = useDeepCompareMemo(() => merge(cloneDeep(initialHeaderProps), Object.assign(Object.assign({}, header), { pageTitle: (header === null || header === void 0 ? void 0 : header.pageTitle) || activePageTitle })), [initialHeaderProps, header, activePageTitle]);
|
|
123
123
|
const _b = useDeepCompareMemo(() => merge(cloneDeep(contentWrapperProps), cloneDeep(contentWrapper)), [contentWrapperProps, contentWrapper]), { noPadding, showNotification = true } = _b, mergeContentWrapperProps = __rest(_b, ["noPadding", "showNotification"]);
|
|
124
124
|
const mergeWorkSpaceProps = useDeepCompareMemo(() => merge(cloneDeep(restOfWorkspaceProps), omit(workspace, 'workspaceContentProps')), [restOfWorkspaceProps, workspace]);
|
|
125
125
|
const _c = useDeepCompareMemo(() => merge(cloneDeep(leftMenuProps), cloneDeep(leftMenu)), [leftMenuProps, leftMenu, appConfig]), { className: leftMenuClassName, show: showLeftMenu = true } = _c, mergeLeftMenuProps = __rest(_c, ["className", "show"]);
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ConfigProviderProps as AntdConfigProviderProps } from 'antd/es/config-provider';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
import '@antscorp/antsomi-ui/es/assets/css/main.scss';
|
|
4
|
-
import { TLocale } from '@antscorp/antsomi-ui/es/types';
|
|
5
|
-
import 'animate.css';
|
|
6
|
-
interface ConfigProviderProps extends Omit<AntdConfigProviderProps, 'locale'> {
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
locale?: TLocale;
|
|
9
|
-
}
|
|
10
|
-
declare const ConfigProvider: React.FC<ConfigProviderProps>;
|
|
11
|
-
export default ConfigProvider;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
// Libraries
|
|
13
|
-
import { StyleProvider } from '@ant-design/cssinjs';
|
|
14
|
-
import { ConfigProvider as AntdConfigProvider, App } from 'antd';
|
|
15
|
-
import dayjs from 'dayjs';
|
|
16
|
-
import React, { useEffect } from 'react';
|
|
17
|
-
import weekday from 'dayjs/plugin/weekday';
|
|
18
|
-
import localeData from 'dayjs/plugin/localeData';
|
|
19
|
-
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
20
|
-
/** dayjs plugins for timezone */
|
|
21
|
-
import utc from 'dayjs/plugin/utc';
|
|
22
|
-
import timezone from 'dayjs/plugin/timezone';
|
|
23
|
-
// Constants
|
|
24
|
-
import { THEME } from '@antscorp/antsomi-ui/es/constants';
|
|
25
|
-
// Style
|
|
26
|
-
import { GlobalStyle } from './GlobalStyle';
|
|
27
|
-
import '@antscorp/antsomi-ui/es/assets/css/main.scss';
|
|
28
|
-
// Initialize languages
|
|
29
|
-
// import '@antscorp/antsomi-ui/es/locales/i18n';
|
|
30
|
-
import i18next from '@antscorp/antsomi-ui/es/locales/i18n';
|
|
31
|
-
import 'animate.css';
|
|
32
|
-
// Providers
|
|
33
|
-
// import {
|
|
34
|
-
// QueryClientProviderAntsomiUI,
|
|
35
|
-
// QueryDevtoolsAntsomiUI,
|
|
36
|
-
// queryClientAntsomiUI,
|
|
37
|
-
// } from '@antscorp/antsomi-ui/es/queries';
|
|
38
|
-
// NOTE: HOT fix DatePicker Advanced
|
|
39
|
-
dayjs.extend(weekday);
|
|
40
|
-
dayjs.extend(localeData);
|
|
41
|
-
dayjs.extend(utc);
|
|
42
|
-
dayjs.extend(timezone);
|
|
43
|
-
dayjs.extend(relativeTime);
|
|
44
|
-
const ConfigProvider = props => {
|
|
45
|
-
// Props
|
|
46
|
-
const { children, locale } = props, restOfProps = __rest(props, ["children", "locale"]);
|
|
47
|
-
// Effects
|
|
48
|
-
useEffect(() => {
|
|
49
|
-
if (locale) {
|
|
50
|
-
i18next.changeLanguage(locale);
|
|
51
|
-
}
|
|
52
|
-
}, [locale]);
|
|
53
|
-
return (React.createElement(AntdConfigProvider, Object.assign({}, restOfProps),
|
|
54
|
-
React.createElement(App, null,
|
|
55
|
-
React.createElement(GlobalStyle, null),
|
|
56
|
-
React.createElement(StyleProvider, { hashPriority: "high" }, children))));
|
|
57
|
-
};
|
|
58
|
-
ConfigProvider.defaultProps = {
|
|
59
|
-
theme: THEME,
|
|
60
|
-
prefixCls: 'antsomi',
|
|
61
|
-
locale: 'en',
|
|
62
|
-
};
|
|
63
|
-
export default ConfigProvider;
|
|
@@ -1,868 +0,0 @@
|
|
|
1
|
-
// Libraries
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Global, css } from '@emotion/react';
|
|
4
|
-
// Constants
|
|
5
|
-
import { THEME } from '@antscorp/antsomi-ui/es/constants';
|
|
6
|
-
// FontAwesome
|
|
7
|
-
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
8
|
-
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
9
|
-
import { far } from '@fortawesome/free-regular-svg-icons';
|
|
10
|
-
import { fab } from '@fortawesome/free-brands-svg-icons';
|
|
11
|
-
library.add(fas, far, fab);
|
|
12
|
-
const { accent6, accent7, scrollBarSize } = THEME.token || {};
|
|
13
|
-
export const GlobalStyle = () => {
|
|
14
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37;
|
|
15
|
-
return (React.createElement(Global, { styles: css `
|
|
16
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
|
|
17
|
-
|
|
18
|
-
/* Custom */
|
|
19
|
-
.antsomi-scrollbar-hidden {
|
|
20
|
-
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
|
21
|
-
scrollbar-width: none; /* for Firefox */
|
|
22
|
-
|
|
23
|
-
&::-webkit-scrollbar {
|
|
24
|
-
display: none;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* width */
|
|
29
|
-
::-webkit-scrollbar {
|
|
30
|
-
width: ${scrollBarSize};
|
|
31
|
-
height: ${scrollBarSize};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Track */
|
|
35
|
-
::-webkit-scrollbar-track {
|
|
36
|
-
background: ${accent6};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Handle */
|
|
40
|
-
::-webkit-scrollbar-thumb {
|
|
41
|
-
background: ${accent7};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.scrollbar--gutter-stable {
|
|
45
|
-
overflow-y: auto;
|
|
46
|
-
scrollbar-gutter: stable;
|
|
47
|
-
margin-right: -${scrollBarSize};
|
|
48
|
-
padding-right: -${scrollBarSize};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Button */
|
|
52
|
-
.antsomi-btn {
|
|
53
|
-
font-weight: 700 !important;
|
|
54
|
-
display: inline-flex !important;
|
|
55
|
-
align-items: center !important;
|
|
56
|
-
justify-content: center !important;
|
|
57
|
-
gap: 5px !important;
|
|
58
|
-
|
|
59
|
-
i {
|
|
60
|
-
font-size: 20px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.antsomi-btn-default {
|
|
65
|
-
&:not(:disabled):hover {
|
|
66
|
-
border-color: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.blue3} !important;
|
|
67
|
-
background-color: ${(_b = THEME.token) === null || _b === void 0 ? void 0 : _b.blue} !important;
|
|
68
|
-
}
|
|
69
|
-
&:not(:disabled).antsomi-btn-default-active {
|
|
70
|
-
border-color: ${(_c = THEME.token) === null || _c === void 0 ? void 0 : _c.colorPrimary} !important;
|
|
71
|
-
background-color: ${(_d = THEME.token) === null || _d === void 0 ? void 0 : _d.blue1_1} !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&.antsomi-btn-dangerous {
|
|
75
|
-
border-color: ${(_e = THEME.token) === null || _e === void 0 ? void 0 : _e.red2} !important;
|
|
76
|
-
|
|
77
|
-
&:not(:disabled):hover {
|
|
78
|
-
border-color: ${(_f = THEME.token) === null || _f === void 0 ? void 0 : _f.red3} !important;
|
|
79
|
-
background-color: ${(_g = THEME.token) === null || _g === void 0 ? void 0 : _g.red} !important;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.antsomi-btn-icon-only {
|
|
84
|
-
width: 36px !important;
|
|
85
|
-
height: 36px !important;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&.antsomi-btn-icon-only.antsomi-btn-default {
|
|
89
|
-
width: 30px !important;
|
|
90
|
-
height: 30px !important;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&.antsomi-btn-icon-only.antsomi-btn-sm {
|
|
94
|
-
/* Important to override the above code before */
|
|
95
|
-
width: 24px !important;
|
|
96
|
-
height: 24px !important;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.antsomi-btn-text:disabled,
|
|
101
|
-
.antsomi-btn-link:disabled {
|
|
102
|
-
color: ${(_h = THEME.token) === null || _h === void 0 ? void 0 : _h.bw6} !important;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.antsomi-btn-primary:disabled,
|
|
106
|
-
.antsomi-btn-default:disabled,
|
|
107
|
-
.antsomi-btn-dashed:disabled,
|
|
108
|
-
.antsomi-btn-disabled,
|
|
109
|
-
.antsomi-btn-default.antsomi-btn-dangerous:disabled,
|
|
110
|
-
.antsomi-btn-primary.antsomi-btn-dangerous:disabled {
|
|
111
|
-
border-color: ${(_j = THEME.token) === null || _j === void 0 ? void 0 : _j.bw4} !important;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.antsomi-btn-default:disabled,
|
|
115
|
-
.antsomi-btn-dashed:disabled,
|
|
116
|
-
.antsomi-btn-disabled,
|
|
117
|
-
.antsomi-btn-default.antsomi-btn-dangerous:disabled {
|
|
118
|
-
color: ${(_k = THEME.token) === null || _k === void 0 ? void 0 : _k.bw6} !important;
|
|
119
|
-
background-color: ${(_l = THEME.token) === null || _l === void 0 ? void 0 : _l.bw2} !important;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// NOTE: Just hot fix for easy looking
|
|
123
|
-
.antsomi-btn-primary.antsomi-btn-compact-item.antsomi-btn-compact-first-item {
|
|
124
|
-
padding-right: 4px !important;
|
|
125
|
-
}
|
|
126
|
-
.antsomi-btn-compact-item.antsomi-btn-primary.antsomi-btn-compact-last-item {
|
|
127
|
-
width: fit-content;
|
|
128
|
-
padding: 0px !important;
|
|
129
|
-
padding-right: 4px !important;
|
|
130
|
-
&::before {
|
|
131
|
-
width: 0px !important;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* Input */
|
|
136
|
-
.antsomi-input,
|
|
137
|
-
.antsomi-input-affix-wrapper {
|
|
138
|
-
border-width: 0 0 1px 0 !important;
|
|
139
|
-
box-shadow: none !important;
|
|
140
|
-
|
|
141
|
-
&:hover {
|
|
142
|
-
background-color: ${(_m = THEME.token) === null || _m === void 0 ? void 0 : _m.blue};
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.antsomi-input {
|
|
147
|
-
&:focus {
|
|
148
|
-
background-color: ${(_o = THEME.token) === null || _o === void 0 ? void 0 : _o.bw0};
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.antsomi-input-affix-wrapper {
|
|
153
|
-
&:hover {
|
|
154
|
-
> input.antsomi-input {
|
|
155
|
-
background-color: ${(_p = THEME.token) === null || _p === void 0 ? void 0 : _p.blue};
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&.antsomi-input-affix-wrapper-focused {
|
|
160
|
-
background-color: ${(_q = THEME.token) === null || _q === void 0 ? void 0 : _q.bw0};
|
|
161
|
-
|
|
162
|
-
> input.antsomi-input {
|
|
163
|
-
background-color: ${(_r = THEME.token) === null || _r === void 0 ? void 0 : _r.bw0};
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.antsomi-input-status-error:not(.antsomi-input-disabled):not(
|
|
169
|
-
.antsomi-input-borderless
|
|
170
|
-
).antsomi-input {
|
|
171
|
-
&:hover {
|
|
172
|
-
background-color: ${(_s = THEME.token) === null || _s === void 0 ? void 0 : _s.red};
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.antsomi-input-status-warning:not(.antsomi-input-disabled):not(
|
|
177
|
-
.antsomi-input-borderless
|
|
178
|
-
).antsomi-input {
|
|
179
|
-
&:hover {
|
|
180
|
-
background-color: ${(_t = THEME.token) === null || _t === void 0 ? void 0 : _t.gold1};
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.antsomi-input-affix-wrapper-status-error:not(.antsomi-input-affix-wrapper-disabled):not(
|
|
185
|
-
.antsomi-input-affix-wrapper-borderless
|
|
186
|
-
).antsomi-input-affix-wrapper {
|
|
187
|
-
&:hover,
|
|
188
|
-
&:hover > input.antsomi-input {
|
|
189
|
-
background-color: ${(_u = THEME.token) === null || _u === void 0 ? void 0 : _u.red};
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.antsomi-input-affix-wrapper-status-warning:not(.antsomi-input-affix-wrapper-disabled):not(
|
|
194
|
-
.antsomi-input-affix-wrapper-borderless
|
|
195
|
-
).antsomi-input-affix-wrapper {
|
|
196
|
-
&:hover,
|
|
197
|
-
&:hover > input.antsomi-input {
|
|
198
|
-
background-color: ${(_v = THEME.token) === null || _v === void 0 ? void 0 : _v.gold1};
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// Select
|
|
203
|
-
.antsomi-select .antsomi-select-arrow {
|
|
204
|
-
right: 5px !important;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.antsomi-select:not(.antsomi-select-disabled):not(.antsomi-select-customize-input):not(
|
|
208
|
-
.antsomi-pagination-size-changer
|
|
209
|
-
):hover
|
|
210
|
-
.antsomi-select-selector {
|
|
211
|
-
border-color: ${(_w = THEME.token) === null || _w === void 0 ? void 0 : _w.blue1} !important;
|
|
212
|
-
background-color: ${(_x = THEME.token) === null || _x === void 0 ? void 0 : _x.blue} !important;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.antsomi-select-disabled.antsomi-select:not(.antsomi-select-customize-input)
|
|
216
|
-
.antsomi-select-selector {
|
|
217
|
-
border-color: ${(_y = THEME.token) === null || _y === void 0 ? void 0 : _y.bw4};
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.antsomi-select-disabled.antsomi-select:not(.antsomi-select-customize-input) .antsomi-tag {
|
|
221
|
-
background-color: ${(_z = THEME.token) === null || _z === void 0 ? void 0 : _z.bw4} !important;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.antsomi-select-selector {
|
|
225
|
-
border-width: 0 0 1px 0 !important;
|
|
226
|
-
box-shadow: none !important;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.antsomi-select-dropdown {
|
|
230
|
-
padding: 0 !important;
|
|
231
|
-
z-index: 3002 !important;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.antsomi-select-selection-overflow {
|
|
235
|
-
gap: 5px;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
// Input Number
|
|
239
|
-
.antsomi-input-number,
|
|
240
|
-
.antsomi-input-number-affix-wrapper {
|
|
241
|
-
border-width: 0 0 1px 0 !important;
|
|
242
|
-
box-shadow: none !important;
|
|
243
|
-
|
|
244
|
-
&.--show-handler {
|
|
245
|
-
.antsomi-input-number-handler-wrap {
|
|
246
|
-
opacity: 1;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.antsomi-input-number-group-addon {
|
|
252
|
-
border-width: 0 0 1px 0 !important;
|
|
253
|
-
background-color: ${(_0 = THEME.token) === null || _0 === void 0 ? void 0 : _0.bw0} !important;
|
|
254
|
-
box-shadow: none !important;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.antsomi-input-number:hover {
|
|
258
|
-
background-color: ${(_1 = THEME.token) === null || _1 === void 0 ? void 0 : _1.blue};
|
|
259
|
-
|
|
260
|
-
.antsomi-input-number-handler {
|
|
261
|
-
background-color: ${(_2 = THEME.token) === null || _2 === void 0 ? void 0 : _2.blue};
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.antsomi-input-number:focus,
|
|
266
|
-
.antsomi-input-number-focused {
|
|
267
|
-
border-color: ${(_3 = THEME.token) === null || _3 === void 0 ? void 0 : _3.colorPrimary} !important;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.antsomi-input-number-handler {
|
|
271
|
-
border: none !important;
|
|
272
|
-
|
|
273
|
-
&:hover i {
|
|
274
|
-
color: ${(_4 = THEME.token) === null || _4 === void 0 ? void 0 : _4.colorPrimary};
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
// DatePicker
|
|
279
|
-
.antsomi-picker {
|
|
280
|
-
border-width: 0 0 1px 0 !important;
|
|
281
|
-
box-shadow: none !important;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.antsomi-picker:hover,
|
|
285
|
-
.antsomi-picker-focused {
|
|
286
|
-
background-color: ${(_5 = THEME.token) === null || _5 === void 0 ? void 0 : _5.blue};
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.antsomi-picker:not(.antsomi-picker-status-error) .antsomi-picker-suffix {
|
|
290
|
-
color: ${(_6 = THEME.token) === null || _6 === void 0 ? void 0 : _6.bw10};
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.antsomi-picker:not(.antsomi-picker-disabled).antsomi-picker-status-error:not(
|
|
294
|
-
[disabled]
|
|
295
|
-
):hover {
|
|
296
|
-
background-color: ${(_7 = THEME.token) === null || _7 === void 0 ? void 0 : _7.red} !important;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// Custom
|
|
300
|
-
.date-time-picker__popup-content {
|
|
301
|
-
width: 230px !important;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.antsomi-picker-dropdown__advanced {
|
|
305
|
-
> .antsomi-picker-panel-container > .antsomi-picker-panel-layout > .antsomi-picker-panel {
|
|
306
|
-
flex-direction: column-reverse;
|
|
307
|
-
padding-bottom: 60px;
|
|
308
|
-
|
|
309
|
-
.antsomi-picker-date-panel,
|
|
310
|
-
.antsomi-picker-quarter-panel {
|
|
311
|
-
width: 280px !important;
|
|
312
|
-
|
|
313
|
-
.antsomi-picker-cell {
|
|
314
|
-
pointer-events: none !important;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/* .antsomi-picker-date-panel {
|
|
319
|
-
position: relative;
|
|
320
|
-
} */
|
|
321
|
-
|
|
322
|
-
/* .antsomi-picker-date-panel::before {
|
|
323
|
-
content: 'Hours';
|
|
324
|
-
position: absolute;
|
|
325
|
-
top: 0;
|
|
326
|
-
right: 0;
|
|
327
|
-
transform: translateX(100%);
|
|
328
|
-
width: 61px;
|
|
329
|
-
font-weight: bold;
|
|
330
|
-
border-right: 1px solid rgba(5, 5, 5, 0.06);
|
|
331
|
-
height: 38px;
|
|
332
|
-
display: flex;
|
|
333
|
-
align-items: center;
|
|
334
|
-
justify-content: center;
|
|
335
|
-
} */
|
|
336
|
-
|
|
337
|
-
.antsomi-picker-time-panel {
|
|
338
|
-
.antsomi-picker-time-panel-column:after {
|
|
339
|
-
height: 8px;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.antsomi-picker-time-panel-cell-selected {
|
|
343
|
-
background-color: ${(_8 = THEME.token) === null || _8 === void 0 ? void 0 : _8.colorPrimary};
|
|
344
|
-
color: #fff;
|
|
345
|
-
}
|
|
346
|
-
.antsomi-picker-time-panel-cell-selected:hover {
|
|
347
|
-
background-color: ${(_9 = THEME.token) === null || _9 === void 0 ? void 0 : _9.colorPrimary};
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.antsomi-picker-cell-inner {
|
|
351
|
-
text-align: center;
|
|
352
|
-
cursor: pointer;
|
|
353
|
-
}
|
|
354
|
-
.antsomi-picker-cell-inner:hover {
|
|
355
|
-
background: rgba(34, 34, 34, 0.04);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.antsomi-picker-header {
|
|
359
|
-
display: none;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.antsomi-picker-time-panel-column {
|
|
363
|
-
width: 60px;
|
|
364
|
-
margin-top: 38px;
|
|
365
|
-
/* margin-top: 0; */
|
|
366
|
-
scrollbar-width: unset;
|
|
367
|
-
scrollbar-color: unset;
|
|
368
|
-
|
|
369
|
-
&::-webkit-scrollbar {
|
|
370
|
-
width: 6px;
|
|
371
|
-
background: transparent;
|
|
372
|
-
}
|
|
373
|
-
&::-webkit-scrollbar-track {
|
|
374
|
-
/* margin-top: 38px; */
|
|
375
|
-
border-radius: 10px;
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/* ul.antsomi-picker-time-panel-column::before {
|
|
380
|
-
content: '';
|
|
381
|
-
position: absolute;
|
|
382
|
-
background: red;
|
|
383
|
-
top: 0;
|
|
384
|
-
right: 0;
|
|
385
|
-
width: 1px;
|
|
386
|
-
bottom: 0;
|
|
387
|
-
} */
|
|
388
|
-
|
|
389
|
-
/* .antsomi-picker-time-panel-column::before {
|
|
390
|
-
content: 'Hours';
|
|
391
|
-
position: sticky;
|
|
392
|
-
display: block;
|
|
393
|
-
top: 0;
|
|
394
|
-
height: 38px;
|
|
395
|
-
line-height: 38px;
|
|
396
|
-
text-align: center;
|
|
397
|
-
font-weight: bold;
|
|
398
|
-
background-color: #fff;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.antsomi-picker-time-panel-column:nth-child(1)::before {
|
|
402
|
-
content: 'Hours';
|
|
403
|
-
}
|
|
404
|
-
.antsomi-picker-time-panel-column:nth-child(2)::before {
|
|
405
|
-
content: 'Minutes';
|
|
406
|
-
}
|
|
407
|
-
.antsomi-picker-time-panel-column:nth-child(3)::before {
|
|
408
|
-
content: 'Seconds';
|
|
409
|
-
} */
|
|
410
|
-
|
|
411
|
-
/* .antsomi-picker-content {
|
|
412
|
-
position: relative;
|
|
413
|
-
|
|
414
|
-
.antsomi-picker-time-panel-column {
|
|
415
|
-
margin-top: 38px;
|
|
416
|
-
width: 60px;
|
|
417
|
-
}
|
|
418
|
-
} */
|
|
419
|
-
|
|
420
|
-
.antsomi-picker-content {
|
|
421
|
-
position: relative;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/* .antsomi-picker-content::after,
|
|
425
|
-
.antsomi-picker-content::before {
|
|
426
|
-
content: 'Minutes';
|
|
427
|
-
position: absolute;
|
|
428
|
-
top: 0;
|
|
429
|
-
left: 61px;
|
|
430
|
-
width: 60px;
|
|
431
|
-
height: 38px;
|
|
432
|
-
display: flex;
|
|
433
|
-
align-items: center;
|
|
434
|
-
justify-content: center;
|
|
435
|
-
font-weight: bold;
|
|
436
|
-
} */
|
|
437
|
-
|
|
438
|
-
/* .antsomi-picker-content::before {
|
|
439
|
-
border-right: 1px solid rgba(5, 5, 5, 0.06);
|
|
440
|
-
} */
|
|
441
|
-
/* .antsomi-picker-content::after {
|
|
442
|
-
content: 'Seconds';
|
|
443
|
-
left: 120px;
|
|
444
|
-
} */
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
/* Custom css scrollbar */
|
|
448
|
-
ul {
|
|
449
|
-
padding-left: 6px;
|
|
450
|
-
scrollbar-gutter: stable;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
&.hide-picker-header {
|
|
455
|
-
.antsomi-picker-month-panel,
|
|
456
|
-
.antsomi-picker-quarter-panel {
|
|
457
|
-
.antsomi-picker-header {
|
|
458
|
-
display: none;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
&.only-show-time-picker {
|
|
464
|
-
.antsomi-picker-date-panel {
|
|
465
|
-
display: none;
|
|
466
|
-
}
|
|
467
|
-
.antsomi-picker-time-panel {
|
|
468
|
-
border: none;
|
|
469
|
-
/* NOTE: production prod show unexpected border */
|
|
470
|
-
border-inline-start: none !important;
|
|
471
|
-
}
|
|
472
|
-
> .antsomi-picker-panel-container > .antsomi-picker-panel-layout > .antsomi-picker-panel {
|
|
473
|
-
width: 250px;
|
|
474
|
-
.antsomi-picker-datetime-panel {
|
|
475
|
-
justify-content: center;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
ul {
|
|
479
|
-
::-webkit-scrollbar {
|
|
480
|
-
width: 0;
|
|
481
|
-
}
|
|
482
|
-
padding: 0;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.antsomi-picker-content::after {
|
|
486
|
-
display: none;
|
|
487
|
-
}
|
|
488
|
-
.antsomi-picker-content::before {
|
|
489
|
-
content: 'Hours';
|
|
490
|
-
border: none;
|
|
491
|
-
left: 0;
|
|
492
|
-
|
|
493
|
-
position: absolute;
|
|
494
|
-
top: 0;
|
|
495
|
-
/* left: 61px; */
|
|
496
|
-
width: 60px;
|
|
497
|
-
height: 38px;
|
|
498
|
-
display: flex;
|
|
499
|
-
align-items: center;
|
|
500
|
-
justify-content: center;
|
|
501
|
-
font-weight: bold;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
&.is-minutes-picker {
|
|
505
|
-
> .antsomi-picker-panel-container
|
|
506
|
-
> .antsomi-picker-panel-layout
|
|
507
|
-
> .antsomi-picker-panel {
|
|
508
|
-
.antsomi-picker-content::before {
|
|
509
|
-
content: 'Minutes';
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
&.--error
|
|
516
|
-
> .antsomi-picker-panel-container
|
|
517
|
-
> .antsomi-picker-panel-layout
|
|
518
|
-
> .antsomi-picker-panel {
|
|
519
|
-
padding-bottom: 80px;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
&.antsomi-picker-dropdown {
|
|
523
|
-
.antsomi-picker-footer-extra {
|
|
524
|
-
padding: 0 !important;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/*
|
|
528
|
-
* NOTE: UI broken when add showTime props to <DatePicker />
|
|
529
|
-
* Unexpected header control (comment code below to see bug)
|
|
530
|
-
* Temporary solution: hide the verbose element
|
|
531
|
-
*/
|
|
532
|
-
.antsomi-picker-ranges {
|
|
533
|
-
display: none;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.antsomi-advanced-picker-container .input__wrapper {
|
|
539
|
-
display: inline-block;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
// Slider
|
|
543
|
-
.antsomi-slider {
|
|
544
|
-
margin: 0 !important;
|
|
545
|
-
|
|
546
|
-
&.antsomi-slider-horizontal {
|
|
547
|
-
.antsomi-slider-rail,
|
|
548
|
-
.antsomi-slider-step {
|
|
549
|
-
height: 4px;
|
|
550
|
-
width: 100%;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.antsomi-slider-rail {
|
|
554
|
-
height: 4px;
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.antsomi-slider-rail,
|
|
559
|
-
.antsomi-slider-step {
|
|
560
|
-
position: absolute !important;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.antsomi-slider-rail {
|
|
564
|
-
border-radius: 2px !important;
|
|
565
|
-
transition: background-color 0.3s !important;
|
|
566
|
-
background-color: ${(_10 = THEME.token) === null || _10 === void 0 ? void 0 : _10.accent1} !important;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.antsomi-slider-track {
|
|
570
|
-
position: absolute !important;
|
|
571
|
-
border-radius: 2px !important;
|
|
572
|
-
transition: background-color 0.3s !important;
|
|
573
|
-
background-color: ${(_11 = THEME.token) === null || _11 === void 0 ? void 0 : _11.colorPrimary} !important;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
.antsomi-slider-step {
|
|
577
|
-
background: 0 0 !important;
|
|
578
|
-
pointer-events: none !important;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.antsomi-slider-handle {
|
|
582
|
-
position: absolute !important;
|
|
583
|
-
width: 14px !important;
|
|
584
|
-
height: 14px !important;
|
|
585
|
-
margin-top: -2px;
|
|
586
|
-
background-color: #fff;
|
|
587
|
-
border-radius: 50%;
|
|
588
|
-
box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px 0px;
|
|
589
|
-
cursor: pointer;
|
|
590
|
-
transition: border-color 0.3s, box-shadow 0.6s,
|
|
591
|
-
transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.antsomi-slider-handle::before,
|
|
595
|
-
.antsomi-slider-handle::after,
|
|
596
|
-
.antsomi-slider-handle:hover::after,
|
|
597
|
-
.antsomi-slider-handle:focus::before,
|
|
598
|
-
.antsomi-slider-handle:focus::after {
|
|
599
|
-
width: 14px !important;
|
|
600
|
-
height: 14px !important;
|
|
601
|
-
box-shadow: none !important;
|
|
602
|
-
inset-block-start: 0 !important;
|
|
603
|
-
inset-inline-start: 0 !important;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.antsomi-slider-handle::after {
|
|
607
|
-
background-color: ${(_12 = THEME.token) === null || _12 === void 0 ? void 0 : _12.colorPrimary} !important;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
&:hover {
|
|
611
|
-
.antsomi-slider-track {
|
|
612
|
-
background-color: ${(_13 = THEME.token) === null || _13 === void 0 ? void 0 : _13.colorPrimary} !important;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
.antsomi-slider-rail {
|
|
616
|
-
background-color: ${(_14 = THEME.token) === null || _14 === void 0 ? void 0 : _14.accent1} !important;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
.antsomi-slider-handle::after {
|
|
620
|
-
box-shadow: none !important;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.antsomi-slider-handle {
|
|
624
|
-
border-color: ${(_15 = THEME.token) === null || _15 === void 0 ? void 0 : _15.colorPrimary} !important;
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
&.antsomi-slider-with-marks {
|
|
629
|
-
margin-bottom: 0 !important;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
&.antsomi-slider-disabled {
|
|
633
|
-
.antsomi-slider-handle {
|
|
634
|
-
background-color: ${(_16 = THEME.token) === null || _16 === void 0 ? void 0 : _16.accent2} !important;
|
|
635
|
-
border-color: ${(_17 = THEME.token) === null || _17 === void 0 ? void 0 : _17.accent2} !important;
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/* Radio */
|
|
641
|
-
.antsomi-radio-group-outline {
|
|
642
|
-
.antsomi-radio-button-wrapper {
|
|
643
|
-
display: inline-flex;
|
|
644
|
-
align-items: center;
|
|
645
|
-
height: 30px;
|
|
646
|
-
padding-left: 20px;
|
|
647
|
-
padding-right: 20px;
|
|
648
|
-
font-family: 'Roboto';
|
|
649
|
-
color: ${(_18 = THEME.token) === null || _18 === void 0 ? void 0 : _18.colorTextBase};
|
|
650
|
-
font-size: ${(_19 = THEME.token) === null || _19 === void 0 ? void 0 : _19.fontSize}px;
|
|
651
|
-
|
|
652
|
-
&:focus-within {
|
|
653
|
-
--tw-shadow: 0 0 #0000;
|
|
654
|
-
--tw-shadow-colored: 0 0 #0000;
|
|
655
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
|
|
656
|
-
var(--tw-shadow);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
&:first-child {
|
|
660
|
-
border-top-left-radius: ${(_20 = THEME.token) === null || _20 === void 0 ? void 0 : _20.borderRadius}px;
|
|
661
|
-
border-bottom-left-radius: ${(_21 = THEME.token) === null || _21 === void 0 ? void 0 : _21.borderRadius}px;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
&:last-child {
|
|
665
|
-
border-top-right-radius: ${(_22 = THEME.token) === null || _22 === void 0 ? void 0 : _22.borderRadius}px;
|
|
666
|
-
border-bottom-right-radius: ${(_23 = THEME.token) === null || _23 === void 0 ? void 0 : _23.borderRadius}px;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
&.antsomi-radio-button-wrapper-checked {
|
|
670
|
-
border-color: ${(_24 = THEME.token) === null || _24 === void 0 ? void 0 : _24.accent1};
|
|
671
|
-
background-color: ${(_25 = THEME.token) === null || _25 === void 0 ? void 0 : _25.colorTextActive};
|
|
672
|
-
color: ${(_26 = THEME.token) === null || _26 === void 0 ? void 0 : _26.colorPrimary};
|
|
673
|
-
font-weight: 700;
|
|
674
|
-
|
|
675
|
-
&::before {
|
|
676
|
-
background-color: ${(_27 = THEME.token) === null || _27 === void 0 ? void 0 : _27.accent1};
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
.antsomi-radio-wrapper {
|
|
682
|
-
font-family: 'Roboto';
|
|
683
|
-
color: ${(_28 = THEME.token) === null || _28 === void 0 ? void 0 : _28.colorTextBase};
|
|
684
|
-
font-size: ${(_29 = THEME.token) === null || _29 === void 0 ? void 0 : _29.fontSize}px;
|
|
685
|
-
margin-right: 0;
|
|
686
|
-
|
|
687
|
-
.antsomi-radio-disabled {
|
|
688
|
-
.antsomi-radio-inner {
|
|
689
|
-
border-color: #d9d9d9 !important;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
.antsomi-radio-inner {
|
|
694
|
-
display: flex;
|
|
695
|
-
justify-content: center;
|
|
696
|
-
align-items: center;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.antsomi-radio-checked .antsomi-radio-inner::after {
|
|
700
|
-
transform: scale(0.6);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
.antsomi-radio-inner::after {
|
|
704
|
-
position: unset !important;
|
|
705
|
-
transition: none !important;
|
|
706
|
-
transform: scale(0.6);
|
|
707
|
-
margin-block-start: 0px;
|
|
708
|
-
margin-inline-start: 0px;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
.antsomi-radio {
|
|
712
|
-
.antsomi-radio-inner {
|
|
713
|
-
width: 16px;
|
|
714
|
-
height: 16px;
|
|
715
|
-
border-color: ${(_30 = THEME.token) === null || _30 === void 0 ? void 0 : _30.colorPrimary};
|
|
716
|
-
border-width: 2px;
|
|
717
|
-
background-color: ${(_31 = THEME.token) === null || _31 === void 0 ? void 0 : _31.bw0};
|
|
718
|
-
|
|
719
|
-
&::after {
|
|
720
|
-
background-color: ${(_32 = THEME.token) === null || _32 === void 0 ? void 0 : _32.colorPrimary};
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
&:not(:last-child) {
|
|
726
|
-
margin-right: 30px;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
/* Modal Close */
|
|
732
|
-
.antsomi-modal-root .antsomi-modal-wrap {
|
|
733
|
-
z-index: 3001 !important;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.antsomi-modal .antsomi-modal-close {
|
|
737
|
-
width: unset !important;
|
|
738
|
-
height: unset !important;
|
|
739
|
-
top: 0px !important;
|
|
740
|
-
right: 0 !important;
|
|
741
|
-
|
|
742
|
-
.antsomi-modal-close-x {
|
|
743
|
-
padding: 20px;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
.antsomi-modal-content {
|
|
747
|
-
.antsomi-modal-header {
|
|
748
|
-
.antsomi-modal-title {
|
|
749
|
-
font-weight: 500;
|
|
750
|
-
font-size: 16px;
|
|
751
|
-
line-height: 22px;
|
|
752
|
-
word-wrap: break-word;
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
.antsomi-modal-body {
|
|
756
|
-
font-size: 14px !important;
|
|
757
|
-
p {
|
|
758
|
-
margin: 0;
|
|
759
|
-
}
|
|
760
|
-
.antsomi-modal-confirm-body-wrapper {
|
|
761
|
-
padding: 20px;
|
|
762
|
-
|
|
763
|
-
.antsomi-modal-confirm-body {
|
|
764
|
-
display: flex;
|
|
765
|
-
gap: 13px;
|
|
766
|
-
color: ${(_33 = THEME.token) === null || _33 === void 0 ? void 0 : _33.colorPrimary};
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
.antsomi-modal-confirm-btns {
|
|
770
|
-
display: flex;
|
|
771
|
-
flex-direction: row-reverse;
|
|
772
|
-
justify-content: start;
|
|
773
|
-
gap: 8px;
|
|
774
|
-
padding-left: 30px;
|
|
775
|
-
|
|
776
|
-
.antsomi-btn {
|
|
777
|
-
margin: 0px;
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
.antsomi-modal-footer {
|
|
783
|
-
padding: 15px !important;
|
|
784
|
-
text-align: right;
|
|
785
|
-
background: transparent;
|
|
786
|
-
border-top: 1px solid #f0f0f0 !important;
|
|
787
|
-
border-radius: 0 0 2px 2px;
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
/* Message Notification */
|
|
792
|
-
.ant-message {
|
|
793
|
-
z-index: 999999 !important;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
/* Collapse */
|
|
797
|
-
.antsomi-collapse-header {
|
|
798
|
-
font-size: 14px;
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
.antsomi-collapse {
|
|
802
|
-
&.antsomi-collapse-borderless {
|
|
803
|
-
border-bottom: 1px solid ${(_34 = THEME.token) === null || _34 === void 0 ? void 0 : _34.gray5};
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
> .antsomi-collapse-item > .antsomi-collapse-header .antsomi-collapse-arrow {
|
|
807
|
-
transition: all 200ms;
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/* Switch */
|
|
812
|
-
.antsomi-switch {
|
|
813
|
-
border: 2px solid ${(_35 = THEME.token) === null || _35 === void 0 ? void 0 : _35.colorPrimary} !important;
|
|
814
|
-
|
|
815
|
-
&.antsomi-switch-checked {
|
|
816
|
-
> .antsomi-switch-handle {
|
|
817
|
-
&::before {
|
|
818
|
-
background-color: ${(_36 = THEME.token) === null || _36 === void 0 ? void 0 : _36.bw0} !important;
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/* Tabs */
|
|
825
|
-
.antsomi-tabs {
|
|
826
|
-
.antsomi-tabs-tab {
|
|
827
|
-
font-weight: bold;
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
/* Form */
|
|
832
|
-
.antsomi-form {
|
|
833
|
-
.antsomi-form-item {
|
|
834
|
-
.antsomi-form-item-label {
|
|
835
|
-
> label.antsomi-form-item-required:not(.antsomi-form-item-required-mark-optional) {
|
|
836
|
-
&::before {
|
|
837
|
-
position: absolute;
|
|
838
|
-
right: 0px;
|
|
839
|
-
font-family: Roboto;
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
.antsomi-form-item-explain-error {
|
|
846
|
-
font-size: 11px !important;
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
/* Popover */
|
|
851
|
-
.antsomi-popover {
|
|
852
|
-
&.no-padding-content {
|
|
853
|
-
.antsomi-popover-inner {
|
|
854
|
-
padding: 0 !important;
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
/* Menu */
|
|
860
|
-
.antsomi-menu {
|
|
861
|
-
.antsomi-menu-submenu.antsomi-menu-submenu-selected {
|
|
862
|
-
.antsomi-menu-item.antsomi-menu-item-selected {
|
|
863
|
-
background-color: ${(_37 = THEME.token) === null || _37 === void 0 ? void 0 : _37.blue};
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
` }));
|
|
868
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ConfigProvider } from './ConfigProvider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ConfigProvider } from './ConfigProvider';
|