genus-ui 2.26.32 → 2.32.32
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 +3513 -3370
- package/dist/index.umd.js +212 -98
- package/package.json +1 -1
- package/types/genus-accordion/index.d.ts +15 -0
- package/types/genus-accordion/styles/checkboxes.d.ts +1 -0
- package/types/genus-accordion/styles/containers.d.ts +1 -0
- package/types/genus-accordion/styles/flexbox.d.ts +1 -0
- package/types/genus-accordion/styles/icons.d.ts +1 -0
- package/types/genus-accordion/styles/labels.d.ts +1 -0
- package/types/genus-accordion/styles/typography.d.ts +1 -0
- package/types/genus-table/index.d.ts +46 -2
- package/types/index.d.ts +3 -2
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusAccordion extends LitElement {
|
|
3
|
+
accordionId: string;
|
|
4
|
+
accordionTitle: string;
|
|
5
|
+
accordionIndex: string;
|
|
6
|
+
accordionIcon: string;
|
|
7
|
+
withNumber: boolean;
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
'genus-accordion': GenusAccordion;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkboxes: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const containers: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const flexbox: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const icons: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labels: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -1,2 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { LitElement, PropertyValueMap, TemplateResult } from 'lit';
|
|
2
|
+
export declare class GenusTable extends LitElement {
|
|
3
|
+
tableHeaders: string[];
|
|
4
|
+
tableTitle: string;
|
|
5
|
+
dataSource: never[];
|
|
6
|
+
objectProperties: string[];
|
|
7
|
+
readonly: boolean;
|
|
8
|
+
withPagination: boolean;
|
|
9
|
+
resultsPerPage: number;
|
|
10
|
+
previousSvgSrc: string;
|
|
11
|
+
nextSvgSrc: string;
|
|
12
|
+
key: string;
|
|
13
|
+
anchorAttrValue: string;
|
|
14
|
+
emptyStateIllustration: string;
|
|
15
|
+
rowActions: string[];
|
|
16
|
+
viewSvgIcon: string;
|
|
17
|
+
editSvgIcon: string;
|
|
18
|
+
deleteSvgIcon: string;
|
|
19
|
+
isLoading: number;
|
|
20
|
+
static styles: import("lit").CSSResult[];
|
|
21
|
+
private _currentPage;
|
|
22
|
+
private _totalPages;
|
|
23
|
+
private _paginatedArray;
|
|
24
|
+
private _dataKey;
|
|
25
|
+
private _targetInput;
|
|
26
|
+
private _isDialogVisible;
|
|
27
|
+
containsHTML: (str: any) => boolean;
|
|
28
|
+
generateTableHeadColumns: () => TemplateResult[];
|
|
29
|
+
generateDataColumns: (dataObject: any) => TemplateResult[];
|
|
30
|
+
getInputValue: (e: Event) => void;
|
|
31
|
+
allowOnlyNumbers: (e: KeyboardEvent) => void;
|
|
32
|
+
paginateArray: (data: any, _currentPage: any, itemsPerPage?: number) => any;
|
|
33
|
+
nextPage: () => void;
|
|
34
|
+
previousPage: () => void;
|
|
35
|
+
displayConfirmationDialog: (e: any) => void;
|
|
36
|
+
closeConfirmDialog: () => void;
|
|
37
|
+
deleteRecord: () => void;
|
|
38
|
+
willUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
39
|
+
renderTableLoader: () => TemplateResult;
|
|
40
|
+
render(): TemplateResult;
|
|
41
|
+
}
|
|
42
|
+
declare global {
|
|
43
|
+
interface HTMLElementTagNameMap {
|
|
44
|
+
'genus-table': GenusTable;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -9,11 +9,12 @@ import * as GenusCheckBoxGroup from "./genus-checkbox-group";
|
|
|
9
9
|
import { GenusCheckBox } from "./genus-checkbox";
|
|
10
10
|
import * as GenusDropDownSelect from "./genus-dropdown-select";
|
|
11
11
|
import { GenusChart } from "./genus-chart";
|
|
12
|
-
import
|
|
12
|
+
import { GenusTable } from "./genus-table";
|
|
13
13
|
import { GenusToastMessage } from "./genus-toast-message";
|
|
14
14
|
import { GenusDataListItem } from "./genus-data-list-item";
|
|
15
15
|
import { GenusFileUpload } from "./genus-file-upload";
|
|
16
16
|
import { GenusToggleSwitch } from "./genus-toggle-switch";
|
|
17
17
|
import { GenusRangeSlider } from "./genus-range-slider";
|
|
18
18
|
import { GenusSlider } from "./genus-slider";
|
|
19
|
-
|
|
19
|
+
import { GenusAccordion } from "./genus-accordion";
|
|
20
|
+
export { GenusTextBox, GenusTextArea, GenusDatePicker, GenusRadioBtnGroup, GenusDataCard, GenusCheckBoxGroup, GenusCheckBox, GenusTabs, GenusWizard, GenusDropDownSelect, GenusChart, GenusTable, GenusToastMessage, GenusDataListItem, GenusFileUpload, GenusToggleSwitch, GenusRangeSlider, GenusSlider, GenusAccordion };
|