matcha-components 20.65.0 → 20.66.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.
|
@@ -9815,11 +9815,7 @@ class MatchaChipListComponent {
|
|
|
9815
9815
|
const selectedChangeSub = chip.selectedChange.subscribe(() => {
|
|
9816
9816
|
this._onChipSelectionChange(chip);
|
|
9817
9817
|
});
|
|
9818
|
-
|
|
9819
|
-
const removedSub = chip.removed.subscribe(() => {
|
|
9820
|
-
this._onChipRemoved(chip, index);
|
|
9821
|
-
});
|
|
9822
|
-
this._chipSubscriptions.push(selectedChangeSub, removedSub);
|
|
9818
|
+
this._chipSubscriptions.push(selectedChangeSub);
|
|
9823
9819
|
});
|
|
9824
9820
|
}
|
|
9825
9821
|
/** Limpa as subscrições dos chips */
|
|
@@ -9843,10 +9839,6 @@ class MatchaChipListComponent {
|
|
|
9843
9839
|
this._updateValue();
|
|
9844
9840
|
this.onTouched();
|
|
9845
9841
|
}
|
|
9846
|
-
/** Manipula a remoção de um chip */
|
|
9847
|
-
_onChipRemoved(chip, index) {
|
|
9848
|
-
this._updateValue();
|
|
9849
|
-
}
|
|
9850
9842
|
/** Atualiza o valor baseado nos chips selecionados */
|
|
9851
9843
|
_updateValue() {
|
|
9852
9844
|
if (this.multiple) {
|