@visactor/react-vtable 0.15.4-alpha.0 → 0.15.4
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/cjs/components/pivot/pivot-dimension.d.ts +5 -4
- package/cjs/components/pivot/pivot-dimension.js.map +1 -1
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +18 -2
- package/cjs/index.js.map +1 -1
- package/cjs/tables/list-table.d.ts +1 -1
- package/cjs/tables/list-table.js.map +1 -1
- package/cjs/tables/pivot-chart.d.ts +1 -1
- package/cjs/tables/pivot-chart.js.map +1 -1
- package/cjs/tables/pivot-table.d.ts +1 -1
- package/cjs/tables/pivot-table.js.map +1 -1
- package/dist/react-vtable.js +1 -0
- package/dist/react-vtable.min.js +2 -2
- package/es/components/pivot/pivot-dimension.d.ts +5 -4
- package/es/components/pivot/pivot-dimension.js.map +1 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +5 -1
- package/es/index.js.map +1 -1
- package/es/tables/list-table.d.ts +1 -1
- package/es/tables/list-table.js.map +1 -1
- package/es/tables/pivot-chart.d.ts +1 -1
- package/es/tables/pivot-chart.js.map +1 -1
- package/es/tables/pivot-table.d.ts +1 -1
- package/es/tables/pivot-table.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BaseComponentProps } from '../base-component';
|
|
2
|
-
import type {
|
|
3
|
-
export type
|
|
4
|
-
export
|
|
5
|
-
export declare const
|
|
2
|
+
import type { IRowDimension, IColumnDimension } from '@visactor/vtable';
|
|
3
|
+
export type RowPivotDimensionProps = IRowDimension & BaseComponentProps;
|
|
4
|
+
export type ColumnPivotDimensionProps = IColumnDimension & BaseComponentProps;
|
|
5
|
+
export declare const PivotColumnDimension: import("react").FC<any>;
|
|
6
|
+
export declare const PivotRowDimension: import("react").FC<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/pivot/pivot-dimension.tsx"],"names":[],"mappings":";;;AACA,sDAAoD;
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-dimension.tsx"],"names":[],"mappings":";;;AACA,sDAAoD;AAMvC,QAAA,oBAAoB,GAAG,IAAA,gCAAe,EAA4B,sBAAsB,EAAE,SAAS,CAAC,CAAC;AACrG,QAAA,iBAAiB,GAAG,IAAA,gCAAe,EAAyB,mBAAmB,EAAE,MAAM,CAAC,CAAC","file":"pivot-dimension.js","sourcesContent":["import type { BaseComponentProps } from '../base-component';\nimport { createComponent } from '../base-component';\nimport type { IRowDimension, IColumnDimension } from '@visactor/vtable';\n\nexport type RowPivotDimensionProps = IRowDimension & BaseComponentProps;\nexport type ColumnPivotDimensionProps = IColumnDimension & BaseComponentProps;\n\nexport const PivotColumnDimension = createComponent<ColumnPivotDimensionProps>('PivotColumnDimension', 'columns');\nexport const PivotRowDimension = createComponent<RowPivotDimensionProps>('PivotRowDimension', 'rows');\n"]}
|
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -11,10 +11,26 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
11
11
|
}), Object.defineProperty(o, k2, desc);
|
|
12
12
|
} : function(o, m, k, k2) {
|
|
13
13
|
void 0 === k2 && (k2 = k), o[k2] = m[k];
|
|
14
|
-
}),
|
|
14
|
+
}), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
value: v
|
|
18
|
+
});
|
|
19
|
+
} : function(o, v) {
|
|
20
|
+
o.default = v;
|
|
21
|
+
}), __importStar = this && this.__importStar || function(mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
25
|
+
return __setModuleDefault(result, mod), result;
|
|
26
|
+
}, __exportStar = this && this.__exportStar || function(m, exports) {
|
|
15
27
|
for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p);
|
|
16
28
|
};
|
|
17
29
|
|
|
18
30
|
Object.defineProperty(exports, "__esModule", {
|
|
19
31
|
value: !0
|
|
20
|
-
}),
|
|
32
|
+
}), exports.VTable = void 0;
|
|
33
|
+
|
|
34
|
+
const VTable = __importStar(require("@visactor/vtable"));
|
|
35
|
+
|
|
36
|
+
exports.VTable = VTable, __exportStar(require("./tables"), exports), __exportStar(require("./components"), exports);
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAA2C;AAIlC,wBAAM;AAFf,2CAAyB;AACzB,+CAA6B","file":"index.js","sourcesContent":["import * as VTable from '@visactor/vtable';\n\nexport * from './tables';\nexport * from './components';\nexport { VTable };\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ListTableConstructorOptions } from '@visactor/vtable';
|
|
3
3
|
import type { BaseTableProps } from './base-table';
|
|
4
|
-
export interface ListTableProps extends Omit<BaseTableProps, '
|
|
4
|
+
export interface ListTableProps extends Omit<BaseTableProps, 'records' | 'type'>, Omit<ListTableConstructorOptions, 'container'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const ListTable: React.ForwardRefExoticComponent<ListTableProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tables/list-table.tsx"],"names":[],"mappings":";;;AAGA,6CAA2C;AAM9B,QAAA,SAAS,GAAG,IAAA,wBAAW,EAA0C,WAAW,EAAE,YAAY,CAAC,CAAC","file":"list-table.js","sourcesContent":["import type React from 'react';\nimport type { ListTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface ListTableProps\n extends Omit<BaseTableProps, '
|
|
1
|
+
{"version":3,"sources":["tables/list-table.tsx"],"names":[],"mappings":";;;AAGA,6CAA2C;AAM9B,QAAA,SAAS,GAAG,IAAA,wBAAW,EAA0C,WAAW,EAAE,YAAY,CAAC,CAAC","file":"list-table.js","sourcesContent":["import type React from 'react';\nimport type { ListTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface ListTableProps\n extends Omit<BaseTableProps, 'records' | 'type'>,\n Omit<ListTableConstructorOptions, 'container'> {}\n\nexport const ListTable = createTable<React.PropsWithChildren<ListTableProps>>('ListTable', 'list-table');\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PivotChartConstructorOptions } from '@visactor/vtable';
|
|
3
3
|
import type { BaseTableProps } from './base-table';
|
|
4
|
-
export interface PivotChartProps extends Omit<BaseTableProps, '
|
|
4
|
+
export interface PivotChartProps extends Omit<BaseTableProps, 'records' | 'type'>, Omit<PivotChartConstructorOptions, 'container'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const PivotChart: React.ForwardRefExoticComponent<PivotChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tables/pivot-chart.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yDAA2C;AAG3C,6CAA2C;AAM9B,QAAA,UAAU,GAAG,IAAA,wBAAW,EAA2C,YAAY,EAAE,aAAa,CAAC,CAAC;AAE7G,SAAgB,mBAAmB,CAAC,IAAY,EAAE,KAAU;IAC1D,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAFD,kDAEC","file":"pivot-chart.js","sourcesContent":["import type React from 'react';\nimport * as VTable from '@visactor/vtable';\nimport type { PivotChartConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotChartProps\n extends Omit<BaseTableProps, '
|
|
1
|
+
{"version":3,"sources":["tables/pivot-chart.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yDAA2C;AAG3C,6CAA2C;AAM9B,QAAA,UAAU,GAAG,IAAA,wBAAW,EAA2C,YAAY,EAAE,aAAa,CAAC,CAAC;AAE7G,SAAgB,mBAAmB,CAAC,IAAY,EAAE,KAAU;IAC1D,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAFD,kDAEC","file":"pivot-chart.js","sourcesContent":["import type React from 'react';\nimport * as VTable from '@visactor/vtable';\nimport type { PivotChartConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotChartProps\n extends Omit<BaseTableProps, 'records' | 'type'>,\n Omit<PivotChartConstructorOptions, 'container'> {}\n\nexport const PivotChart = createTable<React.PropsWithChildren<PivotChartProps>>('PivotChart', 'pivot-chart');\n\nexport function registerChartModule(name: string, chart: any) {\n VTable.register.chartModule(name, chart);\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PivotTableConstructorOptions } from '@visactor/vtable';
|
|
3
3
|
import type { BaseTableProps } from './base-table';
|
|
4
|
-
export interface PivotTableProps extends Omit<BaseTableProps, '
|
|
4
|
+
export interface PivotTableProps extends Omit<BaseTableProps, 'records' | 'type'>, Omit<PivotTableConstructorOptions, 'container'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const PivotTable: React.ForwardRefExoticComponent<PivotTableProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tables/pivot-table.tsx"],"names":[],"mappings":";;;AAGA,6CAA2C;AAM9B,QAAA,UAAU,GAAG,IAAA,wBAAW,EAA2C,YAAY,EAAE,aAAa,CAAC,CAAC","file":"pivot-table.js","sourcesContent":["import type React from 'react';\nimport type { PivotTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotTableProps\n extends Omit<BaseTableProps, '
|
|
1
|
+
{"version":3,"sources":["tables/pivot-table.tsx"],"names":[],"mappings":";;;AAGA,6CAA2C;AAM9B,QAAA,UAAU,GAAG,IAAA,wBAAW,EAA2C,YAAY,EAAE,aAAa,CAAC,CAAC","file":"pivot-table.js","sourcesContent":["import type React from 'react';\nimport type { PivotTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotTableProps\n extends Omit<BaseTableProps, 'records' | 'type'>,\n Omit<PivotTableConstructorOptions, 'container'> {}\n\nexport const PivotTable = createTable<React.PropsWithChildren<PivotTableProps>>('PivotTable', 'pivot-table');\n"]}
|
package/dist/react-vtable.js
CHANGED
package/dist/react-vtable.min.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/"production"===process.env.NODE_ENV?u.exports=function(){if(a)return i;a=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator,y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}function b(){}function _(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var g=_.prototype=new b;g.constructor=_,m(g,v.prototype),g.isPureReactComponent=!0;var E=Array.isArray,C=Object.prototype.hasOwnProperty,S={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function w(t,r,n){var o,a={},u=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(u=""+r.key),r)C.call(r,o)&&!O.hasOwnProperty(o)&&(a[o]=r[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];a.children=s}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:e,type:t,key:u,ref:i,props:a,_owner:S.current}}function R(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var k=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(r,n,o,a,u){var i=typeof r;"undefined"!==i&&"boolean"!==i||(r=null);var c=!1;if(null===r)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(r.$$typeof){case e:case t:c=!0}}if(c)return u=u(c=r),r=""===a?"."+P(c,0):a,E(u)?(o="",null!=r&&(o=r.replace(k,"$&/")+"/"),T(u,n,o,"",(function(e){return e}))):null!=u&&(R(u)&&(u=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(k,"$&/")+"/")+r)),n.push(u)),1;if(c=0,a=""===a?".":a+":",E(r))for(var s=0;s<r.length;s++){var l=a+P(i=r[s],s);c+=T(i,n,o,l,u)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(r),"function"==typeof l)for(r=l.call(r),s=0;!(i=r.next()).done;)c+=T(i=i.value,n,o,l=a+P(i,s++),u);else if("object"===i)throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}function L(e,t,r){if(null==e)return e;var n=[],o=0;return T(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var $={current:null},x={transition:null},I={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:x,ReactCurrentOwner:S};return i.Children={map:L,forEach:function(e,t,r){L(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return L(e,(function(){t++})),t},toArray:function(e){return L(e,(function(e){return e}))||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},i.Component=v,i.Fragment=r,i.Profiler=o,i.PureComponent=_,i.StrictMode=n,i.Suspense=l,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,i.cloneElement=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),a=t.key,u=t.ref,i=t._owner;if(null!=r){if(void 0!==r.ref&&(u=r.ref,i=S.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(s in r)C.call(r,s)&&!O.hasOwnProperty(s)&&(o[s]=void 0===r[s]&&void 0!==c?c[s]:r[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:e,type:t.type,key:a,ref:u,props:o,_owner:i}},i.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},i.createElement=w,i.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},i.createRef=function(){return{current:null}},i.forwardRef=function(e){return{$$typeof:s,render:e}},i.isValidElement=R,i.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:j}},i.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},i.startTransition=function(e){var t=x.transition;x.transition={};try{e()}finally{x.transition=t}},i.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},i.useCallback=function(e,t){return $.current.useCallback(e,t)},i.useContext=function(e){return $.current.useContext(e)},i.useDebugValue=function(){},i.useDeferredValue=function(e){return $.current.useDeferredValue(e)},i.useEffect=function(e,t){return $.current.useEffect(e,t)},i.useId=function(){return $.current.useId()},i.useImperativeHandle=function(e,t,r){return $.current.useImperativeHandle(e,t,r)},i.useInsertionEffect=function(e,t){return $.current.useInsertionEffect(e,t)},i.useLayoutEffect=function(e,t){return $.current.useLayoutEffect(e,t)},i.useMemo=function(e,t){return $.current.useMemo(e,t)},i.useReducer=function(e,t,r){return $.current.useReducer(e,t,r)},i.useRef=function(e){return $.current.useRef(e)},i.useState=function(e){return $.current.useState(e)},i.useSyncExternalStore=function(e,t,r){return $.current.useSyncExternalStore(e,t,r)},i.useTransition=function(){return $.current.useTransition()},i.version="18.2.0",i}():u.exports=(c||(c=1,function(e,t){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function v(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[h];return"function"==typeof t?t:null}var b={current:null},_={transition:null},g={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},E={current:null},C={},S=null;function O(e){S=e}C.setExtraStackFrame=function(e){S=e},C.getCurrentStack=null,C.getStackAddendum=function(){var e="";S&&(e+=S);var t=C.getCurrentStack;return t&&(e+=t()||""),e};var w=!1,R=!1,k=!1,P=!1,T=!1,L={ReactCurrentDispatcher:b,ReactCurrentBatchConfig:_,ReactCurrentOwner:E};function j(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];x("warn",e,r)}function $(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];x("error",e,r)}function x(e,t,r){var n=L.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}L.ReactDebugCurrentFrame=C,L.ReactCurrentActQueue=g;var I={};function M(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;I[o]||($("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),I[o]=!0)}var N={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){M(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){M(e,"replaceState")},enqueueSetState:function(e,t,r,n){M(e,"setState")}},D=Object.assign,A={};function F(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||N}Object.freeze(A),F.prototype.isReactComponent={},F.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},F.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var U={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},V=function(e,t){Object.defineProperty(F.prototype,e,{get:function(){j("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var H in U)U.hasOwnProperty(H)&&V(H,U[H]);function z(){}function B(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||N}z.prototype=F.prototype;var Y=B.prototype=new z;Y.constructor=B,D(Y,F.prototype),Y.isPureReactComponent=!0;var K=Array.isArray;function q(e){return K(e)}function W(e){return""+e}function G(e){if(function(e){try{return W(e),!1}catch(e){return!0}}(e))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),W(e)}function X(e){return e.displayName||"Context"}function Z(e){if(null==e)return null;if("number"==typeof e.tag&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case n:return"Portal";case u:return"Profiler";case a:return"StrictMode";case l:return"Suspense";case f:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return X(e)+".Consumer";case i:return X(e._context)+".Provider";case s:return function(e,t,r){var n=e.displayName;if(n)return n;var o=t.displayName||t.name||"";return""!==o?r+"("+o+")":r}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:Z(e.type)||"Memo";case d:var r=e,y=r._payload,m=r._init;try{return Z(m(y))}catch(e){return null}}return null}var J,Q,ee,te=Object.prototype.hasOwnProperty,re={key:!0,ref:!0,__self:!0,__source:!0};function ne(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function oe(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var ae=function(e,t,n,o,a,u,i){var c={$$typeof:r,type:e,key:t,ref:n,props:i,_owner:u,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function ue(e,t,r){var n,o={},a=null,u=null,i=null,c=null;if(null!=t)for(n in ne(t)&&(u=t.ref,function(e){if("string"==typeof e.ref&&E.current&&e.__self&&E.current.stateNode!==e.__self){var t=Z(E.current.type);ee[t]||($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),ee[t]=!0)}}(t)),oe(t)&&(G(t.key),a=""+t.key),i=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)te.call(t,n)&&!re.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(s>1){for(var l=Array(s),f=0;f<s;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(a||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var r=function(){J||(J=!0,$("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,d),u&&function(e,t){var r=function(){Q||(Q=!0,$("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(o,d)}return ae(e,a,u,i,c,E.current,o)}function ie(e,t,r){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n,o,a=D({},e.props),u=e.key,i=e.ref,c=e._self,s=e._source,l=e._owner;if(null!=t)for(n in ne(t)&&(i=t.ref,l=E.current),oe(t)&&(G(t.key),u=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)te.call(t,n)&&!re.hasOwnProperty(n)&&(void 0===t[n]&&void 0!==o?a[n]=o[n]:a[n]=t[n]);var f=arguments.length-2;if(1===f)a.children=r;else if(f>1){for(var p=Array(f),d=0;d<f;d++)p[d]=arguments[d+2];a.children=p}return ae(e.type,u,i,c,s,l,a)}function ce(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var se=".",le=":",fe=!1,pe=/\/+/g;function de(e){return e.replace(pe,"$&/")}function ye(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(G(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function me(e,t,o,a,u){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var c,s,l,f=!1;if(null===e)f=!0;else switch(i){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case r:case n:f=!0}}if(f){var p=e,d=u(p),y=""===a?se+ye(p,0):a;if(q(d)){var m="";null!=y&&(m=de(y)+"/"),me(d,t,m,"",(function(e){return e}))}else null!=d&&(ce(d)&&(!d.key||p&&p.key===d.key||G(d.key),c=d,s=o+(!d.key||p&&p.key===d.key?"":de(""+d.key)+"/")+y,d=ae(c.type,s,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var h=0,b=""===a?se:a+le;if(q(e))for(var _=0;_<e.length;_++)h+=me(l=e[_],t,o,b+ye(l,_),u);else{var g=v(e);if("function"==typeof g){var E=e;g===E.entries&&(fe||j("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fe=!0);for(var C,S=g.call(E),O=0;!(C=S.next()).done;)h+=me(l=C.value,t,o,b+ye(l,O++),u)}else if("object"===i){var w=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}}return h}function he(e,t,r){if(null==e)return e;var n=[],o=0;return me(e,n,"","",(function(e){return t.call(r,e,o++)})),n}var ve,be=-1,_e=0,ge=1,Ee=2;function Ce(e){if(e._status===be){var t=(0,e._result)();if(t.then((function(t){if(e._status===_e||e._status===be){var r=e;r._status=ge,r._result=t}}),(function(t){if(e._status===_e||e._status===be){var r=e;r._status=Ee,r._result=t}})),e._status===be){var r=e;r._status=_e,r._result=t}}if(e._status===ge){var n=e._result;return void 0===n&&$("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",n),"default"in n||$("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",n),n.default}throw e._result}function Se(e){return"string"==typeof e||"function"==typeof e||!!(e===o||e===u||T||e===a||e===l||e===f||P||e===y||w||R||k)||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===i||e.$$typeof===c||e.$$typeof===s||e.$$typeof===ve||void 0!==e.getModuleId)}function Oe(){var e=b.current;return null===e&&$("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}ve=Symbol.for("react.module.reference");var we,Re,ke,Pe,Te,Le,je,$e=0;function xe(){}xe.__reactDisabledLog=!0;var Ie,Me=L.ReactCurrentDispatcher;function Ne(e,t,r){if(void 0===Ie)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);Ie=n&&n[1]||""}return"\n"+Ie+e}var De,Ae=!1,Fe="function"==typeof WeakMap?WeakMap:Map;function Ue(e,t){if(!e||Ae)return"";var r,n=De.get(e);if(void 0!==n)return n;Ae=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Me.current,Me.current=null,function(){if(0===$e){we=console.log,Re=console.info,ke=console.warn,Pe=console.error,Te=console.group,Le=console.groupCollapsed,je=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$e++}();try{if(t){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(e){r=e}Reflect.construct(e,[],u)}else{try{u.call()}catch(e){r=e}e.call(u.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),c=r.stack.split("\n"),s=i.length-1,l=c.length-1;s>=1&&l>=0&&i[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(i[s]!==c[l]){if(1!==s||1!==l)do{if(s--,--l<0||i[s]!==c[l]){var f="\n"+i[s].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&De.set(e,f),f}}while(s>=1&&l>=0);break}}}finally{Ae=!1,Me.current=o,function(){if(0==--$e){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:we}),info:D({},e,{value:Re}),warn:D({},e,{value:ke}),error:D({},e,{value:Pe}),group:D({},e,{value:Te}),groupCollapsed:D({},e,{value:Le}),groupEnd:D({},e,{value:je})})}$e<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",d=p?Ne(p):"";return"function"==typeof e&&De.set(e,d),d}function Ve(e,t,r){if(null==e)return"";if("function"==typeof e)return Ue(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ne(e);switch(e){case l:return Ne("Suspense");case f:return Ne("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return Ue(e.render,!1);case p:return Ve(e.type,t,r);case d:var n=e,o=n._payload,a=n._init;try{return Ve(a(o),t,r)}catch(e){}}return""}De=new Fe;var He,ze={},Be=L.ReactDebugCurrentFrame;function Ye(e){if(e){var t=e._owner,r=Ve(e.type,e._source,t?t.type:null);Be.setExtraStackFrame(r)}else Be.setExtraStackFrame(null)}function Ke(e){if(e){var t=e._owner;O(Ve(e.type,e._source,t?t.type:null))}else O(null)}function qe(){if(E.current){var e=Z(E.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}He=!1;var We={};function Ge(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=qe();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!We[r]){We[r]=!0;var n="";e&&e._owner&&e._owner!==E.current&&(n=" It was passed a child from "+Z(e._owner.type)+"."),Ke(e),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),Ke(null)}}}function Xe(e,t){if("object"==typeof e)if(q(e))for(var r=0;r<e.length;r++){var n=e[r];ce(n)&&Ge(n,t)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var o=v(e);if("function"==typeof o&&o!==e.entries)for(var a,u=o.call(e);!(a=u.next()).done;)ce(a.value)&&Ge(a.value,t)}}function Ze(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==s&&r.$$typeof!==p)return;t=r.propTypes}if(t){var n=Z(r);!function(e,t,r,n,o){var a=Function.call.bind(te);for(var u in e)if(a(e,u)){var i=void 0;try{if("function"!=typeof e[u]){var c=Error((n||"React class")+": "+r+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}i=e[u](t,u,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){i=e}!i||i instanceof Error||(Ye(o),$("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,u,typeof i),Ye(null)),i instanceof Error&&!(i.message in ze)&&(ze[i.message]=!0,Ye(o),$("Failed %s type: %s",r,i.message),Ye(null))}}(t,e.props,"prop",n,e)}else void 0===r.PropTypes||He||(He=!0,$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Z(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(e,t,n){var a,u,i=Se(e);if(!i){var c,s="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),s+=(null!=(a=t)&&void 0!==(u=a.__source)?"\n\nCheck your code at "+u.fileName.replace(/^.*[\\\/]/,"")+":"+u.lineNumber+".":"")||qe(),null===e?c="null":q(e)?c="array":void 0!==e&&e.$$typeof===r?(c="<"+(Z(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,$("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,s)}var l=ue.apply(this,arguments);if(null==l)return l;if(i)for(var f=2;f<arguments.length;f++)Xe(arguments[f],e);return e===o?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){Ke(e),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),Ke(null);break}}null!==e.ref&&(Ke(e),$("Invalid attribute `ref` supplied to `React.Fragment`."),Ke(null))}(l):Ze(l),l}var Qe=!1,et=!1,tt=null,rt=0,nt=!1;function ot(e){e!==rt-1&&$("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),rt=e}function at(t,r,n){var o=g.current;if(null!==o)try{it(o),function(t){if(null===tt)try{var r=("require"+Math.random()).slice(0,7);tt=(e&&e[r]).call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&$("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}tt(t)}((function(){0===o.length?(g.current=null,r(t)):at(t,r,n)}))}catch(e){n(e)}else r(t)}var ut=!1;function it(e){if(!ut){ut=!0;var t=0;try{for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}e.length=0}catch(r){throw e=e.slice(t+1),r}finally{ut=!1}}}var ct=Je,st=function(e,t,r){for(var n=ie.apply(this,arguments),o=2;o<arguments.length;o++)Xe(arguments[o],n.type);return Ze(n),n},lt=function(e){var t=Je.bind(null,e);return t.type=e,Qe||(Qe=!0,j("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return j("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ft={map:he,forEach:function(e,t,r){he(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return he(e,(function(){t++})),t},toArray:function(e){return he(e,(function(e){return e}))||[]},only:function(e){if(!ce(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ft,t.Component=F,t.Fragment=o,t.Profiler=u,t.PureComponent=B,t.StrictMode=a,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=st,t.createContext=function(e){var t={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:i,_context:t};var r=!1,n=!1,o=!1,a={$$typeof:c,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return n||(n=!0,$("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return r||(r=!0,$("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(j("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=ct,t.createFactory=lt,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===p?$("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?$("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&$("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||$("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:s,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(e.displayName=r)}}),r},t.isValidElement=ce,t.lazy=function(e){var t,r,n={$$typeof:d,_payload:{_status:be,_result:e},_init:Ce};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){$("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){$("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},t.memo=function(e,t){Se(e)||$("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:p,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(e.displayName=t)}}),n},t.startTransition=function(e,t){var r=_.transition;_.transition={};var n=_.transition;_.transition._updatedFibers=new Set;try{e()}finally{_.transition=r,null===r&&n._updatedFibers&&(n._updatedFibers.size>10&&j("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),n._updatedFibers.clear())}},t.unstable_act=function(e){var t=rt;rt++,null===g.current&&(g.current=[]);var r,n=g.isBatchingLegacy;try{if(g.isBatchingLegacy=!0,r=e(),!n&&g.didScheduleLegacyUpdate){var o=g.current;null!==o&&(g.didScheduleLegacyUpdate=!1,it(o))}}catch(e){throw ot(t),e}finally{g.isBatchingLegacy=n}if(null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r,u=!1,i={then:function(e,r){u=!0,a.then((function(n){ot(t),0===rt?at(n,e,r):e(n)}),(function(e){ot(t),r(e)}))}};return nt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){u||(nt=!0,$("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),i}var c=r;if(ot(t),0===rt){var s=g.current;return null!==s&&(it(s),g.current=null),{then:function(e,t){null===g.current?(g.current=[],at(c,e,t)):e(c)}}}return{then:function(e,t){e(c)}}},t.useCallback=function(e,t){return Oe().useCallback(e,t)},t.useContext=function(e){var t=Oe();if(void 0!==e._context){var r=e._context;r.Consumer===e?$("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):r.Provider===e&&$("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return Oe().useDebugValue(e,t)},t.useDeferredValue=function(e){return Oe().useDeferredValue(e)},t.useEffect=function(e,t){return Oe().useEffect(e,t)},t.useId=function(){return Oe().useId()},t.useImperativeHandle=function(e,t,r){return Oe().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return Oe().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return Oe().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Oe().useMemo(e,t)},t.useReducer=function(e,t,r){return Oe().useReducer(e,t,r)},t.useRef=function(e){return Oe().useRef(e)},t.useState=function(e){return Oe().useState(e)},t.useSyncExternalStore=function(e,t,r){return Oe().useSyncExternalStore(e,t,r)},t.useTransition=function(){return Oe().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(s,s.exports)),s.exports);var l=u.exports,f=o(l);const p=f.createContext(null);p.displayName="TableContext";var d=(e,t)=>Object.prototype.toString.call(e)===`[object ${t}]`;var y=e=>"function"==typeof e;var m=e=>null==e;var h=e=>"object"==typeof e&&null!==e;var v=function(e){if(!h(e)||!d(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};var b=function(e){const t=typeof e;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"string"===t:"string"===t||d(e,"String")};var _=e=>Array.isArray?Array.isArray(e):d(e,"Array");function g(e,t){if(!e||!v(e))return e;const r={};return Object.keys(e).forEach((n=>{const o=e[n];let a=!1;t.forEach((e=>{(b(e)&&e===n||e instanceof RegExp&&n.match(e))&&(a=!0)})),a||(r[n]=o)})),r}function E(e){return Object.prototype.toString.call(e)}function C(e){return Object.keys(e)}function S(e,t,r){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(Number.isNaN(e)&&Number.isNaN(t))return!0;if(E(e)!==E(t))return!1;if(y(e))return!!(null==r?void 0:r.skipFunction);if("object"!=typeof e)return!1;if(_(e)){if(e.length!==t.length)return!1;for(let n=e.length-1;n>=0;n--)if(!S(e[n],t[n],r))return!1;return!0}if(!v(e))return!1;const n=C(e),o=C(t);if(n.length!==o.length)return!1;n.sort(),o.sort();for(let e=n.length-1;e>=0;e--)if(n[e]!=o[e])return!1;for(let o=n.length-1;o>=0;o--){const a=n[o];if(!S(e[a],t[a],r))return!1}return!0}var O,w={exports:{}},R={};var k,P={};
|
|
10
|
+
*/"production"===process.env.NODE_ENV?u.exports=function(){if(a)return i;a=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator,y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}function b(){}function _(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var g=_.prototype=new b;g.constructor=_,m(g,v.prototype),g.isPureReactComponent=!0;var E=Array.isArray,C=Object.prototype.hasOwnProperty,S={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function w(t,r,n){var o,a={},u=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(u=""+r.key),r)C.call(r,o)&&!O.hasOwnProperty(o)&&(a[o]=r[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];a.children=s}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:e,type:t,key:u,ref:i,props:a,_owner:S.current}}function R(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var k=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(r,n,o,a,u){var i=typeof r;"undefined"!==i&&"boolean"!==i||(r=null);var c=!1;if(null===r)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(r.$$typeof){case e:case t:c=!0}}if(c)return u=u(c=r),r=""===a?"."+T(c,0):a,E(u)?(o="",null!=r&&(o=r.replace(k,"$&/")+"/"),P(u,n,o,"",(function(e){return e}))):null!=u&&(R(u)&&(u=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(k,"$&/")+"/")+r)),n.push(u)),1;if(c=0,a=""===a?".":a+":",E(r))for(var s=0;s<r.length;s++){var l=a+T(i=r[s],s);c+=P(i,n,o,l,u)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(r),"function"==typeof l)for(r=l.call(r),s=0;!(i=r.next()).done;)c+=P(i=i.value,n,o,l=a+T(i,s++),u);else if("object"===i)throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}function L(e,t,r){if(null==e)return e;var n=[],o=0;return P(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var $={current:null},x={transition:null},I={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:x,ReactCurrentOwner:S};return i.Children={map:L,forEach:function(e,t,r){L(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return L(e,(function(){t++})),t},toArray:function(e){return L(e,(function(e){return e}))||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},i.Component=v,i.Fragment=r,i.Profiler=o,i.PureComponent=_,i.StrictMode=n,i.Suspense=l,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,i.cloneElement=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),a=t.key,u=t.ref,i=t._owner;if(null!=r){if(void 0!==r.ref&&(u=r.ref,i=S.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(s in r)C.call(r,s)&&!O.hasOwnProperty(s)&&(o[s]=void 0===r[s]&&void 0!==c?c[s]:r[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:e,type:t.type,key:a,ref:u,props:o,_owner:i}},i.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},i.createElement=w,i.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},i.createRef=function(){return{current:null}},i.forwardRef=function(e){return{$$typeof:s,render:e}},i.isValidElement=R,i.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:j}},i.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},i.startTransition=function(e){var t=x.transition;x.transition={};try{e()}finally{x.transition=t}},i.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},i.useCallback=function(e,t){return $.current.useCallback(e,t)},i.useContext=function(e){return $.current.useContext(e)},i.useDebugValue=function(){},i.useDeferredValue=function(e){return $.current.useDeferredValue(e)},i.useEffect=function(e,t){return $.current.useEffect(e,t)},i.useId=function(){return $.current.useId()},i.useImperativeHandle=function(e,t,r){return $.current.useImperativeHandle(e,t,r)},i.useInsertionEffect=function(e,t){return $.current.useInsertionEffect(e,t)},i.useLayoutEffect=function(e,t){return $.current.useLayoutEffect(e,t)},i.useMemo=function(e,t){return $.current.useMemo(e,t)},i.useReducer=function(e,t,r){return $.current.useReducer(e,t,r)},i.useRef=function(e){return $.current.useRef(e)},i.useState=function(e){return $.current.useState(e)},i.useSyncExternalStore=function(e,t,r){return $.current.useSyncExternalStore(e,t,r)},i.useTransition=function(){return $.current.useTransition()},i.version="18.2.0",i}():u.exports=(c||(c=1,function(e,t){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function v(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[h];return"function"==typeof t?t:null}var b={current:null},_={transition:null},g={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},E={current:null},C={},S=null;function O(e){S=e}C.setExtraStackFrame=function(e){S=e},C.getCurrentStack=null,C.getStackAddendum=function(){var e="";S&&(e+=S);var t=C.getCurrentStack;return t&&(e+=t()||""),e};var w=!1,R=!1,k=!1,T=!1,P=!1,L={ReactCurrentDispatcher:b,ReactCurrentBatchConfig:_,ReactCurrentOwner:E};function j(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];x("warn",e,r)}function $(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];x("error",e,r)}function x(e,t,r){var n=L.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}L.ReactDebugCurrentFrame=C,L.ReactCurrentActQueue=g;var I={};function M(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;I[o]||($("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),I[o]=!0)}var N={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){M(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){M(e,"replaceState")},enqueueSetState:function(e,t,r,n){M(e,"setState")}},D=Object.assign,A={};function F(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||N}Object.freeze(A),F.prototype.isReactComponent={},F.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},F.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var U={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},V=function(e,t){Object.defineProperty(F.prototype,e,{get:function(){j("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var H in U)U.hasOwnProperty(H)&&V(H,U[H]);function z(){}function B(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||N}z.prototype=F.prototype;var Y=B.prototype=new z;Y.constructor=B,D(Y,F.prototype),Y.isPureReactComponent=!0;var K=Array.isArray;function q(e){return K(e)}function W(e){return""+e}function G(e){if(function(e){try{return W(e),!1}catch(e){return!0}}(e))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),W(e)}function X(e){return e.displayName||"Context"}function Z(e){if(null==e)return null;if("number"==typeof e.tag&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case n:return"Portal";case u:return"Profiler";case a:return"StrictMode";case l:return"Suspense";case f:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return X(e)+".Consumer";case i:return X(e._context)+".Provider";case s:return function(e,t,r){var n=e.displayName;if(n)return n;var o=t.displayName||t.name||"";return""!==o?r+"("+o+")":r}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:Z(e.type)||"Memo";case d:var r=e,y=r._payload,m=r._init;try{return Z(m(y))}catch(e){return null}}return null}var J,Q,ee,te=Object.prototype.hasOwnProperty,re={key:!0,ref:!0,__self:!0,__source:!0};function ne(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function oe(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var ae=function(e,t,n,o,a,u,i){var c={$$typeof:r,type:e,key:t,ref:n,props:i,_owner:u,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function ue(e,t,r){var n,o={},a=null,u=null,i=null,c=null;if(null!=t)for(n in ne(t)&&(u=t.ref,function(e){if("string"==typeof e.ref&&E.current&&e.__self&&E.current.stateNode!==e.__self){var t=Z(E.current.type);ee[t]||($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),ee[t]=!0)}}(t)),oe(t)&&(G(t.key),a=""+t.key),i=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)te.call(t,n)&&!re.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(s>1){for(var l=Array(s),f=0;f<s;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(a||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var r=function(){J||(J=!0,$("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,d),u&&function(e,t){var r=function(){Q||(Q=!0,$("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(o,d)}return ae(e,a,u,i,c,E.current,o)}function ie(e,t,r){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n,o,a=D({},e.props),u=e.key,i=e.ref,c=e._self,s=e._source,l=e._owner;if(null!=t)for(n in ne(t)&&(i=t.ref,l=E.current),oe(t)&&(G(t.key),u=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)te.call(t,n)&&!re.hasOwnProperty(n)&&(void 0===t[n]&&void 0!==o?a[n]=o[n]:a[n]=t[n]);var f=arguments.length-2;if(1===f)a.children=r;else if(f>1){for(var p=Array(f),d=0;d<f;d++)p[d]=arguments[d+2];a.children=p}return ae(e.type,u,i,c,s,l,a)}function ce(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var se=".",le=":",fe=!1,pe=/\/+/g;function de(e){return e.replace(pe,"$&/")}function ye(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(G(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function me(e,t,o,a,u){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var c,s,l,f=!1;if(null===e)f=!0;else switch(i){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case r:case n:f=!0}}if(f){var p=e,d=u(p),y=""===a?se+ye(p,0):a;if(q(d)){var m="";null!=y&&(m=de(y)+"/"),me(d,t,m,"",(function(e){return e}))}else null!=d&&(ce(d)&&(!d.key||p&&p.key===d.key||G(d.key),c=d,s=o+(!d.key||p&&p.key===d.key?"":de(""+d.key)+"/")+y,d=ae(c.type,s,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var h=0,b=""===a?se:a+le;if(q(e))for(var _=0;_<e.length;_++)h+=me(l=e[_],t,o,b+ye(l,_),u);else{var g=v(e);if("function"==typeof g){var E=e;g===E.entries&&(fe||j("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fe=!0);for(var C,S=g.call(E),O=0;!(C=S.next()).done;)h+=me(l=C.value,t,o,b+ye(l,O++),u)}else if("object"===i){var w=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}}return h}function he(e,t,r){if(null==e)return e;var n=[],o=0;return me(e,n,"","",(function(e){return t.call(r,e,o++)})),n}var ve,be=-1,_e=0,ge=1,Ee=2;function Ce(e){if(e._status===be){var t=(0,e._result)();if(t.then((function(t){if(e._status===_e||e._status===be){var r=e;r._status=ge,r._result=t}}),(function(t){if(e._status===_e||e._status===be){var r=e;r._status=Ee,r._result=t}})),e._status===be){var r=e;r._status=_e,r._result=t}}if(e._status===ge){var n=e._result;return void 0===n&&$("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",n),"default"in n||$("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",n),n.default}throw e._result}function Se(e){return"string"==typeof e||"function"==typeof e||!!(e===o||e===u||P||e===a||e===l||e===f||T||e===y||w||R||k)||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===i||e.$$typeof===c||e.$$typeof===s||e.$$typeof===ve||void 0!==e.getModuleId)}function Oe(){var e=b.current;return null===e&&$("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}ve=Symbol.for("react.module.reference");var we,Re,ke,Te,Pe,Le,je,$e=0;function xe(){}xe.__reactDisabledLog=!0;var Ie,Me=L.ReactCurrentDispatcher;function Ne(e,t,r){if(void 0===Ie)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);Ie=n&&n[1]||""}return"\n"+Ie+e}var De,Ae=!1,Fe="function"==typeof WeakMap?WeakMap:Map;function Ue(e,t){if(!e||Ae)return"";var r,n=De.get(e);if(void 0!==n)return n;Ae=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Me.current,Me.current=null,function(){if(0===$e){we=console.log,Re=console.info,ke=console.warn,Te=console.error,Pe=console.group,Le=console.groupCollapsed,je=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$e++}();try{if(t){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(e){r=e}Reflect.construct(e,[],u)}else{try{u.call()}catch(e){r=e}e.call(u.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),c=r.stack.split("\n"),s=i.length-1,l=c.length-1;s>=1&&l>=0&&i[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(i[s]!==c[l]){if(1!==s||1!==l)do{if(s--,--l<0||i[s]!==c[l]){var f="\n"+i[s].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&De.set(e,f),f}}while(s>=1&&l>=0);break}}}finally{Ae=!1,Me.current=o,function(){if(0==--$e){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:we}),info:D({},e,{value:Re}),warn:D({},e,{value:ke}),error:D({},e,{value:Te}),group:D({},e,{value:Pe}),groupCollapsed:D({},e,{value:Le}),groupEnd:D({},e,{value:je})})}$e<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",d=p?Ne(p):"";return"function"==typeof e&&De.set(e,d),d}function Ve(e,t,r){if(null==e)return"";if("function"==typeof e)return Ue(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ne(e);switch(e){case l:return Ne("Suspense");case f:return Ne("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return Ue(e.render,!1);case p:return Ve(e.type,t,r);case d:var n=e,o=n._payload,a=n._init;try{return Ve(a(o),t,r)}catch(e){}}return""}De=new Fe;var He,ze={},Be=L.ReactDebugCurrentFrame;function Ye(e){if(e){var t=e._owner,r=Ve(e.type,e._source,t?t.type:null);Be.setExtraStackFrame(r)}else Be.setExtraStackFrame(null)}function Ke(e){if(e){var t=e._owner;O(Ve(e.type,e._source,t?t.type:null))}else O(null)}function qe(){if(E.current){var e=Z(E.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}He=!1;var We={};function Ge(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=qe();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!We[r]){We[r]=!0;var n="";e&&e._owner&&e._owner!==E.current&&(n=" It was passed a child from "+Z(e._owner.type)+"."),Ke(e),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),Ke(null)}}}function Xe(e,t){if("object"==typeof e)if(q(e))for(var r=0;r<e.length;r++){var n=e[r];ce(n)&&Ge(n,t)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var o=v(e);if("function"==typeof o&&o!==e.entries)for(var a,u=o.call(e);!(a=u.next()).done;)ce(a.value)&&Ge(a.value,t)}}function Ze(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==s&&r.$$typeof!==p)return;t=r.propTypes}if(t){var n=Z(r);!function(e,t,r,n,o){var a=Function.call.bind(te);for(var u in e)if(a(e,u)){var i=void 0;try{if("function"!=typeof e[u]){var c=Error((n||"React class")+": "+r+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}i=e[u](t,u,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){i=e}!i||i instanceof Error||(Ye(o),$("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,u,typeof i),Ye(null)),i instanceof Error&&!(i.message in ze)&&(ze[i.message]=!0,Ye(o),$("Failed %s type: %s",r,i.message),Ye(null))}}(t,e.props,"prop",n,e)}else void 0===r.PropTypes||He||(He=!0,$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Z(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(e,t,n){var a,u,i=Se(e);if(!i){var c,s="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),s+=(null!=(a=t)&&void 0!==(u=a.__source)?"\n\nCheck your code at "+u.fileName.replace(/^.*[\\\/]/,"")+":"+u.lineNumber+".":"")||qe(),null===e?c="null":q(e)?c="array":void 0!==e&&e.$$typeof===r?(c="<"+(Z(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,$("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,s)}var l=ue.apply(this,arguments);if(null==l)return l;if(i)for(var f=2;f<arguments.length;f++)Xe(arguments[f],e);return e===o?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){Ke(e),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),Ke(null);break}}null!==e.ref&&(Ke(e),$("Invalid attribute `ref` supplied to `React.Fragment`."),Ke(null))}(l):Ze(l),l}var Qe=!1,et=!1,tt=null,rt=0,nt=!1;function ot(e){e!==rt-1&&$("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),rt=e}function at(t,r,n){var o=g.current;if(null!==o)try{it(o),function(t){if(null===tt)try{var r=("require"+Math.random()).slice(0,7);tt=(e&&e[r]).call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&$("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}tt(t)}((function(){0===o.length?(g.current=null,r(t)):at(t,r,n)}))}catch(e){n(e)}else r(t)}var ut=!1;function it(e){if(!ut){ut=!0;var t=0;try{for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}e.length=0}catch(r){throw e=e.slice(t+1),r}finally{ut=!1}}}var ct=Je,st=function(e,t,r){for(var n=ie.apply(this,arguments),o=2;o<arguments.length;o++)Xe(arguments[o],n.type);return Ze(n),n},lt=function(e){var t=Je.bind(null,e);return t.type=e,Qe||(Qe=!0,j("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return j("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ft={map:he,forEach:function(e,t,r){he(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return he(e,(function(){t++})),t},toArray:function(e){return he(e,(function(e){return e}))||[]},only:function(e){if(!ce(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ft,t.Component=F,t.Fragment=o,t.Profiler=u,t.PureComponent=B,t.StrictMode=a,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=st,t.createContext=function(e){var t={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:i,_context:t};var r=!1,n=!1,o=!1,a={$$typeof:c,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return n||(n=!0,$("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return r||(r=!0,$("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(j("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=ct,t.createFactory=lt,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===p?$("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?$("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&$("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||$("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:s,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(e.displayName=r)}}),r},t.isValidElement=ce,t.lazy=function(e){var t,r,n={$$typeof:d,_payload:{_status:be,_result:e},_init:Ce};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){$("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){$("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},t.memo=function(e,t){Se(e)||$("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:p,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(e.displayName=t)}}),n},t.startTransition=function(e,t){var r=_.transition;_.transition={};var n=_.transition;_.transition._updatedFibers=new Set;try{e()}finally{_.transition=r,null===r&&n._updatedFibers&&(n._updatedFibers.size>10&&j("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),n._updatedFibers.clear())}},t.unstable_act=function(e){var t=rt;rt++,null===g.current&&(g.current=[]);var r,n=g.isBatchingLegacy;try{if(g.isBatchingLegacy=!0,r=e(),!n&&g.didScheduleLegacyUpdate){var o=g.current;null!==o&&(g.didScheduleLegacyUpdate=!1,it(o))}}catch(e){throw ot(t),e}finally{g.isBatchingLegacy=n}if(null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r,u=!1,i={then:function(e,r){u=!0,a.then((function(n){ot(t),0===rt?at(n,e,r):e(n)}),(function(e){ot(t),r(e)}))}};return nt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){u||(nt=!0,$("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),i}var c=r;if(ot(t),0===rt){var s=g.current;return null!==s&&(it(s),g.current=null),{then:function(e,t){null===g.current?(g.current=[],at(c,e,t)):e(c)}}}return{then:function(e,t){e(c)}}},t.useCallback=function(e,t){return Oe().useCallback(e,t)},t.useContext=function(e){var t=Oe();if(void 0!==e._context){var r=e._context;r.Consumer===e?$("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):r.Provider===e&&$("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return Oe().useDebugValue(e,t)},t.useDeferredValue=function(e){return Oe().useDeferredValue(e)},t.useEffect=function(e,t){return Oe().useEffect(e,t)},t.useId=function(){return Oe().useId()},t.useImperativeHandle=function(e,t,r){return Oe().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return Oe().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return Oe().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Oe().useMemo(e,t)},t.useReducer=function(e,t,r){return Oe().useReducer(e,t,r)},t.useRef=function(e){return Oe().useRef(e)},t.useState=function(e){return Oe().useState(e)},t.useSyncExternalStore=function(e,t,r){return Oe().useSyncExternalStore(e,t,r)},t.useTransition=function(){return Oe().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(s,s.exports)),s.exports);var l=u.exports,f=o(l);const p=f.createContext(null);p.displayName="TableContext";var d=(e,t)=>Object.prototype.toString.call(e)===`[object ${t}]`;var y=e=>"function"==typeof e;var m=e=>null==e;var h=e=>"object"==typeof e&&null!==e;var v=function(e){if(!h(e)||!d(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};var b=function(e){const t=typeof e;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"string"===t:"string"===t||d(e,"String")};var _=e=>Array.isArray?Array.isArray(e):d(e,"Array");function g(e,t){if(!e||!v(e))return e;const r={};return Object.keys(e).forEach((n=>{const o=e[n];let a=!1;t.forEach((e=>{(b(e)&&e===n||e instanceof RegExp&&n.match(e))&&(a=!0)})),a||(r[n]=o)})),r}function E(e){return Object.prototype.toString.call(e)}function C(e){return Object.keys(e)}function S(e,t,r){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(Number.isNaN(e)&&Number.isNaN(t))return!0;if(E(e)!==E(t))return!1;if(y(e))return!!(null==r?void 0:r.skipFunction);if("object"!=typeof e)return!1;if(_(e)){if(e.length!==t.length)return!1;for(let n=e.length-1;n>=0;n--)if(!S(e[n],t[n],r))return!1;return!0}if(!v(e))return!1;const n=C(e),o=C(t);if(n.length!==o.length)return!1;n.sort(),o.sort();for(let e=n.length-1;e>=0;e--)if(n[e]!=o[e])return!1;for(let o=n.length-1;o>=0;o--){const a=n[o];if(!S(e[a],t[a],r))return!1}return!0}var O,w={exports:{}},R={};var k,T={};
|
|
11
11
|
/**
|
|
12
12
|
* @license React
|
|
13
13
|
* react-is.development.js
|
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/"production"===process.env.NODE_ENV?w.exports=function(){if(O)return R;O=1;var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var y=e.$$typeof;switch(y){case t:switch(e=e.type){case n:case a:case o:case l:case f:return e;default:switch(e=e&&e.$$typeof){case c:case i:case s:case d:case p:case u:return e;default:return y}}case r:return y}}}return e=Symbol.for("react.module.reference"),R.ContextConsumer=i,R.ContextProvider=u,R.Element=t,R.ForwardRef=s,R.Fragment=n,R.Lazy=d,R.Memo=p,R.Portal=r,R.Profiler=a,R.StrictMode=o,R.Suspense=l,R.SuspenseList=f,R.isAsyncMode=function(){return!1},R.isConcurrentMode=function(){return!1},R.isContextConsumer=function(e){return m(e)===i},R.isContextProvider=function(e){return m(e)===u},R.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},R.isForwardRef=function(e){return m(e)===s},R.isFragment=function(e){return m(e)===n},R.isLazy=function(e){return m(e)===d},R.isMemo=function(e){return m(e)===p},R.isPortal=function(e){return m(e)===r},R.isProfiler=function(e){return m(e)===a},R.isStrictMode=function(e){return m(e)===o},R.isSuspense=function(e){return m(e)===l},R.isSuspenseList=function(e){return m(e)===f},R.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===a||t===o||t===l||t===f||t===y||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===p||t.$$typeof===u||t.$$typeof===i||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},R.typeOf=m,R}():w.exports=(k||(k=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var y=e.$$typeof;switch(y){case t:var m=e.type;switch(m){case n:case a:case o:case l:case f:return m;default:var h=m&&m.$$typeof;switch(h){case c:case i:case s:case d:case p:case u:return h;default:return y}}case r:return y}}}e=Symbol.for("react.module.reference");var h=i,v=u,b=t,_=s,g=n,E=d,C=p,S=r,O=a,w=o,R=l,k=f,T=!1,L=!1;P.ContextConsumer=h,P.ContextProvider=v,P.Element=b,P.ForwardRef=_,P.Fragment=g,P.Lazy=E,P.Memo=C,P.Portal=S,P.Profiler=O,P.StrictMode=w,P.Suspense=R,P.SuspenseList=k,P.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},P.isConcurrentMode=function(e){return L||(L=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},P.isContextConsumer=function(e){return m(e)===i},P.isContextProvider=function(e){return m(e)===u},P.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},P.isForwardRef=function(e){return m(e)===s},P.isFragment=function(e){return m(e)===n},P.isLazy=function(e){return m(e)===d},P.isMemo=function(e){return m(e)===p},P.isPortal=function(e){return m(e)===r},P.isProfiler=function(e){return m(e)===a},P.isStrictMode=function(e){return m(e)===o},P.isSuspense=function(e){return m(e)===l},P.isSuspenseList=function(e){return m(e)===f},P.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===a||t===o||t===l||t===f||t===y||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===p||t.$$typeof===u||t.$$typeof===i||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},P.typeOf=m}()),P);var T=w.exports;let L=0;const j=e=>e?`${e}-${L++}`:""+L++,$=e=>{let t=[];return f.Children.forEach(e,(e=>{m(e)||(T.isFragment(e)?t=t.concat($(e.props.children)):t.push(e))})),t},x={...t.ListTable.EVENT_TYPE,...t.PivotTable.EVENT_TYPE,...t.PivotChart.EVENT_TYPE},I={onClickCell:x.CLICK_CELL,onDblClickCell:x.DBLCLICK_CELL,onMouseDownCell:x.MOUSEDOWN_CELL,onMouseUpCell:x.MOUSEUP_CELL,onSelectedCell:x.SELECTED_CELL,onKeyDown:x.KEYDOWN,onMouseEnterTable:x.MOUSEENTER_TABLE,onMouseLeaveTable:x.MOUSELEAVE_TABLE,onMouseMoveCell:x.MOUSEMOVE_CELL,onMouseEnterCell:x.MOUSEENTER_CELL,onMouseLeaveCell:x.MOUSELEAVE_CELL,onContextMenuCell:x.CONTEXTMENU_CELL,onResizeColumn:x.RESIZE_COLUMN,onResizeColumnEnd:x.RESIZE_COLUMN_END,onChangeHeaderPosition:x.CHANGE_HEADER_POSITION,onSortClick:x.SORT_CLICK,onFreezeClick:x.FREEZE_CLICK,onScroll:x.SCROLL,onDropdownMenuClick:x.DROPDOWN_MENU_CLICK,onMouseOverChartSymbol:x.MOUSEOVER_CHART_SYMBOL,onDragSelectEnd:x.DRAG_SELECT_END,onDropdownIconClick:x.DROPDOWN_ICON_CLICK,onDropdownMenuClear:x.DROPDOWN_MENU_CLEAR,onTreeHierarchyStateChange:x.TREE_HIERARCHY_STATE_CHANGE,onShowMenu:x.SHOW_MENU,onHideMenu:x.HIDE_MENU,onIconClick:x.ICON_CLICK,onLegendItemClick:x.LEGEND_ITEM_CLICK,onLegendItemHover:x.LEGEND_ITEM_HOVER,onLegendItemUnHover:x.LEGEND_ITEM_UNHOVER,onLegendChange:x.LEGEND_CHANGE,onMouseEnterAxis:x.MOUSEENTER_AXIS,onMouseLeaveAxis:x.MOUSELEAVE_AXIS,onCheckboxStateChange:x.CHECKBOX_STATE_CHANGE,onAfterRender:x.AFTER_RENDER,onInitialized:x.INITIALIZED,onPivotSortClick:x.PIVOT_SORT_CLICK,onDrillMenuClick:x.DRILLMENU_CLICK,onVChartEventType:x.VCHART_EVENT_TYPE},M=Object.keys(I),N=(e,t=I)=>{const r={};return Object.keys(e).forEach((n=>{t[n]&&(r[n]=e[n])})),r},D=(e,t,r,n=I)=>{if(!t&&!r||!e)return!1;const o=r?N(r,n):null,a=t?N(t,n):null;return o&&Object.keys(o).forEach((t=>{a&&a[t]&&a[t]===o[t]||e.off(n[t],r[t])})),a&&Object.keys(a).forEach((t=>{o&&o[t]&&o[t]===a[t]||e.on(n[t],a[t])})),!0},A=["children","hooks","ref",...M,"skipFunctionDiff","onError","onReady","option","records","container"],F=f.forwardRef(((e,t)=>{const[r,o]=l.useState(0),a=l.useRef({optionFromChildren:{}});l.useImperativeHandle(t,(()=>a.current.table));const u=!!e.option,i=!!e.records,c=l.useRef(!1),s=l.useRef(g(e,A)),d=l.useRef(e.records),y=f.useRef(null),m=!!e.skipFunctionDiff,h=l.useCallback((e=>u&&e.option?i&&e.records?{...e.option,records:e.records}:e.option:{records:e.records,...s.current,...a.current.optionFromChildren}),[u,i]),v=l.useCallback((e=>{let t;t="pivot-table"===e.type?new n.PivotTable(e.container,h(e)):"pivot-chart"===e.type?new n.PivotChart(e.container,h(e)):new n.ListTable(e.container,h(e)),a.current={...a.current,table:t}}),[h]),b=l.useCallback((()=>{D(a.current.table,e,y.current,I),c.current||(o(r+1),e.onReady&&e.onReady(a.current.table,0===r))}),[r,o,e]),_=l.useCallback((()=>{if(a.current.table){const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}}),[b,e]);return l.useEffect((()=>{if(!a.current?.table)return v(e),_(),D(a.current.table,e,null,I),a.current={...a.current,isChildrenUpdated:!1},void(y.current=e);if(u){if(S(y.current.option,e.option,{skipFunction:m})){if(i&&!S(y.current.records,e.records,{skipFunction:m})){y.current=e,a.current.table.setRecords(e.records);const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}}else{y.current=e,a.current.table.updateOption(h(e));const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}return}const t=g(e,A);if(!S(t,s.current,{skipFunction:m})||a.current.isChildrenUpdated){s.current=t,a.current.table.updateOption(h(e));const r=a.current.table.renderAsync().then(b);e.onError&&r.catch(e.onError)}else if(i&&!S(e.records,d.current,{skipFunction:m})){d.current=e.records,a.current.table.setRecords(e.records);const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}a.current={...a.current,isChildrenUpdated:!1}}),[v,u,i,h,b,_,m,e]),l.useEffect((()=>()=>{a&&(a.current.table&&a.current.table.release(),a.current=null),c.current=!0}),[]),f.createElement(p.Provider,{value:a.current},$(e.children).map(((e,t)=>f.createElement(f.Fragment,{key:e?.props?.id??e?.id??`child-${t}`},f.cloneElement(e,{updateId:r})))))})),U=(e,t,r)=>{const n=function(e,t="TableContainer",r){const n=f.forwardRef(((t,n)=>{const o=l.useRef(),[a,u]=l.useState(!1),{className:i,style:c,width:s,...p}=t;return l.useLayoutEffect((()=>{u(!0)}),[]),f.createElement("div",{ref:o,className:i,style:{position:"relative",height:t.height||"100%",width:t.width||"100%",...c}},a?f.createElement(e,{ref:n,container:o.current,...r?r(p):p}):f.createElement(f.Fragment,null))}));return n.displayName=t||e.name,n}(F,e,(e=>(e.type=t,r?r(e):t?{...e,type:t}:e)));return n.displayName=e,n},V=U("ListTable","list-table"),H=U("PivotTable","pivot-table"),z=U("PivotChart","pivot-chart");const B=(e,t,r,n)=>{const o=["id","updateId"],a=r?Object.keys(r).concat(o):o,u=e=>{const o=l.useContext(p),u=f.useRef(m(e.id)?j(t):e.id),i=f.useRef(null),c=f.useRef(e.updateId),s=f.useRef();if(e.updateId!==c.current){c.current=e.updateId;!!r&&D(o.table,e,i.current,r)&&(i.current=e)}else{const r=g(e,a);S(r,s.current)||(s.current=r,Y(o,u.current,t,n,r))}return l.useEffect((()=>()=>{r&&D(o.table,null,i.current,r),K(o,u.current,t,n)}),[]),null};return u.displayName=e,u},Y=(e,t,r,n,o)=>{if(e.optionFromChildren){if(n)e.optionFromChildren[r]={...o};else{e.optionFromChildren[r]||(e.optionFromChildren[r]=[]);const n=e.optionFromChildren[r],a=n.findIndex((e=>e.id===t));a>=0?n[a]={id:t,...o}:e.optionFromChildren[r].push({id:t,...o})}e.isChildrenUpdated=!0}},K=(e,t,r,n)=>{if(e.optionFromChildren)if(n)e.optionFromChildren[r]=null;else{const n=e.optionFromChildren[r]??[],o=n.findIndex((e=>e.id===t));if(o>=0){const t=n.slice(0,o-1).concat(n.slice(o+1));e.optionFromChildren[r]=t,e.isChildrenUpdated=!0}}},q=B("ListColumn","columns"),W=B("PivotColumnDimension","columns"),G=B("PivotRowDimension","rows"),X=B("PivotIndicator","indicators"),Z=B("PivotColumnHeaderTitle","columnHeaderTitle",void 0,!0),J=B("PivotRowHeaderTitle","rowHeaderTitle",void 0,!0),Q=B("PivotCorner","corner",void 0,!0),ee=B("Menu","menu",void 0,!0),te=B("Tooltip","tooltip",void 0,!0);e.ListColumn=q,e.ListTable=V,e.Menu=ee,e.PivotChart=z,e.PivotColumnDimension=W,e.PivotColumnHeaderTitle=Z,e.PivotCorner=Q,e.PivotIndicator=X,e.PivotRowDimension=G,e.PivotRowHeaderTitle=J,e.PivotTable=H,e.Tooltip=te,e.registerChartModule=function(e,t){n.register.chartModule(e,t)}}));
|
|
19
|
+
*/"production"===process.env.NODE_ENV?w.exports=function(){if(O)return R;O=1;var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var y=e.$$typeof;switch(y){case t:switch(e=e.type){case n:case a:case o:case l:case f:return e;default:switch(e=e&&e.$$typeof){case c:case i:case s:case d:case p:case u:return e;default:return y}}case r:return y}}}return e=Symbol.for("react.module.reference"),R.ContextConsumer=i,R.ContextProvider=u,R.Element=t,R.ForwardRef=s,R.Fragment=n,R.Lazy=d,R.Memo=p,R.Portal=r,R.Profiler=a,R.StrictMode=o,R.Suspense=l,R.SuspenseList=f,R.isAsyncMode=function(){return!1},R.isConcurrentMode=function(){return!1},R.isContextConsumer=function(e){return m(e)===i},R.isContextProvider=function(e){return m(e)===u},R.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},R.isForwardRef=function(e){return m(e)===s},R.isFragment=function(e){return m(e)===n},R.isLazy=function(e){return m(e)===d},R.isMemo=function(e){return m(e)===p},R.isPortal=function(e){return m(e)===r},R.isProfiler=function(e){return m(e)===a},R.isStrictMode=function(e){return m(e)===o},R.isSuspense=function(e){return m(e)===l},R.isSuspenseList=function(e){return m(e)===f},R.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===a||t===o||t===l||t===f||t===y||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===p||t.$$typeof===u||t.$$typeof===i||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},R.typeOf=m,R}():w.exports=(k||(k=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var y=e.$$typeof;switch(y){case t:var m=e.type;switch(m){case n:case a:case o:case l:case f:return m;default:var h=m&&m.$$typeof;switch(h){case c:case i:case s:case d:case p:case u:return h;default:return y}}case r:return y}}}e=Symbol.for("react.module.reference");var h=i,v=u,b=t,_=s,g=n,E=d,C=p,S=r,O=a,w=o,R=l,k=f,P=!1,L=!1;T.ContextConsumer=h,T.ContextProvider=v,T.Element=b,T.ForwardRef=_,T.Fragment=g,T.Lazy=E,T.Memo=C,T.Portal=S,T.Profiler=O,T.StrictMode=w,T.Suspense=R,T.SuspenseList=k,T.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},T.isConcurrentMode=function(e){return L||(L=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},T.isContextConsumer=function(e){return m(e)===i},T.isContextProvider=function(e){return m(e)===u},T.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},T.isForwardRef=function(e){return m(e)===s},T.isFragment=function(e){return m(e)===n},T.isLazy=function(e){return m(e)===d},T.isMemo=function(e){return m(e)===p},T.isPortal=function(e){return m(e)===r},T.isProfiler=function(e){return m(e)===a},T.isStrictMode=function(e){return m(e)===o},T.isSuspense=function(e){return m(e)===l},T.isSuspenseList=function(e){return m(e)===f},T.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===a||t===o||t===l||t===f||t===y||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===p||t.$$typeof===u||t.$$typeof===i||t.$$typeof===s||t.$$typeof===e||void 0!==t.getModuleId)},T.typeOf=m}()),T);var P=w.exports;let L=0;const j=e=>e?`${e}-${L++}`:""+L++,$=e=>{let t=[];return f.Children.forEach(e,(e=>{m(e)||(P.isFragment(e)?t=t.concat($(e.props.children)):t.push(e))})),t},x={...t.ListTable.EVENT_TYPE,...t.PivotTable.EVENT_TYPE,...t.PivotChart.EVENT_TYPE},I={onClickCell:x.CLICK_CELL,onDblClickCell:x.DBLCLICK_CELL,onMouseDownCell:x.MOUSEDOWN_CELL,onMouseUpCell:x.MOUSEUP_CELL,onSelectedCell:x.SELECTED_CELL,onKeyDown:x.KEYDOWN,onMouseEnterTable:x.MOUSEENTER_TABLE,onMouseLeaveTable:x.MOUSELEAVE_TABLE,onMouseMoveCell:x.MOUSEMOVE_CELL,onMouseEnterCell:x.MOUSEENTER_CELL,onMouseLeaveCell:x.MOUSELEAVE_CELL,onContextMenuCell:x.CONTEXTMENU_CELL,onResizeColumn:x.RESIZE_COLUMN,onResizeColumnEnd:x.RESIZE_COLUMN_END,onChangeHeaderPosition:x.CHANGE_HEADER_POSITION,onSortClick:x.SORT_CLICK,onFreezeClick:x.FREEZE_CLICK,onScroll:x.SCROLL,onDropdownMenuClick:x.DROPDOWN_MENU_CLICK,onMouseOverChartSymbol:x.MOUSEOVER_CHART_SYMBOL,onDragSelectEnd:x.DRAG_SELECT_END,onDropdownIconClick:x.DROPDOWN_ICON_CLICK,onDropdownMenuClear:x.DROPDOWN_MENU_CLEAR,onTreeHierarchyStateChange:x.TREE_HIERARCHY_STATE_CHANGE,onShowMenu:x.SHOW_MENU,onHideMenu:x.HIDE_MENU,onIconClick:x.ICON_CLICK,onLegendItemClick:x.LEGEND_ITEM_CLICK,onLegendItemHover:x.LEGEND_ITEM_HOVER,onLegendItemUnHover:x.LEGEND_ITEM_UNHOVER,onLegendChange:x.LEGEND_CHANGE,onMouseEnterAxis:x.MOUSEENTER_AXIS,onMouseLeaveAxis:x.MOUSELEAVE_AXIS,onCheckboxStateChange:x.CHECKBOX_STATE_CHANGE,onAfterRender:x.AFTER_RENDER,onInitialized:x.INITIALIZED,onPivotSortClick:x.PIVOT_SORT_CLICK,onDrillMenuClick:x.DRILLMENU_CLICK,onVChartEventType:x.VCHART_EVENT_TYPE},M=Object.keys(I),N=(e,t=I)=>{const r={};return Object.keys(e).forEach((n=>{t[n]&&(r[n]=e[n])})),r},D=(e,t,r,n=I)=>{if(!t&&!r||!e)return!1;const o=r?N(r,n):null,a=t?N(t,n):null;return o&&Object.keys(o).forEach((t=>{a&&a[t]&&a[t]===o[t]||e.off(n[t],r[t])})),a&&Object.keys(a).forEach((t=>{o&&o[t]&&o[t]===a[t]||e.on(n[t],a[t])})),!0},A=["children","hooks","ref",...M,"skipFunctionDiff","onError","onReady","option","records","container"],F=f.forwardRef(((e,t)=>{const[r,o]=l.useState(0),a=l.useRef({optionFromChildren:{}});l.useImperativeHandle(t,(()=>a.current.table));const u=!!e.option,i=!!e.records,c=l.useRef(!1),s=l.useRef(g(e,A)),d=l.useRef(e.records),y=f.useRef(null),m=!!e.skipFunctionDiff,h=l.useCallback((e=>u&&e.option?i&&e.records?{...e.option,records:e.records}:e.option:{records:e.records,...s.current,...a.current.optionFromChildren}),[u,i]),v=l.useCallback((e=>{let t;t="pivot-table"===e.type?new n.PivotTable(e.container,h(e)):"pivot-chart"===e.type?new n.PivotChart(e.container,h(e)):new n.ListTable(e.container,h(e)),a.current={...a.current,table:t}}),[h]),b=l.useCallback((()=>{D(a.current.table,e,y.current,I),c.current||(o(r+1),e.onReady&&e.onReady(a.current.table,0===r))}),[r,o,e]),_=l.useCallback((()=>{if(a.current.table){const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}}),[b,e]);return l.useEffect((()=>{if(!a.current?.table)return v(e),_(),D(a.current.table,e,null,I),a.current={...a.current,isChildrenUpdated:!1},void(y.current=e);if(u){if(S(y.current.option,e.option,{skipFunction:m})){if(i&&!S(y.current.records,e.records,{skipFunction:m})){y.current=e,a.current.table.setRecords(e.records);const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}}else{y.current=e,a.current.table.updateOption(h(e));const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}return}const t=g(e,A);if(!S(t,s.current,{skipFunction:m})||a.current.isChildrenUpdated){s.current=t,a.current.table.updateOption(h(e));const r=a.current.table.renderAsync().then(b);e.onError&&r.catch(e.onError)}else if(i&&!S(e.records,d.current,{skipFunction:m})){d.current=e.records,a.current.table.setRecords(e.records);const t=a.current.table.renderAsync().then(b);e.onError&&t.catch(e.onError)}a.current={...a.current,isChildrenUpdated:!1}}),[v,u,i,h,b,_,m,e]),l.useEffect((()=>()=>{a&&(a.current.table&&a.current.table.release(),a.current=null),c.current=!0}),[]),f.createElement(p.Provider,{value:a.current},$(e.children).map(((e,t)=>f.createElement(f.Fragment,{key:e?.props?.id??e?.id??`child-${t}`},f.cloneElement(e,{updateId:r})))))})),U=(e,t,r)=>{const n=function(e,t="TableContainer",r){const n=f.forwardRef(((t,n)=>{const o=l.useRef(),[a,u]=l.useState(!1),{className:i,style:c,width:s,...p}=t;return l.useLayoutEffect((()=>{u(!0)}),[]),f.createElement("div",{ref:o,className:i,style:{position:"relative",height:t.height||"100%",width:t.width||"100%",...c}},a?f.createElement(e,{ref:n,container:o.current,...r?r(p):p}):f.createElement(f.Fragment,null))}));return n.displayName=t||e.name,n}(F,e,(e=>(e.type=t,r?r(e):t?{...e,type:t}:e)));return n.displayName=e,n},V=U("ListTable","list-table"),H=U("PivotTable","pivot-table"),z=U("PivotChart","pivot-chart");const B=(e,t,r,n)=>{const o=["id","updateId"],a=r?Object.keys(r).concat(o):o,u=e=>{const o=l.useContext(p),u=f.useRef(m(e.id)?j(t):e.id),i=f.useRef(null),c=f.useRef(e.updateId),s=f.useRef();if(e.updateId!==c.current){c.current=e.updateId;!!r&&D(o.table,e,i.current,r)&&(i.current=e)}else{const r=g(e,a);S(r,s.current)||(s.current=r,Y(o,u.current,t,n,r))}return l.useEffect((()=>()=>{r&&D(o.table,null,i.current,r),K(o,u.current,t,n)}),[]),null};return u.displayName=e,u},Y=(e,t,r,n,o)=>{if(e.optionFromChildren){if(n)e.optionFromChildren[r]={...o};else{e.optionFromChildren[r]||(e.optionFromChildren[r]=[]);const n=e.optionFromChildren[r],a=n.findIndex((e=>e.id===t));a>=0?n[a]={id:t,...o}:e.optionFromChildren[r].push({id:t,...o})}e.isChildrenUpdated=!0}},K=(e,t,r,n)=>{if(e.optionFromChildren)if(n)e.optionFromChildren[r]=null;else{const n=e.optionFromChildren[r]??[],o=n.findIndex((e=>e.id===t));if(o>=0){const t=n.slice(0,o-1).concat(n.slice(o+1));e.optionFromChildren[r]=t,e.isChildrenUpdated=!0}}},q=B("ListColumn","columns"),W=B("PivotColumnDimension","columns"),G=B("PivotRowDimension","rows"),X=B("PivotIndicator","indicators"),Z=B("PivotColumnHeaderTitle","columnHeaderTitle",void 0,!0),J=B("PivotRowHeaderTitle","rowHeaderTitle",void 0,!0),Q=B("PivotCorner","corner",void 0,!0),ee=B("Menu","menu",void 0,!0),te=B("Tooltip","tooltip",void 0,!0);e.VTable=n,e.ListColumn=q,e.ListTable=V,e.Menu=ee,e.PivotChart=z,e.PivotColumnDimension=W,e.PivotColumnHeaderTitle=Z,e.PivotCorner=Q,e.PivotIndicator=X,e.PivotRowDimension=G,e.PivotRowHeaderTitle=J,e.PivotTable=H,e.Tooltip=te,e.registerChartModule=function(e,t){n.register.chartModule(e,t)}}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BaseComponentProps } from '../base-component';
|
|
2
|
-
import type {
|
|
3
|
-
export type
|
|
4
|
-
export
|
|
5
|
-
export declare const
|
|
2
|
+
import type { IRowDimension, IColumnDimension } from '@visactor/vtable';
|
|
3
|
+
export type RowPivotDimensionProps = IRowDimension & BaseComponentProps;
|
|
4
|
+
export type ColumnPivotDimensionProps = IColumnDimension & BaseComponentProps;
|
|
5
|
+
export declare const PivotColumnDimension: import("react").FC<any>;
|
|
6
|
+
export declare const PivotRowDimension: import("react").FC<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/pivot/pivot-dimension.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-dimension.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAA4B,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAyB,mBAAmB,EAAE,MAAM,CAAC,CAAC","file":"pivot-dimension.js","sourcesContent":["import type { BaseComponentProps } from '../base-component';\nimport { createComponent } from '../base-component';\nimport type { IRowDimension, IColumnDimension } from '@visactor/vtable';\n\nexport type RowPivotDimensionProps = IRowDimension & BaseComponentProps;\nexport type ColumnPivotDimensionProps = IColumnDimension & BaseComponentProps;\n\nexport const PivotColumnDimension = createComponent<ColumnPivotDimensionProps>('PivotColumnDimension', 'columns');\nexport const PivotRowDimension = createComponent<RowPivotDimensionProps>('PivotRowDimension', 'rows');\n"]}
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC","file":"index.js","sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,CAAC","file":"index.js","sourcesContent":["import * as VTable from '@visactor/vtable';\n\nexport * from './tables';\nexport * from './components';\nexport { VTable };\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ListTableConstructorOptions } from '@visactor/vtable';
|
|
3
3
|
import type { BaseTableProps } from './base-table';
|
|
4
|
-
export interface ListTableProps extends Omit<BaseTableProps, '
|
|
4
|
+
export interface ListTableProps extends Omit<BaseTableProps, 'records' | 'type'>, Omit<ListTableConstructorOptions, 'container'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const ListTable: React.ForwardRefExoticComponent<ListTableProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tables/list-table.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAA0C,WAAW,EAAE,YAAY,CAAC,CAAC","file":"list-table.js","sourcesContent":["import type React from 'react';\nimport type { ListTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface ListTableProps\n extends Omit<BaseTableProps, '
|
|
1
|
+
{"version":3,"sources":["tables/list-table.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAA0C,WAAW,EAAE,YAAY,CAAC,CAAC","file":"list-table.js","sourcesContent":["import type React from 'react';\nimport type { ListTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface ListTableProps\n extends Omit<BaseTableProps, 'records' | 'type'>,\n Omit<ListTableConstructorOptions, 'container'> {}\n\nexport const ListTable = createTable<React.PropsWithChildren<ListTableProps>>('ListTable', 'list-table');\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PivotChartConstructorOptions } from '@visactor/vtable';
|
|
3
3
|
import type { BaseTableProps } from './base-table';
|
|
4
|
-
export interface PivotChartProps extends Omit<BaseTableProps, '
|
|
4
|
+
export interface PivotChartProps extends Omit<BaseTableProps, 'records' | 'type'>, Omit<PivotChartConstructorOptions, 'container'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const PivotChart: React.ForwardRefExoticComponent<PivotChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tables/pivot-chart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAA2C,YAAY,EAAE,aAAa,CAAC,CAAC;AAE7G,MAAM,UAAU,mBAAmB,CAAC,IAAY,EAAE,KAAU;IAC1D,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC","file":"pivot-chart.js","sourcesContent":["import type React from 'react';\nimport * as VTable from '@visactor/vtable';\nimport type { PivotChartConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotChartProps\n extends Omit<BaseTableProps, '
|
|
1
|
+
{"version":3,"sources":["tables/pivot-chart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAA2C,YAAY,EAAE,aAAa,CAAC,CAAC;AAE7G,MAAM,UAAU,mBAAmB,CAAC,IAAY,EAAE,KAAU;IAC1D,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC","file":"pivot-chart.js","sourcesContent":["import type React from 'react';\nimport * as VTable from '@visactor/vtable';\nimport type { PivotChartConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotChartProps\n extends Omit<BaseTableProps, 'records' | 'type'>,\n Omit<PivotChartConstructorOptions, 'container'> {}\n\nexport const PivotChart = createTable<React.PropsWithChildren<PivotChartProps>>('PivotChart', 'pivot-chart');\n\nexport function registerChartModule(name: string, chart: any) {\n VTable.register.chartModule(name, chart);\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PivotTableConstructorOptions } from '@visactor/vtable';
|
|
3
3
|
import type { BaseTableProps } from './base-table';
|
|
4
|
-
export interface PivotTableProps extends Omit<BaseTableProps, '
|
|
4
|
+
export interface PivotTableProps extends Omit<BaseTableProps, 'records' | 'type'>, Omit<PivotTableConstructorOptions, 'container'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const PivotTable: React.ForwardRefExoticComponent<PivotTableProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tables/pivot-table.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAA2C,YAAY,EAAE,aAAa,CAAC,CAAC","file":"pivot-table.js","sourcesContent":["import type React from 'react';\nimport type { PivotTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotTableProps\n extends Omit<BaseTableProps, '
|
|
1
|
+
{"version":3,"sources":["tables/pivot-table.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAA2C,YAAY,EAAE,aAAa,CAAC,CAAC","file":"pivot-table.js","sourcesContent":["import type React from 'react';\nimport type { PivotTableConstructorOptions } from '@visactor/vtable';\nimport type { BaseTableProps } from './base-table';\nimport { createTable } from './base-table';\n\nexport interface PivotTableProps\n extends Omit<BaseTableProps, 'records' | 'type'>,\n Omit<PivotTableConstructorOptions, 'container'> {}\n\nexport const PivotTable = createTable<React.PropsWithChildren<PivotTableProps>>('PivotTable', 'pivot-table');\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/react-vtable",
|
|
3
|
-
"version": "0.15.4
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"description": "The react version of VTable",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@visactor/vtable": "0.15.4-alpha.0",
|
|
47
46
|
"@visactor/vutils": "~0.16.10",
|
|
48
|
-
"react-is": "^18.2.0"
|
|
47
|
+
"react-is": "^18.2.0",
|
|
48
|
+
"@visactor/vtable": "0.15.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@visactor/vchart": "1.7.1",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"axios": "^1.4.0",
|
|
90
90
|
"@types/react-is": "^17.0.3",
|
|
91
91
|
"@internal/bundler": "0.0.1",
|
|
92
|
-
"@internal/
|
|
93
|
-
"@internal/
|
|
92
|
+
"@internal/eslint-config": "0.0.1",
|
|
93
|
+
"@internal/ts-config": "0.0.1"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"start": "vite ./demo",
|