@dev-tcloud/tcloud-ui 0.0.11 → 0.0.12
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 +2 -0
- package/esm2020/lib/_directives/align/align.directive.mjs +39 -0
- package/esm2020/lib/_directives/directives.module.mjs +13 -4
- package/esm2020/lib/_modules/tcloud-ui-table/tcloud-ui-table.component.mjs +18 -0
- package/esm2020/lib/_modules/tcloud-ui-table/tcloud-ui-table.module.mjs +24 -0
- package/esm2020/lib/tcloud-ui.module.mjs +8 -1
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +91 -4
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +91 -4
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_directives/align/align.directive.d.ts +13 -0
- package/lib/_directives/directives.module.d.ts +2 -1
- package/lib/_modules/tcloud-ui-table/tcloud-ui-table.component.d.ts +9 -0
- package/lib/_modules/tcloud-ui-table/tcloud-ui-table.module.d.ts +8 -0
- package/lib/tcloud-ui.module.d.ts +4 -3
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -2162,6 +2162,79 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2162
2162
|
}]
|
|
2163
2163
|
}] });
|
|
2164
2164
|
|
|
2165
|
+
class TCloudUiTableComponent {
|
|
2166
|
+
constructor() {
|
|
2167
|
+
this.responsive = true;
|
|
2168
|
+
}
|
|
2169
|
+
ngOnInit() {
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
TCloudUiTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2173
|
+
TCloudUiTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiTableComponent, selector: "tcloud-ui-table", inputs: { responsive: "responsive" }, ngImport: i0, template: "<table class=\"tc-table\" [class.tc-table-responsive]=\"responsive\" cellspacing=\"0\">\n <ng-content select=\"[tc-thead]\"></ng-content>\n <ng-content select=\"[tc-tbody]\"></ng-content>\n</table>\n", styles: [""] });
|
|
2174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTableComponent, decorators: [{
|
|
2175
|
+
type: Component,
|
|
2176
|
+
args: [{ selector: 'tcloud-ui-table', template: "<table class=\"tc-table\" [class.tc-table-responsive]=\"responsive\" cellspacing=\"0\">\n <ng-content select=\"[tc-thead]\"></ng-content>\n <ng-content select=\"[tc-tbody]\"></ng-content>\n</table>\n" }]
|
|
2177
|
+
}], ctorParameters: function () { return []; }, propDecorators: { responsive: [{
|
|
2178
|
+
type: Input
|
|
2179
|
+
}] } });
|
|
2180
|
+
|
|
2181
|
+
class TCloudUiTableModule {
|
|
2182
|
+
}
|
|
2183
|
+
TCloudUiTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2184
|
+
TCloudUiTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTableModule, declarations: [TCloudUiTableComponent], imports: [CommonModule], exports: [TCloudUiTableComponent] });
|
|
2185
|
+
TCloudUiTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTableModule, imports: [CommonModule] });
|
|
2186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTableModule, decorators: [{
|
|
2187
|
+
type: NgModule,
|
|
2188
|
+
args: [{
|
|
2189
|
+
declarations: [
|
|
2190
|
+
TCloudUiTableComponent,
|
|
2191
|
+
],
|
|
2192
|
+
exports: [
|
|
2193
|
+
TCloudUiTableComponent,
|
|
2194
|
+
],
|
|
2195
|
+
imports: [
|
|
2196
|
+
CommonModule
|
|
2197
|
+
]
|
|
2198
|
+
}]
|
|
2199
|
+
}] });
|
|
2200
|
+
|
|
2201
|
+
class TCloudUiAlignDirective {
|
|
2202
|
+
constructor(el, renderer) {
|
|
2203
|
+
this.el = el;
|
|
2204
|
+
this.renderer = renderer;
|
|
2205
|
+
this._direction = 'start';
|
|
2206
|
+
}
|
|
2207
|
+
set TCalign(direction) {
|
|
2208
|
+
if (direction) {
|
|
2209
|
+
this._direction = direction;
|
|
2210
|
+
this.setStyle(this.el.nativeElement);
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
ngOnInit() {
|
|
2214
|
+
}
|
|
2215
|
+
setStyle(el) {
|
|
2216
|
+
if (this._direction === 'start') {
|
|
2217
|
+
this.renderer.setStyle(el, 'text-align', 'left');
|
|
2218
|
+
}
|
|
2219
|
+
if (this._direction === 'center') {
|
|
2220
|
+
this.renderer.setStyle(el, 'text-align', 'center');
|
|
2221
|
+
}
|
|
2222
|
+
if (this._direction === 'end') {
|
|
2223
|
+
this.renderer.setStyle(el, 'text-align', 'right');
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
TCloudUiAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiAlignDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2228
|
+
TCloudUiAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiAlignDirective, selector: "[TCalign]", inputs: { TCalign: "TCalign" }, ngImport: i0 });
|
|
2229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiAlignDirective, decorators: [{
|
|
2230
|
+
type: Directive,
|
|
2231
|
+
args: [{
|
|
2232
|
+
selector: '[TCalign]'
|
|
2233
|
+
}]
|
|
2234
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { TCalign: [{
|
|
2235
|
+
type: Input
|
|
2236
|
+
}] } });
|
|
2237
|
+
|
|
2165
2238
|
class TCloudUiTooltipDirective {
|
|
2166
2239
|
constructor(el, renderer) {
|
|
2167
2240
|
this.el = el;
|
|
@@ -2326,13 +2399,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2326
2399
|
class TCloudUiDirectiveModule {
|
|
2327
2400
|
}
|
|
2328
2401
|
TCloudUiDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2329
|
-
TCloudUiDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, declarations: [TCloudUiTooltipDirective
|
|
2402
|
+
TCloudUiDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, declarations: [TCloudUiTooltipDirective,
|
|
2403
|
+
TCloudUiAlignDirective], exports: [TCloudUiTooltipDirective,
|
|
2404
|
+
TCloudUiAlignDirective] });
|
|
2330
2405
|
TCloudUiDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule });
|
|
2331
2406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, decorators: [{
|
|
2332
2407
|
type: NgModule,
|
|
2333
2408
|
args: [{
|
|
2334
|
-
declarations: [
|
|
2335
|
-
|
|
2409
|
+
declarations: [
|
|
2410
|
+
TCloudUiTooltipDirective,
|
|
2411
|
+
TCloudUiAlignDirective
|
|
2412
|
+
],
|
|
2413
|
+
exports: [
|
|
2414
|
+
TCloudUiTooltipDirective,
|
|
2415
|
+
TCloudUiAlignDirective
|
|
2416
|
+
],
|
|
2336
2417
|
}]
|
|
2337
2418
|
}] });
|
|
2338
2419
|
|
|
@@ -2445,6 +2526,7 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
2445
2526
|
TCloudUiChoiceIssuesModule,
|
|
2446
2527
|
TCloudUiInputSearchModule,
|
|
2447
2528
|
TCloudUiNotFoundModule,
|
|
2529
|
+
TCloudUiTableModule,
|
|
2448
2530
|
// Directives
|
|
2449
2531
|
TCloudUiDirectiveModule,
|
|
2450
2532
|
// Pipes
|
|
@@ -2458,6 +2540,7 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
2458
2540
|
TCloudUiChoiceIssuesModule,
|
|
2459
2541
|
TCloudUiInputSearchModule,
|
|
2460
2542
|
TCloudUiNotFoundModule,
|
|
2543
|
+
TCloudUiTableModule,
|
|
2461
2544
|
// Directives
|
|
2462
2545
|
TCloudUiDirectiveModule,
|
|
2463
2546
|
// Pipes
|
|
@@ -2475,6 +2558,7 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2475
2558
|
TCloudUiChoiceIssuesModule,
|
|
2476
2559
|
TCloudUiInputSearchModule,
|
|
2477
2560
|
TCloudUiNotFoundModule,
|
|
2561
|
+
TCloudUiTableModule,
|
|
2478
2562
|
// Directives
|
|
2479
2563
|
TCloudUiDirectiveModule,
|
|
2480
2564
|
// Pipes
|
|
@@ -2488,6 +2572,7 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2488
2572
|
TCloudUiChoiceIssuesModule,
|
|
2489
2573
|
TCloudUiInputSearchModule,
|
|
2490
2574
|
TCloudUiNotFoundModule,
|
|
2575
|
+
TCloudUiTableModule,
|
|
2491
2576
|
// Directives
|
|
2492
2577
|
TCloudUiDirectiveModule,
|
|
2493
2578
|
// Pipes
|
|
@@ -2506,6 +2591,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2506
2591
|
TCloudUiChoiceIssuesModule,
|
|
2507
2592
|
TCloudUiInputSearchModule,
|
|
2508
2593
|
TCloudUiNotFoundModule,
|
|
2594
|
+
TCloudUiTableModule,
|
|
2509
2595
|
// Directives
|
|
2510
2596
|
TCloudUiDirectiveModule,
|
|
2511
2597
|
// Pipes
|
|
@@ -2522,6 +2608,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2522
2608
|
TCloudUiChoiceIssuesModule,
|
|
2523
2609
|
TCloudUiInputSearchModule,
|
|
2524
2610
|
TCloudUiNotFoundModule,
|
|
2611
|
+
TCloudUiTableModule,
|
|
2525
2612
|
// Directives
|
|
2526
2613
|
TCloudUiDirectiveModule,
|
|
2527
2614
|
// Pipes
|
|
@@ -2542,5 +2629,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2542
2629
|
* Generated bundle index. Do not edit.
|
|
2543
2630
|
*/
|
|
2544
2631
|
|
|
2545
|
-
export { CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, 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, TCloudUiPipesModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTooltipDirective };
|
|
2632
|
+
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, TCloudUiPipesModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective };
|
|
2546
2633
|
//# sourceMappingURL=dev-tcloud-tcloud-ui.mjs.map
|