otimus-library 0.0.6 → 0.0.7

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.
@@ -1,18 +1,28 @@
1
1
  import { CommonModule } from '@angular/common';
2
- import { Component, Input } from '@angular/core';
2
+ import { Component, Input, ViewEncapsulation } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
5
  export class OcInputComponent {
6
6
  constructor() {
7
7
  this.size = 'medium';
8
8
  this.placeholder = '';
9
+ this.inputId = `oc-${Math.random()}`;
10
+ }
11
+ ngAfterViewInit() {
12
+ const inputBox = document.getElementById(this.inputId);
13
+ if (inputBox) {
14
+ const inputElement = inputBox.children[0];
15
+ if (inputElement) {
16
+ inputElement.placeholder = '';
17
+ }
18
+ }
9
19
  }
10
20
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: OcInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.5", type: OcInputComponent, isStandalone: true, selector: "oc-input", inputs: { error: "error", size: "size", placeholder: "placeholder" }, ngImport: i0, template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.7rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:600}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:focus~label,.oc-input-box input:valid~label,.oc-input-box textarea:focus~label,.oc-input-box textarea:valid~label,.oc-input-box select:focus~label,.oc-input-box select:valid~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.oc-input-box.error input,.oc-input-box.error textarea,.oc-input-box.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.oc-input-box.error input~small,.oc-input-box.error label,.oc-input-box.error textarea~small,.oc-input-box.error select~small{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.5rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:valid~label,.small textarea:focus~label,.small textarea:valid~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:valid~label,.large textarea:focus~label,.large textarea:valid~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.5", type: OcInputComponent, isStandalone: true, selector: "oc-input", inputs: { error: "error", size: "size", placeholder: "placeholder" }, ngImport: i0, template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\" [id]=\"inputId\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{font-size:1rem;border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.6rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:500}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:not(:placeholder-shown)~label,.oc-input-box input:focus~label,.oc-input-box textarea:not(:placeholder-shown)~label,.oc-input-box textarea:focus~label,.oc-input-box select:valid~label,.oc-input-box select:focus~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.error input,.error textarea,.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.error small,.error label{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.4rem .7rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:not(:placeholder-shown)~label,.small textarea:focus~label,.small textarea:not(:placeholder-shown)~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:not(:placeholder-shown)~label,.large textarea:focus~label,.large textarea:not(:placeholder-shown)~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
12
22
  }
13
23
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: OcInputComponent, decorators: [{
14
24
  type: Component,
15
- args: [{ selector: 'oc-input', standalone: true, imports: [CommonModule], template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.7rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:600}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:focus~label,.oc-input-box input:valid~label,.oc-input-box textarea:focus~label,.oc-input-box textarea:valid~label,.oc-input-box select:focus~label,.oc-input-box select:valid~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.oc-input-box.error input,.oc-input-box.error textarea,.oc-input-box.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.oc-input-box.error input~small,.oc-input-box.error label,.oc-input-box.error textarea~small,.oc-input-box.error select~small{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.5rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:valid~label,.small textarea:focus~label,.small textarea:valid~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:valid~label,.large textarea:focus~label,.large textarea:valid~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"] }]
25
+ args: [{ selector: 'oc-input', standalone: true, imports: [CommonModule], encapsulation: ViewEncapsulation.None, template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\" [id]=\"inputId\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{font-size:1rem;border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.6rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:500}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:not(:placeholder-shown)~label,.oc-input-box input:focus~label,.oc-input-box textarea:not(:placeholder-shown)~label,.oc-input-box textarea:focus~label,.oc-input-box select:valid~label,.oc-input-box select:focus~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.error input,.error textarea,.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.error small,.error label{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.4rem .7rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:not(:placeholder-shown)~label,.small textarea:focus~label,.small textarea:not(:placeholder-shown)~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:not(:placeholder-shown)~label,.large textarea:focus~label,.large textarea:not(:placeholder-shown)~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"] }]
16
26
  }], propDecorators: { error: [{
17
27
  type: Input
18
28
  }], size: [{
@@ -20,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
20
30
  }], placeholder: [{
21
31
  type: Input
22
32
  }] } });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2MtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvb3RpbXVzLWxpYnJhcnkvc3JjL2xpYi9jb21wb25lbnRzL29jLWlucHV0L29jLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL290aW11cy1saWJyYXJ5L3NyYy9saWIvY29tcG9uZW50cy9vYy1pbnB1dC9vYy1pbnB1dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDOzs7QUFTcEUsTUFBTSxPQUFPLGdCQUFnQjtJQVA3QjtRQVNXLFNBQUksR0FBa0MsUUFBUSxDQUFBO1FBQ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SBlcnJvcj86IHN0cmluZ1xuICBASW5wdXQoKSBzaXplPzogJ3NtYWxsJyB8ICdtZWRpdW0nIHwgJ2xhcmdlJyA9ICdtZWRpdW0nXG4gIEBJbnB1dCgpIHBsYWNlaG9sZGVyOiBzdHJpbmcgPSAnJ1xuICBpbnB1dElkOiBzdHJpbmcgPSBgb2MtJHtNYXRoLnJhbmRvbSgpfWBcblxuICBuZ0FmdGVyVmlld0luaXQoKSB7XG4gICAgY29uc3QgaW5wdXRCb3ggPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCh0aGlzLmlucHV0SWQpXG5cbiAgICBpZihpbnB1dEJveCkge1xuICAgICAgY29uc3QgaW5wdXRFbGVtZW50ID0gaW5wdXRCb3guY2hpbGRyZW5bMF0gYXMgYW55XG5cbiAgICAgIGlmIChpbnB1dEVsZW1lbnQpIHtcbiAgICAgICAgaW5wdXRFbGVtZW50LnBsYWNlaG9sZGVyID0gJyc7XG4gICAgICB9XG4gICAgfVxuXG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJvYy1pbnB1dC1ib3hcIiBbbmdDbGFzc109XCJ7XG4gICdzbWFsbCc6IHNpemUgPT09ICdzbWFsbCcsXG4gICdsYXJnZSc6IHNpemUgPT09ICdsYXJnZScsXG4gIGVycm9yOiAhIWVycm9yXG59XCIgW2lkXT1cImlucHV0SWRcIj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICA8bGFiZWw+e3twbGFjZWhvbGRlcn19PC9sYWJlbD5cbiAgPHNtYWxsXG4gICAgKm5nSWY9XCJlcnJvclwiXG4gICAgY2xhc3M9XCJlcnJvci1tc2dcIlxuICA+e3tlcnJvcn19PC9zbWFsbD5cbjwvZGl2PlxuIl19
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Component, Input, Directive, HostListener } from '@angular/core';
2
+ import { Injectable, Component, Input, Directive, HostListener, ViewEncapsulation } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/cdk/table';
@@ -181,13 +181,23 @@ class OcInputComponent {
181
181
  constructor() {
182
182
  this.size = 'medium';
183
183
  this.placeholder = '';
184
+ this.inputId = `oc-${Math.random()}`;
185
+ }
186
+ ngAfterViewInit() {
187
+ const inputBox = document.getElementById(this.inputId);
188
+ if (inputBox) {
189
+ const inputElement = inputBox.children[0];
190
+ if (inputElement) {
191
+ inputElement.placeholder = '';
192
+ }
193
+ }
184
194
  }
185
195
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: OcInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
186
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.5", type: OcInputComponent, isStandalone: true, selector: "oc-input", inputs: { error: "error", size: "size", placeholder: "placeholder" }, ngImport: i0, template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.7rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:600}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:focus~label,.oc-input-box input:valid~label,.oc-input-box textarea:focus~label,.oc-input-box textarea:valid~label,.oc-input-box select:focus~label,.oc-input-box select:valid~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.oc-input-box.error input,.oc-input-box.error textarea,.oc-input-box.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.oc-input-box.error input~small,.oc-input-box.error label,.oc-input-box.error textarea~small,.oc-input-box.error select~small{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.5rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:valid~label,.small textarea:focus~label,.small textarea:valid~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:valid~label,.large textarea:focus~label,.large textarea:valid~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
196
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.5", type: OcInputComponent, isStandalone: true, selector: "oc-input", inputs: { error: "error", size: "size", placeholder: "placeholder" }, ngImport: i0, template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\" [id]=\"inputId\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{font-size:1rem;border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.6rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:500}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:not(:placeholder-shown)~label,.oc-input-box input:focus~label,.oc-input-box textarea:not(:placeholder-shown)~label,.oc-input-box textarea:focus~label,.oc-input-box select:valid~label,.oc-input-box select:focus~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.error input,.error textarea,.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.error small,.error label{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.4rem .7rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:not(:placeholder-shown)~label,.small textarea:focus~label,.small textarea:not(:placeholder-shown)~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:not(:placeholder-shown)~label,.large textarea:focus~label,.large textarea:not(:placeholder-shown)~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
187
197
  }
188
198
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: OcInputComponent, decorators: [{
189
199
  type: Component,
190
- args: [{ selector: 'oc-input', standalone: true, imports: [CommonModule], template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.7rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:600}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:focus~label,.oc-input-box input:valid~label,.oc-input-box textarea:focus~label,.oc-input-box textarea:valid~label,.oc-input-box select:focus~label,.oc-input-box select:valid~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.oc-input-box.error input,.oc-input-box.error textarea,.oc-input-box.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.oc-input-box.error input~small,.oc-input-box.error label,.oc-input-box.error textarea~small,.oc-input-box.error select~small{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.5rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:valid~label,.small textarea:focus~label,.small textarea:valid~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:valid~label,.large textarea:focus~label,.large textarea:valid~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"] }]
200
+ args: [{ selector: 'oc-input', standalone: true, imports: [CommonModule], encapsulation: ViewEncapsulation.None, template: "<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\" [id]=\"inputId\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n", styles: [".oc-input-box{position:relative}.oc-input-box select *{background-color:#f8f9ff}.oc-input-box label{position:absolute;left:0;top:0;padding:.8rem;font-size:.85rem;color:#8f9596;pointer-events:none;transition:.3s ease;border-radius:.5rem}.oc-input-box input,.oc-input-box textarea,.oc-input-box select{font-size:1rem;border-radius:.7rem;background-color:#f7f7f7;border:1px solid #d1d5db;outline:none;padding:.6rem .9rem;width:100%;transition:.3s ease;color:#1e0832;font-weight:500}.oc-input-box input:focus,.oc-input-box textarea:focus,.oc-input-box select:focus{border:1px solid #00dda3;box-shadow:0 4px 3.2px #00dda314}.oc-input-box input:not(:placeholder-shown)~label,.oc-input-box input:focus~label,.oc-input-box textarea:not(:placeholder-shown)~label,.oc-input-box textarea:focus~label,.oc-input-box select:valid~label,.oc-input-box select:focus~label{transform:translateY(-.5rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#f8f9ff;padding:2px 10px}.error input,.error textarea,.error select{border:1px solid #ed3a3a;box-shadow:0 4px 6.1px #a1000014}.error small,.error label{color:#ed3a3a!important;font-weight:600}.small input,.small textarea,.small select{padding:.4rem .7rem;border-radius:.5rem}.small label{padding:.5rem .7rem}.small input:focus~label,.small input:not(:placeholder-shown)~label,.small textarea:focus~label,.small textarea:not(:placeholder-shown)~label,.small select:focus~label,.small select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}.large input,.large textarea,.large select{padding:1rem;border-radius:.5rem}.large label{padding:1rem .7rem}.large input:focus~label,.large input:not(:placeholder-shown)~label,.large textarea:focus~label,.large textarea:not(:placeholder-shown)~label,.large select:focus~label,.large select:valid~label{transform:translateY(-.6rem) translate(.6rem);color:#7e8485;font-weight:600;background-color:#fff;padding:2px 10px}\n"] }]
191
201
  }], propDecorators: { error: [{
192
202
  type: Input
193
203
  }], size: [{
@@ -1 +1 @@
1
- {"version":3,"file":"otimus-library.mjs","sources":["../../../projects/otimus-library/src/lib/otimus-library.service.ts","../../../projects/otimus-library/src/lib/otimus-library.component.ts","../../../projects/otimus-library/src/lib/components/oc-table/oc-table.component.ts","../../../projects/otimus-library/src/lib/components/oc-table/oc-table.component.html","../../../projects/otimus-library/src/lib/components/oc-badge/oc-badge.component.ts","../../../projects/otimus-library/src/lib/components/oc-badge/oc-badge.component.html","../../../projects/otimus-library/src/lib/components/oc-filter/oc-filter.component.ts","../../../projects/otimus-library/src/lib/components/oc-filter/oc-filter.component.html","../../../projects/otimus-library/src/lib/directives/oc-tooltip/oc-tooltip.directive.ts","../../../projects/otimus-library/src/lib/components/oc-input/oc-input.component.ts","../../../projects/otimus-library/src/lib/components/oc-input/oc-input.component.html","../../../projects/otimus-library/src/public-api.ts","../../../projects/otimus-library/src/otimus-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class OtimusLibraryService {\n\n constructor() { }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'lib-otimus-library',\n standalone: true,\n imports: [],\n template: `\n <p>\n otimus-library works!\n </p>\n `,\n styles: ``\n})\nexport class OtimusLibraryComponent {\n\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {CdkTableModule} from '@angular/cdk/table'\n\n@Component({\n selector: 'oc-table',\n standalone: true,\n imports: [CommonModule, CdkTableModule],\n templateUrl: './oc-table.component.html',\n styleUrls: ['./oc-table.component.scss']\n})\nexport class OcTableComponent implements OnInit {\n\n @Input() columns: string[] = []\n @Input() dataSource: any[] = []\n keys: string[] = []\n\n ngOnInit(): void {\n if(!this.dataSource.length) return\n\n this.keys = Object.keys(this.dataSource[0])\n }\n}\n","<table cdk-table [dataSource]=\"dataSource\">\n\n <ng-container *ngFor=\"let column of columns; let i = index\" [cdkColumnDef]=\"column\">\n <th cdk-header-cell *cdkHeaderCellDef> {{column}} </th>\n <td cdk-cell *cdkCellDef=\"let row\"> {{row[keys[i]]}} </td>\n </ng-container>\n\n <tr cdk-header-row *cdkHeaderRowDef=\"columns\"></tr>\n <tr cdk-row *cdkRowDef=\"let row; columns: columns\"></tr>\n</table>\n","import { CommonModule } from '@angular/common';\nimport { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'oc-badge',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './oc-badge.component.html',\n styleUrl: './oc-badge.component.scss'\n})\nexport class OcBadgeComponent implements OnInit {\n @Input() size: 'small' | 'medium' | 'large' = 'small'\n @Input() color: 'notification' | 'brand-g' | 'brand-p' | 'success' | 'warning' = 'notification'\n @Input() waved: boolean = false\n\n classList: string[] = []\n\n ngOnInit(): void {\n this.classList.push(this.size, this.color)\n if(this.waved) this.classList.push('waved')\n }\n}\n","<div>\n <div class=\"oc-badge\" [ngClass]=\"classList\">\n <ng-content>\n \n </ng-content>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { OcBadgeComponent } from '../oc-badge/oc-badge.component';\n\n@Component({\n selector: 'oc-filter',\n standalone: true,\n imports: [CommonModule, OcBadgeComponent],\n templateUrl: './oc-filter.component.html',\n styleUrl: './oc-filter.component.scss'\n})\nexport class OcFilterComponent {\n isOpen: boolean = false\n @Input() text: string = 'Filtros'\n @Input() active: number = 0\n @Input() side: 'left' | 'right' = 'left'\n\n toggleOpen() {\n this.isOpen = !this.isOpen\n }\n}\n","<div class=\"oc-filter-row\" [ngClass]=\"{\n reverse: side === 'right'\n}\">\n <button class=\"oc-filter-btn\" (click)=\"toggleOpen()\">\n <span class=\"material-icons-outlined md-18\">filter_list</span>\n {{text}}\n <div class=\"badge\">\n <oc-badge *ngIf=\"active > 0\" size=\"small\" color=\"success\" [waved]=\"true\">{{active}}</oc-badge>\n </div>\n </button>\n \n <div class=\"filter-row-content\">\n <ng-content select=\"[row]\"></ng-content>\n </div>\n \n</div>\n<div *ngIf=\"isOpen\" class=\"oc-filter-content\">\n <ng-content select=\"[body]\">\n </ng-content>\n</div>\n","import { Directive, ElementRef, HostListener, Input, Renderer2 } from '@angular/core';\n\n@Directive({\n selector: '[ocTooltip]',\n standalone: true\n})\nexport class OcTooltipDirective {\n constructor(private elRef: ElementRef, private renderer: Renderer2) { }\n\n @Input() content: string = ''\n @Input() side: 'bottom' | 'uppon' | 'left' | 'right' = 'bottom'\n\n created:boolean = false\n\n createToolTip() {\n if(this.created) return\n\n const tooltip = this.renderer.createElement('div')\n const text = this.renderer.createText(this.content)\n\n this.renderer.appendChild(tooltip, text)\n this.renderer.addClass(tooltip, 'oc-tooltip')\n this.renderer.setStyle(tooltip, 'position', 'absolute')\n this.renderer.setStyle(tooltip, 'padding', '0.4rem 0.8rem')\n this.renderer.setStyle(tooltip, 'font-size', '0.9rem')\n this.renderer.setStyle(tooltip, 'font-weight', '600')\n this.renderer.setStyle(tooltip, 'color', '#7E8485')\n this.renderer.setStyle(tooltip, 'border', '1px solid #FFFFFF')\n this.renderer.setStyle(tooltip, 'background-color', '#F8F9FF')\n this.renderer.setStyle(tooltip, 'border-radius','1rem')\n this.renderer.setStyle(tooltip, 'box-shadow', '0px 3px 6.5px 0px rgba(0, 0, 0, 0.20)')\n \n const height = this.elRef.nativeElement.offsetHeight;\n const width = this.elRef.nativeElement.offsetWidth;\n\n if(this.side === 'right') {\n this.renderer.setStyle(tooltip, 'transform', `translateX(${width}px) translateY(${-height * 1.3}px)`)\n } else if(this.side === 'left') {\n this.renderer.setStyle(tooltip, 'transform', `translateX(${-width * 2.1}px) translateY(${-height * 1.3}px)`)\n } else if(this.side === 'uppon') {\n this.renderer.setStyle(tooltip, 'transform', `translateY(${-height * 2.5}px)`)\n }\n\n this.created = true\n return tooltip\n }\n\n @HostListener('mouseover')\n onMouseOver() {\n const tooltip = this.createToolTip()\n this.renderer.appendChild(this.elRef.nativeElement, tooltip)\n }\n\n @HostListener('mouseout')\n onMouseOut() {\n\n const tooltip = this.elRef.nativeElement.querySelector('.oc-tooltip')\n if(tooltip){\n this.renderer.removeChild(this.elRef.nativeElement, tooltip)\n this.created = false\n }\n\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { Component, Input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'oc-input',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './oc-input.component.html',\n styleUrl: './oc-input.component.scss'\n})\nexport class OcInputComponent {\n @Input() error?: string\n @Input() size?: 'small' | 'medium' | 'large' = 'medium'\n @Input() placeholder: string = ''\n}\n","<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n","\n/*\n* Public API Surface of otimus-library\n*/\n\nexport * from './lib/otimus-library.service'\nexport * from './lib/otimus-library.component'\nexport * from './lib/components/oc-table/oc-table.component'\nexport * from './lib/components/oc-badge/oc-badge.component'\nexport * from './lib/components/oc-filter/oc-filter.component'\nexport * from './lib/directives/oc-tooltip/oc-tooltip.directive'\nexport * from './lib/components/oc-input/oc-input.component'","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;8GAFN,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAApB,IAAA,SAAA,IAAA,CAAA,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A,EAAA,CAAA;kBAP5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,EACR,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,CAAC,EAAA,QAAA,EAAA,sRAAA,EAAA,MAAA,EAAA,CAAA,48DAAA,CAAA,EAAA,CAAA;8BAKd,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,IAAI,EAAA,CAAA;sBAAZ,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;;;AEZR;;AAEE;;ACHF;;AAEG;;;;"}
1
+ {"version":3,"file":"otimus-library.mjs","sources":["../../../projects/otimus-library/src/lib/otimus-library.service.ts","../../../projects/otimus-library/src/lib/otimus-library.component.ts","../../../projects/otimus-library/src/lib/components/oc-table/oc-table.component.ts","../../../projects/otimus-library/src/lib/components/oc-table/oc-table.component.html","../../../projects/otimus-library/src/lib/components/oc-badge/oc-badge.component.ts","../../../projects/otimus-library/src/lib/components/oc-badge/oc-badge.component.html","../../../projects/otimus-library/src/lib/components/oc-filter/oc-filter.component.ts","../../../projects/otimus-library/src/lib/components/oc-filter/oc-filter.component.html","../../../projects/otimus-library/src/lib/directives/oc-tooltip/oc-tooltip.directive.ts","../../../projects/otimus-library/src/lib/components/oc-input/oc-input.component.ts","../../../projects/otimus-library/src/lib/components/oc-input/oc-input.component.html","../../../projects/otimus-library/src/public-api.ts","../../../projects/otimus-library/src/otimus-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class OtimusLibraryService {\n\n constructor() { }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'lib-otimus-library',\n standalone: true,\n imports: [],\n template: `\n <p>\n otimus-library works!\n </p>\n `,\n styles: ``\n})\nexport class OtimusLibraryComponent {\n\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {CdkTableModule} from '@angular/cdk/table'\n\n@Component({\n selector: 'oc-table',\n standalone: true,\n imports: [CommonModule, CdkTableModule],\n templateUrl: './oc-table.component.html',\n styleUrls: ['./oc-table.component.scss']\n})\nexport class OcTableComponent implements OnInit {\n\n @Input() columns: string[] = []\n @Input() dataSource: any[] = []\n keys: string[] = []\n\n ngOnInit(): void {\n if(!this.dataSource.length) return\n\n this.keys = Object.keys(this.dataSource[0])\n }\n}\n","<table cdk-table [dataSource]=\"dataSource\">\n\n <ng-container *ngFor=\"let column of columns; let i = index\" [cdkColumnDef]=\"column\">\n <th cdk-header-cell *cdkHeaderCellDef> {{column}} </th>\n <td cdk-cell *cdkCellDef=\"let row\"> {{row[keys[i]]}} </td>\n </ng-container>\n\n <tr cdk-header-row *cdkHeaderRowDef=\"columns\"></tr>\n <tr cdk-row *cdkRowDef=\"let row; columns: columns\"></tr>\n</table>\n","import { CommonModule } from '@angular/common';\nimport { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'oc-badge',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './oc-badge.component.html',\n styleUrl: './oc-badge.component.scss'\n})\nexport class OcBadgeComponent implements OnInit {\n @Input() size: 'small' | 'medium' | 'large' = 'small'\n @Input() color: 'notification' | 'brand-g' | 'brand-p' | 'success' | 'warning' = 'notification'\n @Input() waved: boolean = false\n\n classList: string[] = []\n\n ngOnInit(): void {\n this.classList.push(this.size, this.color)\n if(this.waved) this.classList.push('waved')\n }\n}\n","<div>\n <div class=\"oc-badge\" [ngClass]=\"classList\">\n <ng-content>\n \n </ng-content>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { OcBadgeComponent } from '../oc-badge/oc-badge.component';\n\n@Component({\n selector: 'oc-filter',\n standalone: true,\n imports: [CommonModule, OcBadgeComponent],\n templateUrl: './oc-filter.component.html',\n styleUrl: './oc-filter.component.scss'\n})\nexport class OcFilterComponent {\n isOpen: boolean = false\n @Input() text: string = 'Filtros'\n @Input() active: number = 0\n @Input() side: 'left' | 'right' = 'left'\n\n toggleOpen() {\n this.isOpen = !this.isOpen\n }\n}\n","<div class=\"oc-filter-row\" [ngClass]=\"{\n reverse: side === 'right'\n}\">\n <button class=\"oc-filter-btn\" (click)=\"toggleOpen()\">\n <span class=\"material-icons-outlined md-18\">filter_list</span>\n {{text}}\n <div class=\"badge\">\n <oc-badge *ngIf=\"active > 0\" size=\"small\" color=\"success\" [waved]=\"true\">{{active}}</oc-badge>\n </div>\n </button>\n \n <div class=\"filter-row-content\">\n <ng-content select=\"[row]\"></ng-content>\n </div>\n \n</div>\n<div *ngIf=\"isOpen\" class=\"oc-filter-content\">\n <ng-content select=\"[body]\">\n </ng-content>\n</div>\n","import { Directive, ElementRef, HostListener, Input, Renderer2 } from '@angular/core';\n\n@Directive({\n selector: '[ocTooltip]',\n standalone: true\n})\nexport class OcTooltipDirective {\n constructor(private elRef: ElementRef, private renderer: Renderer2) { }\n\n @Input() content: string = ''\n @Input() side: 'bottom' | 'uppon' | 'left' | 'right' = 'bottom'\n\n created:boolean = false\n\n createToolTip() {\n if(this.created) return\n\n const tooltip = this.renderer.createElement('div')\n const text = this.renderer.createText(this.content)\n\n this.renderer.appendChild(tooltip, text)\n this.renderer.addClass(tooltip, 'oc-tooltip')\n this.renderer.setStyle(tooltip, 'position', 'absolute')\n this.renderer.setStyle(tooltip, 'padding', '0.4rem 0.8rem')\n this.renderer.setStyle(tooltip, 'font-size', '0.9rem')\n this.renderer.setStyle(tooltip, 'font-weight', '600')\n this.renderer.setStyle(tooltip, 'color', '#7E8485')\n this.renderer.setStyle(tooltip, 'border', '1px solid #FFFFFF')\n this.renderer.setStyle(tooltip, 'background-color', '#F8F9FF')\n this.renderer.setStyle(tooltip, 'border-radius','1rem')\n this.renderer.setStyle(tooltip, 'box-shadow', '0px 3px 6.5px 0px rgba(0, 0, 0, 0.20)')\n \n const height = this.elRef.nativeElement.offsetHeight;\n const width = this.elRef.nativeElement.offsetWidth;\n\n if(this.side === 'right') {\n this.renderer.setStyle(tooltip, 'transform', `translateX(${width}px) translateY(${-height * 1.3}px)`)\n } else if(this.side === 'left') {\n this.renderer.setStyle(tooltip, 'transform', `translateX(${-width * 2.1}px) translateY(${-height * 1.3}px)`)\n } else if(this.side === 'uppon') {\n this.renderer.setStyle(tooltip, 'transform', `translateY(${-height * 2.5}px)`)\n }\n\n this.created = true\n return tooltip\n }\n\n @HostListener('mouseover')\n onMouseOver() {\n const tooltip = this.createToolTip()\n this.renderer.appendChild(this.elRef.nativeElement, tooltip)\n }\n\n @HostListener('mouseout')\n onMouseOut() {\n\n const tooltip = this.elRef.nativeElement.querySelector('.oc-tooltip')\n if(tooltip){\n this.renderer.removeChild(this.elRef.nativeElement, tooltip)\n this.created = false\n }\n\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { Component, ElementRef, Input, OnInit, Renderer2, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'oc-input',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './oc-input.component.html',\n styleUrl: './oc-input.component.scss',\n encapsulation: ViewEncapsulation.None\n})\nexport class OcInputComponent {\n @Input() error?: string\n @Input() size?: 'small' | 'medium' | 'large' = 'medium'\n @Input() placeholder: string = ''\n inputId: string = `oc-${Math.random()}`\n\n ngAfterViewInit() {\n const inputBox = document.getElementById(this.inputId)\n\n if(inputBox) {\n const inputElement = inputBox.children[0] as any\n\n if (inputElement) {\n inputElement.placeholder = '';\n }\n }\n\n }\n}\n","<div class=\"oc-input-box\" [ngClass]=\"{\n 'small': size === 'small',\n 'large': size === 'large',\n error: !!error\n}\" [id]=\"inputId\">\n <ng-content></ng-content>\n <label>{{placeholder}}</label>\n <small\n *ngIf=\"error\"\n class=\"error-msg\"\n >{{error}}</small>\n</div>\n","\n/*\n* Public API Surface of otimus-library\n*/\n\nexport * from './lib/otimus-library.service'\nexport * from './lib/otimus-library.component'\nexport * from './lib/components/oc-table/oc-table.component'\nexport * from './lib/components/oc-badge/oc-badge.component'\nexport * from './lib/components/oc-filter/oc-filter.component'\nexport * from './lib/directives/oc-tooltip/oc-tooltip.directive'\nexport * from './lib/components/oc-input/oc-input.component'","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;8GAFN,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAApB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cAFnB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCSY,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAPvB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAXlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,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  placeholder: string;
6
+ inputId: string;
7
+ ngAfterViewInit(): void;
6
8
  static ɵfac: i0.ɵɵFactoryDeclaration<OcInputComponent, never>;
7
9
  static ɵcmp: i0.ɵɵComponentDeclaration<OcInputComponent, "oc-input", never, { "error": { "alias": "error"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, ["*"], true, never>;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^17.0.2",
6
6
  "@angular/common": "^17.0.0",