@dev-tcloud/tcloud-ui 0.0.11 → 0.0.13
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 +13 -1
- 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/_services/loading-transitions.service.mjs +3 -2
- package/esm2020/lib/tcloud-ui.module.mjs +8 -1
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +93 -5
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +93 -5
- 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
|
|
|
@@ -2417,10 +2498,11 @@ class TCloudUiLoadingTransitionsService {
|
|
|
2417
2498
|
box = document.createElement("div");
|
|
2418
2499
|
box.setAttribute('id', this.ID);
|
|
2419
2500
|
}
|
|
2501
|
+
box.style.display = 'none';
|
|
2502
|
+
box.innerHTML = `<div class="tc-loading-icon"><i class="fas fa-spinner fa-spin"></i></div>`;
|
|
2420
2503
|
const body = document.getElementsByTagName('body')[0];
|
|
2421
2504
|
body.appendChild(box);
|
|
2422
2505
|
body.classList.add('tcloud-ui-body-loading-transitions');
|
|
2423
|
-
// element.classList.remove('bar', 'baz');
|
|
2424
2506
|
}
|
|
2425
2507
|
}
|
|
2426
2508
|
TCloudUiLoadingTransitionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiLoadingTransitionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -2445,6 +2527,7 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
2445
2527
|
TCloudUiChoiceIssuesModule,
|
|
2446
2528
|
TCloudUiInputSearchModule,
|
|
2447
2529
|
TCloudUiNotFoundModule,
|
|
2530
|
+
TCloudUiTableModule,
|
|
2448
2531
|
// Directives
|
|
2449
2532
|
TCloudUiDirectiveModule,
|
|
2450
2533
|
// Pipes
|
|
@@ -2458,6 +2541,7 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
2458
2541
|
TCloudUiChoiceIssuesModule,
|
|
2459
2542
|
TCloudUiInputSearchModule,
|
|
2460
2543
|
TCloudUiNotFoundModule,
|
|
2544
|
+
TCloudUiTableModule,
|
|
2461
2545
|
// Directives
|
|
2462
2546
|
TCloudUiDirectiveModule,
|
|
2463
2547
|
// Pipes
|
|
@@ -2475,6 +2559,7 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2475
2559
|
TCloudUiChoiceIssuesModule,
|
|
2476
2560
|
TCloudUiInputSearchModule,
|
|
2477
2561
|
TCloudUiNotFoundModule,
|
|
2562
|
+
TCloudUiTableModule,
|
|
2478
2563
|
// Directives
|
|
2479
2564
|
TCloudUiDirectiveModule,
|
|
2480
2565
|
// Pipes
|
|
@@ -2488,6 +2573,7 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2488
2573
|
TCloudUiChoiceIssuesModule,
|
|
2489
2574
|
TCloudUiInputSearchModule,
|
|
2490
2575
|
TCloudUiNotFoundModule,
|
|
2576
|
+
TCloudUiTableModule,
|
|
2491
2577
|
// Directives
|
|
2492
2578
|
TCloudUiDirectiveModule,
|
|
2493
2579
|
// Pipes
|
|
@@ -2506,6 +2592,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2506
2592
|
TCloudUiChoiceIssuesModule,
|
|
2507
2593
|
TCloudUiInputSearchModule,
|
|
2508
2594
|
TCloudUiNotFoundModule,
|
|
2595
|
+
TCloudUiTableModule,
|
|
2509
2596
|
// Directives
|
|
2510
2597
|
TCloudUiDirectiveModule,
|
|
2511
2598
|
// Pipes
|
|
@@ -2522,6 +2609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2522
2609
|
TCloudUiChoiceIssuesModule,
|
|
2523
2610
|
TCloudUiInputSearchModule,
|
|
2524
2611
|
TCloudUiNotFoundModule,
|
|
2612
|
+
TCloudUiTableModule,
|
|
2525
2613
|
// Directives
|
|
2526
2614
|
TCloudUiDirectiveModule,
|
|
2527
2615
|
// Pipes
|
|
@@ -2542,5 +2630,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2542
2630
|
* Generated bundle index. Do not edit.
|
|
2543
2631
|
*/
|
|
2544
2632
|
|
|
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 };
|
|
2633
|
+
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
2634
|
//# sourceMappingURL=dev-tcloud-tcloud-ui.mjs.map
|