@para-ui/core 4.0.28 → 4.0.29

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/Cascader/index.js CHANGED
@@ -1,14 +1,15 @@
1
- import { C as Cascader } from '../_verture/index-8ec857b4.js';
2
- export { C as default } from '../_verture/index-8ec857b4.js';
1
+ import { C as Cascader } from '../_verture/index-68f0506c.js';
2
+ export { C as default } from '../_verture/index-68f0506c.js';
3
3
  import '../_verture/tslib.es6-55ed4bd2.js';
4
4
  import 'react/jsx-runtime';
5
- import '../_verture/Portal-5bf66fed.js';
5
+ import '../_verture/Portal-5bd49559.js';
6
6
  import '../_verture/slicedToArray-a8206399.js';
7
7
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
8
8
  import 'react';
9
9
  import 'react-dom';
10
- import '../_verture/defineProperty-f0e15205.js';
10
+ import '../_verture/typeof-adeedc13.js';
11
11
  import '../_verture/toConsumableArray-8f4c9589.js';
12
+ import '../_verture/defineProperty-6f62bb2a.js';
12
13
  import 'rc-motion';
13
14
  import 'clsx';
14
15
  import '../_verture/typeof-6ec38efd.js';
@@ -6,7 +6,7 @@ import SearchIcon from '@para-ui/icons/Search';
6
6
  import CloseIcon from '@para-ui/icons/Close';
7
7
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
8
8
  import Table from '../Table/index.js';
9
- import { T as Tree } from '../_verture/index-28edf318.js';
9
+ import { T as Tree } from '../_verture/index-e9405e35.js';
10
10
  import { Button } from '../Button/index.js';
11
11
  import { D as Dropdown } from '../_verture/index-bde7aabe.js';
12
12
  import { Popover } from '../Popover/index.js';
@@ -56,14 +56,11 @@ import 'rc-pagination';
56
56
  import '@para-ui/icons/Right';
57
57
  import '@para-ui/icons/DoubleLeft';
58
58
  import '@para-ui/icons/DoubleRight';
59
- import '../_verture/toConsumableArray-8f4c9589.js';
60
- import '../_verture/unsupportedIterableToArray-cb478f24.js';
61
- import '../_verture/defineProperty-f0e15205.js';
62
- import '../_verture/slicedToArray-a8206399.js';
63
- import '../_verture/index-8ac46bd9.js';
64
- import '../_verture/typeof-6ec38efd.js';
65
59
  import 'rc-tree';
60
+ import '../_verture/typeof-adeedc13.js';
66
61
  import '@para-ui/icons/Document';
62
+ import '../_verture/slicedToArray-a8206399.js';
63
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
67
64
  import 'react-dom';
68
65
  import '@para-ui/icons/EditFile';
69
66
  import '@para-ui/icons/PlusCircle';
@@ -0,0 +1,33 @@
1
+ import React, { ReactNode, CSSProperties } from 'react';
2
+ import './index.scss';
3
+ import { LoadingProps } from '../Loading';
4
+ import { EmptyProps } from '../Empty';
5
+ export interface ContentBoxProps {
6
+ /** className */
7
+ className?: string;
8
+ /** className */
9
+ scrollClassName?: string;
10
+ /** style */
11
+ scrollStyle?: CSSProperties;
12
+ /** style */
13
+ style?: CSSProperties;
14
+ /** 是否正在加载 */
15
+ loading?: boolean;
16
+ /** loading 属性*/
17
+ loadingProps?: LoadingProps;
18
+ /** loading 是否显示在内容上方*/
19
+ loadingOverlay?: boolean;
20
+ /** empty */
21
+ empty?: boolean;
22
+ /** 是否支持滚动 */
23
+ scroll?: boolean;
24
+ /** emptyProps */
25
+ emptyProps?: EmptyProps;
26
+ children?: ReactNode;
27
+ /** 自定义加载组件 */
28
+ loadingComponent?: ReactNode;
29
+ /** 自定义空组件 */
30
+ emptyComponent?: ReactNode;
31
+ }
32
+ declare const ContentBox: React.ForwardRefExoticComponent<ContentBoxProps & React.RefAttributes<HTMLDivElement>>;
33
+ export default ContentBox;
@@ -0,0 +1,89 @@
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
+ import { forwardRef } from 'react';
3
+ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
4
+ import { Loading } from '../Loading/index.js';
5
+ import Empty from '../Empty/index.js';
6
+ import clsx from 'clsx';
7
+ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
8
+ import '@para-ui/icons/LoadingF';
9
+ import '../_verture/useFormatMessage-1fc7c957.js';
10
+ import '../_verture/index-ca413216.js';
11
+ import '@paraview/lib';
12
+ import '../_verture/useGlobalProps-4ae1a007.js';
13
+
14
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-content-box {\n height: 100%;\n position: relative;\n}\n.paraui-v4-content-box-scroll {\n overflow: auto;\n width: 100%;\n max-height: 100%;\n position: relative;\n}\n.paraui-v4-content-box-fill {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n.paraui-v4-content-box-loading {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 101;\n background-color: white;\n opacity: 0.7;\n}";
15
+ styleInject(css_248z);
16
+
17
+ const ContentBox = /*#__PURE__*/forwardRef((_ref, ref) => {
18
+ let {
19
+ className,
20
+ style,
21
+ loading,
22
+ empty,
23
+ scroll,
24
+ children,
25
+ scrollClassName,
26
+ scrollStyle,
27
+ emptyProps,
28
+ loadingComponent,
29
+ loadingOverlay = true,
30
+ loadingProps,
31
+ emptyComponent
32
+ } = _ref;
33
+ const renderLoadingContent = () => {
34
+ if (loading) {
35
+ return loadingComponent ? jsx("div", Object.assign({
36
+ className: clsx("".concat($prefixCls, "-content-box-loading"), loadingProps === null || loadingProps === void 0 ? void 0 : loadingProps.className),
37
+ style: Object.assign(Object.assign({}, loadingProps === null || loadingProps === void 0 ? void 0 : loadingProps.style), {
38
+ opacity: loadingProps === null || loadingProps === void 0 ? void 0 : loadingProps.opacity
39
+ })
40
+ }, {
41
+ children: loadingComponent
42
+ })) : jsx(Loading, Object.assign({}, loadingProps), loadingOverlay ? 'loading' : 'loading-overlay');
43
+ }
44
+ return null;
45
+ };
46
+ const renderEmptyContent = () => {
47
+ if (!loading && empty) {
48
+ return jsx("div", Object.assign({
49
+ className: "".concat($prefixCls, "-content-box-fill")
50
+ }, {
51
+ children: emptyComponent ? emptyComponent : jsx(Empty, Object.assign({}, emptyProps))
52
+ }));
53
+ }
54
+ return null;
55
+ };
56
+ const renderContent = () => {
57
+ const loadingContent = renderLoadingContent();
58
+ // 如果loadingOverlay为false, loading时不显示内容
59
+ if (!loadingOverlay && loadingContent) {
60
+ return jsx("div", Object.assign({
61
+ className: "".concat($prefixCls, "-content-box-fill")
62
+ }, {
63
+ children: loadingContent
64
+ }));
65
+ }
66
+ const emptyContent = renderEmptyContent();
67
+ if (emptyContent) {
68
+ return emptyContent;
69
+ }
70
+ return scroll ? jsx("div", Object.assign({
71
+ className: clsx("".concat($prefixCls, "-content-box-scroll"), scrollClassName),
72
+ style: scrollStyle
73
+ }, {
74
+ children: children
75
+ })) : jsx(Fragment, {
76
+ children: children
77
+ });
78
+ };
79
+ return jsxs("div", Object.assign({
80
+ ref: ref,
81
+ className: clsx("".concat($prefixCls, "-content-box"), className),
82
+ style: style
83
+ }, {
84
+ children: [renderContent(), renderLoadingContent()]
85
+ }));
86
+ });
87
+ ContentBox.displayName = 'ContentBox';
88
+
89
+ export { ContentBox as default };
@@ -27,7 +27,8 @@ import '@para-ui/icons/Forbid';
27
27
  import '@paraview/lib';
28
28
  import '../_verture/tinycolor-ece3542d.js';
29
29
  import '@para-ui/icons/Plus';
30
- import '../_verture/defineProperty-f0e15205.js';
30
+ import '../_verture/defineProperty-6f62bb2a.js';
31
+ import '../_verture/typeof-adeedc13.js';
31
32
  import 'rc-picker';
32
33
  import '@para-ui/icons/CloseCircleF';
33
34
  import '@para-ui/icons/Calendar';
@@ -2,7 +2,7 @@ import dayjsGenerateConfig from 'rc-picker/es/generate/dayjs';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { Button } from '../Button/index.js';
4
4
  import { Tag } from '../Tag/index.js';
5
- import { a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
5
+ import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
6
6
  import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
7
7
  import React__default, { forwardRef, useImperativeHandle } from 'react';
8
8
  import clsx from 'clsx';
@@ -35,6 +35,7 @@ import '@para-ui/icons/Close';
35
35
  import '@para-ui/icons/EditOutline';
36
36
  import '../_verture/tinycolor-ece3542d.js';
37
37
  import '@para-ui/icons/Plus';
38
+ import '../_verture/typeof-adeedc13.js';
38
39
  import '../Help/index.js';
39
40
  import '@para-ui/icons/Help';
40
41
 
@@ -70,15 +70,12 @@ import 'rc-pagination';
70
70
  import '@para-ui/icons/Right';
71
71
  import '@para-ui/icons/DoubleLeft';
72
72
  import '@para-ui/icons/DoubleRight';
73
- import '../_verture/index-28edf318.js';
74
- import '../_verture/toConsumableArray-8f4c9589.js';
75
- import '../_verture/unsupportedIterableToArray-cb478f24.js';
76
- import '../_verture/defineProperty-f0e15205.js';
77
- import '../_verture/slicedToArray-a8206399.js';
78
- import '../_verture/index-8ac46bd9.js';
79
- import '../_verture/typeof-6ec38efd.js';
73
+ import '../_verture/index-e9405e35.js';
80
74
  import 'rc-tree';
75
+ import '../_verture/typeof-adeedc13.js';
81
76
  import '@para-ui/icons/Document';
77
+ import '../_verture/slicedToArray-a8206399.js';
78
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
82
79
  import 'react-dom';
83
80
  import '@para-ui/icons/EditFile';
84
81
  import '@para-ui/icons/PlusCircle';
@@ -90,6 +87,7 @@ import '../Tag/index.js';
90
87
  import '@para-ui/icons/EditOutline';
91
88
  import '../_verture/tinycolor-ece3542d.js';
92
89
  import '@para-ui/icons/Plus';
90
+ import '../_verture/defineProperty-6f62bb2a.js';
93
91
  import 'rc-picker';
94
92
  import '@para-ui/icons/Calendar';
95
93
  import '@para-ui/icons/Time';
package/Form/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { DeepClone } from '@paraview/lib';
3
3
  import React__default from 'react';
4
- import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-33866394.js';
4
+ import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-15a0b6a6.js';
5
5
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
6
6
  import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
7
7
  import '../TextField/index.js';
@@ -69,12 +69,9 @@ import 'rc-pagination';
69
69
  import '@para-ui/icons/Right';
70
70
  import '@para-ui/icons/DoubleLeft';
71
71
  import '@para-ui/icons/DoubleRight';
72
- import '../_verture/index-28edf318.js';
73
- import '../_verture/toConsumableArray-8f4c9589.js';
74
- import '../_verture/defineProperty-f0e15205.js';
75
- import '../_verture/index-8ac46bd9.js';
76
- import '../_verture/typeof-6ec38efd.js';
72
+ import '../_verture/index-e9405e35.js';
77
73
  import 'rc-tree';
74
+ import '../_verture/typeof-adeedc13.js';
78
75
  import '@para-ui/icons/Document';
79
76
  import 'react-dom';
80
77
  import '@para-ui/icons/EditFile';
package/FormItem/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { F as default } from '../_verture/index-33866394.js';
3
+ export { F as default } from '../_verture/index-15a0b6a6.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-5317fc89.js';
@@ -69,12 +69,9 @@ import 'rc-pagination';
69
69
  import '@para-ui/icons/Right';
70
70
  import '@para-ui/icons/DoubleLeft';
71
71
  import '@para-ui/icons/DoubleRight';
72
- import '../_verture/index-28edf318.js';
73
- import '../_verture/toConsumableArray-8f4c9589.js';
74
- import '../_verture/defineProperty-f0e15205.js';
75
- import '../_verture/index-8ac46bd9.js';
76
- import '../_verture/typeof-6ec38efd.js';
72
+ import '../_verture/index-e9405e35.js';
77
73
  import 'rc-tree';
74
+ import '../_verture/typeof-adeedc13.js';
78
75
  import '@para-ui/icons/Document';
79
76
  import 'react-dom';
80
77
  import '@para-ui/icons/EditFile';
@@ -1,5 +1,5 @@
1
- import { u as useModal } from '../_verture/modalContext-c57b51b7.js';
2
- export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-c57b51b7.js';
1
+ import { u as useModal } from '../_verture/modalContext-10f0c5aa.js';
2
+ export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-10f0c5aa.js';
3
3
  import '../_verture/tslib.es6-55ed4bd2.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react';
package/Image/index.js CHANGED
@@ -2,9 +2,10 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import React__default, { useState, useRef, useEffect, useContext, useMemo } from 'react';
5
- import { i as warningOnce, d as wrapperRaf, _ as _objectSpread2, w as warning, c as clsx, P as Portal, K as KeyCode, b as _objectWithoutProperties, a as _extends, j as useMergedState } from '../_verture/Portal-5bf66fed.js';
6
- import { _ as _typeof, a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
5
+ import { i as warningOnce, d as wrapperRaf, _ as _objectSpread2, w as warning, c as clsx, P as Portal, K as KeyCode, b as _objectWithoutProperties, a as _extends, j as useMergedState } from '../_verture/Portal-5bd49559.js';
6
+ import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
7
7
  import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
8
+ import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
8
9
  import Dialog from 'rc-dialog';
9
10
  import ReactDOM from 'react-dom';
10
11
  import CSSMotion from 'rc-motion';
package/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 版本: 4.0.29
2
+ 【展示内容容器-ContentBox】新增展示内容容器-ContentBox
3
+
1
4
  ## 版本: 4.0.28
2
5
  【标题-Title】标题折叠内容新增Children渲染,新增默认是否展开参数,调整折叠样式
3
6
 
package/Selector/index.js CHANGED
@@ -2,7 +2,7 @@ import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
3
  import { useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
4
4
  import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
5
- import { r as regenerator } from '../_verture/index-8ac46bd9.js';
5
+ import { _ as _typeof } from '../_verture/typeof-6ec38efd.js';
6
6
  import { Radio } from '../Radio/index.js';
7
7
  import { Checkbox } from '../Checkbox/index.js';
8
8
  import { Popover } from '../Popover/index.js';
@@ -20,7 +20,6 @@ import Refresh from '@para-ui/icons/Refresh';
20
20
  import { ArrayToObject, Get, Post, Cancel } from '@paraview/lib';
21
21
  import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.js';
22
22
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
23
- import '../_verture/typeof-6ec38efd.js';
24
23
  import '../Label/index.js';
25
24
  import '../Help/index.js';
26
25
  import '../Tooltip/index.js';
@@ -43,6 +42,330 @@ import 'dayjs';
43
42
  import '@para-ui/icons/More';
44
43
  import '@para-ui/icons/Return';
45
44
 
45
+ var regeneratorRuntime$1 = {exports: {}};
46
+
47
+ (function (module) {
48
+ var _typeof$1 = _typeof.exports["default"];
49
+ function _regeneratorRuntime() {
50
+ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
51
+ return e;
52
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
53
+ var t,
54
+ e = {},
55
+ r = Object.prototype,
56
+ n = r.hasOwnProperty,
57
+ o = Object.defineProperty || function (t, e, r) {
58
+ t[e] = r.value;
59
+ },
60
+ i = "function" == typeof Symbol ? Symbol : {},
61
+ a = i.iterator || "@@iterator",
62
+ c = i.asyncIterator || "@@asyncIterator",
63
+ u = i.toStringTag || "@@toStringTag";
64
+ function define(t, e, r) {
65
+ return Object.defineProperty(t, e, {
66
+ value: r,
67
+ enumerable: !0,
68
+ configurable: !0,
69
+ writable: !0
70
+ }), t[e];
71
+ }
72
+ try {
73
+ define({}, "");
74
+ } catch (t) {
75
+ define = function define(t, e, r) {
76
+ return t[e] = r;
77
+ };
78
+ }
79
+ function wrap(t, e, r, n) {
80
+ var i = e && e.prototype instanceof Generator ? e : Generator,
81
+ a = Object.create(i.prototype),
82
+ c = new Context(n || []);
83
+ return o(a, "_invoke", {
84
+ value: makeInvokeMethod(t, r, c)
85
+ }), a;
86
+ }
87
+ function tryCatch(t, e, r) {
88
+ try {
89
+ return {
90
+ type: "normal",
91
+ arg: t.call(e, r)
92
+ };
93
+ } catch (t) {
94
+ return {
95
+ type: "throw",
96
+ arg: t
97
+ };
98
+ }
99
+ }
100
+ e.wrap = wrap;
101
+ var h = "suspendedStart",
102
+ l = "suspendedYield",
103
+ f = "executing",
104
+ s = "completed",
105
+ y = {};
106
+ function Generator() {}
107
+ function GeneratorFunction() {}
108
+ function GeneratorFunctionPrototype() {}
109
+ var p = {};
110
+ define(p, a, function () {
111
+ return this;
112
+ });
113
+ var d = Object.getPrototypeOf,
114
+ v = d && d(d(values([])));
115
+ v && v !== r && n.call(v, a) && (p = v);
116
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
117
+ function defineIteratorMethods(t) {
118
+ ["next", "throw", "return"].forEach(function (e) {
119
+ define(t, e, function (t) {
120
+ return this._invoke(e, t);
121
+ });
122
+ });
123
+ }
124
+ function AsyncIterator(t, e) {
125
+ function invoke(r, o, i, a) {
126
+ var c = tryCatch(t[r], t, o);
127
+ if ("throw" !== c.type) {
128
+ var u = c.arg,
129
+ h = u.value;
130
+ return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
131
+ invoke("next", t, i, a);
132
+ }, function (t) {
133
+ invoke("throw", t, i, a);
134
+ }) : e.resolve(h).then(function (t) {
135
+ u.value = t, i(u);
136
+ }, function (t) {
137
+ return invoke("throw", t, i, a);
138
+ });
139
+ }
140
+ a(c.arg);
141
+ }
142
+ var r;
143
+ o(this, "_invoke", {
144
+ value: function value(t, n) {
145
+ function callInvokeWithMethodAndArg() {
146
+ return new e(function (e, r) {
147
+ invoke(t, n, e, r);
148
+ });
149
+ }
150
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
151
+ }
152
+ });
153
+ }
154
+ function makeInvokeMethod(e, r, n) {
155
+ var o = h;
156
+ return function (i, a) {
157
+ if (o === f) throw Error("Generator is already running");
158
+ if (o === s) {
159
+ if ("throw" === i) throw a;
160
+ return {
161
+ value: t,
162
+ done: !0
163
+ };
164
+ }
165
+ for (n.method = i, n.arg = a;;) {
166
+ var c = n.delegate;
167
+ if (c) {
168
+ var u = maybeInvokeDelegate(c, n);
169
+ if (u) {
170
+ if (u === y) continue;
171
+ return u;
172
+ }
173
+ }
174
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
175
+ if (o === h) throw o = s, n.arg;
176
+ n.dispatchException(n.arg);
177
+ } else "return" === n.method && n.abrupt("return", n.arg);
178
+ o = f;
179
+ var p = tryCatch(e, r, n);
180
+ if ("normal" === p.type) {
181
+ if (o = n.done ? s : l, p.arg === y) continue;
182
+ return {
183
+ value: p.arg,
184
+ done: n.done
185
+ };
186
+ }
187
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
188
+ }
189
+ };
190
+ }
191
+ function maybeInvokeDelegate(e, r) {
192
+ var n = r.method,
193
+ o = e.iterator[n];
194
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
195
+ var i = tryCatch(o, e.iterator, r.arg);
196
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
197
+ var a = i.arg;
198
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
199
+ }
200
+ function pushTryEntry(t) {
201
+ var e = {
202
+ tryLoc: t[0]
203
+ };
204
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
205
+ }
206
+ function resetTryEntry(t) {
207
+ var e = t.completion || {};
208
+ e.type = "normal", delete e.arg, t.completion = e;
209
+ }
210
+ function Context(t) {
211
+ this.tryEntries = [{
212
+ tryLoc: "root"
213
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
214
+ }
215
+ function values(e) {
216
+ if (e || "" === e) {
217
+ var r = e[a];
218
+ if (r) return r.call(e);
219
+ if ("function" == typeof e.next) return e;
220
+ if (!isNaN(e.length)) {
221
+ var o = -1,
222
+ i = function next() {
223
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
224
+ return next.value = t, next.done = !0, next;
225
+ };
226
+ return i.next = i;
227
+ }
228
+ }
229
+ throw new TypeError(_typeof$1(e) + " is not iterable");
230
+ }
231
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
232
+ value: GeneratorFunctionPrototype,
233
+ configurable: !0
234
+ }), o(GeneratorFunctionPrototype, "constructor", {
235
+ value: GeneratorFunction,
236
+ configurable: !0
237
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
238
+ var e = "function" == typeof t && t.constructor;
239
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
240
+ }, e.mark = function (t) {
241
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
242
+ }, e.awrap = function (t) {
243
+ return {
244
+ __await: t
245
+ };
246
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
247
+ return this;
248
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
249
+ void 0 === i && (i = Promise);
250
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
251
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
252
+ return t.done ? t.value : a.next();
253
+ });
254
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
255
+ return this;
256
+ }), define(g, "toString", function () {
257
+ return "[object Generator]";
258
+ }), e.keys = function (t) {
259
+ var e = Object(t),
260
+ r = [];
261
+ for (var n in e) r.push(n);
262
+ return r.reverse(), function next() {
263
+ for (; r.length;) {
264
+ var t = r.pop();
265
+ if (t in e) return next.value = t, next.done = !1, next;
266
+ }
267
+ return next.done = !0, next;
268
+ };
269
+ }, e.values = values, Context.prototype = {
270
+ constructor: Context,
271
+ reset: function reset(e) {
272
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
273
+ },
274
+ stop: function stop() {
275
+ this.done = !0;
276
+ var t = this.tryEntries[0].completion;
277
+ if ("throw" === t.type) throw t.arg;
278
+ return this.rval;
279
+ },
280
+ dispatchException: function dispatchException(e) {
281
+ if (this.done) throw e;
282
+ var r = this;
283
+ function handle(n, o) {
284
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
285
+ }
286
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
287
+ var i = this.tryEntries[o],
288
+ a = i.completion;
289
+ if ("root" === i.tryLoc) return handle("end");
290
+ if (i.tryLoc <= this.prev) {
291
+ var c = n.call(i, "catchLoc"),
292
+ u = n.call(i, "finallyLoc");
293
+ if (c && u) {
294
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
295
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
296
+ } else if (c) {
297
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
298
+ } else {
299
+ if (!u) throw Error("try statement without catch or finally");
300
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
301
+ }
302
+ }
303
+ }
304
+ },
305
+ abrupt: function abrupt(t, e) {
306
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
307
+ var o = this.tryEntries[r];
308
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
309
+ var i = o;
310
+ break;
311
+ }
312
+ }
313
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
314
+ var a = i ? i.completion : {};
315
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
316
+ },
317
+ complete: function complete(t, e) {
318
+ if ("throw" === t.type) throw t.arg;
319
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
320
+ },
321
+ finish: function finish(t) {
322
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
323
+ var r = this.tryEntries[e];
324
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
325
+ }
326
+ },
327
+ "catch": function _catch(t) {
328
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
329
+ var r = this.tryEntries[e];
330
+ if (r.tryLoc === t) {
331
+ var n = r.completion;
332
+ if ("throw" === n.type) {
333
+ var o = n.arg;
334
+ resetTryEntry(r);
335
+ }
336
+ return o;
337
+ }
338
+ }
339
+ throw Error("illegal catch attempt");
340
+ },
341
+ delegateYield: function delegateYield(e, r, n) {
342
+ return this.delegate = {
343
+ iterator: values(e),
344
+ resultName: r,
345
+ nextLoc: n
346
+ }, "next" === this.method && (this.arg = t), y;
347
+ }
348
+ }, e;
349
+ }
350
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
351
+ } (regeneratorRuntime$1));
352
+
353
+ // TODO(Babel 8): Remove this file.
354
+
355
+ var runtime = regeneratorRuntime$1.exports();
356
+ var regenerator = runtime;
357
+
358
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
359
+ try {
360
+ regeneratorRuntime = runtime;
361
+ } catch (accidentalStrictMode) {
362
+ if (typeof globalThis === "object") {
363
+ globalThis.regeneratorRuntime = runtime;
364
+ } else {
365
+ Function("r", "regeneratorRuntime = r")(runtime);
366
+ }
367
+ }
368
+
46
369
  var en = {
47
370
  root: 'root',
48
371
  selectAll: 'Select all',
@@ -26,7 +26,6 @@ import 'dayjs';
26
26
  import '@paraview/lib';
27
27
  import '../_verture/slicedToArray-a8206399.js';
28
28
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
29
- import '../_verture/index-8ac46bd9.js';
30
29
  import '../_verture/typeof-6ec38efd.js';
31
30
  import '../Radio/index.js';
32
31
  import '../Checkbox/index.js';