ngx-tethys 19.0.12 → 19.1.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/action/action.component.d.ts +2 -2
- 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 +1 -1
- package/avatar/avatar.component.d.ts +5 -5
- package/back-top/back-top.component.d.ts +9 -12
- package/badge/badge.component.d.ts +19 -59
- package/breadcrumb/breadcrumb.component.d.ts +15 -20
- package/button/button-icon.component.d.ts +3 -2
- package/button/button.component.d.ts +3 -2
- package/calendar/calendar-header.component.d.ts +9 -8
- package/calendar/calendar.component.d.ts +16 -16
- package/card/card.component.d.ts +5 -11
- package/card/content.component.d.ts +3 -8
- package/card/header.component.d.ts +7 -8
- package/carousel/carousel.component.d.ts +22 -27
- package/cascader/cascader-li.component.d.ts +13 -21
- package/cascader/cascader-search-option.component.d.ts +8 -16
- package/cascader/cascader.component.d.ts +58 -80
- package/checkbox/checkbox.component.d.ts +2 -5
- package/collapse/collapse-item.component.d.ts +12 -19
- package/collapse/collapse.component.d.ts +6 -12
- package/collapse/collapse.token.d.ts +3 -3
- package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
- package/color-picker/color-picker-panel.component.d.ts +7 -11
- package/color-picker/color-picker.component.d.ts +19 -35
- package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
- package/color-picker/parts/hue/hue.component.d.ts +6 -6
- package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
- package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
- package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
- package/comment/comment.component.d.ts +4 -5
- package/copy/copy.directive.d.ts +8 -9
- package/date-picker/abstract-picker.component.d.ts +8 -7
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
- package/date-picker/picker.component.d.ts +2 -1
- package/date-range/date-range.component.d.ts +2 -2
- package/dialog/body/dialog-body.component.d.ts +2 -6
- package/dialog/confirm/confirm.component.d.ts +2 -2
- package/dialog/footer/dialog-footer.component.d.ts +6 -9
- package/dialog/header/dialog-header.component.d.ts +9 -11
- package/divider/divider.component.d.ts +12 -16
- package/dot/dot.component.d.ts +5 -13
- package/drag-drop/drag-handle.directive.d.ts +2 -1
- package/drag-drop/drag.directive.d.ts +2 -1
- package/drag-drop/drop-container.directive.d.ts +2 -1
- package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
- package/dropdown/dropdown-menu.component.d.ts +2 -1
- package/dropdown/dropdown.directive.d.ts +2 -1
- package/empty/empty.component.d.ts +21 -27
- package/fesm2022/ngx-tethys-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.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +33 -46
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +104 -208
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +85 -87
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +72 -77
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +82 -99
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +313 -468
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +66 -71
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +16 -10
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +25 -28
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +81 -82
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +49 -58
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +45 -68
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +107 -95
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +161 -200
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +160 -152
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +25 -25
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +101 -114
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +268 -271
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +3 -3
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +106 -179
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +169 -201
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +230 -294
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +67 -70
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +196 -244
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +102 -105
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +34 -38
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +46 -28
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +75 -108
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +26 -46
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +114 -151
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +74 -107
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +80 -140
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -1
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +69 -87
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +42 -64
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +104 -129
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +36 -33
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +91 -130
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +36 -40
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-group-error/form-group-error.component.d.ts +2 -3
- package/form/form-group-label.directive.d.ts +2 -1
- package/form/form-group.component.d.ts +17 -24
- package/form/form-submit.directive.d.ts +2 -2
- package/form/form.directive.d.ts +6 -8
- package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
- package/form/validator/confirm-validator.directive.d.ts +2 -2
- package/form/validator/unique-validator.directive.d.ts +2 -2
- package/fullscreen/fullscreen.component.d.ts +7 -7
- package/grid/flex.d.ts +14 -19
- package/grid/thy-col.directive.d.ts +6 -9
- package/grid/thy-grid-item.component.d.ts +3 -4
- package/grid/thy-grid.component.d.ts +11 -12
- package/grid/thy-row.directive.d.ts +12 -12
- package/icon/icon.component.d.ts +3 -2
- package/image/image.directive.d.ts +3 -2
- package/input/input-count.component.d.ts +4 -5
- package/input/input-group.component.d.ts +20 -20
- package/input/input-search.component.d.ts +15 -20
- package/input/input.component.d.ts +20 -21
- package/input/input.directive.d.ts +4 -6
- package/input-number/input-number.component.d.ts +21 -29
- package/layout/header.component.d.ts +4 -9
- package/layout/sidebar-header.component.d.ts +2 -1
- package/layout/sidebar.component.d.ts +8 -7
- package/list/list.component.d.ts +2 -1
- package/list/selection/selection-list.d.ts +4 -3
- package/loading/loading.component.d.ts +4 -10
- package/mention/mention.directive.d.ts +2 -2
- package/menu/group/menu-group.component.d.ts +16 -33
- package/menu/item/action/menu-item-action.component.d.ts +7 -8
- package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
- package/menu/item/menu-item.component.d.ts +4 -4
- package/menu/item/name/menu-item-name.component.d.ts +2 -3
- package/menu/menu.component.d.ts +3 -7
- package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
- package/nav/icon-nav/icon-nav.component.d.ts +3 -8
- package/nav/nav-ink-bar.directive.d.ts +4 -6
- package/nav/nav-item.directive.d.ts +7 -10
- package/nav/nav.component.d.ts +20 -48
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +48 -109
- package/popover/header/popover-header.component.d.ts +7 -6
- package/popover/popover.directive.d.ts +11 -18
- package/progress/progress-circle.component.d.ts +32 -21
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +15 -23
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -13
- package/property/property-item.component.d.ts +21 -26
- package/property/styles/properties.scss +124 -52
- package/property-operation/property-operation.component.d.ts +6 -5
- package/radio/button/radio-button.component.d.ts +2 -2
- package/radio/group/radio-group.component.d.ts +8 -7
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +2 -1
- package/rate/rate.component.d.ts +4 -3
- package/resizable/resizable.directive.d.ts +4 -9
- package/resizable/resize-handle.component.d.ts +2 -1
- package/resizable/resize-handles.component.d.ts +2 -1
- package/result/result.component.d.ts +9 -10
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +2 -1
- package/segment/segment.component.d.ts +2 -1
- package/select/custom-select/custom-select.component.d.ts +11 -10
- package/select/native-select/native-select.component.d.ts +2 -1
- package/shared/base-form-check.component.d.ts +3 -2
- package/shared/directives/thy-autofocus.directive.d.ts +3 -2
- package/shared/directives/thy-scroll.directive.d.ts +2 -1
- package/shared/directives/thy-show.d.ts +2 -1
- package/shared/option/group/option-group.component.d.ts +2 -1
- package/shared/option/list-option/list-option.component.d.ts +2 -7
- package/shared/option/option.component.d.ts +2 -1
- package/shared/select/select-control/select-control.component.d.ts +7 -6
- package/skeleton/skeleton-circle.component.d.ts +16 -19
- package/skeleton/skeleton-rectangle.component.d.ts +20 -23
- package/skeleton/skeleton.component.d.ts +5 -6
- package/skeleton/stylized/bullet-list.component.d.ts +11 -13
- package/skeleton/stylized/list.component.d.ts +10 -12
- package/skeleton/stylized/paragraph.component.d.ts +12 -14
- package/slide/slide-body/slide-body-section.component.d.ts +2 -1
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +8 -8
- package/statistic/statistic.component.d.ts +35 -40
- package/stepper/step-header.component.d.ts +6 -10
- package/stepper/step.component.d.ts +6 -6
- package/stepper/stepper.component.d.ts +15 -20
- package/switch/switch.component.d.ts +24 -35
- package/table/table-column.component.d.ts +6 -5
- package/table/table-skeleton.component.d.ts +3 -10
- package/table/table.component.d.ts +11 -10
- package/tabs/tab-content.component.d.ts +4 -4
- package/tabs/tab.component.d.ts +4 -5
- package/tabs/tabs.component.d.ts +13 -15
- package/tag/tag.component.d.ts +10 -16
- package/time-picker/time-picker-panel.component.d.ts +3 -2
- package/time-picker/time-picker.component.d.ts +6 -5
- package/timeline/timeline-item.component.d.ts +9 -13
- package/timeline/timeline.component.d.ts +13 -17
- package/tooltip/tooltip.directive.d.ts +3 -2
- package/tree/tree-node.component.d.ts +6 -15
- package/tree/tree.component.d.ts +8 -7
- package/tree-select/tree-select.component.d.ts +8 -7
- package/typography/bg-color.directive.d.ts +3 -3
- package/typography/text/text.component.d.ts +2 -2
- package/typography/text-color.directive.d.ts +3 -3
- package/upload/file-drop.directive.d.ts +9 -11
- package/upload/file-select-base.d.ts +6 -10
- package/upload/file-select.component.d.ts +10 -20
- package/util/helpers/helpers.d.ts +2 -1
- package/vote/vote.component.d.ts +4 -3
- package/watermark/watermark.directive.d.ts +7 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef,
|
|
1
|
+
import { TemplateRef, OnInit, Signal } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type ThyDividerStyle = 'solid' | 'dashed';
|
|
4
4
|
export type ThyDividerTextDirection = 'left' | 'right' | 'center';
|
|
@@ -7,45 +7,41 @@ export type ThyDividerColor = 'lighter' | 'light' | 'danger' | 'primary' | 'succ
|
|
|
7
7
|
* 分割线
|
|
8
8
|
* @name thy-divider
|
|
9
9
|
*/
|
|
10
|
-
export declare class ThyDivider implements
|
|
11
|
-
templateContent: TemplateRef<HTMLElement>;
|
|
12
|
-
textContent: string;
|
|
10
|
+
export declare class ThyDivider implements OnInit {
|
|
13
11
|
private hostRenderer;
|
|
14
12
|
/**
|
|
15
13
|
* 是否垂直方向
|
|
16
|
-
* @default false
|
|
17
14
|
*/
|
|
18
|
-
thyVertical: boolean
|
|
15
|
+
readonly thyVertical: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
16
|
/**
|
|
20
17
|
* 分割线的风格
|
|
21
18
|
* @type solid(实线) | dashed(虚线)
|
|
22
19
|
*/
|
|
23
|
-
thyStyle: ThyDividerStyle
|
|
20
|
+
readonly thyStyle: import("@angular/core").InputSignal<ThyDividerStyle>;
|
|
24
21
|
/**
|
|
25
22
|
* 分割线的颜色,默认 #eee,light 为 #ddd,primary 主色,success 成功色,warning 警告色,danger 危险色
|
|
26
23
|
* @type 'lighter' | 'light' | 'danger' | 'primary' | 'success' | 'warning' | string
|
|
27
24
|
*/
|
|
28
|
-
thyColor:
|
|
25
|
+
readonly thyColor: import("@angular/core").InputSignal<string>;
|
|
29
26
|
/**
|
|
30
27
|
* 中间文本内容,支持文字和模板
|
|
31
28
|
*/
|
|
32
|
-
|
|
29
|
+
readonly thyText: import("@angular/core").InputSignal<string | TemplateRef<HTMLElement>>;
|
|
30
|
+
readonly templateContent: Signal<TemplateRef<HTMLElement>>;
|
|
31
|
+
readonly textContent: Signal<string>;
|
|
33
32
|
/**
|
|
34
33
|
* 中间内容的方向
|
|
35
34
|
* @type left | right | center
|
|
36
35
|
*/
|
|
37
|
-
thyTextDirection: ThyDividerTextDirection
|
|
36
|
+
readonly thyTextDirection: import("@angular/core").InputSignal<ThyDividerTextDirection>;
|
|
38
37
|
/**
|
|
39
38
|
* 颜色加深,已经废弃,请使用 thyColor="light" 代替
|
|
40
39
|
* @deprecated
|
|
41
40
|
*/
|
|
42
|
-
thyDeeper: boolean
|
|
41
|
+
readonly thyDeeper: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
43
42
|
constructor();
|
|
44
43
|
ngOnInit(): void;
|
|
45
|
-
|
|
46
|
-
setColor(color: ThyDividerColor): void;
|
|
44
|
+
setColor(): void;
|
|
47
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDivider, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDivider, "thy-divider", never, { "thyVertical": { "alias": "thyVertical"; "required": false; }; "thyStyle": { "alias": "thyStyle"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thyText": { "alias": "thyText"; "required": false; }; "thyTextDirection": { "alias": "thyTextDirection"; "required": false; }; "thyDeeper": { "alias": "thyDeeper"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
-
static ngAcceptInputType_thyVertical: boolean | string | number;
|
|
50
|
-
static ngAcceptInputType_thyDeeper: boolean | string | number;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDivider, "thy-divider", never, { "thyVertical": { "alias": "thyVertical"; "required": false; "isSignal": true; }; "thyStyle": { "alias": "thyStyle"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thyText": { "alias": "thyText"; "required": false; "isSignal": true; }; "thyTextDirection": { "alias": "thyTextDirection"; "required": false; "isSignal": true; }; "thyDeeper": { "alias": "thyDeeper"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
47
|
}
|
package/dot/dot.component.d.ts
CHANGED
|
@@ -17,37 +17,29 @@ export declare const DEFAULT_SHAPE_NAME = "circle";
|
|
|
17
17
|
export declare class ThyDot {
|
|
18
18
|
private el;
|
|
19
19
|
private renderer;
|
|
20
|
-
size: ThySizeType;
|
|
21
|
-
theme: ThyThemeType;
|
|
22
|
-
shape: ThyShapeType;
|
|
23
|
-
color: ThyColorType;
|
|
24
20
|
private nativeElement;
|
|
25
21
|
constructor();
|
|
26
22
|
/**
|
|
27
23
|
* 颜色,可选值为:`primary` `success` `info` `warning` `danger` `default` `light`和自定义颜色,如`#2cccda` `red` `rgb(153, 153, 153)`
|
|
28
24
|
* @type ThyThemeColor | string
|
|
29
|
-
* @default primary
|
|
30
25
|
*/
|
|
31
|
-
|
|
26
|
+
readonly thyColor: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
32
27
|
/**
|
|
33
28
|
* 大小
|
|
34
29
|
* @type xs | sm | md | lg | xlg
|
|
35
|
-
* @default sm
|
|
36
30
|
*/
|
|
37
|
-
|
|
31
|
+
readonly thySize: import("@angular/core").InputSignalWithTransform<ThySizeType, ThySizeType>;
|
|
38
32
|
/**
|
|
39
33
|
* 主题
|
|
40
34
|
* @type outline(线框) | fill(填充)
|
|
41
|
-
* @default fill
|
|
42
35
|
*/
|
|
43
|
-
|
|
36
|
+
readonly thyTheme: import("@angular/core").InputSignalWithTransform<ThyThemeType, ThyThemeType>;
|
|
44
37
|
/**
|
|
45
38
|
* 形状
|
|
46
39
|
* @type circle(圆形) | square(方形)
|
|
47
|
-
* @default circle
|
|
48
40
|
*/
|
|
49
|
-
|
|
41
|
+
readonly thyShape: import("@angular/core").InputSignalWithTransform<ThyShapeType, ThyShapeType>;
|
|
50
42
|
updateColorStyle(): void;
|
|
51
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDot, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDot, "thy-dot,[thy-dot],[thyDot]", never, { "thyColor": { "alias": "thyColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDot, "thy-dot,[thy-dot],[thyDot]", never, { "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
45
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { IThyDragHandleDirective } from './drag-drop.token';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
/**
|
|
5
6
|
* 自定义可拖拽区域内容
|
|
6
7
|
* @name thy-drag-handle,[thyDragHandle]
|
|
@@ -19,5 +20,5 @@ export declare class ThyDragHandleDirective implements IThyDragHandleDirective {
|
|
|
19
20
|
constructor();
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDragHandleDirective, never>;
|
|
21
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDragHandleDirective, "thy-drag-handle,[thyDragHandle]", never, { "disabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
static ngAcceptInputType_disabled:
|
|
23
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput;
|
|
23
24
|
}
|
|
@@ -2,6 +2,7 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { DragRef } from './drag-ref';
|
|
3
3
|
import { IThyDragDirective } from './drag-drop.token';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "ngx-tethys/util";
|
|
5
6
|
/**
|
|
6
7
|
* 拖拽项
|
|
7
8
|
* @name thy-drag,[thyDrag]
|
|
@@ -34,5 +35,5 @@ export declare class ThyDragDirective<T = any> implements IThyDragDirective, OnD
|
|
|
34
35
|
ngOnDestroy(): void;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDragDirective<any>, never>;
|
|
36
37
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDragDirective<any>, "thy-drag,[thyDrag]", never, { "dragData": { "alias": "thyDrag"; "required": false; }; "data": { "alias": "thyDragData"; "required": false; }; "disabled": { "alias": "thyDragDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
static ngAcceptInputType_disabled:
|
|
38
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput;
|
|
38
39
|
}
|
|
@@ -3,6 +3,7 @@ import { ThyDragDirective } from './drag.directive';
|
|
|
3
3
|
import { ThyDragDropEvent, ThyDragStartEvent, ThyDragEndEvent, ThyDragOverEvent } from './drag-drop.class';
|
|
4
4
|
import { IThyDropContainerDirective } from './drag-drop.token';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "ngx-tethys/util";
|
|
6
7
|
/**
|
|
7
8
|
* @name thy-drop-container,[thyDropContainer]
|
|
8
9
|
* @order 30
|
|
@@ -65,5 +66,5 @@ export declare class ThyDropContainerDirective<T = any> implements OnInit, After
|
|
|
65
66
|
ngOnDestroy(): void;
|
|
66
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDropContainerDirective<any>, never>;
|
|
67
68
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDropContainerDirective<any>, "thy-drop-container,[thyDropContainer]", never, { "dragContainer": { "alias": "thyDropContainer"; "required": false; }; "data": { "alias": "thyDropContainerData"; "required": false; }; "disabled": { "alias": "thyDropContainerDisabled"; "required": false; }; "beforeStart": { "alias": "thyBeforeDragStart"; "required": false; }; "beforeOver": { "alias": "thyBeforeDragOver"; "required": false; }; "beforeDrop": { "alias": "thyBeforeDragDrop"; "required": false; }; }, { "started": "thyDragStarted"; "ended": "thyDragEnded"; "overed": "thyDragOvered"; "dropped": "thyDragDropped"; }, ["draggables"], never, true, never>;
|
|
68
|
-
static ngAcceptInputType_disabled:
|
|
69
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput;
|
|
69
70
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "ngx-tethys/util";
|
|
3
4
|
export type ThyDropdownMenuItemType = 'default' | 'danger' | 'success' | '';
|
|
4
5
|
/**
|
|
5
6
|
* 菜单项
|
|
@@ -31,7 +32,7 @@ export declare class ThyDropdownMenuItemDirective implements OnInit {
|
|
|
31
32
|
bindMouseenterEvent(): import("rxjs").Observable<Event>;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDropdownMenuItemDirective, never>;
|
|
33
34
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDropdownMenuItemDirective, "[thyDropdownMenuItem]", never, { "thyType": { "alias": "thyType"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
-
static ngAcceptInputType_thyDisabled:
|
|
35
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
35
36
|
}
|
|
36
37
|
/**
|
|
37
38
|
* 设置为菜单项图标
|
|
@@ -98,5 +99,5 @@ export declare class ThyDropdownMenuItemActiveDirective {
|
|
|
98
99
|
constructor();
|
|
99
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDropdownMenuItemActiveDirective, never>;
|
|
100
101
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDropdownMenuItemActiveDirective, "[thyDropdownMenuItemActive]", never, { "thyDropdownMenuItemActive": { "alias": "thyDropdownMenuItemActive"; "required": false; }; }, {}, never, never, true, never>;
|
|
101
|
-
static ngAcceptInputType_thyDropdownMenuItemActive:
|
|
102
|
+
static ngAcceptInputType_thyDropdownMenuItemActive: i1.ThyBooleanInput;
|
|
102
103
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { SafeAny } from 'ngx-tethys/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-tethys/util";
|
|
4
5
|
export type ThyDropdownMenuDividerType = 'default' | 'crossing' | '';
|
|
5
6
|
export declare const THY_DROPDOWN_DEFAULT_WIDTH = "240px";
|
|
6
7
|
/**
|
|
@@ -32,7 +33,7 @@ export declare class ThyDropdownMenuComponent {
|
|
|
32
33
|
constructor();
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDropdownMenuComponent, never>;
|
|
34
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyDropdownMenuComponent, "thy-dropdown-menu", never, { "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyImmediateRender": { "alias": "thyImmediateRender"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
35
|
-
static ngAcceptInputType_thyImmediateRender:
|
|
36
|
+
static ngAcceptInputType_thyImmediateRender: i1.ThyBooleanInput;
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* 下拉菜单分组
|
|
@@ -5,6 +5,7 @@ import { ThyPopoverConfig } from 'ngx-tethys/popover';
|
|
|
5
5
|
import { SafeAny } from 'ngx-tethys/types';
|
|
6
6
|
import { ThyDropdownMenuComponent } from './dropdown-menu.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "ngx-tethys/util";
|
|
8
9
|
export type ThyDropdownTrigger = 'click' | 'hover';
|
|
9
10
|
type ThyDropdownMenu = ThyDropdownMenuComponent | TemplateRef<SafeAny> | ComponentType<SafeAny>;
|
|
10
11
|
/**
|
|
@@ -81,6 +82,6 @@ export declare class ThyDropdownDirective extends ThyOverlayDirectiveBase implem
|
|
|
81
82
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDropdownDirective, "[thyDropdown]", never, { "thyDropdownMenu": { "alias": "thyDropdownMenu"; "required": false; }; "thyDropdown": { "alias": "thyDropdown"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyShowDelay": { "alias": "thyShowDelay"; "required": false; }; "thyHideDelay": { "alias": "thyHideDelay"; "required": false; }; "thyActiveClass": { "alias": "thyActiveClass"; "required": false; }; "thyPopoverOptions": { "alias": "thyPopoverOptions"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyMenuInsideClosable": { "alias": "thyMenuInsideClosable"; "required": false; }; "thyPanelClass": { "alias": "thyPanelClass"; "required": false; }; }, { "thyActiveChange": "thyActiveChange"; }, never, never, true, never>;
|
|
82
83
|
static ngAcceptInputType_thyShowDelay: unknown;
|
|
83
84
|
static ngAcceptInputType_thyHideDelay: unknown;
|
|
84
|
-
static ngAcceptInputType_thyMenuInsideClosable:
|
|
85
|
+
static ngAcceptInputType_thyMenuInsideClosable: i1.ThyBooleanInput;
|
|
85
86
|
}
|
|
86
87
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef,
|
|
2
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
1
|
+
import { AfterViewInit, ElementRef, Signal, TemplateRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/** https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-loading */
|
|
5
4
|
export type ThyEmptyImageLoading = 'eager' | 'lazy';
|
|
@@ -10,7 +9,7 @@ export type ThyEmptyImageFetchPriority = 'high' | 'low' | 'auto';
|
|
|
10
9
|
* @name thy-empty
|
|
11
10
|
* @order 10
|
|
12
11
|
*/
|
|
13
|
-
export declare class ThyEmpty implements
|
|
12
|
+
export declare class ThyEmpty implements AfterViewInit {
|
|
14
13
|
private thyTranslate;
|
|
15
14
|
private thyEmptyConfig;
|
|
16
15
|
private elementRef;
|
|
@@ -21,77 +20,72 @@ export declare class ThyEmpty implements OnInit, AfterViewInit, OnChanges {
|
|
|
21
20
|
* 显示文本提示信息。同时传入 thyMessage,thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高
|
|
22
21
|
* @default 暂无数据
|
|
23
22
|
*/
|
|
24
|
-
thyMessage: string
|
|
23
|
+
readonly thyMessage: import("@angular/core").InputSignal<string>;
|
|
25
24
|
/**
|
|
26
25
|
* 已废弃。显示文本提示信息多语言 Key。同时传入 thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高
|
|
27
26
|
* @deprecated
|
|
28
27
|
*/
|
|
29
|
-
thyTranslationKey: string
|
|
28
|
+
readonly thyTranslationKey: import("@angular/core").InputSignal<string>;
|
|
30
29
|
/**
|
|
31
30
|
* 已废弃。显示文本提示信息多语言 Key 的 Values。传入 thyTranslationKey 后,传入这个才会生效
|
|
32
31
|
* @deprecated
|
|
33
32
|
*/
|
|
34
|
-
thyTranslationValues: any
|
|
33
|
+
readonly thyTranslationValues: import("@angular/core").InputSignal<any>;
|
|
35
34
|
/**
|
|
36
35
|
* 已废弃。显示默认提示信息,替换默认提示信息的目标对象,比如:没有 {thyEntityName}。同时传入 thyEntityName,thyEntityNameTranslateKey 时优先级较高
|
|
37
36
|
* @deprecated
|
|
38
37
|
*/
|
|
39
|
-
thyEntityName: string
|
|
38
|
+
readonly thyEntityName: import("@angular/core").InputSignal<string>;
|
|
40
39
|
/**
|
|
41
40
|
* 已废弃。thyEntityName 的多语言 Key。thyMessage,thyTranslationKey,thyEntityName 均未传入时才会生效
|
|
42
41
|
* @deprecated
|
|
43
42
|
*/
|
|
44
|
-
thyEntityNameTranslateKey: string
|
|
43
|
+
readonly thyEntityNameTranslateKey: import("@angular/core").InputSignal<string>;
|
|
45
44
|
/**
|
|
46
45
|
* 提示图标名
|
|
47
46
|
*/
|
|
48
|
-
thyIconName: string
|
|
47
|
+
readonly thyIconName: import("@angular/core").InputSignal<string>;
|
|
49
48
|
/**
|
|
50
49
|
* 大小
|
|
51
50
|
* @type sm | md | lg
|
|
52
51
|
* @default md
|
|
53
52
|
*/
|
|
54
|
-
|
|
53
|
+
readonly thySize: import("@angular/core").InputSignal<string>;
|
|
55
54
|
/**
|
|
56
55
|
* 距上距离
|
|
57
56
|
*/
|
|
58
|
-
thyMarginTop:
|
|
57
|
+
readonly thyMarginTop: import("@angular/core").InputSignal<string | number>;
|
|
59
58
|
/**
|
|
60
59
|
* 是否自动根据父容器计算高度,垂直居中
|
|
61
60
|
* @default false
|
|
62
61
|
*/
|
|
63
|
-
thyTopAuto: boolean
|
|
62
|
+
readonly thyTopAuto: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
64
63
|
/**
|
|
65
64
|
* 自动计算高度垂直居中(即 thyTopAuto 为 true)时,支持传入自定义父容器
|
|
66
65
|
*/
|
|
67
|
-
thyContainer: ElementRef
|
|
66
|
+
readonly thyContainer: import("@angular/core").InputSignal<ElementRef<any>>;
|
|
68
67
|
/**
|
|
69
68
|
* 提示图片链接
|
|
70
69
|
*/
|
|
71
|
-
thyImageUrl: string
|
|
72
|
-
thyImageLoading
|
|
73
|
-
thyImageFetchPriority
|
|
70
|
+
readonly thyImageUrl: import("@angular/core").InputSignal<string>;
|
|
71
|
+
readonly thyImageLoading: import("@angular/core").InputSignal<ThyEmptyImageLoading>;
|
|
72
|
+
readonly thyImageFetchPriority: import("@angular/core").InputSignal<ThyEmptyImageFetchPriority>;
|
|
74
73
|
/**
|
|
75
74
|
* 显示文本描述
|
|
76
75
|
*/
|
|
77
|
-
thyDescription: string
|
|
78
|
-
private size;
|
|
79
|
-
private _initialized;
|
|
76
|
+
readonly thyDescription: import("@angular/core").InputSignal<string>;
|
|
80
77
|
private hostRenderer;
|
|
81
|
-
presetSvg: SafeAny;
|
|
82
78
|
/**
|
|
83
79
|
* 除提示图片,文本外的其他信息传入模板
|
|
84
80
|
* @type TemplateRef
|
|
85
81
|
*/
|
|
86
|
-
extraTemplateRef: TemplateRef<any
|
|
87
|
-
|
|
82
|
+
readonly extraTemplateRef: Signal<TemplateRef<any>>;
|
|
83
|
+
protected readonly presetSvg: Signal<import("@angular/platform-browser").SafeHtml>;
|
|
84
|
+
protected readonly displayText: Signal<any>;
|
|
85
|
+
constructor();
|
|
88
86
|
private _calculatePosition;
|
|
89
|
-
ngOnInit(): void;
|
|
90
87
|
updateClass(): void;
|
|
91
88
|
ngAfterViewInit(): void;
|
|
92
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
93
|
-
setPresetSvg(icon: string): void;
|
|
94
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyEmpty, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyEmpty, "thy-empty", never, { "thyMessage": { "alias": "thyMessage"; "required": false; }; "thyTranslationKey": { "alias": "thyTranslationKey"; "required": false; }; "thyTranslationValues": { "alias": "thyTranslationValues"; "required": false; }; "thyEntityName": { "alias": "thyEntityName"; "required": false; }; "thyEntityNameTranslateKey": { "alias": "thyEntityNameTranslateKey"; "required": false; }; "thyIconName": { "alias": "thyIconName"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMarginTop": { "alias": "thyMarginTop"; "required": false; }; "thyTopAuto": { "alias": "thyTopAuto"; "required": false; }; "thyContainer": { "alias": "thyContainer"; "required": false; }; "thyImageUrl": { "alias": "thyImageUrl"; "required": false; }; "thyImageLoading": { "alias": "thyImageLoading"; "required": false; }; "thyImageFetchPriority": { "alias": "thyImageFetchPriority"; "required": false; }; "thyDescription": { "alias": "thyDescription"; "required": false; }; }, {}, ["extraTemplateRef"], never, true, never>;
|
|
96
|
-
static ngAcceptInputType_thyTopAuto: boolean | string | number;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyEmpty, "thy-empty", never, { "thyMessage": { "alias": "thyMessage"; "required": false; "isSignal": true; }; "thyTranslationKey": { "alias": "thyTranslationKey"; "required": false; "isSignal": true; }; "thyTranslationValues": { "alias": "thyTranslationValues"; "required": false; "isSignal": true; }; "thyEntityName": { "alias": "thyEntityName"; "required": false; "isSignal": true; }; "thyEntityNameTranslateKey": { "alias": "thyEntityNameTranslateKey"; "required": false; "isSignal": true; }; "thyIconName": { "alias": "thyIconName"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyMarginTop": { "alias": "thyMarginTop"; "required": false; "isSignal": true; }; "thyTopAuto": { "alias": "thyTopAuto"; "required": false; "isSignal": true; }; "thyContainer": { "alias": "thyContainer"; "required": false; "isSignal": true; }; "thyImageUrl": { "alias": "thyImageUrl"; "required": false; "isSignal": true; }; "thyImageLoading": { "alias": "thyImageLoading"; "required": false; "isSignal": true; }; "thyImageFetchPriority": { "alias": "thyImageFetchPriority"; "required": false; "isSignal": true; }; "thyDescription": { "alias": "thyDescription"; "required": false; "isSignal": true; }; }, {}, ["extraTemplateRef"], never, true, never>;
|
|
97
91
|
}
|