@dev-tcloud/tcloud-ui 0.0.26 → 0.0.28
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/README.md +4 -2
- package/esm2020/lib/_modules/tcloud-ui-input-search/tcloud-ui-input-search.component.mjs +3 -2
- package/esm2020/lib/_modules/tcloud-ui-scroll-box/tcloud-ui-scroll-box.component.mjs +21 -0
- package/esm2020/lib/_modules/tcloud-ui-scroll-box/tcloud-ui-scroll-box.module.mjs +24 -0
- package/esm2020/lib/_pipes/bytes.mjs +23 -0
- package/esm2020/lib/_pipes/index.mjs +2 -1
- package/esm2020/lib/_pipes/tcloud-pipes.module.mjs +14 -8
- package/esm2020/lib/tcloud-ui.module.mjs +8 -1
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +81 -8
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +81 -8
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_modules/tcloud-ui-scroll-box/tcloud-ui-scroll-box.component.d.ts +10 -0
- package/lib/_modules/tcloud-ui-scroll-box/tcloud-ui-scroll-box.module.d.ts +8 -0
- package/lib/_pipes/bytes.d.ts +8 -0
- package/lib/_pipes/index.d.ts +1 -0
- package/lib/_pipes/tcloud-pipes.module.d.ts +3 -2
- package/lib/tcloud-ui.module.d.ts +4 -3
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/{assets/scss → scss/components}/custom/loading-transitions.scss +0 -0
- package/{assets/scss → scss/components}/custom/table.scss +0 -0
- package/{assets/scss → scss/components}/custom/tooltip.scss +0 -0
- package/{assets/scss → scss/components}/custom/validation.scss +0 -0
- package/{assets/scss → scss/components}/custom/variables.scss +0 -0
- package/{assets/scss → scss/components}/styles.scss +0 -0
- package/scss/tcloud/custom/buttons.scss +88 -0
- package/scss/tcloud/custom/card.scss +50 -0
- package/scss/tcloud/custom/colors.scss +44 -0
- package/scss/tcloud/custom/forms.scss +65 -0
- package/scss/tcloud/custom/layout.scss +81 -0
- package/scss/tcloud/custom/mixins.scss +68 -0
- package/scss/tcloud/custom/text.scss +50 -0
- package/scss/tcloud/styles.scss +8 -0
|
@@ -1974,6 +1974,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1974
1974
|
args: [{ name: 'cpf' }]
|
|
1975
1975
|
}] });
|
|
1976
1976
|
|
|
1977
|
+
class BytesPipe {
|
|
1978
|
+
formatBytes(a, b = 2) {
|
|
1979
|
+
if (!a)
|
|
1980
|
+
return '---';
|
|
1981
|
+
if (0 === a)
|
|
1982
|
+
return '0 Bytes';
|
|
1983
|
+
const c = 0 > b ? 0 : b, d = Math.floor(Math.log(a) / Math.log(1024));
|
|
1984
|
+
return parseFloat((a / Math.pow(1024, d)).toFixed(c)) + ' ' + ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"][d];
|
|
1985
|
+
}
|
|
1986
|
+
transform(value) {
|
|
1987
|
+
const b = +value;
|
|
1988
|
+
return this.formatBytes(b);
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
BytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1992
|
+
BytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: BytesPipe, name: "bytes" });
|
|
1993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BytesPipe, decorators: [{
|
|
1994
|
+
type: Pipe,
|
|
1995
|
+
args: [{ name: 'bytes' }]
|
|
1996
|
+
}] });
|
|
1997
|
+
|
|
1977
1998
|
class TCloudUiSearchInObjectService {
|
|
1978
1999
|
constructor(datepipe, statusinfo) {
|
|
1979
2000
|
this.datepipe = datepipe;
|
|
@@ -2089,7 +2110,8 @@ class TCloudUiInputSearchComponent {
|
|
|
2089
2110
|
ngOnInit() {
|
|
2090
2111
|
}
|
|
2091
2112
|
buscar(value) {
|
|
2092
|
-
|
|
2113
|
+
const result = this.searchInObjectService.meet(`${value}`, this.base_object);
|
|
2114
|
+
this.result_object = JSON.parse(JSON.stringify(result));
|
|
2093
2115
|
this.toFound();
|
|
2094
2116
|
}
|
|
2095
2117
|
clean() {
|
|
@@ -2315,6 +2337,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2315
2337
|
}]
|
|
2316
2338
|
}] });
|
|
2317
2339
|
|
|
2340
|
+
class TCloudUiScrollBoxComponent {
|
|
2341
|
+
constructor() {
|
|
2342
|
+
this.border = true;
|
|
2343
|
+
this.maxHeight = 400;
|
|
2344
|
+
}
|
|
2345
|
+
ngOnInit() {
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
TCloudUiScrollBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiScrollBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2349
|
+
TCloudUiScrollBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiScrollBoxComponent, selector: "tcloud-ui-scroll-box", inputs: { border: "border", maxHeight: "maxHeight" }, ngImport: i0, template: "<div class=\"tc-box-scroll\" [class.tc-box-scroll-border]=\"border\" >\n <div class=\"box-content\" [style]=\"'max-height: '+maxHeight+'px'\" >\n <ng-content></ng-content>\n </div> \n</div>\n", styles: [".tc-box-scroll ::-webkit-scrollbar{width:13px}.tc-box-scroll ::-webkit-scrollbar-track{background:#F1F1F1;border-radius:15px}.tc-box-scroll ::-webkit-scrollbar-thumb{background:#37B6C4;border-radius:10px}.tc-box-scroll ::-webkit-scrollbar-thumb:hover{background:#2B95A0}.tc-box-scroll .box-content{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#37B6C4 #F1F1F1;scrollbar-gutter:stable}.tc-box-scroll-border{border:1px solid #eee;border-radius:10px;overflow:hidden}\n"] });
|
|
2350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiScrollBoxComponent, decorators: [{
|
|
2351
|
+
type: Component,
|
|
2352
|
+
args: [{ selector: 'tcloud-ui-scroll-box', template: "<div class=\"tc-box-scroll\" [class.tc-box-scroll-border]=\"border\" >\n <div class=\"box-content\" [style]=\"'max-height: '+maxHeight+'px'\" >\n <ng-content></ng-content>\n </div> \n</div>\n", styles: [".tc-box-scroll ::-webkit-scrollbar{width:13px}.tc-box-scroll ::-webkit-scrollbar-track{background:#F1F1F1;border-radius:15px}.tc-box-scroll ::-webkit-scrollbar-thumb{background:#37B6C4;border-radius:10px}.tc-box-scroll ::-webkit-scrollbar-thumb:hover{background:#2B95A0}.tc-box-scroll .box-content{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#37B6C4 #F1F1F1;scrollbar-gutter:stable}.tc-box-scroll-border{border:1px solid #eee;border-radius:10px;overflow:hidden}\n"] }]
|
|
2353
|
+
}], ctorParameters: function () { return []; }, propDecorators: { border: [{
|
|
2354
|
+
type: Input
|
|
2355
|
+
}], maxHeight: [{
|
|
2356
|
+
type: Input
|
|
2357
|
+
}] } });
|
|
2358
|
+
|
|
2359
|
+
class TCloudUiScrollBoxModule {
|
|
2360
|
+
}
|
|
2361
|
+
TCloudUiScrollBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiScrollBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2362
|
+
TCloudUiScrollBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiScrollBoxModule, declarations: [TCloudUiScrollBoxComponent], imports: [CommonModule], exports: [TCloudUiScrollBoxComponent] });
|
|
2363
|
+
TCloudUiScrollBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiScrollBoxModule, imports: [CommonModule] });
|
|
2364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiScrollBoxModule, decorators: [{
|
|
2365
|
+
type: NgModule,
|
|
2366
|
+
args: [{
|
|
2367
|
+
declarations: [
|
|
2368
|
+
TCloudUiScrollBoxComponent
|
|
2369
|
+
],
|
|
2370
|
+
exports: [
|
|
2371
|
+
TCloudUiScrollBoxComponent
|
|
2372
|
+
],
|
|
2373
|
+
imports: [
|
|
2374
|
+
CommonModule
|
|
2375
|
+
]
|
|
2376
|
+
}]
|
|
2377
|
+
}] });
|
|
2378
|
+
|
|
2318
2379
|
class TCloudUiAlignDirective {
|
|
2319
2380
|
constructor(el, renderer) {
|
|
2320
2381
|
this.el = el;
|
|
@@ -2540,17 +2601,20 @@ TCloudUiPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
2540
2601
|
TCloudUiPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, declarations: [MonthNamePipe,
|
|
2541
2602
|
StatusInfoPipe,
|
|
2542
2603
|
RespectivePipe,
|
|
2543
|
-
CNPJPipe
|
|
2604
|
+
CNPJPipe,
|
|
2605
|
+
BytesPipe], imports: [CommonModule], exports: [DatePipe,
|
|
2544
2606
|
MonthNamePipe,
|
|
2545
2607
|
StatusInfoPipe,
|
|
2546
2608
|
RespectivePipe,
|
|
2547
|
-
CNPJPipe
|
|
2609
|
+
CNPJPipe,
|
|
2610
|
+
BytesPipe] });
|
|
2548
2611
|
TCloudUiPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, providers: [
|
|
2549
2612
|
DatePipe,
|
|
2550
2613
|
MonthNamePipe,
|
|
2551
2614
|
StatusInfoPipe,
|
|
2552
2615
|
RespectivePipe,
|
|
2553
|
-
CNPJPipe
|
|
2616
|
+
CNPJPipe,
|
|
2617
|
+
BytesPipe
|
|
2554
2618
|
], imports: [CommonModule] });
|
|
2555
2619
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, decorators: [{
|
|
2556
2620
|
type: NgModule,
|
|
@@ -2562,21 +2626,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2562
2626
|
MonthNamePipe,
|
|
2563
2627
|
StatusInfoPipe,
|
|
2564
2628
|
RespectivePipe,
|
|
2565
|
-
CNPJPipe
|
|
2629
|
+
CNPJPipe,
|
|
2630
|
+
BytesPipe
|
|
2566
2631
|
],
|
|
2567
2632
|
exports: [
|
|
2568
2633
|
DatePipe,
|
|
2569
2634
|
MonthNamePipe,
|
|
2570
2635
|
StatusInfoPipe,
|
|
2571
2636
|
RespectivePipe,
|
|
2572
|
-
CNPJPipe
|
|
2637
|
+
CNPJPipe,
|
|
2638
|
+
BytesPipe
|
|
2573
2639
|
],
|
|
2574
2640
|
providers: [
|
|
2575
2641
|
DatePipe,
|
|
2576
2642
|
MonthNamePipe,
|
|
2577
2643
|
StatusInfoPipe,
|
|
2578
2644
|
RespectivePipe,
|
|
2579
|
-
CNPJPipe
|
|
2645
|
+
CNPJPipe,
|
|
2646
|
+
BytesPipe
|
|
2580
2647
|
]
|
|
2581
2648
|
}]
|
|
2582
2649
|
}] });
|
|
@@ -2646,6 +2713,7 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
2646
2713
|
TCloudUiNotFoundModule,
|
|
2647
2714
|
TCloudUiTableModule,
|
|
2648
2715
|
TCloudUiNumberStepModule,
|
|
2716
|
+
TCloudUiScrollBoxModule,
|
|
2649
2717
|
// Directives
|
|
2650
2718
|
TCloudUiDirectiveModule,
|
|
2651
2719
|
// Pipes
|
|
@@ -2661,6 +2729,7 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
2661
2729
|
TCloudUiNotFoundModule,
|
|
2662
2730
|
TCloudUiTableModule,
|
|
2663
2731
|
TCloudUiNumberStepModule,
|
|
2732
|
+
TCloudUiScrollBoxModule,
|
|
2664
2733
|
// Directives
|
|
2665
2734
|
TCloudUiDirectiveModule,
|
|
2666
2735
|
// Pipes
|
|
@@ -2680,6 +2749,7 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2680
2749
|
TCloudUiNotFoundModule,
|
|
2681
2750
|
TCloudUiTableModule,
|
|
2682
2751
|
TCloudUiNumberStepModule,
|
|
2752
|
+
TCloudUiScrollBoxModule,
|
|
2683
2753
|
// Directives
|
|
2684
2754
|
TCloudUiDirectiveModule,
|
|
2685
2755
|
// Pipes
|
|
@@ -2695,6 +2765,7 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2695
2765
|
TCloudUiNotFoundModule,
|
|
2696
2766
|
TCloudUiTableModule,
|
|
2697
2767
|
TCloudUiNumberStepModule,
|
|
2768
|
+
TCloudUiScrollBoxModule,
|
|
2698
2769
|
// Directives
|
|
2699
2770
|
TCloudUiDirectiveModule,
|
|
2700
2771
|
// Pipes
|
|
@@ -2715,6 +2786,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2715
2786
|
TCloudUiNotFoundModule,
|
|
2716
2787
|
TCloudUiTableModule,
|
|
2717
2788
|
TCloudUiNumberStepModule,
|
|
2789
|
+
TCloudUiScrollBoxModule,
|
|
2718
2790
|
// Directives
|
|
2719
2791
|
TCloudUiDirectiveModule,
|
|
2720
2792
|
// Pipes
|
|
@@ -2733,6 +2805,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2733
2805
|
TCloudUiNotFoundModule,
|
|
2734
2806
|
TCloudUiTableModule,
|
|
2735
2807
|
TCloudUiNumberStepModule,
|
|
2808
|
+
TCloudUiScrollBoxModule,
|
|
2736
2809
|
// Directives
|
|
2737
2810
|
TCloudUiDirectiveModule,
|
|
2738
2811
|
// Pipes
|
|
@@ -2753,5 +2826,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2753
2826
|
* Generated bundle index. Do not edit.
|
|
2754
2827
|
*/
|
|
2755
2828
|
|
|
2756
|
-
export { CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCloudUiAlignDirective, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDirectiveModule, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiNumberStepComponent, TCloudUiNumberStepModule, TCloudUiPipesModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective };
|
|
2829
|
+
export { BytesPipe, CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCloudUiAlignDirective, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDirectiveModule, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiNumberStepComponent, TCloudUiNumberStepModule, TCloudUiPipesModule, TCloudUiScrollBoxComponent, TCloudUiScrollBoxModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective };
|
|
2757
2830
|
//# sourceMappingURL=dev-tcloud-tcloud-ui.mjs.map
|