kdpa-components 1.46.6 → 1.47.0
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 +2 -2
- package/dist/index.js +667 -428
- package/dist/types/components/Accordion/KdpaAccordions.d.ts.map +1 -1
- package/dist/types/components/Avatar/KdpaAvatar.d.ts.map +1 -1
- package/dist/types/components/CopyToClipboard/KdpaCopyToClipboard.d.ts.map +1 -1
- package/dist/types/components/FormControl/KdpaFormControl/KdpaFormControl.d.ts.map +1 -1
- package/dist/types/components/FormControl/KdpaFormLabel/KdpaFormLabel.d.ts.map +1 -1
- package/dist/types/components/Input/KdpaInput/KdpaInput.d.ts +15 -15
- package/dist/types/components/Input/KdpaInput/KdpaInput.d.ts.map +1 -1
- package/dist/types/components/LazyDrop/KdpaLazyDrop.d.ts +2 -1
- package/dist/types/components/LazyDrop/KdpaLazyDrop.d.ts.map +1 -1
- package/dist/types/components/Loading/KdpaInlineSpinner/KdpaInlineSpinner.d.ts.map +1 -1
- package/dist/types/components/Loading/KdpaProgress/KdpaCircularProgress.d.ts.map +1 -1
- package/dist/types/components/Loading/KdpaSkeleton/KdpaSkeleton.d.ts.map +1 -1
- package/dist/types/components/Modal/KdpaModalImage/KdpaModalImage.d.ts.map +1 -1
- package/dist/types/components/Selects/KdpaSelect/KdpaSelect.d.ts.map +1 -1
- package/dist/types/components/Slider/KdpaSlider.d.ts.map +1 -1
- package/dist/types/components/SweetAlerts/KdpaSweetAlertConfirm/KdpaSweetAlertConfirm.d.ts.map +1 -1
- package/dist/types/components/SweetAlerts/KdpaSweetAlertDelete/KdpaSweetAlertDelete.d.ts +0 -1
- package/dist/types/components/SweetAlerts/KdpaSweetAlertDelete/KdpaSweetAlertDelete.d.ts.map +1 -1
- package/dist/types/components/SweetAlerts/KdpaSweetAlertOK/KdpaSweetAlertOK.d.ts +0 -1
- package/dist/types/components/SweetAlerts/KdpaSweetAlertOK/KdpaSweetAlertOK.d.ts.map +1 -1
- package/dist/types/components/ThemeProvider/KdpaRtlProvider.d.ts +0 -1
- package/dist/types/components/ThemeProvider/KdpaRtlProvider.d.ts.map +1 -1
- package/dist/types/components/ThemeProvider/KdpaThemeProvider.d.ts +0 -1
- package/dist/types/components/ThemeProvider/KdpaThemeProvider.d.ts.map +1 -1
- package/dist/types/components/Tooltips/KdpaTooltip.d.ts.map +1 -1
- package/dist/types/components/Transitions/KdpaCollapse/KdpaCollapse.d.ts.map +1 -1
- package/dist/types/components/Transitions/KdpaGrow/KdpaGrow.d.ts.map +1 -1
- package/dist/types/components/Transitions/KdpaSlide/KdpaSlide.d.ts.map +1 -1
- package/dist/types/components/Transitions/KdpaZoom/KdpaZoom.d.ts.map +1 -1
- package/dist/types/components/Typography/KdpaTypography.d.ts.map +1 -1
- package/dist/types/config/Theme.d.ts +0 -1
- package/dist/types/config/Theme.d.ts.map +1 -1
- package/dist/types/designerKit/components/Accordion/KdAccordion.d.ts +10 -0
- package/dist/types/designerKit/components/Accordion/KdAccordion.d.ts.map +1 -0
- package/dist/types/designerKit/components/Accordion/KdAccordion.stories.d.ts +7 -0
- package/dist/types/designerKit/components/Accordion/KdAccordion.stories.d.ts.map +1 -0
- package/dist/types/designerKit/components/Accordion/KdAlert.test.d.ts +2 -0
- package/dist/types/designerKit/components/Accordion/KdAlert.test.d.ts.map +1 -0
- package/dist/types/designerKit/components/Accordion/index.d.ts +3 -0
- package/dist/types/designerKit/components/Accordion/index.d.ts.map +1 -0
- package/dist/types/designerKit/components/Chart/KdChart/KdChart.d.ts.map +1 -1
- package/dist/types/designerKit/components/Chart/KdChart2D/KdChart2D.d.ts.map +1 -1
- package/dist/types/designerKit/components/Chart/KdChart3D/KdChart3D.d.ts.map +1 -1
- package/dist/types/designerKit/components/Chart/KdChart3D/KdChart3DHelper.d.ts.map +1 -1
- package/dist/types/designerKit/components/Drawer/KdDrawer.d.ts +0 -1
- package/dist/types/designerKit/components/Drawer/KdDrawer.d.ts.map +1 -1
- package/dist/types/designerKit/components/FileViewer/KdFileViewer.d.ts.map +1 -1
- package/dist/types/designerKit/components/Form/KdTreeField/useTreeFieldHelper.d.ts +4 -5
- package/dist/types/designerKit/components/Form/KdTreeField/useTreeFieldHelper.d.ts.map +1 -1
- package/dist/types/designerKit/components/GridPanel/KdGridPanel.d.ts +0 -1
- package/dist/types/designerKit/components/GridPanel/KdGridPanel.d.ts.map +1 -1
- package/dist/types/designerKit/components/GridPanel/KdPanelWrapper.d.ts +0 -1
- package/dist/types/designerKit/components/GridPanel/KdPanelWrapper.d.ts.map +1 -1
- package/dist/types/designerKit/components/HTMLEditor/KdHTMLEditor.d.ts.map +1 -1
- package/dist/types/designerKit/components/ImageBox/KdImageBox.d.ts.map +1 -1
- package/dist/types/designerKit/components/LanguageChange/KdLanguageChange.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/BarLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/BarLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/BeatLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/BeatLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/CircleLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/CircleLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/ClipLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/ClipLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/ClockLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/ClockLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/DotLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/DotLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/FadeLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/FadeLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/GridLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/GridLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/MoonLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/MoonLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/PuffLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/PuffLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/PulseLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/PulseLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/RingLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/RingLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/ScaleLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/ScaleLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/SyncLoader.d.ts +0 -1
- package/dist/types/designerKit/components/Loading/components/SyncLoader.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/helpers/animation.d.ts.map +1 -1
- package/dist/types/designerKit/components/Loading/components/helpers/colors.d.ts.map +1 -1
- package/dist/types/designerKit/components/Menubar/KdMenubar.d.ts.map +1 -1
- package/dist/types/designerKit/components/Menubar/useMenubarHelper.d.ts +5 -5
- package/dist/types/designerKit/components/Menubar/useMenubarHelper.d.ts.map +1 -1
- package/dist/types/designerKit/components/Stepper/StepTrigger/KdStepTrigger.d.ts +0 -1
- package/dist/types/designerKit/components/Stepper/StepTrigger/KdStepTrigger.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tabs/KdTabs.d.ts +0 -1
- package/dist/types/designerKit/components/Tabs/KdTabs.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tabs/TabsContent/KdTabsContent.d.ts +0 -1
- package/dist/types/designerKit/components/Tabs/TabsContent/KdTabsContent.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tabs/TabsList/KdTabsList.d.ts +0 -1
- package/dist/types/designerKit/components/Tabs/TabsList/KdTabsList.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tabs/TabsRoot/KdTabsRoot.d.ts +0 -1
- package/dist/types/designerKit/components/Tabs/TabsRoot/KdTabsRoot.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tabs/TabsTrigger/KdTabsTrigger.d.ts +0 -1
- package/dist/types/designerKit/components/Tabs/TabsTrigger/KdTabsTrigger.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tooltips/KdTooltip.d.ts.map +1 -1
- package/dist/types/designerKit/components/Tree/useTreeHelper.d.ts +9 -10
- package/dist/types/designerKit/components/Tree/useTreeHelper.d.ts.map +1 -1
- package/dist/types/designerKit/components/Typography/KdTypography.d.ts.map +1 -1
- package/dist/types/designerKit/components/Typography/typographyHelper.d.ts +0 -1
- package/dist/types/designerKit/components/Typography/typographyHelper.d.ts.map +1 -1
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/KdAdvanceFileUploader.d.ts.map +1 -1
- package/dist/types/designerKit/components/index.d.ts +1 -0
- package/dist/types/designerKit/components/index.d.ts.map +1 -1
- package/dist/types/designerKit/hooks/useFileUpload.d.ts +7 -7
- package/dist/types/designerKit/hooks/useFileUpload.d.ts.map +1 -1
- package/dist/types/designerKit/utils/sharedUtils.d.ts +1 -1
- package/dist/types/designerKit/utils/sharedUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScaleLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Loading/components/ScaleLoader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScaleLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Loading/components/ScaleLoader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AASxD,iBAAS,WAAW,CAAC,EACnB,OAAc,EACd,KAAiB,EACjB,eAAmB,EACnB,WAAgB,EAChB,IAAS,EACT,MAAU,EACV,GAAG,eAAe,EACnB,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAgC5C;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LoaderSizeMarginProps } from "./helpers/props";
|
|
3
2
|
declare function SyncLoader({ loading, color, speedMultiplier, cssOverride, size, margin, ...additionalprops }: LoaderSizeMarginProps): JSX.Element | null;
|
|
4
3
|
export default SyncLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SyncLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Loading/components/SyncLoader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SyncLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Loading/components/SyncLoader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAYxD,iBAAS,UAAU,CAAC,EAClB,OAAc,EACd,KAAiB,EACjB,eAAmB,EACnB,WAAgB,EAChB,IAAS,EACT,MAAU,EACV,GAAG,eAAe,EACnB,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CA8B5C;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/Loading/components/helpers/animation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/Loading/components/helpers/animation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,EAAE,QAAQ,MAAM,EAAE,QAAQ,MAAM,KAAG,MAsBpF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/Loading/components/helpers/colors.ts"],"names":[],"mappings":"AA2CA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/Loading/components/helpers/colors.ts"],"names":[],"mappings":"AA2CA,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,KAAG,MAyB9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdMenubar.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Menubar/KdMenubar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,kBAAkB,CAAC;AAG1B,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACrD,cAAc,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACrD,eAAe,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACtD,gBAAgB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACvD,qBAAqB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAC7D,aAAa,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"KdMenubar.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Menubar/KdMenubar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,kBAAkB,CAAC;AAG1B,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACrD,cAAc,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACrD,eAAe,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACtD,gBAAgB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACvD,qBAAqB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAC7D,aAAa,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,SAAS,GAAI,+JAYhB,cAAc,4CAgHhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -16,11 +16,11 @@ export interface BuildMenubarType {
|
|
|
16
16
|
export declare const useMenubarHelper: () => {
|
|
17
17
|
renderMenubarToSpecificFieldName: ({ data, getOptionLabel, getOptionValue, getOptionParent, getOptionNavlink, getOptionExternalLink, }: {
|
|
18
18
|
data: unknown[];
|
|
19
|
-
getOptionLabel?: (
|
|
20
|
-
getOptionValue?: (
|
|
21
|
-
getOptionParent?: (
|
|
22
|
-
getOptionNavlink?: (
|
|
23
|
-
getOptionExternalLink?: (
|
|
19
|
+
getOptionLabel?: (data: any) => string;
|
|
20
|
+
getOptionValue?: (data: any) => string;
|
|
21
|
+
getOptionParent?: (data: any) => string;
|
|
22
|
+
getOptionNavlink?: (data: any) => string;
|
|
23
|
+
getOptionExternalLink?: (data: any) => boolean;
|
|
24
24
|
}) => RenderMenubarType[];
|
|
25
25
|
buildMenubar: (flatMenubar?: RenderMenubarType[], parent?: string) => BuildMenubarType[];
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenubarHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Menubar/useMenubarHelper.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"useMenubarHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Menubar/useMenubarHelper.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,gBAAgB;4IAQxB;QACD,IAAI,EAAE,OAAO,EAAE,CAAC;QAChB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACvC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACvC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACxC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACzC,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;KAChD;iCAiBc,iBAAiB,EAAE,WACvB,MAAM;CAmBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdStepTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepTrigger/KdStepTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdStepTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepTrigger/KdStepTrigger.tsx"],"names":[],"mappings":"AACA,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAC9B,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,KAAK,EACL,WAAe,EACf,cAAc,EACd,UAAiB,EACjB,IAAI,EACJ,aAAa,EACb,UAAU,EACV,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkCpB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTabs.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tabs/KdTabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdTabs.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tabs/KdTabs.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;QAClB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;QACnB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;QACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AACD,QAAA,MAAM,MAAM,GAAI,+BAA+B,WAAW,4CA+BzD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTabsContent.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsContent/KdTabsContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdTabsContent.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsContent/KdTabsContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,sBAAsB,CAAC;AAM9B,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AACD,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAMhE;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTabsList.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsList/KdTabsList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdTabsList.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsList/KdTabsList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,6CAA6C,CAAC;AACrD,OAAO,mBAAmB,CAAC;AAM3B,MAAM,WAAW,eAAgB,SAAQ,aAAa;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAQ1D;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTabsRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsRoot/KdTabsRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdTabsRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsRoot/KdTabsRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,mBAAmB,CAAC;AAM3B,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM1D;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTabsTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsTrigger/KdTabsTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdTabsTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Tabs/TabsTrigger/KdTabsTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIxD,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAwBD,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAahE;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tooltips/KdTooltip.tsx"],"names":[],"mappings":"AACA,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAK9D,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,YAAY,EACZ,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,YAAY,CAC9D,GAAG;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"KdTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tooltips/KdTooltip.tsx"],"names":[],"mappings":"AACA,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAK9D,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,YAAY,EACZ,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,YAAY,CAC9D,GAAG;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,yEAQhB,cAAc,4CAahB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface RenderTreeType {
|
|
3
2
|
label: JSX.Element;
|
|
4
3
|
value: string;
|
|
@@ -15,18 +14,18 @@ export interface BuildTreeType {
|
|
|
15
14
|
children?: RenderTreeType[];
|
|
16
15
|
}
|
|
17
16
|
export declare const useTreeHelper: ({ badgeColor, badgeBackgroundColor, }: {
|
|
18
|
-
badgeColor?: string
|
|
19
|
-
badgeBackgroundColor?: string
|
|
17
|
+
badgeColor?: string;
|
|
18
|
+
badgeBackgroundColor?: string;
|
|
20
19
|
}) => {
|
|
21
20
|
renderTreeToSpecificFieldName: ({ data, getOptionLabel, getOptionIcon, getOptionValue, getOptionParent, getOptionNavlink, getOptionExternalLink, getOptionBadge, }: {
|
|
22
21
|
data: unknown[];
|
|
23
|
-
getOptionLabel?: (
|
|
24
|
-
getOptionIcon?: (
|
|
25
|
-
getOptionValue?: (
|
|
26
|
-
getOptionParent?: (
|
|
27
|
-
getOptionNavlink?: (
|
|
28
|
-
getOptionExternalLink?: (
|
|
29
|
-
getOptionBadge?: (
|
|
22
|
+
getOptionLabel?: (data: any) => string;
|
|
23
|
+
getOptionIcon?: (data: any) => string;
|
|
24
|
+
getOptionValue?: (data: any) => string;
|
|
25
|
+
getOptionParent?: (data: any) => string;
|
|
26
|
+
getOptionNavlink?: (data: any) => string;
|
|
27
|
+
getOptionExternalLink?: (data: any) => boolean;
|
|
28
|
+
getOptionBadge?: (data: any) => string;
|
|
30
29
|
}) => RenderTreeType[];
|
|
31
30
|
buildTree: (flatTree?: RenderTreeType[], parent?: string) => BuildTreeType[];
|
|
32
31
|
findAllExpanded: (nodes: RenderTreeType[], nodeValue?: string) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTreeHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tree/useTreeHelper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTreeHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tree/useTreeHelper.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,GAAI,uCAG3B;IACD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;wKAYI;QACD,IAAI,EAAE,OAAO,EAAE,CAAC;QAChB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACvC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACtC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACvC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACxC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;QACzC,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;QAC/C,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;KACxC;2BAmD4B,cAAc,EAAE,WAAgB,MAAM;6BAiBnC,cAAc,EAAE,cAAc,MAAM;CAYrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTypography.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Typography/KdTypography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1E,KAAK,UAAU,GACX,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,UAAU,CAAC;AAEf,KAAK,cAAc,GACf,UAAU,GACV,UAAU,GACV,OAAO,GACP,OAAO,GACP,SAAS,GACT,YAAY,CAAC;AAEjB,KAAK,kBAAkB,GACnB,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAAC;AAE5B,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,CAAC,EACD,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,WAAW,GACX,SAAS,GACT,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG,QAAQ,CAAC;AAE/D,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"KdTypography.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Typography/KdTypography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1E,KAAK,UAAU,GACX,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,UAAU,CAAC;AAEf,KAAK,cAAc,GACf,UAAU,GACV,UAAU,GACV,OAAO,GACP,OAAO,GACP,SAAS,GACT,YAAY,CAAC;AAEjB,KAAK,kBAAkB,GACnB,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAAC;AAE5B,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,CAAC,EACD,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,WAAW,GACX,SAAS,GACT,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG,QAAQ,CAAC;AAE/D,QAAA,MAAM,YAAY,GAAI,oBAA+B,iBAAiB,4CAiBrE,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TypeMeta } from "./KdTypography";
|
|
3
2
|
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
3
|
export declare const textWrapper: (text: string, dir: "rtl" | "ltr", maxLength?: number) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typographyHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Typography/typographyHelper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typographyHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Typography/typographyHelper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,CAAC,SAAS,EAAE,MAAM,QAAQ,iIAqBtE,CAAC;AAOF,eAAO,MAAM,WAAW,GACtB,MAAM,MAAM,EACZ,KAAK,KAAK,GAAG,KAAK,EAClB,YAAY,MAAM,4CAMnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdAdvanceFileUploader.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/KdAdvanceFileUploader.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAUtE,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,QAAA,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"KdAdvanceFileUploader.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/KdAdvanceFileUploader.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAUtE,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,QAAA,MAAM,qBAAqB,GAAI,+IAa5B,0BAA0B,4CAkQ5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -18,19 +18,19 @@ export interface KdpaUseFileUploadHookType {
|
|
|
18
18
|
declare function KdpaUseFileUploadHook({ APIURL, sessionId, fileSizeLimit, fileCountLimit, validUploadType, multiple, onError, onWarning, }: KdpaUseFileUploadHookType): {
|
|
19
19
|
APIURL: string;
|
|
20
20
|
uploadingFiles: {
|
|
21
|
-
session?: string
|
|
21
|
+
session?: string;
|
|
22
22
|
progress: number;
|
|
23
23
|
type: string;
|
|
24
24
|
file: File;
|
|
25
25
|
}[];
|
|
26
26
|
files: {
|
|
27
27
|
session: string;
|
|
28
|
-
progress?: number
|
|
29
|
-
concluded?: boolean
|
|
30
|
-
type?: string
|
|
31
|
-
fileURL?: string
|
|
32
|
-
fileName?: string
|
|
33
|
-
file?: File
|
|
28
|
+
progress?: number;
|
|
29
|
+
concluded?: boolean;
|
|
30
|
+
type?: string;
|
|
31
|
+
fileURL?: string;
|
|
32
|
+
fileName?: string;
|
|
33
|
+
file?: File;
|
|
34
34
|
}[];
|
|
35
35
|
removeFile: (session: string) => void;
|
|
36
36
|
handleFileChange: (e: React.ChangeEvent<HTMLInputElement>, internalValidUploadType?: TypeAcceptUploader) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFileUpload.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/hooks/useFileUpload.ts"],"names":[],"mappings":"AAQA,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;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;CACzB,CAAC;AA8BF,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,iBAAS,qBAAqB,CAAC,EAE7B,MAAmD,EACnD,SAAmD,EACnD,aAAiB,EACjB,cAAmB,EACnB,eAA8D,EAC9D,QAAe,EACf,OAAO,EACP,SAAS,GACV,EAAE,yBAAyB
|
|
1
|
+
{"version":3,"file":"useFileUpload.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/hooks/useFileUpload.ts"],"names":[],"mappings":"AAQA,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;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;CACzB,CAAC;AA8BF,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,iBAAS,qBAAqB,CAAC,EAE7B,MAAmD,EACnD,SAAmD,EACnD,aAAiB,EACjB,cAAmB,EACnB,eAA8D,EAC9D,QAAe,EACf,OAAO,EACP,SAAS,GACV,EAAE,yBAAyB;;;kBAgBZ,MAAM;kBACN,MAAM;cACV,MAAM;cACN,IAAI;;;iBAhBD,MAAM;mBACJ,MAAM;oBACL,OAAO;eACZ,MAAM;kBACH,MAAM;mBACL,MAAM;eACV,IAAI;;0BAmBc,MAAM;0BA4C9B,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,4BACZ,kBAAkB;;;;;;;;EA0S/C;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -14,7 +14,7 @@ interface SubStatuseType {
|
|
|
14
14
|
subStatusCode: number;
|
|
15
15
|
message: string;
|
|
16
16
|
}
|
|
17
|
-
export declare const showMessageActions: (subStatuses: SubStatuseType[], onError?: (
|
|
17
|
+
export declare const showMessageActions: (subStatuses: SubStatuseType[], onError?: (value: string) => void, onWarning?: (value: string) => void) => void;
|
|
18
18
|
export declare const serviceName: {
|
|
19
19
|
upload: string;
|
|
20
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/sharedUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAqCzB,CAAC;AAEF,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;EAW5D;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,CAAC,EAAE,MAAM,gBA0BnB;AAED,UAAU,cAAc;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"sharedUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/sharedUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAqCzB,CAAC;AAEF,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;EAW5D;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,CAAC,EAAE,MAAM,gBA0BnB;AAED,UAAU,cAAc;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,GAC7B,aAAa,cAAc,EAAE,EAC7B,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EACjC,YAAY,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,SA4BpC,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,WAAW,wCAAwC,CAAC"}
|