antd-mobile 5.36.0 → 5.37.0
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/2x/bundle/antd-mobile.cjs.development.js +393 -295
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +393 -295
- package/2x/bundle/antd-mobile.es.js +5619 -5550
- package/2x/bundle/antd-mobile.umd.development.js +393 -295
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/bundle/style.css +5 -8
- package/2x/cjs/components/card/card.css +5 -5
- package/2x/cjs/components/card/card.patch.css +21 -0
- package/2x/cjs/components/center-popup/center-popup.js +46 -43
- package/2x/cjs/components/check-list/check-list.js +15 -11
- package/2x/cjs/components/collapse/collapse.d.ts +10 -2
- package/2x/cjs/components/collapse/collapse.js +54 -39
- package/2x/cjs/components/config-provider/config-provider.d.ts +40 -2
- package/2x/cjs/components/dropdown/context.d.ts +2 -0
- package/2x/cjs/components/dropdown/context.js +10 -0
- package/2x/cjs/components/dropdown/dropdown.d.ts +11 -3
- package/2x/cjs/components/dropdown/dropdown.js +23 -16
- package/2x/cjs/components/dropdown/index.d.ts +1 -0
- package/2x/cjs/components/dropdown/item.d.ts +5 -1
- package/2x/cjs/components/dropdown/item.js +22 -8
- package/2x/cjs/components/form/form-item.d.ts +6 -5
- package/2x/cjs/components/form/form-item.js +25 -17
- package/2x/cjs/components/form/form.d.ts +1 -1
- package/2x/cjs/components/form/index.d.ts +1 -1
- package/2x/cjs/components/input/input.d.ts +3 -1
- package/2x/cjs/components/input/input.js +53 -51
- package/2x/cjs/components/list/list-item.d.ts +6 -2
- package/2x/cjs/components/list/list-item.js +16 -6
- package/2x/cjs/components/nav-bar/nav-bar.d.ts +4 -0
- package/2x/cjs/components/nav-bar/nav-bar.js +18 -13
- package/2x/cjs/components/notice-bar/notice-bar.css +0 -3
- package/2x/cjs/components/notice-bar/notice-bar.d.ts +3 -1
- package/2x/cjs/components/notice-bar/notice-bar.js +30 -25
- package/2x/cjs/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/2x/cjs/components/number-keyboard/number-keyboard.js +14 -13
- package/2x/cjs/components/popup/popup-base-props.d.ts +3 -2
- package/2x/cjs/components/popup/popup-base-props.js +4 -0
- package/2x/cjs/components/popup/popup.js +5 -5
- package/2x/cjs/components/result/result.js +3 -10
- package/2x/cjs/components/result/use-result-icon.d.ts +3 -0
- package/2x/cjs/components/result/use-result-icon.js +37 -0
- package/2x/cjs/components/result-page/result-page.js +3 -10
- package/2x/cjs/components/search-bar/search-bar.d.ts +10 -2
- package/2x/cjs/components/search-bar/search-bar.js +34 -33
- package/2x/cjs/components/toast/toast.d.ts +2 -2
- package/2x/cjs/components/toast/toast.js +4 -4
- package/2x/cjs/components/virtual-input/virtual-input.d.ts +5 -5
- package/2x/cjs/components/virtual-input/virtual-input.js +26 -24
- package/2x/cjs/locales/ar-SA.js +2 -2
- package/2x/cjs/locales/de-DE.js +3 -3
- package/2x/cjs/locales/es-ES.js +2 -2
- package/2x/cjs/locales/fr-FR.js +1 -1
- package/2x/cjs/locales/in-ID.d.ts +139 -0
- package/2x/cjs/locales/in-ID.js +149 -0
- package/2x/cjs/locales/ja-JP.js +2 -2
- package/2x/cjs/locales/th-TH.js +2 -2
- package/2x/cjs/utils/is-node-with-content.d.ts +3 -0
- package/2x/cjs/utils/is-node-with-content.js +3 -0
- package/2x/cjs/utils/use-mutation-effect.d.ts +1 -0
- package/2x/cjs/utils/use-mutation-effect.js +20 -9
- package/2x/cjs/utils/with-default-props.d.ts +7 -0
- package/2x/cjs/utils/with-default-props.js +21 -5
- package/2x/es/components/card/card.css +5 -5
- package/2x/es/components/card/card.patch.css +21 -0
- package/2x/es/components/center-popup/center-popup.js +45 -42
- package/2x/es/components/check-list/check-list.js +15 -11
- package/2x/es/components/collapse/collapse.d.ts +10 -2
- package/2x/es/components/collapse/collapse.js +53 -38
- package/2x/es/components/config-provider/config-provider.d.ts +40 -2
- package/2x/es/components/dropdown/context.d.ts +2 -0
- package/2x/es/components/dropdown/context.js +2 -0
- package/2x/es/components/dropdown/dropdown.d.ts +11 -3
- package/2x/es/components/dropdown/dropdown.js +24 -17
- package/2x/es/components/dropdown/index.d.ts +1 -0
- package/2x/es/components/dropdown/item.d.ts +5 -1
- package/2x/es/components/dropdown/item.js +22 -8
- package/2x/es/components/form/form-item.d.ts +6 -5
- package/2x/es/components/form/form-item.js +24 -16
- package/2x/es/components/form/form.d.ts +1 -1
- package/2x/es/components/form/index.d.ts +1 -1
- package/2x/es/components/input/input.d.ts +3 -1
- package/2x/es/components/input/input.js +52 -50
- package/2x/es/components/list/list-item.d.ts +6 -2
- package/2x/es/components/list/list-item.js +16 -6
- package/2x/es/components/nav-bar/nav-bar.d.ts +4 -0
- package/2x/es/components/nav-bar/nav-bar.js +18 -13
- package/2x/es/components/notice-bar/notice-bar.css +0 -3
- package/2x/es/components/notice-bar/notice-bar.d.ts +3 -1
- package/2x/es/components/notice-bar/notice-bar.js +29 -24
- package/2x/es/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/2x/es/components/number-keyboard/number-keyboard.js +13 -12
- package/2x/es/components/popup/popup-base-props.d.ts +3 -2
- package/2x/es/components/popup/popup-base-props.js +3 -0
- package/2x/es/components/popup/popup.js +5 -5
- package/2x/es/components/result/result.js +3 -10
- package/2x/es/components/result/use-result-icon.d.ts +3 -0
- package/2x/es/components/result/use-result-icon.js +29 -0
- package/2x/es/components/result-page/result-page.js +3 -10
- package/2x/es/components/search-bar/search-bar.d.ts +10 -2
- package/2x/es/components/search-bar/search-bar.js +33 -32
- package/2x/es/components/toast/toast.d.ts +2 -2
- package/2x/es/components/toast/toast.js +3 -3
- package/2x/es/components/virtual-input/virtual-input.d.ts +5 -5
- package/2x/es/components/virtual-input/virtual-input.js +25 -23
- package/2x/es/locales/ar-SA.js +2 -2
- package/2x/es/locales/de-DE.js +3 -3
- package/2x/es/locales/es-ES.js +2 -2
- package/2x/es/locales/fr-FR.js +1 -1
- package/2x/es/locales/in-ID.d.ts +139 -0
- package/2x/es/locales/in-ID.js +142 -0
- package/2x/es/locales/ja-JP.js +2 -2
- package/2x/es/locales/th-TH.js +2 -2
- package/2x/es/utils/is-node-with-content.d.ts +3 -0
- package/2x/es/utils/is-node-with-content.js +3 -0
- package/2x/es/utils/use-mutation-effect.d.ts +1 -0
- package/2x/es/utils/use-mutation-effect.js +19 -9
- package/2x/es/utils/with-default-props.d.ts +7 -0
- package/2x/es/utils/with-default-props.js +20 -5
- package/2x/package.json +3 -2
- package/bundle/antd-mobile.cjs.development.js +393 -295
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +393 -295
- package/bundle/antd-mobile.es.js +5619 -5550
- package/bundle/antd-mobile.umd.development.js +393 -295
- package/bundle/antd-mobile.umd.js +7 -7
- package/bundle/style.css +1 -1
- package/cjs/components/card/card.css +5 -5
- package/cjs/components/card/card.patch.css +17 -0
- package/cjs/components/center-popup/center-popup.js +46 -43
- package/cjs/components/check-list/check-list.js +15 -11
- package/cjs/components/collapse/collapse.d.ts +10 -2
- package/cjs/components/collapse/collapse.js +54 -39
- package/cjs/components/config-provider/config-provider.d.ts +40 -2
- package/cjs/components/dropdown/context.d.ts +2 -0
- package/cjs/components/dropdown/context.js +10 -0
- package/cjs/components/dropdown/dropdown.d.ts +11 -3
- package/cjs/components/dropdown/dropdown.js +23 -16
- package/cjs/components/dropdown/index.d.ts +1 -0
- package/cjs/components/dropdown/item.d.ts +5 -1
- package/cjs/components/dropdown/item.js +22 -8
- package/cjs/components/form/form-item.d.ts +6 -5
- package/cjs/components/form/form-item.js +25 -17
- package/cjs/components/form/form.d.ts +1 -1
- package/cjs/components/form/index.d.ts +1 -1
- package/cjs/components/input/input.d.ts +3 -1
- package/cjs/components/input/input.js +53 -51
- package/cjs/components/list/list-item.d.ts +6 -2
- package/cjs/components/list/list-item.js +16 -6
- package/cjs/components/nav-bar/nav-bar.d.ts +4 -0
- package/cjs/components/nav-bar/nav-bar.js +18 -13
- package/cjs/components/notice-bar/notice-bar.css +0 -2
- package/cjs/components/notice-bar/notice-bar.d.ts +3 -1
- package/cjs/components/notice-bar/notice-bar.js +30 -25
- package/cjs/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/cjs/components/number-keyboard/number-keyboard.js +14 -13
- package/cjs/components/popup/popup-base-props.d.ts +3 -2
- package/cjs/components/popup/popup-base-props.js +4 -0
- package/cjs/components/popup/popup.js +5 -5
- package/cjs/components/result/result.js +3 -10
- package/cjs/components/result/use-result-icon.d.ts +3 -0
- package/cjs/components/result/use-result-icon.js +37 -0
- package/cjs/components/result-page/result-page.js +3 -10
- package/cjs/components/search-bar/search-bar.d.ts +10 -2
- package/cjs/components/search-bar/search-bar.js +34 -33
- package/cjs/components/toast/toast.css +1 -1
- package/cjs/components/toast/toast.d.ts +2 -2
- package/cjs/components/toast/toast.js +4 -4
- package/cjs/components/virtual-input/virtual-input.d.ts +5 -5
- package/cjs/components/virtual-input/virtual-input.js +26 -24
- package/cjs/locales/ar-SA.js +2 -2
- package/cjs/locales/de-DE.js +3 -3
- package/cjs/locales/es-ES.js +2 -2
- package/cjs/locales/fr-FR.js +1 -1
- package/cjs/locales/in-ID.d.ts +139 -0
- package/cjs/locales/in-ID.js +149 -0
- package/cjs/locales/ja-JP.js +2 -2
- package/cjs/locales/th-TH.js +2 -2
- package/cjs/utils/is-node-with-content.d.ts +3 -0
- package/cjs/utils/is-node-with-content.js +3 -0
- package/cjs/utils/use-mutation-effect.d.ts +1 -0
- package/cjs/utils/use-mutation-effect.js +20 -9
- package/cjs/utils/with-default-props.d.ts +7 -0
- package/cjs/utils/with-default-props.js +21 -5
- package/es/components/card/card.css +5 -5
- package/es/components/card/card.patch.css +17 -0
- package/es/components/center-popup/center-popup.js +45 -42
- package/es/components/check-list/check-list.js +15 -11
- package/es/components/collapse/collapse.d.ts +10 -2
- package/es/components/collapse/collapse.js +53 -38
- package/es/components/config-provider/config-provider.d.ts +40 -2
- package/es/components/dropdown/context.d.ts +2 -0
- package/es/components/dropdown/context.js +2 -0
- package/es/components/dropdown/dropdown.d.ts +11 -3
- package/es/components/dropdown/dropdown.js +24 -17
- package/es/components/dropdown/index.d.ts +1 -0
- package/es/components/dropdown/item.d.ts +5 -1
- package/es/components/dropdown/item.js +22 -8
- package/es/components/form/form-item.d.ts +6 -5
- package/es/components/form/form-item.js +24 -16
- package/es/components/form/form.d.ts +1 -1
- package/es/components/form/index.d.ts +1 -1
- package/es/components/input/input.d.ts +3 -1
- package/es/components/input/input.js +52 -50
- package/es/components/list/list-item.d.ts +6 -2
- package/es/components/list/list-item.js +16 -6
- package/es/components/nav-bar/nav-bar.d.ts +4 -0
- package/es/components/nav-bar/nav-bar.js +18 -13
- package/es/components/notice-bar/notice-bar.css +0 -2
- package/es/components/notice-bar/notice-bar.d.ts +3 -1
- package/es/components/notice-bar/notice-bar.js +29 -24
- package/es/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/es/components/number-keyboard/number-keyboard.js +13 -12
- package/es/components/popup/popup-base-props.d.ts +3 -2
- package/es/components/popup/popup-base-props.js +3 -0
- package/es/components/popup/popup.js +5 -5
- package/es/components/result/result.js +3 -10
- package/es/components/result/use-result-icon.d.ts +3 -0
- package/es/components/result/use-result-icon.js +29 -0
- package/es/components/result-page/result-page.js +3 -10
- package/es/components/search-bar/search-bar.d.ts +10 -2
- package/es/components/search-bar/search-bar.js +33 -32
- package/es/components/toast/toast.css +1 -1
- package/es/components/toast/toast.d.ts +2 -2
- package/es/components/toast/toast.js +3 -3
- package/es/components/virtual-input/virtual-input.d.ts +5 -5
- package/es/components/virtual-input/virtual-input.js +25 -23
- package/es/locales/ar-SA.js +2 -2
- package/es/locales/de-DE.js +3 -3
- package/es/locales/es-ES.js +2 -2
- package/es/locales/fr-FR.js +1 -1
- package/es/locales/in-ID.d.ts +139 -0
- package/es/locales/in-ID.js +142 -0
- package/es/locales/ja-JP.js +2 -2
- package/es/locales/th-TH.js +2 -2
- package/es/utils/is-node-with-content.d.ts +3 -0
- package/es/utils/is-node-with-content.js +3 -0
- package/es/utils/use-mutation-effect.d.ts +1 -0
- package/es/utils/use-mutation-effect.js +19 -9
- package/es/utils/with-default-props.d.ts +7 -0
- package/es/utils/with-default-props.js +20 -5
- package/package.json +3 -2
- package/umd/antd-mobile.js +1 -1
|
@@ -4,30 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.VirtualInput = void 0;
|
|
7
|
+
var _ahooks = require("ahooks");
|
|
8
|
+
var _antdMobileIcons = require("antd-mobile-icons");
|
|
9
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
7
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
11
|
var _nativeProps = require("../../utils/native-props");
|
|
9
|
-
var _withDefaultProps = require("../../utils/with-default-props");
|
|
10
12
|
var _usePropsValue = require("../../utils/use-props-value");
|
|
11
|
-
var
|
|
12
|
-
var _antdMobileIcons = require("antd-mobile-icons");
|
|
13
|
-
var _ahooks = require("ahooks");
|
|
13
|
+
var _withDefaultProps = require("../../utils/with-default-props");
|
|
14
14
|
var _configProvider = require("../config-provider");
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
18
|
const classPrefix = 'adm-virtual-input';
|
|
19
19
|
const defaultProps = {
|
|
20
20
|
defaultValue: ''
|
|
21
21
|
};
|
|
22
|
-
const VirtualInput = (0, _react.forwardRef)((
|
|
23
|
-
const
|
|
24
|
-
|
|
22
|
+
const VirtualInput = (0, _react.forwardRef)((props, ref) => {
|
|
23
|
+
const {
|
|
24
|
+
locale,
|
|
25
|
+
input: componentConfig = {}
|
|
26
|
+
} = (0, _configProvider.useConfig)();
|
|
27
|
+
const mergedProps = (0, _withDefaultProps.mergeProps)(defaultProps, componentConfig, props);
|
|
28
|
+
const [value, setValue] = (0, _usePropsValue.usePropsValue)(mergedProps);
|
|
25
29
|
const rootRef = (0, _react.useRef)(null);
|
|
26
30
|
const contentRef = (0, _react.useRef)(null);
|
|
27
31
|
const [hasFocus, setHasFocus] = (0, _react.useState)(false);
|
|
28
|
-
const
|
|
29
|
-
locale
|
|
30
|
-
} = (0, _configProvider.useConfig)();
|
|
32
|
+
const clearIcon = (0, _withDefaultProps.mergeProp)(_react.default.createElement(_antdMobileIcons.CloseCircleFill, null), componentConfig.clearIcon, props.clearIcon);
|
|
31
33
|
function scrollToEnd() {
|
|
32
34
|
const root = rootRef.current;
|
|
33
35
|
if (!root) return;
|
|
@@ -59,14 +61,14 @@ const VirtualInput = (0, _react.forwardRef)((p, ref) => {
|
|
|
59
61
|
function onFocus() {
|
|
60
62
|
var _a;
|
|
61
63
|
setHasFocus(true);
|
|
62
|
-
(_a =
|
|
64
|
+
(_a = mergedProps.onFocus) === null || _a === void 0 ? void 0 : _a.call(mergedProps);
|
|
63
65
|
}
|
|
64
66
|
function onBlur() {
|
|
65
67
|
var _a;
|
|
66
68
|
setHasFocus(false);
|
|
67
|
-
(_a =
|
|
69
|
+
(_a = mergedProps.onBlur) === null || _a === void 0 ? void 0 : _a.call(mergedProps);
|
|
68
70
|
}
|
|
69
|
-
const keyboard =
|
|
71
|
+
const keyboard = mergedProps.keyboard;
|
|
70
72
|
const keyboardElement = keyboard && _react.default.cloneElement(keyboard, {
|
|
71
73
|
onInput: v => {
|
|
72
74
|
var _a, _b;
|
|
@@ -93,37 +95,37 @@ const VirtualInput = (0, _react.forwardRef)((p, ref) => {
|
|
|
93
95
|
},
|
|
94
96
|
getContainer: null
|
|
95
97
|
});
|
|
96
|
-
return (0, _nativeProps.withNativeProps)(
|
|
98
|
+
return (0, _nativeProps.withNativeProps)(mergedProps, _react.default.createElement("div", {
|
|
97
99
|
ref: rootRef,
|
|
98
100
|
className: (0, _classnames.default)(classPrefix, {
|
|
99
|
-
[`${classPrefix}-disabled`]:
|
|
101
|
+
[`${classPrefix}-disabled`]: mergedProps.disabled
|
|
100
102
|
}),
|
|
101
|
-
tabIndex:
|
|
103
|
+
tabIndex: mergedProps.disabled ? undefined : 0,
|
|
102
104
|
role: 'textbox',
|
|
103
105
|
onFocus: onFocus,
|
|
104
106
|
onBlur: onBlur,
|
|
105
|
-
onClick:
|
|
107
|
+
onClick: mergedProps.onClick
|
|
106
108
|
}, _react.default.createElement("div", {
|
|
107
109
|
className: `${classPrefix}-content`,
|
|
108
110
|
ref: contentRef,
|
|
109
|
-
"aria-disabled":
|
|
110
|
-
"aria-label":
|
|
111
|
+
"aria-disabled": mergedProps.disabled,
|
|
112
|
+
"aria-label": mergedProps.placeholder
|
|
111
113
|
}, value, _react.default.createElement("div", {
|
|
112
114
|
className: `${classPrefix}-caret-container`
|
|
113
115
|
}, hasFocus && _react.default.createElement("div", {
|
|
114
116
|
className: `${classPrefix}-caret`
|
|
115
|
-
}))),
|
|
117
|
+
}))), mergedProps.clearable && !!value && hasFocus && _react.default.createElement("div", {
|
|
116
118
|
className: `${classPrefix}-clear`,
|
|
117
119
|
onClick: e => {
|
|
118
120
|
var _a;
|
|
119
121
|
e.stopPropagation();
|
|
120
122
|
setValue('');
|
|
121
|
-
(_a =
|
|
123
|
+
(_a = mergedProps.onClear) === null || _a === void 0 ? void 0 : _a.call(mergedProps);
|
|
122
124
|
},
|
|
123
125
|
role: 'button',
|
|
124
126
|
"aria-label": locale.Input.clear
|
|
125
|
-
},
|
|
127
|
+
}, clearIcon), [undefined, null, ''].includes(value) && _react.default.createElement("div", {
|
|
126
128
|
className: `${classPrefix}-placeholder`
|
|
127
|
-
},
|
|
129
|
+
}, mergedProps.placeholder), keyboardElement));
|
|
128
130
|
});
|
|
129
131
|
exports.VirtualInput = VirtualInput;
|
package/cjs/locales/ar-SA.js
CHANGED
|
@@ -28,7 +28,7 @@ const arSA = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
28
28
|
'placeholder': 'اختر من فضلك'
|
|
29
29
|
},
|
|
30
30
|
'Dialog': {
|
|
31
|
-
'ok': '
|
|
31
|
+
'ok': 'فهمت'
|
|
32
32
|
},
|
|
33
33
|
'DatePicker': {
|
|
34
34
|
'tillNow': 'إلى اليوم'
|
|
@@ -118,7 +118,7 @@ const arSA = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
118
118
|
'name': 'قناع الخلفية'
|
|
119
119
|
},
|
|
120
120
|
'Modal': {
|
|
121
|
-
'ok': '
|
|
121
|
+
'ok': 'فهمت'
|
|
122
122
|
},
|
|
123
123
|
'PasscodeInput': {
|
|
124
124
|
'name': 'مربع إدخال كلمة المرور'
|
package/cjs/locales/de-DE.js
CHANGED
|
@@ -21,14 +21,14 @@ const deDE = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
21
21
|
'start': 'Starten',
|
|
22
22
|
'end': 'Beenden',
|
|
23
23
|
'today': 'Heute',
|
|
24
|
-
'markItems': ['
|
|
24
|
+
'markItems': ['I', 'II', 'III', 'IV', 'V', 'Sechs', 'Tag'],
|
|
25
25
|
'yearAndMonth': '${year}Jahr${month}Monat'
|
|
26
26
|
},
|
|
27
27
|
'Cascader': {
|
|
28
28
|
'placeholder': 'Bitte auswählen'
|
|
29
29
|
},
|
|
30
30
|
'Dialog': {
|
|
31
|
-
'ok': '
|
|
31
|
+
'ok': 'Ich weiß.'
|
|
32
32
|
},
|
|
33
33
|
'DatePicker': {
|
|
34
34
|
'tillNow': 'Bis heute'
|
|
@@ -118,7 +118,7 @@ const deDE = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
118
118
|
'name': 'Hintergrundmaske'
|
|
119
119
|
},
|
|
120
120
|
'Modal': {
|
|
121
|
-
'ok': '
|
|
121
|
+
'ok': 'Ich weiß.'
|
|
122
122
|
},
|
|
123
123
|
'PasscodeInput': {
|
|
124
124
|
'name': 'Passwort-Eingabefeld'
|
package/cjs/locales/es-ES.js
CHANGED
|
@@ -22,7 +22,7 @@ const esES = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
22
22
|
placeholder: 'Seleccionando'
|
|
23
23
|
},
|
|
24
24
|
Dialog: {
|
|
25
|
-
ok: '
|
|
25
|
+
ok: 'Entendido'
|
|
26
26
|
},
|
|
27
27
|
ErrorBlock: {
|
|
28
28
|
default: {
|
|
@@ -100,7 +100,7 @@ const esES = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
100
100
|
name: 'Máscara'
|
|
101
101
|
},
|
|
102
102
|
Modal: {
|
|
103
|
-
ok: '
|
|
103
|
+
ok: 'Entendido'
|
|
104
104
|
},
|
|
105
105
|
PullToRefresh: {
|
|
106
106
|
pulling: 'Desplácese hacia abajo para refrescar',
|
package/cjs/locales/fr-FR.js
CHANGED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const inID: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export default inID;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _mergeLocale = require("../utils/merge-locale");
|
|
8
|
+
var _base = require("./base");
|
|
9
|
+
const typeTemplate = '${label} bukan ${type} yang valid';
|
|
10
|
+
const inID = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
11
|
+
locale: 'in-ID',
|
|
12
|
+
common: {
|
|
13
|
+
confirm: 'Yakin',
|
|
14
|
+
cancel: 'Batal ',
|
|
15
|
+
loading: 'memuat',
|
|
16
|
+
close: 'Tutup'
|
|
17
|
+
},
|
|
18
|
+
Calendar: {
|
|
19
|
+
title: 'Pilih Tanggal',
|
|
20
|
+
confirm: 'OK',
|
|
21
|
+
start: 'Mulai',
|
|
22
|
+
end: 'Selesai',
|
|
23
|
+
today: 'Hari Ini',
|
|
24
|
+
markItems: ['Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu', 'Minggu'],
|
|
25
|
+
yearAndMonth: '${year} Tahun ${month} Bulan'
|
|
26
|
+
},
|
|
27
|
+
Cascader: {
|
|
28
|
+
placeholder: 'Silahkan Pilih'
|
|
29
|
+
},
|
|
30
|
+
Dialog: {
|
|
31
|
+
ok: 'Saya mendapatkannya'
|
|
32
|
+
},
|
|
33
|
+
DatePicker: {
|
|
34
|
+
tillNow: 'Sampai sekarang'
|
|
35
|
+
},
|
|
36
|
+
ErrorBlock: {
|
|
37
|
+
default: {
|
|
38
|
+
title: 'Halaman mengalami beberapa permasalahan kecil',
|
|
39
|
+
description: 'Coba lagi nanti'
|
|
40
|
+
},
|
|
41
|
+
busy: {
|
|
42
|
+
title: 'kepadatan diawal',
|
|
43
|
+
description: 'Coba untuk menyegarkan'
|
|
44
|
+
},
|
|
45
|
+
disconnected: {
|
|
46
|
+
title: 'jaringan sedikit sibuk',
|
|
47
|
+
description: 'Gerakkan jari Anda untuk membantu memperbaiki'
|
|
48
|
+
},
|
|
49
|
+
empty: {
|
|
50
|
+
title: 'Itu tidak menemukan apa yang Anda butuhkan',
|
|
51
|
+
description: 'Silahkan cari yang lain'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
Form: {
|
|
55
|
+
required: 'Diperlukan',
|
|
56
|
+
optional: 'opsional untuk diisi',
|
|
57
|
+
defaultValidateMessages: {
|
|
58
|
+
default: 'Kesalahan validasi bidang ${label}',
|
|
59
|
+
required: 'Harap masukkan ${label}',
|
|
60
|
+
enum: '${label} harus salah satu dari [${enum}]',
|
|
61
|
+
whitespace: '${label} tidak boleh berupa karakter kosong',
|
|
62
|
+
date: {
|
|
63
|
+
format: 'Format tanggal ${label} tidak valid',
|
|
64
|
+
parse: '${label} tidak dapat dikonversi ke tanggal',
|
|
65
|
+
invalid: '${label} adalah tanggal yang tidak valid'
|
|
66
|
+
},
|
|
67
|
+
types: {
|
|
68
|
+
string: typeTemplate,
|
|
69
|
+
method: typeTemplate,
|
|
70
|
+
array: typeTemplate,
|
|
71
|
+
object: typeTemplate,
|
|
72
|
+
number: typeTemplate,
|
|
73
|
+
date: typeTemplate,
|
|
74
|
+
boolean: typeTemplate,
|
|
75
|
+
integer: typeTemplate,
|
|
76
|
+
float: typeTemplate,
|
|
77
|
+
regexp: typeTemplate,
|
|
78
|
+
email: typeTemplate,
|
|
79
|
+
url: typeTemplate,
|
|
80
|
+
hex: typeTemplate
|
|
81
|
+
},
|
|
82
|
+
string: {
|
|
83
|
+
len: '${label} harus berupa ${len} karakter',
|
|
84
|
+
min: '${label} Minimal ${min} karakter',
|
|
85
|
+
max: '${label}Maksimum ${max} karakter',
|
|
86
|
+
range: '${label} harus antara ${min}-${max} karakter'
|
|
87
|
+
},
|
|
88
|
+
number: {
|
|
89
|
+
len: '${label} harus sama dengan ${len}',
|
|
90
|
+
min: 'Nilai minimum ${label} adalah ${min}',
|
|
91
|
+
max: '${label} memiliki nilai maksimum ${max}',
|
|
92
|
+
range: '${label} harus antara ${min}-${max}'
|
|
93
|
+
},
|
|
94
|
+
array: {
|
|
95
|
+
len: 'Harus ${len} ${label}',
|
|
96
|
+
min: 'Minimal ${min} ${label}',
|
|
97
|
+
max: 'Hingga ${max} ${label}',
|
|
98
|
+
range: 'Jumlah ${label} harus antara ${min}-${max}'
|
|
99
|
+
},
|
|
100
|
+
pattern: {
|
|
101
|
+
mismatch: '${label} tidak cocok dengan pola ${pattern}'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
ImageUploader: {
|
|
106
|
+
uploading: 'mengunggah...',
|
|
107
|
+
upload: 'diunggah'
|
|
108
|
+
},
|
|
109
|
+
InfiniteScroll: {
|
|
110
|
+
noMore: 'tidak ada lagi',
|
|
111
|
+
failedToLoad: 'Gagal memuat',
|
|
112
|
+
retry: 'memuat ulang'
|
|
113
|
+
},
|
|
114
|
+
Input: {
|
|
115
|
+
clear: 'Hapus'
|
|
116
|
+
},
|
|
117
|
+
Mask: {
|
|
118
|
+
name: 'lapisan pelindung'
|
|
119
|
+
},
|
|
120
|
+
Modal: {
|
|
121
|
+
ok: 'Saya mendapatkannya'
|
|
122
|
+
},
|
|
123
|
+
PasscodeInput: {
|
|
124
|
+
name: 'Kotak kata sandi'
|
|
125
|
+
},
|
|
126
|
+
PullToRefresh: {
|
|
127
|
+
pulling: 'Tarik ke bawah untuk menyegarkan',
|
|
128
|
+
canRelease: 'Lepaskan untuk menyegarkan segera',
|
|
129
|
+
complete: 'Segarkan berhasil'
|
|
130
|
+
},
|
|
131
|
+
SearchBar: {
|
|
132
|
+
name: 'Bilah Pencarian'
|
|
133
|
+
},
|
|
134
|
+
Slider: {
|
|
135
|
+
name: 'Penggeser'
|
|
136
|
+
},
|
|
137
|
+
Stepper: {
|
|
138
|
+
decrease: 'mengurangi',
|
|
139
|
+
increase: 'meningkat'
|
|
140
|
+
},
|
|
141
|
+
Switch: {
|
|
142
|
+
name: 'Mengalihkan'
|
|
143
|
+
},
|
|
144
|
+
Selector: {
|
|
145
|
+
name: 'Grup pilih'
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
var _default = inID;
|
|
149
|
+
exports.default = _default;
|
package/cjs/locales/ja-JP.js
CHANGED
|
@@ -22,7 +22,7 @@ const jaJP = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
22
22
|
placeholder: '選択下さい'
|
|
23
23
|
},
|
|
24
24
|
Dialog: {
|
|
25
|
-
ok: '
|
|
25
|
+
ok: '了解'
|
|
26
26
|
},
|
|
27
27
|
ErrorBlock: {
|
|
28
28
|
default: {
|
|
@@ -109,7 +109,7 @@ const jaJP = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
109
109
|
name: 'マスク'
|
|
110
110
|
},
|
|
111
111
|
Modal: {
|
|
112
|
-
ok: '
|
|
112
|
+
ok: '了解'
|
|
113
113
|
},
|
|
114
114
|
PasscodeInput: {
|
|
115
115
|
name: 'パスコード入力'
|
package/cjs/locales/th-TH.js
CHANGED
|
@@ -28,7 +28,7 @@ const thTH = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
28
28
|
placeholder: 'เลือก'
|
|
29
29
|
},
|
|
30
30
|
Dialog: {
|
|
31
|
-
ok: '
|
|
31
|
+
ok: 'ฉันรู้แล้ว'
|
|
32
32
|
},
|
|
33
33
|
DatePicker: {
|
|
34
34
|
tillNow: 'จนถึงตอนนี้'
|
|
@@ -118,7 +118,7 @@ const thTH = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
118
118
|
name: 'มาสก์'
|
|
119
119
|
},
|
|
120
120
|
Modal: {
|
|
121
|
-
ok: '
|
|
121
|
+
ok: 'ฉันรู้แล้ว'
|
|
122
122
|
},
|
|
123
123
|
PasscodeInput: {
|
|
124
124
|
name: 'ป้อนรหัสผ่าน'
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
declare type Regulated<T> = T extends null | undefined | false ? never : T;
|
|
3
|
+
/**
|
|
4
|
+
* Check if the `node` is visible Node (not null, undefined, or false)
|
|
5
|
+
*/
|
|
3
6
|
export declare function isNodeWithContent(node: ReactNode): node is Regulated<ReactNode>;
|
|
4
7
|
export {};
|
|
@@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.isNodeWithContent = isNodeWithContent;
|
|
7
|
+
/**
|
|
8
|
+
* Check if the `node` is visible Node (not null, undefined, or false)
|
|
9
|
+
*/
|
|
7
10
|
function isNodeWithContent(node) {
|
|
8
11
|
return node !== undefined && node !== null && node !== false;
|
|
9
12
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
+
export declare function observe(element: HTMLElement | null, options: MutationObserverInit, callback: VoidFunction): () => void;
|
|
2
3
|
export declare function useMutationEffect(effect: () => void, targetRef: RefObject<HTMLElement>, options: MutationObserverInit): void;
|
|
@@ -3,19 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.observe = observe;
|
|
6
7
|
exports.useMutationEffect = useMutationEffect;
|
|
7
|
-
var _react = require("react");
|
|
8
8
|
var _ahooks = require("ahooks");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
(
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
function observe(element, options, callback) {
|
|
11
|
+
if (element && typeof MutationObserver !== 'undefined') {
|
|
12
|
+
let observer = new MutationObserver(() => {
|
|
13
|
+
callback();
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
observer.observe(element, options);
|
|
16
|
+
// Return cleanup function
|
|
17
17
|
return () => {
|
|
18
|
-
observer
|
|
18
|
+
if (observer) {
|
|
19
|
+
observer.disconnect();
|
|
20
|
+
observer = null;
|
|
21
|
+
}
|
|
19
22
|
};
|
|
23
|
+
}
|
|
24
|
+
return () => {};
|
|
25
|
+
}
|
|
26
|
+
function useMutationEffect(effect, targetRef, options) {
|
|
27
|
+
const fn = (0, _ahooks.useMemoizedFn)(effect);
|
|
28
|
+
(0, _react.useEffect)(() => {
|
|
29
|
+
const cleanup = observe(targetRef.current, options, fn);
|
|
30
|
+
return cleanup;
|
|
20
31
|
}, [targetRef]);
|
|
21
32
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export declare function mergeProps<A, B>(a: A, b: B): B & A;
|
|
2
2
|
export declare function mergeProps<A, B, C>(a: A, b: B, c: C): C & B & A;
|
|
3
|
+
export declare function mergeProps<A, B, C, D>(a: A, b: B, c: C, d: D): D & C & B & A;
|
|
4
|
+
/**
|
|
5
|
+
* Merge props and return the first non-undefined value.
|
|
6
|
+
* The later has higher priority. e.g. (10, 1, 5) => 5 wins.
|
|
7
|
+
* This is useful with legacy props that have been deprecated.
|
|
8
|
+
*/
|
|
9
|
+
export declare function mergeProp<T, DefaultT extends T = T>(defaultProp: DefaultT, ...propList: T[]): T | undefined;
|
|
@@ -3,15 +3,31 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.mergeProp = mergeProp;
|
|
6
7
|
exports.mergeProps = mergeProps;
|
|
7
8
|
function mergeProps(...items) {
|
|
8
9
|
const ret = {};
|
|
9
10
|
items.forEach(item => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
if (item) {
|
|
12
|
+
Object.keys(item).forEach(key => {
|
|
13
|
+
if (item[key] !== undefined) {
|
|
14
|
+
ret[key] = item[key];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
15
18
|
});
|
|
16
19
|
return ret;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Merge props and return the first non-undefined value.
|
|
23
|
+
* The later has higher priority. e.g. (10, 1, 5) => 5 wins.
|
|
24
|
+
* This is useful with legacy props that have been deprecated.
|
|
25
|
+
*/
|
|
26
|
+
function mergeProp(defaultProp, ...propList) {
|
|
27
|
+
for (let i = propList.length - 1; i >= 0; i -= 1) {
|
|
28
|
+
if (propList[i] !== undefined) {
|
|
29
|
+
return propList[i];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return defaultProp;
|
|
17
33
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.adm-card {
|
|
2
2
|
background: var(--adm-color-background);
|
|
3
|
-
border-radius: 8px;
|
|
4
|
-
padding: 0 12px;
|
|
3
|
+
border-radius: var(--adm-card-border-radius, 8px);
|
|
4
|
+
padding: 0 var(--adm-card-padding-inline, 12px);
|
|
5
5
|
}
|
|
6
6
|
.adm-card-header {
|
|
7
7
|
position: relative;
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
justify-content: space-between;
|
|
10
10
|
align-items: center;
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
padding: 12px 0;
|
|
12
|
+
padding: var(--adm-card-header-padding-block, 12px) 0;
|
|
13
13
|
}
|
|
14
14
|
.adm-card-header:not(:last-child) {
|
|
15
|
-
border-bottom: solid 0.5px var(--adm-color-border);
|
|
15
|
+
border-bottom: solid var(--adm-card-header-border-width, 0.5px) var(--adm-card-header-border-color, var(--adm-color-border));
|
|
16
16
|
}
|
|
17
17
|
.adm-card-header-title {
|
|
18
18
|
font-size: var(--adm-font-size-7);
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
font-weight: bold;
|
|
21
21
|
}
|
|
22
22
|
.adm-card-body {
|
|
23
|
-
padding: 12px 0;
|
|
23
|
+
padding: var(--adm-card-body-padding-block, 12px) 0;
|
|
24
24
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.adm-card {
|
|
2
|
+
background: #fff;
|
|
3
|
+
border-radius: 8px;
|
|
4
|
+
padding: 0 12px;
|
|
5
|
+
}
|
|
6
|
+
.adm-card-header {
|
|
7
|
+
padding: 12px 0;
|
|
8
|
+
}
|
|
9
|
+
.adm-card-header:not(:last-child) {
|
|
10
|
+
border-bottom: solid 0.5px #eee;
|
|
11
|
+
}
|
|
12
|
+
.adm-card-header-title {
|
|
13
|
+
font-size: 15px;
|
|
14
|
+
}
|
|
15
|
+
.adm-card-body {
|
|
16
|
+
padding: 12px 0;
|
|
17
|
+
}
|