From fab0a598bb8f88fecef9f6e4455abae6470befe4 Mon Sep 17 00:00:00 2001 From: Fernando Isidro Luna Date: Tue, 30 Jul 2024 16:58:00 -0600 Subject: [PATCH] chore(release): :tada: 2.0.0-0 --- CHANGELOG.md | 1 + docs/classes/abstract_invoice_data.default.html | 4 ++-- docs/classes/builders_abstract_pdf_maker_builder.default.html | 4 ++-- docs/classes/builders_browser_pdf_maker_builder.default.html | 4 ++-- docs/classes/builders_node_pdf_maker_builder.default.html | 4 ++-- docs/classes/cfdi_data.default.html | 4 ++-- docs/classes/retenciones_data.default.html | 4 ++-- .../templates_abstract_generic_translator.default.html | 4 ++-- docs/classes/templates_generic_cfdi_translator.default.html | 4 ++-- .../templates_generic_retenciones_translator.default.html | 4 ++-- .../catalogs_catalogs_source.getKeyValueOfCatalog.html | 2 +- .../functions/catalogs_catalogs_source.getValueOfCatalog.html | 2 +- docs/functions/catalogs_define_catalog.buildItem.html | 2 +- docs/functions/catalogs_define_catalog.defineCatalog.html | 2 +- ...tions_generic_cfdi_concepto_impuestos_content.default.html | 2 +- ...ates_sections_generic_cfdi_conceptos_contents.default.html | 2 +- ...tions_generic_cfdi_informacion_global_content.default.html | 2 +- ...es_sections_generic_cfdi_relacionados_content.default.html | 2 +- .../templates_sections_generic_emisor_content.default.html | 2 +- docs/functions/templates_sections_generic_footer.default.html | 2 +- .../templates_sections_generic_receptor_content.default.html | 2 +- ...mplates_sections_generic_related_info_content.default.html | 2 +- .../templates_sections_generic_stamp_content.default.html | 2 +- .../templates_sections_generic_top_content.default.html | 2 +- docs/functions/utils_break_characters.default.html | 2 +- docs/functions/utils_currency.formatCurrency.html | 2 +- docs/functions/utils_currency.toCurrency.html | 2 +- docs/functions/utils_currency.toNumber.html | 2 +- docs/functions/utils_normalize_space.default.html | 2 +- docs/interfaces/types.CatalogItem.html | 4 ++-- docs/interfaces/types.CatalogsData.html | 4 ++-- docs/modules/abstract_invoice_data.html | 2 +- docs/modules/builders_abstract_pdf_maker_builder.html | 2 +- docs/modules/builders_browser.html | 2 +- docs/modules/builders_browser_pdf_maker_builder.html | 2 +- docs/modules/builders_node.html | 2 +- docs/modules/builders_node_pdf_maker_builder.html | 2 +- docs/modules/catalogs_catalogs_source.html | 2 +- docs/modules/catalogs_cfdi40_exportaciones.html | 2 +- docs/modules/catalogs_cfdi40_formas_pago.html | 2 +- docs/modules/catalogs_cfdi40_impuestos.html | 2 +- docs/modules/catalogs_cfdi40_meses.html | 2 +- docs/modules/catalogs_cfdi40_metodos_pago.html | 2 +- docs/modules/catalogs_cfdi40_objetos_impuestos.html | 2 +- docs/modules/catalogs_cfdi40_periodicidades.html | 2 +- docs/modules/catalogs_cfdi40_regimenes_fiscales.html | 2 +- docs/modules/catalogs_cfdi40_tipos_comprobantes.html | 2 +- docs/modules/catalogs_cfdi40_tipos_relaciones.html | 2 +- docs/modules/catalogs_cfdi40_usos_cfdi.html | 2 +- docs/modules/catalogs_define_catalog.html | 2 +- docs/modules/catalogs_retenciones20_claves_retencion.html | 2 +- docs/modules/cfdi_data.html | 2 +- docs/modules/index.html | 2 +- docs/modules/retenciones_data.html | 2 +- docs/modules/templates_abstract_generic_translator.html | 2 +- docs/modules/templates_generic_cfdi_translator.html | 2 +- docs/modules/templates_generic_retenciones_translator.html | 2 +- ...ates_sections_generic_cfdi_concepto_impuestos_content.html | 2 +- .../templates_sections_generic_cfdi_conceptos_contents.html | 2 +- ...ates_sections_generic_cfdi_informacion_global_content.html | 2 +- .../templates_sections_generic_cfdi_relacionados_content.html | 2 +- docs/modules/templates_sections_generic_emisor_content.html | 2 +- docs/modules/templates_sections_generic_footer.html | 2 +- docs/modules/templates_sections_generic_receptor_content.html | 2 +- .../templates_sections_generic_related_info_content.html | 2 +- docs/modules/templates_sections_generic_stamp_content.html | 2 +- docs/modules/templates_sections_generic_top_content.html | 2 +- docs/modules/types.html | 2 +- docs/modules/utils_break_characters.html | 2 +- docs/modules/utils_currency.html | 2 +- docs/modules/utils_normalize_space.html | 2 +- docs/types/types.DocumentOptions.html | 2 +- docs/types/types.DocumentTranslatorInterface.html | 2 +- docs/variables/catalogs_catalogs_source.catalogsSource.html | 2 +- docs/variables/catalogs_cfdi40_exportaciones.default.html | 2 +- docs/variables/catalogs_cfdi40_formas_pago.default.html | 2 +- docs/variables/catalogs_cfdi40_impuestos.default.html | 2 +- docs/variables/catalogs_cfdi40_meses.default.html | 2 +- docs/variables/catalogs_cfdi40_metodos_pago.default.html | 2 +- docs/variables/catalogs_cfdi40_objetos_impuestos.default.html | 2 +- docs/variables/catalogs_cfdi40_periodicidades.default.html | 2 +- .../variables/catalogs_cfdi40_regimenes_fiscales.default.html | 2 +- .../variables/catalogs_cfdi40_tipos_comprobantes.default.html | 2 +- docs/variables/catalogs_cfdi40_tipos_relaciones.default.html | 2 +- docs/variables/catalogs_cfdi40_usos_cfdi.default.html | 2 +- .../catalogs_retenciones20_claves_retencion.default.html | 2 +- package.json | 2 +- 87 files changed, 98 insertions(+), 97 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 859495b..1406b57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +## [2.0.0-0](https://github.com/nodecfdi/cfdi-to-pdf/compare/v1.6.0...v2.0.0-0) (2024-07-30) ## 1.1.5 (2022-06-15) * test: update fixed test for retenciones data ([b0a74c1](https://github.com/nodecfdi/cfdi-to-pdf/commit/b0a74c1)) diff --git a/docs/classes/abstract_invoice_data.default.html b/docs/classes/abstract_invoice_data.default.html index f20eb82..0fd737a 100644 --- a/docs/classes/abstract_invoice_data.default.html +++ b/docs/classes/abstract_invoice_data.default.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

Hierarchy (view full)

Constructors

constructor +

Hierarchy (view full)

Constructors

Properties

_additionalFields: undefined | {
    title: string;
    value: string;
}[]
_emisor: XmlNodeInterface
_legendFooter: string
_logo: undefined | string
_qrUrl: string
_receptor: XmlNodeInterface
_tfdSourceString: string
_timbreFiscalDigital: XmlNodeInterface

Methods

  • Returns undefined | {
        title: string;
        value: string;
    }[]

Type Parameters

Hierarchy (view full)

Constructors

constructor +

Type Parameters

Hierarchy (view full)

Constructors

Properties

_catalogs: CatalogsData
_defaultPageMargins: Margins = ...
_documentOptions: DocumentOptions
_documentTranslator: DocumentTranslatorInterface<T>
_options?: BufferOptions
_primaryColor: string = '#359136'

Methods

Type Parameters

Hierarchy (view full)

Constructors

constructor +

Type Parameters

Hierarchy (view full)

Constructors

Properties

_catalogs: CatalogsData
_defaultPageMargins: Margins = ...
_documentOptions: DocumentOptions
_documentTranslator: DocumentTranslatorInterface<T>
_options?: BufferOptions
_primaryColor: string = '#359136'

Methods

Type Parameters

Hierarchy (view full)

Constructors

constructor +

Type Parameters

Hierarchy (view full)

Constructors

Properties

_catalogs: CatalogsData
_defaultPageMargins: Margins = ...
_documentOptions: DocumentOptions
_documentTranslator: DocumentTranslatorInterface<T>
_options?: BufferOptions
_primaryColor: string = '#359136'

Methods

Hierarchy (view full)

Constructors

constructor +

Hierarchy (view full)

Constructors

  • Parameters

    • comprobante: XmlNodeInterface
    • OptionalqrUrl: null | string
    • OptionaltfdSourceString: null | string
    • Optionallogo: string
    • Optionaladdress: string
    • OptionaladditionalFields: {
          title: string;
          value: string;
      }[]

    Returns default

Properties

_additionalFields: undefined | {
    title: string;
    value: string;
}[]
_emisor: XmlNodeInterface
_legendFooter: string
_logo: undefined | string
_qrUrl: string
_receptor: XmlNodeInterface
_tfdSourceString: string
_timbreFiscalDigital: XmlNodeInterface

Methods

  • Returns undefined | string

  • Returns XmlNodeInterface

Hierarchy (view full)

Constructors

constructor +

Hierarchy (view full)

Constructors

  • Parameters

    • retenciones: XmlNodeInterface
    • OptionalqrUrl: null | string
    • OptionaltfdSourceString: null | string
    • Optionallogo: string
    • OptionaladditionalFields: {
          title: string;
          value: string;
      }[]

    Returns default

Properties

_additionalFields: undefined | {
    title: string;
    value: string;
}[]
_emisor: XmlNodeInterface
_legendFooter: string
_logo: undefined | string
_qrUrl: string
_receptor: XmlNodeInterface
_tfdSourceString: string
_timbreFiscalDigital: XmlNodeInterface

Methods

Hierarchy (view full)

Constructors

constructor +

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

_bgGrayColor: string = '#f8f8f8'

Methods

Hierarchy (view full)

Implements

Constructors

constructor +

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

_bgGrayColor: string = '#f8f8f8'

Methods

Hierarchy (view full)

Implements

Constructors

constructor +

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

_bgGrayColor: string = '#f8f8f8'

Methods

  • Parameters

    • raw: string
    • separator: string = '\u{200B}'

    Returns string

  • Parameters

    • raw: string
    • separator: string = '\u{200B}'

    Returns string

  • Parameters

    • currency: string | number

    Returns string

  • Parameters

    • currency: string | number

    Returns string

  • Parameters

    • initial: number
    • moneda: string = 'MXN'

    Returns string

  • Parameters

    • initial: number
    • moneda: string = 'MXN'

    Returns string

  • Parameters

    • currency: string | number

    Returns number

  • Parameters

    • currency: string | number

    Returns number

interface CatalogItem {
    id: string;
    texto: string;
}

Properties

id +
interface CatalogItem {
    id: string;
    texto: string;
}

Properties

Properties

id: string
texto: string

Properties

cfdi40Exportaciones +

Properties

cfdi40Exportaciones: CatalogItem[]
cfdi40FormasPago: CatalogItem[]
cfdi40Impuestos: CatalogItem[]
cfdi40Meses: CatalogItem[]
cfdi40MetodosPago: CatalogItem[]
cfdi40ObjetosImpuestos: CatalogItem[]
cfdi40Periodicidades: CatalogItem[]
cfdi40RegimenesFiscales: CatalogItem[]
cfdi40TiposComprobantes: CatalogItem[]
cfdi40TiposRelaciones: CatalogItem[]
cfdi40UsosCfdi: CatalogItem[]
retenciones20ClavesRetencion: CatalogItem[]

Module abstract_invoice_data

Index

Classes

default +

Module abstract_invoice_data

Index

Classes

Module builders/abstract_pdf_maker_builder

Index

Classes

default +

References

PdfMakerBuilder +

References

References

Renames and re-exports default

Module builders/browser/pdf_maker_builder

Index

Classes

default +

References

PdfMakerBuilder +

References

References

Renames and re-exports default

Module builders/node/pdf_maker_builder

Index

Classes

default +

Module catalogs/catalogs_source

Index

Variables

catalogsSource +

Module catalogs/cfdi40_exportaciones

Index

Variables

default +

Module catalogs/cfdi40_exportaciones

Index

Variables

Module catalogs/cfdi40_formas_pago

Index

Variables

default +

Module catalogs/cfdi40_formas_pago

Index

Variables

Module catalogs/cfdi40_impuestos

Index

Variables

default +

Module catalogs/cfdi40_impuestos

Index

Variables

Module catalogs/cfdi40_meses

Index

Variables

default +

Module catalogs/cfdi40_meses

Index

Variables

Module catalogs/cfdi40_metodos_pago

Index

Variables

default +

Module catalogs/cfdi40_metodos_pago

Index

Variables

Module catalogs/cfdi40_objetos_impuestos

Index

Variables

default +

Module catalogs/cfdi40_objetos_impuestos

Index

Variables

Module catalogs/cfdi40_periodicidades

Index

Variables

default +

Module catalogs/cfdi40_periodicidades

Index

Variables

Module catalogs/cfdi40_regimenes_fiscales

Index

Variables

default +

Module catalogs/cfdi40_tipos_comprobantes

Index

Variables

default +

Module catalogs/cfdi40_tipos_relaciones

Index

Variables

default +

Module catalogs/cfdi40_tipos_relaciones

Index

Variables

Module catalogs/cfdi40_usos_cfdi

Index

Variables

default +

Module catalogs/cfdi40_usos_cfdi

Index

Variables

Module catalogs/define_catalog

Index

Functions

buildItem +

Module catalogs/retenciones20_claves_retencion

Index

Variables

default +

Index

Classes

default +

Index

Classes

References

AbstractGenericTraslator +

References

AbstractGenericTraslator AbstractInvoiceData AbstractPdfMakerBuilder CfdiData diff --git a/docs/modules/retenciones_data.html b/docs/modules/retenciones_data.html index 3cbf585..0e4cb28 100644 --- a/docs/modules/retenciones_data.html +++ b/docs/modules/retenciones_data.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

Index

Classes

default +

Index

Classes

Module templates/abstract_generic_translator

Index

Classes

default +

Module templates/generic_cfdi_translator

Index

Classes

default +

Module templates/generic_retenciones_translator

Index

Classes

default +

Module templates/sections/generic_cfdi_concepto_impuestos_content

Index

Functions

default +

Module templates/sections/generic_cfdi_conceptos_contents

Index

Functions

default +

Module templates/sections/generic_cfdi_informacion_global_content

Index

Functions

default +

Module templates/sections/generic_cfdi_relacionados_content

Index

Functions

default +

Module templates/sections/generic_emisor_content

Index

Functions

default +

Module templates/sections/generic_footer

Index

Functions

default +

Module templates/sections/generic_footer

Index

Functions

Module templates/sections/generic_receptor_content

Index

Functions

default +

Module templates/sections/generic_related_info_content

Index

Functions

default +

Module templates/sections/generic_stamp_content

Index

Functions

default +

Module templates/sections/generic_top_content

Index

Functions

default +

Index

Interfaces

CatalogItem +

Index

Interfaces

Type Aliases

DocumentOptions DocumentTranslatorInterface diff --git a/docs/modules/utils_break_characters.html b/docs/modules/utils_break_characters.html index d032752..5cd3a18 100644 --- a/docs/modules/utils_break_characters.html +++ b/docs/modules/utils_break_characters.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

Module utils/break_characters

Index

Functions

default +

Module utils/break_characters

Index

Functions

Index

Functions

formatCurrency +

Module utils/normalize_space

Index

Functions

default +

Module utils/normalize_space

Index

Functions

DocumentOptions: Omit<TDocumentDefinitions, "content" | "footer">
DocumentOptions: Omit<TDocumentDefinitions, "content" | "footer">

Type Alias DocumentTranslatorInterface<T>

DocumentTranslatorInterface<T>: {
    translate(data: T, documentDefinitionsOptions: DocumentOptions, catalogs: CatalogsData, primaryColor: string): TDocumentDefinitions;
}

Type Parameters

Type Alias DocumentTranslatorInterface<T>

DocumentTranslatorInterface<T>: {
    translate(data: T, documentDefinitionsOptions: DocumentOptions, catalogs: CatalogsData, primaryColor: string): TDocumentDefinitions;
}

Type Parameters