genus-ui 2.62.64 → 2.62.65
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 +9836 -11280
- package/dist/index.umd.js +358 -357
- package/package.json +4 -4
- package/types/genus-date-picker/index.d.ts +1 -1
- package/types/src/genus-accordion/index.d.ts +15 -0
- package/types/src/genus-accordion/styles/checkboxes.d.ts +1 -0
- package/types/src/genus-accordion/styles/containers.d.ts +1 -0
- package/types/src/genus-accordion/styles/flexbox.d.ts +1 -0
- package/types/src/genus-accordion/styles/icons.d.ts +1 -0
- package/types/src/genus-accordion/styles/labels.d.ts +1 -0
- package/types/src/genus-accordion/styles/typography.d.ts +1 -0
- package/types/src/genus-chart/index.d.ts +21 -0
- package/types/src/genus-chart/styles/containers.d.ts +1 -0
- package/types/src/genus-chart/styles/flexbox.d.ts +1 -0
- package/types/src/genus-chart/styles/typography.d.ts +1 -0
- package/types/src/genus-checkbox/index.d.ts +17 -0
- package/types/src/genus-checkbox/styles/checkboxes.d.ts +1 -0
- package/types/src/genus-checkbox/styles/flexbox.d.ts +1 -0
- package/types/src/genus-checkbox/styles/icons.d.ts +1 -0
- package/types/src/genus-checkbox/styles/labels.d.ts +1 -0
- package/types/src/genus-checkbox/styles/typography.d.ts +1 -0
- package/types/src/genus-checkbox-group/genus-checkbox-group.d.ts +11 -0
- package/types/src/genus-checkbox-group/genus-checkbox-option.d.ts +20 -0
- package/types/src/genus-checkbox-group/index.d.ts +3 -0
- package/types/src/genus-checkbox-group/styles/checkboxes.d.ts +1 -0
- package/types/src/genus-checkbox-group/styles/containers.d.ts +1 -0
- package/types/src/genus-checkbox-group/styles/flexbox.d.ts +1 -0
- package/types/src/genus-checkbox-group/styles/grid.d.ts +1 -0
- package/types/src/genus-checkbox-group/styles/icons.d.ts +1 -0
- package/types/src/genus-checkbox-group/styles/labels.d.ts +1 -0
- package/types/src/genus-checkbox-group/styles/typography.d.ts +1 -0
- package/types/src/genus-data-card/index.d.ts +16 -0
- package/types/src/genus-data-card/styles/containers.d.ts +1 -0
- package/types/src/genus-data-card/styles/flexbox.d.ts +1 -0
- package/types/src/genus-data-card/styles/grid.d.ts +1 -0
- package/types/src/genus-data-card/styles/icons.d.ts +1 -0
- package/types/src/genus-data-card/styles/typography.d.ts +1 -0
- package/types/src/genus-data-list-item/index.d.ts +19 -0
- package/types/src/genus-data-list-item/styles/containers.d.ts +1 -0
- package/types/src/genus-data-list-item/styles/flexbox.d.ts +1 -0
- package/types/src/genus-data-list-item/styles/grid.d.ts +1 -0
- package/types/src/genus-data-list-item/styles/icons.d.ts +1 -0
- package/types/src/genus-data-list-item/styles/typography.d.ts +1 -0
- package/types/src/genus-date-picker/index.d.ts +47 -0
- package/types/src/genus-date-picker/styles/containers.d.ts +1 -0
- package/types/src/genus-date-picker/styles/flexbox.d.ts +1 -0
- package/types/src/genus-date-picker/styles/grid.d.ts +1 -0
- package/types/src/genus-date-picker/styles/icons.d.ts +1 -0
- package/types/src/genus-date-picker/styles/labels.d.ts +1 -0
- package/types/src/genus-date-picker/styles/textboxes.d.ts +1 -0
- package/types/src/genus-date-picker/styles/typography.d.ts +1 -0
- package/types/src/genus-dropdown-select/genus-dropdown-option.d.ts +11 -0
- package/types/src/genus-dropdown-select/genus-dropdown.d.ts +27 -0
- package/types/src/genus-dropdown-select/index.d.ts +3 -0
- package/types/src/genus-dropdown-select/styles/containers.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/flexbox.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/grid.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/icons.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/labels.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/list.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/textboxes.d.ts +1 -0
- package/types/src/genus-dropdown-select/styles/typography.d.ts +1 -0
- package/types/src/genus-file-upload/index.d.ts +21 -0
- package/types/src/genus-file-upload/styles/flexbox.d.ts +1 -0
- package/types/src/genus-file-upload/styles/icons.d.ts +1 -0
- package/types/src/genus-file-upload/styles/labels.d.ts +1 -0
- package/types/src/genus-file-upload/styles/textboxes.d.ts +1 -0
- package/types/src/genus-file-upload/styles/typography.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/genus-multi-select-dropdown.d.ts +34 -0
- package/types/src/genus-multi-select-dropdown/genus-multi-select-option.d.ts +15 -0
- package/types/src/genus-multi-select-dropdown/index.d.ts +3 -0
- package/types/src/genus-multi-select-dropdown/styles/checkboxes.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/containers.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/flexbox.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/grid.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/icons.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/labels.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/list.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/textboxes.d.ts +1 -0
- package/types/src/genus-multi-select-dropdown/styles/typography.d.ts +1 -0
- package/types/src/genus-numeric-slider/index.d.ts +22 -0
- package/types/src/genus-numeric-slider/styles/containers.d.ts +1 -0
- package/types/src/genus-numeric-slider/styles/flexbox.d.ts +1 -0
- package/types/src/genus-numeric-slider/styles/grid.d.ts +1 -0
- package/types/src/genus-numeric-slider/styles/labels.d.ts +1 -0
- package/types/src/genus-numeric-slider/styles/slider.d.ts +1 -0
- package/types/src/genus-numeric-slider/styles/typography.d.ts +1 -0
- package/types/src/genus-radiobtn-group/index.d.ts +26 -0
- package/types/src/genus-radiobtn-group/styles/containers.d.ts +1 -0
- package/types/src/genus-radiobtn-group/styles/flexbox.d.ts +1 -0
- package/types/src/genus-radiobtn-group/styles/grid.d.ts +1 -0
- package/types/src/genus-radiobtn-group/styles/icons.d.ts +1 -0
- package/types/src/genus-radiobtn-group/styles/labels.d.ts +1 -0
- package/types/src/genus-radiobtn-group/styles/radio-buttons.d.ts +1 -0
- package/types/src/genus-radiobtn-group/styles/typography.d.ts +1 -0
- package/types/src/genus-range-slider/index.d.ts +26 -0
- package/types/src/genus-range-slider/styles/containers.d.ts +1 -0
- package/types/src/genus-range-slider/styles/flexbox.d.ts +1 -0
- package/types/src/genus-range-slider/styles/grid.d.ts +1 -0
- package/types/src/genus-range-slider/styles/labels.d.ts +1 -0
- package/types/src/genus-range-slider/styles/slider.d.ts +1 -0
- package/types/src/genus-range-slider/styles/typography.d.ts +1 -0
- package/types/src/genus-slider/index.d.ts +36 -0
- package/types/src/genus-slider/styles/buttons.d.ts +1 -0
- package/types/src/genus-slider/styles/containers.d.ts +1 -0
- package/types/src/genus-slider/styles/flexbox.d.ts +1 -0
- package/types/src/genus-step-wizard/genus-step-content.d.ts +10 -0
- package/types/src/genus-step-wizard/genus-step-wizard.d.ts +29 -0
- package/types/src/genus-step-wizard/index.d.ts +3 -0
- package/types/src/genus-step-wizard/styles/button.d.ts +1 -0
- package/types/src/genus-step-wizard/styles/containers.d.ts +1 -0
- package/types/src/genus-step-wizard/styles/flexbox.d.ts +1 -0
- package/types/src/genus-step-wizard/styles/grid.d.ts +1 -0
- package/types/src/genus-step-wizard/styles/typography.d.ts +1 -0
- package/types/src/genus-table/index.d.ts +65 -0
- package/types/src/genus-table/models/more-action-types.d.ts +7 -0
- package/types/src/genus-table/models/more-actions.d.ts +9 -0
- package/types/src/genus-table/styles/buttons.d.ts +1 -0
- package/types/src/genus-table/styles/checkboxes.d.ts +1 -0
- package/types/src/genus-table/styles/containers.d.ts +1 -0
- package/types/src/genus-table/styles/flexbox.d.ts +1 -0
- package/types/src/genus-table/styles/icons.d.ts +1 -0
- package/types/src/genus-table/styles/labels.d.ts +1 -0
- package/types/src/genus-table/styles/lists.d.ts +1 -0
- package/types/src/genus-table/styles/table.d.ts +1 -0
- package/types/src/genus-table/styles/textboxes.d.ts +1 -0
- package/types/src/genus-table/styles/typography.d.ts +1 -0
- package/types/src/genus-tabs/genus-tab-button.d.ts +13 -0
- package/types/src/genus-tabs/genus-tab-container.d.ts +23 -0
- package/types/src/genus-tabs/genus-tab-content.d.ts +12 -0
- package/types/src/genus-tabs/index.d.ts +4 -0
- package/types/src/genus-tabs/styles/buttons.d.ts +1 -0
- package/types/src/genus-tabs/styles/containers.d.ts +1 -0
- package/types/src/genus-tabs/styles/flexbox.d.ts +1 -0
- package/types/src/genus-tabs/styles/grid.d.ts +1 -0
- package/types/src/genus-tabs/styles/labels.d.ts +1 -0
- package/types/src/genus-tabs/styles/radio-buttons.d.ts +1 -0
- package/types/src/genus-tabs/styles/tab-content.d.ts +1 -0
- package/types/src/genus-tabs/styles/typography.d.ts +1 -0
- package/types/src/genus-textarea/index.d.ts +22 -0
- package/types/src/genus-textarea/styles/containers.d.ts +1 -0
- package/types/src/genus-textarea/styles/grid.d.ts +1 -0
- package/types/src/genus-textarea/styles/labels.d.ts +1 -0
- package/types/src/genus-textarea/styles/textareas.d.ts +1 -0
- package/types/src/genus-textarea/styles/typography.d.ts +1 -0
- package/types/src/genus-textbox/builder.d.ts +20 -0
- package/types/src/genus-textbox/index.d.ts +32 -0
- package/types/src/genus-textbox/input-types.d.ts +7 -0
- package/types/src/genus-textbox/models/builder-model.d.ts +18 -0
- package/types/src/genus-textbox/models/input-model.d.ts +16 -0
- package/types/src/genus-textbox/styles/checkboxes.d.ts +1 -0
- package/types/src/genus-textbox/styles/containers.d.ts +1 -0
- package/types/src/genus-textbox/styles/flexbox.d.ts +1 -0
- package/types/src/genus-textbox/styles/grid.d.ts +1 -0
- package/types/src/genus-textbox/styles/icons.d.ts +1 -0
- package/types/src/genus-textbox/styles/labels.d.ts +1 -0
- package/types/src/genus-textbox/styles/textboxes.d.ts +1 -0
- package/types/src/genus-textbox/styles/typography.d.ts +1 -0
- package/types/src/genus-toast-message/index.d.ts +15 -0
- package/types/src/genus-toast-message/styles/buttons.d.ts +1 -0
- package/types/src/genus-toast-message/styles/containers.d.ts +1 -0
- package/types/src/genus-toast-message/styles/grid.d.ts +1 -0
- package/types/src/genus-toast-message/styles/icons.d.ts +1 -0
- package/types/src/genus-toast-message/styles/typography.d.ts +1 -0
- package/types/src/genus-toggle-switch/index.d.ts +18 -0
- package/types/src/genus-toggle-switch/styles/checkbox.d.ts +1 -0
- package/types/src/genus-toggle-switch/styles/grid.d.ts +1 -0
- package/types/src/genus-toggle-switch/styles/labels.d.ts +1 -0
- package/types/src/genus-toggle-switch/styles/typography.d.ts +1 -0
- package/types/src/global-styles/variables.d.ts +1 -0
- package/types/src/index.d.ts +22 -0
- package/types/src/injected-fonts.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genus-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.62.
|
|
4
|
+
"version": "2.62.65",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"chart.js": "^4.5.1",
|
|
22
|
-
"lit": "^3.3.
|
|
22
|
+
"lit": "^3.3.3",
|
|
23
23
|
"text-marshal": "^0.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"typescript": "^
|
|
27
|
-
"vite": "^
|
|
26
|
+
"typescript": "^7.0.2",
|
|
27
|
+
"vite": "^8.1.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -22,7 +22,7 @@ export declare class GenusDatePicker extends LitElement {
|
|
|
22
22
|
private _rangeStartDate;
|
|
23
23
|
private _rangeEndDate;
|
|
24
24
|
isLeapYear: (year: number) => boolean;
|
|
25
|
-
getFebDays: (year: number) =>
|
|
25
|
+
getFebDays: (year: number) => 28 | 29;
|
|
26
26
|
toggleCalendar: () => void;
|
|
27
27
|
isDateDisabled: (day: number, month: number, year: number) => boolean;
|
|
28
28
|
isSameDate(d1: any, d2: any): boolean;
|
|
@@ -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;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusChart extends LitElement {
|
|
3
|
+
chartTitle: string;
|
|
4
|
+
chartType: string;
|
|
5
|
+
chartLabels: string[];
|
|
6
|
+
chartDataSets: never[];
|
|
7
|
+
chartOptions: {};
|
|
8
|
+
isLoading: number;
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
private _chartCanvas;
|
|
11
|
+
private _chart;
|
|
12
|
+
createChart: () => void;
|
|
13
|
+
firstUpdated(): void;
|
|
14
|
+
updated(): void;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
declare global {
|
|
18
|
+
interface HTMLElementTagNameMap {
|
|
19
|
+
'genus-chart': GenusChart;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -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 typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusCheckBox extends LitElement {
|
|
3
|
+
labelText: string;
|
|
4
|
+
inputValue: string;
|
|
5
|
+
inputID: string;
|
|
6
|
+
checkedBoxIcon: string;
|
|
7
|
+
uncheckedBoxIcon: string;
|
|
8
|
+
withoutIcon: boolean;
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
getInputValue: () => void;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
'genus-checkbox': GenusCheckBox;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkboxes: 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;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusCheckBoxGroup extends LitElement {
|
|
3
|
+
labelText: string;
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'genus-checkbox-group': GenusCheckBoxGroup;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusCheckBoxOption extends LitElement {
|
|
3
|
+
optionValue: string;
|
|
4
|
+
optionID: string;
|
|
5
|
+
inputName: string;
|
|
6
|
+
withoutIcon: boolean;
|
|
7
|
+
checkedBoxIcon: string;
|
|
8
|
+
uncheckedBoxIcon: string;
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
getInputValue: (e: Event) => void;
|
|
11
|
+
static formAssociated: boolean;
|
|
12
|
+
private _internals;
|
|
13
|
+
constructor();
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'genus-checkbox-option': GenusCheckBoxOption;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -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 grid: 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;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusDataCard extends LitElement {
|
|
3
|
+
dataCardTitle: string;
|
|
4
|
+
dataCardValue: string;
|
|
5
|
+
dataCardIcon: string;
|
|
6
|
+
dataCardLayoutDirection: string;
|
|
7
|
+
withoutIcon: boolean;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'genus-data-card': GenusDataCard;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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 grid: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const icons: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
export declare class GenusDataListItem extends LitElement {
|
|
3
|
+
dataHeader: string;
|
|
4
|
+
dataText: string;
|
|
5
|
+
dataItemIcon: string;
|
|
6
|
+
dataItemLayoutDirection: string;
|
|
7
|
+
withoutIcon: boolean;
|
|
8
|
+
withoutAction: boolean;
|
|
9
|
+
withoutIconandAction: boolean;
|
|
10
|
+
isLoading: number;
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
renderDataItem: () => TemplateResult;
|
|
13
|
+
render(): TemplateResult;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'genus-data-list-item': GenusDataListItem;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -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 grid: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const icons: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../genus-dropdown-select/genus-dropdown';
|
|
3
|
+
import '../genus-dropdown-select/genus-dropdown-option';
|
|
4
|
+
export declare class GenusDatePicker extends LitElement {
|
|
5
|
+
labelText: string;
|
|
6
|
+
inputValue: string;
|
|
7
|
+
inputName: string;
|
|
8
|
+
inputIcon: string;
|
|
9
|
+
leftArrowIcon: string;
|
|
10
|
+
rightArrowIcon: string;
|
|
11
|
+
placeholderText: string;
|
|
12
|
+
withoutLabel: boolean;
|
|
13
|
+
displayPosition: string;
|
|
14
|
+
enableRange: boolean;
|
|
15
|
+
disablePastDates: boolean;
|
|
16
|
+
dropDownIcon: string;
|
|
17
|
+
static styles: import("lit").CSSResult[];
|
|
18
|
+
private _monthNames;
|
|
19
|
+
private _currentMonth;
|
|
20
|
+
private _currentYear;
|
|
21
|
+
private _showCalenderCssClass;
|
|
22
|
+
private _rangeStartDate;
|
|
23
|
+
private _rangeEndDate;
|
|
24
|
+
isLeapYear: (year: number) => boolean;
|
|
25
|
+
getFebDays: (year: number) => 28 | 29;
|
|
26
|
+
toggleCalendar: () => void;
|
|
27
|
+
isDateDisabled: (day: number, month: number, year: number) => boolean;
|
|
28
|
+
isSameDate(d1: any, d2: any): boolean;
|
|
29
|
+
selectDate: (date: Date) => void;
|
|
30
|
+
formatDate(date: Date): string;
|
|
31
|
+
closeCalendar(): void;
|
|
32
|
+
getDaysArray: (month: number, year: number) => any[];
|
|
33
|
+
setYear: (event: CustomEvent) => void;
|
|
34
|
+
getYearList(): number[];
|
|
35
|
+
setMonth: (event: CustomEvent) => void;
|
|
36
|
+
previousMonth: () => void;
|
|
37
|
+
nextMonth: () => void;
|
|
38
|
+
static formAssociated: boolean;
|
|
39
|
+
private _internals;
|
|
40
|
+
constructor();
|
|
41
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
42
|
+
}
|
|
43
|
+
declare global {
|
|
44
|
+
interface HTMLElementTagNameMap {
|
|
45
|
+
'genus-date-picker': GenusDatePicker;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -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 grid: 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 textboxes: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusDropDownOption extends LitElement {
|
|
3
|
+
optionValue: string;
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'genus-dropdown-option': GenusDropDownOption;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
export declare class GenusDropDown extends LitElement {
|
|
3
|
+
labelText: string;
|
|
4
|
+
inputValue: string;
|
|
5
|
+
inputName: string;
|
|
6
|
+
placeholderText: string;
|
|
7
|
+
searchPlaceholderText: string;
|
|
8
|
+
withoutLabel: boolean;
|
|
9
|
+
withFilter: boolean;
|
|
10
|
+
displayPosition: string;
|
|
11
|
+
inputIconSrc: string;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
private _showOptionsCSS;
|
|
14
|
+
selectOption: (e: Event) => void;
|
|
15
|
+
getInputValue: (e: Event) => void;
|
|
16
|
+
renderDropDownControl: () => TemplateResult;
|
|
17
|
+
toggleOptions: () => void;
|
|
18
|
+
static formAssociated: boolean;
|
|
19
|
+
private _internals;
|
|
20
|
+
constructor();
|
|
21
|
+
render(): TemplateResult;
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface HTMLElementTagNameMap {
|
|
25
|
+
'genus-dropdown': GenusDropDown;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -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 grid: 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 list: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const textboxes: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
export declare class GenusFileUpload extends LitElement {
|
|
3
|
+
buttonText: string;
|
|
4
|
+
uploadIcon: string;
|
|
5
|
+
specificFileTypes: string;
|
|
6
|
+
withoutIcon: boolean;
|
|
7
|
+
withoutButtonText: boolean;
|
|
8
|
+
allowMultipelUploads: boolean;
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
private _numberOfFiles;
|
|
11
|
+
private _fileName;
|
|
12
|
+
private _fileInput;
|
|
13
|
+
getInputValue: () => void;
|
|
14
|
+
renderInputControl: () => TemplateResult;
|
|
15
|
+
render(): TemplateResult;
|
|
16
|
+
}
|
|
17
|
+
declare global {
|
|
18
|
+
interface HTMLElementTagNameMap {
|
|
19
|
+
'genus-file-upload': GenusFileUpload;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -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 textboxes: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
import { GenusMultiSelectOption } from './genus-multi-select-option';
|
|
3
|
+
export declare class GenusMultiSelectDropDown extends LitElement {
|
|
4
|
+
labelText: string;
|
|
5
|
+
inputValue: string;
|
|
6
|
+
inputName: string;
|
|
7
|
+
placeholderText: string;
|
|
8
|
+
searchPlaceholderText: string;
|
|
9
|
+
withoutLabel: boolean;
|
|
10
|
+
withFilter: boolean;
|
|
11
|
+
displayPosition: string;
|
|
12
|
+
inputIconSrc: string;
|
|
13
|
+
static styles: import("lit").CSSResult[];
|
|
14
|
+
private _showOptionsCSS;
|
|
15
|
+
private _selectedValues;
|
|
16
|
+
_options: Array<GenusMultiSelectOption>;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
firstUpdated(): void;
|
|
19
|
+
handleOptionSelected: (e: CustomEvent) => void;
|
|
20
|
+
updateInputValueAndEmit(): void;
|
|
21
|
+
syncOptionsWithState(): void;
|
|
22
|
+
handleTyping: (e: Event) => void;
|
|
23
|
+
toggleOptions: () => void;
|
|
24
|
+
renderMultiSelectControl: () => TemplateResult;
|
|
25
|
+
static formAssociated: boolean;
|
|
26
|
+
private _internals;
|
|
27
|
+
constructor();
|
|
28
|
+
render(): TemplateResult;
|
|
29
|
+
}
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
'genus-multi-select-dropdown': GenusMultiSelectDropDown;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusMultiSelectOption extends LitElement {
|
|
3
|
+
optionValue: string;
|
|
4
|
+
selected: boolean;
|
|
5
|
+
checkedBoxIcon: string;
|
|
6
|
+
uncheckedBoxIcon: string;
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
toggleSelection: () => void;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
'genus-multi-select-option': GenusMultiSelectOption;
|
|
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 grid: 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 list: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const textboxes: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class GenusNumericSlider extends LitElement {
|
|
3
|
+
labelText: string;
|
|
4
|
+
minValue: number;
|
|
5
|
+
maxValue: number;
|
|
6
|
+
sliderSymbol: string;
|
|
7
|
+
sliderStep: number;
|
|
8
|
+
currentValue: number;
|
|
9
|
+
getSliderValue: (e: Event) => void;
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
private _sliderTrack;
|
|
12
|
+
private _numericSlider;
|
|
13
|
+
private _sliderMaxValue;
|
|
14
|
+
fillColour: () => void;
|
|
15
|
+
firstUpdated(_changedProperties: PropertyValues): void;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'genus-numeric-slider': GenusNumericSlider;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -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 grid: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labels: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const slider: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusRadioBtnGroup extends LitElement {
|
|
3
|
+
labelText: string;
|
|
4
|
+
options: IOption[];
|
|
5
|
+
inputName: string;
|
|
6
|
+
selectedOption: string;
|
|
7
|
+
checkedRadioIcon: string;
|
|
8
|
+
uncheckedRadioIcon: string;
|
|
9
|
+
withoutIcon: boolean;
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
getInputValue: (e: Event) => void;
|
|
12
|
+
static formAssociated: boolean;
|
|
13
|
+
private _internals;
|
|
14
|
+
constructor();
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
interface IOption {
|
|
18
|
+
value: string;
|
|
19
|
+
label: string;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'genus-radiobtn-group': GenusRadioBtnGroup;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -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 grid: import("lit").CSSResult;
|