@lax-wp/design-system 0.3.114 → 0.3.115
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/components/button/Button.d.ts +25 -0
- package/dist/components/button/ButtonGroup.d.ts +6 -0
- package/dist/components/button/ButtonThreeDots.d.ts +3 -0
- package/dist/components/button/IconButton.d.ts +14 -0
- package/dist/components/button/Radio.d.ts +8 -0
- package/dist/components/buttons/option-button/OptionButton.d.ts +60 -0
- package/dist/components/cards/card-header-view/CardHeaderView.d.ts +33 -0
- package/dist/components/cards/card-header-view/index.d.ts +2 -0
- package/dist/components/cards/card-main/CardMain.d.ts +25 -0
- package/dist/components/cards/card-main/index.d.ts +2 -0
- package/dist/components/cards/tab-content/TabContent.d.ts +30 -0
- package/dist/components/cards/tab-content/index.d.ts +2 -0
- package/dist/components/data-display/access-denied-modal/AccessDeniedModal.d.ts +21 -0
- package/dist/components/data-display/badge/Badge.d.ts +44 -0
- package/dist/components/data-display/banner/Banner.d.ts +37 -0
- package/dist/components/data-display/card/Card.d.ts +31 -0
- package/dist/components/data-display/code-editor/CodeEditor.d.ts +6 -0
- package/dist/components/data-display/code-editor/JsonGrid.d.ts +37 -0
- package/dist/components/data-display/code-editor/Tabs.d.ts +12 -0
- package/dist/components/data-display/comparison/Comparison.d.ts +34 -0
- package/dist/components/data-display/comparison/ComparisonContext.d.ts +36 -0
- package/dist/components/data-display/comparison/components/GridItemHandle.d.ts +7 -0
- package/dist/components/data-display/comparison/components/GridLayout.d.ts +3 -0
- package/dist/components/data-display/comparison/components/Header.d.ts +9 -0
- package/dist/components/data-display/comparison/components/NoAvailableContent.d.ts +2 -0
- package/dist/components/data-display/comparison/components/SortableItem.d.ts +7 -0
- package/dist/components/data-display/comparison/constants.d.ts +15 -0
- package/dist/components/data-display/comparison/icons/CloseIcon.d.ts +7 -0
- package/dist/components/data-display/comparison/icons/ExitIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/LayoutOneIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/LayoutThreeIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/LayoutTwoIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/SearchIcon.d.ts +8 -0
- package/dist/components/data-display/comparison/icons/index.d.ts +12 -0
- package/dist/components/data-display/comparison/index.d.ts +9 -0
- package/dist/components/data-display/comparison/utils.d.ts +15 -0
- package/dist/components/data-display/context-menu/ContextMenu.d.ts +42 -0
- package/dist/components/data-display/datatype-icon/DataTypeIcon.d.ts +104 -0
- package/dist/components/data-display/delete-modal/DeleteModal.d.ts +40 -0
- package/dist/components/data-display/diff-viewer/DiffViewer.d.ts +64 -0
- package/dist/components/data-display/divider/Divider.d.ts +21 -0
- package/dist/components/data-display/dynamic-data-modal/DynamicDataModal.d.ts +26 -0
- package/dist/components/data-display/dynamic-items-cell/DynamicItemsCell.d.ts +50 -0
- package/dist/components/data-display/empty-state/EmptyEvent.d.ts +5 -0
- package/dist/components/data-display/empty-state/NoDataFound.d.ts +27 -0
- package/dist/components/data-display/empty-state/NoDataFoundWidgets.d.ts +20 -0
- package/dist/components/data-display/empty-state/PageNotFound.d.ts +33 -0
- package/dist/components/data-display/empty-state/UserNotFound.d.ts +28 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyBarChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyCardChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyContentChart.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyCountWidgetData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyDonutChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyPieChatData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyTableWidgetData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyTimelineChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/index.d.ts +8 -0
- package/dist/components/data-display/empty-state/index.d.ts +11 -0
- package/dist/components/data-display/error-modal/ErrorModal.d.ts +22 -0
- package/dist/components/data-display/floating-element-wrapper/floating-element-dragger.d.ts +1 -0
- package/dist/components/data-display/in-progress/InProgress.d.ts +13 -0
- package/dist/components/data-display/json-grid-viewer/AddKeyModal.d.ts +7 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridBulkFloatingBar.d.ts +2 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridCore.d.ts +3 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridViewer.d.ts +47 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridViewerContext.d.ts +4 -0
- package/dist/components/data-display/json-grid-viewer/JsonValueDisplay.d.ts +8 -0
- package/dist/components/data-display/json-grid-viewer/NestedJsonGrid.d.ts +7 -0
- package/dist/components/data-display/json-grid-viewer/hooks.d.ts +6 -0
- package/dist/components/data-display/json-grid-viewer/index.d.ts +12 -0
- package/dist/components/data-display/json-grid-viewer/types.d.ts +64 -0
- package/dist/components/data-display/json-grid-viewer/utils.d.ts +4 -0
- package/dist/components/data-display/label/Label.d.ts +10 -0
- package/dist/components/data-display/label-value/LabelValue.d.ts +139 -0
- package/dist/components/data-display/lottie-animation/LottieAnimation.d.ts +34 -0
- package/dist/components/data-display/modal/Modal.d.ts +41 -0
- package/dist/components/data-display/pdf-viewer/PdfViewer.d.ts +45 -0
- package/dist/components/data-display/permission-wrapper/PermissionWrapper.d.ts +28 -0
- package/dist/components/data-display/popper/Popper.d.ts +57 -0
- package/dist/components/data-display/progress-bar/CircularProgressBar.d.ts +23 -0
- package/dist/components/data-display/progress-bar/LinearProgressBar.d.ts +27 -0
- package/dist/components/data-display/progress-bar/index.d.ts +4 -0
- package/dist/components/data-display/resizable-sidebar/ResizableSidebar.d.ts +48 -0
- package/dist/components/data-display/skeleton/Skeleton.d.ts +18 -0
- package/dist/components/data-display/status-color-mapping/StatusColorMapping.d.ts +29 -0
- package/dist/components/data-display/tag/Tag.d.ts +53 -0
- package/dist/components/data-display/text/Text.d.ts +41 -0
- package/dist/components/data-display/text-with-strike/TextWithStrike.d.ts +19 -0
- package/dist/components/data-display/typography/Typography.d.ts +15 -0
- package/dist/components/data-display/unsaved-changes-modal/UnsavedChangesModal.d.ts +30 -0
- package/dist/components/drag-and-drop/drag-overlay/DragOverlay.d.ts +25 -0
- package/dist/components/drag-and-drop/drag-overlay/index.d.ts +2 -0
- package/dist/components/drag-and-drop/draggable-container/DraggableContainer.d.ts +29 -0
- package/dist/components/drag-and-drop/draggable-container/index.d.ts +2 -0
- package/dist/components/feedback/confirmation-modal/ConfirmationModal.d.ts +38 -0
- package/dist/components/feedback/toast/Toast.d.ts +29 -0
- package/dist/components/floating-bar/FloatingBar.d.ts +91 -0
- package/dist/components/forms/base-input-field/BaseInputField.d.ts +128 -0
- package/dist/components/forms/checkbox/Checkbox.d.ts +55 -0
- package/dist/components/forms/checkbox/CheckboxComponent.d.ts +9 -0
- package/dist/components/forms/color-picker/ColorPicker.d.ts +60 -0
- package/dist/components/forms/creatable-select/CreatableSelect.d.ts +86 -0
- package/dist/components/forms/currency-input/CurrencyInputField.d.ts +110 -0
- package/dist/components/forms/currency-input/currency.constant.d.ts +13 -0
- package/dist/components/forms/customizable-select-field/CustomizableSelectField.d.ts +126 -0
- package/dist/components/forms/date-range/DateRange.d.ts +73 -0
- package/dist/components/forms/date-range/DateRange2.d.ts +72 -0
- package/dist/components/forms/date-time-field/DateTimeField.d.ts +129 -0
- package/dist/components/forms/debounce-input/DebounceInputField.d.ts +66 -0
- package/dist/components/forms/dynamic-data-input/DynamicDataInput.d.ts +64 -0
- package/dist/components/forms/dynamic-data-input/DynamicDataInputField.d.ts +118 -0
- package/dist/components/forms/field-options/FieldOptions.d.ts +5 -0
- package/dist/components/forms/field-options/Header.d.ts +7 -0
- package/dist/components/forms/field-options/Icon.d.ts +6 -0
- package/dist/components/forms/field-options/Item.d.ts +7 -0
- package/dist/components/forms/field-options/index.d.ts +2 -0
- package/dist/components/forms/field-options/types.d.ts +11 -0
- package/dist/components/forms/file-upload-dragger/FileUpload.d.ts +83 -0
- package/dist/components/forms/file-upload-dragger/icons.d.ts +12 -0
- package/dist/components/forms/formula-input/FormulaInput.d.ts +33 -0
- package/dist/components/forms/formula-input/index.d.ts +3 -0
- package/dist/components/forms/formula-input/utils.d.ts +31 -0
- package/dist/components/forms/icon-picker/IconPicker.d.ts +20 -0
- package/dist/components/forms/input-field/InputField.d.ts +62 -0
- package/dist/components/forms/master-data-input/MasterDataInputField.d.ts +135 -0
- package/dist/components/forms/md-input/MdInput.d.ts +46 -0
- package/dist/components/forms/multi-file-upload/MultiFileUpload.d.ts +78 -0
- package/dist/components/forms/number-input-field/NumberInputField.d.ts +47 -0
- package/dist/components/forms/percentage-input/PercentageInputField.d.ts +107 -0
- package/dist/components/forms/search-bar/SearchBar.d.ts +28 -0
- package/dist/components/forms/select-field/SelectField.d.ts +162 -0
- package/dist/components/forms/text-area-field/TextAreaField.d.ts +114 -0
- package/dist/components/forms/text-field/TextField.d.ts +48 -0
- package/dist/components/forms/toggle/Toggle.d.ts +108 -0
- package/dist/components/icons/AIExtractedIndicator.d.ts +7 -0
- package/dist/components/icons/AIStarIcon.d.ts +8 -0
- package/dist/components/icons/ArchivedIcon.d.ts +7 -0
- package/dist/components/icons/CheckCircle.d.ts +7 -0
- package/dist/components/icons/CheckSmallIcon.d.ts +7 -0
- package/dist/components/icons/CloseIcon.d.ts +16 -0
- package/dist/components/icons/CloseRounded.d.ts +9 -0
- package/dist/components/icons/ComingSoonIcon.d.ts +7 -0
- package/dist/components/icons/EditIcon.d.ts +7 -0
- package/dist/components/icons/HelpIcon.d.ts +6 -0
- package/dist/components/icons/InfoAlert.d.ts +7 -0
- package/dist/components/icons/InfoCircleIcon.d.ts +7 -0
- package/dist/components/icons/LaxIcon.d.ts +6 -0
- package/dist/components/icons/Required.d.ts +3 -0
- package/dist/components/icons/SearchIcon.d.ts +9 -0
- package/dist/components/layout/ComponentLoader.d.ts +20 -0
- package/dist/components/layout/CustomScrollbar.d.ts +46 -0
- package/dist/components/layout/Helmet.d.ts +29 -0
- package/dist/components/layout/HelmetTitle.d.ts +23 -0
- package/dist/components/layout/LogoLoader.d.ts +22 -0
- package/dist/components/layout/PageContainer.d.ts +51 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/modal/confirm-popup/ConfirmPopUp.d.ts +26 -0
- package/dist/components/modal/confirm-popup/index.d.ts +2 -0
- package/dist/components/modal/drawer/Drawer.d.ts +35 -0
- package/dist/components/modal/drawer/index.d.ts +2 -0
- package/dist/components/navigation/accordion/Accordion.d.ts +39 -0
- package/dist/components/navigation/accordion/index.d.ts +2 -0
- package/dist/components/navigation/breadcrumbs/BreadCrumb.d.ts +52 -0
- package/dist/components/navigation/breadcrumbs/BreadCrumbItem.d.ts +39 -0
- package/dist/components/navigation/breadcrumbs/index.d.ts +4 -0
- package/dist/components/navigation/stepper/Stepper.d.ts +45 -0
- package/dist/components/navigation/stepper/index.d.ts +2 -0
- package/dist/components/sidebar/Sidebar.d.ts +15 -0
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.d.ts +16 -0
- package/dist/components/user-avatar/NameInitialLogo.d.ts +15 -0
- package/dist/components/user-avatar/PersonIcon.d.ts +7 -0
- package/dist/components/user-avatar/StatusInfoRow.d.ts +5 -0
- package/dist/components/user-avatar/UserAvatar.d.ts +53 -0
- package/dist/components/user-avatar/UserAvatarPopper.d.ts +11 -0
- package/dist/components/user-avatar/UserProfilePic.d.ts +15 -0
- package/dist/components/user-avatar/constants.d.ts +8 -0
- package/dist/components/user-avatar/index.d.ts +13 -0
- package/dist/components/user-avatar/useDynamicPosition.d.ts +13 -0
- package/dist/constants/colors.d.ts +263 -0
- package/dist/constants/layout.d.ts +15 -0
- package/dist/constants/toggle.d.ts +12 -0
- package/dist/hooks/useEventListener.d.ts +4 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/hooks/useModalContainer.d.ts +23 -0
- package/dist/hooks/useOS.d.ts +32 -0
- package/dist/hooks/useOutsideClick.d.ts +28 -0
- package/dist/hooks/usePythonSyntax.d.ts +28 -0
- package/dist/hooks/useScrollToTop.d.ts +5 -0
- package/dist/hooks/useTheme.d.ts +6 -0
- package/dist/index.d.ts +212 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/services/monacoManager.d.ts +28 -0
- package/dist/types/icon-picker.d.ts +2 -0
- package/dist/types/index.d.ts +70 -0
- package/dist/utils/countryFlags.d.ts +5 -0
- package/dist/utils/formatters.d.ts +24 -0
- package/dist/utils/messageConstants.d.ts +88 -0
- package/dist/utils/tagUtils.d.ts +12 -0
- package/dist/utils/utilities.d.ts +24 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
export { InputField } from "./components/forms/input-field/InputField";
|
|
2
|
+
export type { InputFieldProps } from "./components/forms/input-field/InputField";
|
|
3
|
+
export { BaseInputField, default as BaseInputFieldDefault } from "./components/forms/base-input-field/BaseInputField";
|
|
4
|
+
export type { TBaseInputFieldProps, RiskDetails as BaseInputFieldRiskDetails, RiskDetailsCardProps as BaseInputFieldRiskDetailsCardProps, } from "./components/forms/base-input-field/BaseInputField";
|
|
5
|
+
export * from "./components/data-display/typography/Typography";
|
|
6
|
+
export { TextField } from "./components/forms/text-field/TextField";
|
|
7
|
+
export type { TextFieldProps } from "./components/forms/text-field/TextField";
|
|
8
|
+
export { TextAreaField } from "./components/forms/text-area-field/TextAreaField";
|
|
9
|
+
export type { TextAreaFieldProps, RiskDetails as TextAreaFieldRiskDetails, RiskDetailsCardProps as TextAreaFieldRiskDetailsCardProps, } from "./components/forms/text-area-field/TextAreaField";
|
|
10
|
+
export { MasterDataInputField } from "./components/forms/master-data-input/MasterDataInputField";
|
|
11
|
+
export type { MasterDataInputFieldProps, RiskDetails as MasterDataInputFieldRiskDetails, RiskDetailsCardProps as MasterDataInputFieldRiskDetailsCardProps, } from "./components/forms/master-data-input/MasterDataInputField";
|
|
12
|
+
export { SelectField } from "./components/forms/select-field/SelectField";
|
|
13
|
+
export type { SelectFieldProps, SelectOption as SelectFieldOption, TLabelValue, } from "./components/forms/select-field/SelectField";
|
|
14
|
+
export { Checkbox } from "./components/forms/checkbox/Checkbox";
|
|
15
|
+
export type { CheckboxComponentProps, TCheckboxComponentProps, } from "./components/forms/checkbox/Checkbox";
|
|
16
|
+
export { CheckboxComponent } from "./components/forms/checkbox/CheckboxComponent";
|
|
17
|
+
export type { TCheckboxComponentProps as TSimpleCheckboxComponentProps } from "./components/forms/checkbox/CheckboxComponent";
|
|
18
|
+
export { ColorPicker } from "./components/forms/color-picker/ColorPicker";
|
|
19
|
+
export type { ColorPickerProps, ColorPickerComponentProps, } from "./components/forms/color-picker/ColorPicker";
|
|
20
|
+
export { CreatableSelectField } from "./components/forms/creatable-select/CreatableSelect";
|
|
21
|
+
export type { CreatableSelectProps, SelectOption, TProps, } from "./components/forms/creatable-select/CreatableSelect";
|
|
22
|
+
export { CustomizableSelectField } from "./components/forms/customizable-select-field/CustomizableSelectField";
|
|
23
|
+
export type { CustomizableSelectFieldProps, CustomizableSelectOption, OptionConfig, MenuConfig, } from "./components/forms/customizable-select-field/CustomizableSelectField";
|
|
24
|
+
export { CurrencyInputField } from "./components/forms/currency-input/CurrencyInputField";
|
|
25
|
+
export type { CurrencyInputFieldProps, RiskDetails as CurrencyInputFieldRiskDetails, RiskDetailsCardProps as CurrencyInputFieldRiskDetailsCardProps, } from "./components/forms/currency-input/CurrencyInputField";
|
|
26
|
+
export { CURRENCIES, CURRENCY_SYMBOLS } from "./components/forms/currency-input/currency.constant";
|
|
27
|
+
export { DateRange2 } from "./components/forms/date-range/DateRange2";
|
|
28
|
+
export type { DateRangeProps, DateRangeValue, } from "./components/forms/date-range/DateRange2";
|
|
29
|
+
export { DateRange } from "./components/forms/date-range/DateRange";
|
|
30
|
+
export type { TDateRangeProps } from "./components/forms/date-range/DateRange";
|
|
31
|
+
export { DateTimeField, UNIVERSAL_DATE_FORMAT, UNIVERSAL_DATETIME_FORMAT, } from "./components/forms/date-time-field/DateTimeField";
|
|
32
|
+
export type { DateTimeFieldProps, RiskDetails as DateTimeFieldRiskDetails, RiskDetailsCardProps as DateTimeFieldRiskDetailsCardProps, } from "./components/forms/date-time-field/DateTimeField";
|
|
33
|
+
export { DebounceInputField } from "./components/forms/debounce-input/DebounceInputField";
|
|
34
|
+
export type { DebounceInputFieldProps } from "./components/forms/debounce-input/DebounceInputField";
|
|
35
|
+
export { DynamicDataInputField } from "./components/forms/dynamic-data-input/DynamicDataInputField";
|
|
36
|
+
export type { DynamicDataInputFieldProps, DynamicDataModalProps as DynamicDataInputModalProps, RiskDetails as DynamicDataInputFieldRiskDetails, RiskDetailsCardProps as DynamicDataInputFieldRiskDetailsCardProps, } from "./components/forms/dynamic-data-input/DynamicDataInputField";
|
|
37
|
+
export { DynamicDataInput } from "./components/forms/dynamic-data-input/DynamicDataInput";
|
|
38
|
+
export type { DynamicDataInputProps } from "./components/forms/dynamic-data-input/DynamicDataInput";
|
|
39
|
+
export { PercentageInputField } from "./components/forms/percentage-input/PercentageInputField";
|
|
40
|
+
export type { PercentageInputFieldProps, RiskDetails as PercentageInputFieldRiskDetails, RiskDetailsCardProps as PercentageInputFieldRiskDetailsCardProps, } from "./components/forms/percentage-input/PercentageInputField";
|
|
41
|
+
export { Toggle } from "./components/forms/toggle/Toggle";
|
|
42
|
+
export type { ToggleProps } from "./components/forms/toggle/Toggle";
|
|
43
|
+
export { TOGGLE_LABEL_DIRECTION } from "./constants/toggle";
|
|
44
|
+
export type { TToggleDirection } from "./constants/toggle";
|
|
45
|
+
export { MdInput } from "./components/forms/md-input/MdInput";
|
|
46
|
+
export type { MdInputProps } from "./components/forms/md-input/MdInput";
|
|
47
|
+
export { MultiFileUpload } from "./components/forms/multi-file-upload/MultiFileUpload";
|
|
48
|
+
export type { MultiFileUploadProps, FileUploadResult, FileChangeValue, } from "./components/forms/multi-file-upload/MultiFileUpload";
|
|
49
|
+
export { IconPicker, IconRenderer } from "./components/forms/icon-picker/IconPicker";
|
|
50
|
+
export type { IconPickerContentProps } from "./components/forms/icon-picker/IconPicker";
|
|
51
|
+
export { StatusColorMapping } from "./components/data-display/status-color-mapping/StatusColorMapping";
|
|
52
|
+
export type { StatusColorMappingProps, StatusColor, } from "./components/data-display/status-color-mapping/StatusColorMapping";
|
|
53
|
+
export { Badge } from "./components/data-display/badge/Badge";
|
|
54
|
+
export type { BadgeProps, BadgeStatus, BadgeAppearance, BadgeSize, } from "./components/data-display/badge/Badge";
|
|
55
|
+
export { Card } from "./components/data-display/card/Card";
|
|
56
|
+
export type { CardProps } from "./components/data-display/card/Card";
|
|
57
|
+
export { Modal } from "./components/data-display/modal/Modal";
|
|
58
|
+
export type { ModalProps, } from "./components/data-display/modal/Modal";
|
|
59
|
+
export { FloatingElementWrapper } from "./components/data-display/floating-element-wrapper/floating-element-dragger";
|
|
60
|
+
export { Tag } from "./components/data-display/tag/Tag";
|
|
61
|
+
export type { TagProps, TagSize, TagColor, ThemeMode, UploadHandler, } from "./components/data-display/tag/Tag";
|
|
62
|
+
export { LabelValue } from "./components/data-display/label-value/LabelValue";
|
|
63
|
+
export type { LabelValueProps, LabelValueSize, HighlightColor, MasterDataItem, RiskDetails, MasterDataModalProps, RiskDetailsCardProps, } from "./components/data-display/label-value/LabelValue";
|
|
64
|
+
export { Banner } from "./components/data-display/banner/Banner";
|
|
65
|
+
export type { BannerProps, BannerStatus, } from "./components/data-display/banner/Banner";
|
|
66
|
+
export { ResizableSidebar } from "./components/data-display/resizable-sidebar/ResizableSidebar";
|
|
67
|
+
export type { ResizableSidebarProps, ResizableSidebarPlacement, } from "./components/data-display/resizable-sidebar/ResizableSidebar";
|
|
68
|
+
export { PdfViewer } from "./components/data-display/pdf-viewer/PdfViewer";
|
|
69
|
+
export type { PdfViewerProps } from "./components/data-display/pdf-viewer/PdfViewer";
|
|
70
|
+
export { Popper } from "./components/data-display/popper/Popper";
|
|
71
|
+
export type { PopperProps, PopperPlacement, } from "./components/data-display/popper/Popper";
|
|
72
|
+
export { default as Tooltip } from "./components/tooltip/Tooltip";
|
|
73
|
+
export type { TooltipProps, TooltipPlacement, } from "./components/tooltip/Tooltip";
|
|
74
|
+
export { default as Toast, toast } from "./components/feedback/toast/Toast";
|
|
75
|
+
export type { ToastContainerProps, ToastType, ToastPosition, } from "./components/feedback/toast/Toast";
|
|
76
|
+
export { ConfirmationModal } from "./components/feedback/confirmation-modal/ConfirmationModal";
|
|
77
|
+
export type { IConfirmationModalProps, } from "./components/feedback/confirmation-modal/ConfirmationModal";
|
|
78
|
+
export { CodeEditor } from "./components/data-display/code-editor/CodeEditor";
|
|
79
|
+
export type { CodeEditorProps } from "./types";
|
|
80
|
+
export { JsonGrid } from "./components/data-display/code-editor/JsonGrid";
|
|
81
|
+
export type { JsonGridProps } from "./components/data-display/code-editor/JsonGrid";
|
|
82
|
+
export { Tabs as CodeEditorTabs } from "./components/data-display/code-editor/Tabs";
|
|
83
|
+
export type { TabsProps as CodeEditorTabsProps } from "./components/data-display/code-editor/Tabs";
|
|
84
|
+
export { monacoManager } from "./services/monacoManager";
|
|
85
|
+
export { usePythonSyntax } from "./hooks/usePythonSyntax";
|
|
86
|
+
export type { UsePythonSyntaxProps } from "./hooks/usePythonSyntax";
|
|
87
|
+
export { useTheme } from "./hooks/useTheme";
|
|
88
|
+
export { parseJson, filterTopLevelPaths, randomHexString } from "./utils/utilities";
|
|
89
|
+
export { systemMessages } from "./utils/messageConstants";
|
|
90
|
+
export { formatCurrency, formatDate, formatBooleanValue, isISODateString } from "./utils/formatters";
|
|
91
|
+
export { getFlagComponent, getFlagComponentSm, getFlagComponentRectangle, getFlagComponentRectangleSm, getFlagComponentRectangleMd } from "./utils/countryFlags";
|
|
92
|
+
export { LaxIcon } from "./components/icons/LaxIcon";
|
|
93
|
+
export { ComingSoonIcon } from "./components/icons/ComingSoonIcon";
|
|
94
|
+
export { CheckSmallIcon } from "./components/icons/CheckSmallIcon";
|
|
95
|
+
export { EditIcon } from "./components/icons/EditIcon";
|
|
96
|
+
export { CheckCircle } from "./components/icons/CheckCircle";
|
|
97
|
+
export { InfoAlert } from "./components/icons/InfoAlert";
|
|
98
|
+
export { ArchivedIcon } from "./components/icons/ArchivedIcon";
|
|
99
|
+
export { InfoCircleIcon } from "./components/icons/InfoCircleIcon";
|
|
100
|
+
export type { IconProps } from "./components/icons/LaxIcon";
|
|
101
|
+
export type { EditIconProps } from "./components/icons/EditIcon";
|
|
102
|
+
export type { CheckCircleProps } from "./components/icons/CheckCircle";
|
|
103
|
+
export type { InfoAlertProps } from "./components/icons/InfoAlert";
|
|
104
|
+
export type { ArchivedIconProps } from "./components/icons/ArchivedIcon";
|
|
105
|
+
export type { InfoCircleIconProps } from "./components/icons/InfoCircleIcon";
|
|
106
|
+
export { AccessDeniedModal } from "./components/data-display/access-denied-modal/AccessDeniedModal";
|
|
107
|
+
export type { AccessDeniedModalProps } from "./components/data-display/access-denied-modal/AccessDeniedModal";
|
|
108
|
+
export { InProgress } from "./components/data-display/in-progress/InProgress";
|
|
109
|
+
export type { InProgressProps } from "./components/data-display/in-progress/InProgress";
|
|
110
|
+
export { UnsavedChangesModal } from "./components/data-display/unsaved-changes-modal/UnsavedChangesModal";
|
|
111
|
+
export type { UnsavedChangesModalProps } from "./components/data-display/unsaved-changes-modal/UnsavedChangesModal";
|
|
112
|
+
export { ErrorModal } from "./components/data-display/error-modal/ErrorModal";
|
|
113
|
+
export type { ErrorModalProps } from "./components/data-display/error-modal/ErrorModal";
|
|
114
|
+
export { DynamicDataModal } from "./components/data-display/dynamic-data-modal/DynamicDataModal";
|
|
115
|
+
export type { DynamicDataModalProps, TTabKey as DynamicDataModalTabKey } from "./components/data-display/dynamic-data-modal/DynamicDataModal";
|
|
116
|
+
export { DeleteModal } from "./components/data-display/delete-modal/DeleteModal";
|
|
117
|
+
export type { DeleteModalProps } from "./components/data-display/delete-modal/DeleteModal";
|
|
118
|
+
export type { JsonValue, JsonObject, JsonArray, Tab as CodeEditorTab, ThemeContextType, PythonError, JsonGridContextType } from "./types";
|
|
119
|
+
export { COUNTRY_CODES, countryNameFromCode } from "./types/icon-picker";
|
|
120
|
+
export { DiffViewer, InlineDiffHighlighter, } from "./components/data-display/diff-viewer/DiffViewer";
|
|
121
|
+
export type { DiffViewerProps, DiffType, DiffTheme, } from "./components/data-display/diff-viewer/DiffViewer";
|
|
122
|
+
export { default as Button } from "./components/button/Button";
|
|
123
|
+
export type { IButtonProps, IButtonStatus, IButtonAppearance, } from "./components/button/Button";
|
|
124
|
+
export { OptionButton } from "./components/buttons/option-button/OptionButton";
|
|
125
|
+
export type { OptionButtonProps, } from "./components/buttons/option-button/OptionButton";
|
|
126
|
+
export { default as IconButton } from "./components/button/IconButton";
|
|
127
|
+
export type { IconButtonProps, } from "./components/button/IconButton";
|
|
128
|
+
export { default as Radio } from "./components/button/Radio";
|
|
129
|
+
export type { RadioProps, } from "./components/button/Radio";
|
|
130
|
+
export { ButtonThreeDots } from "./components/button/ButtonThreeDots";
|
|
131
|
+
export type { TButtonThreeDotsProps, } from "./components/button/ButtonThreeDots";
|
|
132
|
+
export { ButtonGroup } from "./components/button/ButtonGroup";
|
|
133
|
+
export type { ButtonGroupProps, } from "./components/button/ButtonGroup";
|
|
134
|
+
export { FloatingBar } from "./components/floating-bar/FloatingBar";
|
|
135
|
+
export type { FloatingBarProps, FloatingBarActionConfig, FloatingBarDeleteConfig, FloatingBarSize, FloatingBarPosition, FloatingBarTheme, TFloatingBar, ButtonConfig, } from "./components/floating-bar/FloatingBar";
|
|
136
|
+
export { SearchBar } from "./components/forms/search-bar/SearchBar";
|
|
137
|
+
export type { TSearchBarProps, TSearchConfig } from "./components/forms/search-bar/SearchBar";
|
|
138
|
+
export { useOutsideClick } from "./hooks/useOutsideClick";
|
|
139
|
+
export type { UseOutsideClickProps } from "./hooks/useOutsideClick";
|
|
140
|
+
export { useModalContainer } from "./hooks/useModalContainer";
|
|
141
|
+
export type { UseModalContainerOptions } from "./hooks/useModalContainer";
|
|
142
|
+
export { useScrollToTop } from "./hooks/useScrollToTop";
|
|
143
|
+
export { useEventListener } from "./hooks/useEventListener";
|
|
144
|
+
export { useIsomorphicLayoutEffect } from "./hooks/useIsomorphicLayoutEffect";
|
|
145
|
+
export { useOS, useShortcutKeys, detectOS, isMacOS, mapShortcutKey, mapShortcutKeys, SHORTCUT_KEY_MAP, } from "./hooks/useOS";
|
|
146
|
+
export type { OS } from "./hooks/useOS";
|
|
147
|
+
export { PageContainer, HelmetTitle, Helmet, ComponentLoader, LogoLoader, CustomScrollbar } from "./components/layout";
|
|
148
|
+
export type { PageContainerProps, HelmetTitleProps, HelmetProps, ComponentLoaderProps, LogoLoaderProps, CustomScrollbarProps, CustomScrollbarHandle } from "./components/layout";
|
|
149
|
+
export { BreadCrumb, BreadCrumbItem } from "./components/navigation/breadcrumbs";
|
|
150
|
+
export type { BreadCrumbProps, BreadCrumbItemProps, TBreadCrumbItem } from "./components/navigation/breadcrumbs";
|
|
151
|
+
export { Divider } from "./components/data-display/divider/Divider";
|
|
152
|
+
export type { DividerProps } from "./components/data-display/divider/Divider";
|
|
153
|
+
export { Skeleton } from "./components/data-display/skeleton/Skeleton";
|
|
154
|
+
export type { SkeletonProps } from "./components/data-display/skeleton/Skeleton";
|
|
155
|
+
export { default as Text } from "./components/data-display/text/Text";
|
|
156
|
+
export type { TextProps } from "./components/data-display/text/Text";
|
|
157
|
+
export { default as TextWithStrike } from "./components/data-display/text-with-strike/TextWithStrike";
|
|
158
|
+
export type { TextWithStrikeProps } from "./components/data-display/text-with-strike/TextWithStrike";
|
|
159
|
+
export { DynamicItemsCell } from "./components/data-display/dynamic-items-cell/DynamicItemsCell";
|
|
160
|
+
export type { DynamicItemsCellProps } from "./components/data-display/dynamic-items-cell/DynamicItemsCell";
|
|
161
|
+
export { NumberInputField } from "./components/forms/number-input-field/NumberInputField";
|
|
162
|
+
export type { NumberInputFieldProps } from "./components/forms/number-input-field/NumberInputField";
|
|
163
|
+
export { MODES, OPEN_DURATION_MS } from "./constants/layout";
|
|
164
|
+
export { Accordion } from "./components/navigation/accordion";
|
|
165
|
+
export type { AccordionProps } from "./components/navigation/accordion";
|
|
166
|
+
export { Stepper } from "./components/navigation/stepper";
|
|
167
|
+
export type { TStep, TStepperProps } from "./components/navigation/stepper";
|
|
168
|
+
export { Drawer } from "./components/modal/drawer";
|
|
169
|
+
export type { DrawerProps } from "./components/modal/drawer";
|
|
170
|
+
export { ConfirmPopUp } from "./components/modal/confirm-popup";
|
|
171
|
+
export type { ConfirmPopUpProps, IButtonStatus as ConfirmPopUpButtonStatus } from "./components/modal/confirm-popup";
|
|
172
|
+
export { CardHeaderView } from "./components/cards/card-header-view";
|
|
173
|
+
export type { CardHeaderViewProps } from "./components/cards/card-header-view";
|
|
174
|
+
export { CardMain } from "./components/cards/card-main";
|
|
175
|
+
export type { CardMainProps } from "./components/cards/card-main";
|
|
176
|
+
export { TabContent } from "./components/cards/tab-content";
|
|
177
|
+
export type { TabContentProps, TabContentDrawerConfig } from "./components/cards/tab-content";
|
|
178
|
+
export { DraggableContainer } from "./components/drag-and-drop/draggable-container";
|
|
179
|
+
export type { DraggableContainerProps } from "./components/drag-and-drop/draggable-container";
|
|
180
|
+
export { DragOverlay } from "./components/drag-and-drop/drag-overlay";
|
|
181
|
+
export type { DragOverlayProps } from "./components/drag-and-drop/drag-overlay";
|
|
182
|
+
export { Sidebar } from "./components/sidebar";
|
|
183
|
+
export type { SidebarProps } from "./components/sidebar";
|
|
184
|
+
export { UserAvatar, UserAvatarPopper, StatusInfoRow, PersonIcon, sizeClasses as userAvatarSizeClasses, getInitials, useDynamicPosition } from "./components/user-avatar";
|
|
185
|
+
export type { UserAvatarProps, UserAvatarSize, UserDetails, UserDetailsTeam, UserAvatarPopperProps, UserAvatarPopperPlacement, StatusInfoRowProps, } from "./components/user-avatar";
|
|
186
|
+
export { NameInitialLogo } from "./components/user-avatar";
|
|
187
|
+
export type { NameInitialLogoProps } from "./components/user-avatar";
|
|
188
|
+
export { UserProfilePic } from "./components/user-avatar";
|
|
189
|
+
export type { UserProfilePicProps } from "./components/user-avatar";
|
|
190
|
+
export { FileUpload } from "./components/forms/file-upload-dragger/FileUpload";
|
|
191
|
+
export type { FileUploadDraggerProps, } from "./components/forms/file-upload-dragger/FileUpload";
|
|
192
|
+
export { LottieAnimation } from "./components/data-display/lottie-animation/LottieAnimation";
|
|
193
|
+
export type { LottieAnimationProps } from "./components/data-display/lottie-animation/LottieAnimation";
|
|
194
|
+
export { DataTypeIcon } from "./components/data-display/datatype-icon/DataTypeIcon";
|
|
195
|
+
export type { DataTypeIconProps } from "./components/data-display/datatype-icon/DataTypeIcon";
|
|
196
|
+
export { NoDataFound, PageNotFound, UserNotFound, EmptyEvent, NoDataFoundWidgets, EmptyBarChartData, EmptyCardListChartData, EmptyContentChartData, EmptyCountWidgetData, EmptyDonutChartData, EmptyPieChatData, EmptyTableWidgetData, EmptyTimelineChartData, } from "./components/data-display/empty-state";
|
|
197
|
+
export type { NoDataFoundProps, PageNotFoundProps, UserNotFoundProps, EmptyEventProps, NoDataFoundWidgetsProps, } from "./components/data-display/empty-state";
|
|
198
|
+
export { ContextMenu } from "./components/data-display/context-menu/ContextMenu";
|
|
199
|
+
export type { ContextMenuProps, } from "./components/data-display/context-menu/ContextMenu";
|
|
200
|
+
export { PermissionWrapper } from "./components/data-display/permission-wrapper/PermissionWrapper";
|
|
201
|
+
export type { PermissionWrapperProps } from "./components/data-display/permission-wrapper/PermissionWrapper";
|
|
202
|
+
export { JsonGridViewer, JsonGridViewerContextProvider, useJsonGridViewerContext, JsonGridCore, NestedJsonGrid, JsonValueDisplay, JsonGridBulkFloatingBar, AddKeyModal, useCheckboxSelection, } from "./components/data-display/json-grid-viewer";
|
|
203
|
+
export type { JsonGridViewerProps, AddKeyModalProps, IJsonGridViewerContext, IJsonGridProps as JsonGridCoreProps, } from "./components/data-display/json-grid-viewer";
|
|
204
|
+
export { DataType as JsonGridDataType, DataTypeBadgeClass, DataTypeOptions as JsonGridDataTypeOptions, } from "./components/data-display/json-grid-viewer";
|
|
205
|
+
export { getDataType as jsonGridGetDataType, filterTopLevelPaths as jsonGridFilterTopLevelPaths, parseJson as jsonGridParseJson } from "./components/data-display/json-grid-viewer";
|
|
206
|
+
export { FieldOptions } from "./components/forms/field-options";
|
|
207
|
+
export { LinearProgressBar, CircularProgressBar } from "./components/data-display/progress-bar";
|
|
208
|
+
export type { LinearProgressBarProps, CircularProgressBarProps } from "./components/data-display/progress-bar";
|
|
209
|
+
export { Comparison, ComparisonContext, ComparisonProvider, COMPARISON_LAYOUT, DEFAULT_COMPARISON_LAYOUTS, gridLayoutItems, filterVisibleItems, filteredOptions, getCurrentSelectValue, parseToIds as comparisonParseToIds, ExitIcon, LayoutOneIcon, LayoutTwoIcon, LayoutThreeIcon, } from "./components/data-display/comparison";
|
|
210
|
+
export type { ComparisonProps, TComparisonContext, ComparisonProviderProps, ILayoutItem, ExitIconProps, LayoutOneIconProps, LayoutTwoIconProps, LayoutThreeIconProps, } from "./components/data-display/comparison";
|
|
211
|
+
export { FormulaInput, convertToPills, convertFromPills, getCursorPosition, setCursorPosition, getTextBeforeCursor, getCursorCoordinates, insertTextAtCursor, } from "./components/forms/formula-input";
|
|
212
|
+
export type { FormulaInputProps } from "./components/forms/formula-input";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Monaco } from '@monaco-editor/react';
|
|
2
|
+
declare class MonacoManager {
|
|
3
|
+
private static instance;
|
|
4
|
+
private monaco;
|
|
5
|
+
private initialized;
|
|
6
|
+
private initializationPromise;
|
|
7
|
+
static getInstance(): MonacoManager;
|
|
8
|
+
initialize(): Promise<Monaco>;
|
|
9
|
+
private performInitialization;
|
|
10
|
+
getMonaco(): Monaco | null;
|
|
11
|
+
isInitialized(): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Safely get an editor instance by index
|
|
14
|
+
*/
|
|
15
|
+
getEditorInstance(index?: number): any;
|
|
16
|
+
/**
|
|
17
|
+
* Get the first available editor instance
|
|
18
|
+
*/
|
|
19
|
+
getFirstEditorInstance(): Monaco | null;
|
|
20
|
+
/**
|
|
21
|
+
* Safely dispose of disposables with error handling
|
|
22
|
+
*/
|
|
23
|
+
static safeDispose(disposables: Array<{
|
|
24
|
+
dispose: () => void;
|
|
25
|
+
} | null | undefined>): void;
|
|
26
|
+
}
|
|
27
|
+
export declare const monacoManager: MonacoManager;
|
|
28
|
+
export type { Monaco };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export * from './icon-picker';
|
|
2
|
+
export type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
|
|
3
|
+
export type JsonObject = {
|
|
4
|
+
[key: string]: JsonValue;
|
|
5
|
+
};
|
|
6
|
+
export type JsonArray = JsonValue[];
|
|
7
|
+
export interface Tab<T extends string> {
|
|
8
|
+
name: T;
|
|
9
|
+
is_default: boolean;
|
|
10
|
+
is_hidden: boolean;
|
|
11
|
+
is_pinned: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface CodeEditorProps {
|
|
14
|
+
value: string;
|
|
15
|
+
onChange?: (value: string) => void;
|
|
16
|
+
withFullScreen?: boolean;
|
|
17
|
+
withTheme?: boolean;
|
|
18
|
+
isEditMode?: boolean;
|
|
19
|
+
height?: string;
|
|
20
|
+
language?: 'json' | 'python';
|
|
21
|
+
monacoEditor?: any;
|
|
22
|
+
setIsDisableSave?: (flag: boolean) => void;
|
|
23
|
+
isShowCopy?: boolean;
|
|
24
|
+
isShowDownload?: boolean;
|
|
25
|
+
withJsonGrid?: boolean;
|
|
26
|
+
editorTheme?: 'vs' | 'vs-dark';
|
|
27
|
+
setEditorTheme?: (theme: 'vs' | 'vs-dark') => void;
|
|
28
|
+
theme?: 'light' | 'dark';
|
|
29
|
+
}
|
|
30
|
+
export interface ThemeContextType {
|
|
31
|
+
theme: 'light' | 'dark';
|
|
32
|
+
editorTheme: 'vs' | 'vs-dark';
|
|
33
|
+
setEditorTheme: (theme: 'vs' | 'vs-dark') => void;
|
|
34
|
+
}
|
|
35
|
+
export interface UsePythonSyntaxProps {
|
|
36
|
+
monacoEditor: any;
|
|
37
|
+
currentEditorModel: any;
|
|
38
|
+
code: string;
|
|
39
|
+
setCode: (code: string) => void;
|
|
40
|
+
enable: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface PythonError {
|
|
43
|
+
message: string;
|
|
44
|
+
line?: number;
|
|
45
|
+
column?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface JsonGridContextType {
|
|
48
|
+
allExpanded: boolean;
|
|
49
|
+
toggleAll: () => void;
|
|
50
|
+
isEditMode: boolean;
|
|
51
|
+
isDarkMode: boolean;
|
|
52
|
+
selectedPaths: string[];
|
|
53
|
+
setSelectedPaths: (paths: string[]) => void;
|
|
54
|
+
selectedTopLevelPaths: string[];
|
|
55
|
+
setSelectedTopLevelPaths: (paths: string[]) => void;
|
|
56
|
+
selectedPathModification: string | null;
|
|
57
|
+
setSelectedPathModification: (path: string | null) => void;
|
|
58
|
+
selectedPathForEdit: string | null;
|
|
59
|
+
setSelectedPathForEdit: (path: string | null) => void;
|
|
60
|
+
jsonData: JsonObject | JsonArray;
|
|
61
|
+
setJsonData: (data: JsonObject | JsonArray) => void;
|
|
62
|
+
error: string | null;
|
|
63
|
+
setError: (error: string | null) => void;
|
|
64
|
+
handleDelete: (paths: string[]) => void;
|
|
65
|
+
handleDuplicate: (paths: string[]) => void;
|
|
66
|
+
handleCopy: (paths: string[]) => Promise<boolean>;
|
|
67
|
+
handleAddKey: (path: string, key: string, value: JsonValue | undefined) => Promise<void>;
|
|
68
|
+
setIsAddKeyModalOpen: (open: boolean) => void;
|
|
69
|
+
isAddKeyModalOpen: boolean;
|
|
70
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const getFlagComponent: (countryCode: string, isHovering?: boolean) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const getFlagComponentSm: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const getFlagComponentRectangle: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const getFlagComponentRectangleSm: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const getFlagComponentRectangleMd: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format a boolean value to display text
|
|
3
|
+
*/
|
|
4
|
+
export declare const formatBooleanValue: (value: any) => string;
|
|
5
|
+
/**
|
|
6
|
+
* Format a currency value
|
|
7
|
+
*/
|
|
8
|
+
export declare const formatCurrency: (value: any, currencyCode?: string) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Format a date value
|
|
11
|
+
*/
|
|
12
|
+
export declare const formatDate: (date?: string, config?: {
|
|
13
|
+
format?: string;
|
|
14
|
+
timezone?: string;
|
|
15
|
+
relative?: boolean;
|
|
16
|
+
withTime?: boolean;
|
|
17
|
+
fallback?: string;
|
|
18
|
+
skipTimezone?: boolean;
|
|
19
|
+
onlyTime?: boolean;
|
|
20
|
+
}) => string;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a value is a valid ISO date string
|
|
23
|
+
*/
|
|
24
|
+
export declare const isISODateString: (value: string) => boolean;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare const systemMessages: {
|
|
2
|
+
createSuccess: (value: string) => string;
|
|
3
|
+
createFailure: (value: string) => string;
|
|
4
|
+
updateSuccess: (value: string) => string;
|
|
5
|
+
updateFailure: (value: string) => string;
|
|
6
|
+
copySuccess: (value: string) => string;
|
|
7
|
+
copyFailure: (value: string) => string;
|
|
8
|
+
copyToClipboard: (value: string) => string;
|
|
9
|
+
moveSuccess: (value: string) => string;
|
|
10
|
+
moveFailure: (value: string) => string;
|
|
11
|
+
restoreSuccess: (value: string) => string;
|
|
12
|
+
resetSuccess: (value: string) => string;
|
|
13
|
+
resetFailure: (value: string) => string;
|
|
14
|
+
restoreFailure: (value: string) => string;
|
|
15
|
+
deleteSuccess: (value: string) => string;
|
|
16
|
+
deleteFailure: (value: string) => string;
|
|
17
|
+
addSuccess: (value: string) => string;
|
|
18
|
+
addFailure: (value: string) => string;
|
|
19
|
+
removeSuccess: (value: string) => string;
|
|
20
|
+
removeFailure: (value: string) => string;
|
|
21
|
+
importSuccess: (value: string) => string;
|
|
22
|
+
importFailure: (value: string) => string;
|
|
23
|
+
exportSuccess: (value: string) => string;
|
|
24
|
+
exportFailure: (value: string) => string;
|
|
25
|
+
installSuccess: (value: string) => string;
|
|
26
|
+
duplicateSuccess: (value: string) => string;
|
|
27
|
+
installFailure: (value: string) => string;
|
|
28
|
+
uninstallSuccess: (value: string) => string;
|
|
29
|
+
uninstallFailure: (value: string) => string;
|
|
30
|
+
approveSuccess: (value: string) => string;
|
|
31
|
+
approveFailure: (value: string) => string;
|
|
32
|
+
rejectSuccess: (value: string) => string;
|
|
33
|
+
rejectFailure: (value: string) => string;
|
|
34
|
+
archiveSuccess: (value: string) => string;
|
|
35
|
+
archiveFailure: (value: string) => string;
|
|
36
|
+
activateSuccess: (value: string) => string;
|
|
37
|
+
activateFailure: (value: string) => string;
|
|
38
|
+
deactivateSuccess: (value: string) => string;
|
|
39
|
+
deactivateFailure: (value: string) => string;
|
|
40
|
+
fileSizeLimit: (size: string, unit: string) => string;
|
|
41
|
+
fetchFailure: (value: string) => string;
|
|
42
|
+
requiredField: (value: string) => string;
|
|
43
|
+
existsError: (value: string) => string;
|
|
44
|
+
shouldNotContainOnlySpaces: (value: string) => string;
|
|
45
|
+
notAllowed: (value: string) => string;
|
|
46
|
+
allowed: (value: string) => string;
|
|
47
|
+
multipleNotAllowed: (value: string) => string;
|
|
48
|
+
notFound: (value: string) => string;
|
|
49
|
+
sendForApproval: (value: string) => string;
|
|
50
|
+
invalidError: (value: string) => string;
|
|
51
|
+
success: (value: string) => string;
|
|
52
|
+
initializationError: (value: string) => string;
|
|
53
|
+
selectError: (value: string) => string;
|
|
54
|
+
importStarted: (value: string) => string;
|
|
55
|
+
initiationSuccess: (value: string) => string;
|
|
56
|
+
initiationFailure: (value: string) => string;
|
|
57
|
+
transferSuccess: (value: string) => string;
|
|
58
|
+
transferFailure: (value: string) => string;
|
|
59
|
+
terminatedSuccess: (value: string) => string;
|
|
60
|
+
terminatedFailure: (value: string) => string;
|
|
61
|
+
markedAs: (value: string) => string;
|
|
62
|
+
bulkStatusChangeSuccess: (value: boolean) => string;
|
|
63
|
+
bulkStatusChangeFailure: (value: boolean) => string;
|
|
64
|
+
downloading: (value: string) => string;
|
|
65
|
+
downloadFailure: (value: string) => string;
|
|
66
|
+
bulkStatusChangeInfo: string;
|
|
67
|
+
bulkStatusChangeDefault: string;
|
|
68
|
+
bulkDeleteUsersSuccess: string;
|
|
69
|
+
bulkDeleteUsersFailure: string;
|
|
70
|
+
errorMessage: string;
|
|
71
|
+
requiredFieldError: string;
|
|
72
|
+
resetPasswordSuccess: string;
|
|
73
|
+
noItemSelected: string;
|
|
74
|
+
fieldAlreadyExist: string;
|
|
75
|
+
fetchingError: string;
|
|
76
|
+
secondaryOwnerLimitExceed: string;
|
|
77
|
+
saveChangesAlert: string;
|
|
78
|
+
visibleColumnError: string;
|
|
79
|
+
sessionExpired: string;
|
|
80
|
+
invalidFileType: string;
|
|
81
|
+
triggerNodeError: string;
|
|
82
|
+
formatFailed: string;
|
|
83
|
+
memberRemoveSuccess: string;
|
|
84
|
+
memberRemoveInfo: string;
|
|
85
|
+
memberRemoveError: string;
|
|
86
|
+
memberRemoveWarning: string;
|
|
87
|
+
memberRemoveDefault: string;
|
|
88
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate a consistent hash color from a string
|
|
3
|
+
*/
|
|
4
|
+
export declare const getHashColor: (str: string) => string;
|
|
5
|
+
/**
|
|
6
|
+
* Lighten a hex color by a percentage
|
|
7
|
+
*/
|
|
8
|
+
export declare const getLighterColor: (hex: string, percent?: number) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Darken a hex color by a percentage
|
|
11
|
+
*/
|
|
12
|
+
export declare const getDarkerColor: (hex: string, percent?: number) => string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parses a JSON string and returns the parsed JSON object
|
|
3
|
+
* @param json - The JSON string to parse
|
|
4
|
+
* @returns The parsed JSON object or null if the JSON is invalid
|
|
5
|
+
*/
|
|
6
|
+
export declare const parseJson: (json: string) => any;
|
|
7
|
+
/**
|
|
8
|
+
* Generates a random hexadecimal string of specified length
|
|
9
|
+
* @param length - The length of the hex string to generate
|
|
10
|
+
* @returns A random hex string
|
|
11
|
+
*/
|
|
12
|
+
export declare const randomHexString: (length: number) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Escape special regex characters in a string
|
|
15
|
+
* @param string - The string to escape
|
|
16
|
+
* @returns The escaped string
|
|
17
|
+
*/
|
|
18
|
+
export declare const escapeRegExp: (string: string) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Filters top level paths from a list of paths
|
|
21
|
+
* @param paths - The list of paths to filter
|
|
22
|
+
* @returns The filtered list of top level paths
|
|
23
|
+
*/
|
|
24
|
+
export declare const filterTopLevelPaths: (paths: string[]) => string[];
|