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,13 +1,12 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type ThyPropertyItemOperationTrigger = 'hover' | 'always';
|
|
5
5
|
/**
|
|
6
6
|
* 属性组件
|
|
7
7
|
* @name thy-property-item
|
|
8
8
|
*/
|
|
9
|
-
export declare class ThyPropertyItem implements
|
|
10
|
-
private cdr;
|
|
9
|
+
export declare class ThyPropertyItem implements OnDestroy {
|
|
11
10
|
private clickDispatcher;
|
|
12
11
|
private ngZone;
|
|
13
12
|
private overlayOutsideClickDispatcher;
|
|
@@ -17,58 +16,61 @@ export declare class ThyPropertyItem implements OnInit, OnChanges, OnDestroy {
|
|
|
17
16
|
* @type sting
|
|
18
17
|
* @default thyLabelText
|
|
19
18
|
*/
|
|
20
|
-
thyLabelText: string
|
|
19
|
+
readonly thyLabelText: import("@angular/core").InputSignal<string>;
|
|
21
20
|
/**
|
|
22
21
|
* 设置属性是否是可编辑的
|
|
23
22
|
* @type sting
|
|
24
23
|
* @default false
|
|
25
24
|
*/
|
|
26
|
-
thyEditable: boolean
|
|
25
|
+
readonly thyEditable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
26
|
/**
|
|
28
27
|
* 设置跨列的数量
|
|
29
28
|
* @type number
|
|
30
29
|
*/
|
|
31
|
-
thySpan: number
|
|
30
|
+
readonly thySpan: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
31
|
+
/**
|
|
32
|
+
* 设置编辑状态触发方法
|
|
33
|
+
* @type 'hover' | 'click'
|
|
34
|
+
*/
|
|
35
|
+
readonly thyEditTrigger: import("@angular/core").InputSignal<"hover" | "click">;
|
|
32
36
|
/**
|
|
33
37
|
* 设置属性操作现实触发方式,默认 always 一直显示
|
|
34
38
|
* @type 'hover' | 'always'
|
|
35
39
|
*/
|
|
36
|
-
thyOperationTrigger: ThyPropertyItemOperationTrigger
|
|
37
|
-
thyEditingChange:
|
|
40
|
+
readonly thyOperationTrigger: import("@angular/core").InputSignal<ThyPropertyItemOperationTrigger>;
|
|
41
|
+
readonly thyEditingChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
38
42
|
/**
|
|
39
43
|
* 属性名称自定义模板
|
|
40
44
|
* @type TemplateRef
|
|
41
45
|
*/
|
|
42
|
-
label: TemplateRef<void
|
|
46
|
+
readonly label: import("@angular/core").Signal<TemplateRef<void>>;
|
|
43
47
|
/**
|
|
44
48
|
* 属性内容编辑模板,只有在 thyEditable 为 true 时生效
|
|
45
49
|
* @type TemplateRef
|
|
46
50
|
*/
|
|
47
|
-
editor: TemplateRef<void
|
|
51
|
+
readonly editor: import("@angular/core").Signal<TemplateRef<void>>;
|
|
48
52
|
/**
|
|
49
53
|
* 操作区模板
|
|
50
54
|
* @type TemplateRef
|
|
51
55
|
*/
|
|
52
|
-
operation: TemplateRef<void
|
|
56
|
+
readonly operation: import("@angular/core").Signal<TemplateRef<void>>;
|
|
53
57
|
/**
|
|
54
58
|
* @private
|
|
55
59
|
*/
|
|
56
|
-
content: TemplateRef<void
|
|
60
|
+
readonly content: import("@angular/core").Signal<TemplateRef<void>>;
|
|
57
61
|
/**
|
|
58
62
|
* @private
|
|
59
63
|
*/
|
|
60
|
-
itemContent: ElementRef<HTMLElement
|
|
61
|
-
editing: boolean
|
|
64
|
+
readonly itemContent: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
65
|
+
editing: import("@angular/core").WritableSignal<boolean>;
|
|
62
66
|
changes$: Subject<SimpleChanges>;
|
|
63
67
|
private destroy$;
|
|
64
68
|
private eventDestroy$;
|
|
65
69
|
private originOverlays;
|
|
66
70
|
private clickEventSubscription;
|
|
67
|
-
|
|
68
|
-
isVertical: boolean
|
|
71
|
+
protected readonly gridColumn: import("@angular/core").Signal<string>;
|
|
72
|
+
isVertical: import("@angular/core").WritableSignal<boolean>;
|
|
69
73
|
constructor();
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
72
74
|
setEditing(editing: boolean): void;
|
|
73
75
|
/**
|
|
74
76
|
* @deprecated please use setEditing(editing: boolean)
|
|
@@ -81,12 +83,5 @@ export declare class ThyPropertyItem implements OnInit, OnChanges, OnDestroy {
|
|
|
81
83
|
private bindEditorBlurEvent;
|
|
82
84
|
ngOnDestroy(): void;
|
|
83
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPropertyItem, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyItem, "thy-property-item", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyEditable": { "alias": "thyEditable"; "required": false; }; "thySpan": { "alias": "thySpan"; "required": false; }; "thyOperationTrigger": { "alias": "thyOperationTrigger"; "required": false; }; }, { "thyEditingChange": "thyEditingChange"; }, ["label", "editor", "operation"], ["*"], true, never>;
|
|
85
|
-
static ngAcceptInputType_thyEditable:
|
|
86
|
-
/**
|
|
87
|
-
* 设置属性操作现实触发方式,默认 always 一直显示
|
|
88
|
-
* @type 'hover' | 'always'
|
|
89
|
-
*/
|
|
90
|
-
boolean | string | number;
|
|
91
|
-
static ngAcceptInputType_thySpan: unknown;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyItem, "thy-property-item", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; "isSignal": true; }; "thyEditable": { "alias": "thyEditable"; "required": false; "isSignal": true; }; "thySpan": { "alias": "thySpan"; "required": false; "isSignal": true; }; "thyEditTrigger": { "alias": "thyEditTrigger"; "required": false; "isSignal": true; }; "thyOperationTrigger": { "alias": "thyOperationTrigger"; "required": false; "isSignal": true; }; }, { "thyEditingChange": "thyEditingChange"; }, ["label", "editor", "operation"], ["*"], true, never>;
|
|
92
87
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
&.thy-
|
|
46
|
+
&.thy-property-edit-trigger-hover {
|
|
47
47
|
.thy-property-item-wrapper {
|
|
48
48
|
&:hover {
|
|
49
49
|
.thy-property-item-content-editable {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
&.thy-
|
|
56
|
+
&.thy-property-edit-trigger-click {
|
|
57
57
|
.thy-property-item-wrapper {
|
|
58
58
|
&:hover {
|
|
59
59
|
.thy-property-item-content {
|
|
@@ -100,76 +100,148 @@
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
+
}
|
|
103
104
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
display: inline-grid;
|
|
110
|
-
align-items: center;
|
|
111
|
-
height: variables.$property-item-min-height;
|
|
112
|
-
color: variables.$property-item-label-color;
|
|
113
|
-
grid-template-columns: auto auto;
|
|
114
|
-
flex-shrink: 0;
|
|
115
|
-
|
|
116
|
-
.thy-property-item-operation {
|
|
117
|
-
text-align: end;
|
|
105
|
+
.thy-property-edit-trigger-hover {
|
|
106
|
+
.thy-property-item-wrapper {
|
|
107
|
+
&:hover {
|
|
108
|
+
.thy-property-item-content-editable {
|
|
109
|
+
@include display-item-editor();
|
|
118
110
|
}
|
|
119
|
-
|
|
120
|
-
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.thy-property-edit-trigger-click {
|
|
116
|
+
.thy-property-item-wrapper {
|
|
117
|
+
&:hover {
|
|
118
|
+
.thy-property-item-content {
|
|
119
|
+
&.thy-property-item-content-editable {
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
position: relative;
|
|
122
|
+
|
|
123
|
+
&:after,
|
|
124
|
+
&:before {
|
|
125
|
+
content: '';
|
|
126
|
+
display: block;
|
|
127
|
+
position: absolute;
|
|
128
|
+
right: 0;
|
|
129
|
+
bottom: 0;
|
|
130
|
+
left: 0;
|
|
131
|
+
top: 0;
|
|
132
|
+
margin-left: variables.$property-item-editor-offset;
|
|
133
|
+
border-radius: variables.$border-radius;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:after {
|
|
137
|
+
border: solid 1px variables.$primary;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:before {
|
|
141
|
+
background: variables.$bg-default;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:not(.thy-property-item-content-editing):after {
|
|
145
|
+
z-index: 999;
|
|
146
|
+
}
|
|
147
|
+
.thy-property-item-content-text {
|
|
148
|
+
z-index: 1;
|
|
149
|
+
}
|
|
150
|
+
&.thy-property-item-content-editing:after {
|
|
151
|
+
z-index: -1;
|
|
152
|
+
transition: 100ms;
|
|
153
|
+
}
|
|
154
|
+
&.thy-property-item-content-editing:before {
|
|
155
|
+
z-index: -1;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
121
158
|
}
|
|
122
159
|
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.thy-property-item {
|
|
164
|
+
display: flex;
|
|
165
|
+
// 添加最小宽度是因为内容区域过多时会超出对应宽度区域
|
|
166
|
+
min-width: 0px;
|
|
167
|
+
|
|
168
|
+
&.thy-property-item-single {
|
|
169
|
+
flex-direction: row;
|
|
170
|
+
.thy-property-item-label {
|
|
171
|
+
padding-right: variables.$property-item-padding-x;
|
|
172
|
+
}
|
|
123
173
|
|
|
124
|
-
.thy-property-item-
|
|
174
|
+
.thy-property-item-operation {
|
|
125
175
|
display: flex;
|
|
176
|
+
justify-content: flex-end;
|
|
126
177
|
align-items: center;
|
|
127
|
-
flex: 1;
|
|
128
|
-
min-width: 0;
|
|
129
178
|
}
|
|
179
|
+
}
|
|
130
180
|
|
|
131
|
-
|
|
132
|
-
|
|
181
|
+
.thy-property-item-label {
|
|
182
|
+
display: inline-grid;
|
|
183
|
+
align-items: center;
|
|
184
|
+
height: variables.$property-item-min-height;
|
|
185
|
+
color: variables.$property-item-label-color;
|
|
186
|
+
grid-template-columns: auto auto;
|
|
187
|
+
flex-shrink: 0;
|
|
188
|
+
|
|
189
|
+
.thy-property-item-operation {
|
|
190
|
+
text-align: end;
|
|
191
|
+
}
|
|
192
|
+
span {
|
|
193
|
+
display: inline-block;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.thy-property-item-wrapper {
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
flex: 1;
|
|
201
|
+
min-width: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.thy-property-item-content {
|
|
205
|
+
flex: 1;
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
color: variables.$property-item-content-color;
|
|
209
|
+
min-height: variables.$property-item-min-height;
|
|
210
|
+
min-width: 0px;
|
|
211
|
+
|
|
212
|
+
.thy-property-item-content-text {
|
|
133
213
|
display: flex;
|
|
134
214
|
align-items: center;
|
|
135
|
-
color: variables.$property-item-content-color;
|
|
136
|
-
min-height: variables.$property-item-min-height;
|
|
137
215
|
min-width: 0px;
|
|
216
|
+
flex: auto;
|
|
217
|
+
}
|
|
138
218
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.thy-property-item-content-editor {
|
|
147
|
-
display: none;
|
|
148
|
-
margin-left: variables.$property-item-editor-offset;
|
|
149
|
-
width: calc(100% - variables.$property-item-editor-offset);
|
|
150
|
-
}
|
|
219
|
+
.thy-property-item-content-editor {
|
|
220
|
+
display: none;
|
|
221
|
+
margin-left: variables.$property-item-editor-offset;
|
|
222
|
+
width: calc(100% - variables.$property-item-editor-offset);
|
|
223
|
+
}
|
|
151
224
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
225
|
+
&-editing {
|
|
226
|
+
@include display-item-editor();
|
|
155
227
|
}
|
|
228
|
+
}
|
|
156
229
|
|
|
157
|
-
|
|
230
|
+
.thy-property-item-operation {
|
|
231
|
+
margin-left: 4px;
|
|
232
|
+
.thy-action + .thy-action {
|
|
158
233
|
margin-left: 4px;
|
|
159
|
-
.thy-action + .thy-action {
|
|
160
|
-
margin-left: 4px;
|
|
161
|
-
}
|
|
162
234
|
}
|
|
235
|
+
}
|
|
163
236
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
237
|
+
&.thy-property-item-operational-hover {
|
|
238
|
+
.thy-property-item-operation {
|
|
239
|
+
visibility: hidden;
|
|
240
|
+
}
|
|
168
241
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
242
|
+
.thy-property-item-label,
|
|
243
|
+
.thy-property-item-wrapper {
|
|
244
|
+
@include property-item-operation-hover-visible();
|
|
173
245
|
}
|
|
174
246
|
}
|
|
175
247
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef, EventEmitter, OnInit, TemplateRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
type ThyPropertyOperationTypes = 'primary' | 'success' | 'warning' | 'danger';
|
|
4
5
|
/**
|
|
5
6
|
* 属性操作组件
|
|
@@ -82,10 +83,10 @@ export declare class ThyPropertyOperation implements OnInit, AfterContentInit, O
|
|
|
82
83
|
remove($event: Event): void;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPropertyOperation, never>;
|
|
84
85
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyOperation, "thy-property-operation", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyShowClose": { "alias": "thyShowClose"; "required": false; }; "thyLabelHasValue": { "alias": "thyLabelHasValue"; "required": false; }; "thyLabelHideWhenHasValue": { "alias": "thyLabelHideWhenHasValue"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "active": { "alias": "thyActive"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; }, { "thyOnRemove": "thyOnRemove"; "thyClick": "thyClick"; }, ["operationIcon"], ["*"], true, never>;
|
|
85
|
-
static ngAcceptInputType_thyShowClose:
|
|
86
|
-
static ngAcceptInputType_thyLabelHasValue:
|
|
87
|
-
static ngAcceptInputType_thyLabelHideWhenHasValue:
|
|
88
|
-
static ngAcceptInputType_active:
|
|
89
|
-
static ngAcceptInputType_disabled:
|
|
86
|
+
static ngAcceptInputType_thyShowClose: i1.ThyBooleanInput;
|
|
87
|
+
static ngAcceptInputType_thyLabelHasValue: i1.ThyBooleanInput;
|
|
88
|
+
static ngAcceptInputType_thyLabelHideWhenHasValue: i1.ThyBooleanInput;
|
|
89
|
+
static ngAcceptInputType_active: i1.ThyBooleanInput;
|
|
90
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput;
|
|
90
91
|
}
|
|
91
92
|
export {};
|
|
@@ -9,10 +9,10 @@ export declare class ThyRadioButton extends ThyRadio implements OnInit {
|
|
|
9
9
|
isActive: boolean;
|
|
10
10
|
get isDisabled(): boolean;
|
|
11
11
|
name: string;
|
|
12
|
-
thyValue: string
|
|
12
|
+
readonly thyValue: import("@angular/core").InputSignal<string>;
|
|
13
13
|
set thyChecked(value: boolean);
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
click($event: MouseEvent): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadioButton, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioButton, "[thy-radio-button],[thyRadioButton]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioButton, "[thy-radio-button],[thyRadioButton]", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
18
18
|
}
|
|
@@ -13,15 +13,17 @@ export declare class ThyRadioGroup implements IThyRadioGroupComponent, ControlVa
|
|
|
13
13
|
thyRadioGroup: boolean;
|
|
14
14
|
isButtonGroup: boolean;
|
|
15
15
|
isButtonGroupOutline: boolean;
|
|
16
|
-
private _size;
|
|
17
|
-
private _layout;
|
|
18
16
|
/**
|
|
19
17
|
* 大小
|
|
20
18
|
* @type sm | md | lg
|
|
21
19
|
* @default md
|
|
22
20
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
readonly thySize: import("@angular/core").InputSignal<string>;
|
|
22
|
+
/**
|
|
23
|
+
* 布局
|
|
24
|
+
* @type flex
|
|
25
|
+
*/
|
|
26
|
+
readonly thyLayout: import("@angular/core").InputSignal<string>;
|
|
25
27
|
_innerValue: string | number;
|
|
26
28
|
radios: Array<ThyRadio | ThyRadioButton>;
|
|
27
29
|
private hostRenderer;
|
|
@@ -29,7 +31,7 @@ export declare class ThyRadioGroup implements IThyRadioGroupComponent, ControlVa
|
|
|
29
31
|
* 是否禁用单选组合框
|
|
30
32
|
* @default false
|
|
31
33
|
*/
|
|
32
|
-
thyDisabled: boolean
|
|
34
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
35
|
onChange: (_: string) => void;
|
|
34
36
|
onTouched: () => void;
|
|
35
37
|
addRadio(radio: ThyRadio | ThyRadioButton): void;
|
|
@@ -44,6 +46,5 @@ export declare class ThyRadioGroup implements IThyRadioGroupComponent, ControlVa
|
|
|
44
46
|
ngAfterContentInit(): void;
|
|
45
47
|
private _setClasses;
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadioGroup, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioGroup, "thy-radio-group", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
48
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioGroup, "thy-radio-group", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyLayout": { "alias": "thyLayout"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
49
50
|
}
|
|
@@ -13,10 +13,10 @@ export declare class ThyRadio extends ThyFormCheckBaseComponent implements IThyR
|
|
|
13
13
|
/**
|
|
14
14
|
* 当和 thy-radio-group 配合使用时的值,选中后的 NgModel 值
|
|
15
15
|
*/
|
|
16
|
-
thyValue: string
|
|
16
|
+
readonly thyValue: import("@angular/core").InputSignal<string>;
|
|
17
17
|
set thyChecked(value: boolean);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
change(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadio, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadio, "[thy-radio],[thyRadio]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadio, "[thy-radio],[thyRadio]", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
22
|
}
|
package/radio/radio.token.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, InputSignal } from '@angular/core';
|
|
2
2
|
export interface IThyRadioComponent {
|
|
3
|
-
thyValue: string
|
|
3
|
+
thyValue: InputSignal<string>;
|
|
4
4
|
thyChecked: boolean;
|
|
5
5
|
setDisabledState?(isDisabled: boolean): void;
|
|
6
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* @private
|
|
5
6
|
*/
|
|
@@ -15,5 +16,5 @@ export declare class ThyRateItem implements OnInit {
|
|
|
15
16
|
clickRateItem(isHalf: boolean): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRateItem, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRateItem, "thy-rate-item, [thy-rate-item]", never, { "allowHalf": { "alias": "allowHalf"; "required": false; }; "iconValue": { "alias": "iconValue"; "required": false; }; "iconTemplate": { "alias": "iconTemplate"; "required": false; }; }, { "itemHover": "itemHover"; "itemClick": "itemClick"; }, never, never, true, never>;
|
|
18
|
-
static ngAcceptInputType_allowHalf:
|
|
19
|
+
static ngAcceptInputType_allowHalf: i1.ThyBooleanInput;
|
|
19
20
|
}
|
package/rate/rate.component.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
|
2
2
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* 评分组件
|
|
7
8
|
* @name thy-rate
|
|
@@ -73,7 +74,7 @@ export declare class ThyRate extends TabIndexDisabledControlValueAccessorMixin i
|
|
|
73
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRate, never>;
|
|
74
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRate, "thy-rate", never, { "thyCount": { "alias": "thyCount"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyAllowHalf": { "alias": "thyAllowHalf"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyTooltips": { "alias": "thyTooltips"; "required": false; }; "thyIconTemplate": { "alias": "thyIconTemplate"; "required": false; }; }, { "thyItemHoverChange": "thyItemHoverChange"; }, never, never, true, never>;
|
|
75
76
|
static ngAcceptInputType_thyCount: unknown;
|
|
76
|
-
static ngAcceptInputType_thyDisabled:
|
|
77
|
-
static ngAcceptInputType_thyAllowHalf:
|
|
78
|
-
static ngAcceptInputType_thyAllowClear:
|
|
77
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
78
|
+
static ngAcceptInputType_thyAllowHalf: i1.ThyBooleanInput;
|
|
79
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
79
80
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ThyResizeEvent } from './interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
/**
|
|
5
6
|
* 调整尺寸
|
|
6
7
|
* @name thyResizable
|
|
@@ -96,13 +97,7 @@ export declare class ThyResizableDirective implements AfterViewInit, OnDestroy {
|
|
|
96
97
|
static ngAcceptInputType_thyGridColumnCount: unknown;
|
|
97
98
|
static ngAcceptInputType_thyMaxColumn: unknown;
|
|
98
99
|
static ngAcceptInputType_thyMinColumn: unknown;
|
|
99
|
-
static ngAcceptInputType_thyLockAspectRatio:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
static ngAcceptInputType_thyPreview: boolean /**
|
|
103
|
-
* 栅格最大列数
|
|
104
|
-
*/ | string | number;
|
|
105
|
-
static ngAcceptInputType_thyDisabled: boolean /**
|
|
106
|
-
* 栅格最大列数
|
|
107
|
-
*/ | string | number;
|
|
100
|
+
static ngAcceptInputType_thyLockAspectRatio: i1.ThyBooleanInput;
|
|
101
|
+
static ngAcceptInputType_thyPreview: i1.ThyBooleanInput;
|
|
102
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
108
103
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ThyResizeDirection, ThyResizeHandleMouseDownEvent } from './interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
/**
|
|
5
6
|
* 定义调整手柄及方向
|
|
6
7
|
* @name thy-resize-handle
|
|
@@ -27,5 +28,5 @@ export declare class ThyResizeHandle implements OnInit {
|
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandle, never>;
|
|
29
30
|
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:
|
|
31
|
+
static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
|
|
31
32
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ThyResizeDirection } from './interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
|
|
5
6
|
/**
|
|
6
7
|
* 定义调整手柄的快捷组件
|
|
@@ -20,5 +21,5 @@ export declare class ThyResizeHandles implements OnChanges {
|
|
|
20
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
|
|
22
23
|
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:
|
|
24
|
+
static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
|
|
24
25
|
}
|
|
@@ -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.0";
|
package/schematics/version.js
CHANGED
|
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { IThySegmentItemComponent } from './segment.token';
|
|
3
3
|
import { SafeAny } from 'ngx-tethys/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* 分段控制器的选项组件
|
|
7
8
|
* @name thy-segment-item,[thy-segment-item]
|
|
@@ -35,5 +36,5 @@ export declare class ThySegmentItem implements IThySegmentItemComponent, AfterVi
|
|
|
35
36
|
ngOnDestroy(): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySegmentItem, never>;
|
|
37
38
|
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:
|
|
39
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
39
40
|
}
|
|
@@ -5,6 +5,7 @@ import { IThySegmentComponent } from './segment.token';
|
|
|
5
5
|
import { ThySegmentEvent } from './types';
|
|
6
6
|
import { AnimationEvent } from '@angular/animations';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "ngx-tethys/util";
|
|
8
9
|
export type ThySegmentSize = 'xs' | 'sm' | 'md' | 'default';
|
|
9
10
|
export type ThySegmentMode = 'block' | 'inline';
|
|
10
11
|
/**
|
|
@@ -53,6 +54,6 @@ export declare class ThySegment implements IThySegmentComponent, AfterContentIni
|
|
|
53
54
|
handleThumbAnimationDone(event: AnimationEvent): void;
|
|
54
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySegment, never>;
|
|
55
56
|
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:
|
|
57
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
57
58
|
static ngAcceptInputType_thyActiveIndex: unknown;
|
|
58
59
|
}
|