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,33 +1,33 @@
|
|
|
1
|
-
import { OnChanges, OnInit
|
|
1
|
+
import { OnChanges, OnInit } from '@angular/core';
|
|
2
2
|
import { ReplaySubject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type ThyRowJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
|
5
5
|
export type ThyRowAlign = 'top' | 'middle' | 'bottom';
|
|
6
|
+
export interface ThyGutterType {
|
|
7
|
+
xs?: number;
|
|
8
|
+
sm?: number;
|
|
9
|
+
md?: number;
|
|
10
|
+
lg?: number;
|
|
11
|
+
xl?: number;
|
|
12
|
+
xxl?: number;
|
|
13
|
+
}
|
|
6
14
|
/**
|
|
7
15
|
* 栅格行指令
|
|
8
16
|
* @name thyRow
|
|
9
17
|
* @order 30
|
|
10
18
|
*/
|
|
11
|
-
export declare class ThyRowDirective implements OnInit, OnChanges
|
|
19
|
+
export declare class ThyRowDirective implements OnInit, OnChanges {
|
|
12
20
|
/**
|
|
13
21
|
* 栅格的间距
|
|
14
22
|
*/
|
|
15
|
-
thyGutter: number |
|
|
16
|
-
xs?: number;
|
|
17
|
-
sm?: number;
|
|
18
|
-
md?: number;
|
|
19
|
-
lg?: number;
|
|
20
|
-
xl?: number;
|
|
21
|
-
xxl?: number;
|
|
22
|
-
};
|
|
23
|
+
readonly thyGutter: import("@angular/core").InputSignal<number | ThyGutterType>;
|
|
23
24
|
actualGutter$: ReplaySubject<[number, number]>;
|
|
24
25
|
private hostRenderer;
|
|
25
26
|
constructor();
|
|
26
27
|
ngOnInit(): void;
|
|
27
28
|
ngOnChanges(): void;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
29
|
private setGutterStyle;
|
|
30
30
|
private getGutter;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRowDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyRowDirective, "[thyRow]", never, { "thyGutter": { "alias": "thyGutter"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyRowDirective, "[thyRow]", never, { "thyGutter": { "alias": "thyGutter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
33
|
}
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* 图标组件
|
|
5
6
|
* @name thy-icon,[thy-icon]
|
|
@@ -49,6 +50,6 @@ export declare class ThyIcon implements OnInit, OnChanges {
|
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyIcon, never>;
|
|
50
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyIcon, "thy-icon, [thy-icon]", never, { "iconType": { "alias": "thyIconType"; "required": false; }; "iconTwotoneColor": { "alias": "thyTwotoneColor"; "required": false; }; "iconName": { "alias": "thyIconName"; "required": false; }; "iconRotate": { "alias": "thyIconRotate"; "required": false; }; "iconSet": { "alias": "thyIconSet"; "required": false; }; "iconLegging": { "alias": "thyIconLegging"; "required": false; }; "iconLinearGradient": { "alias": "thyIconLinearGradient"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
51
52
|
static ngAcceptInputType_iconRotate: unknown;
|
|
52
|
-
static ngAcceptInputType_iconLegging:
|
|
53
|
-
static ngAcceptInputType_iconLinearGradient:
|
|
53
|
+
static ngAcceptInputType_iconLegging: i1.ThyBooleanInput;
|
|
54
|
+
static ngAcceptInputType_iconLinearGradient: i1.ThyBooleanInput;
|
|
54
55
|
}
|
|
@@ -2,6 +2,7 @@ import { OnChanges, OnInit, SimpleChanges, OnDestroy, AfterViewInit } from '@ang
|
|
|
2
2
|
import { IThyImageDirective } from './image.token';
|
|
3
3
|
import { ThyImageMeta } from './image.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* thyImage: 预览图片指令,只可绑定到 img 标签上
|
|
7
8
|
* @name img[thyImage]
|
|
@@ -47,6 +48,6 @@ export declare class ThyImageDirective implements IThyImageDirective, OnInit, On
|
|
|
47
48
|
ngOnDestroy(): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyImageDirective, never>;
|
|
49
50
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyImageDirective, "img[thyImage]", ["thyImage"], { "thySrc": { "alias": "thySrc"; "required": false; }; "thyPreviewSrc": { "alias": "thyPreviewSrc"; "required": false; }; "thyOriginSrc": { "alias": "thyOriginSrc"; "required": false; }; "thyImageMeta": { "alias": "thyImageMeta"; "required": false; }; "thyDisablePreview": { "alias": "thyDisablePreview"; "required": false; }; "thyResolveSize": { "alias": "thyResolveSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
-
static ngAcceptInputType_thyDisablePreview:
|
|
51
|
-
static ngAcceptInputType_thyResolveSize:
|
|
51
|
+
static ngAcceptInputType_thyDisablePreview: i1.ThyBooleanInput;
|
|
52
|
+
static ngAcceptInputType_thyResolveSize: i1.ThyBooleanInput;
|
|
52
53
|
}
|
|
@@ -8,7 +8,6 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @order 40
|
|
9
9
|
*/
|
|
10
10
|
export declare class ThyInputCount implements OnInit {
|
|
11
|
-
private changeDetectorRef;
|
|
12
11
|
private inputGroup;
|
|
13
12
|
private readonly destroyRef;
|
|
14
13
|
private hasInput;
|
|
@@ -16,13 +15,13 @@ export declare class ThyInputCount implements OnInit {
|
|
|
16
15
|
* 输入框组件,如果不传默认会读取外层 thy-input-group 下的 thyInput 指令
|
|
17
16
|
* @type ThyInputDirective
|
|
18
17
|
*/
|
|
19
|
-
|
|
20
|
-
maxLength:
|
|
21
|
-
inputLength: number
|
|
18
|
+
readonly thyInput: import("@angular/core").InputSignal<ThyInputDirective>;
|
|
19
|
+
maxLength: import("@angular/core").WritableSignal<string | number>;
|
|
20
|
+
inputLength: import("@angular/core").WritableSignal<number>;
|
|
22
21
|
thyInput$: Subject<ThyInputDirective>;
|
|
23
22
|
constructor();
|
|
24
23
|
setup(): void;
|
|
25
24
|
ngOnInit(): void;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputCount, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputCount, "thy-input-count", never, { "thyInput": { "alias": "thyInput"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputCount, "thy-input-count", never, { "thyInput": { "alias": "thyInput"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
27
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef,
|
|
1
|
+
import { TemplateRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ThyInputDirective } from './input.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type InputGroupSize = 'sm' | 'lg' | 'md' | '';
|
|
@@ -7,65 +7,65 @@ export type InputGroupSize = 'sm' | 'lg' | 'md' | '';
|
|
|
7
7
|
* @name thy-input-group
|
|
8
8
|
* @order 20
|
|
9
9
|
*/
|
|
10
|
-
export declare class ThyInputGroup implements OnInit,
|
|
10
|
+
export declare class ThyInputGroup implements OnInit, OnDestroy {
|
|
11
11
|
private thyTranslate;
|
|
12
12
|
private ngZone;
|
|
13
|
-
private cdr;
|
|
14
13
|
private hostRenderer;
|
|
15
14
|
private hostFocusControl;
|
|
16
15
|
private readonly destroyRef;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
hasScrollbar: boolean;
|
|
21
|
-
disabled: boolean;
|
|
16
|
+
isTextareaSuffix: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
hasScrollbar: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
22
19
|
/**
|
|
23
20
|
* 输入框上添加的后置文本
|
|
24
21
|
*/
|
|
25
|
-
|
|
22
|
+
readonly thyAppendText: import("@angular/core").InputSignal<string>;
|
|
26
23
|
/**
|
|
27
24
|
* 输入框上添加的后置文本多语言 Key
|
|
28
25
|
*/
|
|
29
|
-
|
|
26
|
+
readonly thyAppendTextTranslateKey: import("@angular/core").InputSignal<string>;
|
|
30
27
|
/**
|
|
31
28
|
* 输入框上添加的前置文本
|
|
32
29
|
*/
|
|
33
|
-
|
|
30
|
+
readonly thyPrependText: import("@angular/core").InputSignal<string>;
|
|
34
31
|
/**
|
|
35
32
|
* 输入框上添加的前置文本多语言 Key
|
|
36
33
|
*/
|
|
37
|
-
|
|
34
|
+
readonly thyPrependTextTranslateKey: import("@angular/core").InputSignal<string>;
|
|
35
|
+
protected readonly prependText: import("@angular/core").Signal<any>;
|
|
36
|
+
protected readonly appendText: import("@angular/core").Signal<any>;
|
|
38
37
|
/**
|
|
39
38
|
* 输入框分组大小
|
|
40
39
|
* @type 'sm' | 'lg' | 'md' | ''
|
|
41
40
|
* @default ''
|
|
42
41
|
*/
|
|
43
|
-
|
|
42
|
+
readonly thySize: import("@angular/core").InputSignal<InputGroupSize>;
|
|
44
43
|
/**
|
|
45
44
|
* 后置模板
|
|
46
45
|
*/
|
|
47
|
-
appendTemplate: TemplateRef<unknown
|
|
46
|
+
readonly appendTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
48
47
|
/**
|
|
49
48
|
* 前置模板
|
|
50
49
|
*/
|
|
51
|
-
prependTemplate: TemplateRef<unknown
|
|
50
|
+
readonly prependTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
52
51
|
/**
|
|
53
52
|
* 前缀
|
|
54
53
|
*/
|
|
55
|
-
prefixTemplate: TemplateRef<unknown
|
|
54
|
+
readonly prefixTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
56
55
|
/**
|
|
57
56
|
* 后缀
|
|
58
57
|
*/
|
|
59
|
-
suffixTemplate: TemplateRef<unknown
|
|
58
|
+
readonly suffixTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
60
59
|
/**
|
|
61
60
|
* @private
|
|
62
61
|
*/
|
|
63
|
-
inputDirective: ThyInputDirective
|
|
62
|
+
readonly inputDirective: import("@angular/core").Signal<ThyInputDirective>;
|
|
63
|
+
private disabledObservable;
|
|
64
|
+
constructor();
|
|
64
65
|
ngOnInit(): void;
|
|
65
|
-
ngAfterContentChecked(): void;
|
|
66
66
|
private determineHasScrollbar;
|
|
67
67
|
private resizeObserver;
|
|
68
68
|
ngOnDestroy(): void;
|
|
69
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputGroup, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputGroup, "thy-input-group", never, { "thyAppendText": { "alias": "thyAppendText"; "required": false; }; "thyAppendTextTranslateKey": { "alias": "thyAppendTextTranslateKey"; "required": false; }; "thyPrependText": { "alias": "thyPrependText"; "required": false; }; "thyPrependTextTranslateKey": { "alias": "thyPrependTextTranslateKey"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, {}, ["appendTemplate", "prependTemplate", "prefixTemplate", "suffixTemplate", "inputDirective"], ["*"], true, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputGroup, "thy-input-group", never, { "thyAppendText": { "alias": "thyAppendText"; "required": false; "isSignal": true; }; "thyAppendTextTranslateKey": { "alias": "thyAppendTextTranslateKey"; "required": false; "isSignal": true; }; "thyPrependText": { "alias": "thyPrependText"; "required": false; "isSignal": true; }; "thyPrependTextTranslateKey": { "alias": "thyPrependTextTranslateKey"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, {}, ["appendTemplate", "prependTemplate", "prefixTemplate", "suffixTemplate", "inputDirective"], ["*"], true, never>;
|
|
71
71
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractControlValueAccessor, Constructor, ThyCanDisable, ThyHasTabIndex, ThyInitialized } from 'ngx-tethys/core';
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { ThyInputSize } from './input.directive';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -13,63 +13,58 @@ declare const _MixinBase: Constructor<ThyHasTabIndex> & Constructor<ThyInitializ
|
|
|
13
13
|
* @order 30
|
|
14
14
|
*/
|
|
15
15
|
export declare class ThyInputSearch extends _MixinBase implements ControlValueAccessor, OnInit, OnDestroy {
|
|
16
|
-
private cdr;
|
|
17
16
|
private elementRef;
|
|
18
|
-
inputElement: ElementRef<any
|
|
17
|
+
readonly inputElement: import("@angular/core").Signal<ElementRef<any>>;
|
|
19
18
|
private hostRenderer;
|
|
20
19
|
private hostFocusControl;
|
|
21
|
-
disabled: boolean
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
searchText: string;
|
|
25
|
-
focused: boolean;
|
|
20
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
searchText: import("@angular/core").WritableSignal<string>;
|
|
22
|
+
focused: import("@angular/core").WritableSignal<boolean>;
|
|
26
23
|
/**
|
|
27
24
|
* 搜索框 name 属性
|
|
28
25
|
*/
|
|
29
|
-
name: string
|
|
26
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
30
27
|
/**
|
|
31
28
|
* 搜索框 Placeholder
|
|
32
29
|
*/
|
|
33
|
-
placeholder: string
|
|
30
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
34
31
|
/**
|
|
35
32
|
* 搜索框风格
|
|
36
33
|
* @type 'default' | 'ellipse' | 'transparent'
|
|
37
34
|
* @default default
|
|
38
35
|
*/
|
|
39
|
-
thyTheme: ThyInputSearchTheme
|
|
36
|
+
readonly thyTheme: import("@angular/core").InputSignal<ThyInputSearchTheme>;
|
|
40
37
|
/**
|
|
41
38
|
* 是否自动聚焦
|
|
42
39
|
* @default false
|
|
43
40
|
*/
|
|
44
|
-
|
|
41
|
+
readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
45
42
|
/**
|
|
46
43
|
* 搜索图标位置,当传入 after 时,搜索图标在输入框后方显示,有内容时显示为关闭按钮
|
|
47
|
-
* @type
|
|
44
|
+
* @type ThyInputSearchIconPosition
|
|
48
45
|
*/
|
|
49
|
-
|
|
46
|
+
readonly iconPosition: import("@angular/core").InputSignalWithTransform<ThyInputSearchIconPosition, ThyInputSearchIconPosition>;
|
|
50
47
|
/**
|
|
51
48
|
* 输入框大小
|
|
52
49
|
* @type 'xs' | 'sm' | 'md' | 'default' | 'lg'
|
|
53
50
|
*/
|
|
54
|
-
thySize: ThyInputSize
|
|
51
|
+
readonly thySize: import("@angular/core").InputSignal<ThyInputSize>;
|
|
55
52
|
/**
|
|
56
53
|
* @deprecated please use thyClear
|
|
57
54
|
*/
|
|
58
|
-
clear:
|
|
55
|
+
readonly clear: import("@angular/core").OutputEmitterRef<Event>;
|
|
59
56
|
/**
|
|
60
57
|
* 清除搜索事件
|
|
61
58
|
*/
|
|
62
|
-
thyClear:
|
|
59
|
+
readonly thyClear: import("@angular/core").OutputEmitterRef<Event>;
|
|
63
60
|
constructor();
|
|
64
61
|
ngOnInit(): void;
|
|
65
|
-
updateClasses(forceUpdate?: boolean): void;
|
|
66
62
|
writeValue(value: any): void;
|
|
67
63
|
setDisabledState?(isDisabled: boolean): void;
|
|
68
64
|
searchModelChange(): void;
|
|
69
65
|
clearSearchText(event: Event): void;
|
|
70
66
|
ngOnDestroy(): void;
|
|
71
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputSearch, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputSearch, "thy-input-search", never, { "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "
|
|
73
|
-
static ngAcceptInputType_thySearchFocus: boolean | string | number;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputSearch, "thy-input-search", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "thySearchFocus"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "thyIconPosition"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, { "clear": "clear"; "thyClear": "thyClear"; }, never, never, true, never>;
|
|
74
69
|
}
|
|
75
70
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { ThyInputSize } from './input.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -14,58 +14,59 @@ export declare class ThyInput implements ControlValueAccessor, OnInit {
|
|
|
14
14
|
/**
|
|
15
15
|
* Placeholder
|
|
16
16
|
*/
|
|
17
|
-
placeholder: string
|
|
17
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
18
18
|
/**
|
|
19
19
|
* 输入框大小
|
|
20
20
|
* @type 'xs' | 'sm' | 'md' | 'default' | 'lg'
|
|
21
21
|
* @default default
|
|
22
22
|
*/
|
|
23
|
-
thySize: ThyInputSize
|
|
23
|
+
readonly thySize: import("@angular/core").InputSignal<ThyInputSize>;
|
|
24
24
|
/**
|
|
25
25
|
* 是否自动聚焦
|
|
26
26
|
*/
|
|
27
|
-
thyAutofocus: boolean
|
|
27
|
+
readonly thyAutofocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
28
|
/**
|
|
29
29
|
* 输入框类型
|
|
30
30
|
* @type 'number' | 'input'
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
readonly thyType: import("@angular/core").InputSignal<string>;
|
|
33
33
|
/**
|
|
34
34
|
* @deprecated please use thyType
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
readonly _type: import("@angular/core").InputSignal<string>;
|
|
37
37
|
/**
|
|
38
38
|
* 输入 Label 文本
|
|
39
39
|
*/
|
|
40
|
-
thyLabelText: string
|
|
40
|
+
readonly thyLabelText: import("@angular/core").InputSignal<string>;
|
|
41
41
|
/**
|
|
42
42
|
* 是否只读
|
|
43
43
|
*/
|
|
44
|
-
readonly: boolean
|
|
44
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
45
45
|
/**
|
|
46
46
|
* focus 聚焦事件
|
|
47
47
|
*/
|
|
48
|
-
focus:
|
|
48
|
+
readonly focus: import("@angular/core").OutputEmitterRef<Event>;
|
|
49
49
|
/**
|
|
50
50
|
* blur 失焦事件
|
|
51
51
|
*/
|
|
52
|
-
blur:
|
|
52
|
+
readonly blur: import("@angular/core").OutputEmitterRef<Event>;
|
|
53
53
|
/**
|
|
54
54
|
* 后置模板
|
|
55
55
|
*/
|
|
56
|
-
appendTemplate: TemplateRef<any
|
|
56
|
+
readonly appendTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
57
57
|
/**
|
|
58
58
|
* 前置模板
|
|
59
59
|
*/
|
|
60
|
-
prependTemplate: TemplateRef<any
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
disabled: boolean;
|
|
60
|
+
readonly prependTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
61
|
+
type: import("@angular/core").WritableSignal<string>;
|
|
62
|
+
value: import("@angular/core").WritableSignal<string>;
|
|
63
|
+
showLabel: import("@angular/core").WritableSignal<boolean>;
|
|
64
|
+
focused: import("@angular/core").WritableSignal<boolean>;
|
|
65
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
67
66
|
private onTouchedCallback;
|
|
68
67
|
private onChangeCallback;
|
|
68
|
+
isPasswordType: import("@angular/core").WritableSignal<boolean>;
|
|
69
|
+
constructor();
|
|
69
70
|
ngOnInit(): void;
|
|
70
71
|
writeValue(value: any): void;
|
|
71
72
|
registerOnChange(fn: any): void;
|
|
@@ -77,7 +78,5 @@ export declare class ThyInput implements ControlValueAccessor, OnInit {
|
|
|
77
78
|
isPassword(value: string): value is "password";
|
|
78
79
|
togglePasswordType(): void;
|
|
79
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInput, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInput, "thy-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyAutofocus": { "alias": "thyAutofocus"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "
|
|
81
|
-
static ngAcceptInputType_thyAutofocus: boolean | string | number;
|
|
82
|
-
static ngAcceptInputType_readonly: boolean | string | number;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInput, "thy-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyAutofocus": { "alias": "thyAutofocus"; "required": false; "isSignal": true; }; "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "_type": { "alias": "type"; "required": false; "isSignal": true; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "focus": "focus"; "blur": "blur"; }, ["appendTemplate", "prependTemplate"], never, true, never>;
|
|
83
82
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { NgControl } from '@angular/forms';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type ThyInputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
@@ -7,22 +6,21 @@ export type ThyInputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
|
7
6
|
* @name thyInput
|
|
8
7
|
* @order 10
|
|
9
8
|
*/
|
|
10
|
-
export declare class ThyInputDirective
|
|
9
|
+
export declare class ThyInputDirective {
|
|
11
10
|
private elementRef;
|
|
12
11
|
private render;
|
|
13
12
|
private control;
|
|
14
13
|
isFormControl: boolean;
|
|
15
|
-
private initialized;
|
|
16
14
|
private hostRenderer;
|
|
17
15
|
/**
|
|
18
16
|
* 输入框大小
|
|
19
17
|
* @type 'xs' | 'sm' | 'md' | 'default' | 'lg'
|
|
20
18
|
* @default default
|
|
21
19
|
*/
|
|
22
|
-
|
|
20
|
+
readonly thySize: import("@angular/core").InputSignal<ThyInputSize>;
|
|
23
21
|
get ngControl(): NgControl;
|
|
24
22
|
get nativeElement(): HTMLInputElement;
|
|
25
|
-
|
|
23
|
+
constructor();
|
|
26
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyInputDirective, "input[thyInput], select[thyInput], textarea[thyInput]", ["thyInput"], { "thySize": { "alias": "thySize"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyInputDirective, "input[thyInput], select[thyInput], textarea[thyInput]", ["thyInput"], { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
26
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, OnDestroy, OnInit } 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
|
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
6
7
|
declare enum Type {
|
|
7
8
|
up = 0,
|
|
@@ -12,25 +13,24 @@ declare enum Type {
|
|
|
12
13
|
* @name thy-input-number
|
|
13
14
|
* @order 10
|
|
14
15
|
*/
|
|
15
|
-
export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor,
|
|
16
|
-
|
|
17
|
-
inputElement: ElementRef<any>;
|
|
16
|
+
export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit, OnDestroy {
|
|
17
|
+
readonly inputElement: import("@angular/core").Signal<ElementRef<any>>;
|
|
18
18
|
private autoStepTimer;
|
|
19
19
|
private hostFocusControl;
|
|
20
20
|
validValue: number | string;
|
|
21
|
-
displayValue:
|
|
22
|
-
disabledUp: boolean
|
|
23
|
-
disabledDown: boolean
|
|
21
|
+
displayValue: import("@angular/core").WritableSignal<string | number>;
|
|
22
|
+
disabledUp: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
disabledDown: import("@angular/core").WritableSignal<boolean>;
|
|
24
24
|
activeValue: string;
|
|
25
25
|
/**
|
|
26
26
|
* 是否自动聚焦
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
|
-
thyAutoFocus: boolean
|
|
29
|
+
readonly thyAutoFocus: import("@angular/core").InputSignalWithTransform<boolean, string | number | boolean>;
|
|
30
30
|
/**
|
|
31
31
|
* 输入框的placeholder
|
|
32
32
|
*/
|
|
33
|
-
thyPlaceholder: string
|
|
33
|
+
readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
|
|
34
34
|
/**
|
|
35
35
|
* 是否禁用
|
|
36
36
|
* @default false
|
|
@@ -40,58 +40,53 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
|
|
|
40
40
|
* 最大值
|
|
41
41
|
* @default Infinity
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
get thyMax(): number;
|
|
43
|
+
readonly thyMax: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
45
44
|
/**
|
|
46
45
|
* 最小值
|
|
47
46
|
* @default -Infinity
|
|
48
47
|
*/
|
|
49
|
-
|
|
50
|
-
get thyMin(): number;
|
|
48
|
+
readonly thyMin: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
51
49
|
/**
|
|
52
50
|
* 每次改变步数,可以为小数
|
|
53
51
|
*/
|
|
54
|
-
thyStep: number
|
|
52
|
+
readonly thyStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
55
53
|
/**
|
|
56
54
|
* 改变步数时的延迟毫秒数,值越小变化的速度越快
|
|
57
55
|
* @default 300
|
|
58
56
|
*/
|
|
59
|
-
thyStepDelay: number
|
|
57
|
+
readonly thyStepDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
60
58
|
/**
|
|
61
59
|
* 输入框大小
|
|
62
60
|
* @type xs | sm | md | lg
|
|
63
61
|
*/
|
|
64
|
-
thySize: InputSize
|
|
62
|
+
readonly thySize: import("@angular/core").InputSignal<InputSize>;
|
|
65
63
|
/**
|
|
66
64
|
* 数值精度
|
|
67
65
|
*/
|
|
68
|
-
thyPrecision: number
|
|
66
|
+
readonly thyPrecision: import("@angular/core").InputSignal<number>;
|
|
69
67
|
/**
|
|
70
68
|
* 数值后缀
|
|
71
69
|
*/
|
|
72
|
-
thySuffix: string
|
|
70
|
+
readonly thySuffix: import("@angular/core").InputSignal<string>;
|
|
73
71
|
/**
|
|
74
72
|
* 焦点失去事件
|
|
75
73
|
*/
|
|
76
|
-
thyBlur:
|
|
74
|
+
readonly thyBlur: import("@angular/core").OutputEmitterRef<void>;
|
|
77
75
|
/**
|
|
78
76
|
* 焦点激活事件
|
|
79
77
|
*/
|
|
80
|
-
thyFocus:
|
|
78
|
+
readonly thyFocus: import("@angular/core").OutputEmitterRef<Event>;
|
|
81
79
|
/**
|
|
82
80
|
* 上下箭头点击事件
|
|
83
81
|
*/
|
|
84
|
-
thyStepChange:
|
|
82
|
+
readonly thyStepChange: import("@angular/core").OutputEmitterRef<{
|
|
85
83
|
value: number;
|
|
86
84
|
type: Type;
|
|
87
85
|
}>;
|
|
88
|
-
private innerMax;
|
|
89
|
-
private innerMin;
|
|
90
86
|
private isFocused;
|
|
91
87
|
constructor();
|
|
92
88
|
setDisabledState?(isDisabled: boolean): void;
|
|
93
89
|
ngOnInit(): void;
|
|
94
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
95
90
|
writeValue(value: number | string): void;
|
|
96
91
|
updateValidValue(value: number | string): void;
|
|
97
92
|
onModelChange(value: string): void;
|
|
@@ -114,10 +109,7 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
|
|
|
114
109
|
isInputNumber(value: string): boolean;
|
|
115
110
|
ngOnDestroy(): void;
|
|
116
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputNumber, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputNumber, "thy-input-number", never, { "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyMin": { "alias": "thyMin"; "required": false; }; "thyStep": { "alias": "thyStep"; "required": false; }; "thyStepDelay": { "alias": "thyStepDelay"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyPrecision": { "alias": "thyPrecision"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; }, { "thyBlur": "thyBlur"; "thyFocus": "thyFocus"; "thyStepChange": "thyStepChange"; }, never, never, true, never>;
|
|
118
|
-
static
|
|
119
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
120
|
-
static ngAcceptInputType_thyStep: unknown;
|
|
121
|
-
static ngAcceptInputType_thyStepDelay: unknown;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputNumber, "thy-input-number", never, { "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; "isSignal": true; }; "thyMin": { "alias": "thyMin"; "required": false; "isSignal": true; }; "thyStep": { "alias": "thyStep"; "required": false; "isSignal": true; }; "thyStepDelay": { "alias": "thyStepDelay"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyPrecision": { "alias": "thyPrecision"; "required": false; "isSignal": true; }; "thySuffix": { "alias": "thySuffix"; "required": false; "isSignal": true; }; }, { "thyBlur": "thyBlur"; "thyFocus": "thyFocus"; "thyStepChange": "thyStepChange"; }, never, never, true, never>;
|
|
113
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
122
114
|
}
|
|
123
115
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* 头部布局指令
|
|
5
6
|
* @name thyHeader
|
|
@@ -28,15 +29,9 @@ export declare class ThyHeaderDirective {
|
|
|
28
29
|
set thyHasBorder(value: boolean);
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyHeaderDirective, never>;
|
|
30
31
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyHeaderDirective, "[thyHeader]", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyShadow": { "alias": "thyShadow"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorder": { "alias": "thyHasBorder"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
static ngAcceptInputType_thyShadow:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
static ngAcceptInputType_thyDivided: /**
|
|
35
|
-
* 图标,SVG 图标名称
|
|
36
|
-
*/ boolean | string | number;
|
|
37
|
-
static ngAcceptInputType_thyHasBorder: /**
|
|
38
|
-
* 图标,SVG 图标名称
|
|
39
|
-
*/ boolean | string | number;
|
|
32
|
+
static ngAcceptInputType_thyShadow: i1.ThyBooleanInput;
|
|
33
|
+
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
34
|
+
static ngAcceptInputType_thyHasBorder: i1.ThyBooleanInput;
|
|
40
35
|
}
|
|
41
36
|
/**
|
|
42
37
|
* 头部布局组件
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* 侧边栏头部布局指令
|
|
5
6
|
* @name thySidebarHeader
|
|
@@ -13,7 +14,7 @@ export declare class ThySidebarHeaderDirective {
|
|
|
13
14
|
thyDivided: boolean | string;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarHeaderDirective, never>;
|
|
15
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarHeaderDirective, "[thySidebarHeader]", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
static ngAcceptInputType_thyDivided:
|
|
17
|
+
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
17
18
|
}
|
|
18
19
|
/**
|
|
19
20
|
* 侧边栏头部布局组件
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyResizeEvent } from 'ngx-tethys/resizable';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
export type ThySidebarTheme = 'white' | 'light' | 'dark';
|
|
5
6
|
export type ThySidebarDirection = 'left' | 'right';
|
|
6
7
|
/**
|
|
@@ -53,10 +54,10 @@ export declare class ThySidebarDirective implements OnInit {
|
|
|
53
54
|
ngOnInit(): void;
|
|
54
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarDirective, never>;
|
|
55
56
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarDirective, "[thySidebar]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyIsolated": { "alias": "thyIsolated"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorderRight": { "alias": "thyHasBorderRight"; "required": false; }; "thyHasBorderLeft": { "alias": "thyHasBorderLeft"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
-
static ngAcceptInputType_thyIsolated:
|
|
57
|
-
static ngAcceptInputType_thyDivided:
|
|
58
|
-
static ngAcceptInputType_thyHasBorderRight:
|
|
59
|
-
static ngAcceptInputType_thyHasBorderLeft:
|
|
57
|
+
static ngAcceptInputType_thyIsolated: i1.ThyBooleanInput;
|
|
58
|
+
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
59
|
+
static ngAcceptInputType_thyHasBorderRight: i1.ThyBooleanInput;
|
|
60
|
+
static ngAcceptInputType_thyHasBorderLeft: i1.ThyBooleanInput;
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* 侧边栏布局组件
|
|
@@ -143,10 +144,10 @@ export declare class ThySidebar implements OnInit, OnDestroy {
|
|
|
143
144
|
ngOnDestroy(): void;
|
|
144
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebar, never>;
|
|
145
146
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebar, "thy-sidebar", never, { "thyDraggable": { "alias": "thyDraggable"; "required": false; }; "thyDragMaxWidth": { "alias": "thyDragMaxWidth"; "required": false; }; "thyDragMinWidth": { "alias": "thyDragMinWidth"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyCollapsible": { "alias": "thyCollapsible"; "required": false; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; }; "thyCollapsedWidth": { "alias": "thyCollapsedWidth"; "required": false; }; "thyDefaultWidth": { "alias": "thyDefaultWidth"; "required": false; }; }, { "thyCollapsedChange": "thyCollapsedChange"; "thyDragWidthChange": "thyDragWidthChange"; }, never, ["*"], true, [{ directive: typeof ThySidebarDirective; inputs: { "thyTheme": "thyTheme"; "thyDirection": "thyDirection"; "thyWidth": "thyWidth"; "thyIsolated": "thyIsolated"; "thyDivided": "thyDivided"; "thyHasBorderLeft": "thyHasBorderLeft"; "thyHasBorderRight": "thyHasBorderRight"; }; outputs: {}; }]>;
|
|
146
|
-
static ngAcceptInputType_thyDraggable:
|
|
147
|
+
static ngAcceptInputType_thyDraggable: i1.ThyBooleanInput;
|
|
147
148
|
static ngAcceptInputType_thyDragMaxWidth: unknown;
|
|
148
149
|
static ngAcceptInputType_thyDragMinWidth: unknown;
|
|
149
|
-
static ngAcceptInputType_thyCollapsible:
|
|
150
|
-
static ngAcceptInputType_thyCollapsed:
|
|
150
|
+
static ngAcceptInputType_thyCollapsible: i1.ThyBooleanInput;
|
|
151
|
+
static ngAcceptInputType_thyCollapsed: i1.ThyBooleanInput;
|
|
151
152
|
static ngAcceptInputType_thyCollapsedWidth: unknown;
|
|
152
153
|
}
|