oxpi-nglib 0.0.2 → 0.0.6

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.
Files changed (59) hide show
  1. package/esm2020/lib/controls/check-button/check-button.component.mjs +35 -0
  2. package/esm2020/lib/controls/image-viewer/image-viewer.component.mjs +73 -0
  3. package/esm2020/lib/controls/month-year-picker/month-year-picker.component.mjs +125 -0
  4. package/esm2020/lib/controls/numeric-picker/numeric-picker.component.mjs +102 -0
  5. package/esm2020/lib/controls/paginator/paginator.component.mjs +70 -0
  6. package/esm2020/lib/controls/radio-button-group/radio-button-group.component.mjs +40 -0
  7. package/esm2020/lib/models/entidades/login-item.mjs +2 -0
  8. package/esm2020/lib/models/entidades/login-result.mjs +2 -0
  9. package/esm2020/lib/models/entidades/permissoes.mjs +2 -0
  10. package/esm2020/lib/models/entidades/sensores-def.mjs +2 -0
  11. package/esm2020/lib/models/entidades/usuario.mjs +2 -0
  12. package/esm2020/lib/models/infra/busy-state.mjs +18 -0
  13. package/esm2020/lib/models/infra/lazy-trigger.mjs +13 -0
  14. package/esm2020/lib/models/infra/number-parser.mjs +62 -0
  15. package/esm2020/lib/models/infra/ordem.mjs +17 -0
  16. package/esm2020/lib/models/infra/paging-result.mjs +2 -0
  17. package/esm2020/lib/models/infra/utils-methods.mjs +15 -0
  18. package/esm2020/lib/models/infra/validations.mjs +14 -0
  19. package/esm2020/lib/models/settings/PagamentoRecebimentoSearchSetting.mjs +9 -0
  20. package/esm2020/lib/models/settings/consumo-produto-search-setting.mjs +15 -0
  21. package/esm2020/lib/models/settings/duplicata-search-setting.mjs +13 -0
  22. package/esm2020/lib/models/settings/ocupacao-filter-setting.mjs +14 -0
  23. package/esm2020/lib/models/settings/ocupacao-search-setting.mjs +26 -0
  24. package/esm2020/lib/models/settings/search-setting.mjs +67 -0
  25. package/esm2020/lib/models/settings/suites-intervencoes-setting.mjs +4 -0
  26. package/esm2020/lib/oxpi-nglib.module.mjs +62 -6
  27. package/esm2020/public-api.mjs +26 -1
  28. package/fesm2015/oxpi-nglib.mjs +760 -7
  29. package/fesm2015/oxpi-nglib.mjs.map +1 -1
  30. package/fesm2020/oxpi-nglib.mjs +760 -7
  31. package/fesm2020/oxpi-nglib.mjs.map +1 -1
  32. package/lib/controls/check-button/check-button.component.d.ts +12 -0
  33. package/lib/controls/image-viewer/image-viewer.component.d.ts +27 -0
  34. package/lib/controls/month-year-picker/month-year-picker.component.d.ts +33 -0
  35. package/lib/controls/numeric-picker/numeric-picker.component.d.ts +28 -0
  36. package/lib/controls/paginator/paginator.component.d.ts +24 -0
  37. package/lib/controls/radio-button-group/radio-button-group.component.d.ts +19 -0
  38. package/lib/models/entidades/login-item.d.ts +6 -0
  39. package/lib/models/entidades/login-result.d.ts +13 -0
  40. package/lib/models/entidades/permissoes.d.ts +181 -0
  41. package/lib/models/entidades/sensores-def.d.ts +6 -0
  42. package/lib/models/entidades/usuario.d.ts +27 -0
  43. package/lib/models/infra/busy-state.d.ts +6 -0
  44. package/lib/models/infra/lazy-trigger.d.ts +7 -0
  45. package/lib/models/infra/number-parser.d.ts +14 -0
  46. package/lib/models/infra/ordem.d.ts +13 -0
  47. package/lib/models/infra/paging-result.d.ts +7 -0
  48. package/lib/models/infra/utils-methods.d.ts +3 -0
  49. package/lib/models/infra/validations.d.ts +3 -0
  50. package/lib/models/settings/PagamentoRecebimentoSearchSetting.d.ts +6 -0
  51. package/lib/models/settings/consumo-produto-search-setting.d.ts +14 -0
  52. package/lib/models/settings/duplicata-search-setting.d.ts +12 -0
  53. package/lib/models/settings/ocupacao-filter-setting.d.ts +13 -0
  54. package/lib/models/settings/ocupacao-search-setting.d.ts +45 -0
  55. package/lib/models/settings/search-setting.d.ts +27 -0
  56. package/lib/models/settings/suites-intervencoes-setting.d.ts +6 -0
  57. package/lib/oxpi-nglib.module.d.ts +23 -2
  58. package/package.json +1 -1
  59. package/public-api.d.ts +25 -0
@@ -1,6 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule } from '@angular/core';
2
+ import { Component, Input, EventEmitter, Output, HostListener, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
+ import * as i1$1 from '@angular/material/button';
5
+ import { MatButtonModule } from '@angular/material/button';
6
+ import * as i2 from '@angular/material/icon';
7
+ import { MatIconModule } from '@angular/material/icon';
8
+ import * as i3 from '@angular/forms';
9
+ import { FormsModule } from '@angular/forms';
10
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
4
11
  import { BrowserModule } from '@angular/platform-browser';
5
12
 
6
13
  class BusyIndicatorComponent {
@@ -19,28 +26,774 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
19
26
  type: Input
20
27
  }] } });
21
28
 
29
+ class CheckButtonComponent {
30
+ constructor() {
31
+ this.checked = false;
32
+ this.radioBehavior = false;
33
+ this.changed = new EventEmitter();
34
+ this.checked = true;
35
+ }
36
+ ngOnInit() {
37
+ }
38
+ onClick(e) {
39
+ if (!this.radioBehavior)
40
+ this.checked = !this.checked;
41
+ this.changed.emit(this.checked);
42
+ }
43
+ }
44
+ CheckButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CheckButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
45
+ CheckButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: CheckButtonComponent, selector: "ox-check-button", inputs: { checked: "checked", radioBehavior: "radioBehavior" }, outputs: { changed: "changed" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.checked": "checked" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{padding:4px 8px;cursor:pointer;white-space:nowrap;color:#666;font-size:small;text-transform:uppercase;background-color:#ececec}:host:hover{background:rgba(0,0,0,.1)}:host(.checked){background:var(--app-color, black);color:#fff;box-shadow:0 8px 16px #0000001a}\n"] });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CheckButtonComponent, decorators: [{
47
+ type: Component,
48
+ args: [{ selector: 'ox-check-button', host: {
49
+ '[class.checked]': "checked",
50
+ }, template: "<ng-content></ng-content>", styles: [":host{padding:4px 8px;cursor:pointer;white-space:nowrap;color:#666;font-size:small;text-transform:uppercase;background-color:#ececec}:host:hover{background:rgba(0,0,0,.1)}:host(.checked){background:var(--app-color, black);color:#fff;box-shadow:0 8px 16px #0000001a}\n"] }]
51
+ }], ctorParameters: function () { return []; }, propDecorators: { checked: [{
52
+ type: Input
53
+ }], radioBehavior: [{
54
+ type: Input
55
+ }], changed: [{
56
+ type: Output
57
+ }], onClick: [{
58
+ type: HostListener,
59
+ args: ['click', ['$event']]
60
+ }] } });
61
+
62
+ class ImageViewerComponent {
63
+ constructor() {
64
+ this.infos = [];
65
+ this._isOpen = false;
66
+ this.paginaAtual = 0;
67
+ this.disableBack = false;
68
+ this.disableNext = false;
69
+ this.isOpenChange = new EventEmitter();
70
+ }
71
+ get isOpen() {
72
+ return this._isOpen;
73
+ }
74
+ set isOpen(val) {
75
+ this._isOpen = val;
76
+ this.isOpenChange.emit(val);
77
+ }
78
+ onClick(e) {
79
+ //this.isOpen = !this.isOpen;
80
+ }
81
+ ngOnInit() {
82
+ }
83
+ open(info, infos) {
84
+ if (infos !== undefined) {
85
+ for (let i = 0; i < infos.length; i++) {
86
+ if (infos[i] === info) {
87
+ this.paginaAtual = i + 1;
88
+ break;
89
+ }
90
+ }
91
+ }
92
+ this.info = info;
93
+ this.infos = infos;
94
+ this.isOpen = true;
95
+ this.updateUI();
96
+ }
97
+ goNext() {
98
+ this.paginaAtual += 1;
99
+ this.info = this.infos[this.paginaAtual - 1];
100
+ this.updateUI();
101
+ }
102
+ goBack() {
103
+ this.paginaAtual -= 1;
104
+ this.info = this.infos[this.paginaAtual - 1];
105
+ this.updateUI();
106
+ }
107
+ updateUI() {
108
+ this.disableBack = this.paginaAtual == 1;
109
+ this.disableNext = this.paginaAtual == this.infos.length;
110
+ }
111
+ }
112
+ ImageViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ImageViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
113
+ ImageViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: ImageViewerComponent, selector: "ox-image-viewer", inputs: { info: "info", infos: "infos", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0, template: "<div class=\"image-fullsize\" *ngIf=\"isOpen\">\n <div class=\"titulo\">\n {{info?.titulo}}\n </div>\n <div class=\"img-container\" (click)=\"isOpen = !isOpen\">\n <img class=\"image\" *ngIf=\"info\" [src]=\"info?.url\" />\n </div>\n <div class=\"action-bar\" *ngIf=\"infos\">\n <button (click)=\"goBack()\" [disabled]=\"disableBack\" mat-icon-button>\n <mat-icon>chevron_left</mat-icon>\n </button>\n <span class=\"picker-text\">\n {{paginaAtual}}/{{infos?.length}}\n </span>\n <button (click)=\"goNext()\" [disabled]=\"disableNext\" mat-icon-button>\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n</div>\n", styles: [".image-fullsize{position:absolute;left:0;top:0;background:rgba(0,0,0,.8);width:100%;height:100%;display:flex;flex-flow:column}.titulo{color:#fff;text-align:center;padding:16px;font-size:large;font-weight:300}.action-bar{background:linear-gradient(135deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.9) 50%,rgba(0,0,0,.8) 100%);color:#fff;padding:8px}.img-container{flex-grow:1;display:flex;justify-content:center;align-items:center}.image{box-shadow:0 5px 35px #000000a6;max-width:100%;height:auto}\n"], components: [{ type: i1$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ImageViewerComponent, decorators: [{
115
+ type: Component,
116
+ args: [{ selector: 'ox-image-viewer', template: "<div class=\"image-fullsize\" *ngIf=\"isOpen\">\n <div class=\"titulo\">\n {{info?.titulo}}\n </div>\n <div class=\"img-container\" (click)=\"isOpen = !isOpen\">\n <img class=\"image\" *ngIf=\"info\" [src]=\"info?.url\" />\n </div>\n <div class=\"action-bar\" *ngIf=\"infos\">\n <button (click)=\"goBack()\" [disabled]=\"disableBack\" mat-icon-button>\n <mat-icon>chevron_left</mat-icon>\n </button>\n <span class=\"picker-text\">\n {{paginaAtual}}/{{infos?.length}}\n </span>\n <button (click)=\"goNext()\" [disabled]=\"disableNext\" mat-icon-button>\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n</div>\n", styles: [".image-fullsize{position:absolute;left:0;top:0;background:rgba(0,0,0,.8);width:100%;height:100%;display:flex;flex-flow:column}.titulo{color:#fff;text-align:center;padding:16px;font-size:large;font-weight:300}.action-bar{background:linear-gradient(135deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.9) 50%,rgba(0,0,0,.8) 100%);color:#fff;padding:8px}.img-container{flex-grow:1;display:flex;justify-content:center;align-items:center}.image{box-shadow:0 5px 35px #000000a6;max-width:100%;height:auto}\n"] }]
117
+ }], ctorParameters: function () { return []; }, propDecorators: { info: [{
118
+ type: Input
119
+ }], infos: [{
120
+ type: Input
121
+ }], isOpenChange: [{
122
+ type: Output
123
+ }], isOpen: [{
124
+ type: Input
125
+ }], onClick: [{
126
+ type: HostListener,
127
+ args: ['click', ['$event']]
128
+ }] } });
129
+
130
+ class MonthYearPickerComponent {
131
+ constructor() {
132
+ this.anoChange = new EventEmitter();
133
+ this.mesChange = new EventEmitter();
134
+ this.changed = new EventEmitter();
135
+ this._init = false;
136
+ this._modoAnual = false;
137
+ this._meses = ["JANEIRO", "FEVEREIRO", "MARÇO", "ABRIL", "MAIO", "JUNHO", "JULHO", "AGOSTO", "SETEMBRO", "OUTUBRO", "NOVEMBRO", "DEZEMBRO"];
138
+ this.text = '';
139
+ this.disableNext = false;
140
+ this.blockFuture = false;
141
+ let d = new Date();
142
+ this._ano = d.getFullYear();
143
+ this._mes = d.getMonth() + 1;
144
+ }
145
+ get modoAnual() {
146
+ return this._modoAnual;
147
+ }
148
+ set modoAnual(val) {
149
+ this._modoAnual = val;
150
+ if (!this._init)
151
+ return;
152
+ this.updateText();
153
+ this.raiseOnSelectionChanged();
154
+ }
155
+ get ano() {
156
+ return this._ano;
157
+ }
158
+ set ano(val) {
159
+ this._ano = val;
160
+ if (!this._init)
161
+ return;
162
+ this.anoChange.emit(val);
163
+ this.updateText();
164
+ }
165
+ get mes() {
166
+ return this._mes;
167
+ }
168
+ set mes(val) {
169
+ this._mes = val;
170
+ if (!this._init)
171
+ return;
172
+ this.mesChange.emit(val);
173
+ this.updateText();
174
+ }
175
+ ngOnInit() {
176
+ this.updateText();
177
+ this._init = true;
178
+ }
179
+ goBack() {
180
+ if (this.modoAnual) {
181
+ this.ano -= 1;
182
+ }
183
+ else {
184
+ this.mes--;
185
+ if (this.mes < 1) {
186
+ this.ano -= 1;
187
+ this.mes = 12;
188
+ }
189
+ }
190
+ this.updateText();
191
+ this.raiseOnSelectionChanged();
192
+ }
193
+ ;
194
+ goNext() {
195
+ if (this.modoAnual) {
196
+ this.ano += 1;
197
+ }
198
+ else {
199
+ this.mes++;
200
+ if (this.mes > 12) {
201
+ this.ano += 1;
202
+ this.mes = 1;
203
+ }
204
+ }
205
+ this.updateText();
206
+ this.raiseOnSelectionChanged();
207
+ }
208
+ ;
209
+ updateText() {
210
+ if (this.modoAnual)
211
+ this.text = '' + this._ano;
212
+ else
213
+ this.text = this._meses[this._mes - 1] + " DE " + this._ano;
214
+ if (!this.blockFuture)
215
+ return;
216
+ let d = new Date();
217
+ let ano = d.getFullYear();
218
+ let mes = d.getMonth() + 1;
219
+ if (!this.modoAnual)
220
+ this.disableNext = ano == this.ano && this.mes >= mes;
221
+ else
222
+ this.disableNext = ano == this.ano;
223
+ }
224
+ ;
225
+ raiseOnSelectionChanged() {
226
+ let d = { ano: this._ano, mes: this._mes };
227
+ this.changed.emit(d);
228
+ }
229
+ }
230
+ MonthYearPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonthYearPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
231
+ MonthYearPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: MonthYearPickerComponent, selector: "ox-month-year-picker", inputs: { blockFuture: "blockFuture", modoAnual: "modoAnual", ano: "ano", mes: "mes" }, outputs: { anoChange: "anoChange", mesChange: "mesChange", changed: "changed" }, ngImport: i0, template: "<div class=\"picker-container\">\n <div>\n <button mat-icon-button (click)=\"goBack()\">\n <mat-icon>chevron_left</mat-icon>\n </button>\n </div>\n <span class=\"picker-text\">\n {{text}}\n </span>\n <div>\n <button mat-icon-button (click)=\"goNext()\" [disabled]=\"disableNext\" >\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n</div>", styles: [".picker-container{display:flex;flex-direction:row;justify-content:center;align-items:center;background:transparent;min-width:250px}.picker-text{flex-flow:1;flex-grow:1;text-align:center;font-weight:700}\n"], components: [{ type: i1$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonthYearPickerComponent, decorators: [{
233
+ type: Component,
234
+ args: [{ selector: 'ox-month-year-picker', template: "<div class=\"picker-container\">\n <div>\n <button mat-icon-button (click)=\"goBack()\">\n <mat-icon>chevron_left</mat-icon>\n </button>\n </div>\n <span class=\"picker-text\">\n {{text}}\n </span>\n <div>\n <button mat-icon-button (click)=\"goNext()\" [disabled]=\"disableNext\" >\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n</div>", styles: [".picker-container{display:flex;flex-direction:row;justify-content:center;align-items:center;background:transparent;min-width:250px}.picker-text{flex-flow:1;flex-grow:1;text-align:center;font-weight:700}\n"] }]
235
+ }], ctorParameters: function () { return []; }, propDecorators: { anoChange: [{
236
+ type: Output
237
+ }], mesChange: [{
238
+ type: Output
239
+ }], changed: [{
240
+ type: Output
241
+ }], blockFuture: [{
242
+ type: Input
243
+ }], modoAnual: [{
244
+ type: Input
245
+ }], ano: [{
246
+ type: Input
247
+ }], mes: [{
248
+ type: Input
249
+ }] } });
250
+
251
+ class NumericPickerComponent {
252
+ constructor() {
253
+ this.valueChange = new EventEmitter();
254
+ this.change = new EventEmitter();
255
+ this._value = 0;
256
+ this._max = 0;
257
+ this._min = 0;
258
+ this.text = '';
259
+ this.disableNext = false;
260
+ this.disableBack = false;
261
+ }
262
+ get value() {
263
+ return this._value;
264
+ }
265
+ set value(val) {
266
+ this._value = val;
267
+ this.valueChange.emit(val);
268
+ this.refreshUI();
269
+ }
270
+ get max() {
271
+ return this._max;
272
+ }
273
+ set max(val) {
274
+ this._max = val;
275
+ this.refreshUI();
276
+ }
277
+ get min() {
278
+ return this._min;
279
+ }
280
+ set min(val) {
281
+ this._min = Number(val);
282
+ this.refreshUI();
283
+ }
284
+ ngOnInit() {
285
+ }
286
+ onTextEdit(ev) {
287
+ console.info(ev);
288
+ const i = Number(ev.target.value);
289
+ if (!this.valida(i))
290
+ this.text = '' + this.value;
291
+ else {
292
+ this.value = i;
293
+ this.raiseChange();
294
+ this.refreshUI();
295
+ }
296
+ }
297
+ goBack() {
298
+ const newVal = this.value - 1;
299
+ if (!this.valida(newVal))
300
+ return;
301
+ this.value = newVal;
302
+ this.raiseChange();
303
+ }
304
+ ;
305
+ goNext() {
306
+ const newVal = this.value + 1;
307
+ if (!this.valida(newVal))
308
+ return;
309
+ this.value = newVal;
310
+ this.raiseChange();
311
+ }
312
+ ;
313
+ refreshUI() {
314
+ this.text = this.value === undefined ? '--' : '' + this.value;
315
+ this.disableNext = this.max !== undefined && this.value === this.max;
316
+ this.disableBack = this.min !== undefined && this.value === this.min;
317
+ }
318
+ valida(val) {
319
+ if (isNaN(val))
320
+ return false;
321
+ if (this.max !== undefined && val > this.max)
322
+ return false;
323
+ if (this.min !== undefined && val < this.min)
324
+ return false;
325
+ return true;
326
+ }
327
+ raiseChange() {
328
+ this.change.emit(this.value);
329
+ }
330
+ }
331
+ NumericPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NumericPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
332
+ NumericPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: NumericPickerComponent, selector: "ox-numeric-picker", inputs: { value: "value", max: "max", min: "min" }, outputs: { valueChange: "valueChange", change: "change" }, ngImport: i0, template: "<div>\n <button mat-icon-button (click)=\"goBack()\" [disabled]=\"disableBack\">\n <mat-icon>chevron_left</mat-icon>\n </button>\n</div>\n<input [(ngModel)]=\"text\" (change)=\"onTextEdit($event)\" class=\"date\">\n<div>\n <button mat-icon-button (click)=\"goNext()\" [disabled]=\"disableNext\" >\n <mat-icon>chevron_right</mat-icon>\n </button>\n</div>", styles: [":host{display:flex;flex-direction:row;justify-content:center;align-items:center;background:transparent;min-width:60px}\n"], components: [{ type: i1$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NumericPickerComponent, decorators: [{
334
+ type: Component,
335
+ args: [{ selector: 'ox-numeric-picker', template: "<div>\n <button mat-icon-button (click)=\"goBack()\" [disabled]=\"disableBack\">\n <mat-icon>chevron_left</mat-icon>\n </button>\n</div>\n<input [(ngModel)]=\"text\" (change)=\"onTextEdit($event)\" class=\"date\">\n<div>\n <button mat-icon-button (click)=\"goNext()\" [disabled]=\"disableNext\" >\n <mat-icon>chevron_right</mat-icon>\n </button>\n</div>", styles: [":host{display:flex;flex-direction:row;justify-content:center;align-items:center;background:transparent;min-width:60px}\n"] }]
336
+ }], ctorParameters: function () { return []; }, propDecorators: { valueChange: [{
337
+ type: Output
338
+ }], change: [{
339
+ type: Output
340
+ }], value: [{
341
+ type: Input
342
+ }], max: [{
343
+ type: Input
344
+ }], min: [{
345
+ type: Input
346
+ }] } });
347
+
348
+ class PaginatorComponent {
349
+ constructor() {
350
+ this.paginaAtualChange = new EventEmitter();
351
+ this.totalPaginasChange = new EventEmitter();
352
+ this.change = new EventEmitter();
353
+ this._paginaAtual = 1;
354
+ this._totalPaginas = 1;
355
+ this.inicio = true;
356
+ this.fim = true;
357
+ this.pageSize = 0;
358
+ }
359
+ get paginaAtual() {
360
+ return this._paginaAtual;
361
+ }
362
+ set paginaAtual(val) {
363
+ this._paginaAtual = val;
364
+ this.paginaAtualChange.emit(val);
365
+ this.refreshUI();
366
+ }
367
+ get totalPaginas() {
368
+ return this._totalPaginas;
369
+ }
370
+ set totalPaginas(val) {
371
+ this._totalPaginas = val;
372
+ this.totalPaginasChange.emit(val);
373
+ this.refreshUI();
374
+ }
375
+ ngOnInit() {
376
+ }
377
+ trocaPagina(pagina) {
378
+ if (pagina > this.totalPaginas || pagina < 1)
379
+ return;
380
+ this.paginaAtual = pagina;
381
+ this.refreshUI();
382
+ this.change.emit(this.paginaAtual);
383
+ }
384
+ refreshUI() {
385
+ this.inicio = this.paginaAtual == 1;
386
+ this.fim = this.paginaAtual == this.totalPaginas;
387
+ }
388
+ goBack() {
389
+ this.trocaPagina(this.paginaAtual - 1);
390
+ }
391
+ goNext() {
392
+ this.trocaPagina(this.paginaAtual + 1);
393
+ }
394
+ }
395
+ PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
396
+ PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: PaginatorComponent, selector: "ox-paginator", inputs: { pageSize: "pageSize", paginaAtual: "paginaAtual", totalPaginas: "totalPaginas" }, outputs: { paginaAtualChange: "paginaAtualChange", totalPaginasChange: "totalPaginasChange", change: "change" }, ngImport: i0, template: "<button [disabled]=\"inicio\" mat-icon-button (click)=\"goBack()\">\n <mat-icon>chevron_left</mat-icon>\n</button>\n<span class=\"picker-text\">\n {{paginaAtual}}/{{totalPaginas}}\n</span>\n<button [disabled]=\"fim\" mat-icon-button (click)=\"goNext()\">\n <mat-icon>chevron_right</mat-icon>\n</button>\n", styles: [":host{display:flex;flex-direction:row;justify-content:center;align-items:center;background:transparent;flex-wrap:nowrap}.picker-text{flex-flow:1;flex-grow:1;text-align:center}\n"], components: [{ type: i1$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: PaginatorComponent, decorators: [{
398
+ type: Component,
399
+ args: [{ selector: 'ox-paginator', template: "<button [disabled]=\"inicio\" mat-icon-button (click)=\"goBack()\">\n <mat-icon>chevron_left</mat-icon>\n</button>\n<span class=\"picker-text\">\n {{paginaAtual}}/{{totalPaginas}}\n</span>\n<button [disabled]=\"fim\" mat-icon-button (click)=\"goNext()\">\n <mat-icon>chevron_right</mat-icon>\n</button>\n", styles: [":host{display:flex;flex-direction:row;justify-content:center;align-items:center;background:transparent;flex-wrap:nowrap}.picker-text{flex-flow:1;flex-grow:1;text-align:center}\n"] }]
400
+ }], ctorParameters: function () { return []; }, propDecorators: { paginaAtualChange: [{
401
+ type: Output
402
+ }], totalPaginasChange: [{
403
+ type: Output
404
+ }], change: [{
405
+ type: Output
406
+ }], pageSize: [{
407
+ type: Input
408
+ }], paginaAtual: [{
409
+ type: Input
410
+ }], totalPaginas: [{
411
+ type: Input
412
+ }] } });
413
+
414
+ class RadioButtonGroupComponent {
415
+ constructor() {
416
+ this.change = new EventEmitter();
417
+ this._items = [];
418
+ //_init : boolean = false;
419
+ this.selectedItem = null;
420
+ }
421
+ get items() {
422
+ return this._items;
423
+ }
424
+ set items(val) {
425
+ this._items = val;
426
+ this.selectedItem = this.items.filter(x => x.default === true).firstOrNull();
427
+ if (this.selectedItem === null)
428
+ this.selectedItem = this.items.firstOrNull();
429
+ }
430
+ ngOnInit() {
431
+ }
432
+ raiseChange(item) {
433
+ this.selectedItem = item;
434
+ this.change.emit(this.selectedItem);
435
+ }
436
+ }
437
+ RadioButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: RadioButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
438
+ RadioButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: RadioButtonGroupComponent, selector: "ox-radio-button-group", inputs: { selectedItem: "selectedItem", items: "items" }, outputs: { change: "change" }, ngImport: i0, template: "<ox-check-button [radioBehavior]=\"true\" (changed)=\"raiseChange(item)\" [checked]=\"item == selectedItem\" *ngFor=\"let item of items\">\n {{item.name}}\n</ox-check-button>", styles: [":host>:first-child{border-radius:4px 0 0 4px}:host>:last-child{border-radius:0 4px 4px 0}\n"], components: [{ type: CheckButtonComponent, selector: "ox-check-button", inputs: ["checked", "radioBehavior"], outputs: ["changed"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
439
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: RadioButtonGroupComponent, decorators: [{
440
+ type: Component,
441
+ args: [{ selector: 'ox-radio-button-group', template: "<ox-check-button [radioBehavior]=\"true\" (changed)=\"raiseChange(item)\" [checked]=\"item == selectedItem\" *ngFor=\"let item of items\">\n {{item.name}}\n</ox-check-button>", styles: [":host>:first-child{border-radius:4px 0 0 4px}:host>:last-child{border-radius:0 4px 4px 0}\n"] }]
442
+ }], ctorParameters: function () { return []; }, propDecorators: { change: [{
443
+ type: Output
444
+ }], selectedItem: [{
445
+ type: Input
446
+ }], items: [{
447
+ type: Input
448
+ }] } });
449
+
450
+ Array.prototype.firstOrNull = function () {
451
+ if (this.length > 0)
452
+ return this[0];
453
+ return null;
454
+ };
455
+ Date.prototype.addDays = function (days) {
456
+ var result = new Date(this);
457
+ result.setDate(result.getDate() + days);
458
+ return result;
459
+ };
22
460
  class OxpiNglibModule {
23
461
  }
24
462
  OxpiNglibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
- OxpiNglibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, declarations: [BusyIndicatorComponent], imports: [BrowserModule], exports: [BusyIndicatorComponent] });
463
+ OxpiNglibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, declarations: [BusyIndicatorComponent,
464
+ MonthYearPickerComponent,
465
+ ImageViewerComponent,
466
+ NumericPickerComponent,
467
+ PaginatorComponent,
468
+ CheckButtonComponent,
469
+ RadioButtonGroupComponent], imports: [BrowserModule,
470
+ BrowserAnimationsModule,
471
+ FormsModule,
472
+ MatButtonModule,
473
+ MatIconModule], exports: [BusyIndicatorComponent,
474
+ MonthYearPickerComponent,
475
+ ImageViewerComponent,
476
+ NumericPickerComponent,
477
+ PaginatorComponent,
478
+ CheckButtonComponent,
479
+ RadioButtonGroupComponent] });
26
480
  OxpiNglibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, imports: [[
27
- BrowserModule
481
+ BrowserModule,
482
+ BrowserAnimationsModule,
483
+ FormsModule,
484
+ MatButtonModule,
485
+ MatIconModule,
28
486
  ]] });
29
487
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, decorators: [{
30
488
  type: NgModule,
31
489
  args: [{
32
490
  declarations: [
33
- BusyIndicatorComponent
491
+ BusyIndicatorComponent,
492
+ MonthYearPickerComponent,
493
+ ImageViewerComponent,
494
+ NumericPickerComponent,
495
+ PaginatorComponent,
496
+ CheckButtonComponent,
497
+ RadioButtonGroupComponent,
34
498
  ],
35
499
  imports: [
36
- BrowserModule
500
+ BrowserModule,
501
+ BrowserAnimationsModule,
502
+ FormsModule,
503
+ MatButtonModule,
504
+ MatIconModule,
37
505
  ],
38
506
  exports: [
39
- BusyIndicatorComponent
507
+ BusyIndicatorComponent,
508
+ MonthYearPickerComponent,
509
+ ImageViewerComponent,
510
+ NumericPickerComponent,
511
+ PaginatorComponent,
512
+ CheckButtonComponent,
513
+ RadioButtonGroupComponent
40
514
  ]
41
515
  }]
42
516
  }] });
43
517
 
518
+ class BusyState {
519
+ constructor() {
520
+ this.isBusy = false;
521
+ this.counter = 0;
522
+ }
523
+ show() {
524
+ this.counter++;
525
+ this.isBusy = true;
526
+ }
527
+ hide() {
528
+ this.counter--;
529
+ if (this.counter < 0)
530
+ this.counter = 0;
531
+ if (this.counter == 0)
532
+ this.isBusy = false;
533
+ }
534
+ }
535
+
536
+ class LazyTrigger {
537
+ constructor(doFunc, timeout = 800) {
538
+ this.doFunc = doFunc;
539
+ this.timeout = timeout;
540
+ }
541
+ fire() {
542
+ console.debug("lazyTimeoutId");
543
+ if (this.lazyTimeoutId != undefined)
544
+ clearTimeout(this.lazyTimeoutId);
545
+ this.lazyTimeoutId = window.setTimeout(() => { this.doFunc(); }, this.timeout);
546
+ }
547
+ }
548
+
549
+ class NumberParser {
550
+ constructor(setPropFunc, getPropFunc, min, max) {
551
+ this.setPropFunc = setPropFunc;
552
+ this.getPropFunc = getPropFunc;
553
+ this.min = min;
554
+ this.max = max;
555
+ this.parsed = false;
556
+ this._parseTrigger = new LazyTrigger(() => this.parseValor());
557
+ }
558
+ parse(vlr) {
559
+ this.valor = vlr;
560
+ this.parsed = false;
561
+ this._parseTrigger.fire();
562
+ }
563
+ checkout() {
564
+ if (this.parsed || !this.valor)
565
+ return;
566
+ this.parseValor();
567
+ }
568
+ parseValor() {
569
+ if (this.valor === undefined)
570
+ return;
571
+ this.parsed = true;
572
+ const vlrTxt = this.valor.split(",").join(".");
573
+ ;
574
+ const spTxt = vlrTxt.split(".");
575
+ let toParseTxt = "";
576
+ if (spTxt.length > 2) {
577
+ const chars = vlrTxt.split("");
578
+ const lastIndex = vlrTxt.lastIndexOf(".");
579
+ for (let i = 0; i < chars.length; i++) {
580
+ const c = chars[i];
581
+ if (c === "." && i != lastIndex)
582
+ continue;
583
+ toParseTxt = toParseTxt.concat(c);
584
+ }
585
+ }
586
+ else {
587
+ toParseTxt = vlrTxt;
588
+ }
589
+ const vlr = parseFloat(toParseTxt);
590
+ if (isNaN(vlr) || !this.validaMinMax(vlr)) {
591
+ const original = this.getPropFunc();
592
+ this.setPropFunc(0);
593
+ setTimeout(() => this.setPropFunc(original));
594
+ }
595
+ else {
596
+ this.setPropFunc(vlr);
597
+ }
598
+ }
599
+ validaMinMax(value) {
600
+ if ((this.min === undefined) && this.max === undefined)
601
+ return true;
602
+ if (!(this.min === undefined) && value < this.min)
603
+ return false;
604
+ if (!(this.max === undefined) && value > this.max)
605
+ return false;
606
+ return true;
607
+ }
608
+ }
609
+
610
+ class Ordem {
611
+ constructor(ordens, isCrescente, onToggle) {
612
+ const d = ordens.filter(x => x.default === true).firstOrNull();
613
+ this.colName = d === null ? ordens[0].value : d.value;
614
+ this.isCrescente = isCrescente;
615
+ this.onToggle = onToggle;
616
+ }
617
+ toggle() {
618
+ this.isCrescente = !this.isCrescente;
619
+ if (this.onToggle !== undefined)
620
+ this.onToggle();
621
+ }
622
+ toString() {
623
+ return this.colName + (!this.isCrescente ? " desc" : "");
624
+ }
625
+ }
626
+
627
+ function printTxt(txt) {
628
+ const r = "<!doctype html><head><meta charset=\"utf-8\"></head><body><div style='font-family: \"Courier New\", Courier, monospace; white-space: pre-wrap;color: black;font-weight: bold;word-wrap: break-word;word-break: break-all;overflow-wrap: break-word;'>" + txt + '</div></body>';
629
+ printHtml(r);
630
+ }
631
+ function printHtml(r) {
632
+ const blob = new Blob([r], { type: 'text/html' });
633
+ const url = window.URL.createObjectURL(blob);
634
+ const w = window.open(url, '_blank');
635
+ if (w != null)
636
+ w.print();
637
+ }
638
+ function selectText(ev) {
639
+ ev.target.select();
640
+ }
641
+
642
+ function valTextEmpty(v) {
643
+ return v === null ||
644
+ v === undefined ||
645
+ v.trim() === '';
646
+ }
647
+ function valTextMax(v, max) {
648
+ return v.length > max;
649
+ }
650
+ function valNumberMin(v, min) {
651
+ if (v === null || v === undefined)
652
+ return true;
653
+ return v <= min;
654
+ }
655
+
656
+ class SearchSetting {
657
+ constructor(propChanged) {
658
+ this.propChanged = propChanged;
659
+ this._meses = ["JANEIRO", "FEVEREIRO", "MARÇO", "ABRIL", "MAIO", "JUNHO", "JULHO", "AGOSTO", "SETEMBRO", "OUTUBRO", "NOVEMBRO", "DEZEMBRO"];
660
+ this._mesesShort = ["JAN", "FEV", "MAR", "ABR", "MAI", "JUN", "JUL", "AGO", "SET", "OUT", "NOV", "DEZ"];
661
+ const now = new Date();
662
+ const hj = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
663
+ console.info(hj);
664
+ this.modo = SearchMode.Mensal;
665
+ this.mes = hj.getMonth() + 1;
666
+ this.ano = hj.getFullYear();
667
+ this.inicial = hj.addDays(-30);
668
+ this.final = hj;
669
+ }
670
+ set(prop, value) {
671
+ const me = this;
672
+ me[prop] = value;
673
+ if (this.propChanged !== undefined)
674
+ this.propChanged();
675
+ }
676
+ toStringArquivo() {
677
+ const ini = this.inicial;
678
+ const fim = this.final;
679
+ if (this.modo === SearchMode.Mensal)
680
+ return this.ano + "_" + this.mes;
681
+ if (this.modo === SearchMode.Anual)
682
+ return "" + this.ano;
683
+ if (this.modo === SearchMode.Diario)
684
+ return `${ini.getDate()}_${ini.getMonth() + 1}_${ini.getFullYear()}`;
685
+ return `${ini.getDate()}_${ini.getMonth() + 1}_${ini.getFullYear()}_ate_${fim.getDate()}_${fim.getMonth() + 1}_${fim.getFullYear()}`;
686
+ }
687
+ getDatasTexto(short = false) {
688
+ const ini = this.inicial;
689
+ const fim = this.final;
690
+ if (this.modo === SearchMode.Mensal && short)
691
+ return this._mesesShort[this.mes - 1] + " DE " + this.ano;
692
+ if (this.modo === SearchMode.Mensal)
693
+ return this._meses[this.mes - 1] + " DE " + this.ano;
694
+ if (this.modo === SearchMode.Anual)
695
+ return "" + this.ano;
696
+ if (this.modo === SearchMode.Diario)
697
+ return `${ini.getDate()}/${ini.getMonth() + 1}/${ini.getFullYear()}`;
698
+ return `${ini.getDate()}/${ini.getMonth() + 1}/${ini.getFullYear()} ATÉ ${fim.getDate()}/${fim.getMonth() + 1}/${fim.getFullYear()}`;
699
+ }
700
+ goNextMonth() {
701
+ this.mes++;
702
+ if (this.mes > 12) {
703
+ this.mes = 1;
704
+ this.ano += 1;
705
+ }
706
+ }
707
+ goBackMonth() {
708
+ this.mes--;
709
+ if (this.mes < 1) {
710
+ this.mes = 12;
711
+ this.ano -= 1;
712
+ }
713
+ }
714
+ }
715
+ var SearchMode;
716
+ (function (SearchMode) {
717
+ SearchMode[SearchMode["Mensal"] = 0] = "Mensal";
718
+ SearchMode[SearchMode["Anual"] = 1] = "Anual";
719
+ SearchMode[SearchMode["Periodo"] = 2] = "Periodo";
720
+ SearchMode[SearchMode["Diario"] = 3] = "Diario";
721
+ })(SearchMode || (SearchMode = {}));
722
+
723
+ class PagamentoRecebimentoSearchSetting extends SearchSetting {
724
+ constructor() {
725
+ super();
726
+ this.exibirPagamentos = true;
727
+ this.exibirRecebimentos = true;
728
+ }
729
+ }
730
+
731
+ class OcupacaoFilterSetting extends SearchSetting {
732
+ constructor() {
733
+ super();
734
+ this.dom = false;
735
+ this.seg = false;
736
+ this.ter = false;
737
+ this.qua = false;
738
+ this.qui = false;
739
+ this.sex = false;
740
+ this.sab = false;
741
+ }
742
+ }
743
+
744
+ class OcupacaoSearchSetting extends OcupacaoFilterSetting {
745
+ constructor() {
746
+ super();
747
+ this.dateFieldEnum = OcupacaoSearchDateField.DataBaseCaixa;
748
+ }
749
+ }
750
+ var PorOcupacaoTipo;
751
+ (function (PorOcupacaoTipo) {
752
+ PorOcupacaoTipo[PorOcupacaoTipo["PorSuite"] = 0] = "PorSuite";
753
+ PorOcupacaoTipo[PorOcupacaoTipo["PorClasse"] = 1] = "PorClasse";
754
+ PorOcupacaoTipo[PorOcupacaoTipo["PorPermanencia"] = 2] = "PorPermanencia";
755
+ })(PorOcupacaoTipo || (PorOcupacaoTipo = {}));
756
+ var OcupacaoSearchDateField;
757
+ (function (OcupacaoSearchDateField) {
758
+ OcupacaoSearchDateField[OcupacaoSearchDateField["DataBaseCaixa"] = 0] = "DataBaseCaixa";
759
+ OcupacaoSearchDateField[OcupacaoSearchDateField["Entrada"] = 1] = "Entrada";
760
+ OcupacaoSearchDateField[OcupacaoSearchDateField["Saida"] = 2] = "Saida";
761
+ })(OcupacaoSearchDateField || (OcupacaoSearchDateField = {}));
762
+ var OcupacaoSearchTipoEntrada;
763
+ (function (OcupacaoSearchTipoEntrada) {
764
+ OcupacaoSearchTipoEntrada[OcupacaoSearchTipoEntrada["Todas"] = 0] = "Todas";
765
+ OcupacaoSearchTipoEntrada[OcupacaoSearchTipoEntrada["Auto"] = 1] = "Auto";
766
+ OcupacaoSearchTipoEntrada[OcupacaoSearchTipoEntrada["Manual"] = 2] = "Manual";
767
+ })(OcupacaoSearchTipoEntrada || (OcupacaoSearchTipoEntrada = {}));
768
+
769
+ class ConsumoProdutoSearchSetting extends SearchSetting {
770
+ constructor() {
771
+ super();
772
+ this.dateFieldEnum = OcupacaoSearchDateField.DataBaseCaixa;
773
+ this.exibeVendas = true;
774
+ this.exibeConsumoInterno = true;
775
+ this.horaInicial = 0;
776
+ this.minutoInicial = 0;
777
+ this.horaFinal = 23;
778
+ this.minutoFinal = 59;
779
+ }
780
+ }
781
+
782
+ class DuplicataSearchSetting extends SearchSetting {
783
+ constructor(isDespesa, propChanged) {
784
+ super(propChanged);
785
+ this.isDespesa = isDespesa;
786
+ this.ultimosCadastrados = false;
787
+ this.exibeQuitado = false;
788
+ this.exibeParcial = false;
789
+ this.exibeEmAberto = false;
790
+ this.ordem = "Vencimento";
791
+ }
792
+ }
793
+
794
+ class SuitesIntervencoesSetting extends SearchSetting {
795
+ }
796
+
44
797
  /*
45
798
  * Public API Surface of oxpi-nglib
46
799
  */
@@ -49,5 +802,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
49
802
  * Generated bundle index. Do not edit.
50
803
  */
51
804
 
52
- export { BusyIndicatorComponent, OxpiNglibModule };
805
+ export { BusyIndicatorComponent, BusyState, CheckButtonComponent, ConsumoProdutoSearchSetting, DuplicataSearchSetting, ImageViewerComponent, LazyTrigger, MonthYearPickerComponent, NumberParser, NumericPickerComponent, OcupacaoFilterSetting, OcupacaoSearchDateField, OcupacaoSearchSetting, OcupacaoSearchTipoEntrada, Ordem, OxpiNglibModule, PagamentoRecebimentoSearchSetting, PaginatorComponent, PorOcupacaoTipo, RadioButtonGroupComponent, SearchMode, SearchSetting, SuitesIntervencoesSetting, printHtml, printTxt, selectText, valNumberMin, valTextEmpty, valTextMax };
53
806
  //# sourceMappingURL=oxpi-nglib.mjs.map