ui-core-abv 0.9.9 → 0.10.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/fesm2022/ui-core-abv.mjs +91 -6
- package/fesm2022/ui-core-abv.mjs.map +1 -1
- package/lib/components/dynamic-form/form.models.d.ts +3 -0
- package/lib/components/inputs/file-input/file-input.component.d.ts +7 -1
- package/lib/translate/dictionary.en.d.ts +6 -0
- package/lib/translate/dictionary.es.d.ts +6 -0
- package/package.json +1 -1
|
@@ -107,6 +107,9 @@ export interface FormField {
|
|
|
107
107
|
maxDate?: string;
|
|
108
108
|
timeInterval?: number;
|
|
109
109
|
fileTypes?: string[] | string;
|
|
110
|
+
templateUrl?: string;
|
|
111
|
+
templateText?: string;
|
|
112
|
+
templateLinkLabel?: string;
|
|
110
113
|
poolEnabledListView?: boolean;
|
|
111
114
|
poolTitle?: string;
|
|
112
115
|
options?: AppSelectOption[];
|
|
@@ -31,6 +31,9 @@ export declare class UicFileInputComponent extends base {
|
|
|
31
31
|
multy: boolean;
|
|
32
32
|
fileTypes: string[] | string | null;
|
|
33
33
|
fileUidResolverFn?: (fileUid: string, fileName: string, fieldLabel: string) => void;
|
|
34
|
+
templateUrl: string;
|
|
35
|
+
templateText: string;
|
|
36
|
+
templateLinkLabel: string;
|
|
34
37
|
private fileInput?;
|
|
35
38
|
private readonly push;
|
|
36
39
|
value: UicFileInputValue[];
|
|
@@ -54,7 +57,10 @@ export declare class UicFileInputComponent extends base {
|
|
|
54
57
|
private isExcelType;
|
|
55
58
|
private isWordType;
|
|
56
59
|
downloadFile(item: UicFileInputValue): void;
|
|
60
|
+
downloadTemplate(): void;
|
|
61
|
+
private getTemplateFileName;
|
|
62
|
+
private getUrlExtension;
|
|
57
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<UicFileInputComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UicFileInputComponent, "ui-file-input", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multy": { "alias": "multy"; "required": false; }; "fileTypes": { "alias": "fileTypes"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicFileInputComponent, "ui-file-input", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multy": { "alias": "multy"; "required": false; }; "fileTypes": { "alias": "fileTypes"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; "templateText": { "alias": "templateText"; "required": false; }; "templateLinkLabel": { "alias": "templateLinkLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
65
|
}
|
|
60
66
|
export {};
|
|
@@ -234,6 +234,12 @@ export declare const DICTIONARY_EN: {
|
|
|
234
234
|
readonly timeInterval_tip: "Minute step";
|
|
235
235
|
readonly fileTypes: "File types";
|
|
236
236
|
readonly fileTypes_tip: "Comma-separated extensions";
|
|
237
|
+
readonly templateUrl: "Template URL";
|
|
238
|
+
readonly templateUrl_tip: "Link to the downloadable file the user must fill in";
|
|
239
|
+
readonly templateText: "Description text";
|
|
240
|
+
readonly templateText_tip: "Text shown before the download link";
|
|
241
|
+
readonly templateLinkLabel: "Link text";
|
|
242
|
+
readonly templateLinkLabel_tip: "Clickable text shown to download the template";
|
|
237
243
|
readonly poolEnabledListView: "Enable list view";
|
|
238
244
|
readonly poolEnabledListView_tip: "Show pool in list mode";
|
|
239
245
|
readonly poolTitle: "List title";
|
|
@@ -234,6 +234,12 @@ export declare const DICTIONARY_ES: {
|
|
|
234
234
|
readonly timeInterval_tip: "Paso en minutos";
|
|
235
235
|
readonly fileTypes: "Tipos de archivo";
|
|
236
236
|
readonly fileTypes_tip: "Extensiones separadas por coma";
|
|
237
|
+
readonly templateUrl: "URL del formato";
|
|
238
|
+
readonly templateUrl_tip: "Enlace al archivo descargable que el usuario debe completar";
|
|
239
|
+
readonly templateText: "Texto descriptivo";
|
|
240
|
+
readonly templateText_tip: "Texto que precede al enlace de descarga";
|
|
241
|
+
readonly templateLinkLabel: "Texto del enlace";
|
|
242
|
+
readonly templateLinkLabel_tip: "Texto clickeable que se muestra para descargar el formato";
|
|
237
243
|
readonly poolEnabledListView: "Ver lista habilitada";
|
|
238
244
|
readonly poolEnabledListView_tip: "Mostrar opciones en lista";
|
|
239
245
|
readonly poolTitle: "Título del listado";
|