ngx-sp-infra 5.2.5 → 5.2.7

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.
@@ -2891,6 +2891,35 @@ class IconsList {
2891
2891
  { nome: "contas-a-receber", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2892
2892
  <path d="M10.3379 0.757076C11.2261 -0.35577 12.9861 -0.226761 13.6895 1.04516L13.9023 1.4309L13.9492 1.50024C14.07 1.64972 14.2718 1.7154 14.4609 1.65844L14.5889 1.62524C15.8591 1.35154 16.843 2.76962 16.1416 3.86352L16.0654 3.97192L15.6172 4.55981C18.5094 6.82231 20.9998 11.2147 21 14.2893L20.9863 14.6897C20.6962 18.805 15.9894 22.0001 12.0811 22.0002L11.7002 21.9905C7.864 21.7935 3.30458 18.6725 3.01465 14.6897L3 14.2893C3.00018 11.2735 5.47518 6.98949 8.34375 4.69165L7.65527 3.73461C7.23103 3.13917 7.23728 2.44022 7.60059 1.93188C7.96182 1.4268 8.61931 1.18864 9.31934 1.37524L9.43066 1.39575C9.69074 1.42299 9.94977 1.30751 10.1025 1.08813L10.2549 0.869381L10.3379 0.757076ZM12.0811 4.08715C11.5946 4.08715 11.0416 4.22771 10.4395 4.51977L10.1777 4.65454C8.67459 5.47377 7.11211 7.08651 5.91895 8.95825C4.71939 10.8401 4.00011 12.8157 4 14.2893C4.00013 16.0355 5.02908 17.702 6.64551 18.9739C8.26065 20.2447 10.3186 21.0002 12.0811 21.0002C13.8405 21.0001 15.8537 20.2465 17.4258 18.9807C18.9973 17.7152 19.9999 16.0483 20 14.2893C19.9999 12.4417 18.9146 9.85199 17.2578 7.67993C16.5627 6.76865 15.793 5.96936 15.0107 5.35571L15.0068 5.36254L14.6084 5.05883L14.5703 5.02954C13.6532 4.39813 12.8024 4.08725 12.0811 4.08715ZM12.8145 1.52954C12.4698 0.906158 11.6237 0.824711 11.1621 1.33129L11.0752 1.43969L10.9238 1.65844C10.5347 2.21794 9.85545 2.4935 9.19336 2.37133L9.06152 2.34106C8.73105 2.25297 8.51405 2.3741 8.41406 2.51391C8.31675 2.65045 8.27474 2.88205 8.46875 3.15454L9.15234 4.10473C9.22888 4.055 9.30507 4.00576 9.38184 3.95922L9.69922 3.77661C10.5017 3.33935 11.3102 3.08715 12.0811 3.08715L12.2705 3.09204C13.0978 3.13549 13.955 3.46204 14.7969 3.98559L15.2705 3.36547L15.3154 3.29419C15.4939 2.95726 15.2102 2.54835 14.832 2.5979L14.75 2.61547C14.1243 2.80425 13.454 2.55959 13.0947 2.02563L13.0273 1.9143L12.8145 1.52954Z" fill="currentColor"/>
2893
2893
  <path d="M12.5703 8.35742C12.8465 8.35742 13.0703 8.58128 13.0703 8.85742V9.91504H15.9033L16.0039 9.9248C16.2319 9.97131 16.4033 10.1733 16.4033 10.415C16.4033 10.6567 16.2319 10.8588 16.0039 10.9053L15.9033 10.915H13.0703V12.6426H14.2363L14.4941 12.6494C15.0934 12.6839 15.6754 12.8396 16.1387 13.1104C16.661 13.4156 17.0703 13.8993 17.0703 14.5059C17.0702 15.1124 16.6609 15.5961 16.1387 15.9014C15.6755 16.172 15.0933 16.3278 14.4941 16.3623L14.2363 16.3691H13.0703V17.4287C13.0702 17.7048 12.8464 17.9287 12.5703 17.9287C12.2942 17.9287 12.0704 17.7048 12.0703 17.4287V16.3691H8.57031C8.29428 16.3691 8.07039 16.1452 8.07031 15.8691C8.07043 15.5931 8.29431 15.3692 8.57031 15.3691H12.0703V13.6426H10.9033C10.2155 13.6425 9.53026 13.4841 9.00098 13.1748C8.51136 12.8886 8.12196 12.4447 8.0752 11.8906L8.07031 11.7783C8.07045 11.1721 8.47898 10.688 9.00098 10.3828C9.53026 10.0735 10.2155 9.9151 10.9033 9.91504H12.0703V8.85742C12.0703 8.58128 12.2942 8.35742 12.5703 8.35742ZM13.0703 15.3691H14.2363L14.4404 15.3633C14.9094 15.3358 15.3322 15.2148 15.6348 15.0381C15.987 14.8321 16.0702 14.6225 16.0703 14.5059C16.0703 14.3892 15.9872 14.1797 15.6348 13.9736C15.3322 13.7968 14.9095 13.6759 14.4404 13.6484L14.2363 13.6426H13.0703V15.3691ZM10.9033 10.915C10.3538 10.9151 9.85154 11.0441 9.50586 11.2461C9.15357 11.4521 9.07045 11.6616 9.07031 11.7783L9.07422 11.8262C9.09478 11.9473 9.19693 12.131 9.50586 12.3115C9.85153 12.5135 10.3538 12.6425 10.9033 12.6426H12.0703V10.915H10.9033Z" fill="currentColor"/>
2894
+ </svg>` },
2895
+ { nome: "carrinho-compras", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2896
+ <path d="M8.73526 22.5C9.53444 22.5 10.1823 21.8284 10.1823 21C10.1823 20.1716 9.53444 19.5 8.73526 19.5C7.93607 19.5 7.28821 20.1716 7.28821 21C7.28821 21.8284 7.93607 22.5 8.73526 22.5Z" fill="currentColor"/>
2897
+ <path d="M18.8647 22.5C19.6638 22.5 20.3117 21.8284 20.3117 21C20.3117 20.1716 19.6638 19.5 18.8647 19.5C18.0655 19.5 17.4176 20.1716 17.4176 21C17.4176 21.8284 18.0655 22.5 18.8647 22.5Z" fill="currentColor"/>
2898
+ <path d="M21.7587 5.25015H5.71092L5.11762 2.10015C5.0838 1.9282 4.99287 1.77398 4.86067 1.66435C4.72847 1.55472 4.56337 1.49661 4.3941 1.50015H1.5V3.00015H3.80081L6.56467 17.4002C6.5985 17.5721 6.68943 17.7263 6.82163 17.836C6.95383 17.9456 7.11893 18.0037 7.2882 18.0002H20.3116V16.5002H7.88149L7.2882 13.5002H20.3116C20.4789 13.5044 20.6424 13.4484 20.7743 13.3418C20.9062 13.2351 20.9984 13.0843 21.0352 12.9152L22.4822 6.16515C22.5065 6.05387 22.5059 5.93832 22.4806 5.8273C22.4552 5.71628 22.4058 5.61271 22.336 5.52448C22.2663 5.43625 22.178 5.36568 22.078 5.31814C21.9779 5.2706 21.8687 5.24735 21.7587 5.25015ZM19.7328 12.0002H7.01326L6.00033 6.75015H20.8543L19.7328 12.0002Z" fill="currentColor"/>
2899
+ </svg>` },
2900
+ { nome: "verificado-custom", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2901
+ <path d="M0 11.668C0 10.3147 0.899229 9.09187 2.41504 8.13086C1.93894 6.46951 2.03887 5.03431 2.83301 4.08789C3.8079 2.92619 5.64636 2.71767 7.84961 3.31348C9.01659 1.26127 10.5597 0.000232697 12.2285 0C13.9382 0 15.4555 1.32313 16.5332 3.46484C18.6809 3.11585 20.4663 3.47663 21.4482 4.64648C22.3162 5.68086 22.4228 7.18706 21.8945 8.88672C23.2216 9.88724 23.9998 11.0741 24 12.332C24 13.7782 22.9736 15.0767 21.2646 16.0645C21.7045 17.6782 21.5926 19.07 20.8164 19.9951C19.8682 21.125 18.1025 21.3557 15.9795 20.8193C14.8218 22.7935 13.3077 24 11.6748 24C10.0245 23.9998 8.55383 22.7668 7.48438 20.7549C5.36585 21.0859 3.6067 20.7206 2.63477 19.5625C1.74681 18.5043 1.65728 16.9529 2.22754 15.2051C0.825705 14.1859 1.52201e-05 12.9643 0 11.668Z" fill="currentColor"/>
2902
+ <path d="M16.8306 8.90491L13.7368 11.9049L10.6431 14.9049L7.83057 12.1776" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
2903
+ </svg>` },
2904
+ { nome: "coluna", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2905
+ <rect x="4.5" y="4.5" width="15" height="15" rx="1.5" stroke="currentColor"/>
2906
+ <rect x="8.5" y="4.5" width="1" height="15" fill="currentColor"/>
2907
+ <rect x="14.5" y="4.5" width="1" height="15" fill="currentColor"/>
2908
+ </svg>` },
2909
+ { nome: "campos-customizados", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2910
+ <path d="M8.21359 7.58594C7.58338 7.58594 7.01567 7.69531 6.51046 7.91406C6.01046 8.1276 5.58338 8.4401 5.22921 8.85156C4.88025 9.25781 4.61203 9.75 4.42453 10.3281C4.23703 10.9062 4.14328 11.5573 4.14328 12.2812C4.14328 13.2396 4.29171 14.0729 4.58859 14.7812C4.89067 15.4844 5.33859 16.0286 5.93234 16.4141C6.5313 16.7995 7.27869 16.9922 8.17453 16.9922C8.68494 16.9922 9.16411 16.9505 9.61203 16.8672C10.0652 16.7786 10.5053 16.6693 10.9323 16.5391V17.6953C10.5157 17.8516 10.0782 17.9661 9.61984 18.0391C9.1615 18.1172 8.61723 18.1562 7.98703 18.1562C6.82557 18.1562 5.85421 17.9167 5.07296 17.4375C4.29692 16.9531 3.71359 16.2708 3.32296 15.3906C2.93755 14.5104 2.74484 13.4714 2.74484 12.2734C2.74484 11.4089 2.86463 10.6198 3.10421 9.90625C3.349 9.1875 3.70317 8.56771 4.16671 8.04688C4.63546 7.52604 5.20838 7.125 5.88546 6.84375C6.56775 6.55729 7.349 6.41406 8.22921 6.41406C8.80734 6.41406 9.36463 6.47135 9.90109 6.58594C10.4375 6.70052 10.9219 6.86458 11.3542 7.07812L10.823 8.20312C10.4584 8.03646 10.0573 7.89323 9.61984 7.77344C9.18755 7.64844 8.7188 7.58594 8.21359 7.58594ZM18.5989 7.58594C17.9687 7.58594 17.401 7.69531 16.8958 7.91406C16.3958 8.1276 15.9687 8.4401 15.6145 8.85156C15.2656 9.25781 14.9974 9.75 14.8099 10.3281C14.6224 10.9062 14.5286 11.5573 14.5286 12.2812C14.5286 13.2396 14.677 14.0729 14.9739 14.7812C15.276 15.4844 15.7239 16.0286 16.3177 16.4141C16.9166 16.7995 17.664 16.9922 18.5599 16.9922C19.0703 16.9922 19.5494 16.9505 19.9974 16.8672C20.4505 16.7786 20.8906 16.6693 21.3177 16.5391V17.6953C20.901 17.8516 20.4635 17.9661 20.0052 18.0391C19.5468 18.1172 19.0026 18.1562 18.3724 18.1562C17.2109 18.1562 16.2395 17.9167 15.4583 17.4375C14.6822 16.9531 14.0989 16.2708 13.7083 15.3906C13.3229 14.5104 13.1302 13.4714 13.1302 12.2734C13.1302 11.4089 13.25 10.6198 13.4895 9.90625C13.7343 9.1875 14.0885 8.56771 14.552 8.04688C15.0208 7.52604 15.5937 7.125 16.2708 6.84375C16.9531 6.55729 17.7343 6.41406 18.6145 6.41406C19.1927 6.41406 19.75 6.47135 20.2864 6.58594C20.8229 6.70052 21.3072 6.86458 21.7395 7.07812L21.2083 8.20312C20.8437 8.03646 20.4427 7.89323 20.0052 7.77344C19.5729 7.64844 19.1041 7.58594 18.5989 7.58594Z" fill="currentColor"/>
2911
+ </svg>` },
2912
+ { nome: "condicional", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2913
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22 9V15H16V9H22ZM22 8C22.5523 8 23 8.44772 23 9V15C23 15.5523 22.5523 16 22 16H16C15.4477 16 15 15.5523 15 15V12.5H12.5V19V19.5H12H9V22C9 22.5523 8.55229 23 8 23H2C1.44772 23 1 22.5523 1 22V16C1 15.4477 1.44772 15 2 15H8C8.55229 15 9 15.4477 9 16V18.5H11.5V12V5.5H9V8C9 8.55228 8.55229 9 8 9H2C1.44772 9 1 8.55228 1 8V2C1 1.44772 1.44772 1 2 1H8C8.55229 1 9 1.44772 9 2V4.5H12H12.5V5V11.5H15V9C15 8.44772 15.4477 8 16 8H22ZM2 2H8V8H2V2ZM2 22H8V16H2V22Z" fill="currentColor"/>
2914
+ </svg>` },
2915
+ { nome: "ponto", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2916
+ <circle cx="12" cy="12" r="4" fill="currentColor"/>
2917
+ </svg>` },
2918
+ { nome: "impressora-nova", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2919
+ <path d="M4.875 10.0254H19.125C20.214 10.0254 21.0996 10.911 21.0996 12V15.5625C21.0996 15.9984 20.7484 16.3496 20.3125 16.3496H18.7246V19.125C18.7246 20.214 17.839 21.0996 16.75 21.0996H7.25C6.16095 21.0996 5.27539 20.214 5.27539 19.125V16.3496H3.6875C3.25158 16.3496 2.90039 15.9984 2.90039 15.5625V12C2.90039 10.911 3.78595 10.0254 4.875 10.0254ZM6.84961 19.5254H17.1504V15.1621H6.84961V19.5254ZM18.5312 11.3027C18.189 11.3027 17.8602 11.4386 17.6182 11.6807C17.3761 11.9227 17.2402 12.2515 17.2402 12.5938C17.2402 12.936 17.3761 13.2648 17.6182 13.5068C17.8602 13.7489 18.189 13.8848 18.5312 13.8848C18.8735 13.8848 19.2023 13.7489 19.4443 13.5068C19.6864 13.2648 19.8223 12.936 19.8223 12.5938C19.8223 12.2515 19.6864 11.9227 19.4443 11.6807C19.2023 11.4386 18.8735 11.3027 18.5312 11.3027ZM17.1504 5.79688L15.8281 4.47461H6.84961V8.03711H5.27539V4.875C5.27539 3.78595 6.16095 2.90039 7.25 2.90039H15.6631C16.1885 2.90049 16.691 3.10719 17.0605 3.47656L18.1484 4.56445C18.5178 4.93398 18.7245 5.4365 18.7246 5.96191V8.03711H17.1504V5.79688Z" stroke="currentColor" stroke-width="0.8"/>
2920
+ </svg>` },
2921
+ { nome: "sem-imagem", categoria: "", tags: [], svg: `<svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2922
+ <path d="M21 4.53571C21.4125 4.53571 21.75 4.84107 21.75 5.21429V18.7772L21.5156 18.5016L15.1406 11.0373C14.9297 10.7871 14.5969 10.6429 14.25 10.6429C13.9031 10.6429 13.575 10.7871 13.3594 11.0373L9.46875 15.5922L8.03906 13.7812C7.82812 13.5141 7.49062 13.3571 7.125 13.3571C6.75938 13.3571 6.42188 13.5141 6.21094 13.7855L2.46094 18.5355L2.25 18.7984V18.7857V5.21429C2.25 4.84107 2.5875 4.53571 3 4.53571H21ZM3 2.5C1.34531 2.5 0 3.71719 0 5.21429V18.7857C0 20.2828 1.34531 21.5 3 21.5H21C22.6547 21.5 24 20.2828 24 18.7857V5.21429C24 3.71719 22.6547 2.5 21 2.5H3ZM6.75 10.6429C7.04547 10.6429 7.33806 10.5902 7.61104 10.4879C7.88402 10.3856 8.13206 10.2356 8.34099 10.0466C8.54992 9.85758 8.71566 9.63316 8.82873 9.38618C8.9418 9.13919 9 8.87448 9 8.60714C9 8.33981 8.9418 8.07509 8.82873 7.82811C8.71566 7.58112 8.54992 7.35671 8.34099 7.16768C8.13206 6.97864 7.88402 6.82869 7.61104 6.72639C7.33806 6.62408 7.04547 6.57143 6.75 6.57143C6.45453 6.57143 6.16194 6.62408 5.88896 6.72639C5.61598 6.82869 5.36794 6.97864 5.15901 7.16768C4.95008 7.35671 4.78434 7.58112 4.67127 7.82811C4.5582 8.07509 4.5 8.33981 4.5 8.60714C4.5 8.87448 4.5582 9.13919 4.67127 9.38618C4.78434 9.63316 4.95008 9.85758 5.15901 10.0466C5.36794 10.2356 5.61598 10.3856 5.88896 10.4879C6.16194 10.5902 6.45453 10.6429 6.75 10.6429Z" fill="currentColor"/>
2894
2923
  </svg>` },
2895
2924
  ];
2896
2925
  // #endregion LISTA COMPLETA DE ÍCONES - ÍCONES NOVOS DEVEM SER ADICIONADOS AQUI
@@ -6276,6 +6305,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
6276
6305
  class DynamicInputComponent {
6277
6306
  constructor() {
6278
6307
  this.typeInput = "text";
6308
+ this.showCharacterCounter = true;
6279
6309
  this.txConteudoCarac = '';
6280
6310
  this.updateCoCarac = new EventEmitter();
6281
6311
  this.intMask = '';
@@ -6288,15 +6318,17 @@ class DynamicInputComponent {
6288
6318
  this.updateCoCarac.emit(this.txConteudoCarac);
6289
6319
  }
6290
6320
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DynamicInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6291
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: DynamicInputComponent, isStandalone: true, selector: "app-dynamic-input, lib-dynamic-input", inputs: { disableInput: "disableInput", typeInput: "typeInput", qtInteiros: "qtInteiros", qtDecimais: "qtDecimais", txConteudoCarac: "txConteudoCarac" }, outputs: { updateCoCarac: "updateCoCarac" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <ng-container *ngSwitchCase=\"'date'\">\n <input type=\"date\" class=\"form-control\" id=\"dynamicInput_date\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'integer'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_integer\" [mask]=\"intMask\" placeholder=\"N\u00FAmeros Inteiros\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'decimal'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_decimal\" currencyMask [options]=\"{ precision: qtDecimais }\" placeholder=\"Conte\u00FAdo Decimal\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (keyup)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'phone'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_phone\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"\n [disabled]=\"disableInput ?? false\" [showMaskTyped]=\"false\" mask=\"(00) 0000-0000||(00) 00000-0000\" [dropSpecialCharacters]=\"false\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'text'\">\n <textarea type=\"text\" maxlength=\"100\" class=\"form-control\" id=\"dynamicInput_text\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 100 - txConteudoCarac.length }}</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'longtext'\">\n <textarea type=\"text\" maxlength=\"1000\" class=\"form-control\" id=\"dynamicInput_longtext\" placeholder=\"Texto Livre\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 1000 - txConteudoCarac.length }}</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'time'\">\n <input type=\"time\" class=\"form-control\" id=\"dynamicInput_time\" placeholder=\"Hor\u00E1rio\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'datetime'\">\n <input type=\"datetime-local\" class=\"form-control\" id=\"dynamicInput_datetime\" placeholder=\"Data e hora\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions", "instantPrefix"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "directive", type: NgxCurrencyDirective, selector: "input[currencyMask]", inputs: ["currencyMask", "options"] }] }); }
6321
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: DynamicInputComponent, isStandalone: true, selector: "app-dynamic-input, lib-dynamic-input", inputs: { disableInput: "disableInput", typeInput: "typeInput", showCharacterCounter: "showCharacterCounter", qtInteiros: "qtInteiros", qtDecimais: "qtDecimais", txConteudoCarac: "txConteudoCarac" }, outputs: { updateCoCarac: "updateCoCarac" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <ng-container *ngSwitchCase=\"'date'\">\n <input type=\"date\" class=\"form-control\" id=\"dynamicInput_date\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'integer'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_integer\" [mask]=\"intMask\" placeholder=\"N\u00FAmeros Inteiros\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'decimal'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_decimal\" currencyMask [options]=\"{ precision: qtDecimais }\" placeholder=\"Conte\u00FAdo Decimal\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (keyup)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'phone'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_phone\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"\n [disabled]=\"disableInput ?? false\" [showMaskTyped]=\"false\" mask=\"(00) 0000-0000||(00) 00000-0000\" [dropSpecialCharacters]=\"false\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'text'\">\n <textarea type=\"text\" maxlength=\"100\" class=\"form-control\" id=\"dynamicInput_text\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 100 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'longtext'\">\n <textarea type=\"text\" maxlength=\"1000\" class=\"form-control\" id=\"dynamicInput_longtext\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 1000 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'time'\">\n <input type=\"time\" class=\"form-control\" id=\"dynamicInput_time\" placeholder=\"Hor\u00E1rio\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'datetime'\">\n <input type=\"datetime-local\" class=\"form-control\" id=\"dynamicInput_datetime\" placeholder=\"Data e hora\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions", "instantPrefix"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "directive", type: NgxCurrencyDirective, selector: "input[currencyMask]", inputs: ["currencyMask", "options"] }] }); }
6292
6322
  }
6293
6323
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DynamicInputComponent, decorators: [{
6294
6324
  type: Component,
6295
- args: [{ selector: 'app-dynamic-input, lib-dynamic-input', imports: [NgSwitch, NgSwitchCase, FormsModule, NgxMaskDirective, NgxCurrencyDirective], template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <ng-container *ngSwitchCase=\"'date'\">\n <input type=\"date\" class=\"form-control\" id=\"dynamicInput_date\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'integer'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_integer\" [mask]=\"intMask\" placeholder=\"N\u00FAmeros Inteiros\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'decimal'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_decimal\" currencyMask [options]=\"{ precision: qtDecimais }\" placeholder=\"Conte\u00FAdo Decimal\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (keyup)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'phone'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_phone\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"\n [disabled]=\"disableInput ?? false\" [showMaskTyped]=\"false\" mask=\"(00) 0000-0000||(00) 00000-0000\" [dropSpecialCharacters]=\"false\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'text'\">\n <textarea type=\"text\" maxlength=\"100\" class=\"form-control\" id=\"dynamicInput_text\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 100 - txConteudoCarac.length }}</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'longtext'\">\n <textarea type=\"text\" maxlength=\"1000\" class=\"form-control\" id=\"dynamicInput_longtext\" placeholder=\"Texto Livre\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 1000 - txConteudoCarac.length }}</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'time'\">\n <input type=\"time\" class=\"form-control\" id=\"dynamicInput_time\" placeholder=\"Hor\u00E1rio\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'datetime'\">\n <input type=\"datetime-local\" class=\"form-control\" id=\"dynamicInput_datetime\" placeholder=\"Data e hora\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n</ng-container>" }]
6325
+ args: [{ selector: 'app-dynamic-input, lib-dynamic-input', imports: [NgSwitch, NgSwitchCase, FormsModule, NgxMaskDirective, NgxCurrencyDirective], template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <ng-container *ngSwitchCase=\"'date'\">\n <input type=\"date\" class=\"form-control\" id=\"dynamicInput_date\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'integer'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_integer\" [mask]=\"intMask\" placeholder=\"N\u00FAmeros Inteiros\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'decimal'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_decimal\" currencyMask [options]=\"{ precision: qtDecimais }\" placeholder=\"Conte\u00FAdo Decimal\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (keyup)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'phone'\">\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_phone\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"\n [disabled]=\"disableInput ?? false\" [showMaskTyped]=\"false\" mask=\"(00) 0000-0000||(00) 00000-0000\" [dropSpecialCharacters]=\"false\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'text'\">\n <textarea type=\"text\" maxlength=\"100\" class=\"form-control\" id=\"dynamicInput_text\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 100 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'longtext'\">\n <textarea type=\"text\" maxlength=\"1000\" class=\"form-control\" id=\"dynamicInput_longtext\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 1000 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'time'\">\n <input type=\"time\" class=\"form-control\" id=\"dynamicInput_time\" placeholder=\"Hor\u00E1rio\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'datetime'\">\n <input type=\"datetime-local\" class=\"form-control\" id=\"dynamicInput_datetime\" placeholder=\"Data e hora\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n </ng-container>\n\n</ng-container>" }]
6296
6326
  }], ctorParameters: () => [], propDecorators: { disableInput: [{
6297
6327
  type: Input
6298
6328
  }], typeInput: [{
6299
6329
  type: Input
6330
+ }], showCharacterCounter: [{
6331
+ type: Input
6300
6332
  }], qtInteiros: [{
6301
6333
  type: Input
6302
6334
  }], qtDecimais: [{