@siemens/element-ng 47.3.0 → 47.4.0
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/badge/si-badge.component.d.ts +1 -1
- package/breadcrumb/breadcrumb-item.model.d.ts +36 -0
- package/breadcrumb/index.d.ts +7 -0
- package/breadcrumb/package.json +3 -0
- package/breadcrumb/si-breadcrumb-item-template.directive.d.ts +10 -0
- package/breadcrumb/si-breadcrumb.component.d.ts +46 -0
- package/breadcrumb/si-breadcrumb.module.d.ts +7 -0
- package/card/index.d.ts +6 -0
- package/card/package.json +3 -0
- package/card/si-card.component.d.ts +79 -0
- package/card/si-card.module.d.ts +7 -0
- package/circle-status/index.d.ts +6 -0
- package/circle-status/package.json +3 -0
- package/circle-status/si-circle-status.component.d.ts +66 -0
- package/circle-status/si-circle-status.module.d.ts +7 -0
- package/column-selection-dialog/column-selection-editor/si-column-selection-editor.component.d.ts +23 -0
- package/column-selection-dialog/index.d.ts +6 -0
- package/column-selection-dialog/package.json +3 -0
- package/column-selection-dialog/si-column-selection-dialog.component.d.ts +114 -0
- package/column-selection-dialog/si-column-selection-dialog.service.d.ts +20 -0
- package/column-selection-dialog/si-column-selection-dialog.types.d.ts +68 -0
- package/common/models/status-type.model.d.ts +2 -2
- package/date-range-filter/index.d.ts +8 -0
- package/date-range-filter/package.json +3 -0
- package/date-range-filter/si-date-range-calculation.service.d.ts +33 -0
- package/date-range-filter/si-date-range-filter.component.d.ts +248 -0
- package/date-range-filter/si-date-range-filter.module.d.ts +7 -0
- package/date-range-filter/si-date-range-filter.types.d.ts +40 -0
- package/date-range-filter/si-relative-date.component.d.ts +31 -0
- package/datepicker/components/si-calendar-body.component.d.ts +137 -0
- package/datepicker/components/si-calendar-date-cell.directive.d.ts +16 -0
- package/datepicker/components/si-calendar-direction-button.component.d.ts +18 -0
- package/datepicker/components/si-compare-adapter.d.ts +37 -0
- package/datepicker/components/si-day-selection.component.d.ts +76 -0
- package/datepicker/components/si-initial-focus.component.d.ts +74 -0
- package/datepicker/components/si-month-selection.component.d.ts +62 -0
- package/datepicker/components/si-year-selection.component.d.ts +65 -0
- package/datepicker/date-time-helper.d.ts +302 -0
- package/datepicker/index.d.ts +15 -0
- package/datepicker/package.json +3 -0
- package/datepicker/si-calendar-button.component.d.ts +49 -0
- package/datepicker/si-date-input.directive.d.ts +114 -0
- package/datepicker/si-date-range.component.d.ts +150 -0
- package/datepicker/si-datepicker-overlay.component.d.ts +82 -0
- package/datepicker/si-datepicker-overlay.directive.d.ts +104 -0
- package/datepicker/si-datepicker.component.d.ts +228 -0
- package/datepicker/si-datepicker.directive.d.ts +62 -0
- package/datepicker/si-datepicker.model.d.ts +129 -0
- package/datepicker/si-datepicker.module.d.ts +12 -0
- package/datepicker/si-timepicker.component.d.ts +214 -0
- package/electron-titlebar/electron.helpers.d.ts +5 -0
- package/electron-titlebar/index.d.ts +7 -0
- package/electron-titlebar/package.json +3 -0
- package/electron-titlebar/si-electron-titlebar.component.d.ts +72 -0
- package/electron-titlebar/si-electron-titlebar.module.d.ts +7 -0
- package/fesm2022/siemens-element-ng-badge.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-breadcrumb.mjs +302 -0
- package/fesm2022/siemens-element-ng-breadcrumb.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-card.mjs +122 -0
- package/fesm2022/siemens-element-ng-card.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-circle-status.mjs +146 -0
- package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-column-selection-dialog.mjs +369 -0
- package/fesm2022/siemens-element-ng-column-selection-dialog.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-common.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-date-range-filter.mjs +649 -0
- package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-datepicker.mjs +4231 -0
- package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-electron-titlebar.mjs +142 -0
- package/fesm2022/siemens-element-ng-electron-titlebar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-file-uploader.mjs +751 -0
- package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-filter-bar.mjs +153 -0
- package/fesm2022/siemens-element-ng-filter-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-icon.mjs +11 -1
- package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-info-page.mjs +63 -0
- package/fesm2022/siemens-element-ng-info-page.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-inline-notification.mjs +4 -6
- package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-ip-input.mjs +451 -0
- package/fesm2022/siemens-element-ng-ip-input.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-localization.mjs +306 -0
- package/fesm2022/siemens-element-ng-localization.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-photo-upload.mjs +480 -0
- package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-search-bar.mjs +193 -0
- package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-slider.mjs +313 -0
- package/fesm2022/siemens-element-ng-slider.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-sort-bar.mjs +89 -0
- package/fesm2022/siemens-element-ng-sort-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-split.mjs +575 -0
- package/fesm2022/siemens-element-ng-split.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-status-toggle.mjs +196 -0
- package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-system-banner.mjs +47 -0
- package/fesm2022/siemens-element-ng-system-banner.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-tabs.mjs +395 -0
- package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-unauthorized-page.mjs +76 -0
- package/fesm2022/siemens-element-ng-unauthorized-page.mjs.map +1 -0
- package/file-uploader/index.d.ts +8 -0
- package/file-uploader/package.json +3 -0
- package/file-uploader/si-file-dropzone.component.d.ts +106 -0
- package/file-uploader/si-file-uploader.component.d.ts +296 -0
- package/file-uploader/si-file-uploader.model.d.ts +12 -0
- package/file-uploader/si-file-uploader.module.d.ts +8 -0
- package/filter-bar/filter.d.ts +26 -0
- package/filter-bar/index.d.ts +8 -0
- package/filter-bar/package.json +3 -0
- package/filter-bar/si-filter-bar.component.d.ts +65 -0
- package/filter-bar/si-filter-bar.module.d.ts +7 -0
- package/filter-bar/si-filter-pill.component.d.ts +20 -0
- package/icon/element-icons.d.ts +10 -0
- package/info-page/index.d.ts +5 -0
- package/info-page/package.json +3 -0
- package/info-page/si-info-page.component.d.ts +38 -0
- package/inline-notification/si-inline-notification.component.d.ts +0 -2
- package/ip-input/address-utils.d.ts +28 -0
- package/ip-input/address-validators.d.ts +21 -0
- package/ip-input/index.d.ts +7 -0
- package/ip-input/package.json +3 -0
- package/ip-input/si-ip-input.directive.d.ts +53 -0
- package/ip-input/si-ip4-input.directive.d.ts +9 -0
- package/ip-input/si-ip6-input.directive.d.ts +10 -0
- package/localization/index.d.ts +8 -0
- package/localization/package.json +3 -0
- package/localization/si-directionality.d.ts +41 -0
- package/localization/si-locale-id.d.ts +22 -0
- package/localization/si-locale-store.d.ts +16 -0
- package/localization/si-locale.service.d.ts +73 -0
- package/package.json +91 -3
- package/photo-upload/index.d.ts +6 -0
- package/photo-upload/package.json +3 -0
- package/photo-upload/si-image-cropper-style.component.d.ts +5 -0
- package/photo-upload/si-photo-upload.component.d.ts +298 -0
- package/search-bar/index.d.ts +6 -0
- package/search-bar/package.json +3 -0
- package/search-bar/si-search-bar.component.d.ts +87 -0
- package/search-bar/si-search-bar.module.d.ts +7 -0
- package/slider/index.d.ts +6 -0
- package/slider/package.json +3 -0
- package/slider/si-slider.component.d.ts +129 -0
- package/slider/si-slider.module.d.ts +7 -0
- package/sort-bar/index.d.ts +6 -0
- package/sort-bar/package.json +3 -0
- package/sort-bar/si-sort-bar.component.d.ts +42 -0
- package/sort-bar/si-sort-bar.module.d.ts +7 -0
- package/split/index.d.ts +8 -0
- package/split/package.json +3 -0
- package/split/si-split-part.component.d.ts +154 -0
- package/split/si-split.component.d.ts +48 -0
- package/split/si-split.interfaces.d.ts +17 -0
- package/split/si-split.module.d.ts +8 -0
- package/status-toggle/index.d.ts +6 -0
- package/status-toggle/package.json +3 -0
- package/status-toggle/si-status-toggle.component.d.ts +54 -0
- package/status-toggle/status-toggle.model.d.ts +26 -0
- package/system-banner/index.d.ts +5 -0
- package/system-banner/package.json +3 -0
- package/system-banner/system-banner.component.d.ts +23 -0
- package/tabs/index.d.ts +7 -0
- package/tabs/package.json +3 -0
- package/tabs/si-tab/index.d.ts +5 -0
- package/tabs/si-tab/si-tab.component.d.ts +58 -0
- package/tabs/si-tabs.module.d.ts +8 -0
- package/tabs/si-tabset/index.d.ts +5 -0
- package/tabs/si-tabset/si-tabset.component.d.ts +100 -0
- package/template-i18n.json +82 -0
- package/translate/si-translatable-keys.interface.d.ts +82 -0
- package/unauthorized-page/index.d.ts +6 -0
- package/unauthorized-page/package.json +3 -0
- package/unauthorized-page/si-unauthorized-page.component.d.ts +35 -0
- package/unauthorized-page/si-unauthorized-page.module.d.ts +7 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { UploadFile } from './si-file-uploader.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SiFileDropzoneComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Text or translation key of the input file selector (is combined with the `uploadTextRest`).
|
|
6
|
+
*
|
|
7
|
+
* @defaultValue
|
|
8
|
+
* ```
|
|
9
|
+
* $localize`:@@SI_FILE_UPLOADER.FILE_SELECT:click to upload`
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
readonly uploadTextFileSelect: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
13
|
+
/**
|
|
14
|
+
* Text or translation key of the drag&drop field (is combined with the `uploadTextFileSelect`).
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue
|
|
17
|
+
* ```
|
|
18
|
+
* $localize`:@@SI_FILE_UPLOADER.DROP:Drop files here or`
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
readonly uploadDropText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
22
|
+
/**
|
|
23
|
+
* Text or translation key for max file size.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue
|
|
26
|
+
* ```
|
|
27
|
+
* $localize`:@@SI_FILE_UPLOADER.MAX_SIZE:Maximum upload size`
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
readonly maxFileSizeText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
31
|
+
/**
|
|
32
|
+
* Text or translation key for accepted types.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue
|
|
35
|
+
* ```
|
|
36
|
+
* $localize`:@@SI_FILE_UPLOADER.ACCEPTED_FILE_TYPES:Accepted file types`
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
readonly acceptText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
40
|
+
/**
|
|
41
|
+
* Text or translation key of message title if incorrect file type is dragged / dropped.
|
|
42
|
+
*
|
|
43
|
+
* @defaultValue
|
|
44
|
+
* ```
|
|
45
|
+
* $localize`:@@SI_FILE_UPLOADER.ERROR_FILE_TYPE:Incorrect file type selected`
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
readonly errorTextFileType: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
49
|
+
/**
|
|
50
|
+
* Message or translation key if file exceeds the maximum file size limit.
|
|
51
|
+
*
|
|
52
|
+
* @defaultValue
|
|
53
|
+
* ```
|
|
54
|
+
* $localize`:@@SI_FILE_UPLOADER.ERROR_FILE_SIZE_EXCEEDED:File exceeds allowed maximum size`
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
readonly errorTextFileMaxSize: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
58
|
+
/**
|
|
59
|
+
* Define which file types are suggested in file browser.
|
|
60
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-accept
|
|
61
|
+
*/
|
|
62
|
+
readonly accept: import("@angular/core").InputSignal<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Define maximal allowed file size in bytes.
|
|
65
|
+
*/
|
|
66
|
+
readonly maxFileSize: import("@angular/core").InputSignal<number | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Defines whether the file input allows selecting multiple files.
|
|
69
|
+
* When {@link directoryUpload} is enabled, this will have no effect.
|
|
70
|
+
*
|
|
71
|
+
* @defaultValue false
|
|
72
|
+
*/
|
|
73
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
74
|
+
/**
|
|
75
|
+
* Event emitted when files are added.
|
|
76
|
+
*/
|
|
77
|
+
readonly filesAdded: import("@angular/core").OutputEmitterRef<UploadFile[]>;
|
|
78
|
+
/**
|
|
79
|
+
* Enable directory upload.
|
|
80
|
+
*
|
|
81
|
+
* @defaultValue false
|
|
82
|
+
*/
|
|
83
|
+
readonly directoryUpload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
84
|
+
protected readonly maxFileSizeString: import("@angular/core").Signal<string>;
|
|
85
|
+
protected readonly icons: Record<"elementUpload", string>;
|
|
86
|
+
protected dragOver: boolean;
|
|
87
|
+
private readonly fileInput;
|
|
88
|
+
private locale;
|
|
89
|
+
private numberFormat;
|
|
90
|
+
protected dropHandler(event: DragEvent): void;
|
|
91
|
+
protected dragOverHandler(event: DragEvent): void;
|
|
92
|
+
protected inputEnterHandler(): void;
|
|
93
|
+
protected inputHandler(event: Event): void;
|
|
94
|
+
protected handleFiles(files: FileList | null): void;
|
|
95
|
+
/**
|
|
96
|
+
* Reset all the files inside the native file input (and therefore the dropzone).
|
|
97
|
+
*/
|
|
98
|
+
reset(): void;
|
|
99
|
+
private makeUploadFile;
|
|
100
|
+
private verifyFileSize;
|
|
101
|
+
private verifyFileType;
|
|
102
|
+
private fileSizeToString;
|
|
103
|
+
private handleItems;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFileDropzoneComponent, never>;
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiFileDropzoneComponent, "si-file-dropzone", never, { "uploadTextFileSelect": { "alias": "uploadTextFileSelect"; "required": false; "isSignal": true; }; "uploadDropText": { "alias": "uploadDropText"; "required": false; "isSignal": true; }; "maxFileSizeText": { "alias": "maxFileSizeText"; "required": false; "isSignal": true; }; "acceptText": { "alias": "acceptText"; "required": false; "isSignal": true; }; "errorTextFileType": { "alias": "errorTextFileType"; "required": false; "isSignal": true; }; "errorTextFileMaxSize": { "alias": "errorTextFileMaxSize"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "directoryUpload": { "alias": "directoryUpload"; "required": false; "isSignal": true; }; }, { "filesAdded": "filesAdded"; }, never, never, true, never>;
|
|
106
|
+
}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { HttpEvent, HttpHeaders, HttpRequest, HttpResponse } from '@angular/common/http';
|
|
2
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { Observable, Subscription } from 'rxjs';
|
|
4
|
+
import { UploadFile } from './si-file-uploader.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* The FileUploadResult is emitted at completion of the file uploading
|
|
8
|
+
* via the `uploadCompleted` emitter. On success the Http `response` from
|
|
9
|
+
* the backend is provided and on failure, the `error` object is available.
|
|
10
|
+
*/
|
|
11
|
+
export interface FileUploadResult {
|
|
12
|
+
file: string;
|
|
13
|
+
response?: HttpResponse<unknown>;
|
|
14
|
+
error?: Error;
|
|
15
|
+
}
|
|
16
|
+
export interface FileUploadConfig {
|
|
17
|
+
headers: HttpHeaders | string | Record<string, string | number | (string | number)[]> | Headers;
|
|
18
|
+
method: 'POST' | 'PUT' | 'PATCH';
|
|
19
|
+
url: string;
|
|
20
|
+
/** Form field name for the uploaded file. */
|
|
21
|
+
fieldName: string;
|
|
22
|
+
/**
|
|
23
|
+
* Additional form fields added in the HTTP request.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```json
|
|
27
|
+
* { upload_user: 'Reiner Zufall', expiry_date: ' 21.12.2012' }
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
additionalFields?: Record<string, string>;
|
|
31
|
+
/** Specify the server response type */
|
|
32
|
+
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
33
|
+
/** A function to modify the HTTP request sent on the consumer side. */
|
|
34
|
+
handler?: (req: HttpRequest<unknown>) => Observable<HttpEvent<unknown>>;
|
|
35
|
+
/**
|
|
36
|
+
* When `true`, the file will be sent directly w/o the use of `FormData`.
|
|
37
|
+
* You will also need to set the `Content-Type` header when sending binary. See: {@link headers}
|
|
38
|
+
*/
|
|
39
|
+
sendBinary?: boolean;
|
|
40
|
+
}
|
|
41
|
+
interface ExtUploadFile extends UploadFile {
|
|
42
|
+
httpErrorText?: string;
|
|
43
|
+
subscription?: Subscription;
|
|
44
|
+
successResponse?: HttpResponse<unknown>;
|
|
45
|
+
fadeOut?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare class SiFileUploaderComponent implements OnChanges {
|
|
48
|
+
/**
|
|
49
|
+
* Text of the link to open the file select dialog (follows `uploadDropText`).
|
|
50
|
+
*
|
|
51
|
+
* @defaultValue
|
|
52
|
+
* ```
|
|
53
|
+
* $localize`:@@SI_FILE_UPLOADER.FILE_SELECT:click to upload`
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
readonly uploadTextFileSelect: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
57
|
+
/**
|
|
58
|
+
* Text instructing a user to drop the files inside the dropzone.
|
|
59
|
+
*
|
|
60
|
+
* @defaultValue
|
|
61
|
+
* ```
|
|
62
|
+
* $localize`:@@SI_FILE_UPLOADER.DROP:Drop files here or`
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
readonly uploadDropText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
66
|
+
/**
|
|
67
|
+
* Text to describe the maximum file size.
|
|
68
|
+
*
|
|
69
|
+
* @defaultValue
|
|
70
|
+
* ```
|
|
71
|
+
* $localize`:@@SI_FILE_UPLOADER.MAX_SIZE:Maximum upload size`
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
readonly maxFileSizeText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
75
|
+
/**
|
|
76
|
+
* Error message shown when the maximum number of files are reached.
|
|
77
|
+
*
|
|
78
|
+
* @defaultValue
|
|
79
|
+
* ```
|
|
80
|
+
* $localize`:@@SI_FILE_UPLOADER.MAX_FILE_REACHED:Maximum number of files reached`
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
readonly maxFilesReachedText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
84
|
+
/**
|
|
85
|
+
* Text for the accepted file types.
|
|
86
|
+
*
|
|
87
|
+
* @defaultValue
|
|
88
|
+
* ```
|
|
89
|
+
* $localize`:@@SI_FILE_UPLOADER.ACCEPTED_FILE_TYPES:Accepted file types`
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
readonly acceptText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
93
|
+
/**
|
|
94
|
+
* Text used inside the upload button.
|
|
95
|
+
*
|
|
96
|
+
* @defaultValue
|
|
97
|
+
* ```
|
|
98
|
+
* $localize`:@@SI_FILE_UPLOADER.UPLOAD:Upload`
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
readonly uploadButtonText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
102
|
+
/**
|
|
103
|
+
* Text used inside the clear button.
|
|
104
|
+
*
|
|
105
|
+
* @defaultValue
|
|
106
|
+
* ```
|
|
107
|
+
* $localize`:@@SI_FILE_UPLOADER.CLEAR:Clear`
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
readonly clearButtonText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
111
|
+
/**
|
|
112
|
+
* Text shown during the file upload.
|
|
113
|
+
*
|
|
114
|
+
* @defaultValue
|
|
115
|
+
* ```
|
|
116
|
+
* $localize`:@@SI_FILE_UPLOADER.UPLOADING:Uploading`
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
readonly uploadingText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
120
|
+
/**
|
|
121
|
+
* Text shown to remove a file from the file list. Required for a11y.
|
|
122
|
+
*
|
|
123
|
+
* @defaultValue
|
|
124
|
+
* ```
|
|
125
|
+
* $localize`:@@SI_FILE_UPLOADER.REMOVE:Remove`
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
readonly removeButtonText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
129
|
+
/**
|
|
130
|
+
* Text of cancel button. Shown during upload. Required for a11y.
|
|
131
|
+
*
|
|
132
|
+
* @defaultValue
|
|
133
|
+
* ```
|
|
134
|
+
* $localize`:@@SI_FILE_UPLOADER.CANCEL:Cancel`
|
|
135
|
+
* ```
|
|
136
|
+
*/
|
|
137
|
+
readonly cancelButtonText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
138
|
+
/**
|
|
139
|
+
* Text shown if the upload was successful.
|
|
140
|
+
*
|
|
141
|
+
* @defaultValue
|
|
142
|
+
* ```
|
|
143
|
+
* $localize`:@@SI_FILE_UPLOADER.UPLOAD_COMPLETED:Upload completed`
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
readonly successTextTitle: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
147
|
+
/**
|
|
148
|
+
* Text shown if the upload failed.
|
|
149
|
+
*
|
|
150
|
+
* @defaultValue
|
|
151
|
+
* ```
|
|
152
|
+
* $localize`:@@SI_FILE_UPLOADER.UPLOAD_FAILED:Upload failed`
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
readonly errorUploadFailed: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
156
|
+
/**
|
|
157
|
+
* On failed upload, show the error received from the server.
|
|
158
|
+
*
|
|
159
|
+
* @defaultValue false
|
|
160
|
+
*/
|
|
161
|
+
readonly showHttpError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
162
|
+
/**
|
|
163
|
+
* Text shown to indicate that an incorrect file type was added to file list.
|
|
164
|
+
*
|
|
165
|
+
* @defaultValue
|
|
166
|
+
* ```
|
|
167
|
+
* $localize`:@@SI_FILE_UPLOADER.ERROR_FILE_TYPE:Incorrect file type selected`
|
|
168
|
+
* ```
|
|
169
|
+
*/
|
|
170
|
+
readonly errorTextFileType: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
171
|
+
/**
|
|
172
|
+
* Message or translation key if file exceeds the maximum file size limit.
|
|
173
|
+
*
|
|
174
|
+
* @defaultValue
|
|
175
|
+
* ```
|
|
176
|
+
* $localize`:@@SI_FILE_UPLOADER.ERROR_FILE_SIZE_EXCEEDED:File exceeds allowed maximum size`
|
|
177
|
+
* ```
|
|
178
|
+
*/
|
|
179
|
+
readonly errorTextFileMaxSize: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
180
|
+
/**
|
|
181
|
+
* Config for HTTP request to upload file.
|
|
182
|
+
*
|
|
183
|
+
* @defaultValue
|
|
184
|
+
* ```
|
|
185
|
+
* {
|
|
186
|
+
* headers: new HttpHeaders({ 'Accept': 'application/json' }),
|
|
187
|
+
* method: 'POST',
|
|
188
|
+
* url: '',
|
|
189
|
+
* fieldName: 'upload_file',
|
|
190
|
+
* responseType: 'json'
|
|
191
|
+
* }
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
readonly uploadConfig: import("@angular/core").InputSignal<FileUploadConfig>;
|
|
195
|
+
/**
|
|
196
|
+
* Define which file types are suggested in file browser.
|
|
197
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-accept
|
|
198
|
+
*/
|
|
199
|
+
readonly accept: import("@angular/core").InputSignal<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* Define maximal allowed file size in bytes.
|
|
202
|
+
*
|
|
203
|
+
* @defaultValue undefined
|
|
204
|
+
*/
|
|
205
|
+
readonly maxFileSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
206
|
+
/**
|
|
207
|
+
* Define maximal allowed number of files.
|
|
208
|
+
* When {@link directoryUpload} is enabled, this will have no effect.
|
|
209
|
+
* @defaultValue 10
|
|
210
|
+
*/
|
|
211
|
+
readonly maxFiles: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
212
|
+
/**
|
|
213
|
+
* Maximum number of concurrent uploads.
|
|
214
|
+
*
|
|
215
|
+
* @defaultValue 3
|
|
216
|
+
*/
|
|
217
|
+
readonly maxConcurrentUploads: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
218
|
+
/**
|
|
219
|
+
* Numbers of retries for failed uploads.
|
|
220
|
+
*
|
|
221
|
+
* @defaultValue 0
|
|
222
|
+
*/
|
|
223
|
+
readonly retries: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
224
|
+
/**
|
|
225
|
+
* Auto-upload mode - automatically start upload once files are added.
|
|
226
|
+
*
|
|
227
|
+
* @defaultValue false
|
|
228
|
+
*/
|
|
229
|
+
readonly autoUpload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
230
|
+
/**
|
|
231
|
+
* Disable the upload button.
|
|
232
|
+
*
|
|
233
|
+
* @defaultValue false
|
|
234
|
+
*/
|
|
235
|
+
readonly disableUpload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
236
|
+
/**
|
|
237
|
+
* Enable directory upload mode.
|
|
238
|
+
* When enabled, the file input will accept directories and upload all files within as a flat list.
|
|
239
|
+
* The hierarchy of the directory will not be preserved.
|
|
240
|
+
* The `maxFiles` property will have no effect when `directoryUpload` is enabled.
|
|
241
|
+
*
|
|
242
|
+
* **Note:** This feature is not yet available for safari (iOS)
|
|
243
|
+
*
|
|
244
|
+
* @defaultValue false
|
|
245
|
+
*/
|
|
246
|
+
readonly directoryUpload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
247
|
+
/**
|
|
248
|
+
* Emits when a user press cancel during upload. The event provides the file details.
|
|
249
|
+
*/
|
|
250
|
+
readonly uploadCanceled: import("@angular/core").OutputEmitterRef<UploadFile>;
|
|
251
|
+
/**
|
|
252
|
+
* Output callback event will provide you if upload is finished. If an error
|
|
253
|
+
* occurred it will be emitted.
|
|
254
|
+
*/
|
|
255
|
+
readonly uploadCompleted: import("@angular/core").OutputEmitterRef<FileUploadResult>;
|
|
256
|
+
/**
|
|
257
|
+
* Output which fires whenever new files are added to or removed from the uploader.
|
|
258
|
+
*/
|
|
259
|
+
readonly filesChanges: import("@angular/core").OutputEmitterRef<UploadFile[]>;
|
|
260
|
+
protected readonly icons: Record<"elementCancel" | "elementDelete" | "elementDocument" | "elementRedo", string>;
|
|
261
|
+
protected files: ExtUploadFile[];
|
|
262
|
+
protected pending: number;
|
|
263
|
+
protected uploading: number;
|
|
264
|
+
protected uploadEnabled: boolean;
|
|
265
|
+
protected maxFilesReached: boolean;
|
|
266
|
+
private readonly dropZone;
|
|
267
|
+
private cdRef;
|
|
268
|
+
private http?;
|
|
269
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
270
|
+
protected handleFiles(files: UploadFile[]): void;
|
|
271
|
+
protected removeFile(index: number): void;
|
|
272
|
+
protected cancelUpload(file: ExtUploadFile): void;
|
|
273
|
+
protected retryUpload(file: UploadFile): void;
|
|
274
|
+
/**
|
|
275
|
+
* Reset the state.
|
|
276
|
+
*/
|
|
277
|
+
reset(emit?: boolean): void;
|
|
278
|
+
/**
|
|
279
|
+
* Uploads the file
|
|
280
|
+
*/
|
|
281
|
+
fileUpload(doRetry?: boolean): void;
|
|
282
|
+
private doUpload;
|
|
283
|
+
private processQueue;
|
|
284
|
+
private uploadOneFile;
|
|
285
|
+
private isDuplicate;
|
|
286
|
+
private handleUploadEvent;
|
|
287
|
+
private handleUploadError;
|
|
288
|
+
private handleUploadComplete;
|
|
289
|
+
private oneUploadDone;
|
|
290
|
+
private fadeOut;
|
|
291
|
+
private updateStates;
|
|
292
|
+
private countValid;
|
|
293
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFileUploaderComponent, never>;
|
|
294
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiFileUploaderComponent, "si-file-uploader", never, { "uploadTextFileSelect": { "alias": "uploadTextFileSelect"; "required": false; "isSignal": true; }; "uploadDropText": { "alias": "uploadDropText"; "required": false; "isSignal": true; }; "maxFileSizeText": { "alias": "maxFileSizeText"; "required": false; "isSignal": true; }; "maxFilesReachedText": { "alias": "maxFilesReachedText"; "required": false; "isSignal": true; }; "acceptText": { "alias": "acceptText"; "required": false; "isSignal": true; }; "uploadButtonText": { "alias": "uploadButtonText"; "required": false; "isSignal": true; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; "isSignal": true; }; "uploadingText": { "alias": "uploadingText"; "required": false; "isSignal": true; }; "removeButtonText": { "alias": "removeButtonText"; "required": false; "isSignal": true; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; "isSignal": true; }; "successTextTitle": { "alias": "successTextTitle"; "required": false; "isSignal": true; }; "errorUploadFailed": { "alias": "errorUploadFailed"; "required": false; "isSignal": true; }; "showHttpError": { "alias": "showHttpError"; "required": false; "isSignal": true; }; "errorTextFileType": { "alias": "errorTextFileType"; "required": false; "isSignal": true; }; "errorTextFileMaxSize": { "alias": "errorTextFileMaxSize"; "required": false; "isSignal": true; }; "uploadConfig": { "alias": "uploadConfig"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "maxFiles": { "alias": "maxFiles"; "required": false; "isSignal": true; }; "maxConcurrentUploads": { "alias": "maxConcurrentUploads"; "required": false; "isSignal": true; }; "retries": { "alias": "retries"; "required": false; "isSignal": true; }; "autoUpload": { "alias": "autoUpload"; "required": false; "isSignal": true; }; "disableUpload": { "alias": "disableUpload"; "required": false; "isSignal": true; }; "directoryUpload": { "alias": "directoryUpload"; "required": false; "isSignal": true; }; }, { "uploadCanceled": "uploadCanceled"; "uploadCompleted": "uploadCompleted"; "filesChanges": "filesChanges"; }, never, never, true, never>;
|
|
295
|
+
}
|
|
296
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
export interface UploadFile {
|
|
6
|
+
status: 'added' | 'invalid' | 'queued' | 'uploading' | 'success' | 'error';
|
|
7
|
+
file: File;
|
|
8
|
+
fileName: string;
|
|
9
|
+
size: string;
|
|
10
|
+
errorText?: string;
|
|
11
|
+
progress: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-file-dropzone.component";
|
|
3
|
+
import * as i2 from "./si-file-uploader.component";
|
|
4
|
+
export declare class SiFileUploaderModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFileUploaderModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiFileUploaderModule, never, [typeof i1.SiFileDropzoneComponent, typeof i2.SiFileUploaderComponent], [typeof i1.SiFileDropzoneComponent, typeof i2.SiFileUploaderComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiFileUploaderModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
export type FilterStatusType = 'default' | 'success' | 'info' | 'warning' | 'danger' | 'inactive';
|
|
6
|
+
export interface Filter {
|
|
7
|
+
/**
|
|
8
|
+
* Identification name of filter pill.
|
|
9
|
+
* Is not shown to the user, please specify either a {@link title} or a {@link description}.
|
|
10
|
+
*/
|
|
11
|
+
filterName: string;
|
|
12
|
+
/**
|
|
13
|
+
* Shown title of filter pill.
|
|
14
|
+
* Can be left empty if {@link description} is used.
|
|
15
|
+
*/
|
|
16
|
+
title?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Short description of filter pill.
|
|
19
|
+
* Can be left empty if {@link title} is used to align the title to middle of pill.
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Status of filter pill
|
|
24
|
+
*/
|
|
25
|
+
status: FilterStatusType;
|
|
26
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { BackgroundColorVariant } from '@siemens/element-ng/common';
|
|
2
|
+
import { Filter } from './filter';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SiFilterBarComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Custom text if no filters are selected.
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue
|
|
9
|
+
* ```
|
|
10
|
+
* $localize`:@@SI_FILTER_BAR.NO_FILTERS:No filters applied`
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
readonly filterDefaultText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
14
|
+
/**
|
|
15
|
+
* Array of filter items to show
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue []
|
|
18
|
+
*/
|
|
19
|
+
readonly filters: import("@angular/core").ModelSignal<Filter[]>;
|
|
20
|
+
/**
|
|
21
|
+
* Text for reset button
|
|
22
|
+
*
|
|
23
|
+
* @defaultValue
|
|
24
|
+
* ```
|
|
25
|
+
* $localize`:@@SI_FILTER_BAR.RESET_FILTERS:Reset filters`
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
readonly resetText: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
29
|
+
/**
|
|
30
|
+
* Set false to hide reset filters button
|
|
31
|
+
*
|
|
32
|
+
* @defaultValue true
|
|
33
|
+
*/
|
|
34
|
+
readonly allowReset: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
/**
|
|
36
|
+
* Color to use for component background
|
|
37
|
+
*
|
|
38
|
+
* @defaultValue 'base-1'
|
|
39
|
+
*/
|
|
40
|
+
readonly colorVariant: import("@angular/core").InputSignal<BackgroundColorVariant>;
|
|
41
|
+
/**
|
|
42
|
+
* Set to true to disable component
|
|
43
|
+
*
|
|
44
|
+
* @defaultValue false
|
|
45
|
+
*/
|
|
46
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
47
|
+
/**
|
|
48
|
+
* Custom text for the collapsed filters.
|
|
49
|
+
* @defaultValue
|
|
50
|
+
* ```
|
|
51
|
+
* $localize`:@@SI_FILTER_BAR.COLLAPSED_FILTERS_DESCRIPTION:+ {{count}} filters`
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
readonly collapsedFiltersDescription: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
55
|
+
/**
|
|
56
|
+
* Output callback to be executed when the reset filter is clicked
|
|
57
|
+
*/
|
|
58
|
+
readonly resetFilters: import("@angular/core").OutputEmitterRef<void>;
|
|
59
|
+
private readonly collapsableListDirective;
|
|
60
|
+
protected deleteFilters(deletedPill: Filter): void;
|
|
61
|
+
protected onResetFilters(): void;
|
|
62
|
+
protected deleteOverflowFilter(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFilterBarComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiFilterBarComponent, "si-filter-bar", never, { "filterDefaultText": { "alias": "filterDefaultText"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "resetText": { "alias": "resetText"; "required": false; "isSignal": true; }; "allowReset": { "alias": "allowReset"; "required": false; "isSignal": true; }; "colorVariant": { "alias": "colorVariant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "collapsedFiltersDescription": { "alias": "collapsedFiltersDescription"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "resetFilters": "resetFilters"; }, never, never, true, never>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-filter-bar.component";
|
|
3
|
+
export declare class SiFilterBarModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFilterBarModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiFilterBarModule, never, [typeof i1.SiFilterBarComponent], [typeof i1.SiFilterBarComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiFilterBarModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Filter } from './filter';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SiFilterPillComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Settings of the filter pill.
|
|
6
|
+
*/
|
|
7
|
+
readonly filter: import("@angular/core").InputSignal<Filter>;
|
|
8
|
+
/** @defaultValue false */
|
|
9
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
/** @defaultValue 0 */
|
|
11
|
+
readonly totalPills: import("@angular/core").InputSignal<number>;
|
|
12
|
+
/**
|
|
13
|
+
* Output callback event which will provide you the name of the deleted filter
|
|
14
|
+
* pill if a filter was deleted.
|
|
15
|
+
*/
|
|
16
|
+
readonly deleteFilters: import("@angular/core").OutputEmitterRef<Filter>;
|
|
17
|
+
protected deleteClicked(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFilterPillComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiFilterPillComponent, "si-filter-pill", never, { "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "totalPills": { "alias": "totalPills"; "required": false; "isSignal": true; }; }, { "deleteFilters": "deleteFilters"; }, never, never, true, never>;
|
|
20
|
+
}
|
package/icon/element-icons.d.ts
CHANGED
|
@@ -30,6 +30,9 @@ export declare const elementLeft3 = "data:image/svg+xml;utf8,<svg xmlns='http://
|
|
|
30
30
|
export declare const elementRight3 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M192.61 106.22a11.1 11.1 0 0 0 2.09 6.51L292.51 256l-97.82 143.29a11.05 11.05 0 0 0-2.08 6.49 11.24 11.24 0 0 0 4.7 9.13 11.12 11.12 0 0 0 6.51 2.09 11.24 11.24 0 0 0 9.13-4.69L319.39 256 213 99.71a11.24 11.24 0 0 0-9.18-4.71 11.12 11.12 0 0 0-6.51 2.09 11.24 11.24 0 0 0-4.7 9.13Z'/></svg>";
|
|
31
31
|
export declare const elementHide = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M254.85 173.58c42.57 0 84.25 14.94 123.9 44.4a278.05 278.05 0 0 1 41.59 38 278.05 278.05 0 0 1-41.59 38 260.79 260.79 0 0 1-25.17 16.59l17.48 17.48q11.49-7 22.63-15.27c32.57-24.34 51.1-48.55 51.87-49.57a12 12 0 0 0 0-14.5c-.77-1-19.3-25.23-51.87-49.57-43.43-32.45-91.44-49.6-138.84-49.6a204.56 204.56 0 0 0-54.72 7.58L220 177a180.12 180.12 0 0 1 34.85-3.42ZM436.49 427.51 349 340l-18-18-28.36-28.36-17.12-17.12-50.09-50.09-17.12-17.12-25-25-18.47-18.47-90.35-90.33a12 12 0 0 0-17 17l84.29 84.28a267.53 267.53 0 0 0-34.72 22.47c-32 24.38-50 48.64-50.75 49.66a12 12 0 0 0 0 14.2c.75 1 18.72 25.28 50.75 49.66 42.69 32.49 90.33 49.66 137.77 49.66a210.29 210.29 0 0 0 70.2-12.4l94.46 94.47a12 12 0 0 0 17-17Zm-215.15-181.2 44.35 44.35a36 36 0 0 1-44.35-44.35Zm33.51 92.11c-42.52 0-83.79-14.91-122.65-44.32A268.8 268.8 0 0 1 91.46 256a268.29 268.29 0 0 1 40.74-38.1 242.38 242.38 0 0 1 37.32-23.41L203 228a59.95 59.95 0 0 0 81 81l22 22.05a183.47 183.47 0 0 1-51.15 7.37Z'/><path d='m291.13 248.16 22.94 22.94a60 60 0 0 0-73.17-73.17l22.94 22.94a36.1 36.1 0 0 1 27.29 27.29Z'/></svg>";
|
|
32
32
|
export declare const elementShow = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M254.85 362.42c-47.44 0-95.08-17.17-137.77-49.66-32-24.38-50-48.64-50.75-49.66a12 12 0 0 1 0-14.2c.75-1 18.72-25.28 50.75-49.66 42.69-32.49 90.33-49.66 137.77-49.66s95.41 17.15 138.84 49.6c32.57 24.34 51.1 48.55 51.87 49.57a12 12 0 0 1 0 14.5c-.77 1-19.3 25.23-51.87 49.57-43.43 32.45-91.44 49.6-138.84 49.6ZM91.46 256a268.8 268.8 0 0 0 40.74 38.1c38.86 29.41 80.13 44.32 122.65 44.32s84.25-14.94 123.9-44.4a278.05 278.05 0 0 0 41.59-38 278.05 278.05 0 0 0-41.59-38c-39.65-29.46-81.33-44.4-123.9-44.4s-83.79 14.87-122.65 44.28A268.29 268.29 0 0 0 91.46 256Z'/><path d='M256 316a60 60 0 1 1 60-60 60.07 60.07 0 0 1-60 60Zm0-96a36 36 0 1 0 36 36 36 36 0 0 0-36-36Z'/></svg>";
|
|
33
|
+
export declare const elementBreadcrumbRoot = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='m300.35 157.77 1.72 1.44 88 88a12.43 12.43 0 0 1 1.44 15.86l-1.44 1.72-88 88a12.43 12.43 0 0 1-19-15.86l1.44-1.72 79.2-79.21-79.21-79.21a12.43 12.43 0 0 1-1.44-15.86l1.44-1.72a12.44 12.44 0 0 1 15.85-1.44Z'/><path d='M186.29 364h-56a12 12 0 0 1-12-12V160a12 12 0 0 1 12-12h56a12 12 0 0 1 8.48 3.51l96 96a12 12 0 0 1 0 17l-96 96a12 12 0 0 1-8.48 3.49Zm-44-24h39l84-84-84-84h-39Z'/></svg>";
|
|
34
|
+
export declare const elementSortDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M234.39 267.4 190 311.81V176a10 10 0 0 0-9.92-10h-.14a10 10 0 0 0-9.94 10v135.81l-44.4-44.41a10 10 0 0 0-14.13 14.13l60.35 60.34a9.53 9.53 0 0 0 1 1.21 10.24 10.24 0 0 0 14.32 0 9.53 9.53 0 0 0 1-1.21l60.35-60.34a10 10 0 0 0-14.13-14.13ZM369.48 324.45h-71.61a7.17 7.17 0 1 0 0 14.33h71.61a7.17 7.17 0 0 0 0-14.33ZM398.13 248.84H297.87a7.16 7.16 0 1 0 0 14.32h100.26a7.16 7.16 0 1 0 0-14.32ZM441.1 173.22H297.87a7.17 7.17 0 1 0 0 14.33H441.1a7.17 7.17 0 0 0 0-14.33Z'/></svg>";
|
|
35
|
+
export declare const elementSortUp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M217.69 300v-.27h-.2ZM369.48 324.45h-71.61a7.17 7.17 0 1 0 0 14.33h71.61a7.17 7.17 0 0 0 0-14.33ZM398.13 248.84H297.87a7.16 7.16 0 1 0 0 14.32h100.26a7.16 7.16 0 1 0 0-14.32ZM441.1 173.22H297.87a7.17 7.17 0 1 0 0 14.33H441.1a7.17 7.17 0 0 0 0-14.33ZM188.17 170.13a9.53 9.53 0 0 0-1-1.21 10.24 10.24 0 0 0-14.32 0 9.53 9.53 0 0 0-1 1.21l-60.35 60.34a10 10 0 0 0 14.13 14.13L170 200.19V336a10 10 0 0 0 9.92 10h.14a10 10 0 0 0 9.94-10V200.19l44.4 44.41a10 10 0 0 0 14.13-14.13Z'/></svg>";
|
|
33
36
|
export declare const elementSearch = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='m420.49 403.51-76.88-76.87A139.39 139.39 0 0 0 377 236c0-77.2-62.8-140-140-140S97 158.8 97 236s62.8 140 140 140a139.33 139.33 0 0 0 89.55-32.48l77 77a12 12 0 0 0 17-17ZM121 236a116 116 0 1 1 116 116 116.13 116.13 0 0 1-116-116Z' /></svg>";
|
|
34
37
|
export declare const elementChecked = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 76c-99.25 0-180 80.75-180 180s80.75 180 180 180 180-80.75 180-180S355.25 76 256 76Zm0 336c-86 0-156-70-156-156s70-156 156-156 156 70 156 156-70 156-156 156Z'/><path d='M218.5 336.75a12 12 0 0 1-8.49-3.51l-62.5-62.5a12 12 0 0 1 17-17l54 54 129-129a12 12 0 0 1 17 17L227 333.24a12 12 0 0 1-8.5 3.51Z'/></svg>";
|
|
35
38
|
export declare const elementCheckedFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 76c-99.25 0-180 80.75-180 180s80.75 180 180 180 180-80.75 180-180S355.25 76 256 76Zm108.49 119.74L227 333.24a12 12 0 0 1-17 0l-62.5-62.5a12 12 0 0 1 17-17l54 54 129-129a12 12 0 0 1 17 17Z'/></svg>";
|
|
@@ -38,3 +41,10 @@ export declare const elementNotChecked = "data:image/svg+xml;utf8,<svg xmlns='ht
|
|
|
38
41
|
export declare const elementRight4 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M403 256a12 12 0 0 0-4.54-9.39l-98.09-98.09a12 12 0 1 0-17 17L361.91 244H121a12 12 0 0 0 0 24h240.91l-78.51 78.51a12 12 0 1 0 17 17l98.09-98.09A12 12 0 0 0 403 256Z'/></svg>";
|
|
39
42
|
export declare const elementRadioChecked = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 436c-99.25 0-180-80.75-180-180S156.75 76 256 76s180 80.75 180 180-80.75 180-180 180Zm0-336c-86.02 0-156 69.98-156 156s69.98 156 156 156 156-69.98 156-156-69.98-156-156-156Z'/><circle cx='256' cy='256' r='86'/></svg>";
|
|
40
43
|
export declare const elementWarningFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='m441.77 354.25-.09-.16-146-243.66a46.45 46.45 0 0 0-79.44 0v.06L70.33 354.09l-.1.16A46.47 46.47 0 0 0 110 423.94h292.1a46.45 46.45 0 0 0 39.72-69.69ZM244 205.2a12 12 0 0 1 24 0v68.92a12 12 0 0 1-24 0ZM256.2 360h-.2a16 16 0 0 1 0-32h.22a16 16 0 0 1 0 32Z'/></svg>";
|
|
44
|
+
export declare const elementCalendar = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M368 113h-36V93a12 12 0 0 0-24 0v20H204V93a12 12 0 0 0-24 0v20h-36a44.05 44.05 0 0 0-44 44v224a44.05 44.05 0 0 0 44 44h224a44.05 44.05 0 0 0 44-44V157a44.05 44.05 0 0 0-44-44Zm-224 24h36v20a12 12 0 0 0 24 0v-20h104v20a12 12 0 0 0 24 0v-20h36a20 20 0 0 1 20 20v52H124v-52a20 20 0 0 1 20-20Zm224 264H144a20 20 0 0 1-20-20V233h264v148a20 20 0 0 1-20 20Z'/><path d='M335.19 263.36a20 20 0 1 1-20 20.11 20 20 0 0 1 20-20.11ZM256.21 263.36a20 20 0 1 1-20 20.11 20 20 0 0 1 20-20.11ZM256.21 326.54a20 20 0 1 1-20 20.11 20 20 0 0 1 20-20.11ZM177.24 326.54a20 20 0 1 1-20 20.11 20 20 0 0 1 20-20.11Z'/></svg>";
|
|
45
|
+
export declare const elementLeft2 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M308.79 352.79a12.45 12.45 0 0 1-15.86 1.44l-1.72-1.44-88-88a12.45 12.45 0 0 1-1.44-15.86l1.44-1.72 88-88a12.43 12.43 0 0 1 19 15.86l-1.44 1.72L229.58 256l79.21 79.21a12.45 12.45 0 0 1 1.44 15.86Z' data-name='Arrow/Right-3'/></svg>";
|
|
46
|
+
export declare const elementUpload = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M377.33 424H134.67A46.72 46.72 0 0 1 88 377.33V308a12 12 0 0 1 24 0v69.33A22.7 22.7 0 0 0 134.67 400h242.66A22.7 22.7 0 0 0 400 377.33V308a12 12 0 0 1 24 0v69.33A46.72 46.72 0 0 1 377.33 424Z'></path><path d='m351.15 178.18-86.66-86.67-.06-.05c-.27-.26-.54-.5-.82-.74l-.47-.35-.47-.35c-.18-.12-.37-.22-.56-.33s-.29-.19-.45-.27l-.57-.28-.49-.22c-.19-.08-.38-.14-.57-.21s-.36-.14-.54-.19-.38-.1-.58-.15l-.56-.14-.67-.1-.49-.07a11.83 11.83 0 0 0-2.38 0l-.49.07-.67.1-.56.14c-.2 0-.39.09-.58.15s-.36.12-.54.19l-.57.21-.49.22-.57.28c-.16.08-.3.18-.46.27s-.37.21-.55.33-.32.24-.48.36l-.46.34c-.28.24-.55.48-.82.74l-.06.05-86.66 86.67a12 12 0 1 0 17 17L244 129v179a12 12 0 0 0 24 0V129l66.18 66.18a12 12 0 0 0 17-17Z' /></svg>";
|
|
47
|
+
export declare const elementDelete = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M400 144h-72v-12a44.05 44.05 0 0 0-44-44h-56a44.05 44.05 0 0 0-44 44v12h-72a12 12 0 0 0 0 24h20v212a44.05 44.05 0 0 0 44 44h160a44.05 44.05 0 0 0 44-44V168h20a12 12 0 0 0 0-24Zm-192-12a20 20 0 0 1 20-20h56a20 20 0 0 1 20 20v12h-96Zm148 248a20 20 0 0 1-20 20H176a20 20 0 0 1-20-20V168h200Z'></path><path d='M224 344a12 12 0 0 0 12-12v-96a12 12 0 0 0-24 0v96a12 12 0 0 0 12 12ZM288 344a12 12 0 0 0 12-12v-96a12 12 0 0 0-24 0v96a12 12 0 0 0 12 12Z' /></svg>";
|
|
48
|
+
export declare const elementRedo = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M411.91 112.2a12 12 0 0 0-12 12v45.09A167.89 167.89 0 0 0 256 88c-92.64 0-168 75.36-168 168s75.36 168 168 168a168 168 0 0 0 166.06-142.43 12 12 0 0 0-23.72-3.63A144 144 0 0 1 256 400c-79.4 0-144-64.6-144-144s64.6-144 144-144a144.55 144.55 0 0 1 124.83 72.2h-40.92a12 12 0 0 0 0 24h72a12 12 0 0 0 12-12v-72a12 12 0 0 0-12-12Z' /></svg>";
|
|
49
|
+
export declare const elementDocument = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M162.4 424h187.2a43.25 43.25 0 0 0 43.2-43.2V209.2q0-.6-.06-1.2c0-.29-.08-.58-.13-.86 0-.1 0-.2-.05-.3a8.28 8.28 0 0 0-.25-1v-.13c-.1-.34-.23-.67-.36-1a.49.49 0 0 0 0-.11 9.3 9.3 0 0 0-.43-.9.77.77 0 0 0-.07-.16c-.15-.27-.31-.53-.47-.79l-.14-.22c-.16-.24-.33-.46-.51-.69l-.19-.26a10.41 10.41 0 0 0-.71-.78l-.07-.09-109.27-109.2-.09-.07a10.41 10.41 0 0 0-.78-.71l-.25-.19c-.23-.18-.46-.35-.7-.51l-.22-.14c-.26-.16-.52-.32-.79-.47l-.15-.07c-.3-.16-.6-.3-.91-.43h-.09c-.33-.13-.67-.25-1-.36H275a9.09 9.09 0 0 0-1-.25h-.29c-.29 0-.58-.1-.87-.13S272 88 271.6 88H162.4a43.25 43.25 0 0 0-43.2 43.2v249.6a43.25 43.25 0 0 0 43.2 43.2Zm121.2-295 68.23 68.23H283.6Zm-140.4 2.2a19.22 19.22 0 0 1 19.2-19.2h97.2v97.2a12 12 0 0 0 12 12h97.2v159.6a19.22 19.22 0 0 1-19.2 19.2H162.4a19.22 19.22 0 0 1-19.2-19.2Z' /></svg>";
|
|
50
|
+
export declare const elementLock = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M280 305.5a24 24 0 1 0-36 20.78V363a12 12 0 0 0 24 0v-36.72a24 24 0 0 0 12-20.78Z' /><path d='M358.67 224H348v-52a92 92 0 0 0-184 0v52h-10.67c-22.79 0-41.33 19.74-41.33 44v112c0 24.26 18.54 44 41.33 44h205.34c22.79 0 41.33-19.74 41.33-44V268c0-24.26-18.54-44-41.33-44ZM188 172a68 68 0 0 1 136 0v52H188Zm188 208c0 11-7.78 20-17.33 20H153.33c-9.55 0-17.33-9-17.33-20V268c0-11 7.78-20 17.33-20h205.34c9.55 0 17.33 9 17.33 20Z'/></svg>";
|