genus-ui 2.56.55 → 2.60.58
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 +4074 -3450
- package/dist/index.umd.js +1964 -1525
- package/package.json +1 -1
- package/types/genus-date-picker/index.d.ts +19 -11
- package/types/genus-multi-select-dropdown/genus-multi-select-dropdown.d.ts +34 -0
- package/types/genus-multi-select-dropdown/genus-multi-select-option.d.ts +15 -0
- package/types/genus-multi-select-dropdown/index.d.ts +3 -0
- package/types/genus-multi-select-dropdown/styles/checkboxes.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/containers.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/flexbox.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/grid.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/icons.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/labels.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/list.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/textboxes.d.ts +1 -0
- package/types/genus-multi-select-dropdown/styles/typography.d.ts +1 -0
- package/types/genus-slider/index.d.ts +2 -0
- package/types/index.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,32 +1,40 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
import '../genus-dropdown-select/genus-dropdown';
|
|
3
|
+
import '../genus-dropdown-select/genus-dropdown-option';
|
|
2
4
|
export declare class GenusDatePicker extends LitElement {
|
|
3
5
|
labelText: string;
|
|
4
6
|
inputValue: string;
|
|
5
7
|
inputName: string;
|
|
6
8
|
inputIcon: string;
|
|
9
|
+
leftArrowIcon: string;
|
|
10
|
+
rightArrowIcon: string;
|
|
7
11
|
placeholderText: string;
|
|
8
12
|
withoutLabel: boolean;
|
|
9
13
|
displayPosition: string;
|
|
14
|
+
enableRange: boolean;
|
|
15
|
+
disablePastDates: boolean;
|
|
10
16
|
static styles: import("lit").CSSResult[];
|
|
11
17
|
private _monthNames;
|
|
12
18
|
private _currentMonth;
|
|
13
19
|
private _currentYear;
|
|
14
|
-
private _currentDate;
|
|
15
|
-
private _showMonthsCssClass;
|
|
16
20
|
private _showCalenderCssClass;
|
|
21
|
+
private _rangeStartDate;
|
|
22
|
+
private _rangeEndDate;
|
|
17
23
|
isLeapYear: (year: number) => boolean;
|
|
18
24
|
getFebDays: (year: number) => 29 | 28;
|
|
19
25
|
toggleCalendar: () => void;
|
|
20
|
-
|
|
21
|
-
generateDays: (month: number, year: number) => HTMLDivElement;
|
|
22
|
-
setMonth: (index: number) => void;
|
|
23
|
-
previousYear: () => void;
|
|
24
|
-
nextYear: () => void;
|
|
25
|
-
private _targetInput;
|
|
26
|
-
updated(): void;
|
|
27
|
-
static formAssociated: boolean;
|
|
26
|
+
isDateDisabled: (day: number, month: number, year: number) => boolean;
|
|
28
27
|
private _internals;
|
|
29
|
-
|
|
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;
|
|
30
38
|
render(): import("lit-html").TemplateResult<1>;
|
|
31
39
|
}
|
|
32
40
|
declare global {
|
|
@@ -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;
|
|
@@ -2,6 +2,7 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
export declare class GenusSlider extends LitElement {
|
|
3
3
|
autoplay: boolean;
|
|
4
4
|
autoplayInterval: number;
|
|
5
|
+
visibleItems: number;
|
|
5
6
|
static styles: import("lit").CSSResult[];
|
|
6
7
|
private _currentSlide;
|
|
7
8
|
private _slideCount;
|
|
@@ -22,6 +23,7 @@ export declare class GenusSlider extends LitElement {
|
|
|
22
23
|
nextSlide(): void;
|
|
23
24
|
previousSlide(): void;
|
|
24
25
|
updateSlider(): void;
|
|
26
|
+
private getGap;
|
|
25
27
|
startAutoplay(): void;
|
|
26
28
|
stopAutoplay(): void;
|
|
27
29
|
disconnectedCallback(): void;
|
package/types/index.d.ts
CHANGED
|
@@ -18,4 +18,5 @@ import { GenusNumericSlider } from "./genus-numeric-slider";
|
|
|
18
18
|
import { GenusRangeSlider } from "./genus-range-slider";
|
|
19
19
|
import { GenusSlider } from "./genus-slider";
|
|
20
20
|
import { GenusAccordion } from "./genus-accordion";
|
|
21
|
-
|
|
21
|
+
import * as GenusMultiSelectDropDown from "./genus-multi-select-dropdown";
|
|
22
|
+
export { GenusTextBox, GenusTextArea, GenusDatePicker, GenusRadioBtnGroup, GenusDataCard, GenusCheckBoxGroup, GenusCheckBox, GenusTabs, GenusWizard, GenusDropDownSelect, GenusChart, GenusTable, GenusToastMessage, GenusDataListItem, GenusFileUpload, GenusToggleSwitch, GenusNumericSlider, GenusRangeSlider, GenusSlider, GenusAccordion, GenusMultiSelectDropDown };
|