@tetacom/ng-components 1.0.4 → 1.0.8
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/component/filter/filter-host/filter-host.component.d.ts +2 -3
- package/component/table/cell-host/cell-host.component.d.ts +2 -3
- package/component/table/head-cell-host/head-cell-host.component.d.ts +2 -3
- package/component/table/table/table.component.d.ts +2 -2
- package/directive/drag-sort/drag-sort-container.directive.d.ts +1 -2
- package/esm2020/common/service/click.service.mjs +3 -3
- package/esm2020/common/service/dynamic-component.service.mjs +3 -3
- package/esm2020/common/service/overlay-container.service.mjs +3 -3
- package/esm2020/component/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +3 -3
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2020/component/accordion/accordion.module.mjs +4 -4
- package/esm2020/component/button/button/button.component.mjs +3 -3
- package/esm2020/component/button/button.module.mjs +4 -4
- package/esm2020/component/chart/chart/chart.component.mjs +3 -3
- package/esm2020/component/chart/chart.module.mjs +4 -4
- package/esm2020/component/chart/core/chart.mjs +4 -4
- package/esm2020/component/chart-3d/chart-3d.module.mjs +4 -4
- package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/component/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/component/date-picker/date-picker.module.mjs +4 -4
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +3 -3
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +3 -3
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
- package/esm2020/component/date-picker/service/picker-locale.service.mjs +3 -3
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +3 -3
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
- package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
- package/esm2020/component/delimiter/delimiter.module.mjs +4 -4
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +8 -8
- package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/component/dynamic-component/dynamic-component.module.mjs +4 -4
- package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel.module.mjs +4 -4
- package/esm2020/component/file-upload/file-item/file-item.component.mjs +3 -3
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +3 -3
- package/esm2020/component/file-upload/file-upload.module.mjs +4 -4
- package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +3 -3
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +3 -3
- package/esm2020/component/filter/filter-host/filter-host.component.mjs +7 -9
- package/esm2020/component/filter/filter-panel/filter-panel.component.mjs +3 -3
- package/esm2020/component/filter/filter.module.mjs +4 -4
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +3 -3
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +3 -3
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +3 -3
- package/esm2020/component/icon/icon/icon.component.mjs +3 -3
- package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
- package/esm2020/component/icon/icon.module.mjs +4 -4
- package/esm2020/component/icon/icon.service.mjs +3 -3
- package/esm2020/component/input/form-group-title/form-group-title.component.mjs +3 -3
- package/esm2020/component/input/input/input.component.mjs +3 -3
- package/esm2020/component/input/input.module.mjs +4 -4
- package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
- package/esm2020/component/message/message/message.component.mjs +3 -3
- package/esm2020/component/message/message-host/message-host.component.mjs +3 -3
- package/esm2020/component/message/message.module.mjs +4 -4
- package/esm2020/component/message/message.service.mjs +3 -3
- package/esm2020/component/modal/dialog/dialog.component.mjs +3 -3
- package/esm2020/component/modal/dialog.service.mjs +3 -3
- package/esm2020/component/modal/modal-container/modal-container.component.mjs +3 -3
- package/esm2020/component/modal/modal.module.mjs +4 -4
- package/esm2020/component/modal/modal.service.mjs +3 -3
- package/esm2020/component/pager/pager/pager.component.mjs +3 -3
- package/esm2020/component/pager/pager.module.mjs +4 -4
- package/esm2020/component/panel/panel/panel.component.mjs +3 -3
- package/esm2020/component/panel/panel.module.mjs +4 -4
- package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/component/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid.module.mjs +4 -4
- package/esm2020/component/radio/radio/radio.component.mjs +3 -3
- package/esm2020/component/radio/radio-button/radio-button.component.mjs +3 -3
- package/esm2020/component/radio/radio.module.mjs +4 -4
- package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +3 -3
- package/esm2020/component/resize-panel/resize-panel.module.mjs +4 -4
- package/esm2020/component/select/select/select.component.mjs +3 -3
- package/esm2020/component/select/select-option.directive.mjs +3 -3
- package/esm2020/component/select/select-value.directive.mjs +3 -3
- package/esm2020/component/select/select.module.mjs +4 -4
- package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2020/component/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/component/switch/switch/switch.component.mjs +3 -3
- package/esm2020/component/switch/switch-button/switch-button.component.mjs +3 -3
- package/esm2020/component/switch/switch.module.mjs +4 -4
- package/esm2020/component/switch/switch.service.mjs +3 -3
- package/esm2020/component/table/base/cell-component-base.mjs +4 -4
- package/esm2020/component/table/base/head-cell-component-base.mjs +3 -3
- package/esm2020/component/table/cell/cell.component.mjs +3 -3
- package/esm2020/component/table/cell-host/cell-host.component.mjs +7 -9
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +3 -3
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +6 -6
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +3 -3
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +3 -3
- package/esm2020/component/table/default/group-row/group-row.component.mjs +3 -3
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +3 -3
- package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +3 -3
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +3 -3
- package/esm2020/component/table/head-cell/head-cell.component.mjs +3 -3
- package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +3 -3
- package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +7 -9
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +3 -3
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +3 -3
- package/esm2020/component/table/service/table.service.mjs +3 -3
- package/esm2020/component/table/table/table.component.mjs +15 -23
- package/esm2020/component/table/table-body/table-body.component.mjs +3 -3
- package/esm2020/component/table/table-head/table-head.component.mjs +3 -3
- package/esm2020/component/table/table-head-group/table-head-group.component.mjs +3 -3
- package/esm2020/component/table/table.module.mjs +4 -4
- package/esm2020/component/tabs/tab/tab.component.mjs +3 -3
- package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
- package/esm2020/component/tabs/tabs/tabs.component.mjs +3 -3
- package/esm2020/component/tabs/tabs.module.mjs +4 -4
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
- package/esm2020/component/theme-switch/theme-switch.module.mjs +4 -4
- package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
- package/esm2020/component/toggle/toggle/toggle.component.mjs +3 -3
- package/esm2020/component/toggle/toggle.module.mjs +4 -4
- package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +3 -3
- package/esm2020/component/toolbar/toolbar.module.mjs +4 -4
- package/esm2020/component/tree/tree/tree.component.mjs +3 -3
- package/esm2020/component/tree/tree-item/tree-item.component.mjs +3 -3
- package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
- package/esm2020/component/tree/tree.module.mjs +4 -4
- package/esm2020/component/tree/tree.service.mjs +3 -3
- package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
- package/esm2020/directive/click-outside/click-outside.module.mjs +4 -4
- package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
- package/esm2020/directive/context-menu/context-menu.module.mjs +4 -4
- package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
- package/esm2020/directive/disable-control/disable-control.module.mjs +4 -4
- package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +10 -9
- package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
- package/esm2020/directive/drag-sort/drag-sort.module.mjs +4 -4
- package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
- package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
- package/esm2020/directive/highlight/highlight.module.mjs +4 -4
- package/esm2020/directive/hint/hint.directive.mjs +3 -3
- package/esm2020/directive/hint/hint.module.mjs +4 -4
- package/esm2020/directive/loader/loader.directive.mjs +3 -3
- package/esm2020/directive/loader/loader.module.mjs +4 -4
- package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
- package/esm2020/directive/no-autofill/no-autofill.module.mjs +4 -4
- package/esm2020/directive/only-number/only-number.directive.mjs +9 -6
- package/esm2020/directive/only-number/only-number.module.mjs +4 -4
- package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
- package/esm2020/directive/resize-drag/resize-drag.module.mjs +4 -4
- package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
- package/esm2020/directive/teta-template/teta-template.module.mjs +4 -4
- package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/directive/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/pipe/number-pipe/number-pipe.module.mjs +4 -4
- package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +4 -4
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
- package/fesm2015/tetacom-ng-components.mjs +634 -645
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +632 -645
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ import { FormsModule } from '@angular/forms';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class RadioModule {
|
|
8
8
|
}
|
|
9
|
-
RadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
10
|
-
RadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
11
|
-
RadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
9
|
+
RadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: RadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
RadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: RadioModule, declarations: [RadioComponent, RadioButtonComponent], imports: [CommonModule, FormsModule], exports: [RadioComponent, RadioButtonComponent] });
|
|
11
|
+
RadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: RadioModule, imports: [[CommonModule, FormsModule]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: RadioModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [RadioComponent, RadioButtonComponent],
|
|
@@ -137,9 +137,9 @@ export class ResizePanelComponent {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
ResizePanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
141
|
-
ResizePanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
140
|
+
ResizePanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ResizePanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
ResizePanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ResizePanelComponent, selector: "teta-resize-panel", inputs: { direction: "direction", grabPosition: "grabPosition", name: "name", minSize: "minSize", maxSize: "maxSize" }, host: { properties: { "class.resize-panel": "this.resizePanelClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n<div #grab class=\"resize-grab\"\n (resizeStart)=\"resizeStart($event)\"\n (resizeProcess)=\"resizeProcess($event)\"\n (resizeEnd)=\"resizeEnd($event)\"\n [tetaResizeDrag]=\"direction\"\n [ngClass]=\"getClassName()\">\n <teta-icon [name]=\"direction\"></teta-icon>\n</div>\n", styles: [""], components: [{ type: i1.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }], directives: [{ type: i2.ResizeDragDirective, selector: "[tetaResizeDrag]", inputs: ["tetaResizeDrag"], outputs: ["resizeStart", "resizeProcess", "resizeEnd"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ResizePanelComponent, decorators: [{
|
|
143
143
|
type: Component,
|
|
144
144
|
args: [{ selector: 'teta-resize-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n<div #grab class=\"resize-grab\"\n (resizeStart)=\"resizeStart($event)\"\n (resizeProcess)=\"resizeProcess($event)\"\n (resizeEnd)=\"resizeEnd($event)\"\n [tetaResizeDrag]=\"direction\"\n [ngClass]=\"getClassName()\">\n <teta-icon [name]=\"direction\"></teta-icon>\n</div>\n", styles: [""] }]
|
|
145
145
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
@@ -6,10 +6,10 @@ import { ResizeDragModule } from '../../directive/resize-drag/resize-drag.module
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class ResizePanelModule {
|
|
8
8
|
}
|
|
9
|
-
ResizePanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
10
|
-
ResizePanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
11
|
-
ResizePanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
9
|
+
ResizePanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ResizePanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
ResizePanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ResizePanelModule, declarations: [ResizePanelComponent], imports: [CommonModule, IconModule, ResizeDragModule], exports: [ResizePanelComponent] });
|
|
11
|
+
ResizePanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ResizePanelModule, imports: [[CommonModule, IconModule, ResizeDragModule]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ResizePanelModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [ResizePanelComponent],
|
|
@@ -158,15 +158,15 @@ export class SelectComponent {
|
|
|
158
158
|
}
|
|
159
159
|
getSelectedValue() { }
|
|
160
160
|
}
|
|
161
|
-
SelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
162
|
-
SelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
161
|
+
SelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
162
|
+
SelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: SelectComponent, selector: "teta-select", inputs: { multiple: "multiple", options: "options", invalid: "invalid", align: "align", verticalAlign: "verticalAlign", autoClose: "autoClose", autoCloseIgnore: "autoCloseIgnore", disabled: "disabled", itemSize: "itemSize", virtual: "virtual", icon: "icon", placeholder: "placeholder", appendToBody: "appendToBody", allowNull: "allowNull", valueRef: "valueRef", textRef: "textRef", searchRef: "searchRef" }, host: { properties: { "class.select_multiple": "this.multiple", "class.select_open": "this.open", "class.select": "this.selectClass", "tabindex": "this.tabindex", "class.select_disabled": "this.isDisabled" } }, providers: [
|
|
163
163
|
{
|
|
164
164
|
provide: NG_VALUE_ACCESSOR,
|
|
165
165
|
useExisting: forwardRef(() => SelectComponent),
|
|
166
166
|
multi: true,
|
|
167
167
|
},
|
|
168
168
|
], queries: [{ propertyName: "optionDirective", first: true, predicate: SelectOptionDirective, descendants: true, static: true }, { propertyName: "valueDirective", first: true, predicate: SelectValueDirective, descendants: true, static: true }], ngImport: i0, template: "<teta-dropdown [align]=\"align\"\n [verticalAlign]=\"verticalAlign\"\n [autoClose]=\"autoClose\"\n [autoCloseIgnore]=\"autoCloseIgnore\"\n [(open)]=\"open\"\n [appendToBody]=\"appendToBody\"\n [disabled]=\"disabled\"\n class=\"row row_auto\">\n <div tetaDropdownHead\n class=\"row row_auto select-head\"\n [class.select-head_invalid]=\"invalid\">\n <div class=\"row_auto flex align-center\">\n <teta-icon *ngIf=\"icon\" [name]=\"icon\" class=\"margin-right-1\"></teta-icon>\n <span class=\"placeholder\" *ngIf=\"(value == null || value?.length === 0) && placeholder\">\n {{placeholder}}\n </span>\n <ng-container\n *ngTemplateOutlet=\"valueDirective ? valueDirective.template : valueDefault; context: {$implicit: value, value: value}\"></ng-container>\n </div>\n <teta-icon [name]=\"'arrowDownSmall'\"></teta-icon>\n </div>\n <div *ngIf=\"options?.length\" tetaDropdownContent class=\"select-list scrollable row_auto\">\n <ng-container *ngIf=\"searchRef\">\n <div class=\"select-search\">\n <teta-text-field [ngModel]=\"searchText\"\n (ngModelChange)=\"search($event)\"\n [placeholder]=\"'\u041F\u043E\u0438\u0441\u043A'\"\n [leftIconName]=\"'search'\"></teta-text-field>\n </div>\n <div class=\"list-divider\"></div>\n </ng-container>\n <ng-container *ngIf=\"!multiple && allowNull\">\n <div class=\"list-item list-item_interactive\"\n (click)=\"clear()\"\n [class.list-item_active]=\"value==null\">\n \u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043E\n </div>\n <div class=\"list-divider\"></div>\n </ng-container>\n <ng-container *ngIf=\"!virtual\">\n <div class=\"list-item list-item_interactive\"\n *ngFor=\"let option of visibleOptions\"\n [class.select-list-item_active]=\"itemSelected(option) && multiple\"\n [class.list-item_active]=\"itemSelected(option)\"\n [class.select-list-item]=\"multiple\"\n (click)=\"clickOption(option, $event)\">\n <teta-icon *ngIf=\"itemSelected(option) && multiple\" [name]=\"'tick'\" [palette]=\"'primary'\"></teta-icon>\n <span [tetaHighlight]=\"searchText\">\n <ng-container\n *ngTemplateOutlet=\"optionDirective ? optionDirective.template : optionDefault; context: {$implicit: option, option: option}\">\n </ng-container>\n </span>\n </div>\n </ng-container>\n <cdk-virtual-scroll-viewport *ngIf=\"virtual\"\n [itemSize]=\"40\"\n minBufferPx=\"200\"\n maxBufferPx=\"600\">\n <div class=\"select-list-item select-list-item_interactive\"\n *cdkVirtualFor=\"let option of visibleOptions; templateCacheSize: 0;\"\n [class.select-list-item_active]=\"itemSelected(option)\"\n [tetaHighlight]=\"searchText\"\n (click)=\"clickOption(option, $event)\">\n <teta-icon *ngIf=\"itemSelected(option)\" [name]=\"'tick'\" [palette]=\"'primary'\" class=\"margin-left-2\"></teta-icon>\n <div [tetaHighlight]=\"searchText\">\n <ng-container\n *ngTemplateOutlet=\"optionDirective ? optionDirective.template : optionDefault; context: {$implicit: option, option: option}\">\n </ng-container>\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n <div class=\"row row_auto select-chip-field flex-wrap\" *ngIf=\"multiple && value?.length\">\n <div *ngFor=\"let item of value\" class=\"chip\">\n <teta-icon [name]=\"'closeCircle'\" (click)=\"removeItemClick(item, $event)\"></teta-icon>\n {{getText(item)}}\n </div>\n </div>\n </div>\n</teta-dropdown>\n\n<ng-template #optionDefault let-option>\n {{getText(option)}}\n</ng-template>\n<ng-template #valueDefault let-value>\n <div class=\"row_auto overflow-hidden text-overflow-ellipsis\" *ngIf=\"multiple\">\n <ng-container\n *ngFor=\"let item of value; let i = index\">{{getText(item) + (value.length === i + 1 ? '' : ', ') }}</ng-container>\n </div>\n <ng-container *ngIf=\"!multiple\">\n <span class=\"row row_auto overflow-hidden text-overflow-ellipsis\">{{getText(value)}}</span>\n </ng-container>\n</ng-template>\n", styles: [""], components: [{ type: i1.DropdownComponent, selector: "teta-dropdown" }, { type: i2.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }, { type: i3.TextFieldComponent, selector: "teta-text-field", inputs: ["placeholder", "leftIconName", "disabled", "onlyNumber", "invalid"] }, { type: i4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }], directives: [{ type: i5.DropdownHeadDirective, selector: "[tetaDropdownHead]" }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.DropdownContentDirective, selector: "[tetaDropdownContent]" }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i9.HighlightDirective, selector: "[tetaHighlight]", inputs: ["tetaHighlight"] }, { type: i4.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectComponent, decorators: [{
|
|
170
170
|
type: Component,
|
|
171
171
|
args: [{ selector: 'teta-select', providers: [
|
|
172
172
|
{
|
|
@@ -5,9 +5,9 @@ export class SelectOptionDirective {
|
|
|
5
5
|
this.template = template;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
SelectOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
9
|
-
SelectOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
8
|
+
SelectOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectOptionDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
SelectOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: SelectOptionDirective, selector: "[tetaSelectOption]", ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectOptionDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[tetaSelectOption]'
|
|
@@ -5,9 +5,9 @@ export class SelectValueDirective {
|
|
|
5
5
|
this.template = template;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
SelectValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
9
|
-
SelectValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
8
|
+
SelectValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectValueDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
SelectValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: SelectValueDirective, selector: "[tetaSelectValue]", ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectValueDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[tetaSelectValue]'
|
|
@@ -12,15 +12,15 @@ import { InputModule } from '../input/input.module';
|
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export class SelectModule {
|
|
14
14
|
}
|
|
15
|
-
SelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
16
|
-
SelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
15
|
+
SelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
SelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectModule, declarations: [SelectComponent, SelectOptionDirective, SelectValueDirective], imports: [DropdownModule,
|
|
17
17
|
CommonModule,
|
|
18
18
|
ScrollingModule,
|
|
19
19
|
FormsModule,
|
|
20
20
|
IconModule,
|
|
21
21
|
HighlightModule,
|
|
22
22
|
InputModule], exports: [SelectComponent, SelectOptionDirective, SelectValueDirective] });
|
|
23
|
-
SelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
23
|
+
SelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectModule, imports: [[
|
|
24
24
|
DropdownModule,
|
|
25
25
|
CommonModule,
|
|
26
26
|
ScrollingModule,
|
|
@@ -29,7 +29,7 @@ SelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
29
29
|
HighlightModule,
|
|
30
30
|
InputModule,
|
|
31
31
|
]] });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SelectModule, decorators: [{
|
|
33
33
|
type: NgModule,
|
|
34
34
|
args: [{
|
|
35
35
|
declarations: [SelectComponent, SelectOptionDirective, SelectValueDirective],
|
|
@@ -16,8 +16,8 @@ export class SidebarComponent {
|
|
|
16
16
|
}
|
|
17
17
|
ngOnInit() { }
|
|
18
18
|
}
|
|
19
|
-
SidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
20
|
-
SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
19
|
+
SidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: SidebarComponent, selector: "teta-sidebar", inputs: { position: "position", backdrop: "backdrop", open: "open", className: "className" }, outputs: { openChange: "openChange" }, host: { properties: { "style.z-index": "this.zIndex" } }, ngImport: i0, template: "<div *ngIf=\"backdrop && open\"\n [@sidebar]\n (click)=\"setOpen(false)\"\n class=\"sidebar-backdrop\"></div>\n<div class=\"sidebar\"\n [@sidebar]\n [ngClass]=\"className\"\n [class.sidebar-top]=\"position === sidebarPosition.top\"\n [class.sidebar-bottom]=\"position === sidebarPosition.bottom\"\n [class.sidebar-left]=\"position === sidebarPosition.left\"\n [class.sidebar-right]=\"position === sidebarPosition.right\"\n *ngIf=\"open\">\n <ng-content></ng-content>\n</div>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
|
|
21
21
|
trigger('sidebar', [
|
|
22
22
|
transition('void => *', [
|
|
23
23
|
style({ opacity: '0' }),
|
|
@@ -26,7 +26,7 @@ SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
26
26
|
transition('* => void', [animate(300, style({ opacity: '0' }))]),
|
|
27
27
|
]),
|
|
28
28
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: 'teta-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
32
32
|
trigger('sidebar', [
|
|
@@ -6,16 +6,16 @@ import { IconModule } from '../icon/icon.module';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class SidebarModule {
|
|
8
8
|
}
|
|
9
|
-
SidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
10
|
-
SidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
9
|
+
SidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
SidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SidebarModule, declarations: [SidebarComponent], imports: [CommonModule,
|
|
11
11
|
ButtonModule,
|
|
12
12
|
IconModule], exports: [SidebarComponent] });
|
|
13
|
-
SidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
13
|
+
SidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SidebarModule, imports: [[
|
|
14
14
|
CommonModule,
|
|
15
15
|
ButtonModule,
|
|
16
16
|
IconModule
|
|
17
17
|
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SidebarModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
declarations: [SidebarComponent],
|
|
@@ -40,9 +40,9 @@ export class SwitchComponent {
|
|
|
40
40
|
this._alive = false;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
44
|
-
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
43
|
+
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchComponent, deps: [{ token: i1.SwitchService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: SwitchComponent, selector: "teta-switch", host: { properties: { "class.switch": "this.switchClass" } }, providers: [SWITCH_CONTROL_VALUE_ACCESSOR, SwitchService], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{ selector: 'teta-switch', providers: [SWITCH_CONTROL_VALUE_ACCESSOR, SwitchService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [""] }]
|
|
48
48
|
}], ctorParameters: function () { return [{ type: i1.SwitchService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { switchClass: [{
|
|
@@ -28,9 +28,9 @@ export class SwitchButtonComponent {
|
|
|
28
28
|
this._alive = false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
SwitchButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
32
|
-
SwitchButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
31
|
+
SwitchButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchButtonComponent, deps: [{ token: i1.SwitchService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
SwitchButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: SwitchButtonComponent, selector: "teta-switch-button", inputs: { value: "value", class: "class" }, host: { listeners: { "click": "click($event)" }, properties: { "class": "this.getClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchButtonComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: 'teta-switch-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [""] }]
|
|
36
36
|
}], ctorParameters: function () { return [{ type: i1.SwitchService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { value: [{
|
|
@@ -5,12 +5,12 @@ import { SwitchButtonComponent } from './switch-button/switch-button.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class SwitchModule {
|
|
7
7
|
}
|
|
8
|
-
SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
9
|
-
SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
10
|
-
SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
8
|
+
SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent, SwitchButtonComponent], imports: [CommonModule], exports: [SwitchComponent, SwitchButtonComponent] });
|
|
10
|
+
SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchModule, imports: [[
|
|
11
11
|
CommonModule
|
|
12
12
|
]] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
declarations: [SwitchComponent, SwitchButtonComponent],
|
|
@@ -10,9 +10,9 @@ export class SwitchService {
|
|
|
10
10
|
this.value$.next(value);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
SwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
14
|
-
SwitchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
13
|
+
SwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
SwitchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchService, providedIn: 'root' });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: SwitchService, decorators: [{
|
|
16
16
|
type: Injectable,
|
|
17
17
|
args: [{
|
|
18
18
|
providedIn: 'root'
|
|
@@ -81,9 +81,9 @@ export class CellComponentBase {
|
|
|
81
81
|
this.cdr.markForCheck();
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
CellComponentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
85
|
-
CellComponentBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
84
|
+
CellComponentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CellComponentBase, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
85
|
+
CellComponentBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: CellComponentBase, selector: "ng-component", host: { properties: { "class.cell-component": "this.tableCellComponent" } }, ngImport: i0, template: '', isInline: true });
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CellComponentBase, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{
|
|
89
89
|
template: '',
|
|
@@ -92,4 +92,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
|
92
92
|
type: HostBinding,
|
|
93
93
|
args: ['class.cell-component']
|
|
94
94
|
}] } });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
95
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbC1jb21wb25lbnQtYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2NvbXBvbmVudC90YWJsZS9iYXNlL2NlbGwtY29tcG9uZW50LWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxXQUFXLEdBR1osTUFBTSxlQUFlLENBQUM7QUFHdkIsT0FBTyxFQUFDLE1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ICAgICAgICBjb2x1bW46IHRoaXMuY29sdW1uLFxuICAgICAgICAgICAgcm93OiB0aGlzLnJvdyxcbiAgICAgICAgICB9KVxuICAgICAgICApIHtcbiAgICAgICAgICB0aGlzLnN0YXJ0KGNlbGwsICdyb3cnKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5yb3cgIT09IGNlbGw/LnJvdyAmJiB0aGlzLl9lZGl0KSB7XG4gICAgICAgICAgdGhpcy5zdG9wKCk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuXG4gICAgdGhpcy5zdmMuZWRpdENlbGxTdGFydFxuICAgICAgLnBpcGUoXG4gICAgICAgIHRha2VXaGlsZSgoXykgPT4gdGhpcy5fYWxpdmUpLFxuICAgICAgICBmaWx0ZXIoKF8pID0+IHRoaXMuY29sdW1uLmVkaXRhYmxlKVxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgoY2VsbDogSUNlbGxDb29yZGluYXRlczxUPikgPT4ge1xuICAgICAgICBpZiAoXG4gICAgICAgICAgdGhpcy5yb3cgPT09IGNlbGwucm93ICYmXG4gICAgICAgICAgdGhpcy5jb2x1bW4ubmFtZSA9PT0gY2VsbC5jb2x1bW4ubmFtZSAmJlxuICAgICAgICAgICF0aGlzLl9lZGl0XG4gICAgICAgICkge1xuICAgICAgICAgIHRoaXMuc3RhcnQoY2VsbCwgJ2NlbGwnKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoXG4gICAgICAgICAgKHRoaXMucm93ICE9PSBjZWxsLnJvdyB8fCB0aGlzLmNvbHVtbi5uYW1lICE9PSBjZWxsLmNvbHVtbi5uYW1lKSAmJlxuICAgICAgICAgIHRoaXMuX2VkaXRcbiAgICAgICAgKSB7XG4gICAgICAgICAgdGhpcy5zdG9wKCk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuXG4gICAgdGhpcy5zdmMudmFsdWVTZXRcbiAgICAgIC5waXBlKHRha2VXaGlsZSgoXykgPT4gdGhpcy5fYWxpdmUpKVxuICAgICAgLnN1YnNjcmliZSgoY2VsbFZhbHVlOiBJQ2VsbFZhbHVlPFQ+KSA9PiB7XG4gICAgICAgIGlmIChcbiAgICAgICAgICB0aGlzLnJvdyA9PT0gY2VsbFZhbHVlLmNlbGwucm93ICYmXG4gICAgICAgICAgdGhpcy5jb2x1bW4ubmFtZSA9PT0gY2VsbFZhbHVlLmNlbGwuY29sdW1uLm5hbWVcbiAgICAgICAgKSB7XG4gICAgICAgICAgdGhpcy5yb3cuZGF0YVt0aGlzLmNvbHVtbi5uYW1lXSA9IGNlbGxWYWx1ZS52YWx1ZTtcbiAgICAgICAgICB0aGlzLmNkci5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICB9XG5cbiAgcHJpdmF0ZSBzdGFydChpbml0aWF0b3I6IElDZWxsQ29vcmRpbmF0ZXM8VD4sIHR5cGU6ICdjZWxsJyB8ICdyb3cnKSB7XG4gICAgdGhpcy5fZWRpdCA9IHRydWU7XG4gICAgdGhpcy5zdGFydEVkaXQoaW5pdGlhdG9yLCB0eXBlKTtcbiAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgfVxuXG4gIHByaXZhdGUgc3RvcCgpIHtcbiAgICB0aGlzLl9lZGl0ID0gZmFsc2U7XG4gICAgdGhpcy5zdG9wRWRpdCgpO1xuICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICB9XG5cbiAgYWJzdHJhY3Qgc3RhcnRFZGl0KFxuICAgIGluaXRpYXRvcjogSUNlbGxDb29yZGluYXRlczxUPixcbiAgICB0eXBlOiAnY2VsbCcgfCAncm93J1xuICApOiB2b2lkO1xuXG4gIGFic3RyYWN0IHN0b3BFZGl0KCk6IHZvaWQ7XG59XG4iXX0=
|
|
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
4
4
|
export class HeadCellComponentBase {
|
|
5
5
|
}
|
|
6
|
-
HeadCellComponentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
7
|
-
HeadCellComponentBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
6
|
+
HeadCellComponentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: HeadCellComponentBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
HeadCellComponentBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: HeadCellComponentBase, selector: "ng-component", host: { properties: { "class.table-head__cell__component": "this.column" } }, ngImport: i0, template: '', isInline: true });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: HeadCellComponentBase, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
10
|
args: [{
|
|
11
11
|
template: ''
|
|
@@ -13,9 +13,9 @@ export class CellComponent {
|
|
|
13
13
|
this.alive = false;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
CellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
17
|
-
CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
16
|
+
CellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CellComponent, deps: [{ token: i1.TableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: CellComponent, selector: "teta-cell", inputs: { column: "column", filterOptions: "filterOptions", dict: "dict", row: "row" }, host: { properties: { "class.cell": "this.tableCellClass" } }, ngImport: i0, template: "<teta-cell-host [row]=\"row\"\n [column]=\"column\"\n [filterOptions]=\"filterOptions\"\n [dict]=\"dict\"></teta-cell-host>\n", styles: [""], components: [{ type: i2.CellHostComponent, selector: "teta-cell-host", inputs: ["column", "row", "filterOptions", "dict"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CellComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'teta-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-cell-host [row]=\"row\"\n [column]=\"column\"\n [filterOptions]=\"filterOptions\"\n [dict]=\"dict\"></teta-cell-host>\n", styles: [""] }]
|
|
21
21
|
}], ctorParameters: function () { return [{ type: i1.TableService }]; }, propDecorators: { column: [{
|
|
@@ -3,17 +3,15 @@ import { CellComponentBase } from '../base/cell-component-base';
|
|
|
3
3
|
import { getCellComponent } from '../contract/cell-components-map';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class CellHostComponent {
|
|
6
|
-
constructor(viewContainerRef
|
|
6
|
+
constructor(viewContainerRef) {
|
|
7
7
|
this.viewContainerRef = viewContainerRef;
|
|
8
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
9
8
|
this._init = false;
|
|
10
9
|
}
|
|
11
10
|
ngOnInit() {
|
|
12
11
|
if (!CellComponentBase.isPrototypeOf(this.column.cellComponent)) {
|
|
13
12
|
this.column.cellComponent = getCellComponent(this.column);
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
this._componentRef = this.viewContainerRef.createComponent(compFactory);
|
|
14
|
+
this._componentRef = this.viewContainerRef.createComponent(this.column.cellComponent);
|
|
17
15
|
this._componentRef.instance.column = this.column;
|
|
18
16
|
this._componentRef.instance.row = this.row;
|
|
19
17
|
this._componentRef.instance.filterOptions = this.filterOptions;
|
|
@@ -35,12 +33,12 @@ export class CellHostComponent {
|
|
|
35
33
|
}
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
|
-
CellHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
39
|
-
CellHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
36
|
+
CellHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CellHostComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
CellHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: CellHostComponent, selector: "teta-cell-host", inputs: { column: "column", row: "row", filterOptions: "filterOptions", dict: "dict" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CellHostComponent, decorators: [{
|
|
41
39
|
type: Component,
|
|
42
40
|
args: [{ selector: 'teta-cell-host', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [""] }]
|
|
43
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }
|
|
41
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { column: [{
|
|
44
42
|
type: Input
|
|
45
43
|
}], row: [{
|
|
46
44
|
type: Input
|
|
@@ -49,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
|
49
47
|
}], dict: [{
|
|
50
48
|
type: Input
|
|
51
49
|
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+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AgIHRoaXMuX2NvbXBvbmVudFJlZi5pbmplY3Rvci5nZXQoQ2hhbmdlRGV0ZWN0b3JSZWYpLm1hcmtGb3JDaGVjaygpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -29,9 +29,9 @@ export class BooleanCellComponent extends CellComponentBase {
|
|
|
29
29
|
this.cdr.markForCheck();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
33
|
-
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
32
|
+
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: BooleanCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: BooleanCellComponent, selector: "teta-boolean-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{ row.data[column.name] }}\n</span>\n<teta-checkbox\n #input\n *ngIf=\"edit\"\n [binary]=\"true\"\n [(ngModel)]=\"row.data[column.name]\"\n (blur)=\"setValue()\"\n></teta-checkbox>\n", styles: [""], components: [{ type: i2.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{ selector: 'teta-boolean-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{ row.data[column.name] }}\n</span>\n<teta-checkbox\n #input\n *ngIf=\"edit\"\n [binary]=\"true\"\n [(ngModel)]=\"row.data[column.name]\"\n (blur)=\"setValue()\"\n></teta-checkbox>\n", styles: [""] }]
|
|
37
37
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
@@ -15,7 +15,7 @@ export class DateCellComponent extends CellComponentBase {
|
|
|
15
15
|
super.ngOnInit();
|
|
16
16
|
}
|
|
17
17
|
setValue(value) {
|
|
18
|
-
this.row.data[this.column.name] = value;
|
|
18
|
+
this.row.data[this.column.name] = value ? new Date(value) : value;
|
|
19
19
|
this.valueChanged();
|
|
20
20
|
}
|
|
21
21
|
startEdit(initiator, type) {
|
|
@@ -30,11 +30,11 @@ export class DateCellComponent extends CellComponentBase {
|
|
|
30
30
|
this.cdr.markForCheck();
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
34
|
-
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
33
|
+
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DateCellComponent, selector: "teta-date-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"\n #input\n *ngIf=\"edit\"\n [appendToBody]=\"false\"\n [showTime]=\"false\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], components: [{ type: i2.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "appendToBody", "showTime", "format"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "date": i3.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
|
-
args: [{ selector: 'teta-date-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"
|
|
37
|
+
args: [{ selector: 'teta-date-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"\n #input\n *ngIf=\"edit\"\n [appendToBody]=\"false\"\n [showTime]=\"false\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""] }]
|
|
38
38
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
39
39
|
type: Input
|
|
40
40
|
}], row: [{
|
|
@@ -43,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
|
43
43
|
type: ViewChild,
|
|
44
44
|
args: ['input', { static: false }]
|
|
45
45
|
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2NvbXBvbmVudC90YWJsZS9kZWZhdWx0L2RhdGUtY2VsbC9kYXRlLWNlbGwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvY29tcG9uZW50L3RhYmxlL2RlZmF1bHQvZGF0ZS1jZWxsL2RhdGUtY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFDVCxLQUFLLEVBRUwsU0FBUyx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G9yOiBJQ2VsbENvb3JkaW5hdGVzPFQ+LCB0eXBlOiAnY2VsbCcgfCAncm93Jyk6IHZvaWQge1xuICAgIGlmIChpbml0aWF0b3I/LmNvbHVtbi5uYW1lID09PSB0aGlzLmNvbHVtbi5uYW1lKSB7XG4gICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgdGhpcy5pbnB1dD8uZm9jdXMoKTtcbiAgICAgICAgdGhpcy5jZHIubWFya0ZvckNoZWNrKCk7XG4gICAgICB9LCAwKTtcbiAgICB9XG4gIH1cblxuICBzdG9wRWRpdCgpOiB2b2lkIHtcbiAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgfVxufVxuIiwiPHNwYW4gW3N0eWxlLmRpc3BsYXldPVwiZWRpdCA/ICdub25lJyA6ICdibG9jaydcIiBjbGFzcz1cImNlbGwtdGV4dFwiPlxuICB7e3Jvdy5kYXRhW2NvbHVtbi5uYW1lXSB8IGRhdGUgOiAnZGQuTU0ueXl5eSd9fVxuPC9zcGFuPlxuPHRldGEtZGF0ZS1waWNrZXIgY2xhc3M9XCJkYXRlcGlja2VyLXRhYmxlXCJcbiAgICAgICAgICAgICAgICAgICNpbnB1dFxuICAgICAgICAgICAgICAgICAgKm5nSWY9XCJlZGl0XCJcbiAgICAgICAgICAgICAgICAgIFthcHBlbmRUb0JvZHldPVwiZmFsc2VcIlxuICAgICAgICAgICAgICAgICAgW3Nob3dUaW1lXT1cImZhbHNlXCJcbiAgICAgICAgICAgICAgICAgIFtuZ01vZGVsXT1cInJvdy5kYXRhW2NvbHVtbi5uYW1lXVwiXG4gICAgICAgICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJzZXRWYWx1ZSgkZXZlbnQpXCJcbj48L3RldGEtZGF0ZS1waWNrZXI+XG4iXX0=
|
|
@@ -30,9 +30,9 @@ export class DateTimeCellComponent extends CellComponentBase {
|
|
|
30
30
|
this.cdr.markForCheck();
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
34
|
-
DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
33
|
+
DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateTimeCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DateTimeCellComponent, selector: "teta-date-time-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], components: [{ type: i2.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "appendToBody", "showTime", "format"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "date": i3.DatePipe } });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateTimeCellComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: 'teta-date-time-cell', template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""] }]
|
|
38
38
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
@@ -17,9 +17,9 @@ export class DefaultHeadCellComponent extends HeadCellComponentBase {
|
|
|
17
17
|
}
|
|
18
18
|
ngOnInit() { }
|
|
19
19
|
}
|
|
20
|
-
DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
21
|
-
DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
20
|
+
DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DefaultHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DefaultHeadCellComponent, selector: "teta-default-head-cell", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<div class=\"column column_auto align-center\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text align-center\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text align-center color-text-70\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0}\n"], directives: [{ type: i1.HintDirective, selector: "[tetaHint]", inputs: ["tetaHint", "align", "verticalAlign", "delay"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DefaultHeadCellComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'teta-default-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"column column_auto align-center\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text align-center\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text align-center color-text-70\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0}\n"] }]
|
|
25
25
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|