@bravobit/bb-foundation 0.52.9 → 0.53.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/elements/lib/elements.inject.d.ts +3 -0
- package/elements/lib/elements.interfaces.d.ts +2 -0
- package/elements/lib/elements.module.d.ts +2 -1
- package/elements/lib/file-picker/file-picker.component.d.ts +13 -3
- package/elements/lib/multi-file-control/multi-file-control.component.d.ts +23 -4
- package/elements/lib/pincode-control/pincode-control.component.d.ts +65 -0
- package/elements/lib/pipes/file-size.pipe.d.ts +0 -1
- package/elements/public_api.d.ts +2 -0
- package/fesm2022/bravobit-bb-foundation-auth.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-collections.mjs +43 -43
- package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +31 -31
- package/fesm2022/bravobit-bb-foundation-elements.mjs +367 -146
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-localize.mjs +37 -33
- package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +13 -13
- package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-select.mjs +19 -19
- package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
- package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation.mjs +35 -33
- package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
- package/lib/core/functions/format.utils.d.ts +1 -0
- package/localize/lib/localizations/dutch.localization.d.ts +1 -0
- package/localize/lib/localizations/english.localization.d.ts +1 -0
- package/localize/lib/localizations/papiamento.localization.d.ts +1 -0
- package/localize/lib/localizations/spanish.localization.d.ts +1 -0
- package/package.json +6 -6
- package/public_api.d.ts +1 -0
|
@@ -108,10 +108,10 @@ class BaseUrlInterceptor {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
112
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BaseUrlInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
112
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BaseUrlInterceptor });
|
|
113
113
|
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BaseUrlInterceptor, decorators: [{
|
|
115
115
|
type: Injectable
|
|
116
116
|
}] });
|
|
117
117
|
|
|
@@ -132,10 +132,10 @@ class ErrorInterceptor {
|
|
|
132
132
|
return throwError(() => error);
|
|
133
133
|
}));
|
|
134
134
|
}
|
|
135
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
136
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ErrorInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
136
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ErrorInterceptor });
|
|
137
137
|
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ErrorInterceptor, decorators: [{
|
|
139
139
|
type: Injectable
|
|
140
140
|
}] });
|
|
141
141
|
|
|
@@ -167,11 +167,11 @@ class HttpModule {
|
|
|
167
167
|
]
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
171
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
172
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HttpModule, deps: [{ token: HttpModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
171
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: HttpModule });
|
|
172
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HttpModule });
|
|
173
173
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HttpModule, decorators: [{
|
|
175
175
|
type: NgModule
|
|
176
176
|
}], ctorParameters: () => [{ type: HttpModule, decorators: [{
|
|
177
177
|
type: Optional
|
|
@@ -77,6 +77,7 @@ const extraEnglishDictionary = {
|
|
|
77
77
|
'invalidFileType': 'The file type is not allowed.',
|
|
78
78
|
'invalidFiles': 'One of the files is not allowed.',
|
|
79
79
|
'maxFileSize': 'The file has exceed the maximum amount of {{maxSize}}.',
|
|
80
|
+
"maxTotalFileSize": "The files together are {{current}} in size and have exceeded the maximum of {{max}}.",
|
|
80
81
|
'minDate': 'The first accepted date is {{date|date}}.',
|
|
81
82
|
'maxDate': 'The last accepted date is {{date|date}}.',
|
|
82
83
|
'invalidDate': 'The field contains an invalid date.',
|
|
@@ -151,6 +152,7 @@ const extraDutchDictionary = {
|
|
|
151
152
|
'invalidFileType': 'Het type bestand is niet toegestaan.',
|
|
152
153
|
'invalidFiles': 'Een van de bestanden is niet toegestaan.',
|
|
153
154
|
'maxFileSize': 'Het bestand heeft de maximum hoeveelheid van {{maxSize}} overschreden.',
|
|
155
|
+
'maxTotalFileSize': 'De bestanden zijn samen {{current}} groot en hebben het maximum van {{max}} overschreden.',
|
|
154
156
|
'minDate': 'De eerst mogelijke datum is {{date|date}}.',
|
|
155
157
|
'maxDate': 'De laatst mogelijke datum is {{date|date}}.',
|
|
156
158
|
'invalidDate': 'Het veld bevat een ongeldige datum.',
|
|
@@ -225,6 +227,7 @@ const extraPapiamentoDictionary = {
|
|
|
225
227
|
'invalidFileType': 'E tipo di archivo no ta permití.',
|
|
226
228
|
'invalidFiles': 'Un di e archivonan no ta permití.',
|
|
227
229
|
'maxFileSize': 'E archivo a pasa e límite máximo di {{maxSize}}.',
|
|
230
|
+
'maxTotalFileSize': 'E archivonan huntu ta {{current}} den tamaño i a surpasá e máksimo di {{max}}.',
|
|
228
231
|
'minDate': 'E promé fecha akseptá ta {{date|date}}.',
|
|
229
232
|
'maxDate': 'E último fecha akseptá ta {{date|date}}.',
|
|
230
233
|
'invalidDate': 'E campo tin un fecha no válido.',
|
|
@@ -299,6 +302,7 @@ const extraSpanishDictionary = {
|
|
|
299
302
|
'invalidFileType': 'El tipo de archivo no está permitido.',
|
|
300
303
|
'invalidFiles': 'Uno de los archivos no está permitido.',
|
|
301
304
|
'maxFileSize': 'El archivo excede el tamaño máximo de {{maxSize}}.',
|
|
305
|
+
'maxTotalFileSize': 'Los archivos en conjunto tienen un tamaño de {{current}} y han excedido el máximo de {{max}}.',
|
|
302
306
|
'minDate': 'La primera fecha aceptada es {{date|date}}.',
|
|
303
307
|
'maxDate': 'La última fecha aceptada es {{date|date}}.',
|
|
304
308
|
'invalidDate': 'El campo contiene una fecha inválida.',
|
|
@@ -328,22 +332,22 @@ const extraSpanishDictionary = {
|
|
|
328
332
|
'error_label': 'Parece que se produjo un error al utilizar la aplicación.'
|
|
329
333
|
},
|
|
330
334
|
'tables': {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
335
|
+
'search': 'Buscar...',
|
|
336
|
+
'loading': 'Cargando...',
|
|
337
|
+
'empty': 'No hay nada que encontrar aquí.',
|
|
338
|
+
'page': 'página',
|
|
339
|
+
'error_datasource': 'No se proporcionó una fuente de datos.',
|
|
340
|
+
'error_unauthorized': 'Necesitas estar autenticado para ver estos datos.',
|
|
341
|
+
'error_forbidden': 'No tienes acceso para ver estos datos.',
|
|
342
|
+
'error_not_found': 'No se encontraron los datos.',
|
|
343
|
+
'error_server': 'Ocurrió un error en el servidor al obtener los datos.',
|
|
344
|
+
'error_down': 'Parece que el servidor está caído.',
|
|
345
|
+
'error_unknown': 'Ocurrió un error desconocido.'
|
|
342
346
|
},
|
|
343
347
|
'file-picker': {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
348
|
+
'choose': 'Elegir archivo',
|
|
349
|
+
'remove': 'Quitar archivo',
|
|
350
|
+
'drop': 'o arrastra y suelta el archivo aquí'
|
|
347
351
|
},
|
|
348
352
|
'dialog': {
|
|
349
353
|
'default_confirm_button': 'Confirmar',
|
|
@@ -352,9 +356,9 @@ const extraSpanishDictionary = {
|
|
|
352
356
|
'default_description': 'Esta acción puede no ser reversible una vez que la confirmes. ¿Estás seguro de que quieres hacer esto?'
|
|
353
357
|
},
|
|
354
358
|
'times': {
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
359
|
+
'tomorrow_at': 'Mañana a las {{date}}',
|
|
360
|
+
'today_at': 'Hoy a las {{date}}',
|
|
361
|
+
'yesterday_at': 'Ayer a las {{date}}'
|
|
358
362
|
}
|
|
359
363
|
};
|
|
360
364
|
|
|
@@ -679,10 +683,10 @@ class Localize {
|
|
|
679
683
|
// If the parameter is a string fill in the blanks.
|
|
680
684
|
return { token: tokenOrParams, optional: false, dictionary: null, data: {} };
|
|
681
685
|
};
|
|
682
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
683
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
686
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Localize, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
687
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Localize, providedIn: 'root' });
|
|
684
688
|
}
|
|
685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Localize, decorators: [{
|
|
686
690
|
type: Injectable,
|
|
687
691
|
args: [{
|
|
688
692
|
providedIn: 'root'
|
|
@@ -814,10 +818,10 @@ class BbLocalizeTemplate {
|
|
|
814
818
|
constructor(templateRef) {
|
|
815
819
|
this.templateRef = templateRef;
|
|
816
820
|
}
|
|
817
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
818
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.
|
|
821
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbLocalizeTemplate, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
822
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: BbLocalizeTemplate, isStandalone: true, selector: "ng-template[bbLocalizeTemplate]", inputs: { name: ["bbLocalizeTemplate", "name"] }, ngImport: i0 });
|
|
819
823
|
}
|
|
820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbLocalizeTemplate, decorators: [{
|
|
821
825
|
type: Directive,
|
|
822
826
|
args: [{
|
|
823
827
|
selector: 'ng-template[bbLocalizeTemplate]'
|
|
@@ -894,10 +898,10 @@ class BbLocalizeString {
|
|
|
894
898
|
end.replace(escape, '\\$&')
|
|
895
899
|
];
|
|
896
900
|
}
|
|
897
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
898
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.
|
|
901
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbLocalizeString, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
902
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.6", type: BbLocalizeString, isStandalone: true, selector: "[bb-localize-string]", inputs: { substitutions: "substitutions", value: ["bb-localize-string", "value"] }, host: { classAttribute: "bb-localize-string" }, queries: [{ propertyName: "items", predicate: BbLocalizeTemplate }], ngImport: i0, template: "@for (component of components; track component) {\n <ng-template [bbTemplate]=\"component\">{{ component }}</ng-template>\n}\n", styles: [""], dependencies: [{ kind: "directive", type: BbTemplate, selector: "[bbTemplate]", inputs: ["bbTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
899
903
|
}
|
|
900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbLocalizeString, decorators: [{
|
|
901
905
|
type: Component,
|
|
902
906
|
args: [{ selector: '[bb-localize-string]', changeDetection: ChangeDetectionStrategy.OnPush, host: { 'class': 'bb-localize-string' }, encapsulation: ViewEncapsulation.None, imports: [BbTemplate], template: "@for (component of components; track component) {\n <ng-template [bbTemplate]=\"component\">{{ component }}</ng-template>\n}\n" }]
|
|
903
907
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { items: [{
|
|
@@ -942,10 +946,10 @@ class BbLocalize {
|
|
|
942
946
|
// Return the combined params and options.
|
|
943
947
|
return { ...params, ...options };
|
|
944
948
|
}
|
|
945
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
946
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.
|
|
949
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbLocalize, deps: [{ token: Localize, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
950
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: BbLocalize, isStandalone: true, name: "bbLocalize" });
|
|
947
951
|
}
|
|
948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbLocalize, decorators: [{
|
|
949
953
|
type: Pipe,
|
|
950
954
|
args: [{
|
|
951
955
|
name: 'bbLocalize'
|
|
@@ -993,15 +997,15 @@ class LocalizeModule {
|
|
|
993
997
|
]
|
|
994
998
|
};
|
|
995
999
|
}
|
|
996
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
997
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
1000
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LocalizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1001
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: LocalizeModule, imports: [BbLocalize,
|
|
998
1002
|
BbLocalizeString,
|
|
999
1003
|
BbLocalizeTemplate], exports: [BbLocalize,
|
|
1000
1004
|
BbLocalizeString,
|
|
1001
1005
|
BbLocalizeTemplate] });
|
|
1002
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
1006
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LocalizeModule });
|
|
1003
1007
|
}
|
|
1004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
1008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LocalizeModule, decorators: [{
|
|
1005
1009
|
type: NgModule,
|
|
1006
1010
|
args: [{
|
|
1007
1011
|
imports: [
|