ngx-sp-infra 5.15.0 → 5.17.0
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.
|
@@ -10805,6 +10805,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
10805
10805
|
type: Input
|
|
10806
10806
|
}] } });
|
|
10807
10807
|
|
|
10808
|
+
class ContadorCaracteresComponent {
|
|
10809
|
+
constructor() {
|
|
10810
|
+
this.valorAtual = 0;
|
|
10811
|
+
this.valorMaximo = 0;
|
|
10812
|
+
this.valor = 0;
|
|
10813
|
+
}
|
|
10814
|
+
ngOnInit() {
|
|
10815
|
+
this.contadorDeCaracteresRestantes();
|
|
10816
|
+
}
|
|
10817
|
+
contadorDeCaracteresRestantes(valorAtual = 0, valorMaximo = 0) {
|
|
10818
|
+
valorAtual = valorAtual == null ? "" : valorAtual;
|
|
10819
|
+
if (+valorAtual.toString().length <= +valorMaximo) {
|
|
10820
|
+
this.valor = valorAtual.toString().length;
|
|
10821
|
+
}
|
|
10822
|
+
return (this.valor < +valorMaximo ? this.valor : +valorMaximo);
|
|
10823
|
+
}
|
|
10824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContadorCaracteresComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10825
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ContadorCaracteresComponent, isStandalone: true, selector: "app-contador-caracteres", inputs: { valorAtual: "valorAtual", valorMaximo: "valorMaximo" }, ngImport: i0, template: "<div class=\"contador\">\n <div class=\"charCounter text-end\">\n <span class=\"glb-fs-14\"> Limite de caracteres: {{contadorDeCaracteresRestantes(valorAtual, valorMaximo)}}/{{valorMaximo }}</span>\n </div>\n</div>\n", styles: [".contador{white-space:nowrap;width:100%;display:flex;justify-content:end;color:#6c757d}\n"] }); }
|
|
10826
|
+
}
|
|
10827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContadorCaracteresComponent, decorators: [{
|
|
10828
|
+
type: Component,
|
|
10829
|
+
args: [{ selector: 'app-contador-caracteres', imports: [], template: "<div class=\"contador\">\n <div class=\"charCounter text-end\">\n <span class=\"glb-fs-14\"> Limite de caracteres: {{contadorDeCaracteresRestantes(valorAtual, valorMaximo)}}/{{valorMaximo }}</span>\n </div>\n</div>\n", styles: [".contador{white-space:nowrap;width:100%;display:flex;justify-content:end;color:#6c757d}\n"] }]
|
|
10830
|
+
}], propDecorators: { valorAtual: [{
|
|
10831
|
+
type: Input
|
|
10832
|
+
}], valorMaximo: [{
|
|
10833
|
+
type: Input
|
|
10834
|
+
}] } });
|
|
10835
|
+
|
|
10808
10836
|
class InfraModule {
|
|
10809
10837
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10810
10838
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, imports: [CommonModule, i1$3.ModalModule, i2.AccordionModule, TooltipModule,
|
|
@@ -10891,7 +10919,8 @@ class InfraModule {
|
|
|
10891
10919
|
GrupoContabilAbasComponent,
|
|
10892
10920
|
LibAuthenticationConfigComponent,
|
|
10893
10921
|
InnerRowsDirective,
|
|
10894
|
-
LibComboboxReworkComponent
|
|
10922
|
+
LibComboboxReworkComponent,
|
|
10923
|
+
ContadorCaracteresComponent], exports: [PageNotAuthorizedComponent,
|
|
10895
10924
|
LoadingComponent,
|
|
10896
10925
|
FieldControlErrorComponent,
|
|
10897
10926
|
FieldErrorMessageComponent,
|
|
@@ -10963,7 +10992,8 @@ class InfraModule {
|
|
|
10963
10992
|
GrupoContabilAbasComponent,
|
|
10964
10993
|
LibAuthenticationConfigComponent,
|
|
10965
10994
|
InnerRowsDirective,
|
|
10966
|
-
LibComboboxReworkComponent
|
|
10995
|
+
LibComboboxReworkComponent,
|
|
10996
|
+
ContadorCaracteresComponent] }); }
|
|
10967
10997
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, imports: [CommonModule,
|
|
10968
10998
|
ModalModule.forRoot(),
|
|
10969
10999
|
AccordionModule.forRoot(),
|
|
@@ -11094,6 +11124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
11094
11124
|
LibAuthenticationConfigComponent,
|
|
11095
11125
|
InnerRowsDirective,
|
|
11096
11126
|
LibComboboxReworkComponent,
|
|
11127
|
+
ContadorCaracteresComponent
|
|
11097
11128
|
],
|
|
11098
11129
|
exports: [
|
|
11099
11130
|
PageNotAuthorizedComponent,
|
|
@@ -11169,6 +11200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
11169
11200
|
LibAuthenticationConfigComponent,
|
|
11170
11201
|
InnerRowsDirective,
|
|
11171
11202
|
LibComboboxReworkComponent,
|
|
11203
|
+
ContadorCaracteresComponent
|
|
11172
11204
|
],
|
|
11173
11205
|
providers: [],
|
|
11174
11206
|
}]
|
|
@@ -14982,5 +15014,5 @@ class TreeItem {
|
|
|
14982
15014
|
* Generated bundle index. Do not edit.
|
|
14983
15015
|
*/
|
|
14984
15016
|
|
|
14985
|
-
export { A11yClickDirective, AlertComponent, AppliedFiltersComponent, AuditoriaButtonComponent, BasicFilters, BreadcrumbComponent, CheckUrlAndMethodService, ClickOutsideDirective, ComboboxComponent, ComboboxMultipleChoiceComponent, ConfirmComponent, ConfirmModalComponent, ContainerTabsModel, ContentContainerComponent, CopyClipboardDirective, CpfCnpjPipe, CpfCnpjValidator, CpfCnpjValidatorDirective, CurrencyPipe, CustomAcordionComponent, CustomFormControl, DecimalCommaPipe, DetalhesLogApiComponent, DetalhesLogDataAccessComponent, DetalhesLogEmailComponent, DetalhesLogTimerComponent, DetalhesLogWSComponent, DetalhesLogsGeralComponent, DetalhesLogsReportComponent, DialogCropperComponent, DisableControlDirective, DownloadArquivos, DropdownOptionsComponent, DynamicInputComponent, EmailAnexoRecord, EmailModel, EmpresaAbasComponent, EnderecoByCep, EstabelecimentoAbasComponent, FieldContadorMessageComponent, FieldControlErrorComponent, FieldErrorMessageComponent, FileModel, FileService, FilterByPipe, FilterMultipleChoicePipe, FiltrosAplicadosModel, FiltrosAplicadosService, FooterComponent, FormUtils, FormatByTypePipe, GenericModalComponent, GlobalLoadingService, GrupoContabilAbasComponent, HighlightDirective, HomeLogApiComponent, HomeLogDataAccessComponent, HomeLogEmailComponent, HomeLogTimerComponent, HomeLogsReportComponent, HomeLogsWSComponent, IconsList, ImageCropperComponent, InfraBreadcrumbComponent, InfraBreadcrumbItemComponent, InfraEstabelecimentoFavoritoDefault, InfraModule, InnerListComponent, InnerRowsDirective, InputTrimComponent, IpServiceService, ItemsAbasComponent, JobRequest, LibAuthenticationConfigComponent, LibComboboxComponent, LibComboboxReworkComponent, LibConfigSenhaComponent, LibCustomizableTableComponent, LibDateRangePickerComponent, LibDirectivesModule, LibHeaderComponent, LibIconsComponent, LibIntegracaoLdapComponent, LibIntegracoesExternasComponent, LibNavProdutosComponent, LibPipesModule, LibSimplifiedTableComponent, LibSpinnerComponent, LibTransferListComponent, LibViewsModule, LibWidgetsModule, LimitToPipe, ListComponent, LoadingBtnDirective, LoadingButtonComponent, LoadingComponent, LoadingScreenComponent, LogsGeralComponent, MessageService, ModalUtilsService, MultiStatusList, NavItem, NavProdutosComponent, NavSubMenus, NavSubmenuCards, NavTabsComponent, NavigationOptions, OrderSortPipe, OrderingComponent, PageNotAuthorizedComponent, PaginationComponent, Params, PasswordPolicyComponent, PessoaAbasComponent, PhoneFormatPipe, QueueService, RecordCombobox, ReportFile, RequiredDirective, RetBoolean, RetCep, RetError, RetEstabelecimentosModal, RetFeedbackMessage, RetNumber, RetObjectList, RetRecordCombobox, RetRecordsCombobox, RetReportFile, RetString, RetStringList, RetTree, SaveComponent, SearchComboboxComponent, SearchFiltersComponent, SearchInputComponent, SearchTreePipe, SettingsService, SideTabsGenericComponent, SimpleSearchComponent, SubMenuCardComponent, SubMenuComponent, SubMenuItem, TableComponent, TableHeaderIcon, TableHeaderStructure, TableSelectionService, TelaItem, TextFilterPipe, TextTruncateDirective, TitleCasePipe, ToUrlPipe, TransferListConfig, TreeComponent, TreeItem, UsuarioAbasComponent, Utils, alertIds, alertTypes };
|
|
15017
|
+
export { A11yClickDirective, AlertComponent, AppliedFiltersComponent, AuditoriaButtonComponent, BasicFilters, BreadcrumbComponent, CheckUrlAndMethodService, ClickOutsideDirective, ComboboxComponent, ComboboxMultipleChoiceComponent, ConfirmComponent, ConfirmModalComponent, ContadorCaracteresComponent, ContainerTabsModel, ContentContainerComponent, CopyClipboardDirective, CpfCnpjPipe, CpfCnpjValidator, CpfCnpjValidatorDirective, CurrencyPipe, CustomAcordionComponent, CustomFormControl, DecimalCommaPipe, DetalhesLogApiComponent, DetalhesLogDataAccessComponent, DetalhesLogEmailComponent, DetalhesLogTimerComponent, DetalhesLogWSComponent, DetalhesLogsGeralComponent, DetalhesLogsReportComponent, DialogCropperComponent, DisableControlDirective, DownloadArquivos, DropdownOptionsComponent, DynamicInputComponent, EmailAnexoRecord, EmailModel, EmpresaAbasComponent, EnderecoByCep, EstabelecimentoAbasComponent, FieldContadorMessageComponent, FieldControlErrorComponent, FieldErrorMessageComponent, FileModel, FileService, FilterByPipe, FilterMultipleChoicePipe, FiltrosAplicadosModel, FiltrosAplicadosService, FooterComponent, FormUtils, FormatByTypePipe, GenericModalComponent, GlobalLoadingService, GrupoContabilAbasComponent, HighlightDirective, HomeLogApiComponent, HomeLogDataAccessComponent, HomeLogEmailComponent, HomeLogTimerComponent, HomeLogsReportComponent, HomeLogsWSComponent, IconsList, ImageCropperComponent, InfraBreadcrumbComponent, InfraBreadcrumbItemComponent, InfraEstabelecimentoFavoritoDefault, InfraModule, InnerListComponent, InnerRowsDirective, InputTrimComponent, IpServiceService, ItemsAbasComponent, JobRequest, LibAuthenticationConfigComponent, LibComboboxComponent, LibComboboxReworkComponent, LibConfigSenhaComponent, LibCustomizableTableComponent, LibDateRangePickerComponent, LibDirectivesModule, LibHeaderComponent, LibIconsComponent, LibIntegracaoLdapComponent, LibIntegracoesExternasComponent, LibNavProdutosComponent, LibPipesModule, LibSimplifiedTableComponent, LibSpinnerComponent, LibTransferListComponent, LibViewsModule, LibWidgetsModule, LimitToPipe, ListComponent, LoadingBtnDirective, LoadingButtonComponent, LoadingComponent, LoadingScreenComponent, LogsGeralComponent, MessageService, ModalUtilsService, MultiStatusList, NavItem, NavProdutosComponent, NavSubMenus, NavSubmenuCards, NavTabsComponent, NavigationOptions, OrderSortPipe, OrderingComponent, PageNotAuthorizedComponent, PaginationComponent, Params, PasswordPolicyComponent, PessoaAbasComponent, PhoneFormatPipe, QueueService, RecordCombobox, ReportFile, RequiredDirective, RetBoolean, RetCep, RetError, RetEstabelecimentosModal, RetFeedbackMessage, RetNumber, RetObjectList, RetRecordCombobox, RetRecordsCombobox, RetReportFile, RetString, RetStringList, RetTree, SaveComponent, SearchComboboxComponent, SearchFiltersComponent, SearchInputComponent, SearchTreePipe, SettingsService, SideTabsGenericComponent, SimpleSearchComponent, SubMenuCardComponent, SubMenuComponent, SubMenuItem, TableComponent, TableHeaderIcon, TableHeaderStructure, TableSelectionService, TelaItem, TextFilterPipe, TextTruncateDirective, TitleCasePipe, ToUrlPipe, TransferListConfig, TreeComponent, TreeItem, UsuarioAbasComponent, Utils, alertIds, alertTypes };
|
|
14986
15018
|
//# sourceMappingURL=ngx-sp-infra.mjs.map
|