@dev-tcloud/tcloud-ui 0.0.95 → 0.0.97
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/esm2020/lib/_pipes/array-to-text.mjs +29 -0
- package/esm2020/lib/_pipes/index.mjs +2 -1
- package/esm2020/lib/_pipes/tcloud-pipes.module.mjs +14 -8
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +40 -7
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +40 -7
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_pipes/array-to-text.d.ts +8 -0
- package/lib/_pipes/index.d.ts +1 -0
- package/lib/_pipes/tcloud-pipes.module.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2243,6 +2243,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2243
2243
|
args: [{ name: 'datebr' }]
|
|
2244
2244
|
}] });
|
|
2245
2245
|
|
|
2246
|
+
class ToTextPipe {
|
|
2247
|
+
formatBytes(value) {
|
|
2248
|
+
let v = '';
|
|
2249
|
+
let t = '';
|
|
2250
|
+
for (let i = 0; i < (value).length; i++) {
|
|
2251
|
+
t += v + `${value[i]}`;
|
|
2252
|
+
v = ', ';
|
|
2253
|
+
if ((i + 1) === ((value).length) - 1) {
|
|
2254
|
+
v = ' e ';
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
return t;
|
|
2258
|
+
}
|
|
2259
|
+
transform(value) {
|
|
2260
|
+
if (value && (value).length > 0) {
|
|
2261
|
+
return this.formatBytes(value);
|
|
2262
|
+
}
|
|
2263
|
+
return value;
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
ToTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ToTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2267
|
+
ToTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: ToTextPipe, name: "toText" });
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ToTextPipe, decorators: [{
|
|
2269
|
+
type: Pipe,
|
|
2270
|
+
args: [{ name: 'toText' }]
|
|
2271
|
+
}] });
|
|
2272
|
+
|
|
2246
2273
|
class TCloudUiSearchInObjectService {
|
|
2247
2274
|
constructor(datepipe, statusinfo) {
|
|
2248
2275
|
this.datepipe = datepipe;
|
|
@@ -4480,14 +4507,16 @@ TCloudUiPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ver
|
|
|
4480
4507
|
CNPJPipe,
|
|
4481
4508
|
CPFPipe,
|
|
4482
4509
|
BytesPipe,
|
|
4483
|
-
DateBRPipe
|
|
4510
|
+
DateBRPipe,
|
|
4511
|
+
ToTextPipe], imports: [CommonModule], exports: [DatePipe,
|
|
4484
4512
|
MonthNamePipe,
|
|
4485
4513
|
StatusInfoPipe,
|
|
4486
4514
|
RespectivePipe,
|
|
4487
4515
|
CNPJPipe,
|
|
4488
4516
|
CPFPipe,
|
|
4489
4517
|
BytesPipe,
|
|
4490
|
-
DateBRPipe
|
|
4518
|
+
DateBRPipe,
|
|
4519
|
+
ToTextPipe] });
|
|
4491
4520
|
TCloudUiPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, providers: [
|
|
4492
4521
|
DatePipe,
|
|
4493
4522
|
MonthNamePipe,
|
|
@@ -4496,7 +4525,8 @@ TCloudUiPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
4496
4525
|
CNPJPipe,
|
|
4497
4526
|
CPFPipe,
|
|
4498
4527
|
BytesPipe,
|
|
4499
|
-
DateBRPipe
|
|
4528
|
+
DateBRPipe,
|
|
4529
|
+
ToTextPipe
|
|
4500
4530
|
], imports: [CommonModule] });
|
|
4501
4531
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, decorators: [{
|
|
4502
4532
|
type: NgModule,
|
|
@@ -4511,7 +4541,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4511
4541
|
CNPJPipe,
|
|
4512
4542
|
CPFPipe,
|
|
4513
4543
|
BytesPipe,
|
|
4514
|
-
DateBRPipe
|
|
4544
|
+
DateBRPipe,
|
|
4545
|
+
ToTextPipe
|
|
4515
4546
|
],
|
|
4516
4547
|
exports: [
|
|
4517
4548
|
DatePipe,
|
|
@@ -4521,7 +4552,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4521
4552
|
CNPJPipe,
|
|
4522
4553
|
CPFPipe,
|
|
4523
4554
|
BytesPipe,
|
|
4524
|
-
DateBRPipe
|
|
4555
|
+
DateBRPipe,
|
|
4556
|
+
ToTextPipe
|
|
4525
4557
|
],
|
|
4526
4558
|
providers: [
|
|
4527
4559
|
DatePipe,
|
|
@@ -4531,7 +4563,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4531
4563
|
CNPJPipe,
|
|
4532
4564
|
CPFPipe,
|
|
4533
4565
|
BytesPipe,
|
|
4534
|
-
DateBRPipe
|
|
4566
|
+
DateBRPipe,
|
|
4567
|
+
ToTextPipe
|
|
4535
4568
|
]
|
|
4536
4569
|
}]
|
|
4537
4570
|
}] });
|
|
@@ -5128,5 +5161,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
5128
5161
|
* Generated bundle index. Do not edit.
|
|
5129
5162
|
*/
|
|
5130
5163
|
|
|
5131
|
-
export { BytesPipe, CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, DateBRPipe, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCCondition, TCFiltersType, TCloudUiAccordionBodyComponent, TCloudUiAccordionComponent, TCloudUiAccordionModule, TCloudUiAccordionTitleComponent, TCloudUiAlignDirective, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDatepickerComponent, TCloudUiDatepickerModule, TCloudUiDatepickerTimeComponent, TCloudUiDatepickerTimeModule, TCloudUiDirectiveModule, TCloudUiFiltersComponent, TCloudUiFiltersModule, TCloudUiHoverParentDirective, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiMultiplesValuesComponent, TCloudUiMultiplesValuesModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiNumberStepComponent, TCloudUiNumberStepModule, TCloudUiPipesModule, TCloudUiRangeDateComponent, TCloudUiScrollBoxComponent, TCloudUiScrollBoxModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective, TCloudUiWelcomeComponent, TCloudUiWelcomeModule };
|
|
5164
|
+
export { BytesPipe, CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, DateBRPipe, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCCondition, TCFiltersType, TCloudUiAccordionBodyComponent, TCloudUiAccordionComponent, TCloudUiAccordionModule, TCloudUiAccordionTitleComponent, TCloudUiAlignDirective, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDatepickerComponent, TCloudUiDatepickerModule, TCloudUiDatepickerTimeComponent, TCloudUiDatepickerTimeModule, TCloudUiDirectiveModule, TCloudUiFiltersComponent, TCloudUiFiltersModule, TCloudUiHoverParentDirective, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiMultiplesValuesComponent, TCloudUiMultiplesValuesModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiNumberStepComponent, TCloudUiNumberStepModule, TCloudUiPipesModule, TCloudUiRangeDateComponent, TCloudUiScrollBoxComponent, TCloudUiScrollBoxModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective, TCloudUiWelcomeComponent, TCloudUiWelcomeModule, ToTextPipe };
|
|
5132
5165
|
//# sourceMappingURL=dev-tcloud-tcloud-ui.mjs.map
|