gbs-fwk-buildingblock 1.2.2-beta → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ interface customBtnProps {
3
+ id?: any;
4
+ value?: string | undefined;
5
+ type?: "submit" | "reset" | "button" | undefined;
6
+ className?: string;
7
+ onClick?: (event: any, state?: any) => void;
8
+ iconClass?: string;
9
+ name?: string;
10
+ disabled?: boolean;
11
+ }
12
+ export declare const Button: React.FC<customBtnProps>;
13
+ export {};
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ interface CheckboxProps {
3
+ className?: string;
4
+ id?: any;
5
+ label?: string;
6
+ onChange?: (event: any, state?: any) => void;
7
+ value?: any;
8
+ name?: string;
9
+ disabled?: boolean;
10
+ checked?: boolean;
11
+ indeterminate?: boolean;
12
+ }
13
+ export declare const CheckBox: React.FC<CheckboxProps>;
14
+ export {};
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ interface DatePickerProps {
3
+ id?: any;
4
+ placeholder?: string;
5
+ value?: any;
6
+ onChange?: (event: any, state?: any) => void;
7
+ className?: string;
8
+ label?: string;
9
+ required?: boolean;
10
+ format?: string;
11
+ name?: string;
12
+ disabled?: boolean;
13
+ min?: Date;
14
+ max?: Date;
15
+ }
16
+ export declare const DatePicker: React.FC<DatePickerProps>;
17
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const Dialog: React.FC;
@@ -0,0 +1,21 @@
1
+ import React, { ChangeEvent } from "react";
2
+ interface DropDownProps {
3
+ id?: string;
4
+ name?: string;
5
+ dataSource?: any[];
6
+ fields?: Object;
7
+ sortOrder?: any;
8
+ placeholder?: string;
9
+ allowFiltering?: boolean;
10
+ required?: boolean;
11
+ label?: string;
12
+ popupHeight?: string;
13
+ autofill?: boolean;
14
+ onChange?: (event: ChangeEvent<HTMLInputElement>, state?: any) => void;
15
+ value?: any;
16
+ className?: string;
17
+ disabled?: boolean;
18
+ showSelectAll?: boolean;
19
+ }
20
+ export declare const DropDown: React.FC<DropDownProps>;
21
+ export {};
@@ -0,0 +1,13 @@
1
+ import React, { ChangeEvent } from "react";
2
+ interface DropDownTreeProps {
3
+ fields?: Object;
4
+ allowFiltering?: boolean;
5
+ id?: any;
6
+ onChange?: (event: ChangeEvent<HTMLInputElement>, state?: any) => void;
7
+ value?: any;
8
+ name?: string;
9
+ className?: string;
10
+ disabled?: boolean;
11
+ }
12
+ export declare const DropDownTree: React.FC<DropDownTreeProps>;
13
+ export {};
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ interface GridProps {
3
+ pageSize?: number;
4
+ dataSource?: any[];
5
+ allowPaging?: boolean;
6
+ columns?: any[] | undefined;
7
+ columnName?: string;
8
+ allowCheckBox?: boolean;
9
+ className?: string;
10
+ allowGenericSearch?: boolean;
11
+ allowColumnSearch?: boolean;
12
+ allowExcelExport?: boolean;
13
+ id?: any;
14
+ excelFileName?: any;
15
+ toolBarName?: any;
16
+ onRefresh?: any;
17
+ checkboxOnly? : boolean;
18
+ }
19
+ export declare const Grid: React.FC<GridProps>;
20
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ interface UploaderProps {
3
+ fileTypes?: any[];
4
+ fileCount?: number;
5
+ onFilesChange?: (files: any[]) => void;
6
+ className?: string;
7
+ disabled?: boolean;
8
+ id?: any;
9
+ fileSize?: number;
10
+ }
11
+ export declare const ImageUploader: React.FC<UploaderProps>;
12
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ interface PropertyPaneProps {
3
+ title: string;
4
+ children: React.ReactNode;
5
+ }
6
+ export declare class PropertyPane extends React.Component<PropertyPaneProps> {
7
+ render(): JSX.Element;
8
+ }
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ export declare class SampleBase extends React.PureComponent {
3
+ rendereComplete(): void;
4
+ componentDidMount(): void;
5
+ }
6
+ export declare function updateSampleSection(): void;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ interface MultiSelectComponentProps {
3
+ dataSource: any[];
4
+ placeholder?: string;
5
+ fields?: object;
6
+ onChange?: (selectedItems: any, state?: any) => void;
7
+ className?: string;
8
+ label?: string;
9
+ required?: boolean;
10
+ id?: any;
11
+ name?: string;
12
+ mode?: any;
13
+ value?: any;
14
+ disabled?: boolean;
15
+ showSelectAll?: boolean;
16
+ }
17
+ export declare const MultiSelectDropdown: React.FC<MultiSelectComponentProps>;
18
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ interface PopupProps {
3
+ className?: string;
4
+ children?: any;
5
+ title?: string;
6
+ iconClass?: string;
7
+ show?: boolean;
8
+ onClose?: (event: any) => void;
9
+ toggle?: any;
10
+ closeBtn?: boolean;
11
+ }
12
+ export declare const Popup: React.FC<PopupProps>;
13
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import './style.css';
3
+ interface PopupProps {
4
+ className?: string;
5
+ children?: any;
6
+ title?: string;
7
+ iconClass?: string;
8
+ show?: boolean;
9
+ onClose?: (event: any) => void;
10
+ }
11
+ export declare const Popup: React.FC<PopupProps>;
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ interface SelectorProps {
3
+ label?: string;
4
+ action?: any[];
5
+ onSelect?: (value: any, state?: any) => void;
6
+ className?: string;
7
+ id?: any;
8
+ name?: string;
9
+ }
10
+ export declare const Selector: React.FC<SelectorProps>;
11
+ export {};
@@ -0,0 +1,20 @@
1
+ import React, { ChangeEvent } from "react";
2
+ interface TextAreaprops {
3
+ id?: string;
4
+ name?: string;
5
+ rows?: number;
6
+ cols?: number;
7
+ value?: any;
8
+ label?: string;
9
+ onChange?: (event: ChangeEvent<HTMLTextAreaElement>, state?: any) => void;
10
+ onBlur?: (event: any, props?: any) => void;
11
+ onKeypress?: (event: any, state?: any) => void;
12
+ required?: boolean;
13
+ className?: string;
14
+ placeholder?: string;
15
+ maxLength?: any;
16
+ disabled?: boolean;
17
+ defaultValue?: any;
18
+ }
19
+ export declare const TextArea: React.FC<TextAreaprops>;
20
+ export {};
@@ -0,0 +1,24 @@
1
+ import React, { ChangeEvent, FocusEvent } from "react";
2
+ interface TextInputProps {
3
+ type?: string;
4
+ onChange?: (event: ChangeEvent<HTMLInputElement>, state?: any) => void;
5
+ onBlur?: (event: FocusEvent<HTMLInputElement>, props?: any) => void;
6
+ onKeyPress?: (event: any, state?: any) => void;
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ className?: string;
10
+ pattern?: string;
11
+ name?: string;
12
+ placeholder?: string;
13
+ value?: any;
14
+ label?: string;
15
+ id?: any;
16
+ min?: any;
17
+ maxLength?: any;
18
+ minLength?: any;
19
+ step?: number;
20
+ defaultValue?: any;
21
+ checked?: boolean;
22
+ }
23
+ export declare const Textbox: React.FC<TextInputProps>;
24
+ export {};
@@ -0,0 +1,15 @@
1
+ import React, { ChangeEvent } from "react";
2
+ interface TimePickerProps {
3
+ placeholder?: string | undefined;
4
+ className?: string | undefined;
5
+ minTime?: Date | undefined;
6
+ maxTime?: Date | undefined;
7
+ label?: string;
8
+ id?: any;
9
+ onChange?: (event: ChangeEvent<HTMLInputElement>, state?: any) => void;
10
+ name?: string;
11
+ value?: any;
12
+ disabled?: boolean;
13
+ }
14
+ export declare const TimePicker: React.FC<TimePickerProps>;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const Toast: React.FC;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ interface TooltipProps {
3
+ id?: string;
4
+ className?: string;
5
+ content?: string;
6
+ target?: string;
7
+ position?: any;
8
+ children?: any;
9
+ }
10
+ export declare const Tooltip: React.FC<TooltipProps>;
11
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ interface UploaderProps {
3
+ fileTypes?: any[];
4
+ fileCount?: number;
5
+ onFilesChange?: (files: any[]) => void;
6
+ className?: string;
7
+ disabled?: boolean;
8
+ id?: any;
9
+ fileSize?: number;
10
+ }
11
+ export declare const Uploader: React.FC<UploaderProps>;
12
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export declare class BaseComponent<Props, State> extends React.Component<Props, State> {
3
+ constructor(props: any);
4
+ render(): JSX.Element;
5
+ componentDidMount(): void;
6
+ handleChange(event: any, stateEntity: any, rowIndex?: number, propertyName?: string): void;
7
+ initializePageIndex(data: any[]): any[];
8
+ }
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ interface IdleMonitorProps {
3
+ logOut?: (event: any) => void;
4
+ toggle?: any;
5
+ extendSession?: (event: any) => void;
6
+ idleLogout?: any;
7
+ }
8
+ declare const IdleMonitor: React.FC<IdleMonitorProps>;
9
+ export default IdleMonitor;
@@ -0,0 +1,19 @@
1
+ export * from './blocks/button';
2
+ export * from './blocks/check-box';
3
+ export * from './blocks/date-picker';
4
+ export * from './blocks/multi-select';
5
+ export * from './blocks/selector';
6
+ export * from './blocks/text-box';
7
+ export * from './blocks/time-picker';
8
+ export * from './blocks/grid';
9
+ export * from './blocks/popup';
10
+ export * from './blocks/uploader';
11
+ export * from './blocks/toast';
12
+ export * from './blocks/dialog';
13
+ export * from './blocks/dropdowntree';
14
+ export * from './blocks/dropdown';
15
+ export * from './blocks/text-area';
16
+ export * from './blocks/tooltip';
17
+ export * from './blocks/image-uploader';
18
+ export * from './components/base';
19
+ export * from './components/session';