@marcura/marcura-combobox 6.1.0 → 6.1.1
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/README.md +24 -24
- package/esm2020/lib/combobox.injectables.mjs +5 -5
- package/esm2020/lib/combobox.module.mjs +103 -103
- package/esm2020/lib/components/abstract-combobox/abstract-combobox.component.mjs +240 -240
- package/esm2020/lib/components/abstract-dropdown/abstract-dropdown.component.mjs +230 -230
- package/esm2020/lib/components/combobox/combobox.component.mjs +365 -361
- package/esm2020/lib/components/combobox-popup-footer/combobox-popup-footer.component.mjs +38 -38
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +234 -234
- package/esm2020/lib/components/multiselect/multiselect.component.mjs +247 -247
- package/esm2020/lib/directives/combobox-item-template.directive.mjs +13 -13
- package/esm2020/lib/directives/dropdown-item-template.directive.mjs +13 -13
- package/esm2020/lib/directives/dropdown-value-template.directive.mjs +13 -13
- package/esm2020/lib/directives/multiselect-item-template.directive.mjs +13 -13
- package/esm2020/lib/directives/multiselect-tag-template.directive.mjs +13 -13
- package/esm2020/lib/directives/multiselect-tag-wrapper.directive.mjs +60 -60
- package/esm2020/lib/model/combobox-changed.event.mjs +4 -4
- package/esm2020/lib/model/combobox-item.type.mjs +12 -12
- package/esm2020/lib/model/combobox-kendo-component.interface.mjs +2 -2
- package/esm2020/lib/model/combobox-localization.interface.mjs +2 -2
- package/esm2020/lib/model/combobox-search-fn.type.mjs +1 -1
- package/esm2020/lib/model/combobox-search-settings-operator.enum.mjs +6 -6
- package/esm2020/lib/model/combobox-search-settings.interface.mjs +2 -2
- package/esm2020/lib/model/dropdown-changed.event.mjs +4 -4
- package/esm2020/lib/model/dropdown-kendo-component.interface.mjs +2 -2
- package/esm2020/lib/model/dropdown-localization.interface.mjs +2 -2
- package/esm2020/lib/model/dropdown-localizer.interface.mjs +2 -2
- package/esm2020/lib/model/multiselect-changed.event.mjs +4 -4
- package/esm2020/lib/model/multiselect-localization.interface.mjs +2 -2
- package/esm2020/marcura-marcura-combobox.mjs +4 -4
- package/esm2020/public-api.mjs +25 -25
- package/fesm2015/marcura-marcura-combobox.mjs +1482 -1478
- package/fesm2015/marcura-marcura-combobox.mjs.map +1 -1
- package/fesm2020/marcura-marcura-combobox.mjs +1477 -1473
- package/fesm2020/marcura-marcura-combobox.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/combobox.injectables.d.ts +8 -8
- package/lib/combobox.module.d.ts +25 -25
- package/lib/components/abstract-combobox/abstract-combobox.component.d.ts +59 -59
- package/lib/components/abstract-dropdown/abstract-dropdown.component.d.ts +76 -76
- package/lib/components/combobox/combobox.component.d.ts +65 -64
- package/lib/components/combobox-popup-footer/combobox-popup-footer.component.d.ts +13 -13
- package/lib/components/dropdown/dropdown.component.d.ts +45 -45
- package/lib/components/multiselect/multiselect.component.d.ts +51 -51
- package/lib/directives/combobox-item-template.directive.d.ts +5 -5
- package/lib/directives/dropdown-item-template.directive.d.ts +5 -5
- package/lib/directives/dropdown-value-template.directive.d.ts +5 -5
- package/lib/directives/multiselect-item-template.directive.d.ts +5 -5
- package/lib/directives/multiselect-tag-template.directive.d.ts +5 -5
- package/lib/directives/multiselect-tag-wrapper.directive.d.ts +21 -21
- package/lib/model/combobox-changed.event.d.ts +3 -3
- package/lib/model/combobox-item.type.d.ts +4 -4
- package/lib/model/combobox-kendo-component.interface.d.ts +7 -7
- package/lib/model/combobox-localization.interface.d.ts +5 -5
- package/lib/model/combobox-search-fn.type.d.ts +3 -3
- package/lib/model/combobox-search-settings-operator.enum.d.ts +4 -4
- package/lib/model/combobox-search-settings.interface.d.ts +5 -5
- package/lib/model/dropdown-changed.event.d.ts +3 -3
- package/lib/model/dropdown-kendo-component.interface.d.ts +6 -6
- package/lib/model/dropdown-localization.interface.d.ts +3 -3
- package/lib/model/dropdown-localizer.interface.d.ts +5 -5
- package/lib/model/multiselect-changed.event.d.ts +3 -3
- package/lib/model/multiselect-localization.interface.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +24 -24
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class ComboboxPopupFooterComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.isLoadingTextVisible = false;
|
|
7
|
-
this.isNoItemsTextVisible = false;
|
|
8
|
-
this.isMinSearchTextVisible = false;
|
|
9
|
-
this.loadingText = '';
|
|
10
|
-
this.noItemsText = '';
|
|
11
|
-
this.minSearchText = '';
|
|
12
|
-
this.minSearchCharacters = 0;
|
|
13
|
-
}
|
|
14
|
-
getMinSearchText() {
|
|
15
|
-
return this.minSearchText.replace('{minSearchCharacters}', this.minSearchCharacters.toString());
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
ComboboxPopupFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ComboboxPopupFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
ComboboxPopupFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ComboboxPopupFooterComponent, selector: "sg-combobox-popup-footer", inputs: { isLoadingTextVisible: "isLoadingTextVisible", isNoItemsTextVisible: "isNoItemsTextVisible", isMinSearchTextVisible: "isMinSearchTextVisible", loadingText: "loadingText", noItemsText: "noItemsText", minSearchText: "minSearchText", minSearchCharacters: "minSearchCharacters" }, ngImport: i0, template: "<div\
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ComboboxPopupFooterComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'sg-combobox-popup-footer', template: "<div\
|
|
23
|
-
}], propDecorators: { isLoadingTextVisible: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], isNoItemsTextVisible: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], isMinSearchTextVisible: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], loadingText: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], noItemsText: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], minSearchText: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], minSearchCharacters: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
export class ComboboxPopupFooterComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.isLoadingTextVisible = false;
|
|
7
|
+
this.isNoItemsTextVisible = false;
|
|
8
|
+
this.isMinSearchTextVisible = false;
|
|
9
|
+
this.loadingText = '';
|
|
10
|
+
this.noItemsText = '';
|
|
11
|
+
this.minSearchText = '';
|
|
12
|
+
this.minSearchCharacters = 0;
|
|
13
|
+
}
|
|
14
|
+
getMinSearchText() {
|
|
15
|
+
return this.minSearchText.replace('{minSearchCharacters}', this.minSearchCharacters.toString());
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
ComboboxPopupFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ComboboxPopupFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
ComboboxPopupFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ComboboxPopupFooterComponent, selector: "sg-combobox-popup-footer", inputs: { isLoadingTextVisible: "isLoadingTextVisible", isNoItemsTextVisible: "isNoItemsTextVisible", isMinSearchTextVisible: "isMinSearchTextVisible", loadingText: "loadingText", noItemsText: "noItemsText", minSearchText: "minSearchText", minSearchCharacters: "minSearchCharacters" }, ngImport: i0, template: "<div\n class=\"sg-combobox-popup-footer__inner\"\n *ngIf=\"isLoadingTextVisible || isNoItemsTextVisible || isMinSearchTextVisible\"\n>\n <span *ngIf=\"isLoadingTextVisible\" class=\"c-body c-body--3 u-color--text-05\">{{ loadingText }}</span>\n <span *ngIf=\"isNoItemsTextVisible\" class=\"c-body c-body--3 u-color--text-05\">{{ noItemsText }}</span>\n <span *ngIf=\"isMinSearchTextVisible\" class=\"c-body c-body--3 u-color--text-05\">{{ getMinSearchText() }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ComboboxPopupFooterComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{ selector: 'sg-combobox-popup-footer', template: "<div\n class=\"sg-combobox-popup-footer__inner\"\n *ngIf=\"isLoadingTextVisible || isNoItemsTextVisible || isMinSearchTextVisible\"\n>\n <span *ngIf=\"isLoadingTextVisible\" class=\"c-body c-body--3 u-color--text-05\">{{ loadingText }}</span>\n <span *ngIf=\"isNoItemsTextVisible\" class=\"c-body c-body--3 u-color--text-05\">{{ noItemsText }}</span>\n <span *ngIf=\"isMinSearchTextVisible\" class=\"c-body c-body--3 u-color--text-05\">{{ getMinSearchText() }}</span>\n</div>\n" }]
|
|
23
|
+
}], propDecorators: { isLoadingTextVisible: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], isNoItemsTextVisible: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], isMinSearchTextVisible: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], loadingText: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], noItemsText: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], minSearchText: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], minSearchCharacters: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}] } });
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