coer-elements 0.0.55 → 0.0.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"coer-elements-interfaces.mjs","sources":["../../../projects/coer-elements/interfaces/public-api.ts","../../../projects/coer-elements/interfaces/coer-elements-interfaces.ts"],"sourcesContent":["//coer-filebox\r\nexport * from './lib/coer-filebox/file-image.interface';\r\nexport * from './lib/coer-filebox/file.interface';\r\n\r\n//coer-grid\r\nexport * from './lib/coer-grid/grid-button-by-row.interface';\r\nexport * from './lib/coer-grid/grid-checkbox.interface';\r\nexport * from './lib/coer-grid/grid-coer-numberbox.interface';\r\nexport * from './lib/coer-grid/grid-coer-selectbox.interface';\r\nexport * from './lib/coer-grid/grid-coer-switch.interface';\r\nexport * from './lib/coer-grid/grid-coer-textbox.interface';\r\nexport * from './lib/coer-grid/grid-column.interface';\r\nexport * from './lib/coer-grid/grid-data-source.interface';\r\nexport * from './lib/coer-grid/grid-header-button.interface';\r\nexport * from './lib/coer-grid/grid-header-export-button.interface';\r\nexport * from './lib/coer-grid/grid-header.interface';\r\nexport * from './lib/coer-grid/grid-import.interface';\r\nexport * from './lib/coer-grid/grid-input-checkbox.interface';\r\nexport * from './lib/coer-grid/grid-input-switch-change.interface';\r\nexport * from './lib/coer-grid/grid-input-textbox.interface';\r\nexport * from './lib/coer-grid/grid-item.interface';\r\nexport * from './lib/coer-grid/grid-keyup-enter.interface';\r\nexport * from './lib/coer-grid/grid-length.interface';\r\nexport * from './lib/coer-grid/grid-search.interface';\r\nexport * from './lib/coer-grid/grid-sort.interface';\r\n\r\n//coer-menu\r\nexport * from './lib/coer-menu/menu-option-selected.interface';\r\nexport * from './lib/coer-menu/menu-selected.interface';\r\nexport * from './lib/coer-menu/menu.interface';\r\n\r\n//page-title\r\nexport * from './lib/page-title/breadcrumb.interface';\r\nexport * from './lib/page-title/go-back.interface';\r\n\r\n//service\r\nexport * from './lib/service/http-request.interface';\r\nexport * from './lib/service/http-response.interface';\r\nexport * from './lib/service/patch.interface';\r\n\r\nexport * from './lib/app-source.interface';\r\nexport * from './lib/box-button.interface';\r\nexport * from './lib/coer-ref.interface';\r\nexport * from './lib/screen-size.interface';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;ACAA;;AAEG"}
1
+ {"version":3,"file":"coer-elements-interfaces.mjs","sources":["../../../projects/coer-elements/interfaces/public-api.ts","../../../projects/coer-elements/interfaces/coer-elements-interfaces.ts"],"sourcesContent":["//coer-filebox\r\nexport * from './lib/coer-filebox/file-image.interface';\r\nexport * from './lib/coer-filebox/file.interface';\r\n\r\n//coer-grid\r\nexport * from './lib/coer-grid/grid-button-by-row.interface';\r\nexport * from './lib/coer-grid/grid-checkbox.interface';\r\nexport * from './lib/coer-grid/grid-coer-numberbox.interface';\r\nexport * from './lib/coer-grid/grid-coer-selectbox.interface';\r\nexport * from './lib/coer-grid/grid-coer-switch.interface';\r\nexport * from './lib/coer-grid/grid-coer-textbox.interface';\r\nexport * from './lib/coer-grid/grid-column.interface';\r\nexport * from './lib/coer-grid/grid-data-source.interface';\r\nexport * from './lib/coer-grid/grid-header-button.interface';\r\nexport * from './lib/coer-grid/grid-header-export-button.interface';\r\nexport * from './lib/coer-grid/grid-header.interface';\r\nexport * from './lib/coer-grid/grid-import.interface';\r\nexport * from './lib/coer-grid/grid-input-checkbox.interface';\r\nexport * from './lib/coer-grid/grid-input-switch-change.interface';\r\nexport * from './lib/coer-grid/grid-input-textbox.interface';\r\nexport * from './lib/coer-grid/grid-item.interface';\r\nexport * from './lib/coer-grid/grid-keyup-enter.interface';\r\nexport * from './lib/coer-grid/grid-length.interface';\r\nexport * from './lib/coer-grid/grid-search.interface';\r\nexport * from './lib/coer-grid/grid-sort.interface';\r\n\r\n//coer-menu\r\nexport * from './lib/coer-menu/menu-option-selected.interface';\r\nexport * from './lib/coer-menu/menu-selected.interface';\r\nexport * from './lib/coer-menu/menu.interface';\r\n\r\n//page-title\r\nexport * from './lib/page-title/breadcrumb.interface';\r\nexport * from './lib/page-title/go-back.interface';\r\n\r\n//service\r\nexport * from './lib/service/http-request.interface';\r\nexport * from './lib/service/http-response.interface';\r\nexport * from './lib/service/patch.interface';\r\n\r\nexport * from './lib/app-source.interface';\r\nexport * from './lib/box-button.interface';\r\nexport * from './lib/bulk-load.interface';\r\nexport * from './lib/coer-ref.interface';\r\nexport * from './lib/image.interface';\r\nexport * from './lib/screen-size.interface';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;ACAA;;AAEG"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { signal, Component, forwardRef, inject, Inject } from '@angular/core';
2
+ import { signal, Component, forwardRef, inject, Inject, output } from '@angular/core';
3
3
  import * as bootstrap from 'bootstrap';
4
4
  import Swal from 'sweetalert2';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
@@ -1159,6 +1159,46 @@ class Screen {
1159
1159
  }); }
1160
1160
  }
1161
1161
 
1162
+ class Section {
1163
+ constructor() {
1164
+ //Injection
1165
+ this.alert = inject(CoerAlert);
1166
+ this.router = inject(Router);
1167
+ //Outputs
1168
+ this.onReady = output();
1169
+ this.onDestroy = output();
1170
+ //Grid Templates
1171
+ this.isActiveTemplate = GridTemplates.isActiveTemplate;
1172
+ this.coerSwitchTemplate = GridTemplates.coerSwitchTemplate;
1173
+ this.coerTextboxTemplate = GridTemplates.coerTextboxTemplate;
1174
+ this.coerIconTemplate = GridTemplates.coerIconTemplate;
1175
+ //Tools
1176
+ this.IsNull = Tools.IsNull;
1177
+ this.IsNotNull = Tools.IsNotNull;
1178
+ this.IsOnlyWhiteSpace = Tools.IsOnlyWhiteSpace;
1179
+ this.IsNotOnlyWhiteSpace = Tools.IsNotOnlyWhiteSpace;
1180
+ }
1181
+ ngAfterViewInit() {
1182
+ Tools.Sleep().then(_ => this.onReady.emit());
1183
+ }
1184
+ ngOnDestroy() {
1185
+ Tools.Sleep().then(_ => this.onDestroy.emit());
1186
+ }
1187
+ /** */
1188
+ Log(value, log = null) {
1189
+ if (Tools.IsNotNull(log))
1190
+ console.log({ log, value });
1191
+ else
1192
+ console.log(value);
1193
+ }
1194
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Section, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1195
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: Section, selector: "ng-component", outputs: { onReady: "onReady", onDestroy: "onDestroy" }, ngImport: i0, template: '', isInline: true }); }
1196
+ }
1197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Section, decorators: [{
1198
+ type: Component,
1199
+ args: [{ template: '' }]
1200
+ }] });
1201
+
1162
1202
  class Service {
1163
1203
  constructor() {
1164
1204
  //Injections
@@ -1567,5 +1607,5 @@ class Service {
1567
1607
  * Generated bundle index. Do not edit.
1568
1608
  */
1569
1609
 
1570
- export { Breadcrumbs, CONTROL_VALUE, CoerAlert, Colors, ControlValue, DateTime, Files, Filters, GridTemplates, Menu, Page, Screen, Service, Source, Tools };
1610
+ export { Breadcrumbs, CONTROL_VALUE, CoerAlert, Colors, ControlValue, DateTime, Files, Filters, GridTemplates, Menu, Page, Screen, Section, Service, Source, Tools };
1571
1611
  //# sourceMappingURL=coer-elements-tools.mjs.map