ngx-tethys 19.0.12 → 19.1.0-next.0
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 +21 -0
- package/action/action.component.d.ts +2 -2
- 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 +1 -1
- package/avatar/avatar.component.d.ts +5 -5
- 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-icon.component.d.ts +3 -2
- package/button/button.component.d.ts +3 -2
- 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-menu-item.directive.d.ts +3 -2
- package/dropdown/dropdown-menu.component.d.ts +2 -1
- package/dropdown/dropdown.directive.d.ts +2 -1
- package/empty/empty.component.d.ts +21 -27
- 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.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-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 +82 -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-empty.mjs +107 -95
- package/fesm2022/ngx-tethys-empty.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 +160 -152
- 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-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-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +3 -3
- 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 +196 -244
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +102 -105
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +34 -38
- package/fesm2022/ngx-tethys-radio.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-skeleton.mjs +339 -342
- package/fesm2022/ngx-tethys-skeleton.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 +26 -46
- 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-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-typography.mjs +36 -33
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +91 -130
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.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/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 +14 -19
- 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 +12 -12
- package/icon/icon.component.d.ts +3 -2
- package/image/image.directive.d.ts +3 -2
- 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 +2 -2
- 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 +32 -21
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +15 -23
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -13
- package/property/property-item.component.d.ts +21 -26
- 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 +8 -7
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +2 -1
- package/rate/rate.component.d.ts +4 -3
- package/resizable/resizable.directive.d.ts +4 -9
- package/resizable/resize-handle.component.d.ts +2 -1
- package/resizable/resize-handles.component.d.ts +2 -1
- 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 +2 -1
- package/segment/segment.component.d.ts +2 -1
- 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 -1
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +8 -8
- 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/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/tree/tree-node.component.d.ts +6 -15
- package/tree/tree.component.d.ts +8 -7
- package/tree-select/tree-select.component.d.ts +8 -7
- 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 +4 -3
- package/watermark/watermark.directive.d.ts +7 -9
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
3
|
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import {
|
|
4
|
-
import { ThyOverlayDirectiveBase,
|
|
4
|
+
import { AfterViewInit, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
5
|
+
import { ThyOverlayDirectiveBase, ThyOverlayTrigger, ThyPlacement } from 'ngx-tethys/core';
|
|
5
6
|
import { ThyPopoverRef } from 'ngx-tethys/popover';
|
|
6
7
|
import { ThyColorPickerPanel } from './color-picker-panel.component';
|
|
7
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "ngx-tethys/util";
|
|
9
10
|
export declare class OverlayBase extends ThyOverlayDirectiveBase {
|
|
10
11
|
protected zone: NgZone;
|
|
11
12
|
protected elementRef: ElementRef<HTMLElement>;
|
|
@@ -18,57 +19,56 @@ declare const _BaseMixin: (new (...args: any[]) => import("ngx-tethys/core").Thy
|
|
|
18
19
|
* 颜色选择组件
|
|
19
20
|
* @name thyColorPicker
|
|
20
21
|
*/
|
|
21
|
-
export declare class ThyColorPickerDirective extends _BaseMixin implements OnInit, OnDestroy {
|
|
22
|
+
export declare class ThyColorPickerDirective extends _BaseMixin implements OnInit, OnDestroy, AfterViewInit {
|
|
22
23
|
private thyPopover;
|
|
23
24
|
/**
|
|
24
25
|
* 弹框偏移量
|
|
25
26
|
* @type number
|
|
26
27
|
*/
|
|
27
|
-
thyOffset: number
|
|
28
|
+
readonly thyOffset: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
28
29
|
/**
|
|
29
30
|
* 颜色选择面板是否有幕布
|
|
30
31
|
*/
|
|
31
|
-
thyHasBackdrop: boolean
|
|
32
|
+
readonly thyHasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
33
|
/**
|
|
33
34
|
* 设置颜色选择面板的默认颜色选项值
|
|
34
35
|
*/
|
|
35
|
-
thyDefaultColor: string
|
|
36
|
+
readonly thyDefaultColor: import("@angular/core").InputSignal<string>;
|
|
36
37
|
/**
|
|
37
38
|
* 是否显示'无填充色'选项
|
|
38
39
|
*/
|
|
39
|
-
thyTransparentColorSelectable: boolean
|
|
40
|
+
readonly thyTransparentColorSelectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
40
41
|
/**
|
|
41
42
|
* 预设的快捷选择颜色
|
|
42
43
|
* @type string[]
|
|
43
44
|
*/
|
|
44
|
-
thyPresetColors: string[]
|
|
45
|
+
readonly thyPresetColors: import("@angular/core").InputSignal<string[]>;
|
|
45
46
|
/**
|
|
46
47
|
* 颜色面板弹出位置 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom' | 'right' | 'rightTop' | 'rightBottom'
|
|
47
48
|
* @type ThyPlacement
|
|
48
49
|
*/
|
|
49
|
-
thyPlacement: ThyPlacement
|
|
50
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
50
51
|
/**
|
|
51
52
|
* panel 展开后触发
|
|
52
53
|
*/
|
|
53
|
-
thyPanelOpen:
|
|
54
|
+
readonly thyPanelOpen: import("@angular/core").OutputEmitterRef<ThyPopoverRef<ThyColorPickerPanel, unknown, unknown>>;
|
|
54
55
|
/**
|
|
55
56
|
* panel 关闭后触发
|
|
56
57
|
*/
|
|
57
|
-
thyPanelClose:
|
|
58
|
+
readonly thyPanelClose: import("@angular/core").OutputEmitterRef<ThyPopoverRef<ThyColorPickerPanel, unknown, unknown>>;
|
|
58
59
|
/**
|
|
59
60
|
* 弹出悬浮层的触发方式
|
|
60
61
|
* @type 'hover' | 'click'
|
|
61
|
-
* @default click
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
readonly thyTrigger: import("@angular/core").InputSignal<ThyOverlayTrigger>;
|
|
64
64
|
/**
|
|
65
65
|
* 显示延迟时间
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
readonly thyShowDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
68
68
|
/**
|
|
69
69
|
* 隐藏延迟时间
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
readonly thyHideDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
72
72
|
/**
|
|
73
73
|
* 是否属于禁用状态
|
|
74
74
|
*/
|
|
@@ -83,6 +83,7 @@ export declare class ThyColorPickerDirective extends _BaseMixin implements OnIni
|
|
|
83
83
|
get backgroundColor(): string;
|
|
84
84
|
constructor();
|
|
85
85
|
ngOnInit(): void;
|
|
86
|
+
ngAfterViewInit(): void;
|
|
86
87
|
togglePanel(): OverlayRef;
|
|
87
88
|
show(delay?: number): void;
|
|
88
89
|
hide(delay?: number): void;
|
|
@@ -93,24 +94,7 @@ export declare class ThyColorPickerDirective extends _BaseMixin implements OnIni
|
|
|
93
94
|
onModelChange(value: string): void;
|
|
94
95
|
ngOnDestroy(): void;
|
|
95
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyColorPickerDirective, never>;
|
|
96
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyColorPickerDirective, "[thyColorPicker]", never, { "thyOffset": { "alias": "thyOffset"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; "thyDefaultColor": { "alias": "thyDefaultColor"; "required": false; }; "thyTransparentColorSelectable": { "alias": "thyTransparentColorSelectable"; "required": false; }; "thyPresetColors": { "alias": "thyPresetColors"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyShowDelay": { "alias": "thyShowDelay"; "required": false; }; "thyHideDelay": { "alias": "thyHideDelay"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "thyPanelOpen": "thyPanelOpen"; "thyPanelClose": "thyPanelClose"; }, never, never, true, never>;
|
|
97
|
-
static
|
|
98
|
-
static ngAcceptInputType_thyHasBackdrop: boolean /**
|
|
99
|
-
* 设置颜色选择面板的默认颜色选项值
|
|
100
|
-
*/ | /**
|
|
101
|
-
* 设置颜色选择面板的默认颜色选项值
|
|
102
|
-
*/ string | number;
|
|
103
|
-
static ngAcceptInputType_thyTransparentColorSelectable: boolean /**
|
|
104
|
-
* 设置颜色选择面板的默认颜色选项值
|
|
105
|
-
*/ | /**
|
|
106
|
-
* 设置颜色选择面板的默认颜色选项值
|
|
107
|
-
*/ string | number;
|
|
108
|
-
static ngAcceptInputType_thyShowDelay: unknown;
|
|
109
|
-
static ngAcceptInputType_thyHideDelay: unknown;
|
|
110
|
-
static ngAcceptInputType_thyDisabled: boolean /**
|
|
111
|
-
* 设置颜色选择面板的默认颜色选项值
|
|
112
|
-
*/ | /**
|
|
113
|
-
* 设置颜色选择面板的默认颜色选项值
|
|
114
|
-
*/ string | number;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyColorPickerDirective, "[thyColorPicker]", never, { "thyOffset": { "alias": "thyOffset"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; "thyDefaultColor": { "alias": "thyDefaultColor"; "required": false; "isSignal": true; }; "thyTransparentColorSelectable": { "alias": "thyTransparentColorSelectable"; "required": false; "isSignal": true; }; "thyPresetColors": { "alias": "thyPresetColors"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; "isSignal": true; }; "thyShowDelay": { "alias": "thyShowDelay"; "required": false; "isSignal": true; }; "thyHideDelay": { "alias": "thyHideDelay"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "thyPanelOpen": "thyPanelOpen"; "thyPanelClose": "thyPanelClose"; }, never, never, true, never>;
|
|
98
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
115
99
|
}
|
|
116
100
|
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ElementRef
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ThyColor } from '../../helpers/color.class';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThyAlpha
|
|
7
|
+
export declare class ThyAlpha {
|
|
8
8
|
private readonly renderer;
|
|
9
9
|
className: boolean;
|
|
10
|
-
color: ThyColor
|
|
11
|
-
pointer: ElementRef
|
|
12
|
-
gradient: ElementRef
|
|
13
|
-
colorChange:
|
|
10
|
+
readonly color: import("@angular/core").InputSignal<ThyColor>;
|
|
11
|
+
readonly pointer: import("@angular/core").Signal<ElementRef<any>>;
|
|
12
|
+
readonly gradient: import("@angular/core").Signal<ElementRef<any>>;
|
|
13
|
+
readonly colorChange: import("@angular/core").OutputEmitterRef<ThyColor>;
|
|
14
|
+
constructor();
|
|
14
15
|
setBackground(): void;
|
|
15
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
16
16
|
private changePointerPosition;
|
|
17
17
|
handleChange(event: {
|
|
18
18
|
x: number;
|
|
@@ -24,5 +24,5 @@ export declare class ThyAlpha implements OnChanges {
|
|
|
24
24
|
$event: Event;
|
|
25
25
|
}): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAlpha, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAlpha, "thy-alpha", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAlpha, "thy-alpha", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ElementRef
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ThyColor } from '../../helpers/color.class';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThyHue
|
|
7
|
+
export declare class ThyHue {
|
|
8
8
|
private readonly renderer;
|
|
9
9
|
className: boolean;
|
|
10
|
-
color: ThyColor
|
|
11
|
-
colorChange:
|
|
10
|
+
readonly color: import("@angular/core").InputSignal<ThyColor>;
|
|
11
|
+
readonly colorChange: import("@angular/core").OutputEmitterRef<ThyColor>;
|
|
12
12
|
pointer: ElementRef;
|
|
13
|
-
|
|
13
|
+
constructor();
|
|
14
14
|
private changePointerPosition;
|
|
15
15
|
handleChange(event: {
|
|
16
16
|
x: number;
|
|
@@ -22,5 +22,5 @@ export declare class ThyHue implements OnChanges {
|
|
|
22
22
|
$event: Event;
|
|
23
23
|
}): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyHue, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyHue, "thy-hue", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyHue, "thy-hue", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
1
2
|
import { ThyColor } from '../../helpers/color.class';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -5,8 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
5
6
|
*/
|
|
6
7
|
export declare class ThyIndicator {
|
|
7
8
|
className: boolean;
|
|
8
|
-
color: ThyColor
|
|
9
|
-
|
|
9
|
+
readonly color: import("@angular/core").InputSignal<ThyColor>;
|
|
10
|
+
readonly backgroundColor: Signal<string>;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyIndicator, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyIndicator, "thy-indicator", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyIndicator, "thy-indicator", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
13
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { ThyColor } from '../../helpers/color.class';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThyColorInputs {
|
|
7
|
+
export declare class ThyColorInputs implements OnInit {
|
|
8
8
|
className: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
readonly color: import("@angular/core").InputSignal<ThyColor>;
|
|
10
|
+
readonly colorChange: import("@angular/core").OutputEmitterRef<ThyColor>;
|
|
11
|
+
readonly hex: WritableSignal<string>;
|
|
12
|
+
readonly alpha: WritableSignal<number>;
|
|
13
|
+
constructor();
|
|
14
|
+
ngOnInit(): void;
|
|
15
15
|
onInputChange(event: Event, type: string): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyColorInputs, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorInputs, "thy-color-inputs", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorInputs, "thy-color-inputs", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ElementRef
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ThyColor } from '../../helpers/color.class';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThySaturation
|
|
7
|
+
export declare class ThySaturation {
|
|
8
8
|
private readonly renderer;
|
|
9
9
|
className: boolean;
|
|
10
|
-
panel: ElementRef
|
|
11
|
-
pointer: ElementRef
|
|
12
|
-
colorChange:
|
|
13
|
-
color: ThyColor
|
|
14
|
-
|
|
10
|
+
readonly panel: import("@angular/core").Signal<ElementRef<any>>;
|
|
11
|
+
readonly pointer: import("@angular/core").Signal<ElementRef<any>>;
|
|
12
|
+
readonly colorChange: import("@angular/core").OutputEmitterRef<ThyColor>;
|
|
13
|
+
readonly color: import("@angular/core").InputSignal<ThyColor>;
|
|
14
|
+
constructor();
|
|
15
15
|
setBackground(): void;
|
|
16
|
-
changePointerPosition(s
|
|
16
|
+
changePointerPosition(s?: number, v?: number): void;
|
|
17
17
|
handleChange(event: {
|
|
18
18
|
x: number;
|
|
19
19
|
y: number;
|
|
@@ -24,5 +24,5 @@ export declare class ThySaturation implements OnChanges {
|
|
|
24
24
|
$event: Event;
|
|
25
25
|
}): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySaturation, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySaturation, "thy-saturation", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySaturation, "thy-saturation", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { isTemplateRef } from 'ngx-tethys/util';
|
|
2
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
3
2
|
import { TemplateRef } from '@angular/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
@@ -10,16 +9,16 @@ export declare class ThyComment {
|
|
|
10
9
|
/**
|
|
11
10
|
* 展示评论作者
|
|
12
11
|
*/
|
|
13
|
-
thyAuthor
|
|
12
|
+
readonly thyAuthor: import("@angular/core").InputSignal<string | TemplateRef<any>>;
|
|
14
13
|
/**
|
|
15
14
|
* 展示评论时间
|
|
16
15
|
*/
|
|
17
|
-
thyDatetime
|
|
16
|
+
readonly thyDatetime: import("@angular/core").InputSignal<string | TemplateRef<any>>;
|
|
18
17
|
/**
|
|
19
18
|
* 展示评论作者头像
|
|
20
19
|
*/
|
|
21
|
-
thyAvatar
|
|
20
|
+
readonly thyAvatar: import("@angular/core").InputSignal<string | TemplateRef<any>>;
|
|
22
21
|
isTemplateRef: typeof isTemplateRef;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyComment, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyComment, "thy-comment", never, { "thyAuthor": { "alias": "thyAuthor"; "required": false; }; "thyDatetime": { "alias": "thyDatetime"; "required": false; }; "thyAvatar": { "alias": "thyAvatar"; "required": false; }; }, {}, never, ["[thyCommentContent]", "[thyCommentActions]", "*"], true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyComment, "thy-comment", never, { "thyAuthor": { "alias": "thyAuthor"; "required": false; "isSignal": true; }; "thyDatetime": { "alias": "thyDatetime"; "required": false; "isSignal": true; }; "thyAvatar": { "alias": "thyAvatar"; "required": false; "isSignal": true; }; }, {}, never, ["[thyCommentContent]", "[thyCommentActions]", "*"], true, never>;
|
|
25
24
|
}
|
package/copy/copy.directive.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ThyTooltipDirective } from 'ngx-tethys/tooltip';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "ngx-tethys/tooltip";
|
|
@@ -17,32 +17,31 @@ export declare class ThyCopyDirective implements OnInit, OnDestroy {
|
|
|
17
17
|
/**
|
|
18
18
|
* 默认为点击标签,可传复制目标标签
|
|
19
19
|
*/
|
|
20
|
-
thyCopy:
|
|
20
|
+
readonly thyCopy: import("@angular/core").OutputEmitterRef<ThyCopyEvent>;
|
|
21
21
|
/**
|
|
22
22
|
* 复制成功时的文案
|
|
23
23
|
*/
|
|
24
|
-
thyCopySuccessText: string
|
|
24
|
+
readonly thyCopySuccessText: import("@angular/core").InputSignal<string>;
|
|
25
25
|
/**
|
|
26
26
|
* 提示文案
|
|
27
27
|
*/
|
|
28
|
-
thyCopyTips: string
|
|
28
|
+
readonly thyCopyTips: import("@angular/core").InputSignal<string>;
|
|
29
29
|
/**
|
|
30
30
|
* 偏移量
|
|
31
31
|
*/
|
|
32
|
-
thyCopyTipsOffset: number
|
|
32
|
+
readonly thyCopyTipsOffset: import("@angular/core").InputSignal<number>;
|
|
33
33
|
/**
|
|
34
34
|
* 当为 string 时,复制的是传入的内容;当为 ElementRef | HTMLElement 时,复制的是 dom 节点的 value 或者 textContent
|
|
35
35
|
*/
|
|
36
|
-
thyCopyContent: string |
|
|
36
|
+
readonly thyCopyContent: import("@angular/core").InputSignal<string | HTMLElement | ElementRef<any>>;
|
|
37
37
|
/**
|
|
38
38
|
* 是否展示通知
|
|
39
39
|
*/
|
|
40
|
-
thyShowNotify: boolean
|
|
40
|
+
readonly thyShowNotify: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
41
41
|
ngOnInit(): void;
|
|
42
42
|
private getContent;
|
|
43
43
|
onClick(event: Event): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCopyDirective, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyCopyDirective, "[thyCopy]", never, { "thyCopySuccessText": { "alias": "thyCopySuccessText"; "required": false; }; "thyCopyTips": { "alias": "thyCopyTips"; "required": false; }; "thyCopyTipsOffset": { "alias": "thyCopyTipsOffset"; "required": false; }; "thyCopyContent": { "alias": "thyCopyContent"; "required": false; }; "thyShowNotify": { "alias": "thyShowNotify"; "required": false; }; }, { "thyCopy": "thyCopy"; }, never, never, true, [{ directive: typeof i1.ThyTooltipDirective; inputs: {}; outputs: {}; }]>;
|
|
47
|
-
static ngAcceptInputType_thyShowNotify: boolean | string | number;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyCopyDirective, "[thyCopy]", never, { "thyCopySuccessText": { "alias": "thyCopySuccessText"; "required": false; "isSignal": true; }; "thyCopyTips": { "alias": "thyCopyTips"; "required": false; "isSignal": true; }; "thyCopyTipsOffset": { "alias": "thyCopyTipsOffset"; "required": false; "isSignal": true; }; "thyCopyContent": { "alias": "thyCopyContent"; "required": false; "isSignal": true; }; "thyShowNotify": { "alias": "thyShowNotify"; "required": false; "isSignal": true; }; }, { "thyCopy": "thyCopy"; }, never, never, true, [{ directive: typeof i1.ThyTooltipDirective; inputs: {}; outputs: {}; }]>;
|
|
48
47
|
}
|
|
@@ -8,6 +8,7 @@ import { CompatibleValue, RangeAdvancedValue } from './inner-types';
|
|
|
8
8
|
import { ThyPicker } from './picker.component';
|
|
9
9
|
import { CompatibleDate, CompatiblePresets, DateEntry, DisabledDateFn, ThyDateChangeEvent, ThyDateGranularity, ThyDateRangeEntry, ThyPanelMode, ThyShortcutPosition } from './standard-types';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "ngx-tethys/util";
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
13
14
|
*/
|
|
@@ -166,11 +167,11 @@ export declare abstract class AbstractPickerComponent extends TabIndexDisabledCo
|
|
|
166
167
|
private setValueByPrecision;
|
|
167
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPickerComponent, never>;
|
|
168
169
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPickerComponent, never, never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; }; "thyOpen": { "alias": "thyOpen"; "required": false; }; "thyDisabledDate": { "alias": "thyDisabledDate"; "required": false; }; "thyMinDate": { "alias": "thyMinDate"; "required": false; }; "thyMaxDate": { "alias": "thyMaxDate"; "required": false; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; }; "thyOriginClassName": { "alias": "thyOriginClassName"; "required": false; }; "thyPanelClassName": { "alias": "thyPanelClassName"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyTimestampPrecision": { "alias": "thyTimestampPrecision"; "required": false; }; "thyFormat": { "alias": "thyFormat"; "required": false; }; "thySeparator": { "alias": "thySeparator"; "required": false; }; "thyAutoStartAndEnd": { "alias": "thyAutoStartAndEnd"; "required": false; }; "thyDefaultPickerValue": { "alias": "thyDefaultPickerValue"; "required": false; }; "thySuffixIcon": { "alias": "thySuffixIcon"; "required": false; }; "thyShowShortcut": { "alias": "thyShowShortcut"; "required": false; }; "thyShortcutPosition": { "alias": "thyShortcutPosition"; "required": false; }; "thyShortcutPresets": { "alias": "thyShortcutPresets"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyTimeZone": { "alias": "thyTimeZone"; "required": false; }; }, { "thyDateChange": "thyDateChange"; "thyOpenChange": "thyOpenChange"; }, never, never, true, never>;
|
|
169
|
-
static ngAcceptInputType_thyAllowClear:
|
|
170
|
-
static ngAcceptInputType_thyAutoFocus:
|
|
171
|
-
static ngAcceptInputType_thyOpen:
|
|
172
|
-
static ngAcceptInputType_thyReadonly:
|
|
173
|
-
static ngAcceptInputType_thyAutoStartAndEnd:
|
|
174
|
-
static ngAcceptInputType_thyShowShortcut:
|
|
175
|
-
static ngAcceptInputType_thyDisabled:
|
|
170
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
171
|
+
static ngAcceptInputType_thyAutoFocus: i1.ThyBooleanInput;
|
|
172
|
+
static ngAcceptInputType_thyOpen: i1.ThyBooleanInput;
|
|
173
|
+
static ngAcceptInputType_thyReadonly: i1.ThyBooleanInput;
|
|
174
|
+
static ngAcceptInputType_thyAutoStartAndEnd: i1.ThyBooleanInput;
|
|
175
|
+
static ngAcceptInputType_thyShowShortcut: i1.ThyBooleanInput;
|
|
176
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
176
177
|
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, OnChanges, OnInit, Signal, SimpleChanges } from '@angular
|
|
|
2
2
|
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
3
3
|
import { TinyDate } from 'ngx-tethys/util';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
*/
|
|
@@ -27,5 +28,5 @@ export declare class CalendarFooter implements OnInit, OnChanges {
|
|
|
27
28
|
private _initTimeShowMode;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarFooter, never>;
|
|
29
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFooter, "calendar-footer", ["calendarFooter"], { "showTime": { "alias": "showTime"; "required": false; }; "mustShowTime": { "alias": "mustShowTime"; "required": false; }; "value": { "alias": "value"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "disableTimeConfirm": { "alias": "disableTimeConfirm"; "required": false; }; }, { "selectTime": "selectTime"; "clickOk": "clickOk"; "clickRemove": "clickRemove"; "showTimePickerChange": "showTimePickerChange"; }, never, never, true, never>;
|
|
30
|
-
static ngAcceptInputType_disableTimeConfirm:
|
|
31
|
+
static ngAcceptInputType_disableTimeConfirm: i1.ThyBooleanInput;
|
|
31
32
|
}
|
|
@@ -4,6 +4,7 @@ import { RangePartType } from '../../inner-types';
|
|
|
4
4
|
import { DisabledDateFn, ThyPanelMode } from '../../standard-types';
|
|
5
5
|
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "ngx-tethys/util";
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
9
10
|
*/
|
|
@@ -45,5 +46,5 @@ export declare class InnerPopup implements OnChanges {
|
|
|
45
46
|
enableSuperPrevNext(direction: 'prev' | 'next', panelMode: ThyPanelMode): boolean;
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<InnerPopup, never>;
|
|
47
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<InnerPopup, "inner-popup", ["innerPopup"], { "showWeek": { "alias": "showWeek"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "rangeActiveDate": { "alias": "rangeActiveDate"; "required": false; }; "enablePrev": { "alias": "enablePrev"; "required": false; }; "enableNext": { "alias": "enableNext"; "required": false; }; "disabledDate": { "alias": "disabledDate"; "required": false; }; "dateRender": { "alias": "dateRender"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "hoverValue": { "alias": "hoverValue"; "required": false; }; "panelMode": { "alias": "panelMode"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "showDateRangeInput": { "alias": "showDateRangeInput"; "required": false; }; "partType": { "alias": "partType"; "required": false; }; "endPanelMode": { "alias": "endPanelMode"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "panelModeChange": "panelModeChange"; "headerChange": "headerChange"; "selectDate": "selectDate"; "dayHover": "dayHover"; }, never, never, true, never>;
|
|
48
|
-
static ngAcceptInputType_showDateRangeInput:
|
|
49
|
+
static ngAcceptInputType_showDateRangeInput: i1.ThyBooleanInput;
|
|
49
50
|
}
|
|
@@ -5,6 +5,7 @@ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } fro
|
|
|
5
5
|
import { CompatibleValue, RangePartType } from './inner-types';
|
|
6
6
|
import { ThyDateGranularity } from './standard-types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "ngx-tethys/util";
|
|
8
9
|
/**
|
|
9
10
|
* @private
|
|
10
11
|
*/
|
|
@@ -76,5 +77,5 @@ export declare class ThyPicker implements OnChanges, AfterViewInit {
|
|
|
76
77
|
private updateReadableDate;
|
|
77
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPicker, never>;
|
|
78
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPicker, "thy-picker", ["thyPicker"], { "isRange": { "alias": "isRange"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "className": { "alias": "className"; "required": false; }; "size": { "alias": "size"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "flexible": { "alias": "flexible"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "format": { "alias": "format"; "required": false; }; "flexibleDateGranularity": { "alias": "flexibleDateGranularity"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "blur": "blur"; "valueChange": "valueChange"; "openChange": "openChange"; "inputChange": "inputChange"; }, never, ["*"], true, never>;
|
|
79
|
-
static ngAcceptInputType_hasBackdrop:
|
|
80
|
+
static ngAcceptInputType_hasBackdrop: i1.ThyBooleanInput;
|
|
80
81
|
}
|
|
@@ -21,12 +21,12 @@ export declare class ThyDateRange implements ControlValueAccessor {
|
|
|
21
21
|
* 隐藏下拉选择时间段
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
|
-
readonly thyHiddenMenu: import("@angular/core").InputSignalWithTransform<boolean,
|
|
24
|
+
readonly thyHiddenMenu: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
25
|
/**
|
|
26
26
|
* 禁用左右切换时间段
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
|
-
readonly thyDisabledSwitch: import("@angular/core").InputSignalWithTransform<boolean,
|
|
29
|
+
readonly thyDisabledSwitch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
30
30
|
/**
|
|
31
31
|
* 自定义日期选择的展示文字
|
|
32
32
|
* @default 自定义
|
|
@@ -8,15 +8,11 @@ import * as i1 from "@angular/cdk/scrolling";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class ThyDialogBody implements OnInit {
|
|
10
10
|
private dialog;
|
|
11
|
-
_isDialogBody: boolean;
|
|
12
|
-
thyClearPaddingClassName: boolean;
|
|
13
11
|
/**
|
|
14
12
|
* 清除间距
|
|
15
|
-
* @default false
|
|
16
13
|
*/
|
|
17
|
-
|
|
14
|
+
readonly thyClearPadding: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
15
|
ngOnInit(): void;
|
|
19
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDialogBody, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDialogBody, "thy-dialog-body", ["thyDialogBody"], { "thyClearPadding": { "alias": "thyClearPadding"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkScrollable; inputs: {}; outputs: {}; }]>;
|
|
21
|
-
static ngAcceptInputType_thyClearPadding: boolean | string | number;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDialogBody, "thy-dialog-body", ["thyDialogBody"], { "thyClearPadding": { "alias": "thyClearPadding"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkScrollable; inputs: {}; outputs: {}; }]>;
|
|
22
18
|
}
|
|
@@ -11,7 +11,7 @@ export declare class ThyConfirm implements OnInit, OnDestroy {
|
|
|
11
11
|
private defaultConfig;
|
|
12
12
|
private locale;
|
|
13
13
|
loading: boolean;
|
|
14
|
-
options: ThyConfirmConfig
|
|
14
|
+
readonly options: import("@angular/core").InputSignal<ThyConfirmConfig>;
|
|
15
15
|
title: string;
|
|
16
16
|
content: string;
|
|
17
17
|
okText: string;
|
|
@@ -25,5 +25,5 @@ export declare class ThyConfirm implements OnInit, OnDestroy {
|
|
|
25
25
|
close(): void;
|
|
26
26
|
ngOnDestroy(): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyConfirm, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyConfirm, "thy-confirm-default", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyConfirm, "thy-confirm-default", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
@@ -12,25 +12,22 @@ export declare class ThyDialogFooter implements OnInit {
|
|
|
12
12
|
* 自定义弹出框底部的描述模板
|
|
13
13
|
* @type TemplateRef
|
|
14
14
|
*/
|
|
15
|
-
description: TemplateRef<any
|
|
15
|
+
readonly description: import("@angular/core").Signal<TemplateRef<any>>;
|
|
16
16
|
/**
|
|
17
17
|
* 底部是否有分割线,可全局配置默认值
|
|
18
18
|
* @type boolean
|
|
19
|
-
* @default false
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
readonly thyDivided: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
divided: import("@angular/core").Signal<boolean>;
|
|
22
22
|
/**
|
|
23
23
|
* 对齐方式,可全局配置默认值
|
|
24
24
|
* @type left | right | center
|
|
25
|
-
* @default left
|
|
26
25
|
*/
|
|
27
|
-
thyAlign: ThyDialogFooterAlign
|
|
28
|
-
|
|
26
|
+
readonly thyAlign: import("@angular/core").InputSignal<ThyDialogFooterAlign>;
|
|
27
|
+
readonly align: import("@angular/core").Signal<ThyDialogFooterAlign>;
|
|
29
28
|
private hostRenderer;
|
|
30
|
-
private get align();
|
|
31
29
|
constructor();
|
|
32
30
|
ngOnInit(): void;
|
|
33
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDialogFooter, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDialogFooter, "thy-dialog-footer", ["thyDialogFooter"], { "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyAlign": { "alias": "thyAlign"; "required": false; }; }, {}, ["description"], ["*"], true, never>;
|
|
35
|
-
static ngAcceptInputType_thyDivided: boolean | string | number;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDialogFooter, "thy-dialog-footer", ["thyDialogFooter"], { "thyDivided": { "alias": "thyDivided"; "required": false; "isSignal": true; }; "thyAlign": { "alias": "thyAlign"; "required": false; "isSignal": true; }; }, {}, ["description"], ["*"], true, never>;
|
|
36
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, TemplateRef, OnInit, Signal } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* 模态框头部组件
|
|
@@ -13,30 +13,29 @@ export declare class ThyDialogHeader implements OnInit {
|
|
|
13
13
|
/**
|
|
14
14
|
* 自定义头部模板
|
|
15
15
|
*/
|
|
16
|
-
headerTemplate: TemplateRef<any
|
|
16
|
+
readonly headerTemplate: Signal<TemplateRef<any>>;
|
|
17
17
|
/**
|
|
18
18
|
* 标题
|
|
19
19
|
*/
|
|
20
|
-
thyTitle: string
|
|
20
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
21
21
|
/**
|
|
22
22
|
* 大小,只有大的详情页场景会使用 lg,左右 padding 缩小至 20px
|
|
23
23
|
* @type lg | md
|
|
24
|
-
* @default md
|
|
25
24
|
*/
|
|
26
|
-
thySize:
|
|
25
|
+
readonly thySize: import("@angular/core").InputSignal<"md" | "lg">;
|
|
27
26
|
/**
|
|
28
27
|
* 是否显示分割线
|
|
29
|
-
* @default false
|
|
30
28
|
*/
|
|
31
|
-
thyDivided: boolean
|
|
29
|
+
readonly thyDivided: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
30
|
/**
|
|
33
31
|
* 标题的多语言 Key
|
|
34
32
|
*/
|
|
35
|
-
|
|
33
|
+
readonly thyTitleTranslationKey: import("@angular/core").InputSignal<string>;
|
|
34
|
+
readonly title: Signal<string>;
|
|
36
35
|
/**
|
|
37
36
|
* 头部图标
|
|
38
37
|
*/
|
|
39
|
-
thyIcon: string
|
|
38
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
40
39
|
/**
|
|
41
40
|
* 关闭事件
|
|
42
41
|
*/
|
|
@@ -44,6 +43,5 @@ export declare class ThyDialogHeader implements OnInit {
|
|
|
44
43
|
ngOnInit(): void;
|
|
45
44
|
close(event?: Event): void;
|
|
46
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDialogHeader, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDialogHeader, "thy-dialog-header", ["thyDialogHeader"], { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyTitleTranslationKey": { "alias": "thyTitleTranslationKey"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, { "thyOnClose": "thyOnClose"; }, ["headerTemplate"], never, true, never>;
|
|
48
|
-
static ngAcceptInputType_thyDivided: boolean | string | number;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDialogHeader, "thy-dialog-header", ["thyDialogHeader"], { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyDivided": { "alias": "thyDivided"; "required": false; "isSignal": true; }; "thyTitleTranslationKey": { "alias": "thyTitleTranslationKey"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, { "thyOnClose": "thyOnClose"; }, ["headerTemplate"], never, true, never>;
|
|
49
47
|
}
|