kdpa-components 1.29.2 → 1.29.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.
- package/package.json +3 -3
- package/dist/types/components/AdvancedList/KdpaAdvancedList.d.ts +0 -13
- package/dist/types/components/AdvancedList/KdpaAdvancedList.d.ts.map +0 -1
- package/dist/types/components/AdvancedList/KdpaAdvancedList.stories.d.ts +0 -7
- package/dist/types/components/AdvancedList/KdpaAdvancedList.stories.d.ts.map +0 -1
- package/dist/types/components/AdvancedList/index.d.ts +0 -2
- package/dist/types/components/AdvancedList/index.d.ts.map +0 -1
- package/dist/types/components/CodeEditor/KdpaCodeEditor.d.ts +0 -5
- package/dist/types/components/CodeEditor/KdpaCodeEditor.d.ts.map +0 -1
- package/dist/types/components/CodeEditor/KdpaCodeEditor.stories.d.ts +0 -8
- package/dist/types/components/CodeEditor/KdpaCodeEditor.stories.d.ts.map +0 -1
- package/dist/types/components/CodeEditor/index.d.ts +0 -3
- package/dist/types/components/CodeEditor/index.d.ts.map +0 -1
- package/dist/types/components/DataGrid/KdpaDataGrid.d.ts +0 -4
- package/dist/types/components/DataGrid/KdpaDataGrid.d.ts.map +0 -1
- package/dist/types/components/DataGrid/KdpaDataGrid.stories.d.ts +0 -7
- package/dist/types/components/DataGrid/KdpaDataGrid.stories.d.ts.map +0 -1
- package/dist/types/components/DataGrid/index.d.ts +0 -2
- package/dist/types/components/DataGrid/index.d.ts.map +0 -1
- package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts +0 -12
- package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts.map +0 -1
- package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts +0 -5
- package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts.map +0 -1
- package/dist/types/designerKit/utils/useTreeHelper.d.ts +0 -17
- package/dist/types/designerKit/utils/useTreeHelper.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kdpa-components",
|
|
3
|
-
"version": "1.29.
|
|
3
|
+
"version": "1.29.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/types/components/index.d.ts",
|
|
8
|
-
"style": "./dist/style.css",
|
|
9
8
|
"exports": {
|
|
10
|
-
".": "./dist/index.js"
|
|
9
|
+
".": "./dist/index.js",
|
|
10
|
+
"./dist/index.css": "./dist/index.css"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"dist/*"
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|