@thalassic/ui 0.10.0 → 0.11.0
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/fesm2022/thalassic-ui.mjs +202 -59
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +152 -18
|
@@ -1788,66 +1788,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1788
1788
|
}, template: "<input\n type=\"radio\"\n class=\"tls-radio-button-input\"\n [id]=\"inputId()\"\n [name]=\"name()\"\n [tabindex]=\"tabindex()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [checked]=\"checked()\"\n [value]=\"radioValue()\"\n (change)=\"check()\"\n (blur)=\"touched.set(true)\"\n/>\n<div class=\"tls-radio-button-circle\"></div>\n" }]
|
|
1789
1789
|
}], propDecorators: { radioValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "radioValue", required: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }] } });
|
|
1790
1790
|
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
_overlay = createOverlayManager();
|
|
1805
|
-
_triggerElement = viewChild('trigger', ...(ngDevMode ? [{ debugName: "_triggerElement" }] : []));
|
|
1806
|
-
_panelTemplate = viewChild('panel', ...(ngDevMode ? [{ debugName: "_panelTemplate" }] : []));
|
|
1807
|
-
value = model(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
1791
|
+
/**
|
|
1792
|
+
* Shared base for the single {@link Select} and {@link MultiSelect} controls.
|
|
1793
|
+
* Owns everything the two listbox-combobox controls have in common: the option
|
|
1794
|
+
* inputs, the connected overlay lifecycle, roving `aria-activedescendant`
|
|
1795
|
+
* navigation, and the keyboard handler. The per-control differences (the value
|
|
1796
|
+
* shape, the selected-state check, how the trigger label is built and what a
|
|
1797
|
+
* commit does) are expressed through the abstract members below.
|
|
1798
|
+
*/
|
|
1799
|
+
class AbstractSelect extends ValueFormControl {
|
|
1800
|
+
overlay = createOverlayManager();
|
|
1801
|
+
triggerElement = viewChild('trigger', ...(ngDevMode ? [{ debugName: "triggerElement" }] : []));
|
|
1802
|
+
panelTemplate = viewChild('panel', ...(ngDevMode ? [{ debugName: "panelTemplate" }] : []));
|
|
1803
|
+
// Shared inputs (config-independent)
|
|
1808
1804
|
inputId = input(null, ...(ngDevMode ? [{ debugName: "inputId" }] : []));
|
|
1809
1805
|
options = input([], ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
1810
1806
|
optionLabel = input(undefined, ...(ngDevMode ? [{ debugName: "optionLabel" }] : []));
|
|
1811
1807
|
optionValue = input(undefined, ...(ngDevMode ? [{ debugName: "optionValue" }] : []));
|
|
1812
1808
|
optionDisabled = input(undefined, ...(ngDevMode ? [{ debugName: "optionDisabled" }] : []));
|
|
1813
|
-
placeholder = input(this._config.placeholder, ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
1814
|
-
size = input(this._config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
1815
|
-
fluid = input(this._config.fluid, { ...(ngDevMode ? { debugName: "fluid" } : {}), transform: booleanAttribute });
|
|
1816
1809
|
tabindex = input(0, ...(ngDevMode ? [{ debugName: "tabindex" }] : []));
|
|
1817
|
-
|
|
1818
|
-
isOpen = this._overlay.isOpen;
|
|
1810
|
+
isOpen = this.overlay.isOpen;
|
|
1819
1811
|
activeIndex = signal(-1, ...(ngDevMode ? [{ debugName: "activeIndex" }] : []));
|
|
1820
1812
|
normalizedOptions = computed(() => normalizeOptions(this.options(), {
|
|
1821
1813
|
label: this.optionLabel(),
|
|
1822
1814
|
value: this.optionValue(),
|
|
1823
1815
|
disabled: this.optionDisabled(),
|
|
1824
1816
|
}), ...(ngDevMode ? [{ debugName: "normalizedOptions" }] : []));
|
|
1825
|
-
|
|
1826
|
-
const
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
return '';
|
|
1832
|
-
return this.normalizedOptions().find(option => option.value === this.value())?.label ?? '';
|
|
1833
|
-
}, ...(ngDevMode ? [{ debugName: "selectedLabel" }] : []));
|
|
1834
|
-
// Classes
|
|
1817
|
+
activeDescendantId = computed(() => {
|
|
1818
|
+
const index = this.activeIndex();
|
|
1819
|
+
if (index < 0)
|
|
1820
|
+
return null;
|
|
1821
|
+
return this.optionId(index);
|
|
1822
|
+
}, ...(ngDevMode ? [{ debugName: "activeDescendantId" }] : []));
|
|
1835
1823
|
hostClasses = computed(() => {
|
|
1836
|
-
const array = [
|
|
1824
|
+
const array = [this.hostClassBase];
|
|
1837
1825
|
if (this.isOpen())
|
|
1838
|
-
array.push(
|
|
1826
|
+
array.push(`${this.hostClassBase}--open`);
|
|
1839
1827
|
array.push(`${this.CLASS_NAME}--${this.size()}`);
|
|
1840
1828
|
if (this.fluid())
|
|
1841
1829
|
array.push(`${this.CLASS_NAME}--fluid`);
|
|
1842
1830
|
return array.concat(this.controlClasses());
|
|
1843
1831
|
}, ...(ngDevMode ? [{ debugName: "hostClasses" }] : []));
|
|
1832
|
+
get listboxId() {
|
|
1833
|
+
return `${this.uniqueId}-listbox`;
|
|
1834
|
+
}
|
|
1844
1835
|
// Protected methods
|
|
1845
1836
|
open() {
|
|
1846
|
-
const triggerElement = this.
|
|
1847
|
-
const panelTemplate = this.
|
|
1837
|
+
const triggerElement = this.triggerElement();
|
|
1838
|
+
const panelTemplate = this.panelTemplate();
|
|
1848
1839
|
if (this.notInteractive() || this.isOpen() || !triggerElement || !panelTemplate)
|
|
1849
1840
|
return;
|
|
1850
|
-
this.
|
|
1841
|
+
this.overlay.open({
|
|
1851
1842
|
content: panelTemplate,
|
|
1852
1843
|
origin: triggerElement,
|
|
1853
1844
|
positions: [
|
|
@@ -1856,20 +1847,22 @@ class Select extends ValueFormControl {
|
|
|
1856
1847
|
],
|
|
1857
1848
|
flexibleDimensions: false,
|
|
1858
1849
|
push: false,
|
|
1859
|
-
panelClass:
|
|
1860
|
-
//
|
|
1850
|
+
panelClass: this.panelClass,
|
|
1851
|
+
// The control handles Escape itself via the trigger's keydown handler.
|
|
1861
1852
|
closeOnEscape: false,
|
|
1862
1853
|
minWidth: triggerElement.nativeElement.offsetWidth,
|
|
1863
1854
|
reuse: true,
|
|
1864
1855
|
onClose: () => {
|
|
1865
1856
|
this.activeIndex.set(-1);
|
|
1866
|
-
this.
|
|
1857
|
+
const trigger = this.triggerElement();
|
|
1858
|
+
if (trigger)
|
|
1859
|
+
trigger.nativeElement.focus();
|
|
1867
1860
|
},
|
|
1868
1861
|
});
|
|
1869
|
-
this.activeIndex.set(this.
|
|
1862
|
+
this.activeIndex.set(this.getInitialActiveIndex());
|
|
1870
1863
|
}
|
|
1871
1864
|
close() {
|
|
1872
|
-
this.
|
|
1865
|
+
this.overlay.close();
|
|
1873
1866
|
}
|
|
1874
1867
|
toggle() {
|
|
1875
1868
|
if (this.isOpen()) {
|
|
@@ -1879,15 +1872,6 @@ class Select extends ValueFormControl {
|
|
|
1879
1872
|
this.open();
|
|
1880
1873
|
}
|
|
1881
1874
|
}
|
|
1882
|
-
select(option) {
|
|
1883
|
-
if (option.disabled)
|
|
1884
|
-
return;
|
|
1885
|
-
this.value.set(option.value);
|
|
1886
|
-
this.close();
|
|
1887
|
-
}
|
|
1888
|
-
clear() {
|
|
1889
|
-
this.value.set(null);
|
|
1890
|
-
}
|
|
1891
1875
|
onOptionHover(index, disabled) {
|
|
1892
1876
|
if (!disabled)
|
|
1893
1877
|
this.activeIndex.set(index);
|
|
@@ -1896,7 +1880,7 @@ class Select extends ValueFormControl {
|
|
|
1896
1880
|
if (event.key === 'ArrowDown') {
|
|
1897
1881
|
event.preventDefault();
|
|
1898
1882
|
if (this.isOpen()) {
|
|
1899
|
-
this.
|
|
1883
|
+
this.moveActive(1);
|
|
1900
1884
|
}
|
|
1901
1885
|
else {
|
|
1902
1886
|
this.open();
|
|
@@ -1905,7 +1889,7 @@ class Select extends ValueFormControl {
|
|
|
1905
1889
|
else if (event.key === 'ArrowUp') {
|
|
1906
1890
|
event.preventDefault();
|
|
1907
1891
|
if (this.isOpen()) {
|
|
1908
|
-
this.
|
|
1892
|
+
this.moveActive(-1);
|
|
1909
1893
|
}
|
|
1910
1894
|
else {
|
|
1911
1895
|
this.open();
|
|
@@ -1919,7 +1903,19 @@ class Select extends ValueFormControl {
|
|
|
1919
1903
|
}
|
|
1920
1904
|
const active = this.normalizedOptions()[this.activeIndex()];
|
|
1921
1905
|
if (active && !active.disabled)
|
|
1922
|
-
this.
|
|
1906
|
+
this.commitActiveOption(active);
|
|
1907
|
+
}
|
|
1908
|
+
else if (event.key === 'Home') {
|
|
1909
|
+
if (!this.isOpen())
|
|
1910
|
+
return;
|
|
1911
|
+
event.preventDefault();
|
|
1912
|
+
this.moveActiveToEdge(1);
|
|
1913
|
+
}
|
|
1914
|
+
else if (event.key === 'End') {
|
|
1915
|
+
if (!this.isOpen())
|
|
1916
|
+
return;
|
|
1917
|
+
event.preventDefault();
|
|
1918
|
+
this.moveActiveToEdge(-1);
|
|
1923
1919
|
}
|
|
1924
1920
|
else if (event.key === 'Escape') {
|
|
1925
1921
|
event.preventDefault();
|
|
@@ -1937,8 +1933,11 @@ class Select extends ValueFormControl {
|
|
|
1937
1933
|
this.clear();
|
|
1938
1934
|
}
|
|
1939
1935
|
}
|
|
1936
|
+
optionId(index) {
|
|
1937
|
+
return `${this.uniqueId}-option-${index}`;
|
|
1938
|
+
}
|
|
1940
1939
|
// Private methods
|
|
1941
|
-
|
|
1940
|
+
moveActive(direction) {
|
|
1942
1941
|
const options = this.normalizedOptions();
|
|
1943
1942
|
let next = this.activeIndex() + direction;
|
|
1944
1943
|
while (next >= 0 && next < options.length) {
|
|
@@ -1949,15 +1948,155 @@ class Select extends ValueFormControl {
|
|
|
1949
1948
|
next += direction;
|
|
1950
1949
|
}
|
|
1951
1950
|
}
|
|
1951
|
+
moveActiveToEdge(direction) {
|
|
1952
|
+
const options = this.normalizedOptions();
|
|
1953
|
+
let next = direction === 1 ? 0 : options.length - 1;
|
|
1954
|
+
while (next >= 0 && next < options.length) {
|
|
1955
|
+
if (!options[next].disabled) {
|
|
1956
|
+
this.activeIndex.set(next);
|
|
1957
|
+
return;
|
|
1958
|
+
}
|
|
1959
|
+
next += direction;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AbstractSelect, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1963
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: AbstractSelect, isStandalone: true, inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "triggerElement", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "panelTemplate", first: true, predicate: ["panel"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
1964
|
+
}
|
|
1965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AbstractSelect, decorators: [{
|
|
1966
|
+
type: Directive
|
|
1967
|
+
}], propDecorators: { triggerElement: [{ type: i0.ViewChild, args: ['trigger', { isSignal: true }] }], panelTemplate: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], optionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionDisabled", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }] } });
|
|
1968
|
+
|
|
1969
|
+
const DEFAULT_MULTI_SELECT_CONFIG = {
|
|
1970
|
+
size: 'md',
|
|
1971
|
+
placeholder: '',
|
|
1972
|
+
fluid: false,
|
|
1973
|
+
clearable: false,
|
|
1974
|
+
maxLabels: 2,
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1977
|
+
const MULTI_SELECT_CONFIG = new InjectionToken('MULTI_SELECT_CONFIG', {
|
|
1978
|
+
factory: () => DEFAULT_MULTI_SELECT_CONFIG,
|
|
1979
|
+
});
|
|
1980
|
+
|
|
1981
|
+
class MultiSelect extends AbstractSelect {
|
|
1982
|
+
static _nextUniqueId = 0;
|
|
1983
|
+
_config = inject(MULTI_SELECT_CONFIG);
|
|
1984
|
+
uniqueId = `tls-multi-select-${MultiSelect._nextUniqueId++}`;
|
|
1985
|
+
hostClassBase = 'tls-multi-select';
|
|
1986
|
+
panelClass = 'tls-multi-select-panel';
|
|
1987
|
+
value = model([], ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
1988
|
+
placeholder = input(this._config.placeholder, ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
1989
|
+
size = input(this._config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
1990
|
+
fluid = input(this._config.fluid, { ...(ngDevMode ? { debugName: "fluid" } : {}), transform: booleanAttribute });
|
|
1991
|
+
clearable = input(this._config.clearable, { ...(ngDevMode ? { debugName: "clearable" } : {}), transform: booleanAttribute });
|
|
1992
|
+
maxLabels = input(this._config.maxLabels, ...(ngDevMode ? [{ debugName: "maxLabels" }] : []));
|
|
1993
|
+
hasValue = computed(() => this.value().length > 0, ...(ngDevMode ? [{ debugName: "hasValue" }] : []));
|
|
1994
|
+
selectedValues = computed(() => new Set(this.value()), ...(ngDevMode ? [{ debugName: "selectedValues" }] : []));
|
|
1995
|
+
triggerLabel = computed(() => {
|
|
1996
|
+
const selected = this.value();
|
|
1997
|
+
if (selected.length === 0)
|
|
1998
|
+
return '';
|
|
1999
|
+
const max = this.maxLabels();
|
|
2000
|
+
if (selected.length > max)
|
|
2001
|
+
return `${selected.length} selected`;
|
|
2002
|
+
const optionMap = new Map(this.normalizedOptions().map(option => [option.value, option.label]));
|
|
2003
|
+
return selected.map(value => optionMap.get(value) ?? String(value)).join(', ');
|
|
2004
|
+
}, ...(ngDevMode ? [{ debugName: "triggerLabel" }] : []));
|
|
2005
|
+
isSelected(option) {
|
|
2006
|
+
return this.selectedValues().has(option.value);
|
|
2007
|
+
}
|
|
2008
|
+
toggleOption(option) {
|
|
2009
|
+
if (option.disabled)
|
|
2010
|
+
return;
|
|
2011
|
+
if (this.isSelected(option)) {
|
|
2012
|
+
this.value.update(current => current.filter(item => item !== option.value));
|
|
2013
|
+
}
|
|
2014
|
+
else {
|
|
2015
|
+
this.value.update(current => [...current, option.value]);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
clear() {
|
|
2019
|
+
this.value.set([]);
|
|
2020
|
+
}
|
|
2021
|
+
getInitialActiveIndex() {
|
|
2022
|
+
const options = this.normalizedOptions();
|
|
2023
|
+
const selected = this.selectedValues();
|
|
2024
|
+
const firstSelected = options.findIndex(option => !option.disabled && selected.has(option.value));
|
|
2025
|
+
if (firstSelected !== -1)
|
|
2026
|
+
return firstSelected;
|
|
2027
|
+
return options.findIndex(option => !option.disabled);
|
|
2028
|
+
}
|
|
2029
|
+
commitActiveOption(option) {
|
|
2030
|
+
this.toggleOption(option);
|
|
2031
|
+
}
|
|
2032
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MultiSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2033
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: MultiSelect, isStandalone: true, selector: "tls-multi-select", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, maxLabels: { classPropertyName: "maxLabels", publicName: "maxLabels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "hostClasses()" } }, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => MultiSelect) }], usesInheritance: true, ngImport: i0, template: "<button\n #trigger\n type=\"button\"\n class=\"tls-multi-select__trigger\"\n role=\"combobox\"\n [attr.id]=\"inputId()\"\n [attr.name]=\"name()\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n [attr.aria-activedescendant]=\"activeDescendantId()\"\n [tabindex]=\"disabled() ? -1 : tabindex()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"isOpen()\"\n (click)=\"toggle()\"\n (blur)=\"touched.set(true)\"\n (keydown)=\"onKeydown($event)\"\n>\n <span class=\"tls-multi-select__value\" [class.tls-form-control__placeholder]=\"!triggerLabel()\">\n {{ triggerLabel() || placeholder() }}\n </span>\n <div class=\"tls-multi-select__icon\" aria-hidden=\"true\">\n <svg class=\"tls-multi-select__chevron\" viewBox=\"0 0 10 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L5 5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </div>\n</button>\n@if (clearable() && hasValue()) {\n <button\n type=\"button\"\n class=\"tls-multi-select__clear\"\n tabindex=\"-1\"\n aria-label=\"Clear\"\n (click)=\"clear()\"\n >\n <svg class=\"tls-multi-select__clear-icon\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L9 9M9 1L1 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n </button>\n}\n\n<ng-template #panel>\n <ul class=\"tls-multi-select__panel\" role=\"listbox\" aria-multiselectable=\"true\" [id]=\"listboxId\">\n @for (option of normalizedOptions(); track option.value; let index = $index) {\n <li\n class=\"tls-multi-select__option\"\n [class.tls-multi-select__option--selected]=\"isSelected(option)\"\n [class.tls-multi-select__option--active]=\"index === activeIndex()\"\n [class.tls-multi-select__option--disabled]=\"option.disabled\"\n >\n <button\n class=\"tls-multi-select__option-button\"\n role=\"option\"\n [id]=\"optionId(index)\"\n [disabled]=\"option.disabled\"\n [attr.aria-selected]=\"isSelected(option)\"\n [attr.aria-disabled]=\"option.disabled\"\n (click)=\"toggleOption(option)\"\n (mouseenter)=\"onOptionHover(index, option.disabled)\"\n >\n <span class=\"tls-multi-select__option-label\">{{ option.label }}</span>\n @if (isSelected(option)) {\n <svg class=\"tls-multi-select__option-check\" viewBox=\"0 0 10 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\n <path d=\"M1 4L3.5 6.5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n }\n </button>\n </li>\n }\n </ul>\n</ng-template>\n" });
|
|
2034
|
+
}
|
|
2035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MultiSelect, decorators: [{
|
|
2036
|
+
type: Component,
|
|
2037
|
+
args: [{ selector: 'tls-multi-select', host: {
|
|
2038
|
+
'[class]': 'hostClasses()',
|
|
2039
|
+
}, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => MultiSelect) }], template: "<button\n #trigger\n type=\"button\"\n class=\"tls-multi-select__trigger\"\n role=\"combobox\"\n [attr.id]=\"inputId()\"\n [attr.name]=\"name()\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n [attr.aria-activedescendant]=\"activeDescendantId()\"\n [tabindex]=\"disabled() ? -1 : tabindex()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"isOpen()\"\n (click)=\"toggle()\"\n (blur)=\"touched.set(true)\"\n (keydown)=\"onKeydown($event)\"\n>\n <span class=\"tls-multi-select__value\" [class.tls-form-control__placeholder]=\"!triggerLabel()\">\n {{ triggerLabel() || placeholder() }}\n </span>\n <div class=\"tls-multi-select__icon\" aria-hidden=\"true\">\n <svg class=\"tls-multi-select__chevron\" viewBox=\"0 0 10 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L5 5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </div>\n</button>\n@if (clearable() && hasValue()) {\n <button\n type=\"button\"\n class=\"tls-multi-select__clear\"\n tabindex=\"-1\"\n aria-label=\"Clear\"\n (click)=\"clear()\"\n >\n <svg class=\"tls-multi-select__clear-icon\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L9 9M9 1L1 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n </button>\n}\n\n<ng-template #panel>\n <ul class=\"tls-multi-select__panel\" role=\"listbox\" aria-multiselectable=\"true\" [id]=\"listboxId\">\n @for (option of normalizedOptions(); track option.value; let index = $index) {\n <li\n class=\"tls-multi-select__option\"\n [class.tls-multi-select__option--selected]=\"isSelected(option)\"\n [class.tls-multi-select__option--active]=\"index === activeIndex()\"\n [class.tls-multi-select__option--disabled]=\"option.disabled\"\n >\n <button\n class=\"tls-multi-select__option-button\"\n role=\"option\"\n [id]=\"optionId(index)\"\n [disabled]=\"option.disabled\"\n [attr.aria-selected]=\"isSelected(option)\"\n [attr.aria-disabled]=\"option.disabled\"\n (click)=\"toggleOption(option)\"\n (mouseenter)=\"onOptionHover(index, option.disabled)\"\n >\n <span class=\"tls-multi-select__option-label\">{{ option.label }}</span>\n @if (isSelected(option)) {\n <svg class=\"tls-multi-select__option-check\" viewBox=\"0 0 10 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\n <path d=\"M1 4L3.5 6.5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n }\n </button>\n </li>\n }\n </ul>\n</ng-template>\n" }]
|
|
2040
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], maxLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLabels", required: false }] }] } });
|
|
2041
|
+
|
|
2042
|
+
const DEFAULT_SELECT_CONFIG = {
|
|
2043
|
+
size: 'md',
|
|
2044
|
+
placeholder: '',
|
|
2045
|
+
fluid: false,
|
|
2046
|
+
clearable: false,
|
|
2047
|
+
};
|
|
2048
|
+
|
|
2049
|
+
const SELECT_CONFIG = new InjectionToken('SELECT_CONFIG', {
|
|
2050
|
+
factory: () => DEFAULT_SELECT_CONFIG,
|
|
2051
|
+
});
|
|
2052
|
+
|
|
2053
|
+
class Select extends AbstractSelect {
|
|
2054
|
+
static _nextUniqueId = 0;
|
|
2055
|
+
_config = inject(SELECT_CONFIG);
|
|
2056
|
+
uniqueId = `tls-select-${Select._nextUniqueId++}`;
|
|
2057
|
+
hostClassBase = 'tls-select';
|
|
2058
|
+
panelClass = 'tls-select-panel';
|
|
2059
|
+
value = model(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
2060
|
+
placeholder = input(this._config.placeholder, ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
2061
|
+
size = input(this._config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
2062
|
+
fluid = input(this._config.fluid, { ...(ngDevMode ? { debugName: "fluid" } : {}), transform: booleanAttribute });
|
|
2063
|
+
clearable = input(this._config.clearable, { ...(ngDevMode ? { debugName: "clearable" } : {}), transform: booleanAttribute });
|
|
2064
|
+
hasValue = computed(() => {
|
|
2065
|
+
const value = this.value();
|
|
2066
|
+
return value !== null && value !== undefined && value !== '';
|
|
2067
|
+
}, ...(ngDevMode ? [{ debugName: "hasValue" }] : []));
|
|
2068
|
+
selectedLabel = computed(() => {
|
|
2069
|
+
if (!this.hasValue())
|
|
2070
|
+
return '';
|
|
2071
|
+
const selected = this.normalizedOptions().find(option => option.value === this.value());
|
|
2072
|
+
if (!selected)
|
|
2073
|
+
return '';
|
|
2074
|
+
return selected.label;
|
|
2075
|
+
}, ...(ngDevMode ? [{ debugName: "selectedLabel" }] : []));
|
|
2076
|
+
select(option) {
|
|
2077
|
+
if (option.disabled)
|
|
2078
|
+
return;
|
|
2079
|
+
this.value.set(option.value);
|
|
2080
|
+
this.close();
|
|
2081
|
+
}
|
|
2082
|
+
clear() {
|
|
2083
|
+
this.value.set(null);
|
|
2084
|
+
}
|
|
2085
|
+
getInitialActiveIndex() {
|
|
2086
|
+
return this.normalizedOptions().findIndex(option => option.value === this.value());
|
|
2087
|
+
}
|
|
2088
|
+
commitActiveOption(option) {
|
|
2089
|
+
this.select(option);
|
|
2090
|
+
}
|
|
1952
2091
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: Select, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1953
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: Select, isStandalone: true, selector: "tls-select", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null },
|
|
2092
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: Select, isStandalone: true, selector: "tls-select", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "hostClasses()" } }, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => Select) }], usesInheritance: true, ngImport: i0, template: "<button\n #trigger\n type=\"button\"\n class=\"tls-select__trigger\"\n role=\"combobox\"\n [attr.id]=\"inputId()\"\n [attr.name]=\"name()\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n [attr.aria-activedescendant]=\"activeDescendantId()\"\n [tabindex]=\"disabled() ? -1 : tabindex()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"isOpen()\"\n (click)=\"toggle()\"\n (blur)=\"touched.set(true)\"\n (keydown)=\"onKeydown($event)\"\n>\n <span class=\"tls-select__value\" [class.tls-form-control__placeholder]=\"!selectedLabel()\">\n {{ selectedLabel() || placeholder() }}\n </span>\n <div class=\"tls-select__icon\" aria-hidden=\"true\">\n <svg class=\"tls-select__chevron\" viewBox=\"0 0 10 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L5 5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </div>\n</button>\n@if (clearable() && hasValue()) {\n <button\n type=\"button\"\n class=\"tls-select__clear\"\n tabindex=\"-1\"\n aria-label=\"Clear\"\n (click)=\"clear()\"\n >\n <svg class=\"tls-select__clear-icon\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L9 9M9 1L1 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n </button>\n}\n\n<ng-template #panel>\n <ul class=\"tls-select__panel\" role=\"listbox\" [id]=\"listboxId\">\n @for (option of normalizedOptions(); track option.value; let index = $index) {\n <li\n class=\"tls-select__option\"\n [class.tls-select__option--selected]=\"option.value === value()\"\n [class.tls-select__option--active]=\"index === activeIndex()\"\n [class.tls-select__option--disabled]=\"option.disabled\"\n >\n <button\n class=\"tls-select__option-button\"\n role=\"option\"\n [id]=\"optionId(index)\"\n [disabled]=\"option.disabled\"\n [attr.aria-selected]=\"option.value === value()\"\n [attr.aria-disabled]=\"option.disabled\"\n (click)=\"select(option)\"\n (mouseenter)=\"onOptionHover(index, option.disabled)\"\n >{{ option.label }}\n </button>\n </li>\n }\n </ul>\n</ng-template>\n" });
|
|
1954
2093
|
}
|
|
1955
2094
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: Select, decorators: [{
|
|
1956
2095
|
type: Component,
|
|
1957
2096
|
args: [{ selector: 'tls-select', host: {
|
|
1958
2097
|
'[class]': 'hostClasses()',
|
|
1959
|
-
}, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => Select) }], template: "<button\n #trigger\n type=\"button\"\n class=\"tls-select__trigger\"\n [attr.id]=\"inputId()\"\n [attr.name]=\"name()\"\n aria-haspopup=\"listbox\"\n [tabindex]=\"disabled() ? -1 : tabindex()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"isOpen()\"\n (click)=\"toggle()\"\n (blur)=\"touched.set(true)\"\n (keydown)=\"onKeydown($event)\"\n>\n <span class=\"tls-select__value\" [class.tls-form-control__placeholder]=\"!selectedLabel()\">\n {{ selectedLabel() || placeholder() }}\n </span>\n <div class=\"tls-select__icon\" aria-hidden=\"true\">\n <svg class=\"tls-select__chevron\" viewBox=\"0 0 10 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L5 5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </div>\n</button>\n@if (clearable() && hasValue()) {\n <button\n type=\"button\"\n class=\"tls-select__clear\"\n tabindex=\"-1\"\n aria-label=\"Clear\"\n (click)=\"clear()\"\n >\n <svg class=\"tls-select__clear-icon\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L9 9M9 1L1 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n </button>\n}\n\n<ng-template #panel>\n <ul class=\"tls-select__panel\" role=\"listbox\">\n @for (option of normalizedOptions(); track option.value; let
|
|
1960
|
-
}], propDecorators: {
|
|
2098
|
+
}, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => Select) }], template: "<button\n #trigger\n type=\"button\"\n class=\"tls-select__trigger\"\n role=\"combobox\"\n [attr.id]=\"inputId()\"\n [attr.name]=\"name()\"\n aria-haspopup=\"listbox\"\n [attr.aria-controls]=\"isOpen() ? listboxId : null\"\n [attr.aria-activedescendant]=\"activeDescendantId()\"\n [tabindex]=\"disabled() ? -1 : tabindex()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"isOpen()\"\n (click)=\"toggle()\"\n (blur)=\"touched.set(true)\"\n (keydown)=\"onKeydown($event)\"\n>\n <span class=\"tls-select__value\" [class.tls-form-control__placeholder]=\"!selectedLabel()\">\n {{ selectedLabel() || placeholder() }}\n </span>\n <div class=\"tls-select__icon\" aria-hidden=\"true\">\n <svg class=\"tls-select__chevron\" viewBox=\"0 0 10 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L5 5L9 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </div>\n</button>\n@if (clearable() && hasValue()) {\n <button\n type=\"button\"\n class=\"tls-select__clear\"\n tabindex=\"-1\"\n aria-label=\"Clear\"\n (click)=\"clear()\"\n >\n <svg class=\"tls-select__clear-icon\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M1 1L9 9M9 1L1 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n </button>\n}\n\n<ng-template #panel>\n <ul class=\"tls-select__panel\" role=\"listbox\" [id]=\"listboxId\">\n @for (option of normalizedOptions(); track option.value; let index = $index) {\n <li\n class=\"tls-select__option\"\n [class.tls-select__option--selected]=\"option.value === value()\"\n [class.tls-select__option--active]=\"index === activeIndex()\"\n [class.tls-select__option--disabled]=\"option.disabled\"\n >\n <button\n class=\"tls-select__option-button\"\n role=\"option\"\n [id]=\"optionId(index)\"\n [disabled]=\"option.disabled\"\n [attr.aria-selected]=\"option.value === value()\"\n [attr.aria-disabled]=\"option.disabled\"\n (click)=\"select(option)\"\n (mouseenter)=\"onOptionHover(index, option.disabled)\"\n >{{ option.label }}\n </button>\n </li>\n }\n </ul>\n</ng-template>\n" }]
|
|
2099
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }] } });
|
|
1961
2100
|
|
|
1962
2101
|
const DEFAULT_SWITCH_CONFIG = {
|
|
1963
2102
|
color: 'primary',
|
|
@@ -3172,6 +3311,10 @@ const provideThalassicUIConfig = (config) => {
|
|
|
3172
3311
|
useValue: deepMerge(DEFAULT_LOADER_CONFIG, config.components.loader),
|
|
3173
3312
|
},
|
|
3174
3313
|
{ provide: MENU_CONFIG, useValue: deepMerge(DEFAULT_MENU_CONFIG, config.components.menu) },
|
|
3314
|
+
{
|
|
3315
|
+
provide: MULTI_SELECT_CONFIG,
|
|
3316
|
+
useValue: deepMerge(DEFAULT_MULTI_SELECT_CONFIG, config.components.multiSelect),
|
|
3317
|
+
},
|
|
3175
3318
|
{
|
|
3176
3319
|
provide: PAGINATION_CONFIG,
|
|
3177
3320
|
useValue: deepMerge(DEFAULT_PAGINATION_CONFIG, config.components.pagination),
|
|
@@ -3229,5 +3372,5 @@ const provideThalassicUIConfig = (config) => {
|
|
|
3229
3372
|
* Generated bundle index. Do not edit.
|
|
3230
3373
|
*/
|
|
3231
3374
|
|
|
3232
|
-
export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_INPUT_CONFIG, Checkbox, Chip, ChipControl, ChipInput, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_FILE_UPLOADER_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, FILE_UPLOADER_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileUploader, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, INPUT_CONFIG, Icon, Input, InputDirective, LOADER_CONFIG, Loader, MENU_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, PAGINATION_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TEXTAREA_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, Textarea, ToggleGroup, TooltipDirective, provideThalassicUIConfig };
|
|
3375
|
+
export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_INPUT_CONFIG, Checkbox, Chip, ChipControl, ChipInput, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_FILE_UPLOADER_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, FILE_UPLOADER_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileUploader, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, INPUT_CONFIG, Icon, Input, InputDirective, LOADER_CONFIG, Loader, MENU_CONFIG, MULTI_SELECT_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, PAGINATION_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TEXTAREA_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, Textarea, ToggleGroup, TooltipDirective, provideThalassicUIConfig };
|
|
3233
3376
|
//# sourceMappingURL=thalassic-ui.mjs.map
|