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
|
@@ -8,47 +8,45 @@ export declare class ThySkeletonParagraph {
|
|
|
8
8
|
/**
|
|
9
9
|
* 首行宽度
|
|
10
10
|
*/
|
|
11
|
-
thyFirstWidth: string | number
|
|
11
|
+
readonly thyFirstWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
12
12
|
/**
|
|
13
13
|
* 尾行宽度
|
|
14
14
|
*/
|
|
15
|
-
thyLastWidth: string | number
|
|
15
|
+
readonly thyLastWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
16
16
|
/**
|
|
17
17
|
* 骨架宽度
|
|
18
18
|
*/
|
|
19
|
-
thyRowWidth: string | number
|
|
19
|
+
readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
20
20
|
/**
|
|
21
21
|
* 骨架高度
|
|
22
22
|
*/
|
|
23
|
-
thyRowHeight: string | number
|
|
23
|
+
readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
24
24
|
/**
|
|
25
25
|
* 骨架边框圆角
|
|
26
26
|
*/
|
|
27
|
-
thyBorderRadius: string | number
|
|
27
|
+
readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
28
28
|
/**
|
|
29
29
|
* 是否开启动画
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
32
|
-
thyAnimated: boolean
|
|
32
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
33
|
/**
|
|
34
34
|
* 动画速度
|
|
35
35
|
*/
|
|
36
|
-
thyAnimatedInterval: string | number
|
|
36
|
+
readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
|
|
37
37
|
/**
|
|
38
38
|
* 骨架主色
|
|
39
39
|
*/
|
|
40
|
-
thyPrimaryColor: string
|
|
40
|
+
readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
|
|
41
41
|
/**
|
|
42
42
|
* 骨架次色
|
|
43
43
|
*/
|
|
44
|
-
thySecondaryColor: string
|
|
45
|
-
rowCount: number[];
|
|
44
|
+
readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
|
|
46
45
|
/**
|
|
47
46
|
* 行数
|
|
48
47
|
*/
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
readonly thyRowCount: import("@angular/core").InputSignal<string | number>;
|
|
49
|
+
readonly rows: import("@angular/core").Signal<unknown[]>;
|
|
51
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonParagraph, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonParagraph, "thy-skeleton-paragraph", never, { "thyFirstWidth": { "alias": "thyFirstWidth"; "required": false; }; "thyLastWidth": { "alias": "thyLastWidth"; "required": false; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonParagraph, "thy-skeleton-paragraph", never, { "thyFirstWidth": { "alias": "thyFirstWidth"; "required": false; "isSignal": true; }; "thyLastWidth": { "alias": "thyLastWidth"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
54
52
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* @name thy-slide-body-section
|
|
5
6
|
* @order 50
|
|
@@ -15,5 +16,5 @@ export declare class ThySlideBodySection implements OnInit {
|
|
|
15
16
|
ngOnInit(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideBodySection, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
-
static ngAcceptInputType_thyDividerBorder:
|
|
19
|
+
static ngAcceptInputType_thyDividerBorder: i1.ThyBooleanInput;
|
|
19
20
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
export type ThySliderType = 'primary' | 'success' | 'info' | 'warning' | 'danger';
|
|
6
7
|
export type ThySliderSize = 'sm' | 'md' | 'lg';
|
|
7
8
|
/**
|
|
@@ -16,55 +17,51 @@ export declare class ThySlider extends TabIndexDisabledControlValueAccessorMixin
|
|
|
16
17
|
/**
|
|
17
18
|
* 是否切换为纵轴模式
|
|
18
19
|
*/
|
|
19
|
-
thyVertical: boolean
|
|
20
|
+
readonly thyVertical: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
21
|
/**
|
|
21
22
|
* 是否禁用
|
|
22
23
|
*/
|
|
23
24
|
set thyDisabled(value: boolean);
|
|
24
25
|
get thyDisabled(): boolean;
|
|
25
26
|
disabled: boolean;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
readonly sliderRail: import("@angular/core").Signal<ElementRef<any>>;
|
|
28
|
+
readonly sliderTrack: import("@angular/core").Signal<ElementRef<any>>;
|
|
29
|
+
readonly sliderPointer: import("@angular/core").Signal<ElementRef<any>>;
|
|
30
|
+
private typeClassName;
|
|
31
|
+
private sizeClassName;
|
|
31
32
|
/**
|
|
32
33
|
* 最大值
|
|
33
34
|
*/
|
|
34
|
-
thyMax: number
|
|
35
|
+
readonly thyMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
35
36
|
/**
|
|
36
37
|
* 最小值
|
|
37
38
|
*/
|
|
38
|
-
thyMin: number
|
|
39
|
+
readonly thyMin: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
39
40
|
/**
|
|
40
41
|
* 步长,需要被 thyMax - thyMin 的差值整除。
|
|
41
42
|
*/
|
|
42
|
-
thyStep: number
|
|
43
|
+
readonly thyStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
43
44
|
/**
|
|
44
45
|
* 切换主题类型
|
|
45
46
|
* @type primary | success | info | warning | danger
|
|
46
|
-
* @default success
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
readonly thyType: import("@angular/core").InputSignal<ThySliderType>;
|
|
49
49
|
/**
|
|
50
50
|
* 通过变量设置颜色
|
|
51
51
|
*/
|
|
52
|
-
thyColor: string
|
|
52
|
+
readonly thyColor: import("@angular/core").InputSignal<string>;
|
|
53
53
|
/**
|
|
54
54
|
* 滑动输入条大小
|
|
55
55
|
* @type sm | md | lg
|
|
56
|
-
* @default sm
|
|
57
56
|
*/
|
|
58
|
-
|
|
57
|
+
readonly thySize: import("@angular/core").InputSignal<ThySliderSize>;
|
|
59
58
|
/**
|
|
60
59
|
* 移动结束后的回调,参数为当前值
|
|
61
60
|
*/
|
|
62
|
-
thyAfterChange:
|
|
61
|
+
readonly thyAfterChange: import("@angular/core").OutputEmitterRef<{
|
|
63
62
|
value: number;
|
|
64
63
|
}>;
|
|
65
64
|
value: number;
|
|
66
|
-
private typeClassName;
|
|
67
|
-
private sizeClassName;
|
|
68
65
|
private dragStartListener;
|
|
69
66
|
private dragMoveListener;
|
|
70
67
|
private dragEndListener;
|
|
@@ -103,10 +100,6 @@ export declare class ThySlider extends TabIndexDisabledControlValueAccessorMixin
|
|
|
103
100
|
private ratioToValue;
|
|
104
101
|
private getDecimals;
|
|
105
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySlider, never>;
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlider, "thy-slider", never, { "thyVertical": { "alias": "thyVertical"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyMin": { "alias": "thyMin"; "required": false; }; "thyStep": { "alias": "thyStep"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, { "thyAfterChange": "thyAfterChange"; }, never, never, true, never>;
|
|
107
|
-
static
|
|
108
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
109
|
-
static ngAcceptInputType_thyMax: unknown;
|
|
110
|
-
static ngAcceptInputType_thyMin: unknown;
|
|
111
|
-
static ngAcceptInputType_thyStep: unknown;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlider, "thy-slider", never, { "thyVertical": { "alias": "thyVertical"; "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; }; "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, { "thyAfterChange": "thyAfterChange"; }, never, never, true, never>;
|
|
104
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
112
105
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, OnInit,
|
|
1
|
+
import { AfterContentInit, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThySpacingSize } from 'ngx-tethys/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -20,25 +20,25 @@ export declare class ThySpaceItemDirective implements OnInit {
|
|
|
20
20
|
export declare class ThySpace implements OnInit, AfterContentInit {
|
|
21
21
|
private cdr;
|
|
22
22
|
private readonly destroyRef;
|
|
23
|
-
space: number;
|
|
24
23
|
private hostRenderer;
|
|
25
24
|
/**
|
|
26
25
|
* 大小,支持 `zero` | `xxs` | `xs` | `sm` | `md` | `lg` | `xlg` 和自定义数字大小
|
|
27
26
|
* @type string | number
|
|
28
27
|
*/
|
|
29
|
-
|
|
28
|
+
readonly thySize: import("@angular/core").InputSignal<ThySpacingSize>;
|
|
29
|
+
space: import("@angular/core").Signal<number>;
|
|
30
30
|
/**
|
|
31
31
|
* 间距垂直方向,默认是水平方向
|
|
32
32
|
*/
|
|
33
|
-
thyVertical: boolean
|
|
33
|
+
readonly thyVertical: import("@angular/core").InputSignalWithTransform<string | boolean, boolean>;
|
|
34
34
|
/**
|
|
35
35
|
* 对齐方式,可选择 `start` | `end` | `baseline` | `center`
|
|
36
36
|
*/
|
|
37
|
-
|
|
38
|
-
items:
|
|
37
|
+
readonly thyAlign: import("@angular/core").InputSignal<string>;
|
|
38
|
+
items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
|
|
39
|
+
constructor();
|
|
39
40
|
ngOnInit(): void;
|
|
40
41
|
ngAfterContentInit(): void;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySpace, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySpace, "thy-space", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyVertical": { "alias": "thyVertical"; "required": false; }; "thyAlign": { "alias": "thyAlign"; "required": false; }; }, {}, ["items"], ["*"], true, never>;
|
|
43
|
-
static ngAcceptInputType_thyVertical: boolean | string | number;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySpace, "thy-space", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyVertical": { "alias": "thyVertical"; "required": false; "isSignal": true; }; "thyAlign": { "alias": "thyAlign"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type ThyStatisticColorType = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
4
4
|
export type ThyStatisticShape = 'card';
|
|
@@ -8,109 +8,104 @@ export type ThyStatisticTitlePosition = 'top' | 'bottom';
|
|
|
8
8
|
* 用于展示数据统计
|
|
9
9
|
* @name thy-statistic
|
|
10
10
|
*/
|
|
11
|
-
export declare class ThyStatistic
|
|
12
|
-
private elementRef;
|
|
13
|
-
_shape: ThyStatisticShape;
|
|
14
|
-
_initialized: boolean;
|
|
15
|
-
_size: ThyStatisticSizes;
|
|
16
|
-
prefixTemplate: TemplateRef<void>;
|
|
17
|
-
suffixTemplate: TemplateRef<void>;
|
|
18
|
-
valueTemplate: TemplateRef<void>;
|
|
19
|
-
titleTemplate: TemplateRef<void>;
|
|
20
|
-
private hostRenderer;
|
|
21
|
-
class: boolean;
|
|
11
|
+
export declare class ThyStatistic {
|
|
22
12
|
/**
|
|
23
13
|
* @description 展示数据
|
|
24
14
|
* @type number | string
|
|
25
15
|
*/
|
|
26
|
-
thyValue:
|
|
16
|
+
readonly thyValue: import("@angular/core").InputSignal<string | number>;
|
|
27
17
|
/**
|
|
28
18
|
* @description 展示数据的 css 样式
|
|
29
19
|
* @type { [key: string]: string; }
|
|
30
20
|
*/
|
|
31
|
-
thyValueStyle: {
|
|
21
|
+
readonly thyValueStyle: import("@angular/core").InputSignal<{
|
|
32
22
|
[key: string]: string;
|
|
33
|
-
}
|
|
23
|
+
}>;
|
|
34
24
|
/**
|
|
35
25
|
* @description 展示数据的前缀
|
|
36
26
|
* @type string
|
|
37
27
|
*/
|
|
38
|
-
thyPrefix: string
|
|
28
|
+
readonly thyPrefix: import("@angular/core").InputSignal<string>;
|
|
39
29
|
/**
|
|
40
30
|
* @description 展示数据的后缀
|
|
41
31
|
* @type string
|
|
42
32
|
*/
|
|
43
|
-
thySuffix: string
|
|
33
|
+
readonly thySuffix: import("@angular/core").InputSignal<string>;
|
|
44
34
|
/**
|
|
45
35
|
* @description 展示数据的标题
|
|
46
36
|
* @type string
|
|
47
37
|
*/
|
|
48
|
-
thyTitle: string
|
|
38
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
49
39
|
/**
|
|
50
40
|
* @description 展示数据标题的位置,可设置 `top`|`bottom`
|
|
51
41
|
* @type ThyStatisticTitlePosition
|
|
52
42
|
*/
|
|
53
|
-
thyTitlePosition: ThyStatisticTitlePosition
|
|
43
|
+
readonly thyTitlePosition: import("@angular/core").InputSignal<ThyStatisticTitlePosition>;
|
|
54
44
|
/**
|
|
55
45
|
* @description 展示形状
|
|
56
46
|
* @type ThyStatisticShape
|
|
57
47
|
* @default card
|
|
58
48
|
*/
|
|
59
|
-
|
|
49
|
+
readonly thyShape: import("@angular/core").InputSignal<"card">;
|
|
60
50
|
/**
|
|
61
51
|
* @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColorType` 中包含 `primary` | `success` | `warning` | `danger` | `info`
|
|
62
52
|
* @type ThyStatisticColorType | string
|
|
63
53
|
*/
|
|
64
|
-
thyColor: string
|
|
54
|
+
readonly thyColor: import("@angular/core").InputSignal<string>;
|
|
65
55
|
/**
|
|
66
56
|
* @description 前缀和展示数据字体大小
|
|
67
57
|
* @type ThyStatisticSizes
|
|
68
58
|
* @default default
|
|
69
59
|
*/
|
|
70
|
-
|
|
60
|
+
readonly thySize: import("@angular/core").InputSignal<"default">;
|
|
71
61
|
/**
|
|
72
62
|
* @description 自定义展示数据模板
|
|
73
63
|
* @type TemplateRef<void>
|
|
74
64
|
*/
|
|
75
|
-
|
|
65
|
+
readonly thyValueTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
76
66
|
/**
|
|
77
|
-
* @description
|
|
67
|
+
* @description 自定义标题模板
|
|
78
68
|
* @type TemplateRef<void>
|
|
79
69
|
*/
|
|
80
|
-
|
|
70
|
+
readonly thyTitleTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
81
71
|
/**
|
|
82
|
-
* @description
|
|
72
|
+
* @description 自定义前缀模板
|
|
83
73
|
* @type TemplateRef<void>
|
|
84
74
|
*/
|
|
85
|
-
|
|
75
|
+
readonly thyPrefixTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
86
76
|
/**
|
|
87
|
-
* @description
|
|
77
|
+
* @description 自定义后缀模板
|
|
88
78
|
* @type TemplateRef<void>
|
|
89
79
|
*/
|
|
90
|
-
|
|
80
|
+
readonly thySuffixTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
91
81
|
/**
|
|
92
|
-
* @description
|
|
82
|
+
* @description 自定义展示数据模板
|
|
93
83
|
* @type TemplateRef<void>
|
|
94
84
|
*/
|
|
95
|
-
|
|
85
|
+
readonly contentValueTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
96
86
|
/**
|
|
97
|
-
* @description
|
|
87
|
+
* @description 自定义标题模板
|
|
98
88
|
* @type TemplateRef<void>
|
|
99
89
|
*/
|
|
100
|
-
|
|
90
|
+
readonly contentTitleTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
101
91
|
/**
|
|
102
|
-
* @description
|
|
92
|
+
* @description 自定义前缀模板
|
|
103
93
|
* @type TemplateRef<void>
|
|
104
94
|
*/
|
|
105
|
-
|
|
95
|
+
readonly contentPrefixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
106
96
|
/**
|
|
107
97
|
* @description 自定义后缀模板
|
|
108
98
|
* @type TemplateRef<void>
|
|
109
99
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
100
|
+
readonly contentSuffixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
101
|
+
readonly valueTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
102
|
+
readonly titleTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
103
|
+
readonly prefixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
104
|
+
readonly suffixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
105
|
+
private hostRenderer;
|
|
106
|
+
constructor();
|
|
107
|
+
private setClassesByType;
|
|
108
|
+
private setColor;
|
|
114
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStatistic, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStatistic, "thy-statistic", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyValueStyle": { "alias": "thyValueStyle"; "required": false; }; "thyPrefix": { "alias": "thyPrefix"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyTitlePosition": { "alias": "thyTitlePosition"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyValueTemplate": { "alias": "thyValueTemplate"; "required": false; }; "thyTitleTemplate": { "alias": "thyTitleTemplate"; "required": false; }; "thyPrefixTemplate": { "alias": "thyPrefixTemplate"; "required": false; }; "thySuffixTemplate": { "alias": "thySuffixTemplate"; "required": false; }; }, {}, ["
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStatistic, "thy-statistic", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyValueStyle": { "alias": "thyValueStyle"; "required": false; "isSignal": true; }; "thyPrefix": { "alias": "thyPrefix"; "required": false; "isSignal": true; }; "thySuffix": { "alias": "thySuffix"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyTitlePosition": { "alias": "thyTitlePosition"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyValueTemplate": { "alias": "thyValueTemplate"; "required": false; "isSignal": true; }; "thyTitleTemplate": { "alias": "thyTitleTemplate"; "required": false; "isSignal": true; }; "thyPrefixTemplate": { "alias": "thyPrefixTemplate"; "required": false; "isSignal": true; }; "thySuffixTemplate": { "alias": "thySuffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["contentValueTemplate", "contentTitleTemplate", "contentPrefixTemplate", "contentSuffixTemplate"], never, true, never>;
|
|
116
111
|
}
|
|
@@ -5,15 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* @order 25
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyStepHeader {
|
|
8
|
-
label: string
|
|
9
|
-
icon: string
|
|
10
|
-
index: number
|
|
11
|
-
selected: boolean
|
|
12
|
-
active: boolean
|
|
13
|
-
thyStepHeader: boolean;
|
|
8
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly icon: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly index: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
|
+
readonly selected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStepHeader, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepHeader, "thy-step-header", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
static ngAcceptInputType_index: unknown;
|
|
17
|
-
static ngAcceptInputType_selected: boolean | string | number;
|
|
18
|
-
static ngAcceptInputType_active: boolean | string | number;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepHeader, "thy-step-header", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface IThyStepperComponent {
|
|
4
|
-
|
|
4
|
+
updateSelected(step: ThyStep): void;
|
|
5
5
|
}
|
|
6
6
|
export declare const THY_STEPPER_COMPONENT: InjectionToken<IThyStepperComponent>;
|
|
7
7
|
/**
|
|
@@ -11,18 +11,18 @@ export declare const THY_STEPPER_COMPONENT: InjectionToken<IThyStepperComponent>
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class ThyStep {
|
|
13
13
|
stepper: IThyStepperComponent;
|
|
14
|
-
content: TemplateRef<any
|
|
15
|
-
label: string
|
|
14
|
+
readonly content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
15
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
16
16
|
/**
|
|
17
17
|
* 步骤条中每个步骤的label文本
|
|
18
18
|
*/
|
|
19
|
-
thyLabel: string
|
|
19
|
+
readonly thyLabel: import("@angular/core").InputSignal<string>;
|
|
20
20
|
/**
|
|
21
21
|
* 步骤条中每个步骤完成的图标
|
|
22
22
|
* @default check-circle
|
|
23
23
|
*/
|
|
24
|
-
thyIcon: string
|
|
24
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
25
25
|
select(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStep, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStep, "thy-step", never, { "label": { "alias": "label"; "required": false; }; "thyLabel": { "alias": "thyLabel"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStep, "thy-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "thyLabel": { "alias": "thyLabel"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
28
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { QueryList, EventEmitter } from '@angular/core';
|
|
2
1
|
import { ThyStep, IThyStepperComponent } from './step.component';
|
|
3
|
-
import { ThyStepHeader } from './step-header.component';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* 步骤条组件
|
|
@@ -9,31 +7,28 @@ import * as i0 from "@angular/core";
|
|
|
9
7
|
*/
|
|
10
8
|
export declare class ThyStepper implements IThyStepperComponent {
|
|
11
9
|
/**
|
|
12
|
-
* 当前处于激活状态的步骤index
|
|
13
|
-
* @default 0
|
|
10
|
+
* 当前处于激活状态的步骤 index
|
|
14
11
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
readonly thySelectedIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* 当前处于激活状态的步骤实例
|
|
15
|
+
*/
|
|
16
|
+
readonly thySelected: import("@angular/core").InputSignal<ThyStep>;
|
|
17
17
|
/**
|
|
18
18
|
* 步骤条导航是否展示,默认展示
|
|
19
19
|
*/
|
|
20
|
-
thyShowStepHeader: boolean
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
steps: QueryList<ThyStep>;
|
|
29
|
-
thyStepper: boolean;
|
|
30
|
-
private _updateSelectedItemIndex;
|
|
20
|
+
readonly thyShowStepHeader: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly selectionChange: import("@angular/core").OutputEmitterRef<any>;
|
|
22
|
+
readonly steps: import("@angular/core").Signal<readonly ThyStep[]>;
|
|
23
|
+
protected selectedIndex: import("@angular/core").WritableSignal<number>;
|
|
24
|
+
protected readonly selected: import("@angular/core").Signal<ThyStep>;
|
|
25
|
+
constructor();
|
|
26
|
+
private updateSelectedIndex;
|
|
27
|
+
updateSelected(step: ThyStep): void;
|
|
31
28
|
to(index: number): void;
|
|
32
29
|
next(): void;
|
|
33
30
|
/** Selects and focuses the previous step in list. */
|
|
34
31
|
previous(): void;
|
|
35
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStepper, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepper, "thy-stepper", never, { "thySelectedIndex": { "alias": "thySelectedIndex"; "required": false; }; "thySelected": { "alias": "thySelected"; "required": false; }; "thyShowStepHeader": { "alias": "thyShowStepHeader"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["steps"], never, true, never>;
|
|
37
|
-
static ngAcceptInputType_thySelectedIndex: unknown;
|
|
38
|
-
static ngAcceptInputType_thyShowStepHeader: boolean | string | number;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepper, "thy-stepper", never, { "thySelectedIndex": { "alias": "thySelectedIndex"; "required": false; "isSignal": true; }; "thySelected": { "alias": "thySelected"; "required": false; "isSignal": true; }; "thyShowStepHeader": { "alias": "thyShowStepHeader"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, ["steps"], never, true, never>;
|
|
39
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -7,64 +7,53 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @name thy-switch
|
|
8
8
|
* @order 10
|
|
9
9
|
*/
|
|
10
|
-
export declare class ThySwitch extends TabIndexDisabledControlValueAccessorMixin implements
|
|
11
|
-
cdr: ChangeDetectorRef;
|
|
12
|
-
model: boolean;
|
|
13
|
-
type?: string;
|
|
14
|
-
size?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
loading: boolean;
|
|
17
|
-
classNames: string[];
|
|
18
|
-
typeArray: string[];
|
|
19
|
-
sizeArray: string[];
|
|
20
|
-
loadingCircle: {
|
|
21
|
-
viewBox?: string;
|
|
22
|
-
cx?: number;
|
|
23
|
-
cy?: number;
|
|
24
|
-
r?: number;
|
|
25
|
-
dasharray?: string;
|
|
26
|
-
};
|
|
27
|
-
private initialized;
|
|
28
|
-
private loadingInitialized;
|
|
29
|
-
private isDisabledFirstChange;
|
|
30
|
-
switchElementRef: ElementRef;
|
|
10
|
+
export declare class ThySwitch extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {
|
|
31
11
|
/**
|
|
32
12
|
* 类型,目前分为: 'primary' |'info' | 'warning' | 'danger'
|
|
33
13
|
*/
|
|
34
|
-
|
|
14
|
+
readonly thyType: import("@angular/core").InputSignal<string>;
|
|
35
15
|
/**
|
|
36
16
|
* 大小
|
|
37
17
|
* @type xs | sm | md
|
|
38
18
|
* @default md
|
|
39
19
|
*/
|
|
40
|
-
|
|
20
|
+
readonly thySize: import("@angular/core").InputSignal<string>;
|
|
41
21
|
/**
|
|
42
22
|
* 是否属于禁用状态
|
|
43
23
|
*/
|
|
44
|
-
|
|
45
|
-
get thyDisabled(): boolean;
|
|
24
|
+
readonly inputDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
46
25
|
/**
|
|
47
26
|
* 是否加载中
|
|
48
27
|
*/
|
|
49
|
-
|
|
28
|
+
readonly thyLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
50
29
|
/**
|
|
51
30
|
* 数据变化的回调事件,即将被弃用,请使用 ngModelChange
|
|
52
31
|
* @deprecated
|
|
53
32
|
*/
|
|
54
|
-
thyChange:
|
|
55
|
-
|
|
56
|
-
|
|
33
|
+
thyChange: import("@angular/core").OutputEmitterRef<Event>;
|
|
34
|
+
model: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
get thyDisabled(): boolean;
|
|
37
|
+
readonly type: import("@angular/core").Signal<string>;
|
|
38
|
+
readonly size: import("@angular/core").Signal<string>;
|
|
39
|
+
readonly classNames: import("@angular/core").Signal<string[]>;
|
|
40
|
+
readonly loadingCircle: import("@angular/core").Signal<{
|
|
41
|
+
viewBox: string;
|
|
42
|
+
cx: number;
|
|
43
|
+
cy: number;
|
|
44
|
+
r: number;
|
|
45
|
+
dasharray: string;
|
|
46
|
+
}>;
|
|
57
47
|
onModelChange: Function;
|
|
58
48
|
onModelTouched: Function;
|
|
49
|
+
readonly switchElementRef: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
50
|
+
private cdr;
|
|
51
|
+
constructor();
|
|
59
52
|
writeValue(value: boolean): void;
|
|
60
53
|
registerOnChange(fn: Function): void;
|
|
61
54
|
registerOnTouched(fn: Function): void;
|
|
62
55
|
setDisabledState(isDisabled: boolean): void;
|
|
63
56
|
toggle(event: Event): void;
|
|
64
|
-
setClassNames(): void;
|
|
65
|
-
setLoadingCircle(): void;
|
|
66
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySwitch, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySwitch, "thy-switch", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "
|
|
68
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
69
|
-
static ngAcceptInputType_thyLoading: boolean | string | number;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySwitch, "thy-switch", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "inputDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyLoading": { "alias": "thyLoading"; "required": false; "isSignal": true; }; }, { "thyChange": "thyChange"; }, never, never, true, never>;
|
|
70
59
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyTableSortDirection, ThyTableSortEvent } from './table.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
export interface IThyTableColumnParentComponent {
|
|
5
6
|
rowKey: string;
|
|
6
7
|
updateColumnSelections(key: string, selections: any): void;
|
|
@@ -112,9 +113,9 @@ export declare class ThyTableColumnComponent implements OnInit {
|
|
|
112
113
|
private _generateKey;
|
|
113
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableColumnComponent, never>;
|
|
114
115
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableColumnComponent, "thy-table-column", never, { "model": { "alias": "thyModelKey"; "required": false; }; "title": { "alias": "thyTitle"; "required": false; }; "type": { "alias": "thyType"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "className": { "alias": "thyClassName"; "required": false; }; "headerClassName": { "alias": "thyHeaderClassName"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; "selections": { "alias": "thySelections"; "required": false; }; "defaultText": { "alias": "thyDefaultText"; "required": false; }; "expand": { "alias": "thyExpand"; "required": false; }; "thySortable": { "alias": "thySortable"; "required": false; }; "sortDirection": { "alias": "thySortDirection"; "required": false; }; "fixed": { "alias": "thyFixed"; "required": false; }; "operational": { "alias": "thyOperational"; "required": false; }; "secondary": { "alias": "thySecondary"; "required": false; }; }, { "sortChange": "thySortChange"; }, ["headerTemplateRef", "cellTemplateRef", "templateRef"], ["*"], true, never>;
|
|
115
|
-
static ngAcceptInputType_disabled:
|
|
116
|
-
static ngAcceptInputType_expand:
|
|
117
|
-
static ngAcceptInputType_thySortable:
|
|
118
|
-
static ngAcceptInputType_operational:
|
|
119
|
-
static ngAcceptInputType_secondary:
|
|
116
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput;
|
|
117
|
+
static ngAcceptInputType_expand: i1.ThyBooleanInput;
|
|
118
|
+
static ngAcceptInputType_thySortable: i1.ThyBooleanInput;
|
|
119
|
+
static ngAcceptInputType_operational: i1.ThyBooleanInput;
|
|
120
|
+
static ngAcceptInputType_secondary: i1.ThyBooleanInput;
|
|
120
121
|
}
|
|
@@ -3,6 +3,7 @@ import { ThyTableSkeletonColumn } from './table.interface';
|
|
|
3
3
|
import { ThyTableColumnSkeletonType } from './enums';
|
|
4
4
|
import { ThyTableSize, ThyTableTheme } from './table.type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "ngx-tethys/util";
|
|
6
7
|
/**
|
|
7
8
|
* 表格的骨架屏组件
|
|
8
9
|
* @name thy-table-skeleton
|
|
@@ -87,14 +88,6 @@ export declare class ThyTableSkeleton implements AfterViewInit {
|
|
|
87
88
|
ngAfterViewInit(): void;
|
|
88
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableSkeleton, never>;
|
|
89
90
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableSkeleton, "thy-table-skeleton", never, { "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; "thyHeadless": { "alias": "thyHeadless"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "thyColumns": { "alias": "thyColumns"; "required": false; }; }, {}, never, never, true, never>;
|
|
90
|
-
static ngAcceptInputType_thyAnimated:
|
|
91
|
-
|
|
92
|
-
* 行数
|
|
93
|
-
*/
|
|
94
|
-
string | number;
|
|
95
|
-
static ngAcceptInputType_thyHeadless: boolean |
|
|
96
|
-
/**
|
|
97
|
-
* 行数
|
|
98
|
-
*/
|
|
99
|
-
string | number;
|
|
91
|
+
static ngAcceptInputType_thyAnimated: i1.ThyBooleanInput;
|
|
92
|
+
static ngAcceptInputType_thyHeadless: i1.ThyBooleanInput;
|
|
100
93
|
}
|