ngx-tethys 20.0.1 → 20.0.2
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 +17 -0
- package/action/index.d.ts +3 -3
- package/affix/index.d.ts +1 -1
- package/alert/index.d.ts +3 -3
- package/anchor/index.d.ts +3 -3
- package/arrow-switcher/index.d.ts +6 -6
- package/autocomplete/index.d.ts +7 -7
- package/avatar/index.d.ts +9 -9
- package/back-top/index.d.ts +3 -3
- package/badge/index.d.ts +6 -6
- package/breadcrumb/index.d.ts +7 -7
- package/button/index.d.ts +19 -19
- package/calendar/index.d.ts +8 -8
- package/card/index.d.ts +6 -6
- package/carousel/index.d.ts +4 -4
- package/cascader/index.d.ts +24 -24
- package/collapse/index.d.ts +4 -4
- package/color-picker/index.d.ts +16 -16
- package/comment/index.d.ts +3 -3
- package/copy/index.d.ts +2 -2
- package/core/index.d.ts +22 -22
- package/date-picker/index.d.ts +111 -111
- package/date-range/index.d.ts +5 -5
- package/dialog/index.d.ts +18 -18
- package/divider/index.d.ts +3 -3
- package/drag-drop/index.d.ts +7 -7
- package/dropdown/index.d.ts +10 -10
- package/empty/index.d.ts +12 -12
- package/fesm2022/ngx-tethys-action.mjs +14 -12
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +7 -7
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-alert.mjs +10 -10
- package/fesm2022/ngx-tethys-anchor.mjs +11 -11
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +7 -7
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +19 -18
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +23 -22
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +7 -7
- package/fesm2022/ngx-tethys-badge.mjs +7 -7
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +10 -10
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +16 -16
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +16 -16
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +13 -13
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +15 -15
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +41 -34
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +7 -7
- package/fesm2022/ngx-tethys-collapse.mjs +10 -10
- package/fesm2022/ngx-tethys-color-picker.mjs +65 -57
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +13 -13
- package/fesm2022/ngx-tethys-copy.mjs +10 -10
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +30 -25
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +184 -174
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-range.mjs +16 -16
- package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +24 -24
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +7 -7
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +7 -7
- package/fesm2022/ngx-tethys-drag-drop.mjs +24 -24
- package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +48 -47
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +13 -13
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +7 -7
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +64 -61
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +18 -15
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +34 -33
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +25 -24
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +3 -3
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +15 -13
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +31 -29
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +17 -10
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +28 -27
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +63 -63
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +21 -18
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +7 -7
- package/fesm2022/ngx-tethys-mention.mjs +35 -31
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +26 -26
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +24 -24
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +27 -27
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +20 -20
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +18 -18
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +22 -21
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +17 -17
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property-operation.mjs +11 -11
- package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +12 -11
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +17 -17
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +12 -12
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +21 -18
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +11 -11
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +19 -16
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +60 -38
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +82 -79
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +32 -32
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +37 -36
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +11 -11
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +10 -10
- package/fesm2022/ngx-tethys-statistic.mjs +7 -7
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +22 -22
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +7 -7
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +7 -7
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +28 -28
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +13 -13
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +11 -11
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-testing.mjs +1 -1
- package/fesm2022/ngx-tethys-testing.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +22 -22
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +14 -14
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +19 -16
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +15 -15
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +17 -17
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +50 -43
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +16 -16
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +26 -25
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs +11 -5
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +7 -7
- package/fesm2022/ngx-tethys-watermark.mjs +18 -15
- 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/index.d.ts +5 -5
- package/form/index.d.ts +26 -22
- package/fullscreen/index.d.ts +4 -4
- package/grid/index.d.ts +12 -12
- package/guider/index.d.ts +10 -10
- package/i18n/index.d.ts +1 -1
- package/icon/index.d.ts +3 -3
- package/image/index.d.ts +12 -12
- package/input/index.d.ts +22 -22
- package/input-number/index.d.ts +4 -4
- package/layout/index.d.ts +16 -16
- package/list/index.d.ts +16 -15
- package/mention/index.d.ts +4 -4
- package/menu/index.d.ts +7 -7
- package/message/index.d.ts +5 -5
- package/nav/index.d.ts +12 -12
- package/notify/index.d.ts +1 -1
- package/package.json +1 -1
- package/pagination/index.d.ts +21 -17
- package/popover/index.d.ts +8 -8
- package/progress/index.d.ts +18 -18
- package/property/index.d.ts +6 -6
- package/property-operation/index.d.ts +3 -3
- package/radio/index.d.ts +6 -6
- package/rate/index.d.ts +5 -5
- package/resizable/index.d.ts +2 -2
- package/result/index.d.ts +8 -8
- package/schematics/testing/test-workspace.js +1 -0
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/index.d.ts +9 -9
- package/select/index.d.ts +21 -21
- package/shared/index.d.ts +29 -29
- package/skeleton/index.d.ts +52 -52
- package/slide/index.d.ts +5 -5
- package/slider/index.d.ts +6 -6
- package/space/index.d.ts +1 -1
- package/statistic/index.d.ts +18 -18
- package/stepper/index.d.ts +8 -8
- package/switch/index.d.ts +2 -2
- package/table/index.d.ts +24 -24
- package/tabs/index.d.ts +6 -6
- package/testing/index.d.ts +1 -1
- package/time-picker/index.d.ts +21 -21
- package/timeline/index.d.ts +8 -8
- package/tooltip/index.d.ts +12 -12
- package/transfer/index.d.ts +16 -16
- package/tree/index.d.ts +28 -28
- package/tree-select/index.d.ts +13 -13
- package/typography/index.d.ts +3 -3
- package/upload/index.d.ts +4 -4
- package/util/index.d.ts +17 -7
- package/vote/index.d.ts +2 -2
- package/watermark/index.d.ts +2 -2
package/select/index.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ declare class ThyNativeSelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
29
29
|
readonly innerValue: _angular_core.ModelSignal<any>;
|
|
30
30
|
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
31
31
|
private hostRenderer;
|
|
32
|
-
readonly thySize: _angular_core.InputSignal<InputSize>;
|
|
33
|
-
readonly name: _angular_core.InputSignal<string>;
|
|
32
|
+
readonly thySize: _angular_core.InputSignal<InputSize | undefined>;
|
|
33
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
34
34
|
readonly thyAllowClear: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
35
|
writeValue(obj: any): void;
|
|
36
36
|
setDisabledState?(isDisabled: boolean): void;
|
|
@@ -118,30 +118,30 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
118
118
|
readonly dropDownClass: Signal<{
|
|
119
119
|
[key: string]: boolean;
|
|
120
120
|
}>;
|
|
121
|
-
readonly dropDownMinWidth: Signal<number>;
|
|
121
|
+
readonly dropDownMinWidth: Signal<number | null>;
|
|
122
122
|
/**
|
|
123
123
|
* 设置下拉框的最小宽度,默认值 `match-select`,表示与输入框的宽度一致;`min-width` 表示最小宽度为200px;支持自定义最小宽度,比如传 `{minWidth: 150}` 表示最小宽度为150px
|
|
124
124
|
* @default match-select
|
|
125
125
|
*/
|
|
126
|
-
readonly thyDropdownWidthMode: _angular_core.InputSignal<ThyDropdownWidthMode>;
|
|
126
|
+
readonly thyDropdownWidthMode: _angular_core.InputSignal<ThyDropdownWidthMode | undefined>;
|
|
127
127
|
readonly placement: Signal<ThyPlacement>;
|
|
128
128
|
readonly dropDownPositions: Signal<ConnectionPositionPair[]>;
|
|
129
|
-
|
|
129
|
+
thyItemSize: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
130
130
|
readonly virtualHeight: Signal<number>;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* 出现滚动条时,视觉上能看到的最大选项个数
|
|
133
133
|
*/
|
|
134
134
|
private maxItemLength;
|
|
135
|
-
triggerRectWidth: WritableSignal<number>;
|
|
136
|
-
scrollStrategy
|
|
137
|
-
private resizeSubscription
|
|
135
|
+
triggerRectWidth: WritableSignal<number | undefined>;
|
|
136
|
+
scrollStrategy?: ScrollStrategy;
|
|
137
|
+
private resizeSubscription?;
|
|
138
138
|
/**
|
|
139
139
|
* 手动聚焦中的标识
|
|
140
140
|
*/
|
|
141
141
|
private manualFocusing;
|
|
142
142
|
private config;
|
|
143
143
|
private destroyRef;
|
|
144
|
-
readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay>;
|
|
144
|
+
readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay | undefined>;
|
|
145
145
|
panelOpen: boolean;
|
|
146
146
|
/**
|
|
147
147
|
* 搜索时回调
|
|
@@ -185,7 +185,7 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
185
185
|
* @type primary | success | danger | warning
|
|
186
186
|
* @default primary
|
|
187
187
|
*/
|
|
188
|
-
readonly thySize: _angular_core.InputSignal<SelectControlSize>;
|
|
188
|
+
readonly thySize: _angular_core.InputSignal<SelectControlSize | undefined>;
|
|
189
189
|
/**
|
|
190
190
|
* 数据为空时显示的提示文字
|
|
191
191
|
*/
|
|
@@ -211,20 +211,20 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
211
211
|
/**
|
|
212
212
|
* 排序比较函数
|
|
213
213
|
*/
|
|
214
|
-
readonly thySortComparator: _angular_core.InputSignal<(a: ThyOption, b: ThyOption, options: ThyOption[]) => number>;
|
|
214
|
+
readonly thySortComparator: _angular_core.InputSignal<((a: ThyOption, b: ThyOption, options: ThyOption[]) => number) | undefined>;
|
|
215
215
|
/**
|
|
216
216
|
* Footer 模板,默认值为空不显示 Footer
|
|
217
217
|
*/
|
|
218
|
-
readonly thyFooterTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
218
|
+
readonly thyFooterTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
219
219
|
/**
|
|
220
220
|
* 弹出位置
|
|
221
221
|
* @type ThyPlacement
|
|
222
222
|
*/
|
|
223
|
-
readonly thyPlacement: _angular_core.InputSignal<ThyPlacement>;
|
|
223
|
+
readonly thyPlacement: _angular_core.InputSignal<ThyPlacement | undefined>;
|
|
224
224
|
/**
|
|
225
225
|
* 自定义 Overlay Origin
|
|
226
226
|
*/
|
|
227
|
-
readonly thyOrigin: _angular_core.InputSignal<HTMLElement | ElementRef<any
|
|
227
|
+
readonly thyOrigin: _angular_core.InputSignal<HTMLElement | ElementRef<any> | undefined>;
|
|
228
228
|
/**
|
|
229
229
|
* 自定义 Footer 模板容器 class
|
|
230
230
|
*/
|
|
@@ -232,7 +232,7 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
232
232
|
/**
|
|
233
233
|
* @private
|
|
234
234
|
*/
|
|
235
|
-
readonly selectedValueDisplayRef: Signal<TemplateRef<any
|
|
235
|
+
readonly selectedValueDisplayRef: Signal<TemplateRef<any> | undefined>;
|
|
236
236
|
/**
|
|
237
237
|
* 初始化时,是否展开面板
|
|
238
238
|
*/
|
|
@@ -250,12 +250,12 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
250
250
|
*/
|
|
251
251
|
readonly thyBorderless: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
252
252
|
private scrolledIndex;
|
|
253
|
-
readonly cdkVirtualScrollViewport: Signal<CdkVirtualScrollViewport>;
|
|
253
|
+
readonly cdkVirtualScrollViewport: Signal<CdkVirtualScrollViewport | undefined>;
|
|
254
254
|
private shouldActivateOption;
|
|
255
255
|
/**
|
|
256
256
|
* option 列表
|
|
257
257
|
*/
|
|
258
|
-
readonly thyOptions: _angular_core.InputSignalWithTransform<ThySelectOptionModel[], ThySelectOptionModel[]>;
|
|
258
|
+
readonly thyOptions: _angular_core.InputSignalWithTransform<ThySelectOptionModel[] | undefined, ThySelectOptionModel[]>;
|
|
259
259
|
readonly keywords: WritableSignal<string>;
|
|
260
260
|
/**
|
|
261
261
|
* 目前只支持多选选中项的展示,默认为空,渲染文字模板,传入tag,渲染展示模板,
|
|
@@ -286,7 +286,7 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
286
286
|
/**
|
|
287
287
|
* 传给 selectControl 指令的选中值
|
|
288
288
|
*/
|
|
289
|
-
readonly selectedOptions: WritableSignal<SelectOptionBase | SelectOptionBase[]>;
|
|
289
|
+
readonly selectedOptions: WritableSignal<SelectOptionBase | SelectOptionBase[] | null>;
|
|
290
290
|
optionRenders: QueryList<ThyOptionRender>;
|
|
291
291
|
keydown(event: KeyboardEvent): void;
|
|
292
292
|
get optionsChanges$(): Observable<ThyOptionRender[]>;
|
|
@@ -314,7 +314,7 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
314
314
|
updateCdkConnectedOverlayPositions(): void;
|
|
315
315
|
readonly isMultiple: Signal<boolean>;
|
|
316
316
|
readonly empty: Signal<boolean>;
|
|
317
|
-
activatedValue: WritableSignal<
|
|
317
|
+
activatedValue: WritableSignal<string | string[] | number | null | undefined>;
|
|
318
318
|
toggle(event: MouseEvent): void;
|
|
319
319
|
open(): void;
|
|
320
320
|
close(): void;
|
|
@@ -333,7 +333,7 @@ declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin implem
|
|
|
333
333
|
trackByFn(index: number, item: ThySelectFlattedItem): SafeAny;
|
|
334
334
|
ngOnDestroy(): void;
|
|
335
335
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySelect, never>;
|
|
336
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; "isSignal": true; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; "isSignal": true; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; "isSignal": true; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; "isSignal": true; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; "isSignal": true; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; "isSignal": true; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; "isSignal": true; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; "isSignal": true; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; "isSignal": true; }; "thyOptions": { "alias": "thyOptions"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "options", "groups"], ["*"], true, never>;
|
|
336
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; "isSignal": true; }; "thyItemSize": { "alias": "thyItemSize"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; "isSignal": true; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; "isSignal": true; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; "isSignal": true; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; "isSignal": true; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; "isSignal": true; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; "isSignal": true; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; "isSignal": true; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; "isSignal": true; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; "isSignal": true; }; "thyOptions": { "alias": "thyOptions"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "options", "groups"], ["*"], true, never>;
|
|
337
337
|
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
338
338
|
}
|
|
339
339
|
|
package/shared/index.d.ts
CHANGED
|
@@ -28,12 +28,12 @@ declare class ThyViewOutletDirective {
|
|
|
28
28
|
/**
|
|
29
29
|
* 组件或者模板 TemplateRef
|
|
30
30
|
*/
|
|
31
|
-
readonly thyViewOutlet: _angular_core.InputSignal<Type<any> | TemplateRef<any
|
|
31
|
+
readonly thyViewOutlet: _angular_core.InputSignal<Type<any> | TemplateRef<any> | null>;
|
|
32
32
|
/**
|
|
33
33
|
* 组件和模板上下文传递数据
|
|
34
34
|
*/
|
|
35
35
|
readonly thyViewOutletContext: _angular_core.InputSignal<any>;
|
|
36
|
-
private keyValueDiffer
|
|
36
|
+
private keyValueDiffer?;
|
|
37
37
|
private readonly isViewOutletChanged;
|
|
38
38
|
constructor();
|
|
39
39
|
private updateContext;
|
|
@@ -48,7 +48,7 @@ declare class ThyTranscludeDirective {
|
|
|
48
48
|
viewRef: ViewContainerRef;
|
|
49
49
|
protected _viewRef: ViewContainerRef;
|
|
50
50
|
protected _ngTransclude: TemplateRef<any>;
|
|
51
|
-
readonly thyTransclude: _angular_core.InputSignal<TemplateRef<any
|
|
51
|
+
readonly thyTransclude: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
52
52
|
constructor();
|
|
53
53
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThyTranscludeDirective, never>;
|
|
54
54
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ThyTranscludeDirective, "[thyTransclude]", never, { "thyTransclude": { "alias": "thyTransclude"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -202,7 +202,7 @@ declare class ThyScrollDirective implements OnInit, OnDestroy {
|
|
|
202
202
|
* @private
|
|
203
203
|
*/
|
|
204
204
|
declare class ThyDragDropDirective implements AfterContentInit, OnDestroy {
|
|
205
|
-
draggables
|
|
205
|
+
draggables?: QueryList<CdkDrag>;
|
|
206
206
|
private ngUnsubscribe$;
|
|
207
207
|
constructor();
|
|
208
208
|
ngAfterContentInit(): void;
|
|
@@ -241,8 +241,8 @@ type ThyListLayout = 'list' | 'grid';
|
|
|
241
241
|
*/
|
|
242
242
|
declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {
|
|
243
243
|
protected thyTranslate: ThyTranslate;
|
|
244
|
-
protected changeDetectorRef?: ChangeDetectorRef;
|
|
245
|
-
_innerValue: boolean;
|
|
244
|
+
protected changeDetectorRef?: ChangeDetectorRef | undefined;
|
|
245
|
+
_innerValue: boolean | null;
|
|
246
246
|
_disabled: boolean;
|
|
247
247
|
private onTouchedCallback;
|
|
248
248
|
private onChangeCallback;
|
|
@@ -256,11 +256,11 @@ declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlValueAcce
|
|
|
256
256
|
/**
|
|
257
257
|
* Label 展示文本
|
|
258
258
|
*/
|
|
259
|
-
readonly thyLabelText: _angular_core.InputSignal<string>;
|
|
259
|
+
readonly thyLabelText: _angular_core.InputSignal<string | undefined>;
|
|
260
260
|
/**
|
|
261
261
|
* Label 文本多语言 key
|
|
262
262
|
*/
|
|
263
|
-
readonly thyLabelTextTranslateKey: _angular_core.InputSignal<string>;
|
|
263
|
+
readonly thyLabelTextTranslateKey: _angular_core.InputSignal<string | undefined>;
|
|
264
264
|
_labelText: _angular_core.Signal<any>;
|
|
265
265
|
_isNoText: _angular_core.Signal<boolean>;
|
|
266
266
|
disabled: boolean;
|
|
@@ -273,7 +273,7 @@ declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlValueAcce
|
|
|
273
273
|
writeValue(obj: boolean): void;
|
|
274
274
|
registerOnChange(fn: any): void;
|
|
275
275
|
registerOnTouched(fn: any): void;
|
|
276
|
-
setDisabledState
|
|
276
|
+
setDisabledState(isDisabled: boolean): void;
|
|
277
277
|
updateValue(value: boolean): void;
|
|
278
278
|
constructor();
|
|
279
279
|
change(): void;
|
|
@@ -308,13 +308,13 @@ declare class ThySelectControl implements OnInit, AfterViewInit {
|
|
|
308
308
|
readonly thyPanelOpened: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
309
309
|
readonly thyIsMultiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
310
310
|
readonly thyShowSearch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
311
|
-
readonly thySelectedOptions: _angular_core.InputSignal<SelectOptionBase | SelectOptionBase[]>;
|
|
311
|
+
readonly thySelectedOptions: _angular_core.InputSignal<SelectOptionBase | SelectOptionBase[] | undefined>;
|
|
312
312
|
protected readonly previousSelectedOptions: _angular_core.WritableSignal<unknown>;
|
|
313
313
|
readonly thyDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
314
|
-
readonly customDisplayTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
314
|
+
readonly customDisplayTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
315
315
|
readonly thyAllowClear: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
316
316
|
readonly thyPlaceholder: _angular_core.InputSignal<string>;
|
|
317
|
-
readonly thySize: _angular_core.InputSignal<SelectControlSize>;
|
|
317
|
+
readonly thySize: _angular_core.InputSignal<SelectControlSize | undefined>;
|
|
318
318
|
readonly tagSize: Signal<ThyTagSize>;
|
|
319
319
|
readonly thyMaxTagCount: _angular_core.InputSignalWithTransform<number | "auto", number | "auto">;
|
|
320
320
|
readonly thyBorderless: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -326,14 +326,14 @@ declare class ThySelectControl implements OnInit, AfterViewInit {
|
|
|
326
326
|
}>;
|
|
327
327
|
readonly thyOnClear: _angular_core.OutputEmitterRef<Event>;
|
|
328
328
|
readonly thyOnBlur: _angular_core.OutputEmitterRef<Event>;
|
|
329
|
-
readonly inputElement: Signal<ElementRef<any
|
|
329
|
+
readonly inputElement: Signal<ElementRef<any> | undefined>;
|
|
330
330
|
locale: Signal<ThySharedLocale>;
|
|
331
331
|
isSelectedValue: Signal<boolean>;
|
|
332
|
-
readonly tagsContainer: Signal<ElementRef<any
|
|
332
|
+
readonly tagsContainer: Signal<ElementRef<any> | undefined>;
|
|
333
333
|
visibleTagCount: _angular_core.WritableSignal<number>;
|
|
334
334
|
showClearIcon: Signal<boolean>;
|
|
335
|
-
selectedTags: Signal<SelectOptionBase[]>;
|
|
336
|
-
collapsedSelectedTags: Signal<SelectOptionBase[]>;
|
|
335
|
+
selectedTags: Signal<(SelectOptionBase | undefined)[]>;
|
|
336
|
+
collapsedSelectedTags: Signal<(SelectOptionBase | undefined)[]>;
|
|
337
337
|
selectedValueStyle: Signal<{
|
|
338
338
|
display: string;
|
|
339
339
|
}>;
|
|
@@ -394,9 +394,9 @@ declare class ThyListOption implements IThyOptionComponent, Highlightable {
|
|
|
394
394
|
parentSelectionList: ngx_tethys_shared.IThyListOptionParentComponent;
|
|
395
395
|
role: string;
|
|
396
396
|
tabIndex: number;
|
|
397
|
-
readonly isMultiple: _angular_core.Signal<
|
|
398
|
-
readonly isListOption: _angular_core.Signal<boolean>;
|
|
399
|
-
readonly isGridOption: _angular_core.Signal<boolean>;
|
|
397
|
+
readonly isMultiple: _angular_core.Signal<{}>;
|
|
398
|
+
readonly isListOption: _angular_core.Signal<boolean | undefined>;
|
|
399
|
+
readonly isGridOption: _angular_core.Signal<boolean | undefined>;
|
|
400
400
|
readonly id: _angular_core.InputSignal<string>;
|
|
401
401
|
readonly thyValue: _angular_core.InputSignal<any>;
|
|
402
402
|
readonly thyDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -445,19 +445,19 @@ declare class ThyOption {
|
|
|
445
445
|
/**
|
|
446
446
|
* 选项的文本
|
|
447
447
|
*/
|
|
448
|
-
readonly thyLabelText: _angular_core.InputSignal<string>;
|
|
448
|
+
readonly thyLabelText: _angular_core.InputSignal<string | undefined>;
|
|
449
449
|
/**
|
|
450
450
|
* 是否显示自定义模板
|
|
451
451
|
*/
|
|
452
|
-
readonly thyShowOptionCustom: _angular_core.InputSignal<boolean>;
|
|
452
|
+
readonly thyShowOptionCustom: _angular_core.InputSignal<boolean | undefined>;
|
|
453
453
|
/**
|
|
454
454
|
* 搜索关键字
|
|
455
455
|
*/
|
|
456
|
-
readonly thySearchKey: _angular_core.InputSignal<string>;
|
|
456
|
+
readonly thySearchKey: _angular_core.InputSignal<string | undefined>;
|
|
457
457
|
/**
|
|
458
458
|
* 是否禁用
|
|
459
459
|
*/
|
|
460
|
-
readonly thyDisabled: _angular_core.InputSignal<boolean>;
|
|
460
|
+
readonly thyDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
461
461
|
/**
|
|
462
462
|
* 是否选中,会跟随 ThyOptionSelectionChangeEvent 抛出去
|
|
463
463
|
*/
|
|
@@ -469,7 +469,7 @@ declare class ThyOption {
|
|
|
469
469
|
/**
|
|
470
470
|
* 模板
|
|
471
471
|
*/
|
|
472
|
-
readonly template: _angular_core.Signal<TemplateRef<any
|
|
472
|
+
readonly template: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
473
473
|
private readonly optionGroupComponent;
|
|
474
474
|
get groupLabel(): string;
|
|
475
475
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThyOption, never>;
|
|
@@ -495,11 +495,11 @@ declare class ThyOptionRender implements Highlightable {
|
|
|
495
495
|
/**
|
|
496
496
|
* 选项的文本
|
|
497
497
|
*/
|
|
498
|
-
readonly thyLabelText: _angular_core.InputSignal<string>;
|
|
498
|
+
readonly thyLabelText: _angular_core.InputSignal<string | undefined>;
|
|
499
499
|
/**
|
|
500
500
|
* 搜索关键字
|
|
501
501
|
*/
|
|
502
|
-
readonly thySearchKey: _angular_core.InputSignal<string>;
|
|
502
|
+
readonly thySearchKey: _angular_core.InputSignal<string | undefined>;
|
|
503
503
|
/**
|
|
504
504
|
* 是否禁用
|
|
505
505
|
*/
|
|
@@ -511,7 +511,7 @@ declare class ThyOptionRender implements Highlightable {
|
|
|
511
511
|
/**
|
|
512
512
|
* 模板
|
|
513
513
|
*/
|
|
514
|
-
readonly thyTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
514
|
+
readonly thyTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
515
515
|
/**
|
|
516
516
|
* 模板上下文
|
|
517
517
|
*/
|
|
@@ -561,7 +561,7 @@ declare class ThyOptionRender implements Highlightable {
|
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
declare class ThySelectOptionGroup {
|
|
564
|
-
readonly thyGroupLabel: _angular_core.InputSignal<string>;
|
|
564
|
+
readonly thyGroupLabel: _angular_core.InputSignal<string | undefined>;
|
|
565
565
|
readonly thyDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
566
566
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySelectOptionGroup, never>;
|
|
567
567
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySelectOptionGroup, "thy-option-group", never, { "thyGroupLabel": { "alias": "thyGroupLabel"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -571,7 +571,7 @@ declare class ThySelectOptionGroup {
|
|
|
571
571
|
* @private
|
|
572
572
|
*/
|
|
573
573
|
declare class ThyOptionGroupRender {
|
|
574
|
-
readonly thyGroupLabel: _angular_core.InputSignal<string>;
|
|
574
|
+
readonly thyGroupLabel: _angular_core.InputSignal<string | undefined>;
|
|
575
575
|
readonly thyDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
576
576
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThyOptionGroupRender, never>;
|
|
577
577
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThyOptionGroupRender, "thy-option-group-render", never, { "thyGroupLabel": { "alias": "thyGroupLabel"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
package/skeleton/index.d.ts
CHANGED
|
@@ -15,19 +15,19 @@ declare class ThySkeleton {
|
|
|
15
15
|
* 是否开启动画
|
|
16
16
|
* @default false
|
|
17
17
|
*/
|
|
18
|
-
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
19
19
|
/**
|
|
20
20
|
* 动画速度
|
|
21
21
|
*/
|
|
22
|
-
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number>;
|
|
22
|
+
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* 骨架主色调
|
|
25
25
|
*/
|
|
26
|
-
readonly thyPrimaryColor: _angular_core.InputSignal<string>;
|
|
26
|
+
readonly thyPrimaryColor: _angular_core.InputSignal<string | undefined>;
|
|
27
27
|
/**
|
|
28
28
|
* 骨架次色调
|
|
29
29
|
*/
|
|
30
|
-
readonly thySecondaryColor: _angular_core.InputSignal<string>;
|
|
30
|
+
readonly thySecondaryColor: _angular_core.InputSignal<string | undefined>;
|
|
31
31
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySkeleton, never>;
|
|
32
32
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeleton, "thy-skeleton", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
33
33
|
}
|
|
@@ -44,44 +44,44 @@ declare class ThySkeletonRectangle {
|
|
|
44
44
|
* 是否展示动画
|
|
45
45
|
* @default true
|
|
46
46
|
*/
|
|
47
|
-
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
47
|
+
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
48
48
|
/**
|
|
49
49
|
* 动画速度
|
|
50
50
|
* @default 1.5s
|
|
51
51
|
*/
|
|
52
|
-
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number>;
|
|
52
|
+
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number | undefined>;
|
|
53
53
|
/**
|
|
54
54
|
* 骨架边框圆角
|
|
55
55
|
* @default 4px
|
|
56
56
|
*/
|
|
57
|
-
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
57
|
+
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
58
58
|
/**
|
|
59
59
|
* 骨架宽度
|
|
60
60
|
* @default 100%
|
|
61
61
|
*/
|
|
62
|
-
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
62
|
+
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
63
63
|
/**
|
|
64
64
|
* 骨架高度
|
|
65
65
|
* @default 20px
|
|
66
66
|
*/
|
|
67
|
-
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
67
|
+
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
68
68
|
/**
|
|
69
69
|
* 骨架主色
|
|
70
70
|
* @default #F7F7F7
|
|
71
71
|
*/
|
|
72
|
-
readonly thyPrimaryColor: _angular_core.InputSignal<string>;
|
|
72
|
+
readonly thyPrimaryColor: _angular_core.InputSignal<string | undefined>;
|
|
73
73
|
/**
|
|
74
74
|
* 骨架次色
|
|
75
75
|
* @default #aaaaaa
|
|
76
76
|
*/
|
|
77
|
-
readonly thySecondaryColor: _angular_core.InputSignal<string>;
|
|
78
|
-
readonly animatedInterval: _angular_core.Signal<string | number>;
|
|
79
|
-
readonly primaryColor: _angular_core.Signal<string>;
|
|
80
|
-
readonly secondaryColor: _angular_core.Signal<string>;
|
|
81
|
-
readonly animated: _angular_core.Signal<boolean>;
|
|
77
|
+
readonly thySecondaryColor: _angular_core.InputSignal<string | undefined>;
|
|
78
|
+
readonly animatedInterval: _angular_core.Signal<string | number | undefined>;
|
|
79
|
+
readonly primaryColor: _angular_core.Signal<string | undefined>;
|
|
80
|
+
readonly secondaryColor: _angular_core.Signal<string | undefined>;
|
|
81
|
+
readonly animated: _angular_core.Signal<boolean | undefined>;
|
|
82
82
|
readonly afterStyles: _angular_core.Signal<{
|
|
83
83
|
animation: string;
|
|
84
|
-
background
|
|
84
|
+
background?: string | undefined;
|
|
85
85
|
}>;
|
|
86
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySkeletonRectangle, never>;
|
|
87
87
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonRectangle, "thy-skeleton-rectangle", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -99,7 +99,7 @@ declare class ThySkeletonCircle {
|
|
|
99
99
|
* 动画速度
|
|
100
100
|
* @default 1.5s
|
|
101
101
|
*/
|
|
102
|
-
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number>;
|
|
102
|
+
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number | undefined>;
|
|
103
103
|
/**
|
|
104
104
|
* 骨架尺寸
|
|
105
105
|
* @default 20px
|
|
@@ -109,24 +109,24 @@ declare class ThySkeletonCircle {
|
|
|
109
109
|
* 骨架主色
|
|
110
110
|
* @default #F7F7F7
|
|
111
111
|
*/
|
|
112
|
-
readonly thyPrimaryColor: _angular_core.InputSignal<string>;
|
|
112
|
+
readonly thyPrimaryColor: _angular_core.InputSignal<string | undefined>;
|
|
113
113
|
/**
|
|
114
114
|
* 骨架次色
|
|
115
115
|
* @default #aaaaaa
|
|
116
116
|
*/
|
|
117
|
-
readonly thySecondaryColor: _angular_core.InputSignal<string>;
|
|
117
|
+
readonly thySecondaryColor: _angular_core.InputSignal<string | undefined>;
|
|
118
118
|
/**
|
|
119
119
|
* 是否展示动画
|
|
120
120
|
* @default true
|
|
121
121
|
*/
|
|
122
|
-
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
123
|
-
readonly animatedInterval: _angular_core.Signal<string | number>;
|
|
124
|
-
readonly primaryColor: _angular_core.Signal<string>;
|
|
125
|
-
readonly secondaryColor: _angular_core.Signal<string>;
|
|
126
|
-
readonly animated: _angular_core.Signal<boolean>;
|
|
122
|
+
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
123
|
+
readonly animatedInterval: _angular_core.Signal<string | number | undefined>;
|
|
124
|
+
readonly primaryColor: _angular_core.Signal<string | undefined>;
|
|
125
|
+
readonly secondaryColor: _angular_core.Signal<string | undefined>;
|
|
126
|
+
readonly animated: _angular_core.Signal<boolean | undefined>;
|
|
127
127
|
readonly afterStyles: _angular_core.Signal<{
|
|
128
128
|
animation: string;
|
|
129
|
-
background
|
|
129
|
+
background?: string | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySkeletonCircle, never>;
|
|
132
132
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonCircle, "thy-skeleton-circle", never, { "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -141,39 +141,39 @@ declare class ThySkeletonList {
|
|
|
141
141
|
/**
|
|
142
142
|
* 骨架宽度
|
|
143
143
|
*/
|
|
144
|
-
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
144
|
+
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
145
145
|
/**
|
|
146
146
|
* 骨架高度
|
|
147
147
|
*/
|
|
148
|
-
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
148
|
+
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
149
149
|
/**
|
|
150
150
|
* 骨架边框圆角
|
|
151
151
|
*/
|
|
152
|
-
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
152
|
+
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
153
153
|
/**
|
|
154
154
|
* 是否开启动画
|
|
155
155
|
* @default false
|
|
156
156
|
*/
|
|
157
|
-
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
157
|
+
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
158
158
|
/**
|
|
159
159
|
* 动画速度
|
|
160
160
|
*/
|
|
161
|
-
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number>;
|
|
161
|
+
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number | undefined>;
|
|
162
162
|
/**
|
|
163
163
|
* 骨架主色
|
|
164
164
|
*/
|
|
165
|
-
readonly thyPrimaryColor: _angular_core.InputSignal<string>;
|
|
165
|
+
readonly thyPrimaryColor: _angular_core.InputSignal<string | undefined>;
|
|
166
166
|
/**
|
|
167
167
|
* 骨架次色
|
|
168
168
|
*/
|
|
169
|
-
readonly thySecondaryColor: _angular_core.InputSignal<string>;
|
|
169
|
+
readonly thySecondaryColor: _angular_core.InputSignal<string | undefined>;
|
|
170
170
|
/**
|
|
171
171
|
* 行数
|
|
172
172
|
*/
|
|
173
173
|
readonly thyRowCount: _angular_core.InputSignal<string | number>;
|
|
174
174
|
readonly rows: _angular_core.Signal<unknown[]>;
|
|
175
175
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySkeletonList, never>;
|
|
176
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonList, "thy-skeleton-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required":
|
|
176
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonList, "thy-skeleton-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
/**
|
|
@@ -185,47 +185,47 @@ declare class ThySkeletonParagraph {
|
|
|
185
185
|
/**
|
|
186
186
|
* 首行宽度
|
|
187
187
|
*/
|
|
188
|
-
readonly thyFirstWidth: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
188
|
+
readonly thyFirstWidth: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
189
189
|
/**
|
|
190
190
|
* 尾行宽度
|
|
191
191
|
*/
|
|
192
|
-
readonly thyLastWidth: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
192
|
+
readonly thyLastWidth: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
193
193
|
/**
|
|
194
194
|
* 骨架宽度
|
|
195
195
|
*/
|
|
196
|
-
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
196
|
+
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
197
197
|
/**
|
|
198
198
|
* 骨架高度
|
|
199
199
|
*/
|
|
200
|
-
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
200
|
+
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
201
201
|
/**
|
|
202
202
|
* 骨架边框圆角
|
|
203
203
|
*/
|
|
204
|
-
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
204
|
+
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
205
205
|
/**
|
|
206
206
|
* 是否开启动画
|
|
207
207
|
* @default false
|
|
208
208
|
*/
|
|
209
|
-
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
209
|
+
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
210
210
|
/**
|
|
211
211
|
* 动画速度
|
|
212
212
|
*/
|
|
213
|
-
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number>;
|
|
213
|
+
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number | undefined>;
|
|
214
214
|
/**
|
|
215
215
|
* 骨架主色
|
|
216
216
|
*/
|
|
217
|
-
readonly thyPrimaryColor: _angular_core.InputSignal<string>;
|
|
217
|
+
readonly thyPrimaryColor: _angular_core.InputSignal<string | undefined>;
|
|
218
218
|
/**
|
|
219
219
|
* 骨架次色
|
|
220
220
|
*/
|
|
221
|
-
readonly thySecondaryColor: _angular_core.InputSignal<string>;
|
|
221
|
+
readonly thySecondaryColor: _angular_core.InputSignal<string | undefined>;
|
|
222
222
|
/**
|
|
223
223
|
* 行数
|
|
224
224
|
*/
|
|
225
225
|
readonly thyRowCount: _angular_core.InputSignal<string | number>;
|
|
226
226
|
readonly rows: _angular_core.Signal<unknown[]>;
|
|
227
227
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySkeletonParagraph, never>;
|
|
228
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonParagraph, "thy-skeleton-paragraph", never, { "thyFirstWidth": { "alias": "thyFirstWidth"; "required": false; "isSignal": true; }; "thyLastWidth": { "alias": "thyLastWidth"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required":
|
|
228
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonParagraph, "thy-skeleton-paragraph", never, { "thyFirstWidth": { "alias": "thyFirstWidth"; "required": false; "isSignal": true; }; "thyLastWidth": { "alias": "thyLastWidth"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
@@ -238,41 +238,41 @@ declare class ThySkeletonBulletList {
|
|
|
238
238
|
* 骨架宽度
|
|
239
239
|
* @default 100%
|
|
240
240
|
*/
|
|
241
|
-
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
241
|
+
readonly thyRowWidth: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
242
242
|
/**
|
|
243
243
|
* 骨架高度
|
|
244
244
|
* @default 20px
|
|
245
245
|
*/
|
|
246
|
-
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
246
|
+
readonly thyRowHeight: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
247
247
|
/**
|
|
248
248
|
* 骨架边框圆角
|
|
249
249
|
* @default 4px
|
|
250
250
|
*/
|
|
251
|
-
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
251
|
+
readonly thyBorderRadius: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
252
252
|
/**
|
|
253
253
|
* 是否开启动画
|
|
254
254
|
* @default true
|
|
255
255
|
*/
|
|
256
|
-
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
256
|
+
readonly thyAnimated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
257
257
|
/**
|
|
258
258
|
* 动画速度
|
|
259
259
|
* @default 1.5s
|
|
260
260
|
*/
|
|
261
|
-
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number>;
|
|
261
|
+
readonly thyAnimatedInterval: _angular_core.InputSignal<string | number | undefined>;
|
|
262
262
|
/**
|
|
263
263
|
* 骨架主色
|
|
264
264
|
* @default #f7f7f7
|
|
265
265
|
*/
|
|
266
|
-
readonly thyPrimaryColor: _angular_core.InputSignal<string>;
|
|
266
|
+
readonly thyPrimaryColor: _angular_core.InputSignal<string | undefined>;
|
|
267
267
|
/**
|
|
268
268
|
* 骨架次色
|
|
269
269
|
* @default #aaaaaa
|
|
270
270
|
*/
|
|
271
|
-
readonly thySecondaryColor: _angular_core.InputSignal<string>;
|
|
271
|
+
readonly thySecondaryColor: _angular_core.InputSignal<string | undefined>;
|
|
272
272
|
/**
|
|
273
273
|
* circle类型骨架尺寸
|
|
274
274
|
*/
|
|
275
|
-
readonly thySize: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
275
|
+
readonly thySize: _angular_core.InputSignalWithTransform<string | undefined, string | number>;
|
|
276
276
|
/**
|
|
277
277
|
* 行数
|
|
278
278
|
*/
|
|
@@ -280,7 +280,7 @@ declare class ThySkeletonBulletList {
|
|
|
280
280
|
readonly rows: _angular_core.Signal<unknown[]>;
|
|
281
281
|
constructor();
|
|
282
282
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThySkeletonBulletList, never>;
|
|
283
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonBulletList, "thy-skeleton-bullet-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required":
|
|
283
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThySkeletonBulletList, "thy-skeleton-bullet-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
declare class ThySkeletonModule {
|