kdpa-components 1.42.2 → 1.42.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/index.css +2 -0
  2. package/dist/index.js +512 -257
  3. package/dist/types/components/Accordion/Temp.d.ts +3 -0
  4. package/dist/types/components/Accordion/Temp.d.ts.map +1 -0
  5. package/dist/types/components/AdvancedList/KdpaAdvancedList.d.ts +13 -0
  6. package/dist/types/components/AdvancedList/KdpaAdvancedList.d.ts.map +1 -0
  7. package/dist/types/components/AdvancedList/KdpaAdvancedList.stories.d.ts +7 -0
  8. package/dist/types/components/AdvancedList/KdpaAdvancedList.stories.d.ts.map +1 -0
  9. package/dist/types/components/AdvancedList/index.d.ts +2 -0
  10. package/dist/types/components/AdvancedList/index.d.ts.map +1 -0
  11. package/dist/types/components/CodeEditor/KdpaCodeEditor.d.ts +5 -0
  12. package/dist/types/components/CodeEditor/KdpaCodeEditor.d.ts.map +1 -0
  13. package/dist/types/components/CodeEditor/KdpaCodeEditor.stories.d.ts +8 -0
  14. package/dist/types/components/CodeEditor/KdpaCodeEditor.stories.d.ts.map +1 -0
  15. package/dist/types/components/CodeEditor/index.d.ts +3 -0
  16. package/dist/types/components/CodeEditor/index.d.ts.map +1 -0
  17. package/dist/types/components/DataGrid/KdpaDataGrid.d.ts +4 -0
  18. package/dist/types/components/DataGrid/KdpaDataGrid.d.ts.map +1 -0
  19. package/dist/types/components/DataGrid/KdpaDataGrid.stories.d.ts +7 -0
  20. package/dist/types/components/DataGrid/KdpaDataGrid.stories.d.ts.map +1 -0
  21. package/dist/types/components/DataGrid/index.d.ts +2 -0
  22. package/dist/types/components/DataGrid/index.d.ts.map +1 -0
  23. package/dist/types/designerKit/components/Alert/Temp.d.ts +3 -0
  24. package/dist/types/designerKit/components/Alert/Temp.d.ts.map +1 -0
  25. package/dist/types/designerKit/components/Form/KdFormContainer/Temp.d.ts +3 -0
  26. package/dist/types/designerKit/components/Form/KdFormContainer/Temp.d.ts.map +1 -0
  27. package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts +12 -0
  28. package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts.map +1 -0
  29. package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts +1 -1
  30. package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts.map +1 -1
  31. package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts +5 -0
  32. package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts.map +1 -0
  33. package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map +1 -1
  34. package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts +9 -0
  35. package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts.map +1 -0
  36. package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts.map +1 -1
  37. package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts +53 -0
  38. package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts.map +1 -0
  39. package/dist/types/designerKit/utils/useTreeHelper.d.ts +17 -0
  40. package/dist/types/designerKit/utils/useTreeHelper.d.ts.map +1 -0
  41. package/package.json +1 -1
  42. package/dist/dist.rar +0 -0
@@ -0,0 +1,3 @@
1
+ declare const Abjkayunstablekhatahay: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Abjkayunstablekhatahay;
3
+ //# sourceMappingURL=Temp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Temp.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/Temp.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,sBAAsB,+CAgF3B,CAAC;AACF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import "./kdpaAdvancedList.scss";
2
+ interface KdpaAdvancedListProps {
3
+ components: any;
4
+ pagination: any;
5
+ loading?: boolean;
6
+ selection: any;
7
+ ordering: any;
8
+ columns: any;
9
+ rows: any;
10
+ }
11
+ declare const KdpaAdvancedList: ({ components, pagination, selection, ordering, loading, columns, rows, ...rest }: KdpaAdvancedListProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default KdpaAdvancedList;
13
+ //# sourceMappingURL=KdpaAdvancedList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaAdvancedList.d.ts","sourceRoot":"","sources":["../../../../src/components/AdvancedList/KdpaAdvancedList.tsx"],"names":[],"mappings":"AAOA,OAAO,yBAAyB,CAAC;AAsCjC,UAAU,qBAAqB;IAC7B,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,GAAG,CAAC;CACX;AAED,QAAA,MAAM,gBAAgB,qFASnB,qBAAqB,4CAoEvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import KdpaAdvancedList from "./KdpaAdvancedList";
3
+ declare const meta: Meta<typeof KdpaAdvancedList>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof KdpaAdvancedList>;
6
+ export declare const Primary: Story;
7
+ //# sourceMappingURL=KdpaAdvancedList.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaAdvancedList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AdvancedList/KdpaAdvancedList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAIlD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAGvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AA0D/C,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as KdpaAdvancedList } from "./KdpaAdvancedList";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AdvancedList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { EditorProps } from "@monaco-editor/react";
2
+ export type KdpaCodeEditorProps = EditorProps;
3
+ declare function KdpaCodeEditor(props: KdpaCodeEditorProps): import("react/jsx-runtime").JSX.Element;
4
+ export default KdpaCodeEditor;
5
+ //# sourceMappingURL=KdpaCodeEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaCodeEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/KdpaCodeEditor.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC;AAE9C,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMjD;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import KdpaCodeEditor from "./KdpaCodeEditor";
3
+ declare const meta: Meta<typeof KdpaCodeEditor>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof KdpaCodeEditor>;
6
+ export declare const Primary: Story;
7
+ export declare const Secondary: Story;
8
+ //# sourceMappingURL=KdpaCodeEditor.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaCodeEditor.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/KdpaCodeEditor.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAGrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as KdpaCodeEditor } from "./KdpaCodeEditor";
2
+ export type { KdpaCodeEditorProps } from "./KdpaCodeEditor";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import "./DataGrid.scss";
2
+ declare function KdpaDataGrid(props: any): import("react/jsx-runtime").JSX.Element;
3
+ export default KdpaDataGrid;
4
+ //# sourceMappingURL=KdpaDataGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaDataGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/KdpaDataGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,CAAC;AAEzB,iBAAS,YAAY,CAAC,KAAK,EAAE,GAAG,2CAE/B;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import KdpaDataGrid from "./KdpaDataGrid";
3
+ declare const meta: Meta<typeof KdpaDataGrid>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof KdpaDataGrid>;
6
+ export declare const Primary: Story;
7
+ //# sourceMappingURL=KdpaDataGrid.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaDataGrid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/KdpaDataGrid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAInC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAwE3C,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as KdpaDataGrid } from "./KdpaDataGrid";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const Sovovovoka: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default Sovovovoka;
3
+ //# sourceMappingURL=Temp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Temp.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Alert/Temp.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU,yDA2Gf,CAAC;AACF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const Idariatest: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default Idariatest;
3
+ //# sourceMappingURL=Temp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Temp.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormContainer/Temp.tsx"],"names":[],"mappings":"AA4BA,QAAA,MAAM,UAAU,yDAiMf,CAAC;AACF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ export interface KdFormFieldProps {
3
+ name: string;
4
+ rules?: any;
5
+ Component: React.ElementType;
6
+ autoComplete?: boolean;
7
+ onChange?: (e: unknown) => void;
8
+ [x: string]: any;
9
+ }
10
+ declare function KdpaFormField({ name, rules, Component, ...props }: KdFormFieldProps): import("react/jsx-runtime").JSX.Element;
11
+ export default KdpaFormField;
12
+ //# sourceMappingURL=KdpaFormField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdpaFormField.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormField/KdpaFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,MAAM,GAAI,GAAG,CAAA;CAClB;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA6BlB;AAED,eAAe,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- interface PanelWrapperProps {
2
+ export interface PanelWrapperProps {
3
3
  isOpen?: boolean;
4
4
  children: React.ReactNode;
5
5
  onClose: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PanelWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/GridPanel/PanelWrapper.tsx"],"names":[],"mappings":";AAGA,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,YAAY,CAAC,EAAE,IAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAehG;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"PanelWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/GridPanel/PanelWrapper.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,YAAY,CAAC,EAAE,IAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAehG;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const useKdTreeHelper: () => {
2
+ renderTreeCheckBox: (data: unknown[], valueField: string, labelField: string, parentField: string, iconField?: string) => any[];
3
+ buildTree: (flatTree?: never[], parent?: undefined) => any[];
4
+ };
5
+ //# sourceMappingURL=useKdTreeHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKdTreeHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tree/useKdTreeHelper.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;+BAElB,OAAO,EAAE,cACH,MAAM,cACN,MAAM,eACL,MAAM,cACP,MAAM;;CAmCrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DroppedFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,aAAa,GACd,EAAE,iBAAiB,2CA0DnB"}
1
+ {"version":3,"file":"DroppedFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,aAAa,GACd,EAAE,iBAAiB,2CA8DnB"}
@@ -0,0 +1,9 @@
1
+ import { TypeUploadHandler } from "../KdFileUploader/KdFileUploader";
2
+ interface DroppedFilesProps {
3
+ item: any;
4
+ uploadHandler?: TypeUploadHandler;
5
+ }
6
+ export declare function CircularProgressWithLabel(props: any): import("react/jsx-runtime").JSX.Element;
7
+ export default function DroppingFiles({ item }: DroppedFilesProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=DroppingFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DroppingFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,UAAU,iBAAiB;IACzB,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,2CAsBnD;AACD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB,2CA2ChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"UploadedItems.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdFileUploader/UploadedItems.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,iBAAS,aAAa,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA0D3E;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"UploadedItems.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdFileUploader/UploadedItems.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,iBAAS,aAAa,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA8D3E;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,53 @@
1
+ export type TypeAcceptUploader = {
2
+ image?: string[] | "ALL";
3
+ video?: string[] | "ALL";
4
+ text?: string[] | "ALL";
5
+ compress?: string[] | "ALL";
6
+ };
7
+ export declare const fileExtension: {
8
+ image: string[];
9
+ text: string[];
10
+ video: string[];
11
+ compress: string[];
12
+ };
13
+ export declare const pathFile: {
14
+ streamPath: string;
15
+ thumbnailstreamPath: string;
16
+ tempPath: string;
17
+ thumbnailTempPath: string;
18
+ };
19
+ export interface KdUseFileUploadType {
20
+ APIURL?: string;
21
+ UPLOAD_REST_URL?: string;
22
+ sessionId?: string;
23
+ fileSizeLimit: number;
24
+ fileCountLimit: number;
25
+ validUploadType: string[];
26
+ }
27
+ declare function KdUseFileUpload({ APIURL, UPLOAD_REST_URL, sessionId, fileSizeLimit, fileCountLimit, validUploadType, }: KdUseFileUploadType): {
28
+ APIURL: string;
29
+ UPLOAD_REST_URL: string;
30
+ uploadingFiles: {
31
+ session?: string | undefined;
32
+ progress: number;
33
+ type: string;
34
+ file: File;
35
+ }[];
36
+ files: {
37
+ session: string;
38
+ progress?: number | undefined;
39
+ type?: string | undefined;
40
+ fileURL?: string | undefined;
41
+ file?: File | undefined;
42
+ }[];
43
+ removeFile: (session: string) => void;
44
+ handleFileChange: (e: React.ChangeEvent<HTMLInputElement>, internalValidUploadType: TypeAcceptUploader) => Promise<void>;
45
+ fileExtension: {
46
+ image: string[];
47
+ text: string[];
48
+ video: string[];
49
+ compress: string[];
50
+ };
51
+ };
52
+ export default KdUseFileUpload;
53
+ //# sourceMappingURL=KdUseFileUpload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdUseFileUpload.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;CAoCzB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAC;AAsCF,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,iBAAS,eAAe,CAAC,EACvB,MAA2C,EAC3C,eAAyD,EACzD,SAAmD,EACnD,aAAiB,EACjB,cAAmB,EACnB,eAAsD,GACvD,EAAE,mBAAmB;;;;;kBAaN,MAAM;cACV,MAAM;cACN,IAAI;;;iBAZD,MAAM;;;;;;0BAqBU,MAAM;0BAe9B,MAAM,WAAW,CAAC,gBAAgB,CAAC,2BACb,kBAAkB;;;;;;;EA6O9C;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,17 @@
1
+ export interface RenderTreeType {
2
+ label: JSX.Element;
3
+ value: string;
4
+ parent?: string;
5
+ }
6
+ export interface BuildTreeType {
7
+ label: JSX.Element;
8
+ value: string;
9
+ parent?: string;
10
+ children?: RenderTreeType[];
11
+ }
12
+ export declare const useTreeHelper: () => {
13
+ renderTreeToSpecificFieldName: (data: unknown[], valueField: string, labelField: string, parentField: string, iconField?: string) => RenderTreeType[];
14
+ buildTree: (flatTree?: RenderTreeType[], parent?: undefined) => BuildTreeType[];
15
+ findAllExpanded: (nodes: RenderTreeType[], nodeValue?: string) => string[];
16
+ };
17
+ //# sourceMappingURL=useTreeHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTreeHelper.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/useTreeHelper.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa;0CAEhB,OAAO,EAAE,cACH,MAAM,cACN,MAAM,eACL,MAAM,cACP,MAAM;2BAmBS,cAAc,EAAE;6BAgBb,cAAc,EAAE,cAAc,MAAM;CAYrE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kdpa-components",
3
- "version": "1.42.2",
3
+ "version": "1.42.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/dist/dist.rar DELETED
Binary file