ngx-tethys 18.2.0-next.0 → 18.2.0-next.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 +56 -0
- package/autocomplete/autocomplete.component.d.ts +4 -2
- package/calendar/calendar-header.component.d.ts +2 -0
- package/cascader/cascader.component.d.ts +3 -1
- package/color-picker/color-picker-panel.component.d.ts +3 -1
- package/copy/copy.directive.d.ts +1 -0
- package/core/overlay/abstract-overlay-ref.d.ts +4 -0
- package/core/overlay/abstract-overlay.service.d.ts +1 -1
- package/core/theme/store.d.ts +2 -1
- package/core/theme/theme.d.ts +2 -0
- package/date-picker/abstract-picker.component.d.ts +3 -1
- package/date-picker/date-helper.service.d.ts +3 -0
- package/date-picker/date-picker.config.d.ts +7 -1
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +3 -1
- package/date-picker/lib/calendar/calendar-header.component.d.ts +3 -1
- package/date-picker/lib/calendar/calendar-table.component.d.ts +3 -1
- package/date-picker/lib/date-carousel/date-carousel.component.d.ts +4 -1
- package/date-picker/lib/popups/date-popup.component.d.ts +3 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +3 -1
- package/date-range/date-range.component.d.ts +2 -0
- package/date-range/optional-dates/optional-dates.component.d.ts +1 -0
- package/dialog/confirm/confirm.component.d.ts +1 -0
- package/dialog/confirm.config.d.ts +14 -7
- package/dialog/dialog-ref.d.ts +10 -2
- package/dialog/dialog.service.d.ts +6 -0
- package/empty/empty.component.d.ts +14 -9
- package/empty/empty.config.d.ts +3 -0
- package/esm2022/autocomplete/autocomplete.component.mjs +9 -5
- package/esm2022/calendar/calendar-header.component.mjs +9 -5
- package/esm2022/cascader/cascader.component.mjs +9 -6
- package/esm2022/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/color-picker/color-picker-panel.component.mjs +5 -3
- package/esm2022/copy/copy.directive.mjs +7 -5
- package/esm2022/core/overlay/abstract-overlay-ref.mjs +2 -2
- package/esm2022/core/overlay/abstract-overlay.service.mjs +2 -2
- package/esm2022/core/theme/store.mjs +7 -7
- package/esm2022/core/theme/theme.mjs +9 -2
- package/esm2022/date-picker/abstract-picker.component.mjs +4 -2
- package/esm2022/date-picker/base-picker.component.mjs +2 -2
- package/esm2022/date-picker/date-helper.service.mjs +4 -2
- package/esm2022/date-picker/date-picker.component.mjs +1 -1
- package/esm2022/date-picker/date-picker.config.mjs +55 -2
- package/esm2022/date-picker/date-picker.directive.mjs +1 -1
- package/esm2022/date-picker/date-picker.service.mjs +3 -3
- package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +5 -3
- package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +3 -1
- package/esm2022/date-picker/lib/calendar/calendar-table.component.mjs +3 -1
- package/esm2022/date-picker/lib/date/date-header.component.mjs +6 -5
- package/esm2022/date-picker/lib/date/date-table.component.mjs +4 -4
- package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +9 -4
- package/esm2022/date-picker/lib/decade/decade-header.component.mjs +3 -3
- package/esm2022/date-picker/lib/month/month-header.component.mjs +4 -4
- package/esm2022/date-picker/lib/month/month-table.component.mjs +3 -2
- package/esm2022/date-picker/lib/popups/date-popup.component.mjs +5 -3
- package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +5 -3
- package/esm2022/date-picker/lib/year/year-header.component.mjs +3 -3
- package/esm2022/date-picker/month-picker.component.mjs +1 -1
- package/esm2022/date-picker/quarter-picker.component.mjs +1 -1
- package/esm2022/date-picker/range-picker.component.mjs +1 -1
- package/esm2022/date-picker/range-picker.directive.mjs +1 -1
- package/esm2022/date-picker/week-picker.component.mjs +1 -1
- package/esm2022/date-picker/year-picker.component.mjs +1 -1
- package/esm2022/date-range/date-range.component.mjs +7 -4
- package/esm2022/date-range/optional-dates/optional-dates.component.mjs +4 -2
- package/esm2022/dialog/confirm/confirm.component.mjs +14 -3
- package/esm2022/dialog/confirm.config.mjs +17 -2
- package/esm2022/dialog/dialog-ref.mjs +9 -6
- package/esm2022/dialog/dialog.service.mjs +27 -3
- package/esm2022/empty/empty.component.mjs +7 -2
- package/esm2022/empty/empty.config.mjs +4 -1
- package/esm2022/form/form-validator-loader.mjs +17 -15
- package/esm2022/guider/guider-hint/guider-hint.component.mjs +5 -3
- package/esm2022/i18n/i18n.mjs +9 -0
- package/esm2022/i18n/i18n.service.mjs +45 -0
- package/esm2022/i18n/i18n.token.mjs +10 -0
- package/esm2022/i18n/index.mjs +10 -0
- package/esm2022/i18n/locale.mjs +14 -0
- package/esm2022/i18n/locales/de-de.mjs +130 -0
- package/esm2022/i18n/locales/en-us.mjs +151 -0
- package/esm2022/i18n/locales/ja-jp.mjs +130 -0
- package/esm2022/i18n/locales/zh-hans.mjs +130 -0
- package/esm2022/i18n/locales/zh-hant.mjs +130 -0
- package/esm2022/i18n/ngx-tethys-i18n.mjs +5 -0
- package/esm2022/nav/nav.component.mjs +5 -3
- package/esm2022/pagination/pagination.component.mjs +22 -5
- package/esm2022/pagination/pagination.module.mjs +26 -5
- package/esm2022/pagination/pagination.pipe.mjs +25 -1
- package/esm2022/property/property-item.component.mjs +3 -3
- package/esm2022/radio/button/radio-button.component.mjs +1 -1
- package/esm2022/radio/radio.component.mjs +1 -1
- package/esm2022/select/custom-select/custom-select.component.mjs +13 -6
- package/esm2022/strength/strength.component.mjs +21 -20
- package/esm2022/time-picker/time-picker-panel.component.mjs +5 -3
- package/esm2022/time-picker/time-picker.component.mjs +4 -2
- package/esm2022/tooltip/tooltip-ref.mjs +4 -1
- package/esm2022/transfer/transfer-list.component.mjs +5 -3
- package/esm2022/tree-select/tree-select.component.mjs +9 -6
- package/esm2022/version.mjs +2 -2
- package/fesm2022/ngx-tethys-autocomplete.mjs +8 -5
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +8 -5
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +8 -5
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +4 -2
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +6 -4
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +14 -7
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +95 -30
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-range.mjs +8 -4
- package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +61 -10
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +9 -1
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +16 -14
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +4 -2
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +747 -0
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -0
- package/fesm2022/ngx-tethys-nav.mjs +4 -2
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +69 -7
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +2 -2
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +12 -5
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +20 -19
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +6 -3
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +3 -0
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +4 -2
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +8 -5
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-validator-loader.d.ts +2 -0
- package/guider/guider-hint/guider-hint.component.d.ts +3 -1
- package/i18n/i18n.d.ts +154 -0
- package/i18n/i18n.service.d.ts +19 -0
- package/i18n/i18n.token.d.ts +8 -0
- package/i18n/index.d.ts +9 -0
- package/i18n/locale.d.ts +4 -0
- package/i18n/locales/de-de.d.ts +130 -0
- package/i18n/locales/en-us.d.ts +151 -0
- package/i18n/locales/ja-jp.d.ts +130 -0
- package/i18n/locales/zh-hans.d.ts +130 -0
- package/i18n/locales/zh-hant.d.ts +130 -0
- package/nav/nav.component.d.ts +3 -1
- package/package.json +7 -1
- package/pagination/pagination.component.d.ts +4 -1
- package/pagination/pagination.module.d.ts +1 -1
- package/pagination/pagination.pipe.d.ts +6 -0
- package/radio/radio.component.d.ts +0 -2
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/select/custom-select/custom-select.component.d.ts +3 -1
- package/strength/strength.component.d.ts +21 -2
- package/styles/modules/cdk/drag-drop.scss +1 -1
- package/time-picker/time-picker-panel.component.d.ts +3 -1
- package/time-picker/time-picker.component.d.ts +3 -1
- package/transfer/transfer-list.component.d.ts +3 -1
- package/tree-select/tree-select.component.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,62 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
# [18.2.0-next.2](https://github.com/atinc/ngx-tethys/compare/18.2.0-next.1...18.2.0-next.2) (2024-11-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **tooltip:** detach overlayRey when tooltip hidded #TINFR-1036 ([#3270](https://github.com/atinc/ngx-tethys/issues/3270)) ([21e7416](https://github.com/atinc/ngx-tethys/commit/21e741648122b841d01787317a9a46269136b28f)), closes [#TINFR-1036](https://github.com/atinc/ngx-tethys/issues/TINFR-1036)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **dialog:** support overlay toTop with dialogRef(#TINFR-602) ([#3264](https://github.com/atinc/ngx-tethys/issues/3264)) ([61431dc](https://github.com/atinc/ngx-tethys/commit/61431dce044b5f3ac117bcfdad66591ebc3a0e85)), closes [#TINFR-602](https://github.com/atinc/ngx-tethys/issues/TINFR-602) [#TINFR-602](https://github.com/atinc/ngx-tethys/issues/TINFR-602)
|
|
16
|
+
* **i18n:** support 简体中文, 繁體中文, English, 日本語, Deutsch #TINFR-1022 ([#3271](https://github.com/atinc/ngx-tethys/issues/3271)) ([1b58374](https://github.com/atinc/ngx-tethys/commit/1b58374af531d3a2d0994ec267985e52e3789a42)), closes [#TINFR-1022](https://github.com/atinc/ngx-tethys/issues/TINFR-1022) [#TINFR-1022](https://github.com/atinc/ngx-tethys/issues/TINFR-1022) [#TINFR-1042](https://github.com/atinc/ngx-tethys/issues/TINFR-1042)
|
|
17
|
+
* panel empty icon use 'preset-light' in dark theme #TINFR-975 ([#3272](https://github.com/atinc/ngx-tethys/issues/3272)) ([5d836b0](https://github.com/atinc/ngx-tethys/commit/5d836b0ec963ca003a26cd8fdd6c08146279e2a5)), closes [#TINFR-975](https://github.com/atinc/ngx-tethys/issues/TINFR-975)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# [18.2.0-next.1](https://github.com/atinc/ngx-tethys/compare/18.2.0-next.0...18.2.0-next.1) (2024-11-21)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **autocomplete:** support i18n #TINFR-1020 ([#3259](https://github.com/atinc/ngx-tethys/issues/3259)) ([30c7927](https://github.com/atinc/ngx-tethys/commit/30c7927865eebff3d89a33e2fedf8df7a83a2b51)), closes [#TINFR-1020](https://github.com/atinc/ngx-tethys/issues/TINFR-1020)
|
|
27
|
+
* **calendar:** support i18n #TINFR-962 ([#3244](https://github.com/atinc/ngx-tethys/issues/3244)) ([4cac6df](https://github.com/atinc/ngx-tethys/commit/4cac6df016b12dc57ed3bed5f3c9090060ffa007)), closes [#TINFR-962](https://github.com/atinc/ngx-tethys/issues/TINFR-962)
|
|
28
|
+
* **cascader:** support i18n #TINFR-967 ([#3248](https://github.com/atinc/ngx-tethys/issues/3248)) ([fc5fa48](https://github.com/atinc/ngx-tethys/commit/fc5fa485d9e4cefd495f89779baf52afdcde733f)), closes [#TINFR-967](https://github.com/atinc/ngx-tethys/issues/TINFR-967)
|
|
29
|
+
* **colorPicker:** support i18n #TINFR-965 ([#3246](https://github.com/atinc/ngx-tethys/issues/3246)) ([3b23810](https://github.com/atinc/ngx-tethys/commit/3b238103a23e26000ee20a2e0ad021df34d542a2)), closes [#TINFR-965](https://github.com/atinc/ngx-tethys/issues/TINFR-965)
|
|
30
|
+
* **copy:** support i18n #TINFR-961 ([#3243](https://github.com/atinc/ngx-tethys/issues/3243)) ([f648460](https://github.com/atinc/ngx-tethys/commit/f6484600a99151b862b118b4b15e6d0818277364)), closes [#TINFR-961](https://github.com/atinc/ngx-tethys/issues/TINFR-961)
|
|
31
|
+
* **date-picker:** support i18n #TINFR-917 ([#3254](https://github.com/atinc/ngx-tethys/issues/3254)) ([5928b79](https://github.com/atinc/ngx-tethys/commit/5928b790adc5e38cdb6d2037eb59cfd0c9b85804)), closes [#TINFR-917](https://github.com/atinc/ngx-tethys/issues/TINFR-917)
|
|
32
|
+
* **date-range:** support i18n #TINFR-968 ([#3256](https://github.com/atinc/ngx-tethys/issues/3256)) ([f6bd62e](https://github.com/atinc/ngx-tethys/commit/f6bd62e465c28cba57205ba5a773b6df6f7c579c)), closes [#TINFR-968](https://github.com/atinc/ngx-tethys/issues/TINFR-968)
|
|
33
|
+
* **dialog:** support i18n #TINFR-973 ([#3266](https://github.com/atinc/ngx-tethys/issues/3266)) ([194f20b](https://github.com/atinc/ngx-tethys/commit/194f20b4ccd1f936767f0ee1ba497fd13a403769)), closes [#TINFR-973](https://github.com/atinc/ngx-tethys/issues/TINFR-973)
|
|
34
|
+
* **empty:** support i18n #TINFR-972 ([#3262](https://github.com/atinc/ngx-tethys/issues/3262)) ([310a686](https://github.com/atinc/ngx-tethys/commit/310a686ed83192b70660a4127bf20b08e7890349)), closes [#TINFR-972](https://github.com/atinc/ngx-tethys/issues/TINFR-972)
|
|
35
|
+
* **form:** support i18n #TINFR-970 ([#3255](https://github.com/atinc/ngx-tethys/issues/3255)) ([29c82b1](https://github.com/atinc/ngx-tethys/commit/29c82b18656da38c8bca23d3d37a0e2f2c860e1e)), closes [#TINFR-970](https://github.com/atinc/ngx-tethys/issues/TINFR-970)
|
|
36
|
+
* **guider:** support i18n #TINFR-960 ([#3245](https://github.com/atinc/ngx-tethys/issues/3245)) ([c6ad04b](https://github.com/atinc/ngx-tethys/commit/c6ad04b529449cba359108bf84ed40a017fdb6c4)), closes [#TINFR-960](https://github.com/atinc/ngx-tethys/issues/TINFR-960)
|
|
37
|
+
* **i18n:** i18n design and review #TINFR-916 ([#3242](https://github.com/atinc/ngx-tethys/issues/3242)) ([f829685](https://github.com/atinc/ngx-tethys/commit/f829685f61a850eb19fdd0be2f868a0e896779cb)), closes [#TINFR-916](https://github.com/atinc/ngx-tethys/issues/TINFR-916)
|
|
38
|
+
* **pagination:** support i18n #TINFR-969 ([#3252](https://github.com/atinc/ngx-tethys/issues/3252)) ([60518c4](https://github.com/atinc/ngx-tethys/commit/60518c43a365601c5987edbc89c7dc980d9c65a5)), closes [#TINFR-969](https://github.com/atinc/ngx-tethys/issues/TINFR-969)
|
|
39
|
+
* **select:** support i18n #TINFR-963 ([#3250](https://github.com/atinc/ngx-tethys/issues/3250)) ([794c6ac](https://github.com/atinc/ngx-tethys/commit/794c6ac23e2bd84aaf0d729837b46e3e68774aa9)), closes [#TINFR-963](https://github.com/atinc/ngx-tethys/issues/TINFR-963)
|
|
40
|
+
* **strength:** support i18n #TINFR-971 ([#3251](https://github.com/atinc/ngx-tethys/issues/3251)) ([5260729](https://github.com/atinc/ngx-tethys/commit/5260729a0721d4fb965c576c404a9dc7695c4aa7)), closes [#TINFR-971](https://github.com/atinc/ngx-tethys/issues/TINFR-971)
|
|
41
|
+
* **time-picker:** support i18n #TINFR-1001 ([#3247](https://github.com/atinc/ngx-tethys/issues/3247)) ([5c05293](https://github.com/atinc/ngx-tethys/commit/5c05293706fcfc5f7af5433171f8601c9373f816)), closes [#TINFR-1001](https://github.com/atinc/ngx-tethys/issues/TINFR-1001)
|
|
42
|
+
* **tree-select:** support i18n #TINFR-964 ([#3249](https://github.com/atinc/ngx-tethys/issues/3249)) ([8728887](https://github.com/atinc/ngx-tethys/commit/8728887bf238dc1c12ae3c1f5b216bd4818206f1)), closes [#TINFR-964](https://github.com/atinc/ngx-tethys/issues/TINFR-964)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## [18.1.1](https://github.com/atinc/ngx-tethys/compare/18.1.0...18.1.1) (2024-11-20)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* 页面的 tooltip 有时候会导致点击有 property-item 的 弹出层时,property-item 错误的退出编辑状态 #INFR-1023 ([#3261](https://github.com/atinc/ngx-tethys/issues/3261)) ([dbf511e](https://github.com/atinc/ngx-tethys/commit/dbf511e9ed2d2d2cab62c454ce2c0d5de51068fe)), closes [#INFR-1023](https://github.com/atinc/ngx-tethys/issues/INFR-1023)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
* **core:** support projectableNodes for ThyAbstractOverlayConfig and rename ThyStealthViewDirective to ThyStealthView #TINFR-651 ([#3230](https://github.com/atinc/ngx-tethys/issues/3230)) ([f838b96](https://github.com/atinc/ngx-tethys/commit/f838b967ae2066790617f1ace6729d4ea4025369)), closes [#TINFR-651](https://github.com/atinc/ngx-tethys/issues/TINFR-651)
|
|
57
|
+
* **drag-drop:** mark drag-drop as deprecated #TINFR-438 ([#3231](https://github.com/atinc/ngx-tethys/issues/3231)) ([7497858](https://github.com/atinc/ngx-tethys/commit/7497858e449a5d217c3117432db3648f27766e52)), closes [#TINFR-438](https://github.com/atinc/ngx-tethys/issues/TINFR-438)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
5
61
|
# [18.2.0-next.0](https://github.com/atinc/ngx-tethys/compare/18.1.0...18.2.0-next.0) (2024-11-14)
|
|
6
62
|
|
|
7
63
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef, QueryList, OnInit, EventEmitter, OnDestroy, AfterContentInit, ElementRef } from '@angular/core';
|
|
1
|
+
import { TemplateRef, QueryList, OnInit, EventEmitter, OnDestroy, AfterContentInit, ElementRef, Signal } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
4
4
|
import { IThyOptionParentComponent, ThyOption, ThyOptionSelectionChangeEvent } from 'ngx-tethys/shared';
|
|
@@ -19,6 +19,8 @@ export declare class ThyAutocomplete implements IThyOptionParentComponent, OnIni
|
|
|
19
19
|
private ngZone;
|
|
20
20
|
private changeDetectorRef;
|
|
21
21
|
private ngUnsubscribe$;
|
|
22
|
+
private locale;
|
|
23
|
+
emptyIcon: Signal<string>;
|
|
22
24
|
dropDownClass: {
|
|
23
25
|
[key: string]: boolean;
|
|
24
26
|
};
|
|
@@ -38,7 +40,7 @@ export declare class ThyAutocomplete implements IThyOptionParentComponent, OnIni
|
|
|
38
40
|
readonly optionSelectionChanges: Observable<ThyOptionSelectionChangeEvent>;
|
|
39
41
|
/**
|
|
40
42
|
* 空选项时的文本
|
|
41
|
-
* @
|
|
43
|
+
* @default 没有任何数据
|
|
42
44
|
*/
|
|
43
45
|
thyEmptyText: string;
|
|
44
46
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkConnectedOverlay, ConnectedOverlayPositionChange, ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, Signal } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
5
5
|
import { SelectControlSize, SelectOptionBase } from 'ngx-tethys/shared';
|
|
@@ -18,6 +18,8 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
18
18
|
private thyClickDispatcher;
|
|
19
19
|
private ngZone;
|
|
20
20
|
thyCascaderService: ThyCascaderService;
|
|
21
|
+
private locale;
|
|
22
|
+
emptyIcon: Signal<string>;
|
|
21
23
|
/**
|
|
22
24
|
* 选项的实际值的属性名
|
|
23
25
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { ThyPopoverRef } from 'ngx-tethys/popover';
|
|
3
3
|
import { ThyColorPickerCustomPanel } from './color-picker-custom-panel.component';
|
|
4
|
+
import { ThyColorPickerLocale } from 'ngx-tethys/i18n';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* @internal
|
|
@@ -9,6 +10,7 @@ export declare class ThyColorPickerPanel implements OnInit {
|
|
|
9
10
|
private thyPopover;
|
|
10
11
|
private viewContainerRef;
|
|
11
12
|
private thyPopoverRef;
|
|
13
|
+
locale: Signal<ThyColorPickerLocale>;
|
|
12
14
|
className: boolean;
|
|
13
15
|
color: string;
|
|
14
16
|
colorChange: (color: string) => {};
|
package/copy/copy.directive.d.ts
CHANGED
|
@@ -40,6 +40,10 @@ export declare abstract class ThyAbstractOverlayRef<TComponent = unknown, TConta
|
|
|
40
40
|
* @param position
|
|
41
41
|
*/
|
|
42
42
|
abstract updatePosition(position?: ThyAbstractOverlayPosition): this;
|
|
43
|
+
/**
|
|
44
|
+
* 模态框置顶
|
|
45
|
+
*/
|
|
46
|
+
toTop?(): void;
|
|
43
47
|
}
|
|
44
48
|
export declare abstract class ThyAbstractInternalOverlayRef<T, TContainer extends ThyAbstractOverlayContainer, TResult = undefined> extends ThyAbstractOverlayRef<T, TContainer, TResult> {
|
|
45
49
|
private options;
|
|
@@ -12,7 +12,7 @@ export declare abstract class ThyAbstractOverlayService<TConfig extends ThyAbstr
|
|
|
12
12
|
protected injector: Injector;
|
|
13
13
|
protected defaultConfig: TConfig;
|
|
14
14
|
scrollStrategy?: FunctionProp<ScrollStrategy>;
|
|
15
|
-
|
|
15
|
+
protected openedOverlays: ThyAbstractOverlayRef<unknown, TContainer>[];
|
|
16
16
|
private readonly _afterAllClosed;
|
|
17
17
|
private readonly _afterOpened;
|
|
18
18
|
constructor(options: ThyAbstractOverlayOptions, // component name, e.g: dialog | popover | slide
|
package/core/theme/store.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
1
2
|
import { ThyTheme } from './theme';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ThyThemeStore {
|
|
4
5
|
readonly theme: import("@angular/core").WritableSignal<ThyTheme>;
|
|
6
|
+
readonly isDark: Signal<boolean>;
|
|
5
7
|
constructor();
|
|
6
8
|
setTheme(theme: ThyTheme): void;
|
|
7
9
|
normalizeColor(color: string | string[]): string;
|
|
8
|
-
isDark(): boolean;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyThemeStore, never>;
|
|
10
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThyThemeStore>;
|
|
11
12
|
}
|
package/core/theme/theme.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
2
2
|
import { TinyDate } from 'ngx-tethys/util';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, Signal, SimpleChanges } from '@angular/core';
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
6
|
import { CompatibleValue, RangeAdvancedValue } from './inner-types';
|
|
7
7
|
import { ThyPicker } from './picker.component';
|
|
8
8
|
import { CompatibleDate, DateEntry, DisabledDateFn, ThyDateRangeEntry, ThyPanelMode, ThyShortcutPosition, CompatiblePresets, ThyDateGranularity, ThyDateChangeEvent } from './standard-types';
|
|
9
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @private
|
|
12
13
|
*/
|
|
13
14
|
export declare abstract class AbstractPickerComponent extends TabIndexDisabledControlValueAccessorMixin implements OnInit, OnChanges, OnDestroy, ControlValueAccessor {
|
|
14
15
|
cdr: ChangeDetectorRef;
|
|
16
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
15
17
|
thyValue: CompatibleValue | null;
|
|
16
18
|
_panelMode: ThyPanelMode;
|
|
17
19
|
private datePickerConfigService;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { ThyI18nLocale } from 'ngx-tethys/i18n';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare function DATE_HELPER_SERVICE_FACTORY(): DateHelperService;
|
|
3
5
|
/**
|
|
4
6
|
* @private
|
|
5
7
|
*/
|
|
6
8
|
export declare abstract class DateHelperService {
|
|
9
|
+
locale: Signal<ThyI18nLocale>;
|
|
7
10
|
relyOnDatePipe: boolean;
|
|
8
11
|
abstract getISOWeek(date: Date): number;
|
|
9
12
|
abstract format(date: Date, formatStr: string): string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { WeekDayIndex } from 'ngx-tethys/util';
|
|
3
3
|
import { CompatiblePresets, ThyShortcutPosition } from './standard-types';
|
|
4
|
+
import { ThyI18nService } from 'ngx-tethys/i18n';
|
|
4
5
|
export interface ThyDatePickerConfig {
|
|
5
6
|
shortcutPosition: ThyShortcutPosition;
|
|
6
7
|
shortcutDatePresets: CompatiblePresets;
|
|
@@ -9,9 +10,14 @@ export interface ThyDatePickerConfig {
|
|
|
9
10
|
weekStartsOn: WeekDayIndex;
|
|
10
11
|
timestampPrecision: 'seconds' | 'milliseconds';
|
|
11
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*/
|
|
12
16
|
export declare const DEFAULT_DATE_PICKER_CONFIG: ThyDatePickerConfig;
|
|
13
17
|
export declare const THY_DATE_PICKER_CONFIG: InjectionToken<ThyDatePickerConfig>;
|
|
18
|
+
export declare function useDatePickerDefaultConfig(): ThyDatePickerConfig;
|
|
14
19
|
export declare const THY_DATE_PICKER_CONFIG_PROVIDER: {
|
|
15
20
|
provide: InjectionToken<ThyDatePickerConfig>;
|
|
16
|
-
|
|
21
|
+
useFactory: typeof useDatePickerDefaultConfig;
|
|
22
|
+
deps: (typeof ThyI18nService)[];
|
|
17
23
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, Signal } from '@angular/core';
|
|
2
2
|
import { TinyDate } from 'ngx-tethys/util';
|
|
3
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* @private
|
|
@@ -15,6 +16,7 @@ export declare class CalendarFooter implements OnInit, OnChanges {
|
|
|
15
16
|
readonly showTimePickerChange: EventEmitter<boolean>;
|
|
16
17
|
isShowTime: boolean;
|
|
17
18
|
isCanTime: boolean;
|
|
19
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
20
22
|
onSelectTime(date: Date): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, Signal, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ThyPanelMode } from '../../standard-types';
|
|
3
3
|
import { TinyDate } from 'ngx-tethys/util';
|
|
4
4
|
import { DateHelperService } from '../../date-helper.service';
|
|
5
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export interface PanelSelector {
|
|
7
8
|
className: string;
|
|
@@ -14,6 +15,7 @@ export interface PanelSelector {
|
|
|
14
15
|
*/
|
|
15
16
|
export declare abstract class CalendarHeader implements OnInit, OnChanges {
|
|
16
17
|
dateHelper: DateHelperService;
|
|
18
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
17
19
|
showSuperPreBtn: boolean;
|
|
18
20
|
showSuperNextBtn: boolean;
|
|
19
21
|
showPreBtn: boolean;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, Signal, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { SafeAny } from 'ngx-tethys/types';
|
|
3
3
|
import { FunctionProp, isTemplateRef, TinyDate } from 'ngx-tethys/util';
|
|
4
4
|
import { DateCell, DateBodyRow } from '../date/types';
|
|
5
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @private
|
|
8
9
|
*/
|
|
9
10
|
export declare abstract class CalendarTable implements OnInit, OnChanges {
|
|
11
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
10
12
|
isTemplateRef: typeof isTemplateRef;
|
|
11
13
|
headRow: DateCell[];
|
|
12
14
|
bodyRows: DateBodyRow[];
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { TinyDate } from 'ngx-tethys/util';
|
|
4
4
|
import { AdvancedSelectableCell, RangeAdvancedValue } from '../../inner-types';
|
|
5
5
|
import { ThyDateGranularity } from '../../standard-types';
|
|
6
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
9
10
|
*/
|
|
10
11
|
export declare class DateCarousel implements OnInit, ControlValueAccessor, OnDestroy {
|
|
11
12
|
private cdr;
|
|
13
|
+
private dateHelper;
|
|
14
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
12
15
|
className: string;
|
|
13
16
|
activeDate: TinyDate;
|
|
14
17
|
set defaultValue(value: RangeAdvancedValue);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FunctionProp, TinyDate } from 'ngx-tethys/util';
|
|
2
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef, Signal } from '@angular/core';
|
|
3
3
|
import { CompatibleValue, DatePickerFlexibleTab, RangeAdvancedValue, RangePartType } from '../../inner-types';
|
|
4
4
|
import { CompatibleDate, CompatiblePresets, DisabledDateFn, SupportTimeOptions, ThyDateChangeEvent, ThyDateGranularity, ThyPanelMode, ThyShortcutPosition, ThyShortcutPreset } from '../../standard-types';
|
|
5
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @private
|
|
@@ -9,6 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
9
10
|
export declare class DatePopup implements OnChanges, OnInit {
|
|
10
11
|
private cdr;
|
|
11
12
|
private datePickerConfigService;
|
|
13
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
12
14
|
isRange: boolean;
|
|
13
15
|
showWeek: boolean;
|
|
14
16
|
format: string;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, Signal, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FunctionProp, TinyDate } from 'ngx-tethys/util';
|
|
3
3
|
import { RangePartType } from '../../inner-types';
|
|
4
4
|
import { DisabledDateFn, ThyPanelMode } from '../../standard-types';
|
|
5
|
+
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @private
|
|
8
9
|
*/
|
|
9
10
|
export declare class InnerPopup implements OnChanges {
|
|
10
11
|
private dateHelper;
|
|
12
|
+
locale: Signal<ThyDatePickerLocale>;
|
|
11
13
|
className: boolean;
|
|
12
14
|
_showDateRangeInput: boolean;
|
|
13
15
|
showWeek: boolean;
|
|
@@ -10,6 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare class ThyDateRange implements OnInit, ControlValueAccessor {
|
|
11
11
|
private thyPopover;
|
|
12
12
|
private cdr;
|
|
13
|
+
private locale;
|
|
13
14
|
/**
|
|
14
15
|
* 自定义可选值列表项
|
|
15
16
|
* @type DateRangeItemInfo[]
|
|
@@ -27,6 +28,7 @@ export declare class ThyDateRange implements OnInit, ControlValueAccessor {
|
|
|
27
28
|
thyDisabledSwitch: boolean;
|
|
28
29
|
/**
|
|
29
30
|
* 自定义日期选择的展示文字
|
|
31
|
+
* @default 自定义
|
|
30
32
|
*/
|
|
31
33
|
thyCustomTextValue: string;
|
|
32
34
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { ThyFormGroupFooterAlign } from 'ngx-tethys/form';
|
|
3
|
+
import { ThyI18nService } from 'ngx-tethys/i18n';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
/**
|
|
5
6
|
* 确认框配置
|
|
@@ -45,6 +46,9 @@ export interface ThyConfirmConfig {
|
|
|
45
46
|
onCancel?: () => void;
|
|
46
47
|
}
|
|
47
48
|
export declare const THY_CONFIRM_DEFAULT_OPTIONS: InjectionToken<ThyConfirmConfig>;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated
|
|
51
|
+
*/
|
|
48
52
|
export declare const THY_CONFIRM_DEFAULT_OPTIONS_VALUE: {
|
|
49
53
|
title: string;
|
|
50
54
|
okText: string;
|
|
@@ -52,13 +56,16 @@ export declare const THY_CONFIRM_DEFAULT_OPTIONS_VALUE: {
|
|
|
52
56
|
cancelText: string;
|
|
53
57
|
footerAlign: string;
|
|
54
58
|
};
|
|
59
|
+
declare function useConfirmDefaultOptions(): {
|
|
60
|
+
title: string;
|
|
61
|
+
okText: string;
|
|
62
|
+
okType: string;
|
|
63
|
+
cancelText: string;
|
|
64
|
+
footerAlign: string;
|
|
65
|
+
};
|
|
55
66
|
export declare const THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER: {
|
|
56
67
|
provide: InjectionToken<ThyConfirmConfig>;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
okText: string;
|
|
60
|
-
okType: string;
|
|
61
|
-
cancelText: string;
|
|
62
|
-
footerAlign: string;
|
|
63
|
-
};
|
|
68
|
+
useFactory: typeof useConfirmDefaultOptions;
|
|
69
|
+
deps: (typeof ThyI18nService)[];
|
|
64
70
|
};
|
|
71
|
+
export {};
|
package/dialog/dialog-ref.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { ThyAbstractInternalOverlayRef, ThyAbstractOverlayPosition, ThyAbstractOverlayRef } from 'ngx-tethys/core';
|
|
2
1
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
+
import { ThyAbstractInternalOverlayRef, ThyAbstractOverlayPosition, ThyAbstractOverlayRef } from 'ngx-tethys/core';
|
|
3
3
|
import { ThyDialogContainer } from './dialog-container.component';
|
|
4
4
|
import { ThyDialogConfig } from './dialog.config';
|
|
5
5
|
/**
|
|
6
6
|
* @publicApi
|
|
7
7
|
* @order 30
|
|
8
8
|
*/
|
|
9
|
+
export interface ThyAbstractDialog {
|
|
10
|
+
toTop(id: string): void;
|
|
11
|
+
}
|
|
9
12
|
export declare abstract class ThyDialogRef<T, TResult = unknown> extends ThyAbstractOverlayRef<T, ThyDialogContainer, TResult> {
|
|
10
13
|
}
|
|
11
14
|
export declare class ThyInternalDialogRef<T, TResult = unknown> extends ThyAbstractInternalOverlayRef<T, ThyDialogContainer, TResult> {
|
|
12
|
-
|
|
15
|
+
thyDialog: ThyAbstractDialog;
|
|
16
|
+
constructor(overlayRef: OverlayRef, containerInstance: ThyDialogContainer, config: ThyDialogConfig<T>, service: ThyAbstractDialog);
|
|
13
17
|
/**
|
|
14
18
|
* Updates the dialog's position.
|
|
15
19
|
* @param position New dialog position.
|
|
@@ -21,4 +25,8 @@ export declare class ThyInternalDialogRef<T, TResult = unknown> extends ThyAbstr
|
|
|
21
25
|
* @param height New height of the dialog.
|
|
22
26
|
*/
|
|
23
27
|
updateSizeAndPosition(width?: string, height?: string, position?: ThyAbstractOverlayPosition): this;
|
|
28
|
+
/**
|
|
29
|
+
* Update dialog to top
|
|
30
|
+
*/
|
|
31
|
+
toTop(): void;
|
|
24
32
|
}
|
|
@@ -14,6 +14,8 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
*/
|
|
15
15
|
export declare class ThyDialog extends ThyAbstractOverlayService<ThyDialogConfig, ThyDialogContainer> implements OnDestroy {
|
|
16
16
|
private confirmComponentType;
|
|
17
|
+
private overlayKeyboardDispatcher;
|
|
18
|
+
private overlayContainer;
|
|
17
19
|
protected buildOverlayConfig(config: ThyDialogConfig<any>): OverlayConfig;
|
|
18
20
|
protected attachOverlayContainer(overlay: OverlayRef, config: ThyDialogConfig<any>): ThyDialogContainer;
|
|
19
21
|
protected createAbstractOverlayRef<T, TResult>(overlayRef: OverlayRef, containerInstance: ThyDialogContainer, config: ThyDialogConfig<any>): ThyAbstractOverlayRef<T, ThyDialogContainer, TResult>;
|
|
@@ -40,6 +42,10 @@ export declare class ThyDialog extends ThyAbstractOverlayService<ThyDialogConfig
|
|
|
40
42
|
* @description 获取与指定元素最接近的 ThyDialogRef
|
|
41
43
|
*/
|
|
42
44
|
getClosestDialog(element: HTMLElement): ThyDialogRef<any> | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Update dialog to top
|
|
47
|
+
*/
|
|
48
|
+
toTop(idOrOverlayRef: string | ThyDialogRef<unknown, ThyDialogContainer>): void;
|
|
43
49
|
ngOnDestroy(): void;
|
|
44
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDialog, never>;
|
|
45
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThyDialog>;
|
|
@@ -16,24 +16,30 @@ export declare class ThyEmpty implements OnInit, AfterViewInit, OnChanges {
|
|
|
16
16
|
private elementRef;
|
|
17
17
|
private ngZone;
|
|
18
18
|
private sanitizer;
|
|
19
|
+
private locale;
|
|
19
20
|
/**
|
|
20
21
|
* 显示文本提示信息。同时传入 thyMessage,thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高
|
|
22
|
+
* @default 暂无数据
|
|
21
23
|
*/
|
|
22
24
|
thyMessage: string;
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
26
|
+
* 已废弃。显示文本提示信息多语言 Key。同时传入 thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高
|
|
27
|
+
* @deprecated
|
|
25
28
|
*/
|
|
26
29
|
thyTranslationKey: string;
|
|
27
30
|
/**
|
|
28
|
-
*
|
|
31
|
+
* 已废弃。显示文本提示信息多语言 Key 的 Values。传入 thyTranslationKey 后,传入这个才会生效
|
|
32
|
+
* @deprecated
|
|
29
33
|
*/
|
|
30
34
|
thyTranslationValues: any;
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
36
|
+
* 已废弃。显示默认提示信息,替换默认提示信息的目标对象,比如:没有 {thyEntityName}。同时传入 thyEntityName,thyEntityNameTranslateKey 时优先级较高
|
|
37
|
+
* @deprecated
|
|
33
38
|
*/
|
|
34
39
|
thyEntityName: string;
|
|
35
40
|
/**
|
|
36
|
-
* thyEntityName 的多语言 Key。thyMessage,thyTranslationKey,thyEntityName 均未传入时才会生效
|
|
41
|
+
* 已废弃。thyEntityName 的多语言 Key。thyMessage,thyTranslationKey,thyEntityName 均未传入时才会生效
|
|
42
|
+
* @deprecated
|
|
37
43
|
*/
|
|
38
44
|
thyEntityNameTranslateKey: string;
|
|
39
45
|
/**
|
|
@@ -87,9 +93,8 @@ export declare class ThyEmpty implements OnInit, AfterViewInit, OnChanges {
|
|
|
87
93
|
setPresetSvg(icon: string): void;
|
|
88
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyEmpty, never>;
|
|
89
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>;
|
|
90
|
-
static ngAcceptInputType_thyTopAuto:
|
|
91
|
-
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
|
-
boolean | string | number;
|
|
96
|
+
static ngAcceptInputType_thyTopAuto: /**
|
|
97
|
+
* 显示文本提示信息。同时传入 thyMessage,thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高
|
|
98
|
+
* @default 暂无数据
|
|
99
|
+
*/ boolean | string | number;
|
|
95
100
|
}
|