Latest updates from IceHrmPro
This commit is contained in:
35
web/node_modules/antd/es/tree-select/index.d.ts
generated
vendored
Normal file
35
web/node_modules/antd/es/tree-select/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import * as React from 'react';
|
||||
import RcTreeSelect, { TreeNode, SHOW_ALL, SHOW_PARENT, SHOW_CHILD, TreeSelectProps as RcTreeSelectProps } from 'rc-tree-select';
|
||||
import { ConfigConsumerProps } from '../config-provider';
|
||||
import { SizeType } from '../config-provider/SizeContext';
|
||||
declare type RawValue = string | number;
|
||||
export interface LabeledValue {
|
||||
key?: string;
|
||||
value: RawValue;
|
||||
label: React.ReactNode;
|
||||
}
|
||||
export declare type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[];
|
||||
export interface TreeSelectProps<T> extends Omit<RcTreeSelectProps<T>, 'showTreeIcon' | 'treeMotion' | 'inputIcon' | 'mode' | 'getInputElement' | 'backfill'> {
|
||||
suffixIcon?: React.ReactNode;
|
||||
size?: SizeType;
|
||||
bordered?: boolean;
|
||||
}
|
||||
declare class TreeSelect<T> extends React.Component<TreeSelectProps<T>, {}> {
|
||||
static TreeNode: React.FC<import("rc-tree-select/lib/TreeNode").TreeNodeProps>;
|
||||
static SHOW_ALL: typeof SHOW_ALL;
|
||||
static SHOW_PARENT: typeof SHOW_PARENT;
|
||||
static SHOW_CHILD: typeof SHOW_CHILD;
|
||||
static defaultProps: {
|
||||
transitionName: string;
|
||||
choiceTransitionName: string;
|
||||
bordered: boolean;
|
||||
};
|
||||
selectRef: React.RefObject<RcTreeSelect<import("rc-tree-select/lib/interface").DefaultValueType>>;
|
||||
constructor(props: TreeSelectProps<T>);
|
||||
focus(): void;
|
||||
blur(): void;
|
||||
renderTreeSelect: ({ getPopupContainer: getContextPopupContainer, getPrefixCls, renderEmpty, direction, }: ConfigConsumerProps) => JSX.Element;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
export { TreeNode };
|
||||
export default TreeSelect;
|
||||
166
web/node_modules/antd/es/tree-select/index.js
generated
vendored
Normal file
166
web/node_modules/antd/es/tree-select/index.js
generated
vendored
Normal file
@@ -0,0 +1,166 @@
|
||||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||
|
||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||
|
||||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||
|
||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||
|
||||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||
|
||||
import * as React from 'react';
|
||||
import RcTreeSelect, { TreeNode, SHOW_ALL, SHOW_PARENT, SHOW_CHILD } from 'rc-tree-select';
|
||||
import classNames from 'classnames';
|
||||
import omit from 'omit.js';
|
||||
import { ConfigConsumer } from '../config-provider';
|
||||
import warning from '../_util/warning';
|
||||
import getIcons from '../select/utils/iconUtil';
|
||||
import renderSwitcherIcon from '../tree/utils/iconUtil';
|
||||
import SizeContext from '../config-provider/SizeContext';
|
||||
|
||||
var TreeSelect = /*#__PURE__*/function (_React$Component) {
|
||||
_inherits(TreeSelect, _React$Component);
|
||||
|
||||
var _super = _createSuper(TreeSelect);
|
||||
|
||||
function TreeSelect(props) {
|
||||
var _this;
|
||||
|
||||
_classCallCheck(this, TreeSelect);
|
||||
|
||||
_this = _super.call(this, props);
|
||||
_this.selectRef = React.createRef();
|
||||
|
||||
_this.renderTreeSelect = function (_ref) {
|
||||
var getContextPopupContainer = _ref.getPopupContainer,
|
||||
getPrefixCls = _ref.getPrefixCls,
|
||||
renderEmpty = _ref.renderEmpty,
|
||||
direction = _ref.direction;
|
||||
var _this$props = _this.props,
|
||||
customizePrefixCls = _this$props.prefixCls,
|
||||
customizeSize = _this$props.size,
|
||||
className = _this$props.className,
|
||||
treeCheckable = _this$props.treeCheckable,
|
||||
multiple = _this$props.multiple,
|
||||
_this$props$listHeigh = _this$props.listHeight,
|
||||
listHeight = _this$props$listHeigh === void 0 ? 256 : _this$props$listHeigh,
|
||||
_this$props$listItemH = _this$props.listItemHeight,
|
||||
listItemHeight = _this$props$listItemH === void 0 ? 26 : _this$props$listItemH,
|
||||
notFoundContent = _this$props.notFoundContent,
|
||||
_switcherIcon = _this$props.switcherIcon,
|
||||
treeLine = _this$props.treeLine,
|
||||
getPopupContainer = _this$props.getPopupContainer,
|
||||
dropdownClassName = _this$props.dropdownClassName,
|
||||
bordered = _this$props.bordered,
|
||||
_this$props$treeIcon = _this$props.treeIcon,
|
||||
treeIcon = _this$props$treeIcon === void 0 ? false : _this$props$treeIcon;
|
||||
var prefixCls = getPrefixCls('select', customizePrefixCls);
|
||||
var treePrefixCls = getPrefixCls('select-tree', customizePrefixCls);
|
||||
var treeSelectPrefixCls = getPrefixCls('tree-select', customizePrefixCls);
|
||||
var mergedDropdownClassName = classNames(dropdownClassName, "".concat(treeSelectPrefixCls, "-dropdown"), _defineProperty({}, "".concat(treeSelectPrefixCls, "-dropdown-rtl"), direction === 'rtl'));
|
||||
var isMultiple = !!(treeCheckable || multiple); // ===================== Icons =====================
|
||||
|
||||
var _getIcons = getIcons(_extends(_extends({}, _this.props), {
|
||||
multiple: isMultiple
|
||||
})),
|
||||
suffixIcon = _getIcons.suffixIcon,
|
||||
itemIcon = _getIcons.itemIcon,
|
||||
removeIcon = _getIcons.removeIcon,
|
||||
clearIcon = _getIcons.clearIcon; // ===================== Empty =====================
|
||||
|
||||
|
||||
var mergedNotFound;
|
||||
|
||||
if (notFoundContent !== undefined) {
|
||||
mergedNotFound = notFoundContent;
|
||||
} else {
|
||||
mergedNotFound = renderEmpty('Select');
|
||||
} // ==================== Render =====================
|
||||
|
||||
|
||||
var selectProps = omit(_this.props, ['prefixCls', 'suffixIcon', 'itemIcon', 'removeIcon', 'clearIcon', 'switcherIcon', 'size', 'bordered']);
|
||||
return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (size) {
|
||||
var _classNames2;
|
||||
|
||||
var mergedSize = customizeSize || size;
|
||||
var mergedClassName = classNames(!customizePrefixCls && treeSelectPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), _defineProperty(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _classNames2), className);
|
||||
return /*#__PURE__*/React.createElement(RcTreeSelect, _extends({}, selectProps, {
|
||||
ref: _this.selectRef,
|
||||
prefixCls: prefixCls,
|
||||
className: mergedClassName,
|
||||
listHeight: listHeight,
|
||||
listItemHeight: listItemHeight,
|
||||
treeCheckable: treeCheckable ? /*#__PURE__*/React.createElement("span", {
|
||||
className: "".concat(prefixCls, "-tree-checkbox-inner")
|
||||
}) : treeCheckable,
|
||||
inputIcon: suffixIcon,
|
||||
menuItemSelectedIcon: itemIcon,
|
||||
removeIcon: removeIcon,
|
||||
clearIcon: clearIcon,
|
||||
switcherIcon: function switcherIcon(nodeProps) {
|
||||
return renderSwitcherIcon(treePrefixCls, _switcherIcon, treeLine, nodeProps);
|
||||
},
|
||||
showTreeIcon: treeIcon,
|
||||
notFoundContent: mergedNotFound,
|
||||
getPopupContainer: getPopupContainer || getContextPopupContainer,
|
||||
treeMotion: null,
|
||||
dropdownClassName: mergedDropdownClassName
|
||||
}));
|
||||
});
|
||||
};
|
||||
|
||||
warning(props.multiple !== false || !props.treeCheckable, 'TreeSelect', '`multiple` will alway be `true` when `treeCheckable` is true');
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(TreeSelect, [{
|
||||
key: "focus",
|
||||
value: function focus() {
|
||||
if (this.selectRef.current) {
|
||||
this.selectRef.current.focus();
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "blur",
|
||||
value: function blur() {
|
||||
if (this.selectRef.current) {
|
||||
this.selectRef.current.blur();
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
return /*#__PURE__*/React.createElement(ConfigConsumer, null, this.renderTreeSelect);
|
||||
}
|
||||
}]);
|
||||
|
||||
return TreeSelect;
|
||||
}(React.Component);
|
||||
|
||||
TreeSelect.TreeNode = TreeNode;
|
||||
TreeSelect.SHOW_ALL = SHOW_ALL;
|
||||
TreeSelect.SHOW_PARENT = SHOW_PARENT;
|
||||
TreeSelect.SHOW_CHILD = SHOW_CHILD;
|
||||
TreeSelect.defaultProps = {
|
||||
transitionName: 'slide-up',
|
||||
choiceTransitionName: 'zoom',
|
||||
bordered: true
|
||||
};
|
||||
export { TreeNode };
|
||||
export default TreeSelect;
|
||||
6
web/node_modules/antd/es/tree-select/style/css.js
generated
vendored
Normal file
6
web/node_modules/antd/es/tree-select/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import '../../style/index.css';
|
||||
import './index.css'; // style dependencies
|
||||
// deps-lint-skip: tree
|
||||
|
||||
import '../../select/style/css';
|
||||
import '../../empty/style/css';
|
||||
905
web/node_modules/antd/es/tree-select/style/index.css
generated
vendored
Normal file
905
web/node_modules/antd/es/tree-select/style/index.css
generated
vendored
Normal file
@@ -0,0 +1,905 @@
|
||||
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
||||
/* stylelint-disable no-duplicate-selectors */
|
||||
/* stylelint-disable */
|
||||
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode {
|
||||
position: relative;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 4px;
|
||||
left: 0;
|
||||
-webkit-transition: background-color 0.3s;
|
||||
transition: background-color 0.3s;
|
||||
content: '';
|
||||
pointer-events: none;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode:hover::before {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode > * {
|
||||
z-index: 1;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher {
|
||||
-webkit-transition: color 0.3s;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper {
|
||||
border-radius: 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover {
|
||||
background: transparent;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before,
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode-selected::before {
|
||||
background: #1890ff;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher {
|
||||
color: #fff;
|
||||
}
|
||||
.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper {
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
}
|
||||
.ant-tree-checkbox {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
position: relative;
|
||||
top: -0.09em;
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
|
||||
.ant-tree-checkbox:hover .ant-tree-checkbox-inner,
|
||||
.ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {
|
||||
border-color: #1890ff;
|
||||
}
|
||||
.ant-tree-checkbox-checked::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 1px solid #1890ff;
|
||||
border-radius: 2px;
|
||||
visibility: hidden;
|
||||
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
||||
animation: antCheckboxEffect 0.36s ease-in-out;
|
||||
-webkit-animation-fill-mode: backwards;
|
||||
animation-fill-mode: backwards;
|
||||
content: '';
|
||||
}
|
||||
.ant-tree-checkbox:hover::after,
|
||||
.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox::after {
|
||||
visibility: visible;
|
||||
}
|
||||
.ant-tree-checkbox-inner {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
direction: ltr;
|
||||
background-color: #fff;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 2px;
|
||||
border-collapse: separate;
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.ant-tree-checkbox-inner::after {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 22%;
|
||||
display: table;
|
||||
width: 5.71428571px;
|
||||
height: 9.14285714px;
|
||||
border: 2px solid #fff;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
-webkit-transform: rotate(45deg) scale(0) translate(-50%, -50%);
|
||||
transform: rotate(45deg) scale(0) translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
|
||||
transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
|
||||
content: ' ';
|
||||
}
|
||||
.ant-tree-checkbox-input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
}
|
||||
.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
|
||||
position: absolute;
|
||||
display: table;
|
||||
border: 2px solid #fff;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
-webkit-transform: rotate(45deg) scale(1) translate(-50%, -50%);
|
||||
transform: rotate(45deg) scale(1) translate(-50%, -50%);
|
||||
opacity: 1;
|
||||
-webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
|
||||
transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
|
||||
content: ' ';
|
||||
}
|
||||
.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
|
||||
background-color: #1890ff;
|
||||
border-color: #1890ff;
|
||||
}
|
||||
.ant-tree-checkbox-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
|
||||
border-color: rgba(0, 0, 0, 0.25);
|
||||
-webkit-animation-name: none;
|
||||
animation-name: none;
|
||||
}
|
||||
.ant-tree-checkbox-disabled .ant-tree-checkbox-input {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-tree-checkbox-disabled .ant-tree-checkbox-inner {
|
||||
background-color: #f5f5f5;
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {
|
||||
border-color: #f5f5f5;
|
||||
border-collapse: separate;
|
||||
-webkit-animation-name: none;
|
||||
animation-name: none;
|
||||
}
|
||||
.ant-tree-checkbox-disabled + span {
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-tree-checkbox-disabled:hover::after,
|
||||
.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled::after {
|
||||
visibility: hidden;
|
||||
}
|
||||
.ant-tree-checkbox-wrapper {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
display: inline-block;
|
||||
line-height: unset;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-tree-checkbox-wrapper + .ant-tree-checkbox-wrapper {
|
||||
margin-left: 8px;
|
||||
}
|
||||
.ant-tree-checkbox + span {
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
.ant-tree-checkbox-group {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
display: inline-block;
|
||||
}
|
||||
.ant-tree-checkbox-group-item {
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.ant-tree-checkbox-group-item:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.ant-tree-checkbox-group-item + .ant-tree-checkbox-group-item {
|
||||
margin-left: 0;
|
||||
}
|
||||
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner {
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner::after {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: #1890ff;
|
||||
border: 0;
|
||||
-webkit-transform: translate(-50%, -50%) scale(1);
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
opacity: 1;
|
||||
content: ' ';
|
||||
}
|
||||
.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {
|
||||
background-color: rgba(0, 0, 0, 0.25);
|
||||
border-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.ant-tree {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
-webkit-transition: background-color 0.3s;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
.ant-tree-focused:not(:hover):not(.ant-tree-active-focused) {
|
||||
background: #e6f7ff;
|
||||
}
|
||||
.ant-tree-list-holder-inner {
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner {
|
||||
-webkit-box-align: stretch;
|
||||
-ms-flex-align: stretch;
|
||||
align-items: stretch;
|
||||
}
|
||||
.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
padding: 0 0 4px 0;
|
||||
outline: none;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper {
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover {
|
||||
background: transparent;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.ant-tree-indent {
|
||||
-ms-flex-item-align: stretch;
|
||||
align-self: stretch;
|
||||
white-space: nowrap;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ant-tree-indent-unit {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
}
|
||||
.ant-tree .ant-tree-switcher {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: none;
|
||||
flex: none;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-tree .ant-tree-switcher .ant-tree-switcher-icon,
|
||||
.ant-tree .ant-tree-switcher .ant-select-tree-switcher-icon {
|
||||
font-size: 10px;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ant-tree .ant-tree-switcher .ant-tree-switcher-icon svg,
|
||||
.ant-tree .ant-tree-switcher .ant-select-tree-switcher-icon svg {
|
||||
-webkit-transition: -webkit-transform 0.3s;
|
||||
transition: -webkit-transform 0.3s;
|
||||
transition: transform 0.3s;
|
||||
transition: transform 0.3s, -webkit-transform 0.3s;
|
||||
}
|
||||
.ant-tree .ant-tree-switcher-noop {
|
||||
cursor: default;
|
||||
}
|
||||
.ant-tree .ant-tree-switcher_close .ant-tree-switcher-icon svg {
|
||||
-webkit-transform: rotate(-90deg);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
.ant-tree .ant-tree-checkbox {
|
||||
top: initial;
|
||||
margin: 4px 8px 0 0;
|
||||
}
|
||||
.ant-tree .ant-tree-node-content-wrapper {
|
||||
min-height: 24px;
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
color: inherit;
|
||||
line-height: 24px;
|
||||
background: transparent;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.ant-tree .ant-tree-node-content-wrapper:hover {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
||||
background-color: #bae7ff;
|
||||
}
|
||||
.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
}
|
||||
.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty {
|
||||
display: none;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode-loading .ant-tree-iconEle {
|
||||
display: none;
|
||||
}
|
||||
.ant-tree-node-content-wrapper[draggable='true'] {
|
||||
line-height: 20px;
|
||||
border-top: 2px transparent solid;
|
||||
border-bottom: 2px transparent solid;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode.drag-over > [draggable] {
|
||||
color: white;
|
||||
background-color: #1890ff;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode.drag-over-gap-top > [draggable] {
|
||||
border-top-color: #1890ff;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode.drag-over-gap-bottom > [draggable] {
|
||||
border-bottom-color: #1890ff;
|
||||
}
|
||||
.ant-tree-show-line {
|
||||
/* Motion should hide line of measure */
|
||||
}
|
||||
.ant-tree-show-line .ant-tree-indent-unit {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
.ant-tree-show-line .ant-tree-indent-unit::before {
|
||||
position: absolute;
|
||||
top: calc(100% - 4px);
|
||||
right: -12px;
|
||||
bottom: -28px;
|
||||
border-right: 1px solid #d9d9d9;
|
||||
content: '';
|
||||
}
|
||||
.ant-tree-show-line .ant-tree-indent-unit-end::before {
|
||||
display: none;
|
||||
}
|
||||
.ant-tree-show-line .ant-tree-treenode-motion:not(.ant-motion-collapse-leave):not(.ant-motion-collapse-appear-active) .ant-tree-indent-unit::before {
|
||||
display: none;
|
||||
}
|
||||
.ant-tree-show-line .ant-tree-switcher {
|
||||
z-index: 1;
|
||||
background: #fff;
|
||||
}
|
||||
.ant-tree-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-tree-rtl.ant-tree .ant-tree-switcher_close .ant-tree-switcher-icon svg {
|
||||
-webkit-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit::before {
|
||||
right: auto;
|
||||
left: -12px;
|
||||
border-right: none;
|
||||
border-left: 1px solid #d9d9d9;
|
||||
}
|
||||
@-webkit-keyframes antCheckboxEffect {
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
opacity: 0.5;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(1.6);
|
||||
transform: scale(1.6);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
@keyframes antCheckboxEffect {
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
opacity: 0.5;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(1.6);
|
||||
transform: scale(1.6);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.ant-select-tree-checkbox {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
position: relative;
|
||||
top: -0.09em;
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,
|
||||
.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,
|
||||
.ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {
|
||||
border-color: #1890ff;
|
||||
}
|
||||
.ant-select-tree-checkbox-checked::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 1px solid #1890ff;
|
||||
border-radius: 2px;
|
||||
visibility: hidden;
|
||||
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
||||
animation: antCheckboxEffect 0.36s ease-in-out;
|
||||
-webkit-animation-fill-mode: backwards;
|
||||
animation-fill-mode: backwards;
|
||||
content: '';
|
||||
}
|
||||
.ant-select-tree-checkbox:hover::after,
|
||||
.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox::after {
|
||||
visibility: visible;
|
||||
}
|
||||
.ant-select-tree-checkbox-inner {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
direction: ltr;
|
||||
background-color: #fff;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 2px;
|
||||
border-collapse: separate;
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.ant-select-tree-checkbox-inner::after {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 22%;
|
||||
display: table;
|
||||
width: 5.71428571px;
|
||||
height: 9.14285714px;
|
||||
border: 2px solid #fff;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
-webkit-transform: rotate(45deg) scale(0) translate(-50%, -50%);
|
||||
transform: rotate(45deg) scale(0) translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
|
||||
transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
|
||||
content: ' ';
|
||||
}
|
||||
.ant-select-tree-checkbox-input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
}
|
||||
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {
|
||||
position: absolute;
|
||||
display: table;
|
||||
border: 2px solid #fff;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
-webkit-transform: rotate(45deg) scale(1) translate(-50%, -50%);
|
||||
transform: rotate(45deg) scale(1) translate(-50%, -50%);
|
||||
opacity: 1;
|
||||
-webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
|
||||
transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
|
||||
content: ' ';
|
||||
}
|
||||
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
|
||||
background-color: #1890ff;
|
||||
border-color: #1890ff;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {
|
||||
border-color: rgba(0, 0, 0, 0.25);
|
||||
-webkit-animation-name: none;
|
||||
animation-name: none;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
|
||||
background-color: #f5f5f5;
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {
|
||||
border-color: #f5f5f5;
|
||||
border-collapse: separate;
|
||||
-webkit-animation-name: none;
|
||||
animation-name: none;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled + span {
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-select-tree-checkbox-disabled:hover::after,
|
||||
.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled::after {
|
||||
visibility: hidden;
|
||||
}
|
||||
.ant-select-tree-checkbox-wrapper {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
display: inline-block;
|
||||
line-height: unset;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-select-tree-checkbox-wrapper + .ant-select-tree-checkbox-wrapper {
|
||||
margin-left: 8px;
|
||||
}
|
||||
.ant-select-tree-checkbox + span {
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
.ant-select-tree-checkbox-group {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
display: inline-block;
|
||||
}
|
||||
.ant-select-tree-checkbox-group-item {
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.ant-select-tree-checkbox-group-item:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.ant-select-tree-checkbox-group-item + .ant-select-tree-checkbox-group-item {
|
||||
margin-left: 0;
|
||||
}
|
||||
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner {
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: #1890ff;
|
||||
border: 0;
|
||||
-webkit-transform: translate(-50%, -50%) scale(1);
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
opacity: 1;
|
||||
content: ' ';
|
||||
}
|
||||
.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {
|
||||
background-color: rgba(0, 0, 0, 0.25);
|
||||
border-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.ant-tree-select-dropdown {
|
||||
padding: 8px 4px 0;
|
||||
}
|
||||
.ant-tree-select-dropdown-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-tree-select-dropdown .ant-select-tree {
|
||||
border-radius: 0;
|
||||
}
|
||||
.ant-tree-select-dropdown .ant-select-tree-list-holder-inner {
|
||||
-webkit-box-align: stretch;
|
||||
-ms-flex-align: stretch;
|
||||
align-items: stretch;
|
||||
}
|
||||
.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto;
|
||||
}
|
||||
.ant-select-tree {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
-webkit-transition: background-color 0.3s;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused) {
|
||||
background: #e6f7ff;
|
||||
}
|
||||
.ant-select-tree-list-holder-inner {
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner {
|
||||
-webkit-box-align: stretch;
|
||||
-ms-flex-align: stretch;
|
||||
align-items: stretch;
|
||||
}
|
||||
.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
padding: 0 0 4px 0;
|
||||
outline: none;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover {
|
||||
background: transparent;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.ant-select-tree-indent {
|
||||
-ms-flex-item-align: stretch;
|
||||
align-self: stretch;
|
||||
white-space: nowrap;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ant-select-tree-indent-unit {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-switcher {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: none;
|
||||
flex: none;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-switcher .ant-tree-switcher-icon,
|
||||
.ant-select-tree .ant-select-tree-switcher .ant-select-tree-switcher-icon {
|
||||
font-size: 10px;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-switcher .ant-tree-switcher-icon svg,
|
||||
.ant-select-tree .ant-select-tree-switcher .ant-select-tree-switcher-icon svg {
|
||||
-webkit-transition: -webkit-transform 0.3s;
|
||||
transition: -webkit-transform 0.3s;
|
||||
transition: transform 0.3s;
|
||||
transition: transform 0.3s, -webkit-transform 0.3s;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-switcher-noop {
|
||||
cursor: default;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {
|
||||
-webkit-transform: rotate(-90deg);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-checkbox {
|
||||
top: initial;
|
||||
margin: 4px 8px 0 0;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-node-content-wrapper {
|
||||
min-height: 24px;
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
color: inherit;
|
||||
line-height: 24px;
|
||||
background: transparent;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-node-content-wrapper:hover {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
|
||||
background-color: #bae7ff;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty {
|
||||
display: none;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode-loading .ant-select-tree-iconEle {
|
||||
display: none;
|
||||
}
|
||||
.ant-select-tree-node-content-wrapper[draggable='true'] {
|
||||
line-height: 20px;
|
||||
border-top: 2px transparent solid;
|
||||
border-bottom: 2px transparent solid;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode.drag-over > [draggable] {
|
||||
color: white;
|
||||
background-color: #1890ff;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode.drag-over-gap-top > [draggable] {
|
||||
border-top-color: #1890ff;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode.drag-over-gap-bottom > [draggable] {
|
||||
border-bottom-color: #1890ff;
|
||||
}
|
||||
.ant-select-tree-show-line {
|
||||
/* Motion should hide line of measure */
|
||||
}
|
||||
.ant-select-tree-show-line .ant-select-tree-indent-unit {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
.ant-select-tree-show-line .ant-select-tree-indent-unit::before {
|
||||
position: absolute;
|
||||
top: calc(100% - 4px);
|
||||
right: -12px;
|
||||
bottom: -28px;
|
||||
border-right: 1px solid #d9d9d9;
|
||||
content: '';
|
||||
}
|
||||
.ant-select-tree-show-line .ant-select-tree-indent-unit-end::before {
|
||||
display: none;
|
||||
}
|
||||
.ant-select-tree-show-line .ant-select-tree-treenode-motion:not(.ant-motion-collapse-leave):not(.ant-motion-collapse-appear-active) .ant-select-tree-indent-unit::before {
|
||||
display: none;
|
||||
}
|
||||
.ant-select-tree-show-line .ant-select-tree-switcher {
|
||||
z-index: 1;
|
||||
background: #fff;
|
||||
}
|
||||
.ant-select-tree-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-select-tree .ant-select-tree-treenode-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-select-tree-rtl.ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {
|
||||
-webkit-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.ant-select-tree-rtl.ant-select-tree-show-line .ant-select-tree-indent-unit::before {
|
||||
right: auto;
|
||||
left: -12px;
|
||||
border-right: none;
|
||||
border-left: 1px solid #d9d9d9;
|
||||
}
|
||||
.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {
|
||||
-webkit-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
4
web/node_modules/antd/es/tree-select/style/index.d.ts
generated
vendored
Normal file
4
web/node_modules/antd/es/tree-select/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
import '../../select/style';
|
||||
import '../../empty/style';
|
||||
6
web/node_modules/antd/es/tree-select/style/index.js
generated
vendored
Normal file
6
web/node_modules/antd/es/tree-select/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less'; // style dependencies
|
||||
// deps-lint-skip: tree
|
||||
|
||||
import '../../select/style';
|
||||
import '../../empty/style';
|
||||
55
web/node_modules/antd/es/tree-select/style/index.less
generated
vendored
Normal file
55
web/node_modules/antd/es/tree-select/style/index.less
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
@import '../../tree/style/index';
|
||||
@import '../../checkbox/style/mixin';
|
||||
|
||||
@tree-select-prefix-cls: ~'@{ant-prefix}-tree-select';
|
||||
@select-tree-prefix-cls: ~'@{ant-prefix}-select-tree';
|
||||
|
||||
.antCheckboxFn(@checkbox-prefix-cls: ~'@{select-tree-prefix-cls}-checkbox');
|
||||
|
||||
.@{tree-select-prefix-cls} {
|
||||
// ======================= Dropdown =======================
|
||||
&-dropdown {
|
||||
padding: @padding-xs (@padding-xs / 2) 0;
|
||||
|
||||
&-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
// ======================== Tree ========================
|
||||
.@{select-tree-prefix-cls} {
|
||||
border-radius: 0;
|
||||
|
||||
&-list-holder-inner {
|
||||
align-items: stretch;
|
||||
|
||||
.@{select-tree-prefix-cls}-treenode {
|
||||
padding-bottom: @padding-xs;
|
||||
|
||||
.@{select-tree-prefix-cls}-node-content-wrapper {
|
||||
flex: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ========================== Tree ==========================
|
||||
.antTreeFn(@select-tree-prefix-cls);
|
||||
|
||||
// change switcher icon rotation in rtl direction
|
||||
.@{select-tree-prefix-cls} {
|
||||
// >>> Switcher
|
||||
& &-switcher {
|
||||
&_close {
|
||||
.@{select-tree-prefix-cls}-switcher-icon {
|
||||
svg {
|
||||
.@{tree-select-prefix-cls}-dropdown-rtl & {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user