ngx-tethys 19.0.13 → 19.1.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -2
- package/action/action.component.d.ts +12 -20
- package/action/actions.component.d.ts +5 -7
- package/affix/affix.component.d.ts +7 -10
- package/alert/alert.component.d.ts +1 -1
- package/anchor/anchor-link.component.d.ts +8 -8
- package/anchor/anchor.component.d.ts +15 -21
- package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
- package/autocomplete/autocomplete.component.d.ts +10 -17
- package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
- package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
- package/avatar/avatar.component.d.ts +25 -39
- package/back-top/back-top.component.d.ts +9 -12
- package/badge/badge.component.d.ts +19 -59
- package/breadcrumb/breadcrumb.component.d.ts +15 -20
- package/button/button-icon.component.d.ts +3 -2
- package/button/button.component.d.ts +3 -2
- package/calendar/calendar-header.component.d.ts +9 -8
- package/calendar/calendar.component.d.ts +16 -16
- package/card/card.component.d.ts +5 -11
- package/card/content.component.d.ts +3 -8
- package/card/header.component.d.ts +7 -8
- package/carousel/carousel.component.d.ts +22 -27
- package/cascader/cascader-li.component.d.ts +13 -21
- package/cascader/cascader-search-option.component.d.ts +8 -16
- package/cascader/cascader.component.d.ts +58 -80
- package/checkbox/checkbox.component.d.ts +2 -5
- package/collapse/collapse-item.component.d.ts +12 -19
- package/collapse/collapse.component.d.ts +6 -12
- package/collapse/collapse.token.d.ts +3 -3
- package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
- package/color-picker/color-picker-panel.component.d.ts +7 -11
- package/color-picker/color-picker.component.d.ts +19 -35
- package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
- package/color-picker/parts/hue/hue.component.d.ts +6 -6
- package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
- package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
- package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
- package/comment/comment.component.d.ts +4 -5
- package/copy/copy.directive.d.ts +8 -9
- package/date-picker/abstract-picker.component.d.ts +8 -7
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
- package/date-picker/picker.component.d.ts +2 -1
- package/date-range/date-range.component.d.ts +2 -2
- package/dialog/body/dialog-body.component.d.ts +2 -6
- package/dialog/confirm/confirm.component.d.ts +2 -2
- package/dialog/footer/dialog-footer.component.d.ts +6 -9
- package/dialog/header/dialog-header.component.d.ts +9 -11
- package/divider/divider.component.d.ts +12 -16
- package/dot/dot.component.d.ts +5 -13
- package/drag-drop/drag-handle.directive.d.ts +2 -1
- package/drag-drop/drag.directive.d.ts +2 -1
- package/drag-drop/drop-container.directive.d.ts +2 -1
- package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
- package/dropdown/dropdown-menu.component.d.ts +2 -1
- package/dropdown/dropdown.directive.d.ts +2 -1
- package/empty/empty.component.d.ts +21 -27
- package/fesm2022/ngx-tethys-action.mjs +54 -91
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +29 -26
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +91 -118
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +117 -162
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +33 -46
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +104 -208
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +85 -87
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +72 -77
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +82 -99
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +313 -468
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +66 -71
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +16 -10
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +25 -28
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +81 -82
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +49 -58
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +45 -68
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +107 -95
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +161 -200
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +160 -152
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +25 -25
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +101 -114
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +268 -271
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +1 -1
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +52 -74
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +106 -179
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +169 -201
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +230 -294
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +67 -70
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +196 -244
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +102 -105
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +34 -38
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +46 -28
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +75 -108
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +26 -46
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +114 -151
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +74 -107
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +80 -140
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -1
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +69 -87
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +42 -64
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +104 -129
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +36 -33
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +91 -130
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +36 -40
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-group-error/form-group-error.component.d.ts +2 -3
- package/form/form-group-label.directive.d.ts +2 -1
- package/form/form-group.component.d.ts +17 -24
- package/form/form-submit.directive.d.ts +2 -2
- package/form/form.directive.d.ts +6 -8
- package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
- package/form/validator/confirm-validator.directive.d.ts +2 -2
- package/form/validator/unique-validator.directive.d.ts +2 -2
- package/fullscreen/fullscreen.component.d.ts +7 -7
- package/grid/flex.d.ts +14 -19
- package/grid/thy-col.directive.d.ts +6 -9
- package/grid/thy-grid-item.component.d.ts +3 -4
- package/grid/thy-grid.component.d.ts +11 -12
- package/grid/thy-row.directive.d.ts +12 -12
- package/icon/icon.component.d.ts +3 -2
- package/image/image.directive.d.ts +3 -2
- package/input/input-count.component.d.ts +4 -5
- package/input/input-group.component.d.ts +20 -20
- package/input/input-search.component.d.ts +15 -20
- package/input/input.component.d.ts +20 -21
- package/input/input.directive.d.ts +4 -6
- package/input-number/input-number.component.d.ts +21 -29
- package/layout/header.component.d.ts +4 -9
- package/layout/sidebar-header.component.d.ts +2 -1
- package/layout/sidebar.component.d.ts +8 -7
- package/list/list.component.d.ts +2 -1
- package/list/selection/selection-list.d.ts +4 -3
- package/loading/loading.component.d.ts +4 -10
- package/mention/mention.directive.d.ts +6 -7
- package/mention/suggestions/suggestions.component.d.ts +8 -9
- package/menu/group/menu-group.component.d.ts +16 -33
- package/menu/item/action/menu-item-action.component.d.ts +7 -8
- package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
- package/menu/item/menu-item.component.d.ts +4 -4
- package/menu/item/name/menu-item-name.component.d.ts +2 -3
- package/menu/menu.component.d.ts +3 -7
- package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
- package/nav/icon-nav/icon-nav.component.d.ts +3 -8
- package/nav/nav-ink-bar.directive.d.ts +4 -6
- package/nav/nav-item.directive.d.ts +7 -10
- package/nav/nav.component.d.ts +20 -48
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +48 -109
- package/popover/header/popover-header.component.d.ts +7 -6
- package/popover/popover.directive.d.ts +11 -18
- package/progress/progress-circle.component.d.ts +32 -21
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +15 -23
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -13
- package/property/property-item.component.d.ts +21 -26
- package/property/styles/properties.scss +124 -52
- package/property-operation/property-operation.component.d.ts +6 -5
- package/radio/button/radio-button.component.d.ts +2 -2
- package/radio/group/radio-group.component.d.ts +8 -7
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +2 -1
- package/rate/rate.component.d.ts +4 -3
- package/resizable/resizable.directive.d.ts +4 -9
- package/resizable/resize-handle.component.d.ts +2 -1
- package/resizable/resize-handles.component.d.ts +2 -1
- package/result/result.component.d.ts +9 -10
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +2 -1
- package/segment/segment.component.d.ts +2 -1
- package/select/custom-select/custom-select.component.d.ts +11 -10
- package/select/native-select/native-select.component.d.ts +2 -1
- package/shared/base-form-check.component.d.ts +3 -2
- package/shared/directives/thy-autofocus.directive.d.ts +3 -2
- package/shared/directives/thy-scroll.directive.d.ts +2 -1
- package/shared/directives/thy-show.d.ts +2 -1
- package/shared/option/group/option-group.component.d.ts +2 -1
- package/shared/option/list-option/list-option.component.d.ts +2 -7
- package/shared/option/option.component.d.ts +2 -1
- package/shared/select/select-control/select-control.component.d.ts +7 -6
- package/skeleton/skeleton-circle.component.d.ts +16 -19
- package/skeleton/skeleton-rectangle.component.d.ts +20 -23
- package/skeleton/skeleton.component.d.ts +5 -6
- package/skeleton/stylized/bullet-list.component.d.ts +11 -13
- package/skeleton/stylized/list.component.d.ts +10 -12
- package/skeleton/stylized/paragraph.component.d.ts +12 -14
- package/slide/slide-body/slide-body-section.component.d.ts +2 -1
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +8 -8
- package/statistic/statistic.component.d.ts +35 -40
- package/stepper/step-header.component.d.ts +6 -10
- package/stepper/step.component.d.ts +6 -6
- package/stepper/stepper.component.d.ts +15 -20
- package/switch/switch.component.d.ts +24 -35
- package/table/table-column.component.d.ts +6 -5
- package/table/table-skeleton.component.d.ts +3 -10
- package/table/table.component.d.ts +11 -10
- package/tabs/tab-content.component.d.ts +4 -4
- package/tabs/tab.component.d.ts +4 -5
- package/tabs/tabs.component.d.ts +13 -15
- package/tag/tag.component.d.ts +10 -16
- package/time-picker/time-picker-panel.component.d.ts +3 -2
- package/time-picker/time-picker.component.d.ts +6 -5
- package/timeline/timeline-item.component.d.ts +9 -13
- package/timeline/timeline.component.d.ts +13 -17
- package/tooltip/tooltip.directive.d.ts +3 -2
- package/tree/tree-node.component.d.ts +6 -15
- package/tree/tree.component.d.ts +8 -7
- package/tree-select/tree-select.component.d.ts +8 -7
- package/typography/bg-color.directive.d.ts +3 -3
- package/typography/text/text.component.d.ts +2 -2
- package/typography/text-color.directive.d.ts +3 -3
- package/upload/file-drop.directive.d.ts +9 -11
- package/upload/file-select-base.d.ts +6 -10
- package/upload/file-select.component.d.ts +10 -20
- package/util/helpers/helpers.d.ts +2 -1
- package/vote/vote.component.d.ts +4 -3
- package/watermark/watermark.directive.d.ts +7 -9
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ThyResizeDirection } from './interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
|
|
5
6
|
/**
|
|
6
7
|
* 定义调整手柄的快捷组件
|
|
@@ -20,5 +21,5 @@ export declare class ThyResizeHandles implements OnChanges {
|
|
|
20
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
|
|
22
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
static ngAcceptInputType_thyLine:
|
|
24
|
+
static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
|
|
24
25
|
}
|
|
@@ -10,46 +10,45 @@ export declare class ThyResult implements OnInit {
|
|
|
10
10
|
* @description 结果的状态,决定显示的图标
|
|
11
11
|
* @type success | warning | error
|
|
12
12
|
*/
|
|
13
|
-
thyStatus: ThyResultStatus
|
|
13
|
+
readonly thyStatus: import("@angular/core").InputSignal<ThyResultStatus>;
|
|
14
14
|
/**
|
|
15
15
|
* @description 自定义 icon,作为 img 的 src 显示
|
|
16
16
|
* @type string
|
|
17
17
|
*/
|
|
18
|
-
thyIcon: string
|
|
18
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
19
19
|
/**
|
|
20
20
|
* @description 标题
|
|
21
21
|
* @type string
|
|
22
22
|
*/
|
|
23
|
-
thyTitle: string
|
|
23
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
24
24
|
/**
|
|
25
25
|
* @description 二级标题
|
|
26
26
|
* @type string
|
|
27
27
|
*/
|
|
28
|
-
thySubtitle: string
|
|
28
|
+
readonly thySubtitle: import("@angular/core").InputSignal<string>;
|
|
29
29
|
/**
|
|
30
30
|
* @description 自定义 icon 模板
|
|
31
31
|
* @type TemplateRef<any>
|
|
32
32
|
*/
|
|
33
|
-
iconTemplateRef: TemplateRef<any
|
|
33
|
+
protected readonly iconTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
34
34
|
/**
|
|
35
35
|
* @description 自定义标题模板
|
|
36
36
|
* @type TemplateRef<any>
|
|
37
37
|
*/
|
|
38
|
-
titleTemplateRef: TemplateRef<any
|
|
38
|
+
protected readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
39
39
|
/**
|
|
40
40
|
* @description 自定义二级标题模板
|
|
41
41
|
* @type TemplateRef<any>
|
|
42
42
|
*/
|
|
43
|
-
subtitleTemplateRef: TemplateRef<any
|
|
43
|
+
protected readonly subtitleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
44
44
|
/**
|
|
45
45
|
* @description 自定义操作区域
|
|
46
46
|
* @type TemplateRef<any>
|
|
47
47
|
*/
|
|
48
|
-
extraTemplateRef: TemplateRef<any
|
|
49
|
-
className: boolean;
|
|
48
|
+
protected readonly extraTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
50
49
|
constructor();
|
|
51
50
|
ngOnInit(): void;
|
|
52
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResult, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
|
|
54
53
|
}
|
|
55
54
|
export {};
|
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "19.0.
|
|
1
|
+
export declare const VERSION = "19.1.0-next.0";
|
package/schematics/version.js
CHANGED
|
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { IThySegmentItemComponent } from './segment.token';
|
|
3
3
|
import { SafeAny } from 'ngx-tethys/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* 分段控制器的选项组件
|
|
7
8
|
* @name thy-segment-item,[thy-segment-item]
|
|
@@ -35,5 +36,5 @@ export declare class ThySegmentItem implements IThySegmentItemComponent, AfterVi
|
|
|
35
36
|
ngOnDestroy(): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySegmentItem, never>;
|
|
37
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySegmentItem, "thy-segment-item,[thy-segment-item]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
38
|
-
static ngAcceptInputType_thyDisabled:
|
|
39
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
39
40
|
}
|
|
@@ -5,6 +5,7 @@ import { IThySegmentComponent } from './segment.token';
|
|
|
5
5
|
import { ThySegmentEvent } from './types';
|
|
6
6
|
import { AnimationEvent } from '@angular/animations';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "ngx-tethys/util";
|
|
8
9
|
export type ThySegmentSize = 'xs' | 'sm' | 'md' | 'default';
|
|
9
10
|
export type ThySegmentMode = 'block' | 'inline';
|
|
10
11
|
/**
|
|
@@ -53,6 +54,6 @@ export declare class ThySegment implements IThySegmentComponent, AfterContentIni
|
|
|
53
54
|
handleThumbAnimationDone(event: AnimationEvent): void;
|
|
54
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySegment, never>;
|
|
55
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySegment, "thy-segment", ["thySegment"], { "thySize": { "alias": "thySize"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyActiveIndex": { "alias": "thyActiveIndex"; "required": false; }; }, { "thySelectChange": "thySelectChange"; }, ["options"], ["*"], true, never>;
|
|
56
|
-
static ngAcceptInputType_thyDisabled:
|
|
57
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
57
58
|
static ngAcceptInputType_thyActiveIndex: unknown;
|
|
58
59
|
}
|
|
@@ -9,6 +9,7 @@ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, O
|
|
|
9
9
|
import { ControlValueAccessor } from '@angular/forms';
|
|
10
10
|
import { ThyDropdownWidthMode, ThySelectConfig } from '../select.config';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "ngx-tethys/util";
|
|
12
13
|
export type SelectMode = 'multiple' | '';
|
|
13
14
|
export type ThySelectTriggerType = 'click' | 'hover';
|
|
14
15
|
export declare const SELECT_PANEL_MAX_HEIGHT = 300;
|
|
@@ -278,16 +279,16 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
278
279
|
ngOnDestroy(): void;
|
|
279
280
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelect, never>;
|
|
280
281
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "contentOptions", "contentGroups"], ["*"], true, never>;
|
|
281
|
-
static ngAcceptInputType_thyShowSearch:
|
|
282
|
-
static ngAcceptInputType_thyServerSearch:
|
|
283
|
-
static ngAcceptInputType_thyLoadState:
|
|
284
|
-
static ngAcceptInputType_thyAutoActiveFirstItem:
|
|
285
|
-
static ngAcceptInputType_thyEnableScrollLoad:
|
|
286
|
-
static ngAcceptInputType_thyAllowClear:
|
|
287
|
-
static ngAcceptInputType_thyDisabled:
|
|
288
|
-
static ngAcceptInputType_thyAutoExpand:
|
|
289
|
-
static ngAcceptInputType_thyHasBackdrop:
|
|
282
|
+
static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
|
|
283
|
+
static ngAcceptInputType_thyServerSearch: i1.ThyBooleanInput;
|
|
284
|
+
static ngAcceptInputType_thyLoadState: i1.ThyBooleanInput;
|
|
285
|
+
static ngAcceptInputType_thyAutoActiveFirstItem: i1.ThyBooleanInput;
|
|
286
|
+
static ngAcceptInputType_thyEnableScrollLoad: i1.ThyBooleanInput;
|
|
287
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
288
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
289
|
+
static ngAcceptInputType_thyAutoExpand: i1.ThyBooleanInput;
|
|
290
|
+
static ngAcceptInputType_thyHasBackdrop: i1.ThyBooleanInput;
|
|
290
291
|
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
291
|
-
static ngAcceptInputType_thyBorderless:
|
|
292
|
+
static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
|
|
292
293
|
}
|
|
293
294
|
export {};
|
|
@@ -3,6 +3,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import { ElementRef } from '@angular/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "ngx-tethys/util";
|
|
6
7
|
export type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
7
8
|
/**
|
|
8
9
|
* 下拉选择
|
|
@@ -31,5 +32,5 @@ export declare class ThyNativeSelect extends TabIndexDisabledControlValueAccesso
|
|
|
31
32
|
clearSelectValue(event: Event): void;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNativeSelect, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNativeSelect, "thy-native-select", never, { "thySize": { "alias": "thySize"; "required": false; }; "name": { "alias": "name"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
|
-
static ngAcceptInputType_thyAllowClear:
|
|
35
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
35
36
|
}
|
|
@@ -2,6 +2,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
2
2
|
import { ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { ThyTranslate, TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
*/
|
|
@@ -47,6 +48,6 @@ export declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlVa
|
|
|
47
48
|
markForCheck(): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormCheckBaseComponent, never>;
|
|
49
50
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormCheckBaseComponent, never, never, { "thyInline": { "alias": "thyInline"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
-
static ngAcceptInputType_thyInline:
|
|
51
|
-
static ngAcceptInputType_thyDisabled:
|
|
51
|
+
static ngAcceptInputType_thyInline: i1.ThyBooleanInput;
|
|
52
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
52
53
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "ngx-tethys/util";
|
|
2
3
|
/**
|
|
3
4
|
* 自动聚焦指令
|
|
4
5
|
* @name input[thyAutofocus],textarea[thyAutofocus]
|
|
@@ -19,6 +20,6 @@ export declare class ThyAutofocusDirective {
|
|
|
19
20
|
set thyAutoSelect(value: boolean);
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAutofocusDirective, never>;
|
|
21
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutofocusDirective, "input[thyAutofocus],textarea[thyAutofocus]", never, { "thyAutofocus": { "alias": "thyAutofocus"; "required": false; }; "thyAutoSelect": { "alias": "thyAutoSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
static ngAcceptInputType_thyAutofocus:
|
|
23
|
-
static ngAcceptInputType_thyAutoSelect:
|
|
23
|
+
static ngAcceptInputType_thyAutofocus: i1.ThyBooleanInput;
|
|
24
|
+
static ngAcceptInputType_thyAutoSelect: i1.ThyBooleanInput;
|
|
24
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* @name thyScroll
|
|
5
6
|
*/
|
|
@@ -37,5 +38,5 @@ export declare class ThyScrollDirective implements OnInit, OnDestroy {
|
|
|
37
38
|
getElementRef(): ElementRef<HTMLElement>;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyScrollDirective, never>;
|
|
39
40
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyScrollDirective, "[thyScroll]", never, { "thyEnable": { "alias": "thyEnable"; "required": false; }; }, { "thyOnScrolled": "thyOnScrolled"; }, never, never, true, never>;
|
|
40
|
-
static ngAcceptInputType_thyEnable:
|
|
41
|
+
static ngAcceptInputType_thyEnable: i1.ThyBooleanInput;
|
|
41
42
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
/**
|
|
4
5
|
* @name thyShow
|
|
5
6
|
*/
|
|
@@ -15,5 +16,5 @@ export declare class ThyShowDirective implements OnDestroy {
|
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyShowDirective, never>;
|
|
17
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyShowDirective, "[thyShow]", never, { "thyShow": { "alias": "thyShow"; "required": false; }; }, { "thyShowChange": "thyShowChange"; }, never, never, true, never>;
|
|
18
|
-
static ngAcceptInputType_thyShow:
|
|
19
|
+
static ngAcceptInputType_thyShow: i1.ThyBooleanInput;
|
|
19
20
|
}
|
|
@@ -2,6 +2,7 @@ import { QueryList, OnDestroy, AfterContentInit } from '@angular/core';
|
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
3
|
import { ThyOptionVisibleChangeEvent, ThyOption } from '../option.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
*/
|
|
@@ -21,5 +22,5 @@ export declare class ThySelectOptionGroup implements OnDestroy, AfterContentInit
|
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectOptionGroup, never>;
|
|
23
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectOptionGroup, "thy-option-group", never, { "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyGroupLabel": { "alias": "thyGroupLabel"; "required": false; }; }, {}, ["options"], ["*"], true, never>;
|
|
24
|
-
static ngAcceptInputType_thyDisabled:
|
|
25
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
25
26
|
}
|
|
@@ -2,6 +2,7 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
3
3
|
import { IThyOptionComponent } from '../option.token';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* @private
|
|
7
8
|
* @order 30
|
|
@@ -31,11 +32,5 @@ export declare class ThyListOption implements IThyOptionComponent, Highlightable
|
|
|
31
32
|
getLabel(): string;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyListOption, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyListOption, "thy-list-option,[thy-list-option]", never, { "id": { "alias": "id"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
|
-
static ngAcceptInputType_thyDisabled:
|
|
35
|
-
/** Allows for programmatic focusing of the option. */
|
|
36
|
-
| // }
|
|
37
|
-
/** Allows for programmatic focusing of the option. */
|
|
38
|
-
string
|
|
39
|
-
/** Allows for programmatic focusing of the option. */
|
|
40
|
-
| /** Allows for programmatic focusing of the option. */ number;
|
|
35
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
41
36
|
}
|
|
@@ -2,6 +2,7 @@ import { TemplateRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core'
|
|
|
2
2
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
3
3
|
import { SelectOptionBase } from './select-option-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
export declare class ThyOptionSelectionChangeEvent {
|
|
6
7
|
option: ThyOption;
|
|
7
8
|
isUserInput: boolean;
|
|
@@ -53,5 +54,5 @@ export declare class ThyOption extends SelectOptionBase implements OnDestroy, Hi
|
|
|
53
54
|
ngOnDestroy(): void;
|
|
54
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyOption, never>;
|
|
55
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyOption, "thy-option", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyRawValue": { "alias": "thyRawValue"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyShowOptionCustom": { "alias": "thyShowOptionCustom"; "required": false; }; "thySearchKey": { "alias": "thySearchKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
56
|
-
static ngAcceptInputType_thyDisabled:
|
|
57
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
57
58
|
}
|
|
@@ -2,6 +2,7 @@ import { ThyTagSize } from 'ngx-tethys/tag';
|
|
|
2
2
|
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import { SelectOptionBase } from '../../option/select-option-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
export type SelectControlSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
6
7
|
/**
|
|
7
8
|
* @private
|
|
@@ -69,11 +70,11 @@ export declare class ThySelectControl implements OnInit {
|
|
|
69
70
|
onBlur(event: Event): void;
|
|
70
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectControl, never>;
|
|
71
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
|
|
72
|
-
static ngAcceptInputType_thyPanelOpened:
|
|
73
|
-
static ngAcceptInputType_thyIsMultiple:
|
|
74
|
-
static ngAcceptInputType_thyShowSearch:
|
|
75
|
-
static ngAcceptInputType_thyDisabled:
|
|
76
|
-
static ngAcceptInputType_thyAllowClear:
|
|
73
|
+
static ngAcceptInputType_thyPanelOpened: i1.ThyBooleanInput;
|
|
74
|
+
static ngAcceptInputType_thyIsMultiple: i1.ThyBooleanInput;
|
|
75
|
+
static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
|
|
76
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
77
|
+
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
77
78
|
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
78
|
-
static ngAcceptInputType_thyBorderless:
|
|
79
|
+
static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
|
|
79
80
|
}
|
|
@@ -1,48 +1,45 @@
|
|
|
1
|
-
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
interface Style {
|
|
4
|
-
background?: string;
|
|
5
|
-
animation?: string;
|
|
6
|
-
}
|
|
7
2
|
/**
|
|
8
3
|
* 骨架屏圆形组件
|
|
9
4
|
* @name thy-skeleton-circle
|
|
10
5
|
* @order 30
|
|
11
6
|
*/
|
|
12
|
-
export declare class ThySkeletonCircle
|
|
7
|
+
export declare class ThySkeletonCircle {
|
|
13
8
|
private skeletonConfigModel;
|
|
14
|
-
private
|
|
9
|
+
private parent;
|
|
15
10
|
/**
|
|
16
11
|
* 动画速度
|
|
17
12
|
* @default 1.5s
|
|
18
13
|
*/
|
|
19
|
-
thyAnimatedInterval: string | number
|
|
14
|
+
readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
|
|
20
15
|
/**
|
|
21
16
|
* 骨架尺寸
|
|
22
17
|
* @default 20px
|
|
23
18
|
*/
|
|
24
|
-
thySize: string | number
|
|
19
|
+
readonly thySize: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
25
20
|
/**
|
|
26
21
|
* 骨架主色
|
|
27
22
|
* @default #F7F7F7
|
|
28
23
|
*/
|
|
29
|
-
thyPrimaryColor: string
|
|
24
|
+
readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
|
|
30
25
|
/**
|
|
31
26
|
* 骨架次色
|
|
32
27
|
* @default #aaaaaa
|
|
33
28
|
*/
|
|
34
|
-
thySecondaryColor: string
|
|
29
|
+
readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
|
|
35
30
|
/**
|
|
36
31
|
* 是否展示动画
|
|
37
32
|
* @default true
|
|
38
33
|
*/
|
|
39
|
-
thyAnimated: boolean
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
readonly animatedInterval: import("@angular/core").Signal<string | number>;
|
|
36
|
+
readonly primaryColor: import("@angular/core").Signal<string>;
|
|
37
|
+
readonly secondaryColor: import("@angular/core").Signal<string>;
|
|
38
|
+
readonly animated: import("@angular/core").Signal<boolean>;
|
|
39
|
+
readonly afterStyles: import("@angular/core").Signal<{
|
|
40
|
+
animation: string;
|
|
41
|
+
background: string;
|
|
42
|
+
}>;
|
|
44
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonCircle, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonCircle, "thy-skeleton-circle", never, { "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonCircle, "thy-skeleton-circle", never, { "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
47
45
|
}
|
|
48
|
-
export {};
|
|
@@ -1,58 +1,55 @@
|
|
|
1
|
-
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
interface Style {
|
|
4
|
-
background?: string;
|
|
5
|
-
animation?: string;
|
|
6
|
-
}
|
|
7
2
|
/**
|
|
8
3
|
* 骨架屏矩形组件
|
|
9
4
|
* @name thy-skeleton-rectangle
|
|
10
5
|
* @order 20
|
|
11
6
|
*/
|
|
12
|
-
export declare class ThySkeletonRectangle
|
|
7
|
+
export declare class ThySkeletonRectangle {
|
|
13
8
|
private skeletonConfigModel;
|
|
14
|
-
private
|
|
9
|
+
private parent;
|
|
15
10
|
/**
|
|
16
|
-
*
|
|
17
|
-
* @default
|
|
11
|
+
* 是否展示动画
|
|
12
|
+
* @default true
|
|
18
13
|
*/
|
|
19
|
-
thyAnimated: boolean
|
|
14
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
15
|
/**
|
|
21
16
|
* 动画速度
|
|
22
17
|
* @default 1.5s
|
|
23
18
|
*/
|
|
24
|
-
thyAnimatedInterval: number
|
|
19
|
+
readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
|
|
25
20
|
/**
|
|
26
21
|
* 骨架边框圆角
|
|
27
22
|
* @default 4px
|
|
28
23
|
*/
|
|
29
|
-
thyBorderRadius: string | number
|
|
24
|
+
readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
30
25
|
/**
|
|
31
26
|
* 骨架宽度
|
|
32
27
|
* @default 100%
|
|
33
28
|
*/
|
|
34
|
-
thyRowWidth: string | number
|
|
29
|
+
readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
35
30
|
/**
|
|
36
31
|
* 骨架高度
|
|
37
32
|
* @default 20px
|
|
38
33
|
*/
|
|
39
|
-
thyRowHeight: string | number
|
|
34
|
+
readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
40
35
|
/**
|
|
41
36
|
* 骨架主色
|
|
42
37
|
* @default #F7F7F7
|
|
43
38
|
*/
|
|
44
|
-
thyPrimaryColor: string
|
|
39
|
+
readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
|
|
45
40
|
/**
|
|
46
41
|
* 骨架次色
|
|
47
42
|
* @default #aaaaaa
|
|
48
43
|
*/
|
|
49
|
-
thySecondaryColor: string
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
|
|
45
|
+
readonly animatedInterval: import("@angular/core").Signal<string | number>;
|
|
46
|
+
readonly primaryColor: import("@angular/core").Signal<string>;
|
|
47
|
+
readonly secondaryColor: import("@angular/core").Signal<string>;
|
|
48
|
+
readonly animated: import("@angular/core").Signal<boolean>;
|
|
49
|
+
readonly afterStyles: import("@angular/core").Signal<{
|
|
50
|
+
animation: string;
|
|
51
|
+
background: string;
|
|
52
|
+
}>;
|
|
54
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonRectangle, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonRectangle, "thy-skeleton-rectangle", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonRectangle, "thy-skeleton-rectangle", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
55
|
}
|
|
58
|
-
export {};
|
|
@@ -9,20 +9,19 @@ export declare class ThySkeleton {
|
|
|
9
9
|
* 是否开启动画
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
12
|
-
thyAnimated: boolean
|
|
12
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
13
|
/**
|
|
14
14
|
* 动画速度
|
|
15
15
|
*/
|
|
16
|
-
thyAnimatedInterval: string | number
|
|
16
|
+
readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
|
|
17
17
|
/**
|
|
18
18
|
* 骨架主色调
|
|
19
19
|
*/
|
|
20
|
-
thyPrimaryColor: string
|
|
20
|
+
readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
|
|
21
21
|
/**
|
|
22
22
|
* 骨架次色调
|
|
23
23
|
*/
|
|
24
|
-
thySecondaryColor: string
|
|
24
|
+
readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeleton, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeleton, "thy-skeleton", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeleton, "thy-skeleton", never, { "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; }; }, {}, never, ["*"], true, never>;
|
|
28
27
|
}
|
|
@@ -9,49 +9,47 @@ export declare class ThySkeletonBulletList {
|
|
|
9
9
|
* 骨架宽度
|
|
10
10
|
* @default 100%
|
|
11
11
|
*/
|
|
12
|
-
thyRowWidth: string | number
|
|
12
|
+
readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
13
13
|
/**
|
|
14
14
|
* 骨架高度
|
|
15
15
|
* @default 20px
|
|
16
16
|
*/
|
|
17
|
-
thyRowHeight: string | number
|
|
17
|
+
readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
18
18
|
/**
|
|
19
19
|
* 骨架边框圆角
|
|
20
20
|
* @default 4px
|
|
21
21
|
*/
|
|
22
|
-
thyBorderRadius: string | number
|
|
22
|
+
readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
23
23
|
/**
|
|
24
24
|
* 是否开启动画
|
|
25
25
|
* @default true
|
|
26
26
|
*/
|
|
27
|
-
thyAnimated: boolean
|
|
27
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
28
|
/**
|
|
29
29
|
* 动画速度
|
|
30
30
|
* @default 1.5s
|
|
31
31
|
*/
|
|
32
|
-
thyAnimatedInterval: string | number
|
|
32
|
+
readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
|
|
33
33
|
/**
|
|
34
34
|
* 骨架主色
|
|
35
35
|
* @default #f7f7f7
|
|
36
36
|
*/
|
|
37
|
-
thyPrimaryColor: string
|
|
37
|
+
readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
|
|
38
38
|
/**
|
|
39
39
|
* 骨架次色
|
|
40
40
|
* @default #aaaaaa
|
|
41
41
|
*/
|
|
42
|
-
thySecondaryColor: string
|
|
42
|
+
readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
|
|
43
43
|
/**
|
|
44
44
|
* circle类型骨架尺寸
|
|
45
45
|
*/
|
|
46
|
-
thySize: string | number
|
|
47
|
-
rowCount: number[];
|
|
46
|
+
readonly thySize: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
48
47
|
/**
|
|
49
48
|
* 行数
|
|
50
49
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
readonly thyRowCount: import("@angular/core").InputSignal<string | number>;
|
|
51
|
+
readonly rows: import("@angular/core").Signal<unknown[]>;
|
|
53
52
|
constructor();
|
|
54
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonBulletList, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonBulletList, "thy-skeleton-bullet-list", never, { "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; }; "thySize": { "alias": "thySize"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonBulletList, "thy-skeleton-bullet-list", never, { "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; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
55
|
}
|
|
@@ -8,39 +8,37 @@ export declare class ThySkeletonList {
|
|
|
8
8
|
/**
|
|
9
9
|
* 骨架宽度
|
|
10
10
|
*/
|
|
11
|
-
thyRowWidth: string | number
|
|
11
|
+
readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
12
12
|
/**
|
|
13
13
|
* 骨架高度
|
|
14
14
|
*/
|
|
15
|
-
thyRowHeight: string | number
|
|
15
|
+
readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
16
16
|
/**
|
|
17
17
|
* 骨架边框圆角
|
|
18
18
|
*/
|
|
19
|
-
thyBorderRadius: string | number
|
|
19
|
+
readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
|
|
20
20
|
/**
|
|
21
21
|
* 是否开启动画
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
|
-
thyAnimated: boolean
|
|
24
|
+
readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
25
|
/**
|
|
26
26
|
* 动画速度
|
|
27
27
|
*/
|
|
28
|
-
thyAnimatedInterval: string
|
|
28
|
+
readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
|
|
29
29
|
/**
|
|
30
30
|
* 骨架主色
|
|
31
31
|
*/
|
|
32
|
-
thyPrimaryColor: string
|
|
32
|
+
readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
|
|
33
33
|
/**
|
|
34
34
|
* 骨架次色
|
|
35
35
|
*/
|
|
36
|
-
thySecondaryColor: string
|
|
37
|
-
rowCount: number[];
|
|
36
|
+
readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
|
|
38
37
|
/**
|
|
39
38
|
* 行数
|
|
40
39
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
readonly thyRowCount: import("@angular/core").InputSignal<string | number>;
|
|
41
|
+
readonly rows: import("@angular/core").Signal<unknown[]>;
|
|
43
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonList, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonList, "thy-skeleton-list", never, { "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>;
|
|
45
|
-
static ngAcceptInputType_thyAnimated: boolean | string | number;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonList, "thy-skeleton-list", never, { "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>;
|
|
46
44
|
}
|