valtech-components 2.0.280 → 2.0.282
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/esm2022/lib/components/_examples/custom-content-demo.component.mjs +229 -0
- package/esm2022/lib/services/lang-provider/content.mjs +75 -122
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/valtech-components.mjs +296 -121
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/_examples/custom-content-demo.component.d.ts +26 -0
- package/lib/services/lang-provider/content.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -5976,6 +5976,228 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
5976
5976
|
type: Output
|
|
5977
5977
|
}] } });
|
|
5978
5978
|
|
|
5979
|
+
class CustomContentDemoComponent {
|
|
5980
|
+
constructor() {
|
|
5981
|
+
this.content = inject(ContentService);
|
|
5982
|
+
this.currentLang = 'es';
|
|
5983
|
+
// Contenido global predefinido (sin className)
|
|
5984
|
+
this.saveText$ = this.content.fromContent({ key: 'save' });
|
|
5985
|
+
this.cancelText$ = this.content.fromContent({ key: 'cancel' });
|
|
5986
|
+
this.deleteText$ = this.content.fromContent({ key: 'delete' });
|
|
5987
|
+
this.loadingText$ = this.content.fromContent({ key: 'loading' });
|
|
5988
|
+
// Tu contenido global personalizado (sin className)
|
|
5989
|
+
this.dashboardText$ = this.content.fromContent({ key: 'dashboard' });
|
|
5990
|
+
this.profileText$ = this.content.fromContent({ key: 'profile' });
|
|
5991
|
+
this.settingsText$ = this.content.fromContent({ key: 'settings' });
|
|
5992
|
+
this.welcomeText$ = this.content.fromContent({
|
|
5993
|
+
key: 'welcome',
|
|
5994
|
+
interpolation: { appName: 'Mi Aplicación' },
|
|
5995
|
+
});
|
|
5996
|
+
// Contenido específico del componente Language (con className)
|
|
5997
|
+
this.spanishText$ = this.content.fromContent({
|
|
5998
|
+
className: 'Language',
|
|
5999
|
+
key: 'spanish',
|
|
6000
|
+
});
|
|
6001
|
+
this.englishText$ = this.content.fromContent({
|
|
6002
|
+
className: 'Language',
|
|
6003
|
+
key: 'english',
|
|
6004
|
+
});
|
|
6005
|
+
this.descriptionText$ = this.content.fromContent({
|
|
6006
|
+
className: 'Language',
|
|
6007
|
+
key: 'description',
|
|
6008
|
+
});
|
|
6009
|
+
// Para debug - texto síncrono
|
|
6010
|
+
this.saveTextSync = '';
|
|
6011
|
+
this.dashboardTextSync = '';
|
|
6012
|
+
this.languageDescSync = '';
|
|
6013
|
+
}
|
|
6014
|
+
ngOnInit() {
|
|
6015
|
+
// Obtener idioma actual
|
|
6016
|
+
this.content.currentLang$.subscribe(lang => {
|
|
6017
|
+
this.currentLang = lang;
|
|
6018
|
+
});
|
|
6019
|
+
// Obtener textos síncronos para debug
|
|
6020
|
+
this.updateSyncTexts();
|
|
6021
|
+
// 🔍 DIAGNÓSTICO: Verificar configuración
|
|
6022
|
+
this.diagnoseConfiguration();
|
|
6023
|
+
}
|
|
6024
|
+
switchLanguage() {
|
|
6025
|
+
const newLang = this.currentLang === 'es' ? LangOption.EN : LangOption.ES;
|
|
6026
|
+
this.content.setLang(newLang);
|
|
6027
|
+
// Actualizar textos síncronos después del cambio
|
|
6028
|
+
setTimeout(() => {
|
|
6029
|
+
this.updateSyncTexts();
|
|
6030
|
+
}, 100);
|
|
6031
|
+
}
|
|
6032
|
+
updateSyncTexts() {
|
|
6033
|
+
// Contenido global predefinido
|
|
6034
|
+
this.saveTextSync = this.content.getText('save');
|
|
6035
|
+
// Tu contenido global personalizado
|
|
6036
|
+
this.dashboardTextSync = this.content.getText('dashboard');
|
|
6037
|
+
// Contenido específico del componente
|
|
6038
|
+
this.languageDescSync = this.content.getText('Language', 'description');
|
|
6039
|
+
}
|
|
6040
|
+
diagnoseConfiguration() {
|
|
6041
|
+
console.log('=== DIAGNÓSTICO DE CONFIGURACIÓN ===');
|
|
6042
|
+
// Verificar acceso directo al servicio
|
|
6043
|
+
console.log('ContentService available:', !!this.content);
|
|
6044
|
+
console.log('Current language:', this.content.currentLang);
|
|
6045
|
+
// Intentar acceso síncrono a contenido global predefinido
|
|
6046
|
+
try {
|
|
6047
|
+
const saveText = this.content.getText('save');
|
|
6048
|
+
console.log('✅ Global predefinido (save):', saveText);
|
|
6049
|
+
}
|
|
6050
|
+
catch (error) {
|
|
6051
|
+
console.log('❌ Error global predefinido (save):', error);
|
|
6052
|
+
}
|
|
6053
|
+
// Intentar acceso síncrono a contenido global personalizado
|
|
6054
|
+
try {
|
|
6055
|
+
const dashboardText = this.content.getText('dashboard');
|
|
6056
|
+
console.log('✅ Global personalizado (dashboard):', dashboardText);
|
|
6057
|
+
}
|
|
6058
|
+
catch (error) {
|
|
6059
|
+
console.log('❌ Error global personalizado (dashboard):', error);
|
|
6060
|
+
}
|
|
6061
|
+
// Intentar acceso síncrono a contenido de componente
|
|
6062
|
+
try {
|
|
6063
|
+
const spanishText = this.content.getText('Language', 'spanish');
|
|
6064
|
+
console.log('✅ Componente Language (spanish):', spanishText);
|
|
6065
|
+
}
|
|
6066
|
+
catch (error) {
|
|
6067
|
+
console.log('❌ Error componente Language (spanish):', error);
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomContentDemoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6071
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CustomContentDemoComponent, isStandalone: true, selector: "app-custom-content-demo", ngImport: i0, template: `
|
|
6072
|
+
<ion-card>
|
|
6073
|
+
<ion-card-header>
|
|
6074
|
+
<ion-card-title>Demo de Contenido Personalizado</ion-card-title>
|
|
6075
|
+
</ion-card-header>
|
|
6076
|
+
|
|
6077
|
+
<ion-card-content>
|
|
6078
|
+
<!-- Contenido global predefinido -->
|
|
6079
|
+
<div style="margin-bottom: 20px;">
|
|
6080
|
+
<h3>Contenido Global Predefinido:</h3>
|
|
6081
|
+
<ion-button>{{ saveText$ | async }}</ion-button>
|
|
6082
|
+
<ion-button color="medium">{{ cancelText$ | async }}</ion-button>
|
|
6083
|
+
<ion-button color="danger">{{ deleteText$ | async }}</ion-button>
|
|
6084
|
+
<p><strong>Estado:</strong> {{ loadingText$ | async }}</p>
|
|
6085
|
+
</div>
|
|
6086
|
+
|
|
6087
|
+
<!-- Tu contenido global personalizado -->
|
|
6088
|
+
<div style="margin-bottom: 20px;">
|
|
6089
|
+
<h3>Tu Contenido Global Personalizado:</h3>
|
|
6090
|
+
<p><strong>Sección:</strong> {{ dashboardText$ | async }}</p>
|
|
6091
|
+
<p><strong>Usuario:</strong> {{ profileText$ | async }}</p>
|
|
6092
|
+
<p><strong>Config:</strong> {{ settingsText$ | async }}</p>
|
|
6093
|
+
<p>{{ welcomeText$ | async }}</p>
|
|
6094
|
+
</div>
|
|
6095
|
+
|
|
6096
|
+
<!-- Contenido específico del componente Language -->
|
|
6097
|
+
<div style="margin-bottom: 20px;">
|
|
6098
|
+
<h3>Contenido del Componente Language:</h3>
|
|
6099
|
+
<ion-item>
|
|
6100
|
+
<ion-label> <strong>Español:</strong> {{ spanishText$ | async }} </ion-label>
|
|
6101
|
+
</ion-item>
|
|
6102
|
+
<ion-item>
|
|
6103
|
+
<ion-label> <strong>Inglés:</strong> {{ englishText$ | async }} </ion-label>
|
|
6104
|
+
</ion-item>
|
|
6105
|
+
<p>
|
|
6106
|
+
<em>{{ descriptionText$ | async }}</em>
|
|
6107
|
+
</p>
|
|
6108
|
+
</div>
|
|
6109
|
+
|
|
6110
|
+
<!-- Botón para cambiar idioma -->
|
|
6111
|
+
<div>
|
|
6112
|
+
<h3>Control de Idioma:</h3>
|
|
6113
|
+
<ion-button (click)="switchLanguage()" color="secondary">
|
|
6114
|
+
Cambiar a {{ currentLang === 'es' ? 'English' : 'Español' }}
|
|
6115
|
+
</ion-button>
|
|
6116
|
+
<p>
|
|
6117
|
+
<small>Idioma actual: {{ currentLang }}</small>
|
|
6118
|
+
</p>
|
|
6119
|
+
</div>
|
|
6120
|
+
|
|
6121
|
+
<!-- Debug info -->
|
|
6122
|
+
<div style="margin-top: 20px; padding: 10px; background: #f5f5f5; border-radius: 4px;">
|
|
6123
|
+
<h4>Debug Info:</h4>
|
|
6124
|
+
<p><strong>Save (sync):</strong> {{ saveTextSync }}</p>
|
|
6125
|
+
<p><strong>Dashboard (sync):</strong> {{ dashboardTextSync }}</p>
|
|
6126
|
+
<p><strong>Language Description (sync):</strong> {{ languageDescSync }}</p>
|
|
6127
|
+
</div>
|
|
6128
|
+
</ion-card-content>
|
|
6129
|
+
</ion-card>
|
|
6130
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { kind: "component", type: IonCardHeader, selector: "ion-card-header", inputs: ["color", "mode", "translucent"] }, { kind: "component", type: IonCardTitle, selector: "ion-card-title", inputs: ["color", "mode"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
|
|
6131
|
+
}
|
|
6132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomContentDemoComponent, decorators: [{
|
|
6133
|
+
type: Component,
|
|
6134
|
+
args: [{
|
|
6135
|
+
selector: 'app-custom-content-demo',
|
|
6136
|
+
standalone: true,
|
|
6137
|
+
imports: [CommonModule, IonCard, IonCardContent, IonCardHeader, IonCardTitle, IonButton, IonItem, IonLabel],
|
|
6138
|
+
template: `
|
|
6139
|
+
<ion-card>
|
|
6140
|
+
<ion-card-header>
|
|
6141
|
+
<ion-card-title>Demo de Contenido Personalizado</ion-card-title>
|
|
6142
|
+
</ion-card-header>
|
|
6143
|
+
|
|
6144
|
+
<ion-card-content>
|
|
6145
|
+
<!-- Contenido global predefinido -->
|
|
6146
|
+
<div style="margin-bottom: 20px;">
|
|
6147
|
+
<h3>Contenido Global Predefinido:</h3>
|
|
6148
|
+
<ion-button>{{ saveText$ | async }}</ion-button>
|
|
6149
|
+
<ion-button color="medium">{{ cancelText$ | async }}</ion-button>
|
|
6150
|
+
<ion-button color="danger">{{ deleteText$ | async }}</ion-button>
|
|
6151
|
+
<p><strong>Estado:</strong> {{ loadingText$ | async }}</p>
|
|
6152
|
+
</div>
|
|
6153
|
+
|
|
6154
|
+
<!-- Tu contenido global personalizado -->
|
|
6155
|
+
<div style="margin-bottom: 20px;">
|
|
6156
|
+
<h3>Tu Contenido Global Personalizado:</h3>
|
|
6157
|
+
<p><strong>Sección:</strong> {{ dashboardText$ | async }}</p>
|
|
6158
|
+
<p><strong>Usuario:</strong> {{ profileText$ | async }}</p>
|
|
6159
|
+
<p><strong>Config:</strong> {{ settingsText$ | async }}</p>
|
|
6160
|
+
<p>{{ welcomeText$ | async }}</p>
|
|
6161
|
+
</div>
|
|
6162
|
+
|
|
6163
|
+
<!-- Contenido específico del componente Language -->
|
|
6164
|
+
<div style="margin-bottom: 20px;">
|
|
6165
|
+
<h3>Contenido del Componente Language:</h3>
|
|
6166
|
+
<ion-item>
|
|
6167
|
+
<ion-label> <strong>Español:</strong> {{ spanishText$ | async }} </ion-label>
|
|
6168
|
+
</ion-item>
|
|
6169
|
+
<ion-item>
|
|
6170
|
+
<ion-label> <strong>Inglés:</strong> {{ englishText$ | async }} </ion-label>
|
|
6171
|
+
</ion-item>
|
|
6172
|
+
<p>
|
|
6173
|
+
<em>{{ descriptionText$ | async }}</em>
|
|
6174
|
+
</p>
|
|
6175
|
+
</div>
|
|
6176
|
+
|
|
6177
|
+
<!-- Botón para cambiar idioma -->
|
|
6178
|
+
<div>
|
|
6179
|
+
<h3>Control de Idioma:</h3>
|
|
6180
|
+
<ion-button (click)="switchLanguage()" color="secondary">
|
|
6181
|
+
Cambiar a {{ currentLang === 'es' ? 'English' : 'Español' }}
|
|
6182
|
+
</ion-button>
|
|
6183
|
+
<p>
|
|
6184
|
+
<small>Idioma actual: {{ currentLang }}</small>
|
|
6185
|
+
</p>
|
|
6186
|
+
</div>
|
|
6187
|
+
|
|
6188
|
+
<!-- Debug info -->
|
|
6189
|
+
<div style="margin-top: 20px; padding: 10px; background: #f5f5f5; border-radius: 4px;">
|
|
6190
|
+
<h4>Debug Info:</h4>
|
|
6191
|
+
<p><strong>Save (sync):</strong> {{ saveTextSync }}</p>
|
|
6192
|
+
<p><strong>Dashboard (sync):</strong> {{ dashboardTextSync }}</p>
|
|
6193
|
+
<p><strong>Language Description (sync):</strong> {{ languageDescSync }}</p>
|
|
6194
|
+
</div>
|
|
6195
|
+
</ion-card-content>
|
|
6196
|
+
</ion-card>
|
|
6197
|
+
`,
|
|
6198
|
+
}]
|
|
6199
|
+
}] });
|
|
6200
|
+
|
|
5979
6201
|
/**
|
|
5980
6202
|
* Comprehensive example demonstrating global content usage.
|
|
5981
6203
|
*
|
|
@@ -6904,129 +7126,82 @@ var ThemeSettings = new TextContent(text);
|
|
|
6904
7126
|
/**
|
|
6905
7127
|
* Global content that can be used across all components.
|
|
6906
7128
|
* These are common texts like buttons, actions, states, etc.
|
|
7129
|
+
* Structure: {es: {key1: 'value1', key2: 'value2'}, en: {key1: 'value1', key2: 'value2'}}
|
|
6907
7130
|
*/
|
|
6908
7131
|
const globalContentData = {
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
},
|
|
6946
|
-
finish: {
|
|
6947
|
-
es: 'Finalizar',
|
|
6948
|
-
en: 'Finish',
|
|
6949
|
-
},
|
|
6950
|
-
continue: {
|
|
6951
|
-
es: 'Continuar',
|
|
6952
|
-
en: 'Continue',
|
|
6953
|
-
},
|
|
6954
|
-
// Common actions
|
|
6955
|
-
add: {
|
|
6956
|
-
es: 'Agregar',
|
|
6957
|
-
en: 'Add',
|
|
6958
|
-
},
|
|
6959
|
-
remove: {
|
|
6960
|
-
es: 'Quitar',
|
|
6961
|
-
en: 'Remove',
|
|
6962
|
-
},
|
|
6963
|
-
search: {
|
|
6964
|
-
es: 'Buscar',
|
|
6965
|
-
en: 'Search',
|
|
6966
|
-
},
|
|
6967
|
-
filter: {
|
|
6968
|
-
es: 'Filtrar',
|
|
6969
|
-
en: 'Filter',
|
|
6970
|
-
},
|
|
6971
|
-
sort: {
|
|
6972
|
-
es: 'Ordenar',
|
|
6973
|
-
en: 'Sort',
|
|
6974
|
-
},
|
|
6975
|
-
refresh: {
|
|
6976
|
-
es: 'Actualizar',
|
|
6977
|
-
en: 'Refresh',
|
|
6978
|
-
},
|
|
6979
|
-
// Common states and messages
|
|
6980
|
-
loading: {
|
|
6981
|
-
es: 'Cargando...',
|
|
6982
|
-
en: 'Loading...',
|
|
6983
|
-
},
|
|
6984
|
-
noData: {
|
|
6985
|
-
es: 'No hay datos disponibles',
|
|
6986
|
-
en: 'No data available',
|
|
6987
|
-
},
|
|
6988
|
-
error: {
|
|
6989
|
-
es: 'Error',
|
|
6990
|
-
en: 'Error',
|
|
6991
|
-
},
|
|
6992
|
-
success: {
|
|
6993
|
-
es: 'Éxito',
|
|
6994
|
-
en: 'Success',
|
|
6995
|
-
},
|
|
6996
|
-
warning: {
|
|
6997
|
-
es: 'Advertencia',
|
|
6998
|
-
en: 'Warning',
|
|
6999
|
-
},
|
|
7000
|
-
info: {
|
|
7001
|
-
es: 'Información',
|
|
7002
|
-
en: 'Information',
|
|
7003
|
-
},
|
|
7004
|
-
// Common confirmations
|
|
7005
|
-
areYouSure: {
|
|
7006
|
-
es: '¿Estás seguro?',
|
|
7007
|
-
en: 'Are you sure?',
|
|
7008
|
-
},
|
|
7009
|
-
deleteConfirmation: {
|
|
7010
|
-
es: '¿Estás seguro de que deseas eliminar {itemName}?',
|
|
7011
|
-
en: 'Are you sure you want to delete {itemName}?',
|
|
7012
|
-
},
|
|
7013
|
-
unsavedChanges: {
|
|
7014
|
-
es: 'Tienes cambios sin guardar. ¿Deseas continuar?',
|
|
7015
|
-
en: 'You have unsaved changes. Do you want to continue?',
|
|
7016
|
-
},
|
|
7017
|
-
// Common form labels
|
|
7018
|
-
required: {
|
|
7019
|
-
es: 'Requerido',
|
|
7020
|
-
en: 'Required',
|
|
7021
|
-
},
|
|
7022
|
-
optional: {
|
|
7023
|
-
es: 'Opcional',
|
|
7024
|
-
en: 'Optional',
|
|
7132
|
+
es: {
|
|
7133
|
+
// Common buttons
|
|
7134
|
+
ok: 'Aceptar',
|
|
7135
|
+
cancel: 'Cancelar',
|
|
7136
|
+
save: 'Guardar',
|
|
7137
|
+
delete: 'Eliminar',
|
|
7138
|
+
edit: 'Editar',
|
|
7139
|
+
close: 'Cerrar',
|
|
7140
|
+
back: 'Volver',
|
|
7141
|
+
next: 'Siguiente',
|
|
7142
|
+
previous: 'Anterior',
|
|
7143
|
+
finish: 'Finalizar',
|
|
7144
|
+
continue: 'Continuar',
|
|
7145
|
+
// Common actions
|
|
7146
|
+
add: 'Agregar',
|
|
7147
|
+
remove: 'Quitar',
|
|
7148
|
+
search: 'Buscar',
|
|
7149
|
+
filter: 'Filtrar',
|
|
7150
|
+
sort: 'Ordenar',
|
|
7151
|
+
refresh: 'Actualizar',
|
|
7152
|
+
// Common states and messages
|
|
7153
|
+
loading: 'Cargando...',
|
|
7154
|
+
noData: 'No hay datos disponibles',
|
|
7155
|
+
error: 'Error',
|
|
7156
|
+
success: 'Éxito',
|
|
7157
|
+
warning: 'Advertencia',
|
|
7158
|
+
info: 'Información',
|
|
7159
|
+
// Common confirmations
|
|
7160
|
+
areYouSure: '¿Estás seguro?',
|
|
7161
|
+
deleteConfirmation: '¿Estás seguro de que deseas eliminar {itemName}?',
|
|
7162
|
+
unsavedChanges: 'Tienes cambios sin guardar. ¿Deseas continuar?',
|
|
7163
|
+
// Common form labels
|
|
7164
|
+
required: 'Requerido',
|
|
7165
|
+
optional: 'Opcional',
|
|
7166
|
+
// Common placeholders
|
|
7167
|
+
searchPlaceholder: 'Buscar...',
|
|
7025
7168
|
},
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7169
|
+
en: {
|
|
7170
|
+
// Common buttons
|
|
7171
|
+
ok: 'OK',
|
|
7172
|
+
cancel: 'Cancel',
|
|
7173
|
+
save: 'Save',
|
|
7174
|
+
delete: 'Delete',
|
|
7175
|
+
edit: 'Edit',
|
|
7176
|
+
close: 'Close',
|
|
7177
|
+
back: 'Back',
|
|
7178
|
+
next: 'Next',
|
|
7179
|
+
previous: 'Previous',
|
|
7180
|
+
finish: 'Finish',
|
|
7181
|
+
continue: 'Continue',
|
|
7182
|
+
// Common actions
|
|
7183
|
+
add: 'Add',
|
|
7184
|
+
remove: 'Remove',
|
|
7185
|
+
search: 'Search',
|
|
7186
|
+
filter: 'Filter',
|
|
7187
|
+
sort: 'Sort',
|
|
7188
|
+
refresh: 'Refresh',
|
|
7189
|
+
// Common states and messages
|
|
7190
|
+
loading: 'Loading...',
|
|
7191
|
+
noData: 'No data available',
|
|
7192
|
+
error: 'Error',
|
|
7193
|
+
success: 'Success',
|
|
7194
|
+
warning: 'Warning',
|
|
7195
|
+
info: 'Information',
|
|
7196
|
+
// Common confirmations
|
|
7197
|
+
areYouSure: 'Are you sure?',
|
|
7198
|
+
deleteConfirmation: 'Are you sure you want to delete {itemName}?',
|
|
7199
|
+
unsavedChanges: 'You have unsaved changes. Do you want to continue?',
|
|
7200
|
+
// Common form labels
|
|
7201
|
+
required: 'Required',
|
|
7202
|
+
optional: 'Optional',
|
|
7203
|
+
// Common placeholders
|
|
7204
|
+
searchPlaceholder: 'Search...',
|
|
7030
7205
|
},
|
|
7031
7206
|
};
|
|
7032
7207
|
const GlobalContent = new TextContent(globalContentData);
|
|
@@ -7093,5 +7268,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
7093
7268
|
* Generated bundle index. Do not edit.
|
|
7094
7269
|
*/
|
|
7095
7270
|
|
|
7096
|
-
export { ActionType, AlertBoxComponent, AvatarComponent, BannerComponent, BaseDefault, BoxComponent, ButtonComponent, ButtonGroupComponent, CardComponent, CardSection, CardType, CheckInputComponent, ClearDefault, ClearDefaultBlock, ClearDefaultFull, ClearDefaultRound, ClearDefaultRoundBlock, ClearDefaultRoundFull, CommentInputComponent, ComponentStates, ContentLoaderComponent, ContentService, DateInputComponent, DisplayComponent, DividerComponent, DownloadService, EmailInputComponent, ExpandableTextComponent, FileInputComponent, FooterComponent, FormComponent, FormFooterComponent, GlobalContent, GlobalContentExampleComponent, HeaderComponent, HintComponent, HourInputComponent, HrefComponent, Icon, IconComponent, IconService, ImageComponent, InAppBrowserService, InputType, ItemListComponent, LangOption, LangService, LayeredCardComponent, LayoutComponent, LinkComponent, LinksCakeComponent, LocalStorageService, MOTION, NavigationService, NoContentComponent, NotesBoxComponent, NumberInputComponent, OutlineDefault, OutlineDefaultBlock, OutlineDefaultFull, OutlineDefaultRound, OutlineDefaultRoundBlock, OutlineDefaultRoundFull, PasswordInputComponent, PinInputComponent, PrimarySolidBlockButton, PrimarySolidBlockHrefButton, PrimarySolidBlockIconButton, PrimarySolidBlockIconHrefButton, PrimarySolidDefaultRoundButton, PrimarySolidDefaultRoundHrefButton, PrimarySolidDefaultRoundIconButton, PrimarySolidDefaultRoundIconHrefButton, PrimarySolidFullButton, PrimarySolidFullHrefButton, PrimarySolidFullIconButton, PrimarySolidFullIconHrefButton, PrimarySolidLargeRoundButton, PrimarySolidLargeRoundHrefButton, PrimarySolidLargeRoundIconButton, PrimarySolidLargeRoundIconHrefButton, PrimarySolidSmallRoundButton, PrimarySolidSmallRoundHrefButton, PrimarySolidSmallRoundIconButton, PrimarySolidSmallRoundIconHrefButton, ProgressBarComponent, ProgressStatusComponent, PrompterComponent, RadioInputComponent, ReactiveContentExampleComponent, SearchSelectorComponent, SearchbarComponent, SecondarySolidBlockButton, SecondarySolidBlockHrefButton, SecondarySolidBlockIconButton, SecondarySolidBlockIconHrefButton, SecondarySolidDefaultRoundButton, SecondarySolidDefaultRoundHrefButton, SecondarySolidDefaultRoundIconButton, SecondarySolidDefaultRoundIconHrefButton, SecondarySolidFullButton, SecondarySolidFullHrefButton, SecondarySolidFullIconButton, SecondarySolidFullIconHrefButton, SecondarySolidLargeRoundButton, SecondarySolidLargeRoundHrefButton, SecondarySolidLargeRoundIconButton, SecondarySolidLargeRoundIconHrefButton, SecondarySolidSmallRoundButton, SecondarySolidSmallRoundHrefButton, SecondarySolidSmallRoundIconButton, SecondarySolidSmallRoundIconHrefButton, SelectSearchComponent, SimpleComponent, SolidBlockButton, SolidDefault, SolidDefaultBlock, SolidDefaultButton, SolidDefaultFull, SolidDefaultRound, SolidDefaultRoundBlock, SolidDefaultRoundButton, SolidDefaultRoundFull, SolidFullButton, SolidLargeButton, SolidLargeRoundButton, SolidSmallButton, SolidSmallRoundButton, TextComponent, TextContent, TextInputComponent, ThemeOption, ThemeService, TitleBlockComponent, TitleComponent, ToastService, ToolbarActionType, ToolbarComponent, ValtechConfigService, WizardComponent, WizardFooterComponent, applyDefaultValueToControl, content, createContentHelper, createTextProps, fromContent, fromContentWithInterpolation, fromMultipleContent, globalContentData, goToTop, interpolateContent, isAtEnd, maxLength, replaceSpecialChars, resolveColor, resolveInputDefaultValue };
|
|
7271
|
+
export { ActionType, AlertBoxComponent, AvatarComponent, BannerComponent, BaseDefault, BoxComponent, ButtonComponent, ButtonGroupComponent, CardComponent, CardSection, CardType, CheckInputComponent, ClearDefault, ClearDefaultBlock, ClearDefaultFull, ClearDefaultRound, ClearDefaultRoundBlock, ClearDefaultRoundFull, CommentInputComponent, ComponentStates, ContentLoaderComponent, ContentService, CustomContentDemoComponent, DateInputComponent, DisplayComponent, DividerComponent, DownloadService, EmailInputComponent, ExpandableTextComponent, FileInputComponent, FooterComponent, FormComponent, FormFooterComponent, GlobalContent, GlobalContentExampleComponent, HeaderComponent, HintComponent, HourInputComponent, HrefComponent, Icon, IconComponent, IconService, ImageComponent, InAppBrowserService, InputType, ItemListComponent, LangOption, LangService, LayeredCardComponent, LayoutComponent, LinkComponent, LinksCakeComponent, LocalStorageService, MOTION, NavigationService, NoContentComponent, NotesBoxComponent, NumberInputComponent, OutlineDefault, OutlineDefaultBlock, OutlineDefaultFull, OutlineDefaultRound, OutlineDefaultRoundBlock, OutlineDefaultRoundFull, PasswordInputComponent, PinInputComponent, PrimarySolidBlockButton, PrimarySolidBlockHrefButton, PrimarySolidBlockIconButton, PrimarySolidBlockIconHrefButton, PrimarySolidDefaultRoundButton, PrimarySolidDefaultRoundHrefButton, PrimarySolidDefaultRoundIconButton, PrimarySolidDefaultRoundIconHrefButton, PrimarySolidFullButton, PrimarySolidFullHrefButton, PrimarySolidFullIconButton, PrimarySolidFullIconHrefButton, PrimarySolidLargeRoundButton, PrimarySolidLargeRoundHrefButton, PrimarySolidLargeRoundIconButton, PrimarySolidLargeRoundIconHrefButton, PrimarySolidSmallRoundButton, PrimarySolidSmallRoundHrefButton, PrimarySolidSmallRoundIconButton, PrimarySolidSmallRoundIconHrefButton, ProgressBarComponent, ProgressStatusComponent, PrompterComponent, RadioInputComponent, ReactiveContentExampleComponent, SearchSelectorComponent, SearchbarComponent, SecondarySolidBlockButton, SecondarySolidBlockHrefButton, SecondarySolidBlockIconButton, SecondarySolidBlockIconHrefButton, SecondarySolidDefaultRoundButton, SecondarySolidDefaultRoundHrefButton, SecondarySolidDefaultRoundIconButton, SecondarySolidDefaultRoundIconHrefButton, SecondarySolidFullButton, SecondarySolidFullHrefButton, SecondarySolidFullIconButton, SecondarySolidFullIconHrefButton, SecondarySolidLargeRoundButton, SecondarySolidLargeRoundHrefButton, SecondarySolidLargeRoundIconButton, SecondarySolidLargeRoundIconHrefButton, SecondarySolidSmallRoundButton, SecondarySolidSmallRoundHrefButton, SecondarySolidSmallRoundIconButton, SecondarySolidSmallRoundIconHrefButton, SelectSearchComponent, SimpleComponent, SolidBlockButton, SolidDefault, SolidDefaultBlock, SolidDefaultButton, SolidDefaultFull, SolidDefaultRound, SolidDefaultRoundBlock, SolidDefaultRoundButton, SolidDefaultRoundFull, SolidFullButton, SolidLargeButton, SolidLargeRoundButton, SolidSmallButton, SolidSmallRoundButton, TextComponent, TextContent, TextInputComponent, ThemeOption, ThemeService, TitleBlockComponent, TitleComponent, ToastService, ToolbarActionType, ToolbarComponent, ValtechConfigService, WizardComponent, WizardFooterComponent, applyDefaultValueToControl, content, createContentHelper, createTextProps, fromContent, fromContentWithInterpolation, fromMultipleContent, globalContentData, goToTop, interpolateContent, isAtEnd, maxLength, replaceSpecialChars, resolveColor, resolveInputDefaultValue };
|
|
7097
7272
|
//# sourceMappingURL=valtech-components.mjs.map
|