@smartsoft001/crud-shell-angular 2.127.0 → 2.128.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.
|
@@ -252,10 +252,10 @@ class CrudConfig {
|
|
|
252
252
|
type;
|
|
253
253
|
reducerFactory;
|
|
254
254
|
baseQuery;
|
|
255
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
256
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
255
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
256
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudConfig });
|
|
257
257
|
}
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudConfig, decorators: [{
|
|
259
259
|
type: Injectable
|
|
260
260
|
}] });
|
|
261
261
|
class CrudFullConfig extends CrudConfig {
|
|
@@ -275,10 +275,10 @@ class CrudFullConfig extends CrudConfig {
|
|
|
275
275
|
// Deep threading into IListOptions/IPageOptions lands in Phase 3.
|
|
276
276
|
cssClass;
|
|
277
277
|
variant;
|
|
278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
279
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
278
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFullConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
279
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFullConfig });
|
|
280
280
|
}
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFullConfig, decorators: [{
|
|
282
282
|
type: Injectable
|
|
283
283
|
}] });
|
|
284
284
|
|
|
@@ -298,17 +298,17 @@ const getCrudError = (entity) => createSelector(getCrudState(entity), (state) =>
|
|
|
298
298
|
// (which would have extended ngx-socket-io's `Socket`) was always commented out.
|
|
299
299
|
// `NotSocketService` is the null-object fallback used when `options.socket` is off.
|
|
300
300
|
class SocketService {
|
|
301
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
302
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SocketService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
302
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SocketService });
|
|
303
303
|
}
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SocketService, decorators: [{
|
|
305
305
|
type: Injectable
|
|
306
306
|
}] });
|
|
307
307
|
class NotSocketService {
|
|
308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
309
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: NotSocketService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
309
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: NotSocketService });
|
|
310
310
|
}
|
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: NotSocketService, decorators: [{
|
|
312
312
|
type: Injectable
|
|
313
313
|
}] });
|
|
314
314
|
|
|
@@ -427,10 +427,10 @@ class CrudService {
|
|
|
427
427
|
}
|
|
428
428
|
return query ? '?' + query.replace('&', '') : '';
|
|
429
429
|
}
|
|
430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
431
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
431
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudService });
|
|
432
432
|
}
|
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudService, decorators: [{
|
|
434
434
|
type: Injectable
|
|
435
435
|
}] });
|
|
436
436
|
|
|
@@ -595,10 +595,10 @@ class CrudEffects {
|
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
597
|
}
|
|
598
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
599
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudEffects, deps: [{ token: i1.ActionsSubject }, { token: CrudService }, { token: CrudConfig }, { token: i1.Store }, { token: i1.State }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
599
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudEffects });
|
|
600
600
|
}
|
|
601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudEffects, decorators: [{
|
|
602
602
|
type: Injectable
|
|
603
603
|
}], ctorParameters: () => [{ type: i1.ActionsSubject }, { type: CrudService }, { type: CrudConfig }, { type: i1.Store }, { type: i1.State }] });
|
|
604
604
|
|
|
@@ -680,10 +680,10 @@ class CrudFacade {
|
|
|
680
680
|
return NgrxStoreService.store;
|
|
681
681
|
return this.store;
|
|
682
682
|
}
|
|
683
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
684
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
683
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFacade, deps: [{ token: i1.Store }, { token: CrudConfig }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
684
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFacade });
|
|
685
685
|
}
|
|
686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFacade, decorators: [{
|
|
687
687
|
type: Injectable
|
|
688
688
|
}], ctorParameters: () => [{ type: i1.Store }, { type: CrudConfig }] });
|
|
689
689
|
|
|
@@ -927,16 +927,16 @@ class ExportBaseComponent extends BaseComponent$1 {
|
|
|
927
927
|
loading: this.facade.loading,
|
|
928
928
|
};
|
|
929
929
|
}
|
|
930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
931
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ExportBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
931
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: ExportBaseComponent, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
932
932
|
}
|
|
933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ExportBaseComponent, decorators: [{
|
|
934
934
|
type: Directive
|
|
935
935
|
}] });
|
|
936
936
|
|
|
937
937
|
class ExportComponent extends ExportBaseComponent {
|
|
938
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
939
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
938
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ExportComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
939
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.3", type: ExportComponent, isStandalone: true, selector: "smart-crud-export", usesInheritance: true, ngImport: i0, template: `
|
|
940
940
|
<div class="smart:p-5">
|
|
941
941
|
<p class="smart:my-2.5 smart:mx-0">
|
|
942
942
|
<smart-button
|
|
@@ -955,7 +955,7 @@ class ExportComponent extends ExportBaseComponent {
|
|
|
955
955
|
</div>
|
|
956
956
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
957
957
|
}
|
|
958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ExportComponent, decorators: [{
|
|
959
959
|
type: Component,
|
|
960
960
|
args: [{
|
|
961
961
|
selector: 'smart-crud-export',
|
|
@@ -1314,8 +1314,8 @@ class BaseComponent {
|
|
|
1314
1314
|
});
|
|
1315
1315
|
this.commitFilter(filter);
|
|
1316
1316
|
}
|
|
1317
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1318
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.
|
|
1317
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1318
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: BaseComponent, isStandalone: true, inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1319
1319
|
}
|
|
1320
1320
|
__decorate([
|
|
1321
1321
|
Debounce(500),
|
|
@@ -1323,7 +1323,7 @@ __decorate([
|
|
|
1323
1323
|
__metadata("design:paramtypes", [Object, Object]),
|
|
1324
1324
|
__metadata("design:returntype", void 0)
|
|
1325
1325
|
], BaseComponent.prototype, "refresh", null);
|
|
1326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: BaseComponent, decorators: [{
|
|
1327
1327
|
type: Directive
|
|
1328
1328
|
}], propDecorators: { item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], refresh: [] } });
|
|
1329
1329
|
|
|
@@ -1357,8 +1357,8 @@ class FilterCheckComponent extends BaseComponent {
|
|
|
1357
1357
|
this.value = this.value?.filter((r) => r !== entry.value.id);
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1361
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterCheckComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1361
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterCheckComponent, isStandalone: true, selector: "smart-crud-filter-check", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1362
1362
|
<fieldset class="smart:w-full">
|
|
1363
1363
|
<legend
|
|
1364
1364
|
class="smart:flex smart:items-center smart:justify-between smart:text-sm smart:font-medium smart:text-gray-900"
|
|
@@ -1393,7 +1393,7 @@ class FilterCheckComponent extends BaseComponent {
|
|
|
1393
1393
|
</fieldset>
|
|
1394
1394
|
`, isInline: true, dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1395
1395
|
}
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterCheckComponent, decorators: [{
|
|
1397
1397
|
type: Component,
|
|
1398
1398
|
args: [{
|
|
1399
1399
|
selector: 'smart-crud-filter-check',
|
|
@@ -1472,8 +1472,8 @@ class FilterDateComponent extends BaseComponent {
|
|
|
1472
1472
|
get customMaxValue() {
|
|
1473
1473
|
return this.maxValue;
|
|
1474
1474
|
}
|
|
1475
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1476
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1475
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1476
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterDateComponent, isStandalone: true, selector: "smart-crud-filter-date", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1477
1477
|
<label class="smart:mb-1 smart:block smart:text-sm smart:font-medium">
|
|
1478
1478
|
{{ item()?.label || '' | translate }}
|
|
1479
1479
|
</label>
|
|
@@ -1496,7 +1496,7 @@ class FilterDateComponent extends BaseComponent {
|
|
|
1496
1496
|
</div>
|
|
1497
1497
|
`, isInline: true, dependencies: [{ kind: "component", type: DateEditComponent, selector: "smart-date-edit", inputs: ["variant", "class", "ngModel"], outputs: ["ngModelChange", "validChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1498
1498
|
}
|
|
1499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterDateComponent, decorators: [{
|
|
1500
1500
|
type: Component,
|
|
1501
1501
|
args: [{
|
|
1502
1502
|
selector: 'smart-crud-filter-date',
|
|
@@ -1530,8 +1530,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
1530
1530
|
}] });
|
|
1531
1531
|
|
|
1532
1532
|
class FilterDateTimeComponent extends FilterDateComponent {
|
|
1533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1534
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterDateTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1534
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterDateTimeComponent, isStandalone: true, selector: "smart-crud-filter-date-time", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1535
1535
|
<label class="smart:mb-1 smart:block smart:text-sm smart:font-medium">
|
|
1536
1536
|
{{ item()?.label || '' | translate }}
|
|
1537
1537
|
</label>
|
|
@@ -1577,7 +1577,7 @@ class FilterDateTimeComponent extends FilterDateComponent {
|
|
|
1577
1577
|
</div>
|
|
1578
1578
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1579
1579
|
}
|
|
1580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterDateTimeComponent, decorators: [{
|
|
1581
1581
|
type: Component,
|
|
1582
1582
|
args: [{
|
|
1583
1583
|
selector: 'smart-crud-filter-date-time',
|
|
@@ -1642,8 +1642,8 @@ class FilterDateWithEditComponent extends FilterDateComponent {
|
|
|
1642
1642
|
this.value = null;
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1646
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1645
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterDateWithEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1646
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterDateWithEditComponent, isStandalone: true, selector: "smart-crud-filter-date-with-edit", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1647
1647
|
<label class="smart:mb-1 smart:block smart:text-sm smart:font-medium">
|
|
1648
1648
|
{{ item()?.label || '' | translate }}
|
|
1649
1649
|
</label>
|
|
@@ -1729,7 +1729,7 @@ class FilterDateWithEditComponent extends FilterDateComponent {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
`, isInline: true, dependencies: [{ kind: "component", type: DateEditComponent, selector: "smart-date-edit", inputs: ["variant", "class", "ngModel"], outputs: ["ngModelChange", "validChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1731
1731
|
}
|
|
1732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterDateWithEditComponent, decorators: [{
|
|
1733
1733
|
type: Component,
|
|
1734
1734
|
args: [{
|
|
1735
1735
|
selector: 'smart-crud-filter-date-with-edit',
|
|
@@ -1835,8 +1835,8 @@ class FilterFlagComponent extends BaseComponent {
|
|
|
1835
1835
|
const control = this.bindValueControl();
|
|
1836
1836
|
this.inputOptions.set(this.buildInputOptions(control));
|
|
1837
1837
|
}
|
|
1838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1839
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1838
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterFlagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1839
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterFlagComponent, isStandalone: true, selector: "smart-crud-filter-flag", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1840
1840
|
@if (inputOptions()) {
|
|
1841
1841
|
<div class="smart:flex smart:w-full smart:items-center smart:gap-2">
|
|
1842
1842
|
<smart-input-flag
|
|
@@ -1858,7 +1858,7 @@ class FilterFlagComponent extends BaseComponent {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
`, isInline: true, dependencies: [{ kind: "component", type: InputFlagComponent, selector: "smart-input-flag" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1860
1860
|
}
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterFlagComponent, decorators: [{
|
|
1862
1862
|
type: Component,
|
|
1863
1863
|
args: [{
|
|
1864
1864
|
selector: 'smart-crud-filter-flag',
|
|
@@ -1916,8 +1916,8 @@ class FilterIntComponent extends BaseComponent {
|
|
|
1916
1916
|
if (this.advanced())
|
|
1917
1917
|
this.value = null;
|
|
1918
1918
|
}
|
|
1919
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1920
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1919
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterIntComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1920
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterIntComponent, isStandalone: true, selector: "smart-crud-filter-int", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1921
1921
|
@if (valueOptions()) {
|
|
1922
1922
|
<div class="smart:flex smart:w-full smart:items-end smart:gap-2">
|
|
1923
1923
|
@if (!advanced()) {
|
|
@@ -2008,7 +2008,7 @@ class FilterIntComponent extends BaseComponent {
|
|
|
2008
2008
|
}
|
|
2009
2009
|
`, isInline: true, dependencies: [{ kind: "component", type: InputIntComponent, selector: "smart-input-int" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NumberValueAccessor, selector: "input[type=number]:not([ngNoCva])[formControlName],input[type=number]:not([ngNoCva])[formControl],input[type=number]:not([ngNoCva])[ngModel]" }, { 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: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2010
2010
|
}
|
|
2011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterIntComponent, decorators: [{
|
|
2012
2012
|
type: Component,
|
|
2013
2013
|
args: [{
|
|
2014
2014
|
selector: 'smart-crud-filter-int',
|
|
@@ -2118,8 +2118,8 @@ class FilterRadioComponent extends BaseComponent {
|
|
|
2118
2118
|
const control = this.bindControl(null);
|
|
2119
2119
|
this.inputOptions.set(this.buildInputOptions(control, true));
|
|
2120
2120
|
}
|
|
2121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2122
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2122
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterRadioComponent, isStandalone: true, selector: "smart-crud-filter-radio", host: { classAttribute: "smart:mb-5 smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
2123
2123
|
@if (inputOptions()) {
|
|
2124
2124
|
<div class="smart:flex smart:w-full smart:items-start smart:gap-2">
|
|
2125
2125
|
<smart-input-radio
|
|
@@ -2141,7 +2141,7 @@ class FilterRadioComponent extends BaseComponent {
|
|
|
2141
2141
|
}
|
|
2142
2142
|
`, isInline: true, dependencies: [{ kind: "component", type: InputRadioComponent, selector: "smart-input-radio" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2143
2143
|
}
|
|
2144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterRadioComponent, decorators: [{
|
|
2145
2145
|
type: Component,
|
|
2146
2146
|
args: [{
|
|
2147
2147
|
selector: 'smart-crud-filter-radio',
|
|
@@ -2182,8 +2182,8 @@ class FilterTextComponent extends BaseComponent {
|
|
|
2182
2182
|
const control = this.bindValueControl();
|
|
2183
2183
|
this.inputOptions.set(this.buildInputOptions(control));
|
|
2184
2184
|
}
|
|
2185
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2186
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2186
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterTextComponent, isStandalone: true, selector: "smart-crud-filter-text", host: { classAttribute: "smart:block smart:w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
2187
2187
|
@if (inputOptions()) {
|
|
2188
2188
|
<div class="smart:flex smart:w-full smart:items-end smart:gap-2">
|
|
2189
2189
|
<smart-input-text
|
|
@@ -2205,7 +2205,7 @@ class FilterTextComponent extends BaseComponent {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
`, isInline: true, dependencies: [{ kind: "component", type: InputTextComponent, selector: "smart-input-text" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2207
2207
|
}
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterTextComponent, decorators: [{
|
|
2209
2209
|
type: Component,
|
|
2210
2210
|
args: [{
|
|
2211
2211
|
selector: 'smart-crud-filter-text',
|
|
@@ -2242,10 +2242,10 @@ class FilterComponent {
|
|
|
2242
2242
|
...(ngDevMode ? [undefined, { debugName: "item" }] : /* istanbul ignore next */ []));
|
|
2243
2243
|
filter = input(/* @ts-ignore */
|
|
2244
2244
|
...(ngDevMode ? [undefined, { debugName: "filter" }] : /* istanbul ignore next */ []));
|
|
2245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2246
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2246
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FilterComponent, isStandalone: true, selector: "smart-crud-filter", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"smart:py-1\">\n @switch ($safeNavigationMigration(item()?.fieldType)) {\n @case (FieldType.date) {\n <smart-crud-filter-date\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-date>\n }\n @case (FieldType.dateWithEdit) {\n <smart-crud-filter-date-with-edit\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-date-with-edit>\n }\n @case (FieldType.dateTime) {\n <smart-crud-filter-date-time\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-date-time>\n }\n @case (FieldType.radio) {\n <smart-crud-filter-radio\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-radio>\n }\n @case (FieldType.check) {\n <smart-crud-filter-check\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-check>\n }\n @case (FieldType.flag) {\n <smart-crud-filter-flag\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-flag>\n }\n @case (FieldType.int) {\n <smart-crud-filter-int\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-int>\n }\n @default {\n <smart-crud-filter-text\n [item]=\"item()\"\n [filter]=\"filter()\"\n ></smart-crud-filter-text>\n }\n }\n</div>\n", dependencies: [{ kind: "component", type: FilterTextComponent, selector: "smart-crud-filter-text" }, { kind: "component", type: FilterIntComponent, selector: "smart-crud-filter-int" }, { kind: "component", type: FilterFlagComponent, selector: "smart-crud-filter-flag" }, { kind: "component", type: FilterCheckComponent, selector: "smart-crud-filter-check" }, { kind: "component", type: FilterRadioComponent, selector: "smart-crud-filter-radio" }, { kind: "component", type: FilterDateTimeComponent, selector: "smart-crud-filter-date-time" }, { kind: "component", type: FilterDateWithEditComponent, selector: "smart-crud-filter-date-with-edit" }, { kind: "component", type: FilterDateComponent, selector: "smart-crud-filter-date" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
2247
2247
|
}
|
|
2248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FilterComponent, decorators: [{
|
|
2249
2249
|
type: Component,
|
|
2250
2250
|
args: [{ selector: 'smart-crud-filter', changeDetection: ChangeDetectionStrategy.Eager, imports: [
|
|
2251
2251
|
FilterTextComponent,
|
|
@@ -2305,10 +2305,10 @@ class FiltersBaseComponent {
|
|
|
2305
2305
|
]);
|
|
2306
2306
|
this.filter = this.facade.filter;
|
|
2307
2307
|
}
|
|
2308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2309
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.
|
|
2308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2309
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: FiltersBaseComponent, isStandalone: true, inputs: { hideMenu: { classPropertyName: "hideMenu", publicName: "hideMenu", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2310
2310
|
}
|
|
2311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersBaseComponent, decorators: [{
|
|
2312
2312
|
type: Directive
|
|
2313
2313
|
}], propDecorators: { hideMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideMenu", required: false }] }] } });
|
|
2314
2314
|
|
|
@@ -2368,8 +2368,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2368
2368
|
body: string;
|
|
2369
2369
|
*/
|
|
2370
2370
|
class FiltersComponent extends FiltersBaseComponent {
|
|
2371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2372
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2372
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FiltersComponent, isStandalone: true, selector: "smart-crud-filters", usesInheritance: true, ngImport: i0, template: `
|
|
2373
2373
|
<div class="smart:flex smart:h-full smart:flex-col">
|
|
2374
2374
|
@if (!hideMenu()) {
|
|
2375
2375
|
<header
|
|
@@ -2401,7 +2401,7 @@ class FiltersComponent extends FiltersBaseComponent {
|
|
|
2401
2401
|
</div>
|
|
2402
2402
|
`, isInline: true, dependencies: [{ kind: "component", type: FilterComponent, selector: "smart-crud-filter", inputs: ["item", "filter"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2403
2403
|
}
|
|
2404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersComponent, decorators: [{
|
|
2405
2405
|
type: Component,
|
|
2406
2406
|
args: [{
|
|
2407
2407
|
selector: 'smart-crud-filters',
|
|
@@ -2464,8 +2464,8 @@ class FiltersConfigComponent {
|
|
|
2464
2464
|
}, /* @ts-ignore */
|
|
2465
2465
|
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
2466
2466
|
}
|
|
2467
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2468
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersConfigComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2468
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FiltersConfigComponent, isStandalone: true, selector: "smart-crud-filters-config", ngImport: i0, template: `
|
|
2469
2469
|
@let query = this.query();
|
|
2470
2470
|
@if (query && query.length) {
|
|
2471
2471
|
<div class="smart:flex smart:flex-wrap smart:gap-2 smart:px-4 smart:py-2">
|
|
@@ -2489,7 +2489,7 @@ class FiltersConfigComponent {
|
|
|
2489
2489
|
}
|
|
2490
2490
|
`, isInline: true, dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2491
2491
|
}
|
|
2492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FiltersConfigComponent, decorators: [{
|
|
2493
2493
|
type: Component,
|
|
2494
2494
|
args: [{
|
|
2495
2495
|
selector: 'smart-crud-filters-config',
|
|
@@ -2574,10 +2574,10 @@ class MultiselectBaseComponent {
|
|
|
2574
2574
|
onValidChange(valid) {
|
|
2575
2575
|
this.valid = valid;
|
|
2576
2576
|
}
|
|
2577
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2578
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
2577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: MultiselectBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2578
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: MultiselectBaseComponent, isStandalone: true, ngImport: i0 });
|
|
2579
2579
|
}
|
|
2580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: MultiselectBaseComponent, decorators: [{
|
|
2581
2581
|
type: Directive
|
|
2582
2582
|
}], ctorParameters: () => [] });
|
|
2583
2583
|
|
|
@@ -2617,10 +2617,10 @@ class FormOptionsPipe {
|
|
|
2617
2617
|
};
|
|
2618
2618
|
}
|
|
2619
2619
|
}
|
|
2620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2621
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.
|
|
2620
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FormOptionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2621
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: FormOptionsPipe, isStandalone: true, name: "smartFormOptions" });
|
|
2622
2622
|
}
|
|
2623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FormOptionsPipe, decorators: [{
|
|
2624
2624
|
type: Pipe,
|
|
2625
2625
|
args: [{
|
|
2626
2626
|
name: 'smartFormOptions',
|
|
@@ -2628,11 +2628,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2628
2628
|
}] });
|
|
2629
2629
|
|
|
2630
2630
|
class CrudPipesModule {
|
|
2631
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2632
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
2633
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
2631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2632
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: CrudPipesModule, imports: [FormOptionsPipe], exports: [FormOptionsPipe] });
|
|
2633
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudPipesModule });
|
|
2634
2634
|
}
|
|
2635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudPipesModule, decorators: [{
|
|
2636
2636
|
type: NgModule,
|
|
2637
2637
|
args: [{
|
|
2638
2638
|
exports: [FormOptionsPipe],
|
|
@@ -2641,10 +2641,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2641
2641
|
}] });
|
|
2642
2642
|
|
|
2643
2643
|
class MultiselectComponent extends MultiselectBaseComponent {
|
|
2644
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2645
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: MultiselectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2645
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: MultiselectComponent, isStandalone: true, selector: "smart-crud-multiselect", usesInheritance: true, ngImport: i0, template: "@let list = this.list();\n@if (list) {\n <header\n class=\"smart:flex smart:items-center smart:justify-between smart:border-b smart:border-gray-200 smart:px-4 smart:py-3\"\n >\n <h2 class=\"smart:text-lg smart:font-semibold smart:text-gray-900\">\n {{ 'selected' | translate }}: {{ list.length }}\n </h2>\n <button\n type=\"button\"\n (click)=\"onClose()\"\n aria-label=\"close\"\n class=\"smart:rounded smart:p-1 smart:text-gray-500 smart:hover:bg-gray-100\"\n >\n \u2715\n </button>\n </header>\n\n @if (config?.list?.components?.multi) {\n <div>\n <ng-template\n [ngComponentOutlet]=\"\n $safeNavigationMigration(config?.list?.components?.multi)\n \"\n [ndcDynamicInputs]=\"{ items: list }\"\n ></ng-template>\n </div>\n }\n\n @if (showForm && item) {\n <div>\n <smart-form\n [options]=\"item | smartFormOptions: 'multiUpdate' : config.type\"\n (valuePartialChange)=\"onPartialChange($event, list)\"\n (validChange)=\"onValidChange($event)\"\n ></smart-form>\n\n <smart-button\n class=\"smart:float-right\"\n [disabled]=\"lock || !valid\"\n [options]=\"buttonOptions\"\n >\n {{ 'change' | translate }}\n </smart-button>\n </div>\n }\n}\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"] }, { kind: "component", type: FormComponent, selector: "smart-form", inputs: ["options", "class"], outputs: ["invokeSubmit", "valueChange", "valuePartialChange", "validChange"] }, { kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled", "class"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: FormOptionsPipe, name: "smartFormOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2646
2646
|
}
|
|
2647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: MultiselectComponent, decorators: [{
|
|
2648
2648
|
type: Component,
|
|
2649
2649
|
args: [{ selector: 'smart-crud-multiselect', imports: [
|
|
2650
2650
|
TranslatePipe,
|
|
@@ -2699,8 +2699,8 @@ class CrudListGroupService {
|
|
|
2699
2699
|
query: newQuery,
|
|
2700
2700
|
});
|
|
2701
2701
|
}
|
|
2702
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2703
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
2702
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListGroupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2703
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListGroupService });
|
|
2704
2704
|
}
|
|
2705
2705
|
__decorate([
|
|
2706
2706
|
debounce(250),
|
|
@@ -2708,7 +2708,7 @@ __decorate([
|
|
|
2708
2708
|
__metadata("design:paramtypes", []),
|
|
2709
2709
|
__metadata("design:returntype", void 0)
|
|
2710
2710
|
], CrudListGroupService.prototype, "refresh", null);
|
|
2711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListGroupService, decorators: [{
|
|
2712
2712
|
type: Injectable
|
|
2713
2713
|
}], propDecorators: { refresh: [] } });
|
|
2714
2714
|
|
|
@@ -2752,16 +2752,16 @@ class GroupBaseComponent extends BaseComponent$1 {
|
|
|
2752
2752
|
}
|
|
2753
2753
|
super.ngOnDestroy();
|
|
2754
2754
|
}
|
|
2755
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2756
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.
|
|
2755
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: GroupBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2756
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: GroupBaseComponent, isStandalone: true, inputs: { groups: { classPropertyName: "groups", publicName: "groups", isSignal: true, isRequired: false, transformFunction: null }, listOptions: { classPropertyName: "listOptions", publicName: "listOptions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2757
2757
|
}
|
|
2758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: GroupBaseComponent, decorators: [{
|
|
2759
2759
|
type: Directive
|
|
2760
2760
|
}], propDecorators: { groups: [{ type: i0.Input, args: [{ isSignal: true, alias: "groups", required: false }] }], listOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "listOptions", required: false }] }] } });
|
|
2761
2761
|
|
|
2762
2762
|
class GroupComponent extends GroupBaseComponent {
|
|
2763
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2764
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2763
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: GroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2764
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: GroupComponent, isStandalone: true, selector: "smart-crud-group", usesInheritance: true, ngImport: i0, template: `
|
|
2765
2765
|
@for (item of groups(); track item.key) {
|
|
2766
2766
|
<div class="smart:border-b smart:border-gray-200">
|
|
2767
2767
|
<button
|
|
@@ -2796,7 +2796,7 @@ class GroupComponent extends GroupBaseComponent {
|
|
|
2796
2796
|
}
|
|
2797
2797
|
`, isInline: true, dependencies: [{ kind: "component", type: GroupComponent, selector: "smart-crud-group" }, { kind: "component", type: ListComponent$1, selector: "smart-list", inputs: ["options", "class"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2798
2798
|
}
|
|
2799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: GroupComponent, decorators: [{
|
|
2800
2800
|
type: Component,
|
|
2801
2801
|
args: [{
|
|
2802
2802
|
selector: 'smart-crud-group',
|
|
@@ -2897,10 +2897,10 @@ class CrudListPaginationFactory {
|
|
|
2897
2897
|
}),
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
2900
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2901
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
2900
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListPaginationFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2901
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListPaginationFactory });
|
|
2902
2902
|
}
|
|
2903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListPaginationFactory, decorators: [{
|
|
2904
2904
|
type: Injectable
|
|
2905
2905
|
}] });
|
|
2906
2906
|
|
|
@@ -2917,10 +2917,10 @@ class CrudModelLabelProvider extends IModelLabelProvider {
|
|
|
2917
2917
|
return this.parent.get(options);
|
|
2918
2918
|
return signal(this.translateService.instant('MODEL.' + options.key));
|
|
2919
2919
|
}
|
|
2920
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2921
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
2920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudModelLabelProvider, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2921
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudModelLabelProvider });
|
|
2922
2922
|
}
|
|
2923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudModelLabelProvider, decorators: [{
|
|
2924
2924
|
type: Injectable
|
|
2925
2925
|
}] });
|
|
2926
2926
|
|
|
@@ -2941,8 +2941,8 @@ const COMPONENTS = [
|
|
|
2941
2941
|
GroupComponent,
|
|
2942
2942
|
];
|
|
2943
2943
|
class CrudComponentsModule {
|
|
2944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2945
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
2944
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2945
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: CrudComponentsModule, imports: [ExportComponent,
|
|
2946
2946
|
FilterComponent,
|
|
2947
2947
|
FilterTextComponent,
|
|
2948
2948
|
FiltersConfigComponent,
|
|
@@ -2973,7 +2973,7 @@ class CrudComponentsModule {
|
|
|
2973
2973
|
FilterIntComponent,
|
|
2974
2974
|
MultiselectComponent,
|
|
2975
2975
|
GroupComponent] });
|
|
2976
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
2976
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudComponentsModule, providers: [
|
|
2977
2977
|
CrudService,
|
|
2978
2978
|
CrudFacade,
|
|
2979
2979
|
SocketService,
|
|
@@ -2996,7 +2996,7 @@ class CrudComponentsModule {
|
|
|
2996
2996
|
CommonModule,
|
|
2997
2997
|
DynamicIoModule, CrudPipesModule] });
|
|
2998
2998
|
}
|
|
2999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudComponentsModule, decorators: [{
|
|
3000
3000
|
type: NgModule,
|
|
3001
3001
|
args: [{
|
|
3002
3002
|
imports: [
|
|
@@ -3040,16 +3040,16 @@ class CrudItemPageBaseComponent extends BaseComponent$1 {
|
|
|
3040
3040
|
super();
|
|
3041
3041
|
this.selected = this.facade.selected;
|
|
3042
3042
|
}
|
|
3043
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3044
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.
|
|
3043
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudItemPageBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3044
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.3", type: CrudItemPageBaseComponent, isStandalone: true, inputs: { detailsOptions: { classPropertyName: "detailsOptions", publicName: "detailsOptions", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, uniqueProvider: { classPropertyName: "uniqueProvider", publicName: "uniqueProvider", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPartialChange: "onPartialChange", onChange: "onChange", onValidChange: "onValidChange" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "formComponents", predicate: FormComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
3045
3045
|
}
|
|
3046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudItemPageBaseComponent, decorators: [{
|
|
3047
3047
|
type: Directive
|
|
3048
3048
|
}], ctorParameters: () => [], propDecorators: { contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], formComponents: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => FormComponent), { isSignal: true }] }], detailsOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "detailsOptions", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], uniqueProvider: [{ type: i0.Input, args: [{ isSignal: true, alias: "uniqueProvider", required: false }] }], onPartialChange: [{ type: i0.Output, args: ["onPartialChange"] }], onChange: [{ type: i0.Output, args: ["onChange"] }], onValidChange: [{ type: i0.Output, args: ["onValidChange"] }] } });
|
|
3049
3049
|
|
|
3050
3050
|
class ItemStandardComponent extends CrudItemPageBaseComponent {
|
|
3051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3052
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
3051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ItemStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3052
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ItemStandardComponent, isStandalone: true, selector: "smart-crud-item-standard-page", usesInheritance: true, ngImport: i0, template: `
|
|
3053
3053
|
@if (mode() === 'details') {
|
|
3054
3054
|
@if (detailsOptions()) {
|
|
3055
3055
|
<smart-details [options]="detailsOptions()"></smart-details>
|
|
@@ -3077,7 +3077,7 @@ class ItemStandardComponent extends CrudItemPageBaseComponent {
|
|
|
3077
3077
|
<br /><br />
|
|
3078
3078
|
`, isInline: true, styles: [""], dependencies: [{ kind: "component", type: DetailsComponent, selector: "smart-details", inputs: ["options", "class"] }, { kind: "component", type: FormComponent, selector: "smart-form", inputs: ["options", "class"], outputs: ["invokeSubmit", "valueChange", "valuePartialChange", "validChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: FormOptionsPipe, name: "smartFormOptions" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
3079
3079
|
}
|
|
3080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ItemStandardComponent, decorators: [{
|
|
3081
3081
|
type: Component,
|
|
3082
3082
|
args: [{ selector: 'smart-crud-item-standard-page', template: `
|
|
3083
3083
|
@if (mode() === 'details') {
|
|
@@ -3139,10 +3139,10 @@ class PageService {
|
|
|
3139
3139
|
val.remove = false;
|
|
3140
3140
|
}
|
|
3141
3141
|
}
|
|
3142
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3143
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
3142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3143
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PageService });
|
|
3144
3144
|
}
|
|
3145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PageService, decorators: [{
|
|
3146
3146
|
type: Injectable
|
|
3147
3147
|
}] });
|
|
3148
3148
|
|
|
@@ -3484,8 +3484,8 @@ class ItemComponent extends CreateDynamicComponent('crud-item-page') {
|
|
|
3484
3484
|
});
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
3487
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3488
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
3487
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3488
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ItemComponent, isStandalone: true, selector: "smart-crud-item-page", viewQueries: [{ propertyName: "standardComponents", predicate: ItemStandardComponent, descendants: true, isSignal: true }, { 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 }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3489
3489
|
<smart-page [options]="pageOptions()" [class]="config.cssClass || ''">
|
|
3490
3490
|
<div #topTpl class="text-xl py-2.5 separator"></div>
|
|
3491
3491
|
@if (template() === 'default') {
|
|
@@ -3508,7 +3508,7 @@ class ItemComponent extends CreateDynamicComponent('crud-item-page') {
|
|
|
3508
3508
|
</smart-page>
|
|
3509
3509
|
`, isInline: true, dependencies: [{ kind: "component", type: PageComponent, selector: "smart-page", inputs: ["options", "class"] }, { kind: "component", type: ItemStandardComponent, selector: "smart-crud-item-standard-page" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
3510
3510
|
}
|
|
3511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ItemComponent, decorators: [{
|
|
3512
3512
|
type: Component,
|
|
3513
3513
|
args: [{
|
|
3514
3514
|
selector: 'smart-crud-item-page',
|
|
@@ -3546,10 +3546,10 @@ class CrudListPageBaseComponent extends BaseComponent$1 {
|
|
|
3546
3546
|
...(ngDevMode ? [{ debugName: "contentTpl" }] : /* istanbul ignore next */ []));
|
|
3547
3547
|
listOptions = input(/* @ts-ignore */
|
|
3548
3548
|
...(ngDevMode ? [undefined, { debugName: "listOptions" }] : /* istanbul ignore next */ []));
|
|
3549
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3550
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.
|
|
3549
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListPageBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3550
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.3", type: CrudListPageBaseComponent, isStandalone: true, inputs: { listOptions: { classPropertyName: "listOptions", publicName: "listOptions", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
3551
3551
|
}
|
|
3552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudListPageBaseComponent, decorators: [{
|
|
3553
3553
|
type: Directive
|
|
3554
3554
|
}], propDecorators: { contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], listOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "listOptions", required: false }] }] } });
|
|
3555
3555
|
|
|
@@ -3558,8 +3558,8 @@ class ListStandardComponent extends CrudListPageBaseComponent {
|
|
|
3558
3558
|
config = inject((CrudFullConfig));
|
|
3559
3559
|
isSearch = computed(() => !!this.facade.filter()?.searchText, /* @ts-ignore */
|
|
3560
3560
|
...(ngDevMode ? [{ debugName: "isSearch" }] : /* istanbul ignore next */ []));
|
|
3561
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3562
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
3561
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3562
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListStandardComponent, isStandalone: true, selector: "smart-crud-list-standard-page", providers: [CrudListGroupService], usesInheritance: true, ngImport: i0, template: `
|
|
3563
3563
|
<smart-crud-filters-config></smart-crud-filters-config>
|
|
3564
3564
|
@let groups = $safeNavigationMigration(config.list?.groups);
|
|
3565
3565
|
@if (listOptions()) {
|
|
@@ -3576,7 +3576,7 @@ class ListStandardComponent extends CrudListPageBaseComponent {
|
|
|
3576
3576
|
}
|
|
3577
3577
|
`, isInline: true, dependencies: [{ kind: "component", type: FiltersConfigComponent, selector: "smart-crud-filters-config" }, { kind: "component", type: ListComponent$1, selector: "smart-list", inputs: ["options", "class"] }, { kind: "component", type: GroupComponent, selector: "smart-crud-group" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
3578
3578
|
}
|
|
3579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListStandardComponent, decorators: [{
|
|
3580
3580
|
type: Component,
|
|
3581
3581
|
args: [{
|
|
3582
3582
|
selector: 'smart-crud-list-standard-page',
|
|
@@ -3628,10 +3628,10 @@ class CrudSearchService {
|
|
|
3628
3628
|
setEnabled(val) {
|
|
3629
3629
|
this._enabledSource.next(val);
|
|
3630
3630
|
}
|
|
3631
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3632
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
3631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3632
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudSearchService, providedIn: 'root' });
|
|
3633
3633
|
}
|
|
3634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudSearchService, decorators: [{
|
|
3635
3635
|
type: Injectable,
|
|
3636
3636
|
args: [{
|
|
3637
3637
|
providedIn: 'root',
|
|
@@ -3953,8 +3953,8 @@ class ListComponent extends CreateDynamicComponent('crud-list-page') {
|
|
|
3953
3953
|
}
|
|
3954
3954
|
});
|
|
3955
3955
|
}
|
|
3956
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3957
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
3956
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3957
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListComponent, isStandalone: true, selector: "smart-crud-list-page", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], 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: `
|
|
3958
3958
|
@if (filter() && pageOptions()) {
|
|
3959
3959
|
<smart-page [options]="pageOptions()" [class]="config.cssClass || ''">
|
|
3960
3960
|
<div #topTpl></div>
|
|
@@ -3972,7 +3972,7 @@ class ListComponent extends CreateDynamicComponent('crud-list-page') {
|
|
|
3972
3972
|
}
|
|
3973
3973
|
`, isInline: true, dependencies: [{ kind: "component", type: PageComponent, selector: "smart-page", inputs: ["options", "class"] }, { kind: "component", type: ListStandardComponent, selector: "smart-crud-list-standard-page" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
3974
3974
|
}
|
|
3975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListComponent, decorators: [{
|
|
3976
3976
|
type: Component,
|
|
3977
3977
|
args: [{
|
|
3978
3978
|
selector: 'smart-crud-list-page',
|
|
@@ -4011,8 +4011,8 @@ class CrudFullModule {
|
|
|
4011
4011
|
: getReducer(config.entity));
|
|
4012
4012
|
effects.init();
|
|
4013
4013
|
}
|
|
4014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4015
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
4014
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFullModule, deps: [{ token: CrudConfig }, { token: CrudEffects }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4015
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: CrudFullModule, imports: [ItemComponent,
|
|
4016
4016
|
ListComponent,
|
|
4017
4017
|
ListStandardComponent,
|
|
4018
4018
|
ItemStandardComponent, SharedModule,
|
|
@@ -4022,7 +4022,7 @@ class CrudFullModule {
|
|
|
4022
4022
|
ListComponent,
|
|
4023
4023
|
ListStandardComponent,
|
|
4024
4024
|
ItemStandardComponent, CrudComponentsModule] });
|
|
4025
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
4025
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFullModule, providers: [
|
|
4026
4026
|
CrudService,
|
|
4027
4027
|
CrudListGroupService,
|
|
4028
4028
|
PageService,
|
|
@@ -4040,7 +4040,7 @@ class CrudFullModule {
|
|
|
4040
4040
|
CommonModule,
|
|
4041
4041
|
CrudComponentsModule, CrudComponentsModule] });
|
|
4042
4042
|
}
|
|
4043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudFullModule, decorators: [{
|
|
4044
4044
|
type: NgModule,
|
|
4045
4045
|
args: [{
|
|
4046
4046
|
imports: [
|
|
@@ -4075,13 +4075,13 @@ class CrudCoreModule {
|
|
|
4075
4075
|
: getReducer(config.entity));
|
|
4076
4076
|
effects.init();
|
|
4077
4077
|
}
|
|
4078
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4079
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
4078
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudCoreModule, deps: [{ token: CrudConfig }, { token: CrudEffects }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4079
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: CrudCoreModule, imports: [SharedModule,
|
|
4080
4080
|
CrudPipesModule,
|
|
4081
4081
|
FormsModule,
|
|
4082
4082
|
CommonModule,
|
|
4083
4083
|
CrudComponentsModule], exports: [CrudComponentsModule] });
|
|
4084
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
4084
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudCoreModule, providers: [
|
|
4085
4085
|
CrudService,
|
|
4086
4086
|
CrudListGroupService,
|
|
4087
4087
|
CrudEffects,
|
|
@@ -4096,7 +4096,7 @@ class CrudCoreModule {
|
|
|
4096
4096
|
CommonModule,
|
|
4097
4097
|
CrudComponentsModule, CrudComponentsModule] });
|
|
4098
4098
|
}
|
|
4099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudCoreModule, decorators: [{
|
|
4100
4100
|
type: NgModule,
|
|
4101
4101
|
args: [{
|
|
4102
4102
|
imports: [
|
|
@@ -4142,9 +4142,9 @@ class CrudModule {
|
|
|
4142
4142
|
: getReducer(config.entity));
|
|
4143
4143
|
effects.init();
|
|
4144
4144
|
}
|
|
4145
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4146
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
4147
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
4145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudModule, deps: [{ token: CrudConfig }, { token: CrudEffects }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4146
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: CrudModule });
|
|
4147
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudModule, providers: [
|
|
4148
4148
|
CrudService,
|
|
4149
4149
|
CrudListGroupService,
|
|
4150
4150
|
CrudEffects,
|
|
@@ -4153,7 +4153,7 @@ class CrudModule {
|
|
|
4153
4153
|
CrudListPaginationFactory,
|
|
4154
4154
|
] });
|
|
4155
4155
|
}
|
|
4156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CrudModule, decorators: [{
|
|
4157
4157
|
type: NgModule,
|
|
4158
4158
|
args: [{
|
|
4159
4159
|
providers: [
|