@indigina/ui-kit 1.1.539 → 1.1.540
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/package.json
CHANGED
|
@@ -199,7 +199,6 @@ declare enum KitSvgIcon {
|
|
|
199
199
|
PIPELINE = "pipeline",
|
|
200
200
|
CLIENT_SETUP = "client-setup",
|
|
201
201
|
TRAIN = "train",
|
|
202
|
-
BUILDING = "building",
|
|
203
202
|
CODE = "code",
|
|
204
203
|
TREE_VIEW = "tree-view",
|
|
205
204
|
MAGIC_WAND = "magic-wand",
|
|
@@ -3868,60 +3867,59 @@ declare enum KitFileCardSize {
|
|
|
3868
3867
|
declare class KitFileCardComponent {
|
|
3869
3868
|
private readonly datePipe;
|
|
3870
3869
|
private readonly dateFormatConfig;
|
|
3870
|
+
private readonly translateService;
|
|
3871
3871
|
/**
|
|
3872
3872
|
* Defines a value that will be used as a card title
|
|
3873
3873
|
*/
|
|
3874
|
-
title: string
|
|
3874
|
+
readonly title: InputSignal<string>;
|
|
3875
3875
|
/**
|
|
3876
3876
|
* Defines a value that will be used as the card type css class
|
|
3877
3877
|
*/
|
|
3878
|
-
type
|
|
3878
|
+
readonly type: InputSignal<string | undefined>;
|
|
3879
3879
|
/**
|
|
3880
3880
|
* Defines a value that will be used as a card label
|
|
3881
3881
|
*/
|
|
3882
|
-
label: string
|
|
3882
|
+
readonly label: InputSignal<string>;
|
|
3883
3883
|
/**
|
|
3884
3884
|
* Defines a value that will be used to render card icon
|
|
3885
3885
|
*/
|
|
3886
|
-
fileType: string
|
|
3886
|
+
readonly fileType: InputSignal<string>;
|
|
3887
3887
|
/**
|
|
3888
3888
|
* Defines a value that will be used as a card date
|
|
3889
3889
|
*/
|
|
3890
|
-
date: string
|
|
3890
|
+
readonly date: InputSignal<string>;
|
|
3891
3891
|
readonly size: InputSignal<KitFileCardSize>;
|
|
3892
3892
|
/**
|
|
3893
3893
|
* Defines a value that will be used as a card name
|
|
3894
3894
|
*/
|
|
3895
|
-
name: string
|
|
3895
|
+
readonly name: InputSignal<string>;
|
|
3896
3896
|
readonly fileSize: InputSignal<string | undefined>;
|
|
3897
|
-
readonly formattedFileSize: Signal<string | undefined>;
|
|
3898
3897
|
readonly showViewFileButton: InputSignal<boolean>;
|
|
3899
3898
|
readonly useUTCDateValues: InputSignal<boolean>;
|
|
3900
3899
|
/**
|
|
3901
3900
|
* An action which is emitted when view button clicked
|
|
3902
3901
|
*/
|
|
3903
|
-
viewButtonClicked:
|
|
3902
|
+
readonly viewButtonClicked: OutputEmitterRef<void>;
|
|
3904
3903
|
/**
|
|
3905
3904
|
* An action which is emitted when download button clicked
|
|
3906
3905
|
*/
|
|
3907
|
-
downloadButtonClicked:
|
|
3908
|
-
customMessages: KitFileCardMessagesComponent |
|
|
3906
|
+
readonly downloadButtonClicked: OutputEmitterRef<void>;
|
|
3907
|
+
readonly customMessages: Signal<KitFileCardMessagesComponent | undefined>;
|
|
3908
|
+
readonly formattedFileSize: Signal<string | undefined>;
|
|
3909
3909
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3910
3910
|
readonly kitButtonType: typeof KitButtonType;
|
|
3911
3911
|
readonly kitButtonKind: typeof KitButtonKind;
|
|
3912
3912
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
3913
3913
|
readonly kitFileCardSize: typeof KitFileCardSize;
|
|
3914
|
-
readonly
|
|
3915
|
-
readonly createdByLabel: string;
|
|
3916
|
-
readonly downloadButtonLabel: string;
|
|
3917
|
-
readonly viewButtonLabel: string;
|
|
3914
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
3918
3915
|
readonly dateFormat: string;
|
|
3919
3916
|
constructor();
|
|
3920
3917
|
getFileIconByExtension(extension: string): string | null;
|
|
3921
3918
|
hasViewFileButton(fileType: string): boolean;
|
|
3922
3919
|
getFormattedDate(): string;
|
|
3920
|
+
getActionButtonLabel(label: string, defaultLabelKey: string): string;
|
|
3923
3921
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardComponent, never>;
|
|
3924
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileCardComponent, "kit-file-card", never, { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fileType": { "alias": "fileType"; "required": false; }; "date": { "alias": "date"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; }; "fileSize": { "alias": "fileSize"; "required": false; "isSignal": true; }; "showViewFileButton": { "alias": "showViewFileButton"; "required": false; "isSignal": true; }; "useUTCDateValues": { "alias": "useUTCDateValues"; "required": false; "isSignal": true; }; }, { "viewButtonClicked": "viewButtonClicked"; "downloadButtonClicked": "downloadButtonClicked"; }, ["customMessages"], ["*"], true, never>;
|
|
3922
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileCardComponent, "kit-file-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "fileType": { "alias": "fileType"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "fileSize": { "alias": "fileSize"; "required": false; "isSignal": true; }; "showViewFileButton": { "alias": "showViewFileButton"; "required": false; "isSignal": true; }; "useUTCDateValues": { "alias": "useUTCDateValues"; "required": false; "isSignal": true; }; }, { "viewButtonClicked": "viewButtonClicked"; "downloadButtonClicked": "downloadButtonClicked"; }, ["customMessages"], ["*"], true, never>;
|
|
3925
3923
|
}
|
|
3926
3924
|
|
|
3927
3925
|
declare enum KitDataFieldState {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3.49805 12.8269V2.3321C3.49805 2.02284 3.6209 1.72624 3.83959 1.50755C4.05827 1.28887 4.35487 1.16602 4.66413 1.16602H9.32849C9.63775 1.16602 9.93435 1.28887 10.153 1.50755C10.3717 1.72624 10.4946 2.02284 10.4946 2.3321V12.8269H3.49805Z" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M3.49819 6.99609H2.3321C2.02284 6.99609 1.72624 7.11895 1.50755 7.33763C1.28887 7.55632 1.16602 7.85292 1.16602 8.16218V11.6604C1.16602 11.9697 1.28887 12.2663 1.50755 12.485C1.72624 12.7037 2.02284 12.8265 2.3321 12.8265H3.49819" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M10.4951 5.24707H11.6612C11.9705 5.24707 12.2671 5.36993 12.4858 5.58861C12.7044 5.80729 12.8273 6.10389 12.8273 6.41316V11.6606C12.8273 11.9698 12.7044 12.2664 12.4858 12.4851C12.2671 12.7038 11.9705 12.8266 11.6612 12.8266H10.4951" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M5.83008 3.49805H8.16225" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M5.83008 5.83008H8.16225" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
<path d="M5.83008 8.16309H8.16225" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
<path d="M5.83008 10.4951H8.16225" stroke-width="1.16609" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
-
</svg>
|