@smartsoft001/angular 2.112.0 → 2.114.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.
|
@@ -107,10 +107,10 @@ class AppService {
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
111
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
111
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppService, providedIn: 'root' });
|
|
112
112
|
}
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppService, decorators: [{
|
|
114
114
|
type: Injectable,
|
|
115
115
|
args: [{
|
|
116
116
|
providedIn: 'root',
|
|
@@ -210,10 +210,10 @@ class CalendarService {
|
|
|
210
210
|
.fill(null)
|
|
211
211
|
.map((v, i) => moment(firstDay).add(i, 'day'));
|
|
212
212
|
}
|
|
213
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
214
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
213
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
214
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CalendarService, providedIn: 'root' });
|
|
215
215
|
}
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CalendarService, decorators: [{
|
|
217
217
|
type: Injectable,
|
|
218
218
|
args: [{ providedIn: 'root' }]
|
|
219
219
|
}], ctorParameters: () => [] });
|
|
@@ -257,10 +257,10 @@ class StorageService {
|
|
|
257
257
|
console.error('Error clearing localStorage', e);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
261
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: StorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
261
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: StorageService, providedIn: 'root' });
|
|
262
262
|
}
|
|
263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: StorageService, decorators: [{
|
|
264
264
|
type: Injectable,
|
|
265
265
|
args: [{
|
|
266
266
|
providedIn: 'root',
|
|
@@ -360,10 +360,10 @@ class AuthService {
|
|
|
360
360
|
removeToken() {
|
|
361
361
|
this.storageService.removeItem(AUTH_TOKEN);
|
|
362
362
|
}
|
|
363
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
364
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
363
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
364
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
365
365
|
}
|
|
366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AuthService, decorators: [{
|
|
367
367
|
type: Injectable,
|
|
368
368
|
args: [{ providedIn: 'root' }]
|
|
369
369
|
}] });
|
|
@@ -383,10 +383,10 @@ class DetailsService {
|
|
|
383
383
|
if (!this._root || force)
|
|
384
384
|
this._root = obj;
|
|
385
385
|
}
|
|
386
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
387
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
386
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
387
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsService, providedIn: 'root' });
|
|
388
388
|
}
|
|
389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsService, decorators: [{
|
|
390
390
|
type: Injectable,
|
|
391
391
|
args: [{ providedIn: 'root' }]
|
|
392
392
|
}], ctorParameters: () => [] });
|
|
@@ -441,10 +441,10 @@ class DynamicComponentLoader {
|
|
|
441
441
|
});
|
|
442
442
|
return validResults;
|
|
443
443
|
}
|
|
444
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
445
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
444
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DynamicComponentLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
445
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DynamicComponentLoader, providedIn: 'root' });
|
|
446
446
|
}
|
|
447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DynamicComponentLoader, decorators: [{
|
|
448
448
|
type: Injectable,
|
|
449
449
|
args: [{ providedIn: 'root' }]
|
|
450
450
|
}] });
|
|
@@ -520,10 +520,10 @@ class FileService {
|
|
|
520
520
|
getUrl(id) {
|
|
521
521
|
return this.config.apiUrl + '/attachments/' + id;
|
|
522
522
|
}
|
|
523
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
524
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
524
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileService });
|
|
525
525
|
}
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileService, decorators: [{
|
|
527
527
|
type: Injectable
|
|
528
528
|
}] });
|
|
529
529
|
|
|
@@ -636,10 +636,10 @@ class StyleService {
|
|
|
636
636
|
this.setProperty('--phone-breakpoint', 'phone-breakpoint');
|
|
637
637
|
this.setProperty('--tablet-breakpoint', 'tablet-breakpoint');
|
|
638
638
|
}
|
|
639
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
640
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
639
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: StyleService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
640
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: StyleService });
|
|
641
641
|
}
|
|
642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: StyleService, decorators: [{
|
|
643
643
|
type: Injectable
|
|
644
644
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
645
645
|
type: Inject,
|
|
@@ -696,10 +696,10 @@ class ToastService {
|
|
|
696
696
|
//
|
|
697
697
|
// await toast.present();
|
|
698
698
|
}
|
|
699
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
700
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
699
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
700
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ToastService });
|
|
701
701
|
}
|
|
702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ToastService, decorators: [{
|
|
703
703
|
type: Injectable
|
|
704
704
|
}] });
|
|
705
705
|
|
|
@@ -719,10 +719,10 @@ class HardwareService {
|
|
|
719
719
|
})*/
|
|
720
720
|
return {};
|
|
721
721
|
}
|
|
722
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
723
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
722
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: HardwareService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
723
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: HardwareService });
|
|
724
724
|
}
|
|
725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: HardwareService, decorators: [{
|
|
726
726
|
type: Injectable
|
|
727
727
|
}] });
|
|
728
728
|
|
|
@@ -805,10 +805,10 @@ class MenuService {
|
|
|
805
805
|
// await this.menuCtrl.enable(false, 'end');
|
|
806
806
|
this._endContainer?.clear();
|
|
807
807
|
}
|
|
808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
809
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
808
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
809
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MenuService, providedIn: 'root' });
|
|
810
810
|
}
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MenuService, decorators: [{
|
|
812
812
|
type: Injectable,
|
|
813
813
|
args: [{
|
|
814
814
|
providedIn: 'root',
|
|
@@ -840,10 +840,10 @@ class ModalService {
|
|
|
840
840
|
async dismiss(data = null) {
|
|
841
841
|
// await this.modalCtrl.dismiss(data);
|
|
842
842
|
}
|
|
843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
844
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
843
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
844
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalService });
|
|
845
845
|
}
|
|
846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalService, decorators: [{
|
|
847
847
|
type: Injectable
|
|
848
848
|
}] });
|
|
849
849
|
|
|
@@ -853,10 +853,10 @@ class AlertService {
|
|
|
853
853
|
// const alert = await this.alertCtrl.create(options);
|
|
854
854
|
// await alert.present();
|
|
855
855
|
}
|
|
856
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
857
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
856
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
857
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AlertService });
|
|
858
858
|
}
|
|
859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AlertService, decorators: [{
|
|
860
860
|
type: Injectable
|
|
861
861
|
}] });
|
|
862
862
|
|
|
@@ -865,10 +865,10 @@ class PopoverService {
|
|
|
865
865
|
async close() {
|
|
866
866
|
// await this.popoverCtrl.dismiss();
|
|
867
867
|
}
|
|
868
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
869
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
868
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PopoverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
869
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PopoverService });
|
|
870
870
|
}
|
|
871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PopoverService, decorators: [{
|
|
872
872
|
type: Injectable
|
|
873
873
|
}] });
|
|
874
874
|
|
|
@@ -909,17 +909,17 @@ class UIService {
|
|
|
909
909
|
// callback();
|
|
910
910
|
// });
|
|
911
911
|
}
|
|
912
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
913
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
912
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: UIService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
913
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: UIService });
|
|
914
914
|
}
|
|
915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: UIService, decorators: [{
|
|
916
916
|
type: Injectable
|
|
917
917
|
}] });
|
|
918
918
|
|
|
919
919
|
class SharedServicesModule {
|
|
920
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
921
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
922
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
921
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedServicesModule, imports: [i1.TranslateModule, i2.CookieModule] });
|
|
922
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedServicesModule, providers: [
|
|
923
923
|
ToastService,
|
|
924
924
|
HardwareService,
|
|
925
925
|
ModalService,
|
|
@@ -934,7 +934,7 @@ class SharedServicesModule {
|
|
|
934
934
|
UIService,
|
|
935
935
|
], imports: [TranslateModule.forChild(), CookieModule.withOptions()] });
|
|
936
936
|
}
|
|
937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedServicesModule, decorators: [{
|
|
938
938
|
type: NgModule,
|
|
939
939
|
args: [{
|
|
940
940
|
imports: [TranslateModule.forChild(), CookieModule.withOptions()],
|
|
@@ -968,10 +968,10 @@ class NgrxStoreService {
|
|
|
968
968
|
connect(store) {
|
|
969
969
|
NgrxStoreService.store = store;
|
|
970
970
|
}
|
|
971
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
972
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NgrxStoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
972
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NgrxStoreService });
|
|
973
973
|
}
|
|
974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NgrxStoreService, decorators: [{
|
|
975
975
|
type: Injectable
|
|
976
976
|
}] });
|
|
977
977
|
|
|
@@ -996,19 +996,19 @@ class ErrorService {
|
|
|
996
996
|
console.error(obj);
|
|
997
997
|
await this.toastService.error({ message });
|
|
998
998
|
}
|
|
999
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1000
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorService, deps: [{ token: ToastService }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1000
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorService });
|
|
1001
1001
|
}
|
|
1002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorService, decorators: [{
|
|
1003
1003
|
type: Injectable
|
|
1004
1004
|
}], ctorParameters: () => [{ type: ToastService }, { type: i1.TranslateService }] });
|
|
1005
1005
|
|
|
1006
1006
|
class DynamicContentDirective {
|
|
1007
1007
|
container = inject(ViewContainerRef);
|
|
1008
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1009
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1008
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DynamicContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1009
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: DynamicContentDirective, isStandalone: true, selector: ".dynamic-content", ngImport: i0 });
|
|
1010
1010
|
}
|
|
1011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DynamicContentDirective, decorators: [{
|
|
1012
1012
|
type: Directive,
|
|
1013
1013
|
args: [{
|
|
1014
1014
|
// tslint:disable-next-line:directive-selector
|
|
@@ -1019,7 +1019,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
1019
1019
|
class DetailsDirective {
|
|
1020
1020
|
modalService = inject(ModalService);
|
|
1021
1021
|
hardwareService = inject(HardwareService);
|
|
1022
|
-
options = input.required(...(ngDevMode ?
|
|
1022
|
+
options = input.required({ ...(ngDevMode ? { debugName: "options" } : {}), alias: 'smartDetails' });
|
|
1023
1023
|
smartDetailsShowed = output();
|
|
1024
1024
|
smartDetailsDismissed = output();
|
|
1025
1025
|
async click() {
|
|
@@ -1043,26 +1043,26 @@ class DetailsDirective {
|
|
|
1043
1043
|
modal = null;
|
|
1044
1044
|
this.smartDetailsDismissed.emit();
|
|
1045
1045
|
}
|
|
1046
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1047
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1046
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1047
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: DetailsDirective, isStandalone: true, selector: "[smartDetails]", inputs: { options: { classPropertyName: "options", publicName: "smartDetails", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { smartDetailsShowed: "smartDetailsShowed", smartDetailsDismissed: "smartDetailsDismissed" }, host: { listeners: { "click": "click()" } }, ngImport: i0 });
|
|
1048
1048
|
}
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsDirective, decorators: [{
|
|
1050
1050
|
type: Directive,
|
|
1051
1051
|
args: [{
|
|
1052
1052
|
selector: '[smartDetails]',
|
|
1053
1053
|
}]
|
|
1054
|
-
}], propDecorators: { click: [{
|
|
1054
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "smartDetails", required: true }] }], smartDetailsShowed: [{ type: i0.Output, args: ["smartDetailsShowed"] }], smartDetailsDismissed: [{ type: i0.Output, args: ["smartDetailsDismissed"] }], click: [{
|
|
1055
1055
|
type: HostListener,
|
|
1056
1056
|
args: ['click']
|
|
1057
1057
|
}] } });
|
|
1058
1058
|
|
|
1059
1059
|
const DIRECTIVES = [DynamicContentDirective];
|
|
1060
1060
|
class SharedDirectivesModule {
|
|
1061
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1062
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1063
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1061
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1062
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedDirectivesModule, imports: [SharedServicesModule, DynamicContentDirective], exports: [DynamicContentDirective] });
|
|
1063
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedDirectivesModule, imports: [SharedServicesModule] });
|
|
1064
1064
|
}
|
|
1065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedDirectivesModule, decorators: [{
|
|
1066
1066
|
type: NgModule,
|
|
1067
1067
|
args: [{
|
|
1068
1068
|
imports: [SharedServicesModule, ...DIRECTIVES],
|
|
@@ -1076,10 +1076,10 @@ class EnumToListPipe {
|
|
|
1076
1076
|
return value;
|
|
1077
1077
|
return Object.keys(value);
|
|
1078
1078
|
}
|
|
1079
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1080
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1079
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: EnumToListPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1080
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: EnumToListPipe, isStandalone: true, name: "smartEnumToList" });
|
|
1081
1081
|
}
|
|
1082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: EnumToListPipe, decorators: [{
|
|
1083
1083
|
type: Pipe,
|
|
1084
1084
|
args: [{
|
|
1085
1085
|
name: 'smartEnumToList',
|
|
@@ -1091,10 +1091,10 @@ class FileUrlPipe {
|
|
|
1091
1091
|
transform(file) {
|
|
1092
1092
|
return this.service.getUrl(file.id);
|
|
1093
1093
|
}
|
|
1094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1095
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1094
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileUrlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1095
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: FileUrlPipe, isStandalone: true, name: "smartFileUrl" });
|
|
1096
1096
|
}
|
|
1097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileUrlPipe, decorators: [{
|
|
1098
1098
|
type: Pipe,
|
|
1099
1099
|
args: [{
|
|
1100
1100
|
name: 'smartFileUrl',
|
|
@@ -1146,8 +1146,8 @@ class ListCellPipe {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
return value[key];
|
|
1148
1148
|
}
|
|
1149
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1150
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListCellPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1150
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ListCellPipe, isStandalone: true, name: "smartListCell" });
|
|
1151
1151
|
}
|
|
1152
1152
|
__decorate([
|
|
1153
1153
|
Memoize(),
|
|
@@ -1155,7 +1155,7 @@ __decorate([
|
|
|
1155
1155
|
__metadata("design:paramtypes", [Type, String]),
|
|
1156
1156
|
__metadata("design:returntype", Object)
|
|
1157
1157
|
], ListCellPipe.prototype, "getFieldType", null);
|
|
1158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListCellPipe, decorators: [{
|
|
1159
1159
|
type: Pipe,
|
|
1160
1160
|
args: [{
|
|
1161
1161
|
name: 'smartListCell',
|
|
@@ -1235,10 +1235,10 @@ class ListHeaderPipe {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
return signal(this.translateService.instant('MODEL.' + key));
|
|
1237
1237
|
}
|
|
1238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1239
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListHeaderPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1239
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ListHeaderPipe, isStandalone: true, name: "smartListHeader" });
|
|
1240
1240
|
}
|
|
1241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListHeaderPipe, decorators: [{
|
|
1242
1242
|
type: Pipe,
|
|
1243
1243
|
args: [{
|
|
1244
1244
|
name: 'smartListHeader',
|
|
@@ -1260,10 +1260,10 @@ class ModelLabelPipe {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
return toSignal(this.translateService.instant('MODEL.' + key))();
|
|
1262
1262
|
}
|
|
1263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1264
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModelLabelPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1264
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ModelLabelPipe, isStandalone: true, name: "smartModelLabel" });
|
|
1265
1265
|
}
|
|
1266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModelLabelPipe, decorators: [{
|
|
1267
1267
|
type: Pipe,
|
|
1268
1268
|
args: [{
|
|
1269
1269
|
name: 'smartModelLabel',
|
|
@@ -1274,10 +1274,10 @@ class RemoveHtmlPipe {
|
|
|
1274
1274
|
transform(value) {
|
|
1275
1275
|
return RemoveHtmlService.create(value);
|
|
1276
1276
|
}
|
|
1277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1278
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: RemoveHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1278
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: RemoveHtmlPipe, isStandalone: true, name: "smartRemoveHtml" });
|
|
1279
1279
|
}
|
|
1280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: RemoveHtmlPipe, decorators: [{
|
|
1281
1281
|
type: Pipe,
|
|
1282
1282
|
args: [{
|
|
1283
1283
|
name: 'smartRemoveHtml',
|
|
@@ -1289,10 +1289,10 @@ class SlugPipe {
|
|
|
1289
1289
|
transform(value) {
|
|
1290
1290
|
return SlugService.create(value);
|
|
1291
1291
|
}
|
|
1292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1293
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1292
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SlugPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1293
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SlugPipe, isStandalone: true, name: "smartSlug" });
|
|
1294
1294
|
}
|
|
1295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SlugPipe, decorators: [{
|
|
1296
1296
|
type: Pipe,
|
|
1297
1297
|
args: [{
|
|
1298
1298
|
name: 'smartSlug',
|
|
@@ -1307,10 +1307,10 @@ class TrustHtmlPipe {
|
|
|
1307
1307
|
return val;
|
|
1308
1308
|
return this.sanitizer.bypassSecurityTrustHtml(val);
|
|
1309
1309
|
}
|
|
1310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1311
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: TrustHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1311
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: TrustHtmlPipe, isStandalone: true, name: "smartTrustHtml" });
|
|
1312
1312
|
}
|
|
1313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: TrustHtmlPipe, decorators: [{
|
|
1314
1314
|
type: Pipe,
|
|
1315
1315
|
args: [{
|
|
1316
1316
|
name: 'smartTrustHtml',
|
|
@@ -1327,8 +1327,8 @@ const PIPES = [
|
|
|
1327
1327
|
TrustHtmlPipe,
|
|
1328
1328
|
];
|
|
1329
1329
|
class SharedPipesModule {
|
|
1330
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1331
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1330
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1331
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedPipesModule, imports: [EnumToListPipe,
|
|
1332
1332
|
ListCellPipe,
|
|
1333
1333
|
ListHeaderPipe,
|
|
1334
1334
|
ModelLabelPipe,
|
|
@@ -1341,9 +1341,9 @@ class SharedPipesModule {
|
|
|
1341
1341
|
RemoveHtmlPipe,
|
|
1342
1342
|
SlugPipe,
|
|
1343
1343
|
TrustHtmlPipe] });
|
|
1344
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1344
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedPipesModule });
|
|
1345
1345
|
}
|
|
1346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedPipesModule, decorators: [{
|
|
1347
1347
|
type: NgModule,
|
|
1348
1348
|
args: [{
|
|
1349
1349
|
declarations: [],
|
|
@@ -1357,8 +1357,8 @@ class AccordionComponent {
|
|
|
1357
1357
|
update() {
|
|
1358
1358
|
this.show.update((val) => !val);
|
|
1359
1359
|
}
|
|
1360
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1361
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1361
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AccordionComponent, isStandalone: true, selector: "smart-accordion", inputs: { show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { show: "showChange" }, ngImport: i0, template: `
|
|
1362
1362
|
<!-- <ion-item (click)="update()">-->
|
|
1363
1363
|
<ng-content select="smart-accordion-header"></ng-content>
|
|
1364
1364
|
@if (show()) {
|
|
@@ -1374,7 +1374,7 @@ class AccordionComponent {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
`, isInline: true });
|
|
1376
1376
|
}
|
|
1377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
1378
1378
|
type: Component,
|
|
1379
1379
|
args: [{
|
|
1380
1380
|
selector: 'smart-accordion',
|
|
@@ -1394,22 +1394,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
1394
1394
|
}
|
|
1395
1395
|
`,
|
|
1396
1396
|
}]
|
|
1397
|
-
}] });
|
|
1397
|
+
}], propDecorators: { show: [{ type: i0.Input, args: [{ isSignal: true, alias: "show", required: false }] }, { type: i0.Output, args: ["showChange"] }] } });
|
|
1398
1398
|
|
|
1399
1399
|
class AccordionBodyComponent {
|
|
1400
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1401
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccordionBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1401
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: AccordionBodyComponent, isStandalone: true, selector: "smart-accordion-body", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{width:100%;padding:0 1.2rem;display:block}\n"] });
|
|
1402
1402
|
}
|
|
1403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccordionBodyComponent, decorators: [{
|
|
1404
1404
|
type: Component,
|
|
1405
1405
|
args: [{ selector: 'smart-accordion-body', template: `<ng-content></ng-content>`, styles: [":host{width:100%;padding:0 1.2rem;display:block}\n"] }]
|
|
1406
1406
|
}] });
|
|
1407
1407
|
|
|
1408
1408
|
class AccordionHeaderComponent {
|
|
1409
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1410
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccordionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1410
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: AccordionHeaderComponent, isStandalone: true, selector: "smart-accordion-header", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{width:100%;padding-left:1.6rem}\n"] });
|
|
1411
1411
|
}
|
|
1412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccordionHeaderComponent, decorators: [{
|
|
1413
1413
|
type: Component,
|
|
1414
1414
|
args: [{ selector: 'smart-accordion-header', template: `<ng-content></ng-content>`, styles: [":host{width:100%;padding-left:1.6rem}\n"] }]
|
|
1415
1415
|
}] });
|
|
@@ -1537,12 +1537,12 @@ class AppBaseComponent {
|
|
|
1537
1537
|
}, { injector: this.injector }); // Auto cleanup with component
|
|
1538
1538
|
}
|
|
1539
1539
|
}
|
|
1540
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1541
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
1540
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: AppBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "endMenuContainer", first: true, predicate: ["endMenuContainer"], descendants: true, isSignal: true }], ngImport: i0 });
|
|
1542
1542
|
}
|
|
1543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppBaseComponent, decorators: [{
|
|
1544
1544
|
type: Directive
|
|
1545
|
-
}], ctorParameters: () => [] });
|
|
1545
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], endMenuContainer: [{ type: i0.ViewChild, args: ['endMenuContainer', { isSignal: true }] }] } });
|
|
1546
1546
|
|
|
1547
1547
|
class BaseComponent {
|
|
1548
1548
|
get takeUntilDestroy() {
|
|
@@ -1553,10 +1553,10 @@ class BaseComponent {
|
|
|
1553
1553
|
this.destroy$.next(true);
|
|
1554
1554
|
this.destroy$.unsubscribe();
|
|
1555
1555
|
}
|
|
1556
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1557
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1556
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1557
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: BaseComponent, isStandalone: true, ngImport: i0 });
|
|
1558
1558
|
}
|
|
1559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BaseComponent, decorators: [{
|
|
1560
1560
|
type: Directive
|
|
1561
1561
|
}] });
|
|
1562
1562
|
function CreateDynamicComponent(type) {
|
|
@@ -1609,10 +1609,10 @@ function CreateDynamicComponent(type) {
|
|
|
1609
1609
|
if (this.cd)
|
|
1610
1610
|
this.cd.detectChanges();
|
|
1611
1611
|
}
|
|
1612
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1613
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1612
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: Component, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1613
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: Component, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
1614
1614
|
}
|
|
1615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: Component, decorators: [{
|
|
1616
1616
|
type: Directive
|
|
1617
1617
|
}] });
|
|
1618
1618
|
return Component;
|
|
@@ -1645,18 +1645,18 @@ class ButtonBaseComponent {
|
|
|
1645
1645
|
return;
|
|
1646
1646
|
this.mode.set('default');
|
|
1647
1647
|
}
|
|
1648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1649
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
1648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1649
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: ButtonBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }], ngImport: i0 });
|
|
1650
1650
|
}
|
|
1651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonBaseComponent, decorators: [{
|
|
1652
1652
|
type: Directive
|
|
1653
|
-
}] });
|
|
1653
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }] } });
|
|
1654
1654
|
|
|
1655
1655
|
class ButtonStandardComponent extends ButtonBaseComponent {
|
|
1656
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1657
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1656
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1657
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ButtonStandardComponent, isStandalone: true, selector: "smart-button-standard", usesInheritance: true, ngImport: i0, template: "@if (mode() != 'confirm') {\n @let loading = options()?.loading();\n <div class=\"text-2xl italic container\"></div>\n <!-- <ion-button-->\n <!-- class=\"h-14 min-w-14 align-middle rounded-none\" -->\n <!-- [color]=\"options?.color\"-->\n <!-- [expand]=\"options?.expand\"-->\n <!-- [type]=\"options?.type\"-->\n <!-- (click)=\"invoke()\"-->\n <!-- [disabled]=\"disabled || loading\"-->\n <!-- >-->\n @if (loading) {\n <!-- <ion-spinner></ion-spinner>-->\n } @else {\n <ng-content></ng-content>\n }\n <!-- </ion-button>-->\n} @else {\n <!-- <ion-button-->\n <!-- class=\"h-14 min-w-14 align-middle rounded-none\" -->\n <!-- [expand]=\"options?.expand\"-->\n <!-- color=\"light\"-->\n <!-- (click)=\"confirmCancel()\"-->\n <!-- >-->\n {{ 'cancel' | translate }}\n <!-- </ion-button>-->\n <!-- <ion-button-->\n <!-- class=\"h-14 min-w-14 align-middle rounded-none\" -->\n <!-- [expand]=\"options?.expand\"-->\n <!-- color=\"primary\"-->\n <!-- (click)=\"confirmInvoke()\"-->\n <!-- >-->\n {{ 'confirm' | translate }}\n <!-- </ion-button>-->\n}\n", dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1658
1658
|
}
|
|
1659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonStandardComponent, decorators: [{
|
|
1660
1660
|
type: Component,
|
|
1661
1661
|
args: [{ selector: 'smart-button-standard', encapsulation: ViewEncapsulation.None, imports: [TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (mode() != 'confirm') {\n @let loading = options()?.loading();\n <div class=\"text-2xl italic container\"></div>\n <!-- <ion-button-->\n <!-- class=\"h-14 min-w-14 align-middle rounded-none\" -->\n <!-- [color]=\"options?.color\"-->\n <!-- [expand]=\"options?.expand\"-->\n <!-- [type]=\"options?.type\"-->\n <!-- (click)=\"invoke()\"-->\n <!-- [disabled]=\"disabled || loading\"-->\n <!-- >-->\n @if (loading) {\n <!-- <ion-spinner></ion-spinner>-->\n } @else {\n <ng-content></ng-content>\n }\n <!-- </ion-button>-->\n} @else {\n <!-- <ion-button-->\n <!-- class=\"h-14 min-w-14 align-middle rounded-none\" -->\n <!-- [expand]=\"options?.expand\"-->\n <!-- color=\"light\"-->\n <!-- (click)=\"confirmCancel()\"-->\n <!-- >-->\n {{ 'cancel' | translate }}\n <!-- </ion-button>-->\n <!-- <ion-button-->\n <!-- class=\"h-14 min-w-14 align-middle rounded-none\" -->\n <!-- [expand]=\"options?.expand\"-->\n <!-- color=\"primary\"-->\n <!-- (click)=\"confirmInvoke()\"-->\n <!-- >-->\n {{ 'confirm' | translate }}\n <!-- </ion-button>-->\n}\n" }]
|
|
1662
1662
|
}] });
|
|
@@ -1678,8 +1678,8 @@ class ButtonComponent extends CreateDynamicComponent('button') {
|
|
|
1678
1678
|
this.baseInstance.options = this.options;
|
|
1679
1679
|
this.baseInstance.disabled = this.disabled;
|
|
1680
1680
|
}
|
|
1681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1682
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1682
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ButtonComponent, isStandalone: true, selector: "smart-button", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1683
1683
|
@if (template() === 'default') {
|
|
1684
1684
|
<smart-button-standard [options]="options()" [disabled]="disabled()">
|
|
1685
1685
|
<ng-container [ngTemplateOutlet]="contentTpl"></ng-container>
|
|
@@ -1691,7 +1691,7 @@ class ButtonComponent extends CreateDynamicComponent('button') {
|
|
|
1691
1691
|
<div class="dynamic-content"></div>
|
|
1692
1692
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonStandardComponent, selector: "smart-button-standard" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1693
1693
|
}
|
|
1694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
1695
1695
|
type: Component,
|
|
1696
1696
|
args: [{
|
|
1697
1697
|
selector: 'smart-button',
|
|
@@ -1710,7 +1710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
1710
1710
|
imports: [ButtonStandardComponent, NgTemplateOutlet],
|
|
1711
1711
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1712
1712
|
}]
|
|
1713
|
-
}], ctorParameters: () => [] });
|
|
1713
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], dynamicContents: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => DynamicContentDirective), { isSignal: true }] }] } });
|
|
1714
1714
|
|
|
1715
1715
|
class FormFactory {
|
|
1716
1716
|
fb = inject(UntypedFormBuilder);
|
|
@@ -1970,19 +1970,19 @@ class FormFactory {
|
|
|
1970
1970
|
result.updateValueAndValidity();
|
|
1971
1971
|
return result;
|
|
1972
1972
|
}
|
|
1973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1974
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1973
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1974
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormFactory });
|
|
1975
1975
|
}
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormFactory, decorators: [{
|
|
1977
1977
|
type: Injectable
|
|
1978
1978
|
}] });
|
|
1979
1979
|
|
|
1980
1980
|
class SharedFactoriesModule {
|
|
1981
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1982
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1983
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1981
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedFactoriesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1982
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedFactoriesModule, imports: [ReactiveFormsModule] });
|
|
1983
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedFactoriesModule, providers: [FormFactory], imports: [ReactiveFormsModule] });
|
|
1984
1984
|
}
|
|
1985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedFactoriesModule, decorators: [{
|
|
1986
1986
|
type: NgModule,
|
|
1987
1987
|
args: [{
|
|
1988
1988
|
imports: [ReactiveFormsModule],
|
|
@@ -2001,14 +2001,14 @@ class ExportComponent {
|
|
|
2001
2001
|
return;
|
|
2002
2002
|
}
|
|
2003
2003
|
}
|
|
2004
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2005
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
2004
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ExportComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2005
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.1", type: ExportComponent, isStandalone: true, selector: "smart-export", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, fileName: { classPropertyName: "fileName", publicName: "fileName", isSignal: true, isRequired: false, transformFunction: null }, handler: { classPropertyName: "handler", publicName: "handler", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
2006
2006
|
<!--<ion-button title="export" (click)="onClick()" slot="icon-only">-->
|
|
2007
2007
|
<!-- <ion-icon name="download"></ion-icon>-->
|
|
2008
2008
|
<!--</ion-button>-->
|
|
2009
2009
|
`, isInline: true });
|
|
2010
2010
|
}
|
|
2011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ExportComponent, decorators: [{
|
|
2012
2012
|
type: Component,
|
|
2013
2013
|
args: [{
|
|
2014
2014
|
selector: 'smart-export',
|
|
@@ -2018,7 +2018,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2018
2018
|
<!--</ion-button>-->
|
|
2019
2019
|
`,
|
|
2020
2020
|
}]
|
|
2021
|
-
}] });
|
|
2021
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], fileName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fileName", required: false }] }], handler: [{ type: i0.Input, args: [{ isSignal: true, alias: "handler", required: true }] }] } });
|
|
2022
2022
|
|
|
2023
2023
|
class ImportComponent {
|
|
2024
2024
|
renderer;
|
|
@@ -2047,8 +2047,8 @@ class ImportComponent {
|
|
|
2047
2047
|
});
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2051
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
2050
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ImportComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2051
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.1", type: ImportComponent, isStandalone: true, selector: "smart-import", inputs: { accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { set: "set" }, viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputObj"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2052
2052
|
<!--<ion-button title="import" (click)="onClick()" slot="icon-only">-->
|
|
2053
2053
|
<!-- <ion-icon name="cloud-upload"></ion-icon>-->
|
|
2054
2054
|
<!--</ion-button>-->
|
|
@@ -2060,7 +2060,7 @@ class ImportComponent {
|
|
|
2060
2060
|
/>
|
|
2061
2061
|
`, isInline: true, styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2062
2062
|
}
|
|
2063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ImportComponent, decorators: [{
|
|
2064
2064
|
type: Component,
|
|
2065
2065
|
args: [{ selector: 'smart-import', template: `
|
|
2066
2066
|
<!--<ion-button title="import" (click)="onClick()" slot="icon-only">-->
|
|
@@ -2073,7 +2073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2073
2073
|
#inputObj
|
|
2074
2074
|
/>
|
|
2075
2075
|
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"] }]
|
|
2076
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }] });
|
|
2076
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], set: [{ type: i0.Output, args: ["set"] }], inputElementRef: [{ type: i0.ViewChild, args: ['inputObj', { isSignal: true }] }] } });
|
|
2077
2077
|
|
|
2078
2078
|
class InputBaseComponent extends BaseComponent {
|
|
2079
2079
|
cd = inject(ChangeDetectorRef);
|
|
@@ -2117,18 +2117,18 @@ class InputBaseComponent extends BaseComponent {
|
|
|
2117
2117
|
get formControlGroup() {
|
|
2118
2118
|
return this.control;
|
|
2119
2119
|
}
|
|
2120
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2121
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
2120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2121
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: InputBaseComponent, isStandalone: true, inputs: { fieldOptions: { classPropertyName: "fieldOptions", publicName: "fieldOptions", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2122
2122
|
}
|
|
2123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputBaseComponent, decorators: [{
|
|
2124
2124
|
type: Directive
|
|
2125
|
-
}], ctorParameters: () => [] });
|
|
2125
|
+
}], ctorParameters: () => [], propDecorators: { fieldOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldOptions", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }] } });
|
|
2126
2126
|
|
|
2127
2127
|
class InputAddressComponent extends InputBaseComponent {
|
|
2128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputAddressComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2129
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputAddressComponent, isStandalone: true, selector: "smart-input-address", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <br />\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n\n <!-- <ion-list [formGroup]=\"formControlGroup\">-->\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.city' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"city\"></ion-input>-->\n <!-- </ion-item>-->\n\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.zipCode' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"zipCode\"></ion-input>-->\n <!-- </ion-item>-->\n\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.street' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input-->\n <!-- formControlName=\"street\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- ></ion-input>-->\n <!-- </ion-item>-->\n\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.buildingNumber' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"buildingNumber\"></ion-input>-->\n <!-- </ion-item>-->\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.flatNumber' | translate }}\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"flatNumber\"></ion-input>-->\n <!-- </ion-item>-->\n <!-- </ion-list>-->\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2130
2130
|
}
|
|
2131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputAddressComponent, decorators: [{
|
|
2132
2132
|
type: Component,
|
|
2133
2133
|
args: [{ selector: 'smart-input-address', imports: [TranslatePipe, ReactiveFormsModule, ModelLabelPipe, AsyncPipe], template: "@if (control) {\n <br />\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n\n <!-- <ion-list [formGroup]=\"formControlGroup\">-->\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.city' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"city\"></ion-input>-->\n <!-- </ion-item>-->\n\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.zipCode' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"zipCode\"></ion-input>-->\n <!-- </ion-item>-->\n\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.street' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input-->\n <!-- formControlName=\"street\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- ></ion-input>-->\n <!-- </ion-item>-->\n\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.buildingNumber' | translate }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"buildingNumber\"></ion-input>-->\n <!-- </ion-item>-->\n <!-- <ion-item>-->\n <!-- <ion-label position=\"floating\">-->\n {{ 'MODEL.flatNumber' | translate }}\n <!-- </ion-label>-->\n <!-- <ion-input formControlName=\"flatNumber\"></ion-input>-->\n <!-- </ion-item>-->\n <!-- </ion-list>-->\n}\n" }]
|
|
2134
2134
|
}] });
|
|
@@ -2149,19 +2149,19 @@ class InputColorComponent extends InputBaseComponent {
|
|
|
2149
2149
|
this.control.markAllAsTouched();
|
|
2150
2150
|
this.control.setValue(null);
|
|
2151
2151
|
}
|
|
2152
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2153
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2152
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputColorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2153
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputColorComponent, isStandalone: true, selector: "smart-input-color", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n\n <!-- <ion-row class=\"smart-color\">-->\n <!-- <ion-col>-->\n <!-- <ion-card-->\n <!-- [style.background]=\"color\"-->\n <!-- style=\"-->\n <!-- width: calc(100% - 52px);-->\n <!-- display: inline-block;-->\n <!-- margin-right: 6px;-->\n <!-- vertical-align: middle;-->\n <!-- \"-->\n <!-- class=\"m-0\"-->\n <!-- >-->\n <!-- <ion-card-header class=\"m-0\"></ion-card-header>-->\n <!-- </ion-card>-->\n\n <!-- <ion-button-->\n <!-- [(colorPicker)]=\"color\"-->\n <!-- cpDialogDisplay=\"inline\"-->\n <!-- [cpCloseClickOutside]=\"true\"-->\n <!-- class=\"squere-button\"-->\n <!-- (colorPickerChange)=\"selectColor($event)\"-->\n <!-- style=\"margin-top: -2px\"-->\n <!-- >-->\n <!-- <ion-icon name=\"settings-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button color=\"danger\" class=\"squere-button\" (click)=\"clear()\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n <!-- </ion-row>-->\n}\n", dependencies: [{ kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2154
2154
|
}
|
|
2155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputColorComponent, decorators: [{
|
|
2156
2156
|
type: Component,
|
|
2157
2157
|
args: [{ selector: 'smart-input-color', imports: [ColorPickerDirective, ModelLabelPipe, AsyncPipe], template: "@if (control) {\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n\n <!-- <ion-row class=\"smart-color\">-->\n <!-- <ion-col>-->\n <!-- <ion-card-->\n <!-- [style.background]=\"color\"-->\n <!-- style=\"-->\n <!-- width: calc(100% - 52px);-->\n <!-- display: inline-block;-->\n <!-- margin-right: 6px;-->\n <!-- vertical-align: middle;-->\n <!-- \"-->\n <!-- class=\"m-0\"-->\n <!-- >-->\n <!-- <ion-card-header class=\"m-0\"></ion-card-header>-->\n <!-- </ion-card>-->\n\n <!-- <ion-button-->\n <!-- [(colorPicker)]=\"color\"-->\n <!-- cpDialogDisplay=\"inline\"-->\n <!-- [cpCloseClickOutside]=\"true\"-->\n <!-- class=\"squere-button\"-->\n <!-- (colorPickerChange)=\"selectColor($event)\"-->\n <!-- style=\"margin-top: -2px\"-->\n <!-- >-->\n <!-- <ion-icon name=\"settings-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button color=\"danger\" class=\"squere-button\" (click)=\"clear()\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n <!-- </ion-row>-->\n}\n" }]
|
|
2158
2158
|
}] });
|
|
2159
2159
|
|
|
2160
2160
|
class InputCurrencyComponent extends InputBaseComponent {
|
|
2161
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2162
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputCurrencyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2162
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputCurrencyComponent, isStandalone: true, selector: "smart-input-currency", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (!required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input-->\n <!-- [formControl]=\"formControl\"-->\n <!-- type=\"number\"-->\n <!-- step=\"0.01\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- ></ion-input>-->\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2163
2163
|
}
|
|
2164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputCurrencyComponent, decorators: [{
|
|
2165
2165
|
type: Component,
|
|
2166
2166
|
args: [{ selector: 'smart-input-currency', imports: [ReactiveFormsModule, ModelLabelPipe, AsyncPipe], template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (!required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-input-->\n <!-- [formControl]=\"formControl\"-->\n <!-- type=\"number\"-->\n <!-- step=\"0.01\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- ></ion-input>-->\n}\n" }]
|
|
2167
2167
|
}] });
|
|
@@ -2309,8 +2309,8 @@ class DateEditComponent {
|
|
|
2309
2309
|
return str;
|
|
2310
2310
|
return str.substring(0, index) + chr + str.substring(index + 1);
|
|
2311
2311
|
}
|
|
2312
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2313
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
2312
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DateEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2313
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.1", type: DateEditComponent, isStandalone: true, selector: "smart-date-edit", inputs: { ngModel: { classPropertyName: "ngModel", publicName: "ngModel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ngModel: "ngModelChange", validChange: "validChange" }, providers: [
|
|
2314
2314
|
{
|
|
2315
2315
|
provide: NG_VALUE_ACCESSOR,
|
|
2316
2316
|
useExisting: forwardRef(() => DateEditComponent),
|
|
@@ -2318,7 +2318,7 @@ class DateEditComponent {
|
|
|
2318
2318
|
},
|
|
2319
2319
|
], ngImport: i0, template: "<!--<ion-grid class=\"max-w-sm p-0 m-0\" [class.invalid]=\"!validDate\">-->\n<!-- <ion-row>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"d1\"-->\n <!-- #d1Element-->\n <!-- (click)=\"select(d1Element)\"-->\n <!-- (keyup)=\"moveTo($event, d2Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"d2\"-->\n <!-- #d2Element-->\n <!-- (click)=\"select(d2Element)\"-->\n <!-- (keyup)=\"moveTo($event, m1Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div style=\"text-align: center; vertical-align: middle; padding: 6px 0\">-</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"m1\"-->\n <!-- #m1Element-->\n <!-- (click)=\"select(m1Element)\"-->\n <!-- (keyup)=\"moveTo($event, m2Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"m2\"-->\n <!-- #m2Element-->\n <!-- (click)=\"select(m2Element)\"-->\n <!-- (keyup)=\"moveTo($event, y1Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div style=\"text-align: center; vertical-align: middle; padding: 6px 0\">-</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y1\"-->\n <!-- #y1Element-->\n <!-- (click)=\"select(y1Element)\"-->\n <!-- (keyup)=\"moveTo($event, y2Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- class=\"ml-5\"-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y2\"-->\n <!-- #y2Element-->\n <!-- (click)=\"select(y2Element)\"-->\n <!-- (keyup)=\"moveTo($event, y3Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- class=\"ml-5\"-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y3\"-->\n <!-- #y3Element-->\n <!-- (click)=\"select(y3Element)\"-->\n <!-- (keyup)=\"moveTo($event, y4Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- class=\"ml-5\"-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y4\"-->\n <!-- #y4Element-->\n <!-- (click)=\"select(y4Element)\"-->\n <!-- (keyup)=\"select(y4Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- </ion-row>-->\n<!-- <ion-row>-->\n<!-- <ion-col size=\"2\">-->\n<div [class.invalid]=\"!validDate\" style=\"text-align: center; color: #ccc\">\n DD\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col></ion-col>-->\n<!-- <ion-col size=\"2\">-->\n<div [class.invalid]=\"!validDate\" style=\"text-align: center; color: #ccc\">\n MM\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col></ion-col>-->\n<!-- <ion-col size=\"4\">-->\n<div [class.invalid]=\"!validDate\" style=\"text-align: center; color: #ccc\">\n RRRR\n</div>\n<!-- </ion-col>-->\n<!-- </ion-row>-->\n<!--</ion-grid>-->\n", styles: [".invalid{color:var(--smart-color-danger)!important}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }] });
|
|
2320
2320
|
}
|
|
2321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DateEditComponent, decorators: [{
|
|
2322
2322
|
type: Component,
|
|
2323
2323
|
args: [{ selector: 'smart-date-edit', imports: [FormsModule], providers: [
|
|
2324
2324
|
{
|
|
@@ -2327,7 +2327,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2327
2327
|
multi: true,
|
|
2328
2328
|
},
|
|
2329
2329
|
], template: "<!--<ion-grid class=\"max-w-sm p-0 m-0\" [class.invalid]=\"!validDate\">-->\n<!-- <ion-row>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"d1\"-->\n <!-- #d1Element-->\n <!-- (click)=\"select(d1Element)\"-->\n <!-- (keyup)=\"moveTo($event, d2Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"d2\"-->\n <!-- #d2Element-->\n <!-- (click)=\"select(d2Element)\"-->\n <!-- (keyup)=\"moveTo($event, m1Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div style=\"text-align: center; vertical-align: middle; padding: 6px 0\">-</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"m1\"-->\n <!-- #m1Element-->\n <!-- (click)=\"select(m1Element)\"-->\n <!-- (keyup)=\"moveTo($event, m2Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"m2\"-->\n <!-- #m2Element-->\n <!-- (click)=\"select(m2Element)\"-->\n <!-- (keyup)=\"moveTo($event, y1Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div style=\"text-align: center; vertical-align: middle; padding: 6px 0\">-</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y1\"-->\n <!-- #y1Element-->\n <!-- (click)=\"select(y1Element)\"-->\n <!-- (keyup)=\"moveTo($event, y2Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- class=\"ml-5\"-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y2\"-->\n <!-- #y2Element-->\n <!-- (click)=\"select(y2Element)\"-->\n <!-- (keyup)=\"moveTo($event, y3Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- class=\"ml-5\"-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y3\"-->\n <!-- #y3Element-->\n <!-- (click)=\"select(y3Element)\"-->\n <!-- (keyup)=\"moveTo($event, y4Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col>-->\n<div class=\"bg-gray-200\">\n <!-- <ion-input-->\n <!-- class=\"ml-5\"-->\n <!-- type=\"number\"-->\n <!-- min=\"0\"-->\n <!-- max=\"9\"-->\n <!-- maxlength=\"1\"-->\n <!-- [(ngModel)]=\"y4\"-->\n <!-- #y4Element-->\n <!-- (click)=\"select(y4Element)\"-->\n <!-- (keyup)=\"select(y4Element)\"-->\n <!-- ></ion-input>-->\n</div>\n<!-- </ion-col>-->\n<!-- </ion-row>-->\n<!-- <ion-row>-->\n<!-- <ion-col size=\"2\">-->\n<div [class.invalid]=\"!validDate\" style=\"text-align: center; color: #ccc\">\n DD\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col></ion-col>-->\n<!-- <ion-col size=\"2\">-->\n<div [class.invalid]=\"!validDate\" style=\"text-align: center; color: #ccc\">\n MM\n</div>\n<!-- </ion-col>-->\n<!-- <ion-col></ion-col>-->\n<!-- <ion-col size=\"4\">-->\n<div [class.invalid]=\"!validDate\" style=\"text-align: center; color: #ccc\">\n RRRR\n</div>\n<!-- </ion-col>-->\n<!-- </ion-row>-->\n<!--</ion-grid>-->\n", styles: [".invalid{color:var(--smart-color-danger)!important}\n"] }]
|
|
2330
|
-
}] });
|
|
2330
|
+
}], propDecorators: { ngModel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngModel", required: false }] }, { type: i0.Output, args: ["ngModelChange"] }], validChange: [{ type: i0.Output, args: ["validChange"] }] } });
|
|
2331
2331
|
|
|
2332
2332
|
class InputDateWithEditComponent extends InputBaseComponent {
|
|
2333
2333
|
_subscriptions = new Subscription();
|
|
@@ -2337,8 +2337,8 @@ class InputDateWithEditComponent extends InputBaseComponent {
|
|
|
2337
2337
|
this._subscriptions.unsubscribe();
|
|
2338
2338
|
}
|
|
2339
2339
|
}
|
|
2340
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2341
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2340
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputDateWithEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2341
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputDateWithEditComponent, isStandalone: true, selector: "smart-input-date-with-edit", usesInheritance: true, ngImport: i0, template: `
|
|
2342
2342
|
@if (control) {
|
|
2343
2343
|
<!-- <ion-row class="p-0">-->
|
|
2344
2344
|
<!-- <ion-col class="pl-0 align-middle">-->
|
|
@@ -2363,7 +2363,7 @@ class InputDateWithEditComponent extends InputBaseComponent {
|
|
|
2363
2363
|
}
|
|
2364
2364
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DateEditComponent, selector: "smart-date-edit", inputs: ["ngModel"], outputs: ["ngModelChange", "validChange"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2365
2365
|
}
|
|
2366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputDateWithEditComponent, decorators: [{
|
|
2367
2367
|
type: Component,
|
|
2368
2368
|
args: [{
|
|
2369
2369
|
selector: 'smart-input-date-with-edit',
|
|
@@ -2408,10 +2408,10 @@ class InputDateComponent extends InputBaseComponent {
|
|
|
2408
2408
|
}
|
|
2409
2409
|
});
|
|
2410
2410
|
}
|
|
2411
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2412
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2411
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2412
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputDateComponent, isStandalone: true, selector: "smart-input-date", usesInheritance: true, ngImport: i0, template: "@if (control) {\n @if (isMobile) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-datetime-->\n <!-- displayFormat=\"YYYY-MM-DD\"-->\n <!-- pickerFormat=\"YYYY-MM-DD\"-->\n <!-- [formControl]=\"formControl\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- [cancelText]=\"'cancel' | translate\"-->\n <!-- [doneText]=\"'select' | translate\"-->\n <!-- presentation=\"date\"-->\n <!-- locale=\"pl-PL\"-->\n <!-- ></ion-datetime>-->\n }\n @if (!isMobile) {\n <!-- <ion-row (click)=\"picker.open()\" class=\"desktop-row p-0\">-->\n <!-- <ion-col class=\"pl-0 align-middle\">-->\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <div style=\"height: 35px\">\n <p style=\"width: 100%; position: absolute\">{{ control.value }}</p>\n <input\n [formControl]=\"formControl\"\n readonly\n style=\"width: 100%; opacity: 0; position: absolute\"\n />\n </div>\n <!-- </ion-col>-->\n <!-- <ion-col class=\"pl-0 align-middle\" size=\"auto\">-->\n <!-- <ion-button class=\"squere-button\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"calendar-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n <!-- </ion-row>-->\n }\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2413
2413
|
}
|
|
2414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputDateComponent, decorators: [{
|
|
2415
2415
|
type: Component,
|
|
2416
2416
|
args: [{ selector: 'smart-input-date', imports: [
|
|
2417
2417
|
ModelLabelPipe,
|
|
@@ -2421,8 +2421,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2421
2421
|
}] });
|
|
2422
2422
|
|
|
2423
2423
|
class InputEmailComponent extends InputBaseComponent {
|
|
2424
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2425
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2424
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2425
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputEmailComponent, isStandalone: true, selector: "smart-input-email", usesInheritance: true, ngImport: i0, template: `
|
|
2426
2426
|
@if (control) {
|
|
2427
2427
|
<!-- <ion-label position="floating">-->
|
|
2428
2428
|
{{
|
|
@@ -2446,7 +2446,7 @@ class InputEmailComponent extends InputBaseComponent {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2448
2448
|
}
|
|
2449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputEmailComponent, decorators: [{
|
|
2450
2450
|
type: Component,
|
|
2451
2451
|
args: [{
|
|
2452
2452
|
selector: 'smart-input-email',
|
|
@@ -2501,8 +2501,8 @@ class InputEnumComponent extends InputBaseComponent {
|
|
|
2501
2501
|
this.control.setValue(this.value);
|
|
2502
2502
|
this.cd.detectChanges();
|
|
2503
2503
|
}
|
|
2504
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2505
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2504
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputEnumComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2505
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputEnumComponent, isStandalone: true, selector: "smart-input-enum", usesInheritance: true, ngImport: i0, template: `
|
|
2506
2506
|
<!--<ion-label class="main-label">-->
|
|
2507
2507
|
{{
|
|
2508
2508
|
control?.parent?.value
|
|
@@ -2538,7 +2538,7 @@ class InputEnumComponent extends InputBaseComponent {
|
|
|
2538
2538
|
}
|
|
2539
2539
|
`, isInline: true, dependencies: [{ kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: EnumToListPipe, name: "smartEnumToList" }] });
|
|
2540
2540
|
}
|
|
2541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputEnumComponent, decorators: [{
|
|
2542
2542
|
type: Component,
|
|
2543
2543
|
args: [{
|
|
2544
2544
|
selector: 'smart-input-enum',
|
|
@@ -2583,13 +2583,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2583
2583
|
|
|
2584
2584
|
class InputErrorComponent {
|
|
2585
2585
|
errors = input(undefined, ...(ngDevMode ? [{ debugName: "errors" }] : []));
|
|
2586
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2587
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2587
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputErrorComponent, isStandalone: true, selector: "smart-input-error", inputs: { errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (errors()?.required) {\n <!-- TODO: move span wrapper to a separate component-->\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.required' | translate }}\n </span>\n} @else {\n @if (errors()?.confirm) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.confirm' | translate }}\n </span>\n }\n}\n\n@if (errors()?.invalidNip) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidNip' | translate }}\n </span>\n}\n\n@if (errors()?.invalidUnique) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidUnique' | translate }}\n </span>\n}\n\n@if (errors()?.email) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidEmailFormat' | translate }}\n </span>\n}\n\n@if (errors()?.phoneNumber) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidPhoneNumberFormat' | translate }}\n </span>\n}\n\n@if (errors()?.pesel) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidPeselFormat' | translate }}\n </span>\n}\n\n@if (errors()?.minlength) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMinLength' | translate }}:\n {{ errors()?.minlength?.requiredLength }}\n </span>\n}\n\n@if (errors()?.maxlength) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMaxLength' | translate }}:\n {{ errors()?.maxlength?.requiredLength }}\n </span>\n}\n\n@if (errors()?.min) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMin' | translate }}: {{ errors()?.min?.min }}\n </span>\n}\n\n@if (errors()?.max) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMax' | translate }}: {{ errors()?.max?.max }}\n </span>\n}\n\n@if (errors()?.customMessage) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ errors()?.customMessage }}\n </span>\n}\n", dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2588
2588
|
}
|
|
2589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputErrorComponent, decorators: [{
|
|
2590
2590
|
type: Component,
|
|
2591
2591
|
args: [{ selector: 'smart-input-error', imports: [TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (errors()?.required) {\n <!-- TODO: move span wrapper to a separate component-->\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.required' | translate }}\n </span>\n} @else {\n @if (errors()?.confirm) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.confirm' | translate }}\n </span>\n }\n}\n\n@if (errors()?.invalidNip) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidNip' | translate }}\n </span>\n}\n\n@if (errors()?.invalidUnique) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidUnique' | translate }}\n </span>\n}\n\n@if (errors()?.email) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidEmailFormat' | translate }}\n </span>\n}\n\n@if (errors()?.phoneNumber) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidPhoneNumberFormat' | translate }}\n </span>\n}\n\n@if (errors()?.pesel) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidPeselFormat' | translate }}\n </span>\n}\n\n@if (errors()?.minlength) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMinLength' | translate }}:\n {{ errors()?.minlength?.requiredLength }}\n </span>\n}\n\n@if (errors()?.maxlength) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMaxLength' | translate }}:\n {{ errors()?.maxlength?.requiredLength }}\n </span>\n}\n\n@if (errors()?.min) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMin' | translate }}: {{ errors()?.min?.min }}\n </span>\n}\n\n@if (errors()?.max) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ 'INPUT.ERRORS.invalidMax' | translate }}: {{ errors()?.max?.max }}\n </span>\n}\n\n@if (errors()?.customMessage) {\n <span class=\"text-xl min-h-10 pl-5 align-middle\">\n <!-- <ion-icon class=\"text-4xl align-middle -mt-1\" name=\"alert-circle-outline\"></ion-icon>-->\n {{ errors()?.customMessage }}\n </span>\n}\n" }]
|
|
2592
|
-
}] });
|
|
2592
|
+
}], propDecorators: { errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }] } });
|
|
2593
2593
|
|
|
2594
2594
|
/**
|
|
2595
2595
|
* @example
|
|
@@ -2628,8 +2628,8 @@ class InputFileComponent extends InputBaseComponent {
|
|
|
2628
2628
|
this.control.updateValueAndValidity();
|
|
2629
2629
|
this.cd.detectChanges();
|
|
2630
2630
|
}
|
|
2631
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2632
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2632
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputFileComponent, isStandalone: true, selector: "smart-input-file", viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputObj"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2633
2633
|
@if (control) {
|
|
2634
2634
|
<!-- <ion-label position="floating">-->
|
|
2635
2635
|
{{
|
|
@@ -2660,7 +2660,7 @@ class InputFileComponent extends InputBaseComponent {
|
|
|
2660
2660
|
}
|
|
2661
2661
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
2662
2662
|
}
|
|
2663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFileComponent, decorators: [{
|
|
2664
2664
|
type: Component,
|
|
2665
2665
|
args: [{
|
|
2666
2666
|
selector: 'smart-input-file',
|
|
@@ -2696,11 +2696,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2696
2696
|
`,
|
|
2697
2697
|
imports: [ButtonComponent, ModelLabelPipe, AsyncPipe, TranslatePipe],
|
|
2698
2698
|
}]
|
|
2699
|
-
}] });
|
|
2699
|
+
}], propDecorators: { inputElementRef: [{ type: i0.ViewChild, args: ['inputObj', { isSignal: true }] }] } });
|
|
2700
2700
|
|
|
2701
2701
|
class InputFlagComponent extends InputBaseComponent {
|
|
2702
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2703
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2702
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFlagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2703
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputFlagComponent, isStandalone: true, selector: "smart-input-flag", usesInheritance: true, ngImport: i0, template: `
|
|
2704
2704
|
@if (control) {
|
|
2705
2705
|
<!-- <ion-item class="px-0" lines="none">-->
|
|
2706
2706
|
<!-- <ion-label class="checkbox-label">-->
|
|
@@ -2726,7 +2726,7 @@ class InputFlagComponent extends InputBaseComponent {
|
|
|
2726
2726
|
}
|
|
2727
2727
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
2728
2728
|
}
|
|
2729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFlagComponent, decorators: [{
|
|
2730
2730
|
type: Component,
|
|
2731
2731
|
args: [{
|
|
2732
2732
|
selector: 'smart-input-flag',
|
|
@@ -2774,15 +2774,15 @@ class InfoComponent {
|
|
|
2774
2774
|
//
|
|
2775
2775
|
// await popover.present();
|
|
2776
2776
|
}
|
|
2777
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2778
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
2777
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2778
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.1", type: InfoComponent, isStandalone: true, selector: "smart-info", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
2779
2779
|
<!--<ion-icon-->
|
|
2780
2780
|
<!-- name="information-circle-outline"-->
|
|
2781
2781
|
<!-- (click)="onClick($event)"-->
|
|
2782
2782
|
<!--></ion-icon>-->
|
|
2783
2783
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2784
2784
|
}
|
|
2785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InfoComponent, decorators: [{
|
|
2786
2786
|
type: Component,
|
|
2787
2787
|
args: [{
|
|
2788
2788
|
selector: 'smart-info',
|
|
@@ -2794,21 +2794,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2794
2794
|
`,
|
|
2795
2795
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2796
2796
|
}]
|
|
2797
|
-
}] });
|
|
2797
|
+
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }] } });
|
|
2798
2798
|
class InfoModalComponent {
|
|
2799
2799
|
text;
|
|
2800
2800
|
constructor() {
|
|
2801
2801
|
this.text = /*params.get('text')*/ 'text';
|
|
2802
2802
|
}
|
|
2803
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2804
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2803
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InfoModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2804
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: InfoModalComponent, isStandalone: true, selector: "smart-info-modal", ngImport: i0, template: `
|
|
2805
2805
|
<!-- <ion-content-->
|
|
2806
2806
|
<!-- class="ion-padding"-->
|
|
2807
2807
|
<!-- [innerHTML]="text | translate"-->
|
|
2808
2808
|
<!-- ></ion-content>-->
|
|
2809
2809
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2810
2810
|
}
|
|
2811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InfoModalComponent, decorators: [{
|
|
2812
2812
|
type: Component,
|
|
2813
2813
|
args: [{
|
|
2814
2814
|
selector: 'smart-info-modal',
|
|
@@ -2826,14 +2826,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2826
2826
|
class LoaderComponent {
|
|
2827
2827
|
show = input(false, ...(ngDevMode ? [{ debugName: "show" }] : []));
|
|
2828
2828
|
height = input(null, ...(ngDevMode ? [{ debugName: "height" }] : []));
|
|
2829
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2830
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2830
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: LoaderComponent, isStandalone: true, selector: "smart-loader", inputs: { show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2831
2831
|
@if (show()) {
|
|
2832
2832
|
<!-- <ion-spinner [style.height]="height()"></ion-spinner>-->
|
|
2833
2833
|
}
|
|
2834
2834
|
`, isInline: true });
|
|
2835
2835
|
}
|
|
2836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
2837
2837
|
type: Component,
|
|
2838
2838
|
args: [{
|
|
2839
2839
|
selector: 'smart-loader',
|
|
@@ -2843,7 +2843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
2843
2843
|
}
|
|
2844
2844
|
`,
|
|
2845
2845
|
}]
|
|
2846
|
-
}] });
|
|
2846
|
+
}], propDecorators: { show: [{ type: i0.Input, args: [{ isSignal: true, alias: "show", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }] } });
|
|
2847
2847
|
|
|
2848
2848
|
const FORM_COMPONENT_TOKEN = new InjectionToken('FORM_COMPONENT');
|
|
2849
2849
|
const DETAILS_COMPONENT_TOKEN = new InjectionToken('DETAILS_COMPONENT_TOKEN');
|
|
@@ -2929,10 +2929,10 @@ class InputArrayComponent extends InputBaseComponent {
|
|
|
2929
2929
|
? getModelFieldOptions(this.internalOptions.model[0], this.internalOptions.fieldKey)
|
|
2930
2930
|
: getModelFieldOptions(this.internalOptions.model, this.internalOptions.fieldKey);
|
|
2931
2931
|
}
|
|
2932
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2933
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2932
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputArrayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2933
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputArrayComponent, isStandalone: true, selector: "smart-input-array", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label position=\"static\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-list-->\n <!-- class=\"max-w-full block overflow-hidden py-0 min-h-14 rounded\"-->\n <!-- cdkDropList-->\n <!-- [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"-->\n <!-- (cdkDropListDropped)=\"drop($event)\"-->\n <!-- >-->\n @for (option of childOptions; track option) {\n @let index = $index;\n <!-- <ion-item class=\"array-box p-0 flex flex-row items-center justify-between box-border text-sm bg-transparent shadow-none\" lines=\"none\" cdkDrag>-->\n @if (!fieldOptions()?.possibilities?.static) {\n <!-- <ion-card class=\"w-full p-0 m-1\">-->\n <smart-accordion [(show)]=\"option.show\">\n <smart-accordion-header class=\"cursor-move\">\n <!-- <ion-card-header class=\"m-0 p-0\">-->\n <!-- <ion-item class=\"m-0\" lines=\"none\">-->\n @if (\n !option.show &&\n option?.modelOptions?.titleKey &&\n option.control?.value[option.modelOptions!.titleKey!]\n ) {\n <!-- <ion-label>-->\n {{\n option?.control?.value[option.modelOptions!.titleKey!] | translate\n }}\n <!-- </ion-label>-->\n }\n <!-- <ion-button-->\n <!-- (click)=\"onRemove(index)\"-->\n <!-- size=\"small\"-->\n <!-- fill=\"outline\"-->\n <!-- slot=\"end\"-->\n <!-- >-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-item>-->\n <!-- </ion-card-header>-->\n </smart-accordion-header>\n <smart-accordion-body>\n <!-- <ion-card-content class=\"p-0\">-->\n <!-- TODO: refactor usage of FormComponent and styles-->\n <ng-template\n [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: option }\"\n ></ng-template>\n <!-- </ion-card-content>-->\n </smart-accordion-body>\n </smart-accordion>\n <!-- </ion-card>-->\n } @else {\n <!-- <ion-card class=\"w-full p-0 m-1\">-->\n <!-- <ion-card-content class=\"p-0\">-->\n <ng-template\n [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: option }\"\n ></ng-template>\n <!-- </ion-card-content>-->\n <!-- </ion-card>-->\n }\n <!-- </ion-item>-->\n }\n <!-- </ion-list>-->\n @if (!fieldOptions()?.possibilities?.static) {\n <smart-button [options]=\"addButtonOptions\" class=\"float-right\">\n <span style=\"font-weight: 300\"\n >{{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n > </span\n ><b>{{ 'add' | translate }}</b>\n </smart-button>\n }\n}\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: DynamicIoDirective, selector: "[ndcDynamicInputs],[ndcDynamicOutputs]", inputs: ["ndcDynamicInputs", "ndcDynamicOutputs"], exportAs: ["ndcDynamicIo"] }, { kind: "component", type: AccordionComponent, selector: "smart-accordion", inputs: ["show"], outputs: ["showChange"] }, { kind: "component", type: AccordionHeaderComponent, selector: "smart-accordion-header" }, { kind: "component", type: AccordionBodyComponent, selector: "smart-accordion-body" }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
2934
2934
|
}
|
|
2935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputArrayComponent, decorators: [{
|
|
2936
2936
|
type: Component,
|
|
2937
2937
|
args: [{ selector: 'smart-input-array', imports: [
|
|
2938
2938
|
ModelLabelPipe,
|
|
@@ -3020,18 +3020,18 @@ class InputFileBaseComponent extends InputBaseComponent {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
});
|
|
3022
3022
|
}
|
|
3023
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3024
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
3023
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFileBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3024
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: InputFileBaseComponent, isStandalone: true, viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputObj"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
3025
3025
|
}
|
|
3026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFileBaseComponent, decorators: [{
|
|
3027
3027
|
type: Directive
|
|
3028
|
-
}] });
|
|
3028
|
+
}], propDecorators: { inputElementRef: [{ type: i0.ViewChild, args: ['inputObj', { isSignal: true }] }] } });
|
|
3029
3029
|
|
|
3030
3030
|
class InputAttachmentComponent extends InputFileBaseComponent {
|
|
3031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3032
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3031
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputAttachmentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3032
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputAttachmentComponent, isStandalone: true, selector: "smart-input-attachment", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value) {\n <smart-button [options]=\"showButtonOptions\">{{\n 'download' | translate\n }}</smart-button>\n }\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n @let percentage = percent();\n <!-- <ion-progress-bar [value]=\"(percentage ?? 0) / 100\"></ion-progress-bar>-->\n }\n}\n<input\n type=\"file\"\n [attr.accept]=\"fieldOptions()?.possibilities\"\n [hidden]=\"true\"\n #inputObj\n/>\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3033
3033
|
}
|
|
3034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputAttachmentComponent, decorators: [{
|
|
3035
3035
|
type: Component,
|
|
3036
3036
|
args: [{ selector: 'smart-input-attachment', imports: [ModelLabelPipe, AsyncPipe, TranslatePipe, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value) {\n <smart-button [options]=\"showButtonOptions\">{{\n 'download' | translate\n }}</smart-button>\n }\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n @let percentage = percent();\n <!-- <ion-progress-bar [value]=\"(percentage ?? 0) / 100\"></ion-progress-bar>-->\n }\n}\n<input\n type=\"file\"\n [attr.accept]=\"fieldOptions()?.possibilities\"\n [hidden]=\"true\"\n #inputObj\n/>\n" }]
|
|
3037
3037
|
}] });
|
|
@@ -3061,10 +3061,10 @@ class InputPossibilitiesBaseComponent extends InputBaseComponent {
|
|
|
3061
3061
|
instance: this.internalOptions.control.parent?.value,
|
|
3062
3062
|
});
|
|
3063
3063
|
}
|
|
3064
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3065
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3064
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPossibilitiesBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3065
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: InputPossibilitiesBaseComponent, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
3066
3066
|
}
|
|
3067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPossibilitiesBaseComponent, decorators: [{
|
|
3068
3068
|
type: Directive
|
|
3069
3069
|
}] });
|
|
3070
3070
|
|
|
@@ -3107,10 +3107,10 @@ class InputCheckComponent extends InputPossibilitiesBaseComponent {
|
|
|
3107
3107
|
this.control.setValue(result);
|
|
3108
3108
|
}
|
|
3109
3109
|
}
|
|
3110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3111
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputCheckComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3111
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputCheckComponent, isStandalone: true, selector: "smart-input-check", usesInheritance: true, ngImport: i0, template: "@if (control) {\n @let length = possibilities()?.length;\n @if (length && length <= 5) {\n <!-- <ion-item-group [attr.autofocus]=\"fieldOptions?.focused\">-->\n <!-- <ion-list-header>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- </ion-list-header>-->\n @for (item of possibilities(); track item.id) {\n <!-- <ion-item>-->\n <!-- <ion-label>-->\n <span [innerHTML]=\"item.text | translate\"></span>\n <!-- </ion-label>-->\n <!-- <ion-checkbox-->\n <!-- [checked]=\"item.checked\"-->\n <!-- (ionChange)=\"refresh(item)\"-->\n <!-- ></ion-checkbox>-->\n <!-- </ion-item>-->\n }\n <!-- </ion-item-group>-->\n } @else {\n <!-- <ion-item>-->\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- </ion-label>-->\n\n <!-- <ion-select-->\n <!-- [formControl]=\"formControl\"-->\n <!-- multiple-->\n <!-- clas=\"w-full\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- [cancelText]=\"'cancel' | translate\"-->\n <!-- [okText]=\"'ok' | translate\"-->\n <!-- >-->\n @for (item of possibilities(); track item) {\n <!-- <ion-select-option [value]=\"item.id\">-->\n <span [innerHTML]=\"item.text | translate\"></span>\n <!-- </ion-select-option>-->\n }\n <!-- </ion-select>-->\n <!-- </ion-item>-->\n }\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
3112
3112
|
}
|
|
3113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputCheckComponent, decorators: [{
|
|
3114
3114
|
type: Component,
|
|
3115
3115
|
args: [{ selector: 'smart-input-check', imports: [ModelLabelPipe, AsyncPipe, TranslatePipe, ReactiveFormsModule], template: "@if (control) {\n @let length = possibilities()?.length;\n @if (length && length <= 5) {\n <!-- <ion-item-group [attr.autofocus]=\"fieldOptions?.focused\">-->\n <!-- <ion-list-header>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- </ion-list-header>-->\n @for (item of possibilities(); track item.id) {\n <!-- <ion-item>-->\n <!-- <ion-label>-->\n <span [innerHTML]=\"item.text | translate\"></span>\n <!-- </ion-label>-->\n <!-- <ion-checkbox-->\n <!-- [checked]=\"item.checked\"-->\n <!-- (ionChange)=\"refresh(item)\"-->\n <!-- ></ion-checkbox>-->\n <!-- </ion-item>-->\n }\n <!-- </ion-item-group>-->\n } @else {\n <!-- <ion-item>-->\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- </ion-label>-->\n\n <!-- <ion-select-->\n <!-- [formControl]=\"formControl\"-->\n <!-- multiple-->\n <!-- clas=\"w-full\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- [cancelText]=\"'cancel' | translate\"-->\n <!-- [okText]=\"'ok' | translate\"-->\n <!-- >-->\n @for (item of possibilities(); track item) {\n <!-- <ion-select-option [value]=\"item.id\">-->\n <span [innerHTML]=\"item.text | translate\"></span>\n <!-- </ion-select-option>-->\n }\n <!-- </ion-select>-->\n <!-- </ion-item>-->\n }\n}\n" }]
|
|
3116
3116
|
}] });
|
|
@@ -3183,8 +3183,8 @@ class DateRangeComponent {
|
|
|
3183
3183
|
this.propagateChange(this.value);
|
|
3184
3184
|
this.propagateTouched();
|
|
3185
3185
|
}
|
|
3186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3187
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DateRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3187
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DateRangeComponent, isStandalone: true, selector: "smart-date-range", inputs: { ngModel: { classPropertyName: "ngModel", publicName: "ngModel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ngModel: "ngModelChange" }, providers: [
|
|
3188
3188
|
{
|
|
3189
3189
|
provide: NG_VALUE_ACCESSOR,
|
|
3190
3190
|
useExisting: forwardRef(() => DateRangeComponent),
|
|
@@ -3192,7 +3192,7 @@ class DateRangeComponent {
|
|
|
3192
3192
|
},
|
|
3193
3193
|
], ngImport: i0, template: "<!--<ion-button (click)=\"onClick()\">-->\n@if (value && value?.start && value?.end) {\n {{ value.start + ' - ' + value.end }}\n} @else {\n {{ 'select' | translate }}\n}\n<!--</ion-button>-->\n\n@if (value) {\n <!--<ion-button (click)=\"onClear()\">-->X<!--</ion-button>-->\n}\n", dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
3194
3194
|
}
|
|
3195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
3196
3196
|
type: Component,
|
|
3197
3197
|
args: [{ selector: 'smart-date-range', providers: [
|
|
3198
3198
|
{
|
|
@@ -3201,7 +3201,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
3201
3201
|
multi: true,
|
|
3202
3202
|
},
|
|
3203
3203
|
], imports: [TranslatePipe], template: "<!--<ion-button (click)=\"onClick()\">-->\n@if (value && value?.start && value?.end) {\n {{ value.start + ' - ' + value.end }}\n} @else {\n {{ 'select' | translate }}\n}\n<!--</ion-button>-->\n\n@if (value) {\n <!--<ion-button (click)=\"onClear()\">-->X<!--</ion-button>-->\n}\n" }]
|
|
3204
|
-
}], ctorParameters: () => [] });
|
|
3204
|
+
}], ctorParameters: () => [], propDecorators: { ngModel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngModel", required: false }] }, { type: i0.Output, args: ["ngModelChange"] }] } });
|
|
3205
3205
|
class DateRangeModalComponent {
|
|
3206
3206
|
fb = inject(UntypedFormBuilder);
|
|
3207
3207
|
uiService = inject(UIService);
|
|
@@ -3451,17 +3451,17 @@ class DateRangeModalComponent {
|
|
|
3451
3451
|
this.changeDetectionRef.detectChanges();
|
|
3452
3452
|
event.target.complete();
|
|
3453
3453
|
}
|
|
3454
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3455
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DateRangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3455
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DateRangeModalComponent, isStandalone: true, selector: "smart-date-range-modal", inputs: { showFilterBtns: { classPropertyName: "showFilterBtns", publicName: "showFilterBtns", isSignal: true, isRequired: false, transformFunction: null }, restrictSelectionTo: { classPropertyName: "restrictSelectionTo", publicName: "restrictSelectionTo", isSignal: true, isRequired: true, transformFunction: null } }, providers: [CalendarService], ngImport: i0, template: "<div\n class=\"p-5 flex flex-col justify-center items-center text-white heading-container\"\n padding\n>\n <div>\n <span class=\"text-xs\">\n {{\n dateForm.value.dateFrom\n ? dateForm.value.dateFrom + ' - ' + dateForm.value.dateTo\n : ''\n }}\n </span>\n </div>\n <div\n id=\"dismiss-div\"\n class=\"absolute right-0 text-2xl py-0 top-1 w-12 px-2.5 text-center\"\n (click)=\"dismissPage()\"\n >\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n </div>\n <div class=\"h-0.5 bg-white/16 w-3/5 mt-2.5\"></div>\n</div>\n\n@if (showFilterBtns()) {\n <div\n class=\"grid grid-rows-2 grid-cols-3 w-full mx-auto gap-x-2.5 gap-y-5 p-5 grid-filter-btns\"\n >\n <div (click)=\"selectToday()\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'Today',\n }\"\n >\n {{ 'CALENDAR.Today' | translate }}\n </span>\n </div>\n\n <!-- TODO: move span-filter and styles to a separate component-->\n <div (click)=\"selectLastSevenDays()\" style=\"text-align: center\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'LastSevenDays',\n }\"\n >\n {{ 'CALENDAR.LastSevenDays' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectThisMonth()\" style=\"text-align: right\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'ThisMonth',\n }\"\n >\n {{ 'CALENDAR.ThisMonth' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectYesterday()\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'Yesterday',\n }\"\n >\n {{ 'CALENDAR.Yesterday' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectLastThirtyDays()\" style=\"text-align: center\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'LastThirtyDays',\n }\"\n >\n {{ 'CALENDAR.LastThirtyDays' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectLastMonth()\" style=\"text-align: right\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'LastMonth',\n }\"\n >\n {{ 'CALENDAR.LastMonth' | translate }}\n </span>\n </div>\n </div>\n}\n\n<div\n class=\"grid grid-cols-7 gap-y-2.5 gap-x-px items-center border-b border-gray-200 h-8 text-center\"\n style=\"background: #fbfcfc; color: #a6aaaf\"\n>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Sun' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Mon' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Tue' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Wed' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Thu' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Fri' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Sat' | translate }}</div>\n</div>\n\n<!--<ion-content #scrollMe>-->\n<!-- <ion-refresher slot=\"fixed\" (ionRefresh)=\"loadDataPrev($event)\">-->\n<!-- <ion-refresher-content-->\n<!-- pullingIcon=\"chevron-down-circle-outline\"-->\n<!-- refreshingSpinner=\"circles\"-->\n<!-- >-->\n<!-- </ion-refresher-content>-->\n<!-- </ion-refresher>-->\n\n@for (month of calendar; track month) {\n <p\n class=\"ml-0 p-5 text-base font-medium bg-gray-50 border-t border-b border-gray-200 text-base mb-2.5 heading-month-year\"\n >\n {{ 'CALENDAR.MONTH.' + month.monthName | translate }} {{ month.year }}\n </p>\n <div class=\"grid grid-cols-7 gap-y-2.5 gap-x-px items-center\">\n @for (day of month.dates; track day) {\n <div\n class=\"h-8 text-center flex flex-col justify-center items-center text-slate-600\"\n [ngClass]=\"{\n 'text-white rounded-l-lg selection-start': isSelectionStart(day),\n 'text-white rounded-r-lg selection-end': isSelectionEnd(day),\n 'font-bold bg-gray-200': isInRange(day),\n 'rounded-lg': isStartAndEndDateSame(),\n }\"\n id=\"dateRef\"\n (click)=\"subject$.next({ date: day, event: $event })\"\n >\n {{ day?.date() }}\n </div>\n }\n </div>\n}\n<!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadDataNext($event)\">-->\n<!-- <ion-infinite-scroll-content-->\n<!-- loadingSpinner=\"bubbles\"-->\n<!-- ></ion-infinite-scroll-content>-->\n<!-- </ion-infinite-scroll>-->\n<!--</ion-content>-->\n<!--<ion-footer>-->\n<!-- <ion-toolbar>-->\n<!-- <ion-button-->\n<!-- style=\"margin: 0 1.2rem\"-->\n<!-- expand=\"block\"-->\n<!-- (click)=\"applyDates()\"-->\n<!-- [disabled]=\"restrictSelectionTo && !isSelectionInRestrictedRange()\"-->\n<!-- >-->\n{{ 'select' | translate }}\n<!-- </ion-button>-->\n<!-- </ion-toolbar>-->\n<!--</ion-footer>-->\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3456
3456
|
}
|
|
3457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DateRangeModalComponent, decorators: [{
|
|
3458
3458
|
type: Component,
|
|
3459
3459
|
args: [{ selector: 'smart-date-range-modal', providers: [CalendarService], changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgClass, TranslatePipe], template: "<div\n class=\"p-5 flex flex-col justify-center items-center text-white heading-container\"\n padding\n>\n <div>\n <span class=\"text-xs\">\n {{\n dateForm.value.dateFrom\n ? dateForm.value.dateFrom + ' - ' + dateForm.value.dateTo\n : ''\n }}\n </span>\n </div>\n <div\n id=\"dismiss-div\"\n class=\"absolute right-0 text-2xl py-0 top-1 w-12 px-2.5 text-center\"\n (click)=\"dismissPage()\"\n >\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n </div>\n <div class=\"h-0.5 bg-white/16 w-3/5 mt-2.5\"></div>\n</div>\n\n@if (showFilterBtns()) {\n <div\n class=\"grid grid-rows-2 grid-cols-3 w-full mx-auto gap-x-2.5 gap-y-5 p-5 grid-filter-btns\"\n >\n <div (click)=\"selectToday()\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'Today',\n }\"\n >\n {{ 'CALENDAR.Today' | translate }}\n </span>\n </div>\n\n <!-- TODO: move span-filter and styles to a separate component-->\n <div (click)=\"selectLastSevenDays()\" style=\"text-align: center\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'LastSevenDays',\n }\"\n >\n {{ 'CALENDAR.LastSevenDays' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectThisMonth()\" style=\"text-align: right\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'ThisMonth',\n }\"\n >\n {{ 'CALENDAR.ThisMonth' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectYesterday()\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'Yesterday',\n }\"\n >\n {{ 'CALENDAR.Yesterday' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectLastThirtyDays()\" style=\"text-align: center\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'LastThirtyDays',\n }\"\n >\n {{ 'CALENDAR.LastThirtyDays' | translate }}\n </span>\n </div>\n\n <div (click)=\"selectLastMonth()\" style=\"text-align: right\">\n <span\n class=\"m-0 p-2 h-auto text-white rounded-2xl text-sm text-center span-filter\"\n [ngClass]=\"{\n 'bg-white selected-filter': selectedButtonName === 'LastMonth',\n }\"\n >\n {{ 'CALENDAR.LastMonth' | translate }}\n </span>\n </div>\n </div>\n}\n\n<div\n class=\"grid grid-cols-7 gap-y-2.5 gap-x-px items-center border-b border-gray-200 h-8 text-center\"\n style=\"background: #fbfcfc; color: #a6aaaf\"\n>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Sun' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Mon' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Tue' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Wed' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Thu' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Fri' | translate }}</div>\n <div>{{ 'CALENDAR.DAY_OF_WEEK.Sat' | translate }}</div>\n</div>\n\n<!--<ion-content #scrollMe>-->\n<!-- <ion-refresher slot=\"fixed\" (ionRefresh)=\"loadDataPrev($event)\">-->\n<!-- <ion-refresher-content-->\n<!-- pullingIcon=\"chevron-down-circle-outline\"-->\n<!-- refreshingSpinner=\"circles\"-->\n<!-- >-->\n<!-- </ion-refresher-content>-->\n<!-- </ion-refresher>-->\n\n@for (month of calendar; track month) {\n <p\n class=\"ml-0 p-5 text-base font-medium bg-gray-50 border-t border-b border-gray-200 text-base mb-2.5 heading-month-year\"\n >\n {{ 'CALENDAR.MONTH.' + month.monthName | translate }} {{ month.year }}\n </p>\n <div class=\"grid grid-cols-7 gap-y-2.5 gap-x-px items-center\">\n @for (day of month.dates; track day) {\n <div\n class=\"h-8 text-center flex flex-col justify-center items-center text-slate-600\"\n [ngClass]=\"{\n 'text-white rounded-l-lg selection-start': isSelectionStart(day),\n 'text-white rounded-r-lg selection-end': isSelectionEnd(day),\n 'font-bold bg-gray-200': isInRange(day),\n 'rounded-lg': isStartAndEndDateSame(),\n }\"\n id=\"dateRef\"\n (click)=\"subject$.next({ date: day, event: $event })\"\n >\n {{ day?.date() }}\n </div>\n }\n </div>\n}\n<!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadDataNext($event)\">-->\n<!-- <ion-infinite-scroll-content-->\n<!-- loadingSpinner=\"bubbles\"-->\n<!-- ></ion-infinite-scroll-content>-->\n<!-- </ion-infinite-scroll>-->\n<!--</ion-content>-->\n<!--<ion-footer>-->\n<!-- <ion-toolbar>-->\n<!-- <ion-button-->\n<!-- style=\"margin: 0 1.2rem\"-->\n<!-- expand=\"block\"-->\n<!-- (click)=\"applyDates()\"-->\n<!-- [disabled]=\"restrictSelectionTo && !isSelectionInRestrictedRange()\"-->\n<!-- >-->\n{{ 'select' | translate }}\n<!-- </ion-button>-->\n<!-- </ion-toolbar>-->\n<!--</ion-footer>-->\n" }]
|
|
3460
|
-
}], ctorParameters: () => [] });
|
|
3460
|
+
}], ctorParameters: () => [], propDecorators: { showFilterBtns: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFilterBtns", required: false }] }], restrictSelectionTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "restrictSelectionTo", required: true }] }] } });
|
|
3461
3461
|
|
|
3462
3462
|
class InputDateRangeComponent extends InputBaseComponent {
|
|
3463
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3464
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3463
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputDateRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3464
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputDateRangeComponent, isStandalone: true, selector: "smart-input-date-range", usesInheritance: true, ngImport: i0, template: `
|
|
3465
3465
|
@if (control && internalOptions) {
|
|
3466
3466
|
<!-- <ion-label position="floating">-->
|
|
3467
3467
|
{{
|
|
@@ -3486,7 +3486,7 @@ class InputDateRangeComponent extends InputBaseComponent {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
`, isInline: true, dependencies: [{ kind: "component", type: DateRangeComponent, selector: "smart-date-range", inputs: ["ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3488
3488
|
}
|
|
3489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputDateRangeComponent, decorators: [{
|
|
3490
3490
|
type: Component,
|
|
3491
3491
|
args: [{
|
|
3492
3492
|
selector: 'smart-input-date-range',
|
|
@@ -3519,8 +3519,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
3519
3519
|
}] });
|
|
3520
3520
|
|
|
3521
3521
|
class InputFloatComponent extends InputBaseComponent {
|
|
3522
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3523
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3522
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFloatComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3523
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputFloatComponent, isStandalone: true, selector: "smart-input-float", usesInheritance: true, ngImport: i0, template: `
|
|
3524
3524
|
@if (control) {
|
|
3525
3525
|
<!-- <ion-label position="floating">-->
|
|
3526
3526
|
{{
|
|
@@ -3544,7 +3544,7 @@ class InputFloatComponent extends InputBaseComponent {
|
|
|
3544
3544
|
}
|
|
3545
3545
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3546
3546
|
}
|
|
3547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputFloatComponent, decorators: [{
|
|
3548
3548
|
type: Component,
|
|
3549
3549
|
args: [{
|
|
3550
3550
|
selector: 'smart-input-float',
|
|
@@ -3591,17 +3591,17 @@ class InputImageComponent extends InputFileBaseComponent {
|
|
|
3591
3591
|
: null;
|
|
3592
3592
|
this.cd.detectChanges();
|
|
3593
3593
|
}
|
|
3594
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3595
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3594
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputImageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3595
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputImageComponent, isStandalone: true, selector: "smart-input-image", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\"-->\n >\\\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n <!-- <ion-progress-bar [value]=\"(percent() ?? 0) / 100\"></ion-progress-bar>-->\n }\n\n @if (imageUrl) {\n <!-- <ion-img-->\n <!-- style=\"max-width: 400px; max-height: 400px\"-->\n <!-- [src]=\"imageUrl\"-->\n <!-- ></ion-img>-->\n <br />\n }\n}\n<input type=\"file\" accept=\".jpg,.png,.jpeg\" [hidden]=\"true\" #inputObj />\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3596
3596
|
}
|
|
3597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputImageComponent, decorators: [{
|
|
3598
3598
|
type: Component,
|
|
3599
3599
|
args: [{ selector: 'smart-input-image', imports: [ModelLabelPipe, AsyncPipe, ButtonComponent, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\"-->\n >\\\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n <!-- <ion-progress-bar [value]=\"(percent() ?? 0) / 100\"></ion-progress-bar>-->\n }\n\n @if (imageUrl) {\n <!-- <ion-img-->\n <!-- style=\"max-width: 400px; max-height: 400px\"-->\n <!-- [src]=\"imageUrl\"-->\n <!-- ></ion-img>-->\n <br />\n }\n}\n<input type=\"file\" accept=\".jpg,.png,.jpeg\" [hidden]=\"true\" #inputObj />\n" }]
|
|
3600
3600
|
}] });
|
|
3601
3601
|
|
|
3602
3602
|
class InputIntComponent extends InputBaseComponent {
|
|
3603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3604
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3603
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputIntComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3604
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputIntComponent, isStandalone: true, selector: "smart-input-int", usesInheritance: true, ngImport: i0, template: `
|
|
3605
3605
|
@if (control) {
|
|
3606
3606
|
<!-- <ion-label position="floating">-->
|
|
3607
3607
|
{{
|
|
@@ -3626,7 +3626,7 @@ class InputIntComponent extends InputBaseComponent {
|
|
|
3626
3626
|
}
|
|
3627
3627
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3628
3628
|
}
|
|
3629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputIntComponent, decorators: [{
|
|
3630
3630
|
type: Component,
|
|
3631
3631
|
args: [{
|
|
3632
3632
|
selector: 'smart-input-int',
|
|
@@ -3695,10 +3695,10 @@ class InputIntsComponent extends InputBaseComponent {
|
|
|
3695
3695
|
}
|
|
3696
3696
|
this.refresh();
|
|
3697
3697
|
}
|
|
3698
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3699
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3698
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputIntsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3699
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputIntsComponent, isStandalone: true, selector: "smart-input-ints", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <br />\n <!-- <ion-list>-->\n <!-- <ion-item>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-item>-->\n @for (item of list; track item) {\n @let last = $last;\n <!-- <ion-item lines=\"none\">-->\n <!-- <ion-icon slot=\"start\" name=\"ellipse-outline\"></ion-icon>-->\n <!-- <ion-input-->\n <!-- [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"-->\n <!-- [formControl]=\"item\"-->\n <!-- type=\"number\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- (ionChange)=\"onItemChange()\"-->\n <!-- ></ion-input>-->\n @if (!last) {\n <!-- <ion-button slot=\"end\" color=\"danger\" (click)=\"removeItem(item)\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n <!-- </ion-item>-->\n }\n <!-- </ion-list>-->\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3700
3700
|
}
|
|
3701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputIntsComponent, decorators: [{
|
|
3702
3702
|
type: Component,
|
|
3703
3703
|
args: [{ selector: 'smart-input-ints', imports: [ReactiveFormsModule, TranslatePipe, ModelLabelPipe, AsyncPipe], template: "@if (control) {\n <br />\n <!-- <ion-list>-->\n <!-- <ion-item>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-item>-->\n @for (item of list; track item) {\n @let last = $last;\n <!-- <ion-item lines=\"none\">-->\n <!-- <ion-icon slot=\"start\" name=\"ellipse-outline\"></ion-icon>-->\n <!-- <ion-input-->\n <!-- [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"-->\n <!-- [formControl]=\"item\"-->\n <!-- type=\"number\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- (ionChange)=\"onItemChange()\"-->\n <!-- ></ion-input>-->\n @if (!last) {\n <!-- <ion-button slot=\"end\" color=\"danger\" (click)=\"removeItem(item)\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n <!-- </ion-item>-->\n }\n <!-- </ion-list>-->\n}\n" }]
|
|
3704
3704
|
}] });
|
|
@@ -3733,10 +3733,10 @@ class InputLogoComponent extends InputBaseComponent {
|
|
|
3733
3733
|
this.control.markAsTouched();
|
|
3734
3734
|
this.control.setValue(null);
|
|
3735
3735
|
}
|
|
3736
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3737
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3736
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputLogoComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3737
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputLogoComponent, isStandalone: true, selector: "smart-input-logo", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n\n <!-- <ion-row>-->\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-card>-->\n @if (control?.value) {\n <!-- <ion-img-->\n <!-- style=\"padding: 10px; width: 150px; height: 150px\"-->\n <!-- [src]=\"control?.value\"-->\n <!-- (click)=\"set(inputFile)\"-->\n <!-- >-->\n >\n <!-- </ion-img>-->\n }\n <!-- </ion-card>-->\n <!-- </ion-col>-->\n\n @if (!control?.value) {\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button (click)=\"set(inputFile)\">-->\n <!-- <ion-icon name=\"image-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n }\n\n @if (control?.value) {\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button color=\"danger\" (click)=\"clear()\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n }\n <!-- </ion-row>-->\n}\n\n<input [hidden]=\"true\" #inputFile accept=\"image/jpeg\" type=\"file\" />\n", dependencies: [{ kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3738
3738
|
}
|
|
3739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputLogoComponent, decorators: [{
|
|
3740
3740
|
type: Component,
|
|
3741
3741
|
args: [{ selector: 'smart-input-logo', imports: [ModelLabelPipe, AsyncPipe], template: "@if (control) {\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n\n <!-- <ion-row>-->\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-card>-->\n @if (control?.value) {\n <!-- <ion-img-->\n <!-- style=\"padding: 10px; width: 150px; height: 150px\"-->\n <!-- [src]=\"control?.value\"-->\n <!-- (click)=\"set(inputFile)\"-->\n <!-- >-->\n >\n <!-- </ion-img>-->\n }\n <!-- </ion-card>-->\n <!-- </ion-col>-->\n\n @if (!control?.value) {\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button (click)=\"set(inputFile)\">-->\n <!-- <ion-icon name=\"image-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n }\n\n @if (control?.value) {\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button color=\"danger\" (click)=\"clear()\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n }\n <!-- </ion-row>-->\n}\n\n<input [hidden]=\"true\" #inputFile accept=\"image/jpeg\" type=\"file\" />\n" }]
|
|
3742
3742
|
}] });
|
|
@@ -3774,10 +3774,10 @@ class InputLongTextComponent extends InputBaseComponent {
|
|
|
3774
3774
|
super.ngOnDestroy();
|
|
3775
3775
|
this.editor.destroy();
|
|
3776
3776
|
}
|
|
3777
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3778
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3777
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputLongTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3778
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputLongTextComponent, isStandalone: true, selector: "smart-input-long-text", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <br />\n @if (editor) {\n <div class=\"NgxEditor__Wrapper\" style=\"min-height: 220px\">\n <ngx-editor-menu [editor]=\"editor\" [toolbar]=\"toolbar\"> </ngx-editor-menu>\n <ngx-editor\n [outputFormat]=\"'html'\"\n [editor]=\"editor\"\n [formControl]=\"formControl\"\n [placeholder]=\"placeholder\"\n >\n </ngx-editor>\n </div>\n }\n <br />\n}\n", dependencies: [{ kind: "component", type: NgxEditorMenuComponent, selector: "ngx-editor-menu", inputs: ["toolbar", "colorPresets", "disabled", "editor", "customMenuRef", "dropdownPlacement"] }, { kind: "component", type: NgxEditorComponent, selector: "ngx-editor", inputs: ["editor", "outputFormat", "placeholder"], outputs: ["focusOut", "focusIn"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3779
3779
|
}
|
|
3780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputLongTextComponent, decorators: [{
|
|
3781
3781
|
type: Component,
|
|
3782
3782
|
args: [{ selector: 'smart-input-long-text', imports: [
|
|
3783
3783
|
ModelLabelPipe,
|
|
@@ -3802,8 +3802,8 @@ class InputNipComponent extends InputBaseComponent {
|
|
|
3802
3802
|
this.control.setValidators(validators);
|
|
3803
3803
|
this.control.updateValueAndValidity();
|
|
3804
3804
|
}
|
|
3805
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3806
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3805
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputNipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3806
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputNipComponent, isStandalone: true, selector: "smart-input-nip", usesInheritance: true, ngImport: i0, template: `
|
|
3807
3807
|
@if (control) {
|
|
3808
3808
|
<!-- <ion-label position="floating">-->
|
|
3809
3809
|
{{
|
|
@@ -3826,7 +3826,7 @@ class InputNipComponent extends InputBaseComponent {
|
|
|
3826
3826
|
}
|
|
3827
3827
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3828
3828
|
}
|
|
3829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputNipComponent, decorators: [{
|
|
3830
3830
|
type: Component,
|
|
3831
3831
|
args: [{
|
|
3832
3832
|
selector: 'smart-input-nip',
|
|
@@ -3868,8 +3868,8 @@ class InputObjectComponent extends InputBaseComponent {
|
|
|
3868
3868
|
show: true,
|
|
3869
3869
|
};
|
|
3870
3870
|
}
|
|
3871
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3872
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3871
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputObjectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3872
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputObjectComponent, isStandalone: true, selector: "smart-input-object", usesInheritance: true, ngImport: i0, template: `
|
|
3873
3873
|
@if (control) {
|
|
3874
3874
|
<!-- <ion-label position="floating">-->
|
|
3875
3875
|
{{
|
|
@@ -3891,9 +3891,9 @@ class InputObjectComponent extends InputBaseComponent {
|
|
|
3891
3891
|
[ndcDynamicInputs]="{ options: childOptions }"
|
|
3892
3892
|
></ng-template>
|
|
3893
3893
|
}
|
|
3894
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"
|
|
3894
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: DynamicIoDirective, selector: "[ndcDynamicInputs],[ndcDynamicOutputs]", inputs: ["ndcDynamicInputs", "ndcDynamicOutputs"], exportAs: ["ndcDynamicIo"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
3895
3895
|
}
|
|
3896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputObjectComponent, decorators: [{
|
|
3897
3897
|
type: Component,
|
|
3898
3898
|
args: [{
|
|
3899
3899
|
selector: 'smart-input-object',
|
|
@@ -4028,13 +4028,13 @@ class PasswordStrengthComponent {
|
|
|
4028
4028
|
this['bar' + n] = col;
|
|
4029
4029
|
}
|
|
4030
4030
|
}
|
|
4031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4032
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4031
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PasswordStrengthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4032
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: PasswordStrengthComponent, isStandalone: true, selector: "smart-password-strength", inputs: { passwordToCheck: { classPropertyName: "passwordToCheck", publicName: "passwordToCheck", isSignal: true, isRequired: true, transformFunction: null }, showHint: { classPropertyName: "showHint", publicName: "showHint", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { passwordStrength: "passwordStrength" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-1/3 max-sm:w-full\">\n <ul class=\"inline list-none mb-5 p-0 align-top w-full min-w-full\">\n <li\n class=\"point bg-gray-300 rounded-sm inline-block h-1 mr-px\"\n [style.background-color]=\"bar0\"\n ></li>\n <li\n class=\"point bg-gray-300 rounded-sm inline-block h-1 mr-px\"\n [style.background-color]=\"bar1\"\n ></li>\n <li\n class=\"point bg-gray-300 rounded-sm inline-block h-1 mr-px m-0\"\n [style.background-color]=\"bar2\"\n ></li>\n </ul>\n @if (msg) {\n <p [style.color]=\"msgColor\" class=\"font-bold\">\n {{ 'INPUT.PASSWORD-STRENGTH.' + msg | translate }}\n </p>\n }\n\n @if (showHint()) {\n <ul [style.color]=\"msgColor\">\n @if (!result?.passLength) {\n <li>{{ 'INPUT.ERRORS.invalidMinLength' | translate }} 7</li>\n }\n @if (!result?.upperLetters) {\n <li>{{ 'INPUT.ERRORS.upperLetters' | translate }}</li>\n }\n @if (!result?.lowerLetters) {\n <li>{{ 'INPUT.ERRORS.lowerLetters' | translate }}</li>\n }\n @if (!result?.symbols) {\n <li>{{ 'INPUT.ERRORS.symbols' | translate }}</li>\n }\n </ul>\n }\n</div>\n", styles: [".point{width:32%}p{font-size:var(--default-font-size)}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4033
4033
|
}
|
|
4034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PasswordStrengthComponent, decorators: [{
|
|
4035
4035
|
type: Component,
|
|
4036
4036
|
args: [{ selector: 'smart-password-strength', changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslatePipe], template: "<div class=\"w-1/3 max-sm:w-full\">\n <ul class=\"inline list-none mb-5 p-0 align-top w-full min-w-full\">\n <li\n class=\"point bg-gray-300 rounded-sm inline-block h-1 mr-px\"\n [style.background-color]=\"bar0\"\n ></li>\n <li\n class=\"point bg-gray-300 rounded-sm inline-block h-1 mr-px\"\n [style.background-color]=\"bar1\"\n ></li>\n <li\n class=\"point bg-gray-300 rounded-sm inline-block h-1 mr-px m-0\"\n [style.background-color]=\"bar2\"\n ></li>\n </ul>\n @if (msg) {\n <p [style.color]=\"msgColor\" class=\"font-bold\">\n {{ 'INPUT.PASSWORD-STRENGTH.' + msg | translate }}\n </p>\n }\n\n @if (showHint()) {\n <ul [style.color]=\"msgColor\">\n @if (!result?.passLength) {\n <li>{{ 'INPUT.ERRORS.invalidMinLength' | translate }} 7</li>\n }\n @if (!result?.upperLetters) {\n <li>{{ 'INPUT.ERRORS.upperLetters' | translate }}</li>\n }\n @if (!result?.lowerLetters) {\n <li>{{ 'INPUT.ERRORS.lowerLetters' | translate }}</li>\n }\n @if (!result?.symbols) {\n <li>{{ 'INPUT.ERRORS.symbols' | translate }}</li>\n }\n </ul>\n }\n</div>\n", styles: [".point{width:32%}p{font-size:var(--default-font-size)}\n"] }]
|
|
4037
|
-
}] });
|
|
4037
|
+
}], propDecorators: { passwordToCheck: [{ type: i0.Input, args: [{ isSignal: true, alias: "passwordToCheck", required: true }] }], showHint: [{ type: i0.Input, args: [{ isSignal: true, alias: "showHint", required: true }] }], passwordStrength: [{ type: i0.Output, args: ["passwordStrength"] }] } });
|
|
4038
4038
|
|
|
4039
4039
|
class InputPasswordComponent extends InputBaseComponent {
|
|
4040
4040
|
valid = true;
|
|
@@ -4067,8 +4067,8 @@ class InputPasswordComponent extends InputBaseComponent {
|
|
|
4067
4067
|
}
|
|
4068
4068
|
this.control.updateValueAndValidity({ onlySelf: true });
|
|
4069
4069
|
}
|
|
4070
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4071
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4070
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPasswordComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4071
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputPasswordComponent, isStandalone: true, selector: "smart-input-password", usesInheritance: true, ngImport: i0, template: `
|
|
4072
4072
|
@if (control) {
|
|
4073
4073
|
<!-- <ion-label position="floating">-->
|
|
4074
4074
|
{{
|
|
@@ -4101,7 +4101,7 @@ class InputPasswordComponent extends InputBaseComponent {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
`, isInline: true, dependencies: [{ kind: "component", type: PasswordStrengthComponent, selector: "smart-password-strength", inputs: ["passwordToCheck", "showHint"], outputs: ["passwordStrength"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4103
4103
|
}
|
|
4104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
4105
4105
|
type: Component,
|
|
4106
4106
|
args: [{
|
|
4107
4107
|
selector: 'smart-input-password',
|
|
@@ -4148,17 +4148,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
4148
4148
|
}] });
|
|
4149
4149
|
|
|
4150
4150
|
class InputPdfComponent extends InputFileBaseComponent {
|
|
4151
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4152
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPdfComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4152
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputPdfComponent, isStandalone: true, selector: "smart-input-pdf", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value) {\n <smart-button [options]=\"showButtonOptions\">{{\n 'show' | translate\n }}</smart-button>\n }\n\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n @let percentage = percent();\n <!-- <ion-progress-bar [value]=\"(percentage ?? 0) / 100\"></ion-progress-bar>-->\n }\n}\n<input type=\"file\" accept=\".pdf\" [hidden]=\"true\" #inputObj />\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4153
4153
|
}
|
|
4154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPdfComponent, decorators: [{
|
|
4155
4155
|
type: Component,
|
|
4156
4156
|
args: [{ selector: 'smart-input-pdf', imports: [ButtonComponent, ModelLabelPipe, TranslatePipe, AsyncPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value) {\n <smart-button [options]=\"showButtonOptions\">{{\n 'show' | translate\n }}</smart-button>\n }\n\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n @let percentage = percent();\n <!-- <ion-progress-bar [value]=\"(percentage ?? 0) / 100\"></ion-progress-bar>-->\n }\n}\n<input type=\"file\" accept=\".pdf\" [hidden]=\"true\" #inputObj />\n" }]
|
|
4157
4157
|
}] });
|
|
4158
4158
|
|
|
4159
4159
|
class InputPeselComponent extends InputBaseComponent {
|
|
4160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4161
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPeselComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4161
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputPeselComponent, isStandalone: true, selector: "smart-input-pesel", usesInheritance: true, ngImport: i0, template: `
|
|
4162
4162
|
@if (control) {
|
|
4163
4163
|
<!-- <ion-label position="floating">-->
|
|
4164
4164
|
{{
|
|
@@ -4181,7 +4181,7 @@ class InputPeselComponent extends InputBaseComponent {
|
|
|
4181
4181
|
}
|
|
4182
4182
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
4183
4183
|
}
|
|
4184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPeselComponent, decorators: [{
|
|
4185
4185
|
type: Component,
|
|
4186
4186
|
args: [{
|
|
4187
4187
|
selector: 'smart-input-pesel',
|
|
@@ -4212,8 +4212,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
4212
4212
|
}] });
|
|
4213
4213
|
|
|
4214
4214
|
class InputPhoneNumberComponent extends InputBaseComponent {
|
|
4215
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4216
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPhoneNumberComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4216
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputPhoneNumberComponent, isStandalone: true, selector: "smart-input-phone-number", usesInheritance: true, ngImport: i0, template: `
|
|
4217
4217
|
@if (control) {
|
|
4218
4218
|
<!-- <ion-label position="floating">-->
|
|
4219
4219
|
{{
|
|
@@ -4237,7 +4237,7 @@ class InputPhoneNumberComponent extends InputBaseComponent {
|
|
|
4237
4237
|
}
|
|
4238
4238
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
4239
4239
|
}
|
|
4240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPhoneNumberComponent, decorators: [{
|
|
4241
4241
|
type: Component,
|
|
4242
4242
|
args: [{
|
|
4243
4243
|
selector: 'smart-input-phone-number',
|
|
@@ -4276,8 +4276,8 @@ class InputPhoneNumberPlComponent extends InputBaseComponent {
|
|
|
4276
4276
|
this.control.setValidators(validators);
|
|
4277
4277
|
this.control.updateValueAndValidity();
|
|
4278
4278
|
}
|
|
4279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4280
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4279
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPhoneNumberPlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4280
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputPhoneNumberPlComponent, isStandalone: true, selector: "smart-input-phone-number-pl", usesInheritance: true, ngImport: i0, template: `
|
|
4281
4281
|
@if (control) {
|
|
4282
4282
|
<!-- <ion-label position="stacked">-->
|
|
4283
4283
|
{{
|
|
@@ -4308,7 +4308,7 @@ class InputPhoneNumberPlComponent extends InputBaseComponent {
|
|
|
4308
4308
|
}
|
|
4309
4309
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
4310
4310
|
}
|
|
4311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputPhoneNumberPlComponent, decorators: [{
|
|
4312
4312
|
type: Component,
|
|
4313
4313
|
args: [{
|
|
4314
4314
|
selector: 'smart-input-phone-number-pl',
|
|
@@ -4362,10 +4362,10 @@ class InputRadioComponent extends InputPossibilitiesBaseComponent {
|
|
|
4362
4362
|
})));
|
|
4363
4363
|
}
|
|
4364
4364
|
}
|
|
4365
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4366
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4366
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputRadioComponent, isStandalone: true, selector: "smart-input-radio", usesInheritance: true, ngImport: i0, template: "@if (control && possibilities()) {\n @let length = possibilities()?.length;\n @if (length && length <= 5) {\n <!-- <ion-radio-group-->\n <!-- [formControl]=\"formControl\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- >-->\n <!-- <ion-list-header>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-list-header>-->\n\n @for (item of possibilities(); track item) {\n <!-- <ion-item>-->\n <!--<ion-label class=\"w-full max-w-none\">-->{{ item.text | translate\n }}<!--</ion-label>-->\n <!-- <ion-radio [value]=\"item.id\"></ion-radio>-->\n <!-- </ion-item>-->\n }\n <!-- </ion-radio-group>-->\n } @else {\n <!-- <ion-item>-->\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-select-->\n <!-- [formControl]=\"formControl\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- [cancelText]=\"'cancel' | translate\"-->\n <!-- [okText]=\"'ok' | translate\"-->\n <!-- >-->\n @for (item of possibilities(); track item) {\n <!-- <ion-select-option [value]=\"item.id\">-->\n {{ item.text | translate }}\n <!-- </ion-select-option>-->\n }\n <!-- </ion-select>-->\n <!-- </ion-item>-->\n }\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
4367
4367
|
}
|
|
4368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputRadioComponent, decorators: [{
|
|
4369
4369
|
type: Component,
|
|
4370
4370
|
args: [{ selector: 'smart-input-radio', imports: [ModelLabelPipe, AsyncPipe, ReactiveFormsModule, TranslatePipe], template: "@if (control && possibilities()) {\n @let length = possibilities()?.length;\n @if (length && length <= 5) {\n <!-- <ion-radio-group-->\n <!-- [formControl]=\"formControl\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- >-->\n <!-- <ion-list-header>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-list-header>-->\n\n @for (item of possibilities(); track item) {\n <!-- <ion-item>-->\n <!--<ion-label class=\"w-full max-w-none\">-->{{ item.text | translate\n }}<!--</ion-label>-->\n <!-- <ion-radio [value]=\"item.id\"></ion-radio>-->\n <!-- </ion-item>-->\n }\n <!-- </ion-radio-group>-->\n } @else {\n <!-- <ion-item>-->\n <!-- <ion-label>-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-select-->\n <!-- [formControl]=\"formControl\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- [cancelText]=\"'cancel' | translate\"-->\n <!-- [okText]=\"'ok' | translate\"-->\n <!-- >-->\n @for (item of possibilities(); track item) {\n <!-- <ion-select-option [value]=\"item.id\">-->\n {{ item.text | translate }}\n <!-- </ion-select-option>-->\n }\n <!-- </ion-select>-->\n <!-- </ion-item>-->\n }\n}\n" }]
|
|
4371
4371
|
}] });
|
|
@@ -4406,17 +4406,17 @@ class InputStringsComponent extends InputBaseComponent {
|
|
|
4406
4406
|
}
|
|
4407
4407
|
this.refresh();
|
|
4408
4408
|
}
|
|
4409
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4410
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputStringsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4410
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputStringsComponent, isStandalone: true, selector: "smart-input-strings", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <br />\n <!-- <ion-label style=\"max-width: 100%\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-list>-->\n @for (item of list; track item) {\n @let last = $last;\n <!-- <ion-item lines=\"none\">-->\n <!-- <ion-icon slot=\"start\" name=\"ellipse-outline\"></ion-icon>-->\n <!-- <ion-input-->\n <!-- [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"-->\n <!-- [formControl]=\"item\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- (ionChange)=\"onItemChange()\"-->\n <!-- ></ion-input>-->\n @if (!last) {\n <!-- <ion-button slot=\"end\" color=\"danger\" (click)=\"removeItem(item)\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n <!-- </ion-item>-->\n }\n <!-- </ion-list>-->\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
4411
4411
|
}
|
|
4412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputStringsComponent, decorators: [{
|
|
4413
4413
|
type: Component,
|
|
4414
4414
|
args: [{ selector: 'smart-input-strings', imports: [ReactiveFormsModule, TranslatePipe, ModelLabelPipe, AsyncPipe], template: "@if (control) {\n <br />\n <!-- <ion-label style=\"max-width: 100%\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text>-->\n <!-- </ion-label>-->\n <!-- <ion-list>-->\n @for (item of list; track item) {\n @let last = $last;\n <!-- <ion-item lines=\"none\">-->\n <!-- <ion-icon slot=\"start\" name=\"ellipse-outline\"></ion-icon>-->\n <!-- <ion-input-->\n <!-- [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"-->\n <!-- [formControl]=\"item\"-->\n <!-- [attr.autofocus]=\"fieldOptions?.focused\"-->\n <!-- (ionChange)=\"onItemChange()\"-->\n <!-- ></ion-input>-->\n @if (!last) {\n <!-- <ion-button slot=\"end\" color=\"danger\" (click)=\"removeItem(item)\">-->\n <!-- <ion-icon name=\"close-outline\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n <!-- </ion-item>-->\n }\n <!-- </ion-list>-->\n}\n" }]
|
|
4415
4415
|
}] });
|
|
4416
4416
|
|
|
4417
4417
|
class InputTextComponent extends InputBaseComponent {
|
|
4418
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4419
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4418
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4419
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputTextComponent, isStandalone: true, selector: "smart-input-text", usesInheritance: true, ngImport: i0, template: `
|
|
4420
4420
|
@if (control) {
|
|
4421
4421
|
<!-- <ion-label position="floating">-->
|
|
4422
4422
|
{{
|
|
@@ -4439,7 +4439,7 @@ class InputTextComponent extends InputBaseComponent {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
4441
4441
|
}
|
|
4442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
4443
4443
|
type: Component,
|
|
4444
4444
|
args: [{
|
|
4445
4445
|
selector: 'smart-input-text',
|
|
@@ -4492,10 +4492,10 @@ class InputVideoComponent extends InputFileBaseComponent {
|
|
|
4492
4492
|
this.cd.detectChanges();
|
|
4493
4493
|
});
|
|
4494
4494
|
}
|
|
4495
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4496
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4495
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputVideoComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4496
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputVideoComponent, isStandalone: true, selector: "smart-input-video", usesInheritance: true, ngImport: i0, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value && !play) {\n <smart-button [options]=\"playButtonOptions\">{{\n 'play' | translate\n }}</smart-button>\n }\n\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n @let percentage = percent();\n <!-- <ion-progress-bar [value]=\"(percentage ?? 0) / 100\"></ion-progress-bar>-->\n }\n\n @if (url && play) {\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\" />\n Your browser does not support the video tag.\n </video>\n }\n}\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj />\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4497
4497
|
}
|
|
4498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputVideoComponent, decorators: [{
|
|
4499
4499
|
type: Component,
|
|
4500
4500
|
args: [{ selector: 'smart-input-video', imports: [ModelLabelPipe, AsyncPipe, ButtonComponent, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (control) {\n <!-- <ion-label position=\"floating\">-->\n {{\n control?.parent?.value\n | smartModelLabel\n : internalOptions.fieldKey\n : internalOptions?.model?.constructor\n | async\n }}\n @if (control.value) {\n {{ control.value.fileName }}\n }\n <!-- <ion-text color=\"danger\">-->\n @if (required) {\n <span>*</span>\n }\n <!-- </ion-text> -->\n <!-- </ion-label-->\n ><br />\n <smart-button [options]=\"addButtonOptions\">{{\n (control.value ? 'change' : 'add') | translate\n }}</smart-button>\n\n @if (control.value && !play) {\n <smart-button [options]=\"playButtonOptions\">{{\n 'play' | translate\n }}</smart-button>\n }\n\n @if (control.value) {\n <smart-button [options]=\"deleteButtonOptions\">{{\n 'delete' | translate\n }}</smart-button>\n }\n\n @if (loading()) {\n @let percentage = percent();\n <!-- <ion-progress-bar [value]=\"(percentage ?? 0) / 100\"></ion-progress-bar>-->\n }\n\n @if (url && play) {\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\" />\n Your browser does not support the video tag.\n </video>\n }\n}\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj />\n" }]
|
|
4501
4501
|
}] });
|
|
@@ -4574,10 +4574,10 @@ class InputComponent {
|
|
|
4574
4574
|
componentRef.setInput('fieldOptions', this.fieldOptions);
|
|
4575
4575
|
}
|
|
4576
4576
|
}
|
|
4577
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4578
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.0", type: InputComponent, isStandalone: true, selector: "smart-input", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "componentRef", first: true, predicate: ["componentRef"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (!fieldOptions?.hide) {\n <!-- <ion-item>-->\n <div class=\"container-right h-10 absolute right-12\">\n @if (fieldOptions?.info) {\n <smart-info [text]=\"fieldOptions?.info ?? ''\"></smart-info>\n }\n <smart-loader [show]=\"status === 'PENDING'\"></smart-loader>\n </div>\n @if (!options()?.component) {\n @switch (fieldOptions?.type) {\n @case (FieldType.currency) {\n <smart-input-currency\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-currency>\n }\n @case (FieldType.date) {\n <smart-input-date\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date>\n }\n @case (FieldType.dateWithEdit) {\n <smart-input-date-with-edit\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date-with-edit>\n }\n @case (FieldType.email) {\n <smart-input-email\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-email>\n }\n @case (FieldType.enum) {\n <smart-input-enum\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-enum>\n }\n @case (FieldType.file) {\n <smart-input-file\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-file>\n }\n @case (FieldType.flag) {\n <smart-input-flag\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-flag>\n }\n @case (FieldType.int) {\n <smart-input-int\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-int>\n }\n @case (FieldType.nip) {\n <smart-input-nip\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-nip>\n }\n @case (FieldType.password) {\n <smart-input-password\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-password>\n }\n @case (FieldType.radio) {\n <smart-input-radio\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-radio>\n }\n @case (FieldType.text) {\n <smart-input-text\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-text>\n }\n @case (FieldType.strings) {\n <smart-input-strings\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-strings>\n }\n @case (FieldType.longText) {\n <smart-input-long-text\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-long-text>\n }\n @case (FieldType.address) {\n <smart-input-address\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-address>\n }\n @case (FieldType.object) {\n <smart-input-object\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-object>\n }\n @case (FieldType.color) {\n <smart-input-color\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-color>\n }\n @case (FieldType.logo) {\n <smart-input-logo\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-logo>\n }\n @case (FieldType.check) {\n <smart-input-check\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-check>\n }\n @case (FieldType.ints) {\n <smart-input-ints\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-ints>\n }\n @case (FieldType.phoneNumber) {\n <smart-input-phone-number\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-phone-number>\n }\n @case (FieldType.phoneNumberPl) {\n <smart-input-phone-number-pl\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-phone-number-pl>\n }\n @case (FieldType.pesel) {\n <smart-input-pesel\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-pesel>\n }\n @case (FieldType.array) {\n <smart-input-array\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-array>\n }\n @case (FieldType.pdf) {\n <smart-input-pdf\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-pdf>\n }\n @case (FieldType.video) {\n <smart-input-video\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-video>\n }\n @case (FieldType.attachment) {\n <smart-input-attachment\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-attachment>\n }\n @case (FieldType.dateRange) {\n <smart-input-date-range\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date-range>\n }\n @case (FieldType.image) {\n <smart-input-image\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-image>\n }\n @case (FieldType.float) {\n <smart-input-float\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-float>\n }\n }\n }\n\n <div #componentRef></div>\n <!-- </ion-item>-->\n}\n\n@let errors = options()?.control?.errors;\n@if (errors && options()?.control?.touched) {\n <!-- <ion-item>-->\n <smart-input-error [errors]=\"errors\"></smart-input-error>\n <!-- </ion-item>-->\n}\n", styles: [".container-right{top:15%;z-index:666}\n"], dependencies: [{ kind: "component", type: InfoComponent, selector: "smart-info", inputs: ["text"] }, { kind: "component", type: LoaderComponent, selector: "smart-loader", inputs: ["show", "height"] }, { kind: "component", type: InputCurrencyComponent, selector: "smart-input-currency" }, { kind: "component", type: InputDateComponent, selector: "smart-input-date" }, { kind: "component", type: InputDateWithEditComponent, selector: "smart-input-date-with-edit" }, { kind: "component", type: InputEmailComponent, selector: "smart-input-email" }, { kind: "component", type: InputEnumComponent, selector: "smart-input-enum" }, { kind: "component", type: InputFileComponent, selector: "smart-input-file" }, { kind: "component", type: InputFlagComponent, selector: "smart-input-flag" }, { kind: "component", type: InputIntComponent, selector: "smart-input-int" }, { kind: "component", type: InputNipComponent, selector: "smart-input-nip" }, { kind: "component", type: InputPasswordComponent, selector: "smart-input-password" }, { kind: "component", type: InputRadioComponent, selector: "smart-input-radio" }, { kind: "component", type: InputTextComponent, selector: "smart-input-text" }, { kind: "component", type: InputStringsComponent, selector: "smart-input-strings" }, { kind: "component", type: InputLongTextComponent, selector: "smart-input-long-text" }, { kind: "component", type: InputAddressComponent, selector: "smart-input-address" }, { kind: "component", type: InputObjectComponent, selector: "smart-input-object" }, { kind: "component", type: InputColorComponent, selector: "smart-input-color" }, { kind: "component", type: InputLogoComponent, selector: "smart-input-logo" }, { kind: "component", type: InputCheckComponent, selector: "smart-input-check" }, { kind: "component", type: InputIntsComponent, selector: "smart-input-ints" }, { kind: "component", type: InputPhoneNumberComponent, selector: "smart-input-phone-number" }, { kind: "component", type: InputPhoneNumberPlComponent, selector: "smart-input-phone-number-pl" }, { kind: "component", type: InputPeselComponent, selector: "smart-input-pesel" }, { kind: "component", type: InputArrayComponent, selector: "smart-input-array" }, { kind: "component", type: InputPdfComponent, selector: "smart-input-pdf" }, { kind: "component", type: InputVideoComponent, selector: "smart-input-video" }, { kind: "component", type: InputAttachmentComponent, selector: "smart-input-attachment" }, { kind: "component", type: InputDateRangeComponent, selector: "smart-input-date-range" }, { kind: "component", type: InputImageComponent, selector: "smart-input-image" }, { kind: "component", type: InputFloatComponent, selector: "smart-input-float" }, { kind: "component", type: InputErrorComponent, selector: "smart-input-error", inputs: ["errors"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4578
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: InputComponent, isStandalone: true, selector: "smart-input", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "componentRef", first: true, predicate: ["componentRef"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (!fieldOptions?.hide) {\n <!-- <ion-item>-->\n <div class=\"container-right h-10 absolute right-12\">\n @if (fieldOptions?.info) {\n <smart-info [text]=\"fieldOptions?.info ?? ''\"></smart-info>\n }\n <smart-loader [show]=\"status === 'PENDING'\"></smart-loader>\n </div>\n @if (!options()?.component) {\n @switch (fieldOptions?.type) {\n @case (FieldType.currency) {\n <smart-input-currency\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-currency>\n }\n @case (FieldType.date) {\n <smart-input-date\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date>\n }\n @case (FieldType.dateWithEdit) {\n <smart-input-date-with-edit\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date-with-edit>\n }\n @case (FieldType.email) {\n <smart-input-email\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-email>\n }\n @case (FieldType.enum) {\n <smart-input-enum\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-enum>\n }\n @case (FieldType.file) {\n <smart-input-file\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-file>\n }\n @case (FieldType.flag) {\n <smart-input-flag\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-flag>\n }\n @case (FieldType.int) {\n <smart-input-int\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-int>\n }\n @case (FieldType.nip) {\n <smart-input-nip\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-nip>\n }\n @case (FieldType.password) {\n <smart-input-password\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-password>\n }\n @case (FieldType.radio) {\n <smart-input-radio\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-radio>\n }\n @case (FieldType.text) {\n <smart-input-text\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-text>\n }\n @case (FieldType.strings) {\n <smart-input-strings\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-strings>\n }\n @case (FieldType.longText) {\n <smart-input-long-text\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-long-text>\n }\n @case (FieldType.address) {\n <smart-input-address\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-address>\n }\n @case (FieldType.object) {\n <smart-input-object\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-object>\n }\n @case (FieldType.color) {\n <smart-input-color\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-color>\n }\n @case (FieldType.logo) {\n <smart-input-logo\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-logo>\n }\n @case (FieldType.check) {\n <smart-input-check\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-check>\n }\n @case (FieldType.ints) {\n <smart-input-ints\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-ints>\n }\n @case (FieldType.phoneNumber) {\n <smart-input-phone-number\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-phone-number>\n }\n @case (FieldType.phoneNumberPl) {\n <smart-input-phone-number-pl\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-phone-number-pl>\n }\n @case (FieldType.pesel) {\n <smart-input-pesel\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-pesel>\n }\n @case (FieldType.array) {\n <smart-input-array\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-array>\n }\n @case (FieldType.pdf) {\n <smart-input-pdf\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-pdf>\n }\n @case (FieldType.video) {\n <smart-input-video\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-video>\n }\n @case (FieldType.attachment) {\n <smart-input-attachment\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-attachment>\n }\n @case (FieldType.dateRange) {\n <smart-input-date-range\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date-range>\n }\n @case (FieldType.image) {\n <smart-input-image\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-image>\n }\n @case (FieldType.float) {\n <smart-input-float\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-float>\n }\n }\n }\n\n <div #componentRef></div>\n <!-- </ion-item>-->\n}\n\n@let errors = options()?.control?.errors;\n@if (errors && options()?.control?.touched) {\n <!-- <ion-item>-->\n <smart-input-error [errors]=\"errors\"></smart-input-error>\n <!-- </ion-item>-->\n}\n", styles: [".container-right{top:15%;z-index:666}\n"], dependencies: [{ kind: "component", type: InfoComponent, selector: "smart-info", inputs: ["text"] }, { kind: "component", type: LoaderComponent, selector: "smart-loader", inputs: ["show", "height"] }, { kind: "component", type: InputCurrencyComponent, selector: "smart-input-currency" }, { kind: "component", type: InputDateComponent, selector: "smart-input-date" }, { kind: "component", type: InputDateWithEditComponent, selector: "smart-input-date-with-edit" }, { kind: "component", type: InputEmailComponent, selector: "smart-input-email" }, { kind: "component", type: InputEnumComponent, selector: "smart-input-enum" }, { kind: "component", type: InputFileComponent, selector: "smart-input-file" }, { kind: "component", type: InputFlagComponent, selector: "smart-input-flag" }, { kind: "component", type: InputIntComponent, selector: "smart-input-int" }, { kind: "component", type: InputNipComponent, selector: "smart-input-nip" }, { kind: "component", type: InputPasswordComponent, selector: "smart-input-password" }, { kind: "component", type: InputRadioComponent, selector: "smart-input-radio" }, { kind: "component", type: InputTextComponent, selector: "smart-input-text" }, { kind: "component", type: InputStringsComponent, selector: "smart-input-strings" }, { kind: "component", type: InputLongTextComponent, selector: "smart-input-long-text" }, { kind: "component", type: InputAddressComponent, selector: "smart-input-address" }, { kind: "component", type: InputObjectComponent, selector: "smart-input-object" }, { kind: "component", type: InputColorComponent, selector: "smart-input-color" }, { kind: "component", type: InputLogoComponent, selector: "smart-input-logo" }, { kind: "component", type: InputCheckComponent, selector: "smart-input-check" }, { kind: "component", type: InputIntsComponent, selector: "smart-input-ints" }, { kind: "component", type: InputPhoneNumberComponent, selector: "smart-input-phone-number" }, { kind: "component", type: InputPhoneNumberPlComponent, selector: "smart-input-phone-number-pl" }, { kind: "component", type: InputPeselComponent, selector: "smart-input-pesel" }, { kind: "component", type: InputArrayComponent, selector: "smart-input-array" }, { kind: "component", type: InputPdfComponent, selector: "smart-input-pdf" }, { kind: "component", type: InputVideoComponent, selector: "smart-input-video" }, { kind: "component", type: InputAttachmentComponent, selector: "smart-input-attachment" }, { kind: "component", type: InputDateRangeComponent, selector: "smart-input-date-range" }, { kind: "component", type: InputImageComponent, selector: "smart-input-image" }, { kind: "component", type: InputFloatComponent, selector: "smart-input-float" }, { kind: "component", type: InputErrorComponent, selector: "smart-input-error", inputs: ["errors"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4579
4579
|
}
|
|
4580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InputComponent, decorators: [{
|
|
4581
4581
|
type: Component,
|
|
4582
4582
|
args: [{ selector: 'smart-input', imports: [
|
|
4583
4583
|
InfoComponent,
|
|
@@ -4614,7 +4614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
4614
4614
|
InputFloatComponent,
|
|
4615
4615
|
InputErrorComponent,
|
|
4616
4616
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (!fieldOptions?.hide) {\n <!-- <ion-item>-->\n <div class=\"container-right h-10 absolute right-12\">\n @if (fieldOptions?.info) {\n <smart-info [text]=\"fieldOptions?.info ?? ''\"></smart-info>\n }\n <smart-loader [show]=\"status === 'PENDING'\"></smart-loader>\n </div>\n @if (!options()?.component) {\n @switch (fieldOptions?.type) {\n @case (FieldType.currency) {\n <smart-input-currency\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-currency>\n }\n @case (FieldType.date) {\n <smart-input-date\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date>\n }\n @case (FieldType.dateWithEdit) {\n <smart-input-date-with-edit\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date-with-edit>\n }\n @case (FieldType.email) {\n <smart-input-email\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-email>\n }\n @case (FieldType.enum) {\n <smart-input-enum\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-enum>\n }\n @case (FieldType.file) {\n <smart-input-file\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-file>\n }\n @case (FieldType.flag) {\n <smart-input-flag\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-flag>\n }\n @case (FieldType.int) {\n <smart-input-int\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-int>\n }\n @case (FieldType.nip) {\n <smart-input-nip\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-nip>\n }\n @case (FieldType.password) {\n <smart-input-password\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-password>\n }\n @case (FieldType.radio) {\n <smart-input-radio\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-radio>\n }\n @case (FieldType.text) {\n <smart-input-text\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-text>\n }\n @case (FieldType.strings) {\n <smart-input-strings\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-strings>\n }\n @case (FieldType.longText) {\n <smart-input-long-text\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-long-text>\n }\n @case (FieldType.address) {\n <smart-input-address\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-address>\n }\n @case (FieldType.object) {\n <smart-input-object\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-object>\n }\n @case (FieldType.color) {\n <smart-input-color\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-color>\n }\n @case (FieldType.logo) {\n <smart-input-logo\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-logo>\n }\n @case (FieldType.check) {\n <smart-input-check\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-check>\n }\n @case (FieldType.ints) {\n <smart-input-ints\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-ints>\n }\n @case (FieldType.phoneNumber) {\n <smart-input-phone-number\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-phone-number>\n }\n @case (FieldType.phoneNumberPl) {\n <smart-input-phone-number-pl\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-phone-number-pl>\n }\n @case (FieldType.pesel) {\n <smart-input-pesel\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-pesel>\n }\n @case (FieldType.array) {\n <smart-input-array\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-array>\n }\n @case (FieldType.pdf) {\n <smart-input-pdf\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-pdf>\n }\n @case (FieldType.video) {\n <smart-input-video\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-video>\n }\n @case (FieldType.attachment) {\n <smart-input-attachment\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-attachment>\n }\n @case (FieldType.dateRange) {\n <smart-input-date-range\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-date-range>\n }\n @case (FieldType.image) {\n <smart-input-image\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-image>\n }\n @case (FieldType.float) {\n <smart-input-float\n class=\"w-full px-5\"\n [options]=\"options()\"\n [fieldOptions]=\"fieldOptions\"\n ></smart-input-float>\n }\n }\n }\n\n <div #componentRef></div>\n <!-- </ion-item>-->\n}\n\n@let errors = options()?.control?.errors;\n@if (errors && options()?.control?.touched) {\n <!-- <ion-item>-->\n <smart-input-error [errors]=\"errors\"></smart-input-error>\n <!-- </ion-item>-->\n}\n", styles: [".container-right{top:15%;z-index:666}\n"] }]
|
|
4617
|
-
}], ctorParameters: () => [] });
|
|
4617
|
+
}], ctorParameters: () => [], propDecorators: { componentRef: [{ type: i0.ViewChild, args: ['componentRef', { isSignal: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }] } });
|
|
4618
4618
|
|
|
4619
4619
|
class FormBaseComponent extends BaseComponent {
|
|
4620
4620
|
cd = inject(ChangeDetectorRef);
|
|
@@ -4679,19 +4679,19 @@ class FormBaseComponent extends BaseComponent {
|
|
|
4679
4679
|
getUntypedFormControl(field) {
|
|
4680
4680
|
return this.form().controls[field];
|
|
4681
4681
|
}
|
|
4682
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4683
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
4682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4683
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: FormBaseComponent, isStandalone: true, inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { invokeSubmit: "invokeSubmit" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ViewContainerRef, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
4684
4684
|
}
|
|
4685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormBaseComponent, decorators: [{
|
|
4686
4686
|
type: Directive
|
|
4687
|
-
}], ctorParameters: () => [] });
|
|
4687
|
+
}], ctorParameters: () => [], propDecorators: { form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], invokeSubmit: [{ type: i0.Output, args: ["invokeSubmit"] }], contentTpl: [{ type: i0.ViewChild, args: [i0.forwardRef(() => ViewContainerRef), { isSignal: true }] }] } });
|
|
4688
4688
|
|
|
4689
4689
|
class FormStandardComponent extends FormBaseComponent {
|
|
4690
4690
|
get__smartDisabled(field) {
|
|
4691
4691
|
return this.form().controls[field]['__smartDisabled'];
|
|
4692
4692
|
}
|
|
4693
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4694
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4693
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4694
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: FormStandardComponent, isStandalone: true, selector: "smart-form-standard", usesInheritance: true, ngImport: i0, template: `
|
|
4695
4695
|
<!--<ion-list class="w-full m-0">-->
|
|
4696
4696
|
@for (field of fields; track field) {
|
|
4697
4697
|
@if (form().controls[field] && !get__smartDisabled(field)) {
|
|
@@ -4711,7 +4711,7 @@ class FormStandardComponent extends FormBaseComponent {
|
|
|
4711
4711
|
<!--</ion-list>-->
|
|
4712
4712
|
`, isInline: true, dependencies: [{ kind: "component", type: InputComponent, selector: "smart-input", inputs: ["options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4713
4713
|
}
|
|
4714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormStandardComponent, decorators: [{
|
|
4715
4715
|
type: Component,
|
|
4716
4716
|
args: [{
|
|
4717
4717
|
selector: 'smart-form-standard',
|
|
@@ -4881,8 +4881,8 @@ class FormComponent extends CreateDynamicComponent('form') {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
this.cd.detectChanges();
|
|
4883
4883
|
}
|
|
4884
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4885
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4885
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: FormComponent, isStandalone: true, selector: "smart-form", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { invokeSubmit: "invokeSubmit", valueChange: "valueChange", valuePartialChange: "valuePartialChange", validChange: "validChange" }, viewQueries: [{ propertyName: "customTpl", first: true, predicate: ViewContainerRef, descendants: true, isSignal: true }, { propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4886
4886
|
@if (export || import) {
|
|
4887
4887
|
<div style="text-align: right">
|
|
4888
4888
|
@if (export) {
|
|
@@ -4918,9 +4918,9 @@ class FormComponent extends CreateDynamicComponent('form') {
|
|
|
4918
4918
|
<div class="dynamic-content"></div>
|
|
4919
4919
|
</form>
|
|
4920
4920
|
}
|
|
4921
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ExportComponent, selector: "smart-export", inputs: ["value", "fileName", "handler"] }, { kind: "component", type: ImportComponent, selector: "smart-import", inputs: ["accept"], outputs: ["set"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormStandardComponent, selector: "smart-form-standard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4921
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ExportComponent, selector: "smart-export", inputs: ["value", "fileName", "handler"] }, { kind: "component", type: ImportComponent, selector: "smart-import", inputs: ["accept"], outputs: ["set"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormStandardComponent, selector: "smart-form-standard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4922
4922
|
}
|
|
4923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FormComponent, decorators: [{
|
|
4924
4924
|
type: Component,
|
|
4925
4925
|
args: [{
|
|
4926
4926
|
selector: 'smart-form',
|
|
@@ -4969,7 +4969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
4969
4969
|
],
|
|
4970
4970
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4971
4971
|
}]
|
|
4972
|
-
}], ctorParameters: () => [] });
|
|
4972
|
+
}], ctorParameters: () => [], propDecorators: { customTpl: [{ type: i0.ViewChild, args: [i0.forwardRef(() => ViewContainerRef), { isSignal: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], invokeSubmit: [{ type: i0.Output, args: ["invokeSubmit"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], valuePartialChange: [{ type: i0.Output, args: ["valuePartialChange"] }], validChange: [{ type: i0.Output, args: ["validChange"] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], dynamicContents: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => DynamicContentDirective), { isSignal: true }] }] } });
|
|
4973
4973
|
|
|
4974
4974
|
class SearchbarComponent {
|
|
4975
4975
|
_subscriptions = new Subscription();
|
|
@@ -5013,8 +5013,8 @@ class SearchbarComponent {
|
|
|
5013
5013
|
this._subscriptions.unsubscribe();
|
|
5014
5014
|
}
|
|
5015
5015
|
}
|
|
5016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5017
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5016
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SearchbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5017
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: SearchbarComponent, isStandalone: true, selector: "smart-searchbar", inputs: { show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { show: "showChange", text: "textChange" }, ngImport: i0, template: `
|
|
5018
5018
|
@if (control() && show()) {
|
|
5019
5019
|
<!-- <ion-searchbar-->
|
|
5020
5020
|
<!-- #searchbar-->
|
|
@@ -5035,7 +5035,7 @@ class SearchbarComponent {
|
|
|
5035
5035
|
}
|
|
5036
5036
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5037
5037
|
}
|
|
5038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SearchbarComponent, decorators: [{
|
|
5039
5039
|
type: Component,
|
|
5040
5040
|
args: [{ selector: 'smart-searchbar', template: `
|
|
5041
5041
|
@if (control() && show()) {
|
|
@@ -5057,7 +5057,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5057
5057
|
<!-- </ion-button>-->
|
|
5058
5058
|
}
|
|
5059
5059
|
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, TranslatePipe] }]
|
|
5060
|
-
}], ctorParameters: () => [] });
|
|
5060
|
+
}], ctorParameters: () => [], propDecorators: { show: [{ type: i0.Input, args: [{ isSignal: true, alias: "show", required: false }] }, { type: i0.Output, args: ["showChange"] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }, { type: i0.Output, args: ["textChange"] }] } });
|
|
5061
5061
|
|
|
5062
5062
|
class PageBaseComponent {
|
|
5063
5063
|
el = inject(ElementRef);
|
|
@@ -5093,18 +5093,18 @@ class PageBaseComponent {
|
|
|
5093
5093
|
this._subscriptions.unsubscribe();
|
|
5094
5094
|
}
|
|
5095
5095
|
}
|
|
5096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5097
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
5096
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5097
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: PageBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }], ngImport: i0 });
|
|
5098
5098
|
}
|
|
5099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageBaseComponent, decorators: [{
|
|
5100
5100
|
type: Directive
|
|
5101
|
-
}] });
|
|
5101
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }] } });
|
|
5102
5102
|
|
|
5103
5103
|
class PageStandardComponent extends PageBaseComponent {
|
|
5104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5105
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5105
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: PageStandardComponent, isStandalone: true, selector: "smart-page-standard", usesInheritance: true, ngImport: i0, template: "<!--<ion-header [hidden]=\"!options || options.hideHeader\">-->\n<!-- <ion-toolbar>-->\n<!-- <ion-buttons slot=\"start\">-->\n<!-- <ion-menu-button-->\n<!-- [hidden]=\"!options || options.hideMenuButton\"-->\n<!-- ></ion-menu-button>-->\n@if (options()?.showBackButton) {\n <!-- <ion-button (click)=\"back()\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"arrow-back\"> </ion-icon>-->\n <!-- </ion-button>-->\n}\n<!-- </ion-buttons>-->\n<!-- <ion-title [innerHTML]=\"options?.title ?? '' | translate\"></ion-title>-->\n\n<!-- <ion-buttons slot=\"end\">-->\n@let search = options()?.search;\n@if (search) {\n <smart-searchbar\n [text]=\"search.text() ?? null\"\n (textChange)=\"search.set($event)\"\n ></smart-searchbar>\n}\n\n@if (options()?.endButtons) {\n @for (btn of options()!.endButtons; track btn.number) {\n @if (btn.type === 'popover') {\n <!-- <ion-button-->\n <!-- (click)=\"presentPopover($event, btn)\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n } @else {\n <!-- <ion-button-->\n <!-- (click)=\"btn?.handler?.()\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n }\n }\n}\n\n@for (btn of appService.endButtons$ | async; track btn.number) {\n @if (btn.type === 'popover') {\n <!-- <ion-button-->\n <!-- (click)=\"presentPopover($event, btn)\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n } @else {\n <!-- <ion-button-->\n <!-- (click)=\"btn?.handler?.()\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n }\n}\n<!-- </ion-buttons>-->\n<!-- </ion-toolbar>-->\n<!--</ion-header>-->\n<!--<ion-content scroll>-->\n<ng-content></ng-content>\n<!--</ion-content>-->\n\n<ng-template #btnContent let-btn=\"btn\">\n @if (!isMobile && btn.text) {\n <!-- <ion-icon slot=\"start\" [name]=\"btn.icon\"></ion-icon>-->\n {{ btn.text | translate }}\n @if (btn.number) {\n <!--<ion-badge class=\"absolute top-5 -right-1 opacity-90\" color=\"primary\">-->{{\n btn.number\n }}<!--</ion-badge>-->\n }\n } @else if (isMobile || !btn.text) {\n <!-- <ion-icon slot=\"icon-only\" [name]=\"btn.icon\"></ion-icon>-->\n @if (btn.number) {\n <!--<ion-badge class=\"absolute top-5 -right-1 opacity-90\" color=\"primary\">-->{{\n btn.number\n }}<!--</ion-badge>-->\n }\n }\n</ng-template>\n", dependencies: [{ kind: "component", type: SearchbarComponent, selector: "smart-searchbar", inputs: ["show", "text"], outputs: ["showChange", "textChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5106
5106
|
}
|
|
5107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageStandardComponent, decorators: [{
|
|
5108
5108
|
type: Component,
|
|
5109
5109
|
args: [{ selector: 'smart-page-standard', imports: [TranslatePipe, SearchbarComponent, AsyncPipe, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--<ion-header [hidden]=\"!options || options.hideHeader\">-->\n<!-- <ion-toolbar>-->\n<!-- <ion-buttons slot=\"start\">-->\n<!-- <ion-menu-button-->\n<!-- [hidden]=\"!options || options.hideMenuButton\"-->\n<!-- ></ion-menu-button>-->\n@if (options()?.showBackButton) {\n <!-- <ion-button (click)=\"back()\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"arrow-back\"> </ion-icon>-->\n <!-- </ion-button>-->\n}\n<!-- </ion-buttons>-->\n<!-- <ion-title [innerHTML]=\"options?.title ?? '' | translate\"></ion-title>-->\n\n<!-- <ion-buttons slot=\"end\">-->\n@let search = options()?.search;\n@if (search) {\n <smart-searchbar\n [text]=\"search.text() ?? null\"\n (textChange)=\"search.set($event)\"\n ></smart-searchbar>\n}\n\n@if (options()?.endButtons) {\n @for (btn of options()!.endButtons; track btn.number) {\n @if (btn.type === 'popover') {\n <!-- <ion-button-->\n <!-- (click)=\"presentPopover($event, btn)\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n } @else {\n <!-- <ion-button-->\n <!-- (click)=\"btn?.handler?.()\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n }\n }\n}\n\n@for (btn of appService.endButtons$ | async; track btn.number) {\n @if (btn.type === 'popover') {\n <!-- <ion-button-->\n <!-- (click)=\"presentPopover($event, btn)\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n } @else {\n <!-- <ion-button-->\n <!-- (click)=\"btn?.handler?.()\"-->\n <!-- [disabled]=\"btn.disabled$ | async\"-->\n <!-- >-->\n <ng-container\n [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n <!-- </ion-button>-->\n }\n}\n<!-- </ion-buttons>-->\n<!-- </ion-toolbar>-->\n<!--</ion-header>-->\n<!--<ion-content scroll>-->\n<ng-content></ng-content>\n<!--</ion-content>-->\n\n<ng-template #btnContent let-btn=\"btn\">\n @if (!isMobile && btn.text) {\n <!-- <ion-icon slot=\"start\" [name]=\"btn.icon\"></ion-icon>-->\n {{ btn.text | translate }}\n @if (btn.number) {\n <!--<ion-badge class=\"absolute top-5 -right-1 opacity-90\" color=\"primary\">-->{{\n btn.number\n }}<!--</ion-badge>-->\n }\n } @else if (isMobile || !btn.text) {\n <!-- <ion-icon slot=\"icon-only\" [name]=\"btn.icon\"></ion-icon>-->\n @if (btn.number) {\n <!--<ion-badge class=\"absolute top-5 -right-1 opacity-90\" color=\"primary\">-->{{\n btn.number\n }}<!--</ion-badge>-->\n }\n }\n</ng-template>\n" }]
|
|
5110
5110
|
}] });
|
|
@@ -5128,8 +5128,8 @@ class PageComponent extends CreateDynamicComponent('page') {
|
|
|
5128
5128
|
refreshProperties() {
|
|
5129
5129
|
this.baseInstance.options = this.options;
|
|
5130
5130
|
}
|
|
5131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5132
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5132
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: PageComponent, isStandalone: true, selector: "smart-page", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5133
5133
|
@if (template() === 'default') {
|
|
5134
5134
|
<smart-page-standard [options]="options()">
|
|
5135
5135
|
<ng-container [ngTemplateOutlet]="contentTpl"></ng-container>
|
|
@@ -5141,7 +5141,7 @@ class PageComponent extends CreateDynamicComponent('page') {
|
|
|
5141
5141
|
<div class="dynamic-content"></div>
|
|
5142
5142
|
`, isInline: true, dependencies: [{ kind: "component", type: PageStandardComponent, selector: "smart-page-standard" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5143
5143
|
}
|
|
5144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageComponent, decorators: [{
|
|
5145
5145
|
type: Component,
|
|
5146
5146
|
args: [{
|
|
5147
5147
|
selector: 'smart-page',
|
|
@@ -5159,12 +5159,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5159
5159
|
imports: [PageStandardComponent, NgTemplateOutlet],
|
|
5160
5160
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5161
5161
|
}]
|
|
5162
|
-
}], ctorParameters: () => [] });
|
|
5162
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], dynamicContents: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => DynamicContentDirective), { isSignal: true }] }] } });
|
|
5163
5163
|
|
|
5164
5164
|
class CardComponent {
|
|
5165
5165
|
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5167
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5167
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: CardComponent, isStandalone: true, selector: "smart-card", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
5168
5168
|
<!-- <ion-card class="ion-padding">-->
|
|
5169
5169
|
@let title = options()?.title;
|
|
5170
5170
|
@let buttons = options()?.buttons;
|
|
@@ -5193,7 +5193,7 @@ class CardComponent {
|
|
|
5193
5193
|
<!-- </ion-card>-->
|
|
5194
5194
|
`, isInline: true });
|
|
5195
5195
|
}
|
|
5196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CardComponent, decorators: [{
|
|
5197
5197
|
type: Component,
|
|
5198
5198
|
args: [{
|
|
5199
5199
|
selector: 'smart-card',
|
|
@@ -5226,7 +5226,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5226
5226
|
<!-- </ion-card>-->
|
|
5227
5227
|
`,
|
|
5228
5228
|
}]
|
|
5229
|
-
}] });
|
|
5229
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }] } });
|
|
5230
5230
|
|
|
5231
5231
|
class DetailBaseComponent {
|
|
5232
5232
|
cd = inject(ChangeDetectorRef);
|
|
@@ -5241,12 +5241,12 @@ class DetailBaseComponent {
|
|
|
5241
5241
|
afterSetOptionsHandler() {
|
|
5242
5242
|
// no base functionality
|
|
5243
5243
|
}
|
|
5244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5245
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5245
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: DetailBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
5246
5246
|
}
|
|
5247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailBaseComponent, decorators: [{
|
|
5248
5248
|
type: Directive
|
|
5249
|
-
}], ctorParameters: () => [] });
|
|
5249
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }] } });
|
|
5250
5250
|
|
|
5251
5251
|
class DetailAddressComponent extends DetailBaseComponent {
|
|
5252
5252
|
thisAddress;
|
|
@@ -5259,8 +5259,8 @@ class DetailAddressComponent extends DetailBaseComponent {
|
|
|
5259
5259
|
}, ...(ngDevMode ? [{ debugName: "thisAddress" }] : []));
|
|
5260
5260
|
}
|
|
5261
5261
|
}
|
|
5262
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5263
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5262
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailAddressComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5263
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailAddressComponent, isStandalone: true, selector: "smart-detail-address", usesInheritance: true, ngImport: i0, template: `
|
|
5264
5264
|
@let address = thisAddress();
|
|
5265
5265
|
@if (address) {
|
|
5266
5266
|
<p>
|
|
@@ -5275,7 +5275,7 @@ class DetailAddressComponent extends DetailBaseComponent {
|
|
|
5275
5275
|
}
|
|
5276
5276
|
`, isInline: true });
|
|
5277
5277
|
}
|
|
5278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailAddressComponent, decorators: [{
|
|
5279
5279
|
type: Component,
|
|
5280
5280
|
args: [{
|
|
5281
5281
|
selector: 'smart-detail-address',
|
|
@@ -5315,8 +5315,8 @@ class DetailArrayComponent extends DetailBaseComponent {
|
|
|
5315
5315
|
}, ...(ngDevMode ? [{ debugName: "childOptions" }] : []));
|
|
5316
5316
|
}
|
|
5317
5317
|
}
|
|
5318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5319
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailArrayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5319
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailArrayComponent, isStandalone: true, selector: "smart-detail-array", usesInheritance: true, ngImport: i0, template: `
|
|
5320
5320
|
<br />
|
|
5321
5321
|
@let options = childOptions();
|
|
5322
5322
|
@if (options) {
|
|
@@ -5327,9 +5327,9 @@ class DetailArrayComponent extends DetailBaseComponent {
|
|
|
5327
5327
|
></ng-template>
|
|
5328
5328
|
}
|
|
5329
5329
|
}
|
|
5330
|
-
`, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"
|
|
5330
|
+
`, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: DynamicIoDirective, selector: "[ndcDynamicInputs],[ndcDynamicOutputs]", inputs: ["ndcDynamicInputs", "ndcDynamicOutputs"], exportAs: ["ndcDynamicIo"] }] });
|
|
5331
5331
|
}
|
|
5332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailArrayComponent, decorators: [{
|
|
5333
5333
|
type: Component,
|
|
5334
5334
|
args: [{ selector: 'smart-detail-array', template: `
|
|
5335
5335
|
<br />
|
|
@@ -5357,8 +5357,8 @@ class DetailAttachmentComponent extends DetailBaseComponent {
|
|
|
5357
5357
|
},
|
|
5358
5358
|
};
|
|
5359
5359
|
}
|
|
5360
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5361
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailAttachmentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5361
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailAttachmentComponent, isStandalone: true, selector: "smart-detail-attachment", usesInheritance: true, ngImport: i0, template: `
|
|
5362
5362
|
@let item = options()?.item?.();
|
|
5363
5363
|
@if (item && options()?.key) {
|
|
5364
5364
|
<smart-button [options]="getButtonOptions(item)">
|
|
@@ -5367,7 +5367,7 @@ class DetailAttachmentComponent extends DetailBaseComponent {
|
|
|
5367
5367
|
}
|
|
5368
5368
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
5369
5369
|
}
|
|
5370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailAttachmentComponent, decorators: [{
|
|
5371
5371
|
type: Component,
|
|
5372
5372
|
args: [{
|
|
5373
5373
|
selector: 'smart-detail-attachment',
|
|
@@ -5384,8 +5384,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5384
5384
|
}] });
|
|
5385
5385
|
|
|
5386
5386
|
class DetailColorComponent extends DetailBaseComponent {
|
|
5387
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5388
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailColorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5388
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailColorComponent, isStandalone: true, selector: "smart-detail-color", usesInheritance: true, ngImport: i0, template: `
|
|
5389
5389
|
@let item = options()?.item();
|
|
5390
5390
|
@let key = options()?.key;
|
|
5391
5391
|
@if (item && key) {
|
|
@@ -5399,7 +5399,7 @@ class DetailColorComponent extends DetailBaseComponent {
|
|
|
5399
5399
|
}
|
|
5400
5400
|
`, isInline: true });
|
|
5401
5401
|
}
|
|
5402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailColorComponent, decorators: [{
|
|
5403
5403
|
type: Component,
|
|
5404
5404
|
args: [{ selector: 'smart-detail-color', template: `
|
|
5405
5405
|
@let item = options()?.item();
|
|
@@ -5417,8 +5417,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5417
5417
|
}] });
|
|
5418
5418
|
|
|
5419
5419
|
class DetailDateRangeComponent extends DetailBaseComponent {
|
|
5420
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5421
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailDateRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5421
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailDateRangeComponent, isStandalone: true, selector: "smart-detail-date-range", usesInheritance: true, ngImport: i0, template: `
|
|
5422
5422
|
@let item = options()?.item?.();
|
|
5423
5423
|
@let key = options()?.key;
|
|
5424
5424
|
@if (item && key) {
|
|
@@ -5431,7 +5431,7 @@ class DetailDateRangeComponent extends DetailBaseComponent {
|
|
|
5431
5431
|
}
|
|
5432
5432
|
`, isInline: true });
|
|
5433
5433
|
}
|
|
5434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailDateRangeComponent, decorators: [{
|
|
5435
5435
|
type: Component,
|
|
5436
5436
|
args: [{
|
|
5437
5437
|
selector: 'smart-detail-date-range',
|
|
@@ -5451,8 +5451,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5451
5451
|
}] });
|
|
5452
5452
|
|
|
5453
5453
|
class DetailEmailComponent extends DetailBaseComponent {
|
|
5454
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5455
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5455
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailEmailComponent, isStandalone: true, selector: "smart-detail-email", usesInheritance: true, ngImport: i0, template: `
|
|
5456
5456
|
<p>
|
|
5457
5457
|
@let item = options()?.item?.();
|
|
5458
5458
|
@let key = options()?.key;
|
|
@@ -5462,7 +5462,7 @@ class DetailEmailComponent extends DetailBaseComponent {
|
|
|
5462
5462
|
</p>
|
|
5463
5463
|
`, isInline: true });
|
|
5464
5464
|
}
|
|
5465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailEmailComponent, decorators: [{
|
|
5466
5466
|
type: Component,
|
|
5467
5467
|
args: [{
|
|
5468
5468
|
selector: 'smart-detail-email',
|
|
@@ -5483,8 +5483,8 @@ class DetailEnumComponent extends DetailBaseComponent {
|
|
|
5483
5483
|
const value = item?.[key] ?? [];
|
|
5484
5484
|
return (Array.isArray(value) ? value : [value]).map((v) => String(v));
|
|
5485
5485
|
}
|
|
5486
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5487
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailEnumComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5487
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailEnumComponent, isStandalone: true, selector: "smart-detail-enum", usesInheritance: true, ngImport: i0, template: `
|
|
5488
5488
|
@let item = options()?.item?.();
|
|
5489
5489
|
@let key = options()?.key;
|
|
5490
5490
|
@if (item && key) {
|
|
@@ -5499,7 +5499,7 @@ class DetailEnumComponent extends DetailBaseComponent {
|
|
|
5499
5499
|
}
|
|
5500
5500
|
`, isInline: true, dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
5501
5501
|
}
|
|
5502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailEnumComponent, decorators: [{
|
|
5503
5503
|
type: Component,
|
|
5504
5504
|
args: [{
|
|
5505
5505
|
selector: 'smart-detail-enum',
|
|
@@ -5522,8 +5522,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5522
5522
|
}] });
|
|
5523
5523
|
|
|
5524
5524
|
class DetailFlagComponent extends DetailBaseComponent {
|
|
5525
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5526
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5525
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailFlagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5526
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailFlagComponent, isStandalone: true, selector: "smart-detail-flag", usesInheritance: true, ngImport: i0, template: `
|
|
5527
5527
|
@let item = options()?.item?.();
|
|
5528
5528
|
@let key = options()?.key;
|
|
5529
5529
|
@if (item && key) {
|
|
@@ -5534,7 +5534,7 @@ class DetailFlagComponent extends DetailBaseComponent {
|
|
|
5534
5534
|
}
|
|
5535
5535
|
`, isInline: true });
|
|
5536
5536
|
}
|
|
5537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailFlagComponent, decorators: [{
|
|
5538
5538
|
type: Component,
|
|
5539
5539
|
args: [{
|
|
5540
5540
|
selector: 'smart-detail-flag',
|
|
@@ -5565,8 +5565,8 @@ class DetailImageComponent extends DetailBaseComponent {
|
|
|
5565
5565
|
}, ...(ngDevMode ? [{ debugName: "imageUrl" }] : []));
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5569
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailImageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5569
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailImageComponent, isStandalone: true, selector: "smart-detail-image", usesInheritance: true, ngImport: i0, template: `
|
|
5570
5570
|
<!-- <ion-card>-->
|
|
5571
5571
|
@let url = imageUrl();
|
|
5572
5572
|
@if (url) {
|
|
@@ -5578,7 +5578,7 @@ class DetailImageComponent extends DetailBaseComponent {
|
|
|
5578
5578
|
<!-- </ion-card>-->
|
|
5579
5579
|
`, isInline: true });
|
|
5580
5580
|
}
|
|
5581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailImageComponent, decorators: [{
|
|
5582
5582
|
type: Component,
|
|
5583
5583
|
args: [{
|
|
5584
5584
|
selector: 'smart-detail-image',
|
|
@@ -5597,8 +5597,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5597
5597
|
}] });
|
|
5598
5598
|
|
|
5599
5599
|
class DetailLogoComponent extends DetailBaseComponent {
|
|
5600
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5601
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailLogoComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5601
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailLogoComponent, isStandalone: true, selector: "smart-detail-logo", usesInheritance: true, ngImport: i0, template: `
|
|
5602
5602
|
<!-- <ion-card>-->
|
|
5603
5603
|
@let item = options()?.item?.();
|
|
5604
5604
|
@if (item && options()?.key) {
|
|
@@ -5610,7 +5610,7 @@ class DetailLogoComponent extends DetailBaseComponent {
|
|
|
5610
5610
|
<!-- </ion-card>-->
|
|
5611
5611
|
`, isInline: true });
|
|
5612
5612
|
}
|
|
5613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailLogoComponent, decorators: [{
|
|
5614
5614
|
type: Component,
|
|
5615
5615
|
args: [{
|
|
5616
5616
|
selector: 'smart-detail-logo',
|
|
@@ -5648,8 +5648,8 @@ class DetailObjectComponent extends DetailBaseComponent {
|
|
|
5648
5648
|
}, ...(ngDevMode ? [{ debugName: "childOptions" }] : []));
|
|
5649
5649
|
}
|
|
5650
5650
|
}
|
|
5651
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5652
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5651
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailObjectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5652
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailObjectComponent, isStandalone: true, selector: "smart-detail-object", usesInheritance: true, ngImport: i0, template: `
|
|
5653
5653
|
<br />
|
|
5654
5654
|
@let options = childOptions();
|
|
5655
5655
|
@if (options) {
|
|
@@ -5658,9 +5658,9 @@ class DetailObjectComponent extends DetailBaseComponent {
|
|
|
5658
5658
|
[ndcDynamicInputs]="{ options }"
|
|
5659
5659
|
></ng-template>
|
|
5660
5660
|
}
|
|
5661
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"
|
|
5661
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: DynamicIoDirective, selector: "[ndcDynamicInputs],[ndcDynamicOutputs]", inputs: ["ndcDynamicInputs", "ndcDynamicOutputs"], exportAs: ["ndcDynamicIo"] }] });
|
|
5662
5662
|
}
|
|
5663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailObjectComponent, decorators: [{
|
|
5664
5664
|
type: Component,
|
|
5665
5665
|
args: [{
|
|
5666
5666
|
selector: 'smart-detail-object',
|
|
@@ -5690,8 +5690,8 @@ class DetailPdfComponent extends DetailBaseComponent {
|
|
|
5690
5690
|
},
|
|
5691
5691
|
};
|
|
5692
5692
|
}
|
|
5693
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5694
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5693
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailPdfComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5694
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailPdfComponent, isStandalone: true, selector: "smart-detail-pdf", usesInheritance: true, ngImport: i0, template: `
|
|
5695
5695
|
@let item = options()?.item?.();
|
|
5696
5696
|
@if (item && options()?.key) {
|
|
5697
5697
|
<smart-button [options]="getButtonOptions(item)">
|
|
@@ -5700,7 +5700,7 @@ class DetailPdfComponent extends DetailBaseComponent {
|
|
|
5700
5700
|
}
|
|
5701
5701
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
5702
5702
|
}
|
|
5703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailPdfComponent, decorators: [{
|
|
5704
5704
|
type: Component,
|
|
5705
5705
|
args: [{
|
|
5706
5706
|
selector: 'smart-detail-pdf',
|
|
@@ -5717,8 +5717,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5717
5717
|
}] });
|
|
5718
5718
|
|
|
5719
5719
|
class DetailPhoneNumberPlComponent extends DetailBaseComponent {
|
|
5720
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5721
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5720
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailPhoneNumberPlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5721
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailPhoneNumberPlComponent, isStandalone: true, selector: "smart-detail-phone-number-pl", usesInheritance: true, ngImport: i0, template: `
|
|
5722
5722
|
<!-- <ion-row>-->
|
|
5723
5723
|
<!-- <ion-col size="auto">-->
|
|
5724
5724
|
<!--<ion-chip>-->48<!--</ion-chip>-->
|
|
@@ -5738,7 +5738,7 @@ class DetailPhoneNumberPlComponent extends DetailBaseComponent {
|
|
|
5738
5738
|
<!-- </ion-row>-->
|
|
5739
5739
|
`, isInline: true, dependencies: [{ kind: "pipe", type: ListCellPipe, name: "smartListCell" }] });
|
|
5740
5740
|
}
|
|
5741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailPhoneNumberPlComponent, decorators: [{
|
|
5742
5742
|
type: Component,
|
|
5743
5743
|
args: [{
|
|
5744
5744
|
selector: 'smart-detail-phone-number-pl',
|
|
@@ -5766,8 +5766,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5766
5766
|
}] });
|
|
5767
5767
|
|
|
5768
5768
|
class DetailTextComponent extends DetailBaseComponent {
|
|
5769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5770
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5770
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailTextComponent, isStandalone: true, selector: "smart-detail-text", usesInheritance: true, ngImport: i0, template: `
|
|
5771
5771
|
@let item = options()?.item?.();
|
|
5772
5772
|
@let key = options()?.key;
|
|
5773
5773
|
@if (item && key) {
|
|
@@ -5780,7 +5780,7 @@ class DetailTextComponent extends DetailBaseComponent {
|
|
|
5780
5780
|
}
|
|
5781
5781
|
`, isInline: true, dependencies: [{ kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: TrustHtmlPipe, name: "smartTrustHtml" }] });
|
|
5782
5782
|
}
|
|
5783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailTextComponent, decorators: [{
|
|
5784
5784
|
type: Component,
|
|
5785
5785
|
args: [{
|
|
5786
5786
|
selector: 'smart-detail-text',
|
|
@@ -5809,8 +5809,8 @@ class DetailVideoComponent extends DetailBaseComponent {
|
|
|
5809
5809
|
}
|
|
5810
5810
|
return null;
|
|
5811
5811
|
}
|
|
5812
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5813
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5812
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailVideoComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5813
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailVideoComponent, isStandalone: true, selector: "smart-detail-video", usesInheritance: true, ngImport: i0, template: `
|
|
5814
5814
|
@let item = options()?.item?.();
|
|
5815
5815
|
@if (item && options()?.key) {
|
|
5816
5816
|
<video style="width: 100%" controls controlsList="nodownload">
|
|
@@ -5820,7 +5820,7 @@ class DetailVideoComponent extends DetailBaseComponent {
|
|
|
5820
5820
|
}
|
|
5821
5821
|
`, isInline: true });
|
|
5822
5822
|
}
|
|
5823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailVideoComponent, decorators: [{
|
|
5824
5824
|
type: Component,
|
|
5825
5825
|
args: [{
|
|
5826
5826
|
selector: 'smart-detail-video',
|
|
@@ -5840,10 +5840,10 @@ class DetailComponent {
|
|
|
5840
5840
|
FieldType = FieldType;
|
|
5841
5841
|
options = input.required(...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
5842
5842
|
type = input.required(...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
5843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5844
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5843
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5844
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailComponent, isStandalone: true, selector: "smart-detail", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@let optionsLocal = options();\n@if (optionsLocal) {\n <!-- <ion-item class=\"px-0\">-->\n <div class=\"h-10 absolute right-5 container-right\">\n @if (optionsLocal.options?.info) {\n <smart-info [text]=\"optionsLocal.options?.info ?? ''\"></smart-info>\n }\n </div>\n <!-- <ion-label color=\"medium\" position=\"stacked\">-->\n {{ optionsLocal?.item?.() | smartModelLabel: optionsLocal.key : type() }}\n <!-- </ion-label>-->\n @let item = optionsLocal?.item?.();\n @if (item) {\n @switch (optionsLocal.options.type) {\n @case (FieldType.email) {\n <smart-detail-email [options]=\"optionsLocal\"></smart-detail-email>\n }\n @case (FieldType.flag) {\n <smart-detail-flag [options]=\"optionsLocal\"></smart-detail-flag>\n }\n @case (FieldType.enum) {\n <smart-detail-enum [options]=\"optionsLocal\"></smart-detail-enum>\n }\n @case (FieldType.address) {\n <smart-detail-address [options]=\"optionsLocal\"></smart-detail-address>\n }\n @case (FieldType.object) {\n <smart-detail-object [options]=\"optionsLocal\"></smart-detail-object>\n }\n @case (FieldType.color) {\n <smart-detail-color [options]=\"optionsLocal\"></smart-detail-color>\n }\n @case (FieldType.logo) {\n <smart-detail-logo [options]=\"optionsLocal\"></smart-detail-logo>\n }\n @case (FieldType.array) {\n <smart-detail-array [options]=\"optionsLocal\"></smart-detail-array>\n }\n @case (FieldType.pdf) {\n <smart-detail-pdf [options]=\"optionsLocal\"></smart-detail-pdf>\n }\n @case (FieldType.video) {\n <smart-detail-video [options]=\"optionsLocal\"></smart-detail-video>\n }\n @case (FieldType.attachment) {\n <smart-detail-attachment\n [options]=\"optionsLocal\"\n ></smart-detail-attachment>\n }\n @case (FieldType.dateRange) {\n <smart-detail-date-range\n [options]=\"optionsLocal\"\n ></smart-detail-date-range>\n }\n @case (FieldType.image) {\n <smart-detail-image [options]=\"optionsLocal\"></smart-detail-image>\n }\n @case (FieldType.phoneNumberPl) {\n <smart-detail-phone-number-pl\n [options]=\"optionsLocal\"\n ></smart-detail-phone-number-pl>\n }\n @default {\n <smart-detail-text [options]=\"optionsLocal\"></smart-detail-text>\n }\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"skeletonTpl\"></ng-container>\n }\n <!-- </ion-item>-->\n}\n\n<ng-template #skeletonTpl>\n <!-- <ion-skeleton-text [animated]=\"true\"></ion-skeleton-text>-->\n</ng-template>\n", dependencies: [{ kind: "component", type: DetailEmailComponent, selector: "smart-detail-email" }, { kind: "component", type: DetailFlagComponent, selector: "smart-detail-flag" }, { kind: "component", type: DetailEnumComponent, selector: "smart-detail-enum" }, { kind: "component", type: DetailAddressComponent, selector: "smart-detail-address" }, { kind: "component", type: DetailObjectComponent, selector: "smart-detail-object" }, { kind: "component", type: DetailColorComponent, selector: "smart-detail-color" }, { kind: "component", type: DetailLogoComponent, selector: "smart-detail-logo" }, { kind: "component", type: DetailArrayComponent, selector: "smart-detail-array" }, { kind: "component", type: DetailPdfComponent, selector: "smart-detail-pdf" }, { kind: "component", type: DetailVideoComponent, selector: "smart-detail-video" }, { kind: "component", type: DetailAttachmentComponent, selector: "smart-detail-attachment" }, { kind: "component", type: DetailDateRangeComponent, selector: "smart-detail-date-range" }, { kind: "component", type: DetailImageComponent, selector: "smart-detail-image" }, { kind: "component", type: DetailPhoneNumberPlComponent, selector: "smart-detail-phone-number-pl" }, { kind: "component", type: DetailTextComponent, selector: "smart-detail-text" }, { kind: "component", type: InfoComponent, selector: "smart-info", inputs: ["text"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: ModelLabelPipe, name: "smartModelLabel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5845
5845
|
}
|
|
5846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailComponent, decorators: [{
|
|
5847
5847
|
type: Component,
|
|
5848
5848
|
args: [{ selector: 'smart-detail', imports: [
|
|
5849
5849
|
DetailEmailComponent,
|
|
@@ -5865,7 +5865,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
5865
5865
|
InfoComponent,
|
|
5866
5866
|
NgTemplateOutlet,
|
|
5867
5867
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let optionsLocal = options();\n@if (optionsLocal) {\n <!-- <ion-item class=\"px-0\">-->\n <div class=\"h-10 absolute right-5 container-right\">\n @if (optionsLocal.options?.info) {\n <smart-info [text]=\"optionsLocal.options?.info ?? ''\"></smart-info>\n }\n </div>\n <!-- <ion-label color=\"medium\" position=\"stacked\">-->\n {{ optionsLocal?.item?.() | smartModelLabel: optionsLocal.key : type() }}\n <!-- </ion-label>-->\n @let item = optionsLocal?.item?.();\n @if (item) {\n @switch (optionsLocal.options.type) {\n @case (FieldType.email) {\n <smart-detail-email [options]=\"optionsLocal\"></smart-detail-email>\n }\n @case (FieldType.flag) {\n <smart-detail-flag [options]=\"optionsLocal\"></smart-detail-flag>\n }\n @case (FieldType.enum) {\n <smart-detail-enum [options]=\"optionsLocal\"></smart-detail-enum>\n }\n @case (FieldType.address) {\n <smart-detail-address [options]=\"optionsLocal\"></smart-detail-address>\n }\n @case (FieldType.object) {\n <smart-detail-object [options]=\"optionsLocal\"></smart-detail-object>\n }\n @case (FieldType.color) {\n <smart-detail-color [options]=\"optionsLocal\"></smart-detail-color>\n }\n @case (FieldType.logo) {\n <smart-detail-logo [options]=\"optionsLocal\"></smart-detail-logo>\n }\n @case (FieldType.array) {\n <smart-detail-array [options]=\"optionsLocal\"></smart-detail-array>\n }\n @case (FieldType.pdf) {\n <smart-detail-pdf [options]=\"optionsLocal\"></smart-detail-pdf>\n }\n @case (FieldType.video) {\n <smart-detail-video [options]=\"optionsLocal\"></smart-detail-video>\n }\n @case (FieldType.attachment) {\n <smart-detail-attachment\n [options]=\"optionsLocal\"\n ></smart-detail-attachment>\n }\n @case (FieldType.dateRange) {\n <smart-detail-date-range\n [options]=\"optionsLocal\"\n ></smart-detail-date-range>\n }\n @case (FieldType.image) {\n <smart-detail-image [options]=\"optionsLocal\"></smart-detail-image>\n }\n @case (FieldType.phoneNumberPl) {\n <smart-detail-phone-number-pl\n [options]=\"optionsLocal\"\n ></smart-detail-phone-number-pl>\n }\n @default {\n <smart-detail-text [options]=\"optionsLocal\"></smart-detail-text>\n }\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"skeletonTpl\"></ng-container>\n }\n <!-- </ion-item>-->\n}\n\n<ng-template #skeletonTpl>\n <!-- <ion-skeleton-text [animated]=\"true\"></ion-skeleton-text>-->\n</ng-template>\n" }]
|
|
5868
|
-
}] });
|
|
5868
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: true }] }] } });
|
|
5869
5869
|
|
|
5870
5870
|
class DetailsBaseComponent {
|
|
5871
5871
|
authService = inject(AuthService);
|
|
@@ -5965,16 +5965,16 @@ class DetailsBaseComponent {
|
|
|
5965
5965
|
}
|
|
5966
5966
|
}
|
|
5967
5967
|
}
|
|
5968
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5969
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
5968
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5969
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: DetailsBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }, { propertyName: "bottomTpl", first: true, predicate: ["bottomTpl"], descendants: true, isSignal: true }], ngImport: i0 });
|
|
5970
5970
|
}
|
|
5971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsBaseComponent, decorators: [{
|
|
5972
5972
|
type: Directive
|
|
5973
|
-
}], ctorParameters: () => [] });
|
|
5973
|
+
}], ctorParameters: () => [], propDecorators: { contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], topTpl: [{ type: i0.ViewChild, args: ['topTpl', { isSignal: true }] }], bottomTpl: [{ type: i0.ViewChild, args: ['bottomTpl', { isSignal: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }] } });
|
|
5974
5974
|
|
|
5975
5975
|
class DetailsStandardComponent extends DetailsBaseComponent {
|
|
5976
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5977
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5976
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5977
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailsStandardComponent, isStandalone: true, selector: "smart-details-standard", usesInheritance: true, ngImport: i0, template: `
|
|
5978
5978
|
<!-- <ion-list class="m-0 p-0">-->
|
|
5979
5979
|
<div #topTpl class="text-xl py-2.5 separator"></div>
|
|
5980
5980
|
|
|
@@ -5995,9 +5995,9 @@ class DetailsStandardComponent extends DetailsBaseComponent {
|
|
|
5995
5995
|
|
|
5996
5996
|
<div #bottomTpl class="text-xl py-2.5 separator"></div>
|
|
5997
5997
|
<!-- </ion-list>-->
|
|
5998
|
-
`, isInline: true, dependencies: [{ kind: "component", type: CardComponent, selector: "smart-card", inputs: ["options"] }, { kind: "component", type: DetailComponent, selector: "smart-detail", inputs: ["options", "type"] }], changeDetection: i0.ChangeDetectionStrategy.
|
|
5998
|
+
`, isInline: true, dependencies: [{ kind: "component", type: CardComponent, selector: "smart-card", inputs: ["options"] }, { kind: "component", type: DetailComponent, selector: "smart-detail", inputs: ["options", "type"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
5999
5999
|
}
|
|
6000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsStandardComponent, decorators: [{
|
|
6001
6001
|
type: Component,
|
|
6002
6002
|
args: [{
|
|
6003
6003
|
selector: 'smart-details-standard',
|
|
@@ -6050,15 +6050,15 @@ class DetailsComponent extends CreateDynamicComponent('details') {
|
|
|
6050
6050
|
refreshProperties() {
|
|
6051
6051
|
this.baseInstance.options = this.options;
|
|
6052
6052
|
}
|
|
6053
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6054
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6053
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsComponent, deps: [{ token: DetailsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6054
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailsComponent, isStandalone: true, selector: "smart-details", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
6055
6055
|
@if (options() && template() === 'default') {
|
|
6056
6056
|
<smart-details-standard [options]="options()"></smart-details-standard>
|
|
6057
6057
|
}
|
|
6058
6058
|
<div #customTpl></div>
|
|
6059
6059
|
`, isInline: true, dependencies: [{ kind: "component", type: DetailsStandardComponent, selector: "smart-details-standard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6060
6060
|
}
|
|
6061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsComponent, decorators: [{
|
|
6062
6062
|
type: Component,
|
|
6063
6063
|
args: [{
|
|
6064
6064
|
selector: 'smart-details',
|
|
@@ -6071,15 +6071,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
6071
6071
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6072
6072
|
imports: [DetailsStandardComponent],
|
|
6073
6073
|
}]
|
|
6074
|
-
}], ctorParameters: () => [{ type: DetailsService }] });
|
|
6074
|
+
}], ctorParameters: () => [{ type: DetailsService }], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], dynamicContents: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => DynamicContentDirective), { isSignal: true }] }] } });
|
|
6075
6075
|
|
|
6076
6076
|
class PagingComponent {
|
|
6077
6077
|
page = input(null, ...(ngDevMode ? [{ debugName: "page" }] : []));
|
|
6078
6078
|
totalPages = input(null, ...(ngDevMode ? [{ debugName: "totalPages" }] : []));
|
|
6079
6079
|
nextPage = output();
|
|
6080
6080
|
prevPage = output();
|
|
6081
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6082
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
6081
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PagingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6082
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.1", type: PagingComponent, isStandalone: true, selector: "smart-paging", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, totalPages: { classPropertyName: "totalPages", publicName: "totalPages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { nextPage: "nextPage", prevPage: "prevPage" }, ngImport: i0, template: `
|
|
6083
6083
|
<!-- <ion-grid>-->
|
|
6084
6084
|
<!-- <ion-row>-->
|
|
6085
6085
|
@let page = this.page();
|
|
@@ -6109,7 +6109,7 @@ class PagingComponent {
|
|
|
6109
6109
|
<!-- </ion-grid>-->
|
|
6110
6110
|
`, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6111
6111
|
}
|
|
6112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PagingComponent, decorators: [{
|
|
6113
6113
|
type: Component,
|
|
6114
6114
|
args: [{ selector: 'smart-paging', template: `
|
|
6115
6115
|
<!-- <ion-grid>-->
|
|
@@ -6140,7 +6140,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
6140
6140
|
<!-- </ion-row>-->
|
|
6141
6141
|
<!-- </ion-grid>-->
|
|
6142
6142
|
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslatePipe], styles: [":host{width:100%}\n"] }]
|
|
6143
|
-
}] });
|
|
6143
|
+
}], propDecorators: { page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }], totalPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPages", required: false }] }], nextPage: [{ type: i0.Output, args: ["nextPage"] }], prevPage: [{ type: i0.Output, args: ["prevPage"] }] } });
|
|
6144
6144
|
|
|
6145
6145
|
class ListBaseComponent {
|
|
6146
6146
|
static smartType = 'list';
|
|
@@ -6319,12 +6319,12 @@ class ListBaseComponent {
|
|
|
6319
6319
|
afterInitOptions() {
|
|
6320
6320
|
// No base functionality
|
|
6321
6321
|
}
|
|
6322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6323
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
6322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6323
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: ListBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }], ngImport: i0 });
|
|
6324
6324
|
}
|
|
6325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListBaseComponent, decorators: [{
|
|
6326
6326
|
type: Directive
|
|
6327
|
-
}], ctorParameters: () => [] });
|
|
6327
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }] } });
|
|
6328
6328
|
|
|
6329
6329
|
class ListDesktopComponent extends ListBaseComponent {
|
|
6330
6330
|
_subscriptions = new Subscription();
|
|
@@ -6392,10 +6392,10 @@ class ListDesktopComponent extends ListBaseComponent {
|
|
|
6392
6392
|
}
|
|
6393
6393
|
}
|
|
6394
6394
|
Object = Object;
|
|
6395
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6396
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListDesktopComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6396
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ListDesktopComponent, isStandalone: true, selector: "smart-list-desktop", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<!--<ion-content>-->\n<div class=\"w-full overflow-y-auto\">\n <table\n cdk-table\n [dataSource]=\"list() ?? []\"\n [trackBy]=\"myTrackById\"\n class=\"w-full overflow-y-auto\"\n >\n @for (key of desktopKeys; track key) {\n @let last = $last;\n <ng-container class=\"col-sm text-left\">\n <div>\n @switch (key) {\n @case ('selectMulti') {\n <th cdk-header-cell class=\"w-5\" *matHeaderCellDef></th>\n <td cdk-cell>\n @let list = desktopList();\n @if (list) {\n <!-- <ion-checkbox-->\n <!-- style=\"margin-right: 15px\"-->\n <!-- (ionChange)=\"-->\n <!-- onChangeMultiselect(-->\n <!-- $event.detail.checked,-->\n <!-- element,-->\n <!-- list-->\n <!-- )-->\n <!-- \"-->\n <!-- ></ion-checkbox>-->\n }\n </td>\n }\n @case ('removeAction') {\n <th cdk-header-cell class=\"w-5\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n <!-- <ion-button (click)=\"removeHandler?.(element)\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n </td>\n }\n @case ('detailsAction') {\n <th cdk-header-cell class=\"w-5\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <!-- <ion-button-->\n <!-- (click)=\"detailsButtonOptions.click()\"-->\n <!-- [smartDetails]=\"{-->\n <!-- component: detailsComponent,-->\n <!-- params: detailsComponentProps,-->\n <!-- mode: 'bottom',-->\n <!-- }\"-->\n <!-- (smartDetailsShowed)=\"select(element.id)\"-->\n <!-- >-->\n <!-- <ion-icon-->\n <!-- slot=\"icon-only\"-->\n <!-- name=\"ellipsis-vertical-outline\"-->\n <!-- ></ion-icon>-->\n <!-- </ion-button>-->\n </td>\n }\n @case ('itemAction') {\n <th cdk-header-cell class=\"w-5\">\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <!-- <ion-button (click)=\"itemHandler?.(element.id)\">-->\n <!-- <ion-icon-->\n <!-- slot=\"icon-only\"-->\n <!-- name=\"arrow-forward-outline\"-->\n <!-- ></ion-icon>-->\n <!-- </ion-button>-->\n </td>\n }\n @default {\n <th cdk-header-cell>\n {{ (list() | smartListHeader: key : type)() }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n @let cell = element | smartListCell: key : cellPipe : type;\n @if (cell) {\n <td\n cdk-cell\n [attr.smart-item-key]=\"key\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"\n cell.type === FieldType.image ? 'center' : null\n \"\n >\n @if (cell.type === FieldType.image) {\n <img\n height=\"50\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n />\n } @else {\n <div\n class=\"min-h-8 pt-1.5\"\n [innerHTML]=\"cell.value\"\n ></div>\n }\n </td>\n } @else {\n <td cdk-cell></td>\n }\n </ng-container>\n }\n }\n </div>\n\n <ng-template #pagination>\n @if (last && loadNextPage && totalPages()) {\n <div style=\"float: right\">\n <!-- <ion-chip>-->\n {{ 'page' | translate }}:\n <b>{{ page() }}/{{ totalPages() }}</b>\n <!-- </ion-chip>-->\n </div>\n }\n </ng-template>\n </ng-container>\n }\n\n <tr cdk-header-row *matHeaderRowDef=\"desktopKeys ?? []; sticky: true\"></tr>\n <tr cdk-row *matRowDef=\"let row; columns: desktopKeys ?? []\"></tr>\n </table>\n</div>\n\n@if (\n loadNextPage &&\n Object.keys(list() ?? [])?.length &&\n options().pagination?.mode !== PaginationMode.singlePage\n) {\n <!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadNextPage($event)\">-->\n <!-- <ion-infinite-scroll-content-->\n <!-- loadingSpinner=\"circles\"-->\n <!-- ></ion-infinite-scroll-content>-->\n <!-- </ion-infinite-scroll>-->\n}\n<!--</ion-content>-->\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [page]=\"page()\"\n [totalPages]=\"totalPages()\"\n (prevPage)=\"loadPrevPage?.()\"\n (nextPage)=\"loadNextPage?.()\"\n ></smart-paging>\n}\n", styles: ["table .mat-row,table .mat-header-row{background:#fff;min-width:1200px}.wrapper{height:100%}.mat-row,.mat-header-row{min-width:1200px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }, { kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "pipe", type: ListHeaderPipe, name: "smartListHeader" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
6397
6397
|
}
|
|
6398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListDesktopComponent, decorators: [{
|
|
6399
6399
|
type: Component,
|
|
6400
6400
|
args: [{ selector: 'smart-list-desktop', imports: [
|
|
6401
6401
|
NgTemplateOutlet,
|
|
@@ -6411,7 +6411,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
6411
6411
|
CdkHeaderRow,
|
|
6412
6412
|
CdkRow,
|
|
6413
6413
|
], template: "<div #topTpl></div>\n\n<!--<ion-content>-->\n<div class=\"w-full overflow-y-auto\">\n <table\n cdk-table\n [dataSource]=\"list() ?? []\"\n [trackBy]=\"myTrackById\"\n class=\"w-full overflow-y-auto\"\n >\n @for (key of desktopKeys; track key) {\n @let last = $last;\n <ng-container class=\"col-sm text-left\">\n <div>\n @switch (key) {\n @case ('selectMulti') {\n <th cdk-header-cell class=\"w-5\" *matHeaderCellDef></th>\n <td cdk-cell>\n @let list = desktopList();\n @if (list) {\n <!-- <ion-checkbox-->\n <!-- style=\"margin-right: 15px\"-->\n <!-- (ionChange)=\"-->\n <!-- onChangeMultiselect(-->\n <!-- $event.detail.checked,-->\n <!-- element,-->\n <!-- list-->\n <!-- )-->\n <!-- \"-->\n <!-- ></ion-checkbox>-->\n }\n </td>\n }\n @case ('removeAction') {\n <th cdk-header-cell class=\"w-5\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n <!-- <ion-button (click)=\"removeHandler?.(element)\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n </td>\n }\n @case ('detailsAction') {\n <th cdk-header-cell class=\"w-5\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <!-- <ion-button-->\n <!-- (click)=\"detailsButtonOptions.click()\"-->\n <!-- [smartDetails]=\"{-->\n <!-- component: detailsComponent,-->\n <!-- params: detailsComponentProps,-->\n <!-- mode: 'bottom',-->\n <!-- }\"-->\n <!-- (smartDetailsShowed)=\"select(element.id)\"-->\n <!-- >-->\n <!-- <ion-icon-->\n <!-- slot=\"icon-only\"-->\n <!-- name=\"ellipsis-vertical-outline\"-->\n <!-- ></ion-icon>-->\n <!-- </ion-button>-->\n </td>\n }\n @case ('itemAction') {\n <th cdk-header-cell class=\"w-5\">\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <!-- <ion-button (click)=\"itemHandler?.(element.id)\">-->\n <!-- <ion-icon-->\n <!-- slot=\"icon-only\"-->\n <!-- name=\"arrow-forward-outline\"-->\n <!-- ></ion-icon>-->\n <!-- </ion-button>-->\n </td>\n }\n @default {\n <th cdk-header-cell>\n {{ (list() | smartListHeader: key : type)() }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n @let cell = element | smartListCell: key : cellPipe : type;\n @if (cell) {\n <td\n cdk-cell\n [attr.smart-item-key]=\"key\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"\n cell.type === FieldType.image ? 'center' : null\n \"\n >\n @if (cell.type === FieldType.image) {\n <img\n height=\"50\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n />\n } @else {\n <div\n class=\"min-h-8 pt-1.5\"\n [innerHTML]=\"cell.value\"\n ></div>\n }\n </td>\n } @else {\n <td cdk-cell></td>\n }\n </ng-container>\n }\n }\n </div>\n\n <ng-template #pagination>\n @if (last && loadNextPage && totalPages()) {\n <div style=\"float: right\">\n <!-- <ion-chip>-->\n {{ 'page' | translate }}:\n <b>{{ page() }}/{{ totalPages() }}</b>\n <!-- </ion-chip>-->\n </div>\n }\n </ng-template>\n </ng-container>\n }\n\n <tr cdk-header-row *matHeaderRowDef=\"desktopKeys ?? []; sticky: true\"></tr>\n <tr cdk-row *matRowDef=\"let row; columns: desktopKeys ?? []\"></tr>\n </table>\n</div>\n\n@if (\n loadNextPage &&\n Object.keys(list() ?? [])?.length &&\n options().pagination?.mode !== PaginationMode.singlePage\n) {\n <!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadNextPage($event)\">-->\n <!-- <ion-infinite-scroll-content-->\n <!-- loadingSpinner=\"circles\"-->\n <!-- ></ion-infinite-scroll-content>-->\n <!-- </ion-infinite-scroll>-->\n}\n<!--</ion-content>-->\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [page]=\"page()\"\n [totalPages]=\"totalPages()\"\n (prevPage)=\"loadPrevPage?.()\"\n (nextPage)=\"loadNextPage?.()\"\n ></smart-paging>\n}\n", styles: ["table .mat-row,table .mat-header-row{background:#fff;min-width:1200px}.wrapper{height:100%}.mat-row,.mat-header-row{min-width:1200px}\n"] }]
|
|
6414
|
-
}] });
|
|
6414
|
+
}], propDecorators: { topTpl: [{ type: i0.ViewChild, args: ['topTpl', { isSignal: true }] }] } });
|
|
6415
6415
|
|
|
6416
6416
|
class ListMasonryGridComponent extends ListBaseComponent {
|
|
6417
6417
|
componentFactories = null;
|
|
@@ -6450,13 +6450,13 @@ class ListMasonryGridComponent extends ListBaseComponent {
|
|
|
6450
6450
|
}
|
|
6451
6451
|
}
|
|
6452
6452
|
Object = Object;
|
|
6453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6454
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6453
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListMasonryGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6454
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ListMasonryGridComponent, isStandalone: true, selector: "smart-list-masonry-grid", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div class=\"gap-3\">\n @for (item of listWithImages(); track item) {\n <!-- <ion-card class=\"w-full my-2.5 break-inside-avoid border border-gray-100\" (click)=\"unselect?.()\">-->\n @if (item.image) {\n <img [ngSrc]=\"item.image | smartFileUrl\" alt=\"\" fill />\n }\n\n <!-- <ion-card-content class=\"overflow-hidden after:block after:w-full after:bg-gradient-to-r after:from-transparent after:to-white after:absolute after:bottom-0\">-->\n @for (key of keys; track key) {\n @let cell = item.data | smartListCell: key : cellPipe : type;\n @if (cell && cell.value != item.image) {\n @if ($index < 2) {\n <h3\n [attr.smart-item-key]=\"key\"\n class=\"text-gray-800\"\n [innerHTML]=\"cell.value\"\n ></h3>\n } @else {\n <p\n [attr.smart-item-key]=\"key\"\n class=\"text-gray-500\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n }\n <!-- </ion-card-content>-->\n\n <!-- <ion-row>-->\n @if (removeHandler) {\n <!-- <ion-col size=\"auto\">-->\n @if (!checkRemoveHandler || checkRemoveHandler(item.data)) {\n <!-- <ion-button (click)=\"removeHandler?.(item.data)\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n <!-- </ion-col>-->\n }\n <!-- <ion-col></ion-col>-->\n @if (itemHandler) {\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button (click)=\"itemHandler?.(item.data.id)\">-->\n <!-- <ion-icon-->\n <!-- slot=\"icon-only\"-->\n <!-- name=\"arrow-forward-outline\"-->\n <!-- ></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n }\n <!-- </ion-row>-->\n <!-- </ion-card>-->\n }\n </div>\n</div>\n\n@if (\n loadNextPage &&\n Object.keys(list() ?? [])?.length &&\n options().pagination?.mode !== PaginationMode.singlePage\n) {\n <!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadNextPage?.($event)\">-->\n <!-- <ion-infinite-scroll-content loadingSpinner=\"circles\">-->\n <!-- </ion-infinite-scroll-content>-->\n <!-- </ion-infinite-scroll>-->\n}\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [page]=\"page()\"\n [totalPages]=\"totalPages()\"\n (prevPage)=\"loadPrevPage?.()\"\n (nextPage)=\"loadNextPage?.()\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }] });
|
|
6455
6455
|
}
|
|
6456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListMasonryGridComponent, decorators: [{
|
|
6457
6457
|
type: Component,
|
|
6458
6458
|
args: [{ selector: 'smart-list-masonry-grid', imports: [PagingComponent, FileUrlPipe, NgOptimizedImage, ListCellPipe], template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div class=\"gap-3\">\n @for (item of listWithImages(); track item) {\n <!-- <ion-card class=\"w-full my-2.5 break-inside-avoid border border-gray-100\" (click)=\"unselect?.()\">-->\n @if (item.image) {\n <img [ngSrc]=\"item.image | smartFileUrl\" alt=\"\" fill />\n }\n\n <!-- <ion-card-content class=\"overflow-hidden after:block after:w-full after:bg-gradient-to-r after:from-transparent after:to-white after:absolute after:bottom-0\">-->\n @for (key of keys; track key) {\n @let cell = item.data | smartListCell: key : cellPipe : type;\n @if (cell && cell.value != item.image) {\n @if ($index < 2) {\n <h3\n [attr.smart-item-key]=\"key\"\n class=\"text-gray-800\"\n [innerHTML]=\"cell.value\"\n ></h3>\n } @else {\n <p\n [attr.smart-item-key]=\"key\"\n class=\"text-gray-500\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n }\n <!-- </ion-card-content>-->\n\n <!-- <ion-row>-->\n @if (removeHandler) {\n <!-- <ion-col size=\"auto\">-->\n @if (!checkRemoveHandler || checkRemoveHandler(item.data)) {\n <!-- <ion-button (click)=\"removeHandler?.(item.data)\">-->\n <!-- <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>-->\n <!-- </ion-button>-->\n }\n <!-- </ion-col>-->\n }\n <!-- <ion-col></ion-col>-->\n @if (itemHandler) {\n <!-- <ion-col size=\"auto\">-->\n <!-- <ion-button (click)=\"itemHandler?.(item.data.id)\">-->\n <!-- <ion-icon-->\n <!-- slot=\"icon-only\"-->\n <!-- name=\"arrow-forward-outline\"-->\n <!-- ></ion-icon>-->\n <!-- </ion-button>-->\n <!-- </ion-col>-->\n }\n <!-- </ion-row>-->\n <!-- </ion-card>-->\n }\n </div>\n</div>\n\n@if (\n loadNextPage &&\n Object.keys(list() ?? [])?.length &&\n options().pagination?.mode !== PaginationMode.singlePage\n) {\n <!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadNextPage?.($event)\">-->\n <!-- <ion-infinite-scroll-content loadingSpinner=\"circles\">-->\n <!-- </ion-infinite-scroll-content>-->\n <!-- </ion-infinite-scroll>-->\n}\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [page]=\"page()\"\n [totalPages]=\"totalPages()\"\n (prevPage)=\"loadPrevPage?.()\"\n (nextPage)=\"loadNextPage?.()\"\n ></smart-paging>\n}\n" }]
|
|
6459
|
-
}] });
|
|
6459
|
+
}], propDecorators: { topTpl: [{ type: i0.ViewChild, args: ['topTpl', { isSignal: true }] }] } });
|
|
6460
6460
|
|
|
6461
6461
|
class ListMobileComponent extends ListBaseComponent {
|
|
6462
6462
|
listMobile = this.list;
|
|
@@ -6479,10 +6479,10 @@ class ListMobileComponent extends ListBaseComponent {
|
|
|
6479
6479
|
}
|
|
6480
6480
|
}
|
|
6481
6481
|
}
|
|
6482
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6483
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6482
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListMobileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6483
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ListMobileComponent, isStandalone: true, selector: "smart-list-mobile", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n@let list = listMobile();\n@if (list) {\n <!-- <ion-list>-->\n @for (item of list; track item.id) {\n <!-- <ion-item-sliding>-->\n @if (removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))) {\n <!-- <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler?.(item)\">-->\n <!-- <ion-item-option-->\n <!-- color=\"danger\"-->\n <!-- expandable-->\n <!-- (click)=\"removeHandler?.(item)\"-->\n <!-- >-->\n {{ 'delete' | translate }}\n <!-- </ion-item-option>-->\n <!-- </ion-item-options>-->\n }\n\n <!-- <ion-item class=\"pl-5\" (click)=\"itemHandler ? itemHandler(item.id) : unselect()\">-->\n <!-- <ion-label>-->\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell) {\n @if (cell.type === FieldType.image) {\n <img\n [attr.smart-item-key]=\"key\"\n height=\"100\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n />\n } @else if ($first) {\n <h2 [attr.smart-item-key]=\"key\" [innerHTML]=\"cell.value\"></h2>\n } @else {\n <p [attr.smart-item-key]=\"key\" [innerHTML]=\"cell.value\"></p>\n }\n }\n }\n <!-- </ion-label>-->\n <!-- </ion-item>-->\n <!-- </ion-item-sliding>-->\n }\n <!-- </ion-list>-->\n}\n\n@if (\n loadNextPage &&\n list?.length &&\n options().pagination?.mode !== PaginationMode.singlePage\n) {\n <!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadNextPage?.($event)\">-->\n <!-- <ion-infinite-scroll-content-->\n <!-- loadingSpinner=\"circles\"-->\n <!-- ></ion-infinite-scroll-content>-->\n <!-- </ion-infinite-scroll>-->\n}\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [page]=\"page()\"\n [totalPages]=\"totalPages()\"\n (prevPage)=\"loadPrevPage?.()\"\n (nextPage)=\"loadNextPage?.()\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }] });
|
|
6484
6484
|
}
|
|
6485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListMobileComponent, decorators: [{
|
|
6486
6486
|
type: Component,
|
|
6487
6487
|
args: [{ selector: 'smart-list-mobile', imports: [
|
|
6488
6488
|
TranslatePipe,
|
|
@@ -6491,7 +6491,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
6491
6491
|
PagingComponent,
|
|
6492
6492
|
ListCellPipe,
|
|
6493
6493
|
], template: "<div #topTpl></div>\n\n@let list = listMobile();\n@if (list) {\n <!-- <ion-list>-->\n @for (item of list; track item.id) {\n <!-- <ion-item-sliding>-->\n @if (removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))) {\n <!-- <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler?.(item)\">-->\n <!-- <ion-item-option-->\n <!-- color=\"danger\"-->\n <!-- expandable-->\n <!-- (click)=\"removeHandler?.(item)\"-->\n <!-- >-->\n {{ 'delete' | translate }}\n <!-- </ion-item-option>-->\n <!-- </ion-item-options>-->\n }\n\n <!-- <ion-item class=\"pl-5\" (click)=\"itemHandler ? itemHandler(item.id) : unselect()\">-->\n <!-- <ion-label>-->\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell) {\n @if (cell.type === FieldType.image) {\n <img\n [attr.smart-item-key]=\"key\"\n height=\"100\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n />\n } @else if ($first) {\n <h2 [attr.smart-item-key]=\"key\" [innerHTML]=\"cell.value\"></h2>\n } @else {\n <p [attr.smart-item-key]=\"key\" [innerHTML]=\"cell.value\"></p>\n }\n }\n }\n <!-- </ion-label>-->\n <!-- </ion-item>-->\n <!-- </ion-item-sliding>-->\n }\n <!-- </ion-list>-->\n}\n\n@if (\n loadNextPage &&\n list?.length &&\n options().pagination?.mode !== PaginationMode.singlePage\n) {\n <!-- <ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadNextPage?.($event)\">-->\n <!-- <ion-infinite-scroll-content-->\n <!-- loadingSpinner=\"circles\"-->\n <!-- ></ion-infinite-scroll-content>-->\n <!-- </ion-infinite-scroll>-->\n}\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [page]=\"page()\"\n [totalPages]=\"totalPages()\"\n (prevPage)=\"loadPrevPage?.()\"\n (nextPage)=\"loadNextPage?.()\"\n ></smart-paging>\n}\n" }]
|
|
6494
|
-
}] });
|
|
6494
|
+
}], propDecorators: { topTpl: [{ type: i0.ViewChild, args: ['topTpl', { isSignal: true }] }] } });
|
|
6495
6495
|
|
|
6496
6496
|
class ListComponent extends CreateDynamicComponent('list') {
|
|
6497
6497
|
_options = signal({}, ...(ngDevMode ? [{ debugName: "_options" }] : []));
|
|
@@ -6528,10 +6528,10 @@ class ListComponent extends CreateDynamicComponent('list') {
|
|
|
6528
6528
|
this.mode = computed(() => this._options()?.mode ??
|
|
6529
6529
|
(this.hardwareService.isMobile ? ListMode.mobile : ListMode.desktop), ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
6530
6530
|
}
|
|
6531
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6532
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6531
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6532
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ListComponent, isStandalone: true, selector: "smart-list", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (template() === 'default') {\n @switch (mode()) {\n @case (ListMode.desktop) {\n <smart-list-desktop [options]=\"internalOptions\"></smart-list-desktop>\n }\n @case (ListMode.mobile) {\n <smart-list-mobile [options]=\"internalOptions\"></smart-list-mobile>\n }\n @case (ListMode.masonryGrid) {\n <smart-list-masonry-grid\n [options]=\"internalOptions\"\n ></smart-list-masonry-grid>\n }\n }\n\n <!-- <ion-row>-->\n <!-- <ion-col></ion-col>-->\n <!-- <ion-col size=\"auto\">-->\n @let loading = internalOptions?.provider?.loading();\n <smart-loader [show]=\"loading ?? false\"></smart-loader>\n @if (!loading && !internalOptions.provider.list()?.length) {\n <h2>\n <br />\n {{ 'noResults' | translate }}\n </h2>\n }\n <!-- </ion-col>-->\n <!-- <ion-col></ion-col>-->\n <!-- </ion-row>-->\n\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n}\n\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n<div class=\"dynamic-content\"></div>\n", dependencies: [{ kind: "component", type: ListDesktopComponent, selector: "smart-list-desktop" }, { kind: "component", type: ListMobileComponent, selector: "smart-list-mobile" }, { kind: "component", type: ListMasonryGridComponent, selector: "smart-list-masonry-grid" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LoaderComponent, selector: "smart-loader", inputs: ["show", "height"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6533
6533
|
}
|
|
6534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListComponent, decorators: [{
|
|
6535
6535
|
type: Component,
|
|
6536
6536
|
args: [{ selector: 'smart-list', encapsulation: ViewEncapsulation.None, imports: [
|
|
6537
6537
|
ListDesktopComponent,
|
|
@@ -6541,7 +6541,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
6541
6541
|
NgTemplateOutlet,
|
|
6542
6542
|
LoaderComponent,
|
|
6543
6543
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (template() === 'default') {\n @switch (mode()) {\n @case (ListMode.desktop) {\n <smart-list-desktop [options]=\"internalOptions\"></smart-list-desktop>\n }\n @case (ListMode.mobile) {\n <smart-list-mobile [options]=\"internalOptions\"></smart-list-mobile>\n }\n @case (ListMode.masonryGrid) {\n <smart-list-masonry-grid\n [options]=\"internalOptions\"\n ></smart-list-masonry-grid>\n }\n }\n\n <!-- <ion-row>-->\n <!-- <ion-col></ion-col>-->\n <!-- <ion-col size=\"auto\">-->\n @let loading = internalOptions?.provider?.loading();\n <smart-loader [show]=\"loading ?? false\"></smart-loader>\n @if (!loading && !internalOptions.provider.list()?.length) {\n <h2>\n <br />\n {{ 'noResults' | translate }}\n </h2>\n }\n <!-- </ion-col>-->\n <!-- <ion-col></ion-col>-->\n <!-- </ion-row>-->\n\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n}\n\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n<div class=\"dynamic-content\"></div>\n" }]
|
|
6544
|
-
}], ctorParameters: () => [] });
|
|
6544
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], dynamicContents: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => DynamicContentDirective), { isSignal: true }] }] } });
|
|
6545
6545
|
|
|
6546
6546
|
class DetailsPage {
|
|
6547
6547
|
modalService = inject(ModalService);
|
|
@@ -6600,10 +6600,10 @@ class DetailsPage {
|
|
|
6600
6600
|
}
|
|
6601
6601
|
this.pageOptions.update((options) => ({ ...options, endButtons: buttons }));
|
|
6602
6602
|
}
|
|
6603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6604
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6603
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6604
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: DetailsPage, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<smart-page [options]=\"pageOptions()\">\n <smart-details #smartDetails [options]=\"detailsOptions\"></smart-details>\n</smart-page>\n", styles: [":host{width:100%}\n"], dependencies: [{ kind: "component", type: PageComponent, selector: "smart-page", inputs: ["options"] }, { kind: "component", type: DetailsComponent, selector: "smart-details", inputs: ["options"] }] });
|
|
6605
6605
|
}
|
|
6606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsPage, decorators: [{
|
|
6607
6607
|
type: Component,
|
|
6608
6608
|
args: [{ imports: [PageComponent, DetailsComponent], template: "<smart-page [options]=\"pageOptions()\">\n <smart-details #smartDetails [options]=\"detailsOptions\"></smart-details>\n</smart-page>\n", styles: [":host{width:100%}\n"] }]
|
|
6609
6609
|
}], ctorParameters: () => [] });
|
|
@@ -6721,8 +6721,8 @@ const IMPORTS = [
|
|
|
6721
6721
|
DynamicModule,
|
|
6722
6722
|
];
|
|
6723
6723
|
class SharedComponentsModule {
|
|
6724
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6725
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6724
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6725
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedComponentsModule, imports: [CommonModule,
|
|
6726
6726
|
ReactiveFormsModule,
|
|
6727
6727
|
FormsModule,
|
|
6728
6728
|
TranslateModule,
|
|
@@ -6844,7 +6844,7 @@ class SharedComponentsModule {
|
|
|
6844
6844
|
DetailPhoneNumberPlComponent, DetailsComponent, DetailsStandardComponent, DynamicComponent, InfoComponent, InfoModalComponent, ExportComponent,
|
|
6845
6845
|
ImportComponent,
|
|
6846
6846
|
PasswordStrengthComponent] });
|
|
6847
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6847
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedComponentsModule, providers: [
|
|
6848
6848
|
{
|
|
6849
6849
|
provide: FORM_COMPONENT_TOKEN,
|
|
6850
6850
|
useValue: FormComponent,
|
|
@@ -6877,7 +6877,7 @@ class SharedComponentsModule {
|
|
|
6877
6877
|
ListMobileComponent,
|
|
6878
6878
|
ListDesktopComponent, DynamicComponent] });
|
|
6879
6879
|
}
|
|
6880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedComponentsModule, decorators: [{
|
|
6881
6881
|
type: NgModule,
|
|
6882
6882
|
args: [{
|
|
6883
6883
|
declarations: [],
|
|
@@ -6898,16 +6898,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
6898
6898
|
|
|
6899
6899
|
const COMPONENTS = [DetailsPage];
|
|
6900
6900
|
class SharedPagesModule {
|
|
6901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6902
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6901
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6902
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedPagesModule, imports: [SharedServicesModule,
|
|
6903
6903
|
SharedComponentsModule,
|
|
6904
6904
|
SharedDirectivesModule, DetailsPage], exports: [DetailsPage] });
|
|
6905
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6905
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedPagesModule, imports: [SharedServicesModule,
|
|
6906
6906
|
SharedComponentsModule,
|
|
6907
6907
|
SharedDirectivesModule,
|
|
6908
6908
|
COMPONENTS] });
|
|
6909
6909
|
}
|
|
6910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedPagesModule, decorators: [{
|
|
6911
6911
|
type: NgModule,
|
|
6912
6912
|
args: [{
|
|
6913
6913
|
imports: [
|
|
@@ -7180,8 +7180,8 @@ class SharedModule {
|
|
|
7180
7180
|
constructor(translateService) {
|
|
7181
7181
|
setDefaultTranslationsAndLang(translateService);
|
|
7182
7182
|
}
|
|
7183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7184
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedModule, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7184
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: SharedModule, imports: [TranslateModule], exports: [TranslateModule,
|
|
7185
7185
|
HttpClientModule,
|
|
7186
7186
|
ReactiveFormsModule,
|
|
7187
7187
|
CommonModule,
|
|
@@ -7190,7 +7190,7 @@ class SharedModule {
|
|
|
7190
7190
|
SharedPipesModule,
|
|
7191
7191
|
SharedPagesModule,
|
|
7192
7192
|
SharedDirectivesModule] });
|
|
7193
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7193
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedModule, imports: [TranslateModule, TranslateModule,
|
|
7194
7194
|
HttpClientModule,
|
|
7195
7195
|
ReactiveFormsModule,
|
|
7196
7196
|
CommonModule,
|
|
@@ -7200,7 +7200,7 @@ class SharedModule {
|
|
|
7200
7200
|
SharedPagesModule,
|
|
7201
7201
|
SharedDirectivesModule] });
|
|
7202
7202
|
}
|
|
7203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SharedModule, decorators: [{
|
|
7204
7204
|
type: NgModule,
|
|
7205
7205
|
args: [{
|
|
7206
7206
|
imports: [TranslateModule],
|
|
@@ -7222,11 +7222,11 @@ class NgrxSharedModule {
|
|
|
7222
7222
|
constructor(store, storeService) {
|
|
7223
7223
|
storeService.connect(store);
|
|
7224
7224
|
}
|
|
7225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7226
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7227
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NgrxSharedModule, deps: [{ token: i1$3.Store }, { token: NgrxStoreService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7226
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: NgrxSharedModule, imports: [SharedModule] });
|
|
7227
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NgrxSharedModule, providers: [NgrxStoreService], imports: [SharedModule] });
|
|
7228
7228
|
}
|
|
7229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NgrxSharedModule, decorators: [{
|
|
7230
7230
|
type: NgModule,
|
|
7231
7231
|
args: [{
|
|
7232
7232
|
providers: [NgrxStoreService],
|