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
|
@@ -1,76 +1,75 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, ElementRef } from '@angular/core';
|
|
2
2
|
import { ThyResizeEvent } from './interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* 调整尺寸
|
|
6
6
|
* @name thyResizable
|
|
7
7
|
*/
|
|
8
|
-
export declare class ThyResizableDirective implements
|
|
8
|
+
export declare class ThyResizableDirective implements OnDestroy {
|
|
9
9
|
private elementRef;
|
|
10
10
|
private renderer;
|
|
11
11
|
private platform;
|
|
12
12
|
private ngZone;
|
|
13
13
|
private thyResizableService;
|
|
14
|
-
private changeDetectorRef;
|
|
15
14
|
/**
|
|
16
15
|
* 调整尺寸的边界
|
|
17
16
|
* @default parent
|
|
18
17
|
* @type 'window' | 'parent' | ElementRef<HTMLElement>
|
|
19
18
|
*/
|
|
20
|
-
thyBounds:
|
|
19
|
+
readonly thyBounds: import("@angular/core").InputSignal<"window" | ElementRef<HTMLElement> | "parent">;
|
|
21
20
|
/**
|
|
22
21
|
* 最大高度(超过边界部分忽略)
|
|
23
22
|
*/
|
|
24
|
-
thyMaxHeight
|
|
23
|
+
readonly thyMaxHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
25
24
|
/**
|
|
26
25
|
* 最大宽度(超过边界部分忽略)
|
|
27
26
|
*/
|
|
28
|
-
thyMaxWidth
|
|
27
|
+
readonly thyMaxWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
29
28
|
/**
|
|
30
29
|
* 最小高度
|
|
31
30
|
*/
|
|
32
|
-
thyMinHeight: number
|
|
31
|
+
readonly thyMinHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
33
32
|
/**
|
|
34
33
|
* 最小宽度
|
|
35
34
|
*/
|
|
36
|
-
thyMinWidth: number
|
|
35
|
+
readonly thyMinWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
37
36
|
/**
|
|
38
37
|
* 栅格列数(-1 为不栅格)
|
|
39
38
|
*/
|
|
40
|
-
thyGridColumnCount: number
|
|
39
|
+
readonly thyGridColumnCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
41
40
|
/**
|
|
42
41
|
* 栅格最大列数
|
|
43
42
|
*/
|
|
44
|
-
thyMaxColumn: number
|
|
43
|
+
readonly thyMaxColumn: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
45
44
|
/**
|
|
46
45
|
* 栅格最小列数
|
|
47
46
|
*/
|
|
48
|
-
thyMinColumn: number
|
|
47
|
+
readonly thyMinColumn: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
49
48
|
/**
|
|
50
49
|
* 锁定宽高比
|
|
51
50
|
*/
|
|
52
|
-
thyLockAspectRatio: boolean
|
|
51
|
+
readonly thyLockAspectRatio: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
52
|
/**
|
|
54
53
|
* 是否预览模式
|
|
55
54
|
*/
|
|
56
|
-
thyPreview: boolean
|
|
55
|
+
readonly thyPreview: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
57
56
|
/**
|
|
58
57
|
* 是否禁用调整大小
|
|
59
58
|
*/
|
|
60
|
-
thyDisabled: boolean
|
|
59
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
61
60
|
/**
|
|
62
61
|
* 调整尺寸时的事件
|
|
63
62
|
*/
|
|
64
|
-
readonly thyResize:
|
|
63
|
+
readonly thyResize: import("@angular/core").OutputEmitterRef<ThyResizeEvent>;
|
|
65
64
|
/**
|
|
66
65
|
* 开始调整尺寸时的事件
|
|
67
66
|
*/
|
|
68
|
-
readonly thyResizeStart:
|
|
67
|
+
readonly thyResizeStart: import("@angular/core").OutputEmitterRef<ThyResizeEvent>;
|
|
69
68
|
/**
|
|
70
69
|
* 结束调整尺寸时的事件
|
|
71
70
|
*/
|
|
72
|
-
readonly thyResizeEnd:
|
|
73
|
-
resizing: boolean
|
|
71
|
+
readonly thyResizeEnd: import("@angular/core").OutputEmitterRef<ThyResizeEvent>;
|
|
72
|
+
resizing: import("@angular/core").WritableSignal<boolean>;
|
|
74
73
|
private nativeElement;
|
|
75
74
|
private nativeElementRect;
|
|
76
75
|
private sizeCache;
|
|
@@ -78,7 +77,6 @@ export declare class ThyResizableDirective implements AfterViewInit, OnDestroy {
|
|
|
78
77
|
private currentHandleEvent;
|
|
79
78
|
private readonly destroyRef;
|
|
80
79
|
constructor();
|
|
81
|
-
ngAfterViewInit(): void;
|
|
82
80
|
setCursor(): void;
|
|
83
81
|
endResize(event: MouseEvent | TouchEvent): void;
|
|
84
82
|
resize(event: MouseEvent | TouchEvent): void;
|
|
@@ -88,21 +86,5 @@ export declare class ThyResizableDirective implements AfterViewInit, OnDestroy {
|
|
|
88
86
|
removeGhostElement(): void;
|
|
89
87
|
ngOnDestroy(): void;
|
|
90
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizableDirective, never>;
|
|
91
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyResizableDirective, "[thyResizable]", never, { "thyBounds": { "alias": "thyBounds"; "required": false; }; "thyMaxHeight": { "alias": "thyMaxHeight"; "required": false; }; "thyMaxWidth": { "alias": "thyMaxWidth"; "required": false; }; "thyMinHeight": { "alias": "thyMinHeight"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "thyGridColumnCount": { "alias": "thyGridColumnCount"; "required": false; }; "thyMaxColumn": { "alias": "thyMaxColumn"; "required": false; }; "thyMinColumn": { "alias": "thyMinColumn"; "required": false; }; "thyLockAspectRatio": { "alias": "thyLockAspectRatio"; "required": false; }; "thyPreview": { "alias": "thyPreview"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "thyResize": "thyResize"; "thyResizeStart": "thyResizeStart"; "thyResizeEnd": "thyResizeEnd"; }, never, never, true, never>;
|
|
92
|
-
static ngAcceptInputType_thyMaxHeight: unknown;
|
|
93
|
-
static ngAcceptInputType_thyMaxWidth: unknown;
|
|
94
|
-
static ngAcceptInputType_thyMinHeight: unknown;
|
|
95
|
-
static ngAcceptInputType_thyMinWidth: unknown;
|
|
96
|
-
static ngAcceptInputType_thyGridColumnCount: unknown;
|
|
97
|
-
static ngAcceptInputType_thyMaxColumn: unknown;
|
|
98
|
-
static ngAcceptInputType_thyMinColumn: unknown;
|
|
99
|
-
static ngAcceptInputType_thyLockAspectRatio: boolean /**
|
|
100
|
-
* 栅格最大列数
|
|
101
|
-
*/ | string | number;
|
|
102
|
-
static ngAcceptInputType_thyPreview: boolean /**
|
|
103
|
-
* 栅格最大列数
|
|
104
|
-
*/ | string | number;
|
|
105
|
-
static ngAcceptInputType_thyDisabled: boolean /**
|
|
106
|
-
* 栅格最大列数
|
|
107
|
-
*/ | string | number;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyResizableDirective, "[thyResizable]", never, { "thyBounds": { "alias": "thyBounds"; "required": false; "isSignal": true; }; "thyMaxHeight": { "alias": "thyMaxHeight"; "required": false; "isSignal": true; }; "thyMaxWidth": { "alias": "thyMaxWidth"; "required": false; "isSignal": true; }; "thyMinHeight": { "alias": "thyMinHeight"; "required": false; "isSignal": true; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; "isSignal": true; }; "thyGridColumnCount": { "alias": "thyGridColumnCount"; "required": false; "isSignal": true; }; "thyMaxColumn": { "alias": "thyMaxColumn"; "required": false; "isSignal": true; }; "thyMinColumn": { "alias": "thyMinColumn"; "required": false; "isSignal": true; }; "thyLockAspectRatio": { "alias": "thyLockAspectRatio"; "required": false; "isSignal": true; }; "thyPreview": { "alias": "thyPreview"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, { "thyResize": "thyResize"; "thyResizeStart": "thyResizeStart"; "thyResizeEnd": "thyResizeEnd"; }, never, never, true, never>;
|
|
108
90
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ThyResizeDirection, ThyResizeHandleMouseDownEvent } from './interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -13,19 +13,19 @@ export declare class ThyResizeHandle implements OnInit {
|
|
|
13
13
|
* 调整方向
|
|
14
14
|
* @type top | right | bottom | left | topRight | bottomRight | bottomLeft | topLeft
|
|
15
15
|
*/
|
|
16
|
-
thyDirection: ThyResizeDirection
|
|
16
|
+
readonly thyDirection: import("@angular/core").InputSignal<ThyResizeDirection>;
|
|
17
17
|
/**
|
|
18
18
|
* 是否展示拖拽线
|
|
19
|
+
* @type boolean
|
|
19
20
|
*/
|
|
20
|
-
thyLine: boolean
|
|
21
|
+
readonly thyLine: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
22
|
/**
|
|
22
23
|
* MouseDown 回调事件
|
|
23
24
|
*/
|
|
24
|
-
readonly thyMouseDown:
|
|
25
|
+
readonly thyMouseDown: import("@angular/core").OutputEmitterRef<ThyResizeHandleMouseDownEvent>;
|
|
25
26
|
private hostRenderer;
|
|
26
27
|
private readonly destroyRef;
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandle, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandle, "thy-resize-handle, [thy-resize-handle]", ["thyResizeHandle"], { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, { "thyMouseDown": "thyMouseDown"; }, never, ["*"], true, never>;
|
|
30
|
-
static ngAcceptInputType_thyLine: boolean | string | number;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandle, "thy-resize-handle, [thy-resize-handle]", ["thyResizeHandle"], { "thyDirection": { "alias": "thyDirection"; "required": false; "isSignal": true; }; "thyLine": { "alias": "thyLine"; "required": false; "isSignal": true; }; }, { "thyMouseDown": "thyMouseDown"; }, never, ["*"], true, never>;
|
|
31
31
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import { ThyResizeDirection } from './interface';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
|
|
@@ -6,19 +5,17 @@ export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
|
|
|
6
5
|
* 定义调整手柄的快捷组件
|
|
7
6
|
* @name thy-resize-handles
|
|
8
7
|
*/
|
|
9
|
-
export declare class ThyResizeHandles
|
|
8
|
+
export declare class ThyResizeHandles {
|
|
10
9
|
/**
|
|
11
10
|
* 定义调整手柄的方向
|
|
12
11
|
* @type ThyResizeDirection[]
|
|
13
12
|
*/
|
|
14
|
-
thyDirections: ThyResizeDirection[]
|
|
13
|
+
readonly thyDirections: import("@angular/core").InputSignal<ThyResizeDirection[]>;
|
|
15
14
|
/**
|
|
16
15
|
* 是否展示拖拽线
|
|
17
16
|
*/
|
|
18
|
-
thyLine: boolean
|
|
19
|
-
directions: Set<ThyResizeDirection
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
readonly thyLine: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly directions: import("@angular/core").Signal<Set<ThyResizeDirection>>;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
static ngAcceptInputType_thyLine: boolean | string | number;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; "isSignal": true; }; "thyLine": { "alias": "thyLine"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
24
21
|
}
|
|
@@ -10,46 +10,45 @@ export declare class ThyResult implements OnInit {
|
|
|
10
10
|
* @description 结果的状态,决定显示的图标
|
|
11
11
|
* @type success | warning | error
|
|
12
12
|
*/
|
|
13
|
-
thyStatus: ThyResultStatus
|
|
13
|
+
readonly thyStatus: import("@angular/core").InputSignal<ThyResultStatus>;
|
|
14
14
|
/**
|
|
15
15
|
* @description 自定义 icon,作为 img 的 src 显示
|
|
16
16
|
* @type string
|
|
17
17
|
*/
|
|
18
|
-
thyIcon: string
|
|
18
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
19
19
|
/**
|
|
20
20
|
* @description 标题
|
|
21
21
|
* @type string
|
|
22
22
|
*/
|
|
23
|
-
thyTitle: string
|
|
23
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
24
24
|
/**
|
|
25
25
|
* @description 二级标题
|
|
26
26
|
* @type string
|
|
27
27
|
*/
|
|
28
|
-
thySubtitle: string
|
|
28
|
+
readonly thySubtitle: import("@angular/core").InputSignal<string>;
|
|
29
29
|
/**
|
|
30
30
|
* @description 自定义 icon 模板
|
|
31
31
|
* @type TemplateRef<any>
|
|
32
32
|
*/
|
|
33
|
-
iconTemplateRef: TemplateRef<any
|
|
33
|
+
protected readonly iconTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
34
34
|
/**
|
|
35
35
|
* @description 自定义标题模板
|
|
36
36
|
* @type TemplateRef<any>
|
|
37
37
|
*/
|
|
38
|
-
titleTemplateRef: TemplateRef<any
|
|
38
|
+
protected readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
39
39
|
/**
|
|
40
40
|
* @description 自定义二级标题模板
|
|
41
41
|
* @type TemplateRef<any>
|
|
42
42
|
*/
|
|
43
|
-
subtitleTemplateRef: TemplateRef<any
|
|
43
|
+
protected readonly subtitleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
44
44
|
/**
|
|
45
45
|
* @description 自定义操作区域
|
|
46
46
|
* @type TemplateRef<any>
|
|
47
47
|
*/
|
|
48
|
-
extraTemplateRef: TemplateRef<any
|
|
49
|
-
className: boolean;
|
|
48
|
+
protected readonly extraTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
50
49
|
constructor();
|
|
51
50
|
ngOnInit(): void;
|
|
52
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResult, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
|
|
54
53
|
}
|
|
55
54
|
export {};
|
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "19.0.
|
|
1
|
+
export declare const VERSION = "19.1.0-next.1";
|
package/schematics/version.js
CHANGED
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { IThySegmentItemComponent } from './segment.token';
|
|
3
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* 分段控制器的选项组件
|
|
7
6
|
* @name thy-segment-item,[thy-segment-item]
|
|
8
7
|
*/
|
|
9
|
-
export declare class ThySegmentItem implements IThySegmentItemComponent
|
|
8
|
+
export declare class ThySegmentItem implements IThySegmentItemComponent {
|
|
10
9
|
elementRef: ElementRef<any>;
|
|
11
10
|
private ngZone;
|
|
12
|
-
private cdr;
|
|
13
11
|
private renderer;
|
|
14
12
|
private parent;
|
|
15
13
|
/**
|
|
16
14
|
* 选项的值
|
|
17
15
|
*/
|
|
18
|
-
thyValue:
|
|
16
|
+
readonly thyValue: import("@angular/core").InputSignal<any>;
|
|
19
17
|
/**
|
|
20
18
|
* 选项的图标
|
|
21
19
|
*/
|
|
22
|
-
thyIcon: string
|
|
20
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
23
21
|
/**
|
|
24
22
|
* 是否禁用该选项
|
|
25
23
|
*/
|
|
26
|
-
thyDisabled: boolean
|
|
27
|
-
isOnlyIcon: boolean
|
|
28
|
-
isWithText: boolean
|
|
29
|
-
private
|
|
24
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
isOnlyIcon: import("@angular/core").WritableSignal<boolean>;
|
|
26
|
+
isWithText: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
+
private destroyRef;
|
|
30
28
|
constructor();
|
|
31
|
-
ngAfterViewInit(): void;
|
|
32
29
|
select(): void;
|
|
33
30
|
unselect(): void;
|
|
34
31
|
private wrapSpanForText;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySegmentItem, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySegmentItem, "thy-segment-item,[thy-segment-item]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
38
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySegmentItem, "thy-segment-item,[thy-segment-item]", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
39
34
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
|
2
1
|
import { ThumbAnimationProps } from 'ngx-tethys/core';
|
|
3
2
|
import { ThySegmentItem } from './segment-item.component';
|
|
4
3
|
import { IThySegmentComponent } from './segment.token';
|
|
@@ -11,48 +10,46 @@ export type ThySegmentMode = 'block' | 'inline';
|
|
|
11
10
|
* 分段控制器组件
|
|
12
11
|
* @name thy-segment
|
|
13
12
|
*/
|
|
14
|
-
export declare class ThySegment implements IThySegmentComponent
|
|
13
|
+
export declare class ThySegment implements IThySegmentComponent {
|
|
15
14
|
private cdr;
|
|
16
15
|
private destroyRef;
|
|
17
16
|
/**
|
|
18
17
|
* @internal
|
|
19
18
|
*/
|
|
20
|
-
options:
|
|
19
|
+
readonly options: import("@angular/core").Signal<readonly ThySegmentItem[]>;
|
|
21
20
|
/**
|
|
22
21
|
* 大小
|
|
23
22
|
* @type xs | sm | md | default
|
|
24
23
|
*/
|
|
25
|
-
thySize: ThySegmentSize
|
|
24
|
+
readonly thySize: import("@angular/core").InputSignal<ThySegmentSize>;
|
|
26
25
|
/**
|
|
27
26
|
* 模式
|
|
28
27
|
* @type block | inline
|
|
29
28
|
*/
|
|
30
|
-
thyMode: ThySegmentMode
|
|
29
|
+
readonly thyMode: import("@angular/core").InputSignal<ThySegmentMode>;
|
|
31
30
|
/**
|
|
32
31
|
* 是否禁用分段控制器
|
|
33
32
|
*/
|
|
34
|
-
thyDisabled: boolean
|
|
33
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
35
34
|
/**
|
|
36
35
|
* 选中选项的索引
|
|
37
36
|
*/
|
|
38
|
-
|
|
37
|
+
readonly thyActiveIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
39
38
|
/**
|
|
40
39
|
* 选项被选中的回调事件
|
|
41
40
|
*/
|
|
42
|
-
readonly thySelectChange:
|
|
41
|
+
readonly thySelectChange: import("@angular/core").OutputEmitterRef<ThySegmentEvent<unknown>>;
|
|
43
42
|
selectedItem: ThySegmentItem;
|
|
44
43
|
private newActiveIndex;
|
|
45
44
|
private activeIndex;
|
|
46
|
-
animationState:
|
|
45
|
+
animationState: import("@angular/core").WritableSignal<{
|
|
47
46
|
value: string;
|
|
48
47
|
params: ThumbAnimationProps;
|
|
49
|
-
}
|
|
48
|
+
}>;
|
|
50
49
|
transitionedTo: any;
|
|
51
|
-
|
|
50
|
+
constructor();
|
|
52
51
|
changeSelectedItem(item: ThySegmentItem, event?: Event): void;
|
|
53
52
|
handleThumbAnimationDone(event: AnimationEvent): void;
|
|
54
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySegment, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySegment, "thy-segment", ["thySegment"], { "thySize": { "alias": "thySize"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyActiveIndex": { "alias": "thyActiveIndex"; "required": false; }; }, { "thySelectChange": "thySelectChange"; }, ["options"], ["*"], true, never>;
|
|
56
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
57
|
-
static ngAcceptInputType_thyActiveIndex: unknown;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySegment, "thy-segment", ["thySegment"], { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyActiveIndex": { "alias": "thyActiveIndex"; "required": false; "isSignal": true; }; }, { "thySelectChange": "thySelectChange"; }, ["options"], ["*"], true, never>;
|
|
58
55
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ElementRef, InjectionToken } from '@angular/core';
|
|
1
|
+
import { ElementRef, InjectionToken, InputSignal, InputSignalWithTransform } from '@angular/core';
|
|
2
2
|
import { SafeAny } from 'ngx-tethys/types';
|
|
3
|
+
import { ThyBooleanInput } from 'ngx-tethys/util';
|
|
3
4
|
export interface IThySegmentItemComponent {
|
|
4
5
|
elementRef: ElementRef<HTMLElement>;
|
|
5
6
|
thyValue: SafeAny;
|
|
@@ -7,8 +8,8 @@ export interface IThySegmentItemComponent {
|
|
|
7
8
|
select: () => void;
|
|
8
9
|
}
|
|
9
10
|
export interface IThySegmentComponent {
|
|
10
|
-
thyMode: string
|
|
11
|
-
thyDisabled: boolean
|
|
11
|
+
thyMode: InputSignal<string>;
|
|
12
|
+
thyDisabled: InputSignalWithTransform<boolean, ThyBooleanInput> | InputSignal<boolean>;
|
|
12
13
|
selectedItem: IThySegmentItemComponent;
|
|
13
14
|
changeSelectedItem: (item: IThySegmentItemComponent, event?: Event) => void;
|
|
14
15
|
}
|
|
@@ -9,6 +9,7 @@ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, O
|
|
|
9
9
|
import { ControlValueAccessor } from '@angular/forms';
|
|
10
10
|
import { ThyDropdownWidthMode, ThySelectConfig } from '../select.config';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "ngx-tethys/util";
|
|
12
13
|
export type SelectMode = 'multiple' | '';
|
|
13
14
|
export type ThySelectTriggerType = 'click' | 'hover';
|
|
14
15
|
export declare const SELECT_PANEL_MAX_HEIGHT = 300;
|
|
@@ -278,16 +279,16 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
278
279
|
ngOnDestroy(): void;
|
|
279
280
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelect, never>;
|
|
280
281
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "contentOptions", "contentGroups"], ["*"], true, never>;
|
|
281
|
-
static ngAcceptInputType_thyShowSearch:
|
|
282
|
-
static ngAcceptInputType_thyServerSearch:
|
|
283
|
-
static ngAcceptInputType_thyLoadState:
|
|
284
|
-
static ngAcceptInputType_thyAutoActiveFirstItem:
|
|
285
|
-
static ngAcceptInputType_thyEnableScrollLoad:
|
|
286
|
-
static ngAcceptInputType_thyAllowClear:
|
|
287
|
-
static ngAcceptInputType_thyDisabled:
|
|
288
|
-
static ngAcceptInputType_thyAutoExpand:
|
|
289
|
-
static ngAcceptInputType_thyHasBackdrop:
|
|
282
|
+
static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
|
|
283
|
+
static ngAcceptInputType_thyServerSearch: i1.ThyBooleanInput;
|
|
284
|
+
static ngAcceptInputType_thyLoadState: i1.ThyBooleanInput;
|
|
285
|
+
static ngAcceptInputType_thyAutoActiveFirstItem: i1.ThyBooleanInput;
|
|
286
|
+
static ngAcceptInputType_thyEnableScrollLoad: i1.ThyBooleanInput;
|
|
287
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
288
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
289
|
+
static ngAcceptInputType_thyAutoExpand: i1.ThyBooleanInput;
|
|
290
|
+
static ngAcceptInputType_thyHasBackdrop: i1.ThyBooleanInput;
|
|
290
291
|
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
291
|
-
static ngAcceptInputType_thyBorderless:
|
|
292
|
+
static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
|
|
292
293
|
}
|
|
293
294
|
export {};
|
|
@@ -3,6 +3,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import { ElementRef } from '@angular/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "ngx-tethys/util";
|
|
6
7
|
export type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
7
8
|
/**
|
|
8
9
|
* 下拉选择
|
|
@@ -31,5 +32,5 @@ export declare class ThyNativeSelect extends TabIndexDisabledControlValueAccesso
|
|
|
31
32
|
clearSelectValue(event: Event): void;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNativeSelect, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNativeSelect, "thy-native-select", never, { "thySize": { "alias": "thySize"; "required": false; }; "name": { "alias": "name"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
|
-
static ngAcceptInputType_thyAllowClear:
|
|
35
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
35
36
|
}
|
|
@@ -2,6 +2,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
2
2
|
import { ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { ThyTranslate, TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
*/
|
|
@@ -47,6 +48,6 @@ export declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlVa
|
|
|
47
48
|
markForCheck(): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormCheckBaseComponent, never>;
|
|
49
50
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormCheckBaseComponent, never, never, { "thyInline": { "alias": "thyInline"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
-
static ngAcceptInputType_thyInline:
|
|
51
|
-
static ngAcceptInputType_thyDisabled:
|
|
51
|
+
static ngAcceptInputType_thyInline: i1.ThyBooleanInput;
|
|
52
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
52
53
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "ngx-tethys/util";
|
|
2
3
|
/**
|
|
3
4
|
* 自动聚焦指令
|
|
4
5
|
* @name input[thyAutofocus],textarea[thyAutofocus]
|
|
@@ -19,6 +20,6 @@ export declare class ThyAutofocusDirective {
|
|
|
19
20
|
set thyAutoSelect(value: boolean);
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAutofocusDirective, never>;
|
|
21
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutofocusDirective, "input[thyAutofocus],textarea[thyAutofocus]", never, { "thyAutofocus": { "alias": "thyAutofocus"; "required": false; }; "thyAutoSelect": { "alias": "thyAutoSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
static ngAcceptInputType_thyAutofocus:
|
|
23
|
-
static ngAcceptInputType_thyAutoSelect:
|
|
23
|
+
static ngAcceptInputType_thyAutofocus: i1.ThyBooleanInput;
|
|
24
|
+
static ngAcceptInputType_thyAutoSelect: i1.ThyBooleanInput;
|
|
24
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* @name thyScroll
|
|
5
6
|
*/
|
|
@@ -37,5 +38,5 @@ export declare class ThyScrollDirective implements OnInit, OnDestroy {
|
|
|
37
38
|
getElementRef(): ElementRef<HTMLElement>;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyScrollDirective, never>;
|
|
39
40
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyScrollDirective, "[thyScroll]", never, { "thyEnable": { "alias": "thyEnable"; "required": false; }; }, { "thyOnScrolled": "thyOnScrolled"; }, never, never, true, never>;
|
|
40
|
-
static ngAcceptInputType_thyEnable:
|
|
41
|
+
static ngAcceptInputType_thyEnable: i1.ThyBooleanInput;
|
|
41
42
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* @name thyShow
|
|
5
6
|
*/
|
|
@@ -15,5 +16,5 @@ export declare class ThyShowDirective implements OnDestroy {
|
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyShowDirective, never>;
|
|
17
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyShowDirective, "[thyShow]", never, { "thyShow": { "alias": "thyShow"; "required": false; }; }, { "thyShowChange": "thyShowChange"; }, never, never, true, never>;
|
|
18
|
-
static ngAcceptInputType_thyShow:
|
|
19
|
+
static ngAcceptInputType_thyShow: i1.ThyBooleanInput;
|
|
19
20
|
}
|
|
@@ -2,6 +2,7 @@ import { QueryList, OnDestroy, AfterContentInit } from '@angular/core';
|
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
3
|
import { ThyOptionVisibleChangeEvent, ThyOption } from '../option.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
*/
|
|
@@ -21,5 +22,5 @@ export declare class ThySelectOptionGroup implements OnDestroy, AfterContentInit
|
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectOptionGroup, never>;
|
|
23
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectOptionGroup, "thy-option-group", never, { "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyGroupLabel": { "alias": "thyGroupLabel"; "required": false; }; }, {}, ["options"], ["*"], true, never>;
|
|
24
|
-
static ngAcceptInputType_thyDisabled:
|
|
25
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
25
26
|
}
|
|
@@ -2,6 +2,7 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
3
3
|
import { IThyOptionComponent } from '../option.token';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
* @order 30
|
|
@@ -31,11 +32,5 @@ export declare class ThyListOption implements IThyOptionComponent, Highlightable
|
|
|
31
32
|
getLabel(): string;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyListOption, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyListOption, "thy-list-option,[thy-list-option]", never, { "id": { "alias": "id"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
|
-
static ngAcceptInputType_thyDisabled:
|
|
35
|
-
/** Allows for programmatic focusing of the option. */
|
|
36
|
-
| // }
|
|
37
|
-
/** Allows for programmatic focusing of the option. */
|
|
38
|
-
string
|
|
39
|
-
/** Allows for programmatic focusing of the option. */
|
|
40
|
-
| /** Allows for programmatic focusing of the option. */ number;
|
|
35
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
41
36
|
}
|
|
@@ -2,6 +2,7 @@ import { TemplateRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core'
|
|
|
2
2
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
3
3
|
import { SelectOptionBase } from './select-option-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
export declare class ThyOptionSelectionChangeEvent {
|
|
6
7
|
option: ThyOption;
|
|
7
8
|
isUserInput: boolean;
|
|
@@ -53,5 +54,5 @@ export declare class ThyOption extends SelectOptionBase implements OnDestroy, Hi
|
|
|
53
54
|
ngOnDestroy(): void;
|
|
54
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyOption, never>;
|
|
55
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyOption, "thy-option", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyRawValue": { "alias": "thyRawValue"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyShowOptionCustom": { "alias": "thyShowOptionCustom"; "required": false; }; "thySearchKey": { "alias": "thySearchKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
56
|
-
static ngAcceptInputType_thyDisabled:
|
|
57
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
57
58
|
}
|
|
@@ -2,6 +2,7 @@ import { ThyTagSize } from 'ngx-tethys/tag';
|
|
|
2
2
|
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import { SelectOptionBase } from '../../option/select-option-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
export type SelectControlSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
6
7
|
/**
|
|
7
8
|
* @private
|
|
@@ -69,11 +70,11 @@ export declare class ThySelectControl implements OnInit {
|
|
|
69
70
|
onBlur(event: Event): void;
|
|
70
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectControl, never>;
|
|
71
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
|
|
72
|
-
static ngAcceptInputType_thyPanelOpened:
|
|
73
|
-
static ngAcceptInputType_thyIsMultiple:
|
|
74
|
-
static ngAcceptInputType_thyShowSearch:
|
|
75
|
-
static ngAcceptInputType_thyDisabled:
|
|
76
|
-
static ngAcceptInputType_thyAllowClear:
|
|
73
|
+
static ngAcceptInputType_thyPanelOpened: i1.ThyBooleanInput;
|
|
74
|
+
static ngAcceptInputType_thyIsMultiple: i1.ThyBooleanInput;
|
|
75
|
+
static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
|
|
76
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
77
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
77
78
|
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
78
|
-
static ngAcceptInputType_thyBorderless:
|
|
79
|
+
static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
|
|
79
80
|
}
|