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.
@@ -1920,7 +1920,6 @@
1920
1920
  this.allowed = null;
1921
1921
  this.row = null;
1922
1922
  this.rows = [];
1923
- this.index = 0;
1924
1923
  this.level = null;
1925
1924
  this.modal = null;
1926
1925
  this.nameFun = null;
@@ -1969,7 +1968,6 @@
1969
1968
  if (u) {
1970
1969
  this.options = [];
1971
1970
  this.hover = -1;
1972
- this.index = 0;
1973
1971
  this.rows = [];
1974
1972
  if (typeof u === 'string') {
1975
1973
  if (!u.includes('{}')) {
@@ -2002,9 +2000,6 @@
2002
2000
  this.setOptions(r);
2003
2001
  }
2004
2002
  }
2005
- else if (this.options instanceof Array) {
2006
- this.options.forEach(function (x) { return x.index = _this.index++; });
2007
- }
2008
2003
  };
2009
2004
  InputClass.prototype.setOptions = function (r) {
2010
2005
  var _this = this;
@@ -2035,7 +2030,6 @@
2035
2030
  }
2036
2031
  o.search = x.Search;
2037
2032
  o.option = x;
2038
- o.index = _this.index++;
2039
2033
  o.options = tree ? _this.getOptions(r, x.Id) : [];
2040
2034
  return o;
2041
2035
  });
@@ -4642,9 +4636,6 @@
4642
4636
  }
4643
4637
  else if (code === 40) {
4644
4638
  e.preventDefault();
4645
- if (this.inp.hover + 1 >= this.inp.index) {
4646
- return;
4647
- }
4648
4639
  this.inp.hover = this.getHover();
4649
4640
  this.setHoverCenter();
4650
4641
  }
@@ -4675,7 +4666,6 @@
4675
4666
  if (this.inp.rel) {
4676
4667
  this.inp.rel.value = null;
4677
4668
  this.inp.rel.hover = -1;
4678
- this.inp.rel.index = 0;
4679
4669
  this.inp.rel.search = '';
4680
4670
  this.inp.rel.options = [];
4681
4671
  this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
@@ -5246,29 +5236,12 @@
5246
5236
  FormSelectItemComponent.prototype.ngOnInit = function () {
5247
5237
  this.item.parent = this.parent;
5248
5238
  };
5249
- FormSelectItemComponent.prototype.hoverOption = function (opt) {
5250
- this.select.hover = opt.index;
5251
- };
5252
- FormSelectItemComponent.prototype.toggleChildren = function (e) {
5253
- var ch = $__namespace(e.target).closest('.option-con').find(' > .children');
5254
- var oc = $__namespace(e.target).closest('.option-con').find(' > .caret-icon');
5255
- if (ch.hasClass('open')) {
5256
- ch.removeClass('open');
5257
- ch.slideUp();
5258
- oc.removeClass('fa-caret-down').addClass('fa-caret-left');
5259
- }
5260
- else {
5261
- ch.addClass('open');
5262
- ch.slideDown();
5263
- oc.addClass('fa-caret-down').removeClass('fa-caret-left');
5264
- }
5265
- };
5266
5239
  return FormSelectItemComponent;
5267
5240
  }());
5268
5241
  FormSelectItemComponent.decorators = [
5269
5242
  { type: core.Component, args: [{
5270
5243
  selector: 'lib-form-select-item',
5271
- template: "<div [className]=\"'option-con' + (item.value == select.value ? ' selected' : '') + (item.index == select.hover ? ' hover' : '')\" *ngIf=\"item.show\">\r\n<!-- <i class=\"fas fa-caret-left caret-icon\" (click)=\"toggleChildren($event)\" *ngIf=\"item.options.length > 0\"></i>-->\r\n <div (mousemove)=\"hoverOption(item)\" (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 > index)\" class=\"children rightline\">\r\n <lib-form-select-item (selectOption)=\"selectOption.emit($event)\" [index]=\"index + 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",
5244
+ 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",
5272
5245
  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)}"]
5273
5246
  },] }
5274
5247
  ];
@@ -5277,7 +5250,7 @@
5277
5250
  select: [{ type: core.Input }],
5278
5251
  item: [{ type: core.Input }],
5279
5252
  parent: [{ type: core.Input }],
5280
- index: [{ type: core.Input }]
5253
+ level: [{ type: core.Input }]
5281
5254
  };
5282
5255
 
5283
5256
  var FormSelectComponent = /** @class */ (function () {
@@ -5380,7 +5353,7 @@
5380
5353
  var _this = this;
5381
5354
  setTimeout(function () {
5382
5355
  $__namespace(_this.inputDiv.nativeElement).removeClass('top');
5383
- _this.inp.hover = -1;
5356
+ _this.removeHover();
5384
5357
  if (_this.inp.value === null) {
5385
5358
  if (!_this.inp.addNew) {
5386
5359
  _this.inp.search = '';
@@ -5428,7 +5401,7 @@
5428
5401
  if (!h) {
5429
5402
  return;
5430
5403
  }
5431
- this.selectOption(h.value);
5404
+ this.selectOption(h);
5432
5405
  }
5433
5406
  else {
5434
5407
  this.cI('Tab');
@@ -5436,20 +5409,11 @@
5436
5409
  }
5437
5410
  else if (code === 40) {
5438
5411
  e.preventDefault();
5439
- if (this.inp.hover + 1 >= this.inp.index) {
5440
- return;
5441
- }
5442
- this.inp.hover = this.getHover();
5443
- this.setHoverCenter();
5412
+ this.setHoverDown();
5444
5413
  }
5445
5414
  else if (code === 38) {
5446
5415
  e.preventDefault();
5447
- if (this.inp.hover <= 0) {
5448
- this.inp.hover = 0;
5449
- return;
5450
- }
5451
- this.inp.hover = this.getHover(-1);
5452
- this.setHoverCenter();
5416
+ this.setHoverUp();
5453
5417
  }
5454
5418
  };
5455
5419
  FormSelectComponent.prototype.toggleOption = function (e) {
@@ -5465,6 +5429,8 @@
5465
5429
  return;
5466
5430
  }
5467
5431
  this.inp.value = null;
5432
+ this.removeHover();
5433
+ this.setHoverCenter();
5468
5434
  if (this.inp.onChange) {
5469
5435
  this.inp.onChange(this.inp, false);
5470
5436
  }
@@ -5489,7 +5455,6 @@
5489
5455
  }
5490
5456
  else {
5491
5457
  this.inp.value = v;
5492
- this.inp.hover = va ? va.index : -1;
5493
5458
  this.inp.search = va ? (((this.inp.type !== exports.InputType.SelectSearch && this.inp.type !== exports.InputType.Select) || va.search) ? va.search : va.name) : '';
5494
5459
  }
5495
5460
  this.setOptions();
@@ -5499,8 +5464,6 @@
5499
5464
  }
5500
5465
  if (this.inp.rel) {
5501
5466
  this.inp.rel.value = null;
5502
- this.inp.rel.hover = -1;
5503
- this.inp.rel.index = 0;
5504
5467
  this.inp.rel.search = '';
5505
5468
  this.inp.rel.options = [];
5506
5469
  if (v !== null) {
@@ -5579,17 +5542,6 @@
5579
5542
  _this.closeOptions();
5580
5543
  }, 20);
5581
5544
  };
5582
- FormSelectComponent.prototype.setHoverCenter = function () {
5583
- var _this = this;
5584
- setTimeout(function () {
5585
- var hover = $__namespace(_this.inputOptionsDiv.nativeElement).find('.option.hover');
5586
- var items = $__namespace(_this.inputOptionsDiv.nativeElement).find('.items');
5587
- if (hover.length === 0) {
5588
- return;
5589
- }
5590
- items.scrollTop = items.scrollTop - items.offset.top + hover.offset.top - hover.height();
5591
- }, 1);
5592
- };
5593
5545
  FormSelectComponent.prototype.title = function () {
5594
5546
  if (this.inp.value == null) {
5595
5547
  return null;
@@ -5619,33 +5571,8 @@
5619
5571
  }
5620
5572
  return null;
5621
5573
  };
5622
- FormSelectComponent.prototype.getSelectedHover = function (o) {
5623
- var e_3, _a;
5624
- var _this = this;
5625
- if (o === void 0) { o = this.inp.options; }
5626
- var h = o.find(function (x) { return x.index === _this.inp.hover; });
5627
- if (h) {
5628
- return h;
5629
- }
5630
- try {
5631
- for (var o_1 = __values(o), o_1_1 = o_1.next(); !o_1_1.done; o_1_1 = o_1.next()) {
5632
- var i = o_1_1.value;
5633
- var hi = this.getSelectedHover(i.options);
5634
- if (hi) {
5635
- return hi;
5636
- }
5637
- }
5638
- }
5639
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
5640
- finally {
5641
- try {
5642
- if (o_1_1 && !o_1_1.done && (_a = o_1.return)) _a.call(o_1);
5643
- }
5644
- finally { if (e_3) throw e_3.error; }
5645
- }
5646
- };
5647
5574
  FormSelectComponent.prototype.getHover = function (i, o, h) {
5648
- var e_4, _a;
5575
+ var e_3, _a;
5649
5576
  if (i === void 0) { i = 1; }
5650
5577
  if (o === void 0) { o = this.inp.options; }
5651
5578
  if (h === void 0) { h = this.inp.hover; }
@@ -5659,49 +5586,49 @@
5659
5586
  }
5660
5587
  }
5661
5588
  try {
5662
- for (var o_2 = __values(o), o_2_1 = o_2.next(); !o_2_1.done; o_2_1 = o_2.next()) {
5663
- var it = o_2_1.value;
5589
+ for (var o_1 = __values(o), o_1_1 = o_1.next(); !o_1_1.done; o_1_1 = o_1.next()) {
5590
+ var it = o_1_1.value;
5664
5591
  var hi = this.getHover(i, it.options, h);
5665
5592
  if (hi) {
5666
5593
  return hi;
5667
5594
  }
5668
5595
  }
5669
5596
  }
5670
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
5597
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
5671
5598
  finally {
5672
5599
  try {
5673
- if (o_2_1 && !o_2_1.done && (_a = o_2.return)) _a.call(o_2);
5600
+ if (o_1_1 && !o_1_1.done && (_a = o_1.return)) _a.call(o_1);
5674
5601
  }
5675
- finally { if (e_4) throw e_4.error; }
5602
+ finally { if (e_3) throw e_3.error; }
5676
5603
  }
5677
5604
  return 0;
5678
5605
  };
5679
5606
  FormSelectComponent.prototype.getValue = function (v, o) {
5680
- var e_5, _a;
5607
+ var e_4, _a;
5681
5608
  if (o === void 0) { o = this.inp.options; }
5682
5609
  var h = o.find(function (x) { return x.value === v; });
5683
5610
  if (h) {
5684
5611
  return h;
5685
5612
  }
5686
5613
  try {
5687
- for (var o_3 = __values(o), o_3_1 = o_3.next(); !o_3_1.done; o_3_1 = o_3.next()) {
5688
- var i = o_3_1.value;
5614
+ for (var o_2 = __values(o), o_2_1 = o_2.next(); !o_2_1.done; o_2_1 = o_2.next()) {
5615
+ var i = o_2_1.value;
5689
5616
  var hi = this.getValue(v, i.options);
5690
5617
  if (hi) {
5691
5618
  return hi;
5692
5619
  }
5693
5620
  }
5694
5621
  }
5695
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
5622
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
5696
5623
  finally {
5697
5624
  try {
5698
- if (o_3_1 && !o_3_1.done && (_a = o_3.return)) _a.call(o_3);
5625
+ if (o_2_1 && !o_2_1.done && (_a = o_2.return)) _a.call(o_2);
5699
5626
  }
5700
- finally { if (e_5) throw e_5.error; }
5627
+ finally { if (e_4) throw e_4.error; }
5701
5628
  }
5702
5629
  };
5703
5630
  FormSelectComponent.prototype.getSelected = function (opts) {
5704
- var e_6, _a;
5631
+ var e_5, _a;
5705
5632
  if (opts === void 0) { opts = this.inp.options; }
5706
5633
  var l = [];
5707
5634
  try {
@@ -5714,24 +5641,76 @@
5714
5641
  l = l.concat(rs);
5715
5642
  }
5716
5643
  }
5717
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
5644
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
5718
5645
  finally {
5719
5646
  try {
5720
5647
  if (opts_1_1 && !opts_1_1.done && (_a = opts_1.return)) _a.call(opts_1);
5721
5648
  }
5722
- finally { if (e_6) throw e_6.error; }
5649
+ finally { if (e_5) throw e_5.error; }
5723
5650
  }
5724
5651
  return l;
5725
5652
  };
5726
5653
  FormSelectComponent.prototype.onClickButton = function () {
5727
5654
  this.inp.onClickButton(this.inp);
5728
5655
  };
5656
+ FormSelectComponent.prototype.setHoverCenter = function () {
5657
+ var _this = this;
5658
+ setTimeout(function () {
5659
+ var option = _this.inputOptionsDiv.nativeElement.querySelector('.option-con.hover');
5660
+ option = option !== null ? option : _this.inputOptionsDiv.nativeElement.querySelector('.option-con.selected');
5661
+ var items = _this.inputOptionsDiv.nativeElement;
5662
+ if (option === null) {
5663
+ items.scrollTop = 0;
5664
+ return;
5665
+ }
5666
+ items.scrollTop = option.offsetTop - option.clientHeight * 2;
5667
+ }, 1);
5668
+ };
5669
+ FormSelectComponent.prototype.removeHover = function () {
5670
+ var option = this.inputOptionsDiv.nativeElement.querySelector('.option-con.hover');
5671
+ if (option !== null) {
5672
+ option.classList.remove('hover');
5673
+ }
5674
+ };
5675
+ FormSelectComponent.prototype.getSelectedHover = function () {
5676
+ var option = this.inputOptionsDiv.nativeElement.querySelector('.option-con.hover');
5677
+ if (option === null) {
5678
+ return null;
5679
+ }
5680
+ return option.getAttribute('data-value');
5681
+ };
5682
+ FormSelectComponent.prototype.setHoverUp = function () {
5683
+ var options = this.inputOptionsDiv.nativeElement;
5684
+ var h = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.hover'));
5685
+ var s = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.selected'));
5686
+ h = h >= 0 ? h : s;
5687
+ if (h > 0) {
5688
+ this.removeHover();
5689
+ options.querySelectorAll('.option-con')[h - 1].classList.add('hover');
5690
+ }
5691
+ this.setHoverCenter();
5692
+ };
5693
+ FormSelectComponent.prototype.setHoverDown = function () {
5694
+ var options = this.inputOptionsDiv.nativeElement;
5695
+ var countOptions = options.querySelectorAll('.option-con').length;
5696
+ var h = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.hover'));
5697
+ var s = [].indexOf.call(options.querySelectorAll('.option-con'), options.querySelector('.option-con.selected'));
5698
+ h = h >= 0 ? h : s;
5699
+ if (h === -1 && countOptions > 0) {
5700
+ options.querySelector('.option-con').classList.add('hover');
5701
+ }
5702
+ else if (h >= 0 && h < countOptions - 1) {
5703
+ this.removeHover();
5704
+ options.querySelectorAll('.option-con')[h + 1].classList.add('hover');
5705
+ }
5706
+ this.setHoverCenter();
5707
+ };
5729
5708
  return FormSelectComponent;
5730
5709
  }());
5731
5710
  FormSelectComponent.decorators = [
5732
5711
  { type: core.Component, args: [{
5733
5712
  selector: 'lib-form-select',
5734
- 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 #inputOptionsDiv class=\"options\">\r\n <div class=\"items\">\r\n <lib-form-select-item (selectOption)=\"selectOption($event)\" [index]=\"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",
5713
+ 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",
5735
5714
  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}"]
5736
5715
  },] }
5737
5716
  ];