@seidor-cloud-produtos/tax-core 0.0.3 → 0.0.4
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/dist/Block.d.mts +1 -1
- package/dist/Block.d.ts +1 -1
- package/dist/CounterBlock.d.mts +1 -1
- package/dist/CounterBlock.d.ts +1 -1
- package/dist/CounterRegister.d.mts +1 -1
- package/dist/CounterRegister.d.ts +1 -1
- package/dist/Decorators-BUUn8PHd.d.mts +50 -0
- package/dist/Decorators-BUUn8PHd.d.ts +50 -0
- package/dist/Decorators.d.mts +1 -32
- package/dist/Decorators.d.ts +1 -32
- package/dist/{Register--BQgbqpc.d.mts → Register-B1gRC0_O.d.mts} +1 -1
- package/dist/{Register--BQgbqpc.d.ts → Register-B1gRC0_O.d.ts} +1 -1
- package/dist/Register.d.mts +1 -1
- package/dist/Register.d.ts +1 -1
- package/dist/ReportGenerator.d.mts +1 -1
- package/dist/ReportGenerator.d.ts +1 -1
- package/dist/TagCounter.d.mts +1 -1
- package/dist/TagCounter.d.ts +1 -1
- package/dist/TaxReport.d.mts +1 -1
- package/dist/TaxReport.d.ts +1 -1
- package/dist/implementations/MemoryPersist.d.mts +1 -1
- package/dist/implementations/MemoryPersist.d.ts +1 -1
- package/dist/implementations/TaxRegisterGenerator.d.mts +1 -1
- package/dist/implementations/TaxRegisterGenerator.d.ts +1 -1
- package/dist/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +604 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +578 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces/RegisterEventNotifier.d.mts +1 -1
- package/dist/interfaces/RegisterEventNotifier.d.ts +1 -1
- package/dist/interfaces/RegisterGenerator.d.mts +1 -1
- package/dist/interfaces/RegisterGenerator.d.ts +1 -1
- package/dist/interfaces/RegisterPersist.d.mts +1 -1
- package/dist/interfaces/RegisterPersist.d.ts +1 -1
- package/dist/interfaces/RegisterSubscriber.d.mts +1 -1
- package/dist/interfaces/RegisterSubscriber.d.ts +1 -1
- package/package.json +1 -1
package/dist/Block.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import RegisterPersist from './interfaces/RegisterPersist.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { a as RegisterEventNotifier, b as RegisterSubscriber, c as RegisterEventData, R as Register } from './Register-B1gRC0_O.mjs';
|
|
3
3
|
|
|
4
4
|
declare abstract class Block implements RegisterEventNotifier, RegisterSubscriber {
|
|
5
5
|
private readonly _name;
|
package/dist/Block.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import RegisterPersist from './interfaces/RegisterPersist.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a as RegisterEventNotifier, b as RegisterSubscriber, c as RegisterEventData, R as Register } from './Register-B1gRC0_O.js';
|
|
3
3
|
|
|
4
4
|
declare abstract class Block implements RegisterEventNotifier, RegisterSubscriber {
|
|
5
5
|
private readonly _name;
|
package/dist/CounterBlock.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Block from './Block.mjs';
|
|
2
2
|
import RegisterPersist from './interfaces/RegisterPersist.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { c as RegisterEventData } from './Register-B1gRC0_O.mjs';
|
|
4
4
|
|
|
5
5
|
declare class CounterBlock extends Block {
|
|
6
6
|
constructor(regPersist: RegisterPersist, name?: string);
|
package/dist/CounterBlock.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Block from './Block.js';
|
|
2
2
|
import RegisterPersist from './interfaces/RegisterPersist.js';
|
|
3
|
-
import {
|
|
3
|
+
import { c as RegisterEventData } from './Register-B1gRC0_O.js';
|
|
4
4
|
|
|
5
5
|
declare class CounterBlock extends Block {
|
|
6
6
|
constructor(regPersist: RegisterPersist, name?: string);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const keyCompositionMetada: unique symbol;
|
|
2
|
+
declare const maximumNumericLength = 19;
|
|
3
|
+
declare const defaultAlphanumericLength = 255;
|
|
4
|
+
declare enum FieldDataType {
|
|
5
|
+
alphanumeric = 0,
|
|
6
|
+
numeric = 1
|
|
7
|
+
}
|
|
8
|
+
declare enum valueProviderType {
|
|
9
|
+
property = 0,
|
|
10
|
+
method = 1
|
|
11
|
+
}
|
|
12
|
+
interface FieldFormat {
|
|
13
|
+
required: boolean;
|
|
14
|
+
dataType: FieldDataType;
|
|
15
|
+
maximumLength: number;
|
|
16
|
+
maximumDecimalsLength: number;
|
|
17
|
+
fillEntireLength: boolean;
|
|
18
|
+
valueProvider: valueProviderType;
|
|
19
|
+
}
|
|
20
|
+
declare function Numeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
21
|
+
declare function Decimal(required?: boolean, fillEntireLength?: boolean, maximumLength?: number, maximumDecimalsLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
22
|
+
declare function Alphanumeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
23
|
+
interface KeyComposition {
|
|
24
|
+
fields: KeyFieldDefinition[];
|
|
25
|
+
}
|
|
26
|
+
interface KeyFieldDefinition {
|
|
27
|
+
fieldName: string;
|
|
28
|
+
valueProvider: valueProviderType;
|
|
29
|
+
}
|
|
30
|
+
declare function Key(): (target: any, propertyKey: string, other: any) => void;
|
|
31
|
+
|
|
32
|
+
declare const Decorators_Alphanumeric: typeof Alphanumeric;
|
|
33
|
+
declare const Decorators_Decimal: typeof Decimal;
|
|
34
|
+
type Decorators_FieldDataType = FieldDataType;
|
|
35
|
+
declare const Decorators_FieldDataType: typeof FieldDataType;
|
|
36
|
+
type Decorators_FieldFormat = FieldFormat;
|
|
37
|
+
declare const Decorators_Key: typeof Key;
|
|
38
|
+
type Decorators_KeyComposition = KeyComposition;
|
|
39
|
+
type Decorators_KeyFieldDefinition = KeyFieldDefinition;
|
|
40
|
+
declare const Decorators_Numeric: typeof Numeric;
|
|
41
|
+
declare const Decorators_defaultAlphanumericLength: typeof defaultAlphanumericLength;
|
|
42
|
+
declare const Decorators_keyCompositionMetada: typeof keyCompositionMetada;
|
|
43
|
+
declare const Decorators_maximumNumericLength: typeof maximumNumericLength;
|
|
44
|
+
type Decorators_valueProviderType = valueProviderType;
|
|
45
|
+
declare const Decorators_valueProviderType: typeof valueProviderType;
|
|
46
|
+
declare namespace Decorators {
|
|
47
|
+
export { Decorators_Alphanumeric as Alphanumeric, Decorators_Decimal as Decimal, Decorators_FieldDataType as FieldDataType, type Decorators_FieldFormat as FieldFormat, Decorators_Key as Key, type Decorators_KeyComposition as KeyComposition, type Decorators_KeyFieldDefinition as KeyFieldDefinition, Decorators_Numeric as Numeric, Decorators_defaultAlphanumericLength as defaultAlphanumericLength, Decorators_keyCompositionMetada as keyCompositionMetada, Decorators_maximumNumericLength as maximumNumericLength, Decorators_valueProviderType as valueProviderType };
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { Alphanumeric as A, Decorators as D, FieldDataType as F, type KeyComposition as K, Numeric as N, type FieldFormat as a, Decimal as b, type KeyFieldDefinition as c, defaultAlphanumericLength as d, Key as e, keyCompositionMetada as k, maximumNumericLength as m, valueProviderType as v };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const keyCompositionMetada: unique symbol;
|
|
2
|
+
declare const maximumNumericLength = 19;
|
|
3
|
+
declare const defaultAlphanumericLength = 255;
|
|
4
|
+
declare enum FieldDataType {
|
|
5
|
+
alphanumeric = 0,
|
|
6
|
+
numeric = 1
|
|
7
|
+
}
|
|
8
|
+
declare enum valueProviderType {
|
|
9
|
+
property = 0,
|
|
10
|
+
method = 1
|
|
11
|
+
}
|
|
12
|
+
interface FieldFormat {
|
|
13
|
+
required: boolean;
|
|
14
|
+
dataType: FieldDataType;
|
|
15
|
+
maximumLength: number;
|
|
16
|
+
maximumDecimalsLength: number;
|
|
17
|
+
fillEntireLength: boolean;
|
|
18
|
+
valueProvider: valueProviderType;
|
|
19
|
+
}
|
|
20
|
+
declare function Numeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
21
|
+
declare function Decimal(required?: boolean, fillEntireLength?: boolean, maximumLength?: number, maximumDecimalsLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
22
|
+
declare function Alphanumeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
23
|
+
interface KeyComposition {
|
|
24
|
+
fields: KeyFieldDefinition[];
|
|
25
|
+
}
|
|
26
|
+
interface KeyFieldDefinition {
|
|
27
|
+
fieldName: string;
|
|
28
|
+
valueProvider: valueProviderType;
|
|
29
|
+
}
|
|
30
|
+
declare function Key(): (target: any, propertyKey: string, other: any) => void;
|
|
31
|
+
|
|
32
|
+
declare const Decorators_Alphanumeric: typeof Alphanumeric;
|
|
33
|
+
declare const Decorators_Decimal: typeof Decimal;
|
|
34
|
+
type Decorators_FieldDataType = FieldDataType;
|
|
35
|
+
declare const Decorators_FieldDataType: typeof FieldDataType;
|
|
36
|
+
type Decorators_FieldFormat = FieldFormat;
|
|
37
|
+
declare const Decorators_Key: typeof Key;
|
|
38
|
+
type Decorators_KeyComposition = KeyComposition;
|
|
39
|
+
type Decorators_KeyFieldDefinition = KeyFieldDefinition;
|
|
40
|
+
declare const Decorators_Numeric: typeof Numeric;
|
|
41
|
+
declare const Decorators_defaultAlphanumericLength: typeof defaultAlphanumericLength;
|
|
42
|
+
declare const Decorators_keyCompositionMetada: typeof keyCompositionMetada;
|
|
43
|
+
declare const Decorators_maximumNumericLength: typeof maximumNumericLength;
|
|
44
|
+
type Decorators_valueProviderType = valueProviderType;
|
|
45
|
+
declare const Decorators_valueProviderType: typeof valueProviderType;
|
|
46
|
+
declare namespace Decorators {
|
|
47
|
+
export { Decorators_Alphanumeric as Alphanumeric, Decorators_Decimal as Decimal, Decorators_FieldDataType as FieldDataType, type Decorators_FieldFormat as FieldFormat, Decorators_Key as Key, type Decorators_KeyComposition as KeyComposition, type Decorators_KeyFieldDefinition as KeyFieldDefinition, Decorators_Numeric as Numeric, Decorators_defaultAlphanumericLength as defaultAlphanumericLength, Decorators_keyCompositionMetada as keyCompositionMetada, Decorators_maximumNumericLength as maximumNumericLength, Decorators_valueProviderType as valueProviderType };
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { Alphanumeric as A, Decorators as D, FieldDataType as F, type KeyComposition as K, Numeric as N, type FieldFormat as a, Decimal as b, type KeyFieldDefinition as c, defaultAlphanumericLength as d, Key as e, keyCompositionMetada as k, maximumNumericLength as m, valueProviderType as v };
|
package/dist/Decorators.d.mts
CHANGED
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
2
|
-
declare const maximumNumericLength = 19;
|
|
3
|
-
declare const defaultAlphanumericLength = 255;
|
|
4
|
-
declare enum FieldDataType {
|
|
5
|
-
alphanumeric = 0,
|
|
6
|
-
numeric = 1
|
|
7
|
-
}
|
|
8
|
-
declare enum valueProviderType {
|
|
9
|
-
property = 0,
|
|
10
|
-
method = 1
|
|
11
|
-
}
|
|
12
|
-
interface FieldFormat {
|
|
13
|
-
required: boolean;
|
|
14
|
-
dataType: FieldDataType;
|
|
15
|
-
maximumLength: number;
|
|
16
|
-
maximumDecimalsLength: number;
|
|
17
|
-
fillEntireLength: boolean;
|
|
18
|
-
valueProvider: valueProviderType;
|
|
19
|
-
}
|
|
20
|
-
declare function Numeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
21
|
-
declare function Decimal(required?: boolean, fillEntireLength?: boolean, maximumLength?: number, maximumDecimalsLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
22
|
-
declare function Alphanumeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
23
|
-
interface KeyComposition {
|
|
24
|
-
fields: KeyFieldDefinition[];
|
|
25
|
-
}
|
|
26
|
-
interface KeyFieldDefinition {
|
|
27
|
-
fieldName: string;
|
|
28
|
-
valueProvider: valueProviderType;
|
|
29
|
-
}
|
|
30
|
-
declare function Key(): (target: any, propertyKey: string, other: any) => void;
|
|
31
|
-
|
|
32
|
-
export { Alphanumeric, Decimal, FieldDataType, type FieldFormat, Key, type KeyComposition, type KeyFieldDefinition, Numeric, defaultAlphanumericLength, keyCompositionMetada, maximumNumericLength, valueProviderType };
|
|
1
|
+
export { A as Alphanumeric, b as Decimal, F as FieldDataType, a as FieldFormat, e as Key, K as KeyComposition, c as KeyFieldDefinition, N as Numeric, d as defaultAlphanumericLength, k as keyCompositionMetada, m as maximumNumericLength, v as valueProviderType } from './Decorators-BUUn8PHd.mjs';
|
package/dist/Decorators.d.ts
CHANGED
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
2
|
-
declare const maximumNumericLength = 19;
|
|
3
|
-
declare const defaultAlphanumericLength = 255;
|
|
4
|
-
declare enum FieldDataType {
|
|
5
|
-
alphanumeric = 0,
|
|
6
|
-
numeric = 1
|
|
7
|
-
}
|
|
8
|
-
declare enum valueProviderType {
|
|
9
|
-
property = 0,
|
|
10
|
-
method = 1
|
|
11
|
-
}
|
|
12
|
-
interface FieldFormat {
|
|
13
|
-
required: boolean;
|
|
14
|
-
dataType: FieldDataType;
|
|
15
|
-
maximumLength: number;
|
|
16
|
-
maximumDecimalsLength: number;
|
|
17
|
-
fillEntireLength: boolean;
|
|
18
|
-
valueProvider: valueProviderType;
|
|
19
|
-
}
|
|
20
|
-
declare function Numeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
21
|
-
declare function Decimal(required?: boolean, fillEntireLength?: boolean, maximumLength?: number, maximumDecimalsLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
22
|
-
declare function Alphanumeric(required?: boolean, fillEntireLength?: boolean, maximumLength?: number): (target: any, propertyKey: string, other: any) => void;
|
|
23
|
-
interface KeyComposition {
|
|
24
|
-
fields: KeyFieldDefinition[];
|
|
25
|
-
}
|
|
26
|
-
interface KeyFieldDefinition {
|
|
27
|
-
fieldName: string;
|
|
28
|
-
valueProvider: valueProviderType;
|
|
29
|
-
}
|
|
30
|
-
declare function Key(): (target: any, propertyKey: string, other: any) => void;
|
|
31
|
-
|
|
32
|
-
export { Alphanumeric, Decimal, FieldDataType, type FieldFormat, Key, type KeyComposition, type KeyFieldDefinition, Numeric, defaultAlphanumericLength, keyCompositionMetada, maximumNumericLength, valueProviderType };
|
|
1
|
+
export { A as Alphanumeric, b as Decimal, F as FieldDataType, a as FieldFormat, e as Key, K as KeyComposition, c as KeyFieldDefinition, N as Numeric, d as defaultAlphanumericLength, k as keyCompositionMetada, m as maximumNumericLength, v as valueProviderType } from './Decorators-BUUn8PHd.js';
|
|
@@ -26,4 +26,4 @@ declare abstract class Register {
|
|
|
26
26
|
getKeyValue(): string;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export { Event as E,
|
|
29
|
+
export { Event as E, Register as R, type RegisterEventNotifier as a, type RegisterSubscriber as b, type RegisterEventData as c, newRegisterEventData as n };
|
|
@@ -26,4 +26,4 @@ declare abstract class Register {
|
|
|
26
26
|
getKeyValue(): string;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export { Event as E,
|
|
29
|
+
export { Event as E, Register as R, type RegisterEventNotifier as a, type RegisterSubscriber as b, type RegisterEventData as c, newRegisterEventData as n };
|
package/dist/Register.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { R as Register } from './Register-B1gRC0_O.mjs';
|
package/dist/Register.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { R as Register } from './Register-B1gRC0_O.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import TaxReport from './TaxReport.mjs';
|
|
2
2
|
import Block from './Block.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { R as Register } from './Register-B1gRC0_O.mjs';
|
|
4
4
|
import TagCounter from './TagCounter.mjs';
|
|
5
5
|
import RegisterGenerator from './interfaces/RegisterGenerator.mjs';
|
|
6
6
|
import './interfaces/RegisterPersist.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import TaxReport from './TaxReport.js';
|
|
2
2
|
import Block from './Block.js';
|
|
3
|
-
import {
|
|
3
|
+
import { R as Register } from './Register-B1gRC0_O.js';
|
|
4
4
|
import TagCounter from './TagCounter.js';
|
|
5
5
|
import RegisterGenerator from './interfaces/RegisterGenerator.js';
|
|
6
6
|
import './interfaces/RegisterPersist.js';
|
package/dist/TagCounter.d.mts
CHANGED
package/dist/TagCounter.d.ts
CHANGED
package/dist/TaxReport.d.mts
CHANGED
package/dist/TaxReport.d.ts
CHANGED
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as Block } from './Block.mjs';
|
|
2
|
+
export { D as Decorators } from './Decorators-BUUn8PHd.mjs';
|
|
3
|
+
export { R as Register, a as RegisterEventNotifier, b as RegisterSubscriber } from './Register-B1gRC0_O.mjs';
|
|
4
|
+
export { default as ReportGenerator } from './ReportGenerator.mjs';
|
|
5
|
+
export { default as TaxReport } from './TaxReport.mjs';
|
|
6
|
+
export { default as ConsoleOutput } from './implementations/ConsoleOutput.mjs';
|
|
7
|
+
export { default as MemoryPersist } from './implementations/MemoryPersist.mjs';
|
|
8
|
+
export { default as TaxRegisterGenerator } from './implementations/TaxRegisterGenerator.mjs';
|
|
9
|
+
export { OutputWriter } from './interfaces/OutputWriter.mjs';
|
|
10
|
+
export { default as RegisterGenerator } from './interfaces/RegisterGenerator.mjs';
|
|
11
|
+
export { default as RegisterPersist } from './interfaces/RegisterPersist.mjs';
|
|
12
|
+
import './TagCounter.mjs';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as Block } from './Block.js';
|
|
2
|
+
export { D as Decorators } from './Decorators-BUUn8PHd.js';
|
|
3
|
+
export { R as Register, a as RegisterEventNotifier, b as RegisterSubscriber } from './Register-B1gRC0_O.js';
|
|
4
|
+
export { default as ReportGenerator } from './ReportGenerator.js';
|
|
5
|
+
export { default as TaxReport } from './TaxReport.js';
|
|
6
|
+
export { default as ConsoleOutput } from './implementations/ConsoleOutput.js';
|
|
7
|
+
export { default as MemoryPersist } from './implementations/MemoryPersist.js';
|
|
8
|
+
export { default as TaxRegisterGenerator } from './implementations/TaxRegisterGenerator.js';
|
|
9
|
+
export { OutputWriter } from './interfaces/OutputWriter.js';
|
|
10
|
+
export { default as RegisterGenerator } from './interfaces/RegisterGenerator.js';
|
|
11
|
+
export { default as RegisterPersist } from './interfaces/RegisterPersist.js';
|
|
12
|
+
import './TagCounter.js';
|