@dev-tcloud/tcloud-ui 0.0.66 → 0.0.67
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/esm2020/lib/_modules/tcloud-ui-multiples-values/tcloud-ui-multiples-values.component.mjs +12 -6
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +11 -5
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +11 -5
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4340,19 +4340,25 @@ class TCloudUiMultiplesValuesComponent {
|
|
|
4340
4340
|
items = (input_items).split(this.delimiter);
|
|
4341
4341
|
}
|
|
4342
4342
|
if ((items).length === 0) {
|
|
4343
|
-
|
|
4344
|
-
|
|
4343
|
+
if (input_items && input_items !== '') {
|
|
4344
|
+
let txt = `${(input_items).trim()}`;
|
|
4345
|
+
items = [txt];
|
|
4346
|
+
}
|
|
4345
4347
|
}
|
|
4346
4348
|
//items = [...new Set(items)];
|
|
4347
4349
|
for (let i = 0; i < (items).length; i++) {
|
|
4348
4350
|
let txt = `${(items[i]).trim()}`;
|
|
4349
4351
|
if (this.uppercase) {
|
|
4350
|
-
txt
|
|
4352
|
+
if (txt && txt !== '') {
|
|
4353
|
+
txt = (txt).toLocaleUpperCase();
|
|
4354
|
+
}
|
|
4351
4355
|
}
|
|
4352
4356
|
if (this.lowercase) {
|
|
4353
|
-
txt
|
|
4357
|
+
if (txt && txt !== '') {
|
|
4358
|
+
txt = (txt).toLocaleLowerCase();
|
|
4359
|
+
}
|
|
4354
4360
|
}
|
|
4355
|
-
if (txt !== '') {
|
|
4361
|
+
if (txt && txt !== '') {
|
|
4356
4362
|
(this.items).push(txt);
|
|
4357
4363
|
}
|
|
4358
4364
|
}
|