@acorex/components 20.3.34 → 20.3.35
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/fesm2022/acorex-components-media-viewer.mjs +96 -35
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +20 -19
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/media-viewer/index.d.ts +21 -7
- package/package.json +19 -19
package/media-viewer/index.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ type AXMediaViewerData = {
|
|
|
23
23
|
name?: string;
|
|
24
24
|
size?: string;
|
|
25
25
|
type: 'image' | 'audio' | 'pdf' | 'video';
|
|
26
|
-
url: string;
|
|
27
|
-
thumbnailUrl?: string;
|
|
26
|
+
url: string | (() => Promise<string>);
|
|
27
|
+
thumbnailUrl?: string | (() => Promise<string>);
|
|
28
28
|
tooltip?: string;
|
|
29
29
|
};
|
|
30
30
|
declare class AXMediaViewerBaseComponent {
|
|
@@ -41,7 +41,7 @@ declare class AXMediaViewerService {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
type Thumbnail = {
|
|
44
|
-
|
|
44
|
+
thumbnailImage: string | (() => Promise<string>);
|
|
45
45
|
svg: string;
|
|
46
46
|
type: string;
|
|
47
47
|
id: string;
|
|
@@ -113,21 +113,35 @@ declare class AXFileInfoComponent {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
declare class AXImageViewerComponent extends AXMediaViewerBaseComponent {
|
|
116
|
+
#private;
|
|
116
117
|
protected hasError: i0.WritableSignal<boolean>;
|
|
118
|
+
protected src: i0.WritableSignal<any>;
|
|
117
119
|
protected handleImageError(): void;
|
|
118
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageViewerComponent, never>;
|
|
119
121
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageViewerComponent, "ax-image-viewer", never, {}, {}, never, never, true, never>;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
declare class PdfComponent extends AXMediaViewerBaseComponent {
|
|
125
|
+
#private;
|
|
123
126
|
sanitizer: DomSanitizer;
|
|
127
|
+
protected src: i0.WritableSignal<any>;
|
|
124
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent, never>;
|
|
125
129
|
static ɵcmp: i0.ɵɵComponentDeclaration<PdfComponent, "ax-pdf", never, {}, {}, never, never, true, never>;
|
|
126
130
|
}
|
|
127
131
|
|
|
132
|
+
declare class AXThumbnailViewerComponent extends AXMediaViewerBaseComponent {
|
|
133
|
+
#private;
|
|
134
|
+
protected hasError: i0.WritableSignal<boolean>;
|
|
135
|
+
protected src: i0.WritableSignal<any>;
|
|
136
|
+
item: i0.InputSignal<string | (() => Promise<string>)>;
|
|
137
|
+
protected handleImageError(): void;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXThumbnailViewerComponent, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXThumbnailViewerComponent, "ax-thumbnail-viewer", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
140
|
+
}
|
|
141
|
+
|
|
128
142
|
declare class VideoPlayerComponent extends AXMediaViewerBaseComponent {
|
|
129
|
-
|
|
130
|
-
|
|
143
|
+
#private;
|
|
144
|
+
protected src: i0.WritableSignal<any>;
|
|
131
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerComponent, never>;
|
|
132
146
|
static ɵcmp: i0.ɵɵComponentDeclaration<VideoPlayerComponent, "ax-video", never, {}, {}, never, never, true, never>;
|
|
133
147
|
}
|
|
@@ -140,9 +154,9 @@ declare class AXMediaViewerModule {
|
|
|
140
154
|
static forRoot(config?: AXMediaViewerModuleConfig): ModuleWithProviders<AXMediaViewerModule>;
|
|
141
155
|
static forChild(config?: AXMediaViewerModuleConfig): ModuleWithProviders<AXMediaViewerModule>;
|
|
142
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMediaViewerModule, never>;
|
|
143
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMediaViewerModule, never, [typeof i1.CommonModule, typeof i2.AXButtonModule, typeof i3.AXDecoratorModule, typeof i4.CdkPortalOutlet, typeof i5.FormsModule, typeof i6.AXImageModule, typeof i7.AXLoadingModule, typeof i8.AXCarouselDirective, typeof i9.AXPdfReaderModule, typeof i10.AXVideoPlayerModule, typeof AXMediaViewerContainerComponent, typeof AXMediaViewerSliderComponent, typeof AXAudioPlayerComponent, typeof AXImageViewerComponent, typeof PdfComponent, typeof VideoPlayerComponent, typeof AXFileInfoComponent], [typeof AXMediaViewerContainerComponent, typeof AXMediaViewerSliderComponent, typeof AXAudioPlayerComponent, typeof AXImageViewerComponent, typeof PdfComponent, typeof VideoPlayerComponent, typeof AXFileInfoComponent]>;
|
|
157
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMediaViewerModule, never, [typeof i1.CommonModule, typeof i2.AXButtonModule, typeof i3.AXDecoratorModule, typeof i4.CdkPortalOutlet, typeof i5.FormsModule, typeof i6.AXImageModule, typeof i7.AXLoadingModule, typeof i8.AXCarouselDirective, typeof i9.AXPdfReaderModule, typeof i10.AXVideoPlayerModule, typeof AXMediaViewerContainerComponent, typeof AXMediaViewerSliderComponent, typeof AXAudioPlayerComponent, typeof AXImageViewerComponent, typeof PdfComponent, typeof VideoPlayerComponent, typeof AXFileInfoComponent, typeof AXThumbnailViewerComponent], [typeof AXMediaViewerContainerComponent, typeof AXMediaViewerSliderComponent, typeof AXAudioPlayerComponent, typeof AXImageViewerComponent, typeof PdfComponent, typeof VideoPlayerComponent, typeof AXFileInfoComponent, typeof AXThumbnailViewerComponent]>;
|
|
144
158
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMediaViewerModule>;
|
|
145
159
|
}
|
|
146
160
|
|
|
147
|
-
export { AXAudioPlayerComponent, AXFileInfoComponent, AXImageViewerComponent, AXMediaViewerBaseComponent, AXMediaViewerContainerComponent, AXMediaViewerModule, AXMediaViewerSliderComponent, PdfComponent, VideoPlayerComponent };
|
|
161
|
+
export { AXAudioPlayerComponent, AXFileInfoComponent, AXImageViewerComponent, AXMediaViewerBaseComponent, AXMediaViewerContainerComponent, AXMediaViewerModule, AXMediaViewerSliderComponent, AXThumbnailViewerComponent, PdfComponent, VideoPlayerComponent };
|
|
148
162
|
export type { AXMediaViewerData, AXMediaViewerModuleConfig, AXMediaViewerType };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.35",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.3.
|
|
6
|
-
"@acorex/cdk": "20.3.
|
|
5
|
+
"@acorex/core": "20.3.35",
|
|
6
|
+
"@acorex/cdk": "20.3.35",
|
|
7
7
|
"@angular/common": "^20.0.0",
|
|
8
8
|
"@angular/core": "^20.0.0",
|
|
9
9
|
"@angular/cdk": "^20.0.0",
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
"types": "./button/index.d.ts",
|
|
110
110
|
"default": "./fesm2022/acorex-components-button.mjs"
|
|
111
111
|
},
|
|
112
|
-
"./button-group": {
|
|
113
|
-
"types": "./button-group/index.d.ts",
|
|
114
|
-
"default": "./fesm2022/acorex-components-button-group.mjs"
|
|
115
|
-
},
|
|
116
112
|
"./calendar": {
|
|
117
113
|
"types": "./calendar/index.d.ts",
|
|
118
114
|
"default": "./fesm2022/acorex-components-calendar.mjs"
|
|
119
115
|
},
|
|
116
|
+
"./button-group": {
|
|
117
|
+
"types": "./button-group/index.d.ts",
|
|
118
|
+
"default": "./fesm2022/acorex-components-button-group.mjs"
|
|
119
|
+
},
|
|
120
120
|
"./check-box": {
|
|
121
121
|
"types": "./check-box/index.d.ts",
|
|
122
122
|
"default": "./fesm2022/acorex-components-check-box.mjs"
|
|
@@ -185,6 +185,10 @@
|
|
|
185
185
|
"types": "./datetime-input/index.d.ts",
|
|
186
186
|
"default": "./fesm2022/acorex-components-datetime-input.mjs"
|
|
187
187
|
},
|
|
188
|
+
"./datetime-picker": {
|
|
189
|
+
"types": "./datetime-picker/index.d.ts",
|
|
190
|
+
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
|
191
|
+
},
|
|
188
192
|
"./decorators": {
|
|
189
193
|
"types": "./decorators/index.d.ts",
|
|
190
194
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
|
@@ -205,10 +209,6 @@
|
|
|
205
209
|
"types": "./dropdown/index.d.ts",
|
|
206
210
|
"default": "./fesm2022/acorex-components-dropdown.mjs"
|
|
207
211
|
},
|
|
208
|
-
"./datetime-picker": {
|
|
209
|
-
"types": "./datetime-picker/index.d.ts",
|
|
210
|
-
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
|
211
|
-
},
|
|
212
212
|
"./dropdown-button": {
|
|
213
213
|
"types": "./dropdown-button/index.d.ts",
|
|
214
214
|
"default": "./fesm2022/acorex-components-dropdown-button.mjs"
|
|
@@ -217,14 +217,14 @@
|
|
|
217
217
|
"types": "./editor/index.d.ts",
|
|
218
218
|
"default": "./fesm2022/acorex-components-editor.mjs"
|
|
219
219
|
},
|
|
220
|
-
"./flow-chart": {
|
|
221
|
-
"types": "./flow-chart/index.d.ts",
|
|
222
|
-
"default": "./fesm2022/acorex-components-flow-chart.mjs"
|
|
223
|
-
},
|
|
224
220
|
"./file-explorer": {
|
|
225
221
|
"types": "./file-explorer/index.d.ts",
|
|
226
222
|
"default": "./fesm2022/acorex-components-file-explorer.mjs"
|
|
227
223
|
},
|
|
224
|
+
"./flow-chart": {
|
|
225
|
+
"types": "./flow-chart/index.d.ts",
|
|
226
|
+
"default": "./fesm2022/acorex-components-flow-chart.mjs"
|
|
227
|
+
},
|
|
228
228
|
"./form": {
|
|
229
229
|
"types": "./form/index.d.ts",
|
|
230
230
|
"default": "./fesm2022/acorex-components-form.mjs"
|
|
@@ -241,14 +241,14 @@
|
|
|
241
241
|
"types": "./image-editor/index.d.ts",
|
|
242
242
|
"default": "./fesm2022/acorex-components-image-editor.mjs"
|
|
243
243
|
},
|
|
244
|
-
"./kanban": {
|
|
245
|
-
"types": "./kanban/index.d.ts",
|
|
246
|
-
"default": "./fesm2022/acorex-components-kanban.mjs"
|
|
247
|
-
},
|
|
248
244
|
"./json-viewer": {
|
|
249
245
|
"types": "./json-viewer/index.d.ts",
|
|
250
246
|
"default": "./fesm2022/acorex-components-json-viewer.mjs"
|
|
251
247
|
},
|
|
248
|
+
"./kanban": {
|
|
249
|
+
"types": "./kanban/index.d.ts",
|
|
250
|
+
"default": "./fesm2022/acorex-components-kanban.mjs"
|
|
251
|
+
},
|
|
252
252
|
"./kbd": {
|
|
253
253
|
"types": "./kbd/index.d.ts",
|
|
254
254
|
"default": "./fesm2022/acorex-components-kbd.mjs"
|