genus-ui 1.88.20 → 1.91.20
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.es.js +194 -198
- package/dist/index.umd.js +52 -52
- package/package.json +1 -1
- package/types/genus-chart/index.d.ts +3 -3
- package/types/genus-checkbox/index.d.ts +1 -1
- package/types/genus-dropdown-select/genus-dropdown.d.ts +2 -3
- package/types/genus-file-upload/index.d.ts +1 -1
- package/types/genus-step-wizard/genus-step-wizard.d.ts +6 -11
- package/types/genus-table/genus-table.d.ts +10 -10
- package/types/genus-tabs/genus-tab-container.d.ts +6 -7
- package/types/genus-textarea/index.d.ts +1 -1
- package/types/genus-textbox/index.d.ts +9 -9
- package/types/genus-toast-message/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
export declare class GenusChart extends LitElement {
|
|
3
3
|
chartTitle: string;
|
|
4
4
|
chartType: string;
|
|
5
|
-
chartLabels:
|
|
5
|
+
chartLabels: string[];
|
|
6
6
|
chartDataSets: never[];
|
|
7
7
|
chartOptions: {};
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
8
9
|
private _chartCanvas;
|
|
9
10
|
private _chart;
|
|
10
|
-
|
|
11
|
-
private _createChart;
|
|
11
|
+
createChart: () => void;
|
|
12
12
|
firstUpdated(): void;
|
|
13
13
|
updated(): void;
|
|
14
14
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -3,8 +3,8 @@ export declare class GenusCheckBox extends LitElement {
|
|
|
3
3
|
labelText: string;
|
|
4
4
|
inputValue: string;
|
|
5
5
|
withoutIcon: boolean;
|
|
6
|
-
getInputValue: () => void;
|
|
7
6
|
static styles: import("lit").CSSResult[];
|
|
7
|
+
getInputValue: () => void;
|
|
8
8
|
render(): import("lit-html").TemplateResult<1>;
|
|
9
9
|
}
|
|
10
10
|
declare global {
|
|
@@ -5,17 +5,16 @@ export declare class GenusDropDown extends LitElement {
|
|
|
5
5
|
inputName: string;
|
|
6
6
|
placeholderText: string;
|
|
7
7
|
searchPlaceholderText: string;
|
|
8
|
-
options: never[];
|
|
9
8
|
withoutLabel: boolean;
|
|
10
9
|
withFilter: boolean;
|
|
11
10
|
displayPosition: string;
|
|
12
11
|
inputIconSrc: string;
|
|
13
12
|
static styles: import("lit").CSSResult[];
|
|
13
|
+
private _showOptionsCSS;
|
|
14
14
|
selectOption: (e: Event) => void;
|
|
15
15
|
getInputValue: (e: Event) => void;
|
|
16
16
|
renderDropDownControl: () => TemplateResult;
|
|
17
|
-
|
|
18
|
-
private _toggleOptions;
|
|
17
|
+
toggleOptions: () => void;
|
|
19
18
|
static formAssociated: boolean;
|
|
20
19
|
private _internals;
|
|
21
20
|
constructor();
|
|
@@ -5,9 +5,9 @@ export declare class GenusFileUpload extends LitElement {
|
|
|
5
5
|
specificFileTypes: string;
|
|
6
6
|
withoutIcon: boolean;
|
|
7
7
|
withoutButtonText: boolean;
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
8
9
|
private _fileInput;
|
|
9
10
|
getInputValue: () => void;
|
|
10
|
-
static styles: import("lit").CSSResult[];
|
|
11
11
|
renderInputControl: () => TemplateResult;
|
|
12
12
|
render(): TemplateResult;
|
|
13
13
|
}
|
|
@@ -5,12 +5,12 @@ export declare class GenusStepWizard extends LitElement {
|
|
|
5
5
|
titles: never[];
|
|
6
6
|
direction: string;
|
|
7
7
|
static styles: import("lit").CSSResult[];
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
private _stepContents;
|
|
9
|
+
private _progressBarsTemplate;
|
|
10
|
+
private _steps;
|
|
11
|
+
private _circumference;
|
|
12
|
+
private _titlesRef;
|
|
13
|
+
private _circularProgressBar;
|
|
14
14
|
hideCurrentContent: () => void;
|
|
15
15
|
changeStep: () => void;
|
|
16
16
|
setProgressBar: () => void;
|
|
@@ -20,13 +20,8 @@ export declare class GenusStepWizard extends LitElement {
|
|
|
20
20
|
updated(): void;
|
|
21
21
|
render(): import("lit-html").TemplateResult<1>;
|
|
22
22
|
}
|
|
23
|
-
interface IStepTitles {
|
|
24
|
-
stepTitle: string;
|
|
25
|
-
stepSubtitle?: string;
|
|
26
|
-
}
|
|
27
23
|
declare global {
|
|
28
24
|
interface HTMLElementTagNameMap {
|
|
29
25
|
'genus-step-wizard': GenusStepWizard;
|
|
30
26
|
}
|
|
31
27
|
}
|
|
32
|
-
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement, PropertyValueMap, TemplateResult } from 'lit';
|
|
2
2
|
export declare class GenusTable extends LitElement {
|
|
3
|
-
tableHeaders:
|
|
3
|
+
tableHeaders: string[];
|
|
4
4
|
tableTitle: string;
|
|
5
5
|
dataSource: never[];
|
|
6
|
-
objectProperties:
|
|
6
|
+
objectProperties: string[];
|
|
7
7
|
readonly: boolean;
|
|
8
8
|
withPagination: boolean;
|
|
9
9
|
resultsPerPage: number;
|
|
@@ -12,23 +12,23 @@ export declare class GenusTable extends LitElement {
|
|
|
12
12
|
key: string;
|
|
13
13
|
anchorAttrValue: string;
|
|
14
14
|
emptyStateIllustration: string;
|
|
15
|
-
rowActions:
|
|
15
|
+
rowActions: string[];
|
|
16
16
|
viewSvgIcon: string;
|
|
17
17
|
editSvgIcon: string;
|
|
18
18
|
deleteSvgIcon: string;
|
|
19
19
|
static styles: import("lit").CSSResult[];
|
|
20
|
+
private _currentPage;
|
|
21
|
+
private _totalPages;
|
|
22
|
+
private _paginatedArray;
|
|
23
|
+
private _dataKey;
|
|
24
|
+
private _targetInput;
|
|
25
|
+
private _isDialogVisible;
|
|
20
26
|
containsHTML: (str: any) => boolean;
|
|
21
|
-
protected currentPage: number;
|
|
22
|
-
protected totalPages: number;
|
|
23
|
-
protected paginatedArray: never[];
|
|
24
|
-
protected dataKey: any;
|
|
25
|
-
targetInput: HTMLInputElement;
|
|
26
|
-
protected isDialogVisible: boolean;
|
|
27
27
|
generateTableHeadColumns: () => TemplateResult[];
|
|
28
28
|
generateDataColumns: (dataObject: any) => TemplateResult[];
|
|
29
29
|
getInputValue: (e: Event) => void;
|
|
30
30
|
allowOnlyNumbers: (e: KeyboardEvent) => void;
|
|
31
|
-
paginateArray: (data: any,
|
|
31
|
+
paginateArray: (data: any, _currentPage: any, itemsPerPage?: number) => any;
|
|
32
32
|
nextPage: () => void;
|
|
33
33
|
previousPage: () => void;
|
|
34
34
|
displayConfirmationDialog: (e: any) => void;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
export declare class GenusTabContainer extends LitElement {
|
|
3
|
+
tabNames: string[];
|
|
4
|
+
withBorderBottom: boolean;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
3
6
|
private _tabContents;
|
|
4
7
|
private _numberOfTabs;
|
|
5
8
|
private _tabsTemplate;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private _hideCurrentContent;
|
|
10
|
-
private _showContent;
|
|
11
|
-
private _generateTabs;
|
|
12
|
-
static styles: import("lit").CSSResult[];
|
|
9
|
+
hideCurrentContent: () => void;
|
|
10
|
+
showContent: (index: number) => void;
|
|
11
|
+
generateTabs: () => void;
|
|
13
12
|
firstUpdated(): void;
|
|
14
13
|
render(): import("lit-html").TemplateResult<1>;
|
|
15
14
|
}
|
|
@@ -5,8 +5,8 @@ export declare class GenusTextArea extends LitElement {
|
|
|
5
5
|
withoutLabel: boolean;
|
|
6
6
|
placeholderText: string;
|
|
7
7
|
readOnly: boolean;
|
|
8
|
-
getInputValue: (e: Event) => void;
|
|
9
8
|
static styles: import("lit").CSSResult[];
|
|
9
|
+
getInputValue: (e: Event) => void;
|
|
10
10
|
private _targetInput;
|
|
11
11
|
updated(): void;
|
|
12
12
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -12,22 +12,22 @@ export declare class GenusTextBox extends LitElement {
|
|
|
12
12
|
readOnly: boolean;
|
|
13
13
|
displayPosition: string;
|
|
14
14
|
static styles: import("lit").CSSResult[];
|
|
15
|
-
getInputValue: (e: Event) => void;
|
|
16
15
|
private _monthNames;
|
|
17
16
|
private _currentMonth;
|
|
18
17
|
private _currentYear;
|
|
19
18
|
private _currentDate;
|
|
20
19
|
private _targetInput;
|
|
21
|
-
private _isLeapYear;
|
|
22
|
-
private _getFebDays;
|
|
23
20
|
private _showMonthsCssClass;
|
|
24
21
|
private _showCalenderCssClass;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
getInputValue: (e: Event) => void;
|
|
23
|
+
isLeapYear: (year: number) => boolean;
|
|
24
|
+
getFebDays: (year: number) => 29 | 28;
|
|
25
|
+
toggleCalendar: () => void;
|
|
26
|
+
selectDate: (date: string) => void;
|
|
27
|
+
generateDays: (month: number, year: number) => HTMLDivElement;
|
|
28
|
+
setMonth: (index: number) => void;
|
|
29
|
+
previousYear: () => void;
|
|
30
|
+
nextYear: () => void;
|
|
31
31
|
renderInputControl: (type: string) => any;
|
|
32
32
|
updated(): void;
|
|
33
33
|
static formAssociated: boolean;
|
|
@@ -3,9 +3,9 @@ export declare class GenusToastMessage extends LitElement {
|
|
|
3
3
|
toastMessage: string;
|
|
4
4
|
toastType: string;
|
|
5
5
|
showToast: boolean;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
6
7
|
setToastVisibility: () => void;
|
|
7
8
|
renderCloseBtn: (toastType: string) => TemplateResult;
|
|
8
|
-
static styles: import("lit").CSSResult[];
|
|
9
9
|
render(): TemplateResult<1>;
|
|
10
10
|
}
|
|
11
11
|
declare global {
|