@tetacom/ng-components 1.7.1 → 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 +869 -932
- 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 -15
- 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,16 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ThemeSwitchService } from '../theme-switch.service';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { ButtonViewType } from '../../button/button/button.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ThemeSwitchComponent implements OnInit {
|
|
7
|
-
private _svc;
|
|
8
|
-
palette: string;
|
|
9
|
-
view: ButtonViewType;
|
|
10
|
-
theme: Observable<boolean>;
|
|
11
|
-
constructor(_svc: ThemeSwitchService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
switchTheme(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSwitchComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThemeSwitchComponent, "teta-theme-switch", never, { "palette": { "alias": "palette"; "required": false; }; "view": { "alias": "view"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ThemeSwitchService {
|
|
4
|
-
theme: Observable<boolean>;
|
|
5
|
-
private theme$;
|
|
6
|
-
constructor();
|
|
7
|
-
switchTheme(): void;
|
|
8
|
-
saveTheme(value: boolean): void;
|
|
9
|
-
restoreTheme(): boolean;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSwitchService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeSwitchService>;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './toggle/toggle.component';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const TOGGLE_CONTROL_VALUE_ACCESSOR: any;
|
|
5
|
-
export declare class ToggleComponent implements ControlValueAccessor {
|
|
6
|
-
private cdr;
|
|
7
|
-
tabindex: number;
|
|
8
|
-
toggleClass: boolean;
|
|
9
|
-
get paletteClass(): string;
|
|
10
|
-
palette: string;
|
|
11
|
-
noLabel: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* компонент неактивен
|
|
14
|
-
*/
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Значение
|
|
18
|
-
*/
|
|
19
|
-
private model$;
|
|
20
|
-
get model(): any;
|
|
21
|
-
set model(v: any);
|
|
22
|
-
constructor(cdr: ChangeDetectorRef);
|
|
23
|
-
changeValue(): void;
|
|
24
|
-
writeValue(model: boolean): void;
|
|
25
|
-
onChange(_: any): void;
|
|
26
|
-
onTouched(): void;
|
|
27
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
28
|
-
registerOnTouched(fn: () => void): void;
|
|
29
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "teta-toggle", never, { "palette": { "alias": "palette"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
32
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ToolbarComponent implements OnInit {
|
|
4
|
-
palette: string;
|
|
5
|
-
class: any;
|
|
6
|
-
private get getClass();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "teta-toolbar", never, { "palette": { "alias": "palette"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
-
import { ITreeData } from '../../../common/contract/i-tree-data';
|
|
3
|
-
import { TreeService } from '../tree.service';
|
|
4
|
-
import { TetaTemplateDirective } from '../../../directive/teta-template/teta-template.directive';
|
|
5
|
-
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TreeComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {
|
|
8
|
-
private treeService;
|
|
9
|
-
private elementRef;
|
|
10
|
-
private ngZone;
|
|
11
|
-
data: import("@angular/core").InputSignal<ITreeData[]>;
|
|
12
|
-
padding: import("@angular/core").InputSignal<number>;
|
|
13
|
-
childNodeName: import("@angular/core").InputSignal<string>;
|
|
14
|
-
virtual: import("@angular/core").InputSignal<boolean>;
|
|
15
|
-
height: import("@angular/core").InputSignal<number>;
|
|
16
|
-
openItems: import("@angular/core").ModelSignal<ITreeData[]>;
|
|
17
|
-
service: EventEmitter<TreeService>;
|
|
18
|
-
viewport: CdkVirtualScrollViewport;
|
|
19
|
-
template: TetaTemplateDirective;
|
|
20
|
-
childPadding: import("@angular/core").Signal<boolean>;
|
|
21
|
-
displayData: import("@angular/core").Signal<ITreeData[]>;
|
|
22
|
-
private _alive;
|
|
23
|
-
private _obs;
|
|
24
|
-
constructor();
|
|
25
|
-
set compareItems(func: (item: ITreeData) => any);
|
|
26
|
-
get compareItems(): (item: ITreeData) => any;
|
|
27
|
-
private readonly treeClass;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnChanges(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
ngAfterViewInit(): void;
|
|
32
|
-
trackRow: (index: number, item: ITreeData) => any;
|
|
33
|
-
private getDisplayData;
|
|
34
|
-
private addResizeObserver;
|
|
35
|
-
private removeResizeObserver;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "teta-tree", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "childNodeName": { "alias": "childNodeName"; "required": false; "isSignal": true; }; "virtual": { "alias": "virtual"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "openItems": { "alias": "openItems"; "required": false; "isSignal": true; }; "compareItems": { "alias": "compareItems"; "required": false; }; }, { "openItems": "openItemsChange"; "service": "service"; }, ["template"], never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Signal, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ITreeData } from '../../../common/contract/i-tree-data';
|
|
3
|
-
import { TreeService } from '../tree.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* TODO: Lazy загрузка дочерних элементов, Output onExpand, шаблон для иконки expand
|
|
7
|
-
*/
|
|
8
|
-
export declare class TreeItemComponent {
|
|
9
|
-
treeService: TreeService;
|
|
10
|
-
item: import("@angular/core").InputSignal<ITreeData>;
|
|
11
|
-
depth: import("@angular/core").InputSignal<number>;
|
|
12
|
-
padding: import("@angular/core").InputSignal<number>;
|
|
13
|
-
childNodeName: import("@angular/core").InputSignal<string>;
|
|
14
|
-
template: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
15
|
-
childPadding: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
openItems: Signal<ITreeData[]>;
|
|
17
|
-
private readonly treeItemClass;
|
|
18
|
-
itemIsOpen: Signal<boolean>;
|
|
19
|
-
private readonly treeItemInstance;
|
|
20
|
-
computedDepth: Signal<number>;
|
|
21
|
-
constructor();
|
|
22
|
-
openItem(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeItemComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeItemComponent, "teta-tree-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "depth": { "alias": "depth"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "childNodeName": { "alias": "childNodeName"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "childPadding": { "alias": "childPadding"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Signal } from '@angular/core';
|
|
2
|
-
import { TreeService } from '../tree.service';
|
|
3
|
-
import { ITreeData } from '../../../common/contract/i-tree-data';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TreeItemToggleComponent {
|
|
6
|
-
treeService: TreeService;
|
|
7
|
-
item: import("@angular/core").InputSignal<ITreeData>;
|
|
8
|
-
open: Signal<boolean>;
|
|
9
|
-
openItems: Signal<ITreeData[]>;
|
|
10
|
-
constructor();
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeItemToggleComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeItemToggleComponent, "teta-tree-item-toggle", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ITreeData } from '../../common/contract/i-tree-data';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TreeService {
|
|
5
|
-
openItems: Observable<ITreeData[]>;
|
|
6
|
-
scrollToIndex: Observable<number>;
|
|
7
|
-
private _openItems;
|
|
8
|
-
private _scrollToIndex;
|
|
9
|
-
constructor();
|
|
10
|
-
compareItems: (item: ITreeData) => any;
|
|
11
|
-
openItem(item: ITreeData): void;
|
|
12
|
-
setOpenItems(items: ITreeData[]): void;
|
|
13
|
-
scrollTo(index: number): void;
|
|
14
|
-
private addOrRemove;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TreeService>;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Align } from '../../common/enum/align.enum';
|
|
3
|
-
import { VerticalAlign } from '../../common/enum/vertical-align.enum';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AutoPositionDirective implements AfterViewInit, OnDestroy {
|
|
6
|
-
private _elementRef;
|
|
7
|
-
private _zone;
|
|
8
|
-
align: Align;
|
|
9
|
-
verticalAlign: VerticalAlign;
|
|
10
|
-
fixed: string;
|
|
11
|
-
private _alive;
|
|
12
|
-
constructor(_elementRef: ElementRef, _zone: NgZone);
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private setPosition;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoPositionDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoPositionDirective, "[tetaAutoPosition]", never, { "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './auto-position.directive';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClickOutsideDirective implements OnDestroy {
|
|
4
|
-
private _elementRef;
|
|
5
|
-
private _ngZone;
|
|
6
|
-
clickOutside: EventEmitter<MouseEvent>;
|
|
7
|
-
rightClick: boolean;
|
|
8
|
-
private _handleEvents;
|
|
9
|
-
set tetaClickOutside(val: boolean);
|
|
10
|
-
get tetaClickOutside(): boolean;
|
|
11
|
-
constructor(_elementRef: ElementRef, _ngZone: NgZone);
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
private addListener;
|
|
14
|
-
private removeListener;
|
|
15
|
-
private listener;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[tetaClickOutside]", never, { "rightClick": { "alias": "rightClick"; "required": false; }; "tetaClickOutside": { "alias": "tetaClickOutside"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './click-outside.directive';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, Injector, NgZone, OnDestroy, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { AutoCloseIgnoreCase } from '../../common/contract/auto-close-ignore-case';
|
|
3
|
-
import { ClickService } from '../../common/service/click.service';
|
|
4
|
-
import { DynamicComponentService } from '../../common/service/dynamic-component.service';
|
|
5
|
-
import { DynamicContentBaseDirective } from '../dynamic-content-base.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ContextMenuDirective extends DynamicContentBaseDirective implements OnDestroy {
|
|
8
|
-
protected _document: any;
|
|
9
|
-
protected _elementRef: ElementRef;
|
|
10
|
-
protected _service: DynamicComponentService;
|
|
11
|
-
protected _injector: Injector;
|
|
12
|
-
protected _zone: NgZone;
|
|
13
|
-
protected _cdr: ChangeDetectorRef;
|
|
14
|
-
private _click;
|
|
15
|
-
/**
|
|
16
|
-
* Строка, шаблон или компонент для создания контекстного меню
|
|
17
|
-
*/
|
|
18
|
-
tetaContextMenu: string | TemplateRef<any> | Type<any>;
|
|
19
|
-
autoCloseIgnore: AutoCloseIgnoreCase[];
|
|
20
|
-
get _dynamicContent(): string | Type<any> | TemplateRef<any>;
|
|
21
|
-
private _eventPoint;
|
|
22
|
-
constructor(_document: any, _elementRef: ElementRef, _service: DynamicComponentService, _injector: Injector, _zone: NgZone, _cdr: ChangeDetectorRef, _click: ClickService);
|
|
23
|
-
showContent(event: MouseEvent): void;
|
|
24
|
-
click(event: MouseEvent): void;
|
|
25
|
-
documentClick(event: MouseEvent): void;
|
|
26
|
-
protected addScrollListener(): void;
|
|
27
|
-
protected removeScrollListener(): void;
|
|
28
|
-
private scrollListener;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
protected setPosition(): void;
|
|
31
|
-
private createMenu;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[tetaContextMenu]", never, { "tetaContextMenu": { "alias": "tetaContextMenu"; "required": false; }; "autoCloseIgnore": { "alias": "autoCloseIgnore"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './context-menu.directive';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DisableControlDirective implements OnInit {
|
|
5
|
-
private ngControl;
|
|
6
|
-
private disabled;
|
|
7
|
-
set tetaDisableControl(val: boolean);
|
|
8
|
-
constructor(ngControl: NgControl);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
private toggleControl;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisableControlDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DisableControlDirective, "[tetaDisableControl]", never, { "tetaDisableControl": { "alias": "tetaDisableControl"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './disable-control.directive';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { DragContainerInstance } from './model/drag-container-instance';
|
|
3
|
-
import { DragDropService } from './drag-drop.service';
|
|
4
|
-
import { DropTarget } from './model/drop-target';
|
|
5
|
-
import { DropEvent } from './model/drop-event';
|
|
6
|
-
import { DragInstance } from './model/drag-instance';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DragContainerDirective<T> implements OnInit, OnDestroy {
|
|
9
|
-
private _dragService;
|
|
10
|
-
private _elementRef;
|
|
11
|
-
private _viewContainerRef;
|
|
12
|
-
private _zone;
|
|
13
|
-
private _cdr;
|
|
14
|
-
data: T[];
|
|
15
|
-
multiple: boolean;
|
|
16
|
-
allowDrop: boolean;
|
|
17
|
-
tetaDrop: EventEmitter<DropEvent<T>>;
|
|
18
|
-
tetaDragEnter: EventEmitter<DragInstance<T>>;
|
|
19
|
-
private _previewTemplate;
|
|
20
|
-
instance: DragContainerInstance<T>;
|
|
21
|
-
dropTarget: DropTarget<T>;
|
|
22
|
-
private _alive;
|
|
23
|
-
get isDropTarget(): boolean;
|
|
24
|
-
mouseleave(event: any): void;
|
|
25
|
-
mouseover(event: any): void;
|
|
26
|
-
escape(event: any): void;
|
|
27
|
-
constructor(_dragService: DragDropService<T>, _elementRef: ElementRef, _viewContainerRef: ViewContainerRef, _zone: NgZone, _cdr: ChangeDetectorRef);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragContainerDirective<any>, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragContainerDirective<any>, "[tetaDragContainer]", ["dragContainer"], { "data": { "alias": "tetaDragContainer"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "allowDrop": { "alias": "allowDrop"; "required": false; }; }, { "tetaDrop": "tetaDrop"; "tetaDragEnter": "tetaDragEnter"; }, ["_previewTemplate"], never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { RendererFactory2 } from '@angular/core';
|
|
2
|
-
import { DragInstance } from './model/drag-instance';
|
|
3
|
-
import { DragSelection } from './model/drag-selection';
|
|
4
|
-
import { DragContainerInstance } from './model/drag-container-instance';
|
|
5
|
-
import { Point } from './model/point';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { DragProcess } from './model/drag-process';
|
|
8
|
-
import { DropTarget } from './model/drop-target';
|
|
9
|
-
import { DropEvent } from './model/drop-event';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class DragDropService<T> {
|
|
12
|
-
private _document;
|
|
13
|
-
private _rendererFactory;
|
|
14
|
-
selection: DragSelection<T>;
|
|
15
|
-
startPosition: Point;
|
|
16
|
-
dragProcess: DragProcess<T>;
|
|
17
|
-
dropTarget: Observable<DropTarget<T>>;
|
|
18
|
-
dropped: Observable<DropEvent<T>>;
|
|
19
|
-
private dropTarget$;
|
|
20
|
-
private _delta;
|
|
21
|
-
private _renderer;
|
|
22
|
-
private _preview;
|
|
23
|
-
private _previewRef;
|
|
24
|
-
private dropped$;
|
|
25
|
-
constructor(_document: Document, _rendererFactory: RendererFactory2);
|
|
26
|
-
setDropTarget(target: DropTarget<T>): void;
|
|
27
|
-
setStartPosition(point: Point): void;
|
|
28
|
-
setSelection(instance: DragInstance<T>, container: DragContainerInstance<T>): void;
|
|
29
|
-
addSelection(instance: DragInstance<T>, container: DragContainerInstance<T>): void;
|
|
30
|
-
clearSelection(): void;
|
|
31
|
-
cancelDrag(): void;
|
|
32
|
-
startProcess(): void;
|
|
33
|
-
stopProcess(): void;
|
|
34
|
-
private getDelta;
|
|
35
|
-
private createPreview;
|
|
36
|
-
private movePreview;
|
|
37
|
-
private destroyPreview;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropService<any>, never>;
|
|
39
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DragDropService<any>>;
|
|
40
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DragPlaceholderDirective {
|
|
3
|
-
constructor();
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragPlaceholderDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragPlaceholderDirective, "[tetaDragPlaceholder]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DragPreviewDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
constructor(templateRef: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragPreviewDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragPreviewDirective, "[tetaDragPreview]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { DragContainerDirective } from './drag-container.directive';
|
|
3
|
-
import { DragDropService } from './drag-drop.service';
|
|
4
|
-
import { DragInstance } from './model/drag-instance';
|
|
5
|
-
import { DragSelection } from './model/drag-selection';
|
|
6
|
-
import { DropEvent } from './model/drop-event';
|
|
7
|
-
import { DropTarget } from './model/drop-target';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DragDirective<T> implements OnInit, OnDestroy {
|
|
10
|
-
private _container;
|
|
11
|
-
private _dragService;
|
|
12
|
-
private _zone;
|
|
13
|
-
private _cdr;
|
|
14
|
-
data: T;
|
|
15
|
-
allowDrag: boolean;
|
|
16
|
-
allowDrop: boolean;
|
|
17
|
-
allowDropPredicate: (data: DragSelection<T>, target: T) => boolean;
|
|
18
|
-
tetaDragEnter: EventEmitter<DragInstance<T>>;
|
|
19
|
-
tetaDrop: EventEmitter<DropEvent<T>>;
|
|
20
|
-
dropTarget: DropTarget<T>;
|
|
21
|
-
instance: DragInstance<T>;
|
|
22
|
-
get selection(): boolean;
|
|
23
|
-
get isDropTarget(): boolean;
|
|
24
|
-
private _alive;
|
|
25
|
-
mousedown(event: MouseEvent): void;
|
|
26
|
-
mouseenter(event: MouseEvent): void;
|
|
27
|
-
mouseleave(event: any): void;
|
|
28
|
-
constructor(_container: DragContainerDirective<T>, _dragService: DragDropService<T>, _zone: NgZone, _cdr: ChangeDetectorRef);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragDirective<any>, [{ optional: true; skipSelf: true; }, null, null, null]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDirective<any>, "[tetaDrag]", ["drag"], { "data": { "alias": "tetaDrag"; "required": false; }; "allowDrag": { "alias": "allowDrag"; "required": false; }; "allowDrop": { "alias": "allowDrop"; "required": false; }; "allowDropPredicate": { "alias": "allowDropPredicate"; "required": false; }; }, { "tetaDragEnter": "tetaDragEnter"; "tetaDrop": "tetaDrop"; }, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
export declare class DragContainerInstance<T> {
|
|
3
|
-
data: T[];
|
|
4
|
-
previewTemplate: TemplateRef<any>;
|
|
5
|
-
viewContainer: ViewContainerRef;
|
|
6
|
-
constructor(options: {
|
|
7
|
-
data: T[];
|
|
8
|
-
previewTemplate: TemplateRef<any>;
|
|
9
|
-
viewContainer: ViewContainerRef;
|
|
10
|
-
});
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DropTarget } from './drop-target';
|
|
2
|
-
import { DragInstance } from './drag-instance';
|
|
3
|
-
import { DragContainerInstance } from './drag-container-instance';
|
|
4
|
-
export interface DropEvent<T> {
|
|
5
|
-
container: DragContainerInstance<T>;
|
|
6
|
-
target: DropTarget<T>;
|
|
7
|
-
data: DragInstance<T>[];
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { DragSortEvent } from './drag-sort-event';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DragSortContainerDirective<T> {
|
|
5
|
-
dragSortList: T[];
|
|
6
|
-
dragSorted: EventEmitter<DragSortEvent<T>>;
|
|
7
|
-
private _dragItem;
|
|
8
|
-
drop(event: DragEvent): void;
|
|
9
|
-
setDragItem(item: T | null): void;
|
|
10
|
-
getDragItem(): T | null;
|
|
11
|
-
getList(): T[];
|
|
12
|
-
setList(list: T[]): void;
|
|
13
|
-
updateSortOrder(source: T, target: T, insertBefore: boolean): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragSortContainerDirective<any>, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragSortContainerDirective<any>, "[tetaDragSortContainer]", never, { "dragSortList": { "alias": "dragSortList"; "required": false; }; }, { "dragSorted": "dragSorted"; }, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { DragSortContainerDirective } from './drag-sort-container.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DragSortItemDirective<T> implements OnInit, OnDestroy {
|
|
5
|
-
private _container;
|
|
6
|
-
private _elementRef;
|
|
7
|
-
private _renderer;
|
|
8
|
-
tetaDragSortItem: T;
|
|
9
|
-
dragSortDirection: 'horizontal' | 'vertical';
|
|
10
|
-
private readonly draggable;
|
|
11
|
-
private readonly relative;
|
|
12
|
-
private _dragElement;
|
|
13
|
-
private rect;
|
|
14
|
-
constructor(_container: DragSortContainerDirective<T>, _elementRef: ElementRef, _renderer: Renderer2);
|
|
15
|
-
dragstart(event: DragEvent): void;
|
|
16
|
-
dragenter(event: DragEvent): void;
|
|
17
|
-
dragover(event: DragEvent): void;
|
|
18
|
-
dragleave(event: DragEvent): void;
|
|
19
|
-
dragend(event: DragEvent): void;
|
|
20
|
-
drop(event: DragEvent): void;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
private showDrag;
|
|
24
|
-
private hideDrag;
|
|
25
|
-
private createDrag;
|
|
26
|
-
private destroyDrag;
|
|
27
|
-
private getDropPosition;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragSortItemDirective<any>, [{ host: true; }, null, null]>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragSortItemDirective<any>, "[tetaDragSortItem]", never, { "tetaDragSortItem": { "alias": "tetaDragSortItem"; "required": false; }; "dragSortDirection": { "alias": "dragSortDirection"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentRef, ElementRef, EventEmitter, Injector, NgZone, OnDestroy, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { TetaContentRef } from '../common/contract/teta-content-ref';
|
|
3
|
-
import { Align } from '../common/enum/align.enum';
|
|
4
|
-
import { VerticalAlign } from '../common/enum/vertical-align.enum';
|
|
5
|
-
import { DynamicComponentService } from '../common/service/dynamic-component.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class DynamicContentBaseDirective implements OnDestroy {
|
|
8
|
-
protected _document: any;
|
|
9
|
-
protected _elementRef: ElementRef;
|
|
10
|
-
protected _service: DynamicComponentService;
|
|
11
|
-
protected _injector: Injector;
|
|
12
|
-
protected _zone: NgZone;
|
|
13
|
-
protected _cdr: ChangeDetectorRef;
|
|
14
|
-
data: any;
|
|
15
|
-
className?: string | string[];
|
|
16
|
-
align: Align;
|
|
17
|
-
verticalAlign: VerticalAlign;
|
|
18
|
-
appendToBody: boolean;
|
|
19
|
-
set open(open: boolean);
|
|
20
|
-
openChange: EventEmitter<boolean>;
|
|
21
|
-
protected _alive: boolean;
|
|
22
|
-
protected _componentRef?: ComponentRef<any> | null;
|
|
23
|
-
protected _content?: TetaContentRef;
|
|
24
|
-
protected _open: boolean;
|
|
25
|
-
protected abstract get _dynamicContent(): string | TemplateRef<any> | Type<any> | null | undefined;
|
|
26
|
-
protected constructor(_document: any, _elementRef: ElementRef, _service: DynamicComponentService, _injector: Injector, _zone: NgZone, _cdr: ChangeDetectorRef);
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
protected createContentRef<T>(className?: string | string[]): ComponentRef<T>;
|
|
29
|
-
protected destroyContentRef(): void;
|
|
30
|
-
protected abstract setPosition(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContentBaseDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicContentBaseDirective, never, never, { "data": { "alias": "data"; "required": false; }; "className": { "alias": "className"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FullScreenToggleDirective {
|
|
3
|
-
private fullScreen;
|
|
4
|
-
onClick(): Promise<void>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FullScreenToggleDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FullScreenToggleDirective, "[tetaFullScreenToggle]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FullScreenDirective {
|
|
4
|
-
private service;
|
|
5
|
-
elementRef: ElementRef<any>;
|
|
6
|
-
enter(): Promise<void>;
|
|
7
|
-
exit(): Promise<void>;
|
|
8
|
-
toggle(): Promise<void>;
|
|
9
|
-
onEsc(ev: KeyboardEvent): Promise<void>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FullScreenDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FullScreenDirective, "[tetaFullScreen]", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FullScreenService {
|
|
3
|
-
private active?;
|
|
4
|
-
enter(el: Element): Promise<void>;
|
|
5
|
-
exit(): Promise<void>;
|
|
6
|
-
toggle(el: Element): Promise<void>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FullScreenService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FullScreenService>;
|
|
9
|
-
}
|