Koha/koha-tmpl/intranet-tmpl/prog/js
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
..
modals Bug 31028: Add display to details page 2023-03-06 11:23:17 -03:00
pages Bug 31611: Clearly highlight items that cannot be modified/deleted in the Batch item tools 2023-03-10 11:47:19 -03:00
vue Bug 33066: Introduce a KohaTable Vue component 2023-04-10 07:38:28 -03:00
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js Bug 32293: Fix terminology in warning when creating orders from staged file 2023-02-27 11:39:04 -03:00
admin-menu.js
ajax.js
audio_alerts.js Bug 31413: Set focus for cursor to Selector when adding a new audio alert 2023-02-24 17:52:27 -03:00
auth-finder-search.js
authorities-detail-modal.js
authtype.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
automatic_item_modification_by_age.js
background-job-progressbar.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
basket.js
biblio_framework.js
browser.js
calendar.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
cart.js
cashup_modal.js
catalog.js
cataloging.js
cataloging_additem.js Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
categories.js
charts.js
checkout_renewals_modal.js Bug 30642: (follow-up) Change sql and adapt for translations 2023-02-10 11:07:58 -03:00
checkouts.js Bug 31209: Add a span with a class for items.enumchron in the checkouts list 2023-02-20 09:44:17 -03:00
datatables.js Bug 33066: Introduce a KohaTable Vue component 2023-04-10 07:38:28 -03:00
desk_selection.js
elasticsearch-mappings.js
file-upload.js
funds_sorts.js
holds.js
ill-availability-partner.js
ill-availability.js
ill-list-table.js
item_search_fields.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
job_progess.js Bug 31891: (bug 27421 follow-up) Remove one additional click 2022-11-22 09:19:59 -03:00
letter.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
localcovers.js
mana.js
marc_modification_templates.js Bug 32164: Add link to MARC modification templates from batch record modification page 2023-04-06 09:47:28 -03:00
marc_subfields_structure.js
members-menu.js
members.js
merge-record.js
messaging-preference-form.js Bug 31166: Digest option is not selectable for phone when PhoneNotification is enabled 2022-12-13 14:59:51 -03:00
offlinecirc.js
onboarding.js
patron-autocomplete.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
patron-webcam.js
recalls.js
register_selection.js
resolve_claim_modal.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
restrictiontypes.js
rotating-collections.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
select2.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js Bug 32618: Add 'page-section' to various administration pages 2023-01-31 09:36:42 -03:00
staff-global.js Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
subscription-add.js Bug 31935: (follow-up) Make form look better 2023-01-05 09:24:29 -03:00
table_filters.js Bug 32447: Fix DataTable filtering when hidden columns are in place 2023-03-31 19:19:27 +02:00
tools-menu.js
upload-images.js
viewlog.js
xmlControlfield.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
z3950_search.js