ngx-tethys 19.1.0-next.0 → 19.1.0-next.10
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 +126 -0
- package/README.md +0 -1
- package/action/action.component.d.ts +7 -8
- package/affix/affix.component.d.ts +3 -4
- package/arrow-switcher/arrow-switcher.component.d.ts +5 -1
- package/badge/badge.component.d.ts +1 -1
- package/button/button-group.component.d.ts +5 -12
- package/button/button-icon.component.d.ts +14 -28
- package/button/button.component.d.ts +17 -27
- package/color-picker/coordinates.directive.d.ts +1 -2
- package/date-picker/abstract-picker.component.d.ts +50 -52
- package/date-picker/abstract-picker.directive.d.ts +15 -40
- package/date-picker/base-picker.component.d.ts +12 -40
- package/date-picker/date-picker.config.d.ts +3 -0
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +24 -19
- package/date-picker/lib/calendar/calendar-header.component.d.ts +15 -15
- package/date-picker/lib/calendar/calendar-table.component.d.ts +15 -16
- package/date-picker/lib/date/date-table-cell.component.d.ts +6 -3
- package/date-picker/lib/date/date-table.component.d.ts +2 -3
- package/date-picker/lib/date-carousel/date-carousel.component.d.ts +2 -3
- package/date-picker/lib/decade/decade-header.component.d.ts +2 -5
- package/date-picker/lib/decade/decade-table.component.d.ts +3 -5
- package/date-picker/lib/month/month-table.component.d.ts +1 -2
- package/date-picker/lib/popups/date-popup.component.d.ts +33 -34
- package/date-picker/lib/popups/inner-popup.component.d.ts +22 -29
- package/date-picker/lib/quarter/quarter-table.component.d.ts +1 -4
- package/date-picker/lib/year/year-header.component.d.ts +2 -4
- package/date-picker/lib/year/year-table.component.d.ts +2 -4
- package/date-picker/month-picker.component.d.ts +2 -2
- package/date-picker/picker.component.d.ts +31 -36
- package/date-picker/picker.pipes.d.ts +4 -5
- package/date-picker/picker.util.d.ts +5 -5
- package/date-picker/picker.validators.d.ts +4 -8
- package/date-picker/quarter-picker.component.d.ts +2 -3
- package/date-picker/styles/calendar.scss +1 -1
- package/date-picker/styles/range-picker.scss +1 -0
- package/date-picker/styles/week-picker.scss +1 -0
- package/date-picker/week-picker.component.d.ts +0 -1
- package/date-picker/year-picker.component.d.ts +2 -3
- package/dropdown/dropdown-active.directive.d.ts +4 -5
- package/dropdown/dropdown-menu-item.directive.d.ts +7 -15
- package/dropdown/dropdown-menu.component.d.ts +6 -13
- package/dropdown/dropdown-submenu.component.d.ts +2 -4
- package/dropdown/dropdown.directive.d.ts +15 -25
- package/empty/empty.component.d.ts +2 -1
- package/fesm2022/ngx-tethys-action.mjs +15 -16
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +14 -18
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +15 -3
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +4 -4
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +225 -322
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +1 -0
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +2 -2
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +2 -2
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +4 -6
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +2 -2
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +861 -1078
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +5 -5
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +159 -209
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +5 -2
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +68 -88
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +10 -15
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +26 -6
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +44 -59
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +44 -42
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +291 -334
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +183 -217
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +29 -36
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +33 -41
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +7 -11
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +8 -19
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +46 -58
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +115 -157
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +100 -143
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +84 -103
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +164 -228
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +423 -586
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +1 -2
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +37 -56
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +2 -8
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +52 -66
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -2
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +244 -271
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +109 -93
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +98 -119
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +216 -284
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +281 -401
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +2 -2
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +53 -99
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/flexible-text/flexible-text.component.d.ts +9 -15
- package/grid/flex.d.ts +1 -3
- package/grid/thy-row.directive.d.ts +1 -4
- package/i18n/i18n.d.ts +7 -2
- package/i18n/locales/de-de.d.ts +5 -1
- package/i18n/locales/en-us.d.ts +5 -1
- package/i18n/locales/ja-jp.d.ts +5 -1
- package/i18n/locales/zh-hans.d.ts +5 -1
- package/i18n/locales/zh-hant.d.ts +5 -1
- package/icon/icon.component.d.ts +10 -18
- package/image/image.directive.d.ts +10 -13
- package/image/image.token.d.ts +5 -5
- package/image/preview/image-preview.component.d.ts +2 -2
- package/input-number/input-number.component.d.ts +1 -1
- package/layout/header.component.d.ts +15 -19
- package/layout/layout.component.d.ts +3 -2
- package/layout/sidebar-header.component.d.ts +7 -8
- package/layout/sidebar.component.d.ts +32 -62
- package/list/list-item-meta.component.d.ts +7 -9
- package/list/list-item.component.d.ts +0 -2
- package/list/list.component.d.ts +2 -8
- package/list/selection/selection-list.d.ts +33 -46
- package/message/abstract/abstract-message.component.d.ts +2 -3
- package/message/message-container.component.d.ts +0 -1
- package/message/message.component.d.ts +1 -3
- package/notify/notify-container.component.d.ts +0 -1
- package/notify/notify.component.d.ts +7 -12
- package/package.json +1 -1
- package/progress/progress-circle.component.d.ts +3 -5
- package/progress/progress.component.d.ts +2 -4
- package/property/properties.component.d.ts +0 -2
- package/property/property-item.component.d.ts +3 -10
- package/radio/group/radio-group.component.d.ts +5 -9
- package/rate/rate-item.component.d.ts +8 -11
- package/rate/rate.component.d.ts +18 -29
- package/resizable/resizable.directive.d.ts +20 -32
- package/resizable/resize-handle.component.d.ts +6 -7
- package/resizable/resize-handles.component.d.ts +5 -9
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +9 -15
- package/segment/segment.component.d.ts +11 -15
- package/segment/segment.token.d.ts +4 -3
- package/select/custom-select/custom-select.component.d.ts +33 -56
- package/select/native-select/native-select.component.d.ts +7 -13
- package/shared/base-form-check.component.d.ts +6 -8
- package/shared/directives/string-or-template-outlet.directive.d.ts +5 -6
- package/shared/directives/thy-autofocus.directive.d.ts +4 -6
- package/shared/directives/thy-contextmenu.directive.d.ts +2 -2
- package/shared/directives/thy-ctrl-enter.directive.d.ts +2 -2
- package/shared/directives/thy-enter.directive.d.ts +2 -2
- package/shared/directives/thy-scroll.directive.d.ts +5 -8
- package/shared/directives/thy-show.d.ts +5 -6
- package/shared/directives/thy-stop-propagation.directive.d.ts +4 -4
- package/shared/directives/view-outlet.directive.d.ts +6 -7
- package/shared/ng-transclude.directive.d.ts +2 -3
- package/shared/option/group/option-group.component.d.ts +5 -9
- package/shared/option/list-option/list-option.component.d.ts +9 -13
- package/shared/option/option.component.d.ts +10 -17
- package/shared/option/option.token.d.ts +4 -3
- package/shared/option/options-container.component.d.ts +1 -1
- package/shared/select/select-control/select-control.component.d.ts +38 -53
- package/slide/slide-body/slide-body-section.component.d.ts +2 -6
- package/slide/slide-header/slide-header.component.d.ts +6 -9
- package/space/space.component.d.ts +5 -11
- package/stepper/stepper.component.d.ts +1 -1
- package/strength/strength.component.d.ts +8 -13
- package/table/table-column.component.d.ts +15 -5
- package/time-picker/inner/inner-time-picker.class.d.ts +15 -13
- package/time-picker/inner/inner-time-picker.component.d.ts +26 -26
- package/time-picker/time-picker-panel.component.d.ts +18 -20
- package/time-picker/time-picker.component.d.ts +22 -30
- package/tooltip/tooltip.directive.d.ts +20 -22
- package/transfer/transfer-list.component.d.ts +15 -15
- package/transfer/transfer.component.d.ts +20 -23
- package/tree/tree-abstract.d.ts +5 -5
- package/tree/tree-node.component.d.ts +24 -37
- package/tree/tree.class.d.ts +4 -4
- package/tree/tree.component.d.ts +47 -75
- package/tree/tree.service.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +54 -71
- package/vote/vote.component.d.ts +13 -33
package/i18n/i18n.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ThyModuleType = 'datePicker' | 'layout' | 'dateRange' | 'timePicker' | 'calendar' | 'autocomplete' | 'transfer' | 'colorPicker' | 'strength' | 'guider' | 'copy' | 'nav' | 'dialog' | 'select' | 'treeSelect' | 'cascader' | 'pagination' | 'form' | 'empty' | 'image';
|
|
1
|
+
export type ThyModuleType = 'datePicker' | 'layout' | 'dateRange' | 'timePicker' | 'calendar' | 'autocomplete' | 'transfer' | 'colorPicker' | 'strength' | 'guider' | 'copy' | 'nav' | 'dialog' | 'select' | 'treeSelect' | 'cascader' | 'pagination' | 'form' | 'empty' | 'image' | 'shared';
|
|
2
2
|
export type ThyModuleLocaleType<K extends ThyModuleType> = ThyI18nLocale[K];
|
|
3
3
|
export declare enum ThyLocaleType {
|
|
4
4
|
zhHans = "zh-hans",
|
|
@@ -29,6 +29,7 @@ export interface ThyI18nLocale {
|
|
|
29
29
|
form: ThyFormLocale;
|
|
30
30
|
empty: ThyEmptyLocale;
|
|
31
31
|
image: ThyImageLocale;
|
|
32
|
+
shared: ThySharedLocale;
|
|
32
33
|
}
|
|
33
34
|
export interface ThyLayoutLocale {
|
|
34
35
|
collapse: string;
|
|
@@ -37,11 +38,12 @@ export interface ThyLayoutLocale {
|
|
|
37
38
|
export interface ThyDatePickerLocale {
|
|
38
39
|
yearFormat: string;
|
|
39
40
|
monthFormat: string;
|
|
40
|
-
zhMonthFormat: string;
|
|
41
41
|
weekFormat: string;
|
|
42
42
|
fullWeekFormat: string;
|
|
43
43
|
weekThFormat: string;
|
|
44
44
|
dateFormat: string;
|
|
45
|
+
yearQuarterFormat: string;
|
|
46
|
+
yearMonthFormat: string;
|
|
45
47
|
yearText: string;
|
|
46
48
|
quarterText: string;
|
|
47
49
|
monthText: string;
|
|
@@ -176,3 +178,6 @@ export interface ThyImageLocale {
|
|
|
176
178
|
prev: string;
|
|
177
179
|
next: string;
|
|
178
180
|
}
|
|
181
|
+
export interface ThySharedLocale {
|
|
182
|
+
comma: string;
|
|
183
|
+
}
|
package/i18n/locales/de-de.d.ts
CHANGED
|
@@ -8,11 +8,12 @@ declare const _default: {
|
|
|
8
8
|
datePicker: {
|
|
9
9
|
yearFormat: string;
|
|
10
10
|
monthFormat: string;
|
|
11
|
-
zhMonthFormat: string;
|
|
12
11
|
weekFormat: string;
|
|
13
12
|
fullWeekFormat: string;
|
|
14
13
|
weekThFormat: string;
|
|
15
14
|
dateFormat: string;
|
|
15
|
+
yearQuarterFormat: string;
|
|
16
|
+
yearMonthFormat: string;
|
|
16
17
|
yearText: string;
|
|
17
18
|
quarterText: string;
|
|
18
19
|
monthText: string;
|
|
@@ -147,5 +148,8 @@ declare const _default: {
|
|
|
147
148
|
prev: string;
|
|
148
149
|
next: string;
|
|
149
150
|
};
|
|
151
|
+
shared: {
|
|
152
|
+
comma: string;
|
|
153
|
+
};
|
|
150
154
|
};
|
|
151
155
|
export default _default;
|
package/i18n/locales/en-us.d.ts
CHANGED
|
@@ -8,11 +8,12 @@ declare const _default: {
|
|
|
8
8
|
datePicker: {
|
|
9
9
|
yearFormat: string;
|
|
10
10
|
monthFormat: string;
|
|
11
|
-
zhMonthFormat: string;
|
|
12
11
|
weekFormat: string;
|
|
13
12
|
fullWeekFormat: string;
|
|
14
13
|
weekThFormat: string;
|
|
15
14
|
dateFormat: string;
|
|
15
|
+
yearQuarterFormat: string;
|
|
16
|
+
yearMonthFormat: string;
|
|
16
17
|
yearText: string;
|
|
17
18
|
quarterText: string;
|
|
18
19
|
monthText: string;
|
|
@@ -147,6 +148,9 @@ declare const _default: {
|
|
|
147
148
|
prev: string;
|
|
148
149
|
next: string;
|
|
149
150
|
};
|
|
151
|
+
shared: {
|
|
152
|
+
comma: string;
|
|
153
|
+
};
|
|
150
154
|
};
|
|
151
155
|
export default _default;
|
|
152
156
|
/**
|
package/i18n/locales/ja-jp.d.ts
CHANGED
|
@@ -8,11 +8,12 @@ declare const _default: {
|
|
|
8
8
|
datePicker: {
|
|
9
9
|
yearFormat: string;
|
|
10
10
|
monthFormat: string;
|
|
11
|
-
zhMonthFormat: string;
|
|
12
11
|
weekFormat: string;
|
|
13
12
|
fullWeekFormat: string;
|
|
14
13
|
weekThFormat: string;
|
|
15
14
|
dateFormat: string;
|
|
15
|
+
yearQuarterFormat: string;
|
|
16
|
+
yearMonthFormat: string;
|
|
16
17
|
yearText: string;
|
|
17
18
|
quarterText: string;
|
|
18
19
|
monthText: string;
|
|
@@ -147,5 +148,8 @@ declare const _default: {
|
|
|
147
148
|
prev: string;
|
|
148
149
|
next: string;
|
|
149
150
|
};
|
|
151
|
+
shared: {
|
|
152
|
+
comma: string;
|
|
153
|
+
};
|
|
150
154
|
};
|
|
151
155
|
export default _default;
|
|
@@ -8,11 +8,12 @@ declare const _default: {
|
|
|
8
8
|
datePicker: {
|
|
9
9
|
yearFormat: string;
|
|
10
10
|
monthFormat: string;
|
|
11
|
-
zhMonthFormat: string;
|
|
12
11
|
weekFormat: string;
|
|
13
12
|
fullWeekFormat: string;
|
|
14
13
|
weekThFormat: string;
|
|
15
14
|
dateFormat: string;
|
|
15
|
+
yearQuarterFormat: string;
|
|
16
|
+
yearMonthFormat: string;
|
|
16
17
|
yearText: string;
|
|
17
18
|
quarterText: string;
|
|
18
19
|
monthText: string;
|
|
@@ -147,5 +148,8 @@ declare const _default: {
|
|
|
147
148
|
prev: string;
|
|
148
149
|
next: string;
|
|
149
150
|
};
|
|
151
|
+
shared: {
|
|
152
|
+
comma: string;
|
|
153
|
+
};
|
|
150
154
|
};
|
|
151
155
|
export default _default;
|
|
@@ -8,11 +8,12 @@ declare const _default: {
|
|
|
8
8
|
datePicker: {
|
|
9
9
|
yearFormat: string;
|
|
10
10
|
monthFormat: string;
|
|
11
|
-
zhMonthFormat: string;
|
|
12
11
|
weekFormat: string;
|
|
13
12
|
fullWeekFormat: string;
|
|
14
13
|
weekThFormat: string;
|
|
15
14
|
dateFormat: string;
|
|
15
|
+
yearQuarterFormat: string;
|
|
16
|
+
yearMonthFormat: string;
|
|
16
17
|
yearText: string;
|
|
17
18
|
quarterText: string;
|
|
18
19
|
monthText: string;
|
|
@@ -147,5 +148,8 @@ declare const _default: {
|
|
|
147
148
|
prev: string;
|
|
148
149
|
next: string;
|
|
149
150
|
};
|
|
151
|
+
shared: {
|
|
152
|
+
comma: string;
|
|
153
|
+
};
|
|
150
154
|
};
|
|
151
155
|
export default _default;
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -1,41 +1,36 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "ngx-tethys/util";
|
|
4
2
|
/**
|
|
5
3
|
* 图标组件
|
|
6
4
|
* @name thy-icon,[thy-icon]
|
|
7
5
|
* @order 10
|
|
8
6
|
*/
|
|
9
|
-
export declare class ThyIcon
|
|
7
|
+
export declare class ThyIcon {
|
|
10
8
|
private render;
|
|
11
9
|
private elementRef;
|
|
12
10
|
private iconRegistry;
|
|
13
|
-
private initialized;
|
|
14
11
|
/**
|
|
15
12
|
* 图标的类型
|
|
16
13
|
* @type outline | fill | twotone
|
|
17
14
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
readonly thyIconType: import("@angular/core").InputSignal<"fill" | "outline" | "twotone">;
|
|
16
|
+
readonly thyTwotoneColor: import("@angular/core").InputSignal<string>;
|
|
20
17
|
/**
|
|
21
18
|
* 图标的名字
|
|
22
19
|
*/
|
|
23
|
-
|
|
20
|
+
readonly thyIconName: import("@angular/core").InputSignal<string>;
|
|
24
21
|
/**
|
|
25
22
|
* 图标的旋转角度
|
|
26
23
|
* @default 0
|
|
27
24
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
readonly thyIconRotate: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
26
|
+
readonly thyIconSet: import("@angular/core").InputSignal<string>;
|
|
30
27
|
/**
|
|
31
28
|
* 图标打底色,镂空的图标,会透过颜色来
|
|
32
|
-
* @default false
|
|
33
29
|
*/
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
readonly thyIconLegging: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly thyIconLinearGradient: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
36
32
|
private hostRenderer;
|
|
37
|
-
|
|
38
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
constructor();
|
|
39
34
|
private updateClasses;
|
|
40
35
|
private setStyleRotate;
|
|
41
36
|
private setSvgElement;
|
|
@@ -48,8 +43,5 @@ export declare class ThyIcon implements OnInit, OnChanges {
|
|
|
48
43
|
private setBaseUrl;
|
|
49
44
|
private clearTitleElement;
|
|
50
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyIcon, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyIcon, "thy-icon, [thy-icon]", never, { "
|
|
52
|
-
static ngAcceptInputType_iconRotate: unknown;
|
|
53
|
-
static ngAcceptInputType_iconLegging: i1.ThyBooleanInput;
|
|
54
|
-
static ngAcceptInputType_iconLinearGradient: i1.ThyBooleanInput;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyIcon, "thy-icon, [thy-icon]", never, { "thyIconType": { "alias": "thyIconType"; "required": false; "isSignal": true; }; "thyTwotoneColor": { "alias": "thyTwotoneColor"; "required": false; "isSignal": true; }; "thyIconName": { "alias": "thyIconName"; "required": true; "isSignal": true; }; "thyIconRotate": { "alias": "thyIconRotate"; "required": false; "isSignal": true; }; "thyIconSet": { "alias": "thyIconSet"; "required": false; "isSignal": true; }; "thyIconLegging": { "alias": "thyIconLegging"; "required": false; "isSignal": true; }; "thyIconLinearGradient": { "alias": "thyIconLinearGradient"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
55
47
|
}
|
|
@@ -1,53 +1,50 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { IThyImageDirective } from './image.token';
|
|
3
3
|
import { ThyImageMeta } from './image.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "ngx-tethys/util";
|
|
6
5
|
/**
|
|
7
6
|
* thyImage: 预览图片指令,只可绑定到 img 标签上
|
|
8
7
|
* @name img[thyImage]
|
|
9
8
|
* @order 10
|
|
10
9
|
*/
|
|
11
|
-
export declare class ThyImageDirective implements IThyImageDirective, OnInit,
|
|
10
|
+
export declare class ThyImageDirective implements IThyImageDirective, OnInit, AfterViewInit, OnDestroy {
|
|
12
11
|
private thyImageService;
|
|
13
12
|
private injector;
|
|
14
13
|
private elementRef;
|
|
15
14
|
/**
|
|
16
15
|
* 图片地址
|
|
17
16
|
*/
|
|
18
|
-
thySrc: string
|
|
17
|
+
readonly thySrc: import("@angular/core").InputSignal<string>;
|
|
19
18
|
/**
|
|
20
19
|
* 预览图片地址
|
|
21
20
|
*/
|
|
22
|
-
thyPreviewSrc: string
|
|
21
|
+
readonly thyPreviewSrc: import("@angular/core").InputSignal<string>;
|
|
23
22
|
/**
|
|
24
23
|
* 图片原图地址
|
|
25
24
|
*/
|
|
26
|
-
thyOriginSrc: string
|
|
25
|
+
readonly thyOriginSrc: import("@angular/core").InputSignal<string>;
|
|
27
26
|
/**
|
|
28
27
|
* 图片附加信息,包含 { name: string, size?: string | number; }
|
|
29
28
|
*/
|
|
30
|
-
thyImageMeta: ThyImageMeta
|
|
29
|
+
readonly thyImageMeta: import("@angular/core").InputSignal<ThyImageMeta>;
|
|
31
30
|
/**
|
|
32
31
|
* 是否禁止预览
|
|
33
32
|
* @default false
|
|
34
33
|
*/
|
|
35
|
-
thyDisablePreview: boolean
|
|
34
|
+
readonly thyDisablePreview: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
36
35
|
/**
|
|
37
36
|
* 是否自动计算图片资源大小
|
|
38
37
|
*/
|
|
39
|
-
thyResolveSize: boolean
|
|
38
|
+
readonly thyResolveSize: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
40
39
|
get previewable(): boolean;
|
|
41
40
|
private parentGroup;
|
|
41
|
+
constructor();
|
|
42
42
|
ngOnInit(): void;
|
|
43
43
|
ngAfterViewInit(): void;
|
|
44
44
|
getParentGroup(): void;
|
|
45
45
|
addParentImage(): void;
|
|
46
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
47
46
|
onPreview(event: MouseEvent): void;
|
|
48
47
|
ngOnDestroy(): void;
|
|
49
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyImageDirective, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyImageDirective, "img[thyImage]", ["thyImage"], { "thySrc": { "alias": "thySrc"; "required": false; }; "thyPreviewSrc": { "alias": "thyPreviewSrc"; "required": false; }; "thyOriginSrc": { "alias": "thyOriginSrc"; "required": false; }; "thyImageMeta": { "alias": "thyImageMeta"; "required": false; }; "thyDisablePreview": { "alias": "thyDisablePreview"; "required": false; }; "thyResolveSize": { "alias": "thyResolveSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
|
-
static ngAcceptInputType_thyDisablePreview: i1.ThyBooleanInput;
|
|
52
|
-
static ngAcceptInputType_thyResolveSize: i1.ThyBooleanInput;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyImageDirective, "img[thyImage]", ["thyImage"], { "thySrc": { "alias": "thySrc"; "required": false; "isSignal": true; }; "thyPreviewSrc": { "alias": "thyPreviewSrc"; "required": false; "isSignal": true; }; "thyOriginSrc": { "alias": "thyOriginSrc"; "required": false; "isSignal": true; }; "thyImageMeta": { "alias": "thyImageMeta"; "required": false; "isSignal": true; }; "thyDisablePreview": { "alias": "thyDisablePreview"; "required": false; "isSignal": true; }; "thyResolveSize": { "alias": "thyResolveSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
50
|
}
|
package/image/image.token.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ElementRef, InjectionToken, Injector } from '@angular/core';
|
|
1
|
+
import { ElementRef, InjectionToken, Injector, InputSignal } from '@angular/core';
|
|
2
2
|
import { ThyImageMeta } from './image.class';
|
|
3
3
|
export interface IThyImageDirective {
|
|
4
4
|
previewable: boolean;
|
|
5
|
-
thySrc: string
|
|
6
|
-
thyPreviewSrc: string
|
|
7
|
-
thyOriginSrc: string
|
|
8
|
-
thyImageMeta: ThyImageMeta
|
|
5
|
+
thySrc: InputSignal<string>;
|
|
6
|
+
thyPreviewSrc: InputSignal<string>;
|
|
7
|
+
thyOriginSrc: InputSignal<string>;
|
|
8
|
+
thyImageMeta: InputSignal<ThyImageMeta>;
|
|
9
9
|
}
|
|
10
10
|
export interface IThyImageGroupComponent {
|
|
11
11
|
injector: Injector;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { ThyCopyEvent } from 'ngx-tethys/copy';
|
|
3
3
|
import { ThyDialog } from 'ngx-tethys/dialog';
|
|
4
4
|
import { ThyFullscreen } from 'ngx-tethys/fullscreen';
|
|
@@ -20,7 +20,7 @@ export declare class ThyImagePreview implements OnInit {
|
|
|
20
20
|
private host;
|
|
21
21
|
private sanitizer;
|
|
22
22
|
locale: Signal<ThyImageLocale>;
|
|
23
|
-
downloadClicked:
|
|
23
|
+
readonly downloadClicked: import("@angular/core").OutputEmitterRef<ThyImageInfo>;
|
|
24
24
|
private readonly destroyRef;
|
|
25
25
|
images: InternalImageInfo[];
|
|
26
26
|
previewIndex: number;
|
|
@@ -26,7 +26,7 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
|
|
|
26
26
|
* 是否自动聚焦
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
|
-
readonly thyAutoFocus: import("@angular/core").InputSignalWithTransform<boolean,
|
|
29
|
+
readonly thyAutoFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
30
30
|
/**
|
|
31
31
|
* 输入框的placeholder
|
|
32
32
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "ngx-tethys/util";
|
|
4
3
|
/**
|
|
5
4
|
* 头部布局指令
|
|
6
5
|
* @name thyHeader
|
|
@@ -11,27 +10,24 @@ export declare class ThyHeaderDirective {
|
|
|
11
10
|
* 头部大小
|
|
12
11
|
* @type sm | md | lg | xlg
|
|
13
12
|
*/
|
|
14
|
-
thySize:
|
|
13
|
+
readonly thySize: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xlg">;
|
|
15
14
|
/**
|
|
16
15
|
* 底部是否有阴影
|
|
17
16
|
* @default false
|
|
18
17
|
*/
|
|
19
|
-
thyShadow: boolean
|
|
20
|
-
divided: boolean;
|
|
18
|
+
readonly thyShadow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
19
|
/**
|
|
22
20
|
* 底部是否有分割线
|
|
23
21
|
*/
|
|
24
|
-
|
|
22
|
+
readonly thyDivided: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
23
|
/**
|
|
26
24
|
* 底部是否有分割线,已废弃,请使用 thyDivided
|
|
27
25
|
* @deprecated please use thyDivided
|
|
28
26
|
*/
|
|
29
|
-
|
|
27
|
+
readonly thyHasBorder: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly divided: import("@angular/core").Signal<boolean>;
|
|
30
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyHeaderDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyHeaderDirective, "[thyHeader]", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyShadow": { "alias": "thyShadow"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorder": { "alias": "thyHasBorder"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
-
static ngAcceptInputType_thyShadow: i1.ThyBooleanInput;
|
|
33
|
-
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
34
|
-
static ngAcceptInputType_thyHasBorder: i1.ThyBooleanInput;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyHeaderDirective, "[thyHeader]", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyShadow": { "alias": "thyShadow"; "required": false; "isSignal": true; }; "thyDivided": { "alias": "thyDivided"; "required": false; "isSignal": true; }; "thyHasBorder": { "alias": "thyHasBorder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
31
|
}
|
|
36
32
|
/**
|
|
37
33
|
* 头部布局组件
|
|
@@ -39,35 +35,35 @@ export declare class ThyHeaderDirective {
|
|
|
39
35
|
* @order 11
|
|
40
36
|
*/
|
|
41
37
|
export declare class ThyHeader {
|
|
42
|
-
iconClass: string;
|
|
43
|
-
svgIconName: string;
|
|
44
38
|
/**
|
|
45
39
|
* 头部标题
|
|
46
40
|
*/
|
|
47
|
-
thyTitle: string
|
|
41
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
48
42
|
/**
|
|
49
43
|
* 图标前缀,被弃用,图标使用 SVG 图标
|
|
50
44
|
*/
|
|
51
|
-
thyIconPrefix: string
|
|
45
|
+
readonly thyIconPrefix: import("@angular/core").InputSignal<string>;
|
|
52
46
|
/**
|
|
53
47
|
* 图标,SVG 图标名称
|
|
54
48
|
*/
|
|
55
|
-
|
|
49
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
50
|
+
readonly svgIconName: import("@angular/core").Signal<string>;
|
|
51
|
+
readonly iconClass: import("@angular/core").Signal<string>;
|
|
56
52
|
/**
|
|
57
53
|
* 头部自定义标题模板,`<ng-template #headerTitle></ng-template>`
|
|
58
54
|
* @type TemplateRef
|
|
59
55
|
*/
|
|
60
|
-
titleTemplateRef: TemplateRef<any
|
|
56
|
+
readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
61
57
|
/**
|
|
62
58
|
* 头部自定义内容模板,`<ng-template #headerContent></ng-template>`
|
|
63
59
|
* @type TemplateRef
|
|
64
60
|
*/
|
|
65
|
-
contentTemplateRef: TemplateRef<any
|
|
61
|
+
readonly contentTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
66
62
|
/**
|
|
67
63
|
* 头部自定义操作模板,`<ng-template #headerOperation></ng-template>`
|
|
68
64
|
* @type TemplateRef
|
|
69
65
|
*/
|
|
70
|
-
operationTemplateRef: TemplateRef<any
|
|
66
|
+
readonly operationTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
71
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyHeader, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyHeader, "thy-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyIconPrefix": { "alias": "thyIconPrefix"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, ["titleTemplateRef", "contentTemplateRef", "operationTemplateRef"], never, true, [{ directive: typeof ThyHeaderDirective; inputs: { "thySize": "thySize"; "thyShadow": "thyShadow"; "thyHasBorder": "thyHasBorder"; "thyDivided": "thyDivided"; }; outputs: {}; }]>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyHeader, "thy-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyIconPrefix": { "alias": "thyIconPrefix"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, ["titleTemplateRef", "contentTemplateRef", "operationTemplateRef"], never, true, [{ directive: typeof ThyHeaderDirective; inputs: { "thySize": "thySize"; "thyShadow": "thyShadow"; "thyHasBorder": "thyHasBorder"; "thyDivided": "thyDivided"; }; outputs: {}; }]>;
|
|
73
69
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ThySidebarDirection } from './sidebar.component';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* 布局指令
|
|
@@ -5,8 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
5
6
|
* @order 5
|
|
6
7
|
*/
|
|
7
8
|
export declare class ThyLayoutDirective {
|
|
8
|
-
|
|
9
|
-
isSidebarRight: boolean
|
|
9
|
+
readonly sidebarDirection: import("@angular/core").WritableSignal<ThySidebarDirection>;
|
|
10
|
+
readonly isSidebarRight: import("@angular/core").Signal<boolean>;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyLayoutDirective, never>;
|
|
11
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyLayoutDirective, "[thyLayout]:not([thyForm]):not(thy-form):not(thy-radio-group):not(thy-properties):not(thy-selection-list):not(thy-vote):not([thyVote])", never, {}, {}, never, never, true, never>;
|
|
12
13
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "ngx-tethys/util";
|
|
4
3
|
/**
|
|
5
4
|
* 侧边栏头部布局指令
|
|
6
5
|
* @name thySidebarHeader
|
|
@@ -11,10 +10,10 @@ export declare class ThySidebarHeaderDirective {
|
|
|
11
10
|
* 是否有分割线
|
|
12
11
|
* @default false
|
|
13
12
|
*/
|
|
14
|
-
thyDivided: boolean
|
|
13
|
+
readonly thyDivided: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
constructor();
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarHeaderDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarHeaderDirective, "[thySidebarHeader]", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarHeaderDirective, "[thySidebarHeader]", never, { "thyDivided": { "alias": "thyDivided"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
17
|
}
|
|
19
18
|
/**
|
|
20
19
|
* 侧边栏头部布局组件
|
|
@@ -25,17 +24,17 @@ export declare class ThySidebarHeader {
|
|
|
25
24
|
/**
|
|
26
25
|
* 头部标题
|
|
27
26
|
*/
|
|
28
|
-
thyTitle: string
|
|
27
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
29
28
|
/**
|
|
30
29
|
* 头部自定义操作模板,`<ng-template #headerOperation></ng-template>`
|
|
31
30
|
* @type TemplateRef
|
|
32
31
|
*/
|
|
33
|
-
operationTemplateRef: TemplateRef<unknown
|
|
32
|
+
readonly operationTemplateRef: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
34
33
|
/**
|
|
35
34
|
* 头部自定义标题模板,`<ng-template #headerTitle></ng-template>`
|
|
36
35
|
* @type TemplateRef
|
|
37
36
|
*/
|
|
38
|
-
titleTemplateRef: TemplateRef<any
|
|
37
|
+
readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
39
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarHeader, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebarHeader, "thy-sidebar-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; }, {}, ["operationTemplateRef", "titleTemplateRef"], ["*"], true, [{ directive: typeof ThySidebarHeaderDirective; inputs: { "thyDivided": "thyDivided"; }; outputs: {}; }]>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebarHeader, "thy-sidebar-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; }, {}, ["operationTemplateRef", "titleTemplateRef"], ["*"], true, [{ directive: typeof ThySidebarHeaderDirective; inputs: { "thyDivided": "thyDivided"; }; outputs: {}; }]>;
|
|
41
40
|
}
|