@dev-tcloud/tcloud-ui 0.0.55 → 0.0.57
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/_modules/tcloud-ui-filters/tcloud-ui-filters.component.mjs +2 -2
- package/esm2020/lib/_modules/tcloud-ui-filters/tcloud-ui-filters.mjs +2 -1
- package/esm2020/lib/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-content/tcloud-ui-tab-content.component.mjs +7 -4
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +8 -4
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +8 -4
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_modules/tcloud-ui-filters/tcloud-ui-filters.d.ts +2 -1
- package/lib/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-content/tcloud-ui-tab-content.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -227,6 +227,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
227
227
|
class TCloudUiTabContentComponent {
|
|
228
228
|
constructor(tabMenuService) {
|
|
229
229
|
this.tabMenuService = tabMenuService;
|
|
230
|
+
this.hideContent = false;
|
|
230
231
|
this.tab = '';
|
|
231
232
|
this.active = false;
|
|
232
233
|
}
|
|
@@ -245,11 +246,13 @@ class TCloudUiTabContentComponent {
|
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
TCloudUiTabContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTabContentComponent, deps: [{ token: TabMenuService }], target: i0.ɵɵFactoryTarget.Component });
|
|
248
|
-
TCloudUiTabContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiTabContentComponent, selector: "tcloud-ui-tab-content", inputs: { tab: "tab" }, ngImport: i0, template: "<div class=\"tc-tabmenu-content\" *ngIf=\"active\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n", styles: [".tc-tabmenu-content{margin:20px 0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
249
|
+
TCloudUiTabContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiTabContentComponent, selector: "tcloud-ui-tab-content", inputs: { hideContent: "hideContent", tab: "tab" }, ngImport: i0, template: "<div class=\"tc-tabmenu-content\" *ngIf=\"active || hideContent\" [class.tc-table-hide]=\"!active\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n", styles: [".tc-tabmenu-content{margin:20px 0}.tc-table-hide{display:none!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
249
250
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTabContentComponent, decorators: [{
|
|
250
251
|
type: Component,
|
|
251
|
-
args: [{ selector: 'tcloud-ui-tab-content', template: "<div class=\"tc-tabmenu-content\" *ngIf=\"active\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n", styles: [".tc-tabmenu-content{margin:20px 0}\n"] }]
|
|
252
|
-
}], ctorParameters: function () { return [{ type: TabMenuService }]; }, propDecorators: {
|
|
252
|
+
args: [{ selector: 'tcloud-ui-tab-content', template: "<div class=\"tc-tabmenu-content\" *ngIf=\"active || hideContent\" [class.tc-table-hide]=\"!active\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n", styles: [".tc-tabmenu-content{margin:20px 0}.tc-table-hide{display:none!important}\n"] }]
|
|
253
|
+
}], ctorParameters: function () { return [{ type: TabMenuService }]; }, propDecorators: { hideContent: [{
|
|
254
|
+
type: Input
|
|
255
|
+
}], tab: [{
|
|
253
256
|
type: Input
|
|
254
257
|
}] } });
|
|
255
258
|
|
|
@@ -2601,6 +2604,7 @@ var TCFiltersType;
|
|
|
2601
2604
|
TCFiltersType["select"] = "select";
|
|
2602
2605
|
TCFiltersType["boolean"] = "boolean";
|
|
2603
2606
|
TCFiltersType["datetime"] = "datetime-local";
|
|
2607
|
+
TCFiltersType["hidden"] = "hidden";
|
|
2604
2608
|
})(TCFiltersType || (TCFiltersType = {}));
|
|
2605
2609
|
var TCCondition;
|
|
2606
2610
|
(function (TCCondition) {
|
|
@@ -3207,7 +3211,7 @@ class TCloudUiFiltersComponent {
|
|
|
3207
3211
|
}
|
|
3208
3212
|
});
|
|
3209
3213
|
}
|
|
3210
|
-
this.onSubmit.emit(filters);
|
|
3214
|
+
this.onSubmit.emit(JSON.parse(JSON.stringify(this.filters)));
|
|
3211
3215
|
}
|
|
3212
3216
|
collectionFind(obj, path) {
|
|
3213
3217
|
const pathArray = path.split(".");
|