@para-ui/core 4.0.31 → 4.0.32

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.
Files changed (54) hide show
  1. package/Cascader/index.js +5 -6
  2. package/ComboSelect/index.js +4 -5
  3. package/CycleSelector/index.js +1 -4
  4. package/DatePicker/index.js +1 -4
  5. package/DynamicMultiBox/index.js +5 -6
  6. package/Form/index.js +5 -6
  7. package/FormItem/index.js +5 -6
  8. package/Image/index.js +2 -3
  9. package/InputCode/index.d.ts +82 -0
  10. package/InputCode/index.js +392 -0
  11. package/InputCode/inputCodeCard/index.d.ts +10 -0
  12. package/InputCode/inputCodeInput/index.d.ts +10 -0
  13. package/InputCode/lang/en_US.d.ts +7 -0
  14. package/InputCode/lang/index.d.ts +15 -0
  15. package/InputCode/lang/zh_CN.d.ts +7 -0
  16. package/PopConfirm/index.js +2 -2
  17. package/QuickReply/index.js +1 -1
  18. package/README.md +5 -0
  19. package/Select/index.js +2 -2
  20. package/Selector/index.js +223 -281
  21. package/SelectorPicker/index.js +4 -4
  22. package/SingleBox/index.js +2 -2
  23. package/SortBox/index.d.ts +2 -0
  24. package/SortBox/index.js +23 -3
  25. package/Stepper/index.js +1 -1
  26. package/Switch/index.js +2 -2
  27. package/Table/index.js +1 -2
  28. package/Tabs/index.js +2 -2
  29. package/Tag/index.js +53 -82
  30. package/TextEditor/index.js +3 -3
  31. package/TimePicker/index.js +1 -4
  32. package/Timeline/index.js +1 -2
  33. package/ToggleButton/index.js +26 -25
  34. package/Tree/index.js +5 -6
  35. package/Upload/index.js +4 -5
  36. package/_verture/{Portal-edd94cac.js → Portal-42560ff0.js} +1 -2
  37. package/_verture/{defineProperty-6f62bb2a.js → defineProperty-f0e15205.js} +10 -2
  38. package/_verture/{index-567b5779.js → index-44152845.js} +2 -3
  39. package/_verture/{index-8752ccab.js → index-519d0a1f.js} +3 -4
  40. package/_verture/{index-94e24006.js → index-8ac46bd9.js} +1 -1
  41. package/index.d.ts +2 -0
  42. package/index.js +9 -9
  43. package/locale/en-US.d.ts +6 -0
  44. package/locale/index.d.ts +12 -0
  45. package/locale/index.js +12 -0
  46. package/locale/zh-CN.d.ts +6 -0
  47. package/package.json +3 -2
  48. package/umd/InputCode.js +43 -0
  49. package/umd/SortBox.js +2 -2
  50. package/umd/locale.js +1 -1
  51. package/_verture/typeof-adeedc13.js +0 -11
  52. /package/_verture/{index-c8cb6751.js → index-0f5ee6f7.js} +0 -0
  53. /package/_verture/{index-3795d730.js → index-b037486c.js} +0 -0
  54. /package/_verture/{typeof-4646b22c.js → typeof-6ec38efd.js} +0 -0
@@ -2,7 +2,6 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { useRef } from 'react';
4
4
  import { Button } from '../Button/index.js';
5
- import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
6
5
  import { UUID } from '@paraview/lib';
7
6
  import clsx from 'clsx';
8
7
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
@@ -20,36 +19,36 @@ import '../_verture/usePopupContainer-635f66f4.js';
20
19
  import 'dayjs';
21
20
  import '../_verture/useFormatMessage-1fc7c957.js';
22
21
  import '../_verture/index-ca413216.js';
23
- import '../_verture/typeof-adeedc13.js';
24
22
 
25
23
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/23 上午9:50\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-toggle-button.paraui-v4-button-text {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-toggle-button.paraui-v4-button-text:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-button-text:hover[disabled] {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button-wrap {\n display: inline-block;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio.paraui-v4-toggle-button-selected:hover {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio[disabled] {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio[disabled]:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio[disabled].paraui-v4-toggle-button-selected {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check::before {\n content: \" \";\n position: absolute;\n bottom: 0;\n right: 0;\n border: 8px solid rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check::after {\n content: \" \";\n width: 8px;\n height: 8px;\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAM5JREFUOE/NkQENwjAURFcFIAEHgIM5YCgAHCABFBAUAA5wABI2CTgABeUd+V06BqFkCeEnl6X9d7d/vy7rWK6jPvu9gfe+z9QnsHDOlV9NgHhk4gpxrvjJBogL+DtwATkG12QDxEvIG3AzcRmW/5gAgsaR+1S54peht+c8s7vxc7+OAFHCIVhBWkfLUm6VliazRsUGAzoy6YEz0LaDeItYMVrVWCJ/nVuUmHhArPuX1XoFTI4wJ8au+NYb/ziBCJZdJqoiPFfyBO+I/2twBz0qQBFvrubpAAAAAElFTkSuQmCC\");\n background-size: 8px 8px;\n background-repeat: no-repeat;\n position: absolute;\n bottom: 1px;\n right: 1px;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check:hover::before {\n border-color: rgb(87, 131, 235);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check.paraui-v4-toggle-button-selected::before {\n border-color: rgb(46, 101, 230);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled] {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled]::before {\n border-color: rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled]:hover {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled]:hover::before {\n border-color: rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled].paraui-v4-toggle-button-selected {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-toggle-button .toggle-button-text {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v4-toggle-button-disabled.paraui-v4-toggle-button {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button-disabled.paraui-v4-toggle-button:hover {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button .toggle-button-badge {\n position: absolute;\n right: 0;\n bottom: 16px;\n}\n.paraui-v4-toggle-button .toggle-button-badge > div {\n position: absolute;\n top: 0;\n right: 0;\n border: 8px solid rgb(46, 101, 230);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button .toggle-button-badge > svg {\n position: absolute;\n top: 7px;\n right: 1px;\n color: #fff;\n font-weight: 600;\n width: 8px;\n height: 8px;\n}\n\n.paraui-v4-togglebutton-group {\n display: flex;\n flex-flow: row wrap;\n}\n.paraui-v4-togglebutton-group .toggle-button-item {\n margin: 0 10px;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button {\n margin: 0;\n padding: 0 16px;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button[disabled] {\n color: rgb(161, 168, 179);\n background-color: transparent;\n border: 0;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button[disabled]:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button ~ .paraui-v4-toggle-button::before {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n content: \"\";\n width: 1px;\n height: 14px;\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected {\n color: rgb(46, 101, 230);\n border: 0;\n font-weight: 700;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected[disabled] {\n color: rgb(92, 101, 115);\n background-color: transparent;\n border: 0;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected:first-child:before {\n display: none;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected:not(:first-child)::before {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n content: \"\";\n width: 1px;\n height: 14px;\n background-color: rgb(212, 218, 227);\n border: 0;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected::after {\n display: none;\n}";
26
24
  styleInject(css_248z);
27
25
 
28
26
  //切换按钮组
29
- var ToggleButtonGroup = function ToggleButtonGroup(props) {
30
- var _props$type = props.type,
31
- type = _props$type === void 0 ? 'outlined' : _props$type,
32
- className = props.className,
33
- style = props.style,
34
- _props$exclusive = props.exclusive,
35
- exclusive = _props$exclusive === void 0 ? false : _props$exclusive,
36
- _props$toggleable = props.toggleable,
37
- toggleable = _props$toggleable === void 0 ? true : _props$toggleable,
38
- data = props.data,
39
- value = props.value,
40
- onChange = props.onChange;
27
+ const ToggleButtonGroup = props => {
28
+ let {
29
+ type = 'outlined',
30
+ className,
31
+ style,
32
+ exclusive = false,
33
+ toggleable = true,
34
+ data,
35
+ value,
36
+ onChange
37
+ } = props;
41
38
  if (type === 'text' && !('exclusive' in props)) {
42
39
  exclusive = true;
43
40
  }
44
- var makeCls = clsx("".concat($prefixCls, "-togglebutton-group"), className, _defineProperty({}, "".concat($prefixCls, "-togglebutton-group-text"), type === 'text'));
41
+ const makeCls = clsx("".concat($prefixCls, "-togglebutton-group"), className, {
42
+ ["".concat($prefixCls, "-togglebutton-group-text")]: type === 'text'
43
+ });
45
44
  //多选
46
- var handleChange = function handleChange(evt, buttonValue) {
45
+ const handleChange = (evt, buttonValue) => {
47
46
  if (!onChange) return;
48
47
  if (!Array.isArray(value)) {
49
48
  return;
50
49
  }
51
- var index = value && (value === null || value === void 0 ? void 0 : value.indexOf(buttonValue));
52
- var newValue;
50
+ const index = value && (value === null || value === void 0 ? void 0 : value.indexOf(buttonValue));
51
+ let newValue;
53
52
  if (value && index >= 0) {
54
53
  newValue = value.slice();
55
54
  newValue.splice(index, 1);
@@ -59,7 +58,7 @@ var ToggleButtonGroup = function ToggleButtonGroup(props) {
59
58
  onChange(evt, newValue);
60
59
  };
61
60
  //单选
62
- var handleExclusiveChange = function handleExclusiveChange(evt, buttonValue) {
61
+ const handleExclusiveChange = (evt, buttonValue) => {
63
62
  if (!onChange) return;
64
63
  if (!toggleable) {
65
64
  if (value === buttonValue) return;
@@ -69,7 +68,7 @@ var ToggleButtonGroup = function ToggleButtonGroup(props) {
69
68
  onChange(evt, value === buttonValue ? null : buttonValue);
70
69
  };
71
70
  //是否选中
72
- var hasValueSelected = function hasValueSelected(value, candidate) {
71
+ const hasValueSelected = (value, candidate) => {
73
72
  if (candidate === undefined || value === undefined) return false;
74
73
  if (Array.isArray(candidate)) {
75
74
  return candidate.includes(value);
@@ -77,13 +76,15 @@ var ToggleButtonGroup = function ToggleButtonGroup(props) {
77
76
  return value === candidate;
78
77
  };
79
78
  //渲染组
80
- var renderGroup = function renderGroup() {
79
+ const renderGroup = () => {
81
80
  if (!data || !(data === null || data === void 0 ? void 0 : data.length)) return null;
82
- return data.map(function (item, idx) {
83
- var label = item.label,
84
- selected = item.selected,
81
+ return data.map((item, idx) => {
82
+ const {
83
+ label,
84
+ selected
85
+ } = item,
85
86
  rest = __rest(item, ["label", "selected"]);
86
- var hasSelected = selected === undefined ? hasValueSelected(rest.value, value) : selected;
87
+ const hasSelected = selected === undefined ? hasValueSelected(rest.value, value) : selected;
87
88
  return jsx("div", Object.assign({
88
89
  className: 'toggle-button-item'
89
90
  }, {
package/Tree/index.js CHANGED
@@ -1,11 +1,10 @@
1
- import { T as Tree } from '../_verture/index-567b5779.js';
2
- export { T as default } from '../_verture/index-567b5779.js';
1
+ import { T as Tree } from '../_verture/index-44152845.js';
2
+ export { T as default } from '../_verture/index-44152845.js';
3
3
  import '../_verture/toConsumableArray-c7a8028f.js';
4
4
  import '../_verture/slicedToArray-75fa4188.js';
5
- import '../_verture/defineProperty-6f62bb2a.js';
6
- import '../_verture/typeof-adeedc13.js';
7
- import '../_verture/index-94e24006.js';
8
- import '../_verture/typeof-4646b22c.js';
5
+ import '../_verture/defineProperty-f0e15205.js';
6
+ import '../_verture/index-8ac46bd9.js';
7
+ import '../_verture/typeof-6ec38efd.js';
9
8
  import '../_verture/tslib.es6-55ed4bd2.js';
10
9
  import 'react/jsx-runtime';
11
10
  import 'react';
package/Upload/index.js CHANGED
@@ -6,9 +6,9 @@ import clsx from 'clsx';
6
6
  import UploadIcon from '@para-ui/icons/UploadFile';
7
7
  import LoadingIcon from '@para-ui/icons/Loading';
8
8
  import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
9
- import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
9
+ import { _ as _typeof } from '../_verture/defineProperty-f0e15205.js';
10
10
  import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
11
- import { r as regenerator } from '../_verture/index-94e24006.js';
11
+ import { r as regenerator } from '../_verture/index-8ac46bd9.js';
12
12
  import EditOutline from '@para-ui/icons/EditOutline';
13
13
  import CloseIcon from '@para-ui/icons/Close';
14
14
  import Delete from '@para-ui/icons/Delete';
@@ -32,13 +32,12 @@ import TurnRight from '@para-ui/icons/TurnRight';
32
32
  import TurnLeft from '@para-ui/icons/TurnLeft';
33
33
  import { Slider } from '../Slider/index.js';
34
34
  import { Modal } from '../Modal/index.js';
35
- import '../_verture/typeof-4646b22c.js';
35
+ import '../_verture/typeof-6ec38efd.js';
36
36
  import 'rc-tooltip';
37
37
  import 'rc-tooltip/lib/placements';
38
38
  import '@paraview/lib';
39
- import '../_verture/Portal-edd94cac.js';
39
+ import '../_verture/Portal-42560ff0.js';
40
40
  import 'react-dom';
41
- import '../_verture/defineProperty-6f62bb2a.js';
42
41
  import 'rc-dialog';
43
42
  import 'rc-motion';
44
43
  import '@para-ui/icons/Sort';
@@ -1,9 +1,8 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
2
2
  import * as React from 'react';
3
3
  import { createPortal } from 'react-dom';
4
- import { _ as _typeof } from './typeof-adeedc13.js';
4
+ import { a as _defineProperty, _ as _typeof } from './defineProperty-f0e15205.js';
5
5
  import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
6
- import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
7
6
 
8
7
  function _extends() {
9
8
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -1,4 +1,12 @@
1
- import { _ as _typeof } from './typeof-adeedc13.js';
1
+ function _typeof(o) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
5
+ return typeof o;
6
+ } : function (o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
2
10
 
3
11
  function toPrimitive(t, r) {
4
12
  if ("object" != _typeof(t) || !t) return t;
@@ -31,4 +39,4 @@ function _defineProperty(obj, key, value) {
31
39
  return obj;
32
40
  }
33
41
 
34
- export { _defineProperty as _, toPropertyKey as t };
42
+ export { _typeof as _, _defineProperty as a, toPropertyKey as t };
@@ -1,13 +1,12 @@
1
1
  import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
2
- import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
2
+ import { _ as _typeof, a as _defineProperty } from './defineProperty-f0e15205.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
4
- import { r as regenerator } from './index-94e24006.js';
4
+ import { r as regenerator } from './index-8ac46bd9.js';
5
5
  import { _ as __rest, a as __awaiter } from './tslib.es6-55ed4bd2.js';
6
6
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
  import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
8
8
  import RcTree from 'rc-tree';
9
9
  import clsx from 'clsx';
10
- import { _ as _typeof } from './typeof-adeedc13.js';
11
10
  import LoadingOutlined from '@para-ui/icons/LoadingF';
12
11
  import FileOutlined from '@para-ui/icons/Document';
13
12
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
@@ -1,16 +1,15 @@
1
1
  import { _ as __rest } from './tslib.es6-55ed4bd2.js';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-edd94cac.js';
3
+ import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-42560ff0.js';
4
4
  import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
5
- import { t as toPropertyKey, _ as _defineProperty } from './defineProperty-6f62bb2a.js';
5
+ import { _ as _typeof$1, t as toPropertyKey, a as _defineProperty } from './defineProperty-f0e15205.js';
6
6
  import { _ as _slicedToArray, a as _arrayWithHoles, b as _unsupportedIterableToArray, c as _nonIterableRest } from './slicedToArray-75fa4188.js';
7
- import { _ as _typeof$1 } from './typeof-adeedc13.js';
8
7
  import * as React$4 from 'react';
9
8
  import React__default, { useState as useState$1, useMemo, useCallback, useRef, useEffect } from 'react';
10
9
  import ReactDOM, { unstable_batchedUpdates, flushSync } from 'react-dom';
11
10
  import CSSMotion from 'rc-motion';
12
11
  import clsx$1 from 'clsx';
13
- import { _ as _typeof$2 } from './typeof-4646b22c.js';
12
+ import { _ as _typeof$2 } from './typeof-6ec38efd.js';
14
13
  import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
15
14
  import Right from '@para-ui/icons/Right';
16
15
  import Down from '@para-ui/icons/Down';
@@ -1,4 +1,4 @@
1
- import { _ as _typeof } from './typeof-4646b22c.js';
1
+ import { _ as _typeof } from './typeof-6ec38efd.js';
2
2
 
3
3
  var regeneratorRuntime$1 = {exports: {}};
4
4
 
package/index.d.ts CHANGED
@@ -70,6 +70,8 @@ export { default as HelperText } from './HelperText';
70
70
  export * from './HelperText';
71
71
  export { default as Image } from './Image';
72
72
  export * from './Image';
73
+ export { default as InputCode } from './InputCode';
74
+ export * from './InputCode';
73
75
  export { default as InputLang } from './InputLang';
74
76
  export * from './InputLang';
75
77
  export { default as InputNumber } from './InputNumber';
package/index.js CHANGED
@@ -7,7 +7,7 @@ export { Button } from './Button/index.js';
7
7
  export { ButtonGroup } from './ButtonGroup/index.js';
8
8
  export { Card } from './Card/index.js';
9
9
  export { Carousel } from './Carousel/index.js';
10
- export { C as Cascader } from './_verture/index-8752ccab.js';
10
+ export { C as Cascader } from './_verture/index-519d0a1f.js';
11
11
  export { Checkbox } from './Checkbox/index.js';
12
12
  export { CheckboxGroup } from './CheckboxGroup/index.js';
13
13
  export { Collapse } from './Collapse/index.js';
@@ -28,12 +28,13 @@ export { D as Dropdown } from './_verture/index-bde7aabe.js';
28
28
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
29
29
  export { default as Empty } from './Empty/index.js';
30
30
  export { default as Form } from './Form/index.js';
31
- export { F as FormItem } from './_verture/index-3795d730.js';
31
+ export { F as FormItem } from './_verture/index-b037486c.js';
32
32
  export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-10f0c5aa.js';
33
33
  export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
34
34
  export { default as Help } from './Help/index.js';
35
35
  export { default as HelperText } from './HelperText/index.js';
36
36
  export { default as Image } from './Image/index.js';
37
+ export { InputCode } from './InputCode/index.js';
37
38
  export { InputLang } from './InputLang/index.js';
38
39
  export { InputNumber } from './InputNumber/index.js';
39
40
  export { default as Label } from './Label/index.js';
@@ -80,7 +81,7 @@ export { Title } from './Title/index.js';
80
81
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
81
82
  export { Tooltip } from './Tooltip/index.js';
82
83
  export { SSortablejs, Transfer } from './Transfer/index.js';
83
- export { T as Tree } from './_verture/index-567b5779.js';
84
+ export { T as Tree } from './_verture/index-44152845.js';
84
85
  export { default as Upload } from './Upload/index.js';
85
86
  export { default as Utils, getDateYYYYMMddHHMM, pixelReplacement } from './Utils/index.js';
86
87
  export { default as locale } from './locale/index.js';
@@ -102,13 +103,12 @@ import '@para-ui/icons/Forbid';
102
103
  import 'react-slick';
103
104
  import '@para-ui/icons/RightCircleF';
104
105
  import '@para-ui/icons/LeftCircleF';
105
- import './_verture/Portal-edd94cac.js';
106
+ import './_verture/Portal-42560ff0.js';
106
107
  import './_verture/slicedToArray-75fa4188.js';
107
- import './_verture/typeof-adeedc13.js';
108
+ import './_verture/defineProperty-f0e15205.js';
108
109
  import './_verture/toConsumableArray-c7a8028f.js';
109
- import './_verture/defineProperty-6f62bb2a.js';
110
110
  import 'rc-motion';
111
- import './_verture/typeof-4646b22c.js';
111
+ import './_verture/typeof-6ec38efd.js';
112
112
  import 'rc-tree/lib/utils/conductUtil';
113
113
  import '@para-ui/icons/Right';
114
114
  import '@para-ui/icons/CloseCircleF';
@@ -146,7 +146,7 @@ import '@para-ui/icons/Panel';
146
146
  import '@para-ui/icons/PlusCircleF';
147
147
  import '@para-ui/icons/Delete';
148
148
  import '@para-ui/icons/Drag';
149
- import './_verture/index-c8cb6751.js';
149
+ import './_verture/index-0f5ee6f7.js';
150
150
  import './_verture/sortable.esm-76fe46a4.js';
151
151
  import '@para-ui/icons/LinkGroup';
152
152
  import '@para-ui/icons/UploadFile';
@@ -174,7 +174,7 @@ import '@para-ui/icons/Plus';
174
174
  import '@para-ui/icons/EditOutline';
175
175
  import '@para-ui/icons/Message';
176
176
  import '@para-ui/icons/Set';
177
- import './_verture/index-94e24006.js';
177
+ import './_verture/index-8ac46bd9.js';
178
178
  import 'rc-slider';
179
179
  import './_verture/tinycolor-ece3542d.js';
180
180
  import 'rc-steps';
package/locale/en-US.d.ts CHANGED
@@ -173,6 +173,12 @@ declare const _default: {
173
173
  minValue: string;
174
174
  maxValue: string;
175
175
  };
176
+ InputCode: {
177
+ retrievedAgain: string;
178
+ reset: string;
179
+ getCode: string;
180
+ secondCountdown: string;
181
+ };
176
182
  Modal: {
177
183
  cancel: string;
178
184
  ok: string;
package/locale/index.d.ts CHANGED
@@ -174,6 +174,12 @@ declare const _default: {
174
174
  minValue: string;
175
175
  maxValue: string;
176
176
  };
177
+ InputCode: {
178
+ retrievedAgain: string;
179
+ reset: string;
180
+ getCode: string;
181
+ secondCountdown: string;
182
+ };
177
183
  Modal: {
178
184
  cancel: string;
179
185
  ok: string;
@@ -456,6 +462,12 @@ declare const _default: {
456
462
  minValue: string;
457
463
  maxValue: string;
458
464
  };
465
+ InputCode: {
466
+ retrievedAgain: string;
467
+ reset: string;
468
+ getCode: string;
469
+ secondCountdown: string;
470
+ };
459
471
  Modal: {
460
472
  cancel: string;
461
473
  ok: string;
package/locale/index.js CHANGED
@@ -173,6 +173,12 @@ var enUS = {
173
173
  "minValue": "The minimum value is {val}",
174
174
  "maxValue": "The maximum value is {val}"
175
175
  },
176
+ "InputCode": {
177
+ "retrievedAgain": "{second} seconds to retrieve again",
178
+ "reset": "resend",
179
+ "getCode": "Get Code",
180
+ "secondCountdown": "{second}s"
181
+ },
176
182
  "Modal": {
177
183
  "cancel": "Cancel",
178
184
  "ok": "Ok"
@@ -456,6 +462,12 @@ var zhCN = {
456
462
  "minValue": "最小值为{val}",
457
463
  "maxValue": "最大值为{val}"
458
464
  },
465
+ "InputCode": {
466
+ "retrievedAgain": "{second}秒后可重新获取",
467
+ "reset": "重新发送",
468
+ "getCode": "获取验证码",
469
+ "secondCountdown": "{second}秒"
470
+ },
459
471
  "Modal": {
460
472
  "cancel": "取 消",
461
473
  "ok": "确 定"
package/locale/zh-CN.d.ts CHANGED
@@ -173,6 +173,12 @@ declare const _default: {
173
173
  minValue: string;
174
174
  maxValue: string;
175
175
  };
176
+ InputCode: {
177
+ retrievedAgain: string;
178
+ reset: string;
179
+ getCode: string;
180
+ secondCountdown: string;
181
+ };
176
182
  Modal: {
177
183
  cancel: string;
178
184
  ok: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.31",
4
+ "version": "4.0.32",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -23,7 +23,8 @@
23
23
  "lint": "npm run lint:script && npm run lint:style",
24
24
  "lint:script-all": "eslint --ext .js,.jsx,.ts,.tsx --fix src",
25
25
  "lint:style-all": "stylelint 'src/**/*.{css,scss}' --fix",
26
- "lint:all": "npm run lint:script-all && npm run lint:style-all"
26
+ "lint:all": "npm run lint:script-all && npm run lint:style-all",
27
+ "prepare": "if [ \"$CI\" != \"true\" ]; then npx husky install; fi"
27
28
  },
28
29
  "dependencies": {
29
30
  "@monaco-editor/react": "^4.6.0",