ngx-tethys 18.1.1 → 18.2.0-next.1
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 +36 -0
- package/alert/styles/mixin.scss +1 -1
- package/anchor/style/anchor.scss +4 -2
- package/autocomplete/autocomplete.component.d.ts +2 -1
- package/avatar/styles/avatar.scss +1 -1
- package/back-top/styles/back-top.scss +3 -3
- package/button/styles/button-group.scss +9 -9
- package/button/styles/button.scss +2 -6
- package/button/styles/mixin.scss +6 -53
- package/calendar/calendar-header.component.d.ts +2 -0
- package/calendar/styles/calendar.scss +3 -11
- package/card/styles/card.scss +3 -3
- package/carousel/styles/carousel.scss +10 -10
- package/cascader/cascader.component.d.ts +1 -0
- package/cascader/styles/cascader.scss +3 -2
- package/collapse/styles/collapse.scss +4 -2
- package/color-picker/color-picker-panel.component.d.ts +3 -1
- package/color-picker/styles/alpha.scss +1 -1
- package/color-picker/styles/color-picker-panel.scss +1 -1
- package/color-picker/styles/hue.scss +1 -1
- package/color-picker/styles/saturation.scss +1 -1
- package/comment/styles/mixin.scss +1 -1
- package/copy/copy.directive.d.ts +1 -0
- package/core/index.d.ts +1 -0
- package/core/theme/index.d.ts +2 -0
- package/core/theme/store.d.ts +12 -0
- package/core/theme/theme.d.ts +5 -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-picker/styles/calendar.scss +1 -1
- package/date-picker/styles/decade-panel.scss +1 -1
- package/date-picker/styles/picker.scss +1 -1
- package/date-picker/styles/range-picker.scss +3 -3
- package/date-picker/styles/year-panel.scss +2 -2
- 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/styles/dialog.scss +6 -6
- package/dropdown/styles/dropdown.scss +3 -3
- package/empty/empty.component.d.ts +14 -9
- package/empty/empty.config.d.ts +3 -0
- package/empty/styles/empty.scss +22 -2
- package/esm2022/autocomplete/autocomplete.component.mjs +5 -3
- package/esm2022/calendar/calendar-header.component.mjs +9 -5
- package/esm2022/carousel/carousel.component.mjs +3 -3
- package/esm2022/cascader/cascader.component.mjs +5 -3
- 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/index.mjs +2 -1
- package/esm2022/core/theme/index.mjs +3 -0
- package/esm2022/core/theme/store.mjs +42 -0
- package/esm2022/core/theme/theme.mjs +2 -0
- 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/empty/empty.component.mjs +7 -2
- package/esm2022/empty/empty.config.mjs +4 -1
- package/esm2022/empty/svgs.mjs +103 -8
- 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 +2 -0
- package/esm2022/i18n/i18n.service.mjs +39 -0
- package/esm2022/i18n/i18n.token.mjs +8 -0
- package/esm2022/i18n/index.mjs +7 -0
- package/esm2022/i18n/locale.mjs +14 -0
- package/esm2022/i18n/locales/en-us.mjs +147 -0
- package/esm2022/i18n/locales/zh-cn.mjs +127 -0
- package/esm2022/i18n/ngx-tethys-i18n.mjs +5 -0
- package/esm2022/notify/notify.component.mjs +3 -3
- package/esm2022/pagination/pagination.component.mjs +22 -5
- package/esm2022/pagination/pagination.module.mjs +26 -5
- package/esm2022/pagination/pagination.pipe.mjs +22 -1
- package/esm2022/radio/button/radio-button.component.mjs +1 -1
- package/esm2022/radio/radio.component.mjs +1 -1
- package/esm2022/result/result.component.mjs +3 -3
- package/esm2022/select/custom-select/custom-select.component.mjs +9 -3
- package/esm2022/strength/strength.component.mjs +21 -20
- package/esm2022/table/table-skeleton.component.mjs +3 -3
- package/esm2022/time-picker/time-picker-panel.component.mjs +5 -3
- package/esm2022/time-picker/time-picker.component.mjs +4 -2
- package/esm2022/transfer/transfer-list.component.mjs +5 -3
- package/esm2022/tree-select/tree-select.component.mjs +5 -3
- package/esm2022/version.mjs +2 -2
- package/esm2022/watermark/config.mjs +2 -2
- package/esm2022/watermark/watermark.directive.mjs +18 -10
- package/fesm2022/ngx-tethys-autocomplete.mjs +4 -2
- 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-carousel.mjs +2 -2
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +4 -2
- 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 +42 -2
- 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 +27 -2
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +111 -8
- 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 +338 -0
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -0
- package/fesm2022/ngx-tethys-notify.mjs +2 -2
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +66 -7
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +2 -2
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +8 -2
- 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-table.mjs +2 -2
- package/fesm2022/ngx-tethys-table.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-transfer.mjs +4 -2
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +4 -2
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +18 -10
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-validator-loader.d.ts +2 -0
- package/form/styles/form-check.scss +1 -1
- package/form/styles/forms.scss +2 -3
- package/form/styles/mixin.scss +6 -5
- package/guider/guider-hint/guider-hint.component.d.ts +3 -1
- package/guider/styles/guider-tip.scss +2 -1
- package/i18n/i18n.d.ts +143 -0
- package/i18n/i18n.service.d.ts +19 -0
- package/i18n/i18n.token.d.ts +5 -0
- package/i18n/index.d.ts +6 -0
- package/i18n/locale.d.ts +4 -0
- package/i18n/locales/en-us.d.ts +147 -0
- package/i18n/locales/zh-cn.d.ts +126 -0
- package/icon/examples/all/all.component.scss +3 -1
- package/image/styles/image.scss +15 -11
- package/input/styles/input-group.scss +1 -1
- package/input/styles/input.scss +2 -2
- package/layout/examples/sidebar/sidebar.component.scss +1 -1
- package/layout/styles/layout.scss +3 -3
- package/menu/examples/theme/theme.component.scss +0 -8
- package/menu/styles/theme.scss +4 -4
- package/message/styles/message.scss +1 -1
- package/nav/examples/basic/basic.component.scss +1 -1
- package/nav/examples/extra/extra.component.scss +1 -1
- package/nav/examples/fill/fill.component.scss +1 -1
- package/nav/examples/lite/lite.component.scss +1 -1
- package/nav/examples/pills/pills.component.scss +1 -1
- package/nav/examples/responsive/responsive.component.scss +1 -1
- package/nav/examples/size/size.component.scss +1 -1
- package/nav/examples/tabs/tabs.component.scss +1 -1
- package/nav/examples/type/type.component.scss +1 -1
- package/nav/examples/vertical/vertical.component.scss +1 -1
- package/notify/styles/notify.scss +4 -4
- 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/pagination/styles/pagination.scss +2 -2
- package/popover/styles.scss +3 -3
- package/property/styles/properties.scss +1 -1
- package/radio/radio.component.d.ts +0 -2
- package/resizable/examples/line/line.component.scss +3 -1
- package/resizable/examples/style.scss +7 -5
- package/result/styles/result.scss +25 -1
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/styles/mixin.scss +2 -3
- package/segment/styles/segment.scss +1 -1
- package/select/custom-select/custom-select.component.d.ts +1 -0
- package/select/styles/select.scss +1 -1
- package/shared/option/styles/option.mixin.scss +1 -1
- package/shared/select/styles/select.mixin.scss +2 -2
- package/slide/examples/drawer-container/drawer-container.component.scss +1 -1
- package/slide/examples/layout/layout.component.scss +4 -2
- package/slide/styles/slide.scss +3 -2
- package/slider/slider.scss +2 -2
- package/stepper/examples/basic/basic.component.scss +3 -1
- package/stepper/examples/icon/icon.component.scss +3 -1
- package/stepper/styles/stepper.scss +7 -3
- package/strength/strength.component.d.ts +21 -2
- package/styles/bootstrap/_variables.scss +14 -876
- package/styles/bootstrap/utilities/_background.scss +27 -5
- package/styles/bootstrap/utilities/_text.scss +29 -31
- package/styles/index.scss +2 -1
- package/styles/mixins/background-variant.scss +2 -10
- package/styles/mixins/utilities.scss +2 -11
- package/styles/modules/cdk/drag-drop.scss +6 -8
- package/styles/modules/close.scss +1 -1
- package/styles/modules/reboot.scss +1 -1
- package/styles/modules/tables.scss +1 -1
- package/styles/modules/utils.scss +0 -17
- package/styles/theme/dark.scss +70 -0
- package/styles/theme/default.scss +70 -0
- package/styles/theme/index.scss +2 -0
- package/styles/variables.scss +114 -76
- package/switch/styles/mixin.scss +0 -13
- package/table/styles/table.scss +7 -19
- package/tabs/styles/tabs.scss +1 -1
- package/tag/styles/mixin.scss +7 -42
- package/tag/styles/tag.scss +2 -2
- package/time-picker/styles/time-panel.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/timeline/styles/timeline.scss +2 -2
- package/tooltip/styles.scss +4 -4
- package/transfer/styles/transfer.scss +2 -2
- package/transfer/transfer-list.component.d.ts +3 -1
- package/tree/styles/tree.scss +3 -5
- package/tree-select/tree-select.component.d.ts +1 -0
- package/watermark/config.d.ts +1 -1
- package/watermark/watermark.directive.d.ts +23 -2
- package/carousel/styles/index.scss +0 -1
- package/carousel/styles/variables.scss +0 -5
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: string;
|
|
3
|
+
datePicker: {
|
|
4
|
+
yearFormat: string;
|
|
5
|
+
monthFormat: string;
|
|
6
|
+
zhMonthFormat: string;
|
|
7
|
+
weekFormat: string;
|
|
8
|
+
fullWeekFormat: string;
|
|
9
|
+
weekThFormat: string;
|
|
10
|
+
dateFormat: string;
|
|
11
|
+
yearText: string;
|
|
12
|
+
quarterText: string;
|
|
13
|
+
monthText: string;
|
|
14
|
+
week: string;
|
|
15
|
+
prefixWeek: string;
|
|
16
|
+
previousYear: string;
|
|
17
|
+
nextYear: string;
|
|
18
|
+
previousMonth: string;
|
|
19
|
+
nextMonth: string;
|
|
20
|
+
today: string;
|
|
21
|
+
tomorrow: string;
|
|
22
|
+
nextWeek: string;
|
|
23
|
+
lastSevenDays: string;
|
|
24
|
+
lastThirtyDays: string;
|
|
25
|
+
currentMonth: string;
|
|
26
|
+
currentWeek: string;
|
|
27
|
+
advance: string;
|
|
28
|
+
custom: string;
|
|
29
|
+
startDate: string;
|
|
30
|
+
endDate: string;
|
|
31
|
+
setTime: string;
|
|
32
|
+
placeholder: string;
|
|
33
|
+
ok: string;
|
|
34
|
+
clear: string;
|
|
35
|
+
};
|
|
36
|
+
dateRange: {
|
|
37
|
+
custom: string;
|
|
38
|
+
currentWeek: string;
|
|
39
|
+
currentMonth: string;
|
|
40
|
+
};
|
|
41
|
+
timePicker: {
|
|
42
|
+
placeholder: string;
|
|
43
|
+
now: string;
|
|
44
|
+
ok: string;
|
|
45
|
+
};
|
|
46
|
+
calendar: {
|
|
47
|
+
today: string;
|
|
48
|
+
yearMonthFormat: string;
|
|
49
|
+
};
|
|
50
|
+
autocomplete: {
|
|
51
|
+
empty: string;
|
|
52
|
+
};
|
|
53
|
+
transfer: {
|
|
54
|
+
maxLimit: string;
|
|
55
|
+
maxLockLimit: string;
|
|
56
|
+
unlocked: string;
|
|
57
|
+
};
|
|
58
|
+
colorPicker: {
|
|
59
|
+
defaultColor: string;
|
|
60
|
+
noFillColor: string;
|
|
61
|
+
recentUsedColor: string;
|
|
62
|
+
customColor: string;
|
|
63
|
+
none: string;
|
|
64
|
+
};
|
|
65
|
+
strength: {
|
|
66
|
+
highest: string;
|
|
67
|
+
high: string;
|
|
68
|
+
medium: string;
|
|
69
|
+
low: string;
|
|
70
|
+
};
|
|
71
|
+
guider: {
|
|
72
|
+
skip: string;
|
|
73
|
+
prev: string;
|
|
74
|
+
next: string;
|
|
75
|
+
finish: string;
|
|
76
|
+
};
|
|
77
|
+
copy: {
|
|
78
|
+
tips: string;
|
|
79
|
+
success: string;
|
|
80
|
+
error: string;
|
|
81
|
+
};
|
|
82
|
+
dialog: {
|
|
83
|
+
title: string;
|
|
84
|
+
ok: string;
|
|
85
|
+
cancel: string;
|
|
86
|
+
};
|
|
87
|
+
select: {
|
|
88
|
+
placeholder: string;
|
|
89
|
+
empty: string;
|
|
90
|
+
};
|
|
91
|
+
treeSelect: {
|
|
92
|
+
placeholder: string;
|
|
93
|
+
empty: string;
|
|
94
|
+
};
|
|
95
|
+
cascader: {
|
|
96
|
+
placeholder: string;
|
|
97
|
+
empty: string;
|
|
98
|
+
};
|
|
99
|
+
pagination: {
|
|
100
|
+
page: string;
|
|
101
|
+
order: string;
|
|
102
|
+
total: string;
|
|
103
|
+
totalCount: string;
|
|
104
|
+
jumpTo: string;
|
|
105
|
+
firstPage: string;
|
|
106
|
+
lastPage: string;
|
|
107
|
+
defaultUnit: string;
|
|
108
|
+
};
|
|
109
|
+
form: {
|
|
110
|
+
required: string;
|
|
111
|
+
maxlength: string;
|
|
112
|
+
minlength: string;
|
|
113
|
+
uniqueCheck: string;
|
|
114
|
+
email: string;
|
|
115
|
+
confirm: string;
|
|
116
|
+
pattern: string;
|
|
117
|
+
number: string;
|
|
118
|
+
url: string;
|
|
119
|
+
max: string;
|
|
120
|
+
min: string;
|
|
121
|
+
};
|
|
122
|
+
empty: {
|
|
123
|
+
noDataText: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export default _default;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use 'variables.scss' as variables2;
|
|
2
|
+
|
|
1
3
|
:host {
|
|
2
4
|
.thy-icon {
|
|
3
5
|
margin-right: 10px;
|
|
@@ -25,7 +27,7 @@
|
|
|
25
27
|
&:hover {
|
|
26
28
|
cursor: pointer;
|
|
27
29
|
border-radius: 4px;
|
|
28
|
-
box-shadow: 0
|
|
30
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
.thy-icon {
|
package/image/styles/image.scss
CHANGED
|
@@ -20,7 +20,7 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
20
20
|
.#{$image-preview-prefix-cls} {
|
|
21
21
|
pointer-events: none;
|
|
22
22
|
height: 100%;
|
|
23
|
-
color: variables.$
|
|
23
|
+
color: variables.$image-preview-text-color;
|
|
24
24
|
&-img-wrapper {
|
|
25
25
|
position: absolute;
|
|
26
26
|
top: 0;
|
|
@@ -54,7 +54,7 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
54
54
|
pointer-events: all;
|
|
55
55
|
bottom: bootstrapVariables.$spacer * 1.25;
|
|
56
56
|
border-radius: bootstrapVariables.$spacer * 0.5;
|
|
57
|
-
background: variables.$
|
|
57
|
+
background: variables.$image-preview-bg-color;
|
|
58
58
|
left: 50%;
|
|
59
59
|
transform: translateX(-50%);
|
|
60
60
|
&-text {
|
|
@@ -71,7 +71,11 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
71
71
|
.thy-action {
|
|
72
72
|
pointer-events: all;
|
|
73
73
|
cursor: variables.$hand-cursor;
|
|
74
|
-
@include basic.action-variant(
|
|
74
|
+
@include basic.action-variant(
|
|
75
|
+
variables.$image-preview-action-icon-color,
|
|
76
|
+
variables.$image-preview-action-icon-color,
|
|
77
|
+
variables.$image-preview-action-bg-color
|
|
78
|
+
);
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
.#{$image-preview-prefix-cls}-exit-fullscreen {
|
|
@@ -83,7 +87,7 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
83
87
|
|
|
84
88
|
&-switch-left,
|
|
85
89
|
&-switch-right {
|
|
86
|
-
color: variables.$
|
|
90
|
+
color: variables.$image-preview-switch-icon-color;
|
|
87
91
|
position: fixed;
|
|
88
92
|
top: 50%;
|
|
89
93
|
z-index: 1;
|
|
@@ -93,14 +97,14 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
93
97
|
width: bootstrapVariables.$spacer * 2.5;
|
|
94
98
|
height: bootstrapVariables.$spacer * 2.5;
|
|
95
99
|
margin-top: -22px;
|
|
96
|
-
background: variables.$
|
|
100
|
+
background: variables.$image-preview-switch-bg-color;
|
|
97
101
|
border-radius: 50%;
|
|
98
102
|
cursor: variables.$hand-cursor;
|
|
99
103
|
pointer-events: auto;
|
|
100
104
|
transition: all 0.3s;
|
|
101
105
|
&:hover {
|
|
102
|
-
color: variables.$
|
|
103
|
-
background: variables.$
|
|
106
|
+
color: variables.$image-preview-switch-icon-hover-color;
|
|
107
|
+
background: variables.$image-preview-switch-hover-bg-color;
|
|
104
108
|
}
|
|
105
109
|
|
|
106
110
|
&-disabled {
|
|
@@ -109,8 +113,8 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
109
113
|
cursor: variables.$disabled-cursor;
|
|
110
114
|
}
|
|
111
115
|
&:hover {
|
|
112
|
-
color: variables.$
|
|
113
|
-
background: variables.$
|
|
116
|
+
color: variables.$image-preview-switch-icon-color;
|
|
117
|
+
background: variables.$image-preview-switch-bg-color;
|
|
114
118
|
}
|
|
115
119
|
}
|
|
116
120
|
}
|
|
@@ -135,7 +139,7 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
135
139
|
top: 0;
|
|
136
140
|
width: 100%;
|
|
137
141
|
z-index: 1;
|
|
138
|
-
background: variables.$
|
|
142
|
+
background: variables.$image-preview-bg-color;
|
|
139
143
|
display: flex;
|
|
140
144
|
justify-content: space-between;
|
|
141
145
|
align-items: center;
|
|
@@ -171,7 +175,7 @@ $image-preview-prefix-cls: 'thy-image-preview';
|
|
|
171
175
|
}
|
|
172
176
|
|
|
173
177
|
.#{$image-preview-prefix-cls}-backdrop {
|
|
174
|
-
background:
|
|
178
|
+
background: variables.$image-preview-backdrop-bg-color;
|
|
175
179
|
}
|
|
176
180
|
|
|
177
181
|
.thy-image {
|
package/input/styles/input.scss
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
position: absolute;
|
|
37
37
|
top: 1px;
|
|
38
38
|
left: variables.$input-padding-x-fixed;
|
|
39
|
-
background: variables.$
|
|
39
|
+
background: variables.$bg-default;
|
|
40
40
|
padding: 0 5px;
|
|
41
41
|
font-size: variables.$font-size-sm;
|
|
42
42
|
transition: all 0.3s ease-out 0.1s;
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
position: absolute;
|
|
181
181
|
top: 1px;
|
|
182
182
|
left: 10px;
|
|
183
|
-
background: variables.$
|
|
183
|
+
background: variables.$bg-default;
|
|
184
184
|
padding: 0 5px;
|
|
185
185
|
font-size: variables.$font-size-sm;
|
|
186
186
|
transition: all 0.3s ease-out 0.1s;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
border-right: variables.$layout-sidebar-border-right;
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: column;
|
|
88
|
-
background: variables.$
|
|
88
|
+
background: variables.$bg-default;
|
|
89
89
|
|
|
90
90
|
&.sidebar-theme-light {
|
|
91
91
|
background: variables.$layout-sidebar-background-light;
|
|
@@ -201,9 +201,9 @@
|
|
|
201
201
|
right: 0;
|
|
202
202
|
transform: translateX(50%);
|
|
203
203
|
color: variables.$gray-600;
|
|
204
|
-
background-color: variables.$
|
|
204
|
+
background-color: variables.$bg-float;
|
|
205
205
|
border-radius: 50%;
|
|
206
|
-
box-shadow:
|
|
206
|
+
box-shadow: variables.$float-btn-box-shadow;
|
|
207
207
|
z-index: variables.$z-index-6;
|
|
208
208
|
&:hover {
|
|
209
209
|
visibility: visible;
|
package/menu/styles/theme.scss
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.thy-menu-item-icon {
|
|
71
|
-
color: variables.$menu-theme-dark-color;
|
|
71
|
+
color: variables.$menu-theme-dark-icon-color;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.thy-menu-item-name {
|
|
@@ -87,15 +87,15 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.thy-menu-group-arrow {
|
|
90
|
-
color: variables.$menu-theme-dark-color;
|
|
90
|
+
color: variables.$menu-theme-dark-icon-color;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.thy-menu-group-title-icon {
|
|
94
|
-
color: variables.$menu-theme-dark-color;
|
|
94
|
+
color: variables.$menu-theme-dark-icon-color;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.thy-menu-group-operation {
|
|
98
|
-
color: variables.$menu-theme-dark-color;
|
|
98
|
+
color: variables.$menu-theme-dark-icon-color;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../../styles/variables';
|
|
2
|
+
@use 'mixin';
|
|
3
3
|
|
|
4
4
|
.thy-notify-container > div {
|
|
5
5
|
position: fixed;
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
position: relative;
|
|
15
15
|
display: flex;
|
|
16
16
|
border-radius: variables.$notify-border-radius-width;
|
|
17
|
-
background: variables.$
|
|
18
|
-
box-shadow: variables.$
|
|
17
|
+
background: variables.$bg-panel;
|
|
18
|
+
box-shadow: variables.$box-shadow;
|
|
19
19
|
|
|
20
20
|
&-icon-container {
|
|
21
21
|
position: relative;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-tethys",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.2.0-next.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
|
|
@@ -232,6 +232,12 @@
|
|
|
232
232
|
"esm": "./esm2022/guider/ngx-tethys-guider.mjs",
|
|
233
233
|
"default": "./fesm2022/ngx-tethys-guider.mjs"
|
|
234
234
|
},
|
|
235
|
+
"./i18n": {
|
|
236
|
+
"types": "./i18n/index.d.ts",
|
|
237
|
+
"esm2022": "./esm2022/i18n/ngx-tethys-i18n.mjs",
|
|
238
|
+
"esm": "./esm2022/i18n/ngx-tethys-i18n.mjs",
|
|
239
|
+
"default": "./fesm2022/ngx-tethys-i18n.mjs"
|
|
240
|
+
},
|
|
235
241
|
"./icon": {
|
|
236
242
|
"types": "./icon/index.d.ts",
|
|
237
243
|
"esm2022": "./esm2022/icon/ngx-tethys-icon.mjs",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef, Signal } from '@angular/core';
|
|
2
2
|
import { isTemplateRef } from 'ngx-tethys/util';
|
|
3
3
|
import { ThyPaginationConfigModel } from './pagination.class';
|
|
4
|
+
import { ThyI18nLocale, ThyPaginationLocale } from 'ngx-tethys/i18n';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* 分页组件,当数据量过多时,使用分页分解数据。
|
|
@@ -10,6 +11,8 @@ import * as i0 from "@angular/core";
|
|
|
10
11
|
export declare class ThyPagination implements OnInit {
|
|
11
12
|
private paginationConfig;
|
|
12
13
|
private cdr;
|
|
14
|
+
allLocale: Signal<ThyI18nLocale>;
|
|
15
|
+
locale: Signal<ThyPaginationLocale>;
|
|
13
16
|
isTemplateRef: typeof isTemplateRef;
|
|
14
17
|
config: ThyPaginationConfigModel;
|
|
15
18
|
/**
|
|
@@ -8,6 +8,6 @@ import * as i6 from "./pagination.component";
|
|
|
8
8
|
import * as i7 from "./pagination.pipe";
|
|
9
9
|
export declare class ThyPaginationModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPaginationModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThyPaginationModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.ThySharedModule, typeof i4.ThyIconModule, typeof i5.ThySelectModule, typeof i6.ThyPagination, typeof i7.PaginationTotalCountFormat], [typeof i6.ThyPagination]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThyPaginationModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.ThySharedModule, typeof i4.ThyIconModule, typeof i5.ThySelectModule, typeof i6.ThyPagination, typeof i7.PaginationTotalCountFormat, typeof i7.PaginationPerPageFormat], [typeof i6.ThyPagination]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThyPaginationModule>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ThyI18nLocale } from 'ngx-tethys/i18n';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* @private
|
|
@@ -9,3 +10,8 @@ export declare class PaginationTotalCountFormat implements PipeTransform {
|
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationTotalCountFormat, never>;
|
|
10
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<PaginationTotalCountFormat, "paginationTotalPagesFormat", true>;
|
|
11
12
|
}
|
|
13
|
+
export declare class PaginationPerPageFormat implements PipeTransform {
|
|
14
|
+
transform(unit: string, locale: ThyI18nLocale): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationPerPageFormat, never>;
|
|
16
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PaginationPerPageFormat, "paginationPerPageFormat", true>;
|
|
17
|
+
}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
border: variables.$pagination-border-width solid variables.$pagination-border-color;
|
|
85
85
|
@include border-radius.border-radius(variables.$border-radius);
|
|
86
86
|
color: variables.$pagination-jumper-input-color;
|
|
87
|
-
background: variables.$
|
|
87
|
+
background: variables.$bg-default;
|
|
88
88
|
width: calc(#{variables.$font-size-base} * 3);
|
|
89
89
|
text-align: center;
|
|
90
90
|
margin: 0 6px;
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
|
|
121
121
|
&:focus {
|
|
122
122
|
outline: bootstrap-variables.$pagination-focus-outline;
|
|
123
|
-
box-shadow: variables.$
|
|
123
|
+
box-shadow: variables.$box-shadow-none;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
package/popover/styles.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../styles/variables.scss';
|
|
2
|
+
@use '../styles/mixins/shadow.scss';
|
|
3
3
|
|
|
4
4
|
$offset: 4px;
|
|
5
5
|
.thy-popover-panel {
|
|
@@ -29,7 +29,7 @@ $offset: 4px;
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.thy-popover-container {
|
|
32
|
-
background: variables.$
|
|
32
|
+
background: variables.$bg-panel;
|
|
33
33
|
width: 100%;
|
|
34
34
|
border-radius: variables.$border-radius;
|
|
35
35
|
@include shadow.section-box-shadow();
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ThyTranslate } from 'ngx-tethys/core';
|
|
3
2
|
import { ThyFormCheckBaseComponent } from 'ngx-tethys/shared';
|
|
4
3
|
import { ThyRadioGroup } from './group/radio-group.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,7 +8,6 @@ import * as i0 from "@angular/core";
|
|
|
9
8
|
* @order 10
|
|
10
9
|
*/
|
|
11
10
|
export declare class ThyRadio extends ThyFormCheckBaseComponent implements OnInit {
|
|
12
|
-
thyTranslate: ThyTranslate;
|
|
13
11
|
thyRadioGroupComponent: ThyRadioGroup;
|
|
14
12
|
name: string;
|
|
15
13
|
/**
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use 'variables.scss' as variables2;
|
|
2
|
+
|
|
1
3
|
:host {
|
|
2
4
|
display: block;
|
|
3
5
|
height: 200px;
|
|
@@ -6,8 +8,8 @@
|
|
|
6
8
|
display: flex;
|
|
7
9
|
align-items: center;
|
|
8
10
|
justify-content: center;
|
|
9
|
-
background:
|
|
10
|
-
border: 1px solid
|
|
11
|
+
background: variables2.$gray-200;
|
|
12
|
+
border: 1px solid variables2.$gray-300;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.bottom-right {
|
|
@@ -23,8 +25,8 @@
|
|
|
23
25
|
justify-content: center;
|
|
24
26
|
}
|
|
25
27
|
.right {
|
|
26
|
-
background:
|
|
27
|
-
border: 1px solid
|
|
28
|
+
background: variables2.$bg-default;
|
|
29
|
+
border: 1px solid variables2.$gray-300;
|
|
28
30
|
text-align: center;
|
|
29
31
|
font-size: 12px;
|
|
30
32
|
height: 22px;
|
|
@@ -43,7 +45,7 @@ thy-resizable-grid-example:host {
|
|
|
43
45
|
margin-top: 8px;
|
|
44
46
|
margin-bottom: 8px;
|
|
45
47
|
background: rgba(0, 160, 233, 0.7);
|
|
46
|
-
color:
|
|
48
|
+
color: variables2.$white;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
.col-right {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../../styles/variables';
|
|
2
2
|
|
|
3
3
|
.thy-result {
|
|
4
4
|
display: block;
|
|
@@ -20,3 +20,27 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
.thy-result-svg-success,
|
|
25
|
+
.thy-result-svg-error,
|
|
26
|
+
.thy-result-svg-warning {
|
|
27
|
+
display: inline-block;
|
|
28
|
+
}
|
|
29
|
+
.thy-result-svg-success-dark,
|
|
30
|
+
.thy-result-svg-error-dark,
|
|
31
|
+
.thy-result-svg-warning-dark {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:root[theme='dark'] {
|
|
36
|
+
.thy-result-svg-success,
|
|
37
|
+
.thy-result-svg-error,
|
|
38
|
+
.thy-result-svg-warning {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
.thy-result-svg-success-dark,
|
|
42
|
+
.thy-result-svg-error-dark,
|
|
43
|
+
.thy-result-svg-warning-dark {
|
|
44
|
+
display: inline-block;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "18.
|
|
1
|
+
export declare const VERSION = "18.2.0-next.1";
|
package/schematics/version.js
CHANGED