@senior-agronegocio/angular-components 0.0.9859 → 0.0.9860
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/senior-agronegocio-angular-components.umd.js +50 -797
- package/bundles/senior-agronegocio-angular-components.umd.js.map +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js +2 -2
- package/bundles/senior-agronegocio-angular-components.umd.min.js.map +1 -1
- package/common/agro-regex.constant.d.ts +0 -3
- package/common/agro-string-utils.class.d.ts +0 -3
- package/components/index.d.ts +0 -1
- package/esm2015/common/agro-platform-utils.class.js +7 -8
- package/esm2015/common/agro-regex.constant.js +2 -5
- package/esm2015/common/agro-string-utils.class.js +11 -27
- package/esm2015/components/index.js +1 -2
- package/esm2015/lib-translation.module.js +1 -3
- package/esm2015/pipe/index.js +1 -5
- package/esm2015/public-api.js +3 -3
- package/esm2015/senior-agronegocio-angular-components.js +2 -3
- package/esm2015/services/i18n/en-US.js +2 -9
- package/esm2015/services/i18n/es-CO.js +3 -10
- package/esm2015/services/i18n/pt-BR.js +3 -11
- package/esm2015/services/lib-translation.service.js +3 -3
- package/esm5/common/agro-platform-utils.class.js +7 -8
- package/esm5/common/agro-regex.constant.js +2 -5
- package/esm5/common/agro-string-utils.class.js +11 -27
- package/esm5/components/index.js +1 -2
- package/esm5/lib-translation.module.js +1 -3
- package/esm5/pipe/index.js +1 -5
- package/esm5/public-api.js +3 -3
- package/esm5/senior-agronegocio-angular-components.js +2 -3
- package/esm5/services/i18n/en-US.js +2 -9
- package/esm5/services/i18n/es-CO.js +3 -10
- package/esm5/services/i18n/pt-BR.js +3 -11
- package/esm5/services/lib-translation.service.js +3 -3
- package/fesm2015/senior-agronegocio-angular-components.js +52 -723
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +57 -791
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +55 -7
- package/pipe/index.d.ts +0 -4
- package/public-api.d.ts +2 -2
- package/senior-agronegocio-angular-components.d.ts +1 -2
- package/senior-agronegocio-angular-components.metadata.json +1 -1
- package/services/i18n/en-US.d.ts +1 -8
- package/services/i18n/es-CO.d.ts +1 -8
- package/services/i18n/pt-BR.d.ts +1 -9
- package/common/agro-object-stringifier.class.d.ts +0 -16
- package/components/modal-invoice-pj-selector/index.d.ts +0 -4
- package/components/modal-invoice-pj-selector/modal-invoice-pj-selector-options.interface.d.ts +0 -10
- package/components/modal-invoice-pj-selector/modal-invoice-pj-selector.component.d.ts +0 -40
- package/components/modal-invoice-pj-selector/modal-invoice-pj-selector.module.d.ts +0 -2
- package/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.module.d.ts +0 -2
- package/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.service.d.ts +0 -16
- package/components/modal-invoice-pj-selector/services/agro-invoice/index.d.ts +0 -2
- package/components/modal-invoice-pj-selector/services/agro-invoice/interfaces.d.ts +0 -73
- package/esm2015/common/agro-object-stringifier.class.js +0 -31
- package/esm2015/components/modal-invoice-pj-selector/index.js +0 -4
- package/esm2015/components/modal-invoice-pj-selector/modal-invoice-pj-selector-options.interface.js +0 -1
- package/esm2015/components/modal-invoice-pj-selector/modal-invoice-pj-selector.component.js +0 -188
- package/esm2015/components/modal-invoice-pj-selector/modal-invoice-pj-selector.module.js +0 -42
- package/esm2015/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.module.js +0 -28
- package/esm2015/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.service.js +0 -49
- package/esm2015/components/modal-invoice-pj-selector/services/agro-invoice/index.js +0 -3
- package/esm2015/components/modal-invoice-pj-selector/services/agro-invoice/interfaces.js +0 -13
- package/esm2015/pipe/cnpj-cpf/cnpj-cpf.pipe.js +0 -28
- package/esm2015/pipe/cnpj-cpf/cnpj-cpf.pipe.module.js +0 -15
- package/esm2015/pipe/cnpj-cpf/index.js +0 -3
- package/esm2015/pipe/kilogram/index.js +0 -3
- package/esm2015/pipe/kilogram/kilogram.module.js +0 -17
- package/esm2015/pipe/kilogram/kilogram.pipe.js +0 -38
- package/esm2015/pipe/stringifier/index.js +0 -3
- package/esm2015/pipe/stringifier/stringifier.pipe.js +0 -13
- package/esm2015/pipe/stringifier/stringifier.pipe.module.js +0 -15
- package/esm2015/pipe/telephone/index.js +0 -3
- package/esm2015/pipe/telephone/telephone.pipe.js +0 -91
- package/esm2015/pipe/telephone/telephone.pipe.module.js +0 -15
- package/esm2015/services/entity-service.js +0 -124
- package/esm5/common/agro-object-stringifier.class.js +0 -35
- package/esm5/components/modal-invoice-pj-selector/index.js +0 -4
- package/esm5/components/modal-invoice-pj-selector/modal-invoice-pj-selector-options.interface.js +0 -1
- package/esm5/components/modal-invoice-pj-selector/modal-invoice-pj-selector.component.js +0 -197
- package/esm5/components/modal-invoice-pj-selector/modal-invoice-pj-selector.module.js +0 -45
- package/esm5/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.module.js +0 -31
- package/esm5/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.service.js +0 -56
- package/esm5/components/modal-invoice-pj-selector/services/agro-invoice/index.js +0 -3
- package/esm5/components/modal-invoice-pj-selector/services/agro-invoice/interfaces.js +0 -13
- package/esm5/pipe/cnpj-cpf/cnpj-cpf.pipe.js +0 -35
- package/esm5/pipe/cnpj-cpf/cnpj-cpf.pipe.module.js +0 -18
- package/esm5/pipe/cnpj-cpf/index.js +0 -3
- package/esm5/pipe/kilogram/index.js +0 -3
- package/esm5/pipe/kilogram/kilogram.module.js +0 -20
- package/esm5/pipe/kilogram/kilogram.pipe.js +0 -41
- package/esm5/pipe/stringifier/index.js +0 -3
- package/esm5/pipe/stringifier/stringifier.pipe.js +0 -16
- package/esm5/pipe/stringifier/stringifier.pipe.module.js +0 -18
- package/esm5/pipe/telephone/index.js +0 -3
- package/esm5/pipe/telephone/telephone.pipe.js +0 -95
- package/esm5/pipe/telephone/telephone.pipe.module.js +0 -18
- package/esm5/services/entity-service.js +0 -135
- package/pipe/cnpj-cpf/cnpj-cpf.pipe.d.ts +0 -4
- package/pipe/cnpj-cpf/cnpj-cpf.pipe.module.d.ts +0 -2
- package/pipe/cnpj-cpf/index.d.ts +0 -2
- package/pipe/kilogram/index.d.ts +0 -2
- package/pipe/kilogram/kilogram.module.d.ts +0 -2
- package/pipe/kilogram/kilogram.pipe.d.ts +0 -8
- package/pipe/stringifier/index.d.ts +0 -2
- package/pipe/stringifier/stringifier.pipe.d.ts +0 -9
- package/pipe/stringifier/stringifier.pipe.module.d.ts +0 -2
- package/pipe/telephone/index.d.ts +0 -2
- package/pipe/telephone/telephone.pipe.d.ts +0 -21
- package/pipe/telephone/telephone.pipe.module.d.ts +0 -2
- package/services/entity-service.d.ts +0 -72
package/package.json
CHANGED
|
@@ -1,24 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "../node_modules/ng-packagr/package.schema.json",
|
|
3
3
|
"name": "@senior-agronegocio/angular-components",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9860",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "http://git.senior.com.br/agro/angular-components"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@angular/
|
|
10
|
+
"@angular/http": "~7.1.0",
|
|
11
|
+
"@fullcalendar/core": "^5.9.0",
|
|
12
|
+
"@seniorsistemas/angular-components": "17.2.18",
|
|
13
|
+
"@seniorsistemas/platform-components": "5.3.2",
|
|
14
|
+
"@stomp/stompjs": "^5.3.0",
|
|
15
|
+
"@types/sockjs-client": "^1.5.4",
|
|
16
|
+
"@types/xml-formatter": "^2.1.1",
|
|
17
|
+
"chart.js": "^3.5.1",
|
|
18
|
+
"flatted": "^3.3.2",
|
|
19
|
+
"highlight.js": "^9.18.3",
|
|
20
|
+
"js-cookie": "^2.2.1",
|
|
21
|
+
"ngx-highlightjs": "~3.0.3",
|
|
22
|
+
"primeflex": "2.0.0",
|
|
23
|
+
"sockjs-client": "^1.6.1",
|
|
24
|
+
"uuid": "^10.0.0",
|
|
25
|
+
"@angular/animations": "9.1.13",
|
|
26
|
+
"@angular/cdk": "9.2.4",
|
|
11
27
|
"@angular/common": "9.1.13",
|
|
28
|
+
"@angular/compiler": "9.1.13",
|
|
29
|
+
"@angular/core": "9.1.13",
|
|
12
30
|
"@angular/forms": "9.1.13",
|
|
13
|
-
"@angular/
|
|
31
|
+
"@angular/platform-browser": "9.1.13",
|
|
32
|
+
"@angular/platform-browser-dynamic": "9.1.13",
|
|
14
33
|
"@angular/router": "9.1.13",
|
|
34
|
+
"@codemirror/autocomplete": "0.19.13",
|
|
35
|
+
"@codemirror/gutter": "0.19.9",
|
|
36
|
+
"@codemirror/highlight": "0.19.7",
|
|
37
|
+
"@codemirror/language": "0.19.7",
|
|
38
|
+
"@codemirror/lint": "0.19.3",
|
|
39
|
+
"@codemirror/state": "0.19.6",
|
|
40
|
+
"@codemirror/tooltip": "0.19.16",
|
|
41
|
+
"@codemirror/view": "0.19.42",
|
|
42
|
+
"@fortawesome/fontawesome-pro": "5.15.3",
|
|
43
|
+
"@lezer/generator": "0.15.4",
|
|
44
|
+
"@ngx-translate/core": "12.1.2",
|
|
45
|
+
"@ngx-translate/http-loader": "5.0.0",
|
|
46
|
+
"@seniorsistemas/ng2-currency-mask": "0.4.2",
|
|
47
|
+
"@seniorsistemas/primeng-theme": "9.0.17",
|
|
48
|
+
"@seniorsistemas/senior-platform-data": "5.4.0",
|
|
49
|
+
"angular2-hotkeys": "2.3.2",
|
|
50
|
+
"bignumber.js": "9.0.1",
|
|
51
|
+
"cropperjs": "1.6.2",
|
|
52
|
+
"element-resize-detector": "1.2.0",
|
|
53
|
+
"flag-icons": "6.6.6",
|
|
54
|
+
"json-cycle": "1.3.0",
|
|
55
|
+
"marked": "^4.3.0",
|
|
56
|
+
"moment": "2.22.2",
|
|
57
|
+
"ng2-currency-mask": "9.0.2",
|
|
58
|
+
"ngx-mask": "12.0.0",
|
|
59
|
+
"prettier": "^3.3.2",
|
|
60
|
+
"primeng": "9.1.3",
|
|
61
|
+
"quill": "1.3.7",
|
|
15
62
|
"rxjs": "6.6.3",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
63
|
+
"rxjs-compat": "6.6.7",
|
|
64
|
+
"tslib": "1.10.0",
|
|
65
|
+
"web-animations-js": "2.3.2",
|
|
66
|
+
"zone.js": "0.10.2"
|
|
19
67
|
},
|
|
20
68
|
"resolutions": {
|
|
21
|
-
"@types/mousetrap": "1.6.
|
|
69
|
+
"@types/mousetrap": "1.6.3",
|
|
22
70
|
"typescript": "3.8.3"
|
|
23
71
|
},
|
|
24
72
|
"main": "bundles/senior-agronegocio-angular-components.umd.js",
|
package/pipe/index.d.ts
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export { KilogramModule, KilogramPipe } from "./kilogram/index";
|
|
2
|
-
export { CnpjCpfPipe, CnpjCpfPipeModule } from "./cnpj-cpf/index";
|
|
3
|
-
export { StringifierPipe, StringifierPipeModule } from "./stringifier/index";
|
|
4
|
-
export { TelephonePipe, TelephonePipeModule } from "./telephone/index";
|
|
5
1
|
export { LibTranslatePipe } from "./lib-translate.pipe";
|
package/public-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export * from "./form-validator/";
|
|
|
2
2
|
export * from "./enums";
|
|
3
3
|
export * from "./common";
|
|
4
4
|
export * from "./services";
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
5
|
+
export * from "./components/";
|
|
6
|
+
export * from './pipe/index';
|
|
7
7
|
export { LibTranslationModule } from "./lib-translation.module";
|
|
8
8
|
export { AgroAngularComponentsModule, HostProjectConfigs, HostProjectConfigsInjectionToken } from "./agro-angular-components.module";
|
|
@@ -2,5 +2,4 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
|
-
export {
|
|
6
|
-
export { LibTranslationService as ɵb } from './services/lib-translation.service';
|
|
5
|
+
export { LibTranslationService as ɵa } from './services/lib-translation.service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"./event-control-board/index"},{"from":"./event-steps/index"},{"from":"./cancel-event-dialog/index"},{"
|
|
1
|
+
{"__symbolic":"module","version":4,"exports":[{"from":"./event-control-board/index"},{"from":"./event-steps/index"},{"from":"./cancel-event-dialog/index"},{"export":[{"name":"AgroFormValidator","as":"AgroFormValidator"}],"from":"./agro-form-validator"},{"export":[{"name":"AgroEntityStatus","as":"AgroEntityStatus"}],"from":"./agro-entity-status.enum"},{"export":[{"name":"AGRO_NUMBERS","as":"AGRO_NUMBERS"},{"name":"NUMBERS","as":"NUMBERS"}],"from":"./agro-numbers.enum"},{"export":[{"name":"AgroStringMasks","as":"AgroStringMasks"}],"from":"./agro-string-masks.enum"},{"export":[{"name":"DateComparisonType","as":"DateComparisonType"}],"from":"./date-comparison-type.enum"},{"export":[{"name":"HttpCodes","as":"HttpCodes"}],"from":"./http-codes.enum"},{"export":[{"name":"NumberComparisonType","as":"NumberComparisonType"}],"from":"./number-comparison-type.enum"},{"export":[{"name":"AgroCookieUtils","as":"AgroCookieUtils"}],"from":"./agro-cookie-utils.class"},{"export":[{"name":"AgroObjectUtils","as":"AgroObjectUtils"}],"from":"./agro-object-utils.class"},{"export":[{"name":"AgroDateUtils","as":"AgroDateUtils"}],"from":"./agro-date-utils.class"},{"export":[{"name":"AgroPlatformUtils","as":"AgroPlatformUtils"}],"from":"./agro-platform-utils.class"},{"export":[{"name":"AgroStringUtils","as":"AgroStringUtils"},{"name":"NullableString","as":"NullableString"}],"from":"./agro-string-utils.class"},{"export":[{"name":"AgroNumberUtils","as":"AgroNumberUtils"}],"from":"./agro-number-utils.class"},{"export":[{"name":"Colors","as":"Colors"}],"from":"./colors.class"},{"export":[{"name":"AgroNameUtils","as":"AgroNameUtils"}],"from":"./agro-name-utils.class"},{"export":[{"name":"AgroArrayUtils","as":"AgroArrayUtils"}],"from":"./agro-array-utils.class"},{"export":[{"name":"AgroLogics","as":"AgroLogics"},{"name":"DistributionResult","as":"DistributionResult"}],"from":"./agro-logics.class"},{"export":[{"name":"AGRO_REGEX","as":"AGRO_REGEX"}],"from":"./agro-regex.constant"},{"export":[{"name":"LibTranslationService","as":"LibTranslationService"}],"from":"./lib-translation.service"}],"metadata":{"LibTranslatePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"libTranslate"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"transform":[{"__symbolic":"method"}]}},"LibTranslationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LibTranslatePipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4}],"exports":[{"__symbolic":"reference","name":"LibTranslatePipe"}]}]}],"members":{}},"AgroAngularComponentsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"AgroAngularComponentsModule"},"providers":[{"provide":{"__symbolic":"reference","name":"HostProjectConfigsInjectionToken"},"useValue":{"__symbolic":"reference","name":"config"}}]}}}},"HostProjectConfigs":{"__symbolic":"interface"},"HostProjectConfigsInjectionToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":52},"arguments":["hostProjectConfigs"]},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"getLangOfUser":[{"__symbolic":"method"}],"setLang":[{"__symbolic":"method"}],"instant":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}},"origins":{"LibTranslatePipe":"./pipe/lib-translate.pipe","LibTranslationModule":"./lib-translation.module","AgroAngularComponentsModule":"./agro-angular-components.module","HostProjectConfigs":"./agro-angular-components.module","HostProjectConfigsInjectionToken":"./agro-angular-components.module","ɵa":"./services/lib-translation.service"},"importAs":"@senior-agronegocio/angular-components"}
|
package/services/i18n/en-US.d.ts
CHANGED
|
@@ -251,14 +251,7 @@ declare const enUS: {
|
|
|
251
251
|
"agro.angular_components.CIDASC_DATA_LOAD_PRODUCT": string;
|
|
252
252
|
"agro.angular_components.CIDASC_DATA_LOAD_MEASURE_UNIT": string;
|
|
253
253
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": string;
|
|
254
|
+
"agro.angular_components.PRESCRIPTION_DATA_LOAD": string;
|
|
254
255
|
"agro.angular_components.agronomic_prescription_origin_event": string;
|
|
255
|
-
"agro.angular_components.number_or_series": string;
|
|
256
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": string;
|
|
257
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": string;
|
|
258
|
-
"agro.angular_components.number": string;
|
|
259
|
-
"agro.angular_components.series": string;
|
|
260
|
-
"agro.angular_components.itens": string;
|
|
261
|
-
"agro.angular_components.quantity": string;
|
|
262
|
-
"agro.angular_components.issuance_date": string;
|
|
263
256
|
};
|
|
264
257
|
export default enUS;
|
package/services/i18n/es-CO.d.ts
CHANGED
|
@@ -251,14 +251,7 @@ declare const esCO: {
|
|
|
251
251
|
"agro.angular_components.CIDASC_DATA_LOAD_PRODUCT": string;
|
|
252
252
|
"agro.angular_components.CIDASC_DATA_LOAD_MEASURE_UNIT": string;
|
|
253
253
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": string;
|
|
254
|
+
"agro.angular_components.PRESCRIPTION_DATA_LOAD": string;
|
|
254
255
|
"agro.angular_components.agronomic_prescription_origin_event": string;
|
|
255
|
-
"agro.angular_components.number_or_series": string;
|
|
256
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": string;
|
|
257
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": string;
|
|
258
|
-
"agro.angular_components.number": string;
|
|
259
|
-
"agro.angular_components.series": string;
|
|
260
|
-
"agro.angular_components.itens": string;
|
|
261
|
-
"agro.angular_components.quantity": string;
|
|
262
|
-
"agro.angular_components.issuance_date": string;
|
|
263
256
|
};
|
|
264
257
|
export default esCO;
|
package/services/i18n/pt-BR.d.ts
CHANGED
|
@@ -257,15 +257,7 @@ declare const ptBR: {
|
|
|
257
257
|
"agro.angular_components.CIDASC_DATA_LOAD_PRODUCT": string;
|
|
258
258
|
"agro.angular_components.CIDASC_DATA_LOAD_MEASURE_UNIT": string;
|
|
259
259
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": string;
|
|
260
|
+
"agro.angular_components.PRESCRIPTION_DATA_LOAD": string;
|
|
260
261
|
"agro.angular_components.agronomic_prescription_origin_event": string;
|
|
261
|
-
"agro.angular_components.number_or_series": string;
|
|
262
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": string;
|
|
263
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": string;
|
|
264
|
-
"agro.angular_components.number": string;
|
|
265
|
-
"agro.angular_components.series": string;
|
|
266
|
-
"agro.angular_components.itens": string;
|
|
267
|
-
"agro.angular_components.quantity": string;
|
|
268
|
-
"agro.angular_components.issuance_date": string;
|
|
269
|
-
"agro.angular_components.no_register_found_for_external_invoices_summary": string;
|
|
270
262
|
};
|
|
271
263
|
export default ptBR;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from "@angular/core";
|
|
2
|
-
export declare type UsePipes = {
|
|
3
|
-
[key: string]: PipeTransform;
|
|
4
|
-
};
|
|
5
|
-
export declare class AgroObjectStringifier {
|
|
6
|
-
/**
|
|
7
|
-
* Formata um objeto concatenando valores segundo as chaves e pipes informados.
|
|
8
|
-
*
|
|
9
|
-
* @param separator Separador entre os valores (ex: "-")
|
|
10
|
-
* @param fields Campos a extrair. Podem conter subpropriedades ("propriedade.subPropriedade") e pipes ("propriedade|nomeDaPipe:arg1:arg2")
|
|
11
|
-
* @param obj Objeto origem
|
|
12
|
-
*/
|
|
13
|
-
static formatObject(separator: string, fields: string[], obj: any, usePipes?: UsePipes): string;
|
|
14
|
-
/** Resolve um caminho tipo "empresa.cargo" dentro de um objeto */
|
|
15
|
-
private static resolvePath;
|
|
16
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { ModalInvoicePjSelectorComponent } from "./modal-invoice-pj-selector.component";
|
|
2
|
-
export { ModalInvoicePjSelectorModule } from "./modal-invoice-pj-selector.module";
|
|
3
|
-
export { ModalInvoicePjSelectorOptions } from "./modal-invoice-pj-selector-options.interface";
|
|
4
|
-
export { AgroInvoiceModule, AgroInvoiceService } from "./services/agro-invoice/index";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { LazyLoadEvent } from "primeng";
|
|
3
|
-
import { FormControl } from "@angular/forms";
|
|
4
|
-
import { AgroInvoiceService } from "./services/agro-invoice/agro-invoice.service";
|
|
5
|
-
import { ModalInvoicePjSelectorOptions } from "./modal-invoice-pj-selector-options.interface";
|
|
6
|
-
import { ButtonPriority } from "@seniorsistemas/angular-components";
|
|
7
|
-
import { LibTranslationService } from "../../services/lib-translation.service";
|
|
8
|
-
export declare class ModalInvoicePjSelectorComponent implements OnInit, OnDestroy {
|
|
9
|
-
private readonly translate;
|
|
10
|
-
private readonly invoiceService;
|
|
11
|
-
options: ModalInvoicePjSelectorOptions;
|
|
12
|
-
whenSelectInvoices: EventEmitter<any[]>;
|
|
13
|
-
gridData: any[];
|
|
14
|
-
buttonPriority: typeof ButtonPriority;
|
|
15
|
-
gridColumns: {
|
|
16
|
-
field: string;
|
|
17
|
-
header: string;
|
|
18
|
-
}[];
|
|
19
|
-
dontHaveAnyInvoice: boolean;
|
|
20
|
-
gridLoading: boolean;
|
|
21
|
-
gridTotalRecords: number;
|
|
22
|
-
selected: any[];
|
|
23
|
-
unselectedIds: Set<number>;
|
|
24
|
-
visible: boolean;
|
|
25
|
-
searchValue: FormControl;
|
|
26
|
-
private readonly ngUnsubscribe;
|
|
27
|
-
private currentParams;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
constructor(translate: LibTranslationService, invoiceService: AgroInvoiceService);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
private whenSearchValueChanges;
|
|
32
|
-
tryToSearchAgain(): void;
|
|
33
|
-
open(): void;
|
|
34
|
-
private checkIfOptionsIsValid;
|
|
35
|
-
updateGridData(event: LazyLoadEvent, searchValue?: string): void;
|
|
36
|
-
cancelPooling(): void;
|
|
37
|
-
add(): Promise<void>;
|
|
38
|
-
private resetSpecs;
|
|
39
|
-
cancel(): Promise<void>;
|
|
40
|
-
}
|
package/components/modal-invoice-pj-selector/services/agro-invoice/agro-invoice.service.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { MessageService } from "primeng/api";
|
|
3
|
-
import { AgroEntityService } from "../../../../services/entity-service";
|
|
4
|
-
import { LibTranslationService as TranslateService } from "../../../../services/lib-translation.service";
|
|
5
|
-
import { IInvoiceLookupFilter, IInvoiceLookupResponse } from "./interfaces";
|
|
6
|
-
import { Observable } from "rxjs";
|
|
7
|
-
export declare class AgroInvoiceService extends AgroEntityService<any> {
|
|
8
|
-
protected http: HttpClient;
|
|
9
|
-
protected messageService: MessageService;
|
|
10
|
-
protected translate: TranslateService;
|
|
11
|
-
private readonly pooling;
|
|
12
|
-
constructor(http: HttpClient, messageService: MessageService, translate: TranslateService);
|
|
13
|
-
invoiceLookupFilter(data: IInvoiceLookupFilter): Observable<IInvoiceLookupResponse>;
|
|
14
|
-
cancelActivePooling(): void;
|
|
15
|
-
private pollInvoiceResult;
|
|
16
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export declare enum statusLookup {
|
|
2
|
-
PENDING = "PENDING",
|
|
3
|
-
FINISHED = "FINISHED",
|
|
4
|
-
ERROR = "ERROR"
|
|
5
|
-
}
|
|
6
|
-
export declare enum statusIntegration {
|
|
7
|
-
SUCCESS = "SUCCESS",
|
|
8
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
9
|
-
ERROR = "ERROR"
|
|
10
|
-
}
|
|
11
|
-
export interface IInvoiceLookupFilter {
|
|
12
|
-
filter: IRecInvoiceLookupFilter;
|
|
13
|
-
pageRequest: IRecPageRequest;
|
|
14
|
-
}
|
|
15
|
-
export interface IRecInvoiceLookupFilter {
|
|
16
|
-
companyId: string;
|
|
17
|
-
branchId: string;
|
|
18
|
-
ruralEstateIds: string[];
|
|
19
|
-
producerIds: string[];
|
|
20
|
-
productId: string;
|
|
21
|
-
multiProducts: boolean;
|
|
22
|
-
number?: number;
|
|
23
|
-
issuanceDateStart?: string;
|
|
24
|
-
issuanceDateEnd?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IRecPageRequest {
|
|
27
|
-
offset: number;
|
|
28
|
-
size: number;
|
|
29
|
-
orderBy: IOrderBy[];
|
|
30
|
-
}
|
|
31
|
-
export interface IOrderBy {
|
|
32
|
-
field: string;
|
|
33
|
-
order: "asc" | "desc";
|
|
34
|
-
}
|
|
35
|
-
export interface IInvoiceLookupResponse {
|
|
36
|
-
status: statusLookup;
|
|
37
|
-
message: string;
|
|
38
|
-
result: IInvoiceLookupDataResponse;
|
|
39
|
-
}
|
|
40
|
-
export interface IInvoiceLookupRecord {
|
|
41
|
-
externalInvoiceId?: string;
|
|
42
|
-
companyId: string;
|
|
43
|
-
branchId: string;
|
|
44
|
-
producerId: string;
|
|
45
|
-
issuanceDate: string;
|
|
46
|
-
items: IInvoiceLookupItemRecord[];
|
|
47
|
-
invoiceId?: string;
|
|
48
|
-
ruralEstateId?: string;
|
|
49
|
-
number?: number;
|
|
50
|
-
series?: string;
|
|
51
|
-
seriesId?: string;
|
|
52
|
-
seriesLegal?: string;
|
|
53
|
-
key?: string;
|
|
54
|
-
netTotalValue?: number;
|
|
55
|
-
totalItems?: number;
|
|
56
|
-
totalItemsQuantity?: number;
|
|
57
|
-
}
|
|
58
|
-
interface IInvoiceLookupItemRecord {
|
|
59
|
-
itemSequence: number;
|
|
60
|
-
productId: string;
|
|
61
|
-
productCode: string;
|
|
62
|
-
serviceId: string;
|
|
63
|
-
unitPrice: number;
|
|
64
|
-
quantity: number;
|
|
65
|
-
}
|
|
66
|
-
export interface IInvoiceLookupDataResponse {
|
|
67
|
-
totalElements: number;
|
|
68
|
-
status: statusIntegration;
|
|
69
|
-
invoices?: IInvoiceLookupRecord[];
|
|
70
|
-
message?: string;
|
|
71
|
-
lookupId?: string;
|
|
72
|
-
}
|
|
73
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AgroStringUtils } from "./agro-string-utils.class";
|
|
2
|
-
export class AgroObjectStringifier {
|
|
3
|
-
/**
|
|
4
|
-
* Formata um objeto concatenando valores segundo as chaves e pipes informados.
|
|
5
|
-
*
|
|
6
|
-
* @param separator Separador entre os valores (ex: "-")
|
|
7
|
-
* @param fields Campos a extrair. Podem conter subpropriedades ("propriedade.subPropriedade") e pipes ("propriedade|nomeDaPipe:arg1:arg2")
|
|
8
|
-
* @param obj Objeto origem
|
|
9
|
-
*/
|
|
10
|
-
static formatObject(separator, fields, obj, usePipes) {
|
|
11
|
-
function mapField(field) {
|
|
12
|
-
const value = AgroObjectStringifier.resolvePath(obj, field);
|
|
13
|
-
if (usePipes === null || usePipes === void 0 ? void 0 : usePipes.hasOwnProperty(field)) {
|
|
14
|
-
return usePipes[field].transform(value);
|
|
15
|
-
}
|
|
16
|
-
return value !== null && value !== void 0 ? value : "";
|
|
17
|
-
}
|
|
18
|
-
function filterValid(v) {
|
|
19
|
-
return typeof v === "number" || AgroStringUtils.isValid(v);
|
|
20
|
-
}
|
|
21
|
-
return fields.map(mapField).filter(filterValid).join(` ${separator} `);
|
|
22
|
-
}
|
|
23
|
-
/** Resolve um caminho tipo "empresa.cargo" dentro de um objeto */
|
|
24
|
-
static resolvePath(obj, path) {
|
|
25
|
-
function reducer(acc, key) {
|
|
26
|
-
return acc === null || acc === void 0 ? void 0 : acc[key];
|
|
27
|
-
}
|
|
28
|
-
return path.split(".").reduce(reducer, obj);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdyby1vYmplY3Qtc3RyaW5naWZpZXIuY2xhc3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yLWFncm9uZWdvY2lvL2FuZ3VsYXItY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImNvbW1vbi9hZ3JvLW9iamVjdC1zdHJpbmdpZmllci5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFNNUQsTUFBTSxPQUFPLHFCQUFxQjtJQUM5Qjs7Ozs7O09BTUc7SUFDSCxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQWlCLEVBQUUsTUFBZ0IsRUFBRSxHQUFRLEVBQUUsUUFBbUI7UUFDbEYsU0FBUyxRQUFRLENBQUMsS0FBYTtZQUMzQixNQUFNLEtBQUssR0FBRyxxQkFBcUIsQ0FBQyxXQUFXLENBQUMsR0FBRyxFQUFFLEtBQUssQ0FBQyxDQUFDO1lBQzVELElBQUksUUFBUSxhQUFSLFFBQVEsdUJBQVIsUUFBUSx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ICAgICAgICAgfVxyXG4gICAgICAgICAgICByZXR1cm4gdmFsdWUgPz8gXCJcIjtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGZ1bmN0aW9uIGZpbHRlclZhbGlkKHY6IHN0cmluZyB8IG51bWJlcik6IGJvb2xlYW4ge1xyXG4gICAgICAgICAgICByZXR1cm4gdHlwZW9mIHYgPT09IFwibnVtYmVyXCIgfHwgQWdyb1N0cmluZ1V0aWxzLmlzVmFsaWQodik7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gZmllbGRzLm1hcChtYXBGaWVsZCkuZmlsdGVyKGZpbHRlclZhbGlkKS5qb2luKGAgJHtzZXBhcmF0b3J9IGApO1xyXG4gICAgfVxyXG5cclxuICAgIC8qKiBSZXNvbHZlIHVtIGNhbWluaG8gdGlwbyBcImVtcHJlc2EuY2FyZ29cIiBkZW50cm8gZGUgdW0gb2JqZXRvICovXHJcbiAgICBwcml2YXRlIHN0YXRpYyByZXNvbHZlUGF0aChvYmo6IGFueSwgcGF0aDogc3RyaW5nKTogYW55IHtcclxuICAgICAgICBmdW5jdGlvbiByZWR1Y2VyKGFjYzogYW55LCBrZXk6IHN0cmluZyk6IGFueSB7XHJcbiAgICAgICAgICAgIHJldHVybiBhY2M/LltrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gcGF0aC5zcGxpdChcIi5cIikucmVkdWNlKHJlZHVjZXIsIG9iaik7XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { ModalInvoicePjSelectorComponent } from "./modal-invoice-pj-selector.component";
|
|
2
|
-
export { ModalInvoicePjSelectorModule } from "./modal-invoice-pj-selector.module";
|
|
3
|
-
export { AgroInvoiceModule, AgroInvoiceService } from "./services/agro-invoice/index";
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yLWFncm9uZWdvY2lvL2FuZ3VsYXItY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvbW9kYWwtaW52b2ljZS1wai1zZWxlY3Rvci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsK0JBQStCLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUN4RixPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUVsRixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IE1vZGFsSW52b2ljZVBqU2VsZWN0b3JDb21wb25lbnQgfSBmcm9tIFwiLi9tb2RhbC1pbnZvaWNlLXBqLXNlbGVjdG9yLmNvbXBvbmVudFwiO1xyXG5leHBvcnQgeyBNb2RhbEludm9pY2VQalNlbGVjdG9yTW9kdWxlIH0gZnJvbSBcIi4vbW9kYWwtaW52b2ljZS1wai1zZWxlY3Rvci5tb2R1bGVcIjtcclxuZXhwb3J0IHsgTW9kYWxJbnZvaWNlUGpTZWxlY3Rvck9wdGlvbnMgfSBmcm9tIFwiLi9tb2RhbC1pbnZvaWNlLXBqLXNlbGVjdG9yLW9wdGlvbnMuaW50ZXJmYWNlXCI7XHJcbmV4cG9ydCB7IEFncm9JbnZvaWNlTW9kdWxlLCBBZ3JvSW52b2ljZVNlcnZpY2UgfSBmcm9tIFwiLi9zZXJ2aWNlcy9hZ3JvLWludm9pY2UvaW5kZXhcIjsiXX0=
|
package/esm2015/components/modal-invoice-pj-selector/modal-invoice-pj-selector-options.interface.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaW52b2ljZS1wai1zZWxlY3Rvci1vcHRpb25zLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzZW5pb3ItYWdyb25lZ29jaW8vYW5ndWxhci1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9tb2RhbC1pbnZvaWNlLXBqLXNlbGVjdG9yL21vZGFsLWludm9pY2UtcGotc2VsZWN0b3Itb3B0aW9ucy5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgTW9kYWxJbnZvaWNlUGpTZWxlY3Rvck9wdGlvbnMge1xyXG4gICAgY29tcGFueUlkOiBzdHJpbmc7XHJcbiAgICBicmFuY2hJZDogc3RyaW5nO1xyXG4gICAgcHJvZHVjZXJzSWRzOiBzdHJpbmdbXTtcclxuICAgIHByb2R1Y3RJZDogc3RyaW5nO1xyXG4gICAgcnVyYWxFc3RhdGVJZHM6IHN0cmluZ1tdO1xyXG4gICAgcmVjb3JkU3RhdHVzPzogc3RyaW5nO1xyXG4gICAgaXNzdWFuY2VEYXRlPzogRGF0ZTtcclxuICAgIGludm9pY2VTdGF0dXM/OiBzdHJpbmc7XHJcbn0iXX0=
|