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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type ThyStatisticColorType = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
4
4
|
export type ThyStatisticShape = 'card';
|
|
@@ -8,109 +8,104 @@ export type ThyStatisticTitlePosition = 'top' | 'bottom';
|
|
|
8
8
|
* 用于展示数据统计
|
|
9
9
|
* @name thy-statistic
|
|
10
10
|
*/
|
|
11
|
-
export declare class ThyStatistic
|
|
12
|
-
private elementRef;
|
|
13
|
-
_shape: ThyStatisticShape;
|
|
14
|
-
_initialized: boolean;
|
|
15
|
-
_size: ThyStatisticSizes;
|
|
16
|
-
prefixTemplate: TemplateRef<void>;
|
|
17
|
-
suffixTemplate: TemplateRef<void>;
|
|
18
|
-
valueTemplate: TemplateRef<void>;
|
|
19
|
-
titleTemplate: TemplateRef<void>;
|
|
20
|
-
private hostRenderer;
|
|
21
|
-
class: boolean;
|
|
11
|
+
export declare class ThyStatistic {
|
|
22
12
|
/**
|
|
23
13
|
* @description 展示数据
|
|
24
14
|
* @type number | string
|
|
25
15
|
*/
|
|
26
|
-
thyValue:
|
|
16
|
+
readonly thyValue: import("@angular/core").InputSignal<string | number>;
|
|
27
17
|
/**
|
|
28
18
|
* @description 展示数据的 css 样式
|
|
29
19
|
* @type { [key: string]: string; }
|
|
30
20
|
*/
|
|
31
|
-
thyValueStyle: {
|
|
21
|
+
readonly thyValueStyle: import("@angular/core").InputSignal<{
|
|
32
22
|
[key: string]: string;
|
|
33
|
-
}
|
|
23
|
+
}>;
|
|
34
24
|
/**
|
|
35
25
|
* @description 展示数据的前缀
|
|
36
26
|
* @type string
|
|
37
27
|
*/
|
|
38
|
-
thyPrefix: string
|
|
28
|
+
readonly thyPrefix: import("@angular/core").InputSignal<string>;
|
|
39
29
|
/**
|
|
40
30
|
* @description 展示数据的后缀
|
|
41
31
|
* @type string
|
|
42
32
|
*/
|
|
43
|
-
thySuffix: string
|
|
33
|
+
readonly thySuffix: import("@angular/core").InputSignal<string>;
|
|
44
34
|
/**
|
|
45
35
|
* @description 展示数据的标题
|
|
46
36
|
* @type string
|
|
47
37
|
*/
|
|
48
|
-
thyTitle: string
|
|
38
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
49
39
|
/**
|
|
50
40
|
* @description 展示数据标题的位置,可设置 `top`|`bottom`
|
|
51
41
|
* @type ThyStatisticTitlePosition
|
|
52
42
|
*/
|
|
53
|
-
thyTitlePosition: ThyStatisticTitlePosition
|
|
43
|
+
readonly thyTitlePosition: import("@angular/core").InputSignal<ThyStatisticTitlePosition>;
|
|
54
44
|
/**
|
|
55
45
|
* @description 展示形状
|
|
56
46
|
* @type ThyStatisticShape
|
|
57
47
|
* @default card
|
|
58
48
|
*/
|
|
59
|
-
|
|
49
|
+
readonly thyShape: import("@angular/core").InputSignal<"card">;
|
|
60
50
|
/**
|
|
61
51
|
* @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColorType` 中包含 `primary` | `success` | `warning` | `danger` | `info`
|
|
62
52
|
* @type ThyStatisticColorType | string
|
|
63
53
|
*/
|
|
64
|
-
thyColor: string
|
|
54
|
+
readonly thyColor: import("@angular/core").InputSignal<string>;
|
|
65
55
|
/**
|
|
66
56
|
* @description 前缀和展示数据字体大小
|
|
67
57
|
* @type ThyStatisticSizes
|
|
68
58
|
* @default default
|
|
69
59
|
*/
|
|
70
|
-
|
|
60
|
+
readonly thySize: import("@angular/core").InputSignal<"default">;
|
|
71
61
|
/**
|
|
72
62
|
* @description 自定义展示数据模板
|
|
73
63
|
* @type TemplateRef<void>
|
|
74
64
|
*/
|
|
75
|
-
|
|
65
|
+
readonly thyValueTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
76
66
|
/**
|
|
77
|
-
* @description
|
|
67
|
+
* @description 自定义标题模板
|
|
78
68
|
* @type TemplateRef<void>
|
|
79
69
|
*/
|
|
80
|
-
|
|
70
|
+
readonly thyTitleTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
81
71
|
/**
|
|
82
|
-
* @description
|
|
72
|
+
* @description 自定义前缀模板
|
|
83
73
|
* @type TemplateRef<void>
|
|
84
74
|
*/
|
|
85
|
-
|
|
75
|
+
readonly thyPrefixTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
86
76
|
/**
|
|
87
|
-
* @description
|
|
77
|
+
* @description 自定义后缀模板
|
|
88
78
|
* @type TemplateRef<void>
|
|
89
79
|
*/
|
|
90
|
-
|
|
80
|
+
readonly thySuffixTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
91
81
|
/**
|
|
92
|
-
* @description
|
|
82
|
+
* @description 自定义展示数据模板
|
|
93
83
|
* @type TemplateRef<void>
|
|
94
84
|
*/
|
|
95
|
-
|
|
85
|
+
readonly contentValueTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
96
86
|
/**
|
|
97
|
-
* @description
|
|
87
|
+
* @description 自定义标题模板
|
|
98
88
|
* @type TemplateRef<void>
|
|
99
89
|
*/
|
|
100
|
-
|
|
90
|
+
readonly contentTitleTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
101
91
|
/**
|
|
102
|
-
* @description
|
|
92
|
+
* @description 自定义前缀模板
|
|
103
93
|
* @type TemplateRef<void>
|
|
104
94
|
*/
|
|
105
|
-
|
|
95
|
+
readonly contentPrefixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
106
96
|
/**
|
|
107
97
|
* @description 自定义后缀模板
|
|
108
98
|
* @type TemplateRef<void>
|
|
109
99
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
100
|
+
readonly contentSuffixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
101
|
+
readonly valueTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
102
|
+
readonly titleTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
103
|
+
readonly prefixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
104
|
+
readonly suffixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
|
|
105
|
+
private hostRenderer;
|
|
106
|
+
constructor();
|
|
107
|
+
private setClassesByType;
|
|
108
|
+
private setColor;
|
|
114
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStatistic, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStatistic, "thy-statistic", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyValueStyle": { "alias": "thyValueStyle"; "required": false; }; "thyPrefix": { "alias": "thyPrefix"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyTitlePosition": { "alias": "thyTitlePosition"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyValueTemplate": { "alias": "thyValueTemplate"; "required": false; }; "thyTitleTemplate": { "alias": "thyTitleTemplate"; "required": false; }; "thyPrefixTemplate": { "alias": "thyPrefixTemplate"; "required": false; }; "thySuffixTemplate": { "alias": "thySuffixTemplate"; "required": false; }; }, {}, ["
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStatistic, "thy-statistic", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyValueStyle": { "alias": "thyValueStyle"; "required": false; "isSignal": true; }; "thyPrefix": { "alias": "thyPrefix"; "required": false; "isSignal": true; }; "thySuffix": { "alias": "thySuffix"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyTitlePosition": { "alias": "thyTitlePosition"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyValueTemplate": { "alias": "thyValueTemplate"; "required": false; "isSignal": true; }; "thyTitleTemplate": { "alias": "thyTitleTemplate"; "required": false; "isSignal": true; }; "thyPrefixTemplate": { "alias": "thyPrefixTemplate"; "required": false; "isSignal": true; }; "thySuffixTemplate": { "alias": "thySuffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["contentValueTemplate", "contentTitleTemplate", "contentPrefixTemplate", "contentSuffixTemplate"], never, true, never>;
|
|
116
111
|
}
|
|
@@ -5,15 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* @order 25
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyStepHeader {
|
|
8
|
-
label: string
|
|
9
|
-
icon: string
|
|
10
|
-
index: number
|
|
11
|
-
selected: boolean
|
|
12
|
-
active: boolean
|
|
13
|
-
thyStepHeader: boolean;
|
|
8
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly icon: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly index: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
|
+
readonly selected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStepHeader, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepHeader, "thy-step-header", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
static ngAcceptInputType_index: unknown;
|
|
17
|
-
static ngAcceptInputType_selected: boolean | string | number;
|
|
18
|
-
static ngAcceptInputType_active: boolean | string | number;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepHeader, "thy-step-header", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface IThyStepperComponent {
|
|
4
|
-
|
|
4
|
+
updateSelected(step: ThyStep): void;
|
|
5
5
|
}
|
|
6
6
|
export declare const THY_STEPPER_COMPONENT: InjectionToken<IThyStepperComponent>;
|
|
7
7
|
/**
|
|
@@ -11,18 +11,18 @@ export declare const THY_STEPPER_COMPONENT: InjectionToken<IThyStepperComponent>
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class ThyStep {
|
|
13
13
|
stepper: IThyStepperComponent;
|
|
14
|
-
content: TemplateRef<any
|
|
15
|
-
label: string
|
|
14
|
+
readonly content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
15
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
16
16
|
/**
|
|
17
17
|
* 步骤条中每个步骤的label文本
|
|
18
18
|
*/
|
|
19
|
-
thyLabel: string
|
|
19
|
+
readonly thyLabel: import("@angular/core").InputSignal<string>;
|
|
20
20
|
/**
|
|
21
21
|
* 步骤条中每个步骤完成的图标
|
|
22
22
|
* @default check-circle
|
|
23
23
|
*/
|
|
24
|
-
thyIcon: string
|
|
24
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
25
25
|
select(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStep, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStep, "thy-step", never, { "label": { "alias": "label"; "required": false; }; "thyLabel": { "alias": "thyLabel"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStep, "thy-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "thyLabel": { "alias": "thyLabel"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
28
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { QueryList, EventEmitter } from '@angular/core';
|
|
2
1
|
import { ThyStep, IThyStepperComponent } from './step.component';
|
|
3
|
-
import { ThyStepHeader } from './step-header.component';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* 步骤条组件
|
|
@@ -9,31 +7,28 @@ import * as i0 from "@angular/core";
|
|
|
9
7
|
*/
|
|
10
8
|
export declare class ThyStepper implements IThyStepperComponent {
|
|
11
9
|
/**
|
|
12
|
-
* 当前处于激活状态的步骤index
|
|
13
|
-
* @default 0
|
|
10
|
+
* 当前处于激活状态的步骤 index
|
|
14
11
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
readonly thySelectedIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* 当前处于激活状态的步骤实例
|
|
15
|
+
*/
|
|
16
|
+
readonly thySelected: import("@angular/core").InputSignal<ThyStep>;
|
|
17
17
|
/**
|
|
18
18
|
* 步骤条导航是否展示,默认展示
|
|
19
19
|
*/
|
|
20
|
-
thyShowStepHeader: boolean
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
steps: QueryList<ThyStep>;
|
|
29
|
-
thyStepper: boolean;
|
|
30
|
-
private _updateSelectedItemIndex;
|
|
20
|
+
readonly thyShowStepHeader: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly selectionChange: import("@angular/core").OutputEmitterRef<any>;
|
|
22
|
+
readonly steps: import("@angular/core").Signal<readonly ThyStep[]>;
|
|
23
|
+
protected selectedIndex: import("@angular/core").WritableSignal<number>;
|
|
24
|
+
protected readonly selected: import("@angular/core").Signal<ThyStep>;
|
|
25
|
+
constructor();
|
|
26
|
+
private updateSelectedIndex;
|
|
27
|
+
updateSelected(step: ThyStep): void;
|
|
31
28
|
to(index: number): void;
|
|
32
29
|
next(): void;
|
|
33
30
|
/** Selects and focuses the previous step in list. */
|
|
34
31
|
previous(): void;
|
|
35
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStepper, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepper, "thy-stepper", never, { "thySelectedIndex": { "alias": "thySelectedIndex"; "required": false; }; "thySelected": { "alias": "thySelected"; "required": false; }; "thyShowStepHeader": { "alias": "thyShowStepHeader"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["steps"], never, true, never>;
|
|
37
|
-
static ngAcceptInputType_thySelectedIndex: unknown;
|
|
38
|
-
static ngAcceptInputType_thyShowStepHeader: boolean | string | number;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepper, "thy-stepper", never, { "thySelectedIndex": { "alias": "thySelectedIndex"; "required": false; "isSignal": true; }; "thySelected": { "alias": "thySelected"; "required": false; "isSignal": true; }; "thyShowStepHeader": { "alias": "thyShowStepHeader"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, ["steps"], never, true, never>;
|
|
39
34
|
}
|
|
@@ -17,10 +17,9 @@ declare enum ThyStrengthEnum {
|
|
|
17
17
|
export declare class ThyStrength implements OnInit, ControlValueAccessor {
|
|
18
18
|
translate: ThyTranslate;
|
|
19
19
|
styleClass: boolean;
|
|
20
|
-
strengthTitle: string;
|
|
21
20
|
strength: ThyStrengthEnum;
|
|
22
21
|
locale: Signal<ThyStrengthLocale>;
|
|
23
|
-
strengthMap: {
|
|
22
|
+
readonly strengthMap: Signal<{
|
|
24
23
|
4: {
|
|
25
24
|
level: string;
|
|
26
25
|
text: string;
|
|
@@ -37,31 +36,27 @@ export declare class ThyStrength implements OnInit, ControlValueAccessor {
|
|
|
37
36
|
level: string;
|
|
38
37
|
text: string;
|
|
39
38
|
};
|
|
40
|
-
}
|
|
39
|
+
}>;
|
|
41
40
|
/**
|
|
42
41
|
* 组件标题,描述程度所指类型
|
|
43
42
|
*/
|
|
44
|
-
|
|
43
|
+
readonly titleKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
45
44
|
/**
|
|
46
45
|
* 程度最高值文本
|
|
47
|
-
* @default 最高
|
|
48
46
|
*/
|
|
49
|
-
|
|
47
|
+
readonly highestKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
50
48
|
/**
|
|
51
49
|
* 程度为高值时展示的文本
|
|
52
|
-
* @default 高
|
|
53
50
|
*/
|
|
54
|
-
|
|
51
|
+
readonly highKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
55
52
|
/**
|
|
56
53
|
* 程度为中值时展示的文本
|
|
57
|
-
* @default 中
|
|
58
54
|
*/
|
|
59
|
-
|
|
55
|
+
readonly averageKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
60
56
|
/**
|
|
61
57
|
* 程度为低值时展示的文本
|
|
62
|
-
* @default 低
|
|
63
58
|
*/
|
|
64
|
-
|
|
59
|
+
readonly lowKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
65
60
|
private _onChange;
|
|
66
61
|
private _onTouched;
|
|
67
62
|
ngOnInit(): void;
|
|
@@ -69,6 +64,6 @@ export declare class ThyStrength implements OnInit, ControlValueAccessor {
|
|
|
69
64
|
registerOnChange(fn: (value: any) => any): void;
|
|
70
65
|
registerOnTouched(fn: () => any): void;
|
|
71
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStrength, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStrength, "thy-strength", never, { "titleKey": { "alias": "titleKey"; "required": false; }; "highestKey": { "alias": "highestKey"; "required": false; }; "highKey": { "alias": "highKey"; "required": false; }; "averageKey": { "alias": "averageKey"; "required": false; }; "lowKey": { "alias": "lowKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStrength, "thy-strength", never, { "titleKey": { "alias": "titleKey"; "required": false; "isSignal": true; }; "highestKey": { "alias": "highestKey"; "required": false; "isSignal": true; }; "highKey": { "alias": "highKey"; "required": false; "isSignal": true; }; "averageKey": { "alias": "averageKey"; "required": false; "isSignal": true; }; "lowKey": { "alias": "lowKey"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
73
68
|
}
|
|
74
69
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -7,64 +7,53 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @name thy-switch
|
|
8
8
|
* @order 10
|
|
9
9
|
*/
|
|
10
|
-
export declare class ThySwitch extends TabIndexDisabledControlValueAccessorMixin implements
|
|
11
|
-
cdr: ChangeDetectorRef;
|
|
12
|
-
model: boolean;
|
|
13
|
-
type?: string;
|
|
14
|
-
size?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
loading: boolean;
|
|
17
|
-
classNames: string[];
|
|
18
|
-
typeArray: string[];
|
|
19
|
-
sizeArray: string[];
|
|
20
|
-
loadingCircle: {
|
|
21
|
-
viewBox?: string;
|
|
22
|
-
cx?: number;
|
|
23
|
-
cy?: number;
|
|
24
|
-
r?: number;
|
|
25
|
-
dasharray?: string;
|
|
26
|
-
};
|
|
27
|
-
private initialized;
|
|
28
|
-
private loadingInitialized;
|
|
29
|
-
private isDisabledFirstChange;
|
|
30
|
-
switchElementRef: ElementRef;
|
|
10
|
+
export declare class ThySwitch extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {
|
|
31
11
|
/**
|
|
32
12
|
* 类型,目前分为: 'primary' |'info' | 'warning' | 'danger'
|
|
33
13
|
*/
|
|
34
|
-
|
|
14
|
+
readonly thyType: import("@angular/core").InputSignal<string>;
|
|
35
15
|
/**
|
|
36
16
|
* 大小
|
|
37
17
|
* @type xs | sm | md
|
|
38
18
|
* @default md
|
|
39
19
|
*/
|
|
40
|
-
|
|
20
|
+
readonly thySize: import("@angular/core").InputSignal<string>;
|
|
41
21
|
/**
|
|
42
22
|
* 是否属于禁用状态
|
|
43
23
|
*/
|
|
44
|
-
|
|
45
|
-
get thyDisabled(): boolean;
|
|
24
|
+
readonly inputDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
46
25
|
/**
|
|
47
26
|
* 是否加载中
|
|
48
27
|
*/
|
|
49
|
-
|
|
28
|
+
readonly thyLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
50
29
|
/**
|
|
51
30
|
* 数据变化的回调事件,即将被弃用,请使用 ngModelChange
|
|
52
31
|
* @deprecated
|
|
53
32
|
*/
|
|
54
|
-
thyChange:
|
|
55
|
-
|
|
56
|
-
|
|
33
|
+
thyChange: import("@angular/core").OutputEmitterRef<Event>;
|
|
34
|
+
model: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
get thyDisabled(): boolean;
|
|
37
|
+
readonly type: import("@angular/core").Signal<string>;
|
|
38
|
+
readonly size: import("@angular/core").Signal<string>;
|
|
39
|
+
readonly classNames: import("@angular/core").Signal<string[]>;
|
|
40
|
+
readonly loadingCircle: import("@angular/core").Signal<{
|
|
41
|
+
viewBox: string;
|
|
42
|
+
cx: number;
|
|
43
|
+
cy: number;
|
|
44
|
+
r: number;
|
|
45
|
+
dasharray: string;
|
|
46
|
+
}>;
|
|
57
47
|
onModelChange: Function;
|
|
58
48
|
onModelTouched: Function;
|
|
49
|
+
readonly switchElementRef: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
50
|
+
private cdr;
|
|
51
|
+
constructor();
|
|
59
52
|
writeValue(value: boolean): void;
|
|
60
53
|
registerOnChange(fn: Function): void;
|
|
61
54
|
registerOnTouched(fn: Function): void;
|
|
62
55
|
setDisabledState(isDisabled: boolean): void;
|
|
63
56
|
toggle(event: Event): void;
|
|
64
|
-
setClassNames(): void;
|
|
65
|
-
setLoadingCircle(): void;
|
|
66
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySwitch, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySwitch, "thy-switch", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "
|
|
68
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
69
|
-
static ngAcceptInputType_thyLoading: boolean | string | number;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySwitch, "thy-switch", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "inputDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyLoading": { "alias": "thyLoading"; "required": false; "isSignal": true; }; }, { "thyChange": "thyChange"; }, never, never, true, never>;
|
|
70
59
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyTableSortDirection, ThyTableSortEvent } from './table.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
export interface IThyTableColumnParentComponent {
|
|
5
6
|
rowKey: string;
|
|
6
7
|
updateColumnSelections(key: string, selections: any): void;
|
|
@@ -112,9 +113,9 @@ export declare class ThyTableColumnComponent implements OnInit {
|
|
|
112
113
|
private _generateKey;
|
|
113
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableColumnComponent, never>;
|
|
114
115
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableColumnComponent, "thy-table-column", never, { "model": { "alias": "thyModelKey"; "required": false; }; "title": { "alias": "thyTitle"; "required": false; }; "type": { "alias": "thyType"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "className": { "alias": "thyClassName"; "required": false; }; "headerClassName": { "alias": "thyHeaderClassName"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; "selections": { "alias": "thySelections"; "required": false; }; "defaultText": { "alias": "thyDefaultText"; "required": false; }; "expand": { "alias": "thyExpand"; "required": false; }; "thySortable": { "alias": "thySortable"; "required": false; }; "sortDirection": { "alias": "thySortDirection"; "required": false; }; "fixed": { "alias": "thyFixed"; "required": false; }; "operational": { "alias": "thyOperational"; "required": false; }; "secondary": { "alias": "thySecondary"; "required": false; }; }, { "sortChange": "thySortChange"; }, ["headerTemplateRef", "cellTemplateRef", "templateRef"], ["*"], true, never>;
|
|
115
|
-
static ngAcceptInputType_disabled:
|
|
116
|
-
static ngAcceptInputType_expand:
|
|
117
|
-
static ngAcceptInputType_thySortable:
|
|
118
|
-
static ngAcceptInputType_operational:
|
|
119
|
-
static ngAcceptInputType_secondary:
|
|
116
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput;
|
|
117
|
+
static ngAcceptInputType_expand: i1.ThyBooleanInput;
|
|
118
|
+
static ngAcceptInputType_thySortable: i1.ThyBooleanInput;
|
|
119
|
+
static ngAcceptInputType_operational: i1.ThyBooleanInput;
|
|
120
|
+
static ngAcceptInputType_secondary: i1.ThyBooleanInput;
|
|
120
121
|
}
|
|
@@ -3,6 +3,7 @@ import { ThyTableSkeletonColumn } from './table.interface';
|
|
|
3
3
|
import { ThyTableColumnSkeletonType } from './enums';
|
|
4
4
|
import { ThyTableSize, ThyTableTheme } from './table.type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "ngx-tethys/util";
|
|
6
7
|
/**
|
|
7
8
|
* 表格的骨架屏组件
|
|
8
9
|
* @name thy-table-skeleton
|
|
@@ -87,14 +88,6 @@ export declare class ThyTableSkeleton implements AfterViewInit {
|
|
|
87
88
|
ngAfterViewInit(): void;
|
|
88
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableSkeleton, never>;
|
|
89
90
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableSkeleton, "thy-table-skeleton", never, { "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; "thyHeadless": { "alias": "thyHeadless"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "thyColumns": { "alias": "thyColumns"; "required": false; }; }, {}, never, never, true, never>;
|
|
90
|
-
static ngAcceptInputType_thyAnimated:
|
|
91
|
-
|
|
92
|
-
* 行数
|
|
93
|
-
*/
|
|
94
|
-
string | number;
|
|
95
|
-
static ngAcceptInputType_thyHeadless: boolean |
|
|
96
|
-
/**
|
|
97
|
-
* 行数
|
|
98
|
-
*/
|
|
99
|
-
string | number;
|
|
91
|
+
static ngAcceptInputType_thyAnimated: i1.ThyBooleanInput;
|
|
92
|
+
static ngAcceptInputType_thyHeadless: i1.ThyBooleanInput;
|
|
100
93
|
}
|
|
@@ -6,6 +6,7 @@ import { PageChangedEvent, ThyMultiSelectEvent, ThyPage, ThyRadioSelectEvent, Th
|
|
|
6
6
|
import { ThyTableColumnSkeletonType } from './enums';
|
|
7
7
|
import { ThyTableTheme, ThyTableMode, ThyTableSize } from './table.type';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "ngx-tethys/util";
|
|
9
10
|
export declare enum ThyFixedDirection {
|
|
10
11
|
left = "left",
|
|
11
12
|
right = "right"
|
|
@@ -314,19 +315,19 @@ export declare class ThyTable implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
314
315
|
ngOnDestroy(): void;
|
|
315
316
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTable, never>;
|
|
316
317
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTable, "thy-table", never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyGroupBy": { "alias": "thyGroupBy"; "required": false; }; "thyRowKey": { "alias": "thyRowKey"; "required": false; }; "thyGroups": { "alias": "thyGroups"; "required": false; }; "thyModel": { "alias": "thyModel"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "thyLayoutFixed": { "alias": "thyLayoutFixed"; "required": false; }; "thyHeaderFixed": { "alias": "thyHeaderFixed"; "required": false; }; "thyHeight": { "alias": "thyHeight"; "required": false; }; "thyClassName": { "alias": "thyClassName"; "required": false; }; "thyRowClassName": { "alias": "thyRowClassName"; "required": false; }; "thyLoadingDone": { "alias": "thyLoadingDone"; "required": false; }; "thyLoadingText": { "alias": "thyLoadingText"; "required": false; }; "thyEmptyOptions": { "alias": "thyEmptyOptions"; "required": false; }; "thyDraggable": { "alias": "thyDraggable"; "required": false; }; "thyPageIndex": { "alias": "thyPageIndex"; "required": false; }; "thyPageSize": { "alias": "thyPageSize"; "required": false; }; "thyPageTotal": { "alias": "thyPageTotal"; "required": false; }; "thyWholeRowSelect": { "alias": "thyWholeRowSelect"; "required": false; }; "thyHeadless": { "alias": "thyHeadless"; "required": false; }; "thyShowHeader": { "alias": "thyShowHeader"; "required": false; }; "showTotal": { "alias": "thyShowTotal"; "required": false; }; "showSizeChanger": { "alias": "thyShowSizeChanger"; "required": false; }; "pageSizeOptions": { "alias": "thyPageSizeOptions"; "required": false; }; "thyIndent": { "alias": "thyIndent"; "required": false; }; "thyChildrenKey": { "alias": "thyChildrenKey"; "required": false; }; "thyHoverDisplayOperation": { "alias": "thyHoverDisplayOperation"; "required": false; }; "thyDragDisabledPredicate": { "alias": "thyDragDisabledPredicate"; "required": false; }; "thyColumnSkeletonTypes": { "alias": "thyColumnSkeletonTypes"; "required": false; }; }, { "thyOnSwitchChange": "thyOnSwitchChange"; "thyOnPageChange": "thyOnPageChange"; "thyOnPageIndexChange": "thyOnPageIndexChange"; "thyOnPageSizeChange": "thyOnPageSizeChange"; "thyOnMultiSelectChange": "thyOnMultiSelectChange"; "thyOnRadioSelectChange": "thyOnRadioSelectChange"; "thyOnDraggableChange": "thyOnDraggableChange"; "thyOnRowClick": "thyOnRowClick"; "thySortChange": "thySortChange"; "thyOnRowContextMenu": "thyOnRowContextMenu"; }, ["emptyTemplate", "groupTemplate", "listOfColumnComponents"], ["*"], true, never>;
|
|
317
|
-
static ngAcceptInputType_thyLayoutFixed:
|
|
318
|
-
static ngAcceptInputType_thyHeaderFixed:
|
|
319
|
-
static ngAcceptInputType_thyLoadingDone:
|
|
320
|
-
static ngAcceptInputType_thyDraggable:
|
|
318
|
+
static ngAcceptInputType_thyLayoutFixed: i1.ThyBooleanInput;
|
|
319
|
+
static ngAcceptInputType_thyHeaderFixed: i1.ThyBooleanInput;
|
|
320
|
+
static ngAcceptInputType_thyLoadingDone: i1.ThyBooleanInput;
|
|
321
|
+
static ngAcceptInputType_thyDraggable: i1.ThyBooleanInput;
|
|
321
322
|
static ngAcceptInputType_thyPageIndex: unknown;
|
|
322
323
|
static ngAcceptInputType_thyPageSize: unknown;
|
|
323
324
|
static ngAcceptInputType_thyPageTotal: unknown;
|
|
324
|
-
static ngAcceptInputType_thyWholeRowSelect:
|
|
325
|
-
static ngAcceptInputType_thyHeadless:
|
|
326
|
-
static ngAcceptInputType_thyShowHeader:
|
|
327
|
-
static ngAcceptInputType_showTotal:
|
|
328
|
-
static ngAcceptInputType_showSizeChanger:
|
|
325
|
+
static ngAcceptInputType_thyWholeRowSelect: i1.ThyBooleanInput;
|
|
326
|
+
static ngAcceptInputType_thyHeadless: i1.ThyBooleanInput;
|
|
327
|
+
static ngAcceptInputType_thyShowHeader: i1.ThyBooleanInput;
|
|
328
|
+
static ngAcceptInputType_showTotal: i1.ThyBooleanInput;
|
|
329
|
+
static ngAcceptInputType_showSizeChanger: i1.ThyBooleanInput;
|
|
329
330
|
static ngAcceptInputType_thyIndent: unknown;
|
|
330
|
-
static ngAcceptInputType_thyHoverDisplayOperation:
|
|
331
|
+
static ngAcceptInputType_thyHoverDisplayOperation: i1.ThyBooleanInput;
|
|
331
332
|
}
|
|
332
333
|
export {};
|
|
@@ -4,9 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* @private
|
|
5
5
|
*/
|
|
6
6
|
export declare class ThyTabContent {
|
|
7
|
-
content: TemplateRef<void
|
|
8
|
-
active: boolean
|
|
9
|
-
tabPaneAnimated: boolean
|
|
7
|
+
readonly content: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
8
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
readonly tabPaneAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTabContent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTabContent, "thy-tab-content, [thyTabContent]", ["thyTabContent"], { "content": { "alias": "content"; "required": false; }; "active": { "alias": "active"; "required": false; }; "tabPaneAnimated": { "alias": "tabPaneAnimated"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTabContent, "thy-tab-content, [thyTabContent]", ["thyTabContent"], { "content": { "alias": "content"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "tabPaneAnimated": { "alias": "tabPaneAnimated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
package/tabs/tab.component.d.ts
CHANGED
|
@@ -14,19 +14,18 @@ export declare class ThyTab implements OnInit {
|
|
|
14
14
|
/**
|
|
15
15
|
* 选项标题
|
|
16
16
|
*/
|
|
17
|
-
thyTitle: string
|
|
17
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
18
18
|
/**
|
|
19
19
|
* 选项的唯一标识
|
|
20
20
|
*/
|
|
21
|
-
id: string
|
|
21
|
+
readonly id: import("@angular/core").InputSignal<string>;
|
|
22
22
|
/**
|
|
23
23
|
* 是否禁用选项
|
|
24
24
|
* @default false
|
|
25
25
|
*/
|
|
26
|
-
thyDisabled: boolean
|
|
26
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
27
|
constructor();
|
|
28
28
|
ngOnInit(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTab, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTab, "thy-tab", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, ["titleTemplateRef"], ["*"], true, never>;
|
|
31
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTab, "thy-tab", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, ["titleTemplateRef"], ["*"], true, never>;
|
|
32
31
|
}
|