Koha/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM
Jonathan Druart 765fd1ced3
Bug 33066: Introduce a KohaTable Vue component
The way we deal with DataTables in Vue component is not nice, especially when we
need to add buttons/link in the cell and interact with the rest of the Vue app from
there.

When I started to work on Vue last year there was no good solution from DataTables,
now there is a Vue component. It is not perfect, you still cannot add Vue component
in the DT component, but it brings something to follow. Agustin implemented something
on theke/import_source_vue, but he went too far, and it will need to rewrite the
whole ERM module. Additionally he didn't provide a solution that has the same features
as what we have now.

The goal of this patch is to not duplicate the code in datatables.js, we
don't want to maintain two version of this code (one is enough already!)
We split the huge function in datatables.js in small ones to make them
reusable from the Vue component.

This is quite ugly, and it needs to lot more addition, but it's a first
start!

Help, ideas, and feedback welcome (and needed!)

Bug 33066: Fix agreement name in delete confirmation dialog

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Agustín Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-10 07:38:28 -03:00
..
AgreementLicenses.vue Bug 32180: Add required class to labels in ERM 2023-03-16 16:25:08 -03:00
AgreementPeriods.vue Bug 32030: Pretty vue files 2022-11-08 09:44:44 -03:00
AgreementRelationships.vue Bug 32180: Add required class to labels in ERM 2023-03-16 16:25:08 -03:00
AgreementsFormAdd.vue Bug 32180: Add required class to labels in ERM 2023-03-16 16:25:08 -03:00
AgreementsList.vue Bug 33066: Introduce a KohaTable Vue component 2023-04-10 07:38:28 -03:00
AgreementsShow.vue Bug 32991: Flag the deletion messages as displayed already 2023-03-10 11:15:33 -03:00
AgreementsToolbar.vue Bug 32030: I18N rewrite - replace $t with $__ 2022-11-08 09:44:38 -03:00
Documents.vue Bug 32030: Pretty vue files 2022-11-08 09:44:44 -03:00
EHoldingsEBSCOPackageAgreements.vue Bug 32939: Use APIClient to fetch EBSCO eHoldings 2023-02-27 11:13:12 -03:00
EHoldingsEBSCOPackagesList.vue Bug 32983: Fix dropdown list when search for EBSCO's packages 2023-03-17 08:16:08 -03:00
EHoldingsEBSCOPackagesShow.vue Bug 32939: Use APIClient to replace PATCH requests 2023-02-27 11:13:13 -03:00
EHoldingsEBSCOPackageTitlesList.vue Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
EHoldingsEBSCOResourcesShow.vue Bug 32939: Use APIClient to replace PATCH requests 2023-02-27 11:13:13 -03:00
EHoldingsEBSCOTitlePackagesList.vue Bug 32030: Pretty vue files 2022-11-08 09:44:44 -03:00
EHoldingsEBSCOTitlesList.vue Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
EHoldingsEBSCOTitlesShow.vue Bug 32939: Use APIClient to fetch EBSCO eHoldings 2023-02-27 11:13:12 -03:00
EHoldingsLocalPackageAgreements.vue Bug 32939: Use APIClient to fetch agreements 2023-02-27 11:13:10 -03:00
EHoldingsLocalPackagesFormAdd.vue Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
EHoldingsLocalPackagesList.vue Bug 32807: Fix cypress tests 2023-03-29 12:28:49 +02:00
EHoldingsLocalPackagesShow.vue Bug 32991: Flag the deletion messages as displayed already 2023-03-10 11:15:33 -03:00
EHoldingsLocalPackagesToolbar.vue Bug 32030: I18N rewrite - replace $t with $__ 2022-11-08 09:44:38 -03:00
EHoldingsLocalPackageTitlesList.vue Bug 32030: Pretty vue files 2022-11-08 09:44:44 -03:00
EHoldingsLocalResourcesShow.vue Bug 32939: Use APIClient to fetch local eHoldings 2023-02-27 11:13:11 -03:00
EHoldingsLocalTitlePackagesList.vue Bug 32030: Pretty vue files 2022-11-08 09:44:44 -03:00
EHoldingsLocalTitlesFormAdd.vue Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
EHoldingsLocalTitlesFormAddResources.vue Bug 32939: Use APIClient to fetch local eHoldings 2023-02-27 11:13:11 -03:00
EHoldingsLocalTitlesFormImport.vue Bug 32939: Use APIClient to replace PATCH requests 2023-02-27 11:13:13 -03:00
EHoldingsLocalTitlesList.vue Bug 32807: Fix cypress tests 2023-03-29 12:28:49 +02:00
EHoldingsLocalTitlesShow.vue Bug 32991: Flag the deletion messages as displayed already 2023-03-10 11:15:33 -03:00
EHoldingsLocalTitlesToolbar.vue Bug 32030: I18N rewrite - replace $t with $__ 2022-11-08 09:44:38 -03:00
Home.vue Bug 32806: Rename ERMHome and ERMMain to Home and Main 2023-02-27 11:12:00 -03:00
LicensesFormAdd.vue Bug 32180: Add required class to labels in ERM 2023-03-16 16:25:08 -03:00
LicensesList.vue Bug 32807: Fix cypress tests 2023-03-29 12:28:49 +02:00
LicensesShow.vue Bug 32991: Flag the deletion messages as displayed already 2023-03-10 11:15:33 -03:00
LicensesToolbar.vue Bug 32030: I18N rewrite - replace $t with $__ 2022-11-08 09:44:38 -03:00
Main.vue Bug 33381: Fix sidemenu active and hover styling 2023-04-06 09:29:14 -03:00
UserRoles.vue Bug 32180: Add required class to labels in ERM 2023-03-16 16:25:08 -03:00