ngx-tethys 19.0.13 → 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 +29 -2
- package/action/action.component.d.ts +12 -20
- package/action/actions.component.d.ts +5 -7
- package/affix/affix.component.d.ts +7 -10
- package/alert/alert.component.d.ts +1 -1
- package/anchor/anchor-link.component.d.ts +8 -8
- package/anchor/anchor.component.d.ts +15 -21
- package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
- package/autocomplete/autocomplete.component.d.ts +10 -17
- package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
- package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
- package/avatar/avatar.component.d.ts +25 -39
- package/back-top/back-top.component.d.ts +9 -12
- package/badge/badge.component.d.ts +19 -59
- package/breadcrumb/breadcrumb.component.d.ts +15 -20
- package/button/button-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-action.mjs +54 -91
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +29 -26
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +91 -118
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +117 -162
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +33 -46
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +104 -208
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-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-list.mjs +1 -1
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +52 -74
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +106 -179
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +169 -201
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +230 -294
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +67 -70
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +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 +6 -7
- package/mention/suggestions/suggestions.component.d.ts +8 -9
- package/menu/group/menu-group.component.d.ts +16 -33
- package/menu/item/action/menu-item-action.component.d.ts +7 -8
- package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
- package/menu/item/menu-item.component.d.ts +4 -4
- package/menu/item/name/menu-item-name.component.d.ts +2 -3
- package/menu/menu.component.d.ts +3 -7
- package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
- package/nav/icon-nav/icon-nav.component.d.ts +3 -8
- package/nav/nav-ink-bar.directive.d.ts +4 -6
- package/nav/nav-item.directive.d.ts +7 -10
- package/nav/nav.component.d.ts +20 -48
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +48 -109
- package/popover/header/popover-header.component.d.ts +7 -6
- package/popover/popover.directive.d.ts +11 -18
- package/progress/progress-circle.component.d.ts +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,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IThyCollapseItemComponent } from './collapse.token';
|
|
3
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* 折叠面板项组件
|
|
@@ -10,41 +9,37 @@ import * as i0 from "@angular/core";
|
|
|
10
9
|
export declare class ThyCollapseItem implements IThyCollapseItemComponent, OnInit, OnDestroy {
|
|
11
10
|
private cdr;
|
|
12
11
|
private thyCollapseComponent;
|
|
13
|
-
showArrow: boolean;
|
|
14
|
-
arrowIconTemplate: TemplateRef<SafeAny>;
|
|
15
|
-
arrowIcon: string;
|
|
16
12
|
/**
|
|
17
13
|
* 标题
|
|
18
14
|
*/
|
|
19
|
-
thyTitle: string
|
|
15
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
20
16
|
/**
|
|
21
17
|
* 是否处于激活展开状态
|
|
22
18
|
*/
|
|
23
|
-
thyActive: boolean
|
|
19
|
+
thyActive: import("@angular/core").ModelSignal<boolean>;
|
|
24
20
|
/**
|
|
25
21
|
* 是否禁用当前面板
|
|
26
|
-
* @default false
|
|
27
22
|
*/
|
|
28
|
-
thyDisabled: boolean
|
|
23
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
24
|
/**
|
|
30
25
|
* 自定义面板头
|
|
31
|
-
* @type TemplateRef
|
|
32
26
|
*/
|
|
33
|
-
thyHeaderTemplate: TemplateRef<
|
|
27
|
+
readonly thyHeaderTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
34
28
|
/**
|
|
35
29
|
* 自定义箭头(展开收起)图标,设置为 false 表示隐藏图标
|
|
36
|
-
* @type {string | TemplateRef<SafeAny> | false}
|
|
37
30
|
*/
|
|
38
|
-
|
|
31
|
+
thyArrowIcon: import("@angular/core").ModelSignal<string | boolean | TemplateRef<any>>;
|
|
32
|
+
readonly arrowIconTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
33
|
+
readonly arrowIcon: import("@angular/core").Signal<string>;
|
|
34
|
+
readonly showArrow: import("@angular/core").Signal<string | boolean | TemplateRef<any>>;
|
|
39
35
|
/**
|
|
40
36
|
* 额外附加模板
|
|
41
|
-
* @type TemplateRef
|
|
42
37
|
*/
|
|
43
|
-
thyExtra: TemplateRef<
|
|
38
|
+
readonly thyExtra: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
44
39
|
/**
|
|
45
40
|
* 展开收起事件
|
|
46
41
|
*/
|
|
47
|
-
thyActiveChange:
|
|
42
|
+
readonly thyActiveChange: import("@angular/core").OutputEmitterRef<{
|
|
48
43
|
active: boolean;
|
|
49
44
|
event: Event;
|
|
50
45
|
}>;
|
|
@@ -53,7 +48,5 @@ export declare class ThyCollapseItem implements IThyCollapseItemComponent, OnIni
|
|
|
53
48
|
activeChange(event: Event): void;
|
|
54
49
|
ngOnDestroy(): void;
|
|
55
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCollapseItem, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapseItem, "thy-collapse-panel, thy-collapse-item", ["ThyCollapseComponent"], { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyActive": { "alias": "thyActive"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyHeaderTemplate": { "alias": "thyHeaderTemplate"; "required": false; }; "thyArrowIcon": { "alias": "thyArrowIcon"; "required": false; }; "thyExtra": { "alias": "thyExtra"; "required": false; }; }, { "thyActiveChange": "thyActiveChange"; }, never, ["*"], true, never>;
|
|
57
|
-
static ngAcceptInputType_thyActive: boolean | string | number;
|
|
58
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapseItem, "thy-collapse-panel, thy-collapse-item", ["ThyCollapseComponent"], { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyActive": { "alias": "thyActive"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyHeaderTemplate": { "alias": "thyHeaderTemplate"; "required": false; "isSignal": true; }; "thyArrowIcon": { "alias": "thyArrowIcon"; "required": false; "isSignal": true; }; "thyExtra": { "alias": "thyExtra"; "required": false; "isSignal": true; }; }, { "thyActive": "thyActiveChange"; "thyArrowIcon": "thyArrowIconChange"; "thyActiveChange": "thyActiveChange"; }, never, ["*"], true, never>;
|
|
59
52
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { IThyCollapseItemComponent, IThyCollapseComponent } from './collapse.token';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type ThyCollapseTheme = 'divided' | 'bordered' | 'ghost';
|
|
@@ -8,28 +7,23 @@ export type ThyCollapsedIconPosition = 'left' | 'right';
|
|
|
8
7
|
* @name thy-collapse
|
|
9
8
|
* @order 10
|
|
10
9
|
*/
|
|
11
|
-
export declare class ThyCollapse implements IThyCollapseComponent
|
|
10
|
+
export declare class ThyCollapse implements IThyCollapseComponent {
|
|
12
11
|
/**
|
|
13
12
|
* 折叠面板主题,支持 `divided` | `bordered` | `ghost`
|
|
14
13
|
*/
|
|
15
|
-
thyTheme: ThyCollapseTheme
|
|
14
|
+
readonly thyTheme: import("@angular/core").InputSignal<ThyCollapseTheme>;
|
|
16
15
|
/**
|
|
17
16
|
* 是否为手风琴模式,手风琴模式下,只能展开一个面板
|
|
18
|
-
* @default false
|
|
19
17
|
*/
|
|
20
|
-
thyAccordion: boolean
|
|
18
|
+
readonly thyAccordion: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
19
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @type left | right
|
|
20
|
+
* 展开收起图标的位置,支持 `left` | `right`
|
|
24
21
|
*/
|
|
25
|
-
thyArrowIconPosition: ThyCollapsedIconPosition
|
|
22
|
+
readonly thyArrowIconPosition: import("@angular/core").InputSignal<ThyCollapsedIconPosition>;
|
|
26
23
|
private listOfCollapsePanelComponent;
|
|
27
|
-
constructor();
|
|
28
|
-
ngOnInit(): void;
|
|
29
24
|
addPanel(value: IThyCollapseItemComponent): void;
|
|
30
25
|
removePanel(value: IThyCollapseItemComponent): void;
|
|
31
26
|
click(collapseItem: IThyCollapseItemComponent, event: Event): void;
|
|
32
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCollapse, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapse, "thy-collapse", never, { "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyAccordion": { "alias": "thyAccordion"; "required": false; }; "thyArrowIconPosition": { "alias": "thyArrowIconPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
|
-
static ngAcceptInputType_thyAccordion: boolean | string | number;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapse, "thy-collapse", never, { "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyAccordion": { "alias": "thyAccordion"; "required": false; "isSignal": true; }; "thyArrowIconPosition": { "alias": "thyArrowIconPosition"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
35
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken, ModelSignal, OutputEmitterRef } from '@angular/core';
|
|
2
2
|
export interface IThyCollapseItemComponent {
|
|
3
|
-
thyActive: boolean
|
|
4
|
-
thyActiveChange:
|
|
3
|
+
thyActive: ModelSignal<boolean>;
|
|
4
|
+
thyActiveChange: OutputEmitterRef<{
|
|
5
5
|
active: boolean;
|
|
6
6
|
event: Event;
|
|
7
7
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
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
|
/**
|
|
@@ -6,12 +6,12 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyColorPickerCustomPanel implements OnInit {
|
|
8
8
|
className: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
pickerColorChange: (color: string) => {}
|
|
9
|
+
readonly color: import("@angular/core").ModelSignal<string>;
|
|
10
|
+
colorInstance: WritableSignal<ThyColor>;
|
|
11
|
+
readonly pickerColorChange: import("@angular/core").InputSignal<(color: string) => {}>;
|
|
12
12
|
constructor();
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
colorChangeEvent($event: ThyColor): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyColorPickerCustomPanel, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerCustomPanel, "thy-color-picker-custom-panel", never, { "color": { "alias": "color"; "required": false; }; "pickerColorChange": { "alias": "pickerColorChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerCustomPanel, "thy-color-picker-custom-panel", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "pickerColorChange": { "alias": "pickerColorChange"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit, Signal } from '@angular/core';
|
|
2
|
+
import { ThyColorPickerLocale } from 'ngx-tethys/i18n';
|
|
2
3
|
import { ThyPopoverRef } from 'ngx-tethys/popover';
|
|
3
4
|
import { ThyColorPickerCustomPanel } from './color-picker-custom-panel.component';
|
|
4
|
-
import { ThyColorPickerLocale } from 'ngx-tethys/i18n';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
@@ -11,14 +11,11 @@ export declare class ThyColorPickerPanel implements OnInit {
|
|
|
11
11
|
private viewContainerRef;
|
|
12
12
|
private thyPopoverRef;
|
|
13
13
|
locale: Signal<ThyColorPickerLocale>;
|
|
14
|
-
|
|
15
|
-
color: string
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
transparentColorSelectable: boolean;
|
|
20
|
-
defaultColors: string[];
|
|
21
|
-
customDefaultColor: string;
|
|
14
|
+
readonly color: import("@angular/core").ModelSignal<string>;
|
|
15
|
+
readonly colorChange: import("@angular/core").InputSignal<(color: string) => {}>;
|
|
16
|
+
readonly defaultColor: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
17
|
+
readonly transparentColorSelectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly defaultColors: import("@angular/core").InputSignal<string[]>;
|
|
22
19
|
recentColors: string[];
|
|
23
20
|
newColor: string;
|
|
24
21
|
customPanelPopoverRef: ThyPopoverRef<ThyColorPickerCustomPanel>;
|
|
@@ -27,6 +24,5 @@ export declare class ThyColorPickerPanel implements OnInit {
|
|
|
27
24
|
showMoreColor(event: Event): void;
|
|
28
25
|
getIconColor(item: string): "white" | "black";
|
|
29
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyColorPickerPanel, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerPanel, "thy-color-picker-panel", never, { "color": { "alias": "color"; "required": false; }; "colorChange": { "alias": "colorChange"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; "transparentColorSelectable": { "alias": "transparentColorSelectable"; "required": false; }; "defaultColors": { "alias": "defaultColors"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
static ngAcceptInputType_transparentColorSelectable: boolean | string | number;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerPanel, "thy-color-picker-panel", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "colorChange": { "alias": "colorChange"; "required": false; "isSignal": true; }; "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; "transparentColorSelectable": { "alias": "transparentColorSelectable"; "required": false; "isSignal": true; }; "defaultColors": { "alias": "defaultColors"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
|
|
32
28
|
}
|
|
@@ -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
|
}
|