ngx-tethys 18.2.14 → 18.2.16

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/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';
1
+ export type ThyModuleType = 'datePicker' | 'layout' | 'dateRange' | 'timePicker' | 'calendar' | 'autocomplete' | 'transfer' | 'colorPicker' | 'strength' | 'guider' | 'copy' | 'nav' | 'dialog' | 'select' | 'treeSelect' | 'cascader' | 'pagination' | 'form' | 'empty' | 'image';
2
2
  export type ThyModuleLocaleType<K extends ThyModuleType> = ThyI18nLocale[K];
3
3
  export declare enum ThyLocaleType {
4
4
  zhHans = "zh-hans",
@@ -28,6 +28,7 @@ export interface ThyI18nLocale {
28
28
  pagination: ThyPaginationLocale;
29
29
  form: ThyFormLocale;
30
30
  empty: ThyEmptyLocale;
31
+ image: ThyImageLocale;
31
32
  }
32
33
  export interface ThyLayoutLocale {
33
34
  collapse: string;
@@ -134,6 +135,7 @@ export interface ThyCascaderLocale {
134
135
  }
135
136
  export interface ThyPaginationLocale {
136
137
  page: string;
138
+ order: string;
137
139
  total: string;
138
140
  totalCount: string;
139
141
  jumpTo: string;
@@ -157,3 +159,14 @@ export interface ThyFormLocale {
157
159
  export interface ThyEmptyLocale {
158
160
  noDataText: string;
159
161
  }
162
+ export interface ThyImageLocale {
163
+ zoomOut: string;
164
+ zoomIn: string;
165
+ originalSize: string;
166
+ fitToScreen: string;
167
+ fullScreen: string;
168
+ spin: string;
169
+ download: string;
170
+ viewOriginal: string;
171
+ copyLink: string;
172
+ }
@@ -130,5 +130,16 @@ declare const _default: {
130
130
  empty: {
131
131
  noDataText: string;
132
132
  };
133
+ image: {
134
+ zoomOut: string;
135
+ zoomIn: string;
136
+ originalSize: string;
137
+ fitToScreen: string;
138
+ fullScreen: string;
139
+ spin: string;
140
+ download: string;
141
+ viewOriginal: string;
142
+ copyLink: string;
143
+ };
133
144
  };
134
145
  export default _default;
@@ -130,6 +130,17 @@ declare const _default: {
130
130
  empty: {
131
131
  noDataText: string;
132
132
  };
133
+ image: {
134
+ zoomOut: string;
135
+ zoomIn: string;
136
+ originalSize: string;
137
+ fitToScreen: string;
138
+ fullScreen: string;
139
+ spin: string;
140
+ download: string;
141
+ viewOriginal: string;
142
+ copyLink: string;
143
+ };
133
144
  };
134
145
  export default _default;
135
146
  /**
@@ -130,5 +130,16 @@ declare const _default: {
130
130
  empty: {
131
131
  noDataText: string;
132
132
  };
133
+ image: {
134
+ zoomOut: string;
135
+ zoomIn: string;
136
+ originalSize: string;
137
+ fitToScreen: string;
138
+ fullScreen: string;
139
+ spin: string;
140
+ download: string;
141
+ viewOriginal: string;
142
+ copyLink: string;
143
+ };
133
144
  };
134
145
  export default _default;
@@ -130,5 +130,16 @@ declare const _default: {
130
130
  empty: {
131
131
  noDataText: string;
132
132
  };
133
+ image: {
134
+ zoomOut: string;
135
+ zoomIn: string;
136
+ originalSize: string;
137
+ fitToScreen: string;
138
+ fullScreen: string;
139
+ spin: string;
140
+ download: string;
141
+ viewOriginal: string;
142
+ copyLink: string;
143
+ };
133
144
  };
134
145
  export default _default;
@@ -130,5 +130,16 @@ declare const _default: {
130
130
  empty: {
131
131
  noDataText: string;
132
132
  };
133
+ image: {
134
+ zoomOut: string;
135
+ zoomIn: string;
136
+ originalSize: string;
137
+ fitToScreen: string;
138
+ fullScreen: string;
139
+ spin: string;
140
+ download: string;
141
+ viewOriginal: string;
142
+ copyLink: string;
143
+ };
133
144
  };
134
145
  export default _default;
@@ -18,6 +18,7 @@ export declare class ThyImagePreview implements OnInit {
18
18
  private notifyService;
19
19
  private host;
20
20
  private sanitizer;
21
+ private locale;
21
22
  downloadClicked: EventEmitter<ThyImageInfo>;
22
23
  private readonly destroyRef;
23
24
  images: InternalImageInfo[];
@@ -12,6 +12,7 @@
12
12
  margin-bottom: 0;
13
13
  list-style: none;
14
14
  position: relative;
15
+ width: 100%;
15
16
 
16
17
  .thy-nav-item {
17
18
  display: block;
@@ -34,7 +35,7 @@
34
35
  }
35
36
 
36
37
  .thy-nav-more-icon {
37
- margin-left: 8px;
38
+ margin-left: 4px;
38
39
  }
39
40
 
40
41
  .thy-nav-origin-active {
@@ -306,4 +307,6 @@
306
307
  flex: 1 !important;
307
308
  flex-grow: 0 !important;
308
309
  white-space: nowrap;
310
+ width: fit-content;
311
+ min-width: fit-content;
309
312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-tethys",
3
- "version": "18.2.14",
3
+ "version": "18.2.16",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
@@ -1 +1 @@
1
- export declare const VERSION = "18.2.14";
1
+ export declare const VERSION = "18.2.16";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '18.2.14';
4
+ exports.VERSION = '18.2.16';