ps-toolkit-ui 1.7.5 → 1.7.8
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/bundles/ps-toolkit-ui.umd.js +76 -97
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +1 -7
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +1 -5
- package/esm2015/lib/components/form/select/form.select.component.js +59 -40
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +3 -21
- package/fesm2015/ps-toolkit-ui.js +60 -68
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/form.class.d.ts +0 -1
- package/lib/components/form/select/form.select.component.d.ts +5 -2
- package/lib/components/form/select/item/form.select.item.component.d.ts +1 -3
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
- package/src/assets/scripts/base.js +5 -0
|
@@ -1451,7 +1451,6 @@ class InputClass {
|
|
|
1451
1451
|
this.allowed = null;
|
|
1452
1452
|
this.row = null;
|
|
1453
1453
|
this.rows = [];
|
|
1454
|
-
this.index = 0;
|
|
1455
1454
|
this.level = null;
|
|
1456
1455
|
this.modal = null;
|
|
1457
1456
|
this.nameFun = null;
|
|
@@ -1495,7 +1494,6 @@ class InputClass {
|
|
|
1495
1494
|
if (u) {
|
|
1496
1495
|
this.options = [];
|
|
1497
1496
|
this.hover = -1;
|
|
1498
|
-
this.index = 0;
|
|
1499
1497
|
this.rows = [];
|
|
1500
1498
|
if (typeof u === 'string') {
|
|
1501
1499
|
if (!u.includes('{}')) {
|
|
@@ -1528,9 +1526,6 @@ class InputClass {
|
|
|
1528
1526
|
this.setOptions(r);
|
|
1529
1527
|
}
|
|
1530
1528
|
}
|
|
1531
|
-
else if (this.options instanceof Array) {
|
|
1532
|
-
this.options.forEach(x => x.index = this.index++);
|
|
1533
|
-
}
|
|
1534
1529
|
}
|
|
1535
1530
|
setOptions(r) {
|
|
1536
1531
|
this.options = r;
|
|
@@ -1558,7 +1553,6 @@ class InputClass {
|
|
|
1558
1553
|
}
|
|
1559
1554
|
o.search = x.Search;
|
|
1560
1555
|
o.option = x;
|
|
1561
|
-
o.index = this.index++;
|
|
1562
1556
|
o.options = tree ? this.getOptions(r, x.Id) : [];
|
|
1563
1557
|
return o;
|
|
1564
1558
|
});
|
|
@@ -3934,9 +3928,6 @@ class FormPlaqueSelectComponent {
|
|
|
3934
3928
|
}
|
|
3935
3929
|
else if (code === 40) {
|
|
3936
3930
|
e.preventDefault();
|
|
3937
|
-
if (this.inp.hover + 1 >= this.inp.index) {
|
|
3938
|
-
return;
|
|
3939
|
-
}
|
|
3940
3931
|
this.inp.hover = this.getHover();
|
|
3941
3932
|
this.setHoverCenter();
|
|
3942
3933
|
}
|
|
@@ -3966,7 +3957,6 @@ class FormPlaqueSelectComponent {
|
|
|
3966
3957
|
if (this.inp.rel) {
|
|
3967
3958
|
this.inp.rel.value = null;
|
|
3968
3959
|
this.inp.rel.hover = -1;
|
|
3969
|
-
this.inp.rel.index = 0;
|
|
3970
3960
|
this.inp.rel.search = '';
|
|
3971
3961
|
this.inp.rel.options = [];
|
|
3972
3962
|
this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
|
|
@@ -4484,28 +4474,11 @@ class FormSelectItemComponent {
|
|
|
4484
4474
|
ngOnInit() {
|
|
4485
4475
|
this.item.parent = this.parent;
|
|
4486
4476
|
}
|
|
4487
|
-
hoverOption(opt) {
|
|
4488
|
-
this.select.hover = opt.index;
|
|
4489
|
-
}
|
|
4490
|
-
toggleChildren(e) {
|
|
4491
|
-
const ch = $$1(e.target).closest('.option-con').find(' > .children');
|
|
4492
|
-
const oc = $$1(e.target).closest('.option-con').find(' > .caret-icon');
|
|
4493
|
-
if (ch.hasClass('open')) {
|
|
4494
|
-
ch.removeClass('open');
|
|
4495
|
-
ch.slideUp();
|
|
4496
|
-
oc.removeClass('fa-caret-down').addClass('fa-caret-left');
|
|
4497
|
-
}
|
|
4498
|
-
else {
|
|
4499
|
-
ch.addClass('open');
|
|
4500
|
-
ch.slideDown();
|
|
4501
|
-
oc.addClass('fa-caret-down').removeClass('fa-caret-left');
|
|
4502
|
-
}
|
|
4503
|
-
}
|
|
4504
4477
|
}
|
|
4505
4478
|
FormSelectItemComponent.decorators = [
|
|
4506
4479
|
{ type: Component, args: [{
|
|
4507
4480
|
selector: 'lib-form-select-item',
|
|
4508
|
-
template: "<div [className]=\"'option-con' + (item.value == select.value ? ' selected' : '')
|
|
4481
|
+
template: "<div [className]=\"'option-con' + (item.value == select.value ? ' selected' : '')\" *ngIf=\"item.show\" [attr.data-value]=\"item.value\">\r\n<!-- <i class=\"fas fa-caret-left caret-icon\" (click)=\"toggleChildren($event)\" *ngIf=\"item.options.length > 0\"></i>-->\r\n <div (click)=\"selectOption.emit(item.value)\" class=\"option\">\r\n <div [className]=\"(item.selected ? 'checked ' : item.selected == null ? 'null ' : '') + ' check'\" *ngIf=\"select.multiple\"></div>\r\n <span [innerHTML]=\"select.l(item.name) | safeHtml\"></span>\r\n </div>\r\n <div *ngIf=\"item.options.length > 0 && (select.level === null || select.level > level)\" class=\"children rightline\">\r\n <lib-form-select-item (selectOption)=\"selectOption.emit($event)\" [level]=\"level + 1\" [parent]=\"item\" [item]=\"op\" [select]=\"select\" *ngFor=\"let op of item.options\"></lib-form-select-item>\r\n </div>\r\n</div>\r\n",
|
|
4509
4482
|
styles: [".option-con{float:right;width:100%}.option-con .caret-icon{float:right;font-size:20px;height:35px;line-height:33px;text-align:center;width:35px}.option-con .children{float:left;position:relative;width:calc(100% - 35px)}.option{align-items:center;border-radius:0;display:flex;float:left;font-size:10px;justify-content:center;line-height:15px;min-height:30px;padding:3px 10px;position:relative;text-align:center;width:100%}::ng-deep .plaque-inp .option{direction:ltr}.option .check:after{content:\"\\f0c8\";font-family:Font Awesome\\ 5 Pro;font-size:18px;font-weight:400;height:20px;line-height:20px;position:absolute;right:5px;top:5px;width:20px}.option .check.checked:after{content:\"\\f14a\"}.option .check.checked:after,.option .check.null:after{animation:pop .18s ease-in;color:var(--green);font-weight:900}.option .check.null:after{content:\"\\f146\"}.option-con.hover>.option,.option-con.selected>.option{background-color:var(--black-white)}"]
|
|
4510
4483
|
},] }
|
|
4511
4484
|
];
|
|
@@ -4514,7 +4487,7 @@ FormSelectItemComponent.propDecorators = {
|
|
|
4514
4487
|
select: [{ type: Input }],
|
|
4515
4488
|
item: [{ type: Input }],
|
|
4516
4489
|
parent: [{ type: Input }],
|
|
4517
|
-
|
|
4490
|
+
level: [{ type: Input }]
|
|
4518
4491
|
};
|
|
4519
4492
|
|
|
4520
4493
|
class FormSelectComponent {
|
|
@@ -4600,7 +4573,7 @@ class FormSelectComponent {
|
|
|
4600
4573
|
closeOptions() {
|
|
4601
4574
|
setTimeout(() => {
|
|
4602
4575
|
$$1(this.inputDiv.nativeElement).removeClass('top');
|
|
4603
|
-
this.
|
|
4576
|
+
this.removeHover();
|
|
4604
4577
|
if (this.inp.value === null) {
|
|
4605
4578
|
if (!this.inp.addNew) {
|
|
4606
4579
|
this.inp.search = '';
|
|
@@ -4646,7 +4619,7 @@ class FormSelectComponent {
|
|
|
4646
4619
|
if (!h) {
|
|
4647
4620
|
return;
|
|
4648
4621
|
}
|
|
4649
|
-
this.selectOption(h
|
|
4622
|
+
this.selectOption(h);
|
|
4650
4623
|
}
|
|
4651
4624
|
else {
|
|
4652
4625
|
this.cI('Tab');
|
|
@@ -4654,20 +4627,11 @@ class FormSelectComponent {
|
|
|
4654
4627
|
}
|
|
4655
4628
|
else if (code === 40) {
|
|
4656
4629
|
e.preventDefault();
|
|
4657
|
-
|
|
4658
|
-
return;
|
|
4659
|
-
}
|
|
4660
|
-
this.inp.hover = this.getHover();
|
|
4661
|
-
this.setHoverCenter();
|
|
4630
|
+
this.setHoverDown();
|
|
4662
4631
|
}
|
|
4663
4632
|
else if (code === 38) {
|
|
4664
4633
|
e.preventDefault();
|
|
4665
|
-
|
|
4666
|
-
this.inp.hover = 0;
|
|
4667
|
-
return;
|
|
4668
|
-
}
|
|
4669
|
-
this.inp.hover = this.getHover(-1);
|
|
4670
|
-
this.setHoverCenter();
|
|
4634
|
+
this.setHoverUp();
|
|
4671
4635
|
}
|
|
4672
4636
|
}
|
|
4673
4637
|
toggleOption(e) {
|
|
@@ -4683,6 +4647,8 @@ class FormSelectComponent {
|
|
|
4683
4647
|
return;
|
|
4684
4648
|
}
|
|
4685
4649
|
this.inp.value = null;
|
|
4650
|
+
this.removeHover();
|
|
4651
|
+
this.setHoverCenter();
|
|
4686
4652
|
if (this.inp.onChange) {
|
|
4687
4653
|
this.inp.onChange(this.inp, false);
|
|
4688
4654
|
}
|
|
@@ -4706,7 +4672,6 @@ class FormSelectComponent {
|
|
|
4706
4672
|
}
|
|
4707
4673
|
else {
|
|
4708
4674
|
this.inp.value = v;
|
|
4709
|
-
this.inp.hover = va ? va.index : -1;
|
|
4710
4675
|
this.inp.search = va ? (((this.inp.type !== InputType.SelectSearch && this.inp.type !== InputType.Select) || va.search) ? va.search : va.name) : '';
|
|
4711
4676
|
}
|
|
4712
4677
|
this.setOptions();
|
|
@@ -4716,8 +4681,6 @@ class FormSelectComponent {
|
|
|
4716
4681
|
}
|
|
4717
4682
|
if (this.inp.rel) {
|
|
4718
4683
|
this.inp.rel.value = null;
|
|
4719
|
-
this.inp.rel.hover = -1;
|
|
4720
|
-
this.inp.rel.index = 0;
|
|
4721
4684
|
this.inp.rel.search = '';
|
|
4722
4685
|
this.inp.rel.options = [];
|
|
4723
4686
|
if (v !== null) {
|
|
@@ -4792,16 +4755,6 @@ class FormSelectComponent {
|
|
|
4792
4755
|
this.closeOptions();
|
|
4793
4756
|
}, 20);
|
|
4794
4757
|
}
|
|
4795
|
-
setHoverCenter() {
|
|
4796
|
-
setTimeout(() => {
|
|
4797
|
-
const hover = $$1(this.inputOptionsDiv.nativeElement).find('.option.hover');
|
|
4798
|
-
const items = $$1(this.inputOptionsDiv.nativeElement).find('.items');
|
|
4799
|
-
if (hover.length === 0) {
|
|
4800
|
-
return;
|
|
4801
|
-
}
|
|
4802
|
-
items.scrollTop = items.scrollTop - items.offset.top + hover.offset.top - hover.height();
|
|
4803
|
-
}, 1);
|
|
4804
|
-
}
|
|
4805
4758
|
title() {
|
|
4806
4759
|
if (this.inp.value == null) {
|
|
4807
4760
|
return null;
|
|
@@ -4820,18 +4773,6 @@ class FormSelectComponent {
|
|
|
4820
4773
|
}
|
|
4821
4774
|
return null;
|
|
4822
4775
|
}
|
|
4823
|
-
getSelectedHover(o = this.inp.options) {
|
|
4824
|
-
const h = o.find(x => x.index === this.inp.hover);
|
|
4825
|
-
if (h) {
|
|
4826
|
-
return h;
|
|
4827
|
-
}
|
|
4828
|
-
for (const i of o) {
|
|
4829
|
-
const hi = this.getSelectedHover(i.options);
|
|
4830
|
-
if (hi) {
|
|
4831
|
-
return hi;
|
|
4832
|
-
}
|
|
4833
|
-
}
|
|
4834
|
-
}
|
|
4835
4776
|
getHover(i = 1, o = this.inp.options, h = this.inp.hover) {
|
|
4836
4777
|
const ho = o.find(x => x.index === h + i);
|
|
4837
4778
|
if (ho) {
|
|
@@ -4876,11 +4817,62 @@ class FormSelectComponent {
|
|
|
4876
4817
|
onClickButton() {
|
|
4877
4818
|
this.inp.onClickButton(this.inp);
|
|
4878
4819
|
}
|
|
4820
|
+
setHoverCenter() {
|
|
4821
|
+
setTimeout(() => {
|
|
4822
|
+
let option = this.inputOptionsDiv.nativeElement.querySelector('.option-con.hover');
|
|
4823
|
+
option = option !== null ? option : this.inputOptionsDiv.nativeElement.querySelector('.option-con.selected');
|
|
4824
|
+
const items = this.inputOptionsDiv.nativeElement;
|
|
4825
|
+
if (option === null) {
|
|
4826
|
+
items.scrollTop = 0;
|
|
4827
|
+
return;
|
|
4828
|
+
}
|
|
4829
|
+
items.scrollTop = option.offsetTop - option.clientHeight * 2;
|
|
4830
|
+
}, 1);
|
|
4831
|
+
}
|
|
4832
|
+
removeHover() {
|
|
4833
|
+
const option = this.inputOptionsDiv.nativeElement.querySelector('.option-con.hover');
|
|
4834
|
+
if (option !== null) {
|
|
4835
|
+
option.classList.remove('hover');
|
|
4836
|
+
}
|
|
4837
|
+
}
|
|
4838
|
+
getSelectedHover() {
|
|
4839
|
+
const option = this.inputOptionsDiv.nativeElement.querySelector('.option-con.hover');
|
|
4840
|
+
if (option === null) {
|
|
4841
|
+
return null;
|
|
4842
|
+
}
|
|
4843
|
+
return option.getAttribute('data-value');
|
|
4844
|
+
}
|
|
4845
|
+
setHoverUp() {
|
|
4846
|
+
const options = this.inputOptionsDiv.nativeElement;
|
|
4847
|
+
let h = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.hover'));
|
|
4848
|
+
const s = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.selected'));
|
|
4849
|
+
h = h >= 0 ? h : s;
|
|
4850
|
+
if (h > 0) {
|
|
4851
|
+
this.removeHover();
|
|
4852
|
+
options.querySelectorAll('.option-con')[h - 1].classList.add('hover');
|
|
4853
|
+
}
|
|
4854
|
+
this.setHoverCenter();
|
|
4855
|
+
}
|
|
4856
|
+
setHoverDown() {
|
|
4857
|
+
const options = this.inputOptionsDiv.nativeElement;
|
|
4858
|
+
const countOptions = options.querySelectorAll('.option-con').length;
|
|
4859
|
+
let h = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.hover'));
|
|
4860
|
+
const s = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.selected'));
|
|
4861
|
+
h = h >= 0 ? h : s;
|
|
4862
|
+
if (h === -1 && countOptions > 0) {
|
|
4863
|
+
options.querySelector('.option-con').classList.add('hover');
|
|
4864
|
+
}
|
|
4865
|
+
else if (h >= 0 && h < countOptions - 1) {
|
|
4866
|
+
this.removeHover();
|
|
4867
|
+
options.querySelectorAll('.option-con')[h + 1].classList.add('hover');
|
|
4868
|
+
}
|
|
4869
|
+
this.setHoverCenter();
|
|
4870
|
+
}
|
|
4879
4871
|
}
|
|
4880
4872
|
FormSelectComponent.decorators = [
|
|
4881
4873
|
{ type: Component, args: [{
|
|
4882
4874
|
selector: 'lib-form-select',
|
|
4883
|
-
template: "<div #inputDiv [id]=\"inp.id + 'SelectInput'\" [style]=\"inp.style\" [className]=\"'form-input-con select w-100' + (inp.error == null ? '' : ' error') + (inp.disabled ? ' disabled' : '') + (inp.icon != null ? '' : ' without-icon') + ' ' + inp.class\">\r\n <div class=\"form-input\" (click)=\"toggleOption($event)\">\r\n <div *ngIf=\"inp.displayLabel\" class=\"label\"><i *ngIf=\"inp.required\" class=\"f-r fas fa-star-of-life required-icon\"></i><span class=\"f-r\" [innerHTML]=\"inp.getLabel()\"></span></div>\r\n <div class=\"w-100 p-r\">\r\n <div *ngIf=\"inp.type === type.Select\" class=\"without-search\"></div>\r\n <span *ngIf=\"inp.icon != null || inp.loading\" (click)=\"inp.button && onClickButton()\" #inputIcon [className]=\"(inp.button ? inp.button + ' button ' : '') + 'icon'\">\r\n <i [className]=\"inp.loading ? 'fa-duotone fa-spin fa-spinner ' : inp.icon + ' '\"></i>\r\n </span>\r\n <i *ngIf=\"inp.withClear && inp.value\" (click)=\"inp.clear()\" class=\"fa-duotone fa-eraser clear-icon\"></i>\r\n <input (keydown)=\"onKeyDown($event)\" (focusout)=\"onFocusOut()\" (keyup)=\"onKeyUp($event)\" [disabled]=\"inp.disabled\" [(ngModel)]=\"inp.search\" [placeholder]=\"inp.placeholder ? inp.l(inp.placeholder) : ''\" #inputBase type=\"text\" [name]=\"inp.name\" class=\"control\" autocomplete=\"off\" [readOnly]=\"inp.type === type.Select\" [maxLength]=\"inp.maxLength > 0 ? inp.maxLength : 524288\">\r\n <div
|
|
4875
|
+
template: "<div #inputDiv [id]=\"inp.id + 'SelectInput'\" [style]=\"inp.style\" [className]=\"'form-input-con select w-100' + (inp.error == null ? '' : ' error') + (inp.disabled ? ' disabled' : '') + (inp.icon != null ? '' : ' without-icon') + ' ' + inp.class\">\r\n <div class=\"form-input\" (click)=\"toggleOption($event)\">\r\n <div *ngIf=\"inp.displayLabel\" class=\"label\"><i *ngIf=\"inp.required\" class=\"f-r fas fa-star-of-life required-icon\"></i><span class=\"f-r\" [innerHTML]=\"inp.getLabel()\"></span></div>\r\n <div class=\"w-100 p-r\">\r\n <div *ngIf=\"inp.type === type.Select\" class=\"without-search\"></div>\r\n <span *ngIf=\"inp.icon != null || inp.loading\" (click)=\"inp.button && onClickButton()\" #inputIcon [className]=\"(inp.button ? inp.button + ' button ' : '') + 'icon'\">\r\n <i [className]=\"inp.loading ? 'fa-duotone fa-spin fa-spinner ' : inp.icon + ' '\"></i>\r\n </span>\r\n <i *ngIf=\"inp.withClear && inp.value\" (click)=\"inp.clear()\" class=\"fa-duotone fa-eraser clear-icon\"></i>\r\n <input (keydown)=\"onKeyDown($event)\" (focusout)=\"onFocusOut()\" (keyup)=\"onKeyUp($event)\" [disabled]=\"inp.disabled\" [(ngModel)]=\"inp.search\" [placeholder]=\"inp.placeholder ? inp.l(inp.placeholder) : ''\" #inputBase type=\"text\" [name]=\"inp.name\" class=\"control\" autocomplete=\"off\" [readOnly]=\"inp.type === type.Select\" [maxLength]=\"inp.maxLength > 0 ? inp.maxLength : 524288\">\r\n <div class=\"options\">\r\n <div #inputOptionsDiv class=\"items\">\r\n <lib-form-select-item (selectOption)=\"selectOption($event)\" [level]=\"1\" [select]=\"inp\" [item]=\"opt\" *ngFor=\"let opt of inp.options\"></lib-form-select-item>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
4884
4876
|
styles: [".form-input-con.select{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;font-size:12px;padding:0 15px;position:relative}.form-input-con.select.plaque{width:185px!important}.form-input-con.select>.form-input{float:right;position:relative;width:100%}.form-input-con.select>.form-input>.label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;direction:rtl;float:right;font-size:12px;height:20px;line-height:20px;margin-bottom:3px;padding:0 10px;text-align:right;width:100%}.form-input-con.select.error>.form-input>.label{color:var(--red);font-size:10px}.form-input-con.select>.form-input>.label .required-icon{color:var(--red);font-size:9px;height:20px;line-height:20px;text-align:center;width:20px}.form-input-con.select>.form-input .without-search{cursor:pointer;height:100%;position:absolute;right:0;top:0;width:100%;z-index:3}.form-input-con.select>.form-input .control{background-color:#fff;background-image:none;border:var(--border-input);border-radius:var(--border-radius-base);color:var(--black);display:block;font-family:Vazir;font-size:11px;height:35px;padding:5px 35px;text-align:center;width:100%}.form-input-con.select>.form-input .control:focus,.form-input-con.select>.form-input:hover .control{border:1px solid var(--black-light);outline:none}.form-input-con.select>.form-input .control:focus{border-radius:var(--border-radius-base) var(--border-radius-base) 0 0;outline:none}.form-input-con.select.error>.form-input .control{border:var(--border-input-red)}.form-input-con.select.error>.form-input .control,.form-input-con.select.error>.form-input span.icon{color:var(--red)}.form-input-con.select.error>.form-input .control:focus,.form-input-con.select.error>.form-input:hover .control{border:var(--border-input-red-dark)}.form-input-con.select.top>.form-input .control:focus{border-radius:0 0 var(--border-radius-base) var(--border-radius-base);outline:none}.form-input-con.select>.form-input span.icon{bottom:0;color:var(--primary);font-size:15px;height:35px;left:0;line-height:37px;position:absolute;text-align:center;width:35px;z-index:1}.form-input-con.select>.form-input span.icon.button{background-color:var(--base);border-radius:5px 0 0 5px;color:#fff;cursor:pointer}.form-input-con.select>.form-input span.icon.button:hover{background-color:var(--base-dark)}.form-input-con.select>.form-input span.icon.button.blue{background-color:var(--blue)}.form-input-con.select>.form-input span.icon.button.blue:hover{background-color:var(--blue-dark)}.form-input-con.select>.form-input span.icon.button.green{background-color:var(--green)}.form-input-con.select>.form-input span.icon.button.green:hover{background-color:var(--green-dark)}.form-input-con.select>.form-input span.icon.button.red{background-color:var(--red)}.form-input-con.select>.form-input span.icon.button.red:hover{background-color:var(--red-dark)}.form-input-con.select>.form-input span.icon.button.yellow{background-color:var(--yellow)}.form-input-con.select>.form-input span.icon.button.yellow:hover{background-color:var(--yellow-dark)}.form-input-con.select>.form-input i.clear-icon{bottom:0;color:var(--red);cursor:pointer;font-size:15px;height:35px;line-height:35px;position:absolute;right:0;text-align:center;width:35px;z-index:1}.form-input-con.select>.form-input .options{background-color:#fff;border:var(--border-input);border-radius:0 0 var(--border-radius-base) var(--border-radius-base);cursor:pointer;overflow:hidden;position:absolute;right:0;top:-200000px;width:100%;z-index:103}.form-input-con.select>.form-input .control:focus+.options{top:35px!important}.form-input-con.select.top>.form-input .control:focus+.options{border-radius:var(--border-radius-base) var(--border-radius-base) 0 0;bottom:35px;top:unset!important}.form-input-con.select>.form-input .options .items{float:right;max-height:200px;overflow-y:auto;scroll-behavior:smooth;width:100%}.form-input-con.select>.form-input .options .option{border-radius:0;float:right;font-size:11px;height:35px;line-height:35px;text-align:center;width:100%}.form-input-con.select .tags{float:right;width:100%}.form-input-con.select .tags .tag-con{float:right;padding:5px;width:auto}.form-input-con.select .tags .tag-con .tag{background-color:var(--base);border-radius:var(--border-radius-base);color:#fff;float:right;font-size:12px;height:25px;line-height:25px;overflow:hidden;position:relative;width:auto}.form-input-con.select .tags .tag-con .tag>.label{float:right;padding:0 5px 0 10px;width:auto}.form-input-con.select .tags .tag-con .tag>.delete{cursor:pointer;float:right;line-height:25px;text-align:center;width:25px}.form-input-con.select .tags .tag-con .tag>.delete:hover{background-color:var(--base-dark)}.form-input-con.select.h-50>.form-input .control{height:50px;line-height:50px}.form-input-con.select.h-50>.form-input .control:focus+.options{top:50px!important}.form-input-con.select.h-50.top>.form-input .options{bottom:50px;top:unset!important}.form-input-con.select.h-25,.form-input-con.select.h-25>.form-input .control{height:25px;line-height:25px}.form-input-con.select.h-25>.form-input span.icon{height:25px;line-height:25px;width:25px}.form-input-con.select.h-25>.form-input .control:focus+.options{top:25px!important}.form-input-con.select.h-25.top>.form-input .control:focus+.options{border-radius:var(--border-radius-base) var(--border-radius-base) 0 0;bottom:25px;top:unset!important}.form-input-con.select.h-30,.form-input-con.select.h-30>.form-input .control{height:30px;line-height:30px;padding:0}.form-input-con.select.h-30>.form-input span.icon{height:30px;line-height:30px;width:30px}.form-input-con.select.h-30>.form-input .control:focus+.options{top:30px!important}.form-input-con.select.h-30.top>.form-input .control:focus+.options{border-radius:var(--border-radius-base) var(--border-radius-base) 0 0;bottom:30px;top:unset!important}::ng-deep .form-input-con.select.h-30>.form-input .options .option{font-size:12px;height:30px;line-height:30px}.form-input-con.select.h-45,.form-input-con.select.h-45>.form-input .control{height:45px;line-height:45px}.form-input-con.select.h-45>.form-input .control::-moz-placeholder,.form-input-con.select.h-45>.form-input .control::-webkit-input-placeholder{font-size:12px}.form-input-con.select.h-45>.form-input span.icon{height:45px;line-height:45px;width:45px}.form-input-con.select.h-45>.form-input .control:focus+.options{top:45px!important}.form-input-con.select.h-45.top>.form-input .control:focus+.options{border-radius:var(--border-radius-base) var(--border-radius-base) 0 0;bottom:45px;top:unset!important}::ng-deep .form-input-con.select.h-45>.form-input .options .option{font-size:12px;min-height:40px}.form-input-con.select.without-icon.h-25>.form-input .control,.form-input-con.select.without-icon.h-30>.form-input .control{padding:0}.form-input-con.select.h-30>.form-input span.icon{font-size:11px}::ng-deep .form-input-con.select.without-sub-options>.form-input .options .option{width:100%}.form-input-con.select.disabled>.form-input .control,.form-input-con.select.disabled>.form-input .label,.form-input-con.select.disabled>.form-input span.icon{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;box-shadow:unset;cursor:default;filter:blur(.5px);opacity:.7}"]
|
|
4885
4877
|
},] }
|
|
4886
4878
|
];
|