@db-ux/wc-core-components 2.0.9 → 2.1.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/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/{db-custom-select-dropdown_6.cjs.entry.js → db-custom-select-dropdown_5.cjs.entry.js} +4 -88
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js.map +1 -0
- package/dist/cjs/db-custom-select.cjs.entry.js +71 -31
- package/dist/cjs/db-custom-select.cjs.entry.js.map +1 -1
- package/dist/cjs/db-custom-select.entry.cjs.js.map +1 -1
- package/dist/cjs/db-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation.cjs.entry.js +2 -2
- package/dist/cjs/db-popover.cjs.entry.js +2 -2
- package/dist/cjs/db-textarea.cjs.entry.js +2 -2
- package/dist/cjs/db-tooltip.cjs.entry.js +98 -0
- package/dist/cjs/db-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/db-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +2 -2
- package/dist/collection/components/custom-select/custom-select.js +191 -32
- package/dist/collection/components/custom-select/custom-select.js.map +1 -1
- package/dist/collection/components/custom-select/model.js.map +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/model.js +0 -1
- package/dist/collection/components/icon/model.js.map +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -2
- package/dist/collection/components/navigation-item/navigation-item.js +1 -1
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/select/model.js.map +1 -1
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/tag/tag.js.map +1 -1
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/model.js +1 -1
- package/dist/collection/components/tooltip/model.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +33 -3
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/custom-elements.json +1298 -1135
- package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +1 -0
- package/dist/db-ux/db-custom-select.entry.esm.js.map +1 -1
- package/dist/db-ux/db-tooltip.entry.esm.js.map +1 -0
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/{p-d7ccd983.entry.js → p-0e4c3fb1.entry.js} +2 -2
- package/dist/db-ux/{p-94471c06.entry.js → p-2fd37535.entry.js} +2 -2
- package/dist/db-ux/{p-4400f077.entry.js → p-40713825.entry.js} +2 -2
- package/dist/db-ux/{p-9d64dc74.entry.js → p-5c2eddb6.entry.js} +2 -2
- package/dist/db-ux/p-6610dd91.entry.js +2 -0
- package/dist/db-ux/p-6610dd91.entry.js.map +1 -0
- package/dist/db-ux/p-7d6c27a1.entry.js +2 -0
- package/dist/db-ux/p-7d6c27a1.entry.js.map +1 -0
- package/dist/db-ux/{p-49cc4a11.entry.js → p-7de004e3.entry.js} +2 -2
- package/dist/db-ux/p-a49adbd6.entry.js +2 -0
- package/dist/db-ux/p-a49adbd6.entry.js.map +1 -0
- package/dist/db-ux/p-e3117b8a.entry.js +2 -0
- package/dist/esm/db-accordion-item.entry.js +2 -2
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +1 -0
- package/dist/esm/{db-custom-select-dropdown_6.entry.js → db-custom-select-dropdown_5.entry.js} +7 -90
- package/dist/esm/db-custom-select-dropdown_5.entry.js.map +1 -0
- package/dist/esm/db-custom-select.entry.js +71 -31
- package/dist/esm/db-custom-select.entry.js.map +1 -1
- package/dist/esm/db-navigation-item.entry.js +1 -1
- package/dist/esm/db-navigation.entry.js +2 -2
- package/dist/esm/db-popover.entry.js +2 -2
- package/dist/esm/db-textarea.entry.js +2 -2
- package/dist/esm/db-tooltip.entry.js +96 -0
- package/dist/esm/db-tooltip.entry.js.map +1 -0
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/custom-select/custom-select.d.ts +8 -0
- package/dist/types/components/custom-select/model.d.ts +30 -4
- package/dist/types/components/icon/model.d.ts +1 -3
- package/dist/types/components/select/model.d.ts +2 -1
- package/dist/types/components/tooltip/model.d.ts +11 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +12 -0
- package/dist/vscode.html-custom-data.json +75 -57
- package/dist/web-types.json +160 -103
- package/package.json +3 -3
- package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.db-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select-dropdown_6.cjs.entry.js.map +0 -1
- package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.db-tooltip.entry.esm.js.map +0 -1
- package/dist/db-ux/p-02f8816d.entry.js +0 -2
- package/dist/db-ux/p-02f8816d.entry.js.map +0 -1
- package/dist/db-ux/p-d9ff0c75.entry.js +0 -2
- package/dist/db-ux/p-d9ff0c75.entry.js.map +0 -1
- package/dist/db-ux/p-f2ef5e71.entry.js +0 -2
- package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.db-tooltip.entry.js.map +0 -1
- package/dist/esm/db-custom-select-dropdown_6.entry.js.map +0 -1
- /package/dist/db-ux/{p-d7ccd983.entry.js.map → p-0e4c3fb1.entry.js.map} +0 -0
- /package/dist/db-ux/{p-94471c06.entry.js.map → p-2fd37535.entry.js.map} +0 -0
- /package/dist/db-ux/{p-4400f077.entry.js.map → p-40713825.entry.js.map} +0 -0
- /package/dist/db-ux/{p-9d64dc74.entry.js.map → p-5c2eddb6.entry.js.map} +0 -0
- /package/dist/db-ux/{p-49cc4a11.entry.js.map → p-7de004e3.entry.js.map} +0 -0
- /package/dist/db-ux/{p-f2ef5e71.entry.js.map → p-e3117b8a.entry.js.map} +0 -0
|
@@ -34,6 +34,7 @@ export class DBCustomSelect {
|
|
|
34
34
|
this._hasNoOptions = false;
|
|
35
35
|
this._documentClickListenerCallbackId = undefined;
|
|
36
36
|
this._internalChangeTimestamp = 0;
|
|
37
|
+
this._searchValue = undefined;
|
|
37
38
|
this.selectAllChecked = false;
|
|
38
39
|
this.selectAllIndeterminate = false;
|
|
39
40
|
this.satisfyReact = function satisfyReact(event) {
|
|
@@ -358,11 +359,24 @@ export class DBCustomSelect {
|
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
361
|
handleSearch(event) {
|
|
361
|
-
|
|
362
|
-
|
|
362
|
+
let filterText;
|
|
363
|
+
if (typeof event === "string") {
|
|
364
|
+
filterText = event;
|
|
365
|
+
}
|
|
366
|
+
else {
|
|
367
|
+
event.stopPropagation();
|
|
368
|
+
if (this.search) {
|
|
369
|
+
this.search.emit(event);
|
|
370
|
+
}
|
|
371
|
+
filterText = event.target.value;
|
|
372
|
+
this._searchValue = filterText;
|
|
373
|
+
}
|
|
363
374
|
if (!this.options || !filterText || filterText.length === 0) {
|
|
364
375
|
this._options = this.options;
|
|
365
376
|
}
|
|
377
|
+
else if (this.searchFilter) {
|
|
378
|
+
this._options = this.options.filter((option) => this.searchFilter(option, filterText));
|
|
379
|
+
}
|
|
366
380
|
else {
|
|
367
381
|
this._options = this.options.filter((option) => !option.isGroupTitle &&
|
|
368
382
|
this.getOptionLabel(option)
|
|
@@ -527,6 +541,16 @@ export class DBCustomSelect {
|
|
|
527
541
|
this.watch10Fn();
|
|
528
542
|
}
|
|
529
543
|
watch11Fn() {
|
|
544
|
+
this._searchValue = this.searchValue;
|
|
545
|
+
if (this.searchValue) {
|
|
546
|
+
const sValue = this.searchValue; // <- workaround for Angular
|
|
547
|
+
this.handleSearch(sValue);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
watch11() {
|
|
551
|
+
this.watch11Fn();
|
|
552
|
+
}
|
|
553
|
+
watch12Fn() {
|
|
530
554
|
var _a, _b;
|
|
531
555
|
if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) {
|
|
532
556
|
this._selectedOptions = (_b = this.options) === null || _b === void 0 ? void 0 : _b.filter((option) => {
|
|
@@ -538,12 +562,23 @@ export class DBCustomSelect {
|
|
|
538
562
|
});
|
|
539
563
|
}
|
|
540
564
|
}
|
|
541
|
-
|
|
542
|
-
this.
|
|
565
|
+
watch12() {
|
|
566
|
+
this.watch12Fn();
|
|
543
567
|
}
|
|
544
|
-
|
|
568
|
+
watch13Fn() {
|
|
545
569
|
var _a, _b, _c;
|
|
570
|
+
if (this.selectedLabels) {
|
|
571
|
+
this._selectedLabels = this.selectedLabels;
|
|
572
|
+
return;
|
|
573
|
+
}
|
|
546
574
|
if ((_a = this._selectedOptions) === null || _a === void 0 ? void 0 : _a.length) {
|
|
575
|
+
if (this.transformSelectedLabels) {
|
|
576
|
+
// We need to add this to another ``const`` for Angular generated output to work
|
|
577
|
+
const selectedOptions = this._selectedOptions;
|
|
578
|
+
const transformFn = this.transformSelectedLabels;
|
|
579
|
+
this._selectedLabels = transformFn(selectedOptions);
|
|
580
|
+
return;
|
|
581
|
+
}
|
|
547
582
|
if (this.selectedType === "amount") {
|
|
548
583
|
this._selectedLabels = this.amountText
|
|
549
584
|
? this.amountText
|
|
@@ -557,35 +592,35 @@ export class DBCustomSelect {
|
|
|
557
592
|
this._selectedLabels = "";
|
|
558
593
|
}
|
|
559
594
|
}
|
|
560
|
-
|
|
561
|
-
this.
|
|
595
|
+
watch13() {
|
|
596
|
+
this.watch13Fn();
|
|
562
597
|
}
|
|
563
|
-
|
|
598
|
+
watch14Fn() {
|
|
564
599
|
var _a, _b;
|
|
565
600
|
if (this.amountChange) {
|
|
566
601
|
this.amountChange.emit((_b = (_a = this._selectedOptions) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
|
|
567
602
|
}
|
|
568
603
|
}
|
|
569
|
-
|
|
570
|
-
this.
|
|
604
|
+
watch14() {
|
|
605
|
+
this.watch14Fn();
|
|
571
606
|
}
|
|
572
|
-
|
|
607
|
+
watch15Fn() {
|
|
573
608
|
if (this.selectAllRef) {
|
|
574
609
|
this.selectAllRef.indeterminate = Boolean(this.selectAllIndeterminate);
|
|
575
610
|
}
|
|
576
611
|
}
|
|
577
|
-
|
|
578
|
-
this.
|
|
612
|
+
watch15() {
|
|
613
|
+
this.watch15Fn();
|
|
579
614
|
}
|
|
580
|
-
|
|
615
|
+
watch16Fn() {
|
|
581
616
|
var _a;
|
|
582
617
|
this._invalidMessage =
|
|
583
618
|
this.invalidMessage ||
|
|
584
619
|
((_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.validationMessage) ||
|
|
585
620
|
DEFAULT_INVALID_MESSAGE;
|
|
586
621
|
}
|
|
587
|
-
|
|
588
|
-
this.
|
|
622
|
+
watch16() {
|
|
623
|
+
this.watch16Fn();
|
|
589
624
|
}
|
|
590
625
|
componentDidLoad() {
|
|
591
626
|
var _a;
|
|
@@ -618,24 +653,25 @@ export class DBCustomSelect {
|
|
|
618
653
|
this.watch13Fn();
|
|
619
654
|
this.watch14Fn();
|
|
620
655
|
this.watch15Fn();
|
|
656
|
+
this.watch16Fn();
|
|
621
657
|
}
|
|
622
658
|
render() {
|
|
623
659
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
624
|
-
return (h("div", { key: '
|
|
660
|
+
return (h("div", { key: 'f4df6e0c633b5ccb844b4e34da6d3ffdf2734eba', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
|
|
625
661
|
this._ref = el;
|
|
626
662
|
}, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
|
|
627
663
|
this.selectedType === "tag" &&
|
|
628
664
|
this.multiple
|
|
629
665
|
? "above"
|
|
630
|
-
: this.variant, "data-required": getBooleanAsString(this.required), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-hide-icon": getHideProp(this.showIcon) }, h("label", { key: '
|
|
666
|
+
: this.variant, "data-required": getBooleanAsString(this.required), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-hide-icon": getHideProp(this.showIcon) }, h("label", { key: 'ee59cf9ef87cf98fd3dc8337472b9490eaf4427a', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: 'a3c8f3bd67f9eed5ec0df5602ab17f4842870b8a', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
|
|
631
667
|
this.selectRef = el;
|
|
632
668
|
}, form: this.form, name: this.name, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
|
|
633
669
|
? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
|
|
634
|
-
: null)), h("details", { key: '
|
|
670
|
+
: null)), h("details", { key: 'e35e2532b4946d98b2b588783e8275b13bd240b4', ref: (el) => {
|
|
635
671
|
this.detailsRef = el;
|
|
636
|
-
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '
|
|
672
|
+
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: 'fd289344b7b69ac8ad0259393fefe97e73408d15' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option, index) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(index), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
|
|
637
673
|
this.searchInputRef = el;
|
|
638
|
-
}, name: this._id, form: this._id, showLabel: false, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
|
|
674
|
+
}, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
|
|
639
675
|
? this._infoTextId
|
|
640
676
|
: undefined, onInput: (event) => this.handleSearch(event) }))) : null, this._hasNoOptions || this.showLoading ? (h("db-infotext", { id: this._infoTextId, icon: this._hasNoOptions ? undefined : "circular_arrows", semantic: this._hasNoOptions ? "warning" : "informational" }, (_h = (this._hasNoOptions
|
|
641
677
|
? this.noResultsText
|
|
@@ -643,7 +679,7 @@ export class DBCustomSelect {
|
|
|
643
679
|
this.selectAllRef = el;
|
|
644
680
|
}, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.ariaListLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
|
|
645
681
|
? this.getOptionLabel(option)
|
|
646
|
-
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose("close") }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '
|
|
682
|
+
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose("close") }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '545397c50574d5b3798269f18aa797078c785d44', "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '43731ce611cc55c5a4a482ca9d2af33224d40e52', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'f79eb37128f2859a2aa6fa2beec81353cbe11b39', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
647
683
|
}
|
|
648
684
|
static get is() { return "db-custom-select"; }
|
|
649
685
|
static get properties() {
|
|
@@ -946,6 +982,80 @@ export class DBCustomSelect {
|
|
|
946
982
|
"getter": false,
|
|
947
983
|
"setter": false
|
|
948
984
|
},
|
|
985
|
+
"searchValue": {
|
|
986
|
+
"type": "string",
|
|
987
|
+
"attribute": "search-value",
|
|
988
|
+
"mutable": false,
|
|
989
|
+
"complexType": {
|
|
990
|
+
"original": "DBCustomSelectProps[\"searchValue\"]",
|
|
991
|
+
"resolved": "string",
|
|
992
|
+
"references": {
|
|
993
|
+
"DBCustomSelectProps": {
|
|
994
|
+
"location": "import",
|
|
995
|
+
"path": "./model",
|
|
996
|
+
"id": "src/components/custom-select/model.ts::DBCustomSelectProps"
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"required": false,
|
|
1001
|
+
"optional": false,
|
|
1002
|
+
"docs": {
|
|
1003
|
+
"tags": [],
|
|
1004
|
+
"text": ""
|
|
1005
|
+
},
|
|
1006
|
+
"getter": false,
|
|
1007
|
+
"setter": false,
|
|
1008
|
+
"reflect": false
|
|
1009
|
+
},
|
|
1010
|
+
"selectedLabels": {
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"attribute": "selected-labels",
|
|
1013
|
+
"mutable": false,
|
|
1014
|
+
"complexType": {
|
|
1015
|
+
"original": "DBCustomSelectProps[\"selectedLabels\"]",
|
|
1016
|
+
"resolved": "string",
|
|
1017
|
+
"references": {
|
|
1018
|
+
"DBCustomSelectProps": {
|
|
1019
|
+
"location": "import",
|
|
1020
|
+
"path": "./model",
|
|
1021
|
+
"id": "src/components/custom-select/model.ts::DBCustomSelectProps"
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"required": false,
|
|
1026
|
+
"optional": false,
|
|
1027
|
+
"docs": {
|
|
1028
|
+
"tags": [],
|
|
1029
|
+
"text": ""
|
|
1030
|
+
},
|
|
1031
|
+
"getter": false,
|
|
1032
|
+
"setter": false,
|
|
1033
|
+
"reflect": false
|
|
1034
|
+
},
|
|
1035
|
+
"transformSelectedLabels": {
|
|
1036
|
+
"type": "unknown",
|
|
1037
|
+
"attribute": "transform-selected-labels",
|
|
1038
|
+
"mutable": false,
|
|
1039
|
+
"complexType": {
|
|
1040
|
+
"original": "DBCustomSelectProps[\"transformSelectedLabels\"]",
|
|
1041
|
+
"resolved": "(selectedOptions?: CustomSelectOptionType[]) => string",
|
|
1042
|
+
"references": {
|
|
1043
|
+
"DBCustomSelectProps": {
|
|
1044
|
+
"location": "import",
|
|
1045
|
+
"path": "./model",
|
|
1046
|
+
"id": "src/components/custom-select/model.ts::DBCustomSelectProps"
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
"required": false,
|
|
1051
|
+
"optional": false,
|
|
1052
|
+
"docs": {
|
|
1053
|
+
"tags": [],
|
|
1054
|
+
"text": ""
|
|
1055
|
+
},
|
|
1056
|
+
"getter": false,
|
|
1057
|
+
"setter": false
|
|
1058
|
+
},
|
|
949
1059
|
"selectedType": {
|
|
950
1060
|
"type": "string",
|
|
951
1061
|
"attribute": "selected-type",
|
|
@@ -1095,6 +1205,30 @@ export class DBCustomSelect {
|
|
|
1095
1205
|
"getter": false,
|
|
1096
1206
|
"setter": false
|
|
1097
1207
|
},
|
|
1208
|
+
"searchFilter": {
|
|
1209
|
+
"type": "unknown",
|
|
1210
|
+
"attribute": "search-filter",
|
|
1211
|
+
"mutable": false,
|
|
1212
|
+
"complexType": {
|
|
1213
|
+
"original": "DBCustomSelectProps[\"searchFilter\"]",
|
|
1214
|
+
"resolved": "(option: CustomSelectOptionType, filterText: string) => boolean",
|
|
1215
|
+
"references": {
|
|
1216
|
+
"DBCustomSelectProps": {
|
|
1217
|
+
"location": "import",
|
|
1218
|
+
"path": "./model",
|
|
1219
|
+
"id": "src/components/custom-select/model.ts::DBCustomSelectProps"
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"required": false,
|
|
1224
|
+
"optional": false,
|
|
1225
|
+
"docs": {
|
|
1226
|
+
"tags": [],
|
|
1227
|
+
"text": ""
|
|
1228
|
+
},
|
|
1229
|
+
"getter": false,
|
|
1230
|
+
"setter": false
|
|
1231
|
+
},
|
|
1098
1232
|
"className": {
|
|
1099
1233
|
"type": "string",
|
|
1100
1234
|
"attribute": "classname",
|
|
@@ -1725,6 +1859,7 @@ export class DBCustomSelect {
|
|
|
1725
1859
|
"_hasNoOptions": {},
|
|
1726
1860
|
"_documentClickListenerCallbackId": {},
|
|
1727
1861
|
"_internalChangeTimestamp": {},
|
|
1862
|
+
"_searchValue": {},
|
|
1728
1863
|
"selectAllChecked": {},
|
|
1729
1864
|
"selectAllIndeterminate": {}
|
|
1730
1865
|
};
|
|
@@ -1775,6 +1910,21 @@ export class DBCustomSelect {
|
|
|
1775
1910
|
"resolved": "any",
|
|
1776
1911
|
"references": {}
|
|
1777
1912
|
}
|
|
1913
|
+
}, {
|
|
1914
|
+
"method": "search",
|
|
1915
|
+
"name": "search",
|
|
1916
|
+
"bubbles": true,
|
|
1917
|
+
"cancelable": true,
|
|
1918
|
+
"composed": true,
|
|
1919
|
+
"docs": {
|
|
1920
|
+
"tags": [],
|
|
1921
|
+
"text": ""
|
|
1922
|
+
},
|
|
1923
|
+
"complexType": {
|
|
1924
|
+
"original": "any",
|
|
1925
|
+
"resolved": "any",
|
|
1926
|
+
"references": {}
|
|
1927
|
+
}
|
|
1778
1928
|
}];
|
|
1779
1929
|
}
|
|
1780
1930
|
static get watchers() {
|
|
@@ -1830,35 +1980,44 @@ export class DBCustomSelect {
|
|
|
1830
1980
|
"propName": "options",
|
|
1831
1981
|
"methodName": "watch10"
|
|
1832
1982
|
}, {
|
|
1833
|
-
"propName": "
|
|
1983
|
+
"propName": "searchValue",
|
|
1834
1984
|
"methodName": "watch11"
|
|
1985
|
+
}, {
|
|
1986
|
+
"propName": "options",
|
|
1987
|
+
"methodName": "watch12"
|
|
1835
1988
|
}, {
|
|
1836
1989
|
"propName": "_values",
|
|
1837
|
-
"methodName": "
|
|
1990
|
+
"methodName": "watch12"
|
|
1838
1991
|
}, {
|
|
1839
1992
|
"propName": "_selectedOptions",
|
|
1840
|
-
"methodName": "
|
|
1993
|
+
"methodName": "watch13"
|
|
1841
1994
|
}, {
|
|
1842
1995
|
"propName": "selectedType",
|
|
1843
|
-
"methodName": "
|
|
1996
|
+
"methodName": "watch13"
|
|
1844
1997
|
}, {
|
|
1845
1998
|
"propName": "amountText",
|
|
1846
|
-
"methodName": "
|
|
1999
|
+
"methodName": "watch13"
|
|
1847
2000
|
}, {
|
|
1848
|
-
"propName": "
|
|
2001
|
+
"propName": "selectedLabels",
|
|
1849
2002
|
"methodName": "watch13"
|
|
1850
2003
|
}, {
|
|
1851
|
-
"propName": "
|
|
2004
|
+
"propName": "transformSelectedLabels",
|
|
2005
|
+
"methodName": "watch13"
|
|
2006
|
+
}, {
|
|
2007
|
+
"propName": "_selectedOptions",
|
|
1852
2008
|
"methodName": "watch14"
|
|
2009
|
+
}, {
|
|
2010
|
+
"propName": "selectAllIndeterminate",
|
|
2011
|
+
"methodName": "watch15"
|
|
1853
2012
|
}, {
|
|
1854
2013
|
"propName": "selectAllRef",
|
|
1855
|
-
"methodName": "
|
|
2014
|
+
"methodName": "watch15"
|
|
1856
2015
|
}, {
|
|
1857
2016
|
"propName": "selectRef",
|
|
1858
|
-
"methodName": "
|
|
2017
|
+
"methodName": "watch16"
|
|
1859
2018
|
}, {
|
|
1860
2019
|
"propName": "invalidMessage",
|
|
1861
|
-
"methodName": "
|
|
2020
|
+
"methodName": "watch16"
|
|
1862
2021
|
}];
|
|
1863
2022
|
}
|
|
1864
2023
|
}
|