ngx-tethys 19.0.16 → 19.1.0-next.1
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/CHANGELOG.md +31 -11
- package/README.md +0 -1
- package/action/action.component.d.ts +14 -23
- package/action/actions.component.d.ts +5 -7
- package/affix/affix.component.d.ts +9 -13
- package/alert/alert.component.d.ts +1 -1
- package/anchor/anchor-link.component.d.ts +8 -8
- package/anchor/anchor.component.d.ts +15 -21
- package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
- package/autocomplete/autocomplete.component.d.ts +10 -17
- package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
- package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
- package/avatar/avatar.component.d.ts +25 -39
- package/back-top/back-top.component.d.ts +9 -12
- package/badge/badge.component.d.ts +19 -59
- package/breadcrumb/breadcrumb.component.d.ts +15 -20
- package/button/button-group.component.d.ts +5 -12
- package/button/button-icon.component.d.ts +14 -27
- package/button/button.component.d.ts +17 -26
- package/calendar/calendar-header.component.d.ts +9 -8
- package/calendar/calendar.component.d.ts +16 -16
- package/card/card.component.d.ts +5 -11
- package/card/content.component.d.ts +3 -8
- package/card/header.component.d.ts +7 -8
- package/carousel/carousel.component.d.ts +22 -27
- package/cascader/cascader-li.component.d.ts +13 -21
- package/cascader/cascader-search-option.component.d.ts +8 -16
- package/cascader/cascader.component.d.ts +58 -80
- package/checkbox/checkbox.component.d.ts +2 -5
- package/collapse/collapse-item.component.d.ts +12 -19
- package/collapse/collapse.component.d.ts +6 -12
- package/collapse/collapse.token.d.ts +3 -3
- package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
- package/color-picker/color-picker-panel.component.d.ts +7 -11
- package/color-picker/color-picker.component.d.ts +19 -35
- package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
- package/color-picker/parts/hue/hue.component.d.ts +6 -6
- package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
- package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
- package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
- package/comment/comment.component.d.ts +4 -5
- package/copy/copy.directive.d.ts +8 -9
- package/date-picker/abstract-picker.component.d.ts +8 -7
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
- package/date-picker/picker.component.d.ts +2 -1
- package/date-range/date-range.component.d.ts +2 -2
- package/dialog/body/dialog-body.component.d.ts +2 -6
- package/dialog/confirm/confirm.component.d.ts +2 -2
- package/dialog/footer/dialog-footer.component.d.ts +6 -9
- package/dialog/header/dialog-header.component.d.ts +9 -11
- package/divider/divider.component.d.ts +12 -16
- package/dot/dot.component.d.ts +5 -13
- package/drag-drop/drag-handle.directive.d.ts +2 -1
- package/drag-drop/drag.directive.d.ts +2 -1
- package/drag-drop/drop-container.directive.d.ts +2 -1
- package/dropdown/dropdown-active.directive.d.ts +4 -5
- package/dropdown/dropdown-menu-item.directive.d.ts +7 -14
- package/dropdown/dropdown-menu.component.d.ts +6 -12
- package/dropdown/dropdown-submenu.component.d.ts +2 -4
- package/dropdown/dropdown.directive.d.ts +14 -24
- package/empty/empty.component.d.ts +21 -27
- package/fesm2022/ngx-tethys-action.mjs +63 -101
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +40 -41
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +91 -118
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +117 -162
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +33 -46
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +104 -208
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +225 -322
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +85 -87
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +72 -77
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +83 -99
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +313 -468
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +66 -71
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +16 -10
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +25 -28
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +81 -82
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +49 -58
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +45 -68
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +155 -203
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +107 -95
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +67 -86
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +161 -200
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +161 -158
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +25 -25
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +44 -59
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +40 -36
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +101 -114
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +268 -271
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +1 -1
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +52 -74
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +106 -179
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +169 -201
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +230 -294
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +67 -70
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +194 -246
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +99 -113
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +60 -76
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +115 -157
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +111 -157
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +46 -28
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +84 -103
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +37 -56
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +75 -108
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +25 -51
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +114 -151
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +74 -107
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +52 -66
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +80 -140
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -1
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +69 -87
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +42 -64
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +104 -129
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +98 -119
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +2 -4
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +281 -401
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +36 -33
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +93 -132
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +53 -99
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +36 -40
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/flexible-text/flexible-text.component.d.ts +9 -15
- package/form/form-group-error/form-group-error.component.d.ts +2 -3
- package/form/form-group-label.directive.d.ts +2 -1
- package/form/form-group.component.d.ts +17 -24
- package/form/form-submit.directive.d.ts +2 -2
- package/form/form.directive.d.ts +6 -8
- package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
- package/form/validator/confirm-validator.directive.d.ts +2 -2
- package/form/validator/unique-validator.directive.d.ts +2 -2
- package/fullscreen/fullscreen.component.d.ts +7 -7
- package/grid/flex.d.ts +13 -20
- package/grid/thy-col.directive.d.ts +6 -9
- package/grid/thy-grid-item.component.d.ts +3 -4
- package/grid/thy-grid.component.d.ts +11 -12
- package/grid/thy-row.directive.d.ts +11 -14
- package/icon/icon.component.d.ts +10 -17
- package/image/image.directive.d.ts +10 -12
- package/image/image.token.d.ts +5 -5
- package/input/input-count.component.d.ts +4 -5
- package/input/input-group.component.d.ts +20 -20
- package/input/input-search.component.d.ts +15 -20
- package/input/input.component.d.ts +20 -21
- package/input/input.directive.d.ts +4 -6
- package/input-number/input-number.component.d.ts +21 -29
- package/layout/header.component.d.ts +4 -9
- package/layout/sidebar-header.component.d.ts +2 -1
- package/layout/sidebar.component.d.ts +8 -7
- package/list/list.component.d.ts +2 -1
- package/list/selection/selection-list.d.ts +4 -3
- package/loading/loading.component.d.ts +4 -10
- package/mention/mention.directive.d.ts +6 -7
- package/mention/suggestions/suggestions.component.d.ts +8 -9
- package/menu/group/menu-group.component.d.ts +16 -33
- package/menu/item/action/menu-item-action.component.d.ts +7 -8
- package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
- package/menu/item/menu-item.component.d.ts +4 -4
- package/menu/item/name/menu-item-name.component.d.ts +2 -3
- package/menu/menu.component.d.ts +3 -7
- package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
- package/nav/icon-nav/icon-nav.component.d.ts +3 -8
- package/nav/nav-ink-bar.directive.d.ts +4 -6
- package/nav/nav-item.directive.d.ts +7 -10
- package/nav/nav.component.d.ts +20 -48
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +48 -109
- package/popover/header/popover-header.component.d.ts +7 -6
- package/popover/popover.directive.d.ts +11 -18
- package/progress/progress-circle.component.d.ts +35 -26
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +16 -26
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -15
- package/property/property-item.component.d.ts +22 -34
- package/property/styles/properties.scss +124 -52
- package/property-operation/property-operation.component.d.ts +6 -5
- package/radio/button/radio-button.component.d.ts +2 -2
- package/radio/group/radio-group.component.d.ts +13 -16
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +8 -10
- package/rate/rate.component.d.ts +20 -30
- package/resizable/resizable.directive.d.ts +18 -36
- package/resizable/resize-handle.component.d.ts +6 -6
- package/resizable/resize-handles.component.d.ts +5 -8
- package/result/result.component.d.ts +9 -10
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +9 -14
- package/segment/segment.component.d.ts +11 -14
- package/segment/segment.token.d.ts +4 -3
- package/select/custom-select/custom-select.component.d.ts +11 -10
- package/select/native-select/native-select.component.d.ts +2 -1
- package/shared/base-form-check.component.d.ts +3 -2
- package/shared/directives/thy-autofocus.directive.d.ts +3 -2
- package/shared/directives/thy-scroll.directive.d.ts +2 -1
- package/shared/directives/thy-show.d.ts +2 -1
- package/shared/option/group/option-group.component.d.ts +2 -1
- package/shared/option/list-option/list-option.component.d.ts +2 -7
- package/shared/option/option.component.d.ts +2 -1
- package/shared/select/select-control/select-control.component.d.ts +7 -6
- package/skeleton/skeleton-circle.component.d.ts +16 -19
- package/skeleton/skeleton-rectangle.component.d.ts +20 -23
- package/skeleton/skeleton.component.d.ts +5 -6
- package/skeleton/stylized/bullet-list.component.d.ts +11 -13
- package/skeleton/stylized/list.component.d.ts +10 -12
- package/skeleton/stylized/paragraph.component.d.ts +12 -14
- package/slide/slide-body/slide-body-section.component.d.ts +2 -5
- package/slide/slide-header/slide-header.component.d.ts +6 -9
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +10 -16
- package/statistic/statistic.component.d.ts +35 -40
- package/stepper/step-header.component.d.ts +6 -10
- package/stepper/step.component.d.ts +6 -6
- package/stepper/stepper.component.d.ts +15 -20
- package/strength/strength.component.d.ts +8 -13
- package/switch/switch.component.d.ts +24 -35
- package/table/table-column.component.d.ts +6 -5
- package/table/table-skeleton.component.d.ts +3 -10
- package/table/table.component.d.ts +11 -10
- package/tabs/tab-content.component.d.ts +4 -4
- package/tabs/tab.component.d.ts +4 -5
- package/tabs/tabs.component.d.ts +13 -15
- package/tag/tag.component.d.ts +10 -16
- package/time-picker/time-picker-panel.component.d.ts +3 -2
- package/time-picker/time-picker.component.d.ts +6 -5
- package/timeline/timeline-item.component.d.ts +9 -13
- package/timeline/timeline.component.d.ts +13 -17
- package/tooltip/tooltip.directive.d.ts +3 -2
- package/transfer/transfer-list.component.d.ts +15 -15
- package/transfer/transfer.component.d.ts +20 -23
- package/tree/tree-abstract.d.ts +5 -5
- package/tree/tree-node.component.d.ts +24 -46
- package/tree/tree.class.d.ts +4 -4
- package/tree/tree.component.d.ts +47 -74
- package/tree/tree.service.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +10 -9
- package/typography/bg-color.directive.d.ts +3 -3
- package/typography/text/text.component.d.ts +2 -2
- package/typography/text-color.directive.d.ts +3 -3
- package/upload/file-drop.directive.d.ts +9 -11
- package/upload/file-select-base.d.ts +6 -10
- package/upload/file-select.component.d.ts +10 -20
- package/util/helpers/helpers.d.ts +2 -1
- package/vote/vote.component.d.ts +13 -32
- package/watermark/watermark.directive.d.ts +7 -9
package/tabs/tabs.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AfterContentInit,
|
|
1
|
+
import { AfterContentInit, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyTab } from './tab.component';
|
|
3
|
-
import { ThyActiveTabInfo
|
|
3
|
+
import { ThyActiveTabInfo } from './types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type ThyTabsSize = 'lg' | 'md' | 'sm';
|
|
6
6
|
export type ThyTabsType = 'pulled' | 'tabs' | 'pills' | 'lite';
|
|
@@ -9,7 +9,7 @@ export type ThyTabsPosition = 'top' | 'left';
|
|
|
9
9
|
* 选项卡切换组件
|
|
10
10
|
* @name thy-tabs
|
|
11
11
|
*/
|
|
12
|
-
export declare class ThyTabs implements OnInit,
|
|
12
|
+
export declare class ThyTabs implements OnInit, AfterContentInit {
|
|
13
13
|
private cd;
|
|
14
14
|
private el;
|
|
15
15
|
tabs: QueryList<ThyTab>;
|
|
@@ -18,48 +18,46 @@ export declare class ThyTabs implements OnInit, OnChanges, AfterContentInit {
|
|
|
18
18
|
* 标签类型
|
|
19
19
|
* @type 'pulled' | 'tabs' | 'pills' | 'lite'
|
|
20
20
|
*/
|
|
21
|
-
thyType: ThyTabsType
|
|
21
|
+
readonly thyType: import("@angular/core").InputSignal<ThyTabsType>;
|
|
22
22
|
/**
|
|
23
23
|
* 选项卡的大小
|
|
24
24
|
* @type 'lg' | 'md' | 'sm'
|
|
25
25
|
*/
|
|
26
|
-
thySize: ThyTabsSize
|
|
26
|
+
readonly thySize: import("@angular/core").InputSignal<ThyTabsSize>;
|
|
27
27
|
/**
|
|
28
28
|
* 激活的项
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
readonly thyActiveTab: import("@angular/core").InputSignal<ThyActiveTabInfo>;
|
|
31
31
|
/**
|
|
32
32
|
* 附加操作
|
|
33
33
|
*/
|
|
34
|
-
thyExtra: TemplateRef<unknown
|
|
34
|
+
readonly thyExtra: import("@angular/core").InputSignal<TemplateRef<unknown>>;
|
|
35
35
|
/**
|
|
36
36
|
* 选项卡的位置
|
|
37
37
|
* @type 'top' | 'left'
|
|
38
38
|
*/
|
|
39
|
-
thyPosition: ThyTabsPosition
|
|
39
|
+
readonly thyPosition: import("@angular/core").InputSignal<ThyTabsPosition>;
|
|
40
40
|
/**
|
|
41
41
|
* 是否使用动画切换 Tabs
|
|
42
42
|
*/
|
|
43
|
-
thyAnimated: boolean
|
|
43
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
44
44
|
/**
|
|
45
45
|
* 响应式,自动计算宽度存放 thyNavItem,并添加更多弹框
|
|
46
46
|
*/
|
|
47
|
-
thyResponsive: boolean
|
|
47
|
+
readonly thyResponsive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
48
48
|
/**
|
|
49
49
|
* 激活的项发生改变时的回调
|
|
50
50
|
*/
|
|
51
|
-
thyActiveTabChange:
|
|
51
|
+
readonly thyActiveTabChange: import("@angular/core").OutputEmitterRef<ThyActiveTabInfo>;
|
|
52
52
|
activeTabIndex: number;
|
|
53
53
|
activeTabId: string;
|
|
54
54
|
transitionStarted: boolean;
|
|
55
|
+
constructor();
|
|
55
56
|
ngOnInit(): void;
|
|
56
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
57
57
|
ngAfterContentInit(): void;
|
|
58
58
|
get tabPaneAnimated(): boolean;
|
|
59
59
|
getTabContentMarginLeft(): string;
|
|
60
60
|
activeTab(tab: ThyTab, index: number): void;
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTabs, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTabs, "thy-tabs", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyActiveTab": { "alias": "thyActiveTab"; "required": false; }; "thyExtra": { "alias": "thyExtra"; "required": false; }; "thyPosition": { "alias": "thyPosition"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; }; }, { "thyActiveTabChange": "thyActiveTabChange"; }, ["tabs"], never, true, never>;
|
|
63
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
64
|
-
static ngAcceptInputType_thyResponsive: boolean | string | number;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTabs, "thy-tabs", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyActiveTab": { "alias": "thyActiveTab"; "required": false; "isSignal": true; }; "thyExtra": { "alias": "thyExtra"; "required": false; "isSignal": true; }; "thyPosition": { "alias": "thyPosition"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; "isSignal": true; }; }, { "thyActiveTabChange": "thyActiveTabChange"; }, ["tabs"], never, true, never>;
|
|
65
63
|
}
|
package/tag/tag.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
1
|
import { ThyThemeColor } from 'ngx-tethys/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type ThyTagColor = ThyThemeColor | string;
|
|
@@ -8,47 +7,42 @@ export type ThyTagSize = 'sm' | 'md' | 'lg';
|
|
|
8
7
|
* 标签组件
|
|
9
8
|
* @name thy-tag,[thyTag]
|
|
10
9
|
*/
|
|
11
|
-
export declare class ThyTag
|
|
10
|
+
export declare class ThyTag {
|
|
12
11
|
private elementRef;
|
|
13
|
-
private color;
|
|
14
12
|
private hostRenderer;
|
|
15
13
|
/**
|
|
16
14
|
* 标签颜色,thyColor 的简写
|
|
17
15
|
* @type primary | success | info | warning | danger | default | light | string
|
|
18
16
|
* @default default
|
|
19
17
|
*/
|
|
20
|
-
|
|
18
|
+
readonly thyTag: import("@angular/core").InputSignal<string>;
|
|
21
19
|
/**
|
|
22
20
|
* 标签形状
|
|
23
21
|
* @type pill | rectangle
|
|
24
22
|
*/
|
|
25
|
-
thyShape: ThyTagShape
|
|
23
|
+
readonly thyShape: import("@angular/core").InputSignal<ThyTagShape>;
|
|
26
24
|
/**
|
|
27
25
|
* 标签颜色,支持设置主题色和颜色值,主题色为 default、primary、success、info、warning、danger
|
|
28
26
|
*/
|
|
29
|
-
|
|
27
|
+
readonly thyColor: import("@angular/core").InputSignal<string>;
|
|
30
28
|
/**
|
|
31
29
|
* 标签主题,fill 为颜色填充,outline 为线框,weak-fill 为背景色0.1透明度效果
|
|
32
30
|
* @type outline | fill | weak-fill
|
|
33
31
|
*/
|
|
34
|
-
thyTheme:
|
|
32
|
+
readonly thyTheme: import("@angular/core").InputSignal<"fill" | "outline" | "weak-fill">;
|
|
35
33
|
/**
|
|
36
34
|
* 标签大小
|
|
37
35
|
* @type sm | md | lg
|
|
38
36
|
*/
|
|
39
|
-
thySize: ThyTagSize
|
|
37
|
+
readonly thySize: import("@angular/core").InputSignal<ThyTagSize>;
|
|
40
38
|
/**
|
|
41
39
|
* 可 Hover 悬停的标签,设置为 true 时会有一个 Hover 效果
|
|
42
40
|
* @default false
|
|
43
41
|
*/
|
|
44
|
-
thyHoverable: boolean
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
readonly thyHoverable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
43
|
+
protected readonly color: import("@angular/core").Signal<string>;
|
|
44
|
+
constructor();
|
|
47
45
|
private setColor;
|
|
48
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTag, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTag, "thy-tag,[thyTag]", never, { "thyTag": { "alias": "thyTag"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyHoverable": { "alias": "thyHoverable"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
50
|
-
static ngAcceptInputType_thyHoverable: /**
|
|
51
|
-
* 可 Hover 悬停的标签,设置为 true 时会有一个 Hover 效果
|
|
52
|
-
* @default false
|
|
53
|
-
*/ boolean | string | number;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTag, "thy-tag,[thyTag]", never, { "thyTag": { "alias": "thyTag"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyHoverable": { "alias": "thyHoverable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
54
48
|
}
|
|
@@ -2,6 +2,7 @@ import { ElementRef, EventEmitter, OnDestroy, OnInit, Signal } from '@angular/co
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { ThyTimePickerLocale } from 'ngx-tethys/i18n';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* 时间选择面板组件
|
|
7
8
|
* @name thy-time-picker-panel
|
|
@@ -109,6 +110,6 @@ export declare class ThyTimePanel implements OnInit, OnDestroy, ControlValueAcce
|
|
|
109
110
|
ngOnDestroy(): void;
|
|
110
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimePanel, never>;
|
|
111
112
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePanel, "thy-time-picker-panel", never, { "thyFormat": { "alias": "thyFormat"; "required": false; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; }; "thyShowOperations": { "alias": "thyShowOperations"; "required": false; }; }, { "thyPickChange": "thyPickChange"; "thyClosePanel": "thyClosePanel"; }, never, never, true, never>;
|
|
112
|
-
static ngAcceptInputType_thyShowSelectNow:
|
|
113
|
-
static ngAcceptInputType_thyShowOperations:
|
|
113
|
+
static ngAcceptInputType_thyShowSelectNow: i1.ThyBooleanInput;
|
|
114
|
+
static ngAcceptInputType_thyShowOperations: i1.ThyBooleanInput;
|
|
114
115
|
}
|
|
@@ -4,6 +4,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
4
4
|
import { ThyPlacement } from 'ngx-tethys/core';
|
|
5
5
|
import { ThyTimePickerLocale } from 'ngx-tethys/i18n';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "ngx-tethys/util";
|
|
7
8
|
export type TimePickerSize = 'xs' | 'sm' | 'md' | 'lg' | 'default';
|
|
8
9
|
/**
|
|
9
10
|
* 时间选择组件
|
|
@@ -135,9 +136,9 @@ export declare class ThyTimePicker implements OnInit, AfterViewInit, ControlValu
|
|
|
135
136
|
private disabledUserOperation;
|
|
136
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimePicker, never>;
|
|
137
138
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePicker, "thy-time-picker", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyFormat": { "alias": "thyFormat"; "required": false; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; }; "thyPopupClass": { "alias": "thyPopupClass"; "required": false; }; "thyBackdrop": { "alias": "thyBackdrop"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, { "thyOpenChange": "thyOpenChange"; }, never, never, true, never>;
|
|
138
|
-
static ngAcceptInputType_thyBackdrop:
|
|
139
|
-
static ngAcceptInputType_thyDisabled:
|
|
140
|
-
static ngAcceptInputType_thyReadonly:
|
|
141
|
-
static ngAcceptInputType_thyShowSelectNow:
|
|
142
|
-
static ngAcceptInputType_thyAllowClear:
|
|
139
|
+
static ngAcceptInputType_thyBackdrop: i1.ThyBooleanInput;
|
|
140
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
141
|
+
static ngAcceptInputType_thyReadonly: i1.ThyBooleanInput;
|
|
142
|
+
static ngAcceptInputType_thyShowSelectNow: i1.ThyBooleanInput;
|
|
143
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
143
144
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
3
2
|
import { ThyTimeMode } from './timeline.type';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export type thyColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
@@ -8,12 +7,9 @@ export type thyColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
|
8
7
|
* @name thy-timeline-item
|
|
9
8
|
* @order 20
|
|
10
9
|
*/
|
|
11
|
-
export declare class ThyTimelineItem implements OnInit
|
|
10
|
+
export declare class ThyTimelineItem implements OnInit {
|
|
12
11
|
private cdr;
|
|
13
|
-
|
|
14
|
-
template: TemplateRef<void>;
|
|
15
|
-
className: string;
|
|
16
|
-
color: thyColor;
|
|
12
|
+
readonly template: import("@angular/core").Signal<TemplateRef<void>>;
|
|
17
13
|
isLast: boolean;
|
|
18
14
|
isFirst: boolean;
|
|
19
15
|
position: ThyTimeMode;
|
|
@@ -23,25 +19,25 @@ export declare class ThyTimelineItem implements OnInit, OnChanges {
|
|
|
23
19
|
* @type primary | success | warning | danger | info
|
|
24
20
|
* @default primary
|
|
25
21
|
*/
|
|
26
|
-
|
|
22
|
+
readonly thyColor: import("@angular/core").InputSignal<thyColor>;
|
|
27
23
|
/**
|
|
28
24
|
* 自定义节点位置
|
|
29
25
|
* @type left | right | center
|
|
30
26
|
*/
|
|
31
|
-
thyPosition: ThyTimeMode
|
|
27
|
+
readonly thyPosition: import("@angular/core").InputSignal<ThyTimeMode>;
|
|
32
28
|
/**
|
|
33
29
|
* 自定义时间轴点模板
|
|
34
30
|
* @type TemplateRef
|
|
35
31
|
*/
|
|
36
|
-
dot: TemplateRef<
|
|
32
|
+
readonly dot: import("@angular/core").Signal<TemplateRef<any>>;
|
|
37
33
|
/**
|
|
38
34
|
* 自定义另一侧的模板
|
|
39
35
|
* @type TemplateRef
|
|
40
36
|
*/
|
|
41
|
-
description: TemplateRef<
|
|
37
|
+
readonly description: import("@angular/core").Signal<TemplateRef<any>>;
|
|
38
|
+
constructor();
|
|
42
39
|
detectChanges(): void;
|
|
43
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
44
40
|
ngOnInit(): void;
|
|
45
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimelineItem, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimelineItem, "thy-timeline-item", ["ThyTimelineItem"], { "thyColor": { "alias": "thyColor"; "required": false; }; "thyPosition": { "alias": "thyPosition"; "required": false; }; }, {}, ["dot", "description"], ["*"], true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimelineItem, "thy-timeline-item", ["ThyTimelineItem"], { "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thyPosition": { "alias": "thyPosition"; "required": false; "isSignal": true; }; }, {}, ["dot", "description"], ["*"], true, never>;
|
|
47
43
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { ThyTimelineItem } from './timeline-item.component';
|
|
3
3
|
import { ThyTimeMode } from './timeline.type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -13,39 +13,35 @@ export type ThyTimeDirection = 'horizontal' | 'vertical';
|
|
|
13
13
|
* @name thy-timeline
|
|
14
14
|
* @order 10
|
|
15
15
|
*/
|
|
16
|
-
export declare class ThyTimeline implements OnInit
|
|
16
|
+
export declare class ThyTimeline implements OnInit {
|
|
17
17
|
private cdr;
|
|
18
18
|
private timelineService;
|
|
19
19
|
/**
|
|
20
20
|
* 节点排序是否倒序
|
|
21
21
|
* @default false
|
|
22
22
|
*/
|
|
23
|
-
thyReverse: boolean
|
|
23
|
+
readonly thyReverse: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
24
24
|
/**
|
|
25
25
|
* 改变时间轴和内容的相对位置
|
|
26
26
|
* @type left | right | center
|
|
27
27
|
* @default left
|
|
28
28
|
*/
|
|
29
|
-
thyMode: ThyTimeMode
|
|
29
|
+
readonly thyMode: import("@angular/core").InputSignal<ThyTimeMode>;
|
|
30
30
|
/**
|
|
31
31
|
* 时间轴的方向
|
|
32
32
|
* @type horizontal | vertical
|
|
33
33
|
*/
|
|
34
|
-
thyDirection: ThyTimeDirection
|
|
34
|
+
readonly thyDirection: import("@angular/core").InputSignal<ThyTimeDirection>;
|
|
35
35
|
timelineItems: ThyTimelineItem[];
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
rightTimeline: boolean
|
|
39
|
-
centerTimeline: boolean
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
+
templateTimeline: WritableSignal<boolean>;
|
|
37
|
+
horizontal: import("@angular/core").Signal<boolean>;
|
|
38
|
+
rightTimeline: import("@angular/core").Signal<boolean>;
|
|
39
|
+
centerTimeline: import("@angular/core").Signal<boolean>;
|
|
40
|
+
readonly listOfItems: import("@angular/core").Signal<readonly ThyTimelineItem[]>;
|
|
41
|
+
private takeUntilDestroyed;
|
|
42
|
+
constructor();
|
|
44
43
|
ngOnInit(): void;
|
|
45
|
-
ngAfterContentInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
44
|
private updateChildren;
|
|
48
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimeline, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimeline, "thy-timeline", never, { "thyReverse": { "alias": "thyReverse"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyDirection": { "alias": "thyDirection"; "required": false; }; }, {}, ["listOfItems"], ["*"], true, never>;
|
|
50
|
-
static ngAcceptInputType_thyReverse: boolean | string | number;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimeline, "thy-timeline", never, { "thyReverse": { "alias": "thyReverse"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyDirection": { "alias": "thyDirection"; "required": false; "isSignal": true; }; }, {}, ["listOfItems"], ["*"], true, never>;
|
|
51
47
|
}
|
|
@@ -3,6 +3,7 @@ import { ThyOverlayDirectiveBase, ThyOverlayTrigger, ThyPlacement } from 'ngx-te
|
|
|
3
3
|
import { SafeAny } from 'ngx-tethys/types';
|
|
4
4
|
import { ThyTooltipContent } from './interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "ngx-tethys/util";
|
|
6
7
|
/**
|
|
7
8
|
* @name thyTooltip
|
|
8
9
|
*/
|
|
@@ -76,7 +77,7 @@ export declare class ThyTooltipDirective extends ThyOverlayDirectiveBase impleme
|
|
|
76
77
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyTooltipDirective, "[thyTooltip],[thy-tooltip]", ["thyTooltip"], { "content": { "alias": "thyTooltip"; "required": false; }; "placement": { "alias": "thyTooltipPlacement"; "required": false; }; "thyTooltipClass": { "alias": "thyTooltipClass"; "required": false; }; "showDelay": { "alias": "thyTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "thyTooltipHideDelay"; "required": false; }; "thyTooltipTrigger": { "alias": "thyTooltipTrigger"; "required": false; }; "thyTooltipDisabled": { "alias": "thyTooltipDisabled"; "required": false; }; "data": { "alias": "thyTooltipTemplateContext"; "required": false; }; "tooltipOffset": { "alias": "thyTooltipOffset"; "required": false; }; "tooltipPin": { "alias": "thyTooltipPin"; "required": false; }; }, {}, never, never, true, never>;
|
|
77
78
|
static ngAcceptInputType_showDelay: unknown;
|
|
78
79
|
static ngAcceptInputType_hideDelay: unknown;
|
|
79
|
-
static ngAcceptInputType_thyTooltipDisabled:
|
|
80
|
+
static ngAcceptInputType_thyTooltipDisabled: i1.ThyBooleanInput;
|
|
80
81
|
static ngAcceptInputType_tooltipOffset: unknown;
|
|
81
|
-
static ngAcceptInputType_tooltipPin:
|
|
82
|
+
static ngAcceptInputType_tooltipPin: i1.ThyBooleanInput;
|
|
82
83
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { DoCheck,
|
|
2
|
+
import { DoCheck, OnInit, Signal, TemplateRef } from '@angular/core';
|
|
3
3
|
import { InnerTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
|
|
4
4
|
import { ThyTransferLocale } from 'ngx-tethys/i18n';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,19 +14,19 @@ export declare class ThyTransferList implements OnInit, DoCheck {
|
|
|
14
14
|
private _lockDiff;
|
|
15
15
|
private _unlockDiff;
|
|
16
16
|
locale: Signal<ThyTransferLocale>;
|
|
17
|
-
title: string
|
|
18
|
-
items: ThyTransferItem[]
|
|
19
|
-
draggable: boolean
|
|
20
|
-
canLock: boolean
|
|
21
|
-
maxLock: number
|
|
22
|
-
max: number
|
|
23
|
-
disabled: boolean
|
|
24
|
-
template: TemplateRef<any
|
|
25
|
-
|
|
26
|
-
draggableUpdate:
|
|
27
|
-
selectItem:
|
|
28
|
-
unselectItem:
|
|
29
|
-
|
|
17
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
18
|
+
readonly items: import("@angular/core").InputSignal<ThyTransferItem[]>;
|
|
19
|
+
readonly draggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly canLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly maxLock: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
22
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
23
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
24
|
+
readonly template: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
25
|
+
readonly renderContentRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
26
|
+
readonly draggableUpdate: import("@angular/core").OutputEmitterRef<InnerTransferDragEvent>;
|
|
27
|
+
readonly selectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
|
|
28
|
+
readonly unselectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
|
|
29
|
+
constructor();
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
private _combineTransferData;
|
|
32
32
|
private _afterChangeItems;
|
|
@@ -37,5 +37,5 @@ export declare class ThyTransferList implements OnInit, DoCheck {
|
|
|
37
37
|
onUnselectItem: (item: ThyTransferItem) => void;
|
|
38
38
|
drop(event: CdkDragDrop<ThyTransferItem[]>): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransferList, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "canLock": { "alias": "canLock"; "required": false; }; "maxLock": { "alias": "maxLock"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "template": { "alias": "template"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "canLock": { "alias": "canLock"; "required": false; "isSignal": true; }; "maxLock": { "alias": "maxLock"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "renderContentRef": { "alias": "renderContentRef"; "required": false; "isSignal": true; }; }, { "draggableUpdate": "draggableUpdate"; "selectItem": "selectItem"; "unselectItem": "unselectItem"; }, never, never, true, never>;
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Direction, InnerTransferDragEvent, ThyTransferChangeEvent, ThyTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -7,79 +7,76 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @order 10
|
|
8
8
|
*/
|
|
9
9
|
export declare class ThyTransfer implements OnInit {
|
|
10
|
-
hostClass: string;
|
|
11
10
|
leftDataSource: ThyTransferItem[];
|
|
12
11
|
rightDataSource: ThyTransferItem[];
|
|
13
|
-
allDataSource: ThyTransferItem[];
|
|
14
|
-
leftTitle: string;
|
|
15
|
-
rightTitle: string;
|
|
16
|
-
rightDraggable: boolean;
|
|
17
|
-
private _autoMove;
|
|
18
12
|
/**
|
|
19
13
|
* 数据源
|
|
20
14
|
* @type ThyTransferItem[]
|
|
21
15
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
readonly thyData: import("@angular/core").InputSignal<ThyTransferItem[]>;
|
|
17
|
+
readonly thyRenderLeftTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
18
|
+
readonly thyRenderRightTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
25
19
|
/**
|
|
26
20
|
* title集合,title[0]为左标题,title[1]为右标题
|
|
27
21
|
* @type string[]
|
|
28
22
|
*/
|
|
29
|
-
|
|
23
|
+
readonly thyTitles: import("@angular/core").InputSignal<string[]>;
|
|
30
24
|
/**
|
|
31
25
|
* 右侧列表是否可以锁定
|
|
32
26
|
* @default false
|
|
33
27
|
*/
|
|
34
|
-
thyRightCanLock: boolean
|
|
28
|
+
readonly thyRightCanLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
35
29
|
/**
|
|
36
30
|
* 右侧锁定最大数量
|
|
37
31
|
*/
|
|
38
|
-
thyRightLockMax: number
|
|
32
|
+
readonly thyRightLockMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
39
33
|
/**
|
|
40
34
|
* 右侧选择最大数量
|
|
41
35
|
*/
|
|
42
|
-
thyRightMax: number
|
|
36
|
+
readonly thyRightMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
43
37
|
/**
|
|
44
38
|
* 设置是否自动移动
|
|
45
39
|
* @description.en-us Currently not implemented, in order to support the selections move
|
|
46
40
|
* @default true
|
|
47
41
|
*/
|
|
48
|
-
|
|
42
|
+
readonly thyAutoMove: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
49
43
|
/**
|
|
50
44
|
* 左侧列表是否拖动
|
|
51
45
|
* @default false
|
|
52
46
|
*/
|
|
53
|
-
thyLeftDraggable: boolean
|
|
47
|
+
readonly thyLeftDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
54
48
|
/**
|
|
55
49
|
* 右侧列表是否拖动
|
|
56
50
|
* @default false
|
|
57
51
|
*/
|
|
58
|
-
thyRightDraggable: boolean
|
|
52
|
+
readonly thyRightDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
53
|
/**
|
|
60
54
|
* @type EventEmitter<ThyTransferDragEvent>
|
|
61
55
|
*/
|
|
62
|
-
thyDraggableUpdate:
|
|
56
|
+
thyDraggableUpdate: import("@angular/core").OutputEmitterRef<ThyTransferDragEvent>;
|
|
63
57
|
/**
|
|
64
58
|
* Transfer变化的回调事件
|
|
65
59
|
* @type EventEmitter<ThyTransferChangeEvent>
|
|
66
60
|
*/
|
|
67
|
-
thyChange:
|
|
61
|
+
thyChange: import("@angular/core").OutputEmitterRef<ThyTransferChangeEvent>;
|
|
68
62
|
/**
|
|
69
63
|
* 设置自定义Item渲染数据模板
|
|
70
64
|
* @type TemplateRef
|
|
71
65
|
*/
|
|
72
|
-
templateRef: TemplateRef<any
|
|
66
|
+
readonly templateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
73
67
|
/**
|
|
74
68
|
* 设置自定义左侧内容模板
|
|
75
69
|
* @type TemplateRef
|
|
76
70
|
*/
|
|
77
|
-
leftContentRef: TemplateRef<any
|
|
71
|
+
readonly leftContentRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
78
72
|
/**
|
|
79
73
|
* 设置自定义右侧内容模板
|
|
80
74
|
* @type TemplateRef
|
|
81
75
|
*/
|
|
82
|
-
rightContentRef: TemplateRef<any
|
|
76
|
+
readonly rightContentRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
77
|
+
readonly leftTitle: import("@angular/core").Signal<string>;
|
|
78
|
+
readonly rightTitle: import("@angular/core").Signal<string>;
|
|
79
|
+
constructor();
|
|
83
80
|
ngOnInit(): void;
|
|
84
81
|
initializeTransferData(data?: ThyTransferItem[]): void;
|
|
85
82
|
onSelect(from: Direction, event: ThyTransferSelectEvent): void;
|
|
@@ -89,5 +86,5 @@ export declare class ThyTransfer implements OnInit {
|
|
|
89
86
|
onMove(to: Direction): void;
|
|
90
87
|
onDragUpdate(direction: Direction, event: InnerTransferDragEvent): void;
|
|
91
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransfer, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; }; "
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; "isSignal": true; }; "thyRenderLeftTemplateRef": { "alias": "thyRenderLeftTemplateRef"; "required": false; "isSignal": true; }; "thyRenderRightTemplateRef": { "alias": "thyRenderRightTemplateRef"; "required": false; "isSignal": true; }; "thyTitles": { "alias": "thyTitles"; "required": false; "isSignal": true; }; "thyRightCanLock": { "alias": "thyRightCanLock"; "required": false; "isSignal": true; }; "thyRightLockMax": { "alias": "thyRightLockMax"; "required": false; "isSignal": true; }; "thyRightMax": { "alias": "thyRightMax"; "required": false; "isSignal": true; }; "thyAutoMove": { "alias": "thyAutoMove"; "required": false; "isSignal": true; }; "thyLeftDraggable": { "alias": "thyLeftDraggable"; "required": false; "isSignal": true; }; "thyRightDraggable": { "alias": "thyRightDraggable"; "required": false; "isSignal": true; }; }, { "thyDraggableUpdate": "thyDraggableUpdate"; "thyChange": "thyChange"; }, ["templateRef", "leftContentRef", "rightContentRef"], never, true, never>;
|
|
93
90
|
}
|
package/tree/tree-abstract.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, InputSignal, Signal } from '@angular/core';
|
|
2
2
|
import { ThyTreeNode } from './tree.class';
|
|
3
3
|
import { ThyTreeBeforeDragDropContext, ThyTreeBeforeDragStartContext, ThyTreeDragDropEvent, ThyTreeIcons } from './tree.class';
|
|
4
4
|
export interface ThyTreeAbstractComponent {
|
|
5
|
-
thyMultiple: boolean
|
|
6
|
-
thyDraggable: boolean
|
|
7
|
-
thyShowExpand: boolean
|
|
5
|
+
thyMultiple: InputSignal<boolean>;
|
|
6
|
+
thyDraggable: InputSignal<boolean>;
|
|
7
|
+
thyShowExpand: InputSignal<boolean>;
|
|
8
8
|
treeNodes: ThyTreeNode[];
|
|
9
|
-
|
|
9
|
+
icons: Signal<ThyTreeIcons>;
|
|
10
10
|
thyBeforeDragStart(e: ThyTreeBeforeDragStartContext): boolean;
|
|
11
11
|
thyBeforeDragDrop(e: ThyTreeBeforeDragDropContext): boolean;
|
|
12
12
|
onDragDrop(event: ThyTreeDragDropEvent): void;
|