@corva/ui 0.92.0-14 → 0.92.0-16
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-bundle/components/FilesProcessor/FilesProcessor.js +1 -1
- package/components/FilesDropzone/FilesDropzone.d.ts +1 -2
- package/components/FilesDropzone/FilesDropzone.d.ts.map +1 -1
- package/components/FilesDropzone/FilesDropzone.stories.d.ts +1 -11
- package/components/FilesDropzone/FilesDropzone.stories.d.ts.map +1 -1
- package/components/FilesLoaderV2/FilesLoaderV2.d.ts +1 -2
- package/components/FilesLoaderV2/FilesLoaderV2.d.ts.map +1 -1
- package/components/FilesLoaderV2/FilesLoaderV2.stories.d.ts +1 -11
- package/components/FilesLoaderV2/FilesLoaderV2.stories.d.ts.map +1 -1
- package/components/FilesProcessor/FilesProcessor.d.ts +5 -7
- package/components/FilesProcessor/FilesProcessor.d.ts.map +1 -1
- package/components/FilesProcessor/FilesProcessor.js +1 -1
- package/components/FilesProcessor/FilesProcessor.stories.d.ts +3 -27
- package/components/FilesProcessor/FilesProcessor.stories.d.ts.map +1 -1
- package/components/FilesProcessor/Processor.d.ts +4 -5
- package/components/FilesProcessor/Processor.d.ts.map +1 -1
- package/components/FilesProcessor/index.d.ts +1 -0
- package/components/FilesProcessor/index.d.ts.map +1 -1
- package/components/index.d.ts +127 -193
- package/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),n=require("react"),s=require("../FilesDropzone/FilesDropzone.js");require("../../utils/index.js");var t=require("../FilesLoaderV2/FilesLoaderV2.js"),i=require("./styles.js"),u=require("classnames"),o=require("./Processor.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(u);exports.FilesProcessor=function(u){var a=u.multiple,c=u.accept,f=u.className,d=u.processFile,m=u.value,p=u.onDone,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),n=require("react"),s=require("../FilesDropzone/FilesDropzone.js");require("../../utils/index.js");var t=require("../FilesLoaderV2/FilesLoaderV2.js"),i=require("./styles.js"),u=require("classnames"),o=require("./Processor.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(u);exports.FilesProcessor=function(u){var a=u.multiple,c=u.accept,f=u.className,d=u.processFile,m=u.value,p=void 0===m?[]:m,v=u.onDone,_=u.onDelete,j=u.maxFiles,x=u.maxSize,g=u.formatProgress,F=i.useStyles(),q=n.useState([]),h=q[0],D=q[1];n.useEffect((function(){h.length>0&&h.every((function(e){return"success"in e}))&&h.some((function(e){return e.success}))&&(D((function(e){return e.filter((function(e){return!e.success}))})),v(h.filter((function(e){return e.success})).map((function(e){return e.data}))))}),[h]);var b=n.useCallback((function(e){D((function(r){return r.filter((function(r){return r.file!==e}))}))}),[]),y=n.useCallback((function(r){D((function(n){return n.map((function(n){return n.file===r.file?e.__assign(e.__assign({},n),{data:r.data,success:r.success}):n}))}))}),[]),z=n.useCallback((function(r){var n=r.map((function(e){return{file:e}}));D((function(r){return e.__spreadArray(e.__spreadArray([],r,!0),n,!0)}))}),[]);return r.jsxs("div",e.__assign({className:l.default(F.root,f)},{children:[(a||0===h.length&&0===(null==p?void 0:p.length))&&r.jsx(s.FilesDropzone,{multiple:a,onDrop:z,accept:c,maxFiles:j,maxSize:x}),(h.length>0||(null==p?void 0:p.length)>0)&&r.jsxs("div",e.__assign({className:F.files},{children:[h.map((function(e){return r.jsx(o.Processor,{processFile:d,onStatusChange:y,file:e.file,onDelete:b,formatProgress:g},"".concat(e.file.size,"|").concat(e.file.name))})),null==p?void 0:p.map((function(e){return r.jsx(t.FilesLoaderV2,{name:e.name,onDelete:_?function(){return _(e)}:void 0,total:0,current:0})}))]}))]}))};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropzoneOptions } from 'react-dropzone';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
declare type FilesDropzoneProps = {
|
|
3
|
+
export declare type FilesDropzoneProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Handles file drop
|
|
6
6
|
*/
|
|
@@ -37,5 +37,4 @@ declare type FilesDropzoneProps = {
|
|
|
37
37
|
disabled?: boolean;
|
|
38
38
|
};
|
|
39
39
|
export declare const FilesDropzone: (props: FilesDropzoneProps) => JSX.Element;
|
|
40
|
-
export {};
|
|
41
40
|
//# sourceMappingURL=FilesDropzone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesDropzone.d.ts","sourceRoot":"","sources":["../../../src/components/FilesDropzone/FilesDropzone.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAe,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQlC,
|
|
1
|
+
{"version":3,"file":"FilesDropzone.d.ts","sourceRoot":"","sources":["../../../src/components/FilesDropzone/FilesDropzone.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAe,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQlC,oBAAY,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IAEnC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,kBAAkB,gBAiEtD,CAAC"}
|
|
@@ -3,17 +3,7 @@ import { FilesDropzone } from './FilesDropzone';
|
|
|
3
3
|
export declare const Default: (props: ComponentProps<typeof FilesDropzone>) => JSX.Element;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: (props:
|
|
7
|
-
onDrop?: <T extends File>(acceptedFiles: T[], fileRejections: import("react-dropzone").FileRejection[], event: import("react-dropzone").DropEvent) => void;
|
|
8
|
-
children?: import("react").ReactNode;
|
|
9
|
-
multiple?: boolean;
|
|
10
|
-
accept?: string | string[];
|
|
11
|
-
maxFiles?: number;
|
|
12
|
-
maxSize?: number;
|
|
13
|
-
errorText?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
}) => JSX.Element;
|
|
6
|
+
component: (props: import("./FilesDropzone").FilesDropzoneProps) => JSX.Element;
|
|
17
7
|
argTypes: {};
|
|
18
8
|
args: {
|
|
19
9
|
onDrop: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesDropzone.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FilesDropzone/FilesDropzone.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,OAAO,UAAW,eAAe,oBAAoB,CAAC,gBAElE,CAAC
|
|
1
|
+
{"version":3,"file":"FilesDropzone.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FilesDropzone/FilesDropzone.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,OAAO,UAAW,eAAe,oBAAoB,CAAC,gBAElE,CAAC;;;;;;;;;;;;;;;;;AAEF,wBAcE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
declare type FilesLoaderV2Props = {
|
|
2
|
+
export declare type FilesLoaderV2Props = {
|
|
3
3
|
name: string;
|
|
4
4
|
/**
|
|
5
5
|
* Total progress value (bytes by default)
|
|
@@ -38,5 +38,4 @@ declare type FilesLoaderV2Props = {
|
|
|
38
38
|
className?: string;
|
|
39
39
|
};
|
|
40
40
|
export declare const FilesLoaderV2: (props: FilesLoaderV2Props) => JSX.Element;
|
|
41
|
-
export {};
|
|
42
41
|
//# sourceMappingURL=FilesLoaderV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesLoaderV2.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoaderV2/FilesLoaderV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWlC,
|
|
1
|
+
{"version":3,"file":"FilesLoaderV2.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoaderV2/FilesLoaderV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWlC,oBAAY,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,SAAS,CAAC;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,kBAAkB,gBAyEtD,CAAC"}
|
|
@@ -3,17 +3,7 @@ import { FilesLoaderV2 } from './FilesLoaderV2';
|
|
|
3
3
|
export declare const Default: (props: ComponentProps<typeof FilesLoaderV2>) => JSX.Element;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: (props:
|
|
7
|
-
name: string;
|
|
8
|
-
total?: number;
|
|
9
|
-
current?: number;
|
|
10
|
-
errorText?: string;
|
|
11
|
-
onDelete?: () => void;
|
|
12
|
-
onReload?: () => void;
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
formatProgress?: (total?: number, current?: number) => import("react").ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
}) => JSX.Element;
|
|
6
|
+
component: (props: import("./FilesLoaderV2").FilesLoaderV2Props) => JSX.Element;
|
|
17
7
|
argTypes: {
|
|
18
8
|
onCancel: {
|
|
19
9
|
options: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesLoaderV2.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoaderV2/FilesLoaderV2.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,OAAO,UAAW,eAAe,oBAAoB,CAAC,gBAElE,CAAC
|
|
1
|
+
{"version":3,"file":"FilesLoaderV2.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoaderV2/FilesLoaderV2.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,OAAO,UAAW,eAAe,oBAAoB,CAAC,gBAElE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOF,wBAkBE"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilesDropzoneProps } from '~/components/FilesDropzone';
|
|
3
3
|
import { FileProcessorFunction } from './types';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
declare type ProcessorProps = ComponentProps<typeof Processor>;
|
|
4
|
+
import { ProcessorProps } from '~/components/FilesProcessor/Processor';
|
|
5
|
+
export type { FileProcessorFunction };
|
|
7
6
|
declare type ValueItem = {
|
|
8
7
|
id: string | number;
|
|
9
8
|
name: string;
|
|
@@ -57,9 +56,8 @@ declare type FilesProcessorProps<T> = {
|
|
|
57
56
|
* @param total total progress value
|
|
58
57
|
* @param current current progress value
|
|
59
58
|
*/
|
|
60
|
-
formatProgress?: ProcessorProps['formatProgress'];
|
|
59
|
+
formatProgress?: ProcessorProps<any>['formatProgress'];
|
|
61
60
|
className?: string;
|
|
62
61
|
};
|
|
63
62
|
export declare const FilesProcessor: <T extends unknown>(props: FilesProcessorProps<T>) => JSX.Element;
|
|
64
|
-
export {};
|
|
65
63
|
//# sourceMappingURL=FilesProcessor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesProcessor.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/FilesProcessor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilesProcessor.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/FilesProcessor.tsx"],"names":[],"mappings":";AACA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAE/E,OAAO,EAAE,qBAAqB,EAAoB,MAAM,SAAS,CAAC;AAGlE,OAAO,EAAa,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAElF,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAEtC,aAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,aAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B;;;;;;;OAOG;IACH,WAAW,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAEtC;;;OAGG;IACH,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAE/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAExC;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAEvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAQF,eAAO,MAAM,cAAc,mEAyF1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e,__spreadArray as n}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as t}from"react/jsx-runtime";import{useState as o,useEffect as i,useCallback as s}from"react";import{FilesDropzone as u}from"../FilesDropzone/FilesDropzone.js";import"../../utils/index.js";import{FilesLoaderV2 as c}from"../FilesLoaderV2/FilesLoaderV2.js";import{useStyles as l}from"./styles.js";import a from"classnames";import{Processor as f}from"./Processor.js";var m=function(m){var p=m.multiple,d=m.accept,v=m.className,g=m.processFile,h=m.value,F=m.onDone,
|
|
1
|
+
import{__assign as e,__spreadArray as n}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as t}from"react/jsx-runtime";import{useState as o,useEffect as i,useCallback as s}from"react";import{FilesDropzone as u}from"../FilesDropzone/FilesDropzone.js";import"../../utils/index.js";import{FilesLoaderV2 as c}from"../FilesLoaderV2/FilesLoaderV2.js";import{useStyles as l}from"./styles.js";import a from"classnames";import{Processor as f}from"./Processor.js";var m=function(m){var p=m.multiple,d=m.accept,v=m.className,g=m.processFile,h=m.value,F=void 0===h?[]:h,j=m.onDone,x=m.onDelete,D=m.maxFiles,z=m.maxSize,N=m.formatProgress,P=l(),S=o([]),b=S[0],y=S[1];i((function(){b.length>0&&b.every((function(e){return"success"in e}))&&b.some((function(e){return e.success}))&&(y((function(e){return e.filter((function(e){return!e.success}))})),j(b.filter((function(e){return e.success})).map((function(e){return e.data}))))}),[b]);var L=s((function(e){y((function(n){return n.filter((function(n){return n.file!==e}))}))}),[]),V=s((function(n){y((function(r){return r.map((function(r){return r.file===n.file?e(e({},r),{data:n.data,success:n.success}):r}))}))}),[]),C=s((function(e){var r=e.map((function(e){return{file:e}}));y((function(e){return n(n([],e,!0),r,!0)}))}),[]);return r("div",e({className:a(P.root,v)},{children:[(p||0===b.length&&0===(null==F?void 0:F.length))&&t(u,{multiple:p,onDrop:C,accept:d,maxFiles:D,maxSize:z}),(b.length>0||(null==F?void 0:F.length)>0)&&r("div",e({className:P.files},{children:[b.map((function(e){return t(f,{processFile:g,onStatusChange:V,file:e.file,onDelete:L,formatProgress:N},"".concat(e.file.size,"|").concat(e.file.name))})),null==F?void 0:F.map((function(e){return t(c,{name:e.name,onDelete:x?function(){return x(e)}:void 0,total:0,current:0})}))]}))]}))};export{m as FilesProcessor};
|
|
@@ -1,31 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { FilesProcessor } from './FilesProcessor';
|
|
3
|
+
import { Meta } from '@storybook/react';
|
|
3
4
|
export declare const Default: (props: ComponentProps<typeof FilesProcessor>) => JSX.Element;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
component: <T extends unknown>(props: {
|
|
7
|
-
processFile: import("./types").FileProcessorFunction<T>;
|
|
8
|
-
onDone: (results: T[]) => void;
|
|
9
|
-
value?: {
|
|
10
|
-
id: string | number;
|
|
11
|
-
name: string;
|
|
12
|
-
}[];
|
|
13
|
-
onDelete?: (item: {
|
|
14
|
-
id: string | number;
|
|
15
|
-
name: string;
|
|
16
|
-
}) => void;
|
|
17
|
-
multiple?: boolean;
|
|
18
|
-
accept?: string | string[];
|
|
19
|
-
maxFiles?: number;
|
|
20
|
-
maxSize?: number;
|
|
21
|
-
formatProgress?: (total?: number, current?: number) => import("react").ReactNode;
|
|
22
|
-
className?: string;
|
|
23
|
-
}) => JSX.Element;
|
|
24
|
-
parameters: {
|
|
25
|
-
isGenerateImportExample: boolean;
|
|
26
|
-
sourceLink: string;
|
|
27
|
-
designLink: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default _default;
|
|
5
|
+
declare const meta: Meta<typeof FilesProcessor>;
|
|
6
|
+
export default meta;
|
|
31
7
|
//# sourceMappingURL=FilesProcessor.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesProcessor.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/FilesProcessor.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACjD,OAAO,
|
|
1
|
+
{"version":3,"file":"FilesProcessor.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/FilesProcessor.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACjD,OAAO,EAAyB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AA2BxC,eAAO,MAAM,OAAO,UAAW,eAAe,qBAAqB,CAAC,gBA+BnE,CAAC;AASF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAoBrC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilesLoaderV2Props } from '~/components/FilesLoaderV2';
|
|
3
3
|
import { FileProcessorFunction, ProcessingResult } from './types';
|
|
4
|
-
declare type ProcessorProps<T> = {
|
|
4
|
+
export declare type ProcessorProps<T> = {
|
|
5
5
|
processFile: FileProcessorFunction<T>;
|
|
6
6
|
onStatusChange: (result: ProcessingResult<T>) => void;
|
|
7
7
|
file: File;
|
|
8
8
|
onDelete: (file: File) => void;
|
|
9
|
-
formatProgress?:
|
|
9
|
+
formatProgress?: FilesLoaderV2Props['formatProgress'];
|
|
10
10
|
};
|
|
11
11
|
export declare const Processor: <T extends unknown>(props: ProcessorProps<T>) => JSX.Element;
|
|
12
|
-
export {};
|
|
13
12
|
//# sourceMappingURL=Processor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Processor.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/Processor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Processor.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/Processor.tsx"],"names":[],"mappings":";AACA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,oBAAY,cAAc,CAAC,CAAC,IAAI;IAC9B,WAAW,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IACtC,cAAc,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACtD,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,SAAS,8DAuGrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilesProcessor/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
|
package/components/index.d.ts
CHANGED
|
@@ -1,194 +1,128 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import {
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import {
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import Chip from
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import { FilesLoader } from
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import {
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import {
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import {
|
|
104
|
-
import
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import
|
|
112
|
-
import
|
|
113
|
-
import
|
|
114
|
-
import
|
|
115
|
-
import
|
|
116
|
-
import
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
import
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
import
|
|
124
|
-
import
|
|
125
|
-
import
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
import { PanButton } from "./Chart/components/buttons";
|
|
129
|
-
import { ParameterCharts } from "./ParameterCharts";
|
|
130
|
-
import PinnableFilters from "./PinnableFilters";
|
|
131
|
-
import PostInput from "./PostInput";
|
|
132
|
-
import { Popover } from "./Popover";
|
|
133
|
-
import { Popper } from "./Popper";
|
|
134
|
-
import PriceInput from "./PriceInput";
|
|
135
|
-
import { PrimaryAssetSelect } from "./AssetEditorV2/components";
|
|
136
|
-
import { RadioEditor } from "./SettingEditors";
|
|
137
|
-
import RangeSlider from "./RangeSlider";
|
|
138
|
-
import { AdvancedSlider } from "./AdvancedSlider";
|
|
139
|
-
import { RecentSearches } from "./Search/components";
|
|
140
|
-
import { ResetZoomButton } from "./Chart/components/buttons";
|
|
141
|
-
import { ResizableTable } from "./ResizableTable";
|
|
142
|
-
import { Search } from "./Search";
|
|
143
|
-
import SearchInput from "./SearchInput";
|
|
144
|
-
import { SecondaryAssetSelect } from "./AssetEditorV2/components";
|
|
145
|
-
import Select from "./Select";
|
|
146
|
-
import { SelectFilterBy } from "./Select/SelectFilterBy";
|
|
147
|
-
import { SideBar } from "./DevCenter";
|
|
148
|
-
import SingleAssetEditor from "./AssetEditor/SingleAssetEditor";
|
|
149
|
-
import { SlateFormattedText } from "./SlateFormattedText";
|
|
150
|
-
import { StatusBadge } from "./StatusBadge";
|
|
151
|
-
import { Step } from "./Stepper/Step/Step";
|
|
152
|
-
import { Stepper } from "./Stepper/Stepper";
|
|
153
|
-
import { StepsWrapper } from "./Stepper/StepsWrapper";
|
|
154
|
-
import { StyledDropdownEditor } from "./SettingEditors";
|
|
155
|
-
import StyledMenuItem from "./StyledMenuItem";
|
|
156
|
-
import SwitchControl from "./SwitchControl";
|
|
157
|
-
import { Tab } from "./Tabs";
|
|
158
|
-
import { TableSortLabel } from "./Table";
|
|
159
|
-
import { TableToolbar } from "./Table";
|
|
160
|
-
import { TableContainer } from "./Table";
|
|
161
|
-
import { TableCell } from "./Table";
|
|
162
|
-
import { TablePagination } from "./Table";
|
|
163
|
-
import { TablePaginationActions } from "./Table";
|
|
164
|
-
import { Tabs } from "./Tabs";
|
|
165
|
-
import TemplatePopover from "./Template/TemplatePopover";
|
|
166
|
-
import TemplateSharingDialog from "./Template/TemplateSharingDialog";
|
|
167
|
-
import TextField from "./TextField";
|
|
168
|
-
import TextLink from "./TextLink";
|
|
169
|
-
import Tooltip from "./Tooltip";
|
|
170
|
-
import { RemoveAppButton } from "./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components";
|
|
171
|
-
import { ScrollableTooltip } from "./Tooltip";
|
|
172
|
-
import TruncatedText from "./TruncatedText";
|
|
173
|
-
import { MiddleTruncatedText } from "./MiddleTruncatedText";
|
|
174
|
-
import * as Typography from "./Typography";
|
|
175
|
-
import { UniversalLink } from "./DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink";
|
|
176
|
-
import VirtualizedTable from "./VirtualizedTable";
|
|
177
|
-
import * as WellSummary from "./WellSummary";
|
|
178
|
-
import { slateFormattingTextUtils } from "./SlateFormattedText";
|
|
179
|
-
import { useAnnotationsDispatch } from "./Annotations";
|
|
180
|
-
import { useAnnotationsState } from "./Annotations";
|
|
181
|
-
import { useFeedItemEditProvider } from "./FeedItem/FeedItemEditProvider";
|
|
182
|
-
import { withUniversalLocationHOC } from "./DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC";
|
|
183
|
-
import { ZoomInButton } from "./Chart/components/buttons";
|
|
184
|
-
import { ZoomOutButton } from "./Chart/components/buttons";
|
|
185
|
-
import ColorPickerPalette from "./ColorPickerPalette";
|
|
186
|
-
import UserMention from "./UserMention";
|
|
187
|
-
import RealTimeSidebar from "./RealTimeValuesSidebar";
|
|
188
|
-
import EChartsWrapper from "./EChartsWrapper";
|
|
189
|
-
import AssetsMultipleSelector from "./AssetsMultipleSelector";
|
|
190
|
-
import { FilesLoaderV2 } from "./FilesLoaderV2/FilesLoaderV2";
|
|
191
|
-
import { FilesDropzone } from "./FilesDropzone/FilesDropzone";
|
|
192
|
-
import { FilesProcessor } from "./FilesProcessor/FilesProcessor";
|
|
193
|
-
export { AddCommentPopover, AddCommentPopup, AddEditTrack, AnchorsList, AnnotationsList, AnnotationsProvider, AppContext, AppFilterPanelLayout, AppIcon, AppHeader, AppSettingsAssetEditor, AppSettingsAssetEditorV2, AppSettingsDialog, AppSettingsPopover, AppSideBar, AppVersionsSelect, AppVersionsSelectView, AppsDataProvider, AssetEditorAutocomplete as SingleAssetEditorAutocomplete, AssetEditorAutocomplete, AssetStatusBadge, Attachment, Autocomplete, Avatar, AxisDropdown, BHAComponentDetail, BHAComponentIcon, BHAComponentsTable, BHAList, BHASchematic, BHATable, BHATile, BHATileIcon, BICOffsetPickerDialog, Breadcrumbs, Button, CasingComponentIcon, CasingTable, CasingTableV2, CasingTile, CasingTileIcon, ChartActionsList, ChartButtons, ChartButton, ChartSelect, ChartTypeButton, ChartWrapper, Checkbox, Chip, CollapsableSidebar, ColorEditor, ColorPicker, CommentIcon, ComparisonBar, ComparisonHeader, ComparisonRow, CopyToClipboard, Comment, CommentInput, CommentLoader, CommentsInfo, ConfirmationDialog, ContextMenuItem, Counter, CustomSelect, DatePicker, DateTimePicker, DevCenterAppContainer, DevCenterEmbeddedApp, DevCenterIsolatedApp, DevCenterIsolatedAppPage, DisabledSettingsMessage, DocumentViewer, DragToZoomButton, EditableItem, EditableItemWithBadge, Element, ElementsComparison, EmbeddedApp, EmojiIconButton, EmptyAppView, EmptyView, EmptyState, ErrorBoundary, FeedItem, FeedItemEditProvider, FileIcon, FilePreview, FileUploadIconButton, FilesLoader, FailedFileUploading, FolderMenuItem, FolderMenuItemWithLinks, GradientManager, GradientManagerWithStorage, GradientPicker, HeaderLayout, HelpCenter, HideAxesButton, IconButton, IconMenu, KeyboardDateTimePicker, LabelsCounter, LastAnnotation, Leaf, LiveButton, LiveButtonState, LoadingIndicator, MenuItem, Modal, MultipleAssetsToggle, MiddleTruncate, NavigationBar, NewDocumentViewer, Notifications, NotificationsContainer, ToastContainer, OffsetWellButton, OffsetWellPickerV2, OffsetWellPickerV3, OffsetWellChip, OffsetWellChipsContainer, OffsetWellPickerV4, OffsetWellMap, PadModeSelect, PadOffsetsPicker, PadOffsetsPickerV2, PaletteChromePicker, PanButton, ParameterCharts, PinnableFilters, PostInput, Popover, Popper, PriceInput, PrimaryAssetSelect, RadioEditor, RangeSlider, AdvancedSlider, RecentSearches, ResetZoomButton, ResizableTable, Search, SearchInput, SecondaryAssetSelect, Select, SelectFilterBy, SideBar, SingleAssetEditor, SlateFormattedText, StatusBadge, Step, Stepper, StepsWrapper, StyledDropdownEditor, StyledMenuItem, SwitchControl, Tab, TableSortLabel, TableToolbar, TableContainer, TableCell, TablePagination, TablePaginationActions, Tabs, TemplatePopover, TemplateSharingDialog, TextField, TextLink, Tooltip, RemoveAppButton, ScrollableTooltip, TruncatedText, MiddleTruncatedText, Typography, UniversalLink, VirtualizedTable, WellSummary, slateFormattingTextUtils, useAnnotationsDispatch, useAnnotationsState, useFeedItemEditProvider, withUniversalLocationHOC, ZoomInButton, ZoomOutButton, ColorPickerPalette, UserMention, RealTimeSidebar, EChartsWrapper, AssetsMultipleSelector, FilesLoaderV2, FilesDropzone, FilesProcessor };
|
|
1
|
+
import Modal from './Modal';
|
|
2
|
+
import IconMenu from './IconMenu';
|
|
3
|
+
import StyledMenuItem from './StyledMenuItem';
|
|
4
|
+
import AppIcon from './AppIcon';
|
|
5
|
+
import { AppFilterPanelLayout, AppHeader, AppsDataProvider, AppSettingsPopover, AppSideBar, DevCenterAppContainer, DevCenterIsolatedApp, DevCenterIsolatedAppPage, NavigationBar, SideBar, UniversalLink, withUniversalLocationHOC } from './DevCenter';
|
|
6
|
+
import AppContext from './DevCenter/AppContext';
|
|
7
|
+
import AppSettingsAssetEditor from './AssetEditor';
|
|
8
|
+
import AppSettingsAssetEditorV2 from './AssetEditorV2';
|
|
9
|
+
import AppVersionsSelect, { AppVersionsSelectView } from './AppVersionsSelect';
|
|
10
|
+
import LoadingIndicator from './LoadingIndicator';
|
|
11
|
+
import * as Typography from './Typography';
|
|
12
|
+
import RealTimeSidebar from './RealTimeValuesSidebar';
|
|
13
|
+
import CollapsableSidebar from './CollapsableSidebar';
|
|
14
|
+
import DateTimePicker from './DateTimePicker';
|
|
15
|
+
import DatePicker from './DatePicker';
|
|
16
|
+
import ErrorBoundary from './ErrorBoundary';
|
|
17
|
+
import { AnnotationsList, AnnotationsProvider, LastAnnotation, useAnnotationsDispatch, useAnnotationsState } from './Annotations';
|
|
18
|
+
import { Element, Leaf, SlateFormattedText, slateFormattingTextUtils } from './SlateFormattedText';
|
|
19
|
+
import EmptyState from './EmptyState';
|
|
20
|
+
import { AddEditTrack, ParameterCharts } from './ParameterCharts';
|
|
21
|
+
import ChartActionsList from './ChartActionsList';
|
|
22
|
+
import { CopyToClipboard } from './CopyToClipboard';
|
|
23
|
+
import AssetEditorAutocomplete from './AssetEditor/AssetEditorAutocomplete';
|
|
24
|
+
import SingleAssetEditor from './AssetEditor/SingleAssetEditor';
|
|
25
|
+
import { ColorEditor, RadioEditor, StyledDropdownEditor } from './SettingEditors';
|
|
26
|
+
import SwitchControl from './SwitchControl';
|
|
27
|
+
import ColorPicker from './ColorPicker';
|
|
28
|
+
import { AxisDropdown, ChartButton, ChartButtons, ChartSelect, ChartTypeButton, ChartWrapper, DragToZoomButton, HideAxesButton, PanButton, ResetZoomButton, ZoomInButton, ZoomOutButton } from './Chart/components';
|
|
29
|
+
import PaletteChromePicker from './ColorPicker/PaletteChromePicker';
|
|
30
|
+
import TruncatedText from './TruncatedText';
|
|
31
|
+
import { MiddleTruncatedText } from './MiddleTruncatedText';
|
|
32
|
+
import RangeSlider from './RangeSlider';
|
|
33
|
+
import { AdvancedSlider } from './AdvancedSlider';
|
|
34
|
+
import AppSettingsDialog from './DevCenter/DevCenterAppContainer/components/AppSettingsDialog';
|
|
35
|
+
import { RemoveAppButton } from './DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components';
|
|
36
|
+
import Breadcrumbs from './Breadcrumbs';
|
|
37
|
+
import VirtualizedTable from './VirtualizedTable';
|
|
38
|
+
import EmptyView from './EmptyView';
|
|
39
|
+
import EmptyAppView from './EmptyView/EmptyAppView';
|
|
40
|
+
import Button, { LiveButton, LiveButtonState } from './Button';
|
|
41
|
+
import ContextMenuItem from './ContextMenuItem';
|
|
42
|
+
import FolderMenuItem from './FolderMenuItem';
|
|
43
|
+
import { EditableItem, EditableItemWithBadge } from './EditableItem';
|
|
44
|
+
import Checkbox from './Checkbox';
|
|
45
|
+
import FolderMenuItemWithLinks from './FolderMenuItemWithLinks';
|
|
46
|
+
import IconButton from './IconButton';
|
|
47
|
+
import TextField from './TextField';
|
|
48
|
+
import Chip from './Chip';
|
|
49
|
+
import Counter from './Counter';
|
|
50
|
+
import AnchorsList from './AnchorsList';
|
|
51
|
+
import Select from './Select';
|
|
52
|
+
import { SelectFilterBy } from './Select/SelectFilterBy';
|
|
53
|
+
import CustomSelect from './CustomSelect';
|
|
54
|
+
import { Tab, Tabs } from './Tabs';
|
|
55
|
+
import { ResizableTable } from './ResizableTable';
|
|
56
|
+
import { GradientManager, GradientManagerWithStorage } from './GradientManager';
|
|
57
|
+
import { GradientPicker } from './GradientPicker';
|
|
58
|
+
import { BHAComponentDetail, BHAComponentIcon, BHAComponentsTable, BHAList, BHASchematic, BHATable, BHATile, BHATileIcon } from './Drillstring';
|
|
59
|
+
import { CasingComponentIcon, CasingTable, CasingTableV2, CasingTile, CasingTileIcon } from './Casing';
|
|
60
|
+
import { DisabledSettingsMessage } from './DisabledSettingsMessage';
|
|
61
|
+
import * as WellSummary from './WellSummary';
|
|
62
|
+
import BICOffsetPickerDialog from './BICOffsetPickerDialog';
|
|
63
|
+
import OffsetWellButton from './OffsetWellButton';
|
|
64
|
+
import OffsetWellPickerV2 from './OffsetWellPickerV2';
|
|
65
|
+
import OffsetWellPickerV3 from './OffsetWellPickerV3';
|
|
66
|
+
import { OffsetWellChip, OffsetWellChipsContainer } from './OffsetWellChips';
|
|
67
|
+
import OffsetWellPickerV4 from './OffsetWellPickerV4';
|
|
68
|
+
import OffsetWellMap from './OffsetWellMap';
|
|
69
|
+
import { Notifications, NotificationsContainer } from './Notifications';
|
|
70
|
+
import { ToastContainer } from './Toaster';
|
|
71
|
+
import ConfirmationDialog from './ConfirmationDialog';
|
|
72
|
+
import TextLink from './TextLink';
|
|
73
|
+
import Avatar from './Avatar';
|
|
74
|
+
import TemplatePopover from './Template/TemplatePopover';
|
|
75
|
+
import TemplateSharingDialog from './Template/TemplateSharingDialog';
|
|
76
|
+
import MenuItem from './MenuItem';
|
|
77
|
+
import MiddleTruncate from './MiddleTruncate';
|
|
78
|
+
import PadModeSelect from './PadModeSelect';
|
|
79
|
+
import PinnableFilters from './PinnableFilters';
|
|
80
|
+
import HeaderLayout from './HeaderLayout';
|
|
81
|
+
import * as PadOffsetsPicker from './PadOffsetsPicker';
|
|
82
|
+
import PadOffsetsPickerV2 from './PadOffsetsPickerV2';
|
|
83
|
+
import { TableCell, TableContainer, TablePagination, TablePaginationActions, TableSortLabel, TableToolbar } from './Table';
|
|
84
|
+
import Tooltip, { ScrollableTooltip } from './Tooltip';
|
|
85
|
+
import PriceInput from './PriceInput';
|
|
86
|
+
import LabelsCounter from './LabelsCounter';
|
|
87
|
+
import { Step, Stepper, StepsWrapper } from './Stepper';
|
|
88
|
+
import CommentIcon from './Comment/CommentIcon';
|
|
89
|
+
import { FilesLoader } from './FilesLoader';
|
|
90
|
+
import { FileIcon } from './FileIcon';
|
|
91
|
+
import SearchInput from './SearchInput';
|
|
92
|
+
import FeedItem from './FeedItem';
|
|
93
|
+
import { FeedItemEditProvider, useFeedItemEditProvider } from './FeedItem/FeedItemEditProvider';
|
|
94
|
+
import PostInput from './PostInput';
|
|
95
|
+
import KeyboardDateTimePicker from './KeyboardDateTimePicker';
|
|
96
|
+
import { AddCommentPopover, AddCommentPopup } from './AddComment';
|
|
97
|
+
import { ComparisonBar, ComparisonHeader, ComparisonRow, ElementsComparison } from './StageDesignVActual';
|
|
98
|
+
import { DevCenterEmbeddedApp, EmbeddedApp } from './EmbeddedApp';
|
|
99
|
+
import * as HelpCenter from './HelpCenter';
|
|
100
|
+
import Autocomplete from './Autocomplete';
|
|
101
|
+
import DocumentViewer from './DocumentViewer/DocumentViewer';
|
|
102
|
+
import { Popover } from './Popover';
|
|
103
|
+
import { Popper } from './Popper';
|
|
104
|
+
import ColorPickerPalette from './ColorPickerPalette';
|
|
105
|
+
import { Search } from './Search';
|
|
106
|
+
import { RecentSearches } from './Search/components';
|
|
107
|
+
import { StatusBadge } from './StatusBadge';
|
|
108
|
+
import Attachment from './Attachment';
|
|
109
|
+
import EmojiIconButton from './EmojiIconButton';
|
|
110
|
+
import FileUploadIconButton from './FileUploadIconButton';
|
|
111
|
+
import FilePreview from './FilePreview';
|
|
112
|
+
import FailedFileUploading from './FailedFileUploading';
|
|
113
|
+
import UserMention from './UserMention';
|
|
114
|
+
import CommentsInfo from './CommentsInfo';
|
|
115
|
+
import CommentInput from './CommentInput';
|
|
116
|
+
import Comment from './Comment';
|
|
117
|
+
import CommentLoader from './CommentLoader';
|
|
118
|
+
import { AssetStatusBadge } from './AssetNameLabel/AssetStatusBadge';
|
|
119
|
+
import { MultipleAssetsToggle, PrimaryAssetSelect, SecondaryAssetSelect } from './AssetEditorV2/components';
|
|
120
|
+
import EChartsWrapper from './EChartsWrapper';
|
|
121
|
+
import AssetsMultipleSelector from './AssetsMultipleSelector';
|
|
122
|
+
import { NewDocumentViewer } from './NewDocumentViewer';
|
|
123
|
+
import { FilesLoaderV2 } from './FilesLoaderV2';
|
|
124
|
+
import { FilesDropzone } from './FilesDropzone';
|
|
125
|
+
import { FilesProcessor, FileProcessorFunction } from './FilesProcessor';
|
|
126
|
+
export { AddCommentPopover, AddCommentPopup, AddEditTrack, AnchorsList, AnnotationsList, AnnotationsProvider, AppContext, AppFilterPanelLayout, AppIcon, AppHeader, AppSettingsAssetEditor, AppSettingsAssetEditorV2, AppSettingsDialog, AppSettingsPopover, AppSideBar, AppVersionsSelect, AppVersionsSelectView, AppsDataProvider, AssetEditorAutocomplete as SingleAssetEditorAutocomplete, AssetEditorAutocomplete, AssetStatusBadge, Attachment, Autocomplete, Avatar, AxisDropdown, BHAComponentDetail, BHAComponentIcon, BHAComponentsTable, BHAList, BHASchematic, BHATable, BHATile, BHATileIcon, BICOffsetPickerDialog, Breadcrumbs, Button, CasingComponentIcon, CasingTable, CasingTableV2, CasingTile, CasingTileIcon, ChartActionsList, ChartButtons, ChartButton, ChartSelect, ChartTypeButton, ChartWrapper, Checkbox, Chip, CollapsableSidebar, ColorEditor, ColorPicker, CommentIcon, ComparisonBar, ComparisonHeader, ComparisonRow, CopyToClipboard, Comment, CommentInput, CommentLoader, CommentsInfo, ConfirmationDialog, ContextMenuItem, Counter, CustomSelect, DatePicker, DateTimePicker, DevCenterAppContainer, DevCenterEmbeddedApp, DevCenterIsolatedApp, DevCenterIsolatedAppPage, DisabledSettingsMessage, DocumentViewer, DragToZoomButton, EditableItem, EditableItemWithBadge, Element, ElementsComparison, EmbeddedApp, EmojiIconButton, EmptyAppView, EmptyView, EmptyState, ErrorBoundary, FeedItem, FeedItemEditProvider, FileIcon, FilePreview, FileUploadIconButton, FilesLoader, FailedFileUploading, FolderMenuItem, FolderMenuItemWithLinks, GradientManager, GradientManagerWithStorage, GradientPicker, HeaderLayout, HelpCenter, HideAxesButton, IconButton, IconMenu, KeyboardDateTimePicker, LabelsCounter, LastAnnotation, Leaf, LiveButton, LiveButtonState, LoadingIndicator, MenuItem, Modal, MultipleAssetsToggle, MiddleTruncate, NavigationBar, NewDocumentViewer, Notifications, NotificationsContainer, ToastContainer, OffsetWellButton, OffsetWellPickerV2, OffsetWellPickerV3, OffsetWellChip, OffsetWellChipsContainer, OffsetWellPickerV4, OffsetWellMap, PadModeSelect, PadOffsetsPicker, PadOffsetsPickerV2, PaletteChromePicker, PanButton, ParameterCharts, PinnableFilters, PostInput, Popover, Popper, PriceInput, PrimaryAssetSelect, RadioEditor, RangeSlider, AdvancedSlider, RecentSearches, ResetZoomButton, ResizableTable, Search, SearchInput, SecondaryAssetSelect, Select, SelectFilterBy, SideBar, SingleAssetEditor, SlateFormattedText, StatusBadge, Step, Stepper, StepsWrapper, StyledDropdownEditor, StyledMenuItem, SwitchControl, Tab, TableSortLabel, TableToolbar, TableContainer, TableCell, TablePagination, TablePaginationActions, Tabs, TemplatePopover, TemplateSharingDialog, TextField, TextLink, Tooltip, RemoveAppButton, ScrollableTooltip, TruncatedText, MiddleTruncatedText, Typography, UniversalLink, VirtualizedTable, WellSummary, slateFormattingTextUtils, useAnnotationsDispatch, useAnnotationsState, useFeedItemEditProvider, withUniversalLocationHOC, ZoomInButton, ZoomOutButton, ColorPickerPalette, UserMention, RealTimeSidebar, EChartsWrapper, AssetsMultipleSelector, FilesLoaderV2, FilesDropzone, FilesProcessor, };
|
|
127
|
+
export type { FileProcessorFunction };
|
|
194
128
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,aAAa,EACb,OAAO,EACP,aAAa,EACb,wBAAwB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,sBAAsB,MAAM,eAAe,CAAC;AACnD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,O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