kdpa-components 1.40.10 → 1.40.11
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/dist/index.css +1 -1
- package/dist/index.js +89 -89
- package/dist/types/components/SweetAlerts/KdpaSweetAlertConfirm/KdpaSweetAlertConfirm.d.ts.map +1 -1
- package/dist/types/designerKit/components/Form/KdFormContainer/KdFormContainer.stories.d.ts.map +1 -1
- package/dist/types/designerKit/components/Form/KdFormField/KdFormField.d.ts.map +1 -1
- package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts +10 -0
- package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts +9 -0
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts +9 -0
- package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.d.ts +10 -0
- package/dist/types/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.d.ts +6 -0
- package/dist/types/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.d.ts.map +1 -0
- package/dist/types/designerKit/utils/fileUtils.d.ts +19 -0
- package/dist/types/designerKit/utils/fileUtils.d.ts.map +1 -0
- package/dist/types/designerKit/utils/typographyHelper.d.ts +5 -0
- package/dist/types/designerKit/utils/typographyHelper.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/types/components/SweetAlerts/KdpaSweetAlertConfirm/KdpaSweetAlertConfirm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdpaSweetAlertConfirm.d.ts","sourceRoot":"","sources":["../../../../../src/components/SweetAlerts/KdpaSweetAlertConfirm/KdpaSweetAlertConfirm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGjE,OAAO,gBAAgB,CAAC;AACxB,OAAO,wDAAwD,CAAC;AAChE,OAAO,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"KdpaSweetAlertConfirm.d.ts","sourceRoot":"","sources":["../../../../../src/components/SweetAlerts/KdpaSweetAlertConfirm/KdpaSweetAlertConfirm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGjE,OAAO,gBAAgB,CAAC;AACxB,OAAO,wDAAwD,CAAC;AAChE,OAAO,4DAA4D,CAAC;AAGpE,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,cAAc,CAAC,EAAE,GAAG,CAAC;CACtB;AAED,QAAA,MAAM,qBAAqB,WAAY,0BAA0B,kBAwFhE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
package/dist/types/designerKit/components/Form/KdFormContainer/KdFormContainer.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdFormContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormContainer/KdFormContainer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,iBAAiB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"KdFormContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormContainer/KdFormContainer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,iBAAiB,MAAM,mBAAmB,CAAC;AAKlD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AA+ChD,eAAO,MAAM,OAAO,EAAE,KAGrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdFormField.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormField/KdFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,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,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"KdFormField.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormField/KdFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,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,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAqClB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PanelWrapperProps {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
}
|
|
8
|
+
declare function PanelWrapper({ type, isOpen, children, onClose, ...props }: PanelWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default PanelWrapper;
|
|
10
|
+
//# sourceMappingURL=PanelWrapper.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeUploadHandler } from "../KdFileUploader/KdFileUploader";
|
|
2
|
+
interface DroppedFilesProps {
|
|
3
|
+
item: string;
|
|
4
|
+
onDelete: (item: string) => void;
|
|
5
|
+
uploadHandler?: TypeUploadHandler;
|
|
6
|
+
}
|
|
7
|
+
export default function DroppedFiles({ item, onDelete, uploadHandler, }: DroppedFilesProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=DroppedFiles.d.ts.map
|
package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map
ADDED
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeUploadHandler } from "./KdFileUploader";
|
|
2
|
+
interface UploadedItemsProps {
|
|
3
|
+
item: string;
|
|
4
|
+
onDelete: (item: string) => void;
|
|
5
|
+
uploadHandler?: TypeUploadHandler;
|
|
6
|
+
}
|
|
7
|
+
declare function UploadedItems({ item, uploadHandler, onDelete }: UploadedItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default UploadedItems;
|
|
9
|
+
//# sourceMappingURL=UploadedItems.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface KdUploadedFileProps {
|
|
2
|
+
sessionId: string;
|
|
3
|
+
fileName?: string;
|
|
4
|
+
onDelete: (session: string) => void;
|
|
5
|
+
smallUrl: string;
|
|
6
|
+
mediumUrl?: string;
|
|
7
|
+
largeUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export default function KdUploadedFile({ sessionId, fileName, onDelete, smallUrl, mediumUrl, largeUrl, }: KdUploadedFileProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=KdUploadedFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdUploadedFile.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CA+CrB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface KdUploadingFileProps {
|
|
2
|
+
progress: number;
|
|
3
|
+
}
|
|
4
|
+
export declare function CircularProgressWithLabel(props: any): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default function KdUploadingFile({ progress }: KdUploadingFileProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=KdUploadingFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdUploadingFile.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,2CAsBnD;AACD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CA2CzE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const fileExtension: {
|
|
2
|
+
image: string[];
|
|
3
|
+
text: string[];
|
|
4
|
+
video: string[];
|
|
5
|
+
compress: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const pathFile: {
|
|
8
|
+
streamPath: string;
|
|
9
|
+
thumbnailstreamPath: string;
|
|
10
|
+
tempPath: string;
|
|
11
|
+
thumbnailTempPath: string;
|
|
12
|
+
exportPath: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const pathServicesUpload: {
|
|
15
|
+
pathFileUpload: string;
|
|
16
|
+
pathForUploadCunk: string;
|
|
17
|
+
pathForGetFile: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=fileUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/fileUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;CAoCzB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypeMeta } from "../components/Typography/KdTypography";
|
|
3
|
+
export declare const typographyHelper: (value: React.ReactNode, meta: TypeMeta) => string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | null | undefined;
|
|
4
|
+
export declare const textWrapper: (text: string, maxLength?: number) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=typographyHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typographyHelper.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/typographyHelper.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAGjE,eAAO,MAAM,gBAAgB,UAAW,MAAM,SAAS,QAAQ,QAAQ,iIAiBtE,CAAC;AAOF,eAAO,MAAM,WAAW,SAAU,MAAM,cAAc,MAAM,4CAQ3D,CAAC"}
|