Skip to content

Commit

Permalink
Merge pull request #1 from paxapos/lectorCodigoBarra
Browse files Browse the repository at this point in the history
input bar code
  • Loading branch information
marcelopilone authored Sep 28, 2023
2 parents a5eb71d + b2c7492 commit 14a8ce1
Show file tree
Hide file tree
Showing 147 changed files with 136,505 additions and 55,922 deletions.
23 changes: 23 additions & 0 deletions angular/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,32 @@ import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';

import type { Components } from 'av-inputs/components';

import { defineCustomElement as defineInputBarcode } from 'av-inputs/components/input-barcode.js';
import { defineCustomElement as defineInputFaceApiWebcam } from 'av-inputs/components/input-face-api-webcam.js';
import { defineCustomElement as defineInputFileFromWebcam } from 'av-inputs/components/input-file-from-webcam.js';
import { defineCustomElement as defineInputScanReader } from 'av-inputs/components/input-scan-reader.js';
@ProxyCmp({
defineCustomElementFn: defineInputBarcode
})
@Component({
selector: 'input-barcode',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: [],
})
export class InputBarcode {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputBarcode extends Components.InputBarcode {}


@ProxyCmp({
defineCustomElementFn: defineInputFaceApiWebcam,
inputs: ['detectionTimer', 'enableDetection', 'facingMode', 'height', 'scoreThreshold', 'trainedModel', 'width'],
Expand Down
5 changes: 5 additions & 0 deletions dist/av-inputs/app-globals-0f993ce5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/av-inputs/app-globals-0f993ce5.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 64 additions & 1 deletion dist/av-inputs/av-inputs.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/av-inputs/av-inputs.esm.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 14a8ce1

Please sign in to comment.