@ship-ui/core 0.13.11 → 0.13.13
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.
|
@@ -2017,6 +2017,7 @@ class ShipFormFieldComponent {
|
|
|
2017
2017
|
|
|
2018
2018
|
<div class="input-wrap">
|
|
2019
2019
|
<div class="prefix">
|
|
2020
|
+
<ng-content select="[boxPrefix]"></ng-content>
|
|
2020
2021
|
<ng-content select="[prefix]"></ng-content>
|
|
2021
2022
|
<ng-content select="[textPrefix]"></ng-content>
|
|
2022
2023
|
</div>
|
|
@@ -2027,6 +2028,7 @@ class ShipFormFieldComponent {
|
|
|
2027
2028
|
<div class="suffix">
|
|
2028
2029
|
<ng-content select="[textSuffix]"></ng-content>
|
|
2029
2030
|
<ng-content select="[suffix]"></ng-content>
|
|
2031
|
+
<ng-content select="[boxSuffix]"></ng-content>
|
|
2030
2032
|
</div>
|
|
2031
2033
|
</div>
|
|
2032
2034
|
|
|
@@ -2051,6 +2053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
2051
2053
|
|
|
2052
2054
|
<div class="input-wrap">
|
|
2053
2055
|
<div class="prefix">
|
|
2056
|
+
<ng-content select="[boxPrefix]"></ng-content>
|
|
2054
2057
|
<ng-content select="[prefix]"></ng-content>
|
|
2055
2058
|
<ng-content select="[textPrefix]"></ng-content>
|
|
2056
2059
|
</div>
|
|
@@ -2061,6 +2064,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
2061
2064
|
<div class="suffix">
|
|
2062
2065
|
<ng-content select="[textSuffix]"></ng-content>
|
|
2063
2066
|
<ng-content select="[suffix]"></ng-content>
|
|
2067
|
+
<ng-content select="[boxSuffix]"></ng-content>
|
|
2064
2068
|
</div>
|
|
2065
2069
|
</div>
|
|
2066
2070
|
|
|
@@ -3340,13 +3344,15 @@ class ShipSelectComponent {
|
|
|
3340
3344
|
this.updateInputElValue();
|
|
3341
3345
|
return;
|
|
3342
3346
|
}
|
|
3343
|
-
const
|
|
3347
|
+
const newInputValue = options
|
|
3344
3348
|
.map((option) => {
|
|
3345
3349
|
const optionValue = valueKey ? this.#getProperty(option, valueKey) : option;
|
|
3346
3350
|
return optionValue;
|
|
3347
3351
|
})
|
|
3348
3352
|
.join(',');
|
|
3349
|
-
this.inputValue
|
|
3353
|
+
if (newInputValue === this.inputValue())
|
|
3354
|
+
return;
|
|
3355
|
+
this.inputValue.set(newInputValue);
|
|
3350
3356
|
this.updateInputElValue();
|
|
3351
3357
|
}
|
|
3352
3358
|
getLabel(option) {
|