@tetacom/ng-components 1.7.0 → 1.7.2
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/.eslintrc.json +1 -1
- package/docs/accordionDocs.mdx +1 -1
- package/docs/avatarDocs.mdx +1 -1
- package/docs/badgeDocs.mdx +1 -1
- package/docs/buttonDocs.mdx +1 -1
- package/docs/checkboxDocs.mdx +1 -1
- package/docs/chipDocs.mdx +1 -1
- package/docs/datePickerDocs.mdx +1 -1
- package/docs/dateRangeDocs.mdx +1 -1
- package/docs/delimiterDocs.mdx +1 -1
- package/docs/dropdownDocs.mdx +1 -1
- package/docs/expandCardlDocs.mdx +1 -1
- package/docs/expandPanelDocs.mdx +1 -1
- package/docs/fileAreaDocs.mdx +1 -1
- package/docs/iconDocs.mdx +1 -1
- package/docs/inputDocs.mdx +1 -1
- package/docs/listDocs.mdx +1 -1
- package/docs/messageDocs.mdx +1 -1
- package/docs/modalDocs.mdx +1 -1
- package/docs/progressBarDocs.mdx +1 -1
- package/docs/propertyGridDocs.mdx +1 -1
- package/docs/radioDocs.mdx +1 -1
- package/docs/resizePanelDocs.mdx +1 -1
- package/docs/selectDocs.mdx +1 -1
- package/docs/stepperDocs.mdx +1 -1
- package/docs/switchDocs.mdx +1 -1
- package/docs/tableDocs.mdx +1 -1
- package/docs/tabsDocs.mdx +1 -1
- package/docs/tagDocs.mdx +1 -1
- package/docs/toggleDocs.mdx +1 -1
- package/docs/toolbarDocs.mdx +1 -1
- package/docs/treeDocs.mdx +1 -1
- package/fesm2022/tetacom-ng-components.mjs +974 -984
- package/fesm2022/tetacom-ng-components.mjs.map +1 -1
- package/package.json +5 -4
- package/types/tetacom-ng-components.d.ts +3600 -0
- package/common/contract/auto-close-ignore-case.d.ts +0 -1
- package/common/contract/constructor-type.d.ts +0 -1
- package/common/contract/dynamic-data.d.ts +0 -6
- package/common/contract/i-dictionary.d.ts +0 -3
- package/common/contract/i-id-name.d.ts +0 -6
- package/common/contract/i-id.d.ts +0 -3
- package/common/contract/i-rect.d.ts +0 -8
- package/common/contract/i-tree-data.d.ts +0 -4
- package/common/contract/public-api.d.ts +0 -9
- package/common/contract/teta-content-ref.d.ts +0 -7
- package/common/enum/align.enum.d.ts +0 -11
- package/common/enum/public-api.d.ts +0 -3
- package/common/enum/teta-size.enum.d.ts +0 -7
- package/common/enum/vertical-align.enum.d.ts +0 -9
- package/common/model/public-api.d.ts +0 -1
- package/common/model/view-type.model.d.ts +0 -1
- package/common/public-api.d.ts +0 -5
- package/common/service/click.service.d.ts +0 -10
- package/common/service/dynamic-component.service.d.ts +0 -21
- package/common/service/overlay-container.service.d.ts +0 -14
- package/common/service/public-api.d.ts +0 -3
- package/common/util/array-util.d.ts +0 -9
- package/common/util/dom-util.d.ts +0 -5
- package/common/util/position-util.d.ts +0 -9
- package/common/util/public-api.d.ts +0 -3
- package/component/accordion/accordion/accordion.component.d.ts +0 -6
- package/component/accordion/accordion-content.directive.d.ts +0 -8
- package/component/accordion/accordion-head/accordion-head.component.d.ts +0 -15
- package/component/accordion/accordion-item/accordion-item.component.d.ts +0 -21
- package/component/accordion/public-api.d.ts +0 -4
- package/component/autocomplete/autocomplete/autocomplete.component.d.ts +0 -8
- package/component/autocomplete/public-api.d.ts +0 -1
- package/component/avatar/avatar/avatar.component.d.ts +0 -17
- package/component/avatar/model/avatar-color.enum.d.ts +0 -20
- package/component/avatar/public-api.d.ts +0 -1
- package/component/button/button/button.component.d.ts +0 -15
- package/component/button/public-api.d.ts +0 -1
- package/component/chart-3d/chart3d/chart3d.component.d.ts +0 -61
- package/component/chart-3d/model/base-3d-point.d.ts +0 -6
- package/component/chart-3d/model/chart-3d-options.d.ts +0 -11
- package/component/chart-3d/model/chart3d-tooltip.d.ts +0 -22
- package/component/chart-3d/model/public-api.d.ts +0 -2
- package/component/chart-3d/model/series-3d.d.ts +0 -11
- package/component/chart-3d/public-api.d.ts +0 -2
- package/component/chart-3d/services/chart3d-tooltip.service.d.ts +0 -14
- package/component/checkbox/checkbox/checkbox.component.d.ts +0 -47
- package/component/checkbox/public-api.d.ts +0 -1
- package/component/date-picker/base-calendar.d.ts +0 -50
- package/component/date-picker/base-picker.d.ts +0 -62
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +0 -21
- package/component/date-picker/date-picker/date-picker.component.d.ts +0 -61
- package/component/date-picker/date-range/date-range.component.d.ts +0 -51
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +0 -40
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +0 -9
- package/component/date-picker/day-picker/day-picker.component.d.ts +0 -32
- package/component/date-picker/model/date-period.d.ts +0 -5
- package/component/date-picker/model/date-picker-mode.enum.d.ts +0 -5
- package/component/date-picker/model/day-model.d.ts +0 -16
- package/component/date-picker/model/from-to.model.d.ts +0 -4
- package/component/date-picker/model/min-max-date.model.d.ts +0 -4
- package/component/date-picker/model/public-api.d.ts +0 -5
- package/component/date-picker/month-picker/month-picker.component.d.ts +0 -19
- package/component/date-picker/public-api.d.ts +0 -5
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +0 -11
- package/component/date-picker/year-picker/year-picker.component.d.ts +0 -23
- package/component/delimiter/delimiter/delimiter.component.d.ts +0 -19
- package/component/delimiter/public-api.d.ts +0 -1
- package/component/divider/divider/divider.component.d.ts +0 -10
- package/component/divider/public-api.d.ts +0 -1
- package/component/dropdown/dropdown/dropdown.component.d.ts +0 -15
- package/component/dropdown/dropdown-base.d.ts +0 -45
- package/component/dropdown/dropdown-content.directive.d.ts +0 -9
- package/component/dropdown/dropdown-head.directive.d.ts +0 -8
- package/component/dropdown/dropdown.directive.d.ts +0 -16
- package/component/dropdown/public-api.d.ts +0 -4
- package/component/dynamic-component/popup-content/popup-content.component.d.ts +0 -13
- package/component/dynamic-component/public-api.d.ts +0 -1
- package/component/expand-card/expand-card/expand-card.component.d.ts +0 -13
- package/component/expand-card/expand-item/expand-item.component.d.ts +0 -9
- package/component/expand-card/public-api.d.ts +0 -2
- package/component/expand-panel/expand-panel/expand-panel.component.d.ts +0 -21
- package/component/expand-panel/expand-panel-content.directive.d.ts +0 -8
- package/component/expand-panel/expand-panel-head.directive.d.ts +0 -8
- package/component/expand-panel/public-api.d.ts +0 -3
- package/component/file-upload/file-item/file-item.component.d.ts +0 -8
- package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +0 -22
- package/component/file-upload/public-api.d.ts +0 -2
- package/component/filter/base/filter-base.d.ts +0 -10
- package/component/filter/base/filter-component-base.d.ts +0 -12
- package/component/filter/boolean-filter/boolean-filter.component.d.ts +0 -30
- package/component/filter/contarct/boolean-filter.d.ts +0 -8
- package/component/filter/contarct/date-filter-value.d.ts +0 -14
- package/component/filter/contarct/date-filter.d.ts +0 -9
- package/component/filter/contarct/filter-component-map.d.ts +0 -3
- package/component/filter/contarct/filter-item.d.ts +0 -78
- package/component/filter/contarct/filter-state.d.ts +0 -30
- package/component/filter/contarct/i-filter.d.ts +0 -5
- package/component/filter/contarct/list-filter.d.ts +0 -11
- package/component/filter/contarct/numeric-filter-value.d.ts +0 -19
- package/component/filter/contarct/numeric-filter.d.ts +0 -11
- package/component/filter/contarct/sort-param.d.ts +0 -22
- package/component/filter/contarct/string-filter.d.ts +0 -11
- package/component/filter/date-filter/date-filter.component.d.ts +0 -30
- package/component/filter/enum/filter-type.enum.d.ts +0 -9
- package/component/filter/enum/list-filter-type.enum.d.ts +0 -4
- package/component/filter/enum/string-filter-type.enum.d.ts +0 -18
- package/component/filter/filter-host/filter-host.component.d.ts +0 -26
- package/component/filter/list-filter/list-filter.component.d.ts +0 -36
- package/component/filter/numeric-filter/numeric-filter.component.d.ts +0 -30
- package/component/filter/public-api.d.ts +0 -22
- package/component/filter/string-filter/string-filter.component.d.ts +0 -30
- package/component/icon/icon/icon.component.d.ts +0 -12
- package/component/icon/icon-file/icon-file.component.d.ts +0 -12
- package/component/icon/icon-sprite.directive.d.ts +0 -12
- package/component/icon/icon.service.d.ts +0 -19
- package/component/icon/public-api.d.ts +0 -4
- package/component/input/color-input/color-input.component.d.ts +0 -22
- package/component/input/form-group-title/form-group-title.component.d.ts +0 -9
- package/component/input/input/input.component.d.ts +0 -14
- package/component/input/public-api.d.ts +0 -5
- package/component/input/text-field/text-field.component.d.ts +0 -28
- package/component/message/message/message.component.d.ts +0 -19
- package/component/message/message-host/message-host.component.d.ts +0 -25
- package/component/message/message.service.d.ts +0 -15
- package/component/message/model/message.d.ts +0 -24
- package/component/message/public-api.d.ts +0 -4
- package/component/modal/dialog/dialog.component.d.ts +0 -21
- package/component/modal/dialog.service.d.ts +0 -13
- package/component/modal/modal-container/modal-container.component.d.ts +0 -17
- package/component/modal/modal.module.d.ts +0 -10
- package/component/modal/modal.service.d.ts +0 -23
- package/component/modal/model/current-modal.d.ts +0 -4
- package/component/modal/model/dialog-data.d.ts +0 -11
- package/component/modal/model/i-modal-config.d.ts +0 -11
- package/component/modal/model/i-modal-result.d.ts +0 -12
- package/component/modal/model/modal-close-reason.enum.d.ts +0 -6
- package/component/modal/model/modal-instance.d.ts +0 -16
- package/component/modal/public-api.d.ts +0 -10
- package/component/pager/model/pager-state.d.ts +0 -40
- package/component/pager/pager/pager.component.d.ts +0 -8
- package/component/pager/public-api.d.ts +0 -3
- package/component/pager/util/pager-util.d.ts +0 -4
- package/component/panel/panel/panel.component.d.ts +0 -12
- package/component/panel/public-api.d.ts +0 -1
- package/component/progress-bar/progress-bar/progress-bar.component.d.ts +0 -46
- package/component/progress-bar/public-api.d.ts +0 -1
- package/component/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +0 -17
- package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +0 -37
- package/component/property-grid/property-grid/property-grid-item-description.directive.d.ts +0 -9
- package/component/property-grid/property-grid/property-grid.component.d.ts +0 -25
- package/component/property-grid/public-api.d.ts +0 -3
- package/component/public-api.d.ts +0 -36
- package/component/radio/public-api.d.ts +0 -2
- package/component/radio/radio/radio.component.d.ts +0 -45
- package/component/radio/radio-button/radio-button.component.d.ts +0 -20
- package/component/resize-panel/public-api.d.ts +0 -1
- package/component/resize-panel/resize-panel/resize-panel.component.d.ts +0 -37
- package/component/select/public-api.d.ts +0 -3
- package/component/select/select/select.component.d.ts +0 -72
- package/component/select/select-option.directive.d.ts +0 -8
- package/component/select/select-value.directive.d.ts +0 -8
- package/component/sidebar/public-api.d.ts +0 -2
- package/component/sidebar/sidebar/sidebar.component.d.ts +0 -17
- package/component/sidebar/sidebar-position.enum.d.ts +0 -6
- package/component/stepper/public-api.d.ts +0 -1
- package/component/stepper/stepper/stepper.component.d.ts +0 -10
- package/component/switch/public-api.d.ts +0 -2
- package/component/switch/switch/switch.component.d.ts +0 -25
- package/component/switch/switch-button/switch-button.component.d.ts +0 -18
- package/component/switch/switch.service.d.ts +0 -10
- package/component/table/base/cell-component-base.d.ts +0 -42
- package/component/table/base/detail-component-base.d.ts +0 -11
- package/component/table/base/head-cell-component-base.d.ts +0 -9
- package/component/table/cell/cell.component.d.ts +0 -14
- package/component/table/cell-host/cell-host.component.d.ts +0 -20
- package/component/table/contract/cell-components-map.d.ts +0 -3
- package/component/table/contract/column-reorder-event.d.ts +0 -6
- package/component/table/contract/column-resize-event.d.ts +0 -6
- package/component/table/contract/head-dropdown-tab.d.ts +0 -13
- package/component/table/contract/i-cell-coordinates.d.ts +0 -4
- package/component/table/contract/i-cell-event.d.ts +0 -4
- package/component/table/contract/i-cell-instance.d.ts +0 -16
- package/component/table/contract/i-cell-value.d.ts +0 -4
- package/component/table/contract/public-api.d.ts +0 -12
- package/component/table/contract/sort-event.d.ts +0 -6
- package/component/table/contract/table-column-store.d.ts +0 -15
- package/component/table/contract/table-column.d.ts +0 -141
- package/component/table/contract/table-row.d.ts +0 -8
- package/component/table/default/boolean-cell/boolean-cell.component.d.ts +0 -16
- package/component/table/default/color-cell/color-cell.component.d.ts +0 -20
- package/component/table/default/date-cell/date-cell.component.d.ts +0 -18
- package/component/table/default/date-time-cell/date-time-cell.component.d.ts +0 -18
- package/component/table/default/default-head-cell/default-head-cell.component.d.ts +0 -20
- package/component/table/default/list-cell/list-cell.component.d.ts +0 -23
- package/component/table/default/numeric-cell/numeric-cell.component.d.ts +0 -16
- package/component/table/default/string-cell/string-cell.component.d.ts +0 -18
- package/component/table/enum/aggregation-type.enum.d.ts +0 -7
- package/component/table/enum/edit-event.enum.d.ts +0 -5
- package/component/table/enum/edit-type.enum.d.ts +0 -5
- package/component/table/enum/public-api.d.ts +0 -4
- package/component/table/enum/select-type.enum.d.ts +0 -5
- package/component/table/head-cell/head-cell.component.d.ts +0 -52
- package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +0 -25
- package/component/table/head-cell-host/head-cell-host.component.d.ts +0 -21
- package/component/table/public-api.d.ts +0 -42
- package/component/table/selection-cell/selection-cell.component.d.ts +0 -15
- package/component/table/selection-head-cell/selection-head-cell.component.d.ts +0 -16
- package/component/table/service/table.service.d.ts +0 -140
- package/component/table/table/table.component.d.ts +0 -87
- package/component/table/table-body/table-body.component.d.ts +0 -67
- package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +0 -31
- package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +0 -42
- package/component/table/table-head/table-head.component.d.ts +0 -31
- package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +0 -44
- package/component/table/table-head-group/table-head-group.component.d.ts +0 -24
- package/component/table/table-row/table-row.component.d.ts +0 -14
- package/component/table/util/color-util.d.ts +0 -3
- package/component/table/util/public-api.d.ts +0 -3
- package/component/table/util/state-util.d.ts +0 -17
- package/component/table/util/table-util.d.ts +0 -20
- package/component/tabs/public-api.d.ts +0 -10
- package/component/tabs/tab/tab.component.d.ts +0 -23
- package/component/tabs/tab-content.directive.d.ts +0 -8
- package/component/tabs/tab-title.directive.d.ts +0 -8
- package/component/tabs/tabs/tabs.component.d.ts +0 -43
- package/component/theme-switch/public-api.d.ts +0 -2
- package/component/theme-switch/theme-switch/theme-switch.component.d.ts +0 -16
- package/component/theme-switch/theme-switch.service.d.ts +0 -12
- package/component/toggle/public-api.d.ts +0 -1
- package/component/toggle/toggle/toggle.component.d.ts +0 -32
- package/component/toolbar/public-api.d.ts +0 -4
- package/component/toolbar/toolbar/toolbar.component.d.ts +0 -10
- package/component/tree/public-api.d.ts +0 -3
- package/component/tree/tree/tree.component.d.ts +0 -38
- package/component/tree/tree-item/tree-item.component.d.ts +0 -25
- package/component/tree/tree-item-toggle/tree-item-toggle.component.d.ts +0 -13
- package/component/tree/tree.service.d.ts +0 -17
- package/directive/auto-position/auto-position.directive.d.ts +0 -18
- package/directive/auto-position/public-api.d.ts +0 -1
- package/directive/click-outside/click-outside.directive.d.ts +0 -18
- package/directive/click-outside/public-api.d.ts +0 -1
- package/directive/context-menu/context-menu.directive.d.ts +0 -34
- package/directive/context-menu/public-api.d.ts +0 -1
- package/directive/disable-control/disable-control.directive.d.ts +0 -13
- package/directive/disable-control/public-api.d.ts +0 -1
- package/directive/drag-drop/drag-container.directive.d.ts +0 -32
- package/directive/drag-drop/drag-drop.service.d.ts +0 -40
- package/directive/drag-drop/drag-placeholder.directive.d.ts +0 -6
- package/directive/drag-drop/drag-preview.directive.d.ts +0 -8
- package/directive/drag-drop/drag.directive.d.ts +0 -33
- package/directive/drag-drop/model/drag-container-instance.d.ts +0 -11
- package/directive/drag-drop/model/drag-instance.d.ts +0 -9
- package/directive/drag-drop/model/drag-process.d.ts +0 -4
- package/directive/drag-drop/model/drag-selection.d.ts +0 -6
- package/directive/drag-drop/model/drop-event.d.ts +0 -8
- package/directive/drag-drop/model/drop-target.d.ts +0 -3
- package/directive/drag-drop/model/point.d.ts +0 -4
- package/directive/drag-drop/model/public-api.d.ts +0 -7
- package/directive/drag-drop/public-api.d.ts +0 -6
- package/directive/drag-sort/drag-sort-container.directive.d.ts +0 -16
- package/directive/drag-sort/drag-sort-event.d.ts +0 -7
- package/directive/drag-sort/drag-sort-item.directive.d.ts +0 -30
- package/directive/drag-sort/public-api.d.ts +0 -3
- package/directive/dynamic-content-base.directive.d.ts +0 -33
- package/directive/full-screen/full-screen-toggle.directive.d.ts +0 -7
- package/directive/full-screen/full-screen.directive.d.ts +0 -12
- package/directive/full-screen/full-screen.service.d.ts +0 -9
- package/directive/highlight/highlight.directive.d.ts +0 -12
- package/directive/highlight/public-api.d.ts +0 -1
- package/directive/hint/hint.directive.d.ts +0 -36
- package/directive/hint/public-api.d.ts +0 -1
- package/directive/let/let.directive.d.ts +0 -18
- package/directive/let/public-api.d.ts +0 -1
- package/directive/loader/loader.directive.d.ts +0 -24
- package/directive/loader/public-api.d.ts +0 -1
- package/directive/no-autofill/no-autofill.directive.d.ts +0 -10
- package/directive/no-autofill/public-api.d.ts +0 -1
- package/directive/only-number/only-number.directive.d.ts +0 -28
- package/directive/only-number/public-api.d.ts +0 -1
- package/directive/public-api.d.ts +0 -21
- package/directive/resize-drag/public-api.d.ts +0 -1
- package/directive/resize-drag/resize-drag.directive.d.ts +0 -20
- package/directive/scroll-into-view/public-api.d.ts +0 -1
- package/directive/scroll-into-view/scroll-into-view.directive.d.ts +0 -13
- package/directive/scrollable/public-api.d.ts +0 -2
- package/directive/scrollable/scrollable/scrollable.component.d.ts +0 -34
- package/directive/scrollable/scrollable.directive.d.ts +0 -6
- package/directive/teta-template/public-api.d.ts +0 -1
- package/directive/teta-template/teta-template.directive.d.ts +0 -10
- package/directive/tooltip/public-api.d.ts +0 -1
- package/directive/tooltip/tooltip.directive.d.ts +0 -31
- package/index.d.ts +0 -19
- package/locale/en.d.ts +0 -2
- package/locale/public-api.d.ts +0 -4
- package/locale/ru.d.ts +0 -2
- package/locale/teta-config.service.d.ts +0 -11
- package/locale/teta-localisation.d.ts +0 -36
- package/observable/animation-frame.d.ts +0 -4
- package/observable/public-api.d.ts +0 -2
- package/observable/zone-observable.d.ts +0 -5
- package/pipe/date-pipe/public-api.d.ts +0 -1
- package/pipe/date-pipe/teta-date.pipe.d.ts +0 -11
- package/pipe/number-pipe/number.pipe.d.ts +0 -7
- package/pipe/number-pipe/public-api.d.ts +0 -1
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +0 -7
- package/pipe/prepend-zero/public-api.d.ts +0 -1
- package/pipe/public-api.d.ts +0 -4
- package/pipe/util/number-helper.d.ts +0 -3
- package/util/bool-or-func.d.ts +0 -1
- package/util/date-util.d.ts +0 -43
- package/util/export-dom-image.d.ts +0 -12
- package/util/forms-util.d.ts +0 -15
- package/util/is-function.d.ts +0 -1
- package/util/public-api.d.ts +0 -6
- package/util/string-util.d.ts +0 -4
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { DatePipe } from '@angular/common';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
3
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
4
|
-
import { Observable, ReplaySubject } from 'rxjs';
|
|
5
|
-
import { Align } from '../../common/enum/align.enum';
|
|
6
|
-
import { VerticalAlign } from '../../common/enum/vertical-align.enum';
|
|
7
|
-
import { viewType } from '../../common/model/view-type.model';
|
|
8
|
-
import { DateFromToModel } from './model/from-to.model';
|
|
9
|
-
import { TetaLocalisation } from '../../locale/teta-localisation';
|
|
10
|
-
export declare abstract class BasePicker {
|
|
11
|
-
protected _elementRef: ElementRef;
|
|
12
|
-
protected _cdr: ChangeDetectorRef;
|
|
13
|
-
protected datePipe: DatePipe;
|
|
14
|
-
abstract mask: string;
|
|
15
|
-
abstract date: any;
|
|
16
|
-
abstract locale: Observable<TetaLocalisation>;
|
|
17
|
-
abstract showTime: boolean;
|
|
18
|
-
abstract minDate: Date | string | number;
|
|
19
|
-
abstract maxDate: Date | string | number;
|
|
20
|
-
abstract invalid: boolean;
|
|
21
|
-
abstract disabled: boolean;
|
|
22
|
-
abstract align: Align;
|
|
23
|
-
abstract verticalAlign: VerticalAlign;
|
|
24
|
-
abstract viewType: viewType;
|
|
25
|
-
abstract appendToBody: boolean;
|
|
26
|
-
abstract backdrop: boolean;
|
|
27
|
-
abstract allowNull: boolean;
|
|
28
|
-
abstract input: ElementRef;
|
|
29
|
-
abstract selectDate: EventEmitter<Date> | EventEmitter<DateFromToModel>;
|
|
30
|
-
open: boolean;
|
|
31
|
-
abstract selectedDate: ReplaySubject<any>;
|
|
32
|
-
placeholder: string;
|
|
33
|
-
inputText: string;
|
|
34
|
-
maskitoOptions: MaskitoOptions;
|
|
35
|
-
protected constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, datePipe: DatePipe);
|
|
36
|
-
abstract onChange(date: Date): any;
|
|
37
|
-
abstract prepareInput(): any;
|
|
38
|
-
abstract onBlur(): any;
|
|
39
|
-
abstract setDate(date: any): any;
|
|
40
|
-
changeInput(v: any): void;
|
|
41
|
-
changePlaceholder(value: string): void;
|
|
42
|
-
openChange(e: boolean): void;
|
|
43
|
-
checkNull(): string;
|
|
44
|
-
openPicker: (show: boolean) => void;
|
|
45
|
-
changeSelectedDate(date: any, selectedDate?: any): void;
|
|
46
|
-
emitValue(value: any): void;
|
|
47
|
-
isValueChange(value: any): boolean;
|
|
48
|
-
checkEnter(e: any): void;
|
|
49
|
-
isAvailableLength(val: string, length: number): boolean;
|
|
50
|
-
getDateFromStr(str: string, separator?: string): {
|
|
51
|
-
day: number;
|
|
52
|
-
month: number;
|
|
53
|
-
year: number;
|
|
54
|
-
};
|
|
55
|
-
getTimeFromStr(str: string, separator?: string): {
|
|
56
|
-
hours: number;
|
|
57
|
-
mins: number;
|
|
58
|
-
};
|
|
59
|
-
focus(): void;
|
|
60
|
-
getLocaleString(date: Date | number | string): string;
|
|
61
|
-
getAvailableDate(min: Date | number | string, max: Date | number | string, date: Date | number | string): Date;
|
|
62
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { viewType } from '../../../../common/model/view-type.model';
|
|
3
|
-
import { BaseCalendar } from '../../base-calendar';
|
|
4
|
-
import { DayModel } from '../../model/day-model';
|
|
5
|
-
import { TetaLocalisation } from '../../../../locale/teta-localisation';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DateCalendarComponent extends BaseCalendar implements OnChanges, OnDestroy {
|
|
8
|
-
_cdr: ChangeDetectorRef;
|
|
9
|
-
selectedDate: Date | string | number;
|
|
10
|
-
open: boolean;
|
|
11
|
-
locale: TetaLocalisation;
|
|
12
|
-
viewType: viewType;
|
|
13
|
-
min: Date | string | number;
|
|
14
|
-
isDateNull: boolean;
|
|
15
|
-
max: Date | string | number;
|
|
16
|
-
setDate: EventEmitter<Date>;
|
|
17
|
-
calendar: DayModel[];
|
|
18
|
-
constructor(_cdr: ChangeDetectorRef);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateCalendarComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateCalendarComponent, "teta-date-calendar", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; "open": { "alias": "open"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "min": { "alias": "min"; "required": false; }; "isDateNull": { "alias": "isDateNull"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "setDate": "setDate"; }, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { DatePipe } from '@angular/common';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { Observable, ReplaySubject } from 'rxjs';
|
|
5
|
-
import { Align } from '../../../common/enum/align.enum';
|
|
6
|
-
import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
|
|
7
|
-
import { viewType } from '../../../common/model/view-type.model';
|
|
8
|
-
import { BasePicker } from '../base-picker';
|
|
9
|
-
import { DatePeriod } from '../model/date-period';
|
|
10
|
-
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
11
|
-
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare const DATE_PICKER_CONTROL_VALUE_ACCESSOR: any;
|
|
14
|
-
export declare class DatePickerComponent extends BasePicker implements OnInit, ControlValueAccessor, OnChanges {
|
|
15
|
-
_elementRef: ElementRef;
|
|
16
|
-
_cdr: ChangeDetectorRef;
|
|
17
|
-
datePipe: DatePipe;
|
|
18
|
-
private localeService;
|
|
19
|
-
date: Date | string | number;
|
|
20
|
-
locale: Observable<TetaLocalisation>;
|
|
21
|
-
showTime: boolean;
|
|
22
|
-
minDate: Date | string | number;
|
|
23
|
-
maxDate: Date | string | number;
|
|
24
|
-
invalid: boolean;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
align: Align;
|
|
27
|
-
verticalAlign: VerticalAlign;
|
|
28
|
-
viewType: viewType;
|
|
29
|
-
appendToBody: boolean;
|
|
30
|
-
backdrop: boolean;
|
|
31
|
-
allowNull: boolean;
|
|
32
|
-
open: boolean;
|
|
33
|
-
firstDayOfWeek: number;
|
|
34
|
-
disabledDates: Date[];
|
|
35
|
-
disabledPeriods: DatePeriod[];
|
|
36
|
-
disabledDays: number[];
|
|
37
|
-
minYearDate: Date;
|
|
38
|
-
maxYearDate: Date;
|
|
39
|
-
input: ElementRef;
|
|
40
|
-
selectDate: EventEmitter<Date>;
|
|
41
|
-
selectedDate: ReplaySubject<Date | string | number>;
|
|
42
|
-
mask: string;
|
|
43
|
-
private readonly classDatepicker;
|
|
44
|
-
get dateTimeClass(): boolean;
|
|
45
|
-
private readonly tabindex;
|
|
46
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, datePipe: DatePipe, localeService: TetaConfigService);
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
prepareInput(isFirstRender?: boolean): Promise<void>;
|
|
49
|
-
onBlur(event?: FocusEvent): void;
|
|
50
|
-
setDate(date: any): void;
|
|
51
|
-
onChange(date: Date): void;
|
|
52
|
-
registerOnChange(fn: (date: Date) => any): void;
|
|
53
|
-
registerOnTouched(fn: any): void;
|
|
54
|
-
writeValue(obj: Date | string | number): void;
|
|
55
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
56
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
57
|
-
changeInput(v: any): void;
|
|
58
|
-
private updateCalendarSelection;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "teta-date-picker", never, { "date": { "alias": "date"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "open": { "alias": "open"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "disabledPeriods": { "alias": "disabledPeriods"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "minYearDate": { "alias": "minYearDate"; "required": false; }; "maxYearDate": { "alias": "maxYearDate"; "required": false; }; }, { "selectDate": "selectDate"; }, never, never, true, never>;
|
|
61
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { DatePipe } from '@angular/common';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { Observable, ReplaySubject } from 'rxjs';
|
|
5
|
-
import { Align } from '../../../common/enum/align.enum';
|
|
6
|
-
import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
|
|
7
|
-
import { viewType } from '../../../common/model/view-type.model';
|
|
8
|
-
import { BasePicker } from '../base-picker';
|
|
9
|
-
import { DateFromToModel } from '../model/from-to.model';
|
|
10
|
-
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
11
|
-
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare const DATE_Range_CONTROL_VALUE_ACCESSOR: any;
|
|
14
|
-
export declare class DateRangeComponent extends BasePicker implements OnInit, ControlValueAccessor {
|
|
15
|
-
_cdr: ChangeDetectorRef;
|
|
16
|
-
_elementRef: ElementRef;
|
|
17
|
-
datePipe: DatePipe;
|
|
18
|
-
private localeService;
|
|
19
|
-
date: DateFromToModel;
|
|
20
|
-
locale: Observable<TetaLocalisation>;
|
|
21
|
-
showTime: boolean;
|
|
22
|
-
minDate: Date | string | number;
|
|
23
|
-
maxDate: Date | string | number;
|
|
24
|
-
invalid: boolean;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
align: Align;
|
|
27
|
-
verticalAlign: VerticalAlign;
|
|
28
|
-
viewType: viewType;
|
|
29
|
-
appendToBody: boolean;
|
|
30
|
-
backdrop: boolean;
|
|
31
|
-
allowNull: boolean;
|
|
32
|
-
input: ElementRef;
|
|
33
|
-
selectDate: EventEmitter<DateFromToModel>;
|
|
34
|
-
mask: string;
|
|
35
|
-
selectedDate: ReplaySubject<DateFromToModel>;
|
|
36
|
-
private readonly classDaterange;
|
|
37
|
-
constructor(_cdr: ChangeDetectorRef, _elementRef: ElementRef, datePipe: DatePipe, localeService: TetaConfigService);
|
|
38
|
-
changeSelectedDate(date: Date, selectedDate: DateFromToModel): void;
|
|
39
|
-
checkNull(): string;
|
|
40
|
-
prepareInput(): Promise<void>;
|
|
41
|
-
onBlur(): void;
|
|
42
|
-
setDate(range: DateFromToModel): void;
|
|
43
|
-
writeValue(obj: DateFromToModel): void;
|
|
44
|
-
isValueChange(value: any): boolean;
|
|
45
|
-
registerOnChange(fn: any): void;
|
|
46
|
-
registerOnTouched(fn: any): void;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
onChange(date: any): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "teta-date-range", never, { "date": { "alias": "date"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; }, { "selectDate": "selectDate"; }, never, never, true, never>;
|
|
51
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { viewType } from '../../../../common/model/view-type.model';
|
|
3
|
-
import { BaseCalendar } from '../../base-calendar';
|
|
4
|
-
import { DayModel } from '../../model/day-model';
|
|
5
|
-
import { DateFromToModel } from '../../model/from-to.model';
|
|
6
|
-
import { TetaLocalisation } from '../../../../locale/teta-localisation';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class RangeCalendarComponent extends BaseCalendar implements OnChanges, OnDestroy {
|
|
9
|
-
_cdr: ChangeDetectorRef;
|
|
10
|
-
locale: TetaLocalisation;
|
|
11
|
-
open: boolean;
|
|
12
|
-
date: DateFromToModel;
|
|
13
|
-
viewType: viewType;
|
|
14
|
-
allowNull: boolean;
|
|
15
|
-
selectedDate: DateFromToModel;
|
|
16
|
-
min: Date | string | number;
|
|
17
|
-
isDateNull: boolean;
|
|
18
|
-
max: Date | string | number;
|
|
19
|
-
hoveredDateChange: EventEmitter<Date>;
|
|
20
|
-
setDate: EventEmitter<Date>;
|
|
21
|
-
calendar: {
|
|
22
|
-
currentMonth: DayModel[];
|
|
23
|
-
nextMonth: DayModel[];
|
|
24
|
-
};
|
|
25
|
-
_hoveredDate: Date;
|
|
26
|
-
get hoveredDate(): Date;
|
|
27
|
-
set hoveredDate(e: Date);
|
|
28
|
-
constructor(_cdr: ChangeDetectorRef);
|
|
29
|
-
getFromTo(): {
|
|
30
|
-
from: any;
|
|
31
|
-
to: any;
|
|
32
|
-
};
|
|
33
|
-
isSelected(d: Date, selectedDate: Date): boolean;
|
|
34
|
-
checkSelected(date: Date, selectedDate: Date): boolean;
|
|
35
|
-
isFirstDaySuitable(m: number, y: number, max: string | number | Date): boolean;
|
|
36
|
-
isLastDaySuitable(m: number, y: number, min: string | number | Date): boolean;
|
|
37
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RangeCalendarComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RangeCalendarComponent, "teta-range-calendar", never, { "locale": { "alias": "locale"; "required": false; }; "open": { "alias": "open"; "required": false; }; "date": { "alias": "date"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "isDateNull": { "alias": "isDateNull"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "hoveredDateChange": "hoveredDateChange"; "setDate": "setDate"; }, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DayModel } from '../../model/day-model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DayItemComponent implements OnInit {
|
|
5
|
-
day: DayModel;
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DayItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DayItemComponent, "teta-day-item", never, { "day": { "alias": "day"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { DayModel } from '../model/day-model';
|
|
3
|
-
import { DateFromToModel } from '../model/from-to.model';
|
|
4
|
-
import { viewType } from '../../../common/model/view-type.model';
|
|
5
|
-
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DayPickerComponent implements OnChanges {
|
|
8
|
-
date: Date | string | number;
|
|
9
|
-
calendar: DayModel[];
|
|
10
|
-
viewType: viewType;
|
|
11
|
-
range?: DateFromToModel;
|
|
12
|
-
min: Date | string | number;
|
|
13
|
-
max: Date | string | number;
|
|
14
|
-
locale: TetaLocalisation;
|
|
15
|
-
hoveredDate?: Date;
|
|
16
|
-
hoveredDateChange?: EventEmitter<Date>;
|
|
17
|
-
selectDate: EventEmitter<Date>;
|
|
18
|
-
dayOrder: string[];
|
|
19
|
-
constructor();
|
|
20
|
-
isInRange(day: DayModel, from: Date | number | string, to: Date | number | string): boolean;
|
|
21
|
-
isHoveredRange(day: DayModel): boolean;
|
|
22
|
-
isActiveRange(day: DayModel): boolean;
|
|
23
|
-
pickDate(day: DayModel): void;
|
|
24
|
-
getRangeActiveClass(d: DayModel): "" | "datepicker-date_active-first" | "datepicker-date_active-second";
|
|
25
|
-
hover(date: Date): void;
|
|
26
|
-
getClassStaticItem(d: DayModel): "" | "datepicker-date_active-first" | "datepicker-date_active-second";
|
|
27
|
-
getClassHoveredItem(): "" | "datepicker-date_active-first" | "datepicker-date_active-second";
|
|
28
|
-
getClassSelectedItem(d: DayModel): "" | "datepicker-date_active-first" | "datepicker-date_active-second";
|
|
29
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DayPickerComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DayPickerComponent, "teta-day-picker", never, { "date": { "alias": "date"; "required": false; }; "calendar": { "alias": "calendar"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "range": { "alias": "range"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "hoveredDate": { "alias": "hoveredDate"; "required": false; }; }, { "hoveredDateChange": "hoveredDateChange"; "selectDate": "selectDate"; }, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare class DayModel {
|
|
2
|
-
disabled: boolean;
|
|
3
|
-
isCurrentMonth: boolean;
|
|
4
|
-
today: boolean;
|
|
5
|
-
selected: boolean;
|
|
6
|
-
date: Date;
|
|
7
|
-
weekend: boolean;
|
|
8
|
-
constructor(options?: {
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
isCurrentMonth?: boolean;
|
|
11
|
-
today?: boolean;
|
|
12
|
-
selected?: boolean;
|
|
13
|
-
date: Date;
|
|
14
|
-
weekend?: boolean;
|
|
15
|
-
});
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { IIdName } from '../../../common/contract/i-id-name';
|
|
3
|
-
import { viewType } from '../../../common/model/view-type.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MonthPickerComponent implements OnInit {
|
|
6
|
-
selectedMonth: number;
|
|
7
|
-
viewType: viewType;
|
|
8
|
-
currentYear: number;
|
|
9
|
-
localeMoths: string[];
|
|
10
|
-
selectMonth: EventEmitter<number>;
|
|
11
|
-
changeYear: EventEmitter<number>;
|
|
12
|
-
months: IIdName<any>[];
|
|
13
|
-
constructor();
|
|
14
|
-
pickMonth(monthId: number): void;
|
|
15
|
-
pickYear(year: number): void;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthPickerComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthPickerComponent, "teta-month-picker", never, { "selectedMonth": { "alias": "selectedMonth"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "currentYear": { "alias": "currentYear"; "required": false; }; "localeMoths": { "alias": "localeMoths"; "required": false; }; }, { "selectMonth": "selectMonth"; "changeYear": "changeYear"; }, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './date-picker/date-picker.component';
|
|
2
|
-
export * from './date-picker/date-calendar/date-calendar.component';
|
|
3
|
-
export * from './date-range/date-range.component';
|
|
4
|
-
export * from './date-range/range-calendar/range-calendar.component';
|
|
5
|
-
export * from './model/public-api';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ScrollToSelectedYearDirective implements OnDestroy {
|
|
4
|
-
private readonly el;
|
|
5
|
-
alive: boolean;
|
|
6
|
-
constructor(el: ElementRef<Element>);
|
|
7
|
-
ngOnDestroy(): void;
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollToSelectedYearDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollToSelectedYearDirective, "[tetaScrollToSelectedYear]", never, {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { viewType } from '../../../common/model/view-type.model';
|
|
3
|
-
import { MinMaxDateModel } from '../model/min-max-date.model';
|
|
4
|
-
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class YearPickerComponent implements OnInit {
|
|
7
|
-
selectedYear: number;
|
|
8
|
-
viewType: viewType;
|
|
9
|
-
minMax?: MinMaxDateModel;
|
|
10
|
-
locale: TetaLocalisation;
|
|
11
|
-
selectYear: EventEmitter<number>;
|
|
12
|
-
years: {
|
|
13
|
-
id: number;
|
|
14
|
-
isSelected: boolean;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
}[];
|
|
17
|
-
constructor();
|
|
18
|
-
pickYear(year: number, disabled: boolean): void;
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
isDisabled(year: number): boolean;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YearPickerComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YearPickerComponent, "teta-year-picker", never, { "selectedYear": { "alias": "selectedYear"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "minMax": { "alias": "minMax"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; }, { "selectYear": "selectYear"; }, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DelimiterComponent implements OnInit {
|
|
4
|
-
direction: 'vertical' | 'horizontal';
|
|
5
|
-
palette: string;
|
|
6
|
-
height: number;
|
|
7
|
-
verticalMargin: number;
|
|
8
|
-
horizontalMargin: number;
|
|
9
|
-
class: any;
|
|
10
|
-
private get getClass();
|
|
11
|
-
private get getHeight();
|
|
12
|
-
private get getWidth();
|
|
13
|
-
private get getMargin();
|
|
14
|
-
constructor();
|
|
15
|
-
getBgColor(): string;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DelimiterComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DelimiterComponent, "teta-delimiter", never, { "direction": { "alias": "direction"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "height": { "alias": "height"; "required": false; }; "verticalMargin": { "alias": "verticalMargin"; "required": false; }; "horizontalMargin": { "alias": "horizontalMargin"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './delimiter/delimiter.component';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DividerComponent implements OnInit {
|
|
4
|
-
label: any;
|
|
5
|
-
template: TemplateRef<any>;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "teta-divider", never, { "label": { "alias": "label"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './divider/divider.component';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { DropdownBase } from '../dropdown-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DropdownComponent extends DropdownBase implements OnInit, OnDestroy {
|
|
5
|
-
protected _cdr: ChangeDetectorRef;
|
|
6
|
-
protected _document: any;
|
|
7
|
-
protected _elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected _zone: NgZone;
|
|
9
|
-
protected _renderer: Renderer2;
|
|
10
|
-
constructor(_cdr: ChangeDetectorRef, _document: any, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, _renderer: Renderer2);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "teta-dropdown", ["dropdown"], {}, {}, never, ["[tetaDropdownHead]"], true, never>;
|
|
15
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, Renderer2 } from '@angular/core';
|
|
2
|
-
import { AutoCloseIgnoreCase } from '../../common/contract/auto-close-ignore-case';
|
|
3
|
-
import { Align } from '../../common/enum/align.enum';
|
|
4
|
-
import { VerticalAlign } from '../../common/enum/vertical-align.enum';
|
|
5
|
-
import { viewType } from '../../common/model/view-type.model';
|
|
6
|
-
import { DropdownContentDirective } from './dropdown-content.directive';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DropdownBase {
|
|
9
|
-
protected _cdr: ChangeDetectorRef;
|
|
10
|
-
protected _document: any;
|
|
11
|
-
protected _elementRef: ElementRef<HTMLElement>;
|
|
12
|
-
protected _zone: NgZone;
|
|
13
|
-
protected _renderer: Renderer2;
|
|
14
|
-
align: Align;
|
|
15
|
-
verticalAlign: VerticalAlign;
|
|
16
|
-
appendToBody: boolean;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
backdrop: boolean;
|
|
19
|
-
className: string | string[];
|
|
20
|
-
viewType: viewType;
|
|
21
|
-
set open(val: boolean);
|
|
22
|
-
get open(): boolean;
|
|
23
|
-
get container(): any;
|
|
24
|
-
openChange: EventEmitter<boolean>;
|
|
25
|
-
autoClose: boolean;
|
|
26
|
-
autoCloseIgnore: Array<AutoCloseIgnoreCase>;
|
|
27
|
-
protected _head: ElementRef;
|
|
28
|
-
protected _content: DropdownContentDirective;
|
|
29
|
-
protected _body: HTMLElement | null;
|
|
30
|
-
protected _backdrop: HTMLElement | null;
|
|
31
|
-
protected _open: boolean;
|
|
32
|
-
protected _alive: boolean;
|
|
33
|
-
constructor(_cdr: ChangeDetectorRef, _document: any, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, _renderer: Renderer2);
|
|
34
|
-
click(event: MouseEvent): void;
|
|
35
|
-
documentClick(event: MouseEvent): void;
|
|
36
|
-
keyUp(event: KeyboardEvent): void;
|
|
37
|
-
protected addScrollListener(): void;
|
|
38
|
-
protected removeScrollListener(): void;
|
|
39
|
-
private scrollListener;
|
|
40
|
-
protected closeDropdown(): void;
|
|
41
|
-
private openDropdown;
|
|
42
|
-
private setPosition;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownBase, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownBase, never, never, { "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "className": { "alias": "className"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "open": { "alias": "open"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "autoCloseIgnore": { "alias": "autoCloseIgnore"; "required": false; }; }, { "openChange": "openChange"; }, ["_head", "_content"], never, true, never>;
|
|
45
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DropdownContentDirective {
|
|
4
|
-
private _elementRef;
|
|
5
|
-
nativeElement: HTMLElement;
|
|
6
|
-
constructor(_elementRef: ElementRef<HTMLElement>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownContentDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownContentDirective, "[tetaDropdownContent]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DropdownHeadDirective {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownHeadDirective, [{ optional: true; }]>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownHeadDirective, "[tetaDropdownHead]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { DropdownBase } from './dropdown-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DropdownDirective extends DropdownBase implements OnInit, OnDestroy, AfterViewInit {
|
|
5
|
-
protected _cdr: ChangeDetectorRef;
|
|
6
|
-
protected _document: any;
|
|
7
|
-
protected _elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected _zone: NgZone;
|
|
9
|
-
protected _renderer: Renderer2;
|
|
10
|
-
constructor(_cdr: ChangeDetectorRef, _document: any, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, _renderer: Renderer2);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[tetaDropdown]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PopupContentComponent implements OnInit, OnDestroy {
|
|
4
|
-
dialog: boolean;
|
|
5
|
-
className: string | string[];
|
|
6
|
-
private get getClass();
|
|
7
|
-
constructor();
|
|
8
|
-
addClass(className: string): void;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopupContentComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopupContentComponent, "teta-popup-content", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './popup-content/popup-content.component';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ExpandCardComponent implements OnInit {
|
|
4
|
-
open: boolean;
|
|
5
|
-
openChange: EventEmitter<boolean>;
|
|
6
|
-
showCross: boolean;
|
|
7
|
-
crossClick: EventEmitter<MouseEvent>;
|
|
8
|
-
constructor();
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
setOpen(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandCardComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandCardComponent, "teta-expand-card", ["expand-card"], { "open": { "alias": "open"; "required": false; }; "showCross": { "alias": "showCross"; "required": false; }; }, { "openChange": "openChange"; "crossClick": "crossClick"; }, never, ["head", "*"], true, never>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ExpandItemComponent {
|
|
4
|
-
open: boolean;
|
|
5
|
-
openChange: EventEmitter<boolean>;
|
|
6
|
-
setOpen(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandItemComponent, "teta-expand-item", ["expand-item"], { "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, never, ["head", "*"], true, never>;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ExpandPanelContentDirective } from '../expand-panel-content.directive';
|
|
3
|
-
import { ExpandPanelHeadDirective } from '../expand-panel-head.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ExpandPanelComponent implements OnInit {
|
|
6
|
-
content: ExpandPanelContentDirective;
|
|
7
|
-
head: ExpandPanelHeadDirective;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
open: boolean;
|
|
10
|
-
openChange: EventEmitter<boolean>;
|
|
11
|
-
cookieName: string;
|
|
12
|
-
direction: 'left' | 'right';
|
|
13
|
-
constructor();
|
|
14
|
-
openPanel(): void;
|
|
15
|
-
closePanel(): void;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
private saveCookie;
|
|
18
|
-
private restoreCookie;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandPanelComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandPanelComponent, "teta-expand-panel", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "open": { "alias": "open"; "required": false; }; "cookieName": { "alias": "cookieName"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "openChange": "openChange"; }, ["content", "head"], never, true, never>;
|
|
21
|
-
}
|