@abp/ng.theme.shared 5.0.0-beta.2 → 5.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/abp-ng.theme.shared-extensions.umd.js +4 -4
- package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
- package/bundles/abp-ng.theme.shared.umd.js +44 -110
- package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +1 -1
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js.map +1 -1
- package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +1 -1
- package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js.map +1 -1
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +1 -1
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js.map +1 -1
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +1 -1
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js.map +1 -1
- package/esm2015/lib/components/button/button.component.js +2 -2
- package/esm2015/lib/components/button/button.component.js.map +1 -1
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +1 -1
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js.map +1 -1
- package/esm2015/lib/components/modal/modal.component.js +1 -1
- package/esm2015/lib/components/modal/modal.component.js.map +1 -1
- package/esm2015/lib/constants/styles.js +3 -2
- package/esm2015/lib/constants/styles.js.map +1 -1
- package/esm2015/lib/handlers/document-dir.handler.js +33 -0
- package/esm2015/lib/handlers/document-dir.handler.js.map +1 -0
- package/esm2015/lib/handlers/index.js +1 -1
- package/esm2015/lib/handlers/index.js.map +1 -1
- package/esm2015/lib/theme-shared.module.js +10 -9
- package/esm2015/lib/theme-shared.module.js.map +1 -1
- package/esm2015/lib/tokens/index.js +0 -1
- package/esm2015/lib/tokens/index.js.map +1 -1
- package/esm2015/public-api.js +0 -1
- package/esm2015/public-api.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared-extensions.js +4 -4
- package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared.js +225 -280
- package/fesm2015/abp-ng.theme.shared.js.map +1 -1
- package/lib/constants/styles.d.ts +1 -2
- package/lib/handlers/document-dir.handler.d.ts +13 -0
- package/lib/handlers/index.d.ts +1 -1
- package/lib/tokens/index.d.ts +0 -1
- package/package.json +4 -4
- package/public-api.d.ts +0 -1
- package/esm2015/lib/handlers/lazy-style.handler.js +0 -89
- package/esm2015/lib/handlers/lazy-style.handler.js.map +0 -1
- package/esm2015/lib/tokens/lazy-styles.token.js +0 -3
- package/esm2015/lib/tokens/lazy-styles.token.js.map +0 -1
- package/lib/handlers/lazy-style.handler.d.ts +0 -23
- package/lib/tokens/lazy-styles.token.d.ts +0 -2
- package/styles/bootstrap-rtl.min.css +0 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CoreModule, noop } from '@abp/ng.core';
|
|
2
2
|
import { DatePipe } from '@angular/common';
|
|
3
|
-
import { APP_INITIALIZER,
|
|
3
|
+
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
|
4
4
|
import { NgbDateParserFormatter, NgbPaginationModule } from '@ng-bootstrap/ng-bootstrap';
|
|
5
5
|
import { defaultMapErrorsFn, NgxValidateCoreModule, VALIDATION_BLUEPRINTS, VALIDATION_MAP_ERRORS_FN, VALIDATION_VALIDATE_ON_SUBMIT, } from '@ngx-validate/core';
|
|
6
6
|
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
|
7
|
-
import { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';
|
|
8
7
|
import { BreadcrumbItemsComponent } from './components/breadcrumb-items/breadcrumb-items.component';
|
|
8
|
+
import { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';
|
|
9
9
|
import { ButtonComponent } from './components/button/button.component';
|
|
10
10
|
import { ConfirmationComponent } from './components/confirmation/confirmation.component';
|
|
11
11
|
import { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component';
|
|
@@ -20,8 +20,8 @@ import { EllipsisModule } from './directives/ellipsis.directive';
|
|
|
20
20
|
import { LoadingDirective } from './directives/loading.directive';
|
|
21
21
|
import { NgxDatatableDefaultDirective } from './directives/ngx-datatable-default.directive';
|
|
22
22
|
import { NgxDatatableListDirective } from './directives/ngx-datatable-list.directive';
|
|
23
|
+
import { DocumentDirHandlerService } from './handlers/document-dir.handler';
|
|
23
24
|
import { ErrorHandler } from './handlers/error.handler';
|
|
24
|
-
import { initLazyStyleHandler } from './handlers/lazy-style.handler';
|
|
25
25
|
import { NG_BOOTSTRAP_CONFIG_PROVIDERS } from './providers';
|
|
26
26
|
import { THEME_SHARED_ROUTE_PROVIDERS } from './providers/route.provider';
|
|
27
27
|
import { THEME_SHARED_APPEND_CONTENT } from './tokens/append-content.token';
|
|
@@ -121,12 +121,6 @@ export class ThemeSharedModule {
|
|
|
121
121
|
deps: [THEME_SHARED_APPEND_CONTENT],
|
|
122
122
|
useFactory: noop,
|
|
123
123
|
},
|
|
124
|
-
{
|
|
125
|
-
provide: APP_INITIALIZER,
|
|
126
|
-
multi: true,
|
|
127
|
-
deps: [Injector],
|
|
128
|
-
useFactory: initLazyStyleHandler,
|
|
129
|
-
},
|
|
130
124
|
{ provide: HTTP_ERROR_CONFIG, useValue: httpErrorConfig },
|
|
131
125
|
{
|
|
132
126
|
provide: 'HTTP_ERROR_CONFIG',
|
|
@@ -147,6 +141,13 @@ export class ThemeSharedModule {
|
|
|
147
141
|
provide: VALIDATION_VALIDATE_ON_SUBMIT,
|
|
148
142
|
useValue: validation.validateOnSubmit,
|
|
149
143
|
},
|
|
144
|
+
DocumentDirHandlerService,
|
|
145
|
+
{
|
|
146
|
+
provide: APP_INITIALIZER,
|
|
147
|
+
useFactory: noop,
|
|
148
|
+
multi: true,
|
|
149
|
+
deps: [DocumentDirHandlerService],
|
|
150
|
+
},
|
|
150
151
|
],
|
|
151
152
|
};
|
|
152
153
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-shared.module.js","sourceRoot":"","sources":["../../../../../packages/theme-shared/src/lib/theme-shared.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"theme-shared.module.js","sourceRoot":"","sources":["../../../../../packages/theme-shared/src/lib/theme-shared.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAuB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AACpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,E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,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE,CAAC,2BAA2B,CAAC;oBACnC,UAAU,EAAE,IAAI;iBACjB;gBACD,EAAE,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,eAAe,EAAE;gBACzD;oBACE,OAAO,EAAE,mBAAmB;oBAC5B,UAAU,EAAE,sBAAsB;oBAClC,IAAI,EAAE,CAAC,iBAAiB,CAAC;iBAC1B;gBACD,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,mBAAmB,EAAE;gBAClE,6BAA6B;gBAC7B;oBACE,OAAO,EAAE,qBAAqB;oBAC9B,QAAQ,kCACH,6BAA6B,GAC7B,CAAC,UAAU,CAAC,UAAU,IAAI,EAAE,CAAC,CACjC;iBACF;gBACD;oBACE,OAAO,EAAE,wBAAwB;oBACjC,QAAQ,EAAE,UAAU,CAAC,WAAW,IAAI,kBAAkB;iBACvD;gBACD;oBACE,OAAO,EAAE,6BAA6B;oBACtC,QAAQ,EAAE,UAAU,CAAC,gBAAgB;iBACtC;gBACD,yBAAyB;gBACzB;oBACE,OAAO,EAAE,eAAe;oBACxB,UAAU,EAAE,IAAI;oBAChB,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE,CAAC,yBAAyB,CAAC;iBAClC;aACF;SACF,CAAC;IACJ,CAAC;;8GApDU,iBAAiB;+GAAjB,iBAAiB,YANjB,qBAAqB,aAArB,qBAAqB;+GAMrB,iBAAiB,YAHnB,CAAC,qBAAqB,CAAC,EAHrB,qBAAqB;2FAMrB,iBAAiB;kBAJ7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,qBAAqB,CAAC;oBAChC,OAAO,EAAE,CAAC,qBAAqB,CAAC;iBACjC","sourcesContent":["import { CoreModule, noop } from '@abp/ng.core';\nimport { DatePipe } from '@angular/common';\nimport { APP_INITIALIZER, ModuleWithProviders, NgModule } from '@angular/core';\nimport { NgbDateParserFormatter, NgbPaginationModule } from '@ng-bootstrap/ng-bootstrap';\nimport {\n defaultMapErrorsFn,\n NgxValidateCoreModule,\n VALIDATION_BLUEPRINTS,\n VALIDATION_MAP_ERRORS_FN,\n VALIDATION_VALIDATE_ON_SUBMIT,\n} from '@ngx-validate/core';\nimport { NgxDatatableModule } from '@swimlane/ngx-datatable';\nimport { BreadcrumbItemsComponent } from './components/breadcrumb-items/breadcrumb-items.component';\nimport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\nimport { ButtonComponent } from './components/button/button.component';\nimport { ConfirmationComponent } from './components/confirmation/confirmation.component';\nimport { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component';\nimport { LoaderBarComponent } from './components/loader-bar/loader-bar.component';\nimport { LoadingComponent } from './components/loading/loading.component';\nimport { ModalCloseDirective } from './components/modal/modal-close.directive';\nimport { ModalComponent } from './components/modal/modal.component';\nimport { ToastContainerComponent } from './components/toast-container/toast-container.component';\nimport { ToastComponent } from './components/toast/toast.component';\nimport { DEFAULT_VALIDATION_BLUEPRINTS } from './constants/validation';\nimport { EllipsisModule } from './directives/ellipsis.directive';\nimport { LoadingDirective } from './directives/loading.directive';\nimport { NgxDatatableDefaultDirective } from './directives/ngx-datatable-default.directive';\nimport { NgxDatatableListDirective } from './directives/ngx-datatable-list.directive';\nimport { DocumentDirHandlerService } from './handlers/document-dir.handler';\nimport { ErrorHandler } from './handlers/error.handler';\nimport { RootParams } from './models/common';\nimport { NG_BOOTSTRAP_CONFIG_PROVIDERS } from './providers';\nimport { THEME_SHARED_ROUTE_PROVIDERS } from './providers/route.provider';\nimport { THEME_SHARED_APPEND_CONTENT } from './tokens/append-content.token';\nimport { httpErrorConfigFactory, HTTP_ERROR_CONFIG } from './tokens/http-error.token';\nimport { DateParserFormatter } from './utils/date-parser-formatter';\n\nconst declarationsWithExports = [\n BreadcrumbComponent,\n BreadcrumbItemsComponent,\n ButtonComponent,\n ConfirmationComponent,\n LoaderBarComponent,\n LoadingComponent,\n ModalComponent,\n ToastComponent,\n ToastContainerComponent,\n NgxDatatableDefaultDirective,\n NgxDatatableListDirective,\n LoadingDirective,\n ModalCloseDirective,\n];\n\n@NgModule({\n imports: [\n CoreModule,\n NgxDatatableModule,\n NgxValidateCoreModule,\n NgbPaginationModule,\n EllipsisModule,\n ],\n declarations: [...declarationsWithExports, HttpErrorWrapperComponent],\n exports: [NgxDatatableModule, EllipsisModule, ...declarationsWithExports],\n providers: [DatePipe],\n entryComponents: [\n HttpErrorWrapperComponent,\n LoadingComponent,\n ToastContainerComponent,\n ConfirmationComponent,\n ],\n})\nexport class BaseThemeSharedModule {}\n\n@NgModule({\n imports: [BaseThemeSharedModule],\n exports: [BaseThemeSharedModule],\n})\nexport class ThemeSharedModule {\n static forRoot(\n { httpErrorConfig, validation = {} } = {} as RootParams,\n ): ModuleWithProviders<ThemeSharedModule> {\n return {\n ngModule: ThemeSharedModule,\n providers: [\n {\n provide: APP_INITIALIZER,\n multi: true,\n deps: [ErrorHandler],\n useFactory: noop,\n },\n THEME_SHARED_ROUTE_PROVIDERS,\n {\n provide: APP_INITIALIZER,\n multi: true,\n deps: [THEME_SHARED_APPEND_CONTENT],\n useFactory: noop,\n },\n { provide: HTTP_ERROR_CONFIG, useValue: httpErrorConfig },\n {\n provide: 'HTTP_ERROR_CONFIG',\n useFactory: httpErrorConfigFactory,\n deps: [HTTP_ERROR_CONFIG],\n },\n { provide: NgbDateParserFormatter, useClass: DateParserFormatter },\n NG_BOOTSTRAP_CONFIG_PROVIDERS,\n {\n provide: VALIDATION_BLUEPRINTS,\n useValue: {\n ...DEFAULT_VALIDATION_BLUEPRINTS,\n ...(validation.blueprints || {}),\n },\n },\n {\n provide: VALIDATION_MAP_ERRORS_FN,\n useValue: validation.mapErrorsFn || defaultMapErrorsFn,\n },\n {\n provide: VALIDATION_VALIDATE_ON_SUBMIT,\n useValue: validation.validateOnSubmit,\n },\n DocumentDirHandlerService,\n {\n provide: APP_INITIALIZER,\n useFactory: noop,\n multi: true,\n deps: [DocumentDirHandlerService],\n },\n ],\n };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/theme-shared/src/lib/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/theme-shared/src/lib/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC","sourcesContent":["export * from './append-content.token';\nexport * from './http-error.token';\nexport * from './ngx-datatable-messages.token';\nexport * from './suppress-unsaved-changes-warning.token';\n"]}
|
package/esm2015/public-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../packages/theme-shared/src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../packages/theme-shared/src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC","sourcesContent":["/*\n * Public API Surface of theme-shared\n */\n\nexport * from './lib/animations';\nexport * from './lib/components';\nexport * from './lib/constants/validation';\nexport * from './lib/directives';\nexport * from './lib/enums';\nexport * from './lib/handlers';\nexport * from './lib/models';\nexport * from './lib/providers';\nexport * from './lib/services';\nexport * from './lib/theme-shared.module';\nexport * from './lib/tokens';\nexport * from './lib/utils';\n"]}
|
|
@@ -253,7 +253,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
253
253
|
(ngModelChange)="setDate($event)"
|
|
254
254
|
[meridian]="meridian"
|
|
255
255
|
></ngb-timepicker>
|
|
256
|
-
`, isInline: true, components: [{ type: i2.NgbTimepicker, selector: "ngb-timepicker", inputs: ["meridian", "spinners", "seconds", "hourStep", "minuteStep", "secondStep", "readonlyInputs", "size"] }], directives: [{ type: i2.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["disabled", "autoClose", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "
|
|
256
|
+
`, isInline: true, components: [{ type: i2.NgbTimepicker, selector: "ngb-timepicker", inputs: ["meridian", "spinners", "seconds", "hourStep", "minuteStep", "secondStep", "readonlyInputs", "size"] }], directives: [{ type: i2.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["disabled", "autoClose", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { type: i2$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]" }, { type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6.ValidationDirective, selector: "[formControl],[formControlName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }], viewProviders: [
|
|
257
257
|
{
|
|
258
258
|
provide: ControlContainer,
|
|
259
259
|
useFactory: selfFactory,
|
|
@@ -500,7 +500,7 @@ class ExtensibleFormPropComponent {
|
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
ExtensibleFormPropComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ExtensibleFormPropComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TrackByService }, { token: i1.ConfigStateService }, { token: i2$1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Component });
|
|
503
|
-
ExtensibleFormPropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ExtensibleFormPropComponent, selector: "abp-extensible-form-prop", inputs: { data: "data", prop: "prop", first: "first" }, viewQueries: [{ propertyName: "fieldRef", first: true, predicate: ["field"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\" *abpPermission=\"prop.permission\" [ngSwitch]=\"getComponent(prop)\">\n <ng-template ngSwitchCase=\"input\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <input\n #field\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n [autocomplete]=\"prop.autocomplete\"\n [type]=\"getType(prop)\"\n [abpDisabled]=\"disabled\"\n [readonly]=\"readonly\"\n class=\"form-control\"\n />\n </ng-template>\n\n <ng-template ngSwitchCase=\"hidden\">\n <input [formControlName]=\"prop.name\" type=\"hidden\" />\n </ng-template>\n\n <ng-template ngSwitchCase=\"checkbox\">\n <div class=\"
|
|
503
|
+
ExtensibleFormPropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ExtensibleFormPropComponent, selector: "abp-extensible-form-prop", inputs: { data: "data", prop: "prop", first: "first" }, viewQueries: [{ propertyName: "fieldRef", first: true, predicate: ["field"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"mb-3 form-group\" *abpPermission=\"prop.permission\" [ngSwitch]=\"getComponent(prop)\">\n <ng-template ngSwitchCase=\"input\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <input\n #field\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n [autocomplete]=\"prop.autocomplete\"\n [type]=\"getType(prop)\"\n [abpDisabled]=\"disabled\"\n [readonly]=\"readonly\"\n class=\"form-control\"\n />\n </ng-template>\n\n <ng-template ngSwitchCase=\"hidden\">\n <input [formControlName]=\"prop.name\" type=\"hidden\" />\n </ng-template>\n\n <ng-template ngSwitchCase=\"checkbox\">\n <div class=\"form-check\" validationTarget>\n <input\n #field\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n [abpDisabled]=\"disabled\"\n type=\"checkbox\"\n class=\"form-check-input\"\n />\n <ng-template\n [ngTemplateOutlet]=\"label\"\n [ngTemplateOutletContext]=\"{ $implicit: 'form-check-label' }\"\n ></ng-template>\n </div>\n </ng-template>\n\n <ng-template ngSwitchCase=\"select\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <select\n #field\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n [abpDisabled]=\"disabled\"\n class=\"form-select form-control\"\n >\n <option\n *ngFor=\"let option of options$ | async; trackBy: track.by('value')\"\n [ngValue]=\"option.value\"\n >\n {{ option.key }}\n </option>\n </select>\n </ng-template>\n\n <ng-template ngSwitchCase=\"multiselect\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <select\n #field\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n [abpDisabled]=\"disabled\"\n multiple=\"multiple\"\n class=\"form-select form-control\"\n >\n <option\n *ngFor=\"let option of options$ | async; trackBy: track.by('value')\"\n [ngValue]=\"option.value\"\n >\n {{ option.key }}\n </option>\n </select>\n </ng-template>\n\n <ng-template ngSwitchCase=\"typeahead\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <div #typeahead class=\"position-relative\" validationStyle validationTarget>\n <input\n #field\n [id]=\"prop.id\"\n [autocomplete]=\"prop.autocomplete\"\n [abpDisabled]=\"disabled\"\n [ngbTypeahead]=\"search\"\n [editable]=\"false\"\n [inputFormatter]=\"typeaheadFormatter\"\n [resultFormatter]=\"typeaheadFormatter\"\n [ngModelOptions]=\"{ standalone: true }\"\n [(ngModel)]=\"typeaheadModel\"\n (selectItem)=\"setTypeaheadValue($event.item)\"\n (blur)=\"setTypeaheadValue(typeaheadModel)\"\n [class.is-invalid]=\"typeahead.classList.contains('is-invalid')\"\n class=\"form-control\"\n />\n <input [formControlName]=\"prop.name\" type=\"hidden\" />\n </div>\n </ng-template>\n\n <ng-template ngSwitchCase=\"date\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <input\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n (click)=\"datepicker.open()\"\n (keyup.space)=\"datepicker.open()\"\n ngbDatepicker\n #datepicker=\"ngbDatepicker\"\n type=\"text\"\n class=\"form-control\"\n />\n </ng-template>\n\n <ng-template ngSwitchCase=\"time\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <ngb-timepicker [formControlName]=\"prop.name\"></ngb-timepicker>\n </ng-template>\n\n <ng-template ngSwitchCase=\"dateTime\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <abp-date-time-picker [prop]=\"prop\" [meridian]=\"meridian\"></abp-date-time-picker>\n </ng-template>\n\n <ng-template ngSwitchCase=\"textarea\">\n <ng-template [ngTemplateOutlet]=\"label\"></ng-template>\n <textarea\n #field\n [id]=\"prop.id\"\n [formControlName]=\"prop.name\"\n [abpDisabled]=\"disabled\"\n [readonly]=\"readonly\"\n class=\"form-control\"\n ></textarea>\n </ng-template>\n</div>\n\n<ng-template #label let-classes>\n <label [htmlFor]=\"prop.id\" [ngClass]=\"classes || 'form-label'\"\n >{{ prop.displayName | abpLocalization }} {{ asterisk }}</label\n >\n</ng-template>\n", components: [{ type: i2.NgbTimepicker, selector: "ngb-timepicker", inputs: ["meridian", "spinners", "seconds", "hourStep", "minuteStep", "secondStep", "readonlyInputs", "size"] }, { type: DateTimePickerComponent, selector: "abp-date-time-picker", inputs: ["prop", "meridian"], exportAs: ["abpDateTimePicker"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }, { type: i5.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i5.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2$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]" }, { type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6.ValidationDirective, selector: "[formControl],[formControlName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }, { type: DisabledDirective, selector: "[abpDisabled]", inputs: ["abpDisabled"] }, { type: i6.ValidationTargetDirective, selector: "[validationTarget]" }, { type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2$1.SelectMultipleControlValueAccessor, selector: "select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]", inputs: ["compareWith"] }, { type: i6.ValidationStyleDirective, selector: "[validationStyle]" }, { type: i2.NgbTypeahead, selector: "input[ngbTypeahead]", inputs: ["autocomplete", "placement", "container", "editable", "focusFirst", "showHint", "inputFormatter", "ngbTypeahead", "resultFormatter", "resultTemplate", "popupClass"], outputs: ["selectItem"], exportAs: ["ngbTypeahead"] }, { type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["disabled", "autoClose", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i5.AsyncPipe, "abpLocalization": i1.LocalizationPipe }, viewProviders: [
|
|
504
504
|
{
|
|
505
505
|
provide: ControlContainer,
|
|
506
506
|
useFactory: selfFactory,
|
|
@@ -834,7 +834,7 @@ GridActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
834
834
|
provide: EXTENSIONS_ACTION_TYPE,
|
|
835
835
|
useValue: 'entityActions',
|
|
836
836
|
},
|
|
837
|
-
], exportAs: ["abpGridActions"], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"actionList.length > 1\" ngbDropdown container=\"body\" class=\"d-inline-block\">\n <button\n class=\"btn btn-primary btn-sm dropdown-toggle\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n ngbDropdownToggle\n >\n <i [ngClass]=\"icon\" [class.
|
|
837
|
+
], exportAs: ["abpGridActions"], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"actionList.length > 1\" ngbDropdown container=\"body\" class=\"d-inline-block\">\n <button\n class=\"btn btn-primary btn-sm dropdown-toggle\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n ngbDropdownToggle\n >\n <i [ngClass]=\"icon\" [class.me-1]=\"icon\"></i>{{ text | abpLocalization }}\n </button>\n <div ngbDropdownMenu>\n <ng-container\n *ngFor=\"let action of actionList; trackBy: trackByFn\"\n [ngTemplateOutlet]=\"btnItem\"\n [ngTemplateOutletContext]=\"{ $implicit: action }\"\n >\n </ng-container>\n </div>\n</div>\n\n<ng-container\n *ngIf=\"actionList.length === 1\"\n [ngTemplateOutlet]=\"btnItem\"\n [ngTemplateOutletContext]=\"{ $implicit: actionList.get(0).value }\"\n></ng-container>\n\n<ng-template #btnItem let-action>\n <ng-container *ngIf=\"action.visible(data)\">\n <button\n ngbDropdownItem\n *abpPermission=\"action.permission\"\n (click)=\"action.action(data)\"\n type=\"button\"\n class=\"{{ actionList.length === 1 ? 'btn btn-primary' : '' }}\"\n [class.text-center]=\"actionList.length === 1\"\n >\n <i [ngClass]=\"action.icon\" [class.me-1]=\"action.icon\"></i>\n <span *ngIf=\"action.icon; else ellipsis\">{{ action.text | abpLocalization }}</span>\n <ng-template #ellipsis>\n <div abpEllipsis>{{ action.text | abpLocalization }}</div>\n </ng-template>\n </button>\n </ng-container>\n</ng-template>\n", directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i2.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }, { type: i2.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { type: i4.EllipsisDirective, selector: "[abpEllipsis]", inputs: ["abpEllipsis", "title", "abpEllipsisEnabled"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
838
838
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GridActionsComponent, decorators: [{
|
|
839
839
|
type: Component,
|
|
840
840
|
args: [{
|
|
@@ -1002,7 +1002,7 @@ PageToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1002
1002
|
provide: EXTENSIONS_ACTION_TYPE,
|
|
1003
1003
|
useValue: 'toolbarActions',
|
|
1004
1004
|
},
|
|
1005
|
-
], exportAs: ["abpPageToolbar"], usesInheritance: true, ngImport: i0, template: "<div class=\"row justify-content-end mx-
|
|
1005
|
+
], exportAs: ["abpPageToolbar"], usesInheritance: true, ngImport: i0, template: "<div class=\"row justify-content-end mx-0\" id=\"AbpContentToolbar\">\n <div\n class=\"col-auto px-1 pt-0 pt-md-2\"\n [class.pe-0]=\"last\"\n *ngFor=\"let action of actionList; trackBy: trackByFn; let last = last\"\n >\n <ng-container *ngIf=\"action.visible(data)\">\n <ng-container *abpPermission=\"action.permission\">\n <ng-container *ngIf=\"action.component as component; else button\">\n <ng-container\n *ngComponentOutlet=\"component; injector: createInjector(action)\"\n ></ng-container>\n </ng-container>\n\n <ng-template #button>\n <button (click)=\"action.action(data)\" type=\"button\" class=\"btn btn-primary btn-sm\">\n <i [ngClass]=\"action.icon\" [class.me-1]=\"action.icon\"></i>\n {{ action.text | abpLocalization }}\n </button>\n </ng-template>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }, { type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1006
1006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PageToolbarComponent, decorators: [{
|
|
1007
1007
|
type: Component,
|
|
1008
1008
|
args: [{
|