ngx-tethys 19.0.16 → 19.1.0-next.1
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 +31 -11
- package/README.md +0 -1
- package/action/action.component.d.ts +14 -23
- package/action/actions.component.d.ts +5 -7
- package/affix/affix.component.d.ts +9 -13
- 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-group.component.d.ts +5 -12
- package/button/button-icon.component.d.ts +14 -27
- package/button/button.component.d.ts +17 -26
- 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-active.directive.d.ts +4 -5
- package/dropdown/dropdown-menu-item.directive.d.ts +7 -14
- package/dropdown/dropdown-menu.component.d.ts +6 -12
- package/dropdown/dropdown-submenu.component.d.ts +2 -4
- package/dropdown/dropdown.directive.d.ts +14 -24
- package/empty/empty.component.d.ts +21 -27
- package/fesm2022/ngx-tethys-action.mjs +63 -101
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +40 -41
- 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-button.mjs +225 -322
- package/fesm2022/ngx-tethys-button.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 +83 -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-dropdown.mjs +155 -203
- package/fesm2022/ngx-tethys-dropdown.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-flexible-text.mjs +67 -86
- package/fesm2022/ngx-tethys-flexible-text.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 +161 -158
- 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-icon.mjs +44 -59
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +40 -36
- package/fesm2022/ngx-tethys-image.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 +194 -246
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +99 -113
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +60 -76
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +115 -157
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +111 -157
- package/fesm2022/ngx-tethys-resizable.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-segment.mjs +84 -103
- package/fesm2022/ngx-tethys-segment.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-slide.mjs +37 -56
- package/fesm2022/ngx-tethys-slide.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 +25 -51
- 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-strength.mjs +52 -66
- package/fesm2022/ngx-tethys-strength.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-transfer.mjs +98 -119
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +2 -4
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +281 -401
- package/fesm2022/ngx-tethys-tree.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 +93 -132
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +53 -99
- package/fesm2022/ngx-tethys-vote.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/flexible-text/flexible-text.component.d.ts +9 -15
- 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 +13 -20
- 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 +11 -14
- package/icon/icon.component.d.ts +10 -17
- package/image/image.directive.d.ts +10 -12
- package/image/image.token.d.ts +5 -5
- 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 +35 -26
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +16 -26
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -15
- package/property/property-item.component.d.ts +22 -34
- 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 +13 -16
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +8 -10
- package/rate/rate.component.d.ts +20 -30
- package/resizable/resizable.directive.d.ts +18 -36
- package/resizable/resize-handle.component.d.ts +6 -6
- package/resizable/resize-handles.component.d.ts +5 -8
- 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 +9 -14
- package/segment/segment.component.d.ts +11 -14
- package/segment/segment.token.d.ts +4 -3
- 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 -5
- package/slide/slide-header/slide-header.component.d.ts +6 -9
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +10 -16
- 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/strength/strength.component.d.ts +8 -13
- 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/transfer/transfer-list.component.d.ts +15 -15
- package/transfer/transfer.component.d.ts +20 -23
- package/tree/tree-abstract.d.ts +5 -5
- package/tree/tree-node.component.d.ts +24 -46
- package/tree/tree.class.d.ts +4 -4
- package/tree/tree.component.d.ts +47 -74
- package/tree/tree.service.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +10 -9
- 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 +13 -32
- package/watermark/watermark.directive.d.ts +7 -9
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
1
|
+
import { Signal, TemplateRef } from '@angular/core';
|
|
3
2
|
import { ThyAvatar } from '../avatar.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare const THY_AVATAR_ITEM_SPACE = 4;
|
|
@@ -13,35 +12,30 @@ export declare const enum ThyAvatarListMode {
|
|
|
13
12
|
* @name thy-avatar-list
|
|
14
13
|
* @order 20
|
|
15
14
|
*/
|
|
16
|
-
export declare class ThyAvatarList
|
|
17
|
-
overlapMode: boolean;
|
|
15
|
+
export declare class ThyAvatarList {
|
|
18
16
|
avatarItems: ThyAvatar[];
|
|
19
|
-
private ngUnsubscribe$;
|
|
20
17
|
/**
|
|
21
18
|
* 展示方式
|
|
22
19
|
* @type overlap | default
|
|
23
|
-
* @default default
|
|
24
20
|
*/
|
|
25
|
-
thyMode: ThyAvatarListMode
|
|
21
|
+
readonly thyMode: import("@angular/core").InputSignal<ThyAvatarListMode>;
|
|
22
|
+
readonly isOverlapMode: Signal<boolean>;
|
|
26
23
|
/**
|
|
27
24
|
* 头像大小
|
|
28
25
|
* @type 16 | 22 | 24 | 28 | 32 | 36 | 44 | 48 | 68 | 110 | 160 | xxs(22px) | xs(24px) | sm(32px) | md(36px) | lg(48px)
|
|
29
26
|
* @default 36
|
|
30
27
|
*/
|
|
31
|
-
thyAvatarSize:
|
|
28
|
+
readonly thyAvatarSize: import("@angular/core").InputSignal<string | number>;
|
|
32
29
|
/**
|
|
33
30
|
* append 自定义操作
|
|
34
31
|
*/
|
|
35
|
-
append: TemplateRef<
|
|
32
|
+
readonly append: Signal<TemplateRef<any>>;
|
|
36
33
|
/**
|
|
37
34
|
* @private
|
|
38
35
|
*/
|
|
39
|
-
avatarComponents:
|
|
36
|
+
readonly avatarComponents: Signal<readonly ThyAvatar[]>;
|
|
40
37
|
constructor();
|
|
41
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
-
ngAfterContentInit(): void;
|
|
43
38
|
private updateAvatarItems;
|
|
44
|
-
ngOnDestroy(): void;
|
|
45
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAvatarList, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAvatarList, "thy-avatar-list", never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyAvatarSize": { "alias": "thyAvatarSize"; "required": false; }; }, {}, ["append", "avatarComponents"], ["*"], true, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAvatarList, "thy-avatar-list", never, { "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyAvatarSize": { "alias": "thyAvatarSize"; "required": false; "isSignal": true; }; }, {}, ["append", "avatarComponents"], ["*"], true, never>;
|
|
47
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
2
2
|
import { SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare const DEFAULT_SIZE = 36;
|
|
@@ -18,92 +18,78 @@ export type ThyAvatarFetchPriority = 'high' | 'low' | 'auto';
|
|
|
18
18
|
* @name thy-avatar
|
|
19
19
|
* @order 10
|
|
20
20
|
*/
|
|
21
|
-
export declare class ThyAvatar
|
|
21
|
+
export declare class ThyAvatar {
|
|
22
22
|
private thyAvatarService;
|
|
23
23
|
elementRef: ElementRef<any>;
|
|
24
|
-
_src: string;
|
|
25
|
-
_name: string;
|
|
26
|
-
_size: number;
|
|
27
|
-
_showRemove: boolean;
|
|
28
|
-
avatarSrc: string;
|
|
29
|
-
avatarName?: string;
|
|
30
|
-
avatarNameSafeHtml?: SafeHtml;
|
|
31
|
-
_isAvatar: boolean;
|
|
32
24
|
/**
|
|
33
25
|
* * 已废弃,请使用 thyRemove
|
|
34
26
|
* @deprecated
|
|
35
27
|
*/
|
|
36
|
-
thyOnRemove:
|
|
28
|
+
readonly thyOnRemove: import("@angular/core").OutputEmitterRef<Event>;
|
|
37
29
|
/**
|
|
38
|
-
*
|
|
30
|
+
* 移除按钮的事件,当 thyRemovable 为 true 时起作用
|
|
39
31
|
*/
|
|
40
|
-
thyRemove:
|
|
32
|
+
readonly thyRemove: import("@angular/core").OutputEmitterRef<Event>;
|
|
41
33
|
/**
|
|
42
34
|
* 头像 img 加载 error 时触发
|
|
43
35
|
*/
|
|
44
|
-
thyError:
|
|
36
|
+
readonly thyError: import("@angular/core").OutputEmitterRef<Event>;
|
|
45
37
|
/**
|
|
46
38
|
* 是否展示人员名称
|
|
47
|
-
* @default false
|
|
48
39
|
*/
|
|
49
|
-
thyShowName: boolean
|
|
40
|
+
readonly thyShowName: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
50
41
|
/**
|
|
51
42
|
* 头像路径地址, 默认为全路径,如果不是全路径,可以通过自定义服务 ThyAvatarService,重写 srcTransform 方法实现转换
|
|
52
|
-
*
|
|
53
43
|
*/
|
|
54
|
-
|
|
44
|
+
readonly thySrc: import("@angular/core").InputSignal<string>;
|
|
45
|
+
readonly src: Signal<string>;
|
|
55
46
|
/**
|
|
56
47
|
* 人员名称(可设置自定义名称,需通过自定义服务 ThyAvatarService,重写 nameTransform 方法去实现转换)
|
|
57
48
|
*/
|
|
58
|
-
|
|
49
|
+
readonly thyName: import("@angular/core").InputSignal<string>;
|
|
50
|
+
readonly avatarName: Signal<string>;
|
|
51
|
+
readonly avatarNameSafeHtml: Signal<SafeHtml>;
|
|
59
52
|
/**
|
|
60
53
|
* 头像大小
|
|
61
54
|
* @type 16 | 22 | 24 | 28 | 32 | 36 | 44 | 48 | 68 | 110 | 160 | xxs(22px) | xs(24px) | sm(32px) | md(36px) | lg(48px)
|
|
62
55
|
* @default md
|
|
63
56
|
*/
|
|
64
|
-
|
|
57
|
+
readonly thySize: import("@angular/core").ModelSignal<string | number>;
|
|
58
|
+
readonly size: Signal<number>;
|
|
65
59
|
/**
|
|
66
60
|
* 已废弃,请使用 thyRemovable
|
|
67
61
|
* @deprecated
|
|
68
|
-
* @default false
|
|
69
62
|
*/
|
|
70
|
-
|
|
63
|
+
readonly thyShowRemove: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
71
64
|
/**
|
|
72
65
|
* 是否展示移除按钮
|
|
73
|
-
* @default false
|
|
74
66
|
*/
|
|
75
|
-
|
|
67
|
+
readonly thyRemovable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
68
|
+
readonly showRemove: Signal<boolean>;
|
|
76
69
|
/**
|
|
77
70
|
* 图片自定义类
|
|
78
71
|
*/
|
|
79
|
-
thyImgClass: string
|
|
72
|
+
readonly thyImgClass: import("@angular/core").InputSignal<string>;
|
|
80
73
|
/**
|
|
81
74
|
* 是否禁用
|
|
82
|
-
* @default false
|
|
83
75
|
*/
|
|
84
|
-
thyDisabled: boolean
|
|
76
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
85
77
|
/**
|
|
86
78
|
* 图片加载策略
|
|
87
79
|
* @type eager(立即加载) | lazy(延迟加载)
|
|
88
80
|
*/
|
|
89
|
-
thyLoading
|
|
81
|
+
readonly thyLoading: import("@angular/core").InputSignal<ThyAvatarLoading>;
|
|
90
82
|
/**
|
|
91
83
|
* 图片加载优先级
|
|
92
84
|
* @type auto(默认) | high(高) | low(低)
|
|
93
85
|
*/
|
|
94
|
-
thyFetchPriority
|
|
95
|
-
private
|
|
96
|
-
private findClosestSize;
|
|
97
|
-
private _setAvatarSrc;
|
|
98
|
-
private _setAvatarName;
|
|
86
|
+
readonly thyFetchPriority: import("@angular/core").InputSignal<ThyAvatarFetchPriority>;
|
|
87
|
+
private isAvatarImgError;
|
|
99
88
|
private hostRenderer;
|
|
100
|
-
|
|
89
|
+
constructor();
|
|
90
|
+
private findClosestSize;
|
|
101
91
|
remove($event: Event): void;
|
|
102
92
|
avatarImgError($event: Event): void;
|
|
103
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAvatar, never>;
|
|
104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAvatar, "thy-avatar", never, { "thyShowName": { "alias": "thyShowName"; "required": false; }; "thySrc": { "alias": "thySrc"; "required": false; }; "thyName": { "alias": "thyName"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyShowRemove": { "alias": "thyShowRemove"; "required": false; }; "thyRemovable": { "alias": "thyRemovable"; "required": false; }; "thyImgClass": { "alias": "thyImgClass"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyLoading": { "alias": "thyLoading"; "required": false; }; "thyFetchPriority": { "alias": "thyFetchPriority"; "required": false; }; }, { "thyOnRemove": "thyOnRemove"; "thyRemove": "thyRemove"; "thyError": "thyError"; }, never, never, true, never>;
|
|
105
|
-
static ngAcceptInputType_thyShowName: boolean | string | number;
|
|
106
|
-
static ngAcceptInputType_thyShowRemove: boolean | string | number;
|
|
107
|
-
static ngAcceptInputType_thyRemovable: boolean | string | number;
|
|
108
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAvatar, "thy-avatar", never, { "thyShowName": { "alias": "thyShowName"; "required": false; "isSignal": true; }; "thySrc": { "alias": "thySrc"; "required": false; "isSignal": true; }; "thyName": { "alias": "thyName"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyShowRemove": { "alias": "thyShowRemove"; "required": false; "isSignal": true; }; "thyRemovable": { "alias": "thyRemovable"; "required": false; "isSignal": true; }; "thyImgClass": { "alias": "thyImgClass"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyLoading": { "alias": "thyLoading"; "required": false; "isSignal": true; }; "thyFetchPriority": { "alias": "thyFetchPriority"; "required": false; "isSignal": true; }; }, { "thyOnRemove": "thyOnRemove"; "thyRemove": "thyRemove"; "thyError": "thyError"; "thySize": "thySizeChange"; }, never, never, true, never>;
|
|
109
95
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit, TemplateRef,
|
|
1
|
+
import { OnInit, TemplateRef, OnDestroy, ElementRef, Signal } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* 回到顶部组件
|
|
5
5
|
* @name thy-back-top
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThyBackTop implements OnInit, OnDestroy
|
|
7
|
+
export declare class ThyBackTop implements OnInit, OnDestroy {
|
|
8
8
|
private doc;
|
|
9
9
|
private thyScrollService;
|
|
10
10
|
private platform;
|
|
@@ -14,28 +14,28 @@ export declare class ThyBackTop implements OnInit, OnDestroy, OnChanges {
|
|
|
14
14
|
/**
|
|
15
15
|
* 自定义按钮显示模板
|
|
16
16
|
*/
|
|
17
|
-
thyTemplate
|
|
17
|
+
readonly thyTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
18
18
|
/**
|
|
19
19
|
* 指定对哪个 DOM 元素返回顶部
|
|
20
20
|
* @type string | HTMLElement
|
|
21
21
|
* @default window
|
|
22
22
|
*/
|
|
23
|
-
thyContainer
|
|
23
|
+
readonly thyContainer: import("@angular/core").InputSignal<string | HTMLElement>;
|
|
24
24
|
/**
|
|
25
25
|
* 滚动高度达到此参数值才出现 thy-back-top
|
|
26
26
|
* @type number
|
|
27
27
|
*/
|
|
28
|
-
thyVisibilityHeight: number
|
|
28
|
+
readonly thyVisibilityHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
29
29
|
/**
|
|
30
30
|
* 点击按钮的回调函数
|
|
31
31
|
*/
|
|
32
|
-
readonly thyClick:
|
|
32
|
+
readonly thyClick: import("@angular/core").OutputEmitterRef<boolean>;
|
|
33
33
|
/**
|
|
34
34
|
* 监听按钮显示状态的回调函数
|
|
35
35
|
*/
|
|
36
|
-
visibleChange:
|
|
36
|
+
readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
37
37
|
/** The native `<div class="thy-back-top"></div>` element. */
|
|
38
|
-
|
|
38
|
+
readonly backTop: Signal<ElementRef<HTMLElement>>;
|
|
39
39
|
visible: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* The subject used to store the native `<div class="thy-back-top"></div>` since
|
|
@@ -49,12 +49,9 @@ export declare class ThyBackTop implements OnInit, OnDestroy, OnChanges {
|
|
|
49
49
|
private target;
|
|
50
50
|
constructor();
|
|
51
51
|
ngOnInit(): void;
|
|
52
|
-
private getTarget;
|
|
53
52
|
private handleScroll;
|
|
54
53
|
private registerScrollEvent;
|
|
55
54
|
ngOnDestroy(): void;
|
|
56
|
-
ngOnChanges(changes: any): void;
|
|
57
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyBackTop, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBackTop, "thy-back-top,[thyBackTop]", never, { "thyTemplate": { "alias": "thyTemplate"; "required": false; }; "thyContainer": { "alias": "thyContainer"; "required": false; }; "thyVisibilityHeight": { "alias": "thyVisibilityHeight"; "required": false; }; }, { "thyClick": "thyClick"; "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
59
|
-
static ngAcceptInputType_thyVisibilityHeight: unknown;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBackTop, "thy-back-top,[thyBackTop]", never, { "thyTemplate": { "alias": "thyTemplate"; "required": false; "isSignal": true; }; "thyContainer": { "alias": "thyContainer"; "required": false; "isSignal": true; }; "thyVisibilityHeight": { "alias": "thyVisibilityHeight"; "required": false; "isSignal": true; }; }, { "thyClick": "thyClick"; "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
60
57
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, Signal } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type ThyBadgeSize = 'md' | 'sm' | 'lg';
|
|
4
4
|
/**
|
|
@@ -7,109 +7,69 @@ export type ThyBadgeSize = 'md' | 'sm' | 'lg';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class ThyBadge implements OnInit {
|
|
9
9
|
private elementRef;
|
|
10
|
-
displayContent: string;
|
|
11
|
-
badgeClassName: string;
|
|
12
10
|
private nativeElement;
|
|
13
|
-
|
|
11
|
+
readonly displayContent: Signal<string>;
|
|
12
|
+
readonly badgeClassName: Signal<string>;
|
|
14
13
|
protected isWrapper: boolean;
|
|
15
|
-
isShowBadge: boolean
|
|
16
|
-
private
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
private maxCount;
|
|
20
|
-
private type;
|
|
21
|
-
private size;
|
|
22
|
-
private isDot;
|
|
23
|
-
private isHollow;
|
|
24
|
-
protected textColor: string;
|
|
25
|
-
protected builtInTextColorClass: string;
|
|
26
|
-
protected backgroundColor: string;
|
|
27
|
-
protected builtInBackgroundColorClass: string;
|
|
28
|
-
protected supClasses: string[];
|
|
14
|
+
readonly isShowBadge: Signal<boolean>;
|
|
15
|
+
private readonly value;
|
|
16
|
+
protected readonly textColor: Signal<string>;
|
|
17
|
+
protected readonly backgroundColor: Signal<string>;
|
|
29
18
|
constructor();
|
|
30
19
|
/**
|
|
31
20
|
* 徽标类型
|
|
32
21
|
* @type default | primary | danger | warning | success
|
|
33
|
-
* @default danger
|
|
34
22
|
*/
|
|
35
|
-
|
|
23
|
+
readonly thyType: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
36
24
|
/**
|
|
37
25
|
* 徽标内容数字
|
|
38
26
|
* @type number
|
|
39
27
|
*/
|
|
40
|
-
|
|
28
|
+
readonly thyCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
41
29
|
/**
|
|
42
30
|
* 徽标内容文本
|
|
43
31
|
* @type string
|
|
44
32
|
*/
|
|
45
|
-
|
|
33
|
+
readonly thyContent: import("@angular/core").InputSignal<string>;
|
|
46
34
|
/**
|
|
47
35
|
* 已废弃,徽标内容文本,命名错误,请使用 thyContent
|
|
48
|
-
* @deprecated
|
|
49
36
|
*/
|
|
50
|
-
|
|
37
|
+
readonly thyContext: import("@angular/core").InputSignal<string>;
|
|
51
38
|
/**
|
|
52
39
|
* 徽标显示的最大值, 与 thyCount 一起使用,thyCount 超过了 thyMaxCount 设置的值时,徽标内容为 thyMaxCount+
|
|
53
40
|
* @type number
|
|
54
41
|
*/
|
|
55
|
-
|
|
42
|
+
readonly thyMaxCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
56
43
|
/**
|
|
57
44
|
* 徽标显示的大小
|
|
58
45
|
* @type md | sm | lg
|
|
59
|
-
* @default md
|
|
60
46
|
*/
|
|
61
|
-
|
|
47
|
+
readonly thySize: import("@angular/core").InputSignalWithTransform<ThyBadgeSize, ThyBadgeSize>;
|
|
62
48
|
/**
|
|
63
49
|
* 已废弃,徽标是一个实心点,已经被废弃
|
|
64
50
|
* @deprecated
|
|
65
51
|
*/
|
|
66
|
-
|
|
52
|
+
readonly thyIsDot: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
67
53
|
/**
|
|
68
54
|
* 已废弃,徽标是一个空心点
|
|
69
55
|
* @deprecated
|
|
70
56
|
*/
|
|
71
|
-
|
|
57
|
+
readonly thyIsHollow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
72
58
|
/**
|
|
73
59
|
* thyCount 为 0 时,强制显示数字 0,默认不显示
|
|
74
|
-
* @default false
|
|
75
60
|
*/
|
|
76
|
-
|
|
61
|
+
readonly thyKeepShow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
77
62
|
/**
|
|
78
63
|
* 设置徽标字体的颜色,支持内置颜色和自定义颜色 'primary' | '#87d068' | ...
|
|
79
64
|
* @type string
|
|
80
65
|
*/
|
|
81
|
-
|
|
66
|
+
readonly thyTextColor: import("@angular/core").InputSignal<string>;
|
|
82
67
|
/**
|
|
83
68
|
* 设置徽标的背景颜色,支持内置颜色和自定义颜色 'primary' | '#87d068' | ...
|
|
84
69
|
* @type string
|
|
85
70
|
*/
|
|
86
|
-
|
|
71
|
+
readonly thyBackgroundColor: import("@angular/core").InputSignal<string>;
|
|
87
72
|
ngOnInit(): void;
|
|
88
|
-
private combineBadgeClasses;
|
|
89
|
-
private combineBadgeDisplayContent;
|
|
90
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyBadge, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBadge, "thy-badge,[thyBadge]", never, { "thyType": { "alias": "thyType"; "required": false; }; "thyCount": { "alias": "thyCount"; "required": false; }; "thyContent": { "alias": "thyContent"; "required": false; }; "thyContext": { "alias": "thyContext"; "required": false; }; "thyMaxCount": { "alias": "thyMaxCount"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyIsDot": { "alias": "thyIsDot"; "required": false; }; "thyIsHollow": { "alias": "thyIsHollow"; "required": false; }; "thyKeepShow": { "alias": "thyKeepShow"; "required": false; }; "thyTextColor": { "alias": "thyTextColor"; "required": false; }; "thyBackgroundColor": { "alias": "thyBackgroundColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
92
|
-
static ngAcceptInputType_thyCount: unknown;
|
|
93
|
-
static ngAcceptInputType_thyMaxCount: unknown;
|
|
94
|
-
static ngAcceptInputType_thyIsDot: boolean | string /**
|
|
95
|
-
* 徽标内容文本
|
|
96
|
-
* @type string
|
|
97
|
-
*/ | /**
|
|
98
|
-
* 徽标内容文本
|
|
99
|
-
* @type string
|
|
100
|
-
*/ number;
|
|
101
|
-
static ngAcceptInputType_thyIsHollow: boolean | string /**
|
|
102
|
-
* 徽标内容文本
|
|
103
|
-
* @type string
|
|
104
|
-
*/ | /**
|
|
105
|
-
* 徽标内容文本
|
|
106
|
-
* @type string
|
|
107
|
-
*/ number;
|
|
108
|
-
static ngAcceptInputType_thyKeepShow: boolean | string /**
|
|
109
|
-
* 徽标内容文本
|
|
110
|
-
* @type string
|
|
111
|
-
*/ | /**
|
|
112
|
-
* 徽标内容文本
|
|
113
|
-
* @type string
|
|
114
|
-
*/ number;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBadge, "thy-badge,[thyBadge]", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thyCount": { "alias": "thyCount"; "required": false; "isSignal": true; }; "thyContent": { "alias": "thyContent"; "required": false; "isSignal": true; }; "thyContext": { "alias": "thyContext"; "required": false; "isSignal": true; }; "thyMaxCount": { "alias": "thyMaxCount"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyIsDot": { "alias": "thyIsDot"; "required": false; "isSignal": true; }; "thyIsHollow": { "alias": "thyIsHollow"; "required": false; "isSignal": true; }; "thyKeepShow": { "alias": "thyKeepShow"; "required": false; "isSignal": true; }; "thyTextColor": { "alias": "thyTextColor"; "required": false; "isSignal": true; }; "thyBackgroundColor": { "alias": "thyBackgroundColor"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
115
75
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef,
|
|
1
|
+
import { TemplateRef, Signal } from '@angular/core';
|
|
2
2
|
import { SafeAny } from 'ngx-tethys/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -6,44 +6,39 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* @name thy-breadcrumb
|
|
7
7
|
* @order 10
|
|
8
8
|
*/
|
|
9
|
-
export declare class ThyBreadcrumb
|
|
10
|
-
private cdr;
|
|
11
|
-
iconClasses: string[];
|
|
12
|
-
svgIconName: string;
|
|
9
|
+
export declare class ThyBreadcrumb {
|
|
13
10
|
/**
|
|
14
11
|
* 面包屑的前缀 展示图标,如 folder-fill
|
|
15
12
|
*/
|
|
16
|
-
|
|
13
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
14
|
+
iconClasses: Signal<string[]>;
|
|
15
|
+
svgIconName: Signal<string>;
|
|
17
16
|
/**
|
|
18
17
|
* 面包屑的分隔符,不传值默认为 ">"
|
|
19
18
|
* @type slash | backslash | vertical-line
|
|
20
19
|
*/
|
|
21
|
-
thySeparator:
|
|
20
|
+
readonly thySeparator: import("@angular/core").InputSignal<"slash" | "backslash" | "vertical-line">;
|
|
22
21
|
/**
|
|
23
22
|
* 面包屑的每一项数据
|
|
24
23
|
*/
|
|
25
|
-
items:
|
|
24
|
+
readonly items: import("@angular/core").InputSignal<any[]>;
|
|
26
25
|
/**
|
|
27
26
|
* 最大显示数量,超出此数量后,面包屑会被省略, 0 表示不省略(仅当传入 thyItems 时有效)
|
|
28
27
|
*/
|
|
29
|
-
thyMaxCount: number
|
|
28
|
+
readonly thyMaxCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
30
29
|
/**
|
|
31
30
|
* 是否可点击弹出已被省略的面包屑项(仅当传入 thyItems 时有效)
|
|
32
31
|
*/
|
|
33
|
-
thyExpandable: boolean
|
|
32
|
+
readonly thyExpandable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
34
33
|
/**
|
|
35
34
|
* 面包屑的每一项模板(仅当传入 thyItems 时有效)
|
|
36
35
|
*/
|
|
37
|
-
itemTemplate: TemplateRef<
|
|
36
|
+
readonly itemTemplate: Signal<TemplateRef<any>>;
|
|
38
37
|
ellipsisItemId: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
private setIcon;
|
|
44
|
-
private resetItems;
|
|
38
|
+
readonly processedItems: Signal<{
|
|
39
|
+
ellipsisItems: SafeAny[];
|
|
40
|
+
showItems: SafeAny[];
|
|
41
|
+
}>;
|
|
45
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyBreadcrumb, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBreadcrumb, "thy-breadcrumb", ["ThyBreadcrumb"], { "thyIcon": { "alias": "thyIcon"; "required": false; }; "thySeparator": { "alias": "thySeparator"; "required": false; }; "items": { "alias": "thyItems"; "required": false; }; "thyMaxCount": { "alias": "thyMaxCount"; "required": false; }; "thyExpandable": { "alias": "thyExpandable"; "required": false; }; }, {}, ["itemTemplate"], ["*"], true, never>;
|
|
47
|
-
static ngAcceptInputType_thyMaxCount: unknown;
|
|
48
|
-
static ngAcceptInputType_thyExpandable: boolean | string | number;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBreadcrumb, "thy-breadcrumb", ["ThyBreadcrumb"], { "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thySeparator": { "alias": "thySeparator"; "required": false; "isSignal": true; }; "items": { "alias": "thyItems"; "required": false; "isSignal": true; }; "thyMaxCount": { "alias": "thyMaxCount"; "required": false; "isSignal": true; }; "thyExpandable": { "alias": "thyExpandable"; "required": false; "isSignal": true; }; }, {}, ["itemTemplate"], ["*"], true, never>;
|
|
49
44
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export type ButtonGroupSize = 'sm' | 'lg' | 'xs' | 'md';
|
|
4
3
|
export type ButtonGroupType = 'outline-primary' | 'outline-default';
|
|
@@ -7,33 +6,27 @@ export type ButtonGroupType = 'outline-primary' | 'outline-default';
|
|
|
7
6
|
* @name thy-button-group
|
|
8
7
|
* @order 30
|
|
9
8
|
*/
|
|
10
|
-
export declare class ThyButtonGroup
|
|
11
|
-
private initialized;
|
|
12
|
-
private type;
|
|
13
|
-
private size;
|
|
9
|
+
export declare class ThyButtonGroup {
|
|
14
10
|
private hostRenderer;
|
|
15
11
|
/**
|
|
16
12
|
* 大小
|
|
17
13
|
* @type xs | sm | md | lg
|
|
18
14
|
* @default md
|
|
19
15
|
*/
|
|
20
|
-
|
|
16
|
+
readonly thySize: import("@angular/core").InputSignal<ButtonGroupSize>;
|
|
21
17
|
/**
|
|
22
18
|
* 类型
|
|
23
19
|
* @type outline-default | outline-primary
|
|
24
20
|
* @default outline-default
|
|
25
21
|
*/
|
|
26
|
-
|
|
22
|
+
readonly thyType: import("@angular/core").InputSignal<ButtonGroupType>;
|
|
27
23
|
/**
|
|
28
24
|
* 是否需要最小宽度,默认按钮最小宽度为80px
|
|
29
25
|
* @default false
|
|
30
26
|
*/
|
|
31
|
-
|
|
32
|
-
_isButtonGroup: boolean;
|
|
33
|
-
thyClearMinWidthClassName: boolean;
|
|
27
|
+
readonly thyClearMinWidth: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
34
28
|
constructor();
|
|
35
|
-
ngOnInit(): void;
|
|
36
29
|
private setClasses;
|
|
37
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyButtonGroup, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyButtonGroup, "thy-button-group", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "thyClearMinWidth": { "alias": "thyClearMinWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyButtonGroup, "thy-button-group", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thyClearMinWidth": { "alias": "thyClearMinWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
39
32
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export type ThyButtonIconShape = '' | 'circle-dashed' | 'circle-solid' | 'circle-thick-dashed' | 'circle-thick-solid' | 'self-icon';
|
|
4
3
|
/**
|
|
@@ -6,59 +5,47 @@ export type ThyButtonIconShape = '' | 'circle-dashed' | 'circle-solid' | 'circle
|
|
|
6
5
|
* @name thy-button-icon,[thy-button-icon],[thyButtonIcon]
|
|
7
6
|
* @order 20
|
|
8
7
|
*/
|
|
9
|
-
export declare class ThyButtonIcon
|
|
8
|
+
export declare class ThyButtonIcon {
|
|
10
9
|
/**
|
|
11
10
|
* 大小
|
|
12
11
|
* @type xs | sm | md | lg
|
|
13
12
|
* @default 36px
|
|
14
13
|
*/
|
|
15
|
-
|
|
14
|
+
readonly thySize: import("@angular/core").InputSignal<string>;
|
|
16
15
|
/**
|
|
17
16
|
* 图标, 和`thyButtonIcon`相同,当使用`thy-button-icon`时,只能使用 thyIcon 设置图标
|
|
18
17
|
*/
|
|
19
|
-
|
|
18
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
20
19
|
/**
|
|
21
20
|
* 图标按钮的图标
|
|
22
21
|
*/
|
|
23
|
-
|
|
22
|
+
readonly thyButtonIcon: import("@angular/core").InputSignal<string>;
|
|
24
23
|
/**
|
|
25
24
|
* 展示的形状,默认只显示字体图标图标,circle-dashed, circle-solid 展示成虚线,实线边框圆形图标, circle-thick-dashed, circle-thick-solid 边框加粗
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
readonly thyShape: import("@angular/core").InputSignal<ThyButtonIconShape>;
|
|
28
27
|
/**
|
|
29
28
|
* 亮色,颜色更浅,适合左侧导航顶部的按钮
|
|
30
29
|
* @default false
|
|
31
30
|
*/
|
|
32
|
-
|
|
31
|
+
readonly thyLight: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
32
|
/**
|
|
34
33
|
* 设置为选中状态
|
|
35
34
|
* @default false
|
|
36
35
|
*/
|
|
37
|
-
|
|
36
|
+
readonly thyActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
38
37
|
/**
|
|
39
38
|
* 按钮展示类型,默认图标移上去显示主色, danger-weak 鼠标移上去显示 danger 红色
|
|
40
39
|
*/
|
|
41
|
-
|
|
40
|
+
readonly thyTheme: import("@angular/core").InputSignal<string>;
|
|
41
|
+
readonly thyColor: import("@angular/core").InputSignal<string>;
|
|
42
42
|
constructor();
|
|
43
|
-
private initialized;
|
|
44
|
-
private shape;
|
|
45
|
-
private size;
|
|
46
43
|
private hostRenderer;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
svgIconName: string;
|
|
52
|
-
_isBtn: boolean;
|
|
53
|
-
_isBtnIcon: boolean;
|
|
54
|
-
_isLighted: boolean;
|
|
55
|
-
_isActive: boolean;
|
|
56
|
-
thyColor: string;
|
|
57
|
-
private setIconClass;
|
|
44
|
+
private icon;
|
|
45
|
+
private isWtfIcon;
|
|
46
|
+
protected svgIconName: import("@angular/core").Signal<string>;
|
|
47
|
+
protected iconClasses: import("@angular/core").Signal<string[]>;
|
|
58
48
|
private setClasses;
|
|
59
|
-
ngOnInit(): void;
|
|
60
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyButtonIcon, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyButtonIcon, "thy-button-icon,[thy-button-icon],[thyButtonIcon]", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyButtonIcon": { "alias": "thyButtonIcon"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyLight": { "alias": "thyLight"; "required": false; }; "thyActive": { "alias": "thyActive"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
62
|
-
static ngAcceptInputType_thyLight: boolean | string | number;
|
|
63
|
-
static ngAcceptInputType_thyActive: boolean | string | number;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyButtonIcon, "thy-button-icon,[thy-button-icon],[thyButtonIcon]", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyButtonIcon": { "alias": "thyButtonIcon"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyLight": { "alias": "thyLight"; "required": false; "isSignal": true; }; "thyActive": { "alias": "thyActive"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
64
51
|
}
|