ng-components-tsi 0.0.21 → 0.0.22

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.
@@ -814,6 +814,8 @@ class AutocompleteV2Component {
814
814
  }, {});
815
815
  }
816
816
  clear() {
817
+ if (this.allDisabled())
818
+ return;
817
819
  this.searchText.set('');
818
820
  this.value.set(null);
819
821
  }
@@ -1804,12 +1806,13 @@ class MontosCalcularComponent {
1804
1806
  sizeFont = input();
1805
1807
  simbolo = model('S/.');
1806
1808
  cleanNumber = cleanNumber;
1809
+ withSimbolo = input(true);
1807
1810
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MontosCalcularComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1808
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: MontosCalcularComponent, isStandalone: true, selector: "app-montos-calcular", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, sizeFont: { classPropertyName: "sizeFont", publicName: "sizeFont", isSignal: true, isRequired: false, transformFunction: null }, simbolo: { classPropertyName: "simbolo", publicName: "simbolo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { simbolo: "simboloChange" }, ngImport: i0, template: "<div class=\"container mt-2\">\r\n <div class=\"table-responsive-custom\">\r\n <table class=\"table total-table bg-dark\">\r\n <tbody>\r\n @for (item of data(); track $index) {\r\n <tr [style.font-size.px]=\"sizeFont() ?? null\">\r\n <td>{{item.title}}</td>\r\n <td>{{item.simbolo ?? simbolo()}}</td>\r\n <td>{{cleanNumber(item.value) | number:'1.2-2'}}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n</div>", styles: [".table-responsive-custom{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.total-table{font-size:14px;min-width:280px;width:100%}.total-table tbody tr td{padding:0 10px;border:none;font-weight:600;text-align:right;white-space:nowrap}@media (max-width: 380px){.container{padding:5px 0;margin:0}.total-table tbody tr td{padding:0 5px;text-align:left}.table-responsive-custom{-webkit-overflow-scrolling:touch;overflow-x:auto;display:block}}\n"], dependencies: [{ kind: "pipe", type: DecimalPipe, name: "number" }] });
1811
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: MontosCalcularComponent, isStandalone: true, selector: "app-montos-calcular", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, sizeFont: { classPropertyName: "sizeFont", publicName: "sizeFont", isSignal: true, isRequired: false, transformFunction: null }, simbolo: { classPropertyName: "simbolo", publicName: "simbolo", isSignal: true, isRequired: false, transformFunction: null }, withSimbolo: { classPropertyName: "withSimbolo", publicName: "withSimbolo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { simbolo: "simboloChange" }, ngImport: i0, template: "<div class=\"container mt-2\">\r\n <div class=\"table-responsive-custom\">\r\n <table class=\"table total-table bg-dark\">\r\n <tbody>\r\n @for (item of data(); track $index) {\r\n <tr [style.font-size.px]=\"sizeFont() ?? null\">\r\n <td>{{item.title}}</td>\r\n @if (withSimbolo()) {\r\n <td>{{item.simbolo ?? simbolo()}}</td>\r\n }\r\n <td>{{cleanNumber(item.value) | number:'1.2-2'}}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n</div>", styles: [".table-responsive-custom{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.total-table{font-size:14px;min-width:280px;width:100%}.total-table tbody tr td{padding:0 10px;border:none;font-weight:600;text-align:right;white-space:nowrap}@media (max-width: 380px){.container{padding:5px 0;margin:0}.total-table tbody tr td{padding:0 5px;text-align:left}.table-responsive-custom{-webkit-overflow-scrolling:touch;overflow-x:auto;display:block}}\n"], dependencies: [{ kind: "pipe", type: DecimalPipe, name: "number" }] });
1809
1812
  }
1810
1813
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MontosCalcularComponent, decorators: [{
1811
1814
  type: Component,
1812
- args: [{ selector: 'app-montos-calcular', imports: [DecimalPipe], template: "<div class=\"container mt-2\">\r\n <div class=\"table-responsive-custom\">\r\n <table class=\"table total-table bg-dark\">\r\n <tbody>\r\n @for (item of data(); track $index) {\r\n <tr [style.font-size.px]=\"sizeFont() ?? null\">\r\n <td>{{item.title}}</td>\r\n <td>{{item.simbolo ?? simbolo()}}</td>\r\n <td>{{cleanNumber(item.value) | number:'1.2-2'}}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n</div>", styles: [".table-responsive-custom{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.total-table{font-size:14px;min-width:280px;width:100%}.total-table tbody tr td{padding:0 10px;border:none;font-weight:600;text-align:right;white-space:nowrap}@media (max-width: 380px){.container{padding:5px 0;margin:0}.total-table tbody tr td{padding:0 5px;text-align:left}.table-responsive-custom{-webkit-overflow-scrolling:touch;overflow-x:auto;display:block}}\n"] }]
1815
+ args: [{ selector: 'app-montos-calcular', imports: [DecimalPipe], template: "<div class=\"container mt-2\">\r\n <div class=\"table-responsive-custom\">\r\n <table class=\"table total-table bg-dark\">\r\n <tbody>\r\n @for (item of data(); track $index) {\r\n <tr [style.font-size.px]=\"sizeFont() ?? null\">\r\n <td>{{item.title}}</td>\r\n @if (withSimbolo()) {\r\n <td>{{item.simbolo ?? simbolo()}}</td>\r\n }\r\n <td>{{cleanNumber(item.value) | number:'1.2-2'}}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n</div>", styles: [".table-responsive-custom{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.total-table{font-size:14px;min-width:280px;width:100%}.total-table tbody tr td{padding:0 10px;border:none;font-weight:600;text-align:right;white-space:nowrap}@media (max-width: 380px){.container{padding:5px 0;margin:0}.total-table tbody tr td{padding:0 5px;text-align:left}.table-responsive-custom{-webkit-overflow-scrolling:touch;overflow-x:auto;display:block}}\n"] }]
1813
1816
  }] });
1814
1817
 
1815
1818
  class SpinnerComponent {