@devtron-labs/devtron-fe-common-lib 0.0.91-beta-6 → 0.0.91-beta-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  3. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +1 -1
  4. package/dist/Common/Checkbox.d.ts +1 -1
  5. package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -1
  6. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +1 -1
  7. package/dist/Common/Common.service.d.ts +1 -1
  8. package/dist/Common/Constants.d.ts +1 -0
  9. package/dist/Common/CustomTagSelector/Types.d.ts +1 -1
  10. package/dist/Common/Dialogs/DeleteDialog.d.ts +1 -1
  11. package/dist/Common/Dialogs/DialogForm.d.ts +1 -1
  12. package/dist/Common/Helper.d.ts +2 -2
  13. package/dist/Common/Modals/Modal.d.ts +1 -1
  14. package/dist/Common/Policy.Types.d.ts +1 -1
  15. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
  16. package/dist/Common/RJSF/config.d.ts +1 -1
  17. package/dist/Common/RJSF/types.d.ts +1 -1
  18. package/dist/Common/RadioGroup/RadioGroup.d.ts +1 -1
  19. package/dist/Common/ResizableTextarea.d.ts +1 -1
  20. package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +1 -1
  21. package/dist/Common/Select/Select.d.ts +1 -1
  22. package/dist/Common/Types.d.ts +4 -4
  23. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  24. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +1 -1
  25. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
  26. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +1 -1
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +1 -1
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +1 -1
  29. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +1 -1
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +1 -1
  31. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +1 -1
  32. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  33. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +1 -1
  34. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +3 -3
  35. package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -2
  36. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +1 -1
  37. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  38. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  39. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
  40. package/dist/Shared/Components/CICDHistory/types.d.ts +3 -3
  41. package/dist/Shared/Components/DatePicker/DateSelect.d.ts +3 -0
  42. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +4 -0
  43. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +12 -0
  44. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +3 -0
  45. package/dist/Shared/Components/DatePicker/constants.d.ts +122 -0
  46. package/dist/Shared/Components/DatePicker/index.d.ts +7 -0
  47. package/dist/Shared/Components/DatePicker/types.d.ts +118 -0
  48. package/dist/Shared/Components/DatePicker/utils.d.ts +51 -0
  49. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  50. package/dist/Shared/Components/Header/service.d.ts +1 -1
  51. package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
  52. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -2
  53. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
  54. package/dist/Shared/Components/index.d.ts +1 -0
  55. package/dist/Shared/Helpers.d.ts +3 -3
  56. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +1 -1
  57. package/dist/Shared/Providers/types.d.ts +2 -2
  58. package/dist/Shared/Services/types.d.ts +1 -1
  59. package/dist/Shared/types.d.ts +1 -1
  60. package/dist/assets/index.css +1 -1
  61. package/dist/assets/{yaml.worker-632eebb8.js → yaml.worker-9ae72aad.js} +237 -236
  62. package/dist/{cssMode-30528ab8.js → cssMode-175a6d3e.js} +1 -1
  63. package/dist/{freemarker2-b33829a1.js → freemarker2-bb01d369.js} +1 -1
  64. package/dist/{handlebars-f6cb2200.js → handlebars-e2ce0e75.js} +1 -1
  65. package/dist/{html-dd23535a.js → html-6715224c.js} +1 -1
  66. package/dist/{htmlMode-7c348c34.js → htmlMode-a62adaba.js} +1 -1
  67. package/dist/{index-440ae6eb.js → index-fd7157dc.js} +65889 -50246
  68. package/dist/index.js +396 -380
  69. package/dist/{javascript-9128b5a6.js → javascript-ead2702e.js} +1 -1
  70. package/dist/{jsonMode-28dbccd1.js → jsonMode-05964ebd.js} +1 -1
  71. package/dist/{liquid-a70bcd0e.js → liquid-d6a46536.js} +1 -1
  72. package/dist/{mdx-a4c7252c.js → mdx-c5e80443.js} +1 -1
  73. package/dist/{python-dca2163f.js → python-4533db71.js} +1 -1
  74. package/dist/{razor-9775cf93.js → razor-695a16ea.js} +1 -1
  75. package/dist/{tsMode-25965564.js → tsMode-3e7bc244.js} +1 -1
  76. package/dist/{typescript-74fdc1f9.js → typescript-da976cc1.js} +1 -1
  77. package/dist/{xml-ce45edc7.js → xml-fb3255a4.js} +1 -1
  78. package/dist/{yaml-aeb3e4a4.js → yaml-badbc111.js} +1 -1
  79. package/package.json +5 -3
@@ -1,5 +1,5 @@
1
- import { ResponseType, APIOptions } from './Types';
2
1
  import { MutableRefObject } from 'react';
2
+ import { ResponseType, APIOptions } from './Types';
3
3
 
4
4
  export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
5
5
  export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
@@ -1,5 +1,5 @@
1
- import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
3
3
 
4
4
  export declare const BreadcrumbContext: React.Context<any>;
5
5
  export declare function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
@@ -1,5 +1,5 @@
1
- import { BreadcrumbTextProps } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { BreadcrumbTextProps } from './Types';
3
3
 
4
4
  export declare const BreadcrumbText: ({ heading, isActive }: BreadcrumbTextProps) => JSX.Element;
5
5
  declare const Store: ({ children }: {
@@ -1,5 +1,5 @@
1
- import { CheckboxProps } from './Types';
2
1
  import { Component } from 'react';
2
+ import { CheckboxProps } from './Types';
3
3
 
4
4
  export declare class Checkbox extends Component<CheckboxProps> {
5
5
  render(): JSX.Element;
@@ -1,5 +1,5 @@
1
- import { CodeEditorComposition, CodeEditorInterface } from './types';
2
1
  import { default as React } from 'react';
2
+ import { CodeEditorComposition, CodeEditorInterface } from './types';
3
3
 
4
4
  declare const CodeEditor: React.FC<CodeEditorInterface> & CodeEditorComposition;
5
5
  export default CodeEditor;
@@ -1,5 +1,5 @@
1
- import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
2
1
  import { MODES } from '../Constants';
2
+ import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
3
3
 
4
4
  export declare const CodeEditorReducer: (state: CodeEditorState, action: Action) => {
5
5
  mode: any;
@@ -1,5 +1,5 @@
1
- import { ApiResourceType } from '../Pages';
2
1
  import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse } from './Types';
2
+ import { ApiResourceType } from '../Pages';
3
3
 
4
4
  export declare const getTeamListMin: () => Promise<TeamList>;
5
5
  interface UserRole extends ResponseType {
@@ -211,6 +211,7 @@ export declare enum FREQUENCY_ENUM {
211
211
  }
212
212
  export declare const TIME_FORMAT: {
213
213
  DD_MMM_YYYY_HH_MM: string;
214
+ DD_MMM_YYYY: string;
214
215
  };
215
216
  export declare function getOrdinal(number: any): string;
216
217
  export declare const TIME_HOUR_SUFFIX_FOR_12_HOUR_FORMAT: {
@@ -1,5 +1,5 @@
1
- import { OptionType } from '../Types';
2
1
  import { KEY_VALUE } from '../Constants';
2
+ import { OptionType } from '../Types';
3
3
 
4
4
  export interface SuggestedTagOptionType extends OptionType {
5
5
  description: string;
@@ -1,5 +1,5 @@
1
- import { DeleteDialogProps } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { DeleteDialogProps } from './Types';
3
3
 
4
4
  export declare const DeleteDialog: React.FC<DeleteDialogProps> & {
5
5
  Description?: React.FC<any>;
@@ -1,5 +1,5 @@
1
- import { DialogFormProps } from './Types';
2
1
  import { Component } from 'react';
2
+ import { DialogFormProps } from './Types';
3
3
 
4
4
  export declare class DialogForm extends Component<DialogFormProps> {
5
5
  constructor(props: any);
@@ -1,6 +1,6 @@
1
- import { scrollableInterface } from '../Shared';
2
- import { AsyncOptions, UseSearchString } from './Types';
3
1
  import { default as React, SyntheticEvent } from 'react';
2
+ import { AsyncOptions, UseSearchString } from './Types';
3
+ import { scrollableInterface } from '../Shared';
4
4
 
5
5
  export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
6
6
  interface ConditionalWrapper<T> {
@@ -1,5 +1,5 @@
1
- import { ModalType } from '../Types';
2
1
  import { default as React } from 'react';
2
+ import { ModalType } from '../Types';
3
3
 
4
4
  /**
5
5
  * @deprecated Use VisibleModal instead
@@ -1,5 +1,5 @@
1
- import { ResponseType } from './Types';
2
1
  import { VariableType } from './CIPipeline.Types';
2
+ import { ResponseType } from './Types';
3
3
 
4
4
  export declare enum ApplyPolicyToStage {
5
5
  PRE_CI = "PRE_CI",
@@ -1,5 +1,5 @@
1
- import { DO_NOT_SHOW_LABEL } from '../constants';
2
1
  import { FieldRowProps } from './types';
2
+ import { DO_NOT_SHOW_LABEL } from '../constants';
3
3
 
4
4
  export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: Omit<FieldRowProps, "label"> & {
5
5
  label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
@@ -1,5 +1,5 @@
1
- import { FormProps } from './types';
2
1
  import { RegistryWidgetsType } from '@rjsf/utils';
2
+ import { FormProps } from './types';
3
3
 
4
4
  export declare const widgets: RegistryWidgetsType;
5
5
  export declare const templates: FormProps['templates'];
@@ -1,4 +1,4 @@
1
- import { default as RJSFForm } from '@rjsf/core';
2
1
  import { ComponentProps } from 'react';
2
+ import { default as RJSFForm } from '@rjsf/core';
3
3
 
4
4
  export type FormProps = Omit<ComponentProps<typeof RJSFForm>, 'validator'>;
@@ -1,5 +1,5 @@
1
- import { RadioGroupComposition, RadioGroupInterface } from '../Types';
2
1
  import { default as React } from 'react';
2
+ import { RadioGroupComposition, RadioGroupInterface } from '../Types';
3
3
 
4
4
  declare const RadioGroup: React.FC<RadioGroupInterface> & RadioGroupComposition;
5
5
  export default RadioGroup;
@@ -1,4 +1,4 @@
1
- import { ResizableTextareaProps } from './Types';
2
1
  import { default as React } from 'react';
2
+ import { ResizableTextareaProps } from './Types';
3
3
 
4
4
  export declare const ResizableTextarea: React.FC<ResizableTextareaProps>;
@@ -1,5 +1,5 @@
1
- import { SegmentedBarChartProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { SegmentedBarChartProps } from './types';
3
3
 
4
4
  declare const SegmentedBarChart: React.FC<SegmentedBarChartProps>;
5
5
  export default SegmentedBarChart;
@@ -1,5 +1,5 @@
1
- import { SelectComposition, SelectProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { SelectComposition, SelectProps } from './types';
3
3
 
4
4
  declare const Select: React.FC<SelectProps> & SelectComposition;
5
5
  export default Select;
@@ -1,8 +1,8 @@
1
- import { RegistryType } from '../Shared';
2
- import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
3
- import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
- import { Placement } from 'tippy.js';
5
1
  import { default as React, ReactNode, CSSProperties } from 'react';
2
+ import { Placement } from 'tippy.js';
3
+ import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
+ import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
5
+ import { RegistryType } from '../Shared';
6
6
 
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -1,5 +1,5 @@
1
- import { UserRoleGroup } from '../../../types';
2
1
  import { UserRoleGroupsTableProps } from './types';
2
+ import { UserRoleGroup } from '../../../types';
3
3
 
4
4
  declare const UserRoleGroupTableRow: ({ id, name, description, status, timeToLive, modifierClassName, disableStatusComponent, handleStatusUpdate, handleDelete, statusComponent: StatusComponent, showStatus, showDelete, }: UserRoleGroup & Pick<UserRoleGroupsTableProps, "disableStatusComponent" | "handleStatusUpdate" | "handleDelete" | "statusComponent" | "showStatus"> & {
5
5
  modifierClassName: string;
@@ -1,5 +1,5 @@
1
- import { UserRoleGroup } from '../../../types';
2
1
  import { FC } from 'react';
2
+ import { UserRoleGroup } from '../../../types';
3
3
 
4
4
  export type UserRoleGroupsTableProps = {
5
5
  roleGroups: UserRoleGroup[];
@@ -1,5 +1,5 @@
1
- import { UserListSortableKeys, UserStatus } from './constants';
2
1
  import { SortingParams } from '../../../Common';
2
+ import { UserListSortableKeys, UserStatus } from './constants';
3
3
 
4
4
  export type BaseFilterQueryParams<T> = {
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { BuildInfraConfigFormProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraConfigFormProps } from './types';
3
3
 
4
4
  declare const BuildInfraConfigForm: FunctionComponent<BuildInfraConfigFormProps>;
5
5
  export default BuildInfraConfigForm;
@@ -1,5 +1,5 @@
1
- import { BuildInfraInputFieldComponentProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraInputFieldComponentProps } from './types';
3
3
 
4
4
  declare const BuildInfraProfileDescriptionField: FunctionComponent<BuildInfraInputFieldComponentProps>;
5
5
  export default BuildInfraProfileDescriptionField;
@@ -1,5 +1,5 @@
1
- import { BuildInfraFormActionProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraFormActionProps } from './types';
3
3
 
4
4
  /**
5
5
  * In case need arise for variants break this CustomInput and Select as a separate component
@@ -1,5 +1,5 @@
1
- import { BuildInfraFormItemProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraFormItemProps } from './types';
3
3
 
4
4
  declare const BuildInfraFormItem: FunctionComponent<BuildInfraFormItemProps>;
5
5
  export default BuildInfraFormItem;
@@ -1,5 +1,5 @@
1
- import { BuildInfraInputFieldComponentProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { BuildInfraInputFieldComponentProps } from './types';
3
3
 
4
4
  declare const BuildInfraProfileNameField: FunctionComponent<BuildInfraInputFieldComponentProps>;
5
5
  export default BuildInfraProfileNameField;
@@ -1,5 +1,5 @@
1
- import { FooterProps } from './types';
2
1
  import { FunctionComponent } from 'react';
2
+ import { FooterProps } from './types';
3
3
 
4
4
  declare const Footer: FunctionComponent<FooterProps>;
5
5
  export default Footer;
@@ -1,5 +1,5 @@
1
- import { BuildInfraFormFieldType, BuildInfraMetaConfigTypes, ProfileInputErrorType, BuildInfraProfileBase, HandleProfileInputChangeType } from './types';
2
1
  import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
2
+ import { BuildInfraFormFieldType, BuildInfraMetaConfigTypes, ProfileInputErrorType, BuildInfraProfileBase, HandleProfileInputChangeType } from './types';
3
3
 
4
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
5
5
  readonly STEP: "any";
@@ -1,5 +1,5 @@
1
- import { BuildInfraProfileResponseType, BuildInfraProfileTransformerType, CreateBuildInfraProfileType, GetBuildInfraProfileType, UpdateBuildInfraProfileType } from './types';
2
1
  import { ResponseType } from '../../../Common';
2
+ import { BuildInfraProfileResponseType, BuildInfraProfileTransformerType, CreateBuildInfraProfileType, GetBuildInfraProfileType, UpdateBuildInfraProfileType } from './types';
3
3
 
4
4
  export declare const getTransformedBuildInfraProfileResponse: ({ configurationUnits, defaultConfigurations, profile, fromCreateView, }: BuildInfraProfileTransformerType) => BuildInfraProfileResponseType;
5
5
  export declare const getBuildInfraProfileByName: ({ name, fromCreateView, }: GetBuildInfraProfileType) => Promise<BuildInfraProfileResponseType>;
@@ -1,7 +1,7 @@
1
- import { ServerErrors } from '../../../Common';
2
- import { ValidationResponseType } from '../../../Shared';
3
- import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
1
  import { FormEvent, FunctionComponent, ReactNode } from 'react';
2
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
3
+ import { ValidationResponseType } from '../../../Shared';
4
+ import { ServerErrors } from '../../../Common';
5
5
 
6
6
  /**
7
7
  * Unique actions that will be dispatched and,
@@ -1,6 +1,6 @@
1
- import { GenericSectionErrorStateProps } from '../GenericSectionErrorState/types';
2
- import { ErrorScreenManagerProps, GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
3
1
  import { ReactNode } from 'react';
2
+ import { ErrorScreenManagerProps, GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
3
+ import { GenericSectionErrorStateProps } from '../GenericSectionErrorState/types';
4
4
 
5
5
  export interface EmptyPageTextType {
6
6
  title?: GenericEmptyStateType['title'];
@@ -1,5 +1,5 @@
1
- import { DeploymentTemplateList, RunSourceType, RenderRunSourceType } from '../types';
2
1
  import { OptionType } from '../../../../Common';
2
+ import { DeploymentTemplateList, RunSourceType, RenderRunSourceType } from '../types';
3
3
 
4
4
  export interface DeploymentHistoryParamsType {
5
5
  appId: string;
@@ -1,5 +1,5 @@
1
- import { SidebarType } from './types';
2
1
  import { default as React } from 'react';
2
+ import { SidebarType } from './types';
3
3
 
4
4
  declare const Sidebar: React.MemoExoticComponent<({ type, filterOptions, triggerHistory, hasMore, setPagination, fetchIdData, handleViewAllHistory, children, renderRunSource, resourceId, }: SidebarType) => JSX.Element>;
5
5
  export default Sidebar;
@@ -1,5 +1,5 @@
1
- import { TriggerDetailsType, TriggerOutputProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { TriggerDetailsType, TriggerOutputProps } from './types';
3
3
 
4
4
  export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
5
5
  declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, }: TriggerOutputProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
2
1
  import { ResponseType } from '../../../Common';
2
+ import { DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
3
3
 
4
4
  export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId, fetchIdData, }: {
5
5
  appId: any;
@@ -1,7 +1,7 @@
1
- import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
2
- import { DeploymentStageType } from '../../constants';
3
- import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
4
1
  import { CSSProperties } from 'react';
2
+ import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
3
+ import { DeploymentStageType } from '../../constants';
4
+ import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
5
5
 
6
6
  export declare enum HistoryComponentType {
7
7
  CI = "CI",
@@ -0,0 +1,3 @@
1
+ import { DateSelectProps } from './types';
2
+
3
+ export declare const DateSelect: ({ selectedDate, handleOnChange }: DateSelectProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { DateTimePickerProps } from './types';
2
+
3
+ declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, }: DateTimePickerProps) => JSX.Element;
4
+ export default DateTimePicker;
@@ -0,0 +1,12 @@
1
+ import { SingleDatePickerProps } from './types';
2
+
3
+ /**
4
+ *
5
+ * @param date Date value to be displayed
6
+ * @param handleDatesChange Function to handle date change
7
+ * @param readOnly Value to make date picker read only
8
+ * @param isTodayBlocked Value to block today's date
9
+ * @returns
10
+ */
11
+ declare const SingleDatePickerComponent: ({ date, handleDatesChange, readOnly, isTodayBlocked, displayFormat, }: SingleDatePickerProps) => JSX.Element;
12
+ export default SingleDatePickerComponent;
@@ -0,0 +1,3 @@
1
+ import { TimeSelectProps } from './types';
2
+
3
+ export declare const TimePickerSelect: ({ disabled, date: dateObject, onChange, timePickerProps, error, default12HourTime, }: TimeSelectProps) => JSX.Element;
@@ -0,0 +1,122 @@
1
+ export declare const customDayStyles: {
2
+ selectedStartStyles: {
3
+ background: string;
4
+ color: string;
5
+ hover: {
6
+ background: string;
7
+ color: string;
8
+ };
9
+ };
10
+ selectedEndStyles: {
11
+ background: string;
12
+ color: string;
13
+ hover: {
14
+ background: string;
15
+ color: string;
16
+ };
17
+ };
18
+ hoveredSpanStyles: {
19
+ background: string;
20
+ color: string;
21
+ };
22
+ selectedSpanStyles: {
23
+ background: string;
24
+ color: string;
25
+ hover: {
26
+ background: string;
27
+ color: string;
28
+ };
29
+ };
30
+ selectedStyles: {
31
+ background: string;
32
+ color: string;
33
+ hover: {
34
+ background: string;
35
+ color: string;
36
+ };
37
+ };
38
+ border: string;
39
+ };
40
+ export declare const MONTHLY_DATES_CONFIG: {
41
+ 'Day 1': string;
42
+ 'Day 2': string;
43
+ 'Day 3': string;
44
+ 'Day 4': string;
45
+ 'Day 5': string;
46
+ 'Day 6': string;
47
+ 'Day 7': string;
48
+ 'Day 8': string;
49
+ 'Day 9': string;
50
+ 'Day 10': string;
51
+ 'Day 11': string;
52
+ 'Day 12': string;
53
+ 'Day 13': string;
54
+ 'Day 14': string;
55
+ 'Day 15': string;
56
+ 'Day 16': string;
57
+ 'Day 17': string;
58
+ 'Day 18': string;
59
+ 'Day 19': string;
60
+ 'Day 20': string;
61
+ 'Day 21': string;
62
+ 'Day 22': string;
63
+ 'Day 23': string;
64
+ 'Day 24': string;
65
+ 'Day 25': string;
66
+ 'Day 26': string;
67
+ 'Day 27': string;
68
+ 'Day 28': string;
69
+ 'Third Last Day': string;
70
+ 'Second Last Day': string;
71
+ 'Last Day': string;
72
+ };
73
+ export declare const TIME_OPTIONS_CONFIG: {
74
+ '12:00 AM': string;
75
+ '12:30 AM': string;
76
+ '01:00 AM': string;
77
+ '01:30 AM': string;
78
+ '02:00 AM': string;
79
+ '02:30 AM': string;
80
+ '03:00 AM': string;
81
+ '03:30 AM': string;
82
+ '04:00 AM': string;
83
+ '04:30 AM': string;
84
+ '05:00 AM': string;
85
+ '05:30 AM': string;
86
+ '06:00 AM': string;
87
+ '06:30 AM': string;
88
+ '07:00 AM': string;
89
+ '07:30 AM': string;
90
+ '08:00 AM': string;
91
+ '08:30 AM': string;
92
+ '09:00 AM': string;
93
+ '09:30 AM': string;
94
+ '10:00 AM': string;
95
+ '10:30 AM': string;
96
+ '11:00 AM': string;
97
+ '11:30 AM': string;
98
+ '12:00 PM': string;
99
+ '12:30 PM': string;
100
+ '01:00 PM': string;
101
+ '01:30 PM': string;
102
+ '02:00 PM': string;
103
+ '02:30 PM': string;
104
+ '03:00 PM': string;
105
+ '03:30 PM': string;
106
+ '04:00 PM': string;
107
+ '04:30 PM': string;
108
+ '05:00 PM': string;
109
+ '05:30 PM': string;
110
+ '06:00 PM': string;
111
+ '06:30 PM': string;
112
+ '07:00 PM': string;
113
+ '07:30 PM': string;
114
+ '08:00 PM': string;
115
+ '08:30 PM': string;
116
+ '09:00 PM': string;
117
+ '09:30 PM': string;
118
+ '10:00 PM': string;
119
+ '10:30 PM': string;
120
+ '11:00 PM': string;
121
+ '11:30 PM': string;
122
+ };
@@ -0,0 +1,7 @@
1
+ export { default as SingleDatePickerComponent } from './SingleDatePickerComponent';
2
+ export * from './types';
3
+ export * from './DateSelect';
4
+ export * from './TimeSelect';
5
+ export * from './utils';
6
+ export * from './constants';
7
+ export { default as DateTimePicker } from './DateTimePicker';
@@ -0,0 +1,118 @@
1
+ import { Moment } from 'moment';
2
+ import { SelectInstance } from 'react-select';
3
+ import { OptionType } from '../../../Common';
4
+
5
+ export interface SingleDatePickerProps {
6
+ /**
7
+ * Date value to be displayed
8
+ */
9
+ date: Moment;
10
+ /**
11
+ * Function to handle date change
12
+ */
13
+ handleDatesChange: (e: any) => void;
14
+ /**
15
+ * Value to make date picker read only
16
+ */
17
+ readOnly?: boolean;
18
+ /**
19
+ * Value to block today's date
20
+ */
21
+ isTodayBlocked?: boolean;
22
+ /**
23
+ * Value to block today's date
24
+ */
25
+ datePickerProps?: any;
26
+ /**
27
+ * Display format for the date
28
+ */
29
+ displayFormat?: string;
30
+ }
31
+ export interface DateSelectProps {
32
+ /**
33
+ * Current selected date object
34
+ *
35
+ * @default 'new Date()'
36
+ */
37
+ selectedDate: OptionType;
38
+ /**
39
+ * Handler for updating the date from the parent component
40
+ */
41
+ handleOnChange: (date: OptionType) => void;
42
+ }
43
+ export interface TimeSelectProps {
44
+ /**
45
+ * Current selected date object
46
+ *
47
+ * @default 'new Date()'
48
+ */
49
+ date?: Date;
50
+ /**
51
+ * Handler for updating the date from the parent component
52
+ */
53
+ onChange: (date: Date) => void;
54
+ /**
55
+ * Props for the time picker
56
+ */
57
+ timePickerProps?: SelectInstance;
58
+ /**
59
+ * Error message for the DateTime picker component
60
+ */
61
+ error?: string;
62
+ /**
63
+ * If true, both the date and time picker are disabled
64
+ */
65
+ disabled?: boolean;
66
+ /**
67
+ * Id for the component
68
+ */
69
+ default12HourTime: OptionType;
70
+ }
71
+ export interface DateTimePickerProps {
72
+ /**
73
+ * Current selected date object
74
+ *
75
+ * @default 'new Date()'
76
+ */
77
+ date?: Date;
78
+ /**
79
+ * Handler for updating the date from the parent component
80
+ */
81
+ onChange: (date: Date) => void;
82
+ /**
83
+ * Props for the date picker
84
+ */
85
+ datePickerProps?: any;
86
+ /**
87
+ * Props for the time picker
88
+ */
89
+ timePickerProps?: SelectInstance;
90
+ /**
91
+ * Error message for the DateTime picker component
92
+ */
93
+ error?: string;
94
+ /**
95
+ * If true, both the date and time picker are disabled
96
+ */
97
+ disabled?: boolean;
98
+ /**
99
+ * Id for the component
100
+ */
101
+ id: string;
102
+ /**
103
+ * Label for the component
104
+ */
105
+ label?: string;
106
+ /**
107
+ * If true, the field is required and asterisk is shown
108
+ */
109
+ required?: boolean;
110
+ /**
111
+ * To hide time selector
112
+ */
113
+ hideTimeSelect?: boolean;
114
+ /**
115
+ * To make the field read only
116
+ */
117
+ readOnly?: boolean;
118
+ }