ngx-tethys 16.2.0-next.9 → 16.2.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 CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ # [16.2.0](https://github.com/atinc/ngx-tethys/compare/16.2.0-next.11...16.2.0) (2024-01-02)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **input-number:** fix input number display value error with suffix when delete #INFR-11109 ([6cbf2b4](https://github.com/atinc/ngx-tethys/commit/6cbf2b45f080514c1b8dfff71bf9765db2b90c8b)), closes [#INFR-11109](https://github.com/atinc/ngx-tethys/issues/INFR-11109)
11
+ * **tree-select:** optimize tree select popover width style #INFR-11127 ([#3009](https://github.com/atinc/ngx-tethys/issues/3009)) ([3faa2f7](https://github.com/atinc/ngx-tethys/commit/3faa2f7073a62837c4817c6ffde4870d198e50ea)), closes [#INFR-11127](https://github.com/atinc/ngx-tethys/issues/INFR-11127)
12
+
13
+
14
+
15
+ # [16.2.0-next.11](https://github.com/atinc/ngx-tethys/compare/16.2.0-next.10...16.2.0-next.11) (2023-12-29)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **overlay:** #INFR-11126 adjust dispatch dispose timing ([#3005](https://github.com/atinc/ngx-tethys/issues/3005)) ([468f62d](https://github.com/atinc/ngx-tethys/commit/468f62d1ba6bfc2f23ded8de730e9626ae969265)), closes [#INFR-11126](https://github.com/atinc/ngx-tethys/issues/INFR-11126)
21
+
22
+
23
+ ### Features
24
+
25
+ * **cascader:** support thyHasBackdrop and fix some known bugs for trigger hover #INFR-11123 ([#3007](https://github.com/atinc/ngx-tethys/issues/3007)) ([f0c9d9a](https://github.com/atinc/ngx-tethys/commit/f0c9d9a8905e0a0f3002f8f6a421a4f5a04ec4e5)), closes [#INFR-11123](https://github.com/atinc/ngx-tethys/issues/INFR-11123)
26
+
27
+
28
+
29
+ # [16.2.0-next.10](https://github.com/atinc/ngx-tethys/compare/16.2.0-next.9...16.2.0-next.10) (2023-12-29)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **action:** fix action-lite disabled style (#INFR-11105) ([#2999](https://github.com/atinc/ngx-tethys/issues/2999)) ([5dae2b6](https://github.com/atinc/ngx-tethys/commit/5dae2b614873bcb869dd32a100a4d03a40c98dbd)), closes [#INFR-11105](https://github.com/atinc/ngx-tethys/issues/INFR-11105)
35
+ * **cascader:** fix option will be auto selected when children is [] #INFR-11090 ([#2998](https://github.com/atinc/ngx-tethys/issues/2998)) ([3aff9c6](https://github.com/atinc/ngx-tethys/commit/3aff9c6a0c39417033fb0e70083c5f2b61de0ef4)), closes [#INFR-11090](https://github.com/atinc/ngx-tethys/issues/INFR-11090)
36
+ * **property:** fix style when operation's height is not 32 #INFR-11125 ([#3004](https://github.com/atinc/ngx-tethys/issues/3004)) ([4687472](https://github.com/atinc/ngx-tethys/commit/4687472e48f7b34f1166c028dd884efff325073e)), closes [#INFR-11125](https://github.com/atinc/ngx-tethys/issues/INFR-11125)
37
+
38
+
39
+
5
40
  # [16.2.0-next.9](https://github.com/atinc/ngx-tethys/compare/16.2.0-next.8...16.2.0-next.9) (2023-12-28)
6
41
 
7
42
 
@@ -76,7 +76,7 @@
76
76
 
77
77
  .thy-action-lite {
78
78
  @include hover.hover-active {
79
- &:not(.thy-action-has-feedback) {
79
+ &:not(.thy-action-has-feedback):not(.disabled) {
80
80
  background: none;
81
81
  }
82
82
  }
@@ -137,6 +137,10 @@ export declare class ThyCascaderComponent extends TabIndexDisabledControlValueAc
137
137
  * @default ''|tag
138
138
  */
139
139
  thyPreset: string;
140
+ /**
141
+ * 是否有幕布
142
+ */
143
+ thyHasBackdrop: boolean;
140
144
  /**
141
145
  * 值发生变化时触发,返回选择项的值
142
146
  * @type EventEmitter<any[]>
@@ -231,10 +235,10 @@ export declare class ThyCascaderComponent extends TabIndexDisabledControlValueAc
231
235
  private isHoverTriggerAction;
232
236
  private isHoverExpandTriggerAction;
233
237
  toggleClick($event: Event): void;
234
- toggleHover($event: Event): void;
238
+ toggleMouseEnter(event: MouseEvent): void;
239
+ toggleMouseLeave(event: MouseEvent): void;
235
240
  clickOption(option: ThyCascaderOption, index: number, event: Event | boolean): void;
236
241
  mouseoverOption(option: ThyCascaderOption, index: number, event: Event): void;
237
- mouseleaveMenu(event: Event): void;
238
242
  onBlur(event?: FocusEvent): void;
239
243
  onFocus(event?: FocusEvent): void;
240
244
  closeMenu(): void;
@@ -257,5 +261,5 @@ export declare class ThyCascaderComponent extends TabIndexDisabledControlValueAc
257
261
  private unsubscribeTriggerResize;
258
262
  ngOnDestroy(): void;
259
263
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyCascaderComponent, never>;
260
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascaderComponent, "thy-cascader,[thy-cascader]", never, { "thyValueProperty": { "alias": "thyValueProperty"; "required": false; }; "thyLabelProperty": { "alias": "thyLabelProperty"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyChangeOn": { "alias": "thyChangeOn"; "required": false; }; "thyChangeOnSelect": { "alias": "thyChangeOnSelect"; "required": false; }; "thyShowInput": { "alias": "thyShowInput"; "required": false; }; "thyLabelRender": { "alias": "thyLabelRender"; "required": false; }; "thyLoadData": { "alias": "thyLoadData"; "required": false; }; "thyTriggerAction": { "alias": "thyTriggerAction"; "required": false; }; "thyExpandTriggerAction": { "alias": "thyExpandTriggerAction"; "required": false; }; "thyMenuStyle": { "alias": "thyMenuStyle"; "required": false; }; "thyMenuClassName": { "alias": "thyMenuClassName"; "required": false; }; "thyColumnClassName": { "alias": "thyColumnClassName"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyIsOnlySelectLeaf": { "alias": "thyIsOnlySelectLeaf"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyChange": "thyChange"; "thySelectionChange": "thySelectionChange"; "thySelect": "thySelect"; "thyDeselect": "thyDeselect"; "thyClear": "thyClear"; "thyExpandStatusChange": "thyExpandStatusChange"; }, never, never, true, never>;
264
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascaderComponent, "thy-cascader,[thy-cascader]", never, { "thyValueProperty": { "alias": "thyValueProperty"; "required": false; }; "thyLabelProperty": { "alias": "thyLabelProperty"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyChangeOn": { "alias": "thyChangeOn"; "required": false; }; "thyChangeOnSelect": { "alias": "thyChangeOnSelect"; "required": false; }; "thyShowInput": { "alias": "thyShowInput"; "required": false; }; "thyLabelRender": { "alias": "thyLabelRender"; "required": false; }; "thyLoadData": { "alias": "thyLoadData"; "required": false; }; "thyTriggerAction": { "alias": "thyTriggerAction"; "required": false; }; "thyExpandTriggerAction": { "alias": "thyExpandTriggerAction"; "required": false; }; "thyMenuStyle": { "alias": "thyMenuStyle"; "required": false; }; "thyMenuClassName": { "alias": "thyMenuClassName"; "required": false; }; "thyColumnClassName": { "alias": "thyColumnClassName"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyIsOnlySelectLeaf": { "alias": "thyIsOnlySelectLeaf"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; }, { "thyChange": "thyChange"; "thySelectionChange": "thySelectionChange"; "thySelect": "thySelect"; "thyDeselect": "thyDeselect"; "thyClear": "thyClear"; "thyExpandStatusChange": "thyExpandStatusChange"; }, never, never, true, never>;
261
265
  }
@@ -1,7 +1,7 @@
1
1
  import { SelectionModel } from '@angular/cdk/collections';
2
2
  import { SelectOptionBase } from 'ngx-tethys/shared';
3
- import { ThyCascaderOption, ThyCascaderSearchOption } from './types';
4
3
  import { Subject } from 'rxjs';
4
+ import { ThyCascaderOption, ThyCascaderSearchOption } from './types';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * @internal
@@ -27,6 +27,8 @@ $cascader-menu-min-width: 122px;
27
27
  border-radius: 4px;
28
28
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
29
29
  white-space: nowrap;
30
+ margin-top: 4px;
31
+ margin-bottom: 4px;
30
32
  ul,
31
33
  ol {
32
34
  list-style: none;